GCC 11.1 ua maeʻa ona faʻasaʻolotoina, o ana tala taua ma suiga sili ia ona taua

Ina ua mavae le tausaga o atinae, GCC 11.1 tuʻufaʻatasiga suite fou faʻalauiloa tatalaina, o le muamua taua faʻamalolo i le fou GCC 11.x lala. I lalo o le polokalame fou numera numera, faʻamatalaga 11.0 na faʻaaoga i le taimi o atinae, ma i se taimi puʻupuʻu o le faʻamatuʻuina o le GCC 11.1, o se lala o le GCC 12.0 ua uma ona forked e fausia ai le isi tele lomiga o le GCC 12.1.

O le GCC 11.1 o loʻo tu mai fafo mo le suiga i le faila faila debug e le masani ai DWARF 5, o le faaletonu aofia ai o le C ++ 17 tulaga masani ("-std = gnu ++ 17"), taua tele faʻaleleia i le ogatasi ma le C ++ 20 tulaga masani, faʻataʻitaʻiga lagolago mo C ++ 23, faʻaleleia atili fesoʻotaʻi ma le lumanaʻi tulaga o le C gagana (C2x), fou faʻaleleia atili faatinoga.

GCC 11.1 Autu Fou Fou

Ua sui le faiga masani mo le gagana C ++ e faʻaaoga ai le C ++ 17 standard, nai lo o le C ++ 14 na faʻatuina muamua. E mafai ona filifili faʻaleaʻoaʻo le amioga fou C ++ 17 pe a faʻataʻitaʻia faʻataʻitaʻiga e faʻaaoga ai isi template e pei o le parameter (-fno-new-ttp-match).

Faʻaopopo fesoasoani mo le saoasaoa o masini o le AddressSanitizer mea faigaluega, e faʻatagaina ai oe ona fuafuaina mea moni o le mauaina o saoloto vaega manatuaina, sili atu i le tapulaʻa o le faʻasoasoa buffer, ma nisi ituaiga o mea sese pe a galulue ma manatua. O le faʻavaveina o masini ua avanoa nei mo le fausaga a le AArch64 ma taulaʻi i lona faʻaaogaina pe a tuʻufaʻatasia le Linux kernel.

O le isi mea fou o loʻo faʻaalia mai o le faʻaleleia atili ma faʻaleleia atili i le va o taualumaga, pei o le fou IPA-modref pasi na faʻaopopoina (-fipa-modref) e faʻasolosolo ai faʻafitauli i valaauga o galuega ma faʻaleleia atili le auiliiliga auiliiliga. E le gata i lea a faʻaleleia atili le faʻaogaina o le IPA-ICF pasi (-fipa-icf), lea e faʻaititia ai le tuʻufaʻatasia o mea e manatuaina ma faʻateleina le aofaʻi o galuega tuʻufaʻatasi e tuʻufaʻatasia ai poloka tutusa o tulafono laiti.

El afi-faʻataʻitaʻi afi faʻapitoa (PGO), faaleleia "-fprofile-aoga" faiga e ala i le faʻamaumau o sili atu tapulaʻa mo le tuusao telefoni.

Faʻaauau foi Faʻaauau pea le faʻatinoina o le OpenMP 5.0 tulaga faʻapitoa ua faʻailoa mai (Tatala eseese Faʻagasologa), lea faʻaopoopo muamua lagolago mo tofiga faʻatonutonu ma le agavaʻa e faʻaaoga ai le le tutusa tonoa i OpenMP fausiaina. O le OMP_TARGET_OFFLOAD siosiomaga fesuiaʻi ua lagolagoina nei.

O le faʻatinoina o le OpenACC 2.6 tutusa polokalame faʻapitoa saunia mo le C, C ++ ma Fortran gagana, o loʻo faʻamatalaina mea faigaluega mo offloading faʻagaioiga i GPUs ma faʻapitoa faʻagasologa e pei o NVIDIA PTX, ua faʻaleleia.

Mo gagana a le aiga C, ua faʻatinoina se uiga fou "no_stack_protector", fuafuaina e faʻailoga galuega e le tatau ai ona faʻatagaina le faʻaputuga puipuiga ("-fstack-protector"). O le "malloc" uiga ua faʻalauteleina ma le lagolago mo le iloagofie paga o valaʻau e faʻasoasoa ma maua fua manaʻoga, o loʻo faʻaaogaina i le static parser e iloa ai le masani ai mea sese (manatuaina o faʻamaumauga, faʻaaogaina pe a maua fua, faʻalua valaʻau e leai se aoga, ma isi) ma lapataʻi lapataʻiga "-Wmismatched-dealloc", "-Wmismatched- new-Delete" ma le " -Wfree-nonheap-object "lipotia le feteʻenaʻi o fegasoloaʻiga ma fegasologaiga o gaioiga.

A o faʻatupuina le faʻasaina o faʻamatalaga, o le DWARF 5 faʻatulagaina e faʻaaogaina e ala i le le masani ai, lea pe a faʻatusatusa i isi kopi na muamua atu, e faʻatagaina ai le fausiaina o faʻamaumauga faʻamaumauga e 25% sili atu ona puʻe. Atoa le DWARF 5 lagolago manaʻomia binutils le sili atu lomiga 2.35.2.

Faʻaleleia auala ThreadSanitizer faiga gafatia (-fsanitize = filo), talu ai ioee faʻaopopo le lagolago mo isi taimi faʻatulagaina ma siosiomaga, faʻapea foʻi ma le lagolago mo le Kernel Concurrency Sanitizer (KCSAN) faʻamatuʻu mea faigaluega e vave maua ai tuʻuga tulaga i totonu o le Linux kernel. O filifiliga fou "–param tsan-distish-volatile" ma le "–param tsan-instrument-func-entry-exit" ua faaopoopoina.

O le vectorizer maua ai le faʻamaumauga o mea uma o le gaioiga ma le faʻaopopoina gaioiga o agavaʻa fesoʻotaʻi ma fetaulaʻiga ma faʻasino i poloka muamua i le faʻatonutonu siata siata (CFG).

E i ai i le optimizer le agavaʻa e faʻaliliu ni faʻasologa o tuutuuga o gaioiga i se suiga foliga, lea e faʻatusatusa ai le tutusa tutusa. I le lumanaʻi, o le suiga faʻaaliga mafai ona faʻailogaina faʻaaogaina ai sina faʻatonuga faʻatonuga (e faʻatonutonu ai lenei liua, o le "-fbit-tofotofoga" filifiliga ua faʻaopopo).

Mo C ++, o se vaega o suiga ma suiga fou ua fuafuaina i le C ++ 20 tulaga faʻapitoa ua maeʻa faʻatinoina, e aofia ai ma tafaoga virtual "Consteval virtual", pseudo-faʻaumatia mo le faʻamutaina o le ola taʻamilosaga o mea, faʻaaogaina le enum vasega ma fuafua le tele o se faʻavasega i le faʻaaliga "fou".

Afai e te fia iloa atili e uiga i ai, e mafai ona e siakiina auiliiliga i totonu o le fesoʻotaʻiga lenei 


O mataupu o le tusitusiga e tausisi ia tatou mataupu silisili o amio lelei faʻatonu. E lipotia se mea sese kiliki iinei.

Ia avea muamua ma faamatalaga

Tuʻu lau faamatalaga

o le a le lomia lou tuatusi imeli.

*

*

  1. E tali atu mo faʻamatalaga: Miguel Ángel Gatón
  2. Faamoemoega o faʻamatalaga: Pulea le SPAM, faʻamatalaga pulega.
  3. Tulaga faʻatulafonoina: Lau maliega
  4. Fesoʻotaʻiga o faʻamatalaga: O faʻamatalaga o le a le fesoʻotaʻi atu i isi vaega vagana i tulafono faʻatulafonoina.
  5. Teuina o faʻamatalaga: Faʻamaumauga tuʻufaʻatasia e Occentus Networks (EU)
  6. Aia Tatau: I soo se taimi e mafai ai ona e faʻatapulaʻaina, toe maua ma aveʻese au faʻamatalaga.

bool(moni)