NEWS 710 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702
  1. This file contains information about GCC releases which has been generated
  2. automatically from the online release notes. It covers releases of GCC
  3. (and the former EGCS project) since EGCS 1.0, on the line of development
  4. that led to GCC 3. For information on GCC 2.8.1 and older releases of GCC 2,
  5. see ONEWS.
  6. ======================================================================
  7. http://gcc.gnu.org/gcc-5/index.html
  8. GCC 5 Release Series
  9. July 16, 2015
  10. The [1]GNU project and the GCC developers are pleased to announce the
  11. release of GCC 5.2.
  12. This release is a bug-fix release, containing fixes for regressions in
  13. GCC 5.1 relative to previous releases of GCC.
  14. Release History
  15. GCC 5.2
  16. July 16, 2015 ([2]changes, [3]documentation)
  17. GCC 5.1
  18. April 22, 2015 ([4]changes, [5]documentation)
  19. References and Acknowledgements
  20. GCC used to stand for the GNU C Compiler, but since the compiler
  21. supports several other languages aside from C, it now stands for the
  22. GNU Compiler Collection.
  23. A list of [6]successful builds is updated as new information becomes
  24. available.
  25. The GCC developers would like to thank the numerous people that have
  26. contributed new features, improvements, bug fixes, and other changes as
  27. well as test results to GCC. This [7]amazing group of volunteers is
  28. what makes GCC successful.
  29. For additional information about GCC please refer to the [8]GCC project
  30. web site or contact the [9]GCC development mailing list.
  31. To obtain GCC please use [10]our mirror sites or [11]our SVN server.
  32. For questions related to the use of GCC, please consult these web
  33. pages and the [12]GCC manuals. If that fails, the
  34. [13]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  35. web pages and the development of GCC are welcome on our developer
  36. list at [14]gcc@gcc.gnu.org. All of [15]our lists have public
  37. archives.
  38. Copyright (C) [16]Free Software Foundation, Inc. Verbatim copying and
  39. distribution of this entire article is permitted in any medium,
  40. provided this notice is preserved.
  41. These pages are [17]maintained by the GCC team. Last modified
  42. 2015-07-16[18].
  43. References
  44. 1. http://www.gnu.org/
  45. 2. http://gcc.gnu.org/gcc-5/changes.html
  46. 3. http://gcc.gnu.org/onlinedocs/5.2.0/
  47. 4. http://gcc.gnu.org/gcc-5/changes.html
  48. 5. http://gcc.gnu.org/onlinedocs/5.1.0/
  49. 6. http://gcc.gnu.org/gcc-5/buildstat.html
  50. 7. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  51. 8. http://gcc.gnu.org/index.html
  52. 9. mailto:gcc@gcc.gnu.org
  53. 10. http://gcc.gnu.org/mirrors.html
  54. 11. http://gcc.gnu.org/svn.html
  55. 12. https://gcc.gnu.org/onlinedocs/
  56. 13. mailto:gcc-help@gcc.gnu.org
  57. 14. mailto:gcc@gcc.gnu.org
  58. 15. https://gcc.gnu.org/lists.html
  59. 16. http://www.fsf.org/
  60. 17. https://gcc.gnu.org/about.html
  61. 18. http://validator.w3.org/check/referer
  62. ======================================================================
  63. http://gcc.gnu.org/gcc-5/changes.html
  64. GCC 5 Release Series
  65. Changes, New Features, and Fixes
  66. Caveats
  67. * The default mode for C is now -std=gnu11 instead of -std=gnu89.
  68. * The C++ runtime library (libstdc++) uses a new ABI by default (see
  69. [1]below).
  70. * The Graphite framework for loop optimizations no longer requires
  71. the CLooG library, only ISL version 0.14 (recommended) or 0.12.2.
  72. The installation manual contains more information about
  73. requirements to build GCC.
  74. * The non-standard C++0x type traits has_trivial_default_constructor,
  75. has_trivial_copy_constructor and has_trivial_copy_assign have been
  76. deprecated and will be removed in a future version. The standard
  77. C++11 traits is_trivially_default_constructible,
  78. is_trivially_copy_constructible and is_trivially_copy_assignable
  79. should be used instead.
  80. * On AVR, support has been added for the devices
  81. ATtiny4/5/9/10/20/40. This requires Binutils 2.25 or newer.
  82. * The AVR port uses a new scheme to describe supported devices: For
  83. each supported device the compiler provides a device-specific
  84. [2]spec file. If the compiler is used together with AVR-LibC, this
  85. requires at least GCC 5.2 and a version of AVR-LibC which
  86. implements [3]feature #44574.
  87. General Optimizer Improvements
  88. * Inter-procedural optimization improvements:
  89. + An Identical Code Folding (ICF) pass (controlled via
  90. -fipa-icf) has been added. Compared to the identical code
  91. folding performed by the Gold linker this pass does not
  92. require function sections. It also performs merging before
  93. inlining, so inter-procedural optimizations are aware of the
  94. code re-use. On the other hand not all unifications performed
  95. by a linker are doable by GCC which must honor aliasing
  96. information. During link-time optimization of Firefox, this
  97. pass unifies about 31000 functions, that is 14% overall.
  98. + The devirtualization pass was significantly improved by adding
  99. better support for speculative devirtualization and dynamic
  100. type detection. About 50% of virtual calls in Firefox are now
  101. speculatively devirtualized during link-time optimization.
  102. + A new comdat localization pass allows the linker to eliminate
  103. more dead code in presence of C++ inline functions.
  104. + Virtual tables are now optimized. Local aliases are used to
  105. reduce dynamic linking time of C++ virtual tables on ELF
  106. targets and data alignment has been reduced to limit data
  107. segment bloat.
  108. + A new -fno-semantic-interposition option can be used to
  109. improve code quality of shared libraries where interposition
  110. of exported symbols is not allowed.
  111. + Write-only variables are now detected and optimized out.
  112. + With profile feedback the function inliner can now bypass
  113. --param inline-insns-auto and --param inline-insns-single
  114. limits for hot calls.
  115. + The IPA reference pass was significantly sped up making it
  116. feasible to enable -fipa-reference with -fprofile-generate.
  117. This also solves a bottleneck seen when building Chromium with
  118. link-time optimization.
  119. + The symbol table and call-graph API was reworked to C++ and
  120. simplified.
  121. + The interprocedural propagation of constants now also
  122. propagates alignments of pointer parameters. This for example
  123. means that the vectorizer often does not need to generate loop
  124. prologues and epilogues to make up for potential
  125. misalignments.
  126. * Link-time optimization improvements:
  127. + One Definition Rule based merging of C++ types has been
  128. implemented. Type merging enables better devirtualization and
  129. alias analysis. Streaming extra information needed to merge
  130. types adds about 2-6% of memory size and object size increase.
  131. This can be controlled by -flto-odr-type-merging.
  132. + Command-line optimization and target options are now streamed
  133. on a per-function basis and honored by the link-time
  134. optimizer. This change makes link-time optimization a more
  135. transparent replacement of per-file optimizations. It is now
  136. possible to build projects that require different optimization
  137. settings for different translation units (such as -ffast-math,
  138. -mavx, or -finline). Contrary to earlier GCC releases, the
  139. optimization and target options passed on the link command
  140. line are ignored.
  141. Note that this applies only to those command-line options that
  142. can be passed to optimize and target attributes. Command-line
  143. options affecting global code generation (such as -fpic),
  144. warnings (such as -Wodr), optimizations affecting the way
  145. static variables are optimized (such as -fcommon), debug
  146. output (such as -g), and --param parameters can be applied
  147. only to the whole link-time optimization unit. In these cases,
  148. it is recommended to consistently use the same options at both
  149. compile time and link time.
  150. + GCC bootstrap now uses slim LTO object files.
  151. + Memory usage and link times were improved. Tree merging was
  152. sped up, memory usage of GIMPLE declarations and types was
  153. reduced, and, support for on-demand streaming of variable
  154. constructors was added.
  155. * Feedback directed optimization improvements:
  156. + A new auto-FDO mode uses profiles collected by low overhead
  157. profiling tools (perf) instead of more expensive program
  158. instrumentation (via -fprofile-generate). SPEC2006 benchmarks
  159. on x86-64 improve by 4.7% with auto-FDO and by 7.3% with
  160. traditional feedback directed optimization.
  161. + Profile precision was improved in presence of C++ inline and
  162. extern inline functions.
  163. + The new gcov-tool utility allows manipulating profiles.
  164. + Profiles are now more tolerant to source file changes (this
  165. can be controlled by --param profile-func-internal-id).
  166. * Register allocation improvements:
  167. + A new local register allocator (LRA) sub-pass, controlled by
  168. -flra-remat, implements control-flow sensitive global register
  169. rematerialization. Instead of spilling and restoring a
  170. register value, it is recalculated if it is profitable. The
  171. sub-pass improved SPEC2000 generated code by 1% and 0.5%
  172. correspondingly on ARM and x86-64.
  173. + Reuse of the PIC hard register, instead of using a fixed
  174. register, was implemented on x86/x86-64 targets. This improves
  175. generated PIC code performance as more hard registers can be
  176. used. Shared libraries can significantly benefit from this
  177. optimization. Currently it is switched on only for x86/x86-64
  178. targets. As RA infrastructure is already implemented for PIC
  179. register reuse, other targets might follow this in the future.
  180. + A simple form of inter-procedural RA was implemented. When it
  181. is known that a called function does not use caller-saved
  182. registers, save/restore code is not generated around the call
  183. for such registers. This optimization can be controlled by
  184. -fipa-ra
  185. + LRA is now much more effective at generating spills of general
  186. registers into vector registers instead of memory on
  187. architectures (e.g., modern Intel processors) where this is
  188. profitable.
  189. * UndefinedBehaviorSanitizer gained a few new sanitization options:
  190. + -fsanitize=float-divide-by-zero: detect floating-point
  191. division by zero;
  192. + -fsanitize=float-cast-overflow: check that the result of
  193. floating-point type to integer conversions do not overflow;
  194. + -fsanitize=bounds: enable instrumentation of array bounds and
  195. detect out-of-bounds accesses;
  196. + -fsanitize=alignment: enable alignment checking, detect
  197. various misaligned objects;
  198. + -fsanitize=object-size: enable object size checking, detect
  199. various out-of-bounds accesses.
  200. + -fsanitize=vptr: enable checking of C++ member function calls,
  201. member accesses and some conversions between pointers to base
  202. and derived classes, detect if the referenced object does not
  203. have the correct dynamic type.
  204. * Pointer Bounds Checker, a bounds violation detector, has been added
  205. and can be enabled via -fcheck-pointer-bounds. Memory accesses are
  206. instrumented with run-time checks of used pointers against their
  207. bounds to detect pointer bounds violations (overflows). The Pointer
  208. Bounds Checker is available on x86/x86-64 GNU/Linux targets with a
  209. new ISA extension Intel MPX support. See the Pointer Bounds Checker
  210. [4]Wiki page for more details.
  211. New Languages and Language specific improvements
  212. * [5]OpenMP 4.0 specification offloading features are now supported
  213. by the C, C++, and Fortran compilers. Generic changes:
  214. + Infrastructure (suitable for any vendor).
  215. + Testsuite which covers offloading from the [6]OpenMP 4.0
  216. Examples document.
  217. Specific for upcoming Intel Xeon Phi products:
  218. + Run-time library.
  219. + Card emulator.
  220. * GCC 5 includes a preliminary implementation of the OpenACC 2.0a
  221. specification. OpenACC is intended for programming accelerator
  222. devices such as GPUs. See [7]the OpenACC wiki page for more
  223. information.
  224. C family
  225. * The default setting of the -fdiagnostics-color= command-line option
  226. is now [8]configurable when building GCC using configuration option
  227. --with-diagnostics-color=. The possible values are: never, always,
  228. auto and auto-if-env. The new default auto uses color only when the
  229. standard error is a terminal. The default in GCC 4.9 was
  230. auto-if-env, which is equivalent to auto if there is a non-empty
  231. GCC_COLORS environment variable, and never otherwise. As in GCC
  232. 4.9, an empty GCC_COLORS variable in the environment will always
  233. disable colors, no matter what the default is or what command-line
  234. options are used.
  235. * A new command-line option -Wswitch-bool has been added for the C
  236. and C++ compilers, which warns whenever a switch statement has an
  237. index of boolean type.
  238. * A new command-line option -Wlogical-not-parentheses has been added
  239. for the C and C++ compilers, which warns about "logical not" used
  240. on the left hand side operand of a comparison.
  241. * A new command-line option -Wsizeof-array-argument has been added
  242. for the C and C++ compilers, which warns when the sizeof operator
  243. is applied to a parameter that has been declared as an array in a
  244. function definition.
  245. * A new command-line option -Wbool-compare has been added for the C
  246. and C++ compilers, which warns about boolean expressions compared
  247. with an integer value different from true/false.
  248. * Full support for [9]Cilk Plus has been added to the GCC compiler.
  249. Cilk Plus is an extension to the C and C++ languages to support
  250. data and task parallelism.
  251. * A new attribute no_reorder prevents reordering of selected symbols
  252. against other such symbols or inline assembler. This enables to
  253. link-time optimize the Linux kernel without having to resort to
  254. -fno-toplevel-reorder that disables several optimizations.
  255. * New preprocessor constructs, __has_include and __has_include_next,
  256. to test the availability of headers have been added.
  257. This demonstrates a way to include the header <optional> only if it
  258. is available:
  259. #ifdef __has_include
  260. # if __has_include(<optional>)
  261. # include <optional>
  262. # define have_optional 1
  263. # elif __has_include(<experimental/optional>)
  264. # include <experimental/optional>
  265. # define have_optional 1
  266. # define experimental_optional
  267. # else
  268. # define have_optional 0
  269. # endif
  270. #endif
  271. The header search paths for __has_include and __has_include_next
  272. are equivalent to those of the standard directive #include and the
  273. extension #include_next respectively.
  274. * A new built-in function-like macro to determine the existence of an
  275. attribute, __has_attribute, has been added. The equivalent built-in
  276. macro __has_cpp_attribute was added to C++ to support
  277. [10]Feature-testing recommendations for C++. The macro
  278. __has_attribute is added to all C-like languages as an extension:
  279. int
  280. #ifdef __has_attribute
  281. # if __has_attribute(__noinline__)
  282. __attribute__((__noinline__))
  283. # endif
  284. #endif
  285. foo(int x);
  286. If an attribute exists, a nonzero constant integer is returned. For
  287. standardized C++ attributes a date is returned, otherwise the
  288. constant returned is 1. Both __has_attribute and
  289. __has_cpp_attribute will add underscores to an attribute name if
  290. necessary to resolve the name. For C++11 and onwards the attribute
  291. may be scoped.
  292. * A new set of built-in functions for arithmetics with overflow
  293. checking has been added: __builtin_add_overflow,
  294. __builtin_sub_overflow and __builtin_mul_overflow and for
  295. compatibility with clang also other variants. These builtins have
  296. two integral arguments (which don't need to have the same type),
  297. the arguments are extended to infinite precision signed type, +, -
  298. or * is performed on those, and the result is stored in an integer
  299. variable pointed to by the last argument. If the stored value is
  300. equal to the infinite precision result, the built-in functions
  301. return false, otherwise true. The type of the integer variable that
  302. will hold the result can be different from the types of the first
  303. two arguments. The following snippet demonstrates how this can be
  304. used in computing the size for the calloc function:
  305. void *
  306. calloc (size_t x, size_t y)
  307. {
  308. size_t sz;
  309. if (__builtin_mul_overflow (x, y, &sz))
  310. return NULL;
  311. void *ret = malloc (sz);
  312. if (ret) memset (res, 0, sz);
  313. return ret;
  314. }
  315. On e.g. i?86 or x86-64 the above will result in a mul instruction
  316. followed by a jump on overflow.
  317. * The option -fextended-identifiers is now enabled by default for
  318. C++, and for C99 and later C versions. Various bugs in the
  319. implementation of extended identifiers have been fixed.
  320. C
  321. * The default mode has been changed to -std=gnu11.
  322. * A new command-line option -Wc90-c99-compat has been added to warn
  323. about features not present in ISO C90, but present in ISO C99.
  324. * A new command-line option -Wc99-c11-compat has been added to warn
  325. about features not present in ISO C99, but present in ISO C11.
  326. * It is possible to disable warnings about conversions between
  327. pointers that have incompatible types via a new warning option
  328. -Wno-incompatible-pointer-types; warnings about implicit
  329. incompatible integer to pointer and pointer to integer conversions
  330. via a new warning option -Wno-int-conversion; and warnings about
  331. qualifiers on pointers being discarded via a new warning option
  332. -Wno-discarded-qualifiers.
  333. * To allow proper use of const qualifiers with multidimensional
  334. arrays, GCC will not warn about incompatible pointer types anymore
  335. for conversions between pointers to arrays with and without const
  336. qualifier (except when using -pedantic). Instead, a new warning is
  337. emitted only if the const qualifier is lost. This can be controlled
  338. with a new warning option -Wno-discarded-array-qualifiers.
  339. * The C front end now generates more precise caret diagnostics.
  340. * The -pg command-line option now only affects the current file in an
  341. LTO build.
  342. C++
  343. * G++ now supports [11]C++14 variable templates.
  344. * -Wnon-virtual-dtor doesn't warn anymore for final classes.
  345. * Excessive template instantiation depth is now a fatal error. This
  346. prevents excessive diagnostics that usually do not help to identify
  347. the problem.
  348. * G++ and libstdc++ now implement the feature-testing macros from
  349. [12]Feature-testing recommendations for C++.
  350. * G++ now allows typename in a template template parameter.
  351. template<template<typename> typename X> struct D; // OK
  352. * G++ now supports [13]C++14 aggregates with non-static data member
  353. initializers.
  354. struct A { int i, j = i; };
  355. A a = { 42 }; // a.j is also 42
  356. * G++ now supports [14]C++14 extended constexpr.
  357. constexpr int f (int i)
  358. {
  359. int j = 0;
  360. for (; i > 0; --i)
  361. ++j;
  362. return j;
  363. }
  364. constexpr int i = f(42); // i is 42
  365. * G++ now supports the [15]C++14 sized deallocation functions.
  366. void operator delete (void *, std::size_t) noexcept;
  367. void operator delete[] (void *, std::size_t) noexcept;
  368. * A new One Definition Rule violation warning (controlled by -Wodr)
  369. detects mismatches in type definitions and virtual table contents
  370. during link-time optimization.
  371. * New warnings -Wsuggest-final-types and -Wsuggest-final-methods help
  372. developers to annotate programs with final specifiers (or anonymous
  373. namespaces) to improve code generation. These warnings can be used
  374. at compile time, but they are more useful in combination with
  375. link-time optimization.
  376. * G++ no longer supports [16]N3639 variable length arrays, as they
  377. were removed from the C++14 working paper prior to ratification.
  378. GNU VLAs are still supported, so VLA support is now the same in
  379. C++14 mode as in C++98 and C++11 modes.
  380. * G++ now allows passing a non-trivially-copyable class via C
  381. varargs, which is conditionally-supported with
  382. implementation-defined semantics in the standard. This uses the
  383. same calling convention as a normal value parameter.
  384. * G++ now defaults to -fabi-version=9 and -fabi-compat-version=2. So
  385. various mangling bugs are fixed, but G++ will still emit aliases
  386. with the old, wrong mangling where feasible. -Wabi=2 will warn
  387. about differences between ABI version 2 and the current setting.
  388. * G++ 5.2 fixes the alignment of std::nullptr_t. Most code is likely
  389. to be unaffected, but -Wabi=8 will warn about a non-static data
  390. member with type std::nullptr_t which changes position due to this
  391. change.
  392. Runtime Library (libstdc++)
  393. * A [17]Dual ABI is provided by the library. A new ABI is enabled by
  394. default. The old ABI is still supported and can be used by defining
  395. the macro _GLIBCXX_USE_CXX11_ABI to 0 before including any C++
  396. standard library headers.
  397. * A new implementation of std::string is enabled by default, using
  398. the small string optimization instead of copy-on-write reference
  399. counting.
  400. * A new implementation of std::list is enabled by default, with an
  401. O(1) size() function;
  402. * [18]Full support for C++11, including the following new features:
  403. + std::deque and std::vector<bool> meet the allocator-aware
  404. container requirements;
  405. + movable and swappable iostream classes;
  406. + support for std::align and std::aligned_union;
  407. + type traits std::is_trivially_copyable,
  408. std::is_trivially_constructible, std::is_trivially_assignable
  409. etc.;
  410. + I/O manipulators std::put_time, std::get_time, std::hexfloat
  411. and std::defaultfloat;
  412. + generic locale-aware std::isblank;
  413. + locale facets for Unicode conversion;
  414. + atomic operations for std::shared_ptr;
  415. + std::notify_all_at_thread_exit() and functions for making
  416. futures ready at thread exit.
  417. * Support for the C++11 hexfloat manipulator changes how the num_put
  418. facet formats floating point types when
  419. ios_base::fixed|ios_base::scientific is set in a stream's fmtflags.
  420. This change affects all language modes, even though the C++98
  421. standard gave no special meaning to that combination of flags. To
  422. prevent the use of hexadecimal notation for floating point types
  423. use str.unsetf(std::ios_base::floatfield) to clear the relevant
  424. bits in str.flags().
  425. * [19]Full experimental support for C++14, including the following
  426. new features:
  427. + std::is_final type trait;
  428. + heterogeneous comparison lookup in associative containers.
  429. + global functions cbegin, cend, rbegin, rend, crbegin, and
  430. crend for range access to containers, arrays and initializer
  431. lists.
  432. * [20]Improved experimental support for the Library Fundamentals TS,
  433. including:
  434. + class std::experimental::any;
  435. + function template std::experimental::apply;
  436. + function template std::experimental::sample;
  437. + function template std::experimental::search and related
  438. searcher types;
  439. + variable templates for type traits;
  440. + function template std::experimental::not_fn.
  441. * New random number distributions logistic_distribution and
  442. uniform_on_sphere_distribution as extensions.
  443. * [21]GDB Xmethods for containers and std::unique_ptr.
  444. Fortran
  445. * Compatibility notice:
  446. + The version of the module files (.mod) has been incremented.
  447. + For free-form source files, [22]-Werror=line-truncation is now
  448. enabled by default; note that comments exceeding the line
  449. length are not diagnosed. (For fixed-form source code, the
  450. same warning is available but turned off by default, such that
  451. excess characters are ignored. -ffree-line-length-n and
  452. -ffixed-line-length-n can be used to modify the default line
  453. lengths of 132 and 72 columns, respectively.)
  454. + The -Wtabs option is now more sensible: with -Wtabs the
  455. compiler warns if it encounters tabs and with -Wno-tabs this
  456. warning is turned off. Before, -Wno-tabs warned and -Wtabs
  457. turned the warning off. As before, the warning is also enabled
  458. by -Wall, -pedantic and the f95, f2003, f2008 and f2008ts
  459. options of -std=.
  460. * Incomplete support for colorizing diagnostics emitted by gfortran
  461. has been added. The option [23]-fdiagnostics-color controls when
  462. color is used in diagnostics. The default value of this option can
  463. be [24]configured when building GCC. The GCC_COLORS environment
  464. variable can be used to customize the colors or disable coloring
  465. completely. Sample diagnostics output:
  466. $ gfortran -fdiagnostics-color=always -Wuse-without-only test.f90
  467. test.f90:6:1:
  468. 0 continue
  469. 1
  470. Error: Zero is not a valid statement label at (1)
  471. test.f90:9:6:
  472. USE foo
  473. 1
  474. Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only]
  475. * The -Wuse-without-only option has been added to warn when a USE
  476. statement has no ONLY qualifier and thus implicitly imports all
  477. public entities of the used module.
  478. * Formatted READ and WRITE statements now work correctly in
  479. locale-aware programs. For more information and potential caveats,
  480. see [25]Section 5.3 Thread-safety of the runtime library in the
  481. manual.
  482. * [26]Fortran 2003:
  483. + The intrinsic IEEE modules (IEEE_FEATURES, IEEE_EXCEPTIONS and
  484. IEEE_ARITHMETIC) are now supported.
  485. * [27]Fortran 2008:
  486. + [28]Coarrays: Full experimental support of Fortran 2008's
  487. coarrays with -fcoarray=lib except for allocatable/pointer
  488. components of derived-type coarrays. GCC currently only ships
  489. with a single-image library (libcaf_single), but multi-image
  490. support based on MPI and GASNet is provided by the libraries
  491. of the [29]OpenCoarrays project.
  492. * TS18508 Additional Parallel Features in Fortran:
  493. + Support for the collective intrinsic subroutines CO_MAX,
  494. CO_MIN, CO_SUM, CO_BROADCAST and CO_REDUCE has been added,
  495. including -fcoarray=lib support.
  496. + Support for the new atomic intrinsics has been added,
  497. including -fcoarray=lib support.
  498. * Fortran 2015:
  499. + Support for IMPLICIT NONE (external, type).
  500. + ERROR STOP is now permitted in pure procedures.
  501. Go
  502. * GCC 5 provides a complete implementation of the Go 1.4.2 release.
  503. * Building GCC 5 with Go enabled will install two new programs:
  504. [30]go and [31]gofmt.
  505. libgccjit
  506. New in GCC 5 is the ability to build GCC as a shared library for
  507. embedding in other processes (such as interpreters), suitable for
  508. Just-In-Time compilation to machine code.
  509. The shared library has a [32]C API and a [33]C++ wrapper API providing
  510. some "syntactic sugar". There are also bindings available from 3rd
  511. parties for [34]Python and for [35]D.
  512. For example, this library can be used by interpreters for [36]compiling
  513. functions from bytecode to machine code.
  514. The library can also be used for ahead-of-time compilation, enabling
  515. GCC to be plugged into a pre-existing frontend. An example of using
  516. this to build a compiler for an esoteric language we'll refer to as
  517. "brainf" can be seen [37]here.
  518. libgccjit is licensed under the GPLv3 (or at your option, any later
  519. version)
  520. It should be regarded as experimental at this time.
  521. New Targets and Target Specific Improvements
  522. AArch64
  523. * Code generation for the ARM Cortex-A57 processor has been improved.
  524. A more accurate instruction scheduling model for the processor is
  525. now used, and a number of compiler tuning parameters have been set
  526. to offer increased performance when compiling with -mcpu=cortex-a57
  527. or -mtune=cortex-a57.
  528. * A workaround for the ARM Cortex-A53 erratum 835769 has been added
  529. and can be enabled by giving the -mfix-cortex-a53-835769 option.
  530. Alternatively it can be enabled by default by configuring GCC with
  531. the --enable-fix-cortex-a53-835769 option.
  532. * The optional cryptographic extensions to the ARMv8-A architecture
  533. are no longer enabled by default when specifying the
  534. -mcpu=cortex-a53, -mcpu=cortex-a57 or -mcpu=cortex-a57.cortex-a53
  535. options. To enable these extensions add +crypto to the value of
  536. -mcpu or -march e.g. -mcpu=cortex-a53+crypto.
  537. * Support has been added for the following processors (GCC
  538. identifiers in parentheses): ARM Cortex-A72 (cortex-a72) and
  539. initial support for its big.LITTLE combination with the ARM
  540. Cortex-A53 (cortex-a72.cortex-a53), Cavium ThunderX (thunderx),
  541. Applied Micro X-Gene 1 (xgene1), and Samsung Exynos M1 (exynos-m1).
  542. The GCC identifiers can be used as arguments to the -mcpu or -mtune
  543. options, for example: -mcpu=xgene1 or -mtune=cortex-a72.cortex-a53.
  544. Using -mcpu=cortex-a72 requires a version of GNU binutils that has
  545. support for the Cortex-A72.
  546. * The transitional options -mlra and -mno-lra have been removed. The
  547. AArch64 backend now uses the local register allocator (LRA) only.
  548. ARM
  549. * Thumb-1 assembly code is now generated in unified syntax. The new
  550. option -masm-syntax-unified specifies whether inline assembly code
  551. is using unified syntax. By default the option is off which means
  552. non-unified syntax is used. However this is subject to change in
  553. future releases. Eventually the non-unified syntax will be
  554. deprecated.
  555. * It is now a configure-time error to use the --with-cpu configure
  556. option with either of --with-tune or --with-arch.
  557. * Code generation for the ARM Cortex-A57 processor has been improved.
  558. A more accurate instruction scheduling model for the processor is
  559. now used, and a number of compiler tuning parameters have been set
  560. to offer increased performance when compiling with -mcpu=cortex-a57
  561. or -mtune=cortex-a57.
  562. * Support has been added for the following processors (GCC
  563. identifiers in parentheses): ARM Cortex-A17 (cortex-a17) and
  564. initial support for its big.LITTLE combination with the ARM
  565. Cortex-A7 (cortex-a17.cortex-a7), ARM Cortex-A72 (cortex-a72) and
  566. initial support for its big.LITTLE combination with the ARM
  567. Cortex-A53 (cortex-a72.cortex-a53), ARM Cortex-M7 (cortex-m7),
  568. Applied Micro X-Gene 1 (xgene1), and Samsung Exynos M1 (exynos-m1).
  569. The GCC identifiers can be used as arguments to the -mcpu or -mtune
  570. options, for example: -mcpu=xgene1 or -mtune=cortex-a72.cortex-a53.
  571. Using -mcpu=cortex-a72 requires a version of GNU binutils that has
  572. support for the Cortex-A72.
  573. * The deprecated option -mwords-little-endian has been removed.
  574. * The options -mapcs, -mapcs-frame, -mtpcs-frame and
  575. -mtpcs-leaf-frame which are only applicable to the old ABI have
  576. been deprecated.
  577. * The transitional options -mlra and -mno-lra have been removed. The
  578. ARM backend now uses the local register allocator (LRA) only.
  579. AVR
  580. * The compiler no more supports individual devices like ATmega8.
  581. Specifying, say, -mmcu=atmega8 triggers the usage of the
  582. device-specific [38]spec file specs-atmega8 which is part of the
  583. installation and describes options for the sub-processes like
  584. compiler proper, assembler and linker. You can add support for a
  585. new device -mmcu=mydevice as follows:
  586. 1. In an empty directory /someplace, create a new directory
  587. device-specs.
  588. 2. Copy a device spec file from the installed device-specs
  589. folder, follow the comments in that file and then save it as
  590. /someplace/device-specs/specs-mydevice.
  591. 3. Add -B /someplace -mmcu=mydevice to the compiler's
  592. command-line options. Notice that /someplace must specify an
  593. absolute path and that mydevice must not start with "avr".
  594. 4. Provided you have a device-specific library libmydevice.a
  595. available, you can put it at /someplace, dito for a
  596. device-specific startup file crtmydevice.o.
  597. The contents of the device spec files depend on the compiler's
  598. configuration, in particular on --with-avrlibc=no and whether or
  599. not it is configured for RTEMS.
  600. * A new command-line option -nodevicelib has been added. It prevents
  601. the compiler from linking against AVR-LibC's device-specific
  602. library libdevice.a.
  603. * The following three command-line options have been added:
  604. -mrmw
  605. Set if the device supports the read-modify-write
  606. instructions LAC, LAS, LAT and XCH.
  607. -mn-flash=size
  608. Specify the flash size of the device in units of 64 KiB,
  609. rounded up to the next integer as needed. This option
  610. affects the availability of the [39]AVR address-spaces.
  611. -mskip-bug
  612. Set if the device is affected by the respective silicon
  613. bug.
  614. In general, you don't need to set these options by hand. The new
  615. device-specific spec file will set them as needed.
  616. IA-32/x86-64
  617. * New ISA extensions support [40]AVX-512{BW,DQ,VL,IFMA,VBMI} of
  618. Intel's CPU codenamed Skylake Server was added to GCC. That
  619. includes inline assembly support, new intrinsics, and basic
  620. autovectorization. These new AVX-512 extensions are available via
  621. the following GCC switches: AVX-512 Vector Length EVEX feature:
  622. -mavx512vl, AVX-512 Byte and Word instructions: -mavx512bw, AVX-512
  623. Dword and Qword instructions: -mavx512dq, AVX-512 FMA-52
  624. instructions: -mavx512ifma and for AVX-512 Vector Bit Manipulation
  625. Instructions: -mavx512vbmi.
  626. * New ISA extensions support [41]Intel MPX was added to GCC. This new
  627. extension is available via the -mmpx compiler switch. Intel MPX is
  628. a set of processor features which, with compiler, run-time library
  629. and OS support, brings increased robustness to software by run-time
  630. checking pointer references against their bounds. In GCC Intel MPX
  631. is supported by Pointer Bounds Checker and libmpx run-time
  632. libraries.
  633. * The new -mrecord-mcount option for -pg generates a Linux kernel
  634. style table of pointers to mcount or __fentry__ calls at the
  635. beginning of functions. The new -mnop-mcount option in addition
  636. also generates nops in place of the __fentry__ or mcount call, so
  637. that a call per function can be later patched in. This can be used
  638. for low overhead tracing or hot code patching.
  639. * The new -malign-data option controls how GCC aligns variables.
  640. -malign-data=compat uses increased alignment compatible with GCC
  641. 4.8 and earlier, -malign-data=abi uses alignment as specified by
  642. the psABI, and -malign-data=cacheline uses increased alignment to
  643. match the cache line size. -malign-data=compat is the default.
  644. * The new -mskip-rax-setup option skips setting up the RAX register
  645. when SSE is disabled and there are no variable arguments passed in
  646. vector registers. This can be used to optimize the Linux kernel.
  647. MIPS
  648. * MIPS Releases 3 and 5 are now directly supported. Use the
  649. command-line options -mips32r3, -mips64r3, -mips32r5 and -mips64r5
  650. to enable code-generation for these processors.
  651. * The Imagination P5600 processor is now supported using the
  652. -march=p5600 command-line option.
  653. * The Cavium Octeon3 processor is now supported using the
  654. -march=octeon3 command-line option.
  655. * MIPS Release 6 is now supported using the -mips32r6 and -mips64r6
  656. command-line options.
  657. * The o32 ABI has been modified and extended. The o32 64-bit
  658. floating-point register support is now obsolete and has been
  659. removed. It has been replaced by three ABI extensions FPXX, FP64A,
  660. and FP64. The meaning of the -mfp64 command-line option has
  661. changed. It is now used to enable the FP64A and FP64 ABI
  662. extensions.
  663. + The FPXX extension requires that code generated to access
  664. double-precision values use even-numbered registers. Code that
  665. adheres to this extension is link-compatible with all other
  666. o32 double-precision ABI variants and will execute correctly
  667. in all hardware FPU modes. The command-line options -mabi=32
  668. -mfpxx can be used to enable this extension. MIPS II is the
  669. minimum processor required.
  670. + The o32 FP64A extension requires that floating-point registers
  671. be 64-bit and odd-numbered single-precision registers are not
  672. allowed. Code that adheres to the o32 FP64A variant is
  673. link-compatible with all other o32 double-precision ABI
  674. variants. The command-line options -mabi=32 -mfp64
  675. -mno-odd-spreg can be used to enable this extension. MIPS32R2
  676. is the minimum processor required.
  677. + The o32 FP64 extension also requires that floating-point
  678. registers be 64-bit, but permits the use of single-precision
  679. registers. Code that adheres to the o32 FP64 variant is
  680. link-compatible with o32 FPXX and o32 FP64A variants only,
  681. i.e. it is not compatible with the original o32
  682. double-precision ABI. The command-line options -mabi=32 -mfp64
  683. -modd-spreg can be used to enable this extension. MIPS32R2 is
  684. the minimum processor required.
  685. The new ABI variants can be enabled by default using the configure
  686. time options --with-fp-32=[32|xx|64] and --with(out)-odd-sp-reg-32.
  687. It is strongly recommended that all vendors begin to set o32 FPXX
  688. as the default ABI. This will be required to run the generated code
  689. on MIPSR5 cores in conjunction with future MIPS SIMD (MSA) code and
  690. MIPSR6 cores.
  691. * GCC will now pass all floating-point options to the assembler if
  692. GNU binutils 2.25 is used. As a result, any inline assembly code
  693. that uses hard-float instructions should be amended to include a
  694. .set directive to override the global assembler options when
  695. compiling for soft-float targets.
  696. NDS32
  697. * The variadic function ABI implementation is now compatible with
  698. past Andes toolchains where the caller uses registers to pass
  699. arguments and the callee is in charge of pushing them on stack.
  700. * The options -mforce-fp-as-gp, -mforbid-fp-as-gp, and -mex9 have
  701. been removed since they are not yet available in the nds32 port of
  702. GNU binutils.
  703. * A new option -mcmodel=[small|medium|large] supports varied code
  704. models on code generation. The -mgp-direct option became
  705. meaningless and can be discarded.
  706. RX
  707. * A new command line option -mno-allow-string-insns can be used to
  708. disable the generation of the SCMPU, SMOVU, SMOVB, SMOVF, SUNTIL,
  709. SWHILE and RMPA instructions. An erratum released by Renesas shows
  710. that it is unsafe to use these instructions on addresses within the
  711. I/O space of the processor. The new option can be used when the
  712. programmer is concerned that the I/O space might be accessed. The
  713. default is still to enable these instructions.
  714. SH
  715. * The compiler will now pass the appropriate --isa= option to the
  716. assembler.
  717. * The default handling for the GBR has been changed from call
  718. clobbered to call preserved. The old behavior can be reinstated by
  719. specifying the option -fcall-used-gbr.
  720. * Support for the SH4A fpchg instruction has been added which will be
  721. utilized when switching between single and double precision FPU
  722. modes.
  723. * The compiler no longer uses the __fpscr_values array for switching
  724. between single and double FPU precision modes on non-SH4A targets.
  725. Instead mode switching will now be performed by storing, modifying
  726. and reloading the FPSCR, so that other FPSCR bits are preserved
  727. across mode switches. The __fpscr_values array that is defined in
  728. libgcc is still present for backwards compatibility, but it will
  729. not be referenced by compiler generated code anymore.
  730. * New builtin functions __builtin_sh_get_fpscr and
  731. __builtin_sh_set_fpscr have been added. The __builtin_sh_set_fpscr
  732. function will mask the specified bits in such a way that the SZ, PR
  733. and FR mode bits will be preserved, while changing the other bits.
  734. These new functions do not reference the __fpscr_values array. The
  735. old functions __set_fpscr and __get_fpscr in libgcc which access
  736. the __fpscr_values array are still present for backwards
  737. compatibility, but their usage is highly discouraged.
  738. * Some improvements to code generated for __atomic built-in
  739. functions.
  740. * When compiling for SH2E the compiler will no longer force the usage
  741. of delay slots for conditional branch instructions bt and bf. The
  742. old behavior can be reinstated (e.g. to work around a hardware bug
  743. in the original SH7055) by specifying the new option
  744. -mcbranch-force-delay-slot.
  745. Operating Systems
  746. DragonFly BSD
  747. * GCC now supports the DragonFly BSD operating system.
  748. FreeBSD
  749. * GCC now supports the FreeBSD operating system for the arm port
  750. through the arm*-*-freebsd* target triplets.
  751. VxWorks MILS
  752. * GCC now supports the MILS (Multiple Independent Levels of Security)
  753. variant of WindRiver's VxWorks operating system for PowerPC
  754. targets.
  755. Other significant improvements
  756. * The gcc-ar, gcc-nm, gcc-ranlib wrappers now understand a -B option
  757. to set the compiler to use.
  758. * When the new command-line option -freport-bug is used, GCC
  759. automatically generates a developer-friendly reproducer whenever an
  760. internal compiler error is encountered.
  761. GCC 5.2
  762. This is the [42]list of problem reports (PRs) from GCC's bug tracking
  763. system that are known to be fixed in the 5.2 release. This list might
  764. not be complete (that is, it is possible that some PRs that have been
  765. fixed are not listed here).
  766. Target Specific Changes
  767. IA-32/x86-64
  768. * Support for new AMD instructions monitorx and mwaitx has been
  769. added. This includes new intrinsic and built-in support. It is
  770. enabled through option -mmwaitx. The instructions monitorx and
  771. mwaitx implement the same functionality as the old monitor and
  772. mwait instructions. In addition mwaitx adds a configurable timer.
  773. The timer value is received as third argument and stored in
  774. register %ebx.
  775. For questions related to the use of GCC, please consult these web
  776. pages and the [43]GCC manuals. If that fails, the
  777. [44]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  778. web pages and the development of GCC are welcome on our developer
  779. list at [45]gcc@gcc.gnu.org. All of [46]our lists have public
  780. archives.
  781. Copyright (C) [47]Free Software Foundation, Inc. Verbatim copying and
  782. distribution of this entire article is permitted in any medium,
  783. provided this notice is preserved.
  784. These pages are [48]maintained by the GCC team. Last modified
  785. 2015-07-16[49].
  786. References
  787. 1. http://gcc.gnu.org/gcc-5/changes.html#libstdcxx
  788. 2. https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html
  789. 3. https://savannah.nongnu.org/bugs/?44574
  790. 4. https://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compiler
  791. 5. http://www.openmp.org/mp-documents/OpenMP4.0.0.pdf
  792. 6. http://openmp.org/mp-documents/OpenMP4.0.0.Examples.pdf
  793. 7. https://gcc.gnu.org/wiki/OpenACC
  794. 8. https://gcc.gnu.org/install/configure.html
  795. 9. https://www.cilkplus.org/
  796. 10. http://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
  797. 11. http://gcc.gnu.org/projects/cxx1y.html
  798. 12. http://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
  799. 13. http://gcc.gnu.org/projects/cxx1y.html
  800. 14. http://gcc.gnu.org/projects/cxx1y.html
  801. 15. http://gcc.gnu.org/projects/cxx1y.html
  802. 16. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3639.html
  803. 17. http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
  804. 18. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/libstdc++/manual/manual/status.html#status.iso.2011
  805. 19. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/libstdc++/manual/manual/status.html#status.iso.2014
  806. 20. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/libstdc++/manual/manual/status.html#status.iso.2014
  807. 21. https://sourceware.org/gdb/current/onlinedocs/gdb/Xmethods-In-Python.html
  808. 22. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gfortran/Error-and-Warning-Options.html
  809. 23. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Language-Independent-Options.html
  810. 24. https://gcc.gnu.org/install/configure.html
  811. 25. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gfortran/Thread-safety-of-the-runtime-library.html
  812. 26. https://gcc.gnu.org/wiki/Fortran2003Status
  813. 27. https://gcc.gnu.org/wiki/Fortran2008Status
  814. 28. https://gcc.gnu.org/wiki/Coarray
  815. 29. http://www.opencoarrays.org/
  816. 30. http://golang.org/cmd/go
  817. 31. http://golang.org/cmd/gofmt
  818. 32. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/intro/index.html
  819. 33. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/cp/index.html
  820. 34. https://github.com/davidmalcolm/pygccjit
  821. 35. https://github.com/ibuclaw/gccjitd
  822. 36. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/intro/tutorial04.html
  823. 37. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/intro/tutorial05.html
  824. 38. https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html
  825. 39. https://gcc.gnu.org/onlinedocs/gcc/Named-Address-Spaces.html
  826. 40. https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf
  827. 41. https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf
  828. 42. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.2.0
  829. 43. https://gcc.gnu.org/onlinedocs/
  830. 44. mailto:gcc-help@gcc.gnu.org
  831. 45. mailto:gcc@gcc.gnu.org
  832. 46. https://gcc.gnu.org/lists.html
  833. 47. http://www.fsf.org/
  834. 48. https://gcc.gnu.org/about.html
  835. 49. http://validator.w3.org/check/referer
  836. ======================================================================
  837. http://gcc.gnu.org/gcc-4.9/index.html
  838. GCC 4.9 Release Series
  839. June 26, 2015
  840. The [1]GNU project and the GCC developers are pleased to announce the
  841. release of GCC 4.9.3.
  842. This release is a bug-fix release, containing fixes for regressions in
  843. GCC 4.9.2 relative to previous releases of GCC.
  844. Release History
  845. GCC 4.9.3
  846. June 26, 2015 ([2]changes, [3]documentation)
  847. GCC 4.9.2
  848. October 30, 2014 ([4]changes, [5]documentation)
  849. GCC 4.9.1
  850. July 16, 2014 ([6]changes, [7]documentation)
  851. GCC 4.9.0
  852. April 22, 2014 ([8]changes, [9]documentation)
  853. References and Acknowledgements
  854. GCC used to stand for the GNU C Compiler, but since the compiler
  855. supports several other languages aside from C, it now stands for the
  856. GNU Compiler Collection.
  857. A list of [10]successful builds is updated as new information becomes
  858. available.
  859. The GCC developers would like to thank the numerous people that have
  860. contributed new features, improvements, bug fixes, and other changes as
  861. well as test results to GCC. This [11]amazing group of volunteers is
  862. what makes GCC successful.
  863. For additional information about GCC please refer to the [12]GCC
  864. project web site or contact the [13]GCC development mailing list.
  865. To obtain GCC please use [14]our mirror sites or [15]our SVN server.
  866. For questions related to the use of GCC, please consult these web
  867. pages and the [16]GCC manuals. If that fails, the
  868. [17]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  869. web pages and the development of GCC are welcome on our developer
  870. list at [18]gcc@gcc.gnu.org. All of [19]our lists have public
  871. archives.
  872. Copyright (C) [20]Free Software Foundation, Inc. Verbatim copying and
  873. distribution of this entire article is permitted in any medium,
  874. provided this notice is preserved.
  875. These pages are [21]maintained by the GCC team. Last modified
  876. 2015-06-26[22].
  877. References
  878. 1. http://www.gnu.org/
  879. 2. http://gcc.gnu.org/gcc-4.9/changes.html
  880. 3. http://gcc.gnu.org/onlinedocs/4.9.3/
  881. 4. http://gcc.gnu.org/gcc-4.9/changes.html
  882. 5. http://gcc.gnu.org/onlinedocs/4.9.2/
  883. 6. http://gcc.gnu.org/gcc-4.9/changes.html
  884. 7. http://gcc.gnu.org/onlinedocs/4.9.1/
  885. 8. http://gcc.gnu.org/gcc-4.9/changes.html
  886. 9. https://gcc.gnu.org/onlinedocs/4.9.0/
  887. 10. http://gcc.gnu.org/gcc-4.9/buildstat.html
  888. 11. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  889. 12. http://gcc.gnu.org/index.html
  890. 13. mailto:gcc@gcc.gnu.org
  891. 14. http://gcc.gnu.org/mirrors.html
  892. 15. http://gcc.gnu.org/svn.html
  893. 16. https://gcc.gnu.org/onlinedocs/
  894. 17. mailto:gcc-help@gcc.gnu.org
  895. 18. mailto:gcc@gcc.gnu.org
  896. 19. https://gcc.gnu.org/lists.html
  897. 20. http://www.fsf.org/
  898. 21. https://gcc.gnu.org/about.html
  899. 22. http://validator.w3.org/check/referer
  900. ======================================================================
  901. http://gcc.gnu.org/gcc-4.9/changes.html
  902. GCC 4.9 Release Series
  903. Changes, New Features, and Fixes
  904. Caveats
  905. * The mudflap run time checker has been removed. The mudflap options
  906. remain, but do nothing.
  907. * Support for a number of older systems and recently unmaintained or
  908. untested target ports of GCC has been declared obsolete in GCC 4.9.
  909. Unless there is activity to revive them, the next release of GCC
  910. will have their sources permanently removed.
  911. The following ports for individual systems on particular
  912. architectures have been obsoleted:
  913. + Solaris 9 (*-*-solaris2.9). Details can be found in the
  914. [1]announcement.
  915. * On AArch64, the singleton vector types int64x1_t, uint64x1_t and
  916. float64x1_t exported by arm_neon.h are defined to be the same as
  917. their base types. This results in incorrect application of
  918. parameter passing rules to arguments of types int64x1_t and
  919. uint64x1_t, with respect to the AAPCS64 ABI specification. In
  920. addition, names of C++ functions with parameters of these types
  921. (including float64x1_t) are not mangled correctly. The current
  922. typedef declarations also unintentionally allow implicit casting
  923. between singleton vector types and their base types. These issues
  924. will be resolved in a near future release. See [2]PR60825 for more
  925. information.
  926. More information on porting to GCC 4.9 from previous versions of GCC
  927. can be found in the [3]porting guide for this release.
  928. General Optimizer Improvements
  929. * AddressSanitizer, a fast memory error detector, is now available on
  930. ARM.
  931. * UndefinedBehaviorSanitizer (ubsan), a fast undefined behavior
  932. detector, has been added and can be enabled via
  933. -fsanitize=undefined. Various computations will be instrumented to
  934. detect undefined behavior at runtime. UndefinedBehaviorSanitizer is
  935. currently available for the C and C++ languages.
  936. * Link-time optimization (LTO) improvements:
  937. + Type merging was rewritten. The new implementation is
  938. significantly faster and uses less memory.
  939. + Better partitioning algorithm resulting in less streaming
  940. during link time.
  941. + Early removal of virtual methods reduces the size of object
  942. files and improves link-time memory usage and compile time.
  943. + Function bodies are now loaded on-demand and released early
  944. improving overall memory usage at link time.
  945. + C++ hidden keyed methods can now be optimized out.
  946. + When using a linker plugin, compiling with the -flto option
  947. now generates slim object files (.o) which only contain
  948. intermediate language representation for LTO. Use
  949. -ffat-lto-objects to create files which contain additionally
  950. the object code. To generate static libraries suitable for LTO
  951. processing, use gcc-ar and gcc-ranlib; to list symbols from a
  952. slim object file use gcc-nm. (This requires that ar, ranlib
  953. and nm have been compiled with plugin support.)
  954. Memory usage building Firefox with debug enabled was reduced from
  955. 15GB to 3.5GB; link time from 1700 seconds to 350 seconds.
  956. * Inter-procedural optimization improvements:
  957. + New type inheritance analysis module improving
  958. devirtualization. Devirtualization now takes into account
  959. anonymous name-spaces and the C++11 final keyword.
  960. + New speculative devirtualization pass (controlled by
  961. -fdevirtualize-speculatively.
  962. + Calls that were speculatively made direct are turned back to
  963. indirect where direct call is not cheaper.
  964. + Local aliases are introduced for symbols that are known to be
  965. semantically equivalent across shared libraries improving
  966. dynamic linking times.
  967. * Feedback directed optimization improvements:
  968. + Profiling of programs using C++ inline functions is now more
  969. reliable.
  970. + New time profiling determines typical order in which functions
  971. are executed.
  972. + A new function reordering pass (controlled by
  973. -freorder-functions) significantly reduces startup time of
  974. large applications. Until binutils support is completed, it is
  975. effective only with link-time optimization.
  976. + Feedback driven indirect call removal and devirtualization now
  977. handle cross-module calls when link-time optimization is
  978. enabled.
  979. New Languages and Language specific improvements
  980. * Version 4.0 of the [4]OpenMP specification is now supported in the
  981. C and C++ compilers and starting with the 4.9.1 release also in the
  982. Fortran compiler. The new -fopenmp-simd option can be used to
  983. enable OpenMP's SIMD directives while ignoring other OpenMP
  984. directives. The new [5]-fsimd-cost-model= option permits to tune
  985. the vectorization cost model for loops annotated with OpenMP and
  986. Cilk Plus simd directives. -Wopenmp-simd warns when the current
  987. cost model overrides simd directives set by the user.
  988. * The -Wdate-time option has been added for the C, C++ and Fortran
  989. compilers, which warns when the __DATE__, __TIME__ or __TIMESTAMP__
  990. macros are used. Those macros might prevent bit-wise-identical
  991. reproducible compilations.
  992. Ada
  993. * GNAT switched to Ada 2012 instead of Ada 2005 by default.
  994. C family
  995. * Support for colorizing diagnostics emitted by GCC has been added.
  996. The [6]-fdiagnostics-color=auto will enable it when outputting to
  997. terminals, -fdiagnostics-color=always unconditionally. The
  998. GCC_COLORS environment variable can be used to customize the colors
  999. or disable coloring. If GCC_COLORS variable is present in the
  1000. environment, the default is -fdiagnostics-color=auto, otherwise
  1001. -fdiagnostics-color=never.
  1002. Sample diagnostics output:
  1003. $ g++ -fdiagnostics-color=always -S -Wall test.C
  1004. test.C: In function `int foo()':
  1005. test.C:1:14: warning: no return statement in function returning non-void [-W
  1006. return-type]
  1007. int foo () { }
  1008. ^
  1009. test.C:2:46: error: template instantiation depth exceeds maximum of 900 (use
  1010. -ftemplate-depth= to increase the maximum) instantiating `struct X<100>'
  1011. template <int N> struct X { static const int value = X<N-1>::value; }; temp
  1012. late struct X<1000>;
  1013. ^
  1014. test.C:2:46: recursively required from `const int X<999>::value'
  1015. test.C:2:46: required from `const int X<1000>::value'
  1016. test.C:2:88: required from here
  1017. test.C:2:46: error: incomplete type `X<100>' used in nested name specifier
  1018. * With the new [7]#pragma GCC ivdep, the user can assert that there
  1019. are no loop-carried dependencies which would prevent concurrent
  1020. execution of consecutive iterations using SIMD (single instruction
  1021. multiple data) instructions.
  1022. * Support for [8]Cilk Plus has been added and can be enabled with the
  1023. -fcilkplus option. Cilk Plus is an extension to the C and C++
  1024. languages to support data and task parallelism. The present
  1025. implementation follows ABI version 1.2; all features but _Cilk_for
  1026. have been implemented.
  1027. C
  1028. * ISO C11 atomics (the _Atomic type specifier and qualifier and the
  1029. <stdatomic.h> header) are now supported.
  1030. * ISO C11 generic selections (_Generic keyword) are now supported.
  1031. * ISO C11 thread-local storage (_Thread_local, similar to GNU C
  1032. __thread) is now supported.
  1033. * ISO C11 support is now at a similar level of completeness to ISO
  1034. C99 support: substantially complete modulo bugs, extended
  1035. identifiers (supported except for corner cases when
  1036. -fextended-identifiers is used), floating-point issues (mainly but
  1037. not entirely relating to optional C99 features from Annexes F and
  1038. G) and the optional Annexes K (Bounds-checking interfaces) and L
  1039. (Analyzability).
  1040. * A new C extension __auto_type provides a subset of the
  1041. functionality of C++11 auto in GNU C.
  1042. C++
  1043. * The G++ implementation of [9]C++1y return type deduction for normal
  1044. functions has been updated to conform to [10]N3638, the proposal
  1045. accepted into the working paper. Most notably, it adds
  1046. decltype(auto) for getting decltype semantics rather than the
  1047. template argument deduction semantics of plain auto:
  1048. int& f();
  1049. auto i1 = f(); // int
  1050. decltype(auto) i2 = f(); // int&
  1051. * G++ supports [11]C++1y lambda capture initializers:
  1052. [x = 42]{ ... };
  1053. Actually, they have been accepted since GCC 4.5, but now the
  1054. compiler doesn't warn about them with -std=c++1y, and supports
  1055. parenthesized and brace-enclosed initializers as well.
  1056. * G++ supports [12]C++1y variable length arrays. G++ has supported
  1057. GNU/C99-style VLAs for a long time, but now additionally supports
  1058. initializers and lambda capture by reference. In C++1y mode G++
  1059. will complain about VLA uses that are not permitted by the draft
  1060. standard, such as forming a pointer to VLA type or applying sizeof
  1061. to a VLA variable. Note that it now appears that VLAs will not be
  1062. part of C++14, but will be part of a separate document and then
  1063. perhaps C++17.
  1064. void f(int n) {
  1065. int a[n] = { 1, 2, 3 }; // throws std::bad_array_length if n < 3
  1066. [&a]{ for (int i : a) { cout << i << endl; } }();
  1067. &a; // error, taking address of VLA
  1068. }
  1069. * G++ supports the [13]C++1y [[deprecated]] attribute modulo bugs in
  1070. the underlying [[gnu::deprecated]] attribute. Classes and functions
  1071. can be marked deprecated and a diagnostic message added:
  1072. class A;
  1073. int bar(int n);
  1074. #if __cplusplus > 201103
  1075. class [[deprecated("A is deprecated in C++14; Use B instead")]] A;
  1076. [[deprecated("bar is unsafe; use foo() instead")]]
  1077. int bar(int n);
  1078. int foo(int n);
  1079. class B;
  1080. #endif
  1081. A aa; // warning: 'A' is deprecated : A is deprecated in C++14; Use B instead
  1082. int j = bar(2); // warning: 'int bar(int)' is deprecated : bar is unsafe; use fo
  1083. o() instead
  1084. * G++ supports [14]C++1y digit separators. Long numeric literals can
  1085. be subdivided with a single quote ' to enhance readability:
  1086. int i = 1048576;
  1087. int j = 1'048'576;
  1088. int k = 0x10'0000;
  1089. int m = 0'004'000'000;
  1090. int n = 0b0001'0000'0000'0000'0000'0000;
  1091. double x = 1.602'176'565e-19;
  1092. double y = 1.602'176'565e-1'9;
  1093. * G++ supports [15]C++1y generic (polymorphic) lambdas.
  1094. // a functional object that will increment any type
  1095. auto incr = [](auto x) { return x++; };
  1096. * As a GNU extension, G++ supports explicit template parameter syntax
  1097. for generic lambdas. This can be combined in the expected way with
  1098. the standard auto syntax.
  1099. // a functional object that will add two like-type objects
  1100. auto add = [] <typename T> (T a, T b) { return a + b; };
  1101. * G++ supports unconstrained generic functions as specified by
  1102. S:4.1.2 and S:5.1.1 of [16]N3889: Concepts Lite Specification.
  1103. Briefly, auto may be used as a type-specifier in a parameter
  1104. declaration of any function declarator in order to introduce an
  1105. implicit function template parameter, akin to generic lambdas.
  1106. // the following two function declarations are equivalent
  1107. auto incr(auto x) { return x++; }
  1108. template <typename T>
  1109. auto incr(T x) { return x++; }
  1110. Runtime Library (libstdc++)
  1111. * [17]Improved support for C++11, including:
  1112. + support for <regex>;
  1113. + The associative containers in <map> and <set> and the
  1114. unordered associative containers in <unordered_map> and
  1115. <unordered_set> meet the allocator-aware container
  1116. requirements;
  1117. * [18]Improved experimental support for the upcoming ISO C++
  1118. standard, C++14, including:
  1119. + fixing constexpr member functions without const;
  1120. + implementation of the std::exchange() utility function;
  1121. + addressing tuples by type;
  1122. + implemention of std::make_unique;
  1123. + implemention of std::shared_lock;
  1124. + making std::result_of SFINAE-friendly;
  1125. + adding operator() to std::integral_constant;
  1126. + adding user-defined literals for standard library types
  1127. std::basic_string, std::chrono::duration, and std::complex;
  1128. + adding two range overloads to non-modifying sequence oprations
  1129. std::equal and std::mismatch;
  1130. + adding IO manipulators for quoted strings;
  1131. + adding constexpr members to <utility>, <complex>, <chrono>,
  1132. and some containers;
  1133. + adding compile-time std::integer_sequence;
  1134. + adding cleaner transformation traits;
  1135. + making <functional>s operator functors easier to use and more
  1136. generic;
  1137. * An implementation of std::experimental::optional.
  1138. * An implementation of std::experimental::string_view.
  1139. * The non-standard function std::copy_exception has been deprecated
  1140. and will be removed in a future version. std::make_exception_ptr
  1141. should be used instead.
  1142. Fortran
  1143. * Compatibility notice:
  1144. + Module files: The version of the module files (.mod) has been
  1145. incremented; additionally, module files are now compressed.
  1146. Fortran MODULEs compiled by earlier GCC versions have to be
  1147. recompiled, when they are USEd by files compiled with GCC 4.9.
  1148. GCC 4.9 is not able to read .mod files of earlier GCC
  1149. versions; attempting to do so gives an error message. Note:
  1150. The ABI of the produced assembler data itself has not changed:
  1151. object files and libraries are fully compatible with older
  1152. versions (except as stated below).
  1153. + ABI changes:
  1154. o The [19]argument passing ABI has changed for scalar dummy
  1155. arguments of type INTEGER, REAL, COMPLEX and LOGICAL,
  1156. which have both the VALUE and the OPTIONAL attributes.
  1157. o To support finalization the virtual table associated with
  1158. polymorphic variables has changed. Code containing CLASS
  1159. should be recompiled, including all files which define
  1160. derived types involved in the type definition used by
  1161. polymorphic variables. (Note: Due to the incremented
  1162. module version, trying to mix old code with new code will
  1163. usually give an error message.)
  1164. + GNU Fortran no longer deallocates allocatable variables or
  1165. allocatable components of variables declared in the main
  1166. program. Since Fortran 2008, the standard explicitly states
  1167. that variables declared in the Fortran main program
  1168. automatically have the SAVE attribute.
  1169. + When opening files, the close-on-exec flag is set if the
  1170. system supports such a feature. This is generally considered
  1171. good practice these days, but if there is a need to pass file
  1172. descriptors to child processes the parent process must now
  1173. remember to clear the close-on-exec flag by calling fcntl(),
  1174. e.g. via ISO_C_BINDING, before executing the child process.
  1175. * The deprecated command-line option -fno-whole-file has been
  1176. removed. (-fwhole-file is the default since GCC 4.6.)
  1177. -fwhole-file/-fno-whole-file continue to be accepted but do not
  1178. influence the code generation.
  1179. * The compiler no longer unconditionally warns about DO loops with
  1180. zero iterations. This warning is now controlled by the -Wzerotrip
  1181. option, which is implied by -Wall.
  1182. * The new NO_ARG_CHECK attribute of the [20]!GCC$ directive can be
  1183. used to disable the type-kind-rank (TKR) argument check for a dummy
  1184. argument. The feature is similar to ISO/IEC TS 29133:2012's
  1185. TYPE(*), except that it additionally also disables the rank check.
  1186. Variables with NO_ARG_CHECK have to be dummy arguments and may only
  1187. be used as argument to ISO_C_BINDING's C_LOC and as actual argument
  1188. to another NO_ARG_CHECK dummy argument; also the other constraints
  1189. of TYPE(*) apply. The dummy arguments should be declared as scalar
  1190. or assumed-size variable of type type(*) (recommended) - or of type
  1191. integer, real, complex or logical. With NO_ARG_CHECK, a pointer to
  1192. the data without further type or shape information is passed,
  1193. similar to C's void*. Note that also TS 29113's
  1194. type(*),dimension(..) accepts arguments of any type and rank;
  1195. contrary to NO_ARG_CHECK assumed-rank arguments pass an array
  1196. descriptor which contains the array shape and stride of the
  1197. argument.
  1198. * [21]Fortran 2003:
  1199. + Finalization is now supported. It is currently only done for a
  1200. subset of those situations in which it should occur.
  1201. + Experimental support for scalar character components with
  1202. deferred length (i.e. allocatable string length) in derived
  1203. types has been added. (Deferred-length character variables are
  1204. supported since GCC 4.6.)
  1205. * [22]Fortran 2008:
  1206. + When STOP or ERROR STOP are used to terminate the execution
  1207. and any exception (but inexact) is signaling, a warning is
  1208. printed to ERROR_UNIT, indicating which exceptions are
  1209. signaling. The [23]-ffpe-summary= command-line option can be
  1210. used to fine-tune for which exceptions the warning should be
  1211. shown.
  1212. + Rounding on input (READ) is now handled on systems where
  1213. strtod honours the rounding mode. (For output, rounding is
  1214. supported since GCC 4.5.) Note that for input, the compatible
  1215. rounding mode is handled as nearest (i.e., rounding to an even
  1216. least significant [cf. IEC 60559:1989] for a tie, while
  1217. compatible rounds away from zero in that case).
  1218. Go
  1219. * GCC 4.9 provides a complete implementation of the Go 1.2.1 release.
  1220. New Targets and Target Specific Improvements
  1221. AArch64
  1222. * The ARMv8-A crypto and CRC instructions are now supported through
  1223. intrinsics. These are enabled when the architecture supports these
  1224. and are available through the -march=armv8-a+crc and
  1225. -march=armv8-a+crypto options.
  1226. * Initial support for ILP32 has now been added to the compiler. This
  1227. is now available through the command-line option -mabi=ilp32.
  1228. Support for ILP32 is considered experimental as the ABI
  1229. specification is still beta.
  1230. * Coverage of more of the ISA including the SIMD extensions has been
  1231. added. The Advanced SIMD intrinsics have also been improved.
  1232. * The new local register allocator (LRA) is now on by default for the
  1233. AArch64 backend.
  1234. * The REE (Redundant extension elimination) pass has now been enabled
  1235. by default for the AArch64 backend.
  1236. * Tuning for the Cortex-A53 and Cortex-A57 has been improved.
  1237. * Initial big.LITTLE tuning support for the combination of Cortex-A57
  1238. and Cortex-A53 was added through the -mcpu=cortex-a57.cortex-a53
  1239. option.
  1240. * A number of structural changes have been made to both the ARM and
  1241. AArch64 backends to facilitate improved code-generation.
  1242. * As of GCC 4.9.2 a workaround for the ARM Cortex-A53 erratum 835769
  1243. has been added and can be enabled by giving the
  1244. -mfix-cortex-a53-835769 option. Alternatively it can be enabled by
  1245. default by configuring GCC with the --enable-fix-cortex-a53-835769
  1246. option.
  1247. ARC
  1248. * A port for Synopsys Designware ARC has been contributed by Embecosm
  1249. and Synopsys Inc.
  1250. ARM
  1251. * Use of Advanced SIMD (Neon) for 64-bit scalar computations has been
  1252. disabled by default. This was found to generate better code in only
  1253. a small number of cases. It can be turned back on with the
  1254. -mneon-for-64bits option.
  1255. * Further support for the ARMv8-A architecture, notably implementing
  1256. the restriction around IT blocks in the Thumb32 instruction set has
  1257. been added. The -mrestrict-it option can be used with
  1258. -march=armv7-a or the -march=armv7ve options to make code
  1259. generation fully compatible with the deprecated instructions in
  1260. ARMv8-A.
  1261. * Support has now been added for the ARMv7ve variant of the
  1262. architecture. This can be used by the -march=armv7ve option.
  1263. * The ARMv8-A crypto and CRC instructions are now supported through
  1264. intrinsics and are available through the -march=armv8-a+crc and
  1265. mfpu=crypto-neon-fp-armv8 options.
  1266. * LRA is now on by default for the ARM target. This can be turned off
  1267. using the -mno-lra option. This option is a purely transitionary
  1268. command-line option and will be removed in a future release. We are
  1269. interested in any bug reports regarding functional and performance
  1270. regressions with LRA.
  1271. * A new option -mslow-flash-data to improve performance of programs
  1272. fetching data on slow flash memory has now been introduced for the
  1273. ARMv7-M profile cores.
  1274. * A new option -mpic-data-is-text-relative for targets that allows
  1275. data segments to be relative to text segments has been added. This
  1276. is on by default for all targets except VxWorks RTP.
  1277. * A number of infrastructural changes have been made to both the ARM
  1278. and AArch64 backends to facilitate improved code-generation.
  1279. * GCC now supports Cortex-A12 and the Cortex-R7 through the
  1280. -mcpu=cortex-a12 and -mcpu=cortex-r7 options.
  1281. * GCC now has tuning for the Cortex-A57 and Cortex-A53 through the
  1282. -mcpu=cortex-a57 and -mcpu=cortex-a53 options.
  1283. * Initial big.LITTLE tuning support for the combination of Cortex-A57
  1284. and Cortex-A53 was added through the -mcpu=cortex-a57.cortex-a53
  1285. option. Similar support was added for the combination of Cortex-A15
  1286. and Cortex-A7 through the -mcpu=cortex-a15.cortex-a7 option.
  1287. * Further performance optimizations for the Cortex-A15 and the
  1288. Cortex-M4 have been added.
  1289. * A number of code generation improvements for Thumb2 to reduce code
  1290. size when compiling for the M-profile processors.
  1291. IA-32/x86-64
  1292. * -mfpmath=sse is now implied by -ffast-math on all targets where
  1293. SSE2 is supported.
  1294. * Intel AVX-512 support was added to GCC. That includes inline
  1295. assembly support, new registers and extending existing ones, new
  1296. intrinsics (covered by corresponding testsuite), and basic
  1297. autovectorization. AVX-512 instructions are available via the
  1298. following GCC switches: AVX-512 foundation instructions: -mavx512f,
  1299. AVX-512 prefetch instructions: -mavx512pf, AVX-512 exponential and
  1300. reciprocal instructions: -mavx512er, AVX-512 conflict detection
  1301. instructions: -mavx512cd.
  1302. * It is now possible to call x86 intrinsics from select functions in
  1303. a file that are tagged with the corresponding target attribute
  1304. without having to compile the entire file with the -mxxx option.
  1305. This improves the usability of x86 intrinsics and is particularly
  1306. useful when doing [24]Function Multiversioning.
  1307. * GCC now supports the new Intel microarchitecture named Silvermont
  1308. through -march=silvermont.
  1309. * GCC now supports the new Intel microarchitecture named Broadwell
  1310. through -march=broadwell.
  1311. * Optimizing for other Intel microarchitectures have been renamed to
  1312. -march=nehalem, westmere, sandybridge, ivybridge, haswell, bonnell.
  1313. * -march=generic has been retuned for better support of Intel core
  1314. and AMD Bulldozer architectures. Performance of AMD K7, K8, Intel
  1315. Pentium-M, and Pentium4 based CPUs is no longer considered
  1316. important for generic.
  1317. * -mtune=intel can now be used to generate code running well on the
  1318. most current Intel processors, which are Haswell and Silvermont for
  1319. GCC 4.9.
  1320. * Support to encode 32-bit assembly instructions in 16-bit format is
  1321. now available through the -m16 command-line option.
  1322. * Better inlining of memcpy and memset that is aware of value ranges
  1323. and produces shorter alignment prologues.
  1324. * -mno-accumulate-outgoing-args is now honored when unwind
  1325. information is output. Argument accumulation is also now turned off
  1326. for portions of programs optimized for size.
  1327. * Support for new AMD family 15h processors (Excavator core) is now
  1328. available through the -march=bdver4 and -mtune=bdver4 options.
  1329. MSP430
  1330. * A new command-line option -mcpu= has been added to the MSP430
  1331. backend. This option is used to specify the ISA to be used.
  1332. Accepted values are msp430 (the default), msp430x and msp430xv2.
  1333. The ISA is no longer deduced from the -mmcu= option as there are
  1334. far too many different MCU names. The -mmcu= option is still
  1335. supported, and this is still used to select linker scripts and
  1336. generate a C preprocessor symbol that will be recognised by the
  1337. msp430.h header file.
  1338. NDS32
  1339. * A new nds32 port supports the 32-bit architecture from Andes
  1340. Technology Corporation.
  1341. * The port provides initial support for the V2, V3, V3m instruction
  1342. set architectures.
  1343. Nios II
  1344. * A port for the Altera Nios II has been contributed by Mentor
  1345. Graphics.
  1346. PowerPC / PowerPC64 / RS6000
  1347. * GCC now supports Power ISA 2.07, which includes support for
  1348. Hardware Transactional Memory (HTM), Quadword atomics and several
  1349. VMX and VSX additions, including Crypto, 64-bit integer, 128-bit
  1350. integer and decimal integer operations.
  1351. * Support for the POWER8 processor is now available through the
  1352. -mcpu=power8 and -mtune=power8 options.
  1353. * The libitm library has been modified to add a HTM fastpath that
  1354. automatically uses POWER's HTM hardware instructions when it is
  1355. executing on a HTM enabled processor.
  1356. * Support for the new powerpc64le-linux platform has been added. It
  1357. defaults to generating code that conforms to the ELFV2 ABI.
  1358. S/390, System z
  1359. * Support for the Transactional Execution Facility included with the
  1360. IBM zEnterprise zEC12 processor has been added. A set of GCC style
  1361. builtins as well as XLC style builtins are provided. The builtins
  1362. are enabled by default when using the -march=zEC12 option but can
  1363. explicitly be disabled with -mno-htm. Using the GCC builtins also
  1364. libitm supports hardware transactions on S/390.
  1365. * The hotpatch features allows to prepare functions for hotpatching.
  1366. A certain amount of bytes is reserved before the function entry
  1367. label plus a NOP is inserted at its very beginning to implement a
  1368. backward jump when applying a patch. The feature can either be
  1369. enabled per compilation unit via the command-line option -mhotpatch
  1370. or per function using the hotpatch attribute.
  1371. * The shrink wrap optimization is now supported on S/390 and enabled
  1372. by default.
  1373. * A major rework of the routines to determine which registers need to
  1374. be saved and restored in function prologue/epilogue now allow to
  1375. use floating point registers as save slots. This will happen for
  1376. certain leaf function with -march=z10 or higher.
  1377. * The LRA rtl pass replaces reload by default on S/390.
  1378. RX
  1379. * The port now allows to specify the RX100, RX200, and RX600
  1380. processors with the command-line options -mcpu=rx100, -mcpu=rx200
  1381. and -mcpu=rx600.
  1382. SH
  1383. * Minor improvements to code generated for integer arithmetic and
  1384. code that involves the T bit.
  1385. * Added support for the SH2A clips and clipu instructions. The
  1386. compiler will now try to utilize them for min/max expressions such
  1387. as max (-128, min (127, x)).
  1388. * Added support for the cmp/str instruction through built-in
  1389. functions such as __builtin_strlen. When not optimizing for size,
  1390. the compiler will now expand calls to e.g. strlen as an inlined
  1391. sequences which utilize the cmp/str instruction.
  1392. * Improved code generated around volatile memory loads and stores.
  1393. * The option -mcbranchdi has been deprecated. Specifying it will
  1394. result in a warning and will not influence code generation.
  1395. * The option -mcmpeqdi has been deprecated. Specifying it will result
  1396. in a warning and will not influence code generation.
  1397. GCC 4.9.1
  1398. This is the [25]list of problem reports (PRs) from GCC's bug tracking
  1399. system that are known to be fixed in the 4.9.1 release. This list might
  1400. not be complete (that is, it is possible that some PRs that have been
  1401. fixed are not listed here).
  1402. Version 4.0 of the [26]OpenMP specification is supported even in
  1403. Fortran, not just C and C++.
  1404. GCC 4.9.2
  1405. This is the [27]list of problem reports (PRs) from GCC's bug tracking
  1406. system that are known to be fixed in the 4.9.2 release. This list might
  1407. not be complete (that is, it is possible that some PRs that have been
  1408. fixed are not listed here).
  1409. GCC 4.9.3
  1410. This is the [28]list of problem reports (PRs) from GCC's bug tracking
  1411. system that are known to be fixed in the 4.9.3 release. This list might
  1412. not be complete (that is, it is possible that some PRs that have been
  1413. fixed are not listed here).
  1414. For questions related to the use of GCC, please consult these web
  1415. pages and the [29]GCC manuals. If that fails, the
  1416. [30]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  1417. web pages and the development of GCC are welcome on our developer
  1418. list at [31]gcc@gcc.gnu.org. All of [32]our lists have public
  1419. archives.
  1420. Copyright (C) [33]Free Software Foundation, Inc. Verbatim copying and
  1421. distribution of this entire article is permitted in any medium,
  1422. provided this notice is preserved.
  1423. These pages are [34]maintained by the GCC team. Last modified
  1424. 2015-06-28[35].
  1425. References
  1426. 1. https://gcc.gnu.org/ml/gcc-patches/2013-05/msg00728.html
  1427. 2. https://gcc.gnu.org/PR60825
  1428. 3. https://gcc.gnu.org/gcc-4.9/porting_to.html
  1429. 4. http://openmp.org/wp/openmp-specifications/
  1430. 5. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Optimize-Options.html#index-fsimd-cost-model-908
  1431. 6. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Language-Independent-Options.html#index-fdiagnostics-color-252
  1432. 7. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Loop-Specific-Pragmas.html
  1433. 8. https://www.cilkplus.org/
  1434. 9. http://gcc.gnu.org/projects/cxx1y.html
  1435. 10. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3638.html
  1436. 11. http://gcc.gnu.org/projects/cxx1y.html
  1437. 12. http://gcc.gnu.org/projects/cxx1y.html
  1438. 13. http://gcc.gnu.org/projects/cxx1y.html
  1439. 14. http://gcc.gnu.org/projects/cxx1y.html
  1440. 15. http://gcc.gnu.org/projects/cxx1y.html
  1441. 16. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3889.pdf
  1442. 17. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/libstdc++/manual/manual/status.html#status.iso.2011
  1443. 18. https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2014
  1444. 19. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gfortran/Argument-passing-conventions.html
  1445. 20. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gfortran/GNU-Fortran-Compiler-Directives.html
  1446. 21. https://gcc.gnu.org/wiki/Fortran2003Status
  1447. 22. https://gcc.gnu.org/wiki/Fortran2008Status
  1448. 23. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gfortran/Debugging-Options.html
  1449. 24. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Function-Multiversioning.html
  1450. 25. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.1
  1451. 26. http://openmp.org/wp/openmp-specifications/
  1452. 27. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.2
  1453. 28. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.3
  1454. 29. https://gcc.gnu.org/onlinedocs/
  1455. 30. mailto:gcc-help@gcc.gnu.org
  1456. 31. mailto:gcc@gcc.gnu.org
  1457. 32. https://gcc.gnu.org/lists.html
  1458. 33. http://www.fsf.org/
  1459. 34. https://gcc.gnu.org/about.html
  1460. 35. http://validator.w3.org/check/referer
  1461. ======================================================================
  1462. http://gcc.gnu.org/gcc-4.8/index.html
  1463. GCC 4.8 Release Series
  1464. June 23, 2015
  1465. The [1]GNU project and the GCC developers are pleased to announce the
  1466. release of GCC 4.8.5.
  1467. This release is a bug-fix release, containing fixes for regressions in
  1468. GCC 4.8.4 relative to previous releases of GCC.
  1469. Release History
  1470. GCC 4.8.5
  1471. June 23, 2015 ([2]changes, [3]documentation)
  1472. GCC 4.8.4
  1473. December 19, 2014 ([4]changes, [5]documentation)
  1474. GCC 4.8.3
  1475. May 22, 2014 ([6]changes, [7]documentation)
  1476. GCC 4.8.2
  1477. October 16, 2013 ([8]changes, [9]documentation)
  1478. GCC 4.8.1
  1479. May 31, 2013 ([10]changes, [11]documentation)
  1480. GCC 4.8.0
  1481. March 22, 2013 ([12]changes, [13]documentation)
  1482. References and Acknowledgements
  1483. GCC used to stand for the GNU C Compiler, but since the compiler
  1484. supports several other languages aside from C, it now stands for the
  1485. GNU Compiler Collection.
  1486. A list of [14]successful builds is updated as new information becomes
  1487. available.
  1488. The GCC developers would like to thank the numerous people that have
  1489. contributed new features, improvements, bug fixes, and other changes as
  1490. well as test results to GCC. This [15]amazing group of volunteers is
  1491. what makes GCC successful.
  1492. For additional information about GCC please refer to the [16]GCC
  1493. project web site or contact the [17]GCC development mailing list.
  1494. To obtain GCC please use [18]our mirror sites or [19]our SVN server.
  1495. For questions related to the use of GCC, please consult these web
  1496. pages and the [20]GCC manuals. If that fails, the
  1497. [21]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  1498. web pages and the development of GCC are welcome on our developer
  1499. list at [22]gcc@gcc.gnu.org. All of [23]our lists have public
  1500. archives.
  1501. Copyright (C) [24]Free Software Foundation, Inc. Verbatim copying and
  1502. distribution of this entire article is permitted in any medium,
  1503. provided this notice is preserved.
  1504. These pages are [25]maintained by the GCC team. Last modified
  1505. 2015-06-23[26].
  1506. References
  1507. 1. http://www.gnu.org/
  1508. 2. http://gcc.gnu.org/gcc-4.8/changes.html
  1509. 3. https://gcc.gnu.org/onlinedocs/4.8.5/
  1510. 4. http://gcc.gnu.org/gcc-4.8/changes.html
  1511. 5. https://gcc.gnu.org/onlinedocs/4.8.4/
  1512. 6. http://gcc.gnu.org/gcc-4.8/changes.html
  1513. 7. https://gcc.gnu.org/onlinedocs/4.8.3/
  1514. 8. http://gcc.gnu.org/gcc-4.8/changes.html
  1515. 9. https://gcc.gnu.org/onlinedocs/4.8.2/
  1516. 10. http://gcc.gnu.org/gcc-4.8/changes.html
  1517. 11. https://gcc.gnu.org/onlinedocs/4.8.1/
  1518. 12. http://gcc.gnu.org/gcc-4.8/changes.html
  1519. 13. https://gcc.gnu.org/onlinedocs/4.8.0/
  1520. 14. http://gcc.gnu.org/gcc-4.8/buildstat.html
  1521. 15. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  1522. 16. http://gcc.gnu.org/index.html
  1523. 17. mailto:gcc@gcc.gnu.org
  1524. 18. http://gcc.gnu.org/mirrors.html
  1525. 19. http://gcc.gnu.org/svn.html
  1526. 20. https://gcc.gnu.org/onlinedocs/
  1527. 21. mailto:gcc-help@gcc.gnu.org
  1528. 22. mailto:gcc@gcc.gnu.org
  1529. 23. https://gcc.gnu.org/lists.html
  1530. 24. http://www.fsf.org/
  1531. 25. https://gcc.gnu.org/about.html
  1532. 26. http://validator.w3.org/check/referer
  1533. ======================================================================
  1534. http://gcc.gnu.org/gcc-4.8/changes.html
  1535. GCC 4.8 Release Series
  1536. Changes, New Features, and Fixes
  1537. Caveats
  1538. GCC now uses C++ as its implementation language. This means that to
  1539. build GCC from sources, you will need a C++ compiler that understands
  1540. C++ 2003. For more details on the rationale and specific changes,
  1541. please refer to the [1]C++ conversion page.
  1542. To enable the Graphite framework for loop optimizations you now need
  1543. CLooG version 0.18.0 and ISL version 0.11.1. Both can be obtained from
  1544. the [2]GCC infrastructure directory. The installation manual contains
  1545. more information about requirements to build GCC.
  1546. GCC now uses a more aggressive analysis to derive an upper bound for
  1547. the number of iterations of loops using constraints imposed by language
  1548. standards. This may cause non-conforming programs to no longer work as
  1549. expected, such as SPEC CPU 2006 464.h264ref and 416.gamess. A new
  1550. option, -fno-aggressive-loop-optimizations, was added to disable this
  1551. aggressive analysis. In some loops that have known constant number of
  1552. iterations, but undefined behavior is known to occur in the loop before
  1553. reaching or during the last iteration, GCC will warn about the
  1554. undefined behavior in the loop instead of deriving lower upper bound of
  1555. the number of iterations for the loop. The warning can be disabled with
  1556. -Wno-aggressive-loop-optimizations.
  1557. On ARM, a bug has been fixed in GCC's implementation of the AAPCS rules
  1558. for the layout of vectors that could lead to wrong code being
  1559. generated. Vectors larger than 8 bytes in size are now by default
  1560. aligned to an 8-byte boundary. This is an ABI change: code that makes
  1561. explicit use of vector types may be incompatible with binary objects
  1562. built with older versions of GCC. Auto-vectorized code is not affected
  1563. by this change.
  1564. On AVR, support has been removed for the command-line option
  1565. -mshort-calls deprecated in GCC 4.7.
  1566. On AVR, the configure option --with-avrlibc supported since GCC 4.7.2
  1567. is turned on per default for all non-RTEMS configurations. This option
  1568. arranges for a better integration of [3]AVR Libc with avr-gcc. For
  1569. technical details, see [4]PR54461. To turn off the option in non-RTEMS
  1570. configurations, use --with-avrlibc=no. If the compiler is configured
  1571. for RTEMS, the option is always turned off.
  1572. More information on porting to GCC 4.8 from previous versions of GCC
  1573. can be found in the [5]porting guide for this release.
  1574. General Optimizer Improvements (and Changes)
  1575. * DWARF4 is now the default when generating DWARF debug information.
  1576. When -g is used on a platform that uses DWARF debugging
  1577. information, GCC will now default to -gdwarf-4
  1578. -fno-debug-types-section.
  1579. GDB 7.5, Valgrind 3.8.0 and elfutils 0.154 debug information
  1580. consumers support DWARF4 by default. Before GCC 4.8 the default
  1581. version used was DWARF2. To make GCC 4.8 generate an older DWARF
  1582. version use -g together with -gdwarf-2 or -gdwarf-3. The default
  1583. for Darwin and VxWorks is still -gdwarf-2 -gstrict-dwarf.
  1584. * A new general optimization level, -Og, has been introduced. It
  1585. addresses the need for fast compilation and a superior debugging
  1586. experience while providing a reasonable level of run-time
  1587. performance. Overall experience for development should be better
  1588. than the default optimization level -O0.
  1589. * A new option -ftree-partial-pre was added to control the partial
  1590. redundancy elimination (PRE) optimization. This option is enabled
  1591. by default at the -O3 optimization level, and it makes PRE more
  1592. aggressive.
  1593. * The option -fconserve-space has been removed; it was no longer
  1594. useful on most targets since GCC supports putting variables into
  1595. BSS without making them common.
  1596. * The struct reorg and matrix reorg optimizations (command-line
  1597. options -fipa-struct-reorg and -fipa-matrix-reorg) have been
  1598. removed. They did not always work correctly, nor did they work with
  1599. link-time optimization (LTO), hence were only applicable to
  1600. programs consisting of a single translation unit.
  1601. * Several scalability bottle-necks have been removed from GCC's
  1602. optimization passes. Compilation of extremely large functions, e.g.
  1603. due to the use of the flatten attribute in the "Eigen" C++ linear
  1604. algebra templates library, is significantly faster than previous
  1605. releases of GCC.
  1606. * Link-time optimization (LTO) improvements:
  1607. + LTO partitioning has been rewritten for better reliability and
  1608. maintanibility. Several important bugs leading to link
  1609. failures have been fixed.
  1610. * Interprocedural optimization improvements:
  1611. + A new symbol table has been implemented. It builds on existing
  1612. callgraph and varpool modules and provide a new API. Unusual
  1613. symbol visibilities and aliases are handled more consistently
  1614. leading to, for example, more aggressive unreachable code
  1615. removal with LTO.
  1616. + The inline heuristic can now bypass limits on the size of of
  1617. inlined functions when the inlining is particularly
  1618. profitable. This happens, for example, when loop bounds or
  1619. array strides get propagated.
  1620. + Values passed through aggregates (either by value or
  1621. reference) are now propagated at the inter-procedural level
  1622. leading to better inlining decisions (for example in the case
  1623. of Fortran array descriptors) and devirtualization.
  1624. * [6]AddressSanitizer , a fast memory error detector, has been added
  1625. and can be enabled via -fsanitize=address. Memory access
  1626. instructions will be instrumented to detect heap-, stack-, and
  1627. global-buffer overflow as well as use-after-free bugs. To get nicer
  1628. stacktraces, use -fno-omit-frame-pointer. The AddressSanitizer is
  1629. available on IA-32/x86-64/x32/PowerPC/PowerPC64 GNU/Linux and on
  1630. x86-64 Darwin.
  1631. * [7]ThreadSanitizer has been added and can be enabled via
  1632. -fsanitize=thread. Instructions will be instrumented to detect data
  1633. races. The ThreadSanitizer is available on x86-64 GNU/Linux.
  1634. * A new local register allocator (LRA) has been implemented, which
  1635. replaces the 26 year old reload pass and improves generated code
  1636. quality. For now it is active on the IA-32 and x86-64 targets.
  1637. * Support for transactional memory has been implemented on the
  1638. following architectures: IA-32/x86-64, ARM, PowerPC, SH, SPARC, and
  1639. Alpha.
  1640. New Languages and Language specific improvements
  1641. C family
  1642. * Each diagnostic emitted now includes the original source line and a
  1643. caret '^' indicating the column. The option
  1644. -fno-diagnostics-show-caret suppresses this information.
  1645. * The option -ftrack-macro-expansion=2 is now enabled by default.
  1646. This allows the compiler to display the macro expansion stack in
  1647. diagnostics. Combined with the caret information, an example
  1648. diagnostic showing these two features is:
  1649. t.c:1:94: error: invalid operands to binary < (have `struct mystruct' and `float
  1650. ')
  1651. #define MYMAX(A,B) __extension__ ({ __typeof__(A) __a = (A); __typeof__(B) _
  1652. _b = (B); __a < __b ? __b : __a; })
  1653. ^
  1654. t.c:7:7: note: in expansion of macro 'MYMAX'
  1655. X = MYMAX(P, F);
  1656. ^
  1657. * A new -Wsizeof-pointer-memaccess warning has been added (also
  1658. enabled by -Wall) to warn about suspicious length parameters to
  1659. certain string and memory built-in functions if the argument uses
  1660. sizeof. This warning warns e.g. about memset (ptr, 0, sizeof
  1661. (ptr)); if ptr is not an array, but a pointer, and suggests a
  1662. possible fix, or about memcpy (&foo, ptr, sizeof (&foo));.
  1663. * The new option -Wpedantic is an alias for -pedantic, which is now
  1664. deprecated. The forms -Wno-pedantic, -Werror=pedantic, and
  1665. -Wno-error=pedantic work in the same way as for any other -W
  1666. option. One caveat is that -Werror=pedantic is not equivalent to
  1667. -pedantic-errors, since the latter makes into errors some warnings
  1668. that are not controlled by -Wpedantic, and the former only affects
  1669. diagnostics that are disabled when using -Wno-pedantic.
  1670. * The option -Wshadow no longer warns if a declaration shadows a
  1671. function declaration, unless the former declares a function or
  1672. pointer to function, because this is [8]a common and valid case in
  1673. real-world code.
  1674. C++
  1675. * G++ now implements the [9]C++11 thread_local keyword; this differs
  1676. from the GNU __thread keyword primarily in that it allows dynamic
  1677. initialization and destruction semantics. Unfortunately, this
  1678. support requires a run-time penalty for references to
  1679. non-function-local thread_local variables defined in a different
  1680. translation unit even if they don't need dynamic initialization, so
  1681. users may want to continue to use __thread for TLS variables with
  1682. static initialization semantics.
  1683. If the programmer can be sure that no use of the variable in a
  1684. non-defining TU needs to trigger dynamic initialization (either
  1685. because the variable is statically initialized, or a use of the
  1686. variable in the defining TU will be executed before any uses in
  1687. another TU), they can avoid this overhead with the
  1688. -fno-extern-tls-init option.
  1689. OpenMP threadprivate variables now also support dynamic
  1690. initialization and destruction by the same mechanism.
  1691. * G++ now implements the [10]C++11 attribute syntax, e.g.
  1692. [[noreturn]] void f();
  1693. and also the alignment specifier, e.g.
  1694. alignas(double) int i;
  1695. * G++ now implements [11]C++11 inheriting constructors, e.g.
  1696. struct A { A(int); };
  1697. struct B: A { using A::A; }; // defines B::B(int)
  1698. B b(42); // OK
  1699. * As of GCC 4.8.1, G++ implements the change to decltype semantics
  1700. from [12]N3276.
  1701. struct A f();
  1702. decltype(f()) g(); // OK, return type of f() is not required to be complete.
  1703. * As of GCC 4.8.1, G++ implements [13]C++11 ref-qualifiers, e.g.
  1704. struct A { int f() &; };
  1705. int i = A().f(); // error, f() requires an lvalue object
  1706. * G++ now supports a -std=c++1y option for experimentation with
  1707. features proposed for the next revision of the standard, expected
  1708. around 2014. Currently the only difference from -std=c++11 is
  1709. support for return type deduction in normal functions, as proposed
  1710. in [14]N3386. Status of C++1y features in GCC 4.8 can be found
  1711. [15]here.
  1712. * The G++ namespace association extension, __attribute ((strong)),
  1713. has been deprecated. Inline namespaces should be used instead.
  1714. * G++ now supports a -fext-numeric-literal option to control whether
  1715. GNU numeric literal suffixes are accepted as extensions or
  1716. processed as C++11 user-defined numeric literal suffixes. The flag
  1717. is on (use suffixes for GNU literals) by default for -std=gnu++*,
  1718. and -std=c++98. The flag is off (use suffixes for user-defined
  1719. literals) by default for -std=c++11 and later.
  1720. Runtime Library (libstdc++)
  1721. * [16]Improved experimental support for the new ISO C++ standard,
  1722. C++11, including:
  1723. + forward_list meets the allocator-aware container requirements;
  1724. + this_thread::sleep_for(), this_thread::sleep_until() and
  1725. this_thread::yield() are defined without requiring the
  1726. configure option --enable-libstdcxx-time;
  1727. * Improvements to <random>:
  1728. + SSE optimized normal_distribution.
  1729. + Use of hardware RNG instruction for random_device on new x86
  1730. processors (requires the assembler to support the
  1731. instruction.)
  1732. and <ext/random>:
  1733. + New random number engine simd_fast_mersenne_twister_engine
  1734. with an optimized SSE implementation.
  1735. + New random number distributions beta_distribution,
  1736. normal_mv_distribution, rice_distribution,
  1737. nakagami_distribution, pareto_distribution, k_distribution,
  1738. arcsine_distribution, hoyt_distribution.
  1739. * Added --disable-libstdcxx-verbose configure option to disable
  1740. diagnostic messages issued when a process terminates abnormally.
  1741. This may be useful for embedded systems to reduce the size of
  1742. executables that link statically to the library.
  1743. Fortran
  1744. * Compatibility notice:
  1745. + Module files: The version of module files (.mod) has been
  1746. incremented. Fortran MODULEs compiled by earlier GCC versions
  1747. have to be recompiled, when they are USEd by files compiled
  1748. with GCC 4.8. GCC 4.8 is not able to read .mod files created
  1749. by earlier versions; attempting to do so gives an error
  1750. message.
  1751. Note: The ABI of the produced assembler data itself has not
  1752. changed; object files and libraries are fully compatible with
  1753. older versions except as noted below.
  1754. + ABI: Some internal names (used in the assembler/object file)
  1755. have changed for symbols declared in the specification part of
  1756. a module. If an affected module - or a file using it via use
  1757. association - is recompiled, the module and all files which
  1758. directly use such symbols have to be recompiled as well. This
  1759. change only affects the following kind of module symbols:
  1760. o Procedure pointers. Note: C-interoperable function
  1761. pointers (type(c_funptr)) are not affected nor are
  1762. procedure-pointer components.
  1763. o Deferred-length character strings.
  1764. * The [17]BACKTRACE intrinsic subroutine has been added. It shows a
  1765. backtrace at an arbitrary place in user code; program execution
  1766. continues normally afterwards.
  1767. * The [18]-Wc-binding-type warning option has been added (disabled by
  1768. default). It warns if the a variable might not be C interoperable;
  1769. in particular, if the variable has been declared using an intrinsic
  1770. type with default kind instead of using a kind parameter defined
  1771. for C interoperability in the intrinsic ISO_C_Binding module.
  1772. Before, this warning was always printed. The -Wc-binding-type
  1773. option is enabled by -Wall.
  1774. * The [19]-Wrealloc-lhs and -Wrealloc-lhs-all warning command-line
  1775. options have been added, which diagnose when code is inserted for
  1776. automatic (re)allocation of a variable during assignment. This
  1777. option can be used to decide whether it is safe to use
  1778. [20]-fno-realloc-lhs. Additionally, it can be used to find
  1779. automatic (re)allocation in hot loops. (For arrays, replacing
  1780. "var=" by "var(:)=" disables the automatic reallocation.)
  1781. * The [21]-Wcompare-reals command-line option has been added. When
  1782. this is set, warnings are issued when comparing REAL or COMPLEX
  1783. types for equality and inequality; consider replacing a == b by
  1784. abs(a -b) < eps with a suitable eps. -Wcompare-reals is enabled by
  1785. -Wextra.
  1786. * The [22]-Wtarget-lifetime command-line option has been added
  1787. (enabled with -Wall), which warns if the pointer in a pointer
  1788. assignment might outlive its target.
  1789. * Reading floating point numbers which use "q" for the exponential
  1790. (such as 4.0q0) is now supported as vendor extension for better
  1791. compatibility with old data files. It is strongly recommended to
  1792. use for I/O the equivalent but standard conforming "e" (such as
  1793. 4.0e0).
  1794. (For Fortran source code, consider replacing the "q" in
  1795. floating-point literals by a kind parameter (e.g. 4.0e0_qp with a
  1796. suitable qp). Note that - in Fortran source code - replacing "q" by
  1797. a simple "e" is not equivalent.)
  1798. * The GFORTRAN_TMPDIR environment variable for specifying a
  1799. non-default directory for files opened with STATUS="SCRATCH", is
  1800. not used anymore. Instead gfortran checks the POSIX/GNU standard
  1801. TMPDIR environment variable. If TMPDIR is not defined, gfortran
  1802. falls back to other methods to determine the directory for
  1803. temporary files as documented in the [23]user manual.
  1804. * [24]Fortran 2003:
  1805. + Support for unlimited polymorphic variables (CLASS(*)) has
  1806. been added. Nonconstant character lengths are not yet
  1807. supported.
  1808. * [25]TS 29113:
  1809. + Assumed types (TYPE(*)) are now supported.
  1810. + Experimental support for assumed-rank arrays (dimension(..))
  1811. has been added. Note that currently gfortran's own array
  1812. descriptor is used, which is different from the one defined in
  1813. TS29113, see [26]gfortran's header file or use the [27]Chasm
  1814. Language Interoperability Tools.
  1815. Go
  1816. * GCC 4.8.2 provides a complete implementation of the Go 1.1.2
  1817. release.
  1818. * GCC 4.8.0 and 4.8.1 implement a preliminary version of the Go 1.1
  1819. release. The library support is not quite complete.
  1820. * Go has been tested on GNU/Linux and Solaris platforms for various
  1821. processors including x86, x86_64, PowerPC, SPARC, and Alpha. It may
  1822. work on other platforms as well.
  1823. New Targets and Target Specific Improvements
  1824. AArch64
  1825. * A new port has been added to support AArch64, the new 64-bit
  1826. architecture from ARM. Note that this is a separate port from the
  1827. existing 32-bit ARM port.
  1828. * The port provides initial support for the Cortex-A53 and the
  1829. Cortex-A57 processors with the command line options
  1830. -mcpu=cortex-a53 and -mcpu=cortex-a57.
  1831. * As of GCC 4.8.4 a workaround for the ARM Cortex-A53 erratum 835769
  1832. has been added and can be enabled by giving the
  1833. -mfix-cortex-a53-835769 option. Alternatively it can be enabled by
  1834. default by configuring GCC with the --enable-fix-cortex-a53-835769
  1835. option.
  1836. ARM
  1837. * Initial support has been added for the AArch32 extensions defined
  1838. in the ARMv8 architecture.
  1839. * Code generation improvements for the Cortex-A7 and Cortex-A15 CPUs.
  1840. * A new option, -mcpu=marvell-pj4, has been added to generate code
  1841. for the Marvell PJ4 processor.
  1842. * The compiler can now automatically generate the VFMA, VFMS, REVSH
  1843. and REV16 instructions.
  1844. * A new vectorizer cost model for Advanced SIMD configurations to
  1845. improve the auto-vectorization strategies used.
  1846. * The scheduler now takes into account the number of live registers
  1847. to reduce the amount of spilling that can occur. This should
  1848. improve code performance in large functions. The limit can be
  1849. removed by using the option -fno-sched-pressure.
  1850. * Improvements have been made to the Marvell iWMMX code generation
  1851. and support for the iWMMX2 SIMD unit has been added. The option
  1852. -mcpu=iwmmxt2 can be used to enable code generation for the latter.
  1853. * A number of code generation improvements for Thumb2 to reduce code
  1854. size when compiling for the M-profile processors.
  1855. * The RTEMS (arm-rtems) port has been updated to use the EABI.
  1856. * Code generation support for the old FPA and Maverick floating-point
  1857. architectures has been removed. Ports that previously relied on
  1858. these features have also been removed. This includes the targets:
  1859. + arm*-*-linux-gnu (use arm*-*-linux-gnueabi)
  1860. + arm*-*-elf (use arm*-*-eabi)
  1861. + arm*-*-uclinux* (use arm*-*-uclinux*eabi)
  1862. + arm*-*-ecos-elf (no alternative)
  1863. + arm*-*-freebsd (no alternative)
  1864. + arm*-wince-pe* (no alternative).
  1865. AVR
  1866. * Support for the "Embedded C" fixed-point has been added. For
  1867. details, see the [28]GCC wiki and the [29]user manual. The support
  1868. is not complete.
  1869. * A new print modifier %r for register operands in inline assembler
  1870. is supported. It will print the raw register number without the
  1871. register prefix 'r':
  1872. /* Return the most significant byte of 'val', a 64-bit value. */
  1873. unsigned char msb (long long val)
  1874. {
  1875. unsigned char c;
  1876. __asm__ ("mov %0, %r1+7" : "=r" (c) : "r" (val));
  1877. return c;
  1878. }
  1879. The inline assembler in this example will generate code like
  1880. mov r24, 8+7
  1881. provided c is allocated to R24 and val is allocated to R8...R15.
  1882. This works because the GNU assembler accepts plain register numbers
  1883. without register prefix.
  1884. * Static initializers with 3-byte symbols are supported now:
  1885. extern const __memx char foo;
  1886. const __memx void *pfoo = &foo;
  1887. This requires at least Binutils 2.23.
  1888. IA-32/x86-64
  1889. * Allow -mpreferred-stack-boundary=3 for the x86-64 architecture with
  1890. SSE extensions disabled. Since the x86-64 ABI requires 16 byte
  1891. stack alignment, this is ABI incompatible and intended to be used
  1892. in controlled environments where stack space is an important
  1893. limitation. This option will lead to wrong code when functions
  1894. compiled with 16 byte stack alignment (such as functions from a
  1895. standard library) are called with misaligned stack. In this case,
  1896. SSE instructions may lead to misaligned memory access traps. In
  1897. addition, variable arguments will be handled incorrectly for 16
  1898. byte aligned objects (including x87 long double and __int128),
  1899. leading to wrong results. You must build all modules with
  1900. -mpreferred-stack-boundary=3, including any libraries. This
  1901. includes the system libraries and startup modules.
  1902. * Support for the new Intel processor codename Broadwell with RDSEED,
  1903. ADCX, ADOX, PREFETCHW is available through -madx, -mprfchw,
  1904. -mrdseed command-line options.
  1905. * Support for the Intel RTM and HLE intrinsics, built-in functions
  1906. and code generation is available via -mrtm and -mhle.
  1907. * Support for the Intel FXSR, XSAVE and XSAVEOPT instruction sets.
  1908. Intrinsics and built-in functions are available via -mfxsr, -mxsave
  1909. and -mxsaveopt respectively.
  1910. * New -maddress-mode=[short|long] options for x32.
  1911. -maddress-mode=short overrides default 64-bit addresses to 32-bit
  1912. by emitting the 0x67 address-size override prefix. This is the
  1913. default address mode for x32.
  1914. * New built-in functions to detect run-time CPU type and ISA:
  1915. + A built-in function __builtin_cpu_is has been added to detect
  1916. if the run-time CPU is of a particular type. It returns a
  1917. positive integer on a match and zero otherwise. It accepts one
  1918. string literal argument, the CPU name. For example,
  1919. __builtin_cpu_is("westmere") returns a positive integer if the
  1920. run-time CPU is an Intel Core i7 Westmere processor. Please
  1921. refer to the [30]user manual for the list of valid CPU names
  1922. recognized.
  1923. + A built-in function __builtin_cpu_supports has been added to
  1924. detect if the run-time CPU supports a particular ISA feature.
  1925. It returns a positive integer on a match and zero otherwise.
  1926. It accepts one string literal argument, the ISA feature. For
  1927. example, __builtin_cpu_supports("ssse3") returns a positive
  1928. integer if the run-time CPU supports SSSE3 instructions.
  1929. Please refer to the [31]user manual for the list of valid ISA
  1930. names recognized.
  1931. Caveat: If these built-in functions are called before any static
  1932. constructors are invoked, like during IFUNC initialization, then
  1933. the CPU detection initialization must be explicitly run using this
  1934. newly provided built-in function, __builtin_cpu_init. The
  1935. initialization needs to be done only once. For example, this is how
  1936. the invocation would look like inside an IFUNC initializer:
  1937. static void (*some_ifunc_resolver(void))(void)
  1938. {
  1939. __builtin_cpu_init();
  1940. if (__builtin_cpu_is("amdfam10h") ...
  1941. if (__builtin_cpu_supports("popcnt") ...
  1942. }
  1943. * Function Multiversioning Support with G++:
  1944. It is now possible to create multiple function versions each
  1945. targeting a specific processor and/or ISA. Function versions have
  1946. the same signature but different target attributes. For example,
  1947. here is a program with function versions:
  1948. __attribute__ ((target ("default")))
  1949. int foo(void)
  1950. {
  1951. return 1;
  1952. }
  1953. __attribute__ ((target ("sse4.2")))
  1954. int foo(void)
  1955. {
  1956. return 2;
  1957. }
  1958. int main (void)
  1959. {
  1960. int (*p) = &foo;
  1961. assert ((*p)() == foo());
  1962. return 0;
  1963. }
  1964. Please refer to this [32]wiki for more information.
  1965. * The x86 back end has been improved to allow option -fschedule-insns
  1966. to work reliably. This option can be used to schedule instructions
  1967. better and leads to improved performace in certain cases.
  1968. * Windows MinGW-w64 targets (*-w64-mingw*) require at least r5437
  1969. from the Mingw-w64 trunk.
  1970. * Support for new AMD family 15h processors (Steamroller core) is now
  1971. available through the -march=bdver3 and -mtune=bdver3 options.
  1972. * Support for new AMD family 16h processors (Jaguar core) is now
  1973. available through the -march=btver2 and -mtune=btver2 options.
  1974. FRV
  1975. * This target now supports the -fstack-usage command-line option.
  1976. MIPS
  1977. * GCC can now generate code specifically for the R4700, Broadcom XLP
  1978. and MIPS 34kn processors. The associated -march options are
  1979. -march=r4700, -march=xlp and -march=34kn respectively.
  1980. * GCC now generates better DSP code for MIPS 74k cores thanks to
  1981. further scheduling optimizations.
  1982. * The MIPS port now supports the -fstack-check option.
  1983. * GCC now passes the -mmcu and -mno-mcu options to the assembler.
  1984. * Previous versions of GCC would silently accept -fpic and -fPIC for
  1985. -mno-abicalls targets like mips*-elf. This combination was not
  1986. intended or supported, and did not generate position-independent
  1987. code. GCC 4.8 now reports an error when this combination is used.
  1988. PowerPC / PowerPC64 / RS6000
  1989. * SVR4 configurations (GNU/Linux, FreeBSD, NetBSD) no longer save,
  1990. restore or update the VRSAVE register by default. The respective
  1991. operating systems manage the VRSAVE register directly.
  1992. * Large TOC support has been added for AIX through the command line
  1993. option -mcmodel=large.
  1994. * Native Thread-Local Storage support has been added for AIX.
  1995. * VMX (Altivec) and VSX instruction sets now are enabled implicitly
  1996. when targetting processors that support those hardware features on
  1997. AIX 6.1 and above.
  1998. RX
  1999. * This target will now issue a warning message whenever multiple fast
  2000. interrupt handlers are found in the same compilation unit. This
  2001. feature can be turned off by the new
  2002. -mno-warn-multiple-fast-interrupts command-line option.
  2003. S/390, System z
  2004. * Support for the IBM zEnterprise zEC12 processor has been added.
  2005. When using the -march=zEC12 option, the compiler will generate code
  2006. making use of the following new instructions:
  2007. + load and trap instructions
  2008. + 2 new compare and trap instructions
  2009. + rotate and insert selected bits - without CC clobber
  2010. The -mtune=zEC12 option enables zEC12 specific instruction
  2011. scheduling without making use of new instructions.
  2012. * Register pressure sensitive instruction scheduling is enabled by
  2013. default.
  2014. * The ifunc function attribute is enabled by default.
  2015. * memcpy and memcmp invokations on big memory chunks or with run time
  2016. lengths are not generated inline anymore when tuning for z10 or
  2017. higher. The purpose is to make use of the IFUNC optimized versions
  2018. in Glibc.
  2019. SH
  2020. * The default alignment settings have been reduced to be less
  2021. aggressive. This results in more compact code for optimization
  2022. levels other than -Os.
  2023. * Improved support for the __atomic built-in functions:
  2024. + A new option -matomic-model=model selects the model for the
  2025. generated atomic sequences. The following models are
  2026. supported:
  2027. soft-gusa
  2028. Software gUSA sequences (SH3* and SH4* only). On
  2029. SH4A targets this will now also partially utilize
  2030. the movco.l and movli.l instructions. This is the
  2031. default when the target is sh3*-*-linux* or
  2032. sh4*-*-linux*.
  2033. hard-llcs
  2034. Hardware movco.l / movli.l sequences (SH4A only).
  2035. soft-tcb
  2036. Software thread control block sequences.
  2037. soft-imask
  2038. Software interrupt flipping sequences (privileged
  2039. mode only). This is the default when the target is
  2040. sh1*-*-linux* or sh2*-*-linux*.
  2041. none
  2042. Generates function calls to the respective __atomic
  2043. built-in functions. This is the default for SH64
  2044. targets or when the target is not sh*-*-linux*.
  2045. + The option -msoft-atomic has been deprecated. It is now an
  2046. alias for -matomic-model=soft-gusa.
  2047. + A new option -mtas makes the compiler generate the tas.b
  2048. instruction for the __atomic_test_and_set built-in function
  2049. regardless of the selected atomic model.
  2050. + The __sync functions in libgcc now reflect the selected atomic
  2051. model when building the toolchain.
  2052. * Added support for the mov.b and mov.w instructions with
  2053. displacement addressing.
  2054. * Added support for the SH2A instructions movu.b and movu.w.
  2055. * Various improvements to code generated for integer arithmetic.
  2056. * Improvements to conditional branches and code that involves the T
  2057. bit. A new option -mzdcbranch tells the compiler to favor
  2058. zero-displacement branches. This is enabled by default for SH4*
  2059. targets.
  2060. * The pref instruction will now be emitted by the __builtin_prefetch
  2061. built-in function for SH3* targets.
  2062. * The fmac instruction will now be emitted by the fmaf standard
  2063. function and the __builtin_fmaf built-in function.
  2064. * The -mfused-madd option has been deprecated in favor of the
  2065. machine-independent -ffp-contract option. Notice that the fmac
  2066. instruction will now be generated by default for expressions like a
  2067. * b + c. This is due to the compiler default setting
  2068. -ffp-contract=fast.
  2069. * Added new options -mfsrra and -mfsca to allow the compiler using
  2070. the fsrra and fsca instructions on targets other than SH4A (where
  2071. they are already enabled by default).
  2072. * Added support for the __builtin_bswap32 built-in function. It is
  2073. now expanded as a sequence of swap.b and swap.w instructions
  2074. instead of a library function call.
  2075. * The behavior of the -mieee option has been fixed and the negative
  2076. form -mno-ieee has been added to control the IEEE conformance of
  2077. floating point comparisons. By default -mieee is now enabled and
  2078. the option -ffinite-math-only implicitly sets -mno-ieee.
  2079. * Added support for the built-in functions __builtin_thread_pointer
  2080. and __builtin_set_thread_pointer. This assumes that GBR is used to
  2081. hold the thread pointer of the current thread. Memory loads and
  2082. stores relative to the address returned by __builtin_thread_pointer
  2083. will now also utilize GBR based displacement address modes.
  2084. * The -mdiv= option for targets other than SHmedia has been fixed and
  2085. documented.
  2086. SPARC
  2087. * Added optimized instruction scheduling for Niagara4.
  2088. TILE-Gx
  2089. * Added support for the -mcmodel=MODEL command-line option. The
  2090. models supported are small and large.
  2091. V850
  2092. * This target now supports the E3V5 architecture via the use of the
  2093. new -mv850e3v5 command-line option. It also has experimental
  2094. support for the e3v5 LOOP instruction which can be enabled via the
  2095. new -mloop command-line option.
  2096. XStormy16
  2097. * This target now supports the -fstack-usage command-line option.
  2098. Operating Systems
  2099. Windows (Cygwin)
  2100. * Executables are now linked against shared libgcc by default. The
  2101. previous default was to link statically, which can still be done by
  2102. explicitly specifying -static or static-libgcc on the command line.
  2103. However it is strongly advised against, as it will cause problems
  2104. for any application that makes use of DLLs compiled by GCC. It
  2105. should be alright for a monolithic stand-alone application that
  2106. only links against the Windows DLLs, but offers little or no
  2107. benefit.
  2108. GCC 4.8.1
  2109. This is the [33]list of problem reports (PRs) from GCC's bug tracking
  2110. system that are known to be fixed in the 4.8.1 release. This list might
  2111. not be complete (that is, it is possible that some PRs that have been
  2112. fixed are not listed here).
  2113. The C++11 <chrono> std::chrono::system_clock and
  2114. std::chrono::steady_clock classes have changed ABI in GCC 4.8.1, they
  2115. both are now separate (never typedefs of each other), both use
  2116. std::chrono::nanoseconds resolution, on most GNU/Linux configurations
  2117. std::chrono::steady_clock is now finally monotonic, and both classes
  2118. are mangled differently than in the previous GCC releases.
  2119. std::chrono::system_clock::now() with std::chrono::microseconds resp.
  2120. std::chrono::seconds resolution is still exported for backwards
  2121. compatibility with default configured libstdc++. Note that libstdc++
  2122. configured with --enable-libstdcxx-time= used to be ABI incompatible
  2123. with default configured libstdc++ for those two classes and no ABI
  2124. compatibility can be offered for those configurations, so any C++11
  2125. code that uses those classes and has been compiled and linked against
  2126. libstdc++ configured with the non-default --enable-libstdcxx-time=
  2127. configuration option needs to be recompiled.
  2128. GCC 4.8.2
  2129. This is the [34]list of problem reports (PRs) from GCC's bug tracking
  2130. system that are known to be fixed in the 4.8.2 release. This list might
  2131. not be complete (that is, it is possible that some PRs that have been
  2132. fixed are not listed here).
  2133. GCC 4.8.3
  2134. This is the [35]list of problem reports (PRs) from GCC's bug tracking
  2135. system that are known to be fixed in the 4.8.3 release. This list might
  2136. not be complete (that is, it is possible that some PRs that have been
  2137. fixed are not listed here).
  2138. Support for the new powerpc64le-linux platform has been added. It
  2139. defaults to generating code that conforms to the ELFV2 ABI.
  2140. GCC 4.8.4
  2141. This is the [36]list of problem reports (PRs) from GCC's bug tracking
  2142. system that are known to be fixed in the 4.8.4 release. This list might
  2143. not be complete (that is, it is possible that some PRs that have been
  2144. fixed are not listed here).
  2145. GCC 4.8.5
  2146. This is the [37]list of problem reports (PRs) from GCC's bug tracking
  2147. system that are known to be fixed in the 4.8.5 release. This list might
  2148. not be complete (that is, it is possible that some PRs that have been
  2149. fixed are not listed here).
  2150. For questions related to the use of GCC, please consult these web
  2151. pages and the [38]GCC manuals. If that fails, the
  2152. [39]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  2153. web pages and the development of GCC are welcome on our developer
  2154. list at [40]gcc@gcc.gnu.org. All of [41]our lists have public
  2155. archives.
  2156. Copyright (C) [42]Free Software Foundation, Inc. Verbatim copying and
  2157. distribution of this entire article is permitted in any medium,
  2158. provided this notice is preserved.
  2159. These pages are [43]maintained by the GCC team. Last modified
  2160. 2015-06-23[44].
  2161. References
  2162. 1. https://gcc.gnu.org/wiki/cxx-conversion
  2163. 2. ftp://gcc.gnu.org/pub/gcc/infrastructure/
  2164. 3. http://www.nongnu.org/avr-libc/
  2165. 4. https://gcc.gnu.org/PR54461
  2166. 5. https://gcc.gnu.org/gcc-4.8/porting_to.html
  2167. 6. https://code.google.com/p/address-sanitizer/
  2168. 7. https://code.google.com/p/data-race-test/wiki/ThreadSanitizer
  2169. 8. https://lkml.org/lkml/2006/11/28/239
  2170. 9. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
  2171. 10. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
  2172. 11. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
  2173. 12. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf
  2174. 13. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
  2175. 14. http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2012/n3386.html
  2176. 15. http://gcc.gnu.org/projects/cxx1y.html
  2177. 16. https://gcc.gnu.org/onlinedocs/gcc-4.8.4/libstdc++/manual/manual/status.html#status.iso.2011
  2178. 17. https://gcc.gnu.org/onlinedocs/gfortran/BACKTRACE.html
  2179. 18. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
  2180. 19. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
  2181. 20. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html
  2182. 21. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
  2183. 22. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
  2184. 23. https://gcc.gnu.org/onlinedocs/gfortran/TMPDIR.html
  2185. 24. https://gcc.gnu.org/wiki/Fortran2003Status
  2186. 25. https://gcc.gnu.org/wiki/TS29113Status
  2187. 26. https://gcc.gnu.org/viewcvs/trunk/libgfortran/libgfortran.h?content-type=text%2Fplain&view=co
  2188. 27. http://chasm-interop.sourceforge.net/
  2189. 28. https://gcc.gnu.org/wiki/avr-gcc#Fixed-Point_Support
  2190. 29. https://gcc.gnu.org/onlinedocs/gcc/Fixed-Point.html
  2191. 30. https://gcc.gnu.org/onlinedocs/gcc/X86-Built-in-Functions.html#X86-Built-in-Functions
  2192. 31. https://gcc.gnu.org/onlinedocs/gcc/X86-Built-in-Functions.html#X86-Built-in-Functions
  2193. 32. https://gcc.gnu.org/wiki/FunctionMultiVersioning
  2194. 33. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.1
  2195. 34. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.2
  2196. 35. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.3
  2197. 36. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.4
  2198. 37. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.5
  2199. 38. https://gcc.gnu.org/onlinedocs/
  2200. 39. mailto:gcc-help@gcc.gnu.org
  2201. 40. mailto:gcc@gcc.gnu.org
  2202. 41. https://gcc.gnu.org/lists.html
  2203. 42. http://www.fsf.org/
  2204. 43. https://gcc.gnu.org/about.html
  2205. 44. http://validator.w3.org/check/referer
  2206. ======================================================================
  2207. http://gcc.gnu.org/gcc-4.7/index.html
  2208. GCC 4.7 Release Series
  2209. June 12, 2014
  2210. The [1]GNU project and the GCC developers are pleased to announce the
  2211. release of GCC 4.7.4.
  2212. This release is a bug-fix release, containing fixes for regressions in
  2213. GCC 4.7.3 relative to previous releases of GCC.
  2214. Release History
  2215. GCC 4.7.4
  2216. June 12, 2014 ([2]changes, [3]documentation)
  2217. GCC 4.7.3
  2218. April 11, 2013 ([4]changes, [5]documentation)
  2219. GCC 4.7.2
  2220. September 20, 2012 ([6]changes, [7]documentation)
  2221. GCC 4.7.1
  2222. June 14, 2012 ([8]changes, [9]documentation)
  2223. GCC 4.7.0
  2224. March 22, 2012 ([10]changes, [11]documentation)
  2225. References and Acknowledgements
  2226. GCC used to stand for the GNU C Compiler, but since the compiler
  2227. supports several other languages aside from C, it now stands for the
  2228. GNU Compiler Collection.
  2229. A list of [12]successful builds is updated as new information becomes
  2230. available.
  2231. The GCC developers would like to thank the numerous people that have
  2232. contributed new features, improvements, bug fixes, and other changes as
  2233. well as test results to GCC. This [13]amazing group of volunteers is
  2234. what makes GCC successful.
  2235. For additional information about GCC please refer to the [14]GCC
  2236. project web site or contact the [15]GCC development mailing list.
  2237. To obtain GCC please use [16]our mirror sites or [17]our SVN server.
  2238. For questions related to the use of GCC, please consult these web
  2239. pages and the [18]GCC manuals. If that fails, the
  2240. [19]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  2241. web pages and the development of GCC are welcome on our developer
  2242. list at [20]gcc@gcc.gnu.org. All of [21]our lists have public
  2243. archives.
  2244. Copyright (C) [22]Free Software Foundation, Inc. Verbatim copying and
  2245. distribution of this entire article is permitted in any medium,
  2246. provided this notice is preserved.
  2247. These pages are [23]maintained by the GCC team. Last modified
  2248. 2014-06-12[24].
  2249. References
  2250. 1. http://www.gnu.org/
  2251. 2. http://gcc.gnu.org/gcc-4.7/changes.html
  2252. 3. https://gcc.gnu.org/onlinedocs/4.7.4/
  2253. 4. http://gcc.gnu.org/gcc-4.7/changes.html
  2254. 5. https://gcc.gnu.org/onlinedocs/4.7.3/
  2255. 6. http://gcc.gnu.org/gcc-4.7/changes.html
  2256. 7. https://gcc.gnu.org/onlinedocs/4.7.2/
  2257. 8. http://gcc.gnu.org/gcc-4.7/changes.html
  2258. 9. https://gcc.gnu.org/onlinedocs/4.7.1/
  2259. 10. http://gcc.gnu.org/gcc-4.7/changes.html
  2260. 11. https://gcc.gnu.org/onlinedocs/4.7.0/
  2261. 12. http://gcc.gnu.org/gcc-4.7/buildstat.html
  2262. 13. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  2263. 14. http://gcc.gnu.org/index.html
  2264. 15. mailto:gcc@gcc.gnu.org
  2265. 16. http://gcc.gnu.org/mirrors.html
  2266. 17. http://gcc.gnu.org/svn.html
  2267. 18. https://gcc.gnu.org/onlinedocs/
  2268. 19. mailto:gcc-help@gcc.gnu.org
  2269. 20. mailto:gcc@gcc.gnu.org
  2270. 21. https://gcc.gnu.org/lists.html
  2271. 22. http://www.fsf.org/
  2272. 23. https://gcc.gnu.org/about.html
  2273. 24. http://validator.w3.org/check/referer
  2274. ======================================================================
  2275. http://gcc.gnu.org/gcc-4.7/changes.html
  2276. GCC 4.7 Release Series
  2277. Changes, New Features, and Fixes
  2278. Caveats
  2279. * The -fconserve-space flag has been deprecated. The flag had no
  2280. effect for most targets: only targets without a global .bss section
  2281. and without support for switchable sections. Furthermore, the flag
  2282. only had an effect for G++, where it could result in wrong
  2283. semantics (please refer to the GCC manual for further details). The
  2284. flag will be removed in GCC 4.8
  2285. * Support for a number of older systems and recently unmaintained or
  2286. untested target ports of GCC has been declared obsolete in GCC 4.7.
  2287. Unless there is activity to revive them, the next release of GCC
  2288. will have their sources permanently removed.
  2289. All GCC ports for the following processor architectures have been
  2290. declared obsolete:
  2291. + picoChip (picochip-*)
  2292. The following ports for individual systems on particular
  2293. architectures have been obsoleted:
  2294. + IRIX 6.5 (mips-sgi-irix6.5)
  2295. + MIPS OpenBSD (mips*-*-openbsd*)
  2296. + Solaris 8 (*-*-solaris2.8). Details can be found in the
  2297. [1]announcement.
  2298. + Tru64 UNIX V5.1 (alpha*-dec-osf5.1*)
  2299. * On ARM, when compiling for ARMv6 (but not ARMv6-M), ARMv7-A,
  2300. ARMv7-R, or ARMv7-M, the new option -munaligned-access is active by
  2301. default, which for some sources generates code that accesses memory
  2302. on unaligned addresses. This requires the kernel of those systems
  2303. to enable such accesses (controlled by CP15 register c1, refer to
  2304. ARM documentation). Alternatively, or for compatibility with
  2305. kernels where unaligned accesses are not supported, all code has to
  2306. be compiled with -mno-unaligned-access. Upstream Linux kernel
  2307. releases have automatically and unconditionally supported unaligned
  2308. accesses as emitted by GCC due to this option being active since
  2309. version 2.6.28.
  2310. * Support on ARM for the legacy floating-point accelerator (FPA) and
  2311. the mixed-endian floating-point format that it used has been
  2312. obsoleted. The ports that still use this format have been obsoleted
  2313. as well. Many legacy ARM ports already provide an alternative that
  2314. uses the VFP floating-point format. The obsolete ports will be
  2315. deleted in the next release.
  2316. The obsolete ports with alternatives are:
  2317. + arm*-*-rtems (use arm*-*-rtemseabi)
  2318. + arm*-*-linux-gnu (use arm*-*-linux-gnueabi)
  2319. + arm*-*-elf (use arm*-*-eabi)
  2320. + arm*-*-uclinux* (use arm*-*-uclinux*eabi)
  2321. Note, however, that these alternatives are not binary compatible
  2322. with their legacy counterparts (although some can support running
  2323. legacy applications).
  2324. The obsolete ports that currently lack a modern alternative are:
  2325. + arm*-*-ecos-elf
  2326. + arm*-*-freebsd
  2327. + arm*-wince-pe*
  2328. New ports that support more recent versions of the architecture are
  2329. welcome.
  2330. * Support for the Maverick co-processor on ARM has been obsoleted.
  2331. Code to support it will be deleted in the next release.
  2332. * Support has been removed for Unix International threads on Solaris
  2333. 2, so the --enable-threads=solaris configure option and the
  2334. -threads compiler option don't work any longer.
  2335. * Support has been removed for the Solaris BSD Compatibility Package,
  2336. which lives in /usr/ucbinclude and /usr/ucblib. It has been removed
  2337. from Solaris 11, and was only intended as a migration aid from
  2338. SunOS 4 to SunOS 5. The -compat-bsd compiler option is not
  2339. recognized any longer.
  2340. * The AVR port's libgcc has been improved and its multilib structure
  2341. has been enhanced. As a result, all objects contributing to an
  2342. application must either be compiled with GCC versions up to 4.6.x
  2343. or with GCC versions 4.7.1 or later. If the compiler is used with
  2344. AVR Libc, you need a version that supports the new layout, i.e.
  2345. implements [2]#35407.
  2346. * The AVR port's -mshort-calls command-line option has been
  2347. deprecated. It will be removed in the GCC 4.8 release. See -mrelax
  2348. for a replacement.
  2349. * The AVR port only references startup code that clears .bss and the
  2350. common section resp. initializes the .data and .rodata section
  2351. provided respective sections (or subsections thereof) are not
  2352. empty, see [3]PR18145. Applications that put all static storage
  2353. objects into non-standard sections and / or define all static
  2354. storage objects in assembler modules, must reference __do_clear_bss
  2355. resp. __do_copy_data by hand or undefine the symbol(s) by means of
  2356. -Wl,-u,__do_clear_bss resp. -Wl,-u,__do_copy_data.
  2357. * The ARM port's -mwords-little-endian option has been deprecated. It
  2358. will be removed in a future release.
  2359. * Support has been removed for the NetWare x86 configuration
  2360. obsoleted in GCC 4.6.
  2361. * It is no longer possible to use the "l" constraint in MIPS16 asm
  2362. statements.
  2363. * GCC versions 4.7.0 and 4.7.1 had changes to the C++ standard
  2364. library which affected the ABI in C++11 mode: a data member was
  2365. added to std::list changing its size and altering the definitions
  2366. of some member functions, and std::pair's move constructor was
  2367. non-trivial which altered the calling convention for functions with
  2368. std::pair arguments or return types. The ABI incompatibilities have
  2369. been fixed for GCC version 4.7.2 but as a result C++11 code
  2370. compiled with GCC 4.7.0 or 4.7.1 may be incompatible with C++11
  2371. code compiled with different GCC versions and with C++98/C++03 code
  2372. compiled with any version.
  2373. * On ARM, a bug has been fixed in GCC's implementation of the AAPCS
  2374. rules for the layout of vectors that could lead to wrong code being
  2375. generated. Vectors larger than 8 bytes in size are now by default
  2376. aligned to an 8-byte boundary. This is an ABI change: code that
  2377. makes explicit use of vector types may be incompatible with binary
  2378. objects built with older versions of GCC. Auto-vectorized code is
  2379. not affected by this change. (This change affects GCC versions
  2380. 4.7.2 and later.)
  2381. * More information on porting to GCC 4.7 from previous versions of
  2382. GCC can be found in the [4]porting guide for this release.
  2383. General Optimizer Improvements
  2384. * Support for a new parameter --param case-values-threshold=n was
  2385. added to allow users to control the cutoff between doing switch
  2386. statements as a series of if statements and using a jump table.
  2387. * Link-time optimization (LTO) improvements:
  2388. + Improved scalability and reduced memory usage. Link time
  2389. optimization of Firefox now requires 3GB of RAM on a 64-bit
  2390. system, while over 8GB was needed previously. Linking time has
  2391. been improved, too. The serial stage of linking Firefox has
  2392. been sped up by about a factor of 10.
  2393. + Reduced size of object files and temporary storage used during
  2394. linking.
  2395. + Streaming performance (both outbound and inbound) has been
  2396. improved.
  2397. + ld -r is now supported with LTO.
  2398. + Several bug fixes, especially in symbol table handling and
  2399. merging.
  2400. * Interprocedural optimization improvements:
  2401. + Heuristics now take into account that after inlining code will
  2402. be optimized out because of known values (or properties) of
  2403. function parameters. For example:
  2404. void foo(int a)
  2405. {
  2406. if (a > 10)
  2407. ... huge code ...
  2408. }
  2409. void bar (void)
  2410. {
  2411. foo (0);
  2412. }
  2413. The call of foo will be inlined into bar even when optimizing
  2414. for code size. Constructs based on __builtin_constant_p are
  2415. now understood by the inliner and code size estimates are
  2416. evaluated a lot more realistically.
  2417. + The representation of C++ virtual thunks and aliases (both
  2418. implicit and defined via the alias attribute) has been
  2419. re-engineered. Aliases no longer pose optimization barriers
  2420. and calls to an alias can be inlined and otherwise optimized.
  2421. + The inter-procedural constant propagation pass has been
  2422. rewritten. It now performs generic function specialization.
  2423. For example when compiling the following:
  2424. void foo(bool flag)
  2425. {
  2426. if (flag)
  2427. ... do something ...
  2428. else
  2429. ... do something else ...
  2430. }
  2431. void bar (void)
  2432. {
  2433. foo (false);
  2434. foo (true);
  2435. foo (false);
  2436. foo (true);
  2437. foo (false);
  2438. foo (true);
  2439. }
  2440. GCC will now produce two copies of foo. One with flag being
  2441. true, while other with flag being false. This leads to
  2442. performance improvements previously possible only by inlining
  2443. all calls. Cloning causes a lot less code size growth.
  2444. * A string length optimization pass has been added. It attempts to
  2445. track string lengths and optimize various standard C string
  2446. functions like strlen, strchr, strcpy, strcat, stpcpy and their
  2447. _FORTIFY_SOURCE counterparts into faster alternatives. This pass is
  2448. enabled by default at -O2 or above, unless optimizing for size, and
  2449. can be disabled by the -fno-optimize-strlen option. The pass can
  2450. e.g. optimize
  2451. char *bar (const char *a)
  2452. {
  2453. size_t l = strlen (a) + 2;
  2454. char *p = malloc (l); if (p == NULL) return p;
  2455. strcpy (p, a); strcat (p, "/"); return p;
  2456. }
  2457. into:
  2458. char *bar (const char *a)
  2459. {
  2460. size_t tmp = strlen (a);
  2461. char *p = malloc (tmp + 2); if (p == NULL) return p;
  2462. memcpy (p, a, tmp); memcpy (p + tmp, "/", 2); return p;
  2463. }
  2464. or for hosted compilations where stpcpy is available in the runtime
  2465. and headers provide its prototype, e.g.
  2466. void foo (char *a, const char *b, const char *c, const char *d)
  2467. {
  2468. strcpy (a, b); strcat (a, c); strcat (a, d);
  2469. }
  2470. can be optimized into:
  2471. void foo (char *a, const char *b, const char *c, const char *d)
  2472. {
  2473. strcpy (stpcpy (stpcpy (a, b), c), d);
  2474. }
  2475. New Languages and Language specific improvements
  2476. * Version 3.1 of the [5]OpenMP specification is now supported for the
  2477. C, C++, and Fortran compilers.
  2478. Ada
  2479. * The command-line option -feliminate-unused-debug-types has been
  2480. re-enabled by default, as it is for the other languages, leading to
  2481. a reduction in debug info size of 12.5% and more for relevant
  2482. cases, as well as to a small compilation speedup.
  2483. C family
  2484. * A new built-in, __builtin_assume_aligned, has been added, through
  2485. which the compiler can be hinted about pointer alignment and can
  2486. use it to improve generated code.
  2487. * A new warning option -Wunused-local-typedefs was added for C, C++,
  2488. Objective-C and Objective-C++. This warning diagnoses typedefs
  2489. locally defined in a function, and otherwise not used.
  2490. * A new experimental command-line option -ftrack-macro-expansion was
  2491. added for C, C++, Objective-C, Objective-C++ and Fortran. It allows
  2492. the compiler to emit diagnostic about the current macro expansion
  2493. stack when a compilation error occurs in a macro expansion.
  2494. * Experimental support for transactional memory has been added. It
  2495. includes support in the compiler, as well as a supporting runtime
  2496. library called libitm. To compile code with transactional memory
  2497. constructs, use the -fgnu-tm option.
  2498. Support is currently available for Alpha, ARM, PowerPC, SH, SPARC,
  2499. and 32-bit/64-bit x86 platforms.
  2500. For more details on transactional memory see [6]the GCC WiKi.
  2501. * Support for atomic operations specifying the C++11/C11 memory model
  2502. has been added. These new __atomic routines replace the existing
  2503. __sync built-in routines.
  2504. Atomic support is also available for memory blocks. Lock-free
  2505. instructions will be used if a memory block is the same size and
  2506. alignment as a supported integer type. Atomic operations which do
  2507. not have lock-free support are left as function calls. A set of
  2508. library functions is available on the GCC atomic wiki in the
  2509. "External Atomics Library" section.
  2510. For more details on the memory models and features, see the
  2511. [7]atomic wiki.
  2512. * When a binary operation is performed on vector types and one of the
  2513. operands is a uniform vector, it is possible to replace the vector
  2514. with the generating element. For example:
  2515. typedef int v4si __attribute__ ((vector_size (16)));
  2516. v4si res, a = {1,2,3,4};
  2517. int x;
  2518. res = 2 + a; /* means {2,2,2,2} + a */
  2519. res = a - x; /* means a - {x,x,x,x} */
  2520. C
  2521. * There is support for some more features from the C11 revision of
  2522. the ISO C standard. GCC now accepts the options -std=c11 and
  2523. -std=gnu11, in addition to the previous -std=c1x and -std=gnu1x.
  2524. + Unicode strings (previously supported only with options such
  2525. as -std=gnu11, now supported with -std=c11), and the
  2526. predefined macros __STDC_UTF_16__ and __STDC_UTF_32__.
  2527. + Nonreturning functions (_Noreturn and <stdnoreturn.h>).
  2528. + Alignment support (_Alignas, _Alignof, max_align_t,
  2529. <stdalign.h>).
  2530. + A built-in function __builtin_complex is provided to support C
  2531. library implementation of the CMPLX family of macros.
  2532. C++
  2533. * G++ now accepts the -std=c++11, -std=gnu++11, and -Wc++11-compat
  2534. options, which are equivalent to -std=c++0x, -std=gnu++0x, and
  2535. -Wc++0x-compat, respectively.
  2536. * G++ now implements [8]C++11 extended friend syntax:
  2537. template<class W>
  2538. class Q
  2539. {
  2540. static const int I = 2;
  2541. public:
  2542. friend W;
  2543. };
  2544. struct B
  2545. {
  2546. int ar[Q<B>::I];
  2547. };
  2548. * Thanks to Ville Voutilainen, G++ now implements [9]C++11 explicit
  2549. override control.
  2550. struct B {
  2551. virtual void f() const final;
  2552. virtual void f(int);
  2553. };
  2554. struct D : B {
  2555. void f() const; // error: D::f attempts to override final B::f
  2556. void f(long) override; // error: doesn't override anything
  2557. void f(int) override; // ok
  2558. };
  2559. struct E final { };
  2560. struct F: E { }; // error: deriving from final class
  2561. * G++ now implements [10]C++11 non-static data member initializers.
  2562. struct A {
  2563. int i = 42;
  2564. } a; // initializes a.i to 42
  2565. * Thanks to Ed Smith-Rowland, G++ now implements [11]C++11
  2566. user-defined literals.
  2567. // Not actually a good approximation. :)
  2568. constexpr long double operator"" _degrees (long double d) { return d * 0.0175; }
  2569. long double pi = 180.0_degrees;
  2570. * G++ now implements [12]C++11 alias-declarations.
  2571. template <class T> using Ptr = T*;
  2572. Ptr<int> ip; // decltype(ip) is int*
  2573. * Thanks to Ville Voutilainen and Pedro Lamarao, G++ now implements
  2574. [13]C++11 delegating constructors.
  2575. struct A {
  2576. A(int);
  2577. A(): A(42) { } // delegate to the A(int) constructor
  2578. };
  2579. * G++ now fully implements C++11 atomic classes rather than just
  2580. integer derived classes.
  2581. class POD {
  2582. int a;
  2583. int b;
  2584. };
  2585. std::atomic<POD> my_atomic_POD;
  2586. * G++ now sets the predefined macro __cplusplus to the correct value,
  2587. 199711L for C++98/03, and 201103L for C++11.
  2588. * G++ now correctly implements the two-phase lookup rules such that
  2589. an unqualified name used in a template must have an appropriate
  2590. declaration found either in scope at the point of definition of the
  2591. template or by argument-dependent lookup at the point of
  2592. instantiation. As a result, code that relies on a second
  2593. unqualified lookup at the point of instantiation to find functions
  2594. declared after the template or in dependent bases will be rejected.
  2595. The compiler will suggest ways to fix affected code, and using the
  2596. -fpermissive compiler flag will allow the code to compile with a
  2597. warning.
  2598. template <class T>
  2599. void f() { g(T()); } // error, g(int) not found by argument-dependent lookup
  2600. void g(int) { } // fix by moving this declaration before the declaration of f
  2601. template <class T>
  2602. struct A: T {
  2603. // error, B::g(B) not found by argument-dependent lookup
  2604. void f() { g(T()); } // fix by using this->g or A::g
  2605. };
  2606. struct B { void g(B); };
  2607. int main()
  2608. {
  2609. f<int>();
  2610. A<B>().f();
  2611. }
  2612. * G++ now properly re-uses stack space allocated for temporary
  2613. objects when their lifetime ends, which can significantly lower
  2614. stack consumption for some C++ functions. As a result of this, some
  2615. code with undefined behavior will now break:
  2616. const int &f(const int &i) { return i; }
  2617. ....
  2618. const int &x = f(1);
  2619. const int &y = f(2);
  2620. Here, x refers to the temporary allocated to hold the 1 argument,
  2621. which only lives until the end of the initialization; it
  2622. immediately becomes a dangling reference. So the next statement
  2623. re-uses the stack slot to hold the 2 argument, and users of x get
  2624. that value instead.
  2625. Note that this should not cause any change of behavior for
  2626. temporaries of types with non-trivial destructors, as they are
  2627. already destroyed at end of full-expression; the change is that now
  2628. the storage is released as well.
  2629. * A new command-line option -Wdelete-non-virtual-dtor has been added
  2630. to warn when delete is used to destroy an instance of a class which
  2631. has virtual functions and non-virtual destructor. It is unsafe to
  2632. delete an instance of a derived class through a pointer to a base
  2633. class if the base class does not have a virtual destructor. This
  2634. warning is enabled by -Wall.
  2635. * A new command-line option -Wzero-as-null-pointer-constant has been
  2636. added to warn when a literal '0' is used as null pointer constant.
  2637. It can be useful to facilitate the conversion to nullptr in C++11.
  2638. * As per C++98, access-declarations are now deprecated by G++.
  2639. Using-declarations are to be used instead. Furthermore, some
  2640. efforts have been made to improve the support of class scope
  2641. using-declarations. In particular, using-declarations referring to
  2642. a dependent type now work as expected ([14]bug c++/14258).
  2643. * The ELF symbol visibility of a template instantiation is now
  2644. properly constrained by the visibility of its template arguments
  2645. ([15]bug c++/35688).
  2646. Runtime Library (libstdc++)
  2647. * [16]Improved experimental support for the new ISO C++ standard,
  2648. C++11, including:
  2649. + using noexcept in most of the library;
  2650. + implementations of pointer_traits, allocator_traits and
  2651. scoped_allocator_adaptor;
  2652. + uses-allocator construction for tuple;
  2653. + vector meets the allocator-aware container requirements;
  2654. + replacing monotonic_clock with steady_clock;
  2655. + enabling the thread support library on most POSIX targets;
  2656. + many small improvements to conform to the FDIS.
  2657. * Added --enable-clocale=newlib configure option.
  2658. * Debug Mode iterators for unordered associative containers.
  2659. * Avoid polluting the global namespace and do not include <unistd.h>.
  2660. Fortran
  2661. * The compile flag [17]-fstack-arrays has been added, which causes
  2662. all local arrays to be put on stack memory. For some programs this
  2663. will improve the performance significantly. If your program uses
  2664. very large local arrays, it is possible that you will have to
  2665. extend your runtime limits for stack memory.
  2666. * The [18]-Ofast flag now also implies [19]-fno-protect-parens and
  2667. [20]-fstack-arrays.
  2668. * Front-end optimizations can now be selected by the
  2669. [21]-ffrontend-optimize option and deselected by the
  2670. -fno-frontend-optimize option.
  2671. * When front-end optimization removes a function call,
  2672. [22]-Wfunction-elimination warns about that.
  2673. * When performing front-end-optimization, the
  2674. [23]-faggressive-function-elimination option allows the removal of
  2675. duplicate function calls even for impure functions.
  2676. * The flag [24]-Wreal-q-constant has been added, which warns if
  2677. floating-point literals have been specified using q (such as
  2678. 1.0q0); the q marker is now supported as a vendor extension to
  2679. denote quad precision (REAL(16) or, if not available, REAL(10)).
  2680. Consider using a kind parameter (such as in 1.0_qp) instead, which
  2681. can be obtained via [25]SELECTED_REAL_KIND.
  2682. * The GFORTRAN_USE_STDERR environment variable has been removed. GNU
  2683. Fortran now always prints error messages to standard error. If you
  2684. wish to redirect standard error, please consult the manual for your
  2685. OS, shell, batch environment etc. as appropriate.
  2686. * The -fdump-core option and GFORTRAN_ERROR_DUMPCORE environment
  2687. variable have been removed. When encountering a serious error,
  2688. gfortran will now always abort the program. Whether a core dump is
  2689. generated depends on the user environment settings; see the ulimit
  2690. -c setting for POSIX shells, limit coredumpsize for C shells, and
  2691. the [26]WER user-mode dumps settings on Windows.
  2692. * The [27]-fbacktrace option is now enabled by default. When
  2693. encountering a fatal error, gfortran will attempt to print a
  2694. backtrace to standard error before aborting. It can be disabled
  2695. with -fno-backtrace. Note: On POSIX targets with the addr2line
  2696. utility from GNU binutils, GNU Fortran can print a backtrace with
  2697. function name, file name, line number information in addition to
  2698. the addresses; otherwise only the addresses are printed.
  2699. * [28]Fortran 2003:
  2700. + Generic interface names which have the same name as derived
  2701. types are now supported, which allows to write constructor
  2702. functions. Note that Fortran does not support static
  2703. constructor functions; only default initialization or an
  2704. explicit structure-constructor initialization are available.
  2705. + [29]Polymorphic (class) arrays are now supported.
  2706. * [30]Fortran 2008:
  2707. + Support for the DO CONCURRENT construct has been added, which
  2708. allows the user to specify that individual loop iterations
  2709. have no interdependencies.
  2710. + [31]Coarrays: Full single-image support except for polymorphic
  2711. coarrays. Additionally, preliminary support for multiple
  2712. images via an MPI-based [32]coarray communication library has
  2713. been added. Note: The library version is not yet usable as
  2714. remote coarray access is not yet possible.
  2715. * [33]TS 29113:
  2716. + New flag [34]-std=f2008ts permits programs that are expected
  2717. to conform to the Fortran 2008 standard and the draft
  2718. Technical Specification (TS) 29113 on Further Interoperability
  2719. of Fortran with C.
  2720. + The OPTIONAL attribute is now allowed for dummy arguments of
  2721. BIND(C) procedures.
  2722. + The RANK intrinsic has been added.
  2723. + The implementation of the ASYNCHRONOUS attribute in GCC is
  2724. compatible with the candidate draft of TS 29113 (since GCC
  2725. 4.6).
  2726. Go
  2727. * GCC 4.7 implements the [35]Go 1 language standard. The library
  2728. support in 4.7.0 is not quite complete, due to release timing.
  2729. Release 4.7.1 includes complete support for Go 1. The Go library is
  2730. from the Go 1.0.1 release.
  2731. * Go has been tested on GNU/Linux and Solaris platforms. It may work
  2732. on other platforms as well.
  2733. New Targets and Target Specific Improvements
  2734. ARM
  2735. * GCC now supports the Cortex-A7 processor implementing the v7-a
  2736. version of the architecture using the option -mcpu=cortex-a7.
  2737. * The default vector size in auto-vectorization for NEON is now 128
  2738. bits. If vectorization fails thusly, the vectorizer tries again
  2739. with 64-bit vectors.
  2740. * A new option -mvectorize-with-neon-double was added to allow users
  2741. to change the vector size to 64 bits.
  2742. AVR
  2743. * GCC now supports the XMEGA architecture. This requires GNU binutils
  2744. 2.22 or later.
  2745. * Support for the [36]named address spaces __flash, __flash1, ...,
  2746. __flash5 and __memx has been added. These address spaces locate
  2747. read-only data in flash memory and allow reading from flash memory
  2748. by means of ordinary C code, i.e. without the need of (inline)
  2749. assembler code:
  2750. const __flash int values[] = { 42, 31 };
  2751. int add_values (const __flash int *p, int i)
  2752. {
  2753. return values[i] + *p;
  2754. }
  2755. * Support has been added for the AVR-specific configure option
  2756. --with-avrlibc=yes in order to arrange for better integration of
  2757. [37]AVR-Libc. This configure option is supported in avr-gcc 4.7.2
  2758. and newer and will only take effect in non-RTEMS configurations. If
  2759. avr-gcc is configured for RTEMS, the option will be ignored which
  2760. is the same as specifying --with-avrlibc=no. See [38]PR54461 for
  2761. more technical details.
  2762. * Support for AVR-specific [39]built-in functions has been added.
  2763. * Support has been added for the signed and unsigned 24-bit scalar
  2764. integer types __int24 and __uint24.
  2765. * New command-line options -maccumulate-args, -mbranch-cost=cost and
  2766. -mstrict-X were added to allow better fine-tuning of code
  2767. optimization.
  2768. * The command option -fdata-sections now also takes affect on the
  2769. section names of variables with the progmem attribute.
  2770. * A new inline assembler print modifier %i to print a RAM address as
  2771. I/O address has been added:
  2772. #include <avr/io.h> /* Port Definitions from AVR-LibC */
  2773. void set_portb (uint8_t value)
  2774. {
  2775. asm volatile ("out %i0, %1" :: "n" (&PORTB), "r" (value) : "memory");
  2776. }
  2777. The offset between an I/O address and the RAM address for that I/O
  2778. location is device-specific. This offset is taken into account when
  2779. printing a RAM address with the %i modifier so that the address is
  2780. suitable to be used as operand in an I/O command. The address must
  2781. be a constant integer known at compile time.
  2782. * The inline assembler constraint "R" to represent integers in the
  2783. range -6 ... 5 has been removed without replacement.
  2784. * Many optimizations to:
  2785. + 64-bit integer arithmetic
  2786. + Widening multiplication
  2787. + Integer division by a constant
  2788. + Avoid constant reloading in multi-byte instructions.
  2789. + Micro-optimizations for special instruction sequences.
  2790. + Generic built-in functions like __builtin_ffs*,
  2791. __builtin_clz*, etc.
  2792. + If-else decision trees generated by switch instructions
  2793. + Merging of data located in flash memory
  2794. + New libgcc variants for devices with 8-bit wide stack pointer
  2795. + ...
  2796. * Better documentation:
  2797. + Handling of EIND and indirect jumps on devices with more than
  2798. 128 KiB of program memory.
  2799. + Handling of the RAMPD, RAMPX, RAMPY and RAMPZ special function
  2800. registers.
  2801. + Function attributes OS_main and OS_task.
  2802. + AVR-specific built-in macros.
  2803. C6X
  2804. * Support has been added for the Texas Instruments C6X family of
  2805. processors.
  2806. CR16
  2807. * Support has been added for National Semiconductor's CR16
  2808. architecture.
  2809. Epiphany
  2810. * Support has been added for Adapteva's Epiphany architecture.
  2811. IA-32/x86-64
  2812. * Support for Intel AVX2 intrinsics, built-in functions and code
  2813. generation is available via -mavx2.
  2814. * Support for Intel BMI2 intrinsics, built-in functions and code
  2815. generation is available via -mbmi2.
  2816. * Implementation and automatic generation of __builtin_clz* using the
  2817. lzcnt instruction is available via -mlzcnt.
  2818. * Support for Intel FMA3 intrinsics and code generation is available
  2819. via -mfma.
  2820. * A new -mfsgsbase command-line option is available that makes GCC
  2821. generate new segment register read/write instructions through
  2822. dedicated built-ins.
  2823. * Support for the new Intel rdrnd instruction is available via
  2824. -mrdrnd.
  2825. * Two additional AVX vector conversion instructions are available via
  2826. -mf16c.
  2827. * Support for new Intel processor codename IvyBridge with RDRND,
  2828. FSGSBASE and F16C is available through -march=core-avx-i.
  2829. * Support for the new Intel processor codename Haswell with AVX2,
  2830. FMA, BMI, BMI2, LZCNT is available through -march=core-avx2.
  2831. * Support for new AMD family 15h processors (Piledriver core) is now
  2832. available through -march=bdver2 and -mtune=bdver2 options.
  2833. * Support for [40]the x32 psABI is now available through the -mx32
  2834. option.
  2835. * Windows mingw targets are using the -mms-bitfields option by
  2836. default.
  2837. * Windows x86 targets are using the __thiscall calling convention for
  2838. C++ class-member functions.
  2839. * Support for the configure option --with-threads=posix for Windows
  2840. mingw targets.
  2841. MIPS
  2842. * GCC now supports thread-local storage (TLS) for MIPS16. This
  2843. requires GNU binutils 2.22 or later.
  2844. * GCC can now generate code specifically for the Cavium Octeon+ and
  2845. Octeon2 processors. The associated command-line options are
  2846. -march=octeon+ and -march=octeon2 respectively. Both options
  2847. require GNU binutils 2.22 or later.
  2848. * GCC can now work around certain 24k errata, under the control of
  2849. the command-line option -mfix-24k. These workarounds require GNU
  2850. binutils 2.20 or later.
  2851. * 32-bit MIPS GNU/Linux targets such as mips-linux-gnu can now build
  2852. n32 and n64 multilibs. The result is effectively a 64-bit GNU/Linux
  2853. toolchain that generates 32-bit code by default. Use the
  2854. configure-time option --enable-targets=all to select these extra
  2855. multilibs.
  2856. * Passing -fno-delayed-branch now also stops the assembler from
  2857. automatically filling delay slots.
  2858. PowerPC/PowerPC64
  2859. * Vectors of type vector long long or vector long are passed and
  2860. returned using the same method as other vectors with the VSX
  2861. instruction set. Previously GCC did not adhere to the ABI for
  2862. 128-bit vectors with 64-bit integer base types (PR 48857). This
  2863. will also be fixed in the GCC 4.6.1 and 4.5.4 releases.
  2864. * A new option -mno-pointers-to-nested-functions was added to allow
  2865. AIX 32-bit/64-bit and GNU/Linux 64-bit PowerPC users to specify
  2866. that the compiler should not load up the chain register (r11)
  2867. before calling a function through a pointer. If you use this
  2868. option, you cannot call nested functions through a pointer, or call
  2869. other languages that might use the static chain.
  2870. * A new option msave-toc-indirect was added to allow AIX
  2871. 32-bit/64-bit and GNU/Linux 64-bit PowerPC users control whether we
  2872. save the TOC in the prologue for indirect calls or generate the
  2873. save inline. This can speed up some programs that call through a
  2874. function pointer a lot, but it can slow down other functions that
  2875. only call through a function pointer in exceptional cases.
  2876. * The PowerPC port will now enable machine-specific built-in
  2877. functions when the user switches the target machine using the
  2878. #pragma GCC target or __attribute__ ((__target__ ("target"))) code
  2879. sequences. In addition, the target macros are updated. However, due
  2880. to the way the -save-temps switch is implemented, you won't see the
  2881. effect of these additional macros being defined in preprocessor
  2882. output.
  2883. SH
  2884. * A new option -msoft-atomic has been added. When it is specified,
  2885. GCC will generate GNU/Linux-compatible gUSA atomic sequences for
  2886. the new __atomic routines.
  2887. * Since it is neither supported by GAS nor officially documented,
  2888. code generation for little endian SH2A has been disabled.
  2889. Specifying -ml with -m2a* will now result in a compiler error.
  2890. * The defunct -mbranch-cost option has been fixed.
  2891. * Some improvements to the generated code of:
  2892. + Utilization of the tst #imm,R0 instruction.
  2893. + Dynamic shift instructions on SH2A.
  2894. + Integer absolute value calculations.
  2895. * The -mdiv= option for targets other than SHmedia has been fixed and
  2896. documented.
  2897. SPARC
  2898. * The option -mflat has been reinstated. When it is specified, the
  2899. compiler will generate code for a single register window model.
  2900. This is essentially a new implementation and the corresponding
  2901. debugger support has been added to GDB 7.4.
  2902. * Support for the options -mtune=native and -mcpu=native has been
  2903. added on selected native platforms (GNU/Linux and Solaris).
  2904. * Support for the SPARC T3 (Niagara 3) processor has been added.
  2905. * VIS:
  2906. + An intrinsics header visintrin.h has been added.
  2907. + Builtin intrinsics for the VIS 1.0 edge handling and pixel
  2908. compare instructions have been added.
  2909. + The little-endian version of alignaddr is now supported.
  2910. + When possible, VIS builtins are marked const, which should
  2911. increase the compiler's ability to optimize VIS operations.
  2912. + The compiler now properly tracks the %gsr register and how it
  2913. behaves as an input for various VIS instructions.
  2914. + Akin to fzero, the compiler can now generate fone instructions
  2915. in order to set all of the bits of a floating-point register
  2916. to 1.
  2917. + The documentation for the VIS intrinsics in the GCC manual has
  2918. been brought up to date and many inaccuracies were fixed.
  2919. + Intrinsics for the VIS 2.0 bmask, bshuffle, and
  2920. non-condition-code setting edge instructions have been added.
  2921. Their availability is controlled by the new -mvis2 and
  2922. -mno-vis2 options. They are enabled by default on
  2923. UltraSPARC-III and later CPUs.
  2924. * Support for UltraSPARC Fused Multiply-Add floating-point extensions
  2925. has been added. These instructions are enabled by default on SPARC
  2926. T3 (Niagara 3) and later CPUs.
  2927. TILE-Gx/TILEPro
  2928. * Support has been added for the Tilera TILE-Gx and TILEPro families
  2929. of processors.
  2930. Other significant improvements
  2931. * A new option (-grecord-gcc-switches) was added that appends
  2932. compiler command-line options that might affect code generation to
  2933. the DW_AT_producer attribute string in the DWARF debugging
  2934. information.
  2935. * GCC now supports various new GNU extensions to the DWARF debugging
  2936. information format, like [41]entry value and [42]call site
  2937. information, [43]typed DWARF stack or [44]a more compact macro
  2938. representation. Support for these extensions has been added to GDB
  2939. 7.4. They can be disabled through the -gstrict-dwarf command-line
  2940. option.
  2941. GCC 4.7.1
  2942. This is the [45]list of problem reports (PRs) from GCC's bug tracking
  2943. system that are known to be fixed in the 4.7.1 release. This list might
  2944. not be complete (that is, it is possible that some PRs that have been
  2945. fixed are not listed here).
  2946. The Go frontend in the 4.7.1 release fully supports the [46]Go 1
  2947. language standard.
  2948. GCC 4.7.2
  2949. This is the [47]list of problem reports (PRs) from GCC's bug tracking
  2950. system that are known to be fixed in the 4.7.2 release. This list might
  2951. not be complete (that is, it is possible that some PRs that have been
  2952. fixed are not listed here).
  2953. GCC 4.7.3
  2954. This is the [48]list of problem reports (PRs) from GCC's bug tracking
  2955. system that are known to be fixed in the 4.7.3 release. This list might
  2956. not be complete (that is, it is possible that some PRs that have been
  2957. fixed are not listed here).
  2958. GCC 4.7.4
  2959. This is the [49]list of problem reports (PRs) from GCC's bug tracking
  2960. system that are known to be fixed in the 4.7.4 release. This list might
  2961. not be complete (that is, it is possible that some PRs that have been
  2962. fixed are not listed here).
  2963. For questions related to the use of GCC, please consult these web
  2964. pages and the [50]GCC manuals. If that fails, the
  2965. [51]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  2966. web pages and the development of GCC are welcome on our developer
  2967. list at [52]gcc@gcc.gnu.org. All of [53]our lists have public
  2968. archives.
  2969. Copyright (C) [54]Free Software Foundation, Inc. Verbatim copying and
  2970. distribution of this entire article is permitted in any medium,
  2971. provided this notice is preserved.
  2972. These pages are [55]maintained by the GCC team. Last modified
  2973. 2014-12-06[56].
  2974. References
  2975. 1. https://gcc.gnu.org/ml/gcc-patches/2011-03/msg01263.html
  2976. 2. http://savannah.nongnu.org/bugs/?35407
  2977. 3. https://gcc.gnu.org/PR18145
  2978. 4. https://gcc.gnu.org/gcc-4.7/porting_to.html
  2979. 5. http://openmp.org/wp/openmp-specifications/
  2980. 6. https://gcc.gnu.org/wiki/TransactionalMemory
  2981. 7. https://gcc.gnu.org/wiki/Atomic/GCCMM
  2982. 8. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
  2983. 9. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
  2984. 10. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
  2985. 11. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
  2986. 12. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
  2987. 13. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
  2988. 14. https://gcc.gnu.org/PR14258
  2989. 15. https://gcc.gnu.org/PR35688
  2990. 16. https://gcc.gnu.org/onlinedocs/gcc-4.7.4/libstdc++/manual/manual/status.html#status.iso.2011
  2991. 17. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfstack-arrays_007d-254
  2992. 18. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/Optimize-Options.html#index-Ofast-689
  2993. 19. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfno-protect-parens_007d-270
  2994. 20. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfstack-arrays_007d-254
  2995. 21. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfrontend-optimize_007d-275
  2996. 22. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Error-and-Warning-Options.html#index-g_t_0040code_007bWfunction-elimination_007d-170
  2997. 23. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfaggressive-function-elimination_007d-270
  2998. 24. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Error-and-Warning-Options.html#index-g_t_0040code_007bWreal-q-constant_007d-149
  2999. 25. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/SELECTED_005fREAL_005fKIND.html
  3000. 26. http://msdn.microsoft.com/en-us/library/bb787181%28v=vs.85%29.aspx
  3001. 27. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Debugging-Options.html#index-g_t_0040code_007bfno-backtrace_007d-183
  3002. 28. https://gcc.gnu.org/wiki/Fortran2003Status
  3003. 29. https://gcc.gnu.org/wiki/OOP
  3004. 30. https://gcc.gnu.org/wiki/Fortran2008Status
  3005. 31. https://gcc.gnu.org/wiki/Coarray
  3006. 32. https://gcc.gnu.org/wiki/CoarrayLib
  3007. 33. https://gcc.gnu.org/wiki/TS29113Status
  3008. 34. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Fortran-Dialect-Options.html#index-g_t_0040code_007bstd_003d_007d_0040var_007bstd_007d-option-53
  3009. 35. http://weekly.golang.org/doc/go1.html
  3010. 36. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/Named-Address-Spaces.html
  3011. 37. http://nongnu.org/avr-libc/
  3012. 38. https://gcc.gnu.org/PR54461
  3013. 39. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/AVR-Built%5f002din-Functions.html
  3014. 40. https://sites.google.com/site/x32abi/
  3015. 41. http://www.dwarfstd.org/ShowIssue.php?issue=100909.1
  3016. 42. http://www.dwarfstd.org/ShowIssue.php?issue=100909.2
  3017. 43. http://www.dwarfstd.org/doc/040408.1.html
  3018. 44. http://www.dwarfstd.org/ShowIssue.php?issue=110722.1
  3019. 45. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.1
  3020. 46. http://weekly.golang.org/doc/go1.html
  3021. 47. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.2
  3022. 48. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.3
  3023. 49. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.4
  3024. 50. https://gcc.gnu.org/onlinedocs/
  3025. 51. mailto:gcc-help@gcc.gnu.org
  3026. 52. mailto:gcc@gcc.gnu.org
  3027. 53. https://gcc.gnu.org/lists.html
  3028. 54. http://www.fsf.org/
  3029. 55. https://gcc.gnu.org/about.html
  3030. 56. http://validator.w3.org/check/referer
  3031. ======================================================================
  3032. http://gcc.gnu.org/gcc-4.6/index.html
  3033. GCC 4.6 Release Series
  3034. April 12, 2013
  3035. The [1]GNU project and the GCC developers are pleased to announce the
  3036. release of GCC 4.6.4.
  3037. This release is a bug-fix release, containing fixes for regressions in
  3038. GCC 4.6.3 relative to previous releases of GCC.
  3039. Release History
  3040. GCC 4.6.4
  3041. April 12, 2013 ([2]changes, [3]documentation)
  3042. GCC 4.6.3
  3043. March 1, 2012 ([4]changes, [5]documentation)
  3044. GCC 4.6.2
  3045. October 26, 2011 ([6]changes, [7]documentation)
  3046. GCC 4.6.1
  3047. June 27, 2011 ([8]changes, [9]documentation)
  3048. GCC 4.6.0
  3049. March 25, 2011 ([10]changes, [11]documentation)
  3050. References and Acknowledgements
  3051. GCC used to stand for the GNU C Compiler, but since the compiler
  3052. supports several other languages aside from C, it now stands for the
  3053. GNU Compiler Collection.
  3054. A list of [12]successful builds is updated as new information becomes
  3055. available.
  3056. The GCC developers would like to thank the numerous people that have
  3057. contributed new features, improvements, bug fixes, and other changes as
  3058. well as test results to GCC. This [13]amazing group of volunteers is
  3059. what makes GCC successful.
  3060. For additional information about GCC please refer to the [14]GCC
  3061. project web site or contact the [15]GCC development mailing list.
  3062. To obtain GCC please use [16]our mirror sites or [17]our SVN server.
  3063. For questions related to the use of GCC, please consult these web
  3064. pages and the [18]GCC manuals. If that fails, the
  3065. [19]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  3066. web pages and the development of GCC are welcome on our developer
  3067. list at [20]gcc@gcc.gnu.org. All of [21]our lists have public
  3068. archives.
  3069. Copyright (C) [22]Free Software Foundation, Inc. Verbatim copying and
  3070. distribution of this entire article is permitted in any medium,
  3071. provided this notice is preserved.
  3072. These pages are [23]maintained by the GCC team. Last modified
  3073. 2014-06-28[24].
  3074. References
  3075. 1. http://www.gnu.org/
  3076. 2. http://gcc.gnu.org/gcc-4.6/changes.html
  3077. 3. https://gcc.gnu.org/onlinedocs/4.6.4/
  3078. 4. http://gcc.gnu.org/gcc-4.6/changes.html
  3079. 5. https://gcc.gnu.org/onlinedocs/4.6.3/
  3080. 6. http://gcc.gnu.org/gcc-4.6/changes.html
  3081. 7. https://gcc.gnu.org/onlinedocs/4.6.2/
  3082. 8. http://gcc.gnu.org/gcc-4.6/changes.html
  3083. 9. https://gcc.gnu.org/onlinedocs/4.6.1/
  3084. 10. http://gcc.gnu.org/gcc-4.6/changes.html
  3085. 11. https://gcc.gnu.org/onlinedocs/4.6.0/
  3086. 12. http://gcc.gnu.org/gcc-4.6/buildstat.html
  3087. 13. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  3088. 14. http://gcc.gnu.org/index.html
  3089. 15. mailto:gcc@gcc.gnu.org
  3090. 16. http://gcc.gnu.org/mirrors.html
  3091. 17. http://gcc.gnu.org/svn.html
  3092. 18. https://gcc.gnu.org/onlinedocs/
  3093. 19. mailto:gcc-help@gcc.gnu.org
  3094. 20. mailto:gcc@gcc.gnu.org
  3095. 21. https://gcc.gnu.org/lists.html
  3096. 22. http://www.fsf.org/
  3097. 23. https://gcc.gnu.org/about.html
  3098. 24. http://validator.w3.org/check/referer
  3099. ======================================================================
  3100. http://gcc.gnu.org/gcc-4.6/changes.html
  3101. GCC 4.6 Release Series
  3102. Changes, New Features, and Fixes
  3103. Caveats
  3104. * The options -b <machine> and -V <version> have been removed because
  3105. they were unreliable. Instead, users should directly run
  3106. <machine>-gcc when cross-compiling, or <machine>-gcc-<version> to
  3107. run a different version of gcc.
  3108. * GCC now has stricter checks for invalid command-line options. In
  3109. particular, when gcc was called to link object files rather than
  3110. compile source code, it would previously accept and ignore all
  3111. options starting with --, including linker options such as
  3112. --as-needed and --export-dynamic, although such options would
  3113. result in errors if any source code was compiled. Such options, if
  3114. unknown to the compiler, are now rejected in all cases; if the
  3115. intent was to pass them to the linker, options such as
  3116. -Wl,--as-needed should be used.
  3117. * Versions of the GNU C library up to and including 2.11.1 included
  3118. an [1]incorrect implementation of the cproj function. GCC optimizes
  3119. its builtin cproj according to the behavior specified and allowed
  3120. by the ISO C99 standard. If you want to avoid discrepancies between
  3121. the C library and GCC's builtin transformations when using cproj in
  3122. your code, use GLIBC 2.12 or later. If you are using an older GLIBC
  3123. and actually rely on the incorrect behavior of cproj, then you can
  3124. disable GCC's transformations using -fno-builtin-cproj.
  3125. * The C-only intermodule optimization framework (IMA, enabled by
  3126. -combine) has been removed in favor of the new generic link-time
  3127. optimization framework (LTO) introduced in [2]GCC 4.5.0.
  3128. * GCC now ships with the LGPL-licensed libquadmath library, which
  3129. provides quad-precision mathematical functions for targets with a
  3130. __float128 datatype. __float128 is available for targets on 32-bit
  3131. x86, x86-64 and Itanium architectures. The libquadmath library is
  3132. automatically built on such targets when building the Fortran
  3133. compiler.
  3134. * New -Wunused-but-set-variable and -Wunused-but-set-parameter
  3135. warnings were added for C, C++, Objective-C and Objective-C++.
  3136. These warnings diagnose variables respective parameters which are
  3137. only set in the code and never otherwise used. Usually such
  3138. variables are useless and often even the value assigned to them is
  3139. computed needlessly, sometimes expensively. The
  3140. -Wunused-but-set-variable warning is enabled by default by -Wall
  3141. flag and -Wunused-but-set-parameter by -Wall -Wextra flags.
  3142. * On ARM, a bug has been fixed in GCC's implementation of the AAPCS
  3143. rules for the layout of vectors that could lead to wrong code being
  3144. generated. Vectors larger than 8 bytes in size are now by default
  3145. aligned to an 8-byte boundary. This is an ABI change: code that
  3146. makes explicit use of vector types may be incompatible with binary
  3147. objects built with older versions of GCC. Auto-vectorized code is
  3148. not affected by this change. (This change affects GCC versions
  3149. 4.6.4 and later, with the exception of versions 4.7.0 and 4.7.1.)
  3150. * On AVR, variables with the progmem attribute to locate data in
  3151. flash memory must be qualified as const.
  3152. * Support for a number of older systems and recently unmaintained or
  3153. untested target ports of GCC has been declared obsolete in GCC 4.6.
  3154. Unless there is activity to revive them, the next release of GCC
  3155. will have their sources permanently removed.
  3156. All GCC ports for the following processor architectures have been
  3157. declared obsolete:
  3158. + Argonaut ARC (arc-*)
  3159. + National Semiconductor CRX (crx-*)
  3160. + Motorola 68HC11 and 68HC12 (m68hc11-*-*, m6811-*-*,
  3161. m68hc12-*-*, m6812-*-*)
  3162. + Sunplus S+core (score-*)
  3163. The following ports for individual systems on particular
  3164. architectures have been obsoleted:
  3165. + Interix (i[34567]86-*-interix3*)
  3166. + NetWare x86 (i[3456x]86-*-netware*)
  3167. + Generic ARM PE (arm-*-pe* other than arm*-wince-pe*)
  3168. + MCore PE (mcore-*-pe*)
  3169. + SH SymbianOS (sh*-*-symbianelf*)
  3170. + GNU Hurd on Alpha and PowerPC (alpha*-*-gnu*, powerpc*-*-gnu*)
  3171. + M68K uClinux old ABI (m68k-*-uclinuxoldabi*)
  3172. + a.out NetBSD (arm*-*-netbsd*, i[34567]86-*-netbsd*,
  3173. vax-*-netbsd*, but not *-*-netbsdelf*)
  3174. The i[34567]86-*-pe alias for Cygwin targets has also been
  3175. obsoleted; users should configure for i[34567]86-*-cygwin* instead.
  3176. Certain configure options to control the set of libraries built
  3177. with GCC on some targets have been obsoleted. On ARM targets, the
  3178. options --disable-fpu, --disable-26bit, --disable-underscore,
  3179. --disable-interwork, --disable-biendian and --disable-nofmult have
  3180. been obsoleted. On MIPS targets, the options
  3181. --disable-single-float, --disable-biendian and --disable-softfloat
  3182. have been obsoleted.
  3183. * Support has been removed for all the [3]configurations obsoleted in
  3184. GCC 4.5.
  3185. * More information on porting to GCC 4.6 from previous versions of
  3186. GCC can be found in the [4]porting guide for this release.
  3187. General Optimizer Improvements
  3188. * A new general optimization level, -Ofast, has been introduced. It
  3189. combines the existing optimization level -O3 with options that can
  3190. affect standards compliance but result in better optimized code.
  3191. For example, -Ofast enables -ffast-math.
  3192. * Link-time optimization improvements:
  3193. + The [5]Scalable Whole Program Optimizer (WHOPR) project has
  3194. stabilized to the point of being usable. It has become the
  3195. default mode when using the LTO optimization model. Link time
  3196. optimization can now split itself into multiple parallel
  3197. compilations. Parallelism is controlled with -flto=n (where n
  3198. specifies the number of compilations to execute in parallel).
  3199. GCC can also cooperate with a GNU make job server by
  3200. specifying the -flto=jobserver option and adding + to the
  3201. beginning of the Makefile rule executing the linker.
  3202. Classical LTO mode can be enforced by -flto-partition=none.
  3203. This may result in small code quality improvements.
  3204. + A large number of bugs were fixed. GCC itself, Mozilla Firefox
  3205. and other large applications can be built with LTO enabled.
  3206. + The linker plugin support improvements
  3207. o Linker plugin is now enabled by default when the linker
  3208. is detected to have plugin support. This is the case for
  3209. GNU ld 2.21.51 or newer (on ELF and Cygwin targets) and
  3210. the Gold linker on ELF targets. Plugin support of the
  3211. Apple linker on Darwin is not compatible with GCC. The
  3212. linker plugin can also be controlled by the
  3213. -fuse-linker-plugin command line option.
  3214. o Resolution information from the linker plugin is used to
  3215. drive whole program assumptions. Use of the linker plugin
  3216. results in more aggressive optimization on binaries and
  3217. on shared libraries that use the hidden visibility
  3218. attribute. Consequently the use of -fwhole-program is not
  3219. necessary in addition to LTO.
  3220. + Hidden symbols used from non-LTO objects now have to be
  3221. explicitly annotated with externally_visible when the linker
  3222. plugin is not used.
  3223. + C++ inline functions and virtual tables are now privatized
  3224. more aggressively, leading to better inter-procedural
  3225. optimization and faster dynamic linking.
  3226. + Memory usage and intermediate language streaming performance
  3227. have been improved.
  3228. + Static constructors and destructors from individual units are
  3229. inlined into a single function. This can significantly improve
  3230. startup times of large C++ applications where static
  3231. constructors are very common. For example, static constructors
  3232. are used when including the iostream header.
  3233. + Support for the Ada language has been added.
  3234. * Interprocedural optimization improvements
  3235. + The interprocedural framework was re-tuned for link time
  3236. optimization. Several scalability issues were resolved.
  3237. + Improved auto-detection of const and pure functions. Newly,
  3238. noreturn functions are auto-detected.
  3239. The [6]-Wsuggest-attribute=[const|pure|noreturn] flag is
  3240. available that informs users when adding attributes to headers
  3241. might improve code generation.
  3242. + A number of inlining heuristic improvements. In particular:
  3243. o Partial inlining is now supported and enabled by default
  3244. at -O2 and greater. The feature can be controlled via
  3245. -fpartial-inlining.
  3246. Partial inlining splits functions with short hot path to
  3247. return. This allows more aggressive inlining of the hot
  3248. path leading to better performance and often to code size
  3249. reductions (because cold parts of functions are not
  3250. duplicated).
  3251. o Scalability for large compilation units was improved
  3252. significantly.
  3253. o Inlining of callbacks is now more aggressive.
  3254. o Virtual methods are considered for inlining when the
  3255. caller is inlined and devirtualization is then possible.
  3256. o Inlining when optimizing for size (either in cold regions
  3257. of a program or when compiling with -Os) was improved to
  3258. better handle C++ programs with larger abstraction
  3259. penalty, leading to smaller and faster code.
  3260. + The IPA reference optimization pass detecting global variables
  3261. used or modified by functions was strengthened and sped up.
  3262. + Functions whose address was taken are now optimized out when
  3263. all references to them are dead.
  3264. + A new inter-procedural static profile estimation pass detects
  3265. functions that are executed once or unlikely to be executed.
  3266. Unlikely executed functions are optimized for size. Functions
  3267. executed once are optimized for size except for the inner
  3268. loops.
  3269. + On most targets with named section support, functions used
  3270. only at startup (static constructors and main), functions used
  3271. only at exit and functions detected to be cold are placed into
  3272. separate text segment subsections. This extends the
  3273. -freorder-functions feature and is controlled by the same
  3274. switch. The goal is to improve the startup time of large C++
  3275. programs.
  3276. Proper function placement requires linker support. GNU ld
  3277. 2.21.51 on ELF targets was updated to place those functions
  3278. together within the text section leading to better code
  3279. locality and faster startup times of large C++ programs. The
  3280. feature is also supported in the Apple linker. Support in the
  3281. gold linker is planned.
  3282. * A new switch -fstack-usage has been added. It makes the compiler
  3283. output stack usage information for the program, on a per-function
  3284. basis, in an auxiliary file.
  3285. * A new switch -fcombine-stack-adjustments has been added. It can be
  3286. used to enable or disable the compiler's stack-slot combining pass
  3287. which before was enabled automatically at -O1 and above, but could
  3288. not be controlled on its own.
  3289. * A new switch -fstrict-volatile-bitfields has been added. Using it
  3290. indicates that accesses to volatile bitfields should use a single
  3291. access of the width of the field's type. This option can be useful
  3292. for precisely defining and accessing memory-mapped peripheral
  3293. registers from C or C++.
  3294. Compile time and memory usage improvements
  3295. * Datastructures used by the dataflow framework in GCC were
  3296. reorganized for better memory usage and more cache locality.
  3297. Compile time is improved especially on units with large functions
  3298. (possibly resulting from a lot of inlining) not fitting into the
  3299. processor cache. The compile time of the GCC C compiler binary with
  3300. link-time optimization went down by over 10% (benchmarked on x86-64
  3301. target).
  3302. New Languages and Language specific improvements
  3303. Ada
  3304. * Stack checking has been improved on selected architectures (Alpha,
  3305. IA-32/x86-64, RS/6000 and SPARC): it now will detect stack
  3306. overflows in all cases on these architectures.
  3307. * Initial support for Ada 2012 has been added.
  3308. C family
  3309. * A new warning, enabled by -Wdouble-promotion, has been added that
  3310. warns about cases where a value of type float is implicitly
  3311. promoted to double. This is especially helpful for CPUs that handle
  3312. the former in hardware, but emulate the latter in software.
  3313. * A new function attribute leaf was introduced. This attribute allows
  3314. better inter-procedural optimization across calls to functions that
  3315. return to the current unit only via returning or exception
  3316. handling. This is the case for most library functions that have no
  3317. callbacks.
  3318. * Support for a new data type __int128 for targets having wide enough
  3319. machine-mode support.
  3320. * The new function attribute callee_pop_aggregate allows to specify
  3321. if the caller or callee is responsible for popping the aggregate
  3322. return pointer value from the stack.
  3323. * Support for selectively enabling and disabling warnings via #pragma
  3324. GCC diagnostic has been added. For instance:
  3325. #pragma GCC diagnostic error "-Wuninitialized"
  3326. foo(a); /* error is given for this one */
  3327. #pragma GCC diagnostic push
  3328. #pragma GCC diagnostic ignored "-Wuninitialized"
  3329. foo(b); /* no diagnostic for this one */
  3330. #pragma GCC diagnostic pop
  3331. foo(c); /* error is given for this one */
  3332. #pragma GCC diagnostic pop
  3333. foo(d); /* depends on command line options */
  3334. * The -fmax-errors=N option is now supported. Using this option
  3335. causes the compiler to exit after N errors have been issued.
  3336. C
  3337. * There is now experimental support for some features from the
  3338. upcoming C1X revision of the ISO C standard. This support may be
  3339. selected with -std=c1x, or -std=gnu1x for C1X with GNU extensions.
  3340. Note that this support is experimental and may change incompatibly
  3341. in future releases for consistency with changes to the C1X standard
  3342. draft. The following features are newly supported as described in
  3343. the N1539 draft of C1X (with changes agreed at the March 2011 WG14
  3344. meeting); some other features were already supported with no
  3345. compiler changes being needed, or have some support but not in full
  3346. accord with N1539 (as amended).
  3347. + Static assertions (_Static_assert keyword)
  3348. + Typedef redefinition
  3349. + New macros in <float.h>
  3350. + Anonymous structures and unions
  3351. * The new -fplan9-extensions option directs the compiler to support
  3352. some extensions for anonymous struct fields which are implemented
  3353. by the Plan 9 compiler. A pointer to a struct may be automatically
  3354. converted to a pointer to an anonymous field when calling a
  3355. function, in order to make the types match. An anonymous struct
  3356. field whose type is a typedef name may be referred to using the
  3357. typedef name.
  3358. C++
  3359. * Improved [7]experimental support for the upcoming C++0x ISO C++
  3360. standard, including support for constexpr (thanks to Gabriel Dos
  3361. Reis and Jason Merrill), nullptr (thanks to Magnus Fromreide),
  3362. noexcept, unrestricted unions, range-based for loops (thanks to
  3363. Rodrigo Rivas Costa), opaque enum declarations (thanks also to
  3364. Rodrigo), implicitly deleted functions and implicit move
  3365. constructors.
  3366. * When an extern declaration within a function does not match a
  3367. declaration in the enclosing context, G++ now properly declares the
  3368. name within the namespace of the function rather than the namespace
  3369. which was open just before the function definition ([8]c++/43145).
  3370. * GCC now warns by default when casting integers to larger pointer
  3371. types. These warnings can be disabled with the option
  3372. -Wno-int-to-pointer-cast, which is now also available in C++.
  3373. * G++ no longer optimizes using the assumption that a value of
  3374. enumeration type will fall within the range specified by the
  3375. standard, since that assumption is easily violated with a
  3376. conversion from integer type ([9]c++/43680). The old behavior can
  3377. be restored with -fstrict-enums.
  3378. * The new -fnothrow-opt flag changes the semantics of a throw()
  3379. exception specification to match the proposed semantics of the
  3380. noexcept specification: just call terminate if an exception tries
  3381. to propagate out of a function with such an exception
  3382. specification. This dramatically reduces or eliminates the code
  3383. size overhead from adding the exception specification.
  3384. * The new -Wnoexcept flag will suggest adding a noexcept qualifier to
  3385. a function that the compiler can tell doesn't throw if it would
  3386. change the value of a noexcept expression.
  3387. * The -Wshadow option now warns if a local variable or type
  3388. declaration shadows another type in C++. Note that the compiler
  3389. will not warn if a local variable shadows a struct/class/enum, but
  3390. will warn if it shadows an explicit typedef.
  3391. * When an identifier is not found in the current scope, G++ now
  3392. offers suggestions about which identifier might have been intended.
  3393. * G++ now issues clearer diagnostics for missing semicolons after
  3394. class, struct, and union definitions.
  3395. * G++ now issues clearer diagnostics for missing semicolons after
  3396. class member declarations.
  3397. * G++ now issues clearer diagnostics when a colon is used in a place
  3398. where a double-colon was intended.
  3399. * G++ no longer accepts mutable on reference members ([10]c++/33558).
  3400. Use -fpermissive to allow the old, non-conforming behaviour.
  3401. * A few mangling fixes have been made, to attribute const/volatile on
  3402. function pointer types, decltype of a plain decl, and use of a
  3403. function parameter in the declaration of another parameter. By
  3404. default the compiler still uses the old mangling, but emits aliases
  3405. with the new mangling on targets that support strong aliases. Users
  3406. can switch over entirely to the new mangling with -fabi-version=5
  3407. or -fabi-version=0. -Wabi will now warn about code that uses the
  3408. old mangling.
  3409. * In 4.6.0 and 4.6.1 G++ no longer allows objects of const-qualified
  3410. type to be default initialized unless the type has a user-declared
  3411. default constructor. In 4.6.2 G++ implements the proposed
  3412. resolution of [11]DR 253, so default initialization is allowed if
  3413. it initializes all subobjects. Code that fails to compile can be
  3414. fixed by providing an initializer e.g.
  3415. struct A { A(); };
  3416. struct B : A { int i; };
  3417. const B b = B();
  3418. Use -fpermissive to allow the old, non-conforming behaviour.
  3419. Runtime Library (libstdc++)
  3420. * [12]Improved experimental support for the upcoming ISO C++
  3421. standard, C++0x, including using constexpr and nullptr.
  3422. * Performance improvements to the [13]Debug Mode, thanks to Franc,ois
  3423. Dumont.
  3424. * Atomic operations used for reference-counting are annotated so that
  3425. they can be understood by race detectors such as Helgrind, see
  3426. [14]Data Race Hunting.
  3427. * Most libstdc++ standard headers have been changed to no longer
  3428. include the cstddef header as an implementation detail. Code that
  3429. relied on that header being included as side-effect of including
  3430. other standard headers will need to include cstddef explicitly.
  3431. Fortran
  3432. * On systems supporting the libquadmath library, GNU Fortran now also
  3433. supports a quad-precision, kind=16 floating-point data type
  3434. (REAL(16), COMPLEX(16)). As the data type is not fully supported in
  3435. hardware, calculations might be one to two orders of magnitude
  3436. slower than with the 4, 8 or 10 bytes floating-point data types.
  3437. This change does not affect systems which support REAL(16) in
  3438. hardware nor those which do not support libquadmath.
  3439. * Much improved compile time for large array constructors.
  3440. * In order to reduce execution time and memory consumption, use of
  3441. temporary arrays in assignment expressions is avoided for many
  3442. cases. The compiler now reverses loops in order to avoid generating
  3443. a temporary array where possible.
  3444. * Improved diagnostics, especially with -fwhole-file.
  3445. * The -fwhole-file flag is now enabled by default. This improves code
  3446. generation and diagnostics. It can be disabled using the deprecated
  3447. -fno-whole-file flag.
  3448. * Support the generation of Makefile dependencies via the [15]-M...
  3449. flags of GCC; you may need to specify the -cpp option in addition.
  3450. The dependencies take modules, Fortran's include, and CPP's
  3451. #include into account. Note: Using -M for the module path is no
  3452. longer supported, use -J instead.
  3453. * The flag -Wconversion has been modified to only issue warnings
  3454. where a conversion leads to information loss. This drastically
  3455. reduces the number of warnings; -Wconversion is thus now enabled
  3456. with -Wall. The flag -Wconversion-extra has been added and also
  3457. warns about other conversions; -Wconversion-extra typically issues
  3458. a huge number of warnings, most of which can be ignored.
  3459. * A new command-line option -Wunused-dummy-argument warns about
  3460. unused dummy arguments and is included in -Wall. Before,
  3461. -Wunused-variable also warned about unused dummy arguments.
  3462. * Fortran 2003 support has been extended:
  3463. + Improved support for polymorphism between libraries and
  3464. programs and for complicated inheritance patterns (cf.
  3465. [16]object-oriented programming).
  3466. + Experimental support of the ASSOCIATE construct.
  3467. + In pointer assignments it is now possible to specify the lower
  3468. bounds of the pointer and, for a rank-1 or a simply contiguous
  3469. data-target, to remap the bounds.
  3470. + Automatic (re)allocation: In intrinsic assignments to
  3471. allocatable variables the left-hand side will be automatically
  3472. allocated (if unallocated) or reallocated (if the shape or
  3473. type parameter is different). To avoid the small performance
  3474. penalty, you can use a(:) = ... instead of a = ... for arrays
  3475. and character strings - or disable the feature using -std=f95
  3476. or -fno-realloc-lhs.
  3477. + Deferred type parameter: For scalar allocatable and pointer
  3478. variables the character length can be deferred.
  3479. + Namelist variables with allocatable and pointer attribute and
  3480. nonconstant length type parameter are supported.
  3481. * Fortran 2008 support has been extended:
  3482. + Experimental [17]coarray support (for one image only, i.e.
  3483. num_images() == 1); use the [18]-fcoarray=single flag to
  3484. enable it.
  3485. + The STOP and the new ERROR STOP statements now support all
  3486. constant expressions.
  3487. + Support for the CONTIGUOUS attribute.
  3488. + Support for ALLOCATE with MOLD.
  3489. + Support for the STORAGE_SIZE intrinsic inquiry function.
  3490. + Support of the NORM2 and PARITY intrinsic functions.
  3491. + The following bit intrinsics were added: POPCNT and POPPAR for
  3492. counting the number of 1 bits and returning the parity; BGE,
  3493. BGT, BLE, and BLT for bitwise comparisons; DSHIFTL and DSHIFTR
  3494. for combined left and right shifts, MASKL and MASKR for simple
  3495. left and right justified masks, MERGE_BITS for a bitwise merge
  3496. using a mask, SHIFTA, SHIFTL and SHIFTR for shift operations,
  3497. and the transformational bit intrinsics IALL, IANY and
  3498. IPARITY.
  3499. + Support of the EXECUTE_COMMAND_LINE intrinsic subroutine.
  3500. + Support for the IMPURE attribute for procedures, which allows
  3501. for ELEMENTAL procedures without the restrictions of PURE.
  3502. + Null pointers (including NULL()) and not allocated variables
  3503. can be used as actual argument to optional non-pointer,
  3504. non-allocatable dummy arguments, denoting an absent argument.
  3505. + Non-pointer variables with TARGET attribute can be used as
  3506. actual argument to POINTER dummies with INTENT(IN)
  3507. + Pointers including procedure pointers and those in a derived
  3508. type (pointer components) can now be initialized by a target
  3509. instead of only by NULL.
  3510. + The EXIT statement (with construct-name) can now be used to
  3511. leave not only the DO but also the ASSOCIATE, BLOCK, IF,
  3512. SELECT CASE and SELECT TYPE constructs.
  3513. + Internal procedures can now be used as actual argument.
  3514. + The named constants INTEGER_KINDS, LOGICAL_KINDS, REAL_KINDS
  3515. and CHARACTER_KINDS of the intrinsic module ISO_FORTRAN_ENV
  3516. have been added; these arrays contain the supported kind
  3517. values for the respective types.
  3518. + The module procedures C_SIZEOF of the intrinsic module
  3519. ISO_C_BINDINGS and COMPILER_VERSION and COMPILER_OPTIONS of
  3520. ISO_FORTRAN_ENV have been implemented.
  3521. + Minor changes: obsolescence diagnostics for ENTRY was added
  3522. for -std=f2008; a line may start with a semicolon; for
  3523. internal and module procedures END can be used instead of END
  3524. SUBROUTINE and END FUNCTION; SELECTED_REAL_KIND now also takes
  3525. a RADIX argument; intrinsic types are supported for
  3526. TYPE(intrinsic-type-spec); multiple type-bound procedures can
  3527. be declared in a single PROCEDURE statement; implied-shape
  3528. arrays are supported for named constants (PARAMETER). The
  3529. transformational, three argument versions of BESSEL_JN and
  3530. BESSEL_YN were added - the elemental, two-argument version had
  3531. been added in GCC 4.4; note that the transformational
  3532. functions use a recurrence algorithm.
  3533. Go
  3534. Support for the [19]Go programming language has been added to GCC. It
  3535. is not enabled by default when you build GCC; use the
  3536. --enable-languages configure option to build it. The driver program for
  3537. compiling Go code is gccgo.
  3538. Go is currently known to work on GNU/Linux and RTEMS. Solaris support
  3539. is in progress. It may or may not work on other platforms.
  3540. Objective-C and Objective-C++
  3541. * The -fobjc-exceptions flag is now required to enable Objective-C
  3542. exception and synchronization syntax (introduced by the keywords
  3543. @try, @catch, @finally and @synchronized).
  3544. * A number of Objective-C 2.0 features and extensions are now
  3545. supported by GCC. These features are enabled by default; you can
  3546. disable them by using the new -fobjc-std=objc1 command-line option.
  3547. * The Objective-C 2.0 dot-syntax is now supported. It is an
  3548. alternative syntax for using getters and setters; object.count is
  3549. automatically converted into [object count] or [object setCount:
  3550. ...] depending on context; for example if (object.count > 0) is
  3551. automatically compiled into the equivalent of if ([object count] >
  3552. 0) while object.count = 0; is automatically compiled into the
  3553. equivalent ot [object setCount: 0];. The dot-syntax can be used
  3554. with instance and class objects and with any setters or getters, no
  3555. matter if they are part of a declared property or not.
  3556. * Objective-C 2.0 declared properties are now supported. They are
  3557. declared using the new @property keyword, and are most commonly
  3558. used in conjunction with the new Objective-C 2.0 dot-syntax. The
  3559. nonatomic, readonly, readwrite, assign, retain, copy, setter and
  3560. getter attributes are all supported. Marking declared properties
  3561. with __attribute__ ((deprecated)) is supported too.
  3562. * The Objective-C 2.0 @synthesize and @dynamic keywords are
  3563. supported. @synthesize causes the compiler to automatically
  3564. synthesize a declared property, while @dynamic is used to disable
  3565. all warnings for a declared property for which no implementation is
  3566. provided at compile time. Synthesizing declared properties requires
  3567. runtime support in most useful cases; to be able to use it with the
  3568. GNU runtime, appropriate helper functions have been added to the
  3569. GNU Objective-C runtime ABI, and are implemented by the GNU
  3570. Objective-C runtime library shipped with GCC.
  3571. * The Objective-C 2.0 fast enumeration syntax is supported in
  3572. Objective-C. This is currently not yet available in Objective-C++.
  3573. Fast enumeration requires support in the runtime, and such support
  3574. has been added to the GNU Objective-C runtime library (shipped with
  3575. GCC).
  3576. * The Objective-C 2.0 @optional keyword is supported. It allows you
  3577. to mark methods or properties in a protocol as optional as opposed
  3578. to required.
  3579. * The Objective-C 2.0 @package keyword is supported. It has currently
  3580. the same effect as the @public keyword.
  3581. * Objective-C 2.0 method attributes are supported. Currently the
  3582. supported attributes are deprecated, sentinel, noreturn and format.
  3583. * Objective-C 2.0 method argument attributes are supported. The most
  3584. widely used attribute is unused, to mark an argument as unused in
  3585. the implementation.
  3586. * Objective-C 2.0 class and protocol attributes are supported.
  3587. Currently the only supported attribute is deprecated.
  3588. * Objective-C 2.0 class extensions are supported. A class extension
  3589. has the same syntax as a category declaration with no category
  3590. name, and the methods and properties declared in it are added
  3591. directly to the main class. It is mostly used as an alternative to
  3592. a category to add methods to a class without advertising them in
  3593. the public headers, with the advantage that for class extensions
  3594. the compiler checks that all the privately declared methods are
  3595. actually implemented.
  3596. * As a result of these enhancements, GCC can now be used to build
  3597. Objective-C and Objective-C++ software that uses Foundation and
  3598. other important system frameworks with the NeXT runtime on Darwin 9
  3599. and Darwin 10 (OSX 10.5 and 10.6).
  3600. * Many bugs in the compiler have been fixed in this release; in
  3601. particular, LTO can now be used when compiling Objective-C and
  3602. Objective-C++ and the parser is much more robust in dealing with
  3603. invalid code.
  3604. Runtime Library (libobjc)
  3605. * The GNU Objective-C runtime library now defines the macro
  3606. __GNU_LIBOBJC__ (with a value that is increased at every release
  3607. where there is any change to the API) in objc/objc.h, making it
  3608. easy to determine if the GNU Objective-C runtime library is being
  3609. used, and if so, which version. Previous versions of the GNU
  3610. Objective-C runtime library (and other Objective-C runtime
  3611. libraries such as the Apple one) do not define this macro.
  3612. * A new Objective-C 2.0 API, almost identical to the one implemented
  3613. by the Apple Objective-C runtime, has been implemented in the GNU
  3614. Objective-C runtime library. The new API hides the internals of
  3615. most runtime structures but provides a more extensive set of
  3616. functions to operate on them. It is much easier, for example, to
  3617. create or modify classes at runtime. The new API also makes it
  3618. easier to port software from Apple to GNU as almost no changes
  3619. should be required. The old API is still supported for backwards
  3620. compatibility; including the old objc/objc-api.h header file
  3621. automatically selects the old API, while including the new
  3622. objc/runtime.h header file automatically selects the new API.
  3623. Support for the old API is being phased out and upgrading the
  3624. software to use the new API is strongly recommended. To check for
  3625. the availability of the new API, the __GNU_LIBOBJC__ macro can be
  3626. used as older versions of the GNU Objective-C runtime library,
  3627. which do not support the new API, do not define such a macro.
  3628. * Runtime support for @synchronized has been added.
  3629. * Runtime support for Objective-C 2.0 synthesized property accessors
  3630. has been added.
  3631. * Runtime support for Objective-C 2.0 fast enumeration has been
  3632. added.
  3633. New Targets and Target Specific Improvements
  3634. ARM
  3635. * GCC now supports the Cortex-M4 processor implementing the v7-em
  3636. version of the architecture using the option -mcpu=cortex-m4.
  3637. * Scheduling descriptions for the Cortex-M4, the Neon and the
  3638. floating point units of the Cortex-A9 and a pipeline description
  3639. for the Cortex-A5 have been added.
  3640. * Synchronization primitives such as __sync_fetch_and_add and friends
  3641. are now inlined for supported architectures rather than calling
  3642. into a kernel helper function.
  3643. * SSA loop prefetching is enabled by default for the Cortex-A9 at
  3644. -O3.
  3645. * Several improvements were committed to improve code generation for
  3646. the ARM architecture including a rewritten implementation for load
  3647. and store multiples.
  3648. * Several enhancements were committed to improve SIMD code generation
  3649. for NEON by adding support for widening instructions, misaligned
  3650. loads and stores, vector conditionals and support for 64 bit
  3651. arithmetic.
  3652. * Support was added for the Faraday cores fa526, fa606te, fa626te,
  3653. fmp626te, fmp626 and fa726te and can be used with the respective
  3654. names as parameters to the -mcpu= option.
  3655. * Basic support was added for Cortex-A15 and is available through
  3656. -mcpu=cortex-a15.
  3657. * GCC for AAPCS configurations now more closely adheres to the AAPCS
  3658. specification by enabling -fstrict-volatile-bitfields by default.
  3659. IA-32/x86-64
  3660. * The new -fsplit-stack option permits programs to use a
  3661. discontiguous stack. This is useful for threaded programs, in that
  3662. it is no longer necessary to specify the maximum stack size when
  3663. creating a thread. This feature is currently only implemented for
  3664. 32-bit and 64-bit x86 GNU/Linux targets.
  3665. * Support for emitting profiler counter calls before function
  3666. prologues. This is enabled via a new command-line option -mfentry.
  3667. * Optimization for the Intel Core 2 processors is now available
  3668. through the -march=core2 and -mtune=core2 options.
  3669. * Support for Intel Core i3/i5/i7 processors is now available through
  3670. the -march=corei7 and -mtune=corei7 options.
  3671. * Support for Intel Core i3/i5/i7 processors with AVX is now
  3672. available through the -march=corei7-avx and -mtune=corei7-avx
  3673. options.
  3674. * Support for AMD Bobcat (family 14) processors is now available
  3675. through the -march=btver1 and -mtune=btver1 options.
  3676. * Support for AMD Bulldozer (family 15) processors is now available
  3677. through the -march=bdver1 and -mtune=bdver1 options.
  3678. * The default setting (when not optimizing for size) for 32-bit
  3679. GNU/Linux and Darwin x86 targets has been changed to
  3680. -fomit-frame-pointer. The default can be reverted to
  3681. -fno-omit-frame-pointer by configuring GCC with the
  3682. --enable-frame-pointer configure option.
  3683. * Darwin, FreeBSD, Solaris 2, MinGW and Cygwin now all support
  3684. __float128 on 32-bit and 64-bit x86 targets.
  3685. * AVX floating-point arithmetic can now be enabled by default at
  3686. configure time with the new --with-fpmath=avx option.
  3687. * The SSA loop prefetching pass is enabled when using -O3 when
  3688. optimizing for CPUs where prefetching is beneficial (AMD CPUs newer
  3689. than K6).
  3690. * Support for TBM (Trailing Bit Manipulation) built-in functions and
  3691. code generation is available via -mtbm.
  3692. * Support for AMD's BMI (Bit Manipulation) built-in functions and
  3693. code generation is available via -mbmi.
  3694. MicroBlaze
  3695. * Support has been added for the Xilinx MicroBlaze softcore processor
  3696. (microblaze-elf) embedded target. This configurable processor is
  3697. supported on several Xilinx Spartan and Virtex FPGAs.
  3698. MIPS
  3699. * GCC now supports the Loongson 3A processor. Its canonical -march=
  3700. and -mtune= name is loongson3a.
  3701. MN10300 / AM33
  3702. * The inline assembly register constraint "A" has been renamed "c".
  3703. This constraint is used to select a floating-point register that
  3704. can be used as the destination of a multiply-accumulate
  3705. instruction.
  3706. * New inline assembly register constraints "A" and "D" have been
  3707. added. These constraint letters resolve to all general registers
  3708. when compiling for AM33, and resolve to address registers only or
  3709. data registers only when compiling for MN10300.
  3710. * The MDR register is represented in the compiler. One can access the
  3711. register via the "z" constraint in inline assembly. It can be
  3712. marked as clobbered or used as a local register variable via the
  3713. "mdr" name. The compiler uses the RETF instruction if the function
  3714. does not modify the MDR register, so it is important that inline
  3715. assembly properly annotate any usage of the register.
  3716. PowerPC/PowerPC64
  3717. * GCC now supports the Applied Micro Titan processor with
  3718. -mcpu=titan.
  3719. * The -mrecip option has been added, which indicates whether the
  3720. reciprocal and reciprocal square root instructions should be used.
  3721. * The -mveclibabi=mass option can be used to enable the compiler to
  3722. autovectorize mathematical functions using the Mathematical
  3723. Acceleration Subsystem library.
  3724. * The -msingle-pic-base option has been added, which instructs the
  3725. compiler to avoid loading the PIC base register in function
  3726. prologues. The PIC base register must be initialized by the runtime
  3727. system.
  3728. * The -mblock-move-inline-limit option has been added, which enables
  3729. the user to control the maximum size of inlined memcpy calls and
  3730. similar.
  3731. * PowerPC64 GNU/Linux support for applications requiring a large TOC
  3732. section has been improved. A new command-line option,
  3733. -mcmodel=MODEL, controls this feature; valid values for MODEL are
  3734. small, medium, or large.
  3735. * The Altivec builtin functions vec_ld and vec_st have been modified
  3736. to generate the Altivec memory instructions LVX and STVX, even if
  3737. the -mvsx option is used. In the initial GCC 4.5 release, these
  3738. builtin functions were changed to generate VSX memory reference
  3739. instructions instead of Altivec memory instructions, but there are
  3740. differences between the two instructions. If the VSX instruction
  3741. set is available, you can now use the new builtin functions
  3742. vec_vsx_ld and vec_vsx_st which always generates the VSX memory
  3743. instructions.
  3744. * The GCC compiler on AIX now defaults to a process layout with a
  3745. larger data space allowing larger programs to be compiled.
  3746. * The GCC long double type on AIX 6.1 and above has reverted to 64
  3747. bit double precision, matching the AIX XL compiler default, because
  3748. of missing C99 symbols required by the GCC runtime.
  3749. * The default processor scheduling model and tuning for PowerPC64
  3750. GNU/Linux and for AIX 6.1 and above now is POWER7.
  3751. * Starting with GCC 4.6.1, vectors of type vector long long or vector
  3752. long are passed and returned in the same method as other vectors
  3753. with the VSX instruction set. Previously the GCC compiler did not
  3754. adhere to the ABI for 128-bit vectors with 64-bit integer base
  3755. types (PR 48857). This is also fixed in the GCC 4.5.4 release.
  3756. S/390, zSeries and System z9/z10, IBM zEnterprise z196
  3757. * Support for the zEnterprise z196 processor has been added. When
  3758. using the -march=z196 option, the compiler will generate code
  3759. making use of the following instruction facilities:
  3760. + Conditional load/store
  3761. + Distinct-operands
  3762. + Floating-point-extension
  3763. + Interlocked-access
  3764. + Population-count
  3765. The -mtune=z196 option avoids the compare and branch instructions
  3766. as well as the load address instruction with an index register as
  3767. much as possible and performs instruction scheduling appropriate
  3768. for the new out-of-order pipeline architecture.
  3769. * When using the -m31 -mzarch options the generated code still
  3770. conforms to the 32-bit ABI but uses the general purpose registers
  3771. as 64-bit registers internally. This requires a Linux kernel saving
  3772. the whole 64-bit registers when doing a context switch. Kernels
  3773. providing that feature indicate that by the 'highgprs' string in
  3774. /proc/cpuinfo.
  3775. * The SSA loop prefetching pass is enabled when using -O3.
  3776. SPARC
  3777. * GCC now supports the LEON series of SPARC V8 processors. The code
  3778. generated by the compiler can either be tuned to it by means of the
  3779. --with-tune=leon configure option and -mtune=leon compilation
  3780. option, or the compiler can be built for the sparc-leon-{elf,linux}
  3781. and sparc-leon3-{elf,linux} targets directly.
  3782. * GCC has stopped sign/zero-extending parameter registers in the
  3783. callee for functions taking parameters with sub-word size in 32-bit
  3784. mode, since this is redundant with the specification of the ABI.
  3785. GCC has never done so in 64-bit mode since this is also redundant.
  3786. * The command line option -mfix-at697f has been added to enable the
  3787. documented workaround for the single erratum of the Atmel AT697F
  3788. processor.
  3789. Operating Systems
  3790. Android
  3791. * GCC now supports the Bionic C library and provides a convenient way
  3792. of building native libraries and applications for the Android
  3793. platform. Refer to the documentation of the -mandroid and -mbionic
  3794. options for details on building native code. At the moment, Android
  3795. support is enabled only for ARM.
  3796. Darwin/Mac OS X
  3797. * General
  3798. + Initial support for CFString types has been added.
  3799. This allows GCC to build projects including the system Core
  3800. Foundation frameworks. The GCC Objective-C family supports
  3801. CFString "toll-free bridged" as per the Mac OS X system tools.
  3802. CFString is also recognized in the context of format
  3803. attributes and arguments (see the documentation for format
  3804. attributes for limitations). At present, 8-bit character types
  3805. are supported.
  3806. + Object file size reduction.
  3807. The Darwin zeroed memory allocators have been re-written to
  3808. make more use of .zerofill sections. For non-debug code, this
  3809. can reduce object file size significantly.
  3810. + Objective-C family 64-bit support (NeXT ABI 2).
  3811. Initial support has been added to support 64-bit Objective-C
  3812. code using the Darwin/OS X native (NeXT) runtime. ABI version
  3813. 2 will be selected automatically when 64-bit code is built.
  3814. + Objective-C family 32-bit ABI 1.
  3815. For 32-bit code ABI 1 is also now also allowed. At present it
  3816. must be selected manually using -fobjc-abi-version=1 where
  3817. applicable - i.e. on Darwin 9/10 (OS X 10.5/10.6).
  3818. * x86 Architecture
  3819. + The -mdynamic-no-pic option has been enabled.
  3820. Code supporting -mdynamic-no-pic optimization has been added
  3821. and is applicable to -m32 builds. The compiler bootstrap uses
  3822. the option where appropriate.
  3823. + The default value for -mtune= has been changed.
  3824. Since Darwin systems are primarily Xeon, Core-2 or similar the
  3825. default tuning has been changed to -mtune=core2.
  3826. + Enable 128-bit long double (__float128) support on Darwin.
  3827. * PPC Architecture
  3828. + Darwin64 ABI.
  3829. Several significant bugs have been fixed, such that GCC now
  3830. produces code compatible with the Darwin64 PowerPC ABI.
  3831. + libffi and boehm-gc.
  3832. The Darwin ports of the libffi and boehm-gc libraries have
  3833. been upgraded to include a Darwin64 implementation. This means
  3834. that powerpc*-*-darwin9 platforms may now, for example, build
  3835. Java applications with -m64 enabled.
  3836. + Plug-in support has been enabled.
  3837. + The -fsection-anchors option is now available although,
  3838. presently, not heavily tested.
  3839. Solaris 2
  3840. New Features
  3841. * Support symbol versioning with the Sun linker.
  3842. * Allow libstdc++ to leverage full ISO C99 support on Solaris 10+.
  3843. * Support thread-local storage (TLS) with the Sun assembler on
  3844. Solaris 2/x86.
  3845. * Support TLS on Solaris 8/9 if prerequisites are met.
  3846. * Support COMDAT group with the GNU assembler and recent Sun linker.
  3847. * Support the Sun assembler visibility syntax.
  3848. * Default Solaris 2/x86 to -march=pentium4 (Solaris 10+) resp.
  3849. -march=pentiumpro (Solaris 8/9).
  3850. * Don't use SSE on Solaris 8/9 x86 by default.
  3851. * Enable 128-bit long double (__float128) support on Solaris 2/x86.
  3852. ABI Change
  3853. * Change the ABI for returning 8-byte vectors like __m64 in MMX
  3854. registers on Solaris 10+/x86 to match the Sun Studio 12.1+
  3855. compilers. This is an incompatible change. If you use such types,
  3856. you must either recompile all your code with the new compiler or
  3857. use the new -mvect8-ret-in-mem option to remain compatible with
  3858. previous versions of GCC and Sun Studio.
  3859. Windows x86/x86_64
  3860. * Initial support for decimal floating point.
  3861. * Support for the __thiscall calling-convention.
  3862. * Support for hot-patchable function prologues via the
  3863. ms_hook_prologue attribute for x86_64 in addition to 32-bit x86.
  3864. * Improvements of stack-probing and stack-allocation mechanisms.
  3865. * Support of push/pop-macro pragma as preprocessor command.
  3866. With #pragma push_macro("macro-name") the current definition of
  3867. macro-name is saved and can be restored with #pragma
  3868. pop_macro("macro-name") to its saved definition.
  3869. * Enable 128-bit long double (__float128) support on MinGW and
  3870. Cygwin.
  3871. Other significant improvements
  3872. Installation changes
  3873. * An install-strip make target is provided that installs stripped
  3874. executables, and may install libraries with unneeded or debugging
  3875. sections stripped.
  3876. * On Power7 systems, there is a potential problem if you build the
  3877. GCC compiler with a host compiler using options that enable the VSX
  3878. instruction set generation. If the host compiler has been patched
  3879. so that the vec_ld and vec_st builtin functions generate Altivec
  3880. memory instructions instead of VSX memory instructions, then you
  3881. should be able to build the compiler with VSX instruction
  3882. generation.
  3883. Changes for GCC Developers
  3884. Note: these changes concern developers that develop GCC itself or
  3885. software that integrates with GCC, such as plugins, and not the general
  3886. GCC users.
  3887. * The gengtype utility, which previously was internal to the GCC
  3888. build process, has been enchanced to provide GC root information
  3889. for plugins as necessary.
  3890. * The old GC allocation interface of ggc_alloc and friends was
  3891. replaced with a type-safe alternative.
  3892. GCC 4.6.1
  3893. This is the [20]list of problem reports (PRs) from GCC's bug tracking
  3894. system that are known to be fixed in the 4.6.1 release. This list might
  3895. not be complete (that is, it is possible that some PRs that have been
  3896. fixed are not listed here).
  3897. GCC 4.6.2
  3898. This is the [21]list of problem reports (PRs) from GCC's bug tracking
  3899. system that are known to be fixed in the 4.6.2 release. This list might
  3900. not be complete (that is, it is possible that some PRs that have been
  3901. fixed are not listed here).
  3902. GCC 4.6.3
  3903. This is the [22]list of problem reports (PRs) from GCC's bug tracking
  3904. system that are known to be fixed in the 4.6.3 release. This list might
  3905. not be complete (that is, it is possible that some PRs that have been
  3906. fixed are not listed here).
  3907. GCC 4.6.4
  3908. This is the [23]list of problem reports (PRs) from GCC's bug tracking
  3909. system that are known to be fixed in the 4.6.4 release. This list might
  3910. not be complete (that is, it is possible that some PRs that have been
  3911. fixed are not listed here).
  3912. For questions related to the use of GCC, please consult these web
  3913. pages and the [24]GCC manuals. If that fails, the
  3914. [25]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  3915. web pages and the development of GCC are welcome on our developer
  3916. list at [26]gcc@gcc.gnu.org. All of [27]our lists have public
  3917. archives.
  3918. Copyright (C) [28]Free Software Foundation, Inc. Verbatim copying and
  3919. distribution of this entire article is permitted in any medium,
  3920. provided this notice is preserved.
  3921. These pages are [29]maintained by the GCC team. Last modified
  3922. 2014-12-06[30].
  3923. References
  3924. 1. http://sourceware.org/bugzilla/show_bug.cgi?id=10401
  3925. 2. http://gcc.gnu.org/gcc-4.5/changes.html
  3926. 3. http://gcc.gnu.org/gcc-4.5/changes.html#obsoleted
  3927. 4. http://gcc.gnu.org/gcc-4.6/porting_to.html
  3928. 5. http://gcc.gnu.org/projects/lto/whopr.pdf
  3929. 6. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
  3930. 7. http://gcc.gnu.org/gcc-4.6/cxx0x_status.html
  3931. 8. https://gcc.gnu.org/PR43145
  3932. 9. https://gcc.gnu.org/PR43680
  3933. 10. https://gcc.gnu.org/PR33558
  3934. 11. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#253
  3935. 12. https://gcc.gnu.org/onlinedocs/gcc-4.6.4/libstdc++/manual/manual/status.html#status.iso.200x
  3936. 13. https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html
  3937. 14. https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html#debug.races
  3938. 15. https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
  3939. 16. https://gcc.gnu.org/wiki/OOP
  3940. 17. https://gcc.gnu.org/wiki/Coarray
  3941. 18. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfcoarray_007d-233
  3942. 19. http://golang.org/
  3943. 20. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.1
  3944. 21. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.2
  3945. 22. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.3
  3946. 23. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.4
  3947. 24. https://gcc.gnu.org/onlinedocs/
  3948. 25. mailto:gcc-help@gcc.gnu.org
  3949. 26. mailto:gcc@gcc.gnu.org
  3950. 27. https://gcc.gnu.org/lists.html
  3951. 28. http://www.fsf.org/
  3952. 29. https://gcc.gnu.org/about.html
  3953. 30. http://validator.w3.org/check/referer
  3954. ======================================================================
  3955. http://gcc.gnu.org/gcc-4.5/index.html
  3956. GCC 4.5 Release Series
  3957. Jul 2, 2012
  3958. The [1]GNU project and the GCC developers are pleased to announce the
  3959. release of GCC 4.5.4.
  3960. This release is a bug-fix release, containing fixes for regressions in
  3961. GCC 4.5.3 relative to previous releases of GCC.
  3962. Release History
  3963. GCC 4.5.4
  3964. Jul 2, 2012 ([2]changes)
  3965. GCC 4.5.3
  3966. Apr 28, 2011 ([3]changes)
  3967. GCC 4.5.2
  3968. Dec 16, 2010 ([4]changes)
  3969. GCC 4.5.1
  3970. Jul 31, 2010 ([5]changes)
  3971. GCC 4.5.0
  3972. April 14, 2010 ([6]changes)
  3973. References and Acknowledgements
  3974. GCC used to stand for the GNU C Compiler, but since the compiler
  3975. supports several other languages aside from C, it now stands for the
  3976. GNU Compiler Collection.
  3977. A list of [7]successful builds is updated as new information becomes
  3978. available.
  3979. The GCC developers would like to thank the numerous people that have
  3980. contributed new features, improvements, bug fixes, and other changes as
  3981. well as test results to GCC. This [8]amazing group of volunteers is
  3982. what makes GCC successful.
  3983. For additional information about GCC please refer to the [9]GCC project
  3984. web site or contact the [10]GCC development mailing list.
  3985. To obtain GCC please use [11]our mirror sites or [12]our SVN server.
  3986. For questions related to the use of GCC, please consult these web
  3987. pages and the [13]GCC manuals. If that fails, the
  3988. [14]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  3989. web pages and the development of GCC are welcome on our developer
  3990. list at [15]gcc@gcc.gnu.org. All of [16]our lists have public
  3991. archives.
  3992. Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
  3993. distribution of this entire article is permitted in any medium,
  3994. provided this notice is preserved.
  3995. These pages are [18]maintained by the GCC team. Last modified
  3996. 2014-06-28[19].
  3997. References
  3998. 1. http://www.gnu.org/
  3999. 2. http://gcc.gnu.org/gcc-4.5/changes.html
  4000. 3. http://gcc.gnu.org/gcc-4.5/changes.html
  4001. 4. http://gcc.gnu.org/gcc-4.5/changes.html
  4002. 5. http://gcc.gnu.org/gcc-4.5/changes.html
  4003. 6. http://gcc.gnu.org/gcc-4.5/changes.html
  4004. 7. http://gcc.gnu.org/gcc-4.5/buildstat.html
  4005. 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  4006. 9. http://gcc.gnu.org/index.html
  4007. 10. mailto:gcc@gcc.gnu.org
  4008. 11. http://gcc.gnu.org/mirrors.html
  4009. 12. http://gcc.gnu.org/svn.html
  4010. 13. https://gcc.gnu.org/onlinedocs/
  4011. 14. mailto:gcc-help@gcc.gnu.org
  4012. 15. mailto:gcc@gcc.gnu.org
  4013. 16. https://gcc.gnu.org/lists.html
  4014. 17. http://www.fsf.org/
  4015. 18. https://gcc.gnu.org/about.html
  4016. 19. http://validator.w3.org/check/referer
  4017. ======================================================================
  4018. http://gcc.gnu.org/gcc-4.5/changes.html
  4019. GCC 4.5 Release Series
  4020. Changes, New Features, and Fixes
  4021. Caveats
  4022. * GCC now requires the [1]MPC library in order to build. See the
  4023. [2]prerequisites page for version requirements.
  4024. * Support for a number of older systems and recently unmaintained or
  4025. untested target ports of GCC has been declared obsolete in GCC 4.5.
  4026. Unless there is activity to revive them, the next release of GCC
  4027. will have their sources permanently removed.
  4028. The following ports for individual systems on particular
  4029. architectures have been obsoleted:
  4030. + IRIX releases before 6.5 (mips-sgi-irix5*,
  4031. mips-sgi-irix6.[0-4])
  4032. + Solaris 7 (*-*-solaris2.7)
  4033. + Tru64 UNIX releases before V5.1 (alpha*-dec-osf4*,
  4034. alpha-dec-osf5.0*)
  4035. + Details for the IRIX, Solaris 7, and Tru64 UNIX obsoletions
  4036. can be found in the [3]announcement.
  4037. Support for the classic POWER architecture implemented in the
  4038. original RIOS and RIOS2 processors of the old IBM RS/6000 product
  4039. line has been obsoleted in the rs6000 port. This does not affect
  4040. the new generation Power and PowerPC architectures.
  4041. * Support has been removed for all the [4]configurations obsoleted in
  4042. GCC 4.4.
  4043. * Support has been removed for the protoize and unprotoize utilities,
  4044. obsoleted in GCC 4.4.
  4045. * Support has been removed for tuning for Itanium1 (Merced) variants.
  4046. Note that code tuned for Itanium2 should also run correctly on
  4047. Itanium1.
  4048. * GCC now generates unwind info also for epilogues. DWARF debuginfo
  4049. generated by GCC now uses more features of DWARF3 than before, and
  4050. also some DWARF4 features. GDB older than 7.0 is not able to handle
  4051. either of these, so to debug GCC 4.5 generated binaries or
  4052. libraries GDB 7.0 or later is needed. You can disable use of DWARF4
  4053. features with the -gdwarf-3 -gstrict-dwarf options, or use
  4054. -gdwarf-2 -gstrict-dwarf to restrict GCC to just DWARF2, but
  4055. epilogue unwind info is emitted unconditionally whenever unwind
  4056. info is emitted.
  4057. * On x86 targets, code containing floating-point calculations may run
  4058. significantly slower when compiled with GCC 4.5 in strict C99
  4059. conformance mode than they did with earlier GCC versions. This is
  4060. due to stricter standard conformance of the compiler and can be
  4061. avoided by using the option -fexcess-precision=fast; also see
  4062. [5]below.
  4063. * The function attribute noinline no longer prevents GCC from cloning
  4064. the function. A new attribute noclone has been introduced for this
  4065. purpose. Cloning a function means that it is duplicated and the new
  4066. copy is specialized for certain contexts (for example when a
  4067. parameter is a known constant).
  4068. General Optimizer Improvements
  4069. * The -save-temps now takes an optional argument. The -save-temps and
  4070. -save-temps=cwd switches write the temporary files in the current
  4071. working directory based on the original source file. The
  4072. -save-temps=obj switch will write files into the directory
  4073. specified with the -o option, and the intermediate filenames are
  4074. based on the output file. This will allow the user to get the
  4075. compiler intermediate files when doing parallel builds without two
  4076. builds of the same filename located in different directories from
  4077. interfering with each other.
  4078. * Debugging dumps are now created in the same directory as the object
  4079. file rather than in the current working directory. This allows the
  4080. user to get debugging dumps when doing parallel builds without two
  4081. builds of the same filename interfering with each other.
  4082. * GCC has been integrated with the [6]MPC library. This allows GCC to
  4083. evaluate complex arithmetic at compile time [7]more accurately. It
  4084. also allows GCC to evaluate calls to complex built-in math
  4085. functions having constant arguments and replace them at compile
  4086. time with their mathematically equivalent results. In doing so, GCC
  4087. can generate correct results regardless of the math library
  4088. implementation or floating point precision of the host platform.
  4089. This also allows GCC to generate identical results regardless of
  4090. whether one compiles in native or cross-compile configurations to a
  4091. particular target. The following built-in functions take advantage
  4092. of this new capability: cacos, cacosh, casin, casinh, catan,
  4093. catanh, ccos, ccosh, cexp, clog, cpow, csin, csinh, csqrt, ctan,
  4094. and ctanh. The float and long double variants of these functions
  4095. (e.g. csinf and csinl) are also handled.
  4096. * A new link-time optimizer has been added ([8]-flto). When this
  4097. option is used, GCC generates a bytecode representation of each
  4098. input file and writes it to specially-named sections in each object
  4099. file. When the object files are linked together, all the function
  4100. bodies are read from these named sections and instantiated as if
  4101. they had been part of the same translation unit. This enables
  4102. interprocedural optimizations to work across different files (and
  4103. even different languages), potentially improving the performance of
  4104. the generated code. To use the link-timer optimizer, -flto needs to
  4105. be specified at compile time and during the final link. If the
  4106. program does not require any symbols to be exported, it is possible
  4107. to combine -flto and the experimental [9]-fwhopr with
  4108. [10]-fwhole-program to allow the interprocedural optimizers to use
  4109. more aggressive assumptions.
  4110. * The automatic parallelization pass was enhanced to support
  4111. parallelization of outer loops.
  4112. * Automatic parallelization can be enabled as part of Graphite. In
  4113. addition to -ftree-parallelize-loops=, specify
  4114. -floop-parallelize-all to enable the Graphite-based optimization.
  4115. * The infrastructure for optimizing based on [11]restrict qualified
  4116. pointers has been rewritten and should result in code generation
  4117. improvements. Optimizations based on restrict qualified pointers
  4118. are now also available when using -fno-strict-aliasing.
  4119. * There is a new optimization pass that attempts to change prototype
  4120. of functions to avoid unused parameters, pass only relevant parts
  4121. of structures and turn arguments passed by reference to arguments
  4122. passed by value when possible. It is enabled by -O2 and above as
  4123. well as -Os and can be manually invoked using the new command-line
  4124. switch -fipa-sra.
  4125. * GCC now optimize exception handling code. In particular cleanup
  4126. regions that are proved to not have any effect are optimized out.
  4127. New Languages and Language specific improvements
  4128. All languages
  4129. * The -fshow-column option is now on by default. This means error
  4130. messages now have a column associated with them.
  4131. Ada
  4132. * Compilation of programs heavily using discriminated record types
  4133. with variant parts has been sped up and generates more compact
  4134. code.
  4135. * Stack checking now works reasonably well on most plaforms. In some
  4136. specific cases, stack overflows may still fail to be detected, but
  4137. a compile-time warning will be issued for these cases.
  4138. C family
  4139. * If a header named in a #include directive is not found, the
  4140. compiler exits immediately. This avoids a cascade of errors arising
  4141. from declarations expected to be found in that header being
  4142. missing.
  4143. * A new built-in function __builtin_unreachable() has been added that
  4144. tells the compiler that control will never reach that point. It may
  4145. be used after asm statements that terminate by transferring control
  4146. elsewhere, and in other places that are known to be unreachable.
  4147. * The -Wlogical-op option now warns for logical expressions such as
  4148. (c == 1 && c == 2) and (c != 1 || c != 2), which are likely to be
  4149. mistakes. This option is disabled by default.
  4150. * An asm goto feature has been added to allow asm statements that
  4151. jump to C labels.
  4152. * C++0x raw strings are supported for C++ and for C with -std=gnu99.
  4153. * The deprecated attribute now takes an optional string argument, for
  4154. example, __attribute__((deprecated("text string"))), that will be
  4155. printed together with the deprecation warning.
  4156. C
  4157. * The -Wenum-compare option, which warns when comparing values of
  4158. different enum types, now works for C. It formerly only worked for
  4159. C++. This warning is enabled by -Wall. It may be avoided by using a
  4160. type cast.
  4161. * The -Wcast-qual option now warns about casts which are unsafe in
  4162. that they permit const-correctness to be violated without further
  4163. warnings. Specifically, it warns about cases where a qualifier is
  4164. added when all the lower types are not const. For example, it warns
  4165. about a cast from char ** to const char **.
  4166. * The -Wc++-compat option is significantly improved. It issues new
  4167. warnings for:
  4168. + Using C++ reserved operator names as identifiers.
  4169. + Conversions to enum types without explicit casts.
  4170. + Using va_arg with an enum type.
  4171. + Using different enum types in the two branches of ?:.
  4172. + Using ++ or -- on a variable of enum type.
  4173. + Using the same name as both a struct, union or enum tag and a
  4174. typedef, unless the typedef refers to the tagged type itself.
  4175. + Using a struct, union, or enum which is defined within another
  4176. struct or union.
  4177. + A struct field defined using a typedef if there is a field in
  4178. the struct, or an enclosing struct, whose name is the typedef
  4179. name.
  4180. + Duplicate definitions at file scope.
  4181. + Uninitialized const variables.
  4182. + A global variable with an anonymous struct, union, or enum
  4183. type.
  4184. + Using a string constant to initialize a char array whose size
  4185. is the length of the string.
  4186. * The new -Wjump-misses-init option warns about cases where a goto or
  4187. switch skips the initialization of a variable. This sort of branch
  4188. is an error in C++ but not in C. This warning is enabled by
  4189. -Wc++-compat.
  4190. * GCC now ensures that a C99-conforming <stdint.h> is present on most
  4191. targets, and uses information about the types in this header to
  4192. implement the Fortran bindings to those types. GCC does not ensure
  4193. the presence of such a header, and does not implement the Fortran
  4194. bindings, on the following targets: NetBSD, VxWorks, VMS,
  4195. SymbianOS, WinCE, LynxOS, Netware, QNX, Interix, TPF.
  4196. * GCC now implements C90- and C99-conforming rules for constant
  4197. expressions. This may cause warnings or errors for some code using
  4198. expressions that can be folded to a constant but are not constant
  4199. expressions as defined by ISO C.
  4200. * All known target-independent C90 and C90 Amendment 1 conformance
  4201. bugs, and all known target-independent C99 conformance bugs not
  4202. related to floating point or extended identifiers, have been fixed.
  4203. * The C decimal floating point support now includes support for the
  4204. FLOAT_CONST_DECIMAL64 pragma.
  4205. * The named address space feature from ISO/IEC TR 18037 is now
  4206. supported. This is currently only implemented for the SPU
  4207. processor.
  4208. C++
  4209. * Improved [12]experimental support for the upcoming C++0x ISO C++
  4210. standard, including support for raw strings, lambda expressions and
  4211. explicit type conversion operators.
  4212. * When printing the name of a class template specialization, G++ will
  4213. now omit any template arguments which come from default template
  4214. arguments. This behavior (and the pretty-printing of function
  4215. template specializations as template signature and arguments) can
  4216. be disabled with the -fno-pretty-templates option.
  4217. * Access control is now applied to typedef names used in a template,
  4218. which may cause G++ to reject some ill-formed code that was
  4219. accepted by earlier releases. The -fno-access-control option can be
  4220. used as a temporary workaround until the code is corrected.
  4221. * Compilation time for code that uses templates should now scale
  4222. linearly with the number of instantiations rather than
  4223. quadratically, as template instantiations are now looked up using
  4224. hash tables.
  4225. * Declarations of functions that look like builtin declarations of
  4226. library functions are only considered to be redeclarations if they
  4227. are declared with extern "C". This may cause problems with code
  4228. that omits extern "C" on hand-written declarations of C library
  4229. functions such as abort or memcpy. Such code is ill-formed, but was
  4230. accepted by earlier releases.
  4231. * Diagnostics that used to complain about passing non-POD types to
  4232. ... or jumping past the declaration of a non-POD variable now check
  4233. for triviality rather than PODness, as per C++0x.
  4234. * In C++0x mode local and anonymous classes are now allowed as
  4235. template arguments, and in declarations of variables and functions
  4236. with linkage, so long as any such declaration that is used is also
  4237. defined ([13]DR 757).
  4238. * Labels may now have attributes, as has been permitted for a while
  4239. in C. This is only permitted when the label definition and the
  4240. attribute specifier is followed by a semicolon--i.e., the label
  4241. applies to an empty statement. The only useful attribute for a
  4242. label is unused.
  4243. * G++ now implements [14]DR 176. Previously G++ did not support using
  4244. the injected-class-name of a template base class as a type name,
  4245. and lookup of the name found the declaration of the template in the
  4246. enclosing scope. Now lookup of the name finds the
  4247. injected-class-name, which can be used either as a type or as a
  4248. template, depending on whether or not the name is followed by a
  4249. template argument list. As a result of this change, some code that
  4250. was previously accepted may be ill-formed because
  4251. 1. The injected-class-name is not accessible because it's from a
  4252. private base, or
  4253. 2. The injected-class-name cannot be used as an argument for a
  4254. template template parameter.
  4255. In either of these cases, the code can be fixed by adding a
  4256. nested-name-specifier to explicitly name the template. The first
  4257. can be worked around with -fno-access-control; the second is only
  4258. rejected with -pedantic.
  4259. * A new standard mangling for SIMD vector types has been added, to
  4260. avoid name clashes on systems with vectors of varying length. By
  4261. default the compiler still uses the old mangling, but emits aliases
  4262. with the new mangling on targets that support strong aliases. Users
  4263. can switch over entirely to the new mangling with -fabi-version=4
  4264. or -fabi-version=0. -Wabi will now warn about code that uses the
  4265. old mangling.
  4266. * The command-line option -ftemplate-depth-N is now written as
  4267. -ftemplate-depth=N and the old form is deprecated.
  4268. * Conversions between NULL and non-pointer types are now warned by
  4269. default. The new option -Wno-conversion-null disables these
  4270. warnings. Previously these warnings were only available when using
  4271. -Wconversion explicitly.
  4272. Runtime Library (libstdc++)
  4273. * Improved experimental support for the upcoming ISO C++ standard,
  4274. C++0x, including:
  4275. + Support for <future>, <functional>, and <random>.
  4276. + Existing facilities now exploit explicit operators and the
  4277. newly implemented core C++0x features.
  4278. + The header <cstdatomic> has been renamed to <atomic>.
  4279. * An experimental [15]profile mode has been added. This is an
  4280. implementation of many C++ standard library constructs with an
  4281. additional analysis layer that gives performance improvement advice
  4282. based on recognition of suboptimal usage patterns. For example,
  4283. #include <vector>
  4284. int main()
  4285. {
  4286. std::vector<int> v;
  4287. for (int k = 0; k < 1024; ++k)
  4288. v.insert(v.begin(), k);
  4289. }
  4290. When instrumented via the profile mode, can return suggestions
  4291. about the initial size and choice of the container used as follows:
  4292. vector-to-list: improvement = 5: call stack = 0x804842c ...
  4293. : advice = change std::vector to std::list
  4294. vector-size: improvement = 3: call stack = 0x804842c ...
  4295. : advice = change initial container size from 0 to 1024
  4296. These constructs can be substituted for the normal libstdc++
  4297. constructs on a piecemeal basis, or all existing components can be
  4298. transformed via the -D_GLIBCXX_PROFILE macro.
  4299. * [16]Support for decimal floating-point arithmetic (aka ISO C++ TR
  4300. 24733) has been added. This support is in header file
  4301. <decimal/decimal>, uses namespace std::decimal, and includes
  4302. classes decimal32, decimal64, and decimal128.
  4303. * Sources have been audited for application of function attributes
  4304. nothrow, const, pure, and noreturn.
  4305. * Python pretty-printers have been added for many standard library
  4306. components that simplify the internal representation and present a
  4307. more intuitive view of components when used with
  4308. appropriately-advanced versions of GDB. For more information,
  4309. please consult the more [17]detailed description.
  4310. * The default behavior for comparing typeinfo names has changed, so
  4311. in <typeinfo>, __GXX_MERGED_TYPEINFO_NAMES now defaults to zero.
  4312. * The new -static-libstdc++ option directs g++ to link the C++
  4313. library statically, even if the default would normally be to link
  4314. it dynamically.
  4315. Fortran
  4316. * The COMMON default padding has been changed - instead of adding the
  4317. padding before a variable it is now added afterwards, which
  4318. increases the compatibility with other vendors and helps to obtain
  4319. the correct output in some cases. Cf. also the -falign-commons
  4320. option ([18]added in 4.4).
  4321. * The -finit-real= option now also supports the value snan for
  4322. signalling not-a-number; to be effective, one additionally needs to
  4323. enable trapping (e.g. via -ffpe-trap=). Note: Compile-time
  4324. optimizations can turn a signalling NaN into a quiet one.
  4325. * The new option -fcheck= has been added with the options bounds,
  4326. array-temps, do, pointer, and recursive. The bounds and array-temps
  4327. options are equivalent to -fbounds-check and
  4328. -fcheck-array-temporaries. The do option checks for invalid
  4329. modification of loop iteration variables, and the recursive option
  4330. tests for recursive calls to subroutines/functions which are not
  4331. marked as recursive. With pointer pointer association checks in
  4332. calls are performed; however, neither undefined pointers nor
  4333. pointers in expressions are handled. Using -fcheck=all enables all
  4334. these run-time checks.
  4335. * The run-time checking -fcheck=bounds now warns about invalid string
  4336. lengths of character dummy arguments. Additionally, more
  4337. compile-time checks have been added.
  4338. * The new option [19]-fno-protect-parens has been added; if set, the
  4339. compiler may reorder REAL and COMPLEX expressions without regard to
  4340. parentheses.
  4341. * GNU Fortran no longer links against libgfortranbegin. As before,
  4342. MAIN__ (assembler symbol name) is the actual Fortran main program,
  4343. which is invoked by the main function. However, main is now
  4344. generated and put in the same object file as MAIN__. For the time
  4345. being, libgfortranbegin still exists for backward compatibility.
  4346. For details see the new [20]Mixed-Language Programming chapter in
  4347. the manual.
  4348. * The I/O library was restructured for performance and cleaner code.
  4349. * Array assignments and WHERE are now run in parallel when OpenMP's
  4350. WORKSHARE is used.
  4351. * The experimental option -fwhole-file was added. The option allows
  4352. whole-file checking of procedure arguments and allows for better
  4353. optimizations. It can also be used with -fwhole-program, which is
  4354. now also supported in gfortran.
  4355. * More Fortran 2003 and Fortran 2008 mathematical functions can now
  4356. be used as initialization expressions.
  4357. * Some extended attributes such as STDCALL are now supported via the
  4358. [21]GCC$ compiler directive.
  4359. * For Fortran 77 compatibility: If -fno-sign-zero is used, the SIGN
  4360. intrinsic behaves now as if zero were always positive.
  4361. * For legacy compatibiliy: On Cygwin and MinGW, the special files
  4362. CONOUT$ and CONIN$ (and CONERR$ which maps to CONOUT$) are now
  4363. supported.
  4364. * Fortran 2003 support has been extended:
  4365. + Procedure-pointer function results and procedure-pointer
  4366. components (including PASS),
  4367. + allocatable scalars (experimental),
  4368. + DEFERRED type-bound procedures,
  4369. + the ERRMSG= argument of the ALLOCATE and DEALLOCATE statements
  4370. have been implemented.
  4371. + The ALLOCATE statement supports type-specs and the SOURCE=
  4372. argument.
  4373. + OPERATOR(*) and ASSIGNMENT(=) are now allowed as GENERIC
  4374. type-bound procedure (i.e. as type-bound operators).
  4375. + Rounding (ROUND=, RZ, ...) for output is now supported.
  4376. + The INT_FAST{8,16,32,64,128}_T kind type parameters of the
  4377. intrinsic module ISO_C_BINDING are now supported, except for
  4378. the targets listed above as ones where GCC does not have
  4379. <stdint.h> type information.
  4380. + Extensible derived types with type-bound procedure or
  4381. procedure pointer with PASS attribute now have to use CLASS in
  4382. line with the Fortran 2003 standard; the workaround to use
  4383. TYPE is no longer supported.
  4384. + [22]Experimental, incomplete support for polymorphism,
  4385. including CLASS, SELECT TYPE and dynamic dispatch of
  4386. type-bound procedure calls. Some features do not work yet such
  4387. as unlimited polymorphism (CLASS(*)).
  4388. * Fortran 2008 support has been extended:
  4389. + The OPEN statement now supports the NEWUNIT= option, which
  4390. returns a unique file unit, thus preventing inadvertent use of
  4391. the same unit in different parts of the program.
  4392. + Support for unlimited format items has been added.
  4393. + The INT{8,16,32} and REAL{32,64,128} kind type parameters of
  4394. the intrinsic module ISO_FORTRAN_ENV are now supported.
  4395. + Using complex arguments with TAN, SINH, COSH, TANH, ASIN,
  4396. ACOS, and ATAN is now possible; the functions ASINH, ACOSH,
  4397. and ATANH have been added (for real and complex arguments) and
  4398. ATAN(Y,X) is now an alias for ATAN2(Y,X).
  4399. + The BLOCK construct has been implemented.
  4400. New Targets and Target Specific Improvements
  4401. AIX
  4402. * Full cross-toolchain support now available with GNU Binutils
  4403. ARM
  4404. * GCC now supports the Cortex-M0 and Cortex-A5 processors.
  4405. * GCC now supports the ARM v7E-M architecture.
  4406. * GCC now supports VFPv4-based FPUs and FPUs with
  4407. single-precision-only VFP.
  4408. * GCC has many improvements to optimization for other ARM processors,
  4409. including scheduling support for the integer pipeline on Cortex-A9.
  4410. * GCC now supports the IEEE 754-2008 half-precision floating-point
  4411. type, and a variant ARM-specific half-precision type. This type is
  4412. specified using __fp16, with the layout determined by
  4413. -mfp16-format. With appropriate -mfpu options, the Cortex-A9 and
  4414. VFPv4 half-precision instructions will be used.
  4415. * GCC now supports the variant of AAPCS that uses VFP registers for
  4416. parameter passing and return values.
  4417. AVR
  4418. * The -mno-tablejump option has been removed because it has the same
  4419. effect as the -fno-jump-tables option.
  4420. * Added support for these new AVR devices:
  4421. + ATmega8U2
  4422. + ATmega16U2
  4423. + ATmega32U2
  4424. IA-32/x86-64
  4425. * GCC now will set the default for -march= based on the configure
  4426. target.
  4427. * GCC now supports handling floating-point excess precision arising
  4428. from use of the x87 floating-point unit in a way that conforms to
  4429. ISO C99. This is enabled with -fexcess-precision=standard and with
  4430. standards conformance options such as -std=c99, and may be disabled
  4431. using -fexcess-precision=fast.
  4432. * Support for the Intel Atom processor is now available through the
  4433. -march=atom and -mtune=atom options.
  4434. * A new -mcrc32 option is now available to enable crc32 intrinsics.
  4435. * A new -mmovbe option is now available to enable GCC to use the
  4436. movbe instruction to implement __builtin_bswap32 and
  4437. __builtin_bswap64.
  4438. * SSE math now can be enabled by default at configure time with the
  4439. new --with-fpmath=sse option.
  4440. * There is a new intrinsic header file, <x86intrin.h>. It should be
  4441. included before using any IA-32/x86-64 intrinsics.
  4442. * Support for the XOP, FMA4, and LWP instruction sets for the AMD
  4443. Orochi processors are now available with the -mxop, -mfma4, and
  4444. -mlwp options.
  4445. * The -mabm option enables GCC to use the popcnt and lzcnt
  4446. instructions on AMD processors.
  4447. * The -mpopcnt option enables GCC to use the popcnt instructions on
  4448. both AMD and Intel processors.
  4449. M68K/ColdFire
  4450. * GCC now supports ColdFire 51xx, 5221x, 5225x, 52274, 52277, 5301x
  4451. and 5441x devices.
  4452. * GCC now supports thread-local storage (TLS) on M68K and ColdFire
  4453. processors.
  4454. MeP
  4455. Support has been added for the Toshiba Media embedded Processor (MeP,
  4456. or mep-elf) embedded target.
  4457. MIPS
  4458. * GCC now supports MIPS 1004K processors.
  4459. * GCC can now be configured with options --with-arch-32,
  4460. --with-arch-64, --with-tune-32 and --with-tune-64 to control the
  4461. default optimization separately for 32-bit and 64-bit modes.
  4462. * MIPS targets now support an alternative _mcount interface, in which
  4463. register $12 points to the function's save slot for register $31.
  4464. This interface is selected by the -mcount-ra-address option; see
  4465. the documentation for more details.
  4466. * GNU/Linux targets can now generate read-only .eh_frame sections.
  4467. This optimization requires GNU binutils 2.20 or above, and is only
  4468. available if GCC is configured with a suitable version of binutils.
  4469. * GNU/Linux targets can now attach special relocations to indirect
  4470. calls, so that the linker can turn them into direct jumps or
  4471. branches. This optimization requires GNU binutils 2.20 or later,
  4472. and is automatically selected if GCC is configured with an
  4473. appropriate version of binutils. It can be explicitly enabled or
  4474. disabled using the -mrelax-pic-calls command-line option.
  4475. * GCC now generates more heavily-optimized atomic operations on
  4476. Octeon processors.
  4477. * MIPS targets now support the -fstack-protector option.
  4478. * GCC now supports an -msynci option, which specifies that synci is
  4479. enough to flush the instruction cache, without help from the
  4480. operating system. GCC uses this information to optimize
  4481. automatically-generated cache flush operations, such as those used
  4482. for nested functions in C. There is also a --with-synci
  4483. configure-time option, which makes -msynci the default.
  4484. * GCC supports four new function attributes for interrupt handlers:
  4485. interrupt, use_shadow_register_set, keep_interrupts_masked and
  4486. use_debug_exception_return. See the documentation for more details
  4487. about these attributes.
  4488. RS/6000 (POWER/PowerPC)
  4489. * GCC now supports the Power ISA 2.06, which includes the VSX
  4490. instructions that add vector 64-bit floating point support, new
  4491. population count instructions, and conversions between floating
  4492. point and unsigned types.
  4493. * Support for the power7 processor is now available through the
  4494. -mcpu=power7 and -mtune=power7.
  4495. * GCC will now vectorize loops that contain simple math functions
  4496. like copysign when generating code for altivec or VSX targets.
  4497. * Support for the A2 processor is now available through the -mcpu=a2
  4498. and -mtune=a2 options.
  4499. * Support for the 476 processor is now available through the
  4500. -mcpu={476,476fp} and -mtune={476,476fp} options.
  4501. * Support for the e500mc64 processor is now available through the
  4502. -mcpu=e500mc64 and -mtune=e500mc64 options.
  4503. * GCC can now be configured with options --with-cpu-32,
  4504. --with-cpu-64, --with-tune-32 and --with-tune-64 to control the
  4505. default optimization separately for 32-bit and 64-bit modes.
  4506. * Starting with GCC 4.5.4, vectors of type vector long long or vector
  4507. long are passed and returned in the same method as other vectors
  4508. with the VSX instruction set. Previously the GCC compiler did not
  4509. adhere to the ABI for 128-bit vectors with 64-bit integer base
  4510. types (PR 48857). This is also fixed in the GCC 4.6.1 release.
  4511. RX
  4512. Support has been added for the Renesas RX Processor (rx-elf) target.
  4513. Operating Systems
  4514. Windows (Cygwin and MinGW)
  4515. * GCC now installs all the major language runtime libraries as DLLs
  4516. when configured with the --enable-shared option.
  4517. * GCC now makes use of the new support for aligned common variables
  4518. in versions of binutils >= 2.20 to fix bugs in the support for SSE
  4519. data types.
  4520. * Improvements to the libffi support library increase the reliability
  4521. of code generated by GCJ on all Windows platforms. Libgcj is
  4522. enabled by default for the first time.
  4523. * Libtool improvements simplify installation by placing the generated
  4524. DLLs in the correct binaries directory.
  4525. * Numerous other minor bugfixes and improvements, and substantial
  4526. enhancements to the Fortran language support library.
  4527. >
  4528. Other significant improvements
  4529. Plugins
  4530. * It is now possible to extend the compiler without having to modify
  4531. its source code. A new option -fplugin=file.so tells GCC to load
  4532. the shared object file.so and execute it as part of the compiler.
  4533. The internal documentation describes the details on how plugins can
  4534. interact with the compiler.
  4535. Installation changes
  4536. * The move to newer autotools changed default installation
  4537. directories and switches to control them: The --with-datarootdir,
  4538. --with-docdir, --with-pdfdir, and --with-htmldir switches are not
  4539. used any more. Instead, you can now use --datarootdir, --docdir,
  4540. --htmldir, and --pdfdir. The default installation directories have
  4541. changed as follows according to the GNU Coding Standards:
  4542. datarootdir read-only architecture-independent data root [PREFIX/share]
  4543. localedir locale-specific message catalogs [DATAROOTDIR/locale]
  4544. docdir documentation root [DATAROOTDIR/doc/PACKAGE]
  4545. htmldir html documentation [DOCDIR]
  4546. dvidir dvi documentation [DOCDIR]
  4547. pdfdir pdf documentation [DOCDIR]
  4548. psdir ps documentation [DOCDIR]
  4549. The following variables have new default values:
  4550. datadir read-only architecture-independent data [DATAROOTDIR]
  4551. infodir info documentation [DATAROOTDIR/info]
  4552. mandir man documentation [DATAROOTDIR/man]
  4553. GCC 4.5.1
  4554. This is the [23]list of problem reports (PRs) from GCC's bug tracking
  4555. system that are known to be fixed in the 4.5.1 release. This list might
  4556. not be complete (that is, it is possible that some PRs that have been
  4557. fixed are not listed here).
  4558. All languages
  4559. * GCC's new link-time optimizer ([24]-flto) now also works on a few
  4560. non-ELF targets:
  4561. + Cygwin (*-cygwin*)
  4562. + MinGW (*-mingw*)
  4563. + Darwin on x86-64 (x86_64-apple-darwin*)
  4564. LTO is not enabled by default for these targets. To enable LTO, you
  4565. should configure with the --enable-lto option.
  4566. GCC 4.5.2
  4567. This is the [25]list of problem reports (PRs) from GCC's bug tracking
  4568. system that are known to be fixed in the 4.5.2 release. This list might
  4569. not be complete (that is, it is possible that some PRs that have been
  4570. fixed are not listed here).
  4571. GCC 4.5.3
  4572. This is the [26]list of problem reports (PRs) from GCC's bug tracking
  4573. system that are known to be fixed in the 4.5.3 release. This list might
  4574. not be complete (that is, it is possible that some PRs that have been
  4575. fixed are not listed here).
  4576. On the PowerPC compiler, the Altivec builtin functions vec_ld and
  4577. vec_st have been modified to generate the Altivec memory instructions
  4578. LVX and STVX, even if the -mvsx option is used. In the initial GCC 4.5
  4579. release, these builtin functions were changed to generate VSX memory
  4580. reference instructions instead of Altivec memory instructions, but
  4581. there are differences between the two instructions. If the VSX
  4582. instruction set is available, you can now use the new builtin functions
  4583. vec_vsx_ld and vec_vsx_st which always generates the VSX memory
  4584. instructions.
  4585. GCC 4.5.4
  4586. This is the [27]list of problem reports (PRs) from GCC's bug tracking
  4587. system that are known to be fixed in the 4.5.4 release. This list might
  4588. not be complete (that is, it is possible that some PRs that have been
  4589. fixed are not listed here).
  4590. For questions related to the use of GCC, please consult these web
  4591. pages and the [28]GCC manuals. If that fails, the
  4592. [29]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  4593. web pages and the development of GCC are welcome on our developer
  4594. list at [30]gcc@gcc.gnu.org. All of [31]our lists have public
  4595. archives.
  4596. Copyright (C) [32]Free Software Foundation, Inc. Verbatim copying and
  4597. distribution of this entire article is permitted in any medium,
  4598. provided this notice is preserved.
  4599. These pages are [33]maintained by the GCC team. Last modified
  4600. 2014-12-06[34].
  4601. References
  4602. 1. http://www.multiprecision.org/
  4603. 2. https://gcc.gnu.org/install/prerequisites.html
  4604. 3. https://gcc.gnu.org/ml/gcc/2010-01/msg00510.html
  4605. 4. http://gcc.gnu.org/gcc-4.4/changes.html#obsoleted
  4606. 5. http://gcc.gnu.org/gcc-4.5/changes.html#x86
  4607. 6. http://www.multiprecision.org/
  4608. 7. https://gcc.gnu.org/PR30789
  4609. 8. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto-801
  4610. 9. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fwhopr-802
  4611. 10. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fwhole-program-800
  4612. 11. https://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html
  4613. 12. http://gcc.gnu.org/gcc-4.5/cxx0x_status.html
  4614. 13. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#757
  4615. 14. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#176
  4616. 15. https://gcc.gnu.org/onlinedocs/libstdc++/manual/profile_mode.html
  4617. 16. https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.tr24733
  4618. 17. http://sourceware.org/gdb/wiki/STLSupport
  4619. 18. http://gcc.gnu.org/gcc-4.4/changes.html
  4620. 19. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html
  4621. 20. https://gcc.gnu.org/onlinedocs/gfortran/Mixed-Language-Programming.html
  4622. 21. https://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-Compiler-Directives.html
  4623. 22. https://gcc.gnu.org/wiki/OOP
  4624. 23. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.1
  4625. 24. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto-801
  4626. 25. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.2
  4627. 26. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.3
  4628. 27. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.4
  4629. 28. https://gcc.gnu.org/onlinedocs/
  4630. 29. mailto:gcc-help@gcc.gnu.org
  4631. 30. mailto:gcc@gcc.gnu.org
  4632. 31. https://gcc.gnu.org/lists.html
  4633. 32. http://www.fsf.org/
  4634. 33. https://gcc.gnu.org/about.html
  4635. 34. http://validator.w3.org/check/referer
  4636. ======================================================================
  4637. http://gcc.gnu.org/gcc-4.4/index.html
  4638. GCC 4.4 Release Series
  4639. March 13, 2012
  4640. The [1]GNU project and the GCC developers are pleased to announce the
  4641. release of GCC 4.4.7.
  4642. This release is a bug-fix release, containing fixes for regressions in
  4643. GCC 4.4.6 relative to previous releases of GCC.
  4644. Release History
  4645. GCC 4.4.7
  4646. March 13, 2012 ([2]changes)
  4647. GCC 4.4.6
  4648. April 16, 2011 ([3]changes)
  4649. GCC 4.4.5
  4650. October 1, 2010 ([4]changes)
  4651. GCC 4.4.4
  4652. April 29, 2010 ([5]changes)
  4653. GCC 4.4.3
  4654. January 21, 2010 ([6]changes)
  4655. GCC 4.4.2
  4656. October 15, 2009 ([7]changes)
  4657. GCC 4.4.1
  4658. July 22, 2009 ([8]changes)
  4659. GCC 4.4.0
  4660. April 21, 2009 ([9]changes)
  4661. References and Acknowledgements
  4662. GCC used to stand for the GNU C Compiler, but since the compiler
  4663. supports several other languages aside from C, it now stands for the
  4664. GNU Compiler Collection.
  4665. A list of [10]successful builds is updated as new information becomes
  4666. available.
  4667. The GCC developers would like to thank the numerous people that have
  4668. contributed new features, improvements, bug fixes, and other changes as
  4669. well as test results to GCC. This [11]amazing group of volunteers is
  4670. what makes GCC successful.
  4671. For additional information about GCC please refer to the [12]GCC
  4672. project web site or contact the [13]GCC development mailing list.
  4673. To obtain GCC please use [14]our mirror sites or [15]our SVN server.
  4674. For questions related to the use of GCC, please consult these web
  4675. pages and the [16]GCC manuals. If that fails, the
  4676. [17]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  4677. web pages and the development of GCC are welcome on our developer
  4678. list at [18]gcc@gcc.gnu.org. All of [19]our lists have public
  4679. archives.
  4680. Copyright (C) [20]Free Software Foundation, Inc. Verbatim copying and
  4681. distribution of this entire article is permitted in any medium,
  4682. provided this notice is preserved.
  4683. These pages are [21]maintained by the GCC team. Last modified
  4684. 2014-06-28[22].
  4685. References
  4686. 1. http://www.gnu.org/
  4687. 2. http://gcc.gnu.org/gcc-4.4/changes.html
  4688. 3. http://gcc.gnu.org/gcc-4.4/changes.html
  4689. 4. http://gcc.gnu.org/gcc-4.4/changes.html
  4690. 5. http://gcc.gnu.org/gcc-4.4/changes.html
  4691. 6. http://gcc.gnu.org/gcc-4.4/changes.html
  4692. 7. http://gcc.gnu.org/gcc-4.4/changes.html
  4693. 8. http://gcc.gnu.org/gcc-4.4/changes.html
  4694. 9. http://gcc.gnu.org/gcc-4.4/changes.html
  4695. 10. http://gcc.gnu.org/gcc-4.4/buildstat.html
  4696. 11. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  4697. 12. http://gcc.gnu.org/index.html
  4698. 13. mailto:gcc@gcc.gnu.org
  4699. 14. http://gcc.gnu.org/mirrors.html
  4700. 15. http://gcc.gnu.org/svn.html
  4701. 16. https://gcc.gnu.org/onlinedocs/
  4702. 17. mailto:gcc-help@gcc.gnu.org
  4703. 18. mailto:gcc@gcc.gnu.org
  4704. 19. https://gcc.gnu.org/lists.html
  4705. 20. http://www.fsf.org/
  4706. 21. https://gcc.gnu.org/about.html
  4707. 22. http://validator.w3.org/check/referer
  4708. ======================================================================
  4709. http://gcc.gnu.org/gcc-4.4/changes.html
  4710. GCC 4.4 Release Series
  4711. Changes, New Features, and Fixes
  4712. The latest release in the 4.4 release series is [1]GCC 4.4.7.
  4713. Caveats
  4714. * __builtin_stdarg_start has been completely removed from GCC.
  4715. Support for <varargs.h> had been deprecated since GCC 4.0. Use
  4716. __builtin_va_start as a replacement.
  4717. * Some of the errors issued by the C++ front end that could be
  4718. downgraded to warnings in previous releases by using -fpermissive
  4719. are now warnings by default. They can be converted into errors by
  4720. using -pedantic-errors.
  4721. * Use of the cpp assertion extension will now emit a warning when
  4722. -Wdeprecated or -pedantic is used. This extension has been
  4723. deprecated for many years, but never warned about.
  4724. * Packed bit-fields of type char were not properly bit-packed on many
  4725. targets prior to GCC 4.4. On these targets, the fix in GCC 4.4
  4726. causes an ABI change. For example there is no longer a 4-bit
  4727. padding between field a and b in this structure:
  4728. struct foo
  4729. {
  4730. char a:4;
  4731. char b:8;
  4732. } __attribute__ ((packed));
  4733. There is a new warning to help identify fields that are affected:
  4734. foo.c:5: note: Offset of packed bit-field 'b' has changed in GCC 4.4
  4735. The warning can be disabled with -Wno-packed-bitfield-compat.
  4736. * On ARM EABI targets, the C++ mangling of the va_list type has been
  4737. changed to conform to the current revision of the EABI. This does
  4738. not affect the libstdc++ library included with GCC.
  4739. * The SCOUNT and POS bits of the MIPS DSP control register are now
  4740. treated as global. Previous versions of GCC treated these fields as
  4741. call-clobbered instead.
  4742. * The MIPS port no longer recognizes the h asm constraint. It was
  4743. necessary to remove this constraint in order to avoid generating
  4744. unpredictable code sequences.
  4745. One of the main uses of the h constraint was to extract the high
  4746. part of a multiplication on 64-bit targets. For example:
  4747. asm ("dmultu\t%1,%2" : "=h" (result) : "r" (x), "r" (y));
  4748. You can now achieve the same effect using 128-bit types:
  4749. typedef unsigned int uint128_t __attribute__((mode(TI)));
  4750. result = ((uint128_t) x * y) >> 64;
  4751. The second sequence is better in many ways. For example, if x and y
  4752. are constants, the compiler can perform the multiplication at
  4753. compile time. If x and y are not constants, the compiler can
  4754. schedule the runtime multiplication better than it can schedule an
  4755. asm statement.
  4756. * Support for a number of older systems and recently unmaintained or
  4757. untested target ports of GCC has been declared obsolete in GCC 4.4.
  4758. Unless there is activity to revive them, the next release of GCC
  4759. will have their sources permanently removed.
  4760. The following ports for individual systems on particular
  4761. architectures have been obsoleted:
  4762. + Generic a.out on IA32 and m68k (i[34567]86-*-aout*,
  4763. m68k-*-aout*)
  4764. + Generic COFF on ARM, H8300, IA32, m68k and SH (arm-*-coff*,
  4765. armel-*-coff*, h8300-*-*, i[34567]86-*-coff*, m68k-*-coff*,
  4766. sh-*-*). This does not affect other more specific targets
  4767. using the COFF object format on those architectures, or the
  4768. more specific H8300 and SH targets (h8300-*-rtems*,
  4769. h8300-*-elf*, sh-*-elf*, sh-*-symbianelf*, sh-*-linux*,
  4770. sh-*-netbsdelf*, sh-*-rtems*, sh-wrs-vxworks).
  4771. + 2BSD on PDP-11 (pdp11-*-bsd)
  4772. + AIX 4.1 and 4.2 on PowerPC (rs6000-ibm-aix4.[12]*,
  4773. powerpc-ibm-aix4.[12]*)
  4774. + Tuning support for Itanium1 (Merced) variants. Note that code
  4775. tuned for Itanium2 should also run correctly on Itanium1.
  4776. * The protoize and unprotoize utilities have been obsoleted and will
  4777. be removed in GCC 4.5. These utilities have not been installed by
  4778. default since GCC 3.0.
  4779. * Support has been removed for all the [2]configurations obsoleted in
  4780. GCC 4.3.
  4781. * Unknown -Wno-* options are now silently ignored by GCC if no other
  4782. diagnostics are issued. If other diagnostics are issued, then GCC
  4783. warns about the unknown options.
  4784. * More information on porting to GCC 4.4 from previous versions of
  4785. GCC can be found in the [3]porting guide for this release.
  4786. General Optimizer Improvements
  4787. * A new command-line switch -findirect-inlining has been added. When
  4788. turned on it allows the inliner to also inline indirect calls that
  4789. are discovered to have known targets at compile time thanks to
  4790. previous inlining.
  4791. * A new command-line switch -ftree-switch-conversion has been added.
  4792. This new pass turns simple initializations of scalar variables in
  4793. switch statements into initializations from a static array, given
  4794. that all the values are known at compile time and the ratio between
  4795. the new array size and the original switch branches does not exceed
  4796. the parameter --param switch-conversion-max-branch-ratio (default
  4797. is eight).
  4798. * A new command-line switch -ftree-builtin-call-dce has been added.
  4799. This optimization eliminates unnecessary calls to certain builtin
  4800. functions when the return value is not used, in cases where the
  4801. calls can not be eliminated entirely because the function may set
  4802. errno. This optimization is on by default at -O2 and above.
  4803. * A new command-line switch -fconserve-stack directs the compiler to
  4804. minimize stack usage even if it makes the generated code slower.
  4805. This affects inlining decisions.
  4806. * When the assembler supports it, the compiler will now emit unwind
  4807. information using assembler .cfi directives. This makes it possible
  4808. to use such directives in inline assembler code. The new option
  4809. -fno-dwarf2-cfi-asm directs the compiler to not use .cfi
  4810. directives.
  4811. * The [4]Graphite branch has been merged. This merge has brought in a
  4812. new framework for loop optimizations based on a polyhedral
  4813. intermediate representation. These optimizations apply to all the
  4814. languages supported by GCC. The following new code transformations
  4815. are available in GCC 4.4:
  4816. + -floop-interchange performs loop interchange transformations
  4817. on loops. Interchanging two nested loops switches the inner
  4818. and outer loops. For example, given a loop like:
  4819. DO J = 1, M
  4820. DO I = 1, N
  4821. A(J, I) = A(J, I) * C
  4822. ENDDO
  4823. ENDDO
  4824. loop interchange will transform the loop as if the user had
  4825. written:
  4826. DO I = 1, N
  4827. DO J = 1, M
  4828. A(J, I) = A(J, I) * C
  4829. ENDDO
  4830. ENDDO
  4831. which can be beneficial when N is larger than the caches,
  4832. because in Fortran, the elements of an array are stored in
  4833. memory contiguously by column, and the original loop iterates
  4834. over rows, potentially creating at each access a cache miss.
  4835. + -floop-strip-mine performs loop strip mining transformations
  4836. on loops. Strip mining splits a loop into two nested loops.
  4837. The outer loop has strides equal to the strip size and the
  4838. inner loop has strides of the original loop within a strip.
  4839. For example, given a loop like:
  4840. DO I = 1, N
  4841. A(I) = A(I) + C
  4842. ENDDO
  4843. loop strip mining will transform the loop as if the user had
  4844. written:
  4845. DO II = 1, N, 4
  4846. DO I = II, min (II + 3, N)
  4847. A(I) = A(I) + C
  4848. ENDDO
  4849. ENDDO
  4850. + -floop-block performs loop blocking transformations on loops.
  4851. Blocking strip mines each loop in the loop nest such that the
  4852. memory accesses of the element loops fit inside caches. For
  4853. example, given a loop like:
  4854. DO I = 1, N
  4855. DO J = 1, M
  4856. A(J, I) = B(I) + C(J)
  4857. ENDDO
  4858. ENDDO
  4859. loop blocking will transform the loop as if the user had
  4860. written:
  4861. DO II = 1, N, 64
  4862. DO JJ = 1, M, 64
  4863. DO I = II, min (II + 63, N)
  4864. DO J = JJ, min (JJ + 63, M)
  4865. A(J, I) = B(I) + C(J)
  4866. ENDDO
  4867. ENDDO
  4868. ENDDO
  4869. ENDDO
  4870. which can be beneficial when M is larger than the caches,
  4871. because the innermost loop will iterate over a smaller amount
  4872. of data that can be kept in the caches.
  4873. * A new register allocator has replaced the old one. It is called
  4874. integrated register allocator (IRA) because coalescing, register
  4875. live range splitting, and hard register preferencing are done
  4876. on-the-fly during coloring. It also has better integration with the
  4877. reload pass. IRA is a regional register allocator which uses modern
  4878. Chaitin-Briggs coloring instead of Chow's priority coloring used in
  4879. the old register allocator. More info about IRA internals and
  4880. options can be found in the GCC manuals.
  4881. * A new instruction scheduler and software pipeliner, based on the
  4882. selective scheduling approach, has been added. The new pass
  4883. performs instruction unification, register renaming, substitution
  4884. through register copies, and speculation during scheduling. The
  4885. software pipeliner is able to pipeline non-countable loops. The new
  4886. pass is targeted at scheduling-eager in-order platforms. In GCC 4.4
  4887. it is available for the Intel Itanium platform working by default
  4888. as the second scheduling pass (after register allocation) at the
  4889. -O3 optimization level.
  4890. * When using -fprofile-generate with a multi-threaded program, the
  4891. profile counts may be slightly wrong due to race conditions. The
  4892. new -fprofile-correction option directs the compiler to apply
  4893. heuristics to smooth out the inconsistencies. By default the
  4894. compiler will give an error message when it finds an inconsistent
  4895. profile.
  4896. * The new -fprofile-dir=PATH option permits setting the directory
  4897. where profile data files are stored when using -fprofile-generate
  4898. and friends, and the directory used when reading profile data files
  4899. using -fprofile-use and friends.
  4900. New warning options
  4901. * The new -Wframe-larger-than=NUMBER option directs GCC to emit a
  4902. warning if any stack frame is larger than NUMBER bytes. This may be
  4903. used to help ensure that code fits within a limited amount of stack
  4904. space.
  4905. * The command-line option -Wlarger-than-N is now written as
  4906. -Wlarger-than=N and the old form is deprecated.
  4907. * The new -Wno-mudflap option disables warnings about constructs
  4908. which can not be instrumented when using -fmudflap.
  4909. New Languages and Language specific improvements
  4910. * Version 3.0 of the [5]OpenMP specification is now supported for the
  4911. C, C++, and Fortran compilers.
  4912. * New character data types, per [6]TR 19769: New character types in
  4913. C, are now supported for the C compiler in -std=gnu99 mode, as
  4914. __CHAR16_TYPE__ and __CHAR32_TYPE__, and for the C++ compiler in
  4915. -std=c++0x and -std=gnu++0x modes, as char16_t and char32_t too.
  4916. C family
  4917. * A new optimize attribute was added to allow programmers to change
  4918. the optimization level and particular optimization options for an
  4919. individual function. You can also change the optimization options
  4920. via the GCC optimize pragma for functions defined after the pragma.
  4921. The GCC push_options pragma and the GCC pop_options pragma allow
  4922. you temporarily save and restore the options used. The GCC
  4923. reset_options pragma restores the options to what was specified on
  4924. the command line.
  4925. * Uninitialized warnings do not require enabling optimization
  4926. anymore, that is, -Wuninitialized can be used together with -O0.
  4927. Nonetheless, the warnings given by -Wuninitialized will probably be
  4928. more accurate if optimization is enabled.
  4929. * -Wparentheses now warns about expressions such as (!x | y) and (!x
  4930. & y). Using explicit parentheses, such as in ((!x) | y), silences
  4931. this warning.
  4932. * -Wsequence-point now warns within if, while,do while and for
  4933. conditions, and within for begin/end expressions.
  4934. * A new option -dU is available to dump definitions of preprocessor
  4935. macros that are tested or expanded.
  4936. C++
  4937. * [7]Improved experimental support for the upcoming ISO C++ standard,
  4938. C++0x. Including support for auto, inline namespaces, generalized
  4939. initializer lists, defaulted and deleted functions, new character
  4940. types, and scoped enums.
  4941. * Those errors that may be downgraded to warnings to build legacy
  4942. code now mention -fpermissive when -fdiagnostics-show-option is
  4943. enabled.
  4944. * -Wconversion now warns if the result of a static_cast to enumeral
  4945. type is unspecified because the value is outside the range of the
  4946. enumeral type.
  4947. * -Wuninitialized now warns if a non-static reference or non-static
  4948. const member appears in a class without constructors.
  4949. * G++ now properly implements value-initialization, so objects with
  4950. an initializer of () and an implicitly defined default constructor
  4951. will be zero-initialized before the default constructor is called.
  4952. Runtime Library (libstdc++)
  4953. * Improved experimental support for the upcoming ISO C++ standard,
  4954. C++0x, including:
  4955. + Support for <chrono>, <condition_variable>, <cstdatomic>,
  4956. <forward_list>, <initializer_list>, <mutex>, <ratio>,
  4957. <system_error>, and <thread>.
  4958. + unique_ptr, <algorithm> additions, exception propagation, and
  4959. support for the new character types in <string> and <limits>.
  4960. + Existing facilities now exploit initializer lists, defaulted
  4961. and deleted functions, and the newly implemented core C++0x
  4962. features.
  4963. + Some standard containers are more efficient together with
  4964. stateful allocators, i.e., no allocator is constructed on the
  4965. fly at element construction time.
  4966. * Experimental support for non-standard pointer types in containers.
  4967. * The long standing libstdc++/30928 has been fixed for targets
  4968. running glibc 2.10 or later.
  4969. * As usual, many small and larger bug fixes, in particular quite a
  4970. few corner cases in <locale>.
  4971. Fortran
  4972. * GNU Fortran now employs libcpp directly instead of using cc1 as an
  4973. external preprocessor. The [8]-cpp option was added to allow manual
  4974. invocation of the preprocessor without relying on filename
  4975. extensions.
  4976. * The [9]-Warray-temporaries option warns about array temporaries
  4977. generated by the compiler, as an aid to optimization.
  4978. * The [10]-fcheck-array-temporaries option has been added, printing a
  4979. notification at run time, when an array temporary had to be created
  4980. for an function argument. Contrary to -Warray-temporaries the
  4981. warning is only printed if the array is noncontiguous.
  4982. * Improved generation of DWARF debugging symbols
  4983. * If using an intrinsic not part of the selected standard (via -std=
  4984. and -fall-intrinsics) gfortran will now treat it as if this
  4985. procedure were declared EXTERNAL and try to link to a user-supplied
  4986. procedure. -Wintrinsics-std will warn whenever this happens. The
  4987. now-useless option -Wnonstd-intrinsic was removed.
  4988. * The flag -falign-commons has been added to control the alignment of
  4989. variables in COMMON blocks, which is enabled by default in line
  4990. with previous GCC version. Using -fno-align-commons one can force
  4991. commons to be contiguous in memory as required by the Fortran
  4992. standard, however, this slows down the memory access. The option
  4993. -Walign-commons, which is enabled by default, warns when padding
  4994. bytes were added for alignment. The proper solution is to sort the
  4995. common objects by decreasing storage size, which avoids the
  4996. alignment problems.
  4997. * Fortran 2003 support has been extended:
  4998. + Wide characters (ISO 10646, UCS-4, kind=4) and UTF-8 I/O is
  4999. now supported (except internal reads from/writes to wide
  5000. strings). [11]-fbackslash now supports also \unnnn and
  5001. \Unnnnnnnn to enter Unicode characters.
  5002. + Asynchronous I/O (implemented as synchronous I/O) and the
  5003. decimal=, size=, sign=, pad=, blank=, and delim= specifiers
  5004. are now supported in I/O statements.
  5005. + Support for Fortran 2003 structure constructors and for array
  5006. constructor with typespec has been added.
  5007. + Procedure Pointers (but not yet as component in derived types
  5008. and as function results) are now supported.
  5009. + Abstract types, type extension, and type-bound procedures
  5010. (both PROCEDURE and GENERIC but not as operators). Note: As
  5011. CLASS/polymorphyic types are not implemented, type-bound
  5012. procedures with PASS accept as non-standard extension TYPE
  5013. arguments.
  5014. * Fortran 2008 support has been added:
  5015. + The -std=f2008 option and support for the file extensions
  5016. .f2008 and .F2008 has been added.
  5017. + The g0 format descriptor is now supported.
  5018. + The Fortran 2008 mathematical intrinsics ASINH, ACOSH, ATANH,
  5019. ERF, ERFC, GAMMA, LOG_GAMMA, BESSEL_*, HYPOT, and ERFC_SCALED
  5020. are now available (some of them existed as GNU extension
  5021. before). Note: The hyperbolic functions are not yet supporting
  5022. complex arguments and the three- argument version of BESSEL_*N
  5023. is not available.
  5024. + The bit intrinsics LEADZ and TRAILZ have been added.
  5025. Java (GCJ)
  5026. Ada
  5027. * The Ada runtime now supports multilibs on many platforms including
  5028. x86_64, SPARC and PowerPC. Their build is enabled by default.
  5029. New Targets and Target Specific Improvements
  5030. ARM
  5031. * GCC now supports optimizing for the Cortex-A9, Cortex-R4 and
  5032. Cortex-R4F processors and has many other improvements to
  5033. optimization for ARM processors.
  5034. * GCC now supports the VFPv3 variant with 16 double-precision
  5035. registers with -mfpu=vfpv3-d16. The option -mfpu=vfp3 has been
  5036. renamed to -mfpu=vfpv3.
  5037. * GCC now supports the -mfix-cortex-m3-ldrd option to work around an
  5038. erratum on Cortex-M3 processors.
  5039. * GCC now supports the __sync_* atomic operations for ARM EABI
  5040. GNU/Linux.
  5041. * The section anchors optimization is now enabled by default when
  5042. optimizing for ARM.
  5043. * GCC now uses a new EABI-compatible profiling interface for EABI
  5044. targets. This requires a function __gnu_mcount_nc, which is
  5045. provided by GNU libc versions 2.8 and later.
  5046. AVR
  5047. * The -mno-tablejump option has been deprecated because it has the
  5048. same effect as the -fno-jump-tables option.
  5049. * Added support for these new AVR devices:
  5050. + ATA6289
  5051. + ATtiny13A
  5052. + ATtiny87
  5053. + ATtiny167
  5054. + ATtiny327
  5055. + ATmega8C1
  5056. + ATmega16C1
  5057. + ATmega32C1
  5058. + ATmega8M1
  5059. + ATmega16M1
  5060. + ATmega32M1
  5061. + ATmega32U4
  5062. + ATmega16HVB
  5063. + ATmega4HVD
  5064. + ATmega8HVD
  5065. + ATmega64C1
  5066. + ATmega64M1
  5067. + ATmega16U4
  5068. + ATmega32U6
  5069. + ATmega128RFA1
  5070. + AT90PWM81
  5071. + AT90SCR100
  5072. + M3000F
  5073. + M3000S
  5074. + M3001B
  5075. IA-32/x86-64
  5076. * Support for Intel AES built-in functions and code generation is
  5077. available via -maes.
  5078. * Support for Intel PCLMUL built-in function and code generation is
  5079. available via -mpclmul.
  5080. * Support for Intel AVX built-in functions and code generation is
  5081. available via -mavx.
  5082. * Automatically align the stack for local variables with alignment
  5083. requirement.
  5084. * GCC can now utilize the SVML library for vectorizing calls to a set
  5085. of C99 functions if -mveclibabi=svml is specified and you link to
  5086. an SVML ABI compatible library.
  5087. * On x86-64, the ABI has been changed in the following cases to
  5088. conform to the x86-64 ABI:
  5089. + Passing/returning structures with flexible array member:
  5090. struct foo
  5091. {
  5092. int i;
  5093. int flex[];
  5094. };
  5095. + Passing/returning structures with complex float member:
  5096. struct foo
  5097. {
  5098. int i;
  5099. __complex__ float f;
  5100. };
  5101. + Passing/returning unions with long double member:
  5102. union foo
  5103. {
  5104. int x;
  5105. long double ld;
  5106. };
  5107. Code built with previous versions of GCC that uses any of these is
  5108. not compatible with code built with GCC 4.4.0 or later.
  5109. * A new target attribute was added to allow programmers to change the
  5110. target options like -msse2 or -march=k8 for an individual function.
  5111. You can also change the target options via the GCC target pragma
  5112. for functions defined after the pragma.
  5113. * GCC can now be configured with options --with-arch-32,
  5114. --with-arch-64, --with-cpu-32, --with-cpu-64, --with-tune-32 and
  5115. --with-tune-64 to control the default optimization separately for
  5116. 32-bit and 64-bit modes.
  5117. IA-32/IA64
  5118. * Support for __float128 (TFmode) IEEE quad type and corresponding
  5119. TCmode IEEE complex quad type is available via the soft-fp library
  5120. on IA-32/IA64 targets. This includes basic arithmetic operations
  5121. (addition, subtraction, negation, multiplication and division) on
  5122. __float128 real and TCmode complex values, the full set of IEEE
  5123. comparisons between __float128 values, conversions to and from
  5124. float, double and long double floating point types, as well as
  5125. conversions to and from signed or unsigned integer, signed or
  5126. unsigned long integer and signed or unsigned quad (TImode, IA64
  5127. only) integer types. Additionally, all operations generate the full
  5128. set of IEEE exceptions and support the full set of IEEE rounding
  5129. modes.
  5130. M68K/ColdFire
  5131. * GCC now supports instruction scheduling for ColdFire V1, V3 and V4
  5132. processors. (Scheduling support for ColdFire V2 processors was
  5133. added in GCC 4.3.)
  5134. * GCC now supports the -mxgot option to support programs requiring
  5135. many GOT entries on ColdFire.
  5136. * The m68k-*-linux-gnu target now builds multilibs by default.
  5137. MIPS
  5138. * MIPS Technologies have extended the original MIPS SVR4 ABI to
  5139. include support for procedure linkage tables (PLTs) and copy
  5140. relocations. These extensions allow GNU/Linux executables to use a
  5141. significantly more efficient code model than the one defined by the
  5142. original ABI.
  5143. GCC support for this code model is available via a new command-line
  5144. option, -mplt. There is also a new configure-time option,
  5145. --with-mips-plt, to make -mplt the default.
  5146. The new code model requires support from the assembler, the linker,
  5147. and the runtime C library. This support is available in binutils
  5148. 2.19 and GLIBC 2.9.
  5149. * GCC can now generate MIPS16 code for 32-bit GNU/Linux executables
  5150. and 32-bit GNU/Linux shared libraries. This feature requires GNU
  5151. binutils 2.19 or above.
  5152. * Support for RMI's XLR processor is now available through the
  5153. -march=xlr and -mtune=xlr options.
  5154. * 64-bit targets can now perform 128-bit multiplications inline,
  5155. instead of relying on a libgcc function.
  5156. * Native GNU/Linux toolchains now support -march=native and
  5157. -mtune=native, which select the host processor.
  5158. * GCC now supports the R10K, R12K, R14K and R16K processors. The
  5159. canonical -march= and -mtune= names for these processors are
  5160. r10000, r12000, r14000 and r16000 respectively.
  5161. * GCC can now work around the side effects of speculative execution
  5162. on R10K processors. Please see the documentation of the
  5163. -mr10k-cache-barrier option for details.
  5164. * Support for the MIPS64 Release 2 instruction set has been added.
  5165. The option -march=mips64r2 enables generation of these
  5166. instructions.
  5167. * GCC now supports Cavium Networks' Octeon processor. This support is
  5168. available through the -march=octeon and -mtune=octeon options.
  5169. * GCC now supports STMicroelectronics' Loongson 2E/2F processors. The
  5170. canonical -march= and -mtune= names for these processors are
  5171. loongson2e and loongson2f.
  5172. picochip
  5173. Picochip is a 16-bit processor. A typical picoChip contains over 250
  5174. small cores, each with small amounts of memory. There are three
  5175. processor variants (STAN, MEM and CTRL) with different instruction sets
  5176. and memory configurations and they can be chosen using the -mae option.
  5177. This port is intended to be a "C" only port.
  5178. Power Architecture and PowerPC
  5179. * GCC now supports the e300c2, e300c3 and e500mc processors.
  5180. * GCC now supports Xilinx processors with a single-precision FPU.
  5181. * Decimal floating point is now supported for e500 processors.
  5182. S/390, zSeries and System z9/z10
  5183. * Support for the IBM System z10 EC/BC processor has been added. When
  5184. using the -march=z10 option, the compiler will generate code making
  5185. use of instructions provided by the General-Instruction-Extension
  5186. Facility and the Execute-Extension Facility.
  5187. VxWorks
  5188. * GCC now supports the thread-local storage mechanism used on
  5189. VxWorks.
  5190. Xtensa
  5191. * GCC now supports thread-local storage (TLS) for Xtensa processor
  5192. configurations that include the Thread Pointer option. TLS also
  5193. requires support from the assembler and linker; this support is
  5194. provided in the GNU binutils beginning with version 2.19.
  5195. Documentation improvements
  5196. Other significant improvements
  5197. GCC 4.4.1
  5198. This is the [12]list of problem reports (PRs) from GCC's bug tracking
  5199. system that are known to be fixed in the 4.4.1 release. This list might
  5200. not be complete (that is, it is possible that some PRs that have been
  5201. fixed are not listed here).
  5202. GCC 4.4.2
  5203. This is the [13]list of problem reports (PRs) from GCC's bug tracking
  5204. system that are known to be fixed in the 4.4.2 release. This list might
  5205. not be complete (that is, it is possible that some PRs that have been
  5206. fixed are not listed here).
  5207. GCC 4.4.3
  5208. This is the [14]list of problem reports (PRs) from GCC's bug tracking
  5209. system that are known to be fixed in the 4.4.3 release. This list might
  5210. not be complete (that is, it is possible that some PRs that have been
  5211. fixed are not listed here).
  5212. GCC 4.4.4
  5213. This is the [15]list of problem reports (PRs) from GCC's bug tracking
  5214. system that are known to be fixed in the 4.4.4 release. This list might
  5215. not be complete (that is, it is possible that some PRs that have been
  5216. fixed are not listed here).
  5217. GCC 4.4.5
  5218. This is the [16]list of problem reports (PRs) from GCC's bug tracking
  5219. system that are known to be fixed in the 4.4.5 release. This list might
  5220. not be complete (that is, it is possible that some PRs that have been
  5221. fixed are not listed here).
  5222. GCC 4.4.6
  5223. This is the [17]list of problem reports (PRs) from GCC's bug tracking
  5224. system that are known to be fixed in the 4.4.6 release. This list might
  5225. not be complete (that is, it is possible that some PRs that have been
  5226. fixed are not listed here).
  5227. GCC 4.4.7
  5228. This is the [18]list of problem reports (PRs) from GCC's bug tracking
  5229. system that are known to be fixed in the 4.4.7 release. This list might
  5230. not be complete (that is, it is possible that some PRs that have been
  5231. fixed are not listed here).
  5232. For questions related to the use of GCC, please consult these web
  5233. pages and the [19]GCC manuals. If that fails, the
  5234. [20]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  5235. web pages and the development of GCC are welcome on our developer
  5236. list at [21]gcc@gcc.gnu.org. All of [22]our lists have public
  5237. archives.
  5238. Copyright (C) [23]Free Software Foundation, Inc. Verbatim copying and
  5239. distribution of this entire article is permitted in any medium,
  5240. provided this notice is preserved.
  5241. These pages are [24]maintained by the GCC team. Last modified
  5242. 2014-12-06[25].
  5243. References
  5244. 1. http://gcc.gnu.org/gcc-4.4/changes.html#4.4.7
  5245. 2. http://gcc.gnu.org/gcc-4.3/changes.html#obsoleted
  5246. 3. http://gcc.gnu.org/gcc-4.4/porting_to.html
  5247. 4. https://gcc.gnu.org/wiki/Graphite
  5248. 5. http://openmp.org/wp/openmp-specifications/
  5249. 6. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1040.pdf
  5250. 7. http://gcc.gnu.org/gcc-4.4/cxx0x_status.html
  5251. 8. https://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-Options.html
  5252. 9. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-g_t_0040code_007bWarray-temporaries_007d-125
  5253. 10. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfcheck-array-temporaries_007d-221
  5254. 11. https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html#index-g_t_0040code_007bbackslash_007d-34
  5255. 12. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.1
  5256. 13. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.2
  5257. 14. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.3
  5258. 15. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.4
  5259. 16. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.5
  5260. 17. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.6
  5261. 18. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.7
  5262. 19. https://gcc.gnu.org/onlinedocs/
  5263. 20. mailto:gcc-help@gcc.gnu.org
  5264. 21. mailto:gcc@gcc.gnu.org
  5265. 22. https://gcc.gnu.org/lists.html
  5266. 23. http://www.fsf.org/
  5267. 24. https://gcc.gnu.org/about.html
  5268. 25. http://validator.w3.org/check/referer
  5269. ======================================================================
  5270. http://gcc.gnu.org/gcc-4.3/index.html
  5271. GCC 4.3 Release Series
  5272. Jun 27, 2011
  5273. The [1]GNU project and the GCC developers are pleased to announce the
  5274. release of GCC 4.3.6.
  5275. This release is a bug-fix release, containing fixes for regressions in
  5276. GCC 4.3.5 relative to previous releases of GCC.
  5277. Release History
  5278. GCC 4.3.6
  5279. Jun 27, 2011 ([2]changes)
  5280. GCC 4.3.5
  5281. May 22, 2010 ([3]changes)
  5282. GCC 4.3.4
  5283. August 4, 2009 ([4]changes)
  5284. GCC 4.3.3
  5285. January 24, 2009 ([5]changes)
  5286. GCC 4.3.2
  5287. August 27, 2008 ([6]changes)
  5288. GCC 4.3.1
  5289. June 6, 2008 ([7]changes)
  5290. GCC 4.3.0
  5291. March 5, 2008 ([8]changes)
  5292. References and Acknowledgements
  5293. GCC used to stand for the GNU C Compiler, but since the compiler
  5294. supports several other languages aside from C, it now stands for the
  5295. GNU Compiler Collection.
  5296. A list of [9]successful builds is updated as new information becomes
  5297. available.
  5298. The GCC developers would like to thank the numerous people that have
  5299. contributed new features, improvements, bug fixes, and other changes as
  5300. well as test results to GCC. This [10]amazing group of volunteers is
  5301. what makes GCC successful.
  5302. For additional information about GCC please refer to the [11]GCC
  5303. project web site or contact the [12]GCC development mailing list.
  5304. To obtain GCC please use [13]our mirror sites or [14]our SVN server.
  5305. For questions related to the use of GCC, please consult these web
  5306. pages and the [15]GCC manuals. If that fails, the
  5307. [16]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  5308. web pages and the development of GCC are welcome on our developer
  5309. list at [17]gcc@gcc.gnu.org. All of [18]our lists have public
  5310. archives.
  5311. Copyright (C) [19]Free Software Foundation, Inc. Verbatim copying and
  5312. distribution of this entire article is permitted in any medium,
  5313. provided this notice is preserved.
  5314. These pages are [20]maintained by the GCC team. Last modified
  5315. 2014-06-28[21].
  5316. References
  5317. 1. http://www.gnu.org/
  5318. 2. http://gcc.gnu.org/gcc-4.3/changes.html
  5319. 3. http://gcc.gnu.org/gcc-4.3/changes.html
  5320. 4. http://gcc.gnu.org/gcc-4.3/changes.html
  5321. 5. http://gcc.gnu.org/gcc-4.3/changes.html
  5322. 6. http://gcc.gnu.org/gcc-4.3/changes.html
  5323. 7. http://gcc.gnu.org/gcc-4.3/changes.html
  5324. 8. http://gcc.gnu.org/gcc-4.3/changes.html
  5325. 9. http://gcc.gnu.org/gcc-4.3/buildstat.html
  5326. 10. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  5327. 11. http://gcc.gnu.org/index.html
  5328. 12. mailto:gcc@gcc.gnu.org
  5329. 13. http://gcc.gnu.org/mirrors.html
  5330. 14. http://gcc.gnu.org/svn.html
  5331. 15. https://gcc.gnu.org/onlinedocs/
  5332. 16. mailto:gcc-help@gcc.gnu.org
  5333. 17. mailto:gcc@gcc.gnu.org
  5334. 18. https://gcc.gnu.org/lists.html
  5335. 19. http://www.fsf.org/
  5336. 20. https://gcc.gnu.org/about.html
  5337. 21. http://validator.w3.org/check/referer
  5338. ======================================================================
  5339. http://gcc.gnu.org/gcc-4.3/changes.html
  5340. GCC 4.3 Release Series
  5341. Changes, New Features, and Fixes
  5342. The latest release in the 4.3 release series is [1]GCC 4.3.5.
  5343. Caveats
  5344. * GCC requires the [2]GMP and [3]MPFR libraries for building all the
  5345. various front-end languages it supports. See the [4]prerequisites
  5346. page for version requirements.
  5347. * ColdFire targets now treat long double as having the same format as
  5348. double. In earlier versions of GCC, they used the 68881 long double
  5349. format instead.
  5350. * The m68k-uclinux target now uses the same calling conventions as
  5351. m68k-linux-gnu. You can select the original calling conventions by
  5352. configuring for m68k-uclinuxoldabi instead. Note that
  5353. m68k-uclinuxoldabi also retains the original 80-bit long double on
  5354. ColdFire targets.
  5355. * The -fforce-mem option has been removed because it has had no
  5356. effect in the last few GCC releases.
  5357. * The i386 -msvr3-shlib option has been removed since it is no longer
  5358. used.
  5359. * Fastcall for i386 has been changed not to pass aggregate arguments
  5360. in registers, following Microsoft compilers.
  5361. * Support for the AOF assembler has been removed from the ARM back
  5362. end; this affects only the targets arm-semi-aof and armel-semi-aof,
  5363. which are no longer recognized. We removed these targets without a
  5364. deprecation period because we discovered that they have been
  5365. unusable since GCC 4.0.0.
  5366. * Support for the TMS320C3x/C4x processor (targets c4x-* and tic4x-*)
  5367. has been removed. This support had been deprecated since GCC 4.0.0.
  5368. * Support for a number of older systems and recently unmaintained or
  5369. untested target ports of GCC has been declared obsolete in GCC 4.3.
  5370. Unless there is activity to revive them, the next release of GCC
  5371. will have their sources permanently removed.
  5372. All GCC ports for the following processor architectures have been
  5373. declared obsolete:
  5374. + Morpho MT (mt-*)
  5375. The following aliases for processor architectures have been
  5376. declared obsolete. Users should use the indicated generic target
  5377. names instead, with compile-time options such as -mcpu or
  5378. configure-time options such as --with-cpu to control the
  5379. configuration more precisely.
  5380. + strongarm*-*-*, ep9312*-*-*, xscale*-*-* (use arm*-*-*
  5381. instead).
  5382. + parisc*-*-* (use hppa*-*-* instead).
  5383. + m680[012]0-*-* (use m68k-*-* instead).
  5384. All GCC ports for the following operating systems have been
  5385. declared obsolete:
  5386. + BeOS (*-*-beos*)
  5387. + kaOS (*-*-kaos*)
  5388. + GNU/Linux using the a.out object format (*-*-linux*aout*)
  5389. + GNU/Linux using version 1 of the GNU C Library
  5390. (*-*-linux*libc1*)
  5391. + Solaris versions before Solaris 7 (*-*-solaris2.[0-6],
  5392. *-*-solaris2.[0-6].*)
  5393. + Miscellaneous System V (*-*-sysv*)
  5394. + WindISS (*-*-windiss*)
  5395. Also, those for some individual systems on particular architectures
  5396. have been obsoleted:
  5397. + UNICOS/mk on DEC Alpha (alpha*-*-unicosmk*)
  5398. + CRIS with a.out object format (cris-*-aout)
  5399. + BSD 4.3 on PA-RISC (hppa1.1-*-bsd*)
  5400. + OSF/1 on PA-RISC (hppa1.1-*-osf*)
  5401. + PRO on PA-RISC (hppa1.1-*-pro*)
  5402. + Sequent PTX on IA32 (i[34567]86-sequent-ptx4*,
  5403. i[34567]86-sequent-sysv4*)
  5404. + SCO Open Server 5 on IA32 (i[34567]86-*-sco3.2v5*)
  5405. + UWIN on IA32 (i[34567]86-*-uwin*) (support for UWIN as a host
  5406. was previously [5]removed in 2001, leaving only the support
  5407. for UWIN as a target now being deprecated)
  5408. + ChorusOS on PowerPC (powerpc-*-chorusos*)
  5409. + All VAX configurations apart from NetBSD and OpenBSD
  5410. (vax-*-bsd*, vax-*-sysv*, vax-*-ultrix*)
  5411. * The [6]-Wconversion option has been modified. Its purpose now is to
  5412. warn for implicit conversions that may alter a value. This new
  5413. behavior is available for both C and C++. Warnings about
  5414. conversions between signed and unsigned integers can be disabled by
  5415. using -Wno-sign-conversion. In C++, they are disabled by default
  5416. unless -Wsign-conversion is explicitly requested. The old behavior
  5417. of -Wconversion, that is, warn for prototypes causing a type
  5418. conversion that is different from what would happen to the same
  5419. argument in the absence of a prototype, has been moved to a new
  5420. option -Wtraditional-conversion, which is only available for C.
  5421. * The -m386, -m486, -mpentium and -mpentiumpro tuning options have
  5422. been removed because they were deprecated for more than 3 GCC major
  5423. releases. Use -mtune=i386, -mtune=i486, -mtune=pentium or
  5424. -mtune=pentiumpro as a replacement.
  5425. * The -funsafe-math-optimizations option now automatically turns on
  5426. -fno-trapping-math in addition to -fno-signed-zeros, as it enables
  5427. reassociation and thus may introduce or remove traps.
  5428. * The -ftree-vectorize option is now on by default under -O3. In
  5429. order to generate code for a SIMD extension, it has to be enabled
  5430. as well: use -maltivec for PowerPC platforms and -msse/-msse2 for
  5431. i?86 and x86_64.
  5432. * More information on porting to GCC 4.3 from previous versions of
  5433. GCC can be found in the [7]porting guide for this release.
  5434. General Optimizer Improvements
  5435. * The GCC middle-end has been integrated with the [8]MPFR library.
  5436. This allows GCC to evaluate and replace at compile-time calls to
  5437. built-in math functions having constant arguments with their
  5438. mathematically equivalent results. In making use of [9]MPFR, GCC
  5439. can generate correct results regardless of the math library
  5440. implementation or floating point precision of the host platform.
  5441. This also allows GCC to generate identical results regardless of
  5442. whether one compiles in native or cross-compile configurations to a
  5443. particular target. The following built-in functions take advantage
  5444. of this new capability: acos, acosh, asin, asinh, atan2, atan,
  5445. atanh, cbrt, cos, cosh, drem, erf, erfc, exp10, exp2, exp, expm1,
  5446. fdim, fma, fmax, fmin, gamma_r, hypot, j0, j1, jn, lgamma_r, log10,
  5447. log1p, log2, log, pow10, pow, remainder, remquo, sin, sincos, sinh,
  5448. tan, tanh, tgamma, y0, y1 and yn. The float and long double
  5449. variants of these functions (e.g. sinf and sinl) are also handled.
  5450. The sqrt and cabs functions with constant arguments were already
  5451. optimized in prior GCC releases. Now they also use [10]MPFR.
  5452. * A new forward propagation pass on RTL was added. The new pass
  5453. replaces several slower transformations, resulting in compile-time
  5454. improvements as well as better code generation in some cases.
  5455. * A new command-line switch -frecord-gcc-switches has been added to
  5456. GCC, although it is only enabled for some targets. The switch
  5457. causes the command line that was used to invoke the compiler to be
  5458. recorded into the object file that is being created. The exact
  5459. format of this recording is target and binary file format
  5460. dependent, but it usually takes the form of a note section
  5461. containing ASCII text. The switch is related to the -fverbose-asm
  5462. switch, but that one only records the information in the assembler
  5463. output file as comments, so the information never reaches the
  5464. object file.
  5465. * The inliner heuristic is now aware of stack frame consumption. New
  5466. command-line parameters --param large-stack-frame and --param
  5467. large-stack-frame-growth can be used to limit stack frame size
  5468. growth caused by inlining.
  5469. * During feedback directed optimizations, the expected block size the
  5470. memcpy, memset and bzero functions operate on is discovered and for
  5471. cases of commonly used small sizes, specialized inline code is
  5472. generated.
  5473. * __builtin_expect no longer requires its argument to be a compile
  5474. time constant.
  5475. * Interprocedural optimization was reorganized to work on functions
  5476. in SSA form. This enables more precise and cheaper dataflow
  5477. analysis and makes writing interprocedural optimizations easier.
  5478. The following improvements have been implemented on top of this
  5479. framework:
  5480. + Pre-inline optimization: Selected local optimization passes
  5481. are run before the inliner (and other interprocedural passes)
  5482. are executed. This significantly improves the accuracy of code
  5483. growth estimates used by the inliner and reduces the overall
  5484. memory footprint for large compilation units.
  5485. + Early inlining (a simple bottom-up inliner pass inlining only
  5486. functions whose body is smaller than the expected call
  5487. overhead) is now executed with the early optimization passes,
  5488. thus inlining already optimized function bodies into an
  5489. unoptimized function that is subsequently optimized by early
  5490. optimizers. This enables the compiler to quickly eliminate
  5491. abstraction penalty in C++ programs.
  5492. + Interprocedural constant propagation now operate on SSA form
  5493. increasing accuracy of the analysis.
  5494. * A new internal representation for GIMPLE statements has been
  5495. contributed, resulting in compile-time memory savings.
  5496. * The vectorizer was enhanced to support vectorization of outer
  5497. loops, intra-iteration parallelism (loop-aware SLP), vectorization
  5498. of strided accesses and loops with multiple data-types. Run-time
  5499. dependency testing using loop versioning was added. The cost model,
  5500. turned on by -fvect-cost-model, was developed.
  5501. New Languages and Language specific improvements
  5502. * We have added new command-line options
  5503. -finstrument-functions-exclude-function-list and
  5504. -finstrument-functions-exclude-file-list. They provide more control
  5505. over which functions are annotated by the -finstrument-functions
  5506. option.
  5507. C family
  5508. * Implicit conversions between generic vector types are now only
  5509. permitted when the two vectors in question have the same number of
  5510. elements and compatible element types. (Note that the restriction
  5511. involves compatible element types, not implicitly-convertible
  5512. element types: thus, a vector type with element type int may not be
  5513. implicitly converted to a vector type with element type unsigned
  5514. int.) This restriction, which is in line with specifications for
  5515. SIMD architectures such as AltiVec, may be relaxed using the flag
  5516. -flax-vector-conversions. This flag is intended only as a
  5517. compatibility measure and should not be used for new code.
  5518. * -Warray-bounds has been added and is now enabled by default for
  5519. -Wall . It produces warnings for array subscripts that can be
  5520. determined at compile time to be always out of bounds.
  5521. -Wno-array-bounds will disable the warning.
  5522. * The constructor and destructor function attributes now accept
  5523. optional priority arguments which control the order in which the
  5524. constructor and destructor functions are run.
  5525. * New [11]command-line options -Wtype-limits,
  5526. -Wold-style-declaration, -Wmissing-parameter-type, -Wempty-body,
  5527. -Wclobbered and -Wignored-qualifiers have been added for finer
  5528. control of the diverse warnings enabled by -Wextra.
  5529. * A new function attribute alloc_size has been added to mark up
  5530. malloc style functions. For constant sized allocations this can be
  5531. used to find out the size of the returned pointer using the
  5532. __builtin_object_size() function for buffer overflow checking and
  5533. similar. This supplements the already built-in malloc and calloc
  5534. constant size handling.
  5535. * Integer constants written in binary are now supported as a GCC
  5536. extension. They consist of a prefix 0b or 0B, followed by a
  5537. sequence of 0 and 1 digits.
  5538. * A new predefined macro __COUNTER__ has been added. It expands to
  5539. sequential integral values starting from 0. In conjunction with the
  5540. ## operator, this provides a convenient means to generate unique
  5541. identifiers.
  5542. * A new command-line option -fdirectives-only has been added. It
  5543. enables a special preprocessing mode which improves the performance
  5544. of applications like distcc and ccache.
  5545. * Fixed-point data types and operators have been added. They are
  5546. based on Chapter 4 of the Embedded-C specification (n1169.pdf).
  5547. Currently, only MIPS targets are supported.
  5548. * Decimal floating-point arithmetic based on draft ISO/IEC TR 24732,
  5549. N1241, is now supported as a GCC extension to C for targets
  5550. i[34567]86-*-linux-gnu, powerpc*-*-linux-gnu, s390*-ibm-linux-gnu,
  5551. and x86_64-*-linux-gnu. The feature introduces new data types
  5552. _Decimal32, _Decimal64, and _Decimal128 with constant suffixes DF,
  5553. DD, and DL.
  5554. C++
  5555. * [12]Experimental support for the upcoming ISO C++ standard, C++0x.
  5556. * -Wc++0x-compat has been added and is now enabled by default for
  5557. -Wall. It produces warnings for constructs whose meaning differs
  5558. between ISO C++ 1998 and C++0x.
  5559. * The -Wparentheses option now works for C++ as it does for C. It
  5560. warns if parentheses are omitted when operators with confusing
  5561. precedence are nested. It also warns about ambiguous else
  5562. statements. Since -Wparentheses is enabled by -Wall, this may cause
  5563. additional warnings with existing C++ code which uses -Wall. These
  5564. new warnings may be disabled by using -Wall -Wno-parentheses.
  5565. * The -Wmissing-declarations now works for C++ as it does for C.
  5566. * The -fvisibility-ms-compat flag was added, to make it easier to
  5567. port larger projects using shared libraries from Microsoft's Visual
  5568. Studio to ELF and Mach-O systems.
  5569. * C++ attribute handling has been overhauled for template arguments
  5570. (ie dependent types). In particular, __attribute__((aligned(T)));
  5571. works for C++ types.
  5572. Runtime Library (libstdc++)
  5573. * [13]Experimental support for the upcoming ISO C++ standard, C++0x.
  5574. * Support for TR1 mathematical special functions and regular
  5575. expressions. ([14]Implementation status of TR1)
  5576. * Default what implementations give more elaborate exception strings
  5577. for bad_cast, bad_typeid, bad_exception, and bad_alloc.
  5578. * Header dependencies have been streamlined, reducing unnecessary
  5579. includes and pre-processed bloat.
  5580. * Variadic template implementations of items in <tuple> and
  5581. <functional>.
  5582. * An experimental [15]parallel mode has been added. This is a
  5583. parallel implementation of many C++ Standard library algorithms,
  5584. like std::accumulate, std::for_each, std::transform, or std::sort,
  5585. to give but four examples. These algorithms can be substituted for
  5586. the normal (sequential) libstdc++ algorithms on a piecemeal basis,
  5587. or all existing algorithms can be transformed via the
  5588. -D_GLIBCXX_PARALLEL macro.
  5589. * Debug mode versions of classes in <unordered_set> and
  5590. <unordered_map>.
  5591. * Formal deprecation of <ext/hash_set> and <ext/hash_map>, which are
  5592. now <backward/hash_set> and <backward/hash_map>. This code:
  5593. #include <ext/hash_set>
  5594. __gnu_cxx::hash_set<int> s;
  5595. Can be transformed (in order of preference) to:
  5596. #include <tr1/unordered_set>
  5597. std::tr1::unordered_set<int> s;
  5598. or
  5599. #include <backward/hash_set>
  5600. __gnu_cxx::hash_set<int> s;
  5601. Similar transformations apply to __gnu_cxx::hash_map,
  5602. __gnu_cxx::hash_multimap, __gnu_cxx::hash_set,
  5603. __gnu_cxx::hash_multiset.
  5604. Fortran
  5605. * Due to the fact that the [16]GMP and [17]MPFR libraries are
  5606. required for all languages, Fortran is no longer special in this
  5607. regard and is available by default.
  5608. * The [18]-fexternal-blas option has been added, which generates
  5609. calls to BLAS routines for intrinsic matrix operations such as
  5610. matmul rather than using the built-in algorithms.
  5611. * Support to give a backtrace (compiler flag -fbacktrace or
  5612. environment variable GFORTRAN_ERROR_BACKTRACE; on glibc systems
  5613. only) or a core dump (-fdump-core, GFORTRAN_ERROR_DUMPCORE) when a
  5614. run-time error occured.
  5615. * GNU Fortran now defines __GFORTRAN__ when it runs the C
  5616. preprocessor (CPP).
  5617. * The [19]-finit-local-zero, -finit-real, -finit-integer,
  5618. -finit-character, and -finit-logical options have been added, which
  5619. can be used to initialize local variables.
  5620. * The intrinsic procedures [20]GAMMA and [21]LGAMMA have been added,
  5621. which calculate the Gamma function and its logarithm. Use EXTERNAL
  5622. gamma if you want to use your own gamma function.
  5623. * GNU Fortran now regards the backslash character as literal (as
  5624. required by the Fortran 2003 standard); using [22]-fbackslash GNU
  5625. Fortran interprets backslashes as C-style escape characters.
  5626. * The [23]interpretation of binary, octal and hexadecimal (BOZ)
  5627. literal constants has been changed. Before they were always
  5628. interpreted as integer; now they are bit-wise transferred as
  5629. argument of INT, REAL, DBLE and CMPLX as required by the Fortran
  5630. 2003 standard, and for real and complex variables in DATA
  5631. statements or when directly assigned to real and complex variables.
  5632. Everywhere else and especially in expressions they are still
  5633. regarded as integer constants.
  5634. * Fortran 2003 support has been extended:
  5635. + Intrinsic statements IMPORT, PROTECTED, VALUE and VOLATILE
  5636. + Pointer intent
  5637. + Intrinsic module ISO_ENV_FORTRAN
  5638. + Interoperability with C (ISO C Bindings)
  5639. + ABSTRACT INTERFACES and PROCEDURE statements (without POINTER
  5640. attribute)
  5641. + Fortran 2003 BOZ
  5642. Java (GCJ)
  5643. * GCJ now uses the Eclipse Java compiler for its Java parsing needs.
  5644. This enables the use of all 1.5 language features, and fixes most
  5645. existing front end bugs.
  5646. * libgcj now supports all 1.5 language features which require runtime
  5647. support: foreach, enum, annotations, generics, and auto-boxing.
  5648. * We've made many changes to the tools shipped with gcj.
  5649. + The old jv-scan tool has been removed. This tool never really
  5650. worked properly. There is no replacement.
  5651. + gcjh has been rewritten. Some of its more obscure options no
  5652. longer work, but are still recognized in an attempt at
  5653. compatibility. gjavah is a new program with similar
  5654. functionality but different command-line options.
  5655. + grmic and grmiregistry have been rewritten. grmid has been
  5656. added.
  5657. + gjar replaces the old fastjar.
  5658. + gjarsigner (used for signing jars), gkeytool (used for key
  5659. management), gorbd (for CORBA), gserialver (computes
  5660. serialization UIDs), and gtnameserv (also for CORBA) are now
  5661. installed.
  5662. * The ability to dump the contents of the java run time heap to a
  5663. file for off-line analysis has been added. The heap dumps may be
  5664. analyzed with the new gc-analyze tool. They may be generated on
  5665. out-of-memory conditions or on demand and are controlled by the new
  5666. run time class gnu.gcj.util.GCInfo.
  5667. * java.util.TimeZone can now read files from /usr/share/zoneinfo to
  5668. provide correct, updated, timezone information. This means that
  5669. packagers no longer have to update libgcj when a time zone change
  5670. is published.
  5671. New Targets and Target Specific Improvements
  5672. IA-32/x86-64
  5673. * Tuning for Intel Core 2 processors is available via -mtune=core2
  5674. and -march=core2.
  5675. * Tuning for AMD Geode processors is available via -mtune=geode and
  5676. -march=geode.
  5677. * Code generation of block move (memcpy) and block set (memset) was
  5678. rewritten. GCC can now pick the best algorithm (loop, unrolled
  5679. loop, instruction with rep prefix or a library call) based on the
  5680. size of the block being copied and the CPU being optimized for. A
  5681. new option -minline-stringops-dynamically has been added. With this
  5682. option string operations of unknown size are expanded such that
  5683. small blocks are copied by in-line code, while for large blocks a
  5684. library call is used. This results in faster code than
  5685. -minline-all-stringops when the library implementation is capable
  5686. of using cache hierarchy hints. The heuristic choosing the
  5687. particular algorithm can be overwritten via -mstringop-strategy.
  5688. Newly also memset of values different from 0 is inlined.
  5689. * GCC no longer places the cld instruction before string operations.
  5690. Both i386 and x86-64 ABI documents mandate the direction flag to be
  5691. clear at the entry of a function. It is now invalid to set the flag
  5692. in asm statement without reseting it afterward.
  5693. * Support for SSSE3 built-in functions and code generation are
  5694. available via -mssse3.
  5695. * Support for SSE4.1 built-in functions and code generation are
  5696. available via -msse4.1.
  5697. * Support for SSE4.2 built-in functions and code generation are
  5698. available via -msse4.2.
  5699. * Both SSE4.1 and SSE4.2 support can be enabled via -msse4.
  5700. * A new set of options -mpc32, -mpc64 and -mpc80 have been added to
  5701. allow explicit control of x87 floating point precision.
  5702. * Support for __float128 (TFmode) IEEE quad type and corresponding
  5703. TCmode IEEE complex quad type is available via the soft-fp library
  5704. on x86_64 targets. This includes basic arithmetic operations
  5705. (addition, subtraction, negation, multiplication and division) on
  5706. __float128 real and TCmode complex values, the full set of IEEE
  5707. comparisons between __float128 values, conversions to and from
  5708. float, double and long double floating point types, as well as
  5709. conversions to and from signed or unsigned integer, signed or
  5710. unsigned long integer and signed or unsigned quad (TImode) integer
  5711. types. Additionally, all operations generate the full set of IEEE
  5712. exceptions and support the full set of IEEE rounding modes.
  5713. * GCC can now utilize the ACML library for vectorizing calls to a set
  5714. of C99 functions on x86_64 if -mveclibabi=acml is specified and you
  5715. link to an ACML ABI compatible library.
  5716. ARM
  5717. * Compiler and Library support for Thumb-2 and the ARMv7 architecture
  5718. has been added.
  5719. CRIS
  5720. New features
  5721. * Compiler and Library support for the CRIS v32 architecture, as
  5722. found in Axis Communications ETRAX FS and ARTPEC-3 chips, has been
  5723. added.
  5724. Configuration changes
  5725. * The cris-*-elf target now includes support for CRIS v32, including
  5726. libraries, through the -march=v32 option.
  5727. * A new crisv32-*-elf target defaults to generate code for CRIS v32.
  5728. * A new crisv32-*-linux* target defaults to generate code for CRIS
  5729. v32.
  5730. * The cris-*-aout target has been obsoleted.
  5731. Improved support for built-in functions
  5732. * GCC can now use the lz and swapwbr instructions to implement the
  5733. __builtin_clz, __builtin_ctz and __builtin_ffs family of functions.
  5734. * __builtin_bswap32 is now implemented using the swapwb instruction,
  5735. when available.
  5736. m68k and ColdFire
  5737. New features
  5738. * Support for several new ColdFire processors has been added. You can
  5739. generate code for them using the new -mcpu option.
  5740. * All targets now support ColdFire processors.
  5741. * m68k-uclinux targets have improved support for C++ constructors and
  5742. destructors, and for shared libraries.
  5743. * It is now possible to set breakpoints on the first or last line of
  5744. a function, even if there are no statements on that line.
  5745. Optimizations
  5746. * Support for sibling calls has been added.
  5747. * More use is now made of the ColdFire mov3q instruction.
  5748. * __builtin_clz is now implemented using the ff1 ColdFire
  5749. instruction, when available.
  5750. * GCC now honors the -m68010 option. 68010 code now uses clr rather
  5751. than move to zero volatile memory.
  5752. * 68020 targets and above can now use symbol(index.size*scale)
  5753. addresses for indexed array accesses. Earlier compilers would
  5754. always load the symbol into a base register first.
  5755. Configuration changes
  5756. * All m68k and ColdFire targets now allow the default processor to be
  5757. set at configure time using --with-cpu.
  5758. * A --with-arch configuration option has been added. This option
  5759. allows you to restrict a target to ColdFire or non-ColdFire
  5760. processors.
  5761. Preprocessor macros
  5762. * An __mcfv*__ macro is now defined for all ColdFire targets.
  5763. (Earlier versions of GCC only defined __mcfv4e__.)
  5764. * __mcf_cpu_*, __mcf_family_* and __mcffpu__ macros have been added.
  5765. * All targets now define __mc68010 and __mc68010__ when generating
  5766. 68010 code.
  5767. Command-line changes
  5768. * New command-line options -march, -mcpu, -mtune and -mhard-float
  5769. have been added. These options apply to both m68k and ColdFire
  5770. targets.
  5771. * -mno-short, -mno-bitfield and -mno-rtd are now accepted as negative
  5772. versions of -mshort, etc.
  5773. * -fforce-addr has been removed. It is now ignored by the compiler.
  5774. Other improvements
  5775. * ColdFire targets now try to maintain a 4-byte-aligned stack where
  5776. possible.
  5777. * m68k-uclinux targets now try to avoid situations that lead to the
  5778. load-time error: BINFMT_FLAT: reloc outside program.
  5779. MIPS
  5780. Changes to existing configurations
  5781. * libffi and libjava now support all three GNU/Linux ABIs: o32, n32
  5782. and n64. Every GNU/Linux configuration now builds these libraries
  5783. by default.
  5784. * GNU/Linux configurations now generate -mno-shared code unless
  5785. overridden by -fpic, -fPIC, -fpie or -fPIE.
  5786. * mipsisa32*-linux-gnu configurations now generate hard-float code by
  5787. default, just like other mipsisa32* and mips*-linux-gnu
  5788. configurations. You can build a soft-float version of any
  5789. mips*-linux-gnu configuration by passing --with-float=soft to
  5790. configure.
  5791. * mips-wrs-vxworks now supports run-time processes (RTPs).
  5792. Changes to existing command-line options
  5793. * The -march and -mtune options no longer accept 24k as a processor
  5794. name. Please use 24kc, 24kf2_1 or 24kf1_1 instead.
  5795. * The -march and -mtune options now accept 24kf2_1, 24kef2_1 and
  5796. 34kf2_1 as synonyms for 24kf, 24kef and 34kf respectively. The
  5797. options also accept 24kf1_1, 24kef1_1 and 34kf1_1 as synonyms for
  5798. 24kx, 24kex and 34kx.
  5799. New configurations
  5800. GCC now supports the following configurations:
  5801. * mipsisa32r2*-linux-gnu*, which generates MIPS32 revision 2 code by
  5802. default. Earlier releases also recognized this configuration, but
  5803. they treated it in the same way as mipsisa32*-linux-gnu*. Note that
  5804. you can customize any mips*-linux-gnu* configuration to a
  5805. particular ISA or processor by passing an appropriate --with-arch
  5806. option to configure.
  5807. * mipsisa*-sde-elf*, which provides compatibility with MIPS
  5808. Technologies' SDE toolchains. The configuration uses the SDE
  5809. libraries by default, but you can use it like other newlib-based
  5810. ELF configurations by passing --with-newlib to configure. It is the
  5811. only configuration besides mips64vr*-elf* to build MIPS16 as well
  5812. as non-MIPS16 libraries.
  5813. * mipsisa*-elfoabi*, which is similar to the general mipsisa*-elf*
  5814. configuration, but uses the o32 and o64 ABIs instead of the 32-bit
  5815. and 64-bit forms of the EABI.
  5816. New processors and application-specific extensions
  5817. * Support for the SmartMIPS ASE is available through the new
  5818. -msmartmips option.
  5819. * Support for revision 2 of the DSP ASE is available through the new
  5820. -mdspr2 option. A new preprocessor macro called __mips_dsp_rev
  5821. indicates the revision of the ASE in use.
  5822. * Support for the 4KS and 74K families of processors is available
  5823. through the -march and -mtune options.
  5824. Improved support for built-in functions
  5825. * GCC can now use load-linked, store-conditional and sync
  5826. instructions to implement atomic built-in functions such as
  5827. __sync_fetch_and_add. The memory reference must be 4 bytes wide for
  5828. 32-bit targets and either 4 or 8 bytes wide for 64-bit targets.
  5829. * GCC can now use the clz and dclz instructions to implement the
  5830. __builtin_ctz and __builtin_ffs families of functions.
  5831. * There is a new __builtin___clear_cache function for flushing the
  5832. instruction cache. GCC expands this function inline on MIPS32
  5833. revision 2 targets, otherwise it calls the function specified by
  5834. -mcache-flush-func.
  5835. MIPS16 improvements
  5836. * GCC can now compile objects that contain a mixture of MIPS16 and
  5837. non-MIPS16 code. There are two new attributes, mips16 and nomips16,
  5838. for specifying which mode a function should use.
  5839. * A new option called -minterlink-mips16 makes non-MIPS16 code
  5840. link-compatible with MIPS16 code.
  5841. * After many bug fixes, the long-standing MIPS16 -mhard-float support
  5842. should now work fairly reliably.
  5843. * GCC can now use the MIPS16e save and restore instructions.
  5844. * -fsection-anchors now works in MIPS16 mode. MIPS16 code compiled
  5845. with -G0 -fsection-anchors is often smaller than code compiled with
  5846. -G8. However, please note that you must usually compile all objects
  5847. in your application with the same -G option; see the documentation
  5848. of -G for details.
  5849. * A new option called-mcode-readable specifies which instructions are
  5850. allowed to load from the code segment. -mcode-readable=yes is the
  5851. default and says that any instruction may load from the code
  5852. segment. The other alternatives are -mcode-readable=pcrel, which
  5853. says that only PC-relative MIPS16 instructions may load from the
  5854. code segment, and -mcode-readable=no, which says that no
  5855. instruction may do so. Please see the documentation for more
  5856. details, including example uses.
  5857. Small-data improvements
  5858. There are three new options for controlling small data:
  5859. * -mno-extern-sdata, which disables small-data accesses for
  5860. externally-defined variables. Code compiled with -Gn
  5861. -mno-extern-sdata will be link-compatible with any -G setting
  5862. between -G0 and -Gn inclusive.
  5863. * -mno-local-sdata, which disables the use of small-data sections for
  5864. data that is not externally visible. This option can be a useful
  5865. way of reducing small-data usage in less performance-critical parts
  5866. of an application.
  5867. * -mno-gpopt, which disables the use of the $gp register while still
  5868. honoring the -G limit when placing externally-visible data. This
  5869. option implies -mno-extern-sdata and -mno-local-sdata and it can be
  5870. useful in situations where $gp does not necessarily hold the
  5871. expected value.
  5872. Miscellaneous improvements
  5873. * There is a new option called -mbranch-cost for tweaking the
  5874. perceived cost of branches.
  5875. * If GCC is configured to use a version of GAS that supports the
  5876. .gnu_attribute directive, it will use that directive to record
  5877. certain properties of the output code. .gnu_attribute is new to GAS
  5878. 2.18.
  5879. * There are two new function attributes, near and far, for overriding
  5880. the command-line setting of -mlong-calls on a function-by-function
  5881. basis.
  5882. * -mfp64, which previously required a 64-bit target, now works with
  5883. MIPS32 revision 2 targets as well. The mipsisa*-elfoabi* and
  5884. mipsisa*-sde-elf* configurations provide suitable library support.
  5885. * GCC now recognizes the -mdmx and -mmt options and passes them down
  5886. to the assembler. It does nothing else with the options at present.
  5887. SPU (Synergistic Processor Unit) of the Cell Broadband Engine Architecture
  5888. (BEA)
  5889. * Support has been added for this new architecture.
  5890. RS6000 (POWER/PowerPC)
  5891. * Support for the PowerPC 750CL paired-single instructions has been
  5892. added with a new powerpc-*-linux*paired* target configuration. It
  5893. is enabled by an associated -mpaired option and can be accessed
  5894. using new built-in functions.
  5895. * Support for auto-detecting architecture and system configuration to
  5896. auto-select processor optimization tuning.
  5897. * Support for VMX on AIX 5.3 has been added.
  5898. * Support for AIX Version 6.1 has been added.
  5899. S/390, zSeries and System z9
  5900. * Support for the IBM System z9 EC/BC processor (z9 GA3) has been
  5901. added. When using the -march=z9-ec option, the compiler will
  5902. generate code making use of instructions provided by the decimal
  5903. floating point facility and the floating point conversion facility
  5904. (pfpo). Besides the instructions used to implement decimal floating
  5905. point operations these facilities also contain instructions to move
  5906. between general purpose and floating point registers and to modify
  5907. and copy the sign-bit of floating point values.
  5908. * When the -march=z9-ec option is used the new
  5909. -mhard-dfp/-mno-hard-dfp options can be used to specify whether the
  5910. decimal floating point hardware instructions will be used or not.
  5911. If none of them is given the hardware support is enabled by
  5912. default.
  5913. * The -mstack-guard option can now be omitted when using stack
  5914. checking via -mstack-size in order to let GCC choose a sensible
  5915. stack guard value according to the frame size of each function.
  5916. * Various changes to improve performance of generated code have been
  5917. implemented, including:
  5918. + The condition code set by an add logical with carry
  5919. instruction is now available for overflow checks like: a + b +
  5920. carry < b.
  5921. + The test data class instruction is now used to implement
  5922. sign-bit and infinity checks of binary and decimal floating
  5923. point numbers.
  5924. SPARC
  5925. * Support for the Sun UltraSPARC T2 (Niagara 2) processor has been
  5926. added.
  5927. Xtensa
  5928. * Stack unwinding for exception handling now uses by default a
  5929. specialized version of DWARF unwinding. This is not
  5930. binary-compatible with the setjmp/longjmp (sjlj) unwinding used for
  5931. Xtensa with previous versions of GCC.
  5932. * For Xtensa processors that include the Conditional Store option,
  5933. the built-in functions for atomic memory access are now implemented
  5934. using S32C1I instructions.
  5935. * If the Xtensa NSA option is available, GCC will use it to implement
  5936. the __builtin_ctz and __builtin_clz functions.
  5937. Documentation improvements
  5938. * Existing libstdc++ documentation has been edited and restructured
  5939. into a single DocBook XML manual. The results can be viewed online
  5940. [24]here.
  5941. Other significant improvements
  5942. * The compiler's --help command-line option has been extended so that
  5943. it now takes an optional set of arguments. These arguments restrict
  5944. the information displayed to specific classes of command-line
  5945. options, and possibly only a subset of those options. It is also
  5946. now possible to replace the descriptive text associated with each
  5947. displayed option with an indication of its current value, or for
  5948. binary options, whether it has been enabled or disabled.
  5949. Here are some examples. The following will display all the options
  5950. controlling warning messages:
  5951. --help=warnings
  5952. Whereas this will display all the undocumented, target specific
  5953. options:
  5954. --help=target,undocumented
  5955. This sequence of commands will display the binary optimizations
  5956. that are enabled by -O3:
  5957. gcc -c -Q -O3 --help=optimizers > /tmp/O3-opts
  5958. gcc -c -Q -O2 --help=optimizers > /tmp/O2-opts
  5959. diff /tmp/O2-opts /tmp/O3-opts | grep enabled
  5960. * The configure options --with-pkgversion and --with-bugurl have been
  5961. added. These allow distributors of GCC to include a
  5962. distributor-specific string in manuals and --version output and to
  5963. specify the URL for reporting bugs in their versions of GCC.
  5964. GCC 4.3.1
  5965. This is the [25]list of problem reports (PRs) from GCC's bug tracking
  5966. system that are known to be fixed in the 4.3.1 release. This list might
  5967. not be complete (that is, it is possible that some PRs that have been
  5968. fixed are not listed here).
  5969. Target Specific Changes
  5970. IA-32/x86-64
  5971. ABI changes
  5972. * Starting with GCC 4.3.1, decimal floating point variables are
  5973. aligned to their natural boundaries when they are passed on the
  5974. stack for i386.
  5975. Command-line changes
  5976. * Starting with GCC 4.3.1, the -mcld option has been added to
  5977. automatically generate a cld instruction in the prologue of
  5978. functions that use string instructions. This option is used for
  5979. backward compatibility on some operating systems and can be enabled
  5980. by default for 32-bit x86 targets by configuring GCC with the
  5981. --enable-cld configure option.
  5982. GCC 4.3.2
  5983. This is the [26]list of problem reports (PRs) from GCC's bug tracking
  5984. system that are known to be fixed in the 4.3.2 release. This list might
  5985. not be complete (that is, it is possible that some PRs that have been
  5986. fixed are not listed here).
  5987. GCC 4.3.3
  5988. This is the [27]list of problem reports (PRs) from GCC's bug tracking
  5989. system that are known to be fixed in the 4.3.3 release. This list might
  5990. not be complete (that is, it is possible that some PRs that have been
  5991. fixed are not listed here).
  5992. GCC 4.3.4
  5993. This is the [28]list of problem reports (PRs) from GCC's bug tracking
  5994. system that are known to be fixed in the 4.3.4 release. This list might
  5995. not be complete (that is, it is possible that some PRs that have been
  5996. fixed are not listed here).
  5997. GCC 4.3.5
  5998. This is the [29]list of problem reports (PRs) from GCC's bug tracking
  5999. system that are known to be fixed in the 4.3.5 release. This list might
  6000. not be complete (that is, it is possible that some PRs that have been
  6001. fixed are not listed here).
  6002. GCC 4.3.6
  6003. This is the [30]list of problem reports (PRs) from GCC's bug tracking
  6004. system that are known to be fixed in the 4.3.6 release. This list might
  6005. not be complete (that is, it is possible that some PRs that have been
  6006. fixed are not listed here).
  6007. For questions related to the use of GCC, please consult these web
  6008. pages and the [31]GCC manuals. If that fails, the
  6009. [32]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  6010. web pages and the development of GCC are welcome on our developer
  6011. list at [33]gcc@gcc.gnu.org. All of [34]our lists have public
  6012. archives.
  6013. Copyright (C) [35]Free Software Foundation, Inc. Verbatim copying and
  6014. distribution of this entire article is permitted in any medium,
  6015. provided this notice is preserved.
  6016. These pages are [36]maintained by the GCC team. Last modified
  6017. 2014-06-28[37].
  6018. References
  6019. 1. http://gcc.gnu.org/gcc-4.3/changes.html#4.3.5
  6020. 2. http://gmplib.org/
  6021. 3. http://www.mpfr.org/
  6022. 4. https://gcc.gnu.org/install/prerequisites.html
  6023. 5. https://gcc.gnu.org/ml/gcc-announce/2001/msg00000.html
  6024. 6. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
  6025. 7. http://gcc.gnu.org/gcc-4.3/porting_to.html
  6026. 8. http://www.mpfr.org/
  6027. 9. http://www.mpfr.org/
  6028. 10. http://www.mpfr.org/
  6029. 11. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
  6030. 12. http://gcc.gnu.org/gcc-4.3/cxx0x_status.html
  6031. 13. http://gcc.gnu.org/gcc-4.3/cxx0x_status.html
  6032. 14. https://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01.html#m anual.intro.status.standard.tr1
  6033. 15. https://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mode.html
  6034. 16. http://gmplib.org/
  6035. 17. http://www.mpfr.org/
  6036. 18. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#Code-Gen-Options
  6037. 19. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfinit-local-zero_007d-167
  6038. 20. https://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/GAMMA.html
  6039. 21. https://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/LGAMMA.html
  6040. 22. https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
  6041. 23. https://gcc.gnu.org/onlinedocs/gfortran/BOZ-literal-constants.html
  6042. 24. https://gcc.gnu.org/onlinedocs/libstdc++/
  6043. 25. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.1
  6044. 26. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.2
  6045. 27. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.3
  6046. 28. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.4
  6047. 29. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.5
  6048. 30. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.6
  6049. 31. https://gcc.gnu.org/onlinedocs/
  6050. 32. mailto:gcc-help@gcc.gnu.org
  6051. 33. mailto:gcc@gcc.gnu.org
  6052. 34. https://gcc.gnu.org/lists.html
  6053. 35. http://www.fsf.org/
  6054. 36. https://gcc.gnu.org/about.html
  6055. 37. http://validator.w3.org/check/referer
  6056. ======================================================================
  6057. http://gcc.gnu.org/gcc-4.2/index.html
  6058. GCC 4.2 Release Series
  6059. May 19, 2008
  6060. The [1]GNU project and the GCC developers are pleased to announce the
  6061. release of GCC 4.2.4.
  6062. This release is a bug-fix release, containing fixes for regressions in
  6063. GCC 4.2.3 relative to previous releases of GCC.
  6064. Release History
  6065. GCC 4.2.4
  6066. May 19, 2008 ([2]changes)
  6067. GCC 4.2.3
  6068. February 1, 2008 ([3]changes)
  6069. GCC 4.2.2
  6070. October 7, 2007 ([4]changes)
  6071. GCC 4.2.1
  6072. July 18, 2007 ([5]changes)
  6073. GCC 4.2.0
  6074. May 13, 2007 ([6]changes)
  6075. References and Acknowledgements
  6076. GCC used to stand for the GNU C Compiler, but since the compiler
  6077. supports several other languages aside from C, it now stands for the
  6078. GNU Compiler Collection.
  6079. A list of [7]successful builds is updated as new information becomes
  6080. available.
  6081. The GCC developers would like to thank the numerous people that have
  6082. contributed new features, improvements, bug fixes, and other changes as
  6083. well as test results to GCC. This [8]amazing group of volunteers is
  6084. what makes GCC successful.
  6085. For additional information about GCC please refer to the [9]GCC project
  6086. web site or contact the [10]GCC development mailing list.
  6087. To obtain GCC please use [11]our mirror sites or [12]our SVN server.
  6088. For questions related to the use of GCC, please consult these web
  6089. pages and the [13]GCC manuals. If that fails, the
  6090. [14]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  6091. web pages and the development of GCC are welcome on our developer
  6092. list at [15]gcc@gcc.gnu.org. All of [16]our lists have public
  6093. archives.
  6094. Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
  6095. distribution of this entire article is permitted in any medium,
  6096. provided this notice is preserved.
  6097. These pages are [18]maintained by the GCC team. Last modified
  6098. 2014-06-28[19].
  6099. References
  6100. 1. http://www.gnu.org/
  6101. 2. http://gcc.gnu.org/gcc-4.2/changes.html
  6102. 3. http://gcc.gnu.org/gcc-4.2/changes.html
  6103. 4. http://gcc.gnu.org/gcc-4.2/changes.html
  6104. 5. http://gcc.gnu.org/gcc-4.2/changes.html
  6105. 6. http://gcc.gnu.org/gcc-4.2/changes.html
  6106. 7. http://gcc.gnu.org/gcc-4.2/buildstat.html
  6107. 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  6108. 9. http://gcc.gnu.org/index.html
  6109. 10. mailto:gcc@gcc.gnu.org
  6110. 11. http://gcc.gnu.org/mirrors.html
  6111. 12. http://gcc.gnu.org/svn.html
  6112. 13. https://gcc.gnu.org/onlinedocs/
  6113. 14. mailto:gcc-help@gcc.gnu.org
  6114. 15. mailto:gcc@gcc.gnu.org
  6115. 16. https://gcc.gnu.org/lists.html
  6116. 17. http://www.fsf.org/
  6117. 18. https://gcc.gnu.org/about.html
  6118. 19. http://validator.w3.org/check/referer
  6119. ======================================================================
  6120. http://gcc.gnu.org/gcc-4.2/changes.html
  6121. GCC 4.2 Release Series
  6122. Changes, New Features, and Fixes
  6123. Caveats
  6124. * GCC no longer accepts the -fshared-data option. This option has had
  6125. no effect in any GCC 4 release; the targets to which the option
  6126. used to apply had been removed before GCC 4.0.
  6127. General Optimizer Improvements
  6128. * New command-line options specify the possible relationships among
  6129. parameters and between parameters and global data. For example,
  6130. -fargument-noalias-anything specifies that arguments do not alias
  6131. any other storage.
  6132. Each language will automatically use whatever option is required by
  6133. the language standard. You should not need to use these options
  6134. yourself.
  6135. New Languages and Language specific improvements
  6136. * [1]OpenMP is now supported for the C, C++ and Fortran compilers.
  6137. * New command-line options -fstrict-overflow and -Wstrict-overflow
  6138. have been added. -fstrict-overflow tells the compiler that it may
  6139. assume that the program follows the strict signed overflow
  6140. semantics permitted for the language: for C and C++ this means that
  6141. the compiler may assume that signed overflow does not occur. For
  6142. example, a loop like
  6143. for (i = 1; i > 0; i *= 2)
  6144. is presumably intended to continue looping until i overflows. With
  6145. -fstrict-overflow, the compiler may assume that signed overflow
  6146. will not occur, and transform this into an infinite loop.
  6147. -fstrict-overflow is turned on by default at -O2, and may be
  6148. disabled via -fno-strict-overflow. The -Wstrict-overflow option may
  6149. be used to warn about cases where the compiler assumes that signed
  6150. overflow will not occur. It takes five different levels:
  6151. -Wstrict-overflow=1 to 5. See the [2]documentation for details.
  6152. -Wstrict-overflow=1 is enabled by -Wall.
  6153. * The new command-line option -fno-toplevel-reorder directs GCC to
  6154. emit top-level functions, variables, and asm statements in the same
  6155. order that they appear in the input file. This is intended to
  6156. support existing code which relies on a particular ordering (for
  6157. example, code which uses top-level asm statements to switch
  6158. sections). For new code, it is generally better to use function and
  6159. variable attributes. The -fno-toplevel-reorder option may be used
  6160. for most cases which currently use -fno-unit-at-a-time. The
  6161. -fno-unit-at-a-time option will be removed in some future version
  6162. of GCC. If you know of a case which requires -fno-unit-at-a-time
  6163. which is not fixed by -fno-toplevel-reorder, please open a bug
  6164. report.
  6165. C family
  6166. * The pragma redefine_extname will now macro expand its tokens for
  6167. compatibility with SunPRO.
  6168. * In the next release of GCC, 4.3, -std=c99 or -std=gnu99 will direct
  6169. GCC to handle inline functions as specified in the C99 standard. In
  6170. preparation for this, GCC 4.2 will warn about any use of non-static
  6171. inline functions in gnu99 or c99 mode. This new warning may be
  6172. disabled with the new gnu_inline function attribute or the new
  6173. -fgnu89-inline command-line option. Also, GCC 4.2 and later will
  6174. define one of the preprocessor macros __GNUC_GNU_INLINE__ or
  6175. __GNUC_STDC_INLINE__ to indicate the semantics of inline functions
  6176. in the current compilation.
  6177. * A new command-line option -Waddress has been added to warn about
  6178. suspicious uses of memory addresses as, for example, using the
  6179. address of a function in a conditional expression, and comparisons
  6180. against the memory address of a string literal. This warning is
  6181. enabled by -Wall.
  6182. C++
  6183. * C++ visibility handling has been overhauled.
  6184. Restricted visiblity is propagated from classes to members, from
  6185. functions to local statics, and from templates and template
  6186. arguments to instantiations, unless the latter has explicitly
  6187. declared visibility.
  6188. The visibility attribute for a class must come between the
  6189. class-key and the name, not after the closing brace.
  6190. Attributes are now allowed for enums and elaborated-type-specifiers
  6191. that only declare a type.
  6192. Members of the anonymous namespace are now local to a particular
  6193. translation unit, along with any other declarations which use them,
  6194. though they are still treated as having external linkage for
  6195. language semantics.
  6196. * The (undocumented) extension which permitted templates with default
  6197. arguments to be bound to template template parameters with fewer
  6198. parameters has been removed. For example:
  6199. template <template <typename> class C>
  6200. void f(C<double>) {}
  6201. template <typename T, typename U = int>
  6202. struct S {};
  6203. template void f(S<double>);
  6204. is no longer accepted by G++. The reason this code is not accepted
  6205. is that S is a template with two parameters; therefore, it cannot
  6206. be bound to C which has only one parameter.
  6207. * The <?, >?, <?=, and >?= operators, deprecated in previous GCC
  6208. releases, have been removed.
  6209. * The command-line option -fconst-strings, deprecated in previous GCC
  6210. releases, has been removed.
  6211. * The configure variable enable-__cxa_atexit is now enabled by
  6212. default for more targets. Enabling this variable is necessary in
  6213. order for static destructors to be executed in the correct order,
  6214. but it depends upon the presence of a non-standard C library in the
  6215. target library in order to work. The variable is now enabled for
  6216. more targets which are known to have suitable C libraries.
  6217. * -Wextra will produce warnings for if statements with a semicolon as
  6218. the only body, to catch code like:
  6219. if (a);
  6220. return 1;
  6221. return 0;
  6222. To suppress the warning in valid cases, use { } instead.
  6223. * The C++ frontend now also produces strict aliasing warnings when
  6224. -fstrict-aliasing -Wstrict-aliasing is in effect.
  6225. Runtime Library (libstdc++)
  6226. * Added support for TR1 <random>, <complex>, and C compatibility
  6227. headers. In addition, a lock-free version of shared_ptr was
  6228. contributed as part of Phillip Jordan's Google Summer of Code
  6229. project on lock-free containers. ([3]Implementation status of TR1)
  6230. * In association with the Summer of Code work on lock-free
  6231. containers, the interface for atomic builtins was adjusted,
  6232. creating simpler alternatives for non-threaded code paths. Also,
  6233. usage was consolidated and all elements were moved from namespace
  6234. std to namespace__gnu_cxx. Affected interfaces are the functions
  6235. __exchange_and_add, __atomic_add, and the objects __mutex,
  6236. __recursive_mutex, and __scoped_lock.
  6237. * Support for versioning weak symbol names via namespace association
  6238. was added. However, as this changes the names of exported symbols,
  6239. this is turned off by default in the current ABI. Intrepid users
  6240. can enable this feature by using
  6241. --enable-symvers=gnu-versioned-namespace during configuration.
  6242. * Revised, simplified, and expanded policy-based associative
  6243. containers, including data types for tree and trie forms
  6244. (basic_tree, tree, trie), lists (list_update), and both
  6245. collision-chaining and probing hash-based containers
  6246. (basic_hash_table, cc_hash_table, gp_hash_table). More details per
  6247. the [4]documentation.
  6248. * The implementation of the debug mode was modified, whereby the
  6249. debug namespaces were nested inside of namespace std and namespace
  6250. __gnu_cxx in order to resolve some long standing corner cases
  6251. involving name lookup. Debug functionality from the policy-based
  6252. data structures was consolidated and enabled with the single macro,
  6253. _GLIBCXX_DEBUG. See PR 26142 for more information.
  6254. * Added extensions for type traits: __conditional_type,
  6255. __numeric_traits, __add_unsigned, __removed_unsigned, __enable_if.
  6256. * Added a typelist implementation for compile-time meta-programming.
  6257. Elements for typelist construction and operation can be found
  6258. within namespace __gnu_cxx::typelist.
  6259. * Added a new allocator, __gnu_cxx::throw_allocator, for testing
  6260. exception-safety.
  6261. * Enabled library-wide visibility control, allowing -fvisibility to
  6262. be used.
  6263. * Consolidated all nested namespaces and the conversion of
  6264. __gnu_internal implementation-private details to anonymous
  6265. namespaces whenever possible.
  6266. * Implemented LWG resolutions DR 431 and DR 538.
  6267. Fortran
  6268. * Support for allocatable components has been added (TR 15581 and
  6269. Fortran 2003).
  6270. * Support for the Fortran 2003 streaming IO extension has been added.
  6271. * The GNU Fortran compiler now uses 4-byte record markers by default
  6272. for unformatted files to be compatible with g77 and most other
  6273. compilers. The implementation allows for records greater than 2 GB
  6274. and is compatible with several other compilers. Older versions of
  6275. gfortran used 8-byte record markers by default (on most systems).
  6276. In order to change the length of the record markers, e.g. to read
  6277. unformatted files created by older gfortran versions, the
  6278. [5]-frecord-marker=8 option can be used.
  6279. Java (GCJ)
  6280. * A new command-line option -static-libgcj has been added for targets
  6281. that use a linker compatible with GNU Binutils. As its name
  6282. implies, this causes libgcj to be linked statically. In some cases
  6283. this causes the resulting executable to start faster and use less
  6284. memory than if the shared version of libgcj were used. However
  6285. caution should be used as it can also cause essential parts of the
  6286. library to be omitted. Some of these issues are discussed in:
  6287. [6]https://gcc.gnu.org/wiki/Statically_linking_libgcj
  6288. * fastjar is no longer bundled with GCC. To build libgcj, you will
  6289. need either InfoZIP (both zip and unzip) or an external jar
  6290. program. In the former case, the GCC build will install a jar shell
  6291. script that is based on InfoZIP and provides the same functionality
  6292. as fastjar.
  6293. New Targets and Target Specific Improvements
  6294. IA-32/x86-64
  6295. * -mtune=generic can now be used to generate code running well on
  6296. common x86 chips. This includes AMD Athlon, AMD Opteron, Intel
  6297. Pentium-M, Intel Pentium 4 and Intel Core 2.
  6298. * -mtune=native and -march=native will produce code optimized for the
  6299. host architecture as detected using the cpuid instruction.
  6300. * Added a new command-line option -fstackrealign and and
  6301. __attribute__ ((force_align_arg_pointer)) to realign the stack at
  6302. runtime. This allows functions compiled with a vector-aligned stack
  6303. to be invoked from legacy objects that keep only word-alignment.
  6304. SPARC
  6305. * The default CPU setting has been changed from V7 to V9 in 32-bit
  6306. mode on Solaris 7 and above. This is already the case in 64-bit
  6307. mode. It can be overridden by specifying --with-cpu at configure
  6308. time.
  6309. * Back-end support of built-in functions for atomic memory access has
  6310. been implemented.
  6311. * Support for the Sun UltraSPARC T1 (Niagara) processor has been
  6312. added.
  6313. M32C
  6314. * Various bug fixes have made some functions (notably, functions
  6315. returning structures) incompatible with previous releases.
  6316. Recompiling all libraries is recommended. Note that code quality
  6317. has considerably improved since 4.1, making a recompile even more
  6318. beneficial.
  6319. MIPS
  6320. * Added support for the Broadcom SB-1A core.
  6321. IA-64
  6322. * Added support for IA-64 data and control speculation. By default
  6323. speculation is enabled only during second scheduler pass. A number
  6324. of machine flags was introduced to control the usage of speculation
  6325. for both scheduler passes.
  6326. HPPA
  6327. * Added Java language support (libffi and libjava) for 32-bit HP-UX
  6328. 11 target.
  6329. Obsolete Systems
  6330. Documentation improvements
  6331. PDF Documentation
  6332. * A make pdf target has been added to the top-level makefile,
  6333. enabling automated production of PDF documentation files.
  6334. (Front-ends external to GCC should modify their Make-lang.in file
  6335. to add a lang.pdf: target.)
  6336. Other significant improvements
  6337. Build system improvements
  6338. * All the components of the compiler are now bootstrapped by default.
  6339. This improves the resilience to bugs in the system compiler or
  6340. binary compatibility problems, as well as providing better testing
  6341. of GCC 4.2 itself. In addition, if you build the compiler from a
  6342. combined tree, the assembler, linker, etc. will also be
  6343. bootstrapped (i.e. built with themselves).
  6344. You can disable this behavior, and go back to the pre-GCC 4.2 set
  6345. up, by configuring GCC with --disable-bootstrap.
  6346. * The rules that configure follows to find target tools resemble more
  6347. closely the locations that the built compiler will search. In
  6348. addition, you can use the new configure option --with-target-tools
  6349. to specify where to find the target tools used during the build,
  6350. without affecting what the built compiler will use.
  6351. This can be especially useful when building packages of GCC. For
  6352. example, you may want to build GCC with GNU as or ld, even if the
  6353. resulting compiler to work with the native assembler and linker. To
  6354. do so, you can use --with-target-tools to point to the native
  6355. tools.
  6356. Incompatible changes to the build system
  6357. * Front-ends external to GCC should modify their Make-lang.in file to
  6358. replace double-colon rules (e.g. dvi::) with normal rules (like
  6359. lang.dvi:). Front-end makefile hooks do not use double-colon rules
  6360. anymore.
  6361. * Up to GCC 4.1, a popular way to specify the target tools used
  6362. during the build was to create directories named gas, binutils,
  6363. etc. in the build tree, and create links to the tools from there.
  6364. This does not work any more when the compiler is bootstrapped. The
  6365. new configure option --with-target-tools provides a better way to
  6366. achieve the same effect, and works for all native and cross
  6367. settings.
  6368. For questions related to the use of GCC, please consult these web
  6369. pages and the [7]GCC manuals. If that fails, the
  6370. [8]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  6371. web pages and the development of GCC are welcome on our developer
  6372. list at [9]gcc@gcc.gnu.org. All of [10]our lists have public
  6373. archives.
  6374. Copyright (C) [11]Free Software Foundation, Inc. Verbatim copying and
  6375. distribution of this entire article is permitted in any medium,
  6376. provided this notice is preserved.
  6377. These pages are [12]maintained by the GCC team. Last modified
  6378. 2014-06-28[13].
  6379. References
  6380. 1. http://gcc.gnu.org/projects/gomp/
  6381. 2. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
  6382. 3. https://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01.html#manual.intro.status.standard.tr1
  6383. 4. https://gcc.gnu.org/onlinedocs/libstdc++/ext/pb_ds/index.html
  6384. 5. https://gcc.gnu.org/onlinedocs/gfortran/Runtime-Options.html
  6385. 6. https://gcc.gnu.org/wiki/Statically_linking_libgcj
  6386. 7. https://gcc.gnu.org/onlinedocs/
  6387. 8. mailto:gcc-help@gcc.gnu.org
  6388. 9. mailto:gcc@gcc.gnu.org
  6389. 10. https://gcc.gnu.org/lists.html
  6390. 11. http://www.fsf.org/
  6391. 12. https://gcc.gnu.org/about.html
  6392. 13. http://validator.w3.org/check/referer
  6393. ======================================================================
  6394. http://gcc.gnu.org/gcc-4.1/index.html
  6395. GCC 4.1 Release Series
  6396. February 13, 2007
  6397. The [1]GNU project and the GCC developers are pleased to announce the
  6398. release of GCC 4.1.2.
  6399. This release is a bug-fix release, containing fixes for regressions in
  6400. GCC 4.1.1 relative to previous releases of GCC.
  6401. Release History
  6402. GCC 4.1.2
  6403. February 13, 2007 ([2]changes)
  6404. GCC 4.1.1
  6405. May 24, 2006 ([3]changes)
  6406. GCC 4.1.0
  6407. February 28, 2006 ([4]changes)
  6408. References and Acknowledgements
  6409. GCC used to stand for the GNU C Compiler, but since the compiler
  6410. supports several other languages aside from C, it now stands for the
  6411. GNU Compiler Collection.
  6412. A list of [5]successful builds is updated as new information becomes
  6413. available.
  6414. The GCC developers would like to thank the numerous people that have
  6415. contributed new features, improvements, bug fixes, and other changes as
  6416. well as test results to GCC. This [6]amazing group of volunteers is
  6417. what makes GCC successful.
  6418. For additional information about GCC please refer to the [7]GCC project
  6419. web site or contact the [8]GCC development mailing list.
  6420. To obtain GCC please use [9]our mirror sites or [10]our SVN server.
  6421. For questions related to the use of GCC, please consult these web
  6422. pages and the [11]GCC manuals. If that fails, the
  6423. [12]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  6424. web pages and the development of GCC are welcome on our developer
  6425. list at [13]gcc@gcc.gnu.org. All of [14]our lists have public
  6426. archives.
  6427. Copyright (C) [15]Free Software Foundation, Inc. Verbatim copying and
  6428. distribution of this entire article is permitted in any medium,
  6429. provided this notice is preserved.
  6430. These pages are [16]maintained by the GCC team. Last modified
  6431. 2014-06-28[17].
  6432. References
  6433. 1. http://www.gnu.org/
  6434. 2. http://gcc.gnu.org/gcc-4.1/changes.html#4.1.2
  6435. 3. http://gcc.gnu.org/gcc-4.1/changes.html
  6436. 4. http://gcc.gnu.org/gcc-4.1/changes.html
  6437. 5. http://gcc.gnu.org/gcc-4.1/buildstat.html
  6438. 6. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  6439. 7. http://gcc.gnu.org/index.html
  6440. 8. mailto:gcc@gcc.gnu.org
  6441. 9. http://gcc.gnu.org/mirrors.html
  6442. 10. http://gcc.gnu.org/svn.html
  6443. 11. https://gcc.gnu.org/onlinedocs/
  6444. 12. mailto:gcc-help@gcc.gnu.org
  6445. 13. mailto:gcc@gcc.gnu.org
  6446. 14. https://gcc.gnu.org/lists.html
  6447. 15. http://www.fsf.org/
  6448. 16. https://gcc.gnu.org/about.html
  6449. 17. http://validator.w3.org/check/referer
  6450. ======================================================================
  6451. http://gcc.gnu.org/gcc-4.1/changes.html
  6452. GCC 4.1 Release Series
  6453. Changes, New Features, and Fixes
  6454. The latest release in the 4.1 release series is [1]GCC 4.1.2.
  6455. Caveats
  6456. General Optimizer Improvements
  6457. * GCC now has infrastructure for inter-procedural optimizations and
  6458. the following inter-procedural optimizations are implemented:
  6459. + Profile guided inlining. When doing profile feedback guided
  6460. optimization, GCC can now use the profile to make better
  6461. informed decisions on whether inlining of a function is
  6462. profitable or not. This means that GCC will no longer inline
  6463. functions at call sites that are not executed very often, and
  6464. that functions at hot call sites are more likely to be
  6465. inlined.
  6466. A new parameter min-inline-recursive-probability is also now
  6467. available to throttle recursive inlining of functions with
  6468. small average recursive depths.
  6469. + Discovery of pure and const functions, a form of side-effects
  6470. analysis. While older GCC releases could also discover such
  6471. special functions, the new IPA-based pass runs earlier so that
  6472. the results are available to more optimizers. The pass is also
  6473. simply more powerful than the old one.
  6474. + Analysis of references to static variables and type escape
  6475. analysis, also forms of side-effects analysis. The results of
  6476. these passes allow the compiler to be less conservative about
  6477. call-clobbered variables and references. This results in more
  6478. redundant loads being eliminated and in making static
  6479. variables candidates for register promotion.
  6480. + Improvement of RTL-based alias analysis. The results of type
  6481. escape analysis are fed to the RTL type-based alias analyzer,
  6482. allowing it to disambiguate more memory references.
  6483. + Interprocedural constant propagation and function versioning.
  6484. This pass looks for functions that are always called with the
  6485. same constant value for one or more of the function arguments,
  6486. and propagates those constants into those functions.
  6487. + GCC will now eliminate static variables whose usage was
  6488. optimized out.
  6489. + -fwhole-program --combine can now be used to make all
  6490. functions in program static allowing whole program
  6491. optimization. As an exception, the main function and all
  6492. functions marked with the new externally_visible attribute are
  6493. kept global so that programs can link with runtime libraries.
  6494. * GCC can now do a form of partial dead code elimination (PDCE) that
  6495. allows code motion of expressions to the paths where the result of
  6496. the expression is actually needed. This is not always a win, so the
  6497. pass has been limited to only consider profitable cases. Here is an
  6498. example:
  6499. int foo (int *, int *);
  6500. int
  6501. bar (int d)
  6502. {
  6503. int a, b, c;
  6504. b = d + 1;
  6505. c = d + 2;
  6506. a = b + c;
  6507. if (d)
  6508. {
  6509. foo (&b, &c);
  6510. a = b + c;
  6511. }
  6512. printf ("%d\n", a);
  6513. }
  6514. The a = b + c can be sunk to right before the printf. Normal code
  6515. sinking will not do this, it will sink the first one above into the
  6516. else-branch of the conditional jump, which still gives you two
  6517. copies of the code.
  6518. * GCC now has a value range propagation pass. This allows the
  6519. compiler to eliminate bounds checks and branches. The results of
  6520. the pass can also be used to accurately compute branch
  6521. probabilities.
  6522. * The pass to convert PHI nodes to straight-line code (a form of
  6523. if-conversion for GIMPLE) has been improved significantly. The two
  6524. most significant improvements are an improved algorithm to
  6525. determine the order in which the PHI nodes are considered, and an
  6526. improvement that allow the pass to consider if-conversions of basic
  6527. blocks with more than two predecessors.
  6528. * Alias analysis improvements. GCC can now differentiate between
  6529. different fields of structures in Tree-SSA's virtual operands form.
  6530. This lets stores/loads from non-overlapping structure fields not
  6531. conflict. A new algorithm to compute points-to sets was contributed
  6532. that can allows GCC to see now that p->a and p->b, where p is a
  6533. pointer to a structure, can never point to the same field.
  6534. * Various enhancements to auto-vectorization:
  6535. + Incrementally preserve SSA form when vectorizing.
  6536. + Incrementally preserve loop-closed form when vectorizing.
  6537. + Improvements to peeling for alignment: generate better code
  6538. when the misalignment of an access is known at compile time,
  6539. or when different accesses are known to have the same
  6540. misalignment, even if the misalignment amount itself is
  6541. unknown.
  6542. + Consider dependence distance in the vectorizer.
  6543. + Externalize generic parts of data reference analysis to make
  6544. this analysis available to other passes.
  6545. + Vectorization of conditional code.
  6546. + Reduction support.
  6547. * GCC can now partition functions in sections of hot and cold code.
  6548. This can significantly improve performance due to better
  6549. instruction cache locality. This feature works best together with
  6550. profile feedback driven optimization.
  6551. * A new pass to avoid saving of unneeded arguments to the stack in
  6552. vararg functions if the compiler can prove that they will not be
  6553. needed.
  6554. * Transition of basic block profiling to tree level implementation
  6555. has been completed. The new implementation should be considerably
  6556. more reliable (hopefully avoiding profile mismatch errors when
  6557. using -fprofile-use or -fbranch-probabilities) and can be used to
  6558. drive higher level optimizations, such as inlining.
  6559. The -ftree-based-profiling command-line option was removed and
  6560. -fprofile-use now implies disabling old RTL level loop optimizer
  6561. (-fno-loop-optimize). Speculative prefetching optimization
  6562. (originally enabled by -fspeculative-prefetching) was removed.
  6563. New Languages and Language specific improvements
  6564. C and Objective-C
  6565. * The old Bison-based C and Objective-C parser has been replaced by a
  6566. new, faster hand-written recursive-descent parser.
  6567. Ada
  6568. * The build infrastructure for the Ada runtime library and tools has
  6569. been changed to be better integrated with the rest of the build
  6570. infrastructure of GCC. This should make doing cross builds of Ada a
  6571. bit easier.
  6572. C++
  6573. * ARM-style name-injection of friend declarations is no longer the
  6574. default. For example:
  6575. struct S {
  6576. friend void f();
  6577. };
  6578. void g() { f(); }
  6579. will not be accepted; instead a declaration of f will need to be
  6580. present outside of the scope of S. The new -ffriend-injection
  6581. option will enable the old behavior.
  6582. * The (undocumented) extension which permitted templates with default
  6583. arguments to be bound to template template parameters with fewer
  6584. parameters has been deprecated, and will be removed in the next
  6585. major release of G++. For example:
  6586. template <template <typename> class C>
  6587. void f(C<double>) {}
  6588. template <typename T, typename U = int>
  6589. struct S {};
  6590. template void f(S<double>);
  6591. makes use of the deprecated extension. The reason this code is not
  6592. valid ISO C++ is that S is a template with two parameters;
  6593. therefore, it cannot be bound to C which has only one parameter.
  6594. Runtime Library (libstdc++)
  6595. * Optimization work:
  6596. + A new implementation of std::search_n is provided, better
  6597. performing in case of random access iterators.
  6598. + Added further efficient specializations of istream functions,
  6599. i.e., character array and string extractors.
  6600. + Other smaller improvements throughout.
  6601. * Policy-based associative containers, designed for high-performance,
  6602. flexibility and semantic safety are delivered in ext/pb_assoc.
  6603. * A versatile string class, __gnu_cxx::__versa_string, providing
  6604. facilities conforming to the standard requirements for
  6605. basic_string, is delivered in <ext/vstring.h>. In particular:
  6606. + Two base classes are provided: the default one avoids
  6607. reference counting and is optimized for short strings; the
  6608. alternate one, still uses it while improving in a few low
  6609. level areas (e.g., alignment). See vstring_fwd.h for some
  6610. useful typedefs.
  6611. + Various algorithms have been rewritten (e.g., replace), the
  6612. code streamlined and simple optimizations added.
  6613. + Option 3 of DR 431 is implemented for both available bases,
  6614. thus improving the support for stateful allocators.
  6615. * As usual, many bugs have been fixed (e.g., libstdc++/13583,
  6616. libstdc++/23953) and LWG resolutions put into effect for the first
  6617. time (e.g., DR 280, DR 464, N1780 recommendations for DR 233, TR1
  6618. Issue 6.19). The implementation status of TR1 is now tracked in the
  6619. docs in tr1.html.
  6620. Objective-C++
  6621. * A new language front end for Objective-C++ has been added. This
  6622. language allows users to mix the object oriented features of
  6623. Objective-C with those of C++.
  6624. Java (GCJ)
  6625. * Core library (libgcj) updates based on GNU Classpath 0.15 - 0.19
  6626. features (plus some 0.20 bug-fixes)
  6627. + Networking
  6628. o The java.net.HttpURLConnection implementation no longer
  6629. buffers the entire response body in memory. This means
  6630. that response bodies larger than available memory can now
  6631. be handled.
  6632. + (N)IO
  6633. o NIO FileChannel.map implementation, fast bulk put
  6634. implementation for DirectByteBuffer (speeds up this
  6635. method 10x).
  6636. o FileChannel.lock() and FileChannel.force() implemented.
  6637. + XML
  6638. o gnu.xml fix for nodes created outside a namespace
  6639. context.
  6640. o Add support for output indenting and
  6641. cdata-section-elements output instruction in
  6642. xml.transform.
  6643. o xml.xpath corrections for cases where elements/attributes
  6644. might have been created in non-namespace-aware mode.
  6645. Corrections to handling of XSL variables and minor
  6646. conformance updates.
  6647. + AWT
  6648. o GNU JAWT implementation, the AWT Native Interface, which
  6649. allows direct access to native screen resources from
  6650. within a Canvas's paint method. GNU Classpath Examples
  6651. comes with a Demo, see libjava/classpath/examples/README.
  6652. o awt.datatransfer updated to 1.5 with support for
  6653. FlavorEvents. The gtk+ awt peers now allow copy/paste of
  6654. text, images, URIs/files and serialized objects with
  6655. other applications and tracking clipboard change events
  6656. with gtk+ 2.6 (for gtk+ 2.4 only text and serialized
  6657. objects are supported). A GNU Classpath Examples
  6658. datatransfer Demo was added to show the new
  6659. functionality.
  6660. o Split gtk+ awt peers event handling in two threads and
  6661. improve gdk lock handling (solves several awt lock ups).
  6662. o Speed up awt Image loading.
  6663. o Better gtk+ scrollbar peer implementation when using gtk+
  6664. >= 2.6.
  6665. o Handle image loading errors correctly for gdkpixbuf and
  6666. MediaTracker.
  6667. o Better handle GDK lock. Properly prefix gtkpeer native
  6668. functions (cp_gtk).
  6669. o GdkGraphics2D has been updated to use Cairo 0.5.x or
  6670. higher.
  6671. o BufferedImage and GtkImage rewrites. All image drawing
  6672. operations should now work correctly (flipping requires
  6673. gtk+ >= 2.6)
  6674. o Future Graphics2D, image and text work is documented at:
  6675. [2]http://developer.classpath.org/mediation/ClasspathGrap
  6676. hicsImagesText
  6677. o When gtk+ 2.6 or higher is installed the default log
  6678. handler will produce stack traces whenever a WARNING,
  6679. CRITICAL or ERROR message is produced.
  6680. + Free Swing
  6681. o The RepaintManager has been reworked for more efficient
  6682. painting, especially for large GUIs.
  6683. o The layout manager OverlayLayout has been implemented,
  6684. the BoxLayout has been rewritten to make use of the
  6685. SizeRequirements utility class and caching for more
  6686. efficient layout.
  6687. o Improved accessibility support.
  6688. o Significant progress has been made in the implementation
  6689. of the javax.swing.plaf.metal package, with most UI
  6690. delegates in a working state now. Please test this with
  6691. your own applications and provide feedback that will help
  6692. us to improve this package.
  6693. o The GUI demo (gnu.classpath.examples.swing.Demo) has been
  6694. extended to highlight various features in our Free Swing
  6695. implementation. And it includes a look and feel switcher
  6696. for Metal (default), Ocean and GNU themes.
  6697. o The javax.swing.plaf.multi package is now implemented.
  6698. o Editing and several key actions for JTree and JTable were
  6699. implemented.
  6700. o Lots of icons and look and feel improvements for Free
  6701. Swing basic and metal themes were added. Try running the
  6702. GNU Classpath Swing Demo in examples
  6703. (gnu.classpath.examples.swing.Demo) with:
  6704. -Dswing.defaultlaf=javax.swing.plaf.basic.BasicLookAndFee
  6705. l or
  6706. -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFee
  6707. l
  6708. o Start of styled text capabilites for java.swing.text.
  6709. o DefaultMutableTreeNode pre-order, post-order, depth-first
  6710. and breadth-first traversal enumerations implemented.
  6711. o JInternalFrame colors and titlebar draw properly.
  6712. o JTree is working up to par (icons, selection and keyboard
  6713. traversal).
  6714. o JMenus were made more compatible in visual and
  6715. programmatic behavior.
  6716. o JTable changeSelection and multiple selections
  6717. implemented.
  6718. o JButton and JToggleButton change states work properly
  6719. now.
  6720. o JFileChooser fixes.
  6721. o revalidate() and repaint() fixes which make Free Swing
  6722. much more responsive.
  6723. o MetalIconFactory implemented.
  6724. o Free Swing Top-Level Compatibility. JFrame, JDialog,
  6725. JApplet, JInternalFrame, and JWindow are now 1.5
  6726. compatible in the sense that you can call add() and
  6727. setLayout() directly on them, which will have the same
  6728. effect as calling getContentPane().add() and
  6729. getContentPane().setLayout().
  6730. o The JTree interface has been completed. JTrees now
  6731. recognizes mouse clicks and selections work.
  6732. o BoxLayout works properly now.
  6733. o Fixed GrayFilter to actually work.
  6734. o Metal SplitPane implemented.
  6735. o Lots of Free Swing text and editor stuff work now.
  6736. + Free RMI and Corba
  6737. o Andrew Watson, Vice President and Technical Director of
  6738. the Object Management Group, has officially assigned us
  6739. 20 bit Vendor Minor Code Id: 0x47430 ("GC") that will
  6740. mark remote classpath-specific system exceptions.
  6741. Obtaining the VMCID means that GNU Classpath now is a
  6742. recogniseable type of node in a highly interoperable
  6743. CORBA world.
  6744. o GNU Classpath now includes the first working draft to
  6745. support the RMI over IIOP protocol. The current
  6746. implementation is capable of remote invocations,
  6747. transferring various Serializables and Externalizables
  6748. via RMI-IIOP protocol. It can flatten graphs and, at
  6749. least for the simple cases, is interoperable with 1.5
  6750. JDKs.
  6751. o org.omg.PortableInterceptor and related functionality in
  6752. other packages is now implemented:
  6753. # The sever and client interceptors work as required
  6754. since 1.4.
  6755. # The IOR interceptor works as needed for 1.5.
  6756. o The org.omg.DynamicAny package is completed and passes
  6757. the prepared tests.
  6758. o The Portable Object Adapter should now support the output
  6759. of the recent IDL to java compilers. These compilers now
  6760. generate servants and not CORBA objects as before, making
  6761. the output depend on the existing POA implementation.
  6762. Completing POA means that such code can already be tried
  6763. to run on Classpath. Our POA is tested for the following
  6764. usager scenarios:
  6765. # POA converts servant to the CORBA object.
  6766. # Servant provides to the CORBA object.
  6767. # POA activates new CORBA object with the given Object
  6768. Id (byte array) that is later accessible for the
  6769. servant.
  6770. # During the first call, the ServantActivator provides
  6771. servant for this and all subsequent calls on the
  6772. current object.
  6773. # During each call, the ServantLocator provides
  6774. servant for this call only.
  6775. # ServantLocator or ServantActivator forwards call to
  6776. another server.
  6777. # POA has a single servant, responsible for all
  6778. objects.
  6779. # POA has a default servant, but some objects are
  6780. explicitly connected to they specific servants.
  6781. The POA is verified using tests from the former
  6782. cost.omg.org.
  6783. o The CORBA implementation is now a working prototype that
  6784. should support features up to 1.3 inclusive. We invite
  6785. groups writing CORBA dependent applications to try
  6786. Classpath implementation, reporting any possible bugs.
  6787. The CORBA prototype is interoperable with Sun's
  6788. implementation v 1.4, transferring object references,
  6789. primitive types, narrow and wide strings, arrays,
  6790. structures, trees, abstract interfaces and value types
  6791. (feature of CORBA 2.3) between these two platforms.
  6792. Remote exceptions are transferred and handled correctly.
  6793. The stringified object references (IORs) from various
  6794. sources are parsed as required. The transient (for
  6795. current session) and permanent (till jre restart)
  6796. redirections work. Both Little and Big Endian encoded
  6797. messages are accepted. The implementation is verified
  6798. using tests from the former cost.omg.org. The current
  6799. release includes working examples (see the examples
  6800. directory), demonstrating the client-server
  6801. communication, using either CORBA Request or IDL-based
  6802. stub (usually generated by a IDL to java compiler). These
  6803. examples also show how to use the Classpath CORBA naming
  6804. service. The IDL to java compiler is not yet written, but
  6805. as our library must be compatible, it naturally accepts
  6806. the output of other idlj implementations.
  6807. + Misc
  6808. o Updated TimeZone data against Olson tzdata2005l.
  6809. o Make zip and jar packages UTF-8 clean.
  6810. o "native" code builds and compiles (warning free) on
  6811. Darwin and Solaris.
  6812. o java.util.logging.FileHandler now rotates files.
  6813. o Start of a generic JDWP framework in gnu/classpath/jdwp.
  6814. This is unfinished, but feedback (at classpath@gnu.org)
  6815. from runtime hackers is greatly appreciated. Although
  6816. most of the work is currently being done around gcj/gij
  6817. we want this framework to be as VM neutral as possible.
  6818. Early design is described in:
  6819. [3]https://gcc.gnu.org/ml/java/2005-05/msg00260.html
  6820. o QT4 AWT peers, enable by giving configure
  6821. --enable-qt-peer. Included, but not ready for production
  6822. yet. They are explicitly disabled and not supported. But
  6823. if you want to help with the development of these new
  6824. features we are interested in feedback. You will have to
  6825. explicitly enable them to try them out (and they will
  6826. most likely contain bugs).
  6827. o Documentation fixes all over the place. See
  6828. [4]http://developer.classpath.org/doc/
  6829. New Targets and Target Specific Improvements
  6830. IA-32/x86-64
  6831. * The x86-64 medium model (that allows building applications whose
  6832. data segment exceeds 4GB) was redesigned to match latest ABI draft.
  6833. New implementation split large datastructures into separate segment
  6834. improving performance of accesses to small datastructures and also
  6835. allows linking of small model libraries into medium model programs
  6836. as long as the libraries are not accessing the large datastructures
  6837. directly. Medium model is also supported in position independent
  6838. code now.
  6839. The ABI change results in partial incompatibility among medium
  6840. model objects. Linking medium model libraries (or objects) compiled
  6841. with new compiler into medium model program compiled with older
  6842. will likely result in exceeding ranges of relocations.
  6843. Binutils 2.16.91 or newer are required for compiling medium model
  6844. now.
  6845. RS6000 (POWER/PowerPC)
  6846. * The AltiVec vector primitives in <altivec.h> are now implemented in
  6847. a way that puts a smaller burden on the preprocessor, instead
  6848. processing the "overloading" in the front ends. This should benefit
  6849. compilation speed on AltiVec vector code.
  6850. * AltiVec initializers now are generated more efficiently.
  6851. * The popcountb instruction available on POWER5 now is generated.
  6852. * The floating point round to integer instructions available on
  6853. POWER5+ now is generated.
  6854. * Floating point divides can be synthesized using the floating point
  6855. reciprocal estimate instructions.
  6856. * Double precision floating point constants are initialized as single
  6857. precision values if they can be represented exactly.
  6858. S/390, zSeries and System z9
  6859. * Support for the IBM System z9 109 processor has been added. When
  6860. using the -march=z9-109 option, the compiler will generate code
  6861. making use of instructions provided by the extended immediate
  6862. facility.
  6863. * Support for 128-bit IEEE floating point has been added. When using
  6864. the -mlong-double-128 option, the compiler will map the long double
  6865. data type to 128-bit IEEE floating point. Using this option
  6866. constitutes an ABI change, and requires glibc support.
  6867. * Various changes to improve performance of generated code have been
  6868. implemented, including:
  6869. + In functions that do not require a literal pool, register %r13
  6870. (which is traditionally reserved as literal pool pointer), can
  6871. now be freely used for other purposes by the compiler.
  6872. + More precise tracking of register use allows the compiler to
  6873. generate more efficient function prolog and epilog code in
  6874. certain cases.
  6875. + The SEARCH STRING, COMPARE LOGICAL STRING, and MOVE STRING
  6876. instructions are now used to implement C string functions.
  6877. + The MOVE CHARACTER instruction with single byte overlap is now
  6878. used to implement the memset function with non-zero fill byte.
  6879. + The LOAD ZERO instructions are now used where appropriate.
  6880. + The INSERT CHARACTERS UNDER MASK, STORE CHARACTERS UNDER MASK,
  6881. and INSERT IMMEDIATE instructions are now used more frequently
  6882. to optimize bitfield operations.
  6883. + The BRANCH ON COUNT instruction is now used more frequently.
  6884. In particular, the fact that a loop contains a subroutine call
  6885. no longer prevents the compiler from using this instruction.
  6886. + The compiler is now aware that all shift and rotate
  6887. instructions implicitly truncate the shift count to six bits.
  6888. * Back-end support for the following generic features has been
  6889. implemented:
  6890. + The full set of [5]built-in functions for atomic memory
  6891. access.
  6892. + The -fstack-protector feature.
  6893. + The optimization pass avoiding unnecessary stores of incoming
  6894. argument registers in functions with variable argument list.
  6895. SPARC
  6896. * The default code model in 64-bit mode has been changed from
  6897. Medium/Anywhere to Medium/Middle on Solaris.
  6898. * TLS support is disabled by default on Solaris prior to release 10.
  6899. It can be enabled on TLS-capable Solaris 9 versions (4/04 release
  6900. and later) by specifying --enable-tls at configure time.
  6901. MorphoSys
  6902. * Support has been added for this new architecture.
  6903. Obsolete Systems
  6904. Documentation improvements
  6905. Other significant improvements
  6906. * GCC can now emit code for protecting applications from
  6907. stack-smashing attacks. The protection is realized by buffer
  6908. overflow detection and reordering of stack variables to avoid
  6909. pointer corruption.
  6910. * Some built-in functions have been fortified to protect them against
  6911. various buffer overflow (and format string) vulnerabilities.
  6912. Compared to the mudflap bounds checking feature, the safe builtins
  6913. have far smaller overhead. This means that programs built using
  6914. safe builtins should not experience any measurable slowdown.
  6915. GCC 4.1.2
  6916. This is the [6]list of problem reports (PRs) from GCC's bug tracking
  6917. system that are known to be fixed in the 4.1.2 release. This list might
  6918. not be complete (that is, it is possible that some PRs that have been
  6919. fixed are not listed here).
  6920. When generating code for a shared library, GCC now recognizes that
  6921. global functions may be replaced when the program runs. Therefore, it
  6922. is now more conservative in deducing information from the bodies of
  6923. functions. For example, in this example:
  6924. void f() {}
  6925. void g() {
  6926. try { f(); }
  6927. catch (...) {
  6928. cout << "Exception";
  6929. }
  6930. }
  6931. G++ would previously have optimized away the catch clause, since it
  6932. would have concluded that f cannot throw exceptions. Because users may
  6933. replace f with another function in the main body of the program, this
  6934. optimization is unsafe, and is no longer performed. If you wish G++ to
  6935. continue to optimize as before, you must add a throw() clause to the
  6936. declaration of f to make clear that it does not throw exceptions.
  6937. For questions related to the use of GCC, please consult these web
  6938. pages and the [7]GCC manuals. If that fails, the
  6939. [8]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  6940. web pages and the development of GCC are welcome on our developer
  6941. list at [9]gcc@gcc.gnu.org. All of [10]our lists have public
  6942. archives.
  6943. Copyright (C) [11]Free Software Foundation, Inc. Verbatim copying and
  6944. distribution of this entire article is permitted in any medium,
  6945. provided this notice is preserved.
  6946. These pages are [12]maintained by the GCC team. Last modified
  6947. 2014-06-28[13].
  6948. References
  6949. 1. http://gcc.gnu.org/gcc-4.1/changes.html#4.1.2
  6950. 2. http://developer.classpath.org/mediation/ClasspathGraphicsImagesText
  6951. 3. https://gcc.gnu.org/ml/java/2005-05/msg00260.html
  6952. 4. http://developer.classpath.org/doc/
  6953. 5. https://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html
  6954. 6. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.1.2
  6955. 7. https://gcc.gnu.org/onlinedocs/
  6956. 8. mailto:gcc-help@gcc.gnu.org
  6957. 9. mailto:gcc@gcc.gnu.org
  6958. 10. https://gcc.gnu.org/lists.html
  6959. 11. http://www.fsf.org/
  6960. 12. https://gcc.gnu.org/about.html
  6961. 13. http://validator.w3.org/check/referer
  6962. ======================================================================
  6963. http://gcc.gnu.org/gcc-4.0/index.html
  6964. GCC 4.0 Release Series
  6965. January 31, 2007
  6966. The [1]GNU project and the GCC developers are pleased to announce the
  6967. release of GCC 4.0.4.
  6968. This release is a bug-fix release, containing fixes for regressions in
  6969. GCC 4.0.3 relative to previous releases of GCC.
  6970. Release History
  6971. GCC 4.0.4
  6972. January 31, 2007 ([2]changes)
  6973. GCC 4.0.3
  6974. March 10, 2006 ([3]changes)
  6975. GCC 4.0.2
  6976. September 28, 2005 ([4]changes)
  6977. GCC 4.0.1
  6978. July 7, 2005 ([5]changes)
  6979. GCC 4.0.0
  6980. April 20, 2005 ([6]changes)
  6981. References and Acknowledgements
  6982. GCC used to stand for the GNU C Compiler, but since the compiler
  6983. supports several other languages aside from C, it now stands for the
  6984. GNU Compiler Collection.
  6985. A list of [7]successful builds is updated as new information becomes
  6986. available.
  6987. The GCC developers would like to thank the numerous people that have
  6988. contributed new features, improvements, bug fixes, and other changes as
  6989. well as test results to GCC. This [8]amazing group of volunteers is
  6990. what makes GCC successful.
  6991. For additional information about GCC please refer to the [9]GCC project
  6992. web site or contact the [10]GCC development mailing list.
  6993. To obtain GCC please use [11]our mirror sites, or [12]our SVN server.
  6994. For questions related to the use of GCC, please consult these web
  6995. pages and the [13]GCC manuals. If that fails, the
  6996. [14]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  6997. web pages and the development of GCC are welcome on our developer
  6998. list at [15]gcc@gcc.gnu.org. All of [16]our lists have public
  6999. archives.
  7000. Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
  7001. distribution of this entire article is permitted in any medium,
  7002. provided this notice is preserved.
  7003. These pages are [18]maintained by the GCC team. Last modified
  7004. 2014-06-28[19].
  7005. References
  7006. 1. http://www.gnu.org/
  7007. 2. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.4
  7008. 3. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.3
  7009. 4. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.2
  7010. 5. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.1
  7011. 6. http://gcc.gnu.org/gcc-4.0/changes.html
  7012. 7. http://gcc.gnu.org/gcc-4.0/buildstat.html
  7013. 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  7014. 9. http://gcc.gnu.org/index.html
  7015. 10. mailto:gcc@gcc.gnu.org
  7016. 11. http://gcc.gnu.org/mirrors.html
  7017. 12. http://gcc.gnu.org/svn.html
  7018. 13. https://gcc.gnu.org/onlinedocs/
  7019. 14. mailto:gcc-help@gcc.gnu.org
  7020. 15. mailto:gcc@gcc.gnu.org
  7021. 16. https://gcc.gnu.org/lists.html
  7022. 17. http://www.fsf.org/
  7023. 18. https://gcc.gnu.org/about.html
  7024. 19. http://validator.w3.org/check/referer
  7025. ======================================================================
  7026. http://gcc.gnu.org/gcc-4.0/changes.html
  7027. GCC 4.0 Release Series
  7028. Changes, New Features, and Fixes
  7029. The latest release in the 4.0 release series is [1]GCC 4.0.4.
  7030. Caveats
  7031. * GCC now generates location lists by default when compiling with
  7032. debug info and optimization.
  7033. + GDB 6.0 and older crashes when it sees location lists. GDB 6.1
  7034. or later is needed to debug binaries containing location
  7035. lists.
  7036. + When you are trying to view a value of a variable in a part of
  7037. a function where it has no location (for example when the
  7038. variable is no longer used and thus its location was used for
  7039. something else) GDB will say that it is not available.
  7040. You can disable generating location lists by -fno-var-tracking.
  7041. * GCC no longer accepts the -fwritable-strings option. Use named
  7042. character arrays when you need a writable string.
  7043. * The options -freduce-all-givs and -fmove-all-movables have been
  7044. discontinued. They were used to circumvent a shortcoming in the
  7045. heuristics of the old loop optimization code with respect to common
  7046. Fortran constructs. The new (tree) loop optimizer works differently
  7047. and doesn't need those work-arounds.
  7048. * The graph-coloring register allocator, formerly enabled by the
  7049. option -fnew-ra, has been discontinued.
  7050. * -I- has been deprecated. -iquote is meant to replace the need for
  7051. this option.
  7052. * The MIPS -membedded-pic and -mrnames options have been removed.
  7053. * All MIPS targets now require the GNU assembler. In particular, IRIX
  7054. configurations can no longer use the MIPSpro assemblers, although
  7055. they do still support the MIPSpro linkers.
  7056. * The SPARC option -mflat has been removed.
  7057. * English-language diagnostic messages will now use Unicode quotation
  7058. marks in UTF-8 locales. (Non-English messages already used the
  7059. quotes appropriate for the language in previous releases.) If your
  7060. terminal does not support UTF-8 but you are using a UTF-8 locale
  7061. (such locales are the default on many GNU/Linux systems) then you
  7062. should set LC_CTYPE=C in the environment to disable that locale.
  7063. Programs that parse diagnostics and expect plain ASCII
  7064. English-language messages should set LC_ALL=C. See [2]Markus Kuhn's
  7065. explanation of Unicode quotation marks for more information.
  7066. * The specs file is no longer installed on most platforms. Most users
  7067. will be totally unaffected. However, if you are accustomed to
  7068. editing the specs file yourself, you will now have to use the
  7069. -dumpspecs option to generate the specs file, and then edit the
  7070. resulting file.
  7071. General Optimizer Improvements
  7072. * The [3]tree ssa branch has been merged. This merge has brought in a
  7073. completely new optimization framework based on a higher level
  7074. intermediate representation than the existing RTL representation.
  7075. Numerous new code transformations based on the new framework are
  7076. available in GCC 4.0, including:
  7077. + Scalar replacement of aggregates
  7078. + Constant propagation
  7079. + Value range propagation
  7080. + Partial redundancy elimination
  7081. + Load and store motion
  7082. + Strength reduction
  7083. + Dead store elimination
  7084. + Dead and unreachable code elimination
  7085. + [4]Autovectorization
  7086. + Loop interchange
  7087. + Tail recursion by accumulation
  7088. Many of these passes outperform their counterparts from previous
  7089. GCC releases.
  7090. * [5]Swing Modulo Scheduling (SMS). An RTL level instruction
  7091. scheduling optimization intended for loops that perform heavy
  7092. computations.
  7093. New Languages and Language specific improvements
  7094. C family
  7095. * The sentinel attribute has been added to GCC. This function
  7096. attribute allows GCC to warn when variadic functions such as execl
  7097. are not NULL terminated. See the GCC manual for a complete
  7098. description of its behavior.
  7099. * Given __attribute__((alias("target"))) it is now an error if target
  7100. is not a symbol, defined in the same translation unit. This also
  7101. applies to aliases created by #pragma weak alias=target. This is
  7102. because it's meaningless to define an alias to an undefined symbol.
  7103. On Solaris, the native assembler would have caught this error, but
  7104. GNU as does not.
  7105. C and Objective-C
  7106. * The -Wstrict-aliasing=2 option has been added. This warning catches
  7107. all unsafe cases, but it may also give a warning for some cases
  7108. that are safe.
  7109. * The cast-as-lvalue, conditional-expression-as-lvalue and
  7110. compound-expression-as-lvalue extensions, which were deprecated in
  7111. 3.3.4 and 3.4, have been removed.
  7112. * The -fwritable-strings option, which was deprecated in 3.4, has
  7113. been removed.
  7114. * #pragma pack() semantics have been brought closer to those used by
  7115. other compilers. This also applies to C++.
  7116. * Taking the address of a variable with register storage is invalid
  7117. in C. GCC now issues an error instead of a warning.
  7118. * Arrays of incomplete element type are invalid in C. GCC now issues
  7119. an error for such arrays. Declarations such as extern struct s x[];
  7120. (where struct s has not been defined) can be moved after the
  7121. definition of struct s. Function parameters declared as arrays of
  7122. incomplete type can instead be declared as pointers.
  7123. C++
  7124. * When compiling without optimizations (-O0), the C++ frontend is
  7125. much faster than in any previous versions of GCC. Independent
  7126. testers have measured speed-ups up to 25% in real-world production
  7127. code, compared to the 3.4 family (which was already the fastest
  7128. version to date). Upgrading from older versions might show even
  7129. bigger improvements.
  7130. * ELF visibility attributes can now be applied to a class type, so
  7131. that it affects every member function of a class at once, without
  7132. having to specify each individually:
  7133. class __attribute__ ((visibility("hidden"))) Foo
  7134. {
  7135. int foo1();
  7136. void foo2();
  7137. };
  7138. The syntax is deliberately similar to the __declspec() system used
  7139. by Microsoft Windows based compilers, allowing cross-platform
  7140. projects to easily reuse their existing macro system for denoting
  7141. exports and imports. By explicitly marking internal classes never
  7142. used outside a binary as hidden, one can completely avoid PLT
  7143. indirection overheads during their usage by the compiler. You can
  7144. find out more about the advantages of this at
  7145. [6]http://www.akkadia.org/drepper/dsohowto.pdf
  7146. * The -fvisibility-inlines-hidden option has been added which marks
  7147. all inlineable functions as having hidden ELF visibility, thus
  7148. removing their symbol and typeinfo from the exported symbol table
  7149. of the output ELF binary. Using this option can reduce the exported
  7150. symbol count of template-heavy code by up to 40% with no code
  7151. change at all, thus notably improving link and load times for the
  7152. binary as well as a reduction in size of up to 10%. Also, check the
  7153. new [7]-fvisibility option.
  7154. * The compiler now uses the library interface specified by the [8]C++
  7155. ABI for thread-safe initialization of function-scope static
  7156. variables. Most users should leave this alone, but embedded
  7157. programmers may want to disable this by specifying
  7158. -fno-threadsafe-statics for a small savings in code size.
  7159. * Taking the address of an explicit register variable is no longer
  7160. supported. Note that C++ allows taking the address of variables
  7161. with register storage so this will continue to compile with a
  7162. warning. For example, assuming that r0 is a machine register:
  7163. register int foo asm ("r0");
  7164. register int bar;
  7165. &foo; // error, no longer accepted
  7166. &bar; // OK, with a warning
  7167. * G++ has an undocumented extension to virtual function covariancy
  7168. rules that allowed the overrider to return a type that was
  7169. implicitly convertable to the overridden function's return type.
  7170. For instance a function returning void * could be overridden by a
  7171. function returning T *. This is now deprecated and will be removed
  7172. in a future release.
  7173. * The G++ minimum and maximum operators (<? and >?) and their
  7174. compound forms (<?=) and >?=) have been deprecated and will be
  7175. removed in a future version. Code using these operators should be
  7176. modified to use std::min and std::max instead.
  7177. * Declaration of nested classes of class templates as friends are
  7178. supported:
  7179. template <typename T> struct A {
  7180. class B {};
  7181. };
  7182. class C {
  7183. template <typename T> friend class A<T>::B;
  7184. };
  7185. This complements the feature member functions of class templates as
  7186. friends introduced in GCC 3.4.0.
  7187. * When declaring a friend class using an unqualified name, classes
  7188. outside the innermost non-class scope are not searched:
  7189. class A;
  7190. namespace N {
  7191. class B {
  7192. friend class A; // Refer to N::A which has not been declared yet
  7193. // because name outside namespace N are not searched
  7194. friend class ::A; // Refer to ::A
  7195. };
  7196. }
  7197. Hiding the friend name until declaration is still not implemented.
  7198. * Friends of classes defined outside their namespace are correctly
  7199. handled:
  7200. namespace N {
  7201. class A;
  7202. }
  7203. class N::A {
  7204. friend class B; // Refer to N::B in GCC 4.0.0
  7205. // but ::B in earlier versions of GCC
  7206. };
  7207. Runtime Library (libstdc++)
  7208. * Optimization work:
  7209. + Added efficient specializations of istream functions for char
  7210. and wchar_t.
  7211. + Further performance tuning of strings, in particular wrt
  7212. single-char append and getline.
  7213. + iter_swap - and therefore most of the mutating algorithms -
  7214. now makes an unqualified call to swap when the value_type of
  7215. the two iterators is the same.
  7216. * A large subset of the features in Technical Report 1 (TR1 for
  7217. short) is experimentally delivered (i.e., no guarantees about the
  7218. implementation are provided. In particular it is not promised that
  7219. the library will remain link-compatible when code using TR1 is
  7220. used):
  7221. + General utilities such as reference_wrapper and shared_ptr.
  7222. + Function objects, i.e., result_of, mem_fn, bind, function.
  7223. + Support for metaprogramming.
  7224. + New containers such as tuple, array, unordered_set,
  7225. unordered_map, unordered_multiset, unordered_multimap.
  7226. * As usual, many bugs have been fixed and LWG resolutions implemented
  7227. for the first time (e.g., DR 409).
  7228. Java
  7229. * In order to prevent naming conflicts with other implementations of
  7230. these tools, some GCJ binaries have been renamed:
  7231. + rmic is now grmic,
  7232. + rmiregistry is now grmiregistry, and
  7233. + jar is now fastjar.
  7234. In particular, these names were problematic for the jpackage.org
  7235. packaging conventions which install symlinks in /usr/bin that point
  7236. to the preferred versions of these tools.
  7237. * The -findirect-dispatch argument to the compiler now works and
  7238. generates code following a new "binary compatibility" ABI. Code
  7239. compiled this way follows the binary compatibility rules of the
  7240. Java Language Specification.
  7241. * libgcj now has support for using GCJ as a JIT, using the
  7242. gnu.gcj.jit family of system properties.
  7243. * libgcj can now find a shared library corresponding to the bytecode
  7244. representation of a class. See the documentation for the new
  7245. gcj-dbtool program, and the new gnu.gcj.precompiled.db.path system
  7246. property.
  7247. * There have been many improvements to the class library. Here are
  7248. some highlights:
  7249. + Much more of AWT and Swing exist.
  7250. + Many new packages and classes were added, including
  7251. java.util.regex, java.net.URI, javax.crypto,
  7252. javax.crypto.interfaces, javax.crypto.spec, javax.net,
  7253. javax.net.ssl, javax.security.auth,
  7254. javax.security.auth.callback, javax.security.auth.login,
  7255. javax.security.auth.x500, javax.security.sasl, org.ietf.jgss,
  7256. javax.imageio, javax.imageio.event, javax.imageio.spi,
  7257. javax.print, javax.print.attribute,
  7258. javax.print.attribute.standard, javax.print.event, and
  7259. javax.xml
  7260. + Updated SAX and DOM, and imported GNU JAXP
  7261. Fortran
  7262. * A new [9]Fortran front end has replaced the aging GNU Fortran 77
  7263. front end. The new front end supports Fortran 90 and Fortran 95. It
  7264. may not yet be as stable as the old Fortran front end.
  7265. Ada
  7266. * Ada (with tasking and Zero Cost Exceptions) is now available on
  7267. many more targets, including but not limited to: alpha-linux,
  7268. hppa-hpux, hppa-linux, powerpc-darwin, powerpc-linux, s390-linux,
  7269. s390x-linux, sparc-linux.
  7270. * Some of the new Ada 2005 features are now implemented like
  7271. Wide_Wide_Character and Ada.Containers.
  7272. * Many bugs have been fixed, tools and documentation improved.
  7273. * To compile Ada from the sources, install an older working Ada
  7274. compiler and then use --enable-languages=ada at configuration time,
  7275. since the Ada frontend is not currently activated by default. See
  7276. the [10]Installing GCC for details.
  7277. New Targets and Target Specific Improvements
  7278. H8/300
  7279. * The frame layout has changed. In the new layout, the prologue of a
  7280. function first saves registers and then allocate space for locals,
  7281. resulting in an 1% improvement on code size.
  7282. IA-32/x86-64 (AMD64)
  7283. * The acos, asin, drem, exp10, exp2, expm1, fmod, ilogb, log10,
  7284. log1p, log2, logb and tan mathematical builtins (and their float
  7285. and long double variants) are now implemented as inline x87
  7286. intrinsics when using -ffast-math.
  7287. * The ceil, floor, nearbyint, rint and trunc mathematical builtins
  7288. (and their float and long double variants) are now implemented as
  7289. inline x87 intrinsics when using -ffast-math.
  7290. * The x87's fsincos instruction is now used automatically with
  7291. -ffast-math when calculating both the sin and cos of the same
  7292. argument.
  7293. * Instruction selection for multiplication and division by constants
  7294. has been improved.
  7295. IA-64
  7296. * Floating point division, integer division and sqrt are now inlined,
  7297. resulting in significant performance improvements on some codes.
  7298. MIPS
  7299. * Division by zero checks now use conditional traps if the target
  7300. processor supports them. This decreases code size by one word per
  7301. division operation. The old behavior (branch and break) can be
  7302. obtained either at configure time by passing --with-divide=breaks
  7303. to configure or at runtime by passing -mdivide-breaks to GCC.
  7304. * Support for MIPS64 paired-single instructions has been added. It is
  7305. enabled by -mpaired-single and can be accessed using both the
  7306. target-independent vector extensions and new MIPS-specific built-in
  7307. functions.
  7308. * Support for the MIPS-3D ASE has been added. It is enabled by
  7309. -mips3d and provides new MIPS-3D-specific built-in functions.
  7310. * The -mexplicit-relocs option now supports static n64 code (as is
  7311. used, for example, in 64-bit linux kernels). -mexplicit-relocs
  7312. should now be feature-complete and is enabled by default when GCC
  7313. is configured to use a compatible assembler.
  7314. * Support for the NEC VR4130 series has been added. This support
  7315. includes the use of VR-specific instructions and a new VR4130
  7316. scheduler. Full VR4130 support can be selected with -march=vr4130
  7317. while code for any ISA can be tuned for the VR4130 using
  7318. -mtune=vr4130. There is also a new -mvr4130-align option that
  7319. produces better schedules at the cost of increased code size.
  7320. * Support for the Broadcom SB-1 has been extended. There is now an
  7321. SB-1 scheduler as well as support for the SB-1-specific
  7322. paired-single instructions. Full SB-1 support can be selected with
  7323. -march=sb1 while code for any ISA can be optimized for the SB-1
  7324. using -mtune=sb1.
  7325. * The compiler can now work around errata in R4000, R4400, VR4120 and
  7326. VR4130 processors. These workarounds are enabled by -mfix-r4000,
  7327. -mfix-r4400, -mfix-vr4120 and -mfix-vr4130 respectively. The VR4120
  7328. and VR4130 workarounds need binutils 2.16 or above.
  7329. * IRIX shared libraries are now installed into the standard library
  7330. directories: o32 libraries go into lib/, n32 libraries go into
  7331. lib32/ and n64 libraries go into lib64/.
  7332. * The compiler supports a new -msym32 option. It can be used to
  7333. optimize n64 code in which all symbols are known to have 32-bit
  7334. values.
  7335. S/390 and zSeries
  7336. * New command-line options help to generate code intended to run in
  7337. an environment where stack space is restricted, e.g. Linux kernel
  7338. code:
  7339. + -mwarn-framesize and -mwarn-dynamicstack trigger compile-time
  7340. warnings for single functions that require large or dynamic
  7341. stack frames.
  7342. + -mstack-size and -mstack-guard generate code that checks for
  7343. stack overflow at run time.
  7344. + -mpacked-stack generates code that reduces the stack frame
  7345. size of many functions by reusing unneeded parts of the stack
  7346. bias area.
  7347. * The -msoft-float option now ensures that generated code never
  7348. accesses floating point registers.
  7349. * The s390x-ibm-tpf target now fully supports C++, including
  7350. exceptions and threads.
  7351. * Various changes to improve performance of the generated code have
  7352. been implemented, including:
  7353. + GCC now uses sibling calls where possible.
  7354. + Condition code handling has been optimized, allowing GCC to
  7355. omit redundant comparisons in certain cases.
  7356. + The cost function guiding many optimizations has been refined
  7357. to more accurately represent the z900 and z990 processors.
  7358. + The ADD LOGICAL WITH CARRY and SUBTRACT LOGICAL WITH BORROW
  7359. instructions are now used to avoid conditional branches in
  7360. certain cases.
  7361. + The back end now uses the LEGITIMIZE_RELOAD_ADDRESS feature to
  7362. optimize address arithmetic required to access large stack
  7363. frames.
  7364. + GCC now makes more efficient use of memory-to-memory type
  7365. instructions (MVC, CLC, ...).
  7366. + More precise tracking of special register use allows better
  7367. instruction scheduling, in particular of the function prologue
  7368. and epilogue sequences.
  7369. + The Java front end now generates inline code to implement
  7370. integer division, instead of calling library routines.
  7371. SPARC
  7372. * The options -mv8, -msparclite, -mcypress, -msupersparc, -mf930 and
  7373. -mf934 have been removed. They have been replaced with -mcpu=xxx.
  7374. * The internal model used to estimate the relative cost of each
  7375. instruction has been updated. It is expected to give better results
  7376. on recent UltraSPARC processors.
  7377. * Code generation for function prologues and epilogues has been
  7378. improved, resulting in better scheduling and allowing multiple exit
  7379. points in functions.
  7380. * Support for Sun's Visual Instruction Set (VIS) has been enhanced.
  7381. It is enabled by -mvis and provides new built-in functions for VIS
  7382. instructions on UltraSPARC processors.
  7383. * The option -mapp-regs has been turned on by default on Solaris too.
  7384. NetWare
  7385. * Novell NetWare (on ix86, no other hardware platform was ever really
  7386. supported by this OS) has been re-enabled and the ABI supported by
  7387. GCC has been brought into sync with that of MetroWerks CodeWarrior
  7388. (the ABI previously supported was that of some Unix systems, which
  7389. NetWare never tried to support).
  7390. Obsolete Systems
  7391. Support for a number of older systems has been declared obsolete in GCC
  7392. 4.0. Unless there is activity to revive them, the next release of GCC
  7393. will have their sources permanently removed.
  7394. All GCC ports for the following processor architectures have been
  7395. declared obsolete:
  7396. * Intel i860
  7397. * Ubicom IP2022
  7398. * National Semiconductor NS32K
  7399. * Texas Instruments TMS320C[34]x
  7400. Also, those for some individual systems have been obsoleted:
  7401. * SPARC family
  7402. + SPARClite-based systems (sparclite-*-coff, sparclite-*-elf,
  7403. sparc86x-*-elf)
  7404. + OpenBSD 32-bit (sparc-*-openbsd*)
  7405. Documentation improvements
  7406. Other significant improvements
  7407. * Location lists are now generated by default when compiling with
  7408. debug info and optimization. Location lists provide more accurate
  7409. debug info about locations of variables and they allow debugging
  7410. code compiled with -fomit-frame-pointer.
  7411. * The -fvisibility option has been added which allows the default ELF
  7412. visibility of all symbols to be set per compilation and the new
  7413. #pragma GCC visibility preprocessor command allows the setting of
  7414. default ELF visibility for a region of code. Using
  7415. -fvisibility=hidden especially in combination with the new
  7416. -fvisibility-inlines-hidden can yield substantial improvements in
  7417. output binary quality including avoiding PLT indirection overheads,
  7418. reduction of the exported symbol count by up to 60% (with resultant
  7419. improvements to link and load times), better scope for the
  7420. optimizer to improve code and up to a 20% reduction in binary size.
  7421. Using these options correctly yields a binary with a similar symbol
  7422. count to a Windows DLL.
  7423. Perhaps more importantly, this new feature finally allows (with
  7424. careful planning) complete avoidance of symbol clashes when
  7425. manually loading shared objects with RTLD_GLOBAL, thus finally
  7426. solving problems many projects such as python were forced to use
  7427. RTLD_LOCAL for (with its resulting issues for C++ correctness). You
  7428. can find more information about using these options at
  7429. [11]https://gcc.gnu.org/wiki/Visibility.
  7430. __________________________________________________________________
  7431. GCC 4.0.1
  7432. This is the [12]list of problem reports (PRs) from GCC's bug tracking
  7433. system that are known to be fixed in the 4.0.1 release. This list might
  7434. not be complete (that is, it is possible that some PRs that have been
  7435. fixed are not listed here).
  7436. GCC 4.0.2
  7437. This is the [13]list of problem reports (PRs) from GCC's bug tracking
  7438. system that are known to be fixed in the 4.0.2 release. This list might
  7439. not be complete (that is, it is possible that some PRs that have been
  7440. fixed are not listed here).
  7441. Unfortunately, due to a release engineering failure, this release has a
  7442. regression on Solaris that will affect some C++ programs. We suggest
  7443. that Solaris users apply a [14]patch that corrects the problem. Users
  7444. who do not wish to apply the patch should explicitly link C++ programs
  7445. with the -pthreads option, even if they do not use threads. This
  7446. problem has been corrected in the current 4.0 branch sources and will
  7447. not be present in GCC 4.0.3.
  7448. GCC 4.0.3
  7449. Starting with this release, the function getcontext is recognized by
  7450. the compiler as having the same semantics as the setjmp function. In
  7451. particular, the compiler will ensure that all registers are dead before
  7452. calling such a function and will emit a warning about the variables
  7453. that may be clobbered after the second return from the function.
  7454. GCC 4.0.4
  7455. This is the [15]list of problem reports (PRs) from GCC's bug tracking
  7456. system that are known to be fixed in the 4.0.4 release. This list might
  7457. not be complete (that is, it is possible that some PRs that have been
  7458. fixed are not listed here).
  7459. The 4.0.4 release is provided for those that require a high degree of
  7460. binary compatibility with previous 4.0.x releases. For most users, the
  7461. GCC team recommends that version 4.1.1 or later be used instead."
  7462. For questions related to the use of GCC, please consult these web
  7463. pages and the [16]GCC manuals. If that fails, the
  7464. [17]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  7465. web pages and the development of GCC are welcome on our developer
  7466. list at [18]gcc@gcc.gnu.org. All of [19]our lists have public
  7467. archives.
  7468. Copyright (C) [20]Free Software Foundation, Inc. Verbatim copying and
  7469. distribution of this entire article is permitted in any medium,
  7470. provided this notice is preserved.
  7471. These pages are [21]maintained by the GCC team. Last modified
  7472. 2015-06-27[22].
  7473. References
  7474. 1. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.4
  7475. 2. http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
  7476. 3. http://gcc.gnu.org/projects/tree-ssa/
  7477. 4. http://gcc.gnu.org/projects/tree-ssa/vectorization.html
  7478. 5. http://gcc.gnu.org/news/sms.html
  7479. 6. http://www.akkadia.org/drepper/dsohowto.pdf
  7480. 7. http://gcc.gnu.org/gcc-4.0/changes.html#visibility
  7481. 8. http://mentorembedded.github.io/cxx-abi/
  7482. 9. http://gcc.gnu.org/fortran/
  7483. 10. https://gcc.gnu.org/install/
  7484. 11. https://gcc.gnu.org/wiki/Visibility
  7485. 12. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.1
  7486. 13. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.2
  7487. 14. https://gcc.gnu.org/ml/gcc-cvs/2005-09/msg00984.html
  7488. 15. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.4
  7489. 16. https://gcc.gnu.org/onlinedocs/
  7490. 17. mailto:gcc-help@gcc.gnu.org
  7491. 18. mailto:gcc@gcc.gnu.org
  7492. 19. https://gcc.gnu.org/lists.html
  7493. 20. http://www.fsf.org/
  7494. 21. https://gcc.gnu.org/about.html
  7495. 22. http://validator.w3.org/check/referer
  7496. ======================================================================
  7497. http://gcc.gnu.org/gcc-3.4/index.html
  7498. GCC 3.4 Release Series
  7499. May 26, 2006
  7500. The [1]GNU project and the GCC developers are pleased to announce the
  7501. release of GCC 3.4.6.
  7502. This release is a bug-fix release, containing fixes for regressions in
  7503. GCC 3.4.4 relative to previous releases of GCC. This is the last of the
  7504. 3.4.x series.
  7505. The GCC 3.4 release series includes numerous [2]new features,
  7506. improvements, bug fixes, and other changes, thanks to an [3]amazing
  7507. group of volunteers.
  7508. Release History
  7509. GCC 3.4.6
  7510. March 6, 2006 ([4]changes)
  7511. GCC 3.4.5
  7512. November 30, 2005 ([5]changes)
  7513. GCC 3.4.4
  7514. May 18, 2005 ([6]changes)
  7515. GCC 3.4.3
  7516. November 4, 2004 ([7]changes)
  7517. GCC 3.4.2
  7518. September 6, 2004 ([8]changes)
  7519. GCC 3.4.1
  7520. July 1, 2004 ([9]changes)
  7521. GCC 3.4.0
  7522. April 18, 2004 ([10]changes)
  7523. References and Acknowledgements
  7524. GCC used to stand for the GNU C Compiler, but since the compiler
  7525. supports several other languages aside from C, it now stands for the
  7526. GNU Compiler Collection.
  7527. A list of [11]successful builds is updated as new information becomes
  7528. available.
  7529. The GCC developers would like to thank the numerous people that have
  7530. contributed new features, improvements, bug fixes, and other changes as
  7531. well as test results to GCC. This [12]amazing group of volunteers is
  7532. what makes GCC successful.
  7533. For additional information about GCC please refer to the [13]GCC
  7534. project web site or contact the [14]GCC development mailing list.
  7535. To obtain GCC please use [15]our mirror sites, or [16]our SVN server.
  7536. For questions related to the use of GCC, please consult these web
  7537. pages and the [17]GCC manuals. If that fails, the
  7538. [18]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  7539. web pages and the development of GCC are welcome on our developer
  7540. list at [19]gcc@gcc.gnu.org. All of [20]our lists have public
  7541. archives.
  7542. Copyright (C) [21]Free Software Foundation, Inc. Verbatim copying and
  7543. distribution of this entire article is permitted in any medium,
  7544. provided this notice is preserved.
  7545. These pages are [22]maintained by the GCC team. Last modified
  7546. 2014-06-28[23].
  7547. References
  7548. 1. http://www.gnu.org/
  7549. 2. http://gcc.gnu.org/gcc-3.4/changes.html
  7550. 3. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  7551. 4. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.6
  7552. 5. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.5
  7553. 6. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.4
  7554. 7. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.3
  7555. 8. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.2
  7556. 9. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.1
  7557. 10. http://gcc.gnu.org/gcc-3.4/changes.html
  7558. 11. http://gcc.gnu.org/gcc-3.4/buildstat.html
  7559. 12. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  7560. 13. http://gcc.gnu.org/index.html
  7561. 14. mailto:gcc@gcc.gnu.org
  7562. 15. http://gcc.gnu.org/mirrors.html
  7563. 16. http://gcc.gnu.org/svn.html
  7564. 17. https://gcc.gnu.org/onlinedocs/
  7565. 18. mailto:gcc-help@gcc.gnu.org
  7566. 19. mailto:gcc@gcc.gnu.org
  7567. 20. https://gcc.gnu.org/lists.html
  7568. 21. http://www.fsf.org/
  7569. 22. https://gcc.gnu.org/about.html
  7570. 23. http://validator.w3.org/check/referer
  7571. ======================================================================
  7572. http://gcc.gnu.org/gcc-3.4/changes.html
  7573. GCC 3.4 Release Series
  7574. Changes, New Features, and Fixes
  7575. The final release in the 3.4 release series is [1]GCC 3.4.6. The series
  7576. is now closed.
  7577. GCC 3.4 has [2]many improvements in the C++ frontend. Before reporting
  7578. a bug, please make sure it's really GCC, and not your code, that is
  7579. broken.
  7580. Caveats
  7581. * GNU Make is now required to build GCC.
  7582. * With -nostdinc the preprocessor used to ignore both standard
  7583. include paths and include paths contained in environment variables.
  7584. It was neither documented nor intended that environment variable
  7585. paths be ignored, so this has been corrected.
  7586. * GCC no longer accepts the options -fvolatile, -fvolatile-global and
  7587. -fvolatile-static. It is unlikely that they worked correctly in any
  7588. 3.x release.
  7589. * GCC no longer ships <varargs.h>. Use <stdarg.h> instead.
  7590. * Support for all the systems [3]obsoleted in GCC 3.3 has been
  7591. removed from GCC 3.4. See below for a [4]list of systems which are
  7592. obsoleted in this release.
  7593. * GCC now requires an ISO C90 (ANSI C89) C compiler to build. K&R C
  7594. compilers will not work.
  7595. * The implementation of the [5]MIPS ABIs has changed. As a result,
  7596. the code generated for certain MIPS targets will not be binary
  7597. compatible with earlier releases.
  7598. * In previous releases, the MIPS port had a fake "hilo" register with
  7599. the user-visible name accum. This register has been removed.
  7600. * The implementation of the [6]SPARC ABIs has changed. As a result,
  7601. the code generated will not be binary compatible with earlier
  7602. releases in certain cases.
  7603. * The configure option --enable-threads=pthreads has been removed;
  7604. use --enable-threads=posix instead, which should have the same
  7605. effect.
  7606. * Code size estimates used by inlining heuristics for C, Objective-C,
  7607. C++ and Java have been redesigned significantly. As a result the
  7608. parameters of -finline-insns, --param max-inline-insns-single and
  7609. --param max-inline-insns-auto need to be reconsidered.
  7610. * --param max-inline-slope and --param min-inline-insns have been
  7611. removed; they are not needed for the new bottom-up inlining
  7612. heuristics.
  7613. * The new unit-at-a-time compilation scheme has several compatibility
  7614. issues:
  7615. + The order in which functions, variables, and top-level asm
  7616. statements are emitted may have changed. Code relying on some
  7617. particular ordering needs to be updated. The majority of such
  7618. top-level asm statements can be replaced by section
  7619. attributes.
  7620. + Unreferenced static variables and functions are removed. This
  7621. may result in undefined references when an asm statement
  7622. refers to the variable/function directly. In that case either
  7623. the variable/function shall be listed in asm statement operand
  7624. or in the case of top-level asm statements the attribute used
  7625. shall be used to force function/variable to be always output
  7626. and considered as a possibly used by unknown code.
  7627. For variables the attribute is accepted only by GCC 3.4 and
  7628. newer, while for earlier versions it is sufficient to use
  7629. unused to silence warnings about the variables not being
  7630. referenced. To keep code portable across different GCC
  7631. versions, you can use appropriate preprocessor conditionals.
  7632. + Static functions now can use non-standard passing conventions
  7633. that may break asm statements calling functions directly.
  7634. Again the attribute used shall be used to prevent this
  7635. behavior.
  7636. As a temporary workaround, -fno-unit-at-a-time can be used, but
  7637. this scheme may not be supported by future releases of GCC.
  7638. * GCC 3.4 automatically places zero-initialized variables in the .bss
  7639. section on some operating systems. Versions of GNU Emacs up to (and
  7640. including) 21.3 will not work correctly when using this
  7641. optimization; you can use -fno-zero-initialized-in-bss to disable
  7642. it.
  7643. * If GCC 3.4 is configured with --enable-threads=posix (the default
  7644. on most targets that support pthreads) then _REENTRANT will be
  7645. defined unconditionally by some libstdc++ headers. C++ code which
  7646. relies on that macro to detect whether multi-threaded code is being
  7647. compiled might change in meaning, possibly resulting in linker
  7648. errors for single-threaded programs. Affected users of [7]Boost
  7649. should compile single-threaded code with -DBOOST_DISABLE_THREADS.
  7650. See Bugzilla for [8]more information.
  7651. General Optimizer Improvements
  7652. * Usability of the profile feedback and coverage testing has been
  7653. improved.
  7654. + Performance of profiled programs has been improved by faster
  7655. profile merging code.
  7656. + Better use of the profile feedback for optimization (loop
  7657. unrolling and loop peeling).
  7658. + File locking support allowing fork() calls and parallel runs
  7659. of profiled programs.
  7660. + Coverage file format has been redesigned.
  7661. + gcov coverage tool has been improved.
  7662. + make profiledbootstrap available to build a faster compiler.
  7663. Experiments made on i386 hardware showed an 11% speedup on -O0
  7664. and a 7.5% speedup on -O2 compilation of a [9]large C++
  7665. testcase.
  7666. + New value profiling pass enabled via -fprofile-values
  7667. + New value profile transformations pass enabled via -fvpt aims
  7668. to optimize some code sequences by exploiting knowledge about
  7669. value ranges or other properties of the operands. At the
  7670. moment a conversion of expensive divisions into cheaper
  7671. operations has been implemented.
  7672. + New -fprofile-generate and -fprofile-use command-line options
  7673. to simplify the use of profile feedback.
  7674. * A new unit-at-a-time compilation scheme for C, Objective-C, C++ and
  7675. Java which is enabled via -funit-at-a-time (and implied by -O2). In
  7676. this scheme a whole file is parsed first and optimized later. The
  7677. following basic inter-procedural optimizations are implemented:
  7678. + Removal of unreachable functions and variables
  7679. + Discovery of local functions (functions with static linkage
  7680. whose address is never taken)
  7681. + On i386, these local functions use register parameter passing
  7682. conventions.
  7683. + Reordering of functions in topological order of the call graph
  7684. to enable better propagation of optimizing hints (such as the
  7685. stack alignments needed by functions) in the back end.
  7686. + Call graph based out-of-order inlining heuristics which allows
  7687. to limit overall compilation unit growth (--param
  7688. inline-unit-growth).
  7689. Overall, the unit-at-a-time scheme produces a 1.3% improvement for
  7690. the SPECint2000 benchmark on the i386 architecture (AMD Athlon
  7691. CPU).
  7692. * More realistic code size estimates used by inlining for C,
  7693. Objective-C, C++ and Java. The growth of large functions can now be
  7694. limited via --param large-function-insns and --param
  7695. large-function-growth.
  7696. * A new cfg-level loop optimizer pass replaces the old loop unrolling
  7697. pass and adds two other loop transformations -- loop peeling and
  7698. loop unswitching -- and also uses the profile feedback to limit
  7699. code growth. (The three optimizations are enabled by
  7700. -funroll-loops, -fpeel-loops and -funswitch-loops flags,
  7701. respectively).
  7702. The old loop unroller still can be enabled by -fold-unroll-loops
  7703. and may produce better code in some cases, especially when the
  7704. webizer optimization pass is not run.
  7705. * A new web construction pass enabled via -fweb (and implied by -O3)
  7706. improves the quality of register allocation, CSE, first scheduling
  7707. pass and some other optimization passes by avoiding re-use of
  7708. pseudo registers with non-overlapping live ranges. The pass almost
  7709. always improves code quality but does make debugging difficult and
  7710. thus is not enabled by default by -O2
  7711. The pass is especially effective as cleanup after code duplication
  7712. passes, such as the loop unroller or the tracer.
  7713. * Experimental implementations of superblock or trace scheduling in
  7714. the second scheduling pass can be enabled via
  7715. -fsched2-use-superblocks and -fsched2-use-traces, respectively.
  7716. New Languages and Language specific improvements
  7717. Ada
  7718. * The Ada front end has been updated to include numerous bug fixes
  7719. and enhancements. These include:
  7720. + Improved project file support
  7721. + Additional set of warnings about potential wrong code
  7722. + Improved error messages
  7723. + Improved code generation
  7724. + Improved cross reference information
  7725. + Improved inlining
  7726. + Better run-time check elimination
  7727. + Better error recovery
  7728. + More efficient implementation of unbounded strings
  7729. + Added features in GNAT.Sockets, GNAT.OS_Lib, GNAT.Debug_Pools,
  7730. ...
  7731. + New GNAT.xxxx packages (e.g. GNAT.Strings,
  7732. GNAT.Exception_Action)
  7733. + New pragmas
  7734. + New -gnatS switch replacing gnatpsta
  7735. + Implementation of new Ada features (in particular limited
  7736. with, limited aggregates)
  7737. C/Objective-C/C++
  7738. * Precompiled headers are now supported. Precompiled headers can
  7739. dramatically speed up compilation of some projects. There are some
  7740. known defects in the current precompiled header implementation that
  7741. will result in compiler crashes in relatively rare situations.
  7742. Therefore, precompiled headers should be considered a "technology
  7743. preview" in this release. Read the manual for details about how to
  7744. use precompiled headers.
  7745. * File handling in the preprocessor has been rewritten. GCC no longer
  7746. gets confused by symlinks and hardlinks, and now has a correct
  7747. implementation of #import and #pragma once. These two directives
  7748. have therefore been un-deprecated.
  7749. * The undocumented extension that allowed C programs to have a label
  7750. at the end of a compound statement, which has been deprecated since
  7751. GCC 3.0, has been removed.
  7752. * The cast-as-lvalue extension has been removed for C++ and
  7753. deprecated for C and Objective-C. In particular, code like this:
  7754. int i;
  7755. (char) i = 5;
  7756. or this:
  7757. char *p;
  7758. ((int *) p)++;
  7759. is no longer accepted for C++ and will not be accepted for C and
  7760. Objective-C in a future version.
  7761. * The conditional-expression-as-lvalue extension has been deprecated
  7762. for C and Objective-C. In particular, code like this:
  7763. int a, b, c;
  7764. (a ? b : c) = 2;
  7765. will not be accepted for C and Objective-C in a future version.
  7766. * The compound-expression-as-lvalue extension has been deprecated for
  7767. C and Objective-C. In particular, code like this:
  7768. int a, b;
  7769. (a, b) = 2;
  7770. will not be accepted for C and Objective-C in a future version. A
  7771. possible non-intrusive workaround is the following:
  7772. (*(a, &b)) = 2;
  7773. * Several [10]built-in functions such as __builtin_popcount for
  7774. counting bits, finding the highest and lowest bit in a word, and
  7775. parity have been added.
  7776. * The -fwritable-strings option has been deprecated and will be
  7777. removed.
  7778. * Many C math library functions are now recognized as built-ins and
  7779. optimized.
  7780. * The C, C++, and Objective-C compilers can now handle source files
  7781. written in any character encoding supported by the host C library.
  7782. The default input character set is taken from the current locale,
  7783. and may be overridden with the -finput-charset command line option.
  7784. In the future we will add support for inline encoding markers.
  7785. C++
  7786. * G++ is now much closer to full conformance to the ISO/ANSI C++
  7787. standard. This means, among other things, that a lot of invalid
  7788. constructs which used to be accepted in previous versions will now
  7789. be rejected. It is very likely that existing C++ code will need to
  7790. be fixed. This document lists some of the most common issues.
  7791. * A hand-written recursive-descent C++ parser has replaced the
  7792. YACC-derived C++ parser from previous GCC releases. The new parser
  7793. contains much improved infrastructure needed for better parsing of
  7794. C++ source codes, handling of extensions, and clean separation
  7795. (where possible) between proper semantics analysis and parsing. The
  7796. new parser fixes many bugs that were found in the old parser.
  7797. * You must now use the typename and template keywords to disambiguate
  7798. dependent names, as required by the C++ standard.
  7799. struct K {
  7800. typedef int mytype_t;
  7801. };
  7802. template <class T1> struct A {
  7803. template <class T2> struct B {
  7804. void callme(void);
  7805. };
  7806. template <int N> void bar(void)
  7807. {
  7808. // Use 'typename' to tell the parser that T1::mytype_t names
  7809. // a type. This is needed because the name is dependent (in
  7810. // this case, on template parameter T1).
  7811. typename T1::mytype_t x;
  7812. x = 0;
  7813. }
  7814. };
  7815. template <class T> void template_func(void)
  7816. {
  7817. // Use 'template' to prefix member templates within
  7818. // dependent types (a has type A<T>, which depends on
  7819. // the template parameter T).
  7820. A<T> a;
  7821. a.template bar<0>();
  7822. // Use 'template' to tell the parser that B is a nested
  7823. // template class (dependent on template parameter T), and
  7824. // 'typename' because the whole A<T>::B<int> is
  7825. // the name of a type (again, dependent).
  7826. typename A<T>::template B<int> b;
  7827. b.callme();
  7828. }
  7829. void non_template_func(void)
  7830. {
  7831. // Outside of any template class or function, no names can be
  7832. // dependent, so the use of the keyword 'typename' and 'template'
  7833. // is not needed (and actually forbidden).
  7834. A<K> a;
  7835. a.bar<0>();
  7836. A<K>::B<float> b;
  7837. b.callme();
  7838. }
  7839. * In a template definition, unqualified names will no longer find
  7840. members of a dependent base (as specified by [temp.dep]/3 in the
  7841. C++ standard). For example,
  7842. template <typename T> struct B {
  7843. int m;
  7844. int n;
  7845. int f ();
  7846. int g ();
  7847. };
  7848. int n;
  7849. int g ();
  7850. template <typename T> struct C : B<T> {
  7851. void h ()
  7852. {
  7853. m = 0; // error
  7854. f (); // error
  7855. n = 0; // ::n is modified
  7856. g (); // ::g is called
  7857. }
  7858. };
  7859. You must make the names dependent, e.g. by prefixing them with
  7860. this->. Here is the corrected definition of C<T>::h,
  7861. template <typename T> void C<T>::h ()
  7862. {
  7863. this->m = 0;
  7864. this->f ();
  7865. this->n = 0
  7866. this->g ();
  7867. }
  7868. As an alternative solution (unfortunately not backwards compatible
  7869. with GCC 3.3), you may use using declarations instead of this->:
  7870. template <typename T> struct C : B<T> {
  7871. using B<T>::m;
  7872. using B<T>::f;
  7873. using B<T>::n;
  7874. using B<T>::g;
  7875. void h ()
  7876. {
  7877. m = 0;
  7878. f ();
  7879. n = 0;
  7880. g ();
  7881. }
  7882. };
  7883. * In templates, all non-dependent names are now looked up and bound
  7884. at definition time (while parsing the code), instead of later when
  7885. the template is instantiated. For instance:
  7886. void foo(int);
  7887. template <int> struct A {
  7888. static void bar(void){
  7889. foo('a');
  7890. }
  7891. };
  7892. void foo(char);
  7893. int main()
  7894. {
  7895. A<0>::bar(); // Calls foo(int), used to call foo(char).
  7896. }
  7897. * In an explicit instantiation of a class template, you must use
  7898. class or struct before the template-id:
  7899. template <int N>
  7900. class A {};
  7901. template A<0>; // error, not accepted anymore
  7902. template class A<0>; // OK
  7903. * The "named return value" and "implicit typename" extensions have
  7904. been removed.
  7905. * Default arguments in function types have been deprecated and will
  7906. be removed.
  7907. * ARM-style name-injection of friend declarations has been deprecated
  7908. and will be removed. For example: struct S { friend void f(); };
  7909. void g() { f(); } will not be accepted by future versions of G++;
  7910. instead a declaration of "f" will need to be present outside of the
  7911. scope of "S".
  7912. * Covariant returns are implemented for all but varadic functions
  7913. that require an adjustment.
  7914. * When -pedantic is used, G++ now issues errors about spurious
  7915. semicolons. For example,
  7916. namespace N {}; // Invalid semicolon.
  7917. void f() {}; // Invalid semicolon.
  7918. * G++ no longer accepts attributes for a declarator after the
  7919. initializer associated with that declarator. For example,
  7920. X x(1) __attribute__((...));
  7921. is no longer accepted. Instead, use:
  7922. X x __attribute__((...)) (1);
  7923. * Inside the scope of a template class, the name of the class itself
  7924. can be treated as either a class or a template. So GCC used to
  7925. accept the class name as argument of type template, and template
  7926. template parameter. However this is not C++ standard compliant. Now
  7927. the name is not treated as a valid template template argument
  7928. unless you qualify the name by its scope. For example, the code
  7929. below no longer compiles.
  7930. template <template <class> class TT> class X {};
  7931. template <class T> class Y {
  7932. X<Y> x; // Invalid, Y is always a type template parameter.
  7933. };
  7934. The valid code for the above example is
  7935. X< ::Y> x; // Valid.
  7936. (Notice the space between < and : to prevent GCC to interpret this
  7937. as a digraph for [.)
  7938. * Friend declarations that refer to template specializations are
  7939. rejected if the template has not already been declared. For
  7940. example,
  7941. template <typename T>
  7942. class C {
  7943. friend void f<> (C&);
  7944. };
  7945. is rejected. You must first declare f as a template,
  7946. template <typename T>
  7947. void f(T);
  7948. * In case of friend declarations, every name used in the friend
  7949. declaration must be accessible at the point of that declaration.
  7950. Previous versions of G++ used to be less strict about this and
  7951. allowed friend declarations for private class members, for example.
  7952. See the ISO C++ Standard Committee's [11]defect report #209 for
  7953. details.
  7954. * Declaration of member functions of class templates as friends are
  7955. supported. For example,
  7956. template <typename T> struct A {
  7957. void f();
  7958. };
  7959. class C {
  7960. template <typename T> friend void A<T>::f();
  7961. };
  7962. * You must use template <> to introduce template specializations, as
  7963. required by the standard. For example,
  7964. template <typename T>
  7965. struct S;
  7966. struct S<int> { };
  7967. is rejected. You must write,
  7968. template <> struct S<int> {};
  7969. * G++ used to accept code like this,
  7970. struct S {
  7971. int h();
  7972. void f(int i = g());
  7973. int g(int i = h());
  7974. };
  7975. This behavior is not mandated by the standard. Now G++ issues an
  7976. error about this code. To avoid the error, you must move the
  7977. declaration of g before the declaration of f. The default arguments
  7978. for g must be visible at the point where it is called.
  7979. * The C++ ABI Section 3.3.3 specifications for the array construction
  7980. routines __cxa_vec_new2 and __cxa_vec_new3 were changed to return
  7981. NULL when the allocator argument returns NULL. These changes are
  7982. incorporated into the libstdc++ runtime library.
  7983. * Using a name introduced by a typedef in a friend declaration or in
  7984. an explicit instantiation is now rejected, as specified by the ISO
  7985. C++ standard.
  7986. class A;
  7987. typedef A B;
  7988. class C {
  7989. friend class B; // error, no typedef name here
  7990. friend B; // error, friend always needs class/struct/enum
  7991. friend class A; // OK
  7992. };
  7993. template <int> class Q {};
  7994. typedef Q<0> R;
  7995. template class R; // error, no typedef name here
  7996. template class Q<0>; // OK
  7997. * When allocating an array with a new expression, GCC used to allow
  7998. parentheses around the type name. This is actually ill-formed and
  7999. it is now rejected:
  8000. int* a = new (int)[10]; // error, not accepted anymore
  8001. int* a = new int[10]; // OK
  8002. * When binding an rvalue of class type to a reference, the copy
  8003. constructor of the class must be accessible. For instance, consider
  8004. the following code:
  8005. class A
  8006. {
  8007. public:
  8008. A();
  8009. private:
  8010. A(const A&); // private copy ctor
  8011. };
  8012. A makeA(void);
  8013. void foo(const A&);
  8014. void bar(void)
  8015. {
  8016. foo(A()); // error, copy ctor is not accessible
  8017. foo(makeA()); // error, copy ctor is not accessible
  8018. A a1;
  8019. foo(a1); // OK, a1 is a lvalue
  8020. }
  8021. This might be surprising at first sight, especially since most
  8022. popular compilers do not correctly implement this rule ([12]further
  8023. details).
  8024. * When forming a pointer to member or a pointer to member function,
  8025. access checks for class visibility (public, protected, private) are
  8026. now performed using the qualifying scope of the name itself. This
  8027. is better explained with an example:
  8028. class A
  8029. {
  8030. public:
  8031. void pub_func();
  8032. protected:
  8033. void prot_func();
  8034. private:
  8035. void priv_func();
  8036. };
  8037. class B : public A
  8038. {
  8039. public:
  8040. void foo()
  8041. {
  8042. &A::pub_func; // OK, pub_func is accessible through A
  8043. &A::prot_func; // error, cannot access prot_func through A
  8044. &A::priv_func; // error, cannot access priv_func through A
  8045. &B::pub_func; // OK, pub_func is accessible through B
  8046. &B::prot_func; // OK, can access prot_func through B (within B)
  8047. &B::priv_func; // error, cannot access priv_func through B
  8048. }
  8049. };
  8050. Runtime Library (libstdc++)
  8051. * Optimization work:
  8052. + Streamlined streambuf, filebuf, separate synched with C
  8053. Standard I/O streambuf.
  8054. + All formatted I/O now uses cached locale information.
  8055. + STL optimizations (memory/speed for list, red-black trees as
  8056. used by sets and maps).
  8057. + More use of GCC builtins.
  8058. + String optimizations (avoid contention on
  8059. increment/decrement-and-test of the reference count in the
  8060. empty-string object, constructor from input_iterators
  8061. speedup).
  8062. * Static linkage size reductions.
  8063. * Large File Support (files larger than 2 GB on 32-bit systems).
  8064. * Wide character and variable encoding filebuf work (UTF-8, Unicode).
  8065. * Generic character traits.
  8066. * Also support wchar_t specializations on Mac OS 10.3.x, FreeBSD 5.x,
  8067. Solaris 2.7 and above, AIX 5.x, Irix 6.5.
  8068. * The allocator class is now standard-conformant, and two additional
  8069. extension allocators have been added, mt_alloc and
  8070. bitmap_allocator.
  8071. * PCH support: -include bits/stdc++.h (2x compile speedup).
  8072. * Rewrote __cxa_demangle with support for C++ style allocators.
  8073. * New debug modes for STL containers and iterators.
  8074. * Testsuite rewrite: five times as many tests, plus increasingly
  8075. sophisticated tests, including I/O, MT, multi-locale, wide and
  8076. narrow characters.
  8077. * Use current versions of GNU "autotools" for build/configuration.
  8078. Objective-C
  8079. * The Objective-C front end has been updated to include the numerous
  8080. bug fixes and enhancements previously available only in Apple's
  8081. version of GCC. These include:
  8082. + Structured exception (@try... @catch... @finally, @throw) and
  8083. synchronization (@synchronized) support. These are accessible
  8084. via the -fobjc-exceptions switch; as of this writing, they may
  8085. only be used in conjunction with -fnext-runtime on Mac OS X
  8086. 10.3 and later. See [13]Options Controlling Objective-C
  8087. Dialect for more information.
  8088. + An overhaul of @encode logic. The C99 _Bool and C++ bool type
  8089. may now be encoded as 'B'. In addition, the back-end/codegen
  8090. dependencies have been removed.
  8091. + An overhaul of message dispatch construction, ensuring that
  8092. the various receiver types (and casts thereof) are handled
  8093. properly, and that correct diagnostics are issued.
  8094. + Support for "Zero-Link" (-fzero-link) and "Fix-and-Continue"
  8095. (-freplace-objc-classes) debugging modes, currently available
  8096. on Mac OS X 10.3 and later. See [14]Options Controlling
  8097. Objective-C Dialect for more information.
  8098. + Access to optimized runtime entry points (-fno-nil-receivers )
  8099. on the assumption that message receivers are never nil. This
  8100. is currently available on Mac OS X 10.3 and later. See
  8101. [15]Options Controlling Objective-C Dialect for more
  8102. information.
  8103. Java
  8104. * Compiling a .jar file will now cause non-.class entries to be
  8105. automatically compiled as resources.
  8106. * libgcj has been ported to Darwin.
  8107. * Jeff Sturm has adapted Jan Hubicka's call graph optimization code
  8108. to gcj.
  8109. * libgcj has a new gcjlib URL type; this lets URLClassLoader load
  8110. code from shared libraries.
  8111. * libgcj has been much more completely merged with [16]GNU Classpath.
  8112. * Class loading is now much more correct; in particular the caller's
  8113. class loader is now used when that is required.
  8114. * [17]Eclipse 2.x will run out of the box using gij.
  8115. * Parts of java.nio have been implemented. Direct and indirect
  8116. buffers work, as do fundamental file and socket operations.
  8117. * java.awt has been improved, though it is still not ready for
  8118. general use.
  8119. * The HTTP protocol handler now uses HTTP/1.1 and can handle the POST
  8120. method.
  8121. * The MinGW port has matured. Enhancements include socket timeout
  8122. support, thread interruption, improved Runtime.exec() handling and
  8123. support for accented characters in filenames.
  8124. Fortran
  8125. * Fortran improvements are listed in the [18]Fortran documentation.
  8126. New Targets and Target Specific Improvements
  8127. Alpha
  8128. * Several [19]built-in functions have been added such as
  8129. __builtin_alpha_zap to allow utilizing the more obscure
  8130. instructions of the CPU.
  8131. * Parameter passing of complex arguments has changed to match the
  8132. [20]ABI. This change is incompatible with previous GCC versions,
  8133. but does fix compatibility with the Tru64 compiler and several
  8134. corner cases where GCC was incompatible with itself.
  8135. ARM
  8136. * Nicolas Pitre has contributed his hand-coded floating-point support
  8137. code for ARM. It is both significantly smaller and faster than the
  8138. existing C-based implementation, even when building applications
  8139. for Thumb. The arm-elf configuration has been converted to use the
  8140. new code.
  8141. * Support for the Intel's iWMMXt architecture, a second generation
  8142. XScale processor, has been added. Enabled at run time with the
  8143. -mcpu=iwmmxt command line switch.
  8144. * A new ARM target has been added: arm-wince-pe. This is similar to
  8145. the arm-pe target, but it defaults to using the APCS32 ABI.
  8146. * The existing ARM pipeline description has been converted to the use
  8147. the [21]DFA processor pipeline model. There is not much change in
  8148. code performance, but the description is now [22]easier to
  8149. understand.
  8150. * Support for the Cirrus EP9312 Maverick floating point co-processor
  8151. added. Enabled at run time with the -mcpu=ep9312 command line
  8152. switch. Note however that the multilibs to support this chip are
  8153. currently disabled in gcc/config/arm/t-arm-elf, so if you want to
  8154. enable their production you will have to uncomment the entries in
  8155. that file.
  8156. H8/300
  8157. * Support for long long has been added.
  8158. * Support for saveall attribute has been added.
  8159. * Pavel Pisa contributed hand-written 32-bit-by-32-bit division code
  8160. for H8/300H and H8S, which is much faster than the previous
  8161. implementation.
  8162. * A lot of small performance improvements.
  8163. IA-32/AMD64 (x86-64)
  8164. * Tuning for K8 (AMD Opteron/Athlon64) core is available via
  8165. -march=k8 and -mcpu=k8.
  8166. * Scalar SSE code generation carefully avoids reformatting penalties,
  8167. hidden dependencies and minimizes the number of uops generated on
  8168. both Intel and AMD CPUs.
  8169. * Vector MMX and SSE operands are now passed in registers to improve
  8170. performance and match the argument passing convention used by the
  8171. Intel C++ Compiler. As a result it is not possible to call
  8172. functions accepting vector arguments compiled by older GCC version.
  8173. * Conditional jump elimination is now more aggressive on modern CPUs.
  8174. * The Athlon ports has been converted to use the DFA processor
  8175. pipeline description.
  8176. * Optimization of indirect tail calls is now possible in a similar
  8177. fashion as direct sibcall optimization.
  8178. * Further small performance improvements.
  8179. * -m128bit-long-double is now less buggy.
  8180. * __float128 support in 64-bit compilation.
  8181. * Support for data structures exceeding 2GB in 64-bit mode.
  8182. * -mcpu has been renamed to -mtune.
  8183. IA-64
  8184. * Tuning code for the Itanium 2 processor has been added. The
  8185. generation of code tuned for Itanium 2 (option -mtune=itanium2) is
  8186. enabled by default now. To generate code tuned for Itanium 1 the
  8187. option -mtune=itanium1 should be used.
  8188. * [23]DFA processor pipeline descriptions for the IA-64 processors
  8189. have been added. This resulted in about 3% improvement on the
  8190. SPECInt2000 benchmark for Itanium 2.
  8191. * Instruction bundling for the IA-64 processors has been rewritten
  8192. using the DFA pipeline hazard recognizer. It resulted in about 60%
  8193. compiler speedup on the SPECInt2000 C programs.
  8194. M32R
  8195. * Support for the M32R/2 processor has been added by Renesas.
  8196. * Support for an M32R GNU/Linux target and PIC code generation has
  8197. been added by Renesas.
  8198. M68000
  8199. * Bernardo Innocenti (Develer S.r.l.) has contributed the
  8200. m68k-uclinux target, based on former work done by Paul Dale
  8201. (SnapGear Inc.). Code generation for the ColdFire processors family
  8202. has been enhanced and extended to support the MCF 53xx and MCF 54xx
  8203. cores, integrating former work done by Peter Barada (Motorola).
  8204. MIPS
  8205. Processor-specific changes
  8206. * Support for the RM7000 and RM9000 processors has been added. It can
  8207. be selected using the -march compiler option and should work with
  8208. any MIPS I (mips-*) or MIPS III (mips64-*) configuration.
  8209. * Support for revision 2 of the MIPS32 ISA has been added. It can be
  8210. selected with the command-line option -march=mips32r2.
  8211. * There is a new option, -mfix-sb1, to work around certain SB-1
  8212. errata.
  8213. Configuration
  8214. * It is possible to customize GCC using the following configure-time
  8215. options:
  8216. + --with-arch, which specifies the default value of the -march
  8217. option.
  8218. + --with-tune, which specifies the default value of the -mtune
  8219. option.
  8220. + --with-abi, which specifies the default ABI.
  8221. + --with-float=soft, which tells GCC to use software floating
  8222. point by default.
  8223. + --with-float=hard, which tells GCC to use hardware floating
  8224. point by default.
  8225. * A 64-bit GNU/Linux port has been added. The associated
  8226. configurations are mips64-linux-gnu and mips64el-linux-gnu.
  8227. * The 32-bit GNU/Linux port now supports Java.
  8228. * The IRIX 6 configuration now supports the o32 ABI and will build
  8229. o32 multilibs by default. This support is compatible with both
  8230. binutils and the SGI tools, but note that several features,
  8231. including debugging information and DWARF2 exception handling, are
  8232. only available when using the GNU assembler. Use of the GNU
  8233. assembler and linker (version 2.15 or above) is strongly
  8234. recommended.
  8235. * The IRIX 6 configuration now supports 128-bit long doubles.
  8236. * There are two new RTEMS-specific configurations, mips-rtems and
  8237. mipsel-rtems.
  8238. * There are two new *-elf configurations, mipsisa32r2-elf and
  8239. mipsisa32r2el-elf.
  8240. General
  8241. * Several [24]ABI bugs have been fixed. Unfortunately, these changes
  8242. will break binary compatibility with earlier releases.
  8243. * GCC can now use explicit relocation operators when generating
  8244. -mabicalls code. This behavior is controlled by -mexplicit-relocs
  8245. and can have several performance benefits. For example:
  8246. + It allows for more optimization of GOT accesses, including
  8247. better scheduling and redundancy elimination.
  8248. + It allows sibling calls to be implemented as jumps.
  8249. + n32 and n64 leaf functions can use a call-clobbered global
  8250. pointer instead of $28.
  8251. + The code to set up $gp can be removed from functions that
  8252. don't need it.
  8253. * A new option, -mxgot, allows the GOT to be bigger than 64k. This
  8254. option is equivalent to the assembler's -xgot option and should be
  8255. used instead of -Wa,-xgot.
  8256. * Frame pointer elimination is now supported when generating 64-bit
  8257. MIPS16 code.
  8258. * Inline block moves have been optimized to take more account of
  8259. alignment information.
  8260. * Many internal changes have been made to the MIPS port, mostly aimed
  8261. at reducing the reliance on assembler macros.
  8262. PowerPC
  8263. * GCC 3.4 releases have a number of fixes for PowerPC and PowerPC64
  8264. [25]ABI incompatibilities regarding the way parameters are passed
  8265. during functions calls. These changes may result in incompatibility
  8266. between code compiled with GCC 3.3 and GCC 3.4.
  8267. PowerPC Darwin
  8268. * Support for shared/dylib gcc libraries has been added. It is
  8269. enabled by default on powerpc-apple-darwin7.0.0 and up.
  8270. * Libgcj is enabled by default. On systems older than
  8271. powerpc-apple-darwin7.0.0 you need to install dlcompat.
  8272. * 128-bit IBM extended precision format support added for long
  8273. double.
  8274. PowerPC64 GNU/Linux
  8275. * By default, PowerPC64 GNU/Linux now uses natural alignment of
  8276. structure elements. The old four byte alignment for double, with
  8277. special rules for a struct starting with a double, can be chosen
  8278. with -malign-power. This change may result in incompatibility
  8279. between code compiled with GCC 3.3 and GCC 3.4.
  8280. * -mabi=altivec is now the default rather than -mabi=no-altivec.
  8281. * 128-bit IBM extended precision format support added for long
  8282. double.
  8283. S/390 and zSeries
  8284. * New command-line options allow to specify the intended execution
  8285. environment for generated code:
  8286. + -mesa/-mzarch allows to specify whether to generate code
  8287. running in ESA/390 mode or in z/Architecture mode (this is
  8288. applicable to 31-bit code only).
  8289. + -march allows to specify a minimum processor architecture
  8290. level (g5, g6, z900, or z990).
  8291. + -mtune allows to specify which processor to tune for.
  8292. * It is possible to customize GCC using the following configure-time
  8293. options:
  8294. + --with-mode, which specifies whether to default to assuming
  8295. ESA/390 or z/Architecture mode.
  8296. + --with-arch, which specifies the default value of the -march
  8297. option.
  8298. + --with-tune, which specifies the default value of the -mtune
  8299. option.
  8300. * Support for the z990 processor has been added, and can be selected
  8301. using -march=z990 or -mtune=z990. This includes instruction
  8302. scheduling tuned for the superscalar instruction pipeline of the
  8303. z990 processor as well as support for all new instructions provided
  8304. by the long-displacement facility.
  8305. * Support to generate 31-bit code optimized for zSeries processors
  8306. (running in ESA/390 or in z/Architecture mode) has been added. This
  8307. can be selected using -march=z900 and -mzarch respectively.
  8308. * Instruction scheduling for the z900 and z990 processors now uses
  8309. the DFA pipeline hazard recognizer.
  8310. * GCC no longer generates code to maintain a stack backchain,
  8311. previously used to generate stack backtraces for debugging
  8312. purposes. As replacement that does not incur runtime overhead,
  8313. DWARF-2 call frame information is provided by GCC; this is
  8314. supported by GDB 6.1. The old behavior can be restored using the
  8315. -mbackchain option.
  8316. * The stack frame size of functions may now exceed 2 GB in 64-bit
  8317. code.
  8318. * A port for the 64-bit IBM TPF operating system has been added; the
  8319. configuration is s390x-ibm-tpf. This configuration is supported as
  8320. cross-compilation target only.
  8321. * Various changes to improve the generated code have been
  8322. implemented, including:
  8323. + GCC now uses the MULTIPLY AND ADD and MULTIPLY AND SUBTRACT
  8324. instructions to significantly speed up many floating-point
  8325. applications.
  8326. + GCC now uses the ADD LOGICAL WITH CARRY and SUBTRACT LOGICAL
  8327. WITH BORROW instructions to speed up long long arithmetic.
  8328. + GCC now uses the SEARCH STRING instruction to implement
  8329. strlen().
  8330. + In many cases, function call overhead for 31-bit code has been
  8331. reduced by placing the literal pool after the function code
  8332. instead of after the function prolog.
  8333. + Register 14 is no longer reserved in 64-bit code.
  8334. + Handling of global register variables has been improved.
  8335. SPARC
  8336. * The option -mflat is deprecated.
  8337. * Support for large (> 2GB) frames has been added to the 64-bit port.
  8338. * Several [26]ABI bugs have been fixed. Unfortunately, these changes
  8339. will break binary compatibility with earlier releases.
  8340. * The default debugging format has been switched from STABS to
  8341. DWARF-2 for 32-bit code on Solaris 7 and later. DWARF-2 is already
  8342. the default debugging format for 64-bit code on Solaris.
  8343. SuperH
  8344. * Support for the SH2E processor has been added. Enabled at run time
  8345. with the -m2e command line switch, or at configure time by
  8346. specifying sh2e as the machine part of the target triple.
  8347. V850
  8348. * Support for the Mitsubishi V850E1 processor has been added. This is
  8349. a variant of the V850E processor with some additional debugging
  8350. instructions.
  8351. Xtensa
  8352. * Several ABI bugs have been fixed. Unfortunately, these changes
  8353. break binary compatibility with earlier releases.
  8354. + For big-endian processors, the padding of aggregate return
  8355. values larger than a word has changed. If the size of an
  8356. aggregate return value is not a multiple of 32 bits, previous
  8357. versions of GCC inserted padding in the most-significant bytes
  8358. of the first return value register. Aggregates larger than a
  8359. word are now padded in the least-significant bytes of the last
  8360. return value register used. Aggregates smaller than a word are
  8361. still padded in the most-significant bytes. The return value
  8362. padding has not changed for little-endian processors.
  8363. + Function arguments with 16-byte alignment are now properly
  8364. aligned.
  8365. + The implementation of the va_list type has changed. A va_list
  8366. value created by va_start from a previous release cannot be
  8367. used with va_arg from this release, or vice versa.
  8368. * More processor configuration options for Xtensa processors are
  8369. supported:
  8370. + the ABS instruction is now optional;
  8371. + the ADDX* and SUBX* instructions are now optional;
  8372. + an experimental CONST16 instruction can be used to synthesize
  8373. constants instead of loading them from constant pools.
  8374. These and other Xtensa processor configuration options can no
  8375. longer be enabled or disabled by command-line options; the
  8376. processor configuration must be specified by the xtensa-config.h
  8377. header file when building GCC. Additionally, the
  8378. -mno-serialize-volatile option is no longer supported.
  8379. Obsolete Systems
  8380. Support for a number of older systems has been declared obsolete in GCC
  8381. 3.4. Unless there is activity to revive them, the next release of GCC
  8382. will have their sources permanently removed.
  8383. All configurations of the following processor architectures have been
  8384. declared obsolete:
  8385. * Mitsubishi D30V, d30v-*
  8386. * AT&T DSP1600 and DSP1610, dsp16xx-*
  8387. * Intel 80960, i960
  8388. Also, some individual systems have been obsoleted:
  8389. * ARM Family
  8390. + Support for generating code for operation in APCS/26 mode
  8391. (-mapcs-26).
  8392. * IBM ESA/390
  8393. + "Bigfoot" port, i370-*. (The other port, s390-*, is actively
  8394. maintained and supported.)
  8395. * Intel 386 family
  8396. + MOSS, i?86-moss-msdos and i?86-*-moss*
  8397. + NCR 3000 running System V r.4, i?86-ncr-sysv4*
  8398. + FreeBSD with a.out object format, i?86-*-freebsd*aout* and
  8399. i?86-*-freebsd2*
  8400. + GNU/Linux with a.out object format, i?86-linux*aout*
  8401. + GNU/Linux with libc5, a.k.a. glibc1, i?86-linux*libc1*
  8402. + Interix versions before Interix 3, i?86-*-interix
  8403. + Mach microkernel, i?86-mach*
  8404. + SCO UnixWare with UDK, i?86-*-udk*
  8405. + Generic System V releases 1, 2, and 3, i?86-*-sysv[123]*
  8406. + VSTa microkernel, i386-*-vsta
  8407. * Motorola M68000 family
  8408. + HPUX, m68k-hp-hpux* and m68000-hp-hpux*
  8409. + NetBSD with a.out object format (before NetBSD 1.4),
  8410. m68k-*-*-netbsd* except m68k-*-*-netbsdelf*
  8411. + Generic System V r.4, m68k-*-sysv4*
  8412. * VAX
  8413. + Generic VAX, vax-*-* (This is generic VAX only; we have not
  8414. obsoleted any VAX triples for specific operating systems.)
  8415. Documentation improvements
  8416. Other significant improvements
  8417. * The build system has undergone several significant cleanups.
  8418. Subdirectories will only be configured if they are being built, and
  8419. all subdirectory configures are run from the make command. The top
  8420. level has been autoconfiscated.
  8421. * Building GCC no longer writes to its source directory. This should
  8422. help those wishing to share a read-only source directory over NFS
  8423. or build from a CD. The exceptions to this feature are if you
  8424. configure with either --enable-maintainer-mode or
  8425. --enable-generated-files-in-srcdir.
  8426. * The -W warning option has been renamed to -Wextra, which is more
  8427. easily understood. The older spelling will be retained for
  8428. backwards compatibility.
  8429. * Substantial improvements in compile time have been made,
  8430. particularly for non-optimizing compilations.
  8431. __________________________________________________________________
  8432. GCC 3.4.0
  8433. Bug Fixes
  8434. A vast number of bugs have been fixed in 3.4.0, too many to publish a
  8435. complete list here. [27]Follow this link to query the Bugzilla database
  8436. for the list of over 900 bugs fixed in 3.4.0. This is the list of all
  8437. bugs marked as resolved and fixed in 3.4.0 that are not flagged as 3.4
  8438. regressions.
  8439. __________________________________________________________________
  8440. GCC 3.4.1
  8441. Bug Fixes
  8442. This section lists the problem reports (PRs) from GCC's bug tracking
  8443. system that are known to be fixed in the 3.4.1 release. This list might
  8444. not be complete (that is, it is possible that some PRs that have been
  8445. fixed are not listed here).
  8446. Bootstrap failures
  8447. * [28]10129 Ada bootstrap fails on PPC-Darwin - invalid assembler
  8448. emitted - PIC related
  8449. * [29]14576 [ARM] ICE in libiberty when building gcc-3.4 for arm-elf
  8450. * [30]14760 A bug in configure.in prevents using both
  8451. --program-suffix and --program-prefix
  8452. * [31]14671 [hppa64] bootstrap fails: ICE in
  8453. save_call_clobbered_regs, in caller_save.c
  8454. * [32]15093 [alpha][Java] make bootstrap fails to configure libffi on
  8455. Alpha
  8456. * [33]15178 Solaris 9/x86 fails linking after stage 3
  8457. Multi-platform internal compiler errors (ICEs)
  8458. * [34]12753 (preprocessor) Memory corruption in preprocessor on bad
  8459. input
  8460. * [35]13985 ICE in gcc.c-torture/compile/930621-1.c
  8461. * [36]14810 (c++) tree check failures with invalid code involving
  8462. templates
  8463. * [37]14883 (c++) ICE on invalid code, in cp_parser_lookup_name, in
  8464. cp/parser.c
  8465. * [38]15044 (c++) ICE on syntax error, template header
  8466. * [39]15057 (c++) Compiling of conditional value throw constructs
  8467. cause a segmentation violation
  8468. * [40]15064 (c++) typeid of template parameter gives ICE
  8469. * [41]15142 (c++) ICE when passing a string where a char* is expected
  8470. in a throw statement
  8471. * [42]15159 ICE in rtl_verify_flow_info_1
  8472. * [43]15165 (c++) ICE in instantiate_template
  8473. * [44]15193 Unary minus using pointer to V4SF vector causes
  8474. -fforce-mem to exhaust all memory
  8475. * [45]15209 (c++) Runs out of memory with packed structs
  8476. * [46]15227 (c++) Trouble with invalid function definition
  8477. * [47]15285 (c++) instantiate_type ICE when forming pointer to
  8478. template function
  8479. * [48]15299 (c++) ICE in resolve_overloaded_unification
  8480. * [49]15329 (c++) ICE on constructor of member template
  8481. * [50]15550 ICE in extract_insn, in recog.c
  8482. * [51]15554 (c++) ICE in tsubst_copy, in cp/pt.c
  8483. * [52]15640 (c++) ICE on invalid code in arg_assoc, in
  8484. cp/name-lookup.c
  8485. * [53]15666 [unit-at-a-time] Gcc abort on valid code
  8486. * [54]15696 (c++) ICE with bad pointer-to-member code
  8487. * [55]15701 (c++) ICE with friends and template template parameter
  8488. * [56]15761 ICE in do_SUBST, in combine.c
  8489. * [57]15829 (c++) ICE on Botan-1.3.13 due to -funroll-loops
  8490. Ada
  8491. * [58]14538 All RTEMS targets broken for gnat
  8492. C front end
  8493. * [59]12391 missing warning about assigning to an incomplete type
  8494. * [60]14649 atan(1.0) should not be a constant expression
  8495. * [61]15004 [unit-at-a-time] no warning for unused paramater in
  8496. static function
  8497. * [62]15749 --pedantic-errors behaves differently from --pedantic
  8498. with C-compiler on GNU/Linux
  8499. C++ compiler and library
  8500. * [63]10646 non-const reference is incorrectly matched in a "const T"
  8501. partial specialization
  8502. * [64]12077 wcin.rdbuf()->in_avail() return value too high
  8503. * [65]13598 enc_filebuf doesn't work
  8504. * [66]14211 const_cast returns lvalue but should be rvalue
  8505. * [67]14220 num_put::do_put() undesired float/double behavior
  8506. * [68]14245 problem with user-defined allocators in std::basic_string
  8507. * [69]14340 libstdc++ Debug mode: failure to convert iterator to
  8508. const_iterator
  8509. * [70]14600 __gnu_cxx::stdio_sync_filebuf should expose internal
  8510. FILE*
  8511. * [71]14668 no warning anymore for reevaluation of declaration
  8512. * [72]14775 LFS (large file support) tests missing
  8513. * [73]14821 Duplicate namespace alias declaration should not conflict
  8514. * [74]14930 Friend declaration ignored
  8515. * [75]14932 cannot use offsetof to get offsets of array elements in
  8516. g++ 3.4.0
  8517. * [76]14950 [non unit-at-a-time] always_inline does not mix with
  8518. templates and -O0
  8519. * [77]14962 g++ ignores #pragma redefine_extname
  8520. * [78]14975 Segfault on low-level write error during imbue
  8521. * [79]15002 Linewise stream input is unusably slow (std::string slow)
  8522. * [80]15025 compiler accepts redeclaration of template as
  8523. non-template
  8524. * [81]15046 [arm] Math functions misdetected by cross configuration
  8525. * [82]15069 a bit test on a variable of enum type is miscompiled
  8526. * [83]15074 g++ -lsupc++ still links against libstdc++
  8527. * [84]15083 spurious "statement has no effect" warning
  8528. * [85]15096 parse error with templates and pointer to const member
  8529. * [86]15287 combination of operator[] and operator .* fails in
  8530. templates
  8531. * [87]15317 __attribute__ unused in first parameter of constructor
  8532. gives error
  8533. * [88]15337 sizeof on incomplete type diagnostic
  8534. * [89]15361 bitset<>::_Find_next fails
  8535. * [90]15412 _GLIBCXX_ symbols symbols defined and used in different
  8536. namespaces
  8537. * [91]15427 valid code results in incomplete type error
  8538. * [92]15471 Incorrect member pointer offsets in anonymous
  8539. structs/unions
  8540. * [93]15503 nested template problem
  8541. * [94]15507 compiler hangs while laying out union
  8542. * [95]15542 operator & and template definitions
  8543. * [96]15565 SLES9: leading + sign for unsigned int with showpos
  8544. * [97]15625 friend defined inside a template fails to find static
  8545. function
  8546. * [98]15629 Function templates, overloads, and friend name injection
  8547. * [99]15742 'noreturn' attribute ignored in method of template
  8548. functions.
  8549. * [100]15775 Allocator::pointer consistently ignored
  8550. * [101]15821 Duplicate namespace alias within namespace rejected
  8551. * [102]15862 'enum yn' fails (confict with undeclared builtin)
  8552. * [103]15875 rejects pointer to member in template
  8553. * [104]15877 valid code using templates and anonymous enums is
  8554. rejected
  8555. * [105]15947 Puzzling error message for wrong destructor declaration
  8556. in template class
  8557. * [106]16020 cannot copy __gnu_debug::bitset
  8558. * [107]16154 input iterator concept too restrictive
  8559. * [108]16174 deducing top-level consts
  8560. Java
  8561. * [109]14315 Java compiler is not parallel make safe
  8562. Fortran
  8563. * [110]15151 [g77] incorrect logical i/o in 64-bit mode
  8564. Objective-C
  8565. * [111]7993 private variables cannot be shadowed in subclasses
  8566. Optimization bugs
  8567. * [112]15228 useless copies of floating point operands
  8568. * [113]15345 [non-unit-at-a-time] unreferenced nested inline
  8569. functions not optimized away
  8570. * [114]15945 Incorrect floating point optimization
  8571. * [115]15526 ftrapv aborts on 0 * (-1)
  8572. * [116]14690 Miscompiled POOMA tests
  8573. * [117]15112 GCC generates code to write to unchanging memory
  8574. Preprocessor
  8575. * [118]15067 Minor glitch in the source of cpp
  8576. Main driver program bugs
  8577. * [119]1963 collect2 interprets -oldstyle_liblookup as -o
  8578. ldstyle_liblookup
  8579. x86-specific (Intel/AMD)
  8580. * [120]15717 Error: can't resolve `L0' {*ABS* section} - `xx' {*UND*
  8581. section}
  8582. HPPA-specific
  8583. * [121]14782 GCC produces an unaligned data access at -O2
  8584. * [122]14828 FAIL: gcc.c-torture/execute/20030408-1.c execution, -O2
  8585. * [123]15202 ICE in reload_cse_simplify_operands, in postreload.c
  8586. IA64-specific
  8587. * [124]14610 __float80 constants incorrectly emitted
  8588. * [125]14813 init_array sections are initialized in the wrong order
  8589. * [126]14857 GCC segfault on duplicated asm statement
  8590. * [127]15598 Gcc 3.4 ICE on valid code
  8591. * [128]15653 Gcc 3.4 ICE on valid code
  8592. MIPS-specific
  8593. * [129]15189 wrong filling of delay slot with -march=mips1 -G0
  8594. -mno-split-addresses -mno-explicit-relocs
  8595. * [130]15331 Assembler error building gnatlib on IRIX 6.5 with GNU as
  8596. 2.14.91
  8597. * [131]16144 Bogus reference to __divdf3 when -O1
  8598. * [132]16176 Miscompilation of unaligned data in MIPS backend
  8599. PowerPC-specific
  8600. * [133]11591 ICE in gcc.dg/altivec-5.c
  8601. * [134]12028 powerpc-eabispe produces bad sCOND operation
  8602. * [135]14478 rs6000 geu/ltu patterns generate incorrect code
  8603. * [136]14567 long double and va_arg complex args
  8604. * [137]14715 Altivec stack layout may overlap gpr save with stack
  8605. temps
  8606. * [138]14902 (libstdc++) Stream checking functions fail when -pthread
  8607. option is used.
  8608. * [139]14924 Compiler ICE on valid code
  8609. * [140]14960 -maltivec affects vector return with -mabi=no-altivec
  8610. * [141]15106 vector varargs failure passing from altivec to
  8611. non-altivec code for -m32
  8612. * [142]16026 ICE in function.c:4804, assign_parms, when -mpowerpc64 &
  8613. half-word operation
  8614. * [143]15191 -maltivec -mabi=no-altivec results in mis-aligned lvx
  8615. and stvx
  8616. * [144]15662 Segmentation fault when an exception is thrown - even if
  8617. try and catch are specified
  8618. s390-specific
  8619. * [145]15054 Bad code due to overlapping stack temporaries
  8620. SPARC-specific
  8621. * [146]15783 ICE with union assignment in 64-bit mode
  8622. * [147]15626 GCC 3.4 emits "ld: warning: relocation error:
  8623. R_SPARC_UA32"
  8624. x86-64-specific
  8625. * [148]14326 boehm-gc hardcodes to 3DNow! prefetch for x86_64
  8626. * [149]14723 Backported -march=nocona from mainline
  8627. * [150]15290 __float128 failed to pass to function properly
  8628. Cygwin/Mingw32-specific
  8629. * [151]15250 Option -mms-bitfields support on GCC 3.4 is not
  8630. conformant to MS layout
  8631. * [152]15551 -mtune=pentium4 -O2 with sjlj EH breaks stack probe
  8632. worker on windows32 targets
  8633. Bugs specific to embedded processors
  8634. * [153]8309 [m68k] -m5200 produces erroneous SImode set of short
  8635. varaible on stack
  8636. * [154]13250 [SH] Gcc code for rotation clobbers the register, but
  8637. gcc continues to use the register as if it was not clobbered
  8638. * [155]13803 [coldfire] movqi operand constraints too restrictivefor
  8639. TARGET_COLDFIRE
  8640. * [156]14093 [SH] ICE for code when using -mhitachi option in SH
  8641. * [157]14457 [m6811hc] ICE with simple c++ source
  8642. * [158]14542 [m6811hc] ICE on simple source
  8643. * [159]15100 [SH] cc1plus got hang-up on
  8644. libstdc++-v3/testsuite/abi_check.cc
  8645. * [160]15296 [CRIS] Delayed branch scheduling causing invalid code on
  8646. cris-*
  8647. * [161]15396 [SH] ICE with -O2 -fPIC
  8648. * [162]15782 [coldfire] m68k_output_mi_thunk emits wrong code for
  8649. ColdFire
  8650. Testsuite problems (compiler not affected)
  8651. * [163]11610 libstdc++ testcases 27_io/* don't work properly remotely
  8652. * [164]15488 (libstdc++) possibly insufficient file permissions for
  8653. executing test suite
  8654. * [165]15489 (libstdc++) testsuite_files determined incorrectly
  8655. Documentation bugs
  8656. * [166]13928 (libstdc++) no whatis info in some man pages generated
  8657. by doxygen
  8658. * [167]14150 Ada documentation out of date
  8659. * [168]14949 (c++) Need to document method visibility changes
  8660. * [169]15123 libstdc++-doc: Allocators.3 manpage is empty
  8661. __________________________________________________________________
  8662. GCC 3.4.2
  8663. Bug Fixes
  8664. This section lists the problem reports (PRs) from GCC's bug tracking
  8665. system that are known to be fixed in the 3.4.2 release. This list might
  8666. not be complete (that is, it is possible that some PRs that have been
  8667. fixed are not listed here).
  8668. Bootstrap failures and issues
  8669. * [170]16469 [mips-sgi-irix5.3] bootstrap fails in
  8670. libstdc++-v3/testsuite
  8671. * [171]16344 [hppa-linux-gnu] libstdc++'s PCH built by
  8672. profiledbootstrap does not work with the built compiler
  8673. * [172]16842 [Solaris/x86] mkheaders can not find mkheaders.conf
  8674. Multi-platform internal compiler errors (ICEs)
  8675. * [173]12608 (c++) ICE: expected class 't', have 'x' (error_mark) in
  8676. cp_parser_class_specifier, in cp/parser.c
  8677. * [174]14492 ICE in loc_descriptor_from_tree, in dwarf2out.c
  8678. * [175]15461 (c++) ICE due to NRV and inlining
  8679. * [176]15890 (c++) ICE in c_expand_expr, in c-common.c
  8680. * [177]16180 ICE: segmentation fault in RTL optimization
  8681. * [178]16224 (c++) ICE in write_unscoped_name (template/namespace)
  8682. * [179]16408 ICE: in delete_insn, in cfgrtl.c
  8683. * [180]16529 (c++) ICE for: namespace-alias shall not be declared as
  8684. the name of any other entity
  8685. * [181]16698 (c++) ICE with exceptions and declaration of __cxa_throw
  8686. * [182]16706 (c++) ICE in finish_member_declaration, in
  8687. cp/semantics.c
  8688. * [183]16810 (c++) Legal C++ program with cast gives ICE in
  8689. build_ptrmemfunc
  8690. * [184]16851 (c++) ICE when throwing a comma expression
  8691. * [185]16870 (c++) Boost.Spirit causes ICE in tsubst, in cp/pt.c
  8692. * [186]16904 (c++) ICE in finish_class_member_access_expr, in
  8693. cp/typeck.c
  8694. * [187]16905 (c++) ICE (segfault) with exceptions
  8695. * [188]16964 (c++) ICE in cp_parser_class_specifier due to
  8696. redefinition
  8697. * [189]17068 (c++) ICE: tree check: expected class 'd', have 'x'
  8698. (identifier_node) in dependent_template_p, in cp/pt.c
  8699. Preprocessor bugs
  8700. * [190]16366 Preprocessor option -remap causes memory corruption
  8701. Optimization
  8702. * [191]15345 unreferenced nested inline functions not optimized away
  8703. * [192]16590 Incorrect execution when compiling with -O2
  8704. * [193]16693 Bitwise AND is lost when used within a cast to an enum
  8705. of the same precision
  8706. * [194]17078 Jump into if(0) substatement fails
  8707. Problems in generated debug information
  8708. * [195]13956 incorrect stabs for nested local variables
  8709. C front end bugs
  8710. * [196]16684 GCC should not warn about redundant redeclarations of
  8711. built-ins
  8712. C++ compiler and library
  8713. * [197]12658 Thread safety problems in locale::global() and
  8714. locale::locale()
  8715. * [198]13092 g++ accepts invalid pointer-to-member conversion
  8716. * [199]15320 Excessive memory consumption
  8717. * [200]16246 Incorrect template argument deduction
  8718. * [201]16273 Memory exhausted when using nested classes and virtual
  8719. functions
  8720. * [202]16401 ostringstream in gcc 3.4.x very slow for big data
  8721. * [203]16411 undefined reference to
  8722. __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char>
  8723. >::file()
  8724. * [204]16489 G++ incorrectly rejects use of a null constant integral
  8725. expression as a null constant pointer
  8726. * [205]16618 offsetof fails with constant member
  8727. * [206]16637 syntax error reported for valid input code
  8728. * [207]16717 __attribute__((constructor)) broken in C++
  8729. * [208]16813 compiler error in DEBUG version of range insertion
  8730. std::map::insert
  8731. * [209]16853 pointer-to-member initialization from incompatible one
  8732. accepted
  8733. * [210]16889 ambiguity is not detected
  8734. * [211]16959 Segmentation fault in ios_base::sync_with_stdio
  8735. Java compiler and library
  8736. * [212]7587 direct threaded interpreter not thread-safe
  8737. * [213]16473 ServerSocket accept() leaks file descriptors
  8738. * [214]16478 Hash synchronization deadlock with finalizers
  8739. Alpha-specific
  8740. * [215]10695 ICE in dwarf2out_frame_debug_expr, in dwarf2out.c
  8741. * [216]16974 could not split insn (ice in final_scan_insn, in
  8742. final.c)
  8743. x86-specific
  8744. * [217]16298 ICE in output_operand
  8745. * [218]17113 ICE with SSE2 intrinsics
  8746. x86-64 specific
  8747. * [219]14697 libstdc++ couldn't find 32bit libgcc_s
  8748. MIPS-specific
  8749. * [220]15869 [mips64] No NOP after LW (with -mips1 -O0)
  8750. * [221]16325 [mips64] value profiling clobbers gp on mips
  8751. * [222]16357 [mipsisa64-elf] ICE copying 7 bytes between extern
  8752. char[]s
  8753. * [223]16380 [mips64] Use of uninitialised register after dbra
  8754. conversion
  8755. * [224]16407 [mips64] Unaligned access to local variables
  8756. * [225]16643 [mips64] verify_local_live_at_start ICE after
  8757. crossjumping & cfgcleanup
  8758. ARM-specific
  8759. * [226]15927 THUMB -O2: strength-reduced iteration variable ends up
  8760. off by 1
  8761. * [227]15948 THUMB: ICE with non-commutative cbranch
  8762. * [228]17019 THUMB: bad switch statement in md code for
  8763. addsi3_cbranch_scratch
  8764. IA64-specific
  8765. * [229]16130 ICE on valid code: in bundling, in config/ia64/ia64.c
  8766. (-mtune=merced)
  8767. * [230]16142 ICE on valid code: in bundling, in config/ia64/ia64.c
  8768. (-mtune=itanium)
  8769. * [231]16278 Gcc failed to build Linux kernel with -mtune=merced
  8770. * [232]16414 ICE on valid code: typo in comparison of asm_noperands
  8771. result
  8772. * [233]16445 ICE on valid code: don't count ignored insns
  8773. * [234]16490 ICE (segfault) while compiling with -fprofile-use
  8774. * [235]16683 ia64 does not honor SUBTARGET_EXTRA_SPECS
  8775. PowerPC-specific
  8776. * [236]16195 (ppc64): Miscompilation of GCC 3.3.x by 3.4.x
  8777. * [237]16239 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions
  8778. issue)
  8779. SPARC-specific
  8780. * [238]16199 ICE while compiling apache 2.0.49
  8781. * [239]16416 -m64 doesn't imply -mcpu=v9 anymore
  8782. * [240]16430 ICE when returning non-C aggregates larger than 16 bytes
  8783. Bugs specific to embedded processors
  8784. * [241]16379 [m32r] can't output large model function call of memcpy
  8785. * [242]17093 [m32r] ICE with -msdata=use -O0
  8786. * [243]17119 [m32r] ICE at switch case 0x8000
  8787. DJGPP-specific
  8788. * [244]15928 libstdc++ in 3.4.x doesn't cross-compile for djgpp
  8789. Alpha Tru64-specific
  8790. * [245]16210 libstdc++ gratuitously omits "long long" I/O
  8791. Testsuite, documentation issues (compiler is not affected):
  8792. * [246]15488 (libstdc++) possibly insufficient file permissions for
  8793. executing test suite
  8794. * [247]16250 ada/doctools runs makeinfo even in release tarball
  8795. __________________________________________________________________
  8796. GCC 3.4.3
  8797. This is the [248]list of problem reports (PRs) from GCC's bug tracking
  8798. system that are known to be fixed in the 3.4.3 release. This list might
  8799. not be complete (that is, it is possible that some PRs that have been
  8800. fixed are not listed here).
  8801. Bootstrap failures
  8802. * [249]17369 [ia64] Bootstrap failure with binutils-2.15.90.0.1.1
  8803. * [250]17850 [arm-elf] bootstrap failure - libstdc++ uses strtold
  8804. when undeclared
  8805. Internal compiler errors (ICEs) affecting multiple platforms
  8806. * [251]13948 (java) GCJ segmentation fault while compiling GL4Java
  8807. .class files
  8808. * [252]14492 ICE in loc_descriptor_from_tree, in dwarf2out.c
  8809. * [253]16301 (c++) ICE when "strong" attribute is attached to a using
  8810. directive
  8811. * [254]16566 ICE with flexible arrays
  8812. * [255]17023 ICE with nested functions in parameter declaration
  8813. * [256]17027 ICE with noreturn function in loop at -O2
  8814. * [257]17524 ICE in grokdeclarator, in cp/decl.c
  8815. * [258]17826 (c++) ICE in cp_tree_equal
  8816. C and optimization bugs
  8817. * [259]15526 -ftrapv aborts on 0 * (-1)
  8818. * [260]16999 #ident stopped working
  8819. * [261]17503 quadratic behaviour in invalid_mode_change_p
  8820. * [262]17581 Long long arithmetic fails inside a switch/case
  8821. statement when compiled with -O2
  8822. * [263]18129 -fwritable-strings doesn't work
  8823. C++ compiler and library bugs
  8824. * [264]10975 incorrect initial ostringstream::tellp()
  8825. * [265]11722 Unbuffered filebuf::sgetn is slow
  8826. * [266]14534 Unrecognizing static function as a template parameter
  8827. when its return value is also templated
  8828. * [267]15172 Copy constructor optimization in aggregate
  8829. initialization
  8830. * [268]15786 Bad error message for frequently occuring error.
  8831. * [269]16162 Rejects valid member-template-definition
  8832. * [270]16612 empty basic_strings can't live in shared memory
  8833. * [271]16715 std::basic_iostream is instantiated when used, even
  8834. though instantiations are already contained in libstdc++
  8835. * [272]16848 code in /ext/demangle.h appears broken
  8836. * [273]17132 GCC fails to eliminate function template specialization
  8837. when argument deduction fails
  8838. * [274]17259 One more _S_leaf incorrectly qualified with _RopeRep::
  8839. in ropeimpl.h
  8840. * [275]17327 use of `enumeral_type' in template type unification
  8841. * [276]17393 "unused variable '._0'" warning with -Wall
  8842. * [277]17501 Confusion with member templates
  8843. * [278]17537 g++ not passing -lstdc++ to linker when all command line
  8844. arguments are libraries
  8845. * [279]17585 usage of unqualified name of static member from within
  8846. class not allowed
  8847. * [280]17821 Poor diagnostic for using "." instead of "->"
  8848. * [281]17829 wrong error: call of overloaded function is ambiguous
  8849. * [282]17851 Misleading diagnostic for invalid function declarations
  8850. with undeclared types
  8851. * [283]17976 Destructor is called twice
  8852. * [284]18020 rejects valid definition of enum value in template
  8853. * [285]18093 bogus conflict in namespace aliasing
  8854. * [286]18140 C++ parser bug when using >> in templates
  8855. Fortran
  8856. * [287]17541 data statements with double precision constants fail
  8857. x86-specific
  8858. * [288]17853 -O2 ICE for MMX testcase
  8859. SPARC-specific
  8860. * [289]17245 ICE compiling gsl-1.5 statistics/lag1.c
  8861. Darwin-specific
  8862. * [290]17167 FATAL:Symbol L_foo$stub already defined.
  8863. AIX-specific
  8864. * [291]17277 could not catch an exception when specified -maix64
  8865. Solaris-specific
  8866. * [292]17505 <cmath> calls acosf(), ceilf(), and other functions
  8867. missing from system libraries
  8868. HP/UX specific:
  8869. * [293]17684 /usr/ccs/bin/ld: Can't create libgcc_s.sl
  8870. ARM-specific
  8871. * [294]17384 ICE with mode attribute on structures
  8872. MIPS-specific
  8873. * [295]17770 No NOP after LWL with -mips1
  8874. Other embedded target specific
  8875. * [296]11476 [arc-elf] gcc ICE on newlib's vfprintf.c
  8876. * [297]14064 [avr-elf] -fdata-sections triggers ICE
  8877. * [298]14678 [m68hc11-elf] gcc ICE
  8878. * [299]15583 [powerpc-rtems] powerpc-rtems lacks __USE_INIT_FINI__
  8879. * [300]15790 [i686-coff] Alignment error building gcc with i686-coff
  8880. target
  8881. * [301]15886 [SH] Miscompilation with -O2 -fPIC
  8882. * [302]16884 [avr-elf] [fweb related] bug while initializing
  8883. variables
  8884. Bugs relating to debugger support
  8885. * [303]13841 missing debug info for _Complex function arguments
  8886. * [304]15860 [big-endian targets] No DW_AT_location debug info is
  8887. emitted for formal arguments to a function that uses "register"
  8888. qualifiers
  8889. Testsuite issues (compiler not affected)
  8890. * [305]17465 Testsuite in libffi overrides LD_LIBRARY_PATH
  8891. * [306]17469 Testsuite in libstdc++ overrides LD_LIBRARY_PATH
  8892. * [307]18138 [mips-sgi-irix6.5] libgcc_s.so.1 not found by 64-bit
  8893. testsuite
  8894. Documentation
  8895. * [308]15498 typo in gcc manual: non-existing locale example en_UK,
  8896. should be en_GB
  8897. * [309]15747 [mips-sgi-irix5.3] /bin/sh hangs during bootstrap:
  8898. document broken shell
  8899. * [310]16406 USE_LD_AS_NEEDED undocumented
  8900. __________________________________________________________________
  8901. GCC 3.4.4
  8902. This is the [311]list of problem reports (PRs) from GCC's bug tracking
  8903. system that are known to be fixed in the 3.4.4 release. This list might
  8904. not be complete (that is, it is possible that some PRs that have been
  8905. fixed are not listed here).
  8906. __________________________________________________________________
  8907. GCC 3.4.5
  8908. This is the [312]list of problem reports (PRs) from GCC's bug tracking
  8909. system that are known to be fixed in the 3.4.5 release. This list might
  8910. not be complete (that is, it is possible that some PRs that have been
  8911. fixed are not listed here).
  8912. Bootstrap issues
  8913. * [313]24688 sco_math fixincl breaks math.h
  8914. C compiler bugs
  8915. * [314]17188 struct Foo { } redefinition
  8916. * [315]20187 wrong code for ((unsigned char)(unsigned long
  8917. long)((a?a:1)&(a*b)))?0:1)
  8918. * [316]21873 infinite warning loop on bad array initializer
  8919. * [317]21899 enum definition accepts values to be overriden
  8920. * [318]22061 ICE in find_function_data, in function.c
  8921. * [319]22308 Failure to diagnose violation of constraint 6.516p2
  8922. * [320]22458 ICE on missing brace
  8923. * [321]22589 ICE casting to long long
  8924. * [322]24101 Segfault with preprocessed source
  8925. C++ compiler and library bugs
  8926. * [323]10611 operations on vector mode not recognized in C++
  8927. * [324]13377 unexpected behavior of namespace usage directive
  8928. * [325]16002 Strange error message with new parser
  8929. * [326]17413 local classes as template argument
  8930. * [327]17609 spurious error message after using keyword
  8931. * [328]17618 ICE in cp_convert_to_pointer, in cp/cvt.c
  8932. * [329]18124 ICE with invalid template template parameter
  8933. * [330]18155 typedef in template declaration not rejected
  8934. * [331]18177 ICE with const_cast for undeclared variable
  8935. * [332]18368 C++ error message regression
  8936. * [333]16378 ICE when returning a copy of a packed member
  8937. * [334]18466 int ::i; accepted
  8938. * [335]18512 ICE on invalid usage of template base class
  8939. * [336]18454 ICE when returning undefined type
  8940. * [337]18738 typename not allowed with non-dependent qualified name
  8941. * [338]18803 rejects access to operator() in template
  8942. * [339]19004 ICE in uses_template_parms, in cp/pt.c
  8943. * [340]19208 Spurious error about variably modified type
  8944. * [341]18253 bad error message / ICE for invalid template parameter
  8945. * [342]19608 ICE after friend function definition in local class
  8946. * [343]19884 ICE on explicit instantiation of a non-template
  8947. constructor
  8948. * [344]20153 ICE when C++ template function contains anonymous union
  8949. * [345]20563 Infinite loop in diagnostic (and ice after error
  8950. message)
  8951. * [346]20789 ICE with incomplete type in template
  8952. * [347]21336 Internal compiler error when using custom new operators
  8953. * [348]21768 ICE in error message due to violation of coding
  8954. conventions
  8955. * [349]21853 constness of pointer to data member ignored
  8956. * [350]21903 Default argument of template function causes a
  8957. compile-time error
  8958. * [351]21983 multiple diagnostics
  8959. * [352]21987 New testsuite failure
  8960. g++.dg/warn/conversion-function-1.C
  8961. * [353]22153 ICE on invalid template specialization
  8962. * [354]22172 Internal compiler error, seg fault.
  8963. * [355]21286 filebuf::xsgetn vs pipes
  8964. * [356]22233 ICE with wrong number of template parameters
  8965. * [357]22508 ICE after invalid operator new
  8966. * [358]22545 ICE with pointer to class member & user defined
  8967. conversion operator
  8968. * [359]23528 Wrong default allocator in ext/hash_map
  8969. * [360]23550 char_traits requirements/1.cc test bad math
  8970. * [361]23586 Bad diagnostic for invalid namespace-name
  8971. * [362]23624 ICE in invert_truthvalue, in fold-const.c
  8972. * [363]23639 Bad error message: not a member of '<declaration error>'
  8973. * [364]23797 ICE on typename outside template
  8974. * [365]23965 Bogus error message: no matching function for call to
  8975. 'foo(<type error>)'
  8976. * [366]24052 &#`label_decl' not supported by dump_expr#<expression
  8977. error>
  8978. * [367]24580 virtual base class cause exception not to be caught
  8979. Problems in generated debug information
  8980. * [368]24267 Bad DWARF for altivec vectors
  8981. Optimizations issues
  8982. * [369]17810 ICE in verify_local_live_at_start
  8983. * [370]17860 Wrong generated code for loop with varying bound
  8984. * [371]21709 ICE on compile-time complex NaN
  8985. * [372]21964 broken tail call at -O2 or more
  8986. * [373]22167 Strange optimization bug when using -Os
  8987. * [374]22619 Compilation failure for real_const_1.f and
  8988. real_const_2.f90
  8989. * [375]23241 Invalid code generated for comparison of uchar to 255
  8990. * [376]23478 Miscompilation due to reloading of a var that is also
  8991. used in EH pad
  8992. * [377]24470 segmentation fault in cc1plus when compiling with -O
  8993. * [378]24950 ICE in operand_subword_force
  8994. Precompiled headers problems
  8995. * [379]14400 Cannot compile qt-x11-free-3.3.0
  8996. * [380]14940 PCH largefile test fails on various platforms
  8997. Preprocessor bugs
  8998. * [381]20239 ICE on empty preprocessed input
  8999. * [382]15220 "gcc -E -MM -MG" reports missing system headers in
  9000. source directory
  9001. Testsuite issues
  9002. * [383]19275 gcc.dg/20020919-1.c fails with -fpic/-fPIC on
  9003. i686-pc-linux-gnu
  9004. Alpha specific
  9005. * [384]21888 bootstrap failure with linker relaxation enabled
  9006. ARM specific
  9007. * [385]15342 [arm-linux]: ICE in verify_local_live_at_start
  9008. * [386]23985 Memory aliasing information incorrect in inlined memcpy
  9009. ColdFile specific
  9010. * [387]16719 Illegal move of byte into address register causes
  9011. compiler to ICE
  9012. HPPA specific
  9013. * [388]21723 ICE while building libgfortran
  9014. * [389]21841 -mhp-ld/-mgnu-ld documentation
  9015. IA-64 specific
  9016. * [390]23644 IA-64 hardware models and configuration options
  9017. documentation error
  9018. * [391]24718 Shared libgcc not used for linking by default
  9019. M68000 specific
  9020. * [392]18421 ICE in reload_cse_simplify_operands, in postreload.c
  9021. MIPS specific
  9022. * [393]20621 ICE in change_address_1, in emit-rtl.c
  9023. PowerPC and PowerPC64 specific
  9024. * [394]18583 error on valid code: const
  9025. __attribute__((altivec(vector__))) doesn't work in arrays
  9026. * [395]20191 ICE in reload_cse_simplify_operands
  9027. * [396]22083 AIX: TARGET_C99_FUNCTIONS is wrongly defined
  9028. * [397]23070 CALL_V4_CLEAR_FP_ARGS flag not properly set
  9029. * [398]23404 gij trashes args of functions with more than 8 fp args
  9030. * [399]23539 C & C++ compiler generating misaligned references
  9031. regardless of compiler flags
  9032. * [400]24102 floatdisf2_internal2 broken
  9033. * [401]24465 -mminimal-toc miscompilation of __thread vars
  9034. Solaris specific
  9035. * [402]19933 Problem with define of HUGE_VAL in math_c99
  9036. * [403]21889 Native Solaris assembler cannot grok DTP-relative debug
  9037. symbols
  9038. SPARC specific
  9039. * [404]19300 PCH failures on sparc-linux
  9040. * [405]20301 Assembler labels have a leading "-"
  9041. * [406]20673 C PCH testsuite assembly comparison failure
  9042. x86 and x86_64 specific
  9043. * [407]18582 ICE with arrays of type V2DF
  9044. * [408]19340 Compilation SEGFAULTs with -O1 -fschedule-insns2
  9045. -fsched2-use-traces
  9046. * [409]21716 ICE in reg-stack.c's swap_rtx_condition
  9047. * [410]24315 amd64 fails -fpeephole2
  9048. __________________________________________________________________
  9049. GCC 3.4.6
  9050. This is the [411]list of problem reports (PRs) from GCC's bug tracking
  9051. system that are known to be fixed in the 3.4.6 release. This list might
  9052. not be complete (that is, it is possible that some PRs that have been
  9053. fixed are not listed here).
  9054. For questions related to the use of GCC, please consult these web
  9055. pages and the [412]GCC manuals. If that fails, the
  9056. [413]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  9057. web pages and the development of GCC are welcome on our developer
  9058. list at [414]gcc@gcc.gnu.org. All of [415]our lists have public
  9059. archives.
  9060. Copyright (C) [416]Free Software Foundation, Inc. Verbatim copying and
  9061. distribution of this entire article is permitted in any medium,
  9062. provided this notice is preserved.
  9063. These pages are [417]maintained by the GCC team. Last modified
  9064. 2014-06-28[418].
  9065. References
  9066. 1. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.6
  9067. 2. http://gcc.gnu.org/gcc-3.4/changes.html#cplusplus
  9068. 3. http://gcc.gnu.org/gcc-3.3/changes.html#obsolete_systems
  9069. 4. http://gcc.gnu.org/gcc-3.4/changes.html#obsolete_systems
  9070. 5. http://gcc.gnu.org/gcc-3.4/mips-abi.html
  9071. 6. http://gcc.gnu.org/gcc-3.4/sparc-abi.html
  9072. 7. http://www.boost.org/
  9073. 8. https://gcc.gnu.org/PR11953
  9074. 9. https://gcc.gnu.org/PR8361
  9075. 10. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Other-Builtins.html#Other%20Builtins
  9076. 11. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#209
  9077. 12. http://gcc.gnu.org/bugs/#cxx_rvalbind
  9078. 13. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html
  9079. 14. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html
  9080. 15. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html
  9081. 16. http://www.gnu.org/software/classpath/
  9082. 17. http://www.eclipse.org/
  9083. 18. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/g77/News.html
  9084. 19. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Alpha-Built-in-Functions.html
  9085. 20. http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51A_HTML/ARH9MBTE/DTMNPLTN.HTM#normal-argument-list-structure
  9086. 21. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Processor-pipeline-description.html
  9087. 22. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Comparison-of-the-two-descriptions.html
  9088. 23. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Processor-pipeline-description.html
  9089. 24. http://gcc.gnu.org/gcc-3.4/mips-abi.html
  9090. 25. http://gcc.gnu.org/gcc-3.4/powerpc-abi.html
  9091. 26. http://gcc.gnu.org/gcc-3.4/sparc-abi.html
  9092. 27. https://gcc.gnu.org/bugzilla/buglist.cgi?short_desc_type=notregexp&short_desc=%5C%5B3%5C.4.*%5BRr%5Degression&target_milestone=3.4.0&bug_status=RESOLVED&resolution=FIXED
  9093. 28. https://gcc.gnu.org/PR10129
  9094. 29. https://gcc.gnu.org/PR14576
  9095. 30. https://gcc.gnu.org/PR14760
  9096. 31. https://gcc.gnu.org/PR14671
  9097. 32. https://gcc.gnu.org/PR15093
  9098. 33. https://gcc.gnu.org/PR15178
  9099. 34. https://gcc.gnu.org/PR12753
  9100. 35. https://gcc.gnu.org/PR13985
  9101. 36. https://gcc.gnu.org/PR14810
  9102. 37. https://gcc.gnu.org/PR14883
  9103. 38. https://gcc.gnu.org/PR15044
  9104. 39. https://gcc.gnu.org/PR15057
  9105. 40. https://gcc.gnu.org/PR15064
  9106. 41. https://gcc.gnu.org/PR15142
  9107. 42. https://gcc.gnu.org/PR15159
  9108. 43. https://gcc.gnu.org/PR15165
  9109. 44. https://gcc.gnu.org/PR15193
  9110. 45. https://gcc.gnu.org/PR15209
  9111. 46. https://gcc.gnu.org/PR15227
  9112. 47. https://gcc.gnu.org/PR15285
  9113. 48. https://gcc.gnu.org/PR15299
  9114. 49. https://gcc.gnu.org/PR15329
  9115. 50. https://gcc.gnu.org/PR15550
  9116. 51. https://gcc.gnu.org/PR15554
  9117. 52. https://gcc.gnu.org/PR15640
  9118. 53. https://gcc.gnu.org/PR15666
  9119. 54. https://gcc.gnu.org/PR15696
  9120. 55. https://gcc.gnu.org/PR15701
  9121. 56. https://gcc.gnu.org/PR15761
  9122. 57. https://gcc.gnu.org/PR15829
  9123. 58. https://gcc.gnu.org/PR14538
  9124. 59. https://gcc.gnu.org/PR12391
  9125. 60. https://gcc.gnu.org/PR14649
  9126. 61. https://gcc.gnu.org/PR15004
  9127. 62. https://gcc.gnu.org/PR15749
  9128. 63. https://gcc.gnu.org/PR10646
  9129. 64. https://gcc.gnu.org/PR12077
  9130. 65. https://gcc.gnu.org/PR13598
  9131. 66. https://gcc.gnu.org/PR14211
  9132. 67. https://gcc.gnu.org/PR14220
  9133. 68. https://gcc.gnu.org/PR14245
  9134. 69. https://gcc.gnu.org/PR14340
  9135. 70. https://gcc.gnu.org/PR14600
  9136. 71. https://gcc.gnu.org/PR14668
  9137. 72. https://gcc.gnu.org/PR14775
  9138. 73. https://gcc.gnu.org/PR14821
  9139. 74. https://gcc.gnu.org/PR14930
  9140. 75. https://gcc.gnu.org/PR14932
  9141. 76. https://gcc.gnu.org/PR14950
  9142. 77. https://gcc.gnu.org/PR14962
  9143. 78. https://gcc.gnu.org/PR14975
  9144. 79. https://gcc.gnu.org/PR15002
  9145. 80. https://gcc.gnu.org/PR15025
  9146. 81. https://gcc.gnu.org/PR15046
  9147. 82. https://gcc.gnu.org/PR15069
  9148. 83. https://gcc.gnu.org/PR15074
  9149. 84. https://gcc.gnu.org/PR15083
  9150. 85. https://gcc.gnu.org/PR15096
  9151. 86. https://gcc.gnu.org/PR15287
  9152. 87. https://gcc.gnu.org/PR15317
  9153. 88. https://gcc.gnu.org/PR15337
  9154. 89. https://gcc.gnu.org/PR15361
  9155. 90. https://gcc.gnu.org/PR15412
  9156. 91. https://gcc.gnu.org/PR15427
  9157. 92. https://gcc.gnu.org/PR15471
  9158. 93. https://gcc.gnu.org/PR15503
  9159. 94. https://gcc.gnu.org/PR15507
  9160. 95. https://gcc.gnu.org/PR15542
  9161. 96. https://gcc.gnu.org/PR15565
  9162. 97. https://gcc.gnu.org/PR15625
  9163. 98. https://gcc.gnu.org/PR15629
  9164. 99. https://gcc.gnu.org/PR15742
  9165. 100. https://gcc.gnu.org/PR15775
  9166. 101. https://gcc.gnu.org/PR15821
  9167. 102. https://gcc.gnu.org/PR15862
  9168. 103. https://gcc.gnu.org/PR15875
  9169. 104. https://gcc.gnu.org/PR15877
  9170. 105. https://gcc.gnu.org/PR15947
  9171. 106. https://gcc.gnu.org/PR16020
  9172. 107. https://gcc.gnu.org/PR16154
  9173. 108. https://gcc.gnu.org/PR16174
  9174. 109. https://gcc.gnu.org/PR14315
  9175. 110. https://gcc.gnu.org/PR15151
  9176. 111. https://gcc.gnu.org/PR7993
  9177. 112. https://gcc.gnu.org/PR15228
  9178. 113. https://gcc.gnu.org/PR15345
  9179. 114. https://gcc.gnu.org/PR15945
  9180. 115. https://gcc.gnu.org/PR15526
  9181. 116. https://gcc.gnu.org/PR14690
  9182. 117. https://gcc.gnu.org/PR15112
  9183. 118. https://gcc.gnu.org/PR15067
  9184. 119. https://gcc.gnu.org/PR1963
  9185. 120. https://gcc.gnu.org/PR15717
  9186. 121. https://gcc.gnu.org/PR14782
  9187. 122. https://gcc.gnu.org/PR14828
  9188. 123. https://gcc.gnu.org/PR15202
  9189. 124. https://gcc.gnu.org/PR14610
  9190. 125. https://gcc.gnu.org/PR14813
  9191. 126. https://gcc.gnu.org/PR14857
  9192. 127. https://gcc.gnu.org/PR15598
  9193. 128. https://gcc.gnu.org/PR15653
  9194. 129. https://gcc.gnu.org/PR15189
  9195. 130. https://gcc.gnu.org/PR15331
  9196. 131. https://gcc.gnu.org/PR16144
  9197. 132. https://gcc.gnu.org/PR16176
  9198. 133. https://gcc.gnu.org/PR11591
  9199. 134. https://gcc.gnu.org/PR12028
  9200. 135. https://gcc.gnu.org/PR14478
  9201. 136. https://gcc.gnu.org/PR14567
  9202. 137. https://gcc.gnu.org/PR14715
  9203. 138. https://gcc.gnu.org/PR14902
  9204. 139. https://gcc.gnu.org/PR14924
  9205. 140. https://gcc.gnu.org/PR14960
  9206. 141. https://gcc.gnu.org/PR15106
  9207. 142. https://gcc.gnu.org/PR16026
  9208. 143. https://gcc.gnu.org/PR15191
  9209. 144. https://gcc.gnu.org/PR15662
  9210. 145. https://gcc.gnu.org/PR15054
  9211. 146. https://gcc.gnu.org/PR15783
  9212. 147. https://gcc.gnu.org/PR15626
  9213. 148. https://gcc.gnu.org/PR14326
  9214. 149. https://gcc.gnu.org/PR14723
  9215. 150. https://gcc.gnu.org/PR15290
  9216. 151. https://gcc.gnu.org/PR15250
  9217. 152. https://gcc.gnu.org/PR15551
  9218. 153. https://gcc.gnu.org/PR8309
  9219. 154. https://gcc.gnu.org/PR13250
  9220. 155. https://gcc.gnu.org/PR13803
  9221. 156. https://gcc.gnu.org/PR14093
  9222. 157. https://gcc.gnu.org/PR14457
  9223. 158. https://gcc.gnu.org/PR14542
  9224. 159. https://gcc.gnu.org/PR15100
  9225. 160. https://gcc.gnu.org/PR15296
  9226. 161. https://gcc.gnu.org/PR15396
  9227. 162. https://gcc.gnu.org/PR15782
  9228. 163. https://gcc.gnu.org/PR11610
  9229. 164. https://gcc.gnu.org/PR15488
  9230. 165. https://gcc.gnu.org/PR15489
  9231. 166. https://gcc.gnu.org/PR13928
  9232. 167. https://gcc.gnu.org/PR14150
  9233. 168. https://gcc.gnu.org/PR14949
  9234. 169. https://gcc.gnu.org/PR15123
  9235. 170. https://gcc.gnu.org/PR16469
  9236. 171. https://gcc.gnu.org/PR16344
  9237. 172. https://gcc.gnu.org/PR16842
  9238. 173. https://gcc.gnu.org/PR12608
  9239. 174. https://gcc.gnu.org/PR14492
  9240. 175. https://gcc.gnu.org/PR15461
  9241. 176. https://gcc.gnu.org/PR15890
  9242. 177. https://gcc.gnu.org/PR16180
  9243. 178. https://gcc.gnu.org/PR16224
  9244. 179. https://gcc.gnu.org/PR16408
  9245. 180. https://gcc.gnu.org/PR16529
  9246. 181. https://gcc.gnu.org/PR16698
  9247. 182. https://gcc.gnu.org/PR16706
  9248. 183. https://gcc.gnu.org/PR16810
  9249. 184. https://gcc.gnu.org/PR16851
  9250. 185. https://gcc.gnu.org/PR16870
  9251. 186. https://gcc.gnu.org/PR16904
  9252. 187. https://gcc.gnu.org/PR16905
  9253. 188. https://gcc.gnu.org/PR16964
  9254. 189. https://gcc.gnu.org/PR17068
  9255. 190. https://gcc.gnu.org/PR16366
  9256. 191. https://gcc.gnu.org/PR15345
  9257. 192. https://gcc.gnu.org/PR16590
  9258. 193. https://gcc.gnu.org/PR16693
  9259. 194. https://gcc.gnu.org/PR17078
  9260. 195. https://gcc.gnu.org/PR13956
  9261. 196. https://gcc.gnu.org/PR16684
  9262. 197. https://gcc.gnu.org/PR12658
  9263. 198. https://gcc.gnu.org/PR13092
  9264. 199. https://gcc.gnu.org/PR15320
  9265. 200. https://gcc.gnu.org/PR16246
  9266. 201. https://gcc.gnu.org/PR16273
  9267. 202. https://gcc.gnu.org/PR16401
  9268. 203. https://gcc.gnu.org/PR16411
  9269. 204. https://gcc.gnu.org/PR16489
  9270. 205. https://gcc.gnu.org/PR16618
  9271. 206. https://gcc.gnu.org/PR16637
  9272. 207. https://gcc.gnu.org/PR16717
  9273. 208. https://gcc.gnu.org/PR16813
  9274. 209. https://gcc.gnu.org/PR16853
  9275. 210. https://gcc.gnu.org/PR16889
  9276. 211. https://gcc.gnu.org/PR16959
  9277. 212. https://gcc.gnu.org/PR7587
  9278. 213. https://gcc.gnu.org/PR16473
  9279. 214. https://gcc.gnu.org/PR16478
  9280. 215. https://gcc.gnu.org/PR10695
  9281. 216. https://gcc.gnu.org/PR16974
  9282. 217. https://gcc.gnu.org/PR16298
  9283. 218. https://gcc.gnu.org/PR17113
  9284. 219. https://gcc.gnu.org/PR14697
  9285. 220. https://gcc.gnu.org/PR15869
  9286. 221. https://gcc.gnu.org/PR16325
  9287. 222. https://gcc.gnu.org/PR16357
  9288. 223. https://gcc.gnu.org/PR16380
  9289. 224. https://gcc.gnu.org/PR16407
  9290. 225. https://gcc.gnu.org/PR16643
  9291. 226. https://gcc.gnu.org/PR15927
  9292. 227. https://gcc.gnu.org/PR15948
  9293. 228. https://gcc.gnu.org/PR17019
  9294. 229. https://gcc.gnu.org/PR16130
  9295. 230. https://gcc.gnu.org/PR16142
  9296. 231. https://gcc.gnu.org/PR16278
  9297. 232. https://gcc.gnu.org/PR16414
  9298. 233. https://gcc.gnu.org/PR16445
  9299. 234. https://gcc.gnu.org/PR16490
  9300. 235. https://gcc.gnu.org/PR16683
  9301. 236. https://gcc.gnu.org/PR16195
  9302. 237. https://gcc.gnu.org/PR16239
  9303. 238. https://gcc.gnu.org/PR16199
  9304. 239. https://gcc.gnu.org/PR16416
  9305. 240. https://gcc.gnu.org/PR16430
  9306. 241. https://gcc.gnu.org/PR16379
  9307. 242. https://gcc.gnu.org/PR17093
  9308. 243. https://gcc.gnu.org/PR17119
  9309. 244. https://gcc.gnu.org/PR15928
  9310. 245. https://gcc.gnu.org/PR16210
  9311. 246. https://gcc.gnu.org/PR15488
  9312. 247. https://gcc.gnu.org/PR16250
  9313. 248. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.3
  9314. 249. https://gcc.gnu.org/PR17369
  9315. 250. https://gcc.gnu.org/PR17850
  9316. 251. https://gcc.gnu.org/PR13948
  9317. 252. https://gcc.gnu.org/PR14492
  9318. 253. https://gcc.gnu.org/PR16301
  9319. 254. https://gcc.gnu.org/PR16566
  9320. 255. https://gcc.gnu.org/PR17023
  9321. 256. https://gcc.gnu.org/PR17027
  9322. 257. https://gcc.gnu.org/PR17524
  9323. 258. https://gcc.gnu.org/PR17826
  9324. 259. https://gcc.gnu.org/PR15526
  9325. 260. https://gcc.gnu.org/PR16999
  9326. 261. https://gcc.gnu.org/PR17503
  9327. 262. https://gcc.gnu.org/PR17581
  9328. 263. https://gcc.gnu.org/PR18129
  9329. 264. https://gcc.gnu.org/PR10975
  9330. 265. https://gcc.gnu.org/PR11722
  9331. 266. https://gcc.gnu.org/PR14534
  9332. 267. https://gcc.gnu.org/PR15172
  9333. 268. https://gcc.gnu.org/PR15786
  9334. 269. https://gcc.gnu.org/PR16162
  9335. 270. https://gcc.gnu.org/PR16612
  9336. 271. https://gcc.gnu.org/PR16715
  9337. 272. https://gcc.gnu.org/PR16848
  9338. 273. https://gcc.gnu.org/PR17132
  9339. 274. https://gcc.gnu.org/PR17259
  9340. 275. https://gcc.gnu.org/PR17327
  9341. 276. https://gcc.gnu.org/PR17393
  9342. 277. https://gcc.gnu.org/PR17501
  9343. 278. https://gcc.gnu.org/PR17537
  9344. 279. https://gcc.gnu.org/PR17585
  9345. 280. https://gcc.gnu.org/PR17821
  9346. 281. https://gcc.gnu.org/PR17829
  9347. 282. https://gcc.gnu.org/PR17851
  9348. 283. https://gcc.gnu.org/PR17976
  9349. 284. https://gcc.gnu.org/PR18020
  9350. 285. https://gcc.gnu.org/PR18093
  9351. 286. https://gcc.gnu.org/PR18140
  9352. 287. https://gcc.gnu.org/PR17541
  9353. 288. https://gcc.gnu.org/PR17853
  9354. 289. https://gcc.gnu.org/PR17245
  9355. 290. https://gcc.gnu.org/PR17167
  9356. 291. https://gcc.gnu.org/PR17277
  9357. 292. https://gcc.gnu.org/PR17505
  9358. 293. https://gcc.gnu.org/PR17684
  9359. 294. https://gcc.gnu.org/PR17384
  9360. 295. https://gcc.gnu.org/PR17770
  9361. 296. https://gcc.gnu.org/PR11476
  9362. 297. https://gcc.gnu.org/PR14064
  9363. 298. https://gcc.gnu.org/PR14678
  9364. 299. https://gcc.gnu.org/PR15583
  9365. 300. https://gcc.gnu.org/PR15790
  9366. 301. https://gcc.gnu.org/PR15886
  9367. 302. https://gcc.gnu.org/PR16884
  9368. 303. https://gcc.gnu.org/PR13841
  9369. 304. https://gcc.gnu.org/PR15860
  9370. 305. https://gcc.gnu.org/PR17465
  9371. 306. https://gcc.gnu.org/PR17469
  9372. 307. https://gcc.gnu.org/PR18138
  9373. 308. https://gcc.gnu.org/PR15498
  9374. 309. https://gcc.gnu.org/PR15747
  9375. 310. https://gcc.gnu.org/PR16406
  9376. 311. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.4
  9377. 312. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.5
  9378. 313. https://gcc.gnu.org/PR24688
  9379. 314. https://gcc.gnu.org/PR17188
  9380. 315. https://gcc.gnu.org/PR20187
  9381. 316. https://gcc.gnu.org/PR21873
  9382. 317. https://gcc.gnu.org/PR21899
  9383. 318. https://gcc.gnu.org/PR22061
  9384. 319. https://gcc.gnu.org/PR22208
  9385. 320. https://gcc.gnu.org/PR22458
  9386. 321. https://gcc.gnu.org/PR22589
  9387. 322. https://gcc.gnu.org/PR24101
  9388. 323. https://gcc.gnu.org/PR10611
  9389. 324. https://gcc.gnu.org/PR13377
  9390. 325. https://gcc.gnu.org/PR16002
  9391. 326. https://gcc.gnu.org/PR17413
  9392. 327. https://gcc.gnu.org/PR17609
  9393. 328. https://gcc.gnu.org/PR17618
  9394. 329. https://gcc.gnu.org/PR18124
  9395. 330. https://gcc.gnu.org/PR18155
  9396. 331. https://gcc.gnu.org/PR18177
  9397. 332. https://gcc.gnu.org/PR18368
  9398. 333. https://gcc.gnu.org/PR18378
  9399. 334. https://gcc.gnu.org/PR18466
  9400. 335. https://gcc.gnu.org/PR18512
  9401. 336. https://gcc.gnu.org/PR18545
  9402. 337. https://gcc.gnu.org/PR18738
  9403. 338. https://gcc.gnu.org/PR18803
  9404. 339. https://gcc.gnu.org/PR19004
  9405. 340. https://gcc.gnu.org/PR19208
  9406. 341. https://gcc.gnu.org/PR19253
  9407. 342. https://gcc.gnu.org/PR19608
  9408. 343. https://gcc.gnu.org/PR19884
  9409. 344. https://gcc.gnu.org/PR20153
  9410. 345. https://gcc.gnu.org/PR20563
  9411. 346. https://gcc.gnu.org/PR20789
  9412. 347. https://gcc.gnu.org/PR21336
  9413. 348. https://gcc.gnu.org/PR21768
  9414. 349. https://gcc.gnu.org/PR21853
  9415. 350. https://gcc.gnu.org/PR21903
  9416. 351. https://gcc.gnu.org/PR21983
  9417. 352. https://gcc.gnu.org/PR21987
  9418. 353. https://gcc.gnu.org/PR22153
  9419. 354. https://gcc.gnu.org/PR22172
  9420. 355. https://gcc.gnu.org/PR21286
  9421. 356. https://gcc.gnu.org/PR22233
  9422. 357. https://gcc.gnu.org/PR22508
  9423. 358. https://gcc.gnu.org/PR22545
  9424. 359. https://gcc.gnu.org/PR23528
  9425. 360. https://gcc.gnu.org/PR23550
  9426. 361. https://gcc.gnu.org/PR23586
  9427. 362. https://gcc.gnu.org/PR23624
  9428. 363. https://gcc.gnu.org/PR23639
  9429. 364. https://gcc.gnu.org/PR23797
  9430. 365. https://gcc.gnu.org/PR23965
  9431. 366. https://gcc.gnu.org/PR24052
  9432. 367. https://gcc.gnu.org/PR24580
  9433. 368. https://gcc.gnu.org/PR24267
  9434. 369. https://gcc.gnu.org/PR17810
  9435. 370. https://gcc.gnu.org/PR17860
  9436. 371. https://gcc.gnu.org/PR21709
  9437. 372. https://gcc.gnu.org/PR21964
  9438. 373. https://gcc.gnu.org/PR22167
  9439. 374. https://gcc.gnu.org/PR22619
  9440. 375. https://gcc.gnu.org/PR23241
  9441. 376. https://gcc.gnu.org/PR23478
  9442. 377. https://gcc.gnu.org/PR24470
  9443. 378. https://gcc.gnu.org/PR24950
  9444. 379. https://gcc.gnu.org/PR14400
  9445. 380. https://gcc.gnu.org/PR14940
  9446. 381. https://gcc.gnu.org/PR20239
  9447. 382. https://gcc.gnu.org/PR15220
  9448. 383. https://gcc.gnu.org/PR19275
  9449. 384. https://gcc.gnu.org/PR21888
  9450. 385. https://gcc.gnu.org/PR15342
  9451. 386. https://gcc.gnu.org/PR23985
  9452. 387. https://gcc.gnu.org/PR16719
  9453. 388. https://gcc.gnu.org/PR21723
  9454. 389. https://gcc.gnu.org/PR21841
  9455. 390. https://gcc.gnu.org/PR23644
  9456. 391. https://gcc.gnu.org/PR24718
  9457. 392. https://gcc.gnu.org/PR18421
  9458. 393. https://gcc.gnu.org/PR20621
  9459. 394. https://gcc.gnu.org/PR18583
  9460. 395. https://gcc.gnu.org/PR20191
  9461. 396. https://gcc.gnu.org/PR22083
  9462. 397. https://gcc.gnu.org/PR23070
  9463. 398. https://gcc.gnu.org/PR23404
  9464. 399. https://gcc.gnu.org/PR23539
  9465. 400. https://gcc.gnu.org/PR24102
  9466. 401. https://gcc.gnu.org/PR24465
  9467. 402. https://gcc.gnu.org/PR19933
  9468. 403. https://gcc.gnu.org/PR21889
  9469. 404. https://gcc.gnu.org/PR19300
  9470. 405. https://gcc.gnu.org/PR20301
  9471. 406. https://gcc.gnu.org/PR20673
  9472. 407. https://gcc.gnu.org/PR18582
  9473. 408. https://gcc.gnu.org/PR19340
  9474. 409. https://gcc.gnu.org/PR21716
  9475. 410. https://gcc.gnu.org/PR24315
  9476. 411. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.6
  9477. 412. https://gcc.gnu.org/onlinedocs/
  9478. 413. mailto:gcc-help@gcc.gnu.org
  9479. 414. mailto:gcc@gcc.gnu.org
  9480. 415. https://gcc.gnu.org/lists.html
  9481. 416. http://www.fsf.org/
  9482. 417. https://gcc.gnu.org/about.html
  9483. 418. http://validator.w3.org/check/referer
  9484. ======================================================================
  9485. http://gcc.gnu.org/gcc-3.3/index.html
  9486. GCC 3.3 Release Series
  9487. May 03, 2005
  9488. The [1]GNU project and the GCC developers are pleased to announce the
  9489. release of GCC 3.3.6.
  9490. This release is a bug-fix release, containing fixes for regressions in
  9491. GCC 3.3.5 relative to previous releases of GCC.
  9492. This release is the last of the series 3.3.x.
  9493. The GCC 3.3 release series includes numerous [2]new features,
  9494. improvements, bug fixes, and other changes, thanks to an [3]amazing
  9495. group of volunteers.
  9496. Release History
  9497. GCC 3.3.6
  9498. May 3, 2005 ([4]changes)
  9499. GCC 3.3.5
  9500. September 30, 2004 ([5]changes)
  9501. GCC 3.3.4
  9502. May 31, 2004 ([6]changes)
  9503. GCC 3.3.3
  9504. February 14, 2004 ([7]changes)
  9505. GCC 3.3.2
  9506. October 16, 2003 ([8]changes)
  9507. GCC 3.3.1
  9508. August 8, 2003 ([9]changes)
  9509. GCC 3.3
  9510. May 14, 2003 ([10]changes)
  9511. References and Acknowledgements
  9512. GCC used to stand for the GNU C Compiler, but since the compiler
  9513. supports several other languages aside from C, it now stands for the
  9514. GNU Compiler Collection.
  9515. A list of [11]successful builds is updated as new information becomes
  9516. available.
  9517. The GCC developers would like to thank the numerous people that have
  9518. contributed new features, improvements, bug fixes, and other changes as
  9519. well as test results to GCC. This [12]amazing group of volunteers is
  9520. what makes GCC successful.
  9521. For additional information about GCC please refer to the [13]GCC
  9522. project web site or contact the [14]GCC development mailing list.
  9523. To obtain GCC please use [15]our mirror sites, or our CVS server.
  9524. For questions related to the use of GCC, please consult these web
  9525. pages and the [16]GCC manuals. If that fails, the
  9526. [17]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  9527. web pages and the development of GCC are welcome on our developer
  9528. list at [18]gcc@gcc.gnu.org. All of [19]our lists have public
  9529. archives.
  9530. Copyright (C) [20]Free Software Foundation, Inc. Verbatim copying and
  9531. distribution of this entire article is permitted in any medium,
  9532. provided this notice is preserved.
  9533. These pages are [21]maintained by the GCC team. Last modified
  9534. 2014-06-28[22].
  9535. References
  9536. 1. http://www.gnu.org/
  9537. 2. http://gcc.gnu.org/gcc-3.3/changes.html
  9538. 3. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  9539. 4. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.6
  9540. 5. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.5
  9541. 6. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.4
  9542. 7. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.3
  9543. 8. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2
  9544. 9. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.1
  9545. 10. http://gcc.gnu.org/gcc-3.3/changes.html
  9546. 11. http://gcc.gnu.org/gcc-3.3/buildstat.html
  9547. 12. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  9548. 13. http://gcc.gnu.org/index.html
  9549. 14. mailto:gcc@gcc.gnu.org
  9550. 15. http://gcc.gnu.org/mirrors.html
  9551. 16. https://gcc.gnu.org/onlinedocs/
  9552. 17. mailto:gcc-help@gcc.gnu.org
  9553. 18. mailto:gcc@gcc.gnu.org
  9554. 19. https://gcc.gnu.org/lists.html
  9555. 20. http://www.fsf.org/
  9556. 21. https://gcc.gnu.org/about.html
  9557. 22. http://validator.w3.org/check/referer
  9558. ======================================================================
  9559. http://gcc.gnu.org/gcc-3.3/changes.html
  9560. GCC 3.3 Release Series
  9561. Changes, New Features, and Fixes
  9562. The latest release in the 3.3 release series is [1]GCC 3.3.6.
  9563. Caveats
  9564. * The preprocessor no longer accepts multi-line string literals. They
  9565. were deprecated in 3.0, 3.1, and 3.2.
  9566. * The preprocessor no longer supports the -A- switch when appearing
  9567. alone. -A- followed by an assertion is still supported.
  9568. * Support for all the systems [2]obsoleted in GCC 3.1 has been
  9569. removed from GCC 3.3. See below for a [3]list of systems which are
  9570. obsoleted in this release.
  9571. * Checking for null format arguments has been decoupled from the rest
  9572. of the format checking mechanism. Programs which use the format
  9573. attribute may regain this functionality by using the new [4]nonnull
  9574. function attribute. Note that all functions for which GCC has a
  9575. built-in format attribute, an appropriate built-in nonnull
  9576. attribute is also applied.
  9577. * The DWARF (version 1) debugging format has been deprecated and will
  9578. be removed in a future version of GCC. Version 2 of the DWARF
  9579. debugging format will continue to be supported for the foreseeable
  9580. future.
  9581. * The C and Objective-C compilers no longer accept the "Naming Types"
  9582. extension (typedef foo = bar); it was already unavailable in C++.
  9583. Code which uses it will need to be changed to use the "typeof"
  9584. extension instead: typedef typeof(bar) foo. (We have removed this
  9585. extension without a period of deprecation because it has caused the
  9586. compiler to crash since version 3.0 and no one noticed until very
  9587. recently. Thus we conclude it is not in widespread use.)
  9588. * The -traditional C compiler option has been removed. It was
  9589. deprecated in 3.1 and 3.2. (Traditional preprocessing remains
  9590. available.) The <varargs.h> header, used for writing variadic
  9591. functions in traditional C, still exists but will produce an error
  9592. message if used.
  9593. * GCC 3.3.1 automatically places zero-initialized variables in the
  9594. .bss section on some operating systems. Versions of GNU Emacs up to
  9595. (and including) 21.3 will not work correctly when using this
  9596. optimization; you can use -fno-zero-initialized-in-bss to disable
  9597. it.
  9598. General Optimizer Improvements
  9599. * A new scheme for accurately describing processor pipelines, the
  9600. [5]DFA scheduler, has been added.
  9601. * Pavel Nejedly, Charles University Prague, has contributed new file
  9602. format used by the edge coverage profiler (-fprofile-arcs).
  9603. The new format is robust and diagnoses common mistakes where
  9604. profiles from different versions (or compilations) of the program
  9605. are combined resulting in nonsensical profiles and slow code to
  9606. produced with profile feedback. Additionally this format allows
  9607. extra data to be gathered. Currently, overall statistics are
  9608. produced helping optimizers to identify hot spots of a program
  9609. globally replacing the old intra-procedural scheme and resulting in
  9610. better code. Note that the gcov tool from older GCC versions will
  9611. not be able to parse the profiles generated by GCC 3.3 and vice
  9612. versa.
  9613. * Jan Hubicka, SuSE Labs, has contributed a new superblock formation
  9614. pass enabled using -ftracer. This pass simplifies the control flow
  9615. of functions allowing other optimizations to do better job.
  9616. He also contributed the function reordering pass
  9617. (-freorder-functions) to optimize function placement using profile
  9618. feedback.
  9619. New Languages and Language specific improvements
  9620. C/ObjC/C++
  9621. * The preprocessor now accepts directives within macro arguments. It
  9622. processes them just as if they had not been within macro arguments.
  9623. * The separate ISO and traditional preprocessors have been completely
  9624. removed. The front end handles either type of preprocessed output
  9625. if necessary.
  9626. * In C99 mode preprocessor arithmetic is done in the precision of the
  9627. target's intmax_t, as required by that standard.
  9628. * The preprocessor can now copy comments inside macros to the output
  9629. file when the macro is expanded. This feature, enabled using the
  9630. -CC option, is intended for use by applications which place
  9631. metadata or directives inside comments, such as lint.
  9632. * The method of constructing the list of directories to be searched
  9633. for header files has been revised. If a directory named by a -I
  9634. option is a standard system include directory, the option is
  9635. ignored to ensure that the default search order for system
  9636. directories and the special treatment of system header files are
  9637. not defeated.
  9638. * A few more [6]ISO C99 features now work correctly.
  9639. * A new function attribute, nonnull, has been added which allows
  9640. pointer arguments to functions to be specified as requiring a
  9641. non-null value. The compiler currently uses this information to
  9642. issue a warning when it detects a null value passed in such an
  9643. argument slot.
  9644. * A new type attribute, may_alias, has been added. Accesses to
  9645. objects with types with this attribute are not subjected to
  9646. type-based alias analysis, but are instead assumed to be able to
  9647. alias any other type of objects, just like the char type.
  9648. C++
  9649. * Type based alias analysis has been implemented for C++ aggregate
  9650. types.
  9651. Objective-C
  9652. * Generate an error if Objective-C objects are passed by value in
  9653. function and method calls.
  9654. * When -Wselector is used, check the whole list of selectors at the
  9655. end of compilation, and emit a warning if a @selector() is not
  9656. known.
  9657. * Define __NEXT_RUNTIME__ when compiling for the NeXT runtime.
  9658. * No longer need to include objc/objc-class.h to compile self calls
  9659. in class methods (NeXT runtime only).
  9660. * New -Wundeclared-selector option.
  9661. * Removed selector bloating which was causing object files to be 10%
  9662. bigger on average (GNU runtime only).
  9663. * Using at run time @protocol() objects has been fixed in certain
  9664. situations (GNU runtime only).
  9665. * Type checking has been fixed and improved in many situations
  9666. involving protocols.
  9667. Java
  9668. * The java.sql and javax.sql packages now implement the JDBC 3.0 (JDK
  9669. 1.4) API.
  9670. * The JDK 1.4 assert facility has been implemented.
  9671. * The bytecode interpreter is now direct threaded and thus faster.
  9672. Fortran
  9673. * Fortran improvements are listed in [7]the Fortran documentation.
  9674. Ada
  9675. * Ada tasking now works with glibc 2.3.x threading libraries.
  9676. New Targets and Target Specific Improvements
  9677. * The following changes have been made to the HP-PA port:
  9678. + The port now defaults to scheduling for the PA8000 series of
  9679. processors.
  9680. + Scheduling support for the PA7300 processor has been added.
  9681. + The 32-bit port now supports weak symbols under HP-UX 11.
  9682. + The handling of initializers and finalizers has been improved
  9683. under HP-UX 11. The 64-bit port no longer uses collect2.
  9684. + Dwarf2 EH support has been added to the 32-bit GNU/Linux port.
  9685. + ABI fixes to correct the passing of small structures by value.
  9686. * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted to
  9687. use the DFA processor pipeline description.
  9688. * The following NetBSD configurations for the SuperH processor family
  9689. have been added:
  9690. + SH3, big-endian, sh-*-netbsdelf*
  9691. + SH3, little-endian, shle-*-netbsdelf*
  9692. + SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd*
  9693. + SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd*
  9694. + SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd*
  9695. + SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd*
  9696. * The following changes have been made to the IA-32/x86-64 port:
  9697. + SSE2 and 3dNOW! intrinsics are now supported.
  9698. + Support for thread local storage has been added to the IA-32
  9699. and x86-64 ports.
  9700. + The x86-64 port has been significantly improved.
  9701. * The following changes have been made to the MIPS port:
  9702. + All configurations now accept the -mabi switch. Note that you
  9703. will need appropriate multilibs for this option to work
  9704. properly.
  9705. + ELF configurations will always pass an ABI flag to the
  9706. assembler, except when the MIPS EABI is selected.
  9707. + -mabi=64 no longer selects MIPS IV code.
  9708. + The -mcpu option, which was deprecated in 3.1 and 3.2, has
  9709. been removed from this release.
  9710. + -march now changes the core ISA level. In previous releases,
  9711. it would change the use of processor-specific extensions, but
  9712. would leave the core ISA unchanged. For example, mips64-elf
  9713. -march=r8000 will now generate MIPS IV code.
  9714. + Under most configurations, -mipsN now acts as a synonym for
  9715. -march.
  9716. + There are some new preprocessor macros to describe the -march
  9717. and -mtune settings. See the documentation of those options
  9718. for details.
  9719. + Support for the NEC VR-Series processors has been added. This
  9720. includes the 54xx, 5500, and 41xx series.
  9721. + Support for the Sandcraft sr71k processor has been added.
  9722. * The following changes have been made to the S/390 port:
  9723. + Support to build the Java runtime libraries has been added.
  9724. Java is now enabled by default on s390-*-linux* and
  9725. s390x-*-linux* targets.
  9726. + Multilib support for the s390x-*-linux* target has been added;
  9727. this allows to build 31-bit binaries using the -m31 option.
  9728. + Support for thread local storage has been added.
  9729. + Inline assembler code may now use the 'Q' constraint to
  9730. specify memory operands without index register.
  9731. + Various platform-specific performance improvements have been
  9732. implemented; in particular, the compiler now uses the BRANCH
  9733. ON COUNT family of instructions and makes more frequent use of
  9734. the TEST UNDER MASK family of instructions.
  9735. * The following changes have been made to the PowerPC port:
  9736. + Support for IBM Power4 processor added.
  9737. + Support for Motorola e500 SPE added.
  9738. + Support for AIX 5.2 added.
  9739. + Function and Data sections now supported on AIX.
  9740. + Sibcall optimizations added.
  9741. * The support for H8 Tiny is added to the H8/300 port with -mn.
  9742. Obsolete Systems
  9743. Support for a number of older systems has been declared obsolete in GCC
  9744. 3.3. Unless there is activity to revive them, the next release of GCC
  9745. will have their sources permanently removed.
  9746. All configurations of the following processor architectures have been
  9747. declared obsolete:
  9748. * Matsushita MN10200, mn10200-*-*
  9749. * Motorola 88000, m88k-*-*
  9750. * IBM ROMP, romp-*-*
  9751. Also, some individual systems have been obsoleted:
  9752. * Alpha
  9753. + Interix, alpha*-*-interix*
  9754. + Linux libc1, alpha*-*-linux*libc1*
  9755. + Linux ECOFF, alpha*-*-linux*ecoff*
  9756. * ARM
  9757. + Generic a.out, arm*-*-aout*
  9758. + Conix, arm*-*-conix*
  9759. + "Old ABI," arm*-*-oabi
  9760. + StrongARM/COFF, strongarm-*-coff*
  9761. * HPPA (PA-RISC)
  9762. + Generic OSF, hppa1.0-*-osf*
  9763. + Generic BSD, hppa1.0-*-bsd*
  9764. + HP/UX versions 7, 8, and 9, hppa1.[01]-*-hpux[789]*
  9765. + HiUX, hppa*-*-hiux*
  9766. + Mach Lites, hppa*-*-lites*
  9767. * Intel 386 family
  9768. + Windows NT 3.x, i?86-*-win32
  9769. * MC68000 family
  9770. + HP systems, m68000-hp-bsd* and m68k-hp-bsd*
  9771. + Sun systems, m68000-sun-sunos*, m68k-sun-sunos*, and
  9772. m68k-sun-mach*
  9773. + AT&T systems, m68000-att-sysv*
  9774. + Atari systems, m68k-atari-sysv*
  9775. + Motorola systems, m68k-motorola-sysv*
  9776. + NCR systems, m68k-ncr-sysv*
  9777. + Plexus systems, m68k-plexus-sysv*
  9778. + Commodore systems, m68k-cbm-sysv*
  9779. + Citicorp TTI, m68k-tti-*
  9780. + Unos, m68k-crds-unos*
  9781. + Concurrent RTU, m68k-ccur-rtu*
  9782. + Linux a.out, m68k-*-linux*aout*
  9783. + Linux libc1, m68k-*-linux*libc1*
  9784. + pSOS, m68k-*-psos*
  9785. * MIPS
  9786. + Generic ECOFF, mips*-*-ecoff*
  9787. + SINIX, mips-sni-sysv4
  9788. + Orion RTEMS, mips64orion-*-rtems*
  9789. * National Semiconductor 32000
  9790. + OpenBSD, ns32k-*-openbsd*
  9791. * POWER (aka RS/6000) and PowerPC
  9792. + AIX versions 1, 2, and 3, rs6000-ibm-aix[123]*
  9793. + Bull BOSX, rs6000-bull-bosx
  9794. + Generic Mach, rs6000-*-mach*
  9795. + Generic SysV, powerpc*-*-sysv*
  9796. + Linux libc1, powerpc*-*-linux*libc1*
  9797. * Sun SPARC
  9798. + Generic a.out, sparc-*-aout*, sparclet-*-aout*,
  9799. sparclite-*-aout*, and sparc86x-*-aout*
  9800. + NetBSD a.out, sparc-*-netbsd*aout*
  9801. + Generic BSD, sparc-*-bsd*
  9802. + ChorusOS, sparc-*-chorusos*
  9803. + Linux a.out, sparc-*-linux*aout*
  9804. + Linux libc1, sparc-*-linux*libc1*
  9805. + LynxOS, sparc-*-lynxos*
  9806. + Solaris on HAL hardware, sparc-hal-solaris2*
  9807. + SunOS versions 3 and 4, sparc-*-sunos[34]*
  9808. * NEC V850
  9809. + RTEMS, v850-*-rtems*
  9810. * VAX
  9811. + VMS, vax-*-vms*
  9812. Documentation improvements
  9813. Other significant improvements
  9814. * Almost all front-end dependencies in the compiler have been
  9815. separated out into a set of language hooks. This should make adding
  9816. a new front end clearer and easier.
  9817. * One effect of removing the separate preprocessor is a small
  9818. increase in the robustness of the compiler in general, and the
  9819. maintainability of target descriptions. Previously target-specific
  9820. built-in macros and others, such as __FAST_MATH__, had to be
  9821. handled with so-called specs that were hard to maintain. Often they
  9822. would fail to behave properly when conflicting options were
  9823. supplied on the command line, and define macros in the user's
  9824. namespace even when strict ISO compliance was requested.
  9825. Integrating the preprocessor has cleanly solved these issues.
  9826. * The Makefile suite now supports redirection of make install by
  9827. means of the variable DESTDIR.
  9828. __________________________________________________________________
  9829. GCC 3.3
  9830. Detailed release notes for the GCC 3.3 release follow.
  9831. Bug Fixes
  9832. bootstrap failures
  9833. * [8]10140 cross compiler build failures: missing __mempcpy (DUP:
  9834. [9]10198,[10]10338)
  9835. Internal compiler errors (multi-platform)
  9836. * [11]3581 large string causes segmentation fault in cc1
  9837. * [12]4382 __builtin_{set,long}jmp with -O3 can crash the compiler
  9838. * [13]5533 (c++) ICE when processing std::accumulate(begin, end,
  9839. init, invalid_op)
  9840. * [14]6387 -fpic -gdwarf-2 -g1 combination gives ICE in dwarf2out
  9841. * [15]6412 (c++) ICE in retrieve_specialization
  9842. * [16]6620 (c++) partial template specialization causes an ICE
  9843. (segmentation fault)
  9844. * [17]6663 (c++) ICE with attribute aligned
  9845. * [18]7068 ICE with incomplete types
  9846. * [19]7083 (c++) ICE using -gstabs with dodgy class derivation
  9847. * [20]7647 (c++) ICE when data member has the name of the enclosing
  9848. class
  9849. * [21]7675 ICE in fixup_var_refs_1
  9850. * [22]7718 'complex' template instantiation causes ICE
  9851. * [23]8116 (c++) ICE in member template function
  9852. * [24]8358 (ada) Ada compiler accesses freed memory, crashes
  9853. * [25]8511 (c++) ICE: (hopefully) reproducible cc1plus segmentation
  9854. fault
  9855. * [26]8564 (c++) ICE in find_function_data, in function.c
  9856. * [27]8660 (c++) template overloading ICE in tsubst_expr, in cp/pt.c
  9857. * [28]8766 (c++) ICE after failed initialization of static template
  9858. variable
  9859. * [29]8803 ICE in instantiate_virtual_regs_1, in function.c
  9860. * [30]8846 (c++) ICE after diagnostic if fr_FR@euro locale is set
  9861. * [31]8906 (c++) ICE (Segmentation fault) when parsing nested-class
  9862. definition
  9863. * [32]9216 (c++) ICE on missing template parameter
  9864. * [33]9261 (c++) ICE in arg_assoc, in cp/decl2.c
  9865. * [34]9263 (fortran) ICE caused by invalid PARAMETER in implied DO
  9866. loop
  9867. * [35]9429 (c++) ICE in template instantiation with a pointered new
  9868. operator
  9869. * [36]9516 Internal error when using a big array
  9870. * [37]9600 (c++) ICE with typedefs in template class
  9871. * [38]9629 (c++) virtual inheritance segfault
  9872. * [39]9672 (c++) ICE: Error reporting routines re-entered
  9873. * [40]9749 (c++) ICE in write_expression on invalid function
  9874. prototype
  9875. * [41]9794 (fortran) ICE: floating point exception during constant
  9876. folding
  9877. * [42]9829 (c++) Missing colon in nested namespace usage causes ICE
  9878. * [43]9916 (c++) ICE with noreturn function in ?: statement
  9879. * [44]9936 ICE with local function and variable-length 2d array
  9880. * [45]10262 (c++) cc1plus crashes with large generated code
  9881. * [46]10278 (c++) ICE in parser for invalid code
  9882. * [47]10446 (c++) ICE on definition of nonexistent member function of
  9883. nested class in a class template
  9884. * [48]10451 (c++) ICE in grokdeclarator on spurious mutable
  9885. declaration
  9886. * [49]10506 (c++) ICE in build_new at cp/init.c with
  9887. -fkeep-inline-functions and multiple inheritance
  9888. * [50]10549 (c++) ICE in store_bit_field on bitfields that exceed the
  9889. precision of the declared type
  9890. Optimization bugs
  9891. * [51]2001 Inordinately long compile times in reload CSE regs
  9892. * [52]2391 Exponential compilation time explosion in combine
  9893. * [53]2960 Duplicate loop conditions even with -Os
  9894. * [54]4046 redundant conditional branch
  9895. * [55]6405 Loop-unrolling related performance regressions
  9896. * [56]6798 very long compile time with large case-statement
  9897. * [57]6871 const objects shouldn't be moved to .bss
  9898. * [58]6909 problem w/ -Os on modified loop-2c.c test case
  9899. * [59]7189 gcc -O2 -Wall does not print ``control reaches end of
  9900. non-void function'' warning
  9901. * [60]7642 optimization problem with signbit()
  9902. * [61]8634 incorrect code for inlining of memcpy under -O2
  9903. * [62]8750 Cygwin prolog generation erroneously emitting __alloca as
  9904. regular function call
  9905. C front end
  9906. * [63]2161 long if-else cascade overflows parser stack
  9907. * [64]4319 short accepted on typedef'd char
  9908. * [65]8602 incorrect line numbers in warning messages when using
  9909. inline functions
  9910. * [66]9177 -fdump-translation-unit: C front end deletes function_decl
  9911. AST nodes and breaks debugging dumps
  9912. * [67]9853 miscompilation of non-constant structure initializer
  9913. c++ compiler and library
  9914. * [68]45 legal template specialization code is rejected (DUP:
  9915. [69]3784)
  9916. * [70]764 lookup failure: friend operator and dereferencing a pointer
  9917. and templates (DUP: [71]5116)
  9918. * [72]2862 gcc accepts invalid explicit instantiation syntax (DUP:
  9919. 2863)
  9920. * [73]3663 G++ doesn't check access control during template
  9921. instantiation
  9922. * [74]3797 gcc fails to emit explicit specialization of a template
  9923. member
  9924. * [75]3948 Two destructors are called when no copy destructor is
  9925. defined (ABI change)
  9926. * [76]4137 Conversion operator within template is not accepted
  9927. * [77]4361 bogus ambiguity taking the address of a member template
  9928. * [78]4802 g++ accepts illegal template code (access to private
  9929. member; DUP: [79]5837)
  9930. * [80]4803 inline function is used but never defined, and g++ does
  9931. not object
  9932. * [81]5094 Partial specialization cannot be friend?
  9933. * [82]5730 complex<double>::norm() -- huge slowdown from egcs-2.91.66
  9934. * [83]6713 Regression wrt 3.0.4: g++ -O2 leads to seg fault at run
  9935. time
  9936. * [84]7015 certain __asm__ constructs rejected
  9937. * [85]7086 compile time regression (quadratic behavior in
  9938. fixup_var_refs)
  9939. * [86]7099 G++ doesn't set the noreturn attribute on std::exit and
  9940. std::abort
  9941. * [87]7247 copy constructor missing when inlining enabled (invalid
  9942. optimization?)
  9943. * [88]7441 string array initialization compilation time regression
  9944. from seconds to minutes
  9945. * [89]7768 __PRETTY_FUNCTION__ for template destructor is wrong
  9946. * [90]7804 bad printing of floating point constant in warning message
  9947. * [91]8099 Friend classes and template specializations
  9948. * [92]8117 member function pointers and multiple inheritance
  9949. * [93]8205 using declaration and multiple inheritance
  9950. * [94]8645 unnecessary non-zero checks in stl_tree.h
  9951. * [95]8724 explicit destructor call for incomplete class allowed
  9952. * [96]8805 compile time regression with many member variables
  9953. * [97]8691 -O3 and -fno-implicit-templates are incompatible
  9954. * [98]8700 unhelpful error message for binding temp to reference
  9955. * [99]8724 explicit destructor call for incomplete class allowed
  9956. * [100]8949 numeric_limits<>::denorm_min() and is_iec559 problems
  9957. * [101]9016 Failure to consistently constant fold "constant" C++
  9958. objects
  9959. * [102]9053 g++ confused about ambiguity of overloaded function
  9960. templates
  9961. * [103]9152 undefined virtual thunks
  9962. * [104]9182 basic_filebuf<> does not report errors in codecvt<>::out
  9963. * [105]9297 data corruption due to codegen bug (when copying.)
  9964. * [106]9318 i/ostream::operator>>/<<(streambuf*) broken
  9965. * [107]9320 Incorrect usage of traits_type::int_type in stdio_filebuf
  9966. * [108]9400 bogus -Wshadow warning: shadowed declaration of this in
  9967. local classes
  9968. * [109]9424 i/ostream::operator>>/<<(streambuf*) drops characters
  9969. * [110]9425 filebuf::pbackfail broken (DUP: [111]9439)
  9970. * [112]9474 GCC freezes in compiling a weird code mixing <iostream>
  9971. and <iostream.h>
  9972. * [113]9548 Incorrect results from setf(ios::fixed) and precision(-1)
  9973. [114][DR 231]
  9974. * [115]9555 ostream inserters fail to set badbit on exception
  9975. * [116]9561 ostream inserters rethrow exception of wrong type
  9976. * [117]9563 ostream::sentry returns true after a failed preparation
  9977. * [118]9582 one-definition rule violation in std::allocator
  9978. * [119]9622 __PRETTY_FUNCTION__ incorrect in template destructors
  9979. * [120]9683 bug in initialization chains for static const variables
  9980. from template classes
  9981. * [121]9791 -Woverloaded-virtual reports hiding of destructor
  9982. * [122]9817 collate::compare doesn't handle nul characters
  9983. * [123]9825 filebuf::sputbackc breaks sbumpc
  9984. * [124]9826 operator>>(basic_istream, basic_string) fails to compile
  9985. with custom traits
  9986. * [125]9924 Multiple using statements for builtin functions not
  9987. allowed
  9988. * [126]9946 destructor is not called for temporary object
  9989. * [127]9964 filebuf::close() sometimes fails to close file
  9990. * [128]9988 filebuf::overflow writes EOF to file
  9991. * [129]10033 optimization breaks polymorphic references w/ typeid
  9992. operator
  9993. * [130]10097 filebuf::underflow drops characters
  9994. * [131]10132 filebuf destructor can throw exceptions
  9995. * [132]10180 gcc fails to warn about non-inlined function
  9996. * [133]10199 method parametrized by template does not work everywhere
  9997. * [134]10300 use of array-new (nothrow) in segfaults on NULL return
  9998. * [135]10427 Stack corruption with variable-length automatic arrays
  9999. and virtual destructors
  10000. * [136]10503 Compilation never stops in fixed_type_or_null
  10001. Objective-C
  10002. * [137]5956 selectors aren't matched properly when added to the
  10003. selector table
  10004. Fortran compiler and library
  10005. * [138]1832 list directed i/o overflow hangs, -fbounds-check doesn't
  10006. detect
  10007. * [139]3924 g77 generates code that is rejected by GAS if COFF debug
  10008. info requested
  10009. * [140]5634 doc: explain that configure --prefix=~/... does not work
  10010. * [141]6367 multiple repeat counts confuse namelist read into array
  10011. * [142]6491 Logical operations error on logicals when using
  10012. -fugly-logint
  10013. * [143]6742 Generation of C++ Prototype for FORTRAN and extern "C"
  10014. * [144]7113 Failure of g77.f-torture/execute/f90-intrinsic-bit.f -Os
  10015. on irix6.5
  10016. * [145]7236 OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' should
  10017. assume a direct access file
  10018. * [146]7278 g77 "bug"; the executable misbehaves (with -O2
  10019. -fno-automatic)
  10020. * [147]7384 DATE_AND_TIME milliseconds field inactive on Windows
  10021. * [148]7388 Incorrect output with 0-based array of characters
  10022. * [149]8587 Double complex zero ** double precision number -> NaN
  10023. instead of zero
  10024. * [150]9038 -ffixed-line-length-none -x f77-cpp-input gives: Warning:
  10025. unknown register name line-length-none
  10026. * [151]10197 Direct access files not unformatted by default
  10027. Java compiler and library
  10028. * [152]6005 gcj fails to build rhug on alpha
  10029. * [153]6389 System.getProperty("") should always throw an
  10030. IllegalArgumentException
  10031. * [154]6576 java.util.ResourceBundle.getResource ignores locale
  10032. * [155]6652 new java.io.File("").getCanonicalFile() throws exception
  10033. * [156]7060 getMethod() doesn't search super interface
  10034. * [157]7073 bytecode interpreter gives wrong answer for interface
  10035. getSuperclass()
  10036. * [158]7180 possible bug in
  10037. javax.naming.spi.NamingManager.getPlusPath()
  10038. * [159]7416 java.security startup refs "GNU libgcj.security"
  10039. * [160]7570 Runtime.exec with null envp: child doesn't inherit parent
  10040. env (DUP: [161]7578)
  10041. * [162]7611 Internal error while compiling libjava with -O
  10042. * [163]7709 NullPointerException in _Jv_ResolvePoolEntry
  10043. * [164]7766 ZipInputStream.available returns 0 immediately after
  10044. construction
  10045. * [165]7785 Calendar.getTimeInMillis/setTimeInMillis should be public
  10046. * [166]7786 TimeZone.getDSTSavings() from JDK1.4 not implemented
  10047. * [167]8142 '$' in class names vs. dlopen 'dynamic string tokens'
  10048. * [168]8234 ZipInputStream chokes when InputStream.read() returns
  10049. small chunks
  10050. * [169]8415 reflection bug: exception info for Method
  10051. * [170]8481 java.Random.nextInt(int) may return negative
  10052. * [171]8593 Error reading GZIPped files with BufferedReader
  10053. * [172]8759 java.beans.Introspector has no flushCaches() or
  10054. flushFromCaches() methods
  10055. * [173]8997 spin() calls Thread.sleep
  10056. * [174]9253 on win32, java.io.File.listFiles("C:\\") returns pwd
  10057. instead of the root content of C:
  10058. * [175]9254 java::lang::Object::wait(), threads-win32.cc returns
  10059. wrong return codes
  10060. * [176]9271 Severe bias in java.security.SecureRandom
  10061. Ada compiler and library
  10062. * [177]6767 make gnatlib-shared fails on -laddr2line
  10063. * [178]9911 gnatmake fails to link when GCC configured with
  10064. --with-sjlj-exceptions=yes
  10065. * [179]10020 Can't bootstrap gcc on AIX with Ada enabled
  10066. * [180]10546 Ada tasking not working on Red Hat 9
  10067. preprocessor
  10068. * [181]7029 preprocessor should ignore #warning with -M
  10069. ARM-specific
  10070. * [182]2903 [arm] Optimization bug with long long arithmetic
  10071. * [183]7873 arm-linux-gcc fails when assigning address to a bit field
  10072. FreeBSD-specific
  10073. * [184]7680 float functions undefined in math.h/cmath with #define
  10074. _XOPEN_SOURCE
  10075. HP-UX or HP-PA-specific
  10076. * [185]8705 [HP-PA] ICE in emit_move_insn_1, in expr.c
  10077. * [186]9986 [HP-UX] Incorrect transformation of fputs_unlocked to
  10078. fputc_unlocked
  10079. * [187]10056 [HP-PA] ICE at -O2 when building c++ code from doxygen
  10080. m68hc11-specific
  10081. * [188]6744 Bad assembler code generated: reference to pseudo
  10082. register z
  10083. * [189]7361 Internal compiler error in reload_cse_simplify_operands,
  10084. in reload1.c
  10085. MIPS-specific
  10086. * [190]9496 [mips-linux] bug in optimizer?
  10087. PowerPC-specific
  10088. * [191]7067 -Os with -mcpu=powerpc optimizes for speed (?) instead of
  10089. space
  10090. * [192]8480 reload ICEs for LAPACK code on powerpc64-linux
  10091. * [193]8784 [AIX] Internal compiler error in simplify_gen_subreg
  10092. * [194]10315 [powerpc] ICE: in extract_insn, in recog.c
  10093. SPARC-specific
  10094. * [195]10267 (documentation) Wrong build instructions for
  10095. *-*-solaris2*
  10096. x86-specific (Intel/AMD)
  10097. * [196]7916 ICE in instantiate_virtual_register_1
  10098. * [197]7926 (c++) i486 instructions in header files make c++ programs
  10099. crash on i386
  10100. * [198]8555 ICE in gen_split_1231
  10101. * [199]8994 ICE with -O -march=pentium4
  10102. * [200]9426 ICE with -fssa -funroll-loops -fprofile-arcs
  10103. * [201]9806 ICE in inline assembly with -fPIC flag
  10104. * [202]10077 gcc -msse2 generates movd to move dwords between xmm
  10105. regs
  10106. * [203]10233 64-bit comparison only comparing bottom 32-bits
  10107. * [204]10286 type-punning doesn't work with __m64 and -O
  10108. * [205]10308 [x86] ICE with -O -fgcse or -O2
  10109. __________________________________________________________________
  10110. GCC 3.3.1
  10111. Bug Fixes
  10112. This section lists the problem reports (PRs) from GCC's bug tracking
  10113. system that are known to be fixed in the 3.3.1 release. This list might
  10114. not be complete (that is, it is possible that some PRs that have been
  10115. fixed are not listed here).
  10116. Bootstrap failures
  10117. * [206]11272 [Solaris] make bootstrap fails while building libstdc++
  10118. Internal compiler errors (multi-platform)
  10119. * [207]5754 ICE on invalid nested template class
  10120. * [208]6597 ICE in set_mem_alias_set compiling Qt with -O2 on ia64
  10121. and --enable-checking
  10122. * [209]6949 (c++) ICE in tsubst_decl, in cp/pt.c
  10123. * [210]7053 (c++) ICE when declaring a function already defined as a
  10124. friend method of a template class
  10125. * [211]8164 (c++) ICE when using different const expressions as
  10126. template parameter
  10127. * [212]8384 (c++) ICE in is_base_type, in dwarf2out.c
  10128. * [213]9559 (c++) ICE with invalid initialization of a static const
  10129. * [214]9649 (c++) ICE in finish_member_declaration, in cp/semantics.c
  10130. when redeclaring a static member variable
  10131. * [215]9864 (fortran) ICE in add_abstract_origin_attribute, in
  10132. dwarfout.c with -g -O -finline-functions
  10133. * [216]10432 (c++) ICE in poplevel, in cp/decl.c
  10134. * [217]10475 ICE in subreg_highpart_offset for code with long long
  10135. * [218]10635 (c++) ICE when dereferencing an incomplete type casted
  10136. from a void pointer
  10137. * [219]10661 (c++) ICE in instantiate_decl, in cp/pt.c while
  10138. instantiating static member variables
  10139. * [220]10700 ICE in copy_to_mode_reg on 64-bit targets
  10140. * [221]10712 (c++) ICE in constructor_name_full, in cp/decl2.c
  10141. * [222]10796 (c++) ICE when defining an enum with two values: -1 and
  10142. MAX_INT_64BIT
  10143. * [223]10890 ICE in merge_assigned_reloads building Linux 2.4.2x
  10144. sched.c
  10145. * [224]10939 (c++) ICE with template code
  10146. * [225]10956 (c++) ICE when specializing a template member function
  10147. of a template class, in tsubst, in cp/pt.c
  10148. * [226]11041 (c++) ICE: const myclass &x = *x; (when operator*()
  10149. defined)
  10150. * [227]11059 (c++) ICE with empty union
  10151. * [228]11083 (c++) ICE in commit_one_edge_insertion, in cfgrtl.c with
  10152. -O2 -fnon-call-exceptions
  10153. * [229]11105 (c++) ICE in mangle_conv_op_name_for_type
  10154. * [230]11149 (c++) ICE on error when instantiation with call function
  10155. of a base type
  10156. * [231]11228 (c++) ICE on new-expression using array operator new and
  10157. default-initialization
  10158. * [232]11282 (c++) Infinite memory usage after syntax error
  10159. * [233]11301 (fortran) ICE with -fno-globals
  10160. * [234]11308 (c++) ICE when using an enum type name as if it were a
  10161. class or namespace
  10162. * [235]11473 (c++) ICE with -gstabs when empty struct inherits from
  10163. an empty struct
  10164. * [236]11503 (c++) ICE when instantiating template with ADDR_EXPR
  10165. * [237]11513 (c++) ICE in push_template_decl_real, in cp/pt.c:
  10166. template member functions
  10167. Optimization bugs
  10168. * [238]11198 -O2 -frename-registers generates wrong code (aliasing
  10169. problem)
  10170. * [239]11304 Wrong code production with -fomit-frame-pointer
  10171. * [240]11381 volatile memory access optimized away
  10172. * [241]11536 [strength-reduce] -O2 optimization produces wrong code
  10173. * [242]11557 constant folding bug generates wrong code
  10174. C front end
  10175. * [243]5897 No warning for statement after return
  10176. * [244]11279 DWARF-2 output mishandles large enums
  10177. Preprocessor bugs
  10178. * [245]11022 no warning for non-compatible macro redefinition
  10179. C++ compiler and library
  10180. * [246]2330 static_cast<>() to a private base is allowed
  10181. * [247]5388 Incorrect message "operands to ?: have different types"
  10182. * [248]5390 Libiberty fails to demangle multi-digit template
  10183. parameters
  10184. * [249]7877 Incorrect parameter passing to specializations of member
  10185. function templates
  10186. * [250]9393 Anonymous namespaces and compiling the same file twice
  10187. * [251]10032 -pedantic converts some errors to warnings
  10188. * [252]10468 const typeof(x) is non-const, but only in templates
  10189. * [253]10527 confused error message with "new int()" parameter
  10190. initializer
  10191. * [254]10679 parameter MIN_INLINE_INSNS is not honored
  10192. * [255]10682 gcc chokes on a typedef for an enum inside a class
  10193. template
  10194. * [256]10689 pow(std::complex(0),1/3) returns (nan, nan) instead of
  10195. 0.
  10196. * [257]10845 template member function (with nested template as
  10197. parameter) cannot be called anymore if another unrelated template
  10198. member function is defined
  10199. * [258]10849 Cannot define an out-of-class specialization of a
  10200. private nested template class
  10201. * [259]10888 Suppress -Winline warnings for system headers
  10202. * [260]10929 -Winline warns about functions for which no definition
  10203. is visible
  10204. * [261]10931 valid conversion static_cast<const unsigned
  10205. int&>(lvalue-of-type-int) is rejected
  10206. * [262]10940 Bad code with explicit specialization
  10207. * [263]10968 If member function implicitly instantiated, explicit
  10208. instantiation of class fails to instantiate it
  10209. * [264]10990 Cannot convert with dynamic_cast<> to a private base
  10210. class from within a member function
  10211. * [265]11039 Bad interaction between implicit typename deprecation
  10212. and friendship
  10213. * [266]11062 (libstdc++) avoid __attribute__ ((unused)); say
  10214. "__unused__" instead
  10215. * [267]11095 C++ iostream manipulator causes segfault when called
  10216. with negative argument
  10217. * [268]11098 g++ doesn't emit complete debugging information for
  10218. local variables in destructors
  10219. * [269]11137 GNU/Linux shared library constructors not called unless
  10220. there's one global object
  10221. * [270]11154 spurious ambiguity report for template class
  10222. specialization
  10223. * [271]11329 Compiler cannot find user defined implicit typecast
  10224. * [272]11332 Spurious error with casts in ?: expression
  10225. * [273]11431 static_cast behavior with subclasses when default
  10226. constructor available
  10227. * [274]11528 money_get facet does not accept "$.00" as valid
  10228. * [275]11546 Type lookup problems in out-of-line definition of a
  10229. class doubly nested from a template class
  10230. * [276]11567 C++ code containing templated member function with same
  10231. name as pure virtual member function results in linking failure
  10232. * [277]11645 Failure to deal with using and private inheritance
  10233. Java compiler and library
  10234. * [278]5179 Qualified static field access doesn't initialize its
  10235. class
  10236. * [279]8204 gcj -O2 to native reorders certain instructions
  10237. improperly
  10238. * [280]10838 java.io.ObjectInputStream syntax error
  10239. * [281]10886 The RMI registry that comes with GCJ does not work
  10240. correctly
  10241. * [282]11349 JNDI URL context factories not located correctly
  10242. x86-specific (Intel/AMD)
  10243. * [283]4823 ICE on inline assembly code
  10244. * [284]8878 miscompilation with -O and SSE
  10245. * [285]9815 (c++ library) atomicity.h - fails to compile with -O3
  10246. -masm=intel
  10247. * [286]10402 (inline assembly) [x86] ICE in merge_assigned_reloads,
  10248. in reload1.c
  10249. * [287]10504 ICE with SSE2 code and -O3 -mcpu=pentium4 -msse2
  10250. * [288]10673 ICE for x86-64 on freebsd libc vfprintf.c source
  10251. * [289]11044 [x86] out of range loop instructions for FP code on K6
  10252. * [290]11089 ICE: instantiate_virtual_regs_lossage while using SSE
  10253. built-ins
  10254. * [291]11420 [x86_64] gcc generates invalid asm code when "-O -fPIC"
  10255. is used
  10256. SPARC- or Solaris- specific
  10257. * [292]9362 solaris 'as' dies when fed .s and "-gstabs"
  10258. * [293]10142 [SPARC64] gcc produces wrong code when passing
  10259. structures by value
  10260. * [294]10663 New configure check aborts with Sun tools.
  10261. * [295]10835 combinatorial explosion in scheduler on HyperSPARC
  10262. * [296]10876 ICE in calculate_giv_inc when building KDE
  10263. * [297]10955 wrong code at -O3 for structure argument in context of
  10264. structure return
  10265. * [298]11018 -mcpu=ultrasparc busts tar-1.13.25
  10266. * [299]11556 [sparc64] ICE in gen_reg_rtx() while compiling 2.6.x
  10267. Linux kernel
  10268. ia64 specific
  10269. * [300]10907 gcc violates the ia64 ABI (GP must be preserved)
  10270. * [301]11320 scheduler bug (in machine depended reorganization pass)
  10271. * [302]11599 bug with conditional and __builtin_prefetch
  10272. PowerPC specific
  10273. * [303]9745 [powerpc] gcc mis-compiles libmcrypt (alias problem
  10274. during loop)
  10275. * [304]10871 error in rs6000_stack_info save_size computation
  10276. * [305]11440 gcc mis-compiles c++ code (libkhtml) with -O2, -fno-gcse
  10277. cures it
  10278. m68k-specific
  10279. * [306]7594 [m68k] ICE on legal code associated with simplify-rtx
  10280. * [307]10557 [m68k] ICE in subreg_offset_representable_p
  10281. * [308]11054 [m68k] ICE in reg_overlap_mentioned_p
  10282. ARM-specific
  10283. * [309]10834 [arm] GCC 3.3 still generates incorrect instructions for
  10284. functions with __attribute__ ((interrupt ("IRQ")))
  10285. * [310]10842 [arm] Clobbered link register is copied to pc under
  10286. certain circumstances
  10287. * [311]11052 [arm] noce_process_if_block() can lose REG_INC notes
  10288. * [312]11183 [arm] ICE in change_address_1 (3.3) / subreg_hard_regno
  10289. (3.4)
  10290. MIPS-specific
  10291. * [313]11084 ICE in propagate_one_insn, in flow.c
  10292. SH-specific
  10293. * [314]10331 can't compile c++ part of gcc cross compiler for sh-elf
  10294. * [315]10413 [SH] ICE in reload_cse_simplify_operands, in reload1.c
  10295. * [316]11096 i686-linux to sh-linux cross compiler fails to compile
  10296. C++ files
  10297. GNU/Linux (or Hurd?) specific
  10298. * [317]2873 Bogus fixinclude of stdio.h from glibc 2.2.3
  10299. UnixWare specific
  10300. * [318]3163 configure bug: gcc/aclocal.m4 mmap test fails on UnixWare
  10301. 7.1.1
  10302. Cygwin (or mingw) specific
  10303. * [319]5287 ICE with dllimport attribute
  10304. * [320]10148 [MingW/CygWin] Compiler dumps core
  10305. DJGPP specific
  10306. * [321]8787 GCC fails to emit .intel_syntax when invoked with
  10307. -masm=intel on DJGPP
  10308. Darwin (and MacOS X) specific
  10309. * [322]10900 trampolines crash
  10310. Documentation
  10311. * [323]1607 (c++) Format attributes on methods undocumented
  10312. * [324]4252 Invalid option `-fdump-translation-unit'
  10313. * [325]4490 Clarify restrictions on -m96bit-long-double,
  10314. -m128bit-long-double
  10315. * [326]10355 document an issue with regparm attribute on some systems
  10316. (e.g. Solaris)
  10317. * [327]10726 (fortran) Documentation for function "IDate Intrinsic
  10318. (Unix)" is wrong
  10319. * [328]10805 document bug in old version of Sun assembler
  10320. * [329]10815 warn against GNU binutils on AIX
  10321. * [330]10877 document need for newer binutils on i?86-*-linux-gnu
  10322. * [331]11280 Manual incorrect with respect to -freorder-blocks
  10323. * [332]11466 Document -mlittle-endian and its restrictions for the
  10324. sparc64 port
  10325. Testsuite bugs (compiler itself is not affected)
  10326. * [333]10737 newer bison causes g++.dg/parse/crash2.C to incorrectly
  10327. report failure
  10328. * [334]10810 gcc-3.3 fails make check: buffer overrun in
  10329. test_demangle.c
  10330. __________________________________________________________________
  10331. GCC 3.3.2
  10332. Bug Fixes
  10333. This section lists the problem reports (PRs) from GCC's bug tracker
  10334. that are known to be fixed in the 3.3.2 release. This list might not be
  10335. complete (that is, it is possible that some PRs that have been fixed
  10336. are not listed here).
  10337. Bootstrap failures and problems
  10338. * [335]8336 [SCO5] bootstrap config still tries to use COFF options
  10339. * [336]9330 [alpha-osf] Bootstrap failure on Compaq Tru64 with
  10340. --enable-threads=posix
  10341. * [337]9631 [hppa64-linux] gcc-3.3 fails to bootstrap
  10342. * [338]9877 fixincludes makes a bad sys/byteorder.h on svr5 (UnixWare
  10343. 7.1.1)
  10344. * [339]11687 xstormy16-elf build fails in libf2c
  10345. * [340]12263 [SGI IRIX] bootstrap fails during compile of
  10346. libf2c/libI77/backspace.c
  10347. * [341]12490 buffer overflow in scan-decls.c (during Solaris 9
  10348. fix-header processing)
  10349. Internal compiler errors (multi-platform)
  10350. * [342]7277 Casting integers to vector types causes ICE
  10351. * [343]7939 (c++) ICE on invalid function template specialization
  10352. * [344]11063 (c++) ICE on parsing initialization list of const array
  10353. member
  10354. * [345]11207 ICE with negative index in array element designator
  10355. * [346]11522 (fortran) g77 dwarf-2 ICE in
  10356. add_abstract_origin_attribute
  10357. * [347]11595 (c++) ICE on duplicate label definition
  10358. * [348]11646 (c++) ICE in commit_one_edge_insertion with
  10359. -fnon-call-exceptions -fgcse -O
  10360. * [349]11665 ICE in struct initializer when taking address
  10361. * [350]11852 (c++) ICE with bad struct initializer.
  10362. * [351]11878 (c++) ICE in cp_expr_size
  10363. * [352]11883 ICE with any -O on mercury-generated C code
  10364. * [353]11991 (c++) ICE in cxx_incomplete_type_diagnostic, in
  10365. cp/typeck2.c when applying typeid operator to template template
  10366. parameter
  10367. * [354]12146 ICE in lookup_template_function, in cp/pt.c
  10368. * [355]12215 ICE in make_label_edge with -fnon-call-exceptions
  10369. -fno-gcse -O2
  10370. * [356]12369 (c++) ICE with templates and friends
  10371. * [357]12446 ICE in emit_move_insn on complicated array reference
  10372. * [358]12510 ICE in final_scan_insn
  10373. * [359]12544 ICE with large parameters used in nested functions
  10374. C and optimization bugs
  10375. * [360]9862 spurious warnings with -W -finline-functions
  10376. * [361]10962 lookup_field is a linear search on a linked list (can be
  10377. slow if large struct)
  10378. * [362]11370 -Wunreachable-code gives false complaints
  10379. * [363]11637 invalid assembly with -fnon-call-exceptions
  10380. * [364]11885 Problem with bitfields in packed structs
  10381. * [365]12082 Inappropriate unreachable code warnings
  10382. * [366]12180 Inline optimization fails for variadic function
  10383. * [367]12340 loop unroller + gcse produces wrong code
  10384. C++ compiler and library
  10385. * [368]3907 nested template parameter collides with member name
  10386. * [369]5293 confusing message when binding a temporary to a reference
  10387. * [370]5296 [DR115] Pointers to functions and to template functions
  10388. behave differently in deduction
  10389. * [371]7939 ICE on function template specialization
  10390. * [372]8656 Unable to assign function with __attribute__ and pointer
  10391. return type to an appropriate variable
  10392. * [373]10147 Confusing error message for invalid template function
  10393. argument
  10394. * [374]11400 std::search_n() makes assumptions about Size parameter
  10395. * [375]11409 issues with using declarations, overloading, and
  10396. built-in functions
  10397. * [376]11740 ctype<wchar_t>::do_is(mask, wchar_t) doesn't handle
  10398. multiple bits in mask
  10399. * [377]11786 operator() call on variable in other namespace not
  10400. recognized
  10401. * [378]11867 static_cast ignores ambiguity
  10402. * [379]11928 bug with conversion operators that are typedefs
  10403. * [380]12114 Uninitialized memory accessed in dtor
  10404. * [381]12163 static_cast + explicit constructor regression
  10405. * [382]12181 Wrong code with comma operator and c++
  10406. * [383]12236 regparm and fastcall messes up parameters
  10407. * [384]12266 incorrect instantiation of unneeded template during
  10408. overload resolution
  10409. * [385]12296 istream::peek() doesn't set eofbit
  10410. * [386]12298 [sjlj exceptions] Stack unwind destroys
  10411. not-yet-constructed object
  10412. * [387]12369 ICE with templates and friends
  10413. * [388]12337 apparently infinite loop in g++
  10414. * [389]12344 stdcall attribute ignored if function returns a pointer
  10415. * [390]12451 missing(late) class forward declaration in cxxabi.h
  10416. * [391]12486 g++ accepts invalid use of a qualified name
  10417. x86 specific (Intel/AMD)
  10418. * [392]8869 [x86 MMX] ICE with const variable optimization and MMX
  10419. builtins
  10420. * [393]9786 ICE in fixup_abnormal_edges with -fnon-call-exceptions
  10421. -O2
  10422. * [394]11689 g++3.3 emits un-assembleable code for k6 architecture
  10423. * [395]12116 [k6] Invalid assembly output values with X-MAME code
  10424. * [396]12070 ICE converting between double and long double with
  10425. -msoft-float
  10426. ia64-specific
  10427. * [397]11184 [ia64 hpux] ICE on __builtin_apply building libobjc
  10428. * [398]11535 __builtin_return_address may not work on ia64
  10429. * [399]11693 [ia64] ICE in gen_nop_type
  10430. * [400]12224 [ia64] Thread-local storage doesn't work
  10431. PowerPC-specific
  10432. * [401]11087 [powerpc64-linux] GCC miscompiles raid1.c from linux
  10433. kernel
  10434. * [402]11319 loop miscompiled on ppc32
  10435. * [403]11949 ICE Compiler segfault with ffmpeg -maltivec code
  10436. SPARC-specific
  10437. * [404]11662 wrong code for expr. with cast to long long and
  10438. exclusive or
  10439. * [405]11965 invalid assembler code for a shift < 32 operation
  10440. * [406]12301 (c++) stack corruption when a returned expression throws
  10441. an exception
  10442. Alpha-specific
  10443. * [407]11717 [alpha-linux] unrecognizable insn compiling for.c of
  10444. kernel 2.4.22-pre8
  10445. HPUX-specific
  10446. * [408]11313 problem with #pragma weak and static inline functions
  10447. * [409]11712 __STDC_EXT__ not defined for C++ by default anymore?
  10448. Solaris specific
  10449. * [410]12166 Profiled programs crash if PROFDIR is set
  10450. Solaris-x86 specific
  10451. * [411]12101 i386 Solaris no longer works with GNU as?
  10452. Miscellaneous embedded target-specific bugs
  10453. * [412]10988 [m32r-elf] wrong blockmove code with -O3
  10454. * [413]11805 [h8300-unknown-coff] [H8300] ICE for simple code with
  10455. -O2
  10456. * [414]11902 [sh4] spec file improperly inserts rpath even when none
  10457. needed
  10458. * [415]11903 [sh4] -pthread fails to link due to error in spec file
  10459. on sh4
  10460. __________________________________________________________________
  10461. GCC 3.3.3
  10462. Minor features
  10463. In addition to the bug fixes documented below, this release contains
  10464. few minor features such as:
  10465. * Support for --with-sysroot
  10466. * Support for automatic detection of executable stacks
  10467. * Support for SSE3 instructions
  10468. * Support for thread local storage debugging under GDB on S390
  10469. Bug Fixes
  10470. This section lists the problem reports (PRs) from GCC's bug tracker
  10471. that are known to be fixed in the 3.3.3 release. This list might not be
  10472. complete (that is, it is possible that some PRs that have been fixed
  10473. are not listed here).
  10474. Bootstrap failures and issues
  10475. * [416]11890 Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
  10476. * [417]12399 boehm-gc fails (when building a cross compiler): libtool
  10477. unable to infer tagged configuration
  10478. * [418]13068 mklibgcc.in doesn't handle multi-level multilib
  10479. subdirectories properly
  10480. Internal compiler errors (multi-platform)
  10481. * [419]10060 ICE (stack overflow) on huge file (300k lines) due to
  10482. recursive behaviour of copy_rtx_if_shared, in emit_rtl.c
  10483. * [420]10555 (c++) ICE on undefined template argument
  10484. * [421]10706 (c++) ICE in mangle_class_name_for_template
  10485. * [422]11496 (fortran) error in flow_loops_find when -funroll-loops
  10486. active
  10487. * [423]11741 ICE in pre_insert_copy_insn, in gcse.c
  10488. * [424]12440 GCC crashes during compilation of quicktime4linux 2.0.0
  10489. * [425]12632 (fortran) -fbounds-check ICE
  10490. * [426]12712 (c++) ICE on short legit C++ code fragment with gcc
  10491. 3.3.2
  10492. * [427]12726 (c++) ICE (segfault) on trivial code
  10493. * [428]12890 (c++) ICE on compilation of class with throwing method
  10494. * [429]12900 (c++) ICE in rtl_verify_flow_info_1
  10495. * [430]13060 (fortran) ICE in fixup_var_refs_1, in function.c on
  10496. correct code with -O2 -fno-force-mem
  10497. * [431]13289 (c++) ICE in regenerate_decl_from_template on recursive
  10498. template
  10499. * [432]13318 ICE: floating point exception in the loop optimizer
  10500. * [433]13392 (c++) ICE in convert_from_eh_region_ranges_1, in
  10501. except.c
  10502. * [434]13574 (c++) invalid array default initializer in class lets
  10503. gcc consume all memory and die
  10504. * [435]13475 ICE on SIMD variables with partial value initialization
  10505. * [436]13797 (c++) ICE on invalid template parameter
  10506. * [437]13824 (java) gcj SEGV with simple .java program
  10507. C and optimization bugs
  10508. * [438]8776 loop invariants are not removed (most likely)
  10509. * [439]10339 [sparc,ppc,ppc64] Invalid optimization: replacing
  10510. strncmp by memcmp
  10511. * [440]11350 undefined labels with -Os -fPIC
  10512. * [441]12826 Optimizer removes reference through volatile pointer
  10513. * [442]12500 stabs debug info: void no longer a predefined / builtin
  10514. type
  10515. * [443]12941 builtin-bitops-1.c miscompilation (latent bug)
  10516. * [444]12953 tree inliner bug (in inline_forbidden_p) and fix
  10517. * [445]13041 linux-2.6/sound/core/oss/rate.c miscompiled
  10518. * [446]13507 spurious printf format warning
  10519. * [447]13382 Type information for const pointer disappears during
  10520. optimization.
  10521. * [448]13394 noreturn attribute ignored on recursive invokation
  10522. * [449]13400 Compiled code crashes storing to read-only location
  10523. * [450]13521 Endless loop in calculate_global_regs_live
  10524. C++ compiler and library
  10525. Some of the bug fixes in this list were made to implement decisions
  10526. that the ISO C++ standards committee has made concerning several defect
  10527. reports (DRs). Links in the list below point to detailed discussion of
  10528. the relevant defect report.
  10529. * [451]2094 unimplemented: use of `ptrmem_cst' in template type
  10530. unification
  10531. * [452]2294 using declaration confusion
  10532. * [453]5050 template instantiation depth exceeds limit: recursion
  10533. problem?
  10534. * [454]9371 Bad exception handling in
  10535. i/ostream::operator>>/<<(streambuf*)
  10536. * [455]9546 bad exception handling in ostream members
  10537. * [456]10081 basic_ios::_M_cache_locale leaves NULL members in the
  10538. face of unknown locales
  10539. * [457]10093 [458][DR 61] Setting failbit in exceptions doesn't work
  10540. * [459]10095 istream::operator>>(int&) sets ios::badbit when
  10541. ios::failbit is set.
  10542. * [460]11554 Warning about reordering of initializers doesn't mention
  10543. location of constructor
  10544. * [461]12297 istream::sentry::sentry() handles eof() incorrectly.
  10545. * [462]12352 Exception safety problems in src/localename.cc
  10546. * [463]12438 Memory leak in locale::combine()
  10547. * [464]12540 Memory leak in locale::locale(const char*)
  10548. * [465]12594 DRs [466]60 [TC] and [467]63 [TC] not implemented
  10549. * [468]12657 Resolution of [469]DR 292 (WP) still unimplemented
  10550. * [470]12696 memory eating infinite loop in diagnostics (error
  10551. recovery problem)
  10552. * [471]12815 Code compiled with optimization behaves unexpectedly
  10553. * [472]12862 Conflicts between typedefs/enums and namespace member
  10554. declarations
  10555. * [473]12926 Wrong value after assignment in initialize list using
  10556. bit-fields
  10557. * [474]12967 Resolution of [475]DR 300 [WP] still unimplemented
  10558. * [476]12971 Resolution of [477]DR 328 [WP] still unimplemented
  10559. * [478]13007 basic_streambuf::pubimbue, imbue wrong
  10560. * [479]13009 Implicitly-defined assignment operator writes to wrong
  10561. memory
  10562. * [480]13057 regparm attribute not applied to destructor
  10563. * [481]13070 -Wformat option ignored in g++
  10564. * [482]13081 forward template declarations in <complex> let inlining
  10565. fail
  10566. * [483]13239 Assertion does not seem to work correctly anymore
  10567. * [484]13262 "xxx is private within this context" when initializing a
  10568. self-contained template class
  10569. * [485]13290 simple typo in concept checking for std::generate_n
  10570. * [486]13323 Template code does not compile in presence of typedef
  10571. * [487]13369 __verify_grouping (and __add_grouping?) not correct
  10572. * [488]13371 infinite loop with packed struct and inlining
  10573. * [489]13445 Template argument replacement "dereferences" a typedef
  10574. * [490]13461 Fails to access protected-ctor from public constant
  10575. * [491]13462 Non-standard-conforming type set::pointer
  10576. * [492]13478 gcc uses wrong constructor to initialize a const
  10577. reference
  10578. * [493]13544 "conflicting types" for enums in different scopes
  10579. * [494]13650 string::compare should not (always) use
  10580. traits_type::length()
  10581. * [495]13683 bogus warning about passing non-PODs through ellipsis
  10582. * [496]13688 Derived class is denied access to protected base class
  10583. member class
  10584. * [497]13774 Member variable cleared in virtual multiple inheritance
  10585. class
  10586. * [498]13884 Protect sstream.tcc from extern template use
  10587. Java compiler and library
  10588. * [499]10746 [win32] garbage collection crash in GCJ
  10589. Objective-C compiler and library
  10590. * [500]11433 Crash due to dereferencing null pointer when querying
  10591. protocol
  10592. Fortran compiler and library
  10593. * [501]12633 logical expression gives incorrect result with
  10594. -fugly-logint option
  10595. * [502]13037 [gcse-lm] g77 generates incorrect code
  10596. * [503]13213 Hex constant problem when compiling with -fugly-logint
  10597. and -ftypeless-boz
  10598. x86-specific (Intel/AMD)
  10599. * [504]4490 ICE with -m128bit-long-double
  10600. * [505]12292 [x86_64] ICE: RTL check: expected code `const_int', have
  10601. `reg' in make_field_assignment, in combine.c
  10602. * [506]12441 ICE: can't find a register to spill
  10603. * [507]12943 array static-init failure under -fpic, -fPIC
  10604. * [508]13608 Incorrect code with -O3 -ffast-math
  10605. PowerPC-specific
  10606. * [509]11598 testcase gcc.dg/20020118-1.c fails runtime check of
  10607. __attribute__((aligned(16)))
  10608. * [510]11793 ICE in extract_insn, in recog.c (const_vector's)
  10609. * [511]12467 vmsumubm emitted when vmsummbm appropriate (typo in
  10610. altivec.md)
  10611. * [512]12537 g++ generates writeable text sections
  10612. SPARC-specific
  10613. * [513]12496 wrong result for __atomic_add(&value, -1) when using -O0
  10614. -m64
  10615. * [514]12865 mprotect call to make trampoline executable may fail
  10616. * [515]13354 ICE in sparc_emit_set_const32
  10617. ARM-specific
  10618. * [516]10467 [arm] ICE in pre_insert_copy_insn,
  10619. ia64-specific
  10620. * [517]11226 ICE passing struct arg with two floats
  10621. * [518]11227 ICE for _Complex float, _Complex long double args
  10622. * [519]12644 GCC 3.3.2 fails to compile glibc on ia64
  10623. * [520]13149 build gcc-3.3.2 1305 error:unrecognizable insn
  10624. * Various fixes for libunwind
  10625. Alpha-specific
  10626. * [521]12654 Incorrect comparison code generated for Alpha
  10627. * [522]12965 SEGV+ICE in cc1plus on alpha-linux with -O2
  10628. * [523]13031 ICE (unrecognizable insn) when building gnome-libs-1.4.2
  10629. HPPA-specific
  10630. * [524]11634 [hppa] ICE in verify_local_live_at_start, in flow.c
  10631. * [525]12158 [hppa] compilation does not terminate at -O1
  10632. S390-specific
  10633. * [526]11992 Wrong built-in code for memcmp with length 1<<24: only
  10634. (1<<24)-1 possible for CLCL-Instruction
  10635. SH-specific
  10636. * [527]9365 segfault in gen_far_branch (config/sh/sh.c)
  10637. * [528]10392 optimizer generates faulty array indexing
  10638. * [529]11322 SH profiler outputs multiple definitions of symbol
  10639. * [530]13069 gcc/config/sh/rtems.h broken
  10640. * [531]13302 Putting a va_list in a struct causes seg fault
  10641. * [532]13585 Incorrect optimization of call to sfunc
  10642. * Fix inappropriately exported libgcc functions from the shared
  10643. library
  10644. Other embedded target specific
  10645. * [533]8916 [mcore] unsigned char assign gets hosed.
  10646. * [534]11576 [h8300] ICE in change_address_1, in emit-rtl.c
  10647. * [535]13122 [h8300] local variable gets corrupted by function call
  10648. when -fomit-frame-pointer is given
  10649. * [536]13256 [cris] strict_low_part mistreated in delay slots
  10650. * [537]13373 [mcore] optimization with -frerun-cse-after-loop
  10651. -fexpensive-optimizations produces wrong code on mcore
  10652. GNU HURD-specific
  10653. * [538]12561 gcc/config/t-gnu needs updating to work with
  10654. --with-sysroot
  10655. Tru64 Unix specific
  10656. * [539]6243 testsuite fails almost all tests due to no libintl in
  10657. LD_LIBRARY_PATH during test.
  10658. * [540]11397 weak aliases broken on Tru64 UNIX
  10659. AIX-specific
  10660. * [541]12505 build failure due to defines of uchar in cpphash.h and
  10661. sys/types.h
  10662. * [542]13150 WEAK symbols not exported by collect2
  10663. IRIX-specific
  10664. * [543]12666 fixincludes problem on IRIX 6.5.19m
  10665. Solaris-specific
  10666. * [544]12969 Including sys/byteorder.h breaks configure checks
  10667. Testsuite problems (compiler is not affected)
  10668. * [545]10819 testsuite creates CR+LF on compiler version lines in
  10669. test summary files
  10670. * [546]11612 abi_check not finding correct libgcc_s.so.1
  10671. Miscellaneous
  10672. * [547]13211 using -###, incorrect warnings about unused linker file
  10673. are produced
  10674. __________________________________________________________________
  10675. GCC 3.3.4
  10676. This is the [548]list of problem reports (PRs) from GCC's bug tracking
  10677. system that are known to be fixed in the 3.3.4 release. This list might
  10678. not be complete (that is, it is possible that some PRs that have been
  10679. fixed are not listed here).
  10680. __________________________________________________________________
  10681. GCC 3.3.5
  10682. This is the [549]list of problem reports (PRs) from GCC's bug tracking
  10683. system that are known to be fixed in the 3.3.5 release. This list might
  10684. not be complete (that is, it is possible that some PRs that have been
  10685. fixed are not listed here).
  10686. __________________________________________________________________
  10687. GCC 3.3.6
  10688. This is the [550]list of problem reports (PRs) from GCC's bug tracking
  10689. system that are known to be fixed in the 3.3.6 release. This list might
  10690. not be complete (that is, it is possible that some PRs that have been
  10691. fixed are not listed here).
  10692. For questions related to the use of GCC, please consult these web
  10693. pages and the [551]GCC manuals. If that fails, the
  10694. [552]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  10695. web pages and the development of GCC are welcome on our developer
  10696. list at [553]gcc@gcc.gnu.org. All of [554]our lists have public
  10697. archives.
  10698. Copyright (C) [555]Free Software Foundation, Inc. Verbatim copying and
  10699. distribution of this entire article is permitted in any medium,
  10700. provided this notice is preserved.
  10701. These pages are [556]maintained by the GCC team. Last modified
  10702. 2014-06-28[557].
  10703. References
  10704. 1. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.6
  10705. 2. http://gcc.gnu.org/gcc-3.1/changes.html#obsolete_systems
  10706. 3. http://gcc.gnu.org/gcc-3.3/changes.html#obsolete_systems
  10707. 4. http://gcc.gnu.org/gcc-3.3/changes.html#nonnull_attribute
  10708. 5. http://gcc.gnu.org/news/dfa.html
  10709. 6. http://gcc.gnu.org/c99status.html
  10710. 7. https://gcc.gnu.org/onlinedocs/gcc-3.3.6/g77/News.html
  10711. 8. https://gcc.gnu.org/PR10140
  10712. 9. https://gcc.gnu.org/PR10198
  10713. 10. https://gcc.gnu.org/PR10338
  10714. 11. https://gcc.gnu.org/PR3581
  10715. 12. https://gcc.gnu.org/PR4382
  10716. 13. https://gcc.gnu.org/PR5533
  10717. 14. https://gcc.gnu.org/PR6387
  10718. 15. https://gcc.gnu.org/PR6412
  10719. 16. https://gcc.gnu.org/PR6620
  10720. 17. https://gcc.gnu.org/PR6663
  10721. 18. https://gcc.gnu.org/PR7068
  10722. 19. https://gcc.gnu.org/PR7083
  10723. 20. https://gcc.gnu.org/PR7647
  10724. 21. https://gcc.gnu.org/PR7675
  10725. 22. https://gcc.gnu.org/PR7718
  10726. 23. https://gcc.gnu.org/PR8116
  10727. 24. https://gcc.gnu.org/PR8358
  10728. 25. https://gcc.gnu.org/PR8511
  10729. 26. https://gcc.gnu.org/PR8564
  10730. 27. https://gcc.gnu.org/PR8660
  10731. 28. https://gcc.gnu.org/PR8766
  10732. 29. https://gcc.gnu.org/PR8803
  10733. 30. https://gcc.gnu.org/PR8846
  10734. 31. https://gcc.gnu.org/PR8906
  10735. 32. https://gcc.gnu.org/PR9216
  10736. 33. https://gcc.gnu.org/PR9261
  10737. 34. https://gcc.gnu.org/PR9263
  10738. 35. https://gcc.gnu.org/PR9429
  10739. 36. https://gcc.gnu.org/PR9516
  10740. 37. https://gcc.gnu.org/PR9600
  10741. 38. https://gcc.gnu.org/PR9629
  10742. 39. https://gcc.gnu.org/PR9672
  10743. 40. https://gcc.gnu.org/PR9749
  10744. 41. https://gcc.gnu.org/PR9794
  10745. 42. https://gcc.gnu.org/PR9829
  10746. 43. https://gcc.gnu.org/PR9916
  10747. 44. https://gcc.gnu.org/PR9936
  10748. 45. https://gcc.gnu.org/PR10262
  10749. 46. https://gcc.gnu.org/PR10278
  10750. 47. https://gcc.gnu.org/PR10446
  10751. 48. https://gcc.gnu.org/PR10451
  10752. 49. https://gcc.gnu.org/PR10506
  10753. 50. https://gcc.gnu.org/PR10549
  10754. 51. https://gcc.gnu.org/PR2001
  10755. 52. https://gcc.gnu.org/PR2391
  10756. 53. https://gcc.gnu.org/PR2960
  10757. 54. https://gcc.gnu.org/PR4046
  10758. 55. https://gcc.gnu.org/PR6405
  10759. 56. https://gcc.gnu.org/PR6798
  10760. 57. https://gcc.gnu.org/PR6871
  10761. 58. https://gcc.gnu.org/PR6909
  10762. 59. https://gcc.gnu.org/PR7189
  10763. 60. https://gcc.gnu.org/PR7642
  10764. 61. https://gcc.gnu.org/PR8634
  10765. 62. https://gcc.gnu.org/PR8750
  10766. 63. https://gcc.gnu.org/PR2161
  10767. 64. https://gcc.gnu.org/PR4319
  10768. 65. https://gcc.gnu.org/PR8602
  10769. 66. https://gcc.gnu.org/PR9177
  10770. 67. https://gcc.gnu.org/PR9853
  10771. 68. https://gcc.gnu.org/PR45
  10772. 69. https://gcc.gnu.org/PR3784
  10773. 70. https://gcc.gnu.org/PR764
  10774. 71. https://gcc.gnu.org/PR5116
  10775. 72. https://gcc.gnu.org/PR2862
  10776. 73. https://gcc.gnu.org/PR3663
  10777. 74. https://gcc.gnu.org/PR3797
  10778. 75. https://gcc.gnu.org/PR3948
  10779. 76. https://gcc.gnu.org/PR4137
  10780. 77. https://gcc.gnu.org/PR4361
  10781. 78. https://gcc.gnu.org/PR4802
  10782. 79. https://gcc.gnu.org/PR5837
  10783. 80. https://gcc.gnu.org/PR4803
  10784. 81. https://gcc.gnu.org/PR5094
  10785. 82. https://gcc.gnu.org/PR5730
  10786. 83. https://gcc.gnu.org/PR6713
  10787. 84. https://gcc.gnu.org/PR7015
  10788. 85. https://gcc.gnu.org/PR7086
  10789. 86. https://gcc.gnu.org/PR7099
  10790. 87. https://gcc.gnu.org/PR7247
  10791. 88. https://gcc.gnu.org/PR7441
  10792. 89. https://gcc.gnu.org/PR7768
  10793. 90. https://gcc.gnu.org/PR7804
  10794. 91. https://gcc.gnu.org/PR8099
  10795. 92. https://gcc.gnu.org/PR8117
  10796. 93. https://gcc.gnu.org/PR8205
  10797. 94. https://gcc.gnu.org/PR8645
  10798. 95. https://gcc.gnu.org/PR8724
  10799. 96. https://gcc.gnu.org/PR8805
  10800. 97. https://gcc.gnu.org/PR8691
  10801. 98. https://gcc.gnu.org/PR8700
  10802. 99. https://gcc.gnu.org/PR8724
  10803. 100. https://gcc.gnu.org/PR8949
  10804. 101. https://gcc.gnu.org/PR9016
  10805. 102. https://gcc.gnu.org/PR9053
  10806. 103. https://gcc.gnu.org/PR9152
  10807. 104. https://gcc.gnu.org/PR9182
  10808. 105. https://gcc.gnu.org/PR9297
  10809. 106. https://gcc.gnu.org/PR9318
  10810. 107. https://gcc.gnu.org/PR9320
  10811. 108. https://gcc.gnu.org/PR9400
  10812. 109. https://gcc.gnu.org/PR9424
  10813. 110. https://gcc.gnu.org/PR9425
  10814. 111. https://gcc.gnu.org/PR9439
  10815. 112. https://gcc.gnu.org/PR9474
  10816. 113. https://gcc.gnu.org/PR9548
  10817. 114. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#231
  10818. 115. https://gcc.gnu.org/PR9555
  10819. 116. https://gcc.gnu.org/PR9561
  10820. 117. https://gcc.gnu.org/PR9563
  10821. 118. https://gcc.gnu.org/PR9582
  10822. 119. https://gcc.gnu.org/PR9622
  10823. 120. https://gcc.gnu.org/PR9683
  10824. 121. https://gcc.gnu.org/PR9791
  10825. 122. https://gcc.gnu.org/PR9817
  10826. 123. https://gcc.gnu.org/PR9825
  10827. 124. https://gcc.gnu.org/PR9826
  10828. 125. https://gcc.gnu.org/PR9924
  10829. 126. https://gcc.gnu.org/PR9946
  10830. 127. https://gcc.gnu.org/PR9964
  10831. 128. https://gcc.gnu.org/PR9988
  10832. 129. https://gcc.gnu.org/PR10033
  10833. 130. https://gcc.gnu.org/PR10097
  10834. 131. https://gcc.gnu.org/PR10132
  10835. 132. https://gcc.gnu.org/PR10180
  10836. 133. https://gcc.gnu.org/PR10199
  10837. 134. https://gcc.gnu.org/PR10300
  10838. 135. https://gcc.gnu.org/PR10427
  10839. 136. https://gcc.gnu.org/PR10503
  10840. 137. https://gcc.gnu.org/PR5956
  10841. 138. https://gcc.gnu.org/PR1832
  10842. 139. https://gcc.gnu.org/PR3924
  10843. 140. https://gcc.gnu.org/PR5634
  10844. 141. https://gcc.gnu.org/PR6367
  10845. 142. https://gcc.gnu.org/PR6491
  10846. 143. https://gcc.gnu.org/PR6742
  10847. 144. https://gcc.gnu.org/PR7113
  10848. 145. https://gcc.gnu.org/PR7236
  10849. 146. https://gcc.gnu.org/PR7278
  10850. 147. https://gcc.gnu.org/PR7384
  10851. 148. https://gcc.gnu.org/PR7388
  10852. 149. https://gcc.gnu.org/PR8587
  10853. 150. https://gcc.gnu.org/PR9038
  10854. 151. https://gcc.gnu.org/PR10197
  10855. 152. https://gcc.gnu.org/PR6005
  10856. 153. https://gcc.gnu.org/PR6389
  10857. 154. https://gcc.gnu.org/PR6576
  10858. 155. https://gcc.gnu.org/PR6652
  10859. 156. https://gcc.gnu.org/PR7060
  10860. 157. https://gcc.gnu.org/PR7073
  10861. 158. https://gcc.gnu.org/PR7180
  10862. 159. https://gcc.gnu.org/PR7416
  10863. 160. https://gcc.gnu.org/PR7570
  10864. 161. https://gcc.gnu.org/PR7578
  10865. 162. https://gcc.gnu.org/PR7611
  10866. 163. https://gcc.gnu.org/PR7709
  10867. 164. https://gcc.gnu.org/PR7766
  10868. 165. https://gcc.gnu.org/PR7785
  10869. 166. https://gcc.gnu.org/PR7786
  10870. 167. https://gcc.gnu.org/PR8142
  10871. 168. https://gcc.gnu.org/PR8234
  10872. 169. https://gcc.gnu.org/PR8415
  10873. 170. https://gcc.gnu.org/PR8481
  10874. 171. https://gcc.gnu.org/PR8593
  10875. 172. https://gcc.gnu.org/PR8759
  10876. 173. https://gcc.gnu.org/PR8997
  10877. 174. https://gcc.gnu.org/PR9253
  10878. 175. https://gcc.gnu.org/PR9254
  10879. 176. https://gcc.gnu.org/PR9271
  10880. 177. https://gcc.gnu.org/PR6767
  10881. 178. https://gcc.gnu.org/PR9911
  10882. 179. https://gcc.gnu.org/PR10020
  10883. 180. https://gcc.gnu.org/PR10546
  10884. 181. https://gcc.gnu.org/PR7029
  10885. 182. https://gcc.gnu.org/PR2903
  10886. 183. https://gcc.gnu.org/PR7873
  10887. 184. https://gcc.gnu.org/PR7680
  10888. 185. https://gcc.gnu.org/PR8705
  10889. 186. https://gcc.gnu.org/PR9986
  10890. 187. https://gcc.gnu.org/PR10056
  10891. 188. https://gcc.gnu.org/PR6744
  10892. 189. https://gcc.gnu.org/PR7361
  10893. 190. https://gcc.gnu.org/PR9496
  10894. 191. https://gcc.gnu.org/PR7067
  10895. 192. https://gcc.gnu.org/PR8480
  10896. 193. https://gcc.gnu.org/PR8784
  10897. 194. https://gcc.gnu.org/PR10315
  10898. 195. https://gcc.gnu.org/PR10267
  10899. 196. https://gcc.gnu.org/PR7916
  10900. 197. https://gcc.gnu.org/PR7926
  10901. 198. https://gcc.gnu.org/PR8555
  10902. 199. https://gcc.gnu.org/PR8994
  10903. 200. https://gcc.gnu.org/PR9426
  10904. 201. https://gcc.gnu.org/PR9806
  10905. 202. https://gcc.gnu.org/PR10077
  10906. 203. https://gcc.gnu.org/PR10233
  10907. 204. https://gcc.gnu.org/PR10286
  10908. 205. https://gcc.gnu.org/PR10308
  10909. 206. https://gcc.gnu.org/PR11272
  10910. 207. https://gcc.gnu.org/PR5754
  10911. 208. https://gcc.gnu.org/PR6597
  10912. 209. https://gcc.gnu.org/PR6949
  10913. 210. https://gcc.gnu.org/PR7053
  10914. 211. https://gcc.gnu.org/PR8164
  10915. 212. https://gcc.gnu.org/PR8384
  10916. 213. https://gcc.gnu.org/PR9559
  10917. 214. https://gcc.gnu.org/PR9649
  10918. 215. https://gcc.gnu.org/PR9864
  10919. 216. https://gcc.gnu.org/PR10432
  10920. 217. https://gcc.gnu.org/PR10475
  10921. 218. https://gcc.gnu.org/PR10635
  10922. 219. https://gcc.gnu.org/PR10661
  10923. 220. https://gcc.gnu.org/PR10700
  10924. 221. https://gcc.gnu.org/PR10712
  10925. 222. https://gcc.gnu.org/PR10796
  10926. 223. https://gcc.gnu.org/PR10890
  10927. 224. https://gcc.gnu.org/PR10939
  10928. 225. https://gcc.gnu.org/PR10956
  10929. 226. https://gcc.gnu.org/PR11041
  10930. 227. https://gcc.gnu.org/PR11059
  10931. 228. https://gcc.gnu.org/PR11083
  10932. 229. https://gcc.gnu.org/PR11105
  10933. 230. https://gcc.gnu.org/PR11149
  10934. 231. https://gcc.gnu.org/PR11228
  10935. 232. https://gcc.gnu.org/PR11282
  10936. 233. https://gcc.gnu.org/PR11301
  10937. 234. https://gcc.gnu.org/PR11308
  10938. 235. https://gcc.gnu.org/PR11473
  10939. 236. https://gcc.gnu.org/PR11503
  10940. 237. https://gcc.gnu.org/PR11513
  10941. 238. https://gcc.gnu.org/PR11198
  10942. 239. https://gcc.gnu.org/PR11304
  10943. 240. https://gcc.gnu.org/PR11381
  10944. 241. https://gcc.gnu.org/PR11536
  10945. 242. https://gcc.gnu.org/PR11557
  10946. 243. https://gcc.gnu.org/PR5897
  10947. 244. https://gcc.gnu.org/PR11279
  10948. 245. https://gcc.gnu.org/PR11022
  10949. 246. https://gcc.gnu.org/PR2330
  10950. 247. https://gcc.gnu.org/PR5388
  10951. 248. https://gcc.gnu.org/PR5390
  10952. 249. https://gcc.gnu.org/PR7877
  10953. 250. https://gcc.gnu.org/PR9393
  10954. 251. https://gcc.gnu.org/PR10032
  10955. 252. https://gcc.gnu.org/PR10468
  10956. 253. https://gcc.gnu.org/PR10527
  10957. 254. https://gcc.gnu.org/PR10679
  10958. 255. https://gcc.gnu.org/PR10682
  10959. 256. https://gcc.gnu.org/PR10689
  10960. 257. https://gcc.gnu.org/PR10845
  10961. 258. https://gcc.gnu.org/PR10849
  10962. 259. https://gcc.gnu.org/PR10888
  10963. 260. https://gcc.gnu.org/PR10929
  10964. 261. https://gcc.gnu.org/PR10931
  10965. 262. https://gcc.gnu.org/PR10940
  10966. 263. https://gcc.gnu.org/PR10968
  10967. 264. https://gcc.gnu.org/PR10990
  10968. 265. https://gcc.gnu.org/PR11039
  10969. 266. https://gcc.gnu.org/PR11062
  10970. 267. https://gcc.gnu.org/PR11095
  10971. 268. https://gcc.gnu.org/PR11098
  10972. 269. https://gcc.gnu.org/PR11137
  10973. 270. https://gcc.gnu.org/PR11154
  10974. 271. https://gcc.gnu.org/PR11329
  10975. 272. https://gcc.gnu.org/PR11332
  10976. 273. https://gcc.gnu.org/PR11431
  10977. 274. https://gcc.gnu.org/PR11528
  10978. 275. https://gcc.gnu.org/PR11546
  10979. 276. https://gcc.gnu.org/PR11567
  10980. 277. https://gcc.gnu.org/PR11645
  10981. 278. https://gcc.gnu.org/PR5179
  10982. 279. https://gcc.gnu.org/PR8204
  10983. 280. https://gcc.gnu.org/PR10838
  10984. 281. https://gcc.gnu.org/PR10886
  10985. 282. https://gcc.gnu.org/PR11349
  10986. 283. https://gcc.gnu.org/PR4823
  10987. 284. https://gcc.gnu.org/PR8878
  10988. 285. https://gcc.gnu.org/PR9815
  10989. 286. https://gcc.gnu.org/PR10402
  10990. 287. https://gcc.gnu.org/PR10504
  10991. 288. https://gcc.gnu.org/PR10673
  10992. 289. https://gcc.gnu.org/PR11044
  10993. 290. https://gcc.gnu.org/PR11089
  10994. 291. https://gcc.gnu.org/PR11420
  10995. 292. https://gcc.gnu.org/PR9362
  10996. 293. https://gcc.gnu.org/PR10142
  10997. 294. https://gcc.gnu.org/PR10663
  10998. 295. https://gcc.gnu.org/PR10835
  10999. 296. https://gcc.gnu.org/PR10876
  11000. 297. https://gcc.gnu.org/PR10955
  11001. 298. https://gcc.gnu.org/PR11018
  11002. 299. https://gcc.gnu.org/PR11556
  11003. 300. https://gcc.gnu.org/PR10907
  11004. 301. https://gcc.gnu.org/PR11320
  11005. 302. https://gcc.gnu.org/PR11599
  11006. 303. https://gcc.gnu.org/PR9745
  11007. 304. https://gcc.gnu.org/PR10871
  11008. 305. https://gcc.gnu.org/PR11440
  11009. 306. https://gcc.gnu.org/PR7594
  11010. 307. https://gcc.gnu.org/PR10557
  11011. 308. https://gcc.gnu.org/PR11054
  11012. 309. https://gcc.gnu.org/PR10834
  11013. 310. https://gcc.gnu.org/PR10842
  11014. 311. https://gcc.gnu.org/PR11052
  11015. 312. https://gcc.gnu.org/PR11183
  11016. 313. https://gcc.gnu.org/PR11084
  11017. 314. https://gcc.gnu.org/PR10331
  11018. 315. https://gcc.gnu.org/PR10413
  11019. 316. https://gcc.gnu.org/PR11096
  11020. 317. https://gcc.gnu.org/PR2873
  11021. 318. https://gcc.gnu.org/PR3163
  11022. 319. https://gcc.gnu.org/PR5287
  11023. 320. https://gcc.gnu.org/PR10148
  11024. 321. https://gcc.gnu.org/PR8787
  11025. 322. https://gcc.gnu.org/PR10900
  11026. 323. https://gcc.gnu.org/PR1607
  11027. 324. https://gcc.gnu.org/PR4252
  11028. 325. https://gcc.gnu.org/PR4490
  11029. 326. https://gcc.gnu.org/PR10355
  11030. 327. https://gcc.gnu.org/PR10726
  11031. 328. https://gcc.gnu.org/PR10805
  11032. 329. https://gcc.gnu.org/PR10815
  11033. 330. https://gcc.gnu.org/PR10877
  11034. 331. https://gcc.gnu.org/PR11280
  11035. 332. https://gcc.gnu.org/PR11466
  11036. 333. https://gcc.gnu.org/PR10737
  11037. 334. https://gcc.gnu.org/PR10810
  11038. 335. https://gcc.gnu.org/PR8336
  11039. 336. https://gcc.gnu.org/PR9330
  11040. 337. https://gcc.gnu.org/PR9631
  11041. 338. https://gcc.gnu.org/PR9877
  11042. 339. https://gcc.gnu.org/PR11687
  11043. 340. https://gcc.gnu.org/PR12263
  11044. 341. https://gcc.gnu.org/PR12490
  11045. 342. https://gcc.gnu.org/PR7277
  11046. 343. https://gcc.gnu.org/PR7939
  11047. 344. https://gcc.gnu.org/PR11063
  11048. 345. https://gcc.gnu.org/PR11207
  11049. 346. https://gcc.gnu.org/PR11522
  11050. 347. https://gcc.gnu.org/PR11595
  11051. 348. https://gcc.gnu.org/PR11646
  11052. 349. https://gcc.gnu.org/PR11665
  11053. 350. https://gcc.gnu.org/PR11852
  11054. 351. https://gcc.gnu.org/PR11878
  11055. 352. https://gcc.gnu.org/PR11883
  11056. 353. https://gcc.gnu.org/PR11991
  11057. 354. https://gcc.gnu.org/PR12146
  11058. 355. https://gcc.gnu.org/PR12215
  11059. 356. https://gcc.gnu.org/PR12369
  11060. 357. https://gcc.gnu.org/PR12446
  11061. 358. https://gcc.gnu.org/PR12510
  11062. 359. https://gcc.gnu.org/PR12544
  11063. 360. https://gcc.gnu.org/PR9862
  11064. 361. https://gcc.gnu.org/PR10962
  11065. 362. https://gcc.gnu.org/PR11370
  11066. 363. https://gcc.gnu.org/PR11637
  11067. 364. https://gcc.gnu.org/PR11885
  11068. 365. https://gcc.gnu.org/PR12082
  11069. 366. https://gcc.gnu.org/PR12180
  11070. 367. https://gcc.gnu.org/PR12340
  11071. 368. https://gcc.gnu.org/PR3907
  11072. 369. https://gcc.gnu.org/PR5293
  11073. 370. https://gcc.gnu.org/PR5296
  11074. 371. https://gcc.gnu.org/PR7939
  11075. 372. https://gcc.gnu.org/PR8656
  11076. 373. https://gcc.gnu.org/PR10147
  11077. 374. https://gcc.gnu.org/PR11400
  11078. 375. https://gcc.gnu.org/PR11409
  11079. 376. https://gcc.gnu.org/PR11740
  11080. 377. https://gcc.gnu.org/PR11786
  11081. 378. https://gcc.gnu.org/PR11867
  11082. 379. https://gcc.gnu.org/PR11928
  11083. 380. https://gcc.gnu.org/PR12114
  11084. 381. https://gcc.gnu.org/PR12163
  11085. 382. https://gcc.gnu.org/PR12181
  11086. 383. https://gcc.gnu.org/PR12236
  11087. 384. https://gcc.gnu.org/PR12266
  11088. 385. https://gcc.gnu.org/PR12296
  11089. 386. https://gcc.gnu.org/PR12298
  11090. 387. https://gcc.gnu.org/PR12369
  11091. 388. https://gcc.gnu.org/PR12337
  11092. 389. https://gcc.gnu.org/PR12344
  11093. 390. https://gcc.gnu.org/PR12451
  11094. 391. https://gcc.gnu.org/PR12486
  11095. 392. https://gcc.gnu.org/PR8869
  11096. 393. https://gcc.gnu.org/PR9786
  11097. 394. https://gcc.gnu.org/PR11689
  11098. 395. https://gcc.gnu.org/PR12116
  11099. 396. https://gcc.gnu.org/PR12070
  11100. 397. https://gcc.gnu.org/PR11184
  11101. 398. https://gcc.gnu.org/PR11535
  11102. 399. https://gcc.gnu.org/PR11693
  11103. 400. https://gcc.gnu.org/PR12224
  11104. 401. https://gcc.gnu.org/PR11087
  11105. 402. https://gcc.gnu.org/PR11319
  11106. 403. https://gcc.gnu.org/PR11949
  11107. 404. https://gcc.gnu.org/PR11662
  11108. 405. https://gcc.gnu.org/PR11965
  11109. 406. https://gcc.gnu.org/PR12301
  11110. 407. https://gcc.gnu.org/PR11717
  11111. 408. https://gcc.gnu.org/PR11313
  11112. 409. https://gcc.gnu.org/PR11712
  11113. 410. https://gcc.gnu.org/PR12166
  11114. 411. https://gcc.gnu.org/PR12101
  11115. 412. https://gcc.gnu.org/PR10988
  11116. 413. https://gcc.gnu.org/PR11805
  11117. 414. https://gcc.gnu.org/PR11902
  11118. 415. https://gcc.gnu.org/PR11903
  11119. 416. https://gcc.gnu.org/PR11890
  11120. 417. https://gcc.gnu.org/PR12399
  11121. 418. https://gcc.gnu.org/PR13068
  11122. 419. https://gcc.gnu.org/PR10060
  11123. 420. https://gcc.gnu.org/PR10555
  11124. 421. https://gcc.gnu.org/PR10706
  11125. 422. https://gcc.gnu.org/PR11496
  11126. 423. https://gcc.gnu.org/PR11741
  11127. 424. https://gcc.gnu.org/PR12440
  11128. 425. https://gcc.gnu.org/PR12632
  11129. 426. https://gcc.gnu.org/PR12712
  11130. 427. https://gcc.gnu.org/PR12726
  11131. 428. https://gcc.gnu.org/PR12890
  11132. 429. https://gcc.gnu.org/PR12900
  11133. 430. https://gcc.gnu.org/PR13060
  11134. 431. https://gcc.gnu.org/PR13289
  11135. 432. https://gcc.gnu.org/PR13318
  11136. 433. https://gcc.gnu.org/PR13392
  11137. 434. https://gcc.gnu.org/PR13574
  11138. 435. https://gcc.gnu.org/PR13475
  11139. 436. https://gcc.gnu.org/PR13797
  11140. 437. https://gcc.gnu.org/PR13824
  11141. 438. https://gcc.gnu.org/PR8776
  11142. 439. https://gcc.gnu.org/PR10339
  11143. 440. https://gcc.gnu.org/PR11350
  11144. 441. https://gcc.gnu.org/PR12826
  11145. 442. https://gcc.gnu.org/PR12500
  11146. 443. https://gcc.gnu.org/PR12941
  11147. 444. https://gcc.gnu.org/PR12953
  11148. 445. https://gcc.gnu.org/PR13041
  11149. 446. https://gcc.gnu.org/PR13507
  11150. 447. https://gcc.gnu.org/PR13382
  11151. 448. https://gcc.gnu.org/PR13394
  11152. 449. https://gcc.gnu.org/PR13400
  11153. 450. https://gcc.gnu.org/PR13521
  11154. 451. https://gcc.gnu.org/PR2094
  11155. 452. https://gcc.gnu.org/PR2294
  11156. 453. https://gcc.gnu.org/PR5050
  11157. 454. https://gcc.gnu.org/PR9371
  11158. 455. https://gcc.gnu.org/PR9546
  11159. 456. https://gcc.gnu.org/PR10081
  11160. 457. https://gcc.gnu.org/PR10093
  11161. 458. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#61
  11162. 459. https://gcc.gnu.org/PR10095
  11163. 460. https://gcc.gnu.org/PR11554
  11164. 461. https://gcc.gnu.org/PR12297
  11165. 462. https://gcc.gnu.org/PR12352
  11166. 463. https://gcc.gnu.org/PR12438
  11167. 464. https://gcc.gnu.org/PR12540
  11168. 465. https://gcc.gnu.org/PR12594
  11169. 466. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#60
  11170. 467. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#63
  11171. 468. https://gcc.gnu.org/PR12657
  11172. 469. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#292
  11173. 470. https://gcc.gnu.org/PR12696
  11174. 471. https://gcc.gnu.org/PR12815
  11175. 472. https://gcc.gnu.org/PR12862
  11176. 473. https://gcc.gnu.org/PR12926
  11177. 474. https://gcc.gnu.org/PR12967
  11178. 475. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html
  11179. 476. https://gcc.gnu.org/PR12971
  11180. 477. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#328
  11181. 478. https://gcc.gnu.org/PR13007
  11182. 479. https://gcc.gnu.org/PR13009
  11183. 480. https://gcc.gnu.org/PR13057
  11184. 481. https://gcc.gnu.org/PR13070
  11185. 482. https://gcc.gnu.org/PR13081
  11186. 483. https://gcc.gnu.org/PR13239
  11187. 484. https://gcc.gnu.org/PR13262
  11188. 485. https://gcc.gnu.org/PR13290
  11189. 486. https://gcc.gnu.org/PR13323
  11190. 487. https://gcc.gnu.org/PR13369
  11191. 488. https://gcc.gnu.org/PR13371
  11192. 489. https://gcc.gnu.org/PR13445
  11193. 490. https://gcc.gnu.org/PR13461
  11194. 491. https://gcc.gnu.org/PR13462
  11195. 492. https://gcc.gnu.org/PR13478
  11196. 493. https://gcc.gnu.org/PR13544
  11197. 494. https://gcc.gnu.org/PR13650
  11198. 495. https://gcc.gnu.org/PR13683
  11199. 496. https://gcc.gnu.org/PR13688
  11200. 497. https://gcc.gnu.org/PR13774
  11201. 498. https://gcc.gnu.org/PR13884
  11202. 499. https://gcc.gnu.org/PR10746
  11203. 500. https://gcc.gnu.org/PR11433
  11204. 501. https://gcc.gnu.org/PR12633
  11205. 502. https://gcc.gnu.org/PR13037
  11206. 503. https://gcc.gnu.org/PR13213
  11207. 504. https://gcc.gnu.org/PR4490
  11208. 505. https://gcc.gnu.org/PR12292
  11209. 506. https://gcc.gnu.org/PR12441
  11210. 507. https://gcc.gnu.org/PR12943
  11211. 508. https://gcc.gnu.org/PR13608
  11212. 509. https://gcc.gnu.org/PR11598
  11213. 510. https://gcc.gnu.org/PR11793
  11214. 511. https://gcc.gnu.org/PR12467
  11215. 512. https://gcc.gnu.org/PR12537
  11216. 513. https://gcc.gnu.org/PR12496
  11217. 514. https://gcc.gnu.org/PR12865
  11218. 515. https://gcc.gnu.org/PR13354
  11219. 516. https://gcc.gnu.org/PR10467
  11220. 517. https://gcc.gnu.org/PR11226
  11221. 518. https://gcc.gnu.org/PR11227
  11222. 519. https://gcc.gnu.org/PR12644
  11223. 520. https://gcc.gnu.org/PR13149
  11224. 521. https://gcc.gnu.org/PR12654
  11225. 522. https://gcc.gnu.org/PR12965
  11226. 523. https://gcc.gnu.org/PR13031
  11227. 524. https://gcc.gnu.org/PR11634
  11228. 525. https://gcc.gnu.org/PR12158
  11229. 526. https://gcc.gnu.org/PR11992
  11230. 527. https://gcc.gnu.org/PR9365
  11231. 528. https://gcc.gnu.org/PR10392
  11232. 529. https://gcc.gnu.org/PR11322
  11233. 530. https://gcc.gnu.org/PR13069
  11234. 531. https://gcc.gnu.org/PR13302
  11235. 532. https://gcc.gnu.org/PR13585
  11236. 533. https://gcc.gnu.org/PR8916
  11237. 534. https://gcc.gnu.org/PR11576
  11238. 535. https://gcc.gnu.org/PR13122
  11239. 536. https://gcc.gnu.org/PR13256
  11240. 537. https://gcc.gnu.org/PR13373
  11241. 538. https://gcc.gnu.org/PR12561
  11242. 539. https://gcc.gnu.org/PR6243
  11243. 540. https://gcc.gnu.org/PR11397
  11244. 541. https://gcc.gnu.org/PR12505
  11245. 542. https://gcc.gnu.org/PR13150
  11246. 543. https://gcc.gnu.org/PR12666
  11247. 544. https://gcc.gnu.org/PR12969
  11248. 545. https://gcc.gnu.org/PR10819
  11249. 546. https://gcc.gnu.org/PR11612
  11250. 547. https://gcc.gnu.org/PR13211
  11251. 548. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.4
  11252. 549. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.5
  11253. 550. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.6
  11254. 551. https://gcc.gnu.org/onlinedocs/
  11255. 552. mailto:gcc-help@gcc.gnu.org
  11256. 553. mailto:gcc@gcc.gnu.org
  11257. 554. https://gcc.gnu.org/lists.html
  11258. 555. http://www.fsf.org/
  11259. 556. https://gcc.gnu.org/about.html
  11260. 557. http://validator.w3.org/check/referer
  11261. ======================================================================
  11262. http://gcc.gnu.org/gcc-3.2/index.html
  11263. GCC 3.2 Release Series
  11264. April 25, 2003
  11265. The [1]GNU project and the GCC developers are pleased to announce the
  11266. release of GCC 3.2.3.
  11267. The purpose of the GCC 3.2 release series is to provide a stable
  11268. platform for OS distributors to use building their next releases. A
  11269. primary objective was to stabilize the C++ ABI; we believe that the
  11270. interface to the compiler and the C++ standard library are now
  11271. relatively stable.
  11272. Be aware that C++ code compiled by GCC 3.2.x will (in general) not
  11273. interoperate with code compiled by GCC 3.1.1 or earlier.
  11274. Please refer to our [2]detailed list of news, caveats, and bug-fixes
  11275. for further information.
  11276. Release History
  11277. GCC 3.2.3
  11278. April 25, 2003 ([3]changes)
  11279. GCC 3.2.2
  11280. February 5, 2003 ([4]changes)
  11281. GCC 3.2.1
  11282. November 19, 2002 ([5]changes)
  11283. GCC 3.2
  11284. August 14, 2002 ([6]changes)
  11285. References and Acknowledgements
  11286. GCC used to stand for the GNU C Compiler, but since the compiler
  11287. supports several other languages aside from C, it now stands for the
  11288. GNU Compiler Collection.
  11289. A list of [7]successful builds is updated as new information becomes
  11290. available.
  11291. The GCC developers would like to thank the numerous people that have
  11292. contributed new features, improvements, bug fixes, and other changes as
  11293. well as test results to GCC. This [8]amazing group of volunteers is
  11294. what makes GCC successful.
  11295. For additional information about GCC please refer to the [9]GCC project
  11296. web site or contact the [10]GCC development mailing list.
  11297. To obtain GCC please use [11]our mirror sites, or our CVS server.
  11298. For questions related to the use of GCC, please consult these web
  11299. pages and the [12]GCC manuals. If that fails, the
  11300. [13]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  11301. web pages and the development of GCC are welcome on our developer
  11302. list at [14]gcc@gcc.gnu.org. All of [15]our lists have public
  11303. archives.
  11304. Copyright (C) [16]Free Software Foundation, Inc. Verbatim copying and
  11305. distribution of this entire article is permitted in any medium,
  11306. provided this notice is preserved.
  11307. These pages are [17]maintained by the GCC team. Last modified
  11308. 2014-06-28[18].
  11309. References
  11310. 1. http://www.gnu.org/
  11311. 2. http://gcc.gnu.org/gcc-3.2/changes.html
  11312. 3. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.3
  11313. 4. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.2
  11314. 5. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.1
  11315. 6. http://gcc.gnu.org/gcc-3.2/changes.html#3.2
  11316. 7. http://gcc.gnu.org/gcc-3.2/buildstat.html
  11317. 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  11318. 9. http://gcc.gnu.org/index.html
  11319. 10. mailto:gcc@gcc.gnu.org
  11320. 11. http://gcc.gnu.org/mirrors.html
  11321. 12. https://gcc.gnu.org/onlinedocs/
  11322. 13. mailto:gcc-help@gcc.gnu.org
  11323. 14. mailto:gcc@gcc.gnu.org
  11324. 15. https://gcc.gnu.org/lists.html
  11325. 16. http://www.fsf.org/
  11326. 17. https://gcc.gnu.org/about.html
  11327. 18. http://validator.w3.org/check/referer
  11328. ======================================================================
  11329. http://gcc.gnu.org/gcc-3.2/changes.html
  11330. GCC 3.2 Release Series
  11331. Changes, New Features, and Fixes
  11332. The latest release in the 3.2 release series is [1]GCC 3.2.3.
  11333. Caveats and New Features
  11334. Caveats
  11335. * The C++ compiler does not correctly zero-initialize
  11336. pointers-to-data members. You must explicitly initialize them. For
  11337. example: int S::*m(0); will work, but depending on
  11338. default-initialization to zero will not work. This bug cannot be
  11339. fixed in GCC 3.2 without inducing unacceptable risks. It will be
  11340. fixed in GCC 3.3.
  11341. * This GCC release is based on the GCC 3.1 sourcebase, and thus has
  11342. all the [2]changes in the GCC 3.1 series. In addition, GCC 3.2 has
  11343. a number of C++ ABI fixes which make its C++ compiler generate
  11344. binary code which is incompatible with the C++ compilers found in
  11345. earlier GCC releases, including GCC 3.1 and GCC 3.1.1.
  11346. Frontend Enhancements
  11347. C/C++/Objective-C
  11348. * The method of constructing the list of directories to be searched
  11349. for header files has been revised. If a directory named by a -I
  11350. option is a standard system include directory, the option is
  11351. ignored to ensure that the default search order for system
  11352. directories and the special treatment of system header files are
  11353. not defeated.
  11354. * The C and Objective-C compilers no longer accept the "Naming Types"
  11355. extension (typedef foo = bar); it was already unavailable in C++.
  11356. Code which uses it will need to be changed to use the "typeof"
  11357. extension instead: typedef typeof(bar) foo. (We have removed this
  11358. extension without a period of deprecation because it has caused the
  11359. compiler to crash since version 3.0 and no one noticed until very
  11360. recently. Thus we conclude it is not in widespread use.)
  11361. C++
  11362. * GCC 3.2 fixed serveral differences between the C++ ABI implemented
  11363. in GCC and the multi-vendor standard, but more have been found
  11364. since the release. 3.2.1 adds a new warning, -Wabi, to warn about
  11365. code which is affected by these bugs. We will fix these bugs in
  11366. some future release, once we are confident that all have been
  11367. found; until then, it is our intention to make changes to the ABI
  11368. only if they are necessary for correct compilation of C++, as
  11369. opposed to conformance to the ABI documents.
  11370. * For details on how to build an ABI compliant compiler for GNU/Linux
  11371. systems, check the [3]common C++ ABI page.
  11372. New Targets and Target Specific Improvements
  11373. IA-32
  11374. * Fixed a number of bugs in SSE and MMX intrinsics.
  11375. * Fixed common compiler crashes with SSE instruction set enabled
  11376. (implied by -march=pentium3, pentium4, athlon-xp)
  11377. * __m128 and __m128i is not 128bit aligned when used in structures.
  11378. x86-64
  11379. * A bug whereby the compiler could generate bad code for bzero has
  11380. been fixed.
  11381. * ABI fixes (implying ABI incompatibilities with previous version in
  11382. some corner cases)
  11383. * Fixed prefetch code generation
  11384. __________________________________________________________________
  11385. GCC 3.2.3
  11386. 3.2.3 is a bug fix release only; there are no new features that were
  11387. not present in GCC 3.2.2.
  11388. Bug Fixes
  11389. This section lists the problem reports (PRs) from GCC's bug tracking
  11390. system that are known to be fixed in the 3.2.3 release. This list might
  11391. not be complete (that is, it is possible that some PRs that have been
  11392. fixed are not listed here), and some of the titles have been changed to
  11393. make them more clear.
  11394. Internal Compiler Errors (multi-platform)
  11395. * [4]3782: (c++) -quiet -fstats produces a segmentation fault in
  11396. cc1plus
  11397. * [5]6440: (c++) template specializations cause ICE
  11398. * [6]7050: (c++) ICE on: (i ? get_string() : throw)
  11399. * [7]7741: ICE on conflicting types (make_decl_rtl in varasm.c)
  11400. * [8]7982: (c++) ICE due to infinite recursion (using STL set)
  11401. * [9]8068: exceedingly high (infinite) memory usage
  11402. * [10]8178: ICE with __builtin_ffs
  11403. * [11]8396: ICE in copy_to_mode_reg, in explow.c
  11404. * [12]8674: (c++) ICE in cp_expr_size, in cp/cp-lang.c
  11405. * [13]9768: ICE when optimizing inline code at -O2
  11406. * [14]9798: (c++) Infinite recursion (segfault) in
  11407. cp/decl.c:push_using_directive with recursive using directives
  11408. * [15]9799: mismatching structure initializer with nested flexible
  11409. array member: ICE
  11410. * [16]9928: ICE on duplicate enum declaration
  11411. * [17]10114: ICE in mem_loc_descriptor, in dwarf2out.c (affects
  11412. sparc, alpha)
  11413. * [18]10352: ICE in find_reloads_toplev
  11414. * [19]10336: ICE with -Wunreachable-code
  11415. C/optimizer bugs:
  11416. * [20]8224: Incorrect joining of signed and unsigned division
  11417. * [21]8613: -O2 produces wrong code with builtin strlen and
  11418. postincrements
  11419. * [22]8828: gcc reports some code is unreachable when it is not
  11420. * [23]9226: GCSE breaking argument passing
  11421. * [24]9853: miscompilation of non-constant structure initializer
  11422. * [25]9797: C99-style struct initializers are miscompiled
  11423. * [26]9967: Some standard C function calls should not be replaced
  11424. when optimizing for size
  11425. * [27]10116: ce2: invalid merge of join_bb in the context of switch
  11426. statements
  11427. * [28]10171: wrong code for inlined function
  11428. * [29]10175: -Wunreachable-code doesn't work for single lines
  11429. C++ compiler and library:
  11430. * [30]8316: Confusing diagnostic for code that misuses conversion
  11431. operators
  11432. * [31]9169: filebuf output fails if codecvt<>::out returns noconv
  11433. * [32]9420: incomplete type incorrectly reported
  11434. * [33]9459: typeof in return type specification of template not
  11435. supported
  11436. * [34]9507: filebuf::open handles ios_base::ate incorrectly
  11437. * [35]9538: Out-of-bounds memory access in streambuf::sputbackc
  11438. * [36]9602: Total confusion about template/friend/virtual/abstract
  11439. * [37]9993: destructor not called for local object created within and
  11440. returned from infinite loop
  11441. * [38]10167: ieee_1003.1-2001 locale specialisations on a glibc-2.3.2
  11442. system
  11443. Java compiler and library:
  11444. * [39]9652: libgcj build fails on irix6.5.1[78]
  11445. * [40]10144: gas on solaris complains about bad .stabs lines for
  11446. java, native as unaffected
  11447. x86-specific (Intel/AMD):
  11448. * [41]8746: gcc miscompiles Linux kernel ppa driver on x86
  11449. * [42]9888: -mcpu=k6 -Os produces out of range loop instructions
  11450. * [43]9638: Cross-build for target i386-elf and i586-pc-linux-gnu
  11451. failed
  11452. * [44]9954: Cross-build for target i586-pc-linux-gnu (--with-newlib)
  11453. failed
  11454. SPARC-specific:
  11455. * [45]7784: [Sparc] ICE in extract_insn, in recog.c
  11456. * [46]7796: sparc extra failure with -m64 on execute/930921-1.c in
  11457. unroll.c
  11458. * [47]8281: ICE when compiling with -O2 -fPIC for Ultrasparc
  11459. * [48]8366: [Sparc] C testsuite failure with -m64 -fpic -O in
  11460. execute/loop-2d.c
  11461. * [49]8726: gcc -O2 miscompiles Samba 2.2.7 on 32-bit sparc
  11462. * [50]9414: Scheduling bug on Ultrasparc
  11463. * [51]10067: GCC-3.2.2 outputs invalid asm on sparc64
  11464. m68k-specific:
  11465. * [52]7248: broken "inclusive or" code
  11466. * [53]8343: m68k-elf/rtems ICE at instantiate_virtual_regs_1
  11467. PowerPC-specific:
  11468. * [54]9732: Wrong code with -O2 -fPIC
  11469. * [55]10073: ICE: powerpc cannot split insn
  11470. Alpha-specific:
  11471. * [56]7702: optimization problem on a DEC alpha under OSF1
  11472. * [57]9671: gcc.3.2.2 does not build on a HP Tru64 Unix v5.1B system
  11473. HP-specific:
  11474. * [58]8694: <string> breaks <ctype.h> on HP-UX 10.20 (DUP: 9275)
  11475. * [59]9953: (ada) gcc 3.2.x can't build 3.3-branch ada on HP-UX 10
  11476. (missing symbol)
  11477. * [60]10271: Floating point args don't get reloaded across function
  11478. calls with -O2
  11479. MIPS specific:
  11480. * [61]6362: mips-irix6 gcc-3.1 C testsuite failure with -mips4 in
  11481. compile/920501-4.c
  11482. CRIS specific:
  11483. * [62]10377: gcc-3.2.2 creates bad assembler code for cris
  11484. Miscellaneous and minor bugs:
  11485. * [63]6955: collect2 says "core dumped" when there is no core
  11486. __________________________________________________________________
  11487. GCC 3.2.2
  11488. Beginning with 3.2.2, GCC's Makefile suite supports redirection of make
  11489. install by means of the DESTDIR variable. Parts of the GCC tree have
  11490. featured that support long before, but now it is available even from
  11491. the top level.
  11492. Other than that, GCC 3.2.2 is a bug fix release only; there are no new
  11493. features that were not present in GCC 3.2.1.
  11494. Bug Fixes
  11495. On the following i386-based systems GCC 3.2.1 broke the C ABI wrt.
  11496. functions returning structures: Cygwin, FreeBSD (GCC 3.2.1 as shipped
  11497. with FreeBSD 5.0 does not have this problem), Interix, a.out-based
  11498. GNU/Linux and NetBSD, OpenBSD, and Darwin. GCC 3.2.2 reverts this ABI
  11499. change, and thus restores ABI-compatibility with previous releases
  11500. (except GCC 3.2.1) on these platforms.
  11501. This section lists the problem reports (PRs) from GCC's bug tracking
  11502. system that are known to be fixed in the 3.2.2 release. This list might
  11503. not be complete (that is, it is possible that some PRs that have been
  11504. fixed are not listed here) and some of the titles have been changed to
  11505. make them more clear.
  11506. Internal Compiler Errors (multi-platform)
  11507. * [64]5919: (c++) ICE when passing variable array to template
  11508. function
  11509. * [65]7129: (c++) ICE with min/max assignment operators (<?= and >?=)
  11510. * [66]7507: ICE with -O2 when address of called function is a
  11511. complicated expression
  11512. * [67]7622: ICE with nested inline functions if function's address is
  11513. taken
  11514. * [68]7681: (fortran) ICE in compensate_edge, in reg-stack.c (also PR
  11515. [69]9258)
  11516. * [70]8031: (c++) ICE in code comparing typeids and casting from
  11517. virtual base
  11518. * [71]8275: ICE in simplify_subreg
  11519. * [72]8332: (c++) builtin strlen/template interaction causes ICE
  11520. * [73]8372: (c++) ICE on explicit call of destructor
  11521. * [74]8439: (c, not c++) empty struct causes ICE
  11522. * [75]8442: (c++) ICE with nested template classes
  11523. * [76]8518: ICE when compiling mplayer ("extern inline" issue)
  11524. * [77]8615: (c++) ICE with out-of-range character constant template
  11525. argument
  11526. * [78]8663: (c++) ICE in cp_expr_size, at cp-lang.c:307
  11527. * [79]8799: (c++) ICE: error reporting routines re-entered
  11528. * [80]9328: (c++) ICE with typeof(X) for overloaded X
  11529. * [81]9465: (preprocessor) cpp -traditional ICE on null bytes
  11530. C++ (compiler and library) bugs
  11531. * [82]47: scoping in nested classes is broken
  11532. * [83]6745: problems with iostream rdbuf() member function
  11533. * [84]8214: conversion from const char* const to char* sometimes
  11534. accepted illegally
  11535. * [85]8493: builtin strlen and overload resolution (same bug as
  11536. [86]8332)
  11537. * [87]8503: strange behaviour of function types
  11538. * [88]8727: compiler confused by inheritance from an anonymous struct
  11539. * [89]7445: poor performance of std::locale::classic() in
  11540. multi-threaded applications
  11541. * [90]8230: mishandling of overflow in vector<T>::resize
  11542. * [91]8399: sync_with_stdio(false) breaks unformatted input
  11543. * [92]8662: illegal access of private member of unnamed class is
  11544. accepted
  11545. * [93]8707: "make distclean" fails in libstdc++-v3 directory
  11546. * [94]8708: __USE_MALLOC doesn't work
  11547. * [95]8790: Use of non-thread-safe strtok in src/localename.cc
  11548. * [96]8887: Bug in date formats with --enable-clocale=generic
  11549. * [97]9076: Call Frame Instructions are not handled correctly during
  11550. unwind operation
  11551. * [98]9151: std::setprecision limited to 16 digits when outputting a
  11552. double to a stream
  11553. * [99]9168: codecvt<char, char, mbstate_t> overwrites output buffers
  11554. * [100]9269: libstdc++ headers: explicit specialization of function
  11555. must precede its first use
  11556. * [101]9322: return value of basic_streambuf<>::getloc affected by
  11557. locale::global
  11558. * [102]9433: segfault in runtime support for dynamic_cast
  11559. C and optimizer bugs
  11560. * [103]8032: GCC incorrectly initializes static structs that have
  11561. flexible arrays
  11562. * [104]8639: simple arithmetic expression broken
  11563. * [105]8794: optimization improperly eliminates certain expressions
  11564. * [106]8832: traditional "asm volatile" code is illegally optimized
  11565. * [107]8988: loop optimizer bug: with -O2, code is generated that
  11566. segfaults (found on i386, bug present for all platforms)
  11567. * [108]9492: structure copy clobbers subsequent stores to structure
  11568. Objective-C bugs
  11569. * [109]9267: Objective-C parser won't build with newer bison versions
  11570. (e.g. 1.875)
  11571. Ada bugs
  11572. * [110]8344: Ada build problem due to conflict between gcc/final.o,
  11573. gcc/ada/final.o
  11574. Preprocessor bugs
  11575. * [111]8524: _Pragma within macros is improperly expanded
  11576. * [112]8880: __WCHAR_TYPE__ macro incorrectly set to "long int" with
  11577. -fshort-wchar
  11578. ARM-specific
  11579. * [113]9090: arm ICE with >= -O2; regression from gcc-2.95
  11580. x86-specific (Intel/AMD)
  11581. * [114]8588: ICE in extract_insn, at recog.c:NNNN (shift instruction)
  11582. * [115]8599: loop unroll bug with -march=k6-3
  11583. * [116]9506: ABI breakage in structure return (affects BSD and
  11584. Cygwin, but not GNU/Linux)
  11585. FreeBSD 5.0 specific
  11586. * [117]9484: GCC 3.2.1 Bootstrap failure on FreeBSD 5.0
  11587. RTEMS-specific
  11588. * [118]9292: hppa1.1-rtems configurery problems
  11589. * [119]9293: [m68k-elf/rtems] config/m68k/t-crtstuff bug
  11590. * [120]9295: [mips-rtems] config/mips/rtems.h init/fini issue
  11591. * [121]9296: gthr-rtems regression
  11592. * [122]9316: powerpc-rtems: extending multilibs
  11593. HP-PA specific
  11594. * [123]9493: ICE with -O2 when building a simple function
  11595. Documentation
  11596. * [124]7341: hyperlink to gcov in GCC documentation doesn't work
  11597. * [125]8947: Please add a warning about "-malign-double" in docs
  11598. * [126]7448, [127]8882: typo cleanups
  11599. __________________________________________________________________
  11600. GCC 3.2.1
  11601. 3.2.1 adds a new warning, -Wabi. This option warns when GNU C++
  11602. generates code that is known not to be binary-compatible with the
  11603. vendor-neutral ia32/ia64 ABI. Please consult the GCC manual, included
  11604. in the distribution, for details.
  11605. This release also removes an old GCC extension, "naming types", and the
  11606. documentation now directs users to use a different GCC extension,
  11607. __typeof__, instead. The feature had evidently been broken for a while.
  11608. Otherwise, 3.2.1 is a bug fix release only; other than bug fixes and
  11609. the new warning there are no new features that were not present in GCC
  11610. 3.2.
  11611. In addition, the previous fix for [128]PR 7445 (poor performance of
  11612. std::locale::classic() in multi-threaded applications) was reverted
  11613. ("unfixed"), because the "fix" was not thread-safe.
  11614. Bug Fixes
  11615. This section lists the problem reports (PRs) from GCC's bug tracking
  11616. system that are known to be fixed in the 3.2.1 release. This list might
  11617. not be complete (that is, it is possible that some PRs that have been
  11618. fixed are not listed here). As you can see, the number of bug fixes is
  11619. quite large, so it is strongly recommended that users of earlier GCC
  11620. 3.x releases upgrade to GCC 3.2.1.
  11621. Internal Compiler Errors (multi-platform)
  11622. * [129]2521: (c++) ICE in build_ptrmemfunc, in cp/typeck.c
  11623. * [130]5661: (c++) ICE instantiating template on array of unknown
  11624. size (bad code)
  11625. * [131]6419: (c++) ICE in make_decl_rtl for "longest" attribute on
  11626. 64-bit platforms
  11627. * [132]6994: (c++) ICE in find_function_data
  11628. * [133]7150: preprocessor: GCC -dM -E gives an ICE
  11629. * [134]7160: ICE when optimizing branches without a return value
  11630. * [135]7228: (c++) ICE when using member template and template
  11631. function
  11632. * [136]7266: (c++) ICE with -pedantic on missing typename
  11633. * [137]7353: ICE from use of "Naming Types" extension, see above
  11634. * [138]7411: ICE in instantiate_virtual_regs_1, in function.c
  11635. * [139]7478: (c++) ICE on static_cast inside template
  11636. * [140]7526: preprocessor core dump when _Pragma implies #pragma
  11637. dependency
  11638. * [141]7721: (c++) ICE on simple (but incorrect) template ([142]7803
  11639. is a duplicate)
  11640. * [143]7754: (c++) ICE on union with template parameter
  11641. * [144]7788: (c++) redeclaring a definition as an incomplete class
  11642. causes ICE
  11643. * [145]8031: (c++) ICE in comptypes, in cp/typeck.c
  11644. * [146]8055: preprocessor dies with SIG11 when building FreeBSD
  11645. kernel
  11646. * [147]8067: (c++) ICE due to mishandling of __FUNCTION__ and related
  11647. variables
  11648. * [148]8134: (c++) ICE in force_store_init_value on legal code
  11649. * [149]8149: (c++) ICE on incomplete type
  11650. * [150]8160: (c++) ICE in build_modify_expr, in cp/typeck.c: array
  11651. initialization
  11652. C++ (compiler and library) bugs
  11653. * [151]5607: No pointer adjustment in covariant return types
  11654. * [152]6579: Infinite loop with statement expressions in member
  11655. initialization
  11656. * [153]6803: Default copy constructor bug in GCC 3.1
  11657. * [154]7176: g++ confused by friend and static member with same name
  11658. * [155]7188: Segfault with template class and recursive (incorrect)
  11659. initializer list
  11660. * [156]7306: Regression: GCC 3.x fails to compile code with virtual
  11661. inheritance if a method has a variable number of arguments
  11662. * [157]7461: ctype<char>::classic_table() returns offset array on
  11663. Cygwin
  11664. * [158]7524: f(const float arg[3]) fails
  11665. * [159]7584: Erroneous ambiguous base error on using declaration
  11666. * [160]7676: Member template overloading problem
  11667. * [161]7679: infinite loop when a right parenthesis is missing
  11668. * [162]7811: default locale not taken from environment
  11669. * [163]7961: compare( char *) implemented incorrectly in
  11670. basic_string<>
  11671. * [164]8071: basic_ostream::operator<<(streambuf*) loops forever if
  11672. streambuf::underflow() leaves gptr() NULL (dups: [165]8127,
  11673. [166]6745)
  11674. * [167]8096: deque::at() throws std::range_error instead of
  11675. std::out_of_range
  11676. * [168]8127: cout << cin.rdbuf() infinite loop
  11677. * [169]8218: Excessively large memory consumed for classes with large
  11678. array members
  11679. * [170]8287: GCC 3.2: Destructor called for non-constructed local
  11680. object
  11681. * [171]8347: empty vector range used in string construction causes
  11682. core dump
  11683. * [172]8348: fail() flag is set in istringstream when eof() flag is
  11684. set
  11685. * [173]8391: regression: infinite loop in cp/decl2.c(finish_file)
  11686. C and optimizer bugs
  11687. * [174]6627: -fno-align-functions doesn't seem to disable function
  11688. alignment
  11689. * [175]6631: life_analysis misoptimizes code to initialize fields of
  11690. a structure
  11691. * [176]7102: unsigned char division results in floating exception
  11692. * [177]7120: Run once loop should *always* be unrolled
  11693. (pessimization)
  11694. * [178]7209: Bug involving array referencing and ?: operator
  11695. * [179]7515: invalid inlining of global function with -O3
  11696. * [180]7814: incorrect scheduling for glibc-2.2.92 strcpy test
  11697. * [181]8467: bug in sibling call optimization
  11698. Preprocessor bugs
  11699. * [182]4890: incorrect line markers from the traditional preprocessor
  11700. * [183]7357: -M option omits system headers files (making it the same
  11701. as -MM)
  11702. * [184]7358: Changes to Sun's make Dependencies
  11703. * [185]7602: C++ header files found in CPLUS_INCLUDE_PATH treated as
  11704. C headers
  11705. * [186]7862: Interrupting GCC -MD removes .d file but not .o
  11706. * [187]8190: Failed compilation deletes -MD dependency file
  11707. * [188]8524: _Pragma within macro is improperly expanded
  11708. x86 specific (Intel/AMD)
  11709. * [189]5351: (i686-only) function pass-by-value structure copy
  11710. corrupts stack ([190]7591 is a duplicate)
  11711. * [191]6845, [192]7034, [193]7124, [194]7174: ICE's with
  11712. -march=pentium3/pentium2/athlon (these are all the same underlying
  11713. bug, in MMX register use)
  11714. * [195]7134, [196]7375, [197]7390: ICE with -march=athlon (maybe same
  11715. as above?)
  11716. * [198]6890: xmmintrin.h, _MM_TRANSPOSE4_PS is broken
  11717. * [199]6981: wrong code in 64-bit manipulation on x86
  11718. * [200]7242: GCC -mcpu=pentium[23] doesn't define __tune_pentiumpro__
  11719. macro
  11720. * [201]7396: ix86: cmpgt_ss, cmpge_ss, cmpngt_ss, and cmpnge_ss SSE
  11721. intrinsics are broken
  11722. * [202]7630: GCC 3.2 breaks on Mozilla 1.0's JS sources with
  11723. -march=pentium4
  11724. * [203]7693: Typo in i386 mmintrin.h header
  11725. * [204]7723: ICE - Pentium3 sse - GCC 3.2
  11726. * [205]7951: ICE on -march=pentium4 -O2 -mfpmath=sse
  11727. * [206]8146: (i686 only) gcc 3.2 miscompiles gcc 2.95.3
  11728. PowerPC specific
  11729. * [207]5967: GCC bug when profiling nested functions on powerpc
  11730. * [208]6984: wrong code generated with -O2, -O3, -Os for do-while
  11731. loop on PowerPC
  11732. * [209]7114: PowerPC: ICE building strcoll.op from glibc-2.2.5
  11733. * [210]7130: miscompiled code for GCC-3.1 on
  11734. powerpc-unknown-linux-gnu with -funroll-all-loops
  11735. * [211]7133: PowerPC ICE: unrecognizable insn
  11736. * [212]7380: ICE in extract_insn, at recog.c:2148
  11737. * [213]8252: ICE on Altivec code with optimization turned on
  11738. * [214]8451: Altivec ICE in GCC 3.2
  11739. HP/PA specific
  11740. * [215]7250: __ashrdi3 returns wrong value on 32 bit hppa
  11741. SPARC specific
  11742. * [216]6668: when using --disable-multilib, libgcc_s.so is installed
  11743. in the wrong place on sparc-solaris
  11744. * [217]7151: ICE when compiling for UltraSPARC
  11745. * [218]7335: SPARC: ICE in verify_wide_reg (flow.c:557) with long
  11746. double and -O1
  11747. * [219]7842: [REGRESSION] SPARC code gen bug
  11748. ARM specific
  11749. * [220]7856: [arm] invalid offset in constant pool reference
  11750. * [221]7967: optimization produces wrong code (ARM)
  11751. Alpha specific
  11752. * [222]7374: __builtin_fabsl broken on alpha
  11753. IBM s390 specific
  11754. * [223]7370: ICE in fixup_var_refs_1 on s390x
  11755. * [224]7409: loop optimization bug on s390x-linux-gnu
  11756. * [225]8232: s390x: ICE when using bcmp with int length argument
  11757. SCO specific
  11758. * [226]7623: SCO OpenServer build fails with machmode.def: undefined
  11759. symbol: BITS_PER_UNIT
  11760. m68k/Coldfire specific
  11761. * [227]8314: crtbegin, crtend need to be multilib'ed for this
  11762. platform
  11763. Documentation
  11764. * [228]761: Document some undocumented options
  11765. * [229]5610: Fix documentation about invoking SSE instructions
  11766. (-mfpmath=sse)
  11767. * [230]7484: List -Wmissing-declarations as C-only option
  11768. * [231]7531: -mcmodel not documented for x86-64
  11769. * [232]8120: Update documentation of bad use of ##
  11770. __________________________________________________________________
  11771. GCC 3.2
  11772. 3.2 is a small bug fix release, but there is a change to the
  11773. application binary interface (ABI), hence the change to the second part
  11774. of the version number.
  11775. The main purpose of the 3.2 release is to correct a couple of problems
  11776. in the C++ ABI, with the intention of providing a stable interface
  11777. going forward. Accordingly, 3.2 is only a small change to 3.1.1.
  11778. Bug Fixes
  11779. C++
  11780. * [233]7320: g++ 3.2 relocation problem
  11781. * [234]7470: vtable: virtual function pointers not in declaration
  11782. order
  11783. libstdc++
  11784. * [235]6410: Trouble with non-ASCII monetary symbols and wchar_t
  11785. * [236]6503, [237]6642, [238]7186: Problems with comparing or
  11786. subtracting various types of const and non-const iterators
  11787. * [239]7216: ambiguity with basic_iostream::traits_type
  11788. * [240]7220: problem with basic_istream::ignore(0,delimiter)
  11789. * [241]7222: locale::operator==() doesn't work on std::locale("")
  11790. * [242]7286: placement operator delete issue
  11791. * [243]7442: cxxabi.h does not match the C++ ABI
  11792. * [244]7445: poor performance of std::locale::classic() in
  11793. multi-threaded applications
  11794. x86-64 specific
  11795. * [245]7291: off-by-one in generated inline bzero code for x86-64
  11796. For questions related to the use of GCC, please consult these web
  11797. pages and the [246]GCC manuals. If that fails, the
  11798. [247]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  11799. web pages and the development of GCC are welcome on our developer
  11800. list at [248]gcc@gcc.gnu.org. All of [249]our lists have public
  11801. archives.
  11802. Copyright (C) [250]Free Software Foundation, Inc. Verbatim copying and
  11803. distribution of this entire article is permitted in any medium,
  11804. provided this notice is preserved.
  11805. These pages are [251]maintained by the GCC team. Last modified
  11806. 2014-06-27[252].
  11807. References
  11808. 1. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.3
  11809. 2. http://gcc.gnu.org/gcc-3.1/changes.html
  11810. 3. http://gcc.gnu.org/gcc-3.2/c++-abi.html
  11811. 4. https://gcc.gnu.org/PR3782
  11812. 5. https://gcc.gnu.org/PR6440
  11813. 6. https://gcc.gnu.org/PR7050
  11814. 7. https://gcc.gnu.org/PR7741
  11815. 8. https://gcc.gnu.org/PR7982
  11816. 9. https://gcc.gnu.org/PR8068
  11817. 10. https://gcc.gnu.org/PR8178
  11818. 11. https://gcc.gnu.org/PR8396
  11819. 12. https://gcc.gnu.org/PR8674
  11820. 13. https://gcc.gnu.org/PR9768
  11821. 14. https://gcc.gnu.org/PR9798
  11822. 15. https://gcc.gnu.org/PR9799
  11823. 16. https://gcc.gnu.org/PR9928
  11824. 17. https://gcc.gnu.org/PR10114
  11825. 18. https://gcc.gnu.org/PR10352
  11826. 19. https://gcc.gnu.org/PR10336
  11827. 20. https://gcc.gnu.org/PR8224
  11828. 21. https://gcc.gnu.org/PR8613
  11829. 22. https://gcc.gnu.org/PR8828
  11830. 23. https://gcc.gnu.org/PR9226
  11831. 24. https://gcc.gnu.org/PR9853
  11832. 25. https://gcc.gnu.org/PR9797
  11833. 26. https://gcc.gnu.org/PR9967
  11834. 27. https://gcc.gnu.org/PR10116
  11835. 28. https://gcc.gnu.org/PR10171
  11836. 29. https://gcc.gnu.org/PR10175
  11837. 30. https://gcc.gnu.org/PR8316
  11838. 31. https://gcc.gnu.org/PR9169
  11839. 32. https://gcc.gnu.org/PR9420
  11840. 33. https://gcc.gnu.org/PR9459
  11841. 34. https://gcc.gnu.org/PR9507
  11842. 35. https://gcc.gnu.org/PR9538
  11843. 36. https://gcc.gnu.org/PR9602
  11844. 37. https://gcc.gnu.org/PR9993
  11845. 38. https://gcc.gnu.org/PR10167
  11846. 39. https://gcc.gnu.org/PR9652
  11847. 40. https://gcc.gnu.org/PR10144
  11848. 41. https://gcc.gnu.org/PR8746
  11849. 42. https://gcc.gnu.org/PR9888
  11850. 43. https://gcc.gnu.org/PR9638
  11851. 44. https://gcc.gnu.org/PR9954
  11852. 45. https://gcc.gnu.org/PR7784
  11853. 46. https://gcc.gnu.org/PR7796
  11854. 47. https://gcc.gnu.org/PR8281
  11855. 48. https://gcc.gnu.org/PR8366
  11856. 49. https://gcc.gnu.org/PR8726
  11857. 50. https://gcc.gnu.org/PR9414
  11858. 51. https://gcc.gnu.org/PR10067
  11859. 52. https://gcc.gnu.org/PR7248
  11860. 53. https://gcc.gnu.org/PR8343
  11861. 54. https://gcc.gnu.org/PR9732
  11862. 55. https://gcc.gnu.org/PR10073
  11863. 56. https://gcc.gnu.org/PR7702
  11864. 57. https://gcc.gnu.org/PR9671
  11865. 58. https://gcc.gnu.org/PR8694
  11866. 59. https://gcc.gnu.org/PR9953
  11867. 60. https://gcc.gnu.org/PR10271
  11868. 61. https://gcc.gnu.org/PR6362
  11869. 62. https://gcc.gnu.org/PR10377
  11870. 63. https://gcc.gnu.org/PR6955
  11871. 64. https://gcc.gnu.org/PR5919
  11872. 65. https://gcc.gnu.org/PR7129
  11873. 66. https://gcc.gnu.org/PR7507
  11874. 67. https://gcc.gnu.org/PR7622
  11875. 68. https://gcc.gnu.org/PR7681
  11876. 69. https://gcc.gnu.org/PR9528
  11877. 70. https://gcc.gnu.org/PR8031
  11878. 71. https://gcc.gnu.org/PR8275
  11879. 72. https://gcc.gnu.org/PR8332
  11880. 73. https://gcc.gnu.org/PR8372
  11881. 74. https://gcc.gnu.org/PR8439
  11882. 75. https://gcc.gnu.org/PR8442
  11883. 76. https://gcc.gnu.org/PR8518
  11884. 77. https://gcc.gnu.org/PR8615
  11885. 78. https://gcc.gnu.org/PR8663
  11886. 79. https://gcc.gnu.org/PR8799
  11887. 80. https://gcc.gnu.org/PR9328
  11888. 81. https://gcc.gnu.org/PR9465
  11889. 82. https://gcc.gnu.org/PR47
  11890. 83. https://gcc.gnu.org/PR6745
  11891. 84. https://gcc.gnu.org/PR8214
  11892. 85. https://gcc.gnu.org/PR8493
  11893. 86. https://gcc.gnu.org/PR8332
  11894. 87. https://gcc.gnu.org/PR8503
  11895. 88. https://gcc.gnu.org/PR8727
  11896. 89. https://gcc.gnu.org/PR7445
  11897. 90. https://gcc.gnu.org/PR8230
  11898. 91. https://gcc.gnu.org/PR8399
  11899. 92. https://gcc.gnu.org/PR8662
  11900. 93. https://gcc.gnu.org/PR8707
  11901. 94. https://gcc.gnu.org/PR8708
  11902. 95. https://gcc.gnu.org/PR8790
  11903. 96. https://gcc.gnu.org/PR8887
  11904. 97. https://gcc.gnu.org/PR9076
  11905. 98. https://gcc.gnu.org/PR9151
  11906. 99. https://gcc.gnu.org/PR9168
  11907. 100. https://gcc.gnu.org/PR9269
  11908. 101. https://gcc.gnu.org/PR9322
  11909. 102. https://gcc.gnu.org/PR9433
  11910. 103. https://gcc.gnu.org/PR8032
  11911. 104. https://gcc.gnu.org/PR8639
  11912. 105. https://gcc.gnu.org/PR8794
  11913. 106. https://gcc.gnu.org/PR8832
  11914. 107. https://gcc.gnu.org/PR8988
  11915. 108. https://gcc.gnu.org/PR9492
  11916. 109. https://gcc.gnu.org/PR9267
  11917. 110. https://gcc.gnu.org/PR8344
  11918. 111. https://gcc.gnu.org/PR8524
  11919. 112. https://gcc.gnu.org/PR8880
  11920. 113. https://gcc.gnu.org/PR9090
  11921. 114. https://gcc.gnu.org/PR8588
  11922. 115. https://gcc.gnu.org/PR8599
  11923. 116. https://gcc.gnu.org/PR9506
  11924. 117. https://gcc.gnu.org/PR9484
  11925. 118. https://gcc.gnu.org/PR9292
  11926. 119. https://gcc.gnu.org/PR9293
  11927. 120. https://gcc.gnu.org/PR9295
  11928. 121. https://gcc.gnu.org/PR9296
  11929. 122. https://gcc.gnu.org/PR9316
  11930. 123. https://gcc.gnu.org/PR9493
  11931. 124. https://gcc.gnu.org/PR7341
  11932. 125. https://gcc.gnu.org/PR8947
  11933. 126. https://gcc.gnu.org/PR7448
  11934. 127. https://gcc.gnu.org/PR8882
  11935. 128. https://gcc.gnu.org/PR7445
  11936. 129. https://gcc.gnu.org/PR2521
  11937. 130. https://gcc.gnu.org/PR5661
  11938. 131. https://gcc.gnu.org/PR6419
  11939. 132. https://gcc.gnu.org/PR6994
  11940. 133. https://gcc.gnu.org/PR7150
  11941. 134. https://gcc.gnu.org/PR7160
  11942. 135. https://gcc.gnu.org/PR7228
  11943. 136. https://gcc.gnu.org/PR7266
  11944. 137. https://gcc.gnu.org/PR7353
  11945. 138. https://gcc.gnu.org/PR7411
  11946. 139. https://gcc.gnu.org/PR7478
  11947. 140. https://gcc.gnu.org/PR7526
  11948. 141. https://gcc.gnu.org/PR7721
  11949. 142. https://gcc.gnu.org/PR7803
  11950. 143. https://gcc.gnu.org/PR7754
  11951. 144. https://gcc.gnu.org/PR7788
  11952. 145. https://gcc.gnu.org/PR8031
  11953. 146. https://gcc.gnu.org/PR8055
  11954. 147. https://gcc.gnu.org/PR8067
  11955. 148. https://gcc.gnu.org/PR8134
  11956. 149. https://gcc.gnu.org/PR8149
  11957. 150. https://gcc.gnu.org/PR8160
  11958. 151. https://gcc.gnu.org/PR5607
  11959. 152. https://gcc.gnu.org/PR6579
  11960. 153. https://gcc.gnu.org/PR6803
  11961. 154. https://gcc.gnu.org/PR7176
  11962. 155. https://gcc.gnu.org/PR7188
  11963. 156. https://gcc.gnu.org/PR7306
  11964. 157. https://gcc.gnu.org/PR7461
  11965. 158. https://gcc.gnu.org/PR7524
  11966. 159. https://gcc.gnu.org/PR7584
  11967. 160. https://gcc.gnu.org/PR7676
  11968. 161. https://gcc.gnu.org/PR7679
  11969. 162. https://gcc.gnu.org/PR7811
  11970. 163. https://gcc.gnu.org/PR7961
  11971. 164. https://gcc.gnu.org/PR8071
  11972. 165. https://gcc.gnu.org/PR8127
  11973. 166. https://gcc.gnu.org/PR6745
  11974. 167. https://gcc.gnu.org/PR8096
  11975. 168. https://gcc.gnu.org/PR8127
  11976. 169. https://gcc.gnu.org/PR8218
  11977. 170. https://gcc.gnu.org/PR8287
  11978. 171. https://gcc.gnu.org/PR8347
  11979. 172. https://gcc.gnu.org/PR8348
  11980. 173. https://gcc.gnu.org/PR8391
  11981. 174. https://gcc.gnu.org/PR6627
  11982. 175. https://gcc.gnu.org/PR6631
  11983. 176. https://gcc.gnu.org/PR7102
  11984. 177. https://gcc.gnu.org/PR7120
  11985. 178. https://gcc.gnu.org/PR7209
  11986. 179. https://gcc.gnu.org/PR7515
  11987. 180. https://gcc.gnu.org/PR7814
  11988. 181. https://gcc.gnu.org/PR8467
  11989. 182. https://gcc.gnu.org/PR4890
  11990. 183. https://gcc.gnu.org/PR7357
  11991. 184. https://gcc.gnu.org/PR7358
  11992. 185. https://gcc.gnu.org/PR7602
  11993. 186. https://gcc.gnu.org/PR7862
  11994. 187. https://gcc.gnu.org/PR8190
  11995. 188. https://gcc.gnu.org/PR8524
  11996. 189. https://gcc.gnu.org/PR5351
  11997. 190. https://gcc.gnu.org/PR7591
  11998. 191. https://gcc.gnu.org/PR6845
  11999. 192. https://gcc.gnu.org/PR7034
  12000. 193. https://gcc.gnu.org/PR7124
  12001. 194. https://gcc.gnu.org/PR7174
  12002. 195. https://gcc.gnu.org/PR7134
  12003. 196. https://gcc.gnu.org/PR7375
  12004. 197. https://gcc.gnu.org/PR7390
  12005. 198. https://gcc.gnu.org/PR6890
  12006. 199. https://gcc.gnu.org/PR6981
  12007. 200. https://gcc.gnu.org/PR7242
  12008. 201. https://gcc.gnu.org/PR7396
  12009. 202. https://gcc.gnu.org/PR7630
  12010. 203. https://gcc.gnu.org/PR7693
  12011. 204. https://gcc.gnu.org/PR7723
  12012. 205. https://gcc.gnu.org/PR7951
  12013. 206. https://gcc.gnu.org/PR8146
  12014. 207. https://gcc.gnu.org/PR5967
  12015. 208. https://gcc.gnu.org/PR6984
  12016. 209. https://gcc.gnu.org/PR7114
  12017. 210. https://gcc.gnu.org/PR7130
  12018. 211. https://gcc.gnu.org/PR7133
  12019. 212. https://gcc.gnu.org/PR7380
  12020. 213. https://gcc.gnu.org/PR8252
  12021. 214. https://gcc.gnu.org/PR8451
  12022. 215. https://gcc.gnu.org/PR7250
  12023. 216. https://gcc.gnu.org/PR6668
  12024. 217. https://gcc.gnu.org/PR7151
  12025. 218. https://gcc.gnu.org/PR7335
  12026. 219. https://gcc.gnu.org/PR7842
  12027. 220. https://gcc.gnu.org/PR7856
  12028. 221. https://gcc.gnu.org/PR7967
  12029. 222. https://gcc.gnu.org/PR7374
  12030. 223. https://gcc.gnu.org/PR7370
  12031. 224. https://gcc.gnu.org/PR7409
  12032. 225. https://gcc.gnu.org/PR8232
  12033. 226. https://gcc.gnu.org/PR7623
  12034. 227. https://gcc.gnu.org/PR8314
  12035. 228. https://gcc.gnu.org/PR761
  12036. 229. https://gcc.gnu.org/PR5610
  12037. 230. https://gcc.gnu.org/PR7484
  12038. 231. https://gcc.gnu.org/PR7531
  12039. 232. https://gcc.gnu.org/PR8120
  12040. 233. https://gcc.gnu.org/PR7320
  12041. 234. https://gcc.gnu.org/PR7470
  12042. 235. https://gcc.gnu.org/PR6410
  12043. 236. https://gcc.gnu.org/PR6503
  12044. 237. https://gcc.gnu.org/PR6642
  12045. 238. https://gcc.gnu.org/PR7186
  12046. 239. https://gcc.gnu.org/PR7216
  12047. 240. https://gcc.gnu.org/PR7220
  12048. 241. https://gcc.gnu.org/PR7222
  12049. 242. https://gcc.gnu.org/PR7286
  12050. 243. https://gcc.gnu.org/PR7442
  12051. 244. https://gcc.gnu.org/PR7445
  12052. 245. https://gcc.gnu.org/PR7291
  12053. 246. https://gcc.gnu.org/onlinedocs/
  12054. 247. mailto:gcc-help@gcc.gnu.org
  12055. 248. mailto:gcc@gcc.gnu.org
  12056. 249. https://gcc.gnu.org/lists.html
  12057. 250. http://www.fsf.org/
  12058. 251. https://gcc.gnu.org/about.html
  12059. 252. http://validator.w3.org/check/referer
  12060. ======================================================================
  12061. http://gcc.gnu.org/gcc-3.1/index.html
  12062. GCC 3.1
  12063. July 27, 2002
  12064. The [1]GNU project and the GCC developers are pleased to announce the
  12065. release of GCC 3.1.1.
  12066. The links below still apply to GCC 3.1.1.
  12067. May 15, 2002
  12068. The [2]GNU project and the GCC developers are pleased to announce the
  12069. release of GCC 3.1.
  12070. GCC used to stand for the GNU C Compiler, but since the compiler
  12071. supports several other languages aside from C, it now stands for the
  12072. GNU Compiler Collection.
  12073. A list of [3]successful builds is updated as new information becomes
  12074. available.
  12075. The GCC developers would like to thank the numerous people that have
  12076. contributed [4]new features, improvements, bug fixes, and other changes
  12077. as well as test results to GCC. This [5]amazing group of volunteers is
  12078. what makes GCC successful.
  12079. For additional information about GCC please refer to the [6]GCC project
  12080. web site or contact the [7]GCC development mailing list.
  12081. To obtain GCC please use [8]our mirror sites, or our CVS server.
  12082. __________________________________________________________________
  12083. For questions related to the use of GCC, please consult these web
  12084. pages and the [9]GCC manuals. If that fails, the
  12085. [10]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  12086. web pages and the development of GCC are welcome on our developer
  12087. list at [11]gcc@gcc.gnu.org. All of [12]our lists have public
  12088. archives.
  12089. Copyright (C) [13]Free Software Foundation, Inc. Verbatim copying and
  12090. distribution of this entire article is permitted in any medium,
  12091. provided this notice is preserved.
  12092. These pages are [14]maintained by the GCC team. Last modified
  12093. 2014-06-28[15].
  12094. References
  12095. 1. http://www.gnu.org/
  12096. 2. http://www.gnu.org/
  12097. 3. http://gcc.gnu.org/gcc-3.1/buildstat.html
  12098. 4. http://gcc.gnu.org/gcc-3.1/changes.html
  12099. 5. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  12100. 6. http://gcc.gnu.org/index.html
  12101. 7. mailto:gcc@gcc.gnu.org
  12102. 8. http://gcc.gnu.org/mirrors.html
  12103. 9. https://gcc.gnu.org/onlinedocs/
  12104. 10. mailto:gcc-help@gcc.gnu.org
  12105. 11. mailto:gcc@gcc.gnu.org
  12106. 12. https://gcc.gnu.org/lists.html
  12107. 13. http://www.fsf.org/
  12108. 14. https://gcc.gnu.org/about.html
  12109. 15. http://validator.w3.org/check/referer
  12110. ======================================================================
  12111. http://gcc.gnu.org/gcc-3.1/changes.html
  12112. GCC 3.1 Release Series
  12113. Changes, New Features, and Fixes
  12114. Additional changes in GCC 3.1.1
  12115. * A bug related to how structures and unions are returned has been
  12116. fixed for powerpc-*-netbsd*.
  12117. * An important bug in the implementation of -fprefetch-loop-arrays
  12118. has been fixed. Previously the optimization prefetched random
  12119. blocks of memory for most targets except for i386.
  12120. * The Java compiler now compiles Java programs much faster and also
  12121. works with parallel make.
  12122. * Nested functions have been fixed for mips*-*-netbsd*.
  12123. * Some missing floating point support routines have beed added for
  12124. mips*-*-netbsd*.
  12125. * This [1]message gives additional information about the bugs fixed
  12126. in this release.
  12127. Caveats
  12128. * The -traditional C compiler option has been deprecated and will be
  12129. removed in GCC 3.3. (It remains possible to preprocess non-C code
  12130. with the traditional preprocessor.)
  12131. * The default debugging format for most ELF platforms (including
  12132. GNU/Linux and FreeBSD; notable exception is Solaris) has changed
  12133. from stabs to DWARF2. This requires GDB 5.1.1 or later.
  12134. General Optimizer Improvements
  12135. * Jan Hubicka, SuSE Labs, together with Richard Henderson, Red Hat,
  12136. and Andreas Jaeger, SuSE Labs, has contributed [2]infrastructure
  12137. for profile driven optimizations.
  12138. Options -fprofile-arcs and -fbranch-probabilities can now be used
  12139. to improve speed of the generated code by profiling the actual
  12140. program behaviour on typical runs. In the absence of profile info
  12141. the compiler attempts to guess the profile statically.
  12142. * [3]SPEC2000 and SPEC95 benchmark suites are now used daily to
  12143. monitor performance of the generated code.
  12144. According to the SPECInt2000 results on an AMD Athlon CPU, the code
  12145. generated by GCC 3.1 is 6% faster on the average (8.2% faster with
  12146. profile feedback) compared to GCC 3.0. The code produced by GCC 3.0
  12147. is about 2.1% faster compared to 2.95.3. Tests were done using the
  12148. -O2 -march=athlon command-line options.
  12149. * Alexandre Oliva, of Red Hat, has generalized the tree inlining
  12150. infrastructure developed by CodeSourcery, LLC for the C++ front
  12151. end, so that it is now used in the C front end too. Inlining
  12152. functions as trees exposes them earlier to the compiler, giving it
  12153. more opportunities for optimization.
  12154. * Support for data prefetching instructions has been added to the GCC
  12155. back end and several targets. A new __builtin_prefetch intrinsic is
  12156. available to explicitly insert prefetch instructions and
  12157. experimental support for loop array prefetching has been added (see
  12158. -fprefetch-loop-array documentation).
  12159. * Support for emitting debugging information for macros has been
  12160. added for DWARF2. It is activated using -g3.
  12161. New Languages and Language specific improvements
  12162. C/C++
  12163. * A few more [4]ISO C99 features.
  12164. * The preprocessor is 10-50% faster than the preprocessor in GCC 3.0.
  12165. * The preprocessor's symbol table has been merged with the symbol
  12166. table of the C, C++ and Objective-C front ends.
  12167. * The preprocessor consumes less memory than the preprocessor in GCC
  12168. 3.0, often significantly so. On normal input files, it typically
  12169. consumes less memory than pre-3.0 cccp-based GCC, too.
  12170. C++
  12171. * -fhonor-std and -fno-honor-std have been removed. -fno-honor-std
  12172. was a workaround to allow std compliant code to work with the
  12173. non-std compliant libstdc++-v2. libstdc++-v3 is std compliant.
  12174. * The C++ ABI has been fixed so that void (A::*)() const is mangled
  12175. as "M1AKFvvE", rather than "MK1AFvvE" as before. This change only
  12176. affects pointer to cv-qualified member function types.
  12177. * The C++ ABI has been changed to correctly handle this code:
  12178. struct A {
  12179. void operator delete[] (void *, size_t);
  12180. };
  12181. struct B : public A {
  12182. };
  12183. new B[10];
  12184. The amount of storage allocated for the array will be greater than
  12185. it was in 3.0, in order to store the number of elements in the
  12186. array, so that the correct size can be passed to operator delete[]
  12187. when the array is deleted. Previously, the value passed to operator
  12188. delete[] was unpredictable.
  12189. This change will only affect code that declares a two-argument
  12190. operator delete[] with a second parameter of type size_t in a base
  12191. class, and does not override that definition in a derived class.
  12192. * The C++ ABI has been changed so that:
  12193. struct A {
  12194. void operator delete[] (void *, size_t);
  12195. void operator delete[] (void *);
  12196. };
  12197. does not cause unnecessary storage to be allocated when an array of
  12198. A objects is allocated.
  12199. This change will only affect code that declares both of these forms
  12200. of operator delete[], and declared the two-argument form before the
  12201. one-argument form.
  12202. * The C++ ABI has been changed so that when a parameter is passed by
  12203. value, any cleanup for that parameter is performed in the caller,
  12204. as specified by the ia64 C++ ABI, rather than the called function
  12205. as before. As a result, classes with a non-trivial destructor but a
  12206. trivial copy constructor will be passed and returned by invisible
  12207. reference, rather than by bitwise copy as before.
  12208. * G++ now supports the "named return value optimization": for code
  12209. like
  12210. A f () {
  12211. A a;
  12212. ...
  12213. return a;
  12214. }
  12215. G++ will allocate a in the return value slot, so that the return
  12216. becomes a no-op. For this to work, all return statements in the
  12217. function must return the same variable.
  12218. * Improvements to the C++ library are listed in [5]the libstdc++-v3
  12219. FAQ.
  12220. Objective-C
  12221. * Annoying linker warnings (due to incorrect code being generated)
  12222. have been fixed.
  12223. * If a class method cannot be found, the compiler no longer issues a
  12224. warning if a corresponding instance method exists in the root
  12225. class.
  12226. * Forward @protocol declarations have been fixed.
  12227. * Loading of categories has been fixed in certain situations (GNU run
  12228. time only).
  12229. * The class lookup in the run-time library has been rewritten so that
  12230. class method dispatch is more than twice as fast as it used to be
  12231. (GNU run time only).
  12232. Java
  12233. * libgcj now includes RMI, java.lang.ref.*, javax.naming, and
  12234. javax.transaction.
  12235. * Property files and other system resources can be compiled into
  12236. executables which use libgcj using the new gcj --resource feature.
  12237. * libgcj has been ported to more platforms. In particular there is
  12238. now a mostly-functional mingw32 (Windows) target port.
  12239. * JNI and CNI invocation interfaces were implemented, so gcj-compiled
  12240. Java code can now be called from a C/C++ application.
  12241. * gcj can now use builtin functions for certain known methods, for
  12242. instance Math.cos.
  12243. * gcj can now automatically remove redundant array-store checks in
  12244. some common cases.
  12245. * The --no-store-checks optimization option was added. This can be
  12246. used to omit runtime store checks for code which is known not to
  12247. throw ArrayStoreException
  12248. * The following third party interface standards were added to libgcj:
  12249. org.w3c.dom and org.xml.sax.
  12250. * java.security has been merged with GNU Classpath. The new package
  12251. is now JDK 1.2 compliant, and much more complete.
  12252. * A bytecode verifier was added to the libgcj interpreter.
  12253. * java.lang.Character was rewritten to comply with the Unicode 3.0
  12254. standard, and improve performance.
  12255. * Partial support for many more locales was added to libgcj.
  12256. * Socket timeouts have been implemented.
  12257. * libgcj has been merged into a single shared library. There are no
  12258. longer separate shared libraries for the garbage collector and
  12259. zlib.
  12260. * Several performance improvements were made to gcj and libgcj:
  12261. + Hash synchronization (thin locks)
  12262. + A special allocation path for finalizer-free objects
  12263. + Thread-local allocation
  12264. + Parallel GC, and other GC tweaks
  12265. Fortran
  12266. Fortran improvements are listed in [6]the Fortran documentation.
  12267. Ada
  12268. [7]Ada Core Technologies, Inc, has contributed its GNAT Ada 95 front
  12269. end and associated tools. The GNAT compiler fully implements the Ada
  12270. language as defined by the ISO/IEC 8652 standard.
  12271. Please note that the integration of the Ada front end is still work in
  12272. progress.
  12273. New Targets and Target Specific Improvements
  12274. * Hans-Peter Nilsson has contributed a port to [8]MMIX, the CPU
  12275. architecture used in new editions of Donald E. Knuth's The Art of
  12276. Computer Programming.
  12277. * [9]Axis Communications has contributed its port to the CRIS CPU
  12278. architecture, used in the ETRAX system-on-a-chip series. See
  12279. [10]Axis' developer site for technical information.
  12280. * Alexandre Oliva, of Red Hat, has contributed a port to the
  12281. [11]SuperH SH5 64-bit RISC microprocessor architecture, extending
  12282. the existing SH port.
  12283. * UltraSPARC is fully supported in 64-bit mode. The option -m64
  12284. enables it.
  12285. * For compatibility with the Sun compiler #pragma redefine_extname
  12286. has been implemented on Solaris.
  12287. * The x86 back end has had some noticeable work done to it.
  12288. + SuSE Labs developers Jan Hubicka, Bo Thorsen and Andreas
  12289. Jaeger have contributed a port to the AMD x86-64 architecture.
  12290. For more information on x86-64 see [12]http://www.x86-64.org.
  12291. + The compiler now supports MMX, 3DNow!, SSE, and SSE2
  12292. instructions. Options -mmmx, -m3dnow, -msse, and -msse2 will
  12293. enable the respective instruction sets. Intel C++ compatible
  12294. MMX/3DNow!/SSE intrinsics are implemented. SSE2 intrinsics
  12295. will be added in next major release.
  12296. + Following those improvements, targets for Pentium MMX, K6-2,
  12297. K6-3, Pentium III, Pentium 4, and Athlon 4 Mobile/XP/MP were
  12298. added. Refer to the documentation on -march= and -mcpu=
  12299. options for details.
  12300. + For those targets that support it, -mfpmath=sse will cause the
  12301. compiler to generate SSE/SSE2 instructions for floating point
  12302. math instead of x87 instructions. Usually, this will lead to
  12303. quicker code -- especially on the Pentium 4. Note that only
  12304. scalar floating point instructions are used and GCC does not
  12305. exploit SIMD features yet.
  12306. + Prefetch support has been added to the Pentium III, Pentium 4,
  12307. K6-2, K6-3, and Athlon series.
  12308. + Code generated for floating point to integer conversions has
  12309. been improved leading to better performance of many 3D
  12310. applications.
  12311. * The PowerPC back end has added 64-bit PowerPC GNU/Linux support.
  12312. * C++ support for AIX has been improved.
  12313. * Aldy Hernandez, of Red Hat, Inc, has contributed extensions to the
  12314. PowerPC port supporting the AltiVec programming model (SIMD). The
  12315. support, though presently useful, is experimental and is expected
  12316. to stabilize for 3.2. The support is written to conform to
  12317. Motorola's AltiVec specs. See -maltivec.
  12318. Obsolete Systems
  12319. Support for a number of older systems has been declared obsolete in GCC
  12320. 3.1. Unless there is activity to revive them, the next release of GCC
  12321. will have their sources permanently removed.
  12322. All configurations of the following processor architectures have been
  12323. declared obsolete:
  12324. * MIL-STD-1750A, 1750a-*-*
  12325. * AMD A29k, a29k-*-*
  12326. * Convex, c*-convex-*
  12327. * Clipper, clipper-*-*
  12328. * Elxsi, elxsi-*-*
  12329. * Intel i860, i860-*-*
  12330. * Sun picoJava, pj-*-* and pjl-*-*
  12331. * Western Electric 32000, we32k-*-*
  12332. Most configurations of the following processor architectures have been
  12333. declared obsolete, but we are preserving a few systems which may have
  12334. active developers. It is unlikely that the remaining systems will
  12335. survive much longer unless we see definite signs of port activity.
  12336. * Motorola 88000 except
  12337. + Generic a.out, m88k-*-aout*
  12338. + Generic SVR4, m88k-*-sysv4
  12339. + OpenBSD, m88k-*-openbsd*
  12340. * NS32k except
  12341. + NetBSD, ns32k-*-netbsd*
  12342. + OpenBSD, ns32k-*-openbsd*.
  12343. * ROMP except
  12344. + OpenBSD, romp-*-openbsd*.
  12345. Finally, only some configurations of these processor architectures are
  12346. being obsoleted.
  12347. * Alpha:
  12348. + OSF/1, alpha*-*-osf[123]*. (Digital Unix and Tru64 Unix, aka
  12349. alpha*-*-osf[45], are still supported.)
  12350. * ARM:
  12351. + RISCiX, arm-*-riscix*.
  12352. * i386:
  12353. + 386BSD, i?86-*-bsd*
  12354. + Chorus, i?86-*-chorusos*
  12355. + DG/UX, i?86-*-dgux*
  12356. + FreeBSD 1.x, i?86-*-freebsd1.*
  12357. + IBM AIX, i?86-*-aix*
  12358. + ISC UNIX, i?86-*-isc*
  12359. + GNU/Linux with pre-BFD linker, i?86-*-linux*oldld*
  12360. + NEXTstep, i?86-next-*
  12361. + OSF UNIX, i?86-*-osf1* and i?86-*-osfrose*
  12362. + RTEMS/coff, i?86-*-rtemscoff*
  12363. + RTEMS/go32, i?86-go32-rtems*
  12364. + Sequent/BSD, i?86-sequent-bsd*
  12365. + Sequent/ptx before version 3, i?86-sequent-ptx[12]* and
  12366. i?86-sequent-sysv3*
  12367. + SunOS, i?86-*-sunos*
  12368. * Motorola 68000:
  12369. + Altos, m68[k0]*-altos-*
  12370. + Apollo, m68[k0]*-apollo-*
  12371. + Apple A/UX, m68[k0]*-apple-*
  12372. + Bull, m68[k0]*-bull-*
  12373. + Convergent, m68[k0]*-convergent-*
  12374. + Generic SVR3, m68[k0]*-*-sysv3*
  12375. + ISI, m68[k0]*-isi-*
  12376. + LynxOS, m68[k0]*-*-lynxos*
  12377. + NEXT, m68[k0]*-next-*
  12378. + RTEMS/coff, m68[k0]*-*-rtemscoff*
  12379. + Sony, m68[k0]*-sony-*
  12380. * MIPS:
  12381. + DEC Ultrix, mips-*-ultrix* and mips-dec-*
  12382. + Generic BSD, mips-*-bsd*
  12383. + Generic System V, mips-*-sysv*
  12384. + IRIX before version 5, mips-sgi-irix[1234]*
  12385. + RiscOS, mips-*-riscos*
  12386. + Sony, mips-sony-*
  12387. + Tandem, mips-tandem-*
  12388. * SPARC:
  12389. + RTEMS/a.out, sparc-*-rtemsaout*.
  12390. Documentation improvements
  12391. * The old manual ("Using and Porting the GNU Compiler Collection")
  12392. has been replaced by a users manual ("Using the GNU Compiler
  12393. Collection") and a separate internals reference manual ("GNU
  12394. Compiler Collection Internals").
  12395. * More complete and much improved documentation about GCC's internal
  12396. representation used by the C and C++ front ends.
  12397. * Many cleanups and improvements in general.
  12398. For questions related to the use of GCC, please consult these web
  12399. pages and the [13]GCC manuals. If that fails, the
  12400. [14]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  12401. web pages and the development of GCC are welcome on our developer
  12402. list at [15]gcc@gcc.gnu.org. All of [16]our lists have public
  12403. archives.
  12404. Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
  12405. distribution of this entire article is permitted in any medium,
  12406. provided this notice is preserved.
  12407. These pages are [18]maintained by the GCC team. Last modified
  12408. 2015-06-29[19].
  12409. References
  12410. 1. https://gcc.gnu.org/ml/gcc/2002-07/msg01208.html
  12411. 2. http://gcc.gnu.org/news/profiledriven.html
  12412. 3. http://gcc.gnu.org/benchmarks/
  12413. 4. http://gcc.gnu.org/c99status.html
  12414. 5. https://gcc.gnu.org/onlinedocs/libstdc++/faq.html
  12415. 6. https://gcc.gnu.org/onlinedocs/gcc-3.1.1/g77/News.html
  12416. 7. http://www.adacore.com/
  12417. 8. http://www-cs-faculty.stanford.edu/~uno/mmix.html
  12418. 9. http://www.axis.com/
  12419. 10. http://developer.axis.com/
  12420. 11. http://www.superh.com/
  12421. 12. http://www.x86-64.org/
  12422. 13. https://gcc.gnu.org/onlinedocs/
  12423. 14. mailto:gcc-help@gcc.gnu.org
  12424. 15. mailto:gcc@gcc.gnu.org
  12425. 16. https://gcc.gnu.org/lists.html
  12426. 17. http://www.fsf.org/
  12427. 18. https://gcc.gnu.org/about.html
  12428. 19. http://validator.w3.org/check/referer
  12429. ======================================================================
  12430. http://gcc.gnu.org/gcc-3.0/index.html
  12431. GCC 3.0.4
  12432. February 20, 2002
  12433. The [1]GNU project and the GCC developers are pleased to announce the
  12434. release of GCC 3.0.4, which is a bug-fix release for the GCC 3.0
  12435. series.
  12436. GCC used to stand for the GNU C Compiler, but since the compiler
  12437. supports several other languages aside from C, it now stands for the
  12438. GNU Compiler Collection.
  12439. GCC 3.0.x has several new optimizations, new targets, new languages and
  12440. many other new features, relative to GCC 2.95.x. See the [2]new
  12441. features page for a more complete list.
  12442. A list of [3]successful builds is updated as new information becomes
  12443. available.
  12444. The GCC developers would like to thank the numerous people that have
  12445. contributed new features, test results, bug fixes, etc to GCC. This
  12446. [4]amazing group of volunteers is what makes GCC successful.
  12447. And finally, we can't in good conscience fail to mention some
  12448. [5]caveats to using GCC 3.0.x.
  12449. For additional information about GCC please refer to the [6]GCC project
  12450. web site or contact the [7]GCC development mailing list.
  12451. To obtain GCC please use [8]our mirror sites, or our CVS server.
  12452. __________________________________________________________________
  12453. Previous 3.0.x Releases
  12454. December 20, 2001: GCC 3.0.3 has been released.
  12455. October 25, 2001: GCC 3.0.2 has been released.
  12456. August 20, 2001: GCC 3.0.1 has been released.
  12457. June 18, 2001: GCC 3.0 has been released.
  12458. For questions related to the use of GCC, please consult these web
  12459. pages and the [9]GCC manuals. If that fails, the
  12460. [10]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  12461. web pages and the development of GCC are welcome on our developer
  12462. list at [11]gcc@gcc.gnu.org. All of [12]our lists have public
  12463. archives.
  12464. Copyright (C) [13]Free Software Foundation, Inc. Verbatim copying and
  12465. distribution of this entire article is permitted in any medium,
  12466. provided this notice is preserved.
  12467. These pages are [14]maintained by the GCC team. Last modified
  12468. 2014-06-28[15].
  12469. References
  12470. 1. http://www.gnu.org/
  12471. 2. http://gcc.gnu.org/gcc-3.0/features.html
  12472. 3. http://gcc.gnu.org/gcc-3.0/buildstat.html
  12473. 4. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  12474. 5. http://gcc.gnu.org/gcc-3.0/caveats.html
  12475. 6. http://gcc.gnu.org/index.html
  12476. 7. mailto:gcc@gcc.gnu.org
  12477. 8. http://gcc.gnu.org/mirrors.html
  12478. 9. https://gcc.gnu.org/onlinedocs/
  12479. 10. mailto:gcc-help@gcc.gnu.org
  12480. 11. mailto:gcc@gcc.gnu.org
  12481. 12. https://gcc.gnu.org/lists.html
  12482. 13. http://www.fsf.org/
  12483. 14. https://gcc.gnu.org/about.html
  12484. 15. http://validator.w3.org/check/referer
  12485. ======================================================================
  12486. http://gcc.gnu.org/gcc-3.0/features.html
  12487. GCC 3.0 New Features
  12488. Additional changes in GCC 3.0.4
  12489. * GCC 3.0 now supports newer versions of the [1]NetBSD operating
  12490. system, which use the ELF object file format, on x86 processors.
  12491. * Correct debugging information is generated from functions that have
  12492. lines from multiple files (e.g. yacc output).
  12493. * A fix for whitespace handling in the -traditional preprocessor,
  12494. which can affect Fortran.
  12495. * Fixes to the exception handling runtime.
  12496. * More fixes for bad code generation in C++.
  12497. * A fix for shared library generation under AIX 4.3.
  12498. * Documentation updates.
  12499. * Port of GCC to Tensilica's Xtensa processor contributed.
  12500. * A fix for compiling the PPC Linux kernel (FAT fs wouldn't link).
  12501. Additional changes in GCC 3.0.3
  12502. * A fix to correct an accidental change to the PowerPC ABI.
  12503. * Fixes for bad code generation on a variety of architectures.
  12504. * Improvements to the debugging information generated for C++
  12505. classes.
  12506. * Fixes for bad code generation in C++.
  12507. * A fix to avoid crashes in the C++ demangler.
  12508. * A fix to the C++ standard library to avoid buffer overflows.
  12509. * Miscellaneous improvements for a variety of architectures.
  12510. Additional changes in GCC 3.0.2
  12511. * Fixes for bad code generation during loop unrolling.
  12512. * Fixes for bad code generation by the sibling call optimization.
  12513. * Minor improvements to x86 code generation.
  12514. * Implementation of function descriptors in C++ vtables for IA64.
  12515. * Numerous minor bug-fixes.
  12516. Additional changes in GCC 3.0.1
  12517. * C++ fixes for incorrect code-generation.
  12518. * Improved cross-compiling support for the C++ standard library.
  12519. * Fixes for some embedded targets that worked in GCC 2.95.3, but not
  12520. in GCC 3.0.
  12521. * Fixes for various exception-handling bugs.
  12522. * A port to the S/390 architecture.
  12523. General Optimizer Improvements
  12524. * [2]Basic block reordering pass.
  12525. * New if-conversion pass with support for conditional (predicated)
  12526. execution.
  12527. * New tail call and sibling call elimination optimizations.
  12528. * New register renaming pass.
  12529. * New (experimental) [3]static single assignment (SSA) representation
  12530. support.
  12531. * New dead-code elimination pass implemented using the SSA
  12532. representation.
  12533. * [4]Global null pointer test elimination.
  12534. * [5]Global code hoisting/unification.
  12535. * More builtins and optimizations for stdio.h, string.h and old BSD
  12536. functions, as well as for ISO C99 functions.
  12537. * New builtin __builtin_expect for giving hints to the branch
  12538. predictor.
  12539. New Languages and Language specific improvements
  12540. * The GNU Compiler for the Java(TM) language (GCJ) is now integrated
  12541. and supported, including the run-time library containing most
  12542. common non-GUI Java classes, a bytecode interpreter, and the Boehm
  12543. conservative garbage collector. Many bugs have been fixed. GCJ can
  12544. compile Java source or Java bytecodes to either native code or Java
  12545. class files, and supports native methods written in either the
  12546. standard JNI or the more efficient and convenient CNI.
  12547. * Here is a [6]partial list of C++ improvements, both new features
  12548. and those no longer supported.
  12549. * New C++ ABI. On the IA-64 platform GCC is capable of
  12550. inter-operating with other IA-64 compilers.
  12551. * The new ABI also significantly reduces the size of symbol and debug
  12552. information.
  12553. * New [7]C++ support library and many C++ bug fixes, vastly improving
  12554. our conformance to the ISO C++ standard.
  12555. * New [8]inliner for C++.
  12556. * Rewritten C preprocessor, integrated into the C, C++ and Objective
  12557. C compilers, with very many improvements including ISO C99 support
  12558. and [9]improvements to dependency generation.
  12559. * Support for more [10]ISO C99 features.
  12560. * Many improvements to support for checking calls to format functions
  12561. such as printf and scanf, including support for ISO C99 format
  12562. features, extensions from the Single Unix Specification and GNU
  12563. libc 2.2, checking of strfmon formats and features to assist in
  12564. auditing for format string security bugs.
  12565. * New warnings for C code that may have undefined semantics because
  12566. of violations of sequence point rules in the C standard (such as a
  12567. = a++;, a[n] = b[n++]; and a[i++] = i;), included in -Wall.
  12568. * Additional warning option -Wfloat-equal.
  12569. * Improvements to -Wtraditional.
  12570. * Fortran improvements are listed in [11]the Fortran documentation.
  12571. New Targets and Target Specific Improvements
  12572. * New x86 back end, generating much improved code.
  12573. * Support for a generic i386-elf target contributed.
  12574. * New option to emit x86 assembly code using Intel style syntax
  12575. (-mintel-syntax).
  12576. * HPUX 11 support contributed.
  12577. * Improved PowerPC code generation, including scheduled prologue and
  12578. epilogue.
  12579. * Port of GCC to Intel's IA-64 processor contributed.
  12580. * Port of GCC to Motorola's MCore 210 and 340 contributed.
  12581. * New unified back-end for Arm, Thumb and StrongArm contributed.
  12582. * Port of GCC to Intel's XScale processor contributed.
  12583. * Port of GCC to Atmel's AVR microcontrollers contributed.
  12584. * Port of GCC to Mitsubishi's D30V processor contributed.
  12585. * Port of GCC to Matsushita's AM33 processor (a member of the MN10300
  12586. processor family) contributed.
  12587. * Port of GCC to Fujitsu's FR30 processor contributed.
  12588. * Port of GCC to Motorola's 68HC11 and 68HC12 processors contributed.
  12589. * Port of GCC to Sun's picoJava processor core contributed.
  12590. Documentation improvements
  12591. * Substantially rewritten and improved C preprocessor manual.
  12592. * Many improvements to other documentation.
  12593. * Manpages for gcc, cpp and gcov are now generated automatically from
  12594. the master Texinfo manual, eliminating the problem of manpages
  12595. being out of date. (The generated manpages are only extracts from
  12596. the full manual, which is provided in Texinfo form, from which
  12597. info, HTML, other formats and a printed manual can be generated.)
  12598. * Generated info files are included in the release tarballs alongside
  12599. their Texinfo sources, avoiding problems on some platforms with
  12600. building makeinfo as part of the GCC distribution.
  12601. Other significant improvements
  12602. * Garbage collection used internally by the compiler for most memory
  12603. allocation instead of obstacks.
  12604. * Lengauer and Tarjan algorithm used for computing dominators in the
  12605. CFG. This algorithm can be significantly faster and more space
  12606. efficient than our older algorithm.
  12607. * gccbug script provided to assist in submitting bug reports to our
  12608. bug tracking system. (Bug reports previously submitted directly to
  12609. our mailing lists, for which you received no bug tracking number,
  12610. should be submitted again using gccbug if you can reproduce the
  12611. problem with GCC 3.0.)
  12612. * The internal libgcc library is [12]built as a shared library on
  12613. systems that support it.
  12614. * Extensive testsuite included with GCC, with many new tests. In
  12615. addition to tests for GCC bugs that have been fixed, many tests
  12616. have been added for language features, compiler warnings and
  12617. builtin functions.
  12618. * Additional language-independent warning options -Wpacked, -Wpadded,
  12619. -Wunreachable-code and -Wdisabled-optimization.
  12620. * Target-independent options -falign-functions, -falign-loops and
  12621. -falign-jumps.
  12622. Plus a great many bug fixes and almost all the [13]features found in
  12623. GCC 2.95.
  12624. For questions related to the use of GCC, please consult these web
  12625. pages and the [14]GCC manuals. If that fails, the
  12626. [15]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  12627. web pages and the development of GCC are welcome on our developer
  12628. list at [16]gcc@gcc.gnu.org. All of [17]our lists have public
  12629. archives.
  12630. Copyright (C) [18]Free Software Foundation, Inc. Verbatim copying and
  12631. distribution of this entire article is permitted in any medium,
  12632. provided this notice is preserved.
  12633. These pages are [19]maintained by the GCC team. Last modified
  12634. 2014-06-28[20].
  12635. References
  12636. 1. http://www.netbsd.org/
  12637. 2. http://gcc.gnu.org/news/reorder.html
  12638. 3. http://gcc.gnu.org/news/ssa.html
  12639. 4. http://gcc.gnu.org/news/null.html
  12640. 5. http://gcc.gnu.org/news/unify.html
  12641. 6. http://gcc.gnu.org/gcc-3.0/c++features.html
  12642. 7. http://gcc.gnu.org/libstdc++/
  12643. 8. http://gcc.gnu.org/news/inlining.html
  12644. 9. http://gcc.gnu.org/news/dependencies.html
  12645. 10. http://gcc.gnu.org/c99status.html
  12646. 11. https://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/News.html
  12647. 12. http://gcc.gnu.org/gcc-3.0/libgcc.html
  12648. 13. http://gcc.gnu.org/gcc-2.95/features.html
  12649. 14. https://gcc.gnu.org/onlinedocs/
  12650. 15. mailto:gcc-help@gcc.gnu.org
  12651. 16. mailto:gcc@gcc.gnu.org
  12652. 17. https://gcc.gnu.org/lists.html
  12653. 18. http://www.fsf.org/
  12654. 19. https://gcc.gnu.org/about.html
  12655. 20. http://validator.w3.org/check/referer
  12656. ======================================================================
  12657. http://gcc.gnu.org/gcc-3.0/caveats.html
  12658. GCC 3.0 Caveats
  12659. * -fstrict-aliasing is now part of -O2 and higher optimization
  12660. levels. This allows the compiler to assume the strictest aliasing
  12661. rules applicable to the language being compiled. For C and C++,
  12662. this activates optimizations based on the type of expressions. This
  12663. optimization may thus break old, non-compliant code.
  12664. * Enumerations are now properly promoted to int in function
  12665. parameters and function returns. Normally this change is not
  12666. visible, but when using -fshort-enums this is an ABI change.
  12667. * The undocumented extension that allowed C programs to have a label
  12668. at the end of a compound statement has been deprecated and may be
  12669. removed in a future version. Programs that now generate a warning
  12670. about this may be fixed by adding a null statement (a single
  12671. semicolon) after the label.
  12672. * The poorly documented extension that allowed string constants in C,
  12673. C++ and Objective C to contain unescaped newlines has been
  12674. deprecated and may be removed in a future version. Programs using
  12675. this extension may be fixed in several ways: the bare newline may
  12676. be replaced by \n, or preceded by \n\, or string concatenation may
  12677. be used with the bare newline preceded by \n" and " placed at the
  12678. start of the next line.
  12679. * The Chill compiler is not included in GCC 3.0, because of the lack
  12680. of a volunteer to convert it to use garbage collection.
  12681. * Certain non-standard iostream methods from earlier versions of
  12682. libstdc++ are not included in libstdc++ v3, i.e. filebuf::attach,
  12683. ostream::form, and istream::gets.
  12684. * The new C++ ABI is not yet fully supported by current (as of
  12685. 2001-07-01) releases and development versions of GDB, or any
  12686. earlier versions. There is a problem setting breakpoints by line
  12687. number, and other related issues that have been fixed in GCC 3.0
  12688. but not yet handled in GDB:
  12689. [1]https://gcc.gnu.org/ml/gcc-bugs/2001-06/msg00421.html
  12690. For questions related to the use of GCC, please consult these web
  12691. pages and the [2]GCC manuals. If that fails, the
  12692. [3]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  12693. web pages and the development of GCC are welcome on our developer
  12694. list at [4]gcc@gcc.gnu.org. All of [5]our lists have public archives.
  12695. Copyright (C) [6]Free Software Foundation, Inc. Verbatim copying and
  12696. distribution of this entire article is permitted in any medium,
  12697. provided this notice is preserved.
  12698. These pages are [7]maintained by the GCC team. Last modified
  12699. 2014-06-27[8].
  12700. References
  12701. 1. https://gcc.gnu.org/ml/gcc-bugs/2001-06/msg00421.html
  12702. 2. https://gcc.gnu.org/onlinedocs/
  12703. 3. mailto:gcc-help@gcc.gnu.org
  12704. 4. mailto:gcc@gcc.gnu.org
  12705. 5. https://gcc.gnu.org/lists.html
  12706. 6. http://www.fsf.org/
  12707. 7. https://gcc.gnu.org/about.html
  12708. 8. http://validator.w3.org/check/referer
  12709. ======================================================================
  12710. http://gcc.gnu.org/gcc-2.95/index.html
  12711. GCC 2.95
  12712. March 16, 2001: The GNU project and the GCC developers are pleased to
  12713. announce the release of GCC version 2.95.3.
  12714. Release History
  12715. GCC 2.95.3
  12716. March 16, 2001
  12717. GCC 2.95.2
  12718. October 27, 1999
  12719. GCC 2.95.1
  12720. August 19, 1999
  12721. GCC 2.95
  12722. July 31, 1999. This is the first release of GCC since the April
  12723. 1999 GCC/EGCS reunification and includes nearly a year's worth
  12724. of new development and bugfixes.
  12725. References and Acknowledgements
  12726. GCC used to stand for the GNU C Compiler, but since the compiler
  12727. supports several other languages aside from C, it now stands for the
  12728. GNU Compiler Collection.
  12729. The whole suite has been extensively [1]regression tested and
  12730. [2]package tested. It should be reliable and suitable for widespread
  12731. use.
  12732. The compiler has several new optimizations, new targets, new languages
  12733. and other new features. See the [3]new features page for a more
  12734. complete list of new features found in the GCC 2.95 releases.
  12735. The sources include installation instructions in both HTML and
  12736. plaintext forms in the install directory in the distribution. However,
  12737. the most up to date installation instructions and [4]build/test status
  12738. are on the web pages. We will update those pages as new information
  12739. becomes available.
  12740. The GCC developers would like to thank the numerous people that have
  12741. contributed new features, test results, bugfixes, etc to GCC. This
  12742. [5]amazing group of volunteers is what makes GCC successful.
  12743. And finally, we can't in good conscience fail to mention some
  12744. [6]caveats to using GCC 2.95.
  12745. Download GCC 2.95 from one of our many [7]mirror sites.
  12746. For additional information about GCC please see the [8]GCC project web
  12747. server or contact the [9]GCC development mailing list.
  12748. For questions related to the use of GCC, please consult these web
  12749. pages and the [10]GCC manuals. If that fails, the
  12750. [11]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  12751. web pages and the development of GCC are welcome on our developer
  12752. list at [12]gcc@gcc.gnu.org. All of [13]our lists have public
  12753. archives.
  12754. Copyright (C) [14]Free Software Foundation, Inc. Verbatim copying and
  12755. distribution of this entire article is permitted in any medium,
  12756. provided this notice is preserved.
  12757. These pages are [15]maintained by the GCC team. Last modified
  12758. 2014-06-28[16].
  12759. References
  12760. 1. http://gcc.gnu.org/gcc-2.95/regress.html
  12761. 2. http://gcc.gnu.org/gcc-2.95/othertest.html
  12762. 3. http://gcc.gnu.org/gcc-2.95/features.html
  12763. 4. http://gcc.gnu.org/gcc-2.95/buildstat.html
  12764. 5. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  12765. 6. http://gcc.gnu.org/gcc-2.95/caveats.html
  12766. 7. http://gcc.gnu.org/mirrors.html
  12767. 8. http://gcc.gnu.org/index.html
  12768. 9. mailto:gcc@gcc.gnu.org
  12769. 10. https://gcc.gnu.org/onlinedocs/
  12770. 11. mailto:gcc-help@gcc.gnu.org
  12771. 12. mailto:gcc@gcc.gnu.org
  12772. 13. https://gcc.gnu.org/lists.html
  12773. 14. http://www.fsf.org/
  12774. 15. https://gcc.gnu.org/about.html
  12775. 16. http://validator.w3.org/check/referer
  12776. ======================================================================
  12777. http://gcc.gnu.org/gcc-2.95/features.html
  12778. GCC 2.95 New Features
  12779. * General Optimizer Improvements:
  12780. + [1]Localized register spilling to improve speed and code
  12781. density especially on small register class machines.
  12782. + [2]Global CSE using lazy code motion algorithms.
  12783. + [3]Improved global constant/copy propagation.
  12784. + [4]Improved control flow graph analysis and manipulation.
  12785. + [5]Local dead store elimination.
  12786. + [6]Memory Load hoisting/store sinking in loops.
  12787. + [7]Type based alias analysis is enabled by default. Note this
  12788. feature will expose bugs in the Linux kernel. Please refer to
  12789. the FAQ (as shipped with GCC 2.95) for additional information
  12790. on this issue.
  12791. + Major revamp of GIV detection, combination and simplification
  12792. to improve loop performance.
  12793. + Major improvements to register allocation and reloading.
  12794. * New Languages and Language specific improvements
  12795. + [8]Many C++ improvements.
  12796. + [9]Many Fortran improvements.
  12797. + [10]Java front-end has been integrated. [11]runtime library is
  12798. available separately.
  12799. + [12]ISO C99 support
  12800. + [13]Chill front-end and runtime has been integrated.
  12801. + Boehm garbage collector support in libobjc.
  12802. + More support for various pragmas which appear in vendor
  12803. include files
  12804. * New Targets and Target Specific Improvements
  12805. + [14]SPARC backend rewrite.
  12806. + -mschedule=8000 will optimize code for PA8000 class
  12807. processors; -mpa-risc-2-0 will generate code for PA2.0
  12808. processors
  12809. + Various micro-optimizations for the ia32 port. K6
  12810. optimizations
  12811. + Compiler will attempt to align doubles in the stack on the
  12812. ia32 port
  12813. + Alpha EV6 support
  12814. + PowerPC 750
  12815. + RS6000/PowerPC: -mcpu=401 was added as an alias for -mcpu=403.
  12816. -mcpu=e603e was added to do -mcpu=603e and -msoft-float.
  12817. + c3x, c4x
  12818. + HyperSPARC
  12819. + SparcLite86x
  12820. + sh4
  12821. + Support for new systems (OpenBSD, FreeBSD, UWIN, Interix,
  12822. arm-linux)
  12823. + vxWorks targets include support for vxWorks threads
  12824. + StrongARM 110 and ARM9 support added. ARM Scheduling
  12825. parameters rewritten.
  12826. + Various changes to the MIPS port to avoid assembler macros,
  12827. which in turn improves performance
  12828. + Various performance improvements to the i960 port.
  12829. + Major rewrite of ns32k port
  12830. * Other significant improvements
  12831. + [15]Ability to dump cfg information and display it using vcg.
  12832. + The new faster scheme for fixing vendor header files is
  12833. enabled by default.
  12834. + Experimental internationalization support.
  12835. + multibyte character support
  12836. + Some compile-time speedups for pathological problems
  12837. + Better support for complex types
  12838. * Plus the usual mountain of bugfixes
  12839. * Core compiler is based on the gcc2 development tree from Sept 30,
  12840. 1998, so we have all of the [16]features found in GCC 2.8.
  12841. Additional Changes in GCC 2.95.1
  12842. * Generic bugfixes and improvements
  12843. + Various documentation fixes related to the GCC/EGCS merger.
  12844. + Fix memory management bug which could lead to spurious aborts,
  12845. core dumps or random parsing errors in the compiler.
  12846. + Fix a couple bugs in the dwarf1 and dwarf2 debug record
  12847. support.
  12848. + Fix infinite loop in the CSE optimizer.
  12849. + Avoid undefined behavior in compiler FP emulation code
  12850. + Fix install problem when prefix is overridden on the make
  12851. install command.
  12852. + Fix problem with unwanted installation of assert.h on some
  12853. systems.
  12854. + Fix problem with finding the wrong assembler in a single tree
  12855. build.
  12856. + Avoid increasing the known alignment of a register that is
  12857. already known to be a pointer.
  12858. * Platform specific bugfixes and improvements
  12859. + Codegen bugfix for prologue/epilogue for cpu32 target.
  12860. + Fix long long code generation bug for the Coldfire target.
  12861. + Fix various aborts in the SH compiler.
  12862. + Fix bugs in libgcc support library for the SH.
  12863. + Fix alpha ev6 code generation bug.
  12864. + Fix problems with EXIT_SUCCESS/EXIT_FAILURE redefinitions on
  12865. AIX platforms.
  12866. + Fix -fpic code generation bug for rs6000/ppc svr4 targets.
  12867. + Fix varargs/stdarg code generation bug for rs6000/ppc svr4
  12868. targets.
  12869. + Fix weak symbol handling for rs6000/ppc svr4 targets.
  12870. + Fix various problems with 64bit code generation for the
  12871. rs6000/ppc port.
  12872. + Fix codegen bug which caused tetex to be mis-compiled on the
  12873. x86.
  12874. + Fix compiler abort in new cfg code exposed by x86 port.
  12875. + Fix out of range array reference in code convert flat
  12876. registers to the x87 stacked FP register file.
  12877. + Fix minor vxworks configuration bug.
  12878. + Fix return type of bsearch for SunOS 4.x.
  12879. * Language & Runtime specific fixes.
  12880. + The G++ signature extension has been deprecated. It will be
  12881. removed in the next major release of G++. Use of signatures
  12882. will result in a warning from the compiler.
  12883. + Several bugs relating to templates and namespaces were fixed.
  12884. + A bug that caused crashes when combining templates with -g on
  12885. DWARF1 platforms was fixed.
  12886. + Pointers-to-members, virtual functions, and multiple
  12887. inheritance should now work together correctly.
  12888. + Some code-generation bugs relating to function try blocks were
  12889. fixed.
  12890. + G++ is a little bit more lenient with certain archaic
  12891. constructs than in GCC 2.95.
  12892. + Fix to prevent shared library version #s from bring truncated
  12893. to 1 digit
  12894. + Fix missing std:: in the libstdc++ library.
  12895. + Fix stream locking problems in libio.
  12896. + Fix problem in java compiler driver.
  12897. Additional Changes in GCC 2.95.2
  12898. The -fstrict-aliasing is not enabled by default for GCC 2.95.2. While
  12899. the optimizations performed by -fstrict-aliasing are valid according to
  12900. the C and C++ standards, the optimization have caused some problems,
  12901. particularly with old non-conforming code.
  12902. The GCC developers are experimenting with ways to warn users about code
  12903. which violates the C/C++ standards, but those warnings are not ready
  12904. for widespread use at this time. Rather than wait for those warnings
  12905. the GCC developers have chosen to disable -fstrict-aliasing by default
  12906. for the GCC 2.95.2 release.
  12907. We strongly encourage developers to find and fix code which violates
  12908. the C/C++ standards as -fstrict-aliasing may be enabled by default in
  12909. future releases. Use the option -fstrict-aliasing to re-enable these
  12910. optimizations.
  12911. * Generic bugfixes and improvements
  12912. + Fix incorrectly optimized memory reference in global common
  12913. subexpression elimination (GCSE) optimization pass.
  12914. + Fix code generation bug in regmove.c in which it could
  12915. incorrectly change a "const" value.
  12916. + Fix bug in optimization of conditionals involving volatile
  12917. memory references.
  12918. + Avoid over-allocation of stack space for some procedures.
  12919. + Fixed bug in the compiler which caused incorrect optimization
  12920. of an obscure series of bit manipulations, shifts and
  12921. arithmetic.
  12922. + Fixed register allocator bug which caused teTeX to be
  12923. mis-compiled on SPARC targets.
  12924. + Avoid incorrect optimization of degenerate case statements for
  12925. certain targets such as the ARM.
  12926. + Fix out of range memory reference in the jump optimizer.
  12927. + Avoid dereferencing null pointer in fix-header.
  12928. + Fix test for GCC specific features so that it is possible to
  12929. bootstrap with gcc-2.6.2 and older versions of GCC.
  12930. + Fix typo in scheduler which could potentially cause out of
  12931. range memory accesses.
  12932. + Avoid incorrect loop reversal which caused incorrect code for
  12933. certain loops on PowerPC targets.
  12934. + Avoid incorrect optimization of switch statements on certain
  12935. targets (for example the ARM).
  12936. * Platform specific bugfixes and improvements
  12937. + Work around bug in Sun V5.0 compilers which caused bootstrap
  12938. comparison failures on SPARC targets.
  12939. + Fix SPARC backend bug which caused aborts in final.c.
  12940. + Fix sparc-hal-solaris2* configuration fragments.
  12941. + Fix bug in sparc block profiling.
  12942. + Fix obscure code generation bug for the PARISC targets.
  12943. + Define __STDC_EXT__ for HPUX configurations.
  12944. + Various POWERPC64 code generation bugfixes.
  12945. + Fix abort for PPC targets using ELF (ex GNU/Linux).
  12946. + Fix collect2 problems for AIX targets.
  12947. + Correct handling of .file directive for PPC targets.
  12948. + Fix bug in fix_trunc x86 patterns.
  12949. + Fix x86 port to correctly pop the FP stack for functions that
  12950. return structures in memory.
  12951. + Fix minor bug in strlen x86 pattern.
  12952. + Use stabs debugging instead of dwarf1 for x86-solaris targets.
  12953. + Fix template repository code to handle leading underscore in
  12954. mangled names.
  12955. + Fix weak/weak alias support for OpenBSD.
  12956. + GNU/Linux for the ARM has C++ compatible include files.
  12957. * Language & Runtime specific fixes.
  12958. + Fix handling of constructor attribute in the C front-end which
  12959. caused problems building the Chill runtime library on some
  12960. targets.
  12961. + Fix minor problem merging type qualifiers in the C front-end.
  12962. + Fix aliasing bug for pointers and references (C/C++).
  12963. + Fix incorrect "non-constant initializer bug" when -traditional
  12964. or -fwritable-strings is enabled.
  12965. + Fix build error for Chill front-end on SunOS.
  12966. + Do not complain about duplicate instantiations when using
  12967. -frepo (C++).
  12968. + Fix array bounds handling in C++ front-end which caused
  12969. problems with dwarf debugging information in some
  12970. circumstances.
  12971. + Fix minor namespace problem.
  12972. + Fix problem linking java programs.
  12973. Additional Changes in GCC 2.95.3
  12974. * Generic bugfixes and improvements
  12975. + Fix numerous problems that caused incorrect optimization in
  12976. the register reloading code.
  12977. + Fix numerous problems that caused incorrect optimization in
  12978. the loop optimizer.
  12979. + Fix aborts in the functions build_insn_chain and scan_loops
  12980. under some circumstances.
  12981. + Fix an alias analysis bug.
  12982. + Fix an infinite compilation bug in the combiner.
  12983. + A few problems with complex number support have been fixed.
  12984. + It is no longer possible for gcc to act as a fork bomb when
  12985. installed incorrectly.
  12986. + The -fpack-struct option should be recognized now.
  12987. + Fixed a bug that caused incorrect code to be generated due to
  12988. a lost stack adjustment.
  12989. * Platform specific bugfixes and improvements
  12990. + Support building ARM toolchains hosted on Windows.
  12991. + Fix attribute calculations in ARM toolchains.
  12992. + arm-linux support has been improved.
  12993. + Fix a PIC failure on sparc targets.
  12994. + On ix86 targets, the regparm attribute should now work
  12995. reliably.
  12996. + Several updates for the h8300 port.
  12997. + Fix problem building libio with glibc 2.2.
  12998. For questions related to the use of GCC, please consult these web
  12999. pages and the [17]GCC manuals. If that fails, the
  13000. [18]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13001. web pages and the development of GCC are welcome on our developer
  13002. list at [19]gcc@gcc.gnu.org. All of [20]our lists have public
  13003. archives.
  13004. Copyright (C) [21]Free Software Foundation, Inc. Verbatim copying and
  13005. distribution of this entire article is permitted in any medium,
  13006. provided this notice is preserved.
  13007. These pages are [22]maintained by the GCC team. Last modified
  13008. 2014-06-28[23].
  13009. References
  13010. 1. http://gcc.gnu.org/news/spill.html
  13011. 2. http://gcc.gnu.org/news/lcm.html
  13012. 3. http://gcc.gnu.org/news/cprop.html
  13013. 4. http://gcc.gnu.org/news/cfg.html
  13014. 5. http://gcc.gnu.org/news/dse.html
  13015. 6. http://gcc.gnu.org/news/hoist.html
  13016. 7. http://gcc.gnu.org/news/alias.html
  13017. 8. http://gcc.gnu.org/gcc-2.95/c++features.html
  13018. 9. https://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/News.html
  13019. 10. http://gcc.gnu.org/java/gcj-announce.txt
  13020. 11. http://gcc.gnu.org/news/javaannounce.html
  13021. 12. http://gcc.gnu.org/c99status.html
  13022. 13. http://gcc.gnu.org/news/chill.html
  13023. 14. http://gcc.gnu.org/news/sparc.html
  13024. 15. http://gcc.gnu.org/news/egcs-vcg.html
  13025. 16. http://gcc.gnu.org/egcs-1.0/features-2.8.html
  13026. 17. https://gcc.gnu.org/onlinedocs/
  13027. 18. mailto:gcc-help@gcc.gnu.org
  13028. 19. mailto:gcc@gcc.gnu.org
  13029. 20. https://gcc.gnu.org/lists.html
  13030. 21. http://www.fsf.org/
  13031. 22. https://gcc.gnu.org/about.html
  13032. 23. http://validator.w3.org/check/referer
  13033. ======================================================================
  13034. http://gcc.gnu.org/gcc-2.95/caveats.html
  13035. GCC 2.95 Caveats
  13036. * GCC 2.95 will issue an error for invalid asm statements that had
  13037. been silently accepted by earlier versions of the compiler. This is
  13038. particularly noticeable when compiling older versions of the Linux
  13039. kernel (2.0.xx). Please refer to the FAQ (as shipped with GCC 2.95)
  13040. for more information on this issue.
  13041. * GCC 2.95 implements type based alias analysis to disambiguate
  13042. memory references. Some programs, particularly the Linux kernel
  13043. violate ANSI/ISO aliasing rules and therefore may not operate
  13044. correctly when compiled with GCC 2.95. Please refer to the FAQ (as
  13045. shipped with GCC 2.95) for more information on this issue.
  13046. * GCC 2.95 has a known bug in its handling of complex variables for
  13047. 64bit targets. Instead of silently generating incorrect code, GCC
  13048. 2.95 will issue a fatal error for situations it can not handle.
  13049. This primarily affects the Fortran community as Fortran makes more
  13050. use of complex variables than C or C++.
  13051. * GCC 2.95 has an integrated libstdc++, but does not have an
  13052. integrated libg++. Furthermore old libg++ releases will not work
  13053. with GCC 2.95. You can retrieve a recent copy of libg++ from the
  13054. [1]GCC ftp server.
  13055. Note most C++ programs only need libstdc++.
  13056. * Exception handling may not work with shared libraries, particularly
  13057. on alphas, hppas, rs6000/powerpc and mips based platforms.
  13058. Exception handling is known to work on x86 GNU/Linux platforms with
  13059. shared libraries.
  13060. * In general, GCC 2.95 is more rigorous about rejecting invalid C++
  13061. code or deprecated C++ constructs than G++ 2.7, G++ 2.8, EGCS 1.0,
  13062. or EGCS 1.1. As a result it may be necessary to fix C++ code before
  13063. it will compile with GCC 2.95.
  13064. * G++ is also converting toward the ISO C++ standard; as a result
  13065. code which was previously valid (and thus accepted by other
  13066. compilers and older versions of g++) may no longer be accepted. The
  13067. flag -fpermissive may allow some non-conforming code to compile
  13068. with GCC 2.95.
  13069. * GCC 2.95 compiled C++ code is not binary compatible with EGCS
  13070. 1.1.x, EGCS 1.0.x or GCC 2.8.x.
  13071. * GCC 2.95 does not have changes from the GCC 2.8 tree that were made
  13072. between Sept 30, 1998 and April 30, 1999 (the official end of the
  13073. GCC 2.8 project). Future GCC releases will include all the changes
  13074. from the defunct GCC 2.8 sources.
  13075. For questions related to the use of GCC, please consult these web
  13076. pages and the [2]GCC manuals. If that fails, the
  13077. [3]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13078. web pages and the development of GCC are welcome on our developer
  13079. list at [4]gcc@gcc.gnu.org. All of [5]our lists have public archives.
  13080. Copyright (C) [6]Free Software Foundation, Inc. Verbatim copying and
  13081. distribution of this entire article is permitted in any medium,
  13082. provided this notice is preserved.
  13083. These pages are [7]maintained by the GCC team. Last modified
  13084. 2014-06-12[8].
  13085. References
  13086. 1. ftp://gcc.gnu.org/pub/gcc/infrastructure/libg++-2.8.1.3.tar.gz
  13087. 2. https://gcc.gnu.org/onlinedocs/
  13088. 3. mailto:gcc-help@gcc.gnu.org
  13089. 4. mailto:gcc@gcc.gnu.org
  13090. 5. https://gcc.gnu.org/lists.html
  13091. 6. http://www.fsf.org/
  13092. 7. https://gcc.gnu.org/about.html
  13093. 8. http://validator.w3.org/check/referer
  13094. ======================================================================
  13095. http://gcc.gnu.org/egcs-1.1/index.html
  13096. EGCS 1.1
  13097. September 3, 1998: We are pleased to announce the release of EGCS 1.1.
  13098. December 1, 1998: We are pleased to announce the release of EGCS 1.1.1.
  13099. March 15, 1999: We are pleased to announce the release of EGCS 1.1.2.
  13100. EGCS is a free software project to further the development of the GNU
  13101. compilers using an open development environment.
  13102. EGCS 1.1 is a major new release of the EGCS compiler system. It has
  13103. been [1]extensively tested and is believed to be stable and suitable
  13104. for widespread use.
  13105. EGCS 1.1 is based on an June 6, 1998 snapshot of the GCC 2.8
  13106. development sources; it contains all of the new features found in GCC
  13107. 2.8.1 as well as all new development from GCC up to June 6, 1998.
  13108. EGCS 1.1 also contains many improvements and features not found in GCC
  13109. or in older versions of EGCS:
  13110. * Global common subexpression elimination and global constant/copy
  13111. propagation (aka [2]gcse)
  13112. * Ongoing improvements to the [3]alias analysis support to allow for
  13113. better optimizations throughout the compiler.
  13114. * Vastly improved [4]C++ compiler and integrated C++ runtime
  13115. libraries.
  13116. * Fixes for the /tmp symlink race security problems.
  13117. * New targets including mips16, arm-thumb and 64 bit PowerPC.
  13118. * Improvements to GNU Fortran (g77) compiler and runtime library made
  13119. since g77 version 0.5.23.
  13120. See the [5]new features page for a more complete list of new features
  13121. found in EGCS 1.1 releases.
  13122. EGCS 1.1.1 is a minor update to fix several serious problems in EGCS
  13123. 1.1:
  13124. * General improvements and fixes
  13125. + Avoid some stack overflows when compiling large functions.
  13126. + Avoid incorrect loop invariant code motions.
  13127. + Fix some core dumps on Linux kernel code.
  13128. + Bring back the imake -Di386 and friends fix from EGCS 1.0.2.
  13129. + Fix code generation problem in gcse.
  13130. + Various documentation related fixes.
  13131. * g++/libstdc++ improvements and fixes
  13132. + MT safe EH fix for setjmp/longjmp based exception handling.
  13133. + Fix a few bad interactions between optimization and exception
  13134. handling.
  13135. + Fixes for demangling of template names starting with "__".
  13136. + Fix a bug that would fail to run destructors in some cases
  13137. with -O2.
  13138. + Fix 'new' of classes with virtual bases.
  13139. + Fix crash building Qt on the Alpha.
  13140. + Fix failure compiling WIFEXITED macro on GNU/Linux.
  13141. + Fix some -frepo failures.
  13142. * g77 and libf2c improvements and fixes
  13143. + Various documentation fixes.
  13144. + Avoid compiler crash on RAND intrinsic.
  13145. + Fix minor bugs in makefiles exposed by BSD make programs.
  13146. + Define _XOPEN_SOURCE for libI77 build to avoid potential
  13147. problems on some 64-bit systems.
  13148. + Fix problem with implicit endfile on rewind.
  13149. + Fix spurious recursive I/O errors.
  13150. * platform specific improvements and fixes
  13151. + Match all versions of UnixWare7.
  13152. + Do not assume x86 SVR4 or UnixWare targets can handle stabs.
  13153. + Fix PPC/RS6000 LEGITIMIZE_ADDRESS macro and bug in conversion
  13154. from unsigned ints to double precision floats.
  13155. + Fix ARM ABI issue with NetBSD.
  13156. + Fix a few arm code generation bugs.
  13157. + Fixincludes will fix additional broken SCO OpenServer header
  13158. files.
  13159. + Fix a m68k backend bug which caused invalid offsets in reg+d
  13160. addresses.
  13161. + Fix problems with 64bit AIX 4.3 support.
  13162. + Fix handling of long longs for varargs/stdarg functions on the
  13163. ppc.
  13164. + Minor fixes to CPP predefines for Windows.
  13165. + Fix code generation problems with gpr<->fpr copies for 64bit
  13166. ppc.
  13167. + Fix a few coldfire code generation bugs.
  13168. + Fix some more header file problems on SunOS 4.x.
  13169. + Fix assert.h handling for RTEMS.
  13170. + Fix Windows handling of TREE_SYMBOL_REFERENCED.
  13171. + Fix x86 compiler abort in reg-stack pass.
  13172. + Fix cygwin/windows problem with section attributes.
  13173. + Fix Alpha code generation problem exposed by SMP Linux
  13174. kernels.
  13175. + Fix typo in m68k 32->64bit integer conversion.
  13176. + Make sure target libraries build with -fPIC for PPC & Alpha
  13177. targets.
  13178. EGCS 1.1.2 is a minor update to fix several serious problems in EGCS
  13179. 1.1.1:
  13180. * General improvements and fixes
  13181. + Fix bug in loop optimizer which caused the SPARC (and
  13182. potentially other) ports to segfault.
  13183. + Fix infinite recursion in alias analysis and combiner code.
  13184. + Fix bug in regclass preferencing.
  13185. + Fix incorrect loop reversal which caused incorrect code to be
  13186. generated for several targets.
  13187. + Fix return value for builtin memcpy.
  13188. + Reduce compile time for certain loops which exposed quadratic
  13189. behavior in the loop optimizer.
  13190. + Fix bug which caused volatile memory to be written multiple
  13191. times when only one write was needed/desired.
  13192. + Fix compiler abort in caller-save.c
  13193. + Fix combiner bug which caused incorrect code generation for
  13194. certain division by constant operations.
  13195. + Fix incorrect code generation due to a bug in range check
  13196. optimizations.
  13197. + Fix incorrect code generation due to mis-handling of clobbered
  13198. values in CSE.
  13199. + Fix compiler abort/segfault due to incorrect register
  13200. splitting when unrolling loops.
  13201. + Fix code generation involving autoincremented addresses with
  13202. ternary operators.
  13203. + Work around bug in the scheduler which caused qt to be
  13204. mis-compiled on some platforms.
  13205. + Fix code generation problems with -fshort-enums.
  13206. + Tighten security for temporary files.
  13207. + Improve compile time for codes which make heavy use of
  13208. overloaded functions.
  13209. + Fix multiply defined constructor/destructor symbol problems.
  13210. + Avoid setting bogus RPATH environment variable during
  13211. bootstrap.
  13212. + Avoid GNU-make dependencies in the texinfo subdir.
  13213. + Install CPP wrapper script in $(prefix)/bin if --enable-cpp.
  13214. --enable-cpp=<dirname> can be used to specify an additional
  13215. install directory for the cpp wrapper script.
  13216. + Fix CSE bug which caused incorrect label-label refs to appear
  13217. on some platforms.
  13218. + Avoid linking in EH routines from libgcc if they are not
  13219. needed.
  13220. + Avoid obscure bug in aliasing code.
  13221. + Fix bug in weak symbol handling.
  13222. * Platform-specific improvements and fixes
  13223. + Fix detection of PPro/PII on Unixware 7.
  13224. + Fix compiler segfault when building spec99 and other programs
  13225. for SPARC targets.
  13226. + Fix code-generation bugs for integer and floating point
  13227. conditional move instructions on the PPro/PII.
  13228. + Use fixincludes to fix byteorder problems on i?86-*-sysv.
  13229. + Fix build failure for the arc port.
  13230. + Fix floating point format configuration for i?86-gnu port.
  13231. + Fix problems with hppa1.0-hp-hpux10.20 configuration when
  13232. threads are enabled.
  13233. + Fix coldfire code generation bugs.
  13234. + Fix "unrecognized insn" problems for Alpha and PPC ports.
  13235. + Fix h8/300 code generation problem with floating point values
  13236. in memory.
  13237. + Fix unrecognized insn problems for the m68k port.
  13238. + Fix namespace-pollution problem for the x86 port.
  13239. + Fix problems with old assembler on x86 NeXT systems.
  13240. + Fix PIC code-generation problems for the SPARC port.
  13241. + Fix minor bug with LONG_CALLS in PowerPC SVR4 support.
  13242. + Fix minor ISO namespace violation in Alpha varargs/stdarg
  13243. support.
  13244. + Fix incorrect "braf" instruction usage for the SH port.
  13245. + Fix minor bug in va-sh which prevented its use with -ansi.
  13246. + Fix problems recognizing and supporting FreeBSD.
  13247. + Handle OpenBSD systems correctly.
  13248. + Minor fixincludes fix for Digital UNIX 4.0B.
  13249. + Fix problems with ctors/dtors in SCO shared libraries.
  13250. + Abort instead of generating incorrect code for PPro/PII
  13251. floating point conditional moves.
  13252. + Avoid multiply defined symbols on GNU/Linux systems using
  13253. libc-5.4.xx.
  13254. + Fix abort in alpha compiler.
  13255. * Fortran-specific fixes
  13256. + Fix the IDate intrinsic (VXT) (in libg2c) so the returned year
  13257. is in the documented, non-Y2K-compliant range of 0-99, instead
  13258. of being returned as 100 in the year 2000.
  13259. + Fix the `Date_and_Time' intrinsic (in libg2c) to return the
  13260. milliseconds value properly in Values(8).
  13261. + Fix the `LStat' intrinsic (in libg2c) to return device-ID
  13262. information properly in SArray(7).
  13263. Each release includes installation instructions in both HTML and
  13264. plaintext forms (see the INSTALL directory in the toplevel directory of
  13265. the distribution). However, we also keep the most up to date
  13266. installation instructions and [6]build/test status on our web page. We
  13267. will update those pages as new information becomes available.
  13268. The EGCS project would like to thank the numerous people that have
  13269. contributed new features, test results, bugfixes, etc. This [7]amazing
  13270. group of volunteers is what makes EGCS successful.
  13271. And finally, we can't in good conscience fail to mention some
  13272. [8]caveats to using EGCS 1.1.
  13273. Download EGCS from egcs.cygnus.com (USA California).
  13274. The EGCS 1.1 release is also available on many mirror sites.
  13275. [9]Goto mirror list to find a closer site.
  13276. For questions related to the use of GCC, please consult these web
  13277. pages and the [10]GCC manuals. If that fails, the
  13278. [11]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13279. web pages and the development of GCC are welcome on our developer
  13280. list at [12]gcc@gcc.gnu.org. All of [13]our lists have public
  13281. archives.
  13282. Copyright (C) [14]Free Software Foundation, Inc. Verbatim copying and
  13283. distribution of this entire article is permitted in any medium,
  13284. provided this notice is preserved.
  13285. These pages are [15]maintained by the GCC team. Last modified
  13286. 2014-06-28[16].
  13287. References
  13288. 1. http://gcc.gnu.org/egcs-1.1/egcs-1.1-test.html
  13289. 2. http://gcc.gnu.org/news/gcse.html
  13290. 3. http://gcc.gnu.org/news/alias.html
  13291. 4. http://gcc.gnu.org/egcs-1.1/c++features.html
  13292. 5. http://gcc.gnu.org/egcs-1.1/features.html
  13293. 6. http://gcc.gnu.org/egcs-1.1/buildstat.html
  13294. 7. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
  13295. 8. http://gcc.gnu.org/egcs-1.1/caveats.html
  13296. 9. http://gcc.gnu.org/mirrors.html
  13297. 10. https://gcc.gnu.org/onlinedocs/
  13298. 11. mailto:gcc-help@gcc.gnu.org
  13299. 12. mailto:gcc@gcc.gnu.org
  13300. 13. https://gcc.gnu.org/lists.html
  13301. 14. http://www.fsf.org/
  13302. 15. https://gcc.gnu.org/about.html
  13303. 16. http://validator.w3.org/check/referer
  13304. ======================================================================
  13305. http://gcc.gnu.org/egcs-1.1/features.html
  13306. EGCS 1.1 new features
  13307. * Integrated GNU Fortran (g77) compiler and runtime library with
  13308. improvements, based on g77 version 0.5.23.
  13309. * Vast improvements in the C++ compiler; so many they have [1]page of
  13310. their own!
  13311. * Compiler implements [2]global common subexpression elimination and
  13312. global copy/constant propagation.
  13313. * More major improvements in the [3]alias analysis code.
  13314. * More major improvements in the exception handling code to improve
  13315. performance, lower static overhead and provide the infrastructure
  13316. for future improvements.
  13317. * The infamous /tmp symlink race security problems have been fixed.
  13318. * The regmove optimization pass has been nearly completely rewritten
  13319. to improve performance of generated code.
  13320. * The compiler now recomputes register usage information before local
  13321. register allocation. By providing more accurate information to the
  13322. priority based allocator, we get better register allocation.
  13323. * The register reloading phase of the compiler optimizes spill code
  13324. much better than in previous releases.
  13325. * Some bad interactions between the register allocator and
  13326. instruction scheduler have been fixed, resulting in much better
  13327. code for certain programs. Additionally, we have tuned the
  13328. scheduler in various ways to improve performance of generated code
  13329. for some architectures.
  13330. * The compiler's branch shortening algorithms have been significantly
  13331. improved to work better on targets which align jump targets.
  13332. * The compiler now supports -Os to prefer optimizing for code space
  13333. over optimizing for code speed.
  13334. * The compiler will now totally eliminate library calls which compute
  13335. constant values. This primarily helps targets with no integer
  13336. div/mul support and targets without floating point support.
  13337. * The compiler now supports an extensive "--help" option.
  13338. * cpplib has been greatly improved and may be suitable for limited
  13339. use.
  13340. * Memory footprint for the compiler has been significantly reduced
  13341. for some pathological cases.
  13342. * The time to build EGCS has been improved for certain targets
  13343. (particularly the alpha and mips platforms).
  13344. * Many infrastructure improvements throughout the compiler, plus the
  13345. usual mountain of bugfixes and minor improvements.
  13346. * Target dependent improvements:
  13347. + SPARC port now includes V8 plus and V9 support as well as
  13348. performance tuning for Ultra class machines. The SPARC port
  13349. now uses the Haifa scheduler.
  13350. + Alpha port has been tuned for the EV6 processor and has an
  13351. optimized expansion of memcpy/bzero. The Alpha port now uses
  13352. the Haifa scheduler.
  13353. + RS6000/PowerPC: support for the Power64 architecture and AIX
  13354. 4.3. The RS6000/PowerPC port now uses the Haifa scheduler.
  13355. + x86: Alignment of static store data and jump targets is per
  13356. Intel recommendations now. Various improvements throughout the
  13357. x86 port to improve performance on Pentium processors
  13358. (including improved epilogue sequences for Pentium chips and
  13359. backend improvements which should help register allocation on
  13360. all x86 variants. Conditional move support has been fixed and
  13361. enabled for PPro processors. The x86 port also better supports
  13362. 64bit operations now. Unixware 7, a System V Release 5 target,
  13363. is now supported and SCO OpenServer targets can support GAS.
  13364. + MIPS has improved multiply/multiply-add support and now
  13365. includes mips16 ISA support.
  13366. + M68k has many micro-optimizations and Coldfire fixes.
  13367. * Core compiler is based on the GCC development tree from June 9,
  13368. 1998, so we have all of the [4]features found in GCC 2.8.
  13369. For questions related to the use of GCC, please consult these web
  13370. pages and the [5]GCC manuals. If that fails, the
  13371. [6]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13372. web pages and the development of GCC are welcome on our developer
  13373. list at [7]gcc@gcc.gnu.org. All of [8]our lists have public archives.
  13374. Copyright (C) [9]Free Software Foundation, Inc. Verbatim copying and
  13375. distribution of this entire article is permitted in any medium,
  13376. provided this notice is preserved.
  13377. These pages are [10]maintained by the GCC team. Last modified
  13378. 2014-06-12[11].
  13379. References
  13380. 1. http://gcc.gnu.org/egcs-1.1/c++features.html
  13381. 2. http://gcc.gnu.org/news/gcse.html
  13382. 3. http://gcc.gnu.org/news/alias.html
  13383. 4. http://gcc.gnu.org/egcs-1.0/features-2.8.html
  13384. 5. https://gcc.gnu.org/onlinedocs/
  13385. 6. mailto:gcc-help@gcc.gnu.org
  13386. 7. mailto:gcc@gcc.gnu.org
  13387. 8. https://gcc.gnu.org/lists.html
  13388. 9. http://www.fsf.org/
  13389. 10. https://gcc.gnu.org/about.html
  13390. 11. http://validator.w3.org/check/referer
  13391. ======================================================================
  13392. http://gcc.gnu.org/egcs-1.1/caveats.html
  13393. EGCS 1.1 Caveats
  13394. * EGCS has an integrated libstdc++, but does not have an integrated
  13395. libg++. Furthermore old libg++ releases will not work with EGCS; HJ
  13396. Lu has made a libg++-2.8.1.2 snapshot available which may work with
  13397. EGCS.
  13398. Note most C++ programs only need libstdc++.
  13399. * Exception handling may not work with shared libraries, particularly
  13400. on alphas, hppas, rs6000/powerpc and mips based platforms.
  13401. Exception handling is known to work on x86-linux platforms with
  13402. shared libraries.
  13403. * Some versions of the Linux kernel have bugs which prevent them from
  13404. being compiled or from running when compiled by EGCS. See the FAQ
  13405. (as shipped with EGCS 1.1) for additional information.
  13406. * In general, EGCS is more rigorous about rejecting invalid C++ code
  13407. or deprecated C++ constructs than g++-2.7, g++-2.8 or EGCS 1.0. As
  13408. a result it may be necessary to fix C++ code before it will compile
  13409. with EGCS.
  13410. * G++ is also converting toward the ISO C++ standard; as a result
  13411. code which was previously valid (and thus accepted by other
  13412. compilers and older versions of g++) may no longer be accepted.
  13413. * EGCS 1.1 compiled C++ code is not binary compatible with EGCS 1.0.x
  13414. or GCC 2.8.x due to changes necessary to support thread safe
  13415. exception handling.
  13416. For questions related to the use of GCC, please consult these web
  13417. pages and the [1]GCC manuals. If that fails, the
  13418. [2]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13419. web pages and the development of GCC are welcome on our developer
  13420. list at [3]gcc@gcc.gnu.org. All of [4]our lists have public archives.
  13421. Copyright (C) [5]Free Software Foundation, Inc. Verbatim copying and
  13422. distribution of this entire article is permitted in any medium,
  13423. provided this notice is preserved.
  13424. These pages are [6]maintained by the GCC team. Last modified
  13425. 2014-06-12[7].
  13426. References
  13427. 1. https://gcc.gnu.org/onlinedocs/
  13428. 2. mailto:gcc-help@gcc.gnu.org
  13429. 3. mailto:gcc@gcc.gnu.org
  13430. 4. https://gcc.gnu.org/lists.html
  13431. 5. http://www.fsf.org/
  13432. 6. https://gcc.gnu.org/about.html
  13433. 7. http://validator.w3.org/check/referer
  13434. ======================================================================
  13435. http://gcc.gnu.org/egcs-1.0/index.html
  13436. EGCS 1.0
  13437. December 3, 1997: We are pleased to announce the release of EGCS 1.0.
  13438. January 6, 1998: We are pleased to announce the release of EGCS 1.0.1.
  13439. March 16, 1998: We are pleased to announce the release of EGCS 1.0.2.
  13440. May 15, 1998 We are pleased to announce the release of EGCS 1.0.3.
  13441. EGCS is a collaborative effort involving several groups of hackers
  13442. using an open development model to accelerate development and testing
  13443. of GNU compilers and runtime libraries.
  13444. An important goal of EGCS is to allow wide scale testing of
  13445. experimental features and optimizations; therefore, EGCS contains some
  13446. features and optimizations which are still under development. However,
  13447. EGCS has been carefully tested and should be comparable in quality to
  13448. most GCC releases.
  13449. EGCS 1.0 is based on an August 2, 1997 snapshot of the GCC 2.8
  13450. development sources; it contains nearly all of the new features found
  13451. in GCC 2.8.
  13452. EGCS 1.0 also contains many improvements and features not found in GCC
  13453. 2.7 and even the GCC 2.8 series (which was released after the original
  13454. EGCS 1.0 release).
  13455. * Integrated C++ runtime libraries, including support for most major
  13456. GNU/Linux systems!
  13457. * The integrated libstdc++ library includes a verbatim copy of SGI's
  13458. STL release.
  13459. * Integrated GNU Fortran compiler.
  13460. * New instruction scheduler.
  13461. * New alias analysis code.
  13462. See the [1]new features page for a more complete list of new features.
  13463. EGCS 1.0.1 is a minor update to the EGCS 1.0 compiler to fix a few
  13464. critical bugs and add support for Red Hat 5.0 Linux. Changes since the
  13465. EGCS 1.0 release:
  13466. * Add support for Red Hat 5.0 Linux and better support for Linux
  13467. systems using glibc2.
  13468. Many programs failed to link when compiled with EGCS 1.0 on Red Hat
  13469. 5.0 or on systems with newer versions of glibc2. EGCS 1.0.1 should
  13470. fix these problems.
  13471. * Compatibility with both EGCS 1.0 and GCC 2.8 libgcc exception
  13472. handling interfaces.
  13473. To avoid future compatibility problems, we strongly urge anyone who
  13474. is planning on distributing shared libraries that contain C++ code
  13475. to upgrade to EGCS 1.0.1 first.
  13476. Soon after EGCS 1.0 was released, the GCC developers made some
  13477. incompatible changes in libgcc's exception handling interfaces.
  13478. These changes were needed to solve problems on some platforms. This
  13479. means that GCC 2.8.0, when released, will not be seamlessly
  13480. compatible with shared libraries built by EGCS 1.0. The reason is
  13481. that the libgcc.a in GCC 2.8.0 will not contain a function needed
  13482. by the old interface.
  13483. The result of this is that there may be compatibility problems with
  13484. shared libraries built by EGCS 1.0 when used with GCC 2.8.0.
  13485. With EGCS 1.0.1, generated code uses the new (GCC 2.8.0) interface,
  13486. and libgcc.a has the support routines for both the old and the new
  13487. interfaces (so EGCS 1.0.1 and EGCS 1.0 code can be freely mixed,
  13488. and EGCS 1.0.1 and GCC 2.8.0 code can be freely mixed).
  13489. The maintainers of GCC 2.x have decided against including seamless
  13490. support for the old interface in 2.8.0, since it was never
  13491. "official", so to avoid future compatibility problems we recommend
  13492. against distributing any shared libraries built by EGCS 1.0 that
  13493. contain C++ code (upgrade to 1.0.1 and use that).
  13494. * Various bugfixes in the x86, hppa, mips, and rs6000/ppc back ends.
  13495. The x86 changes fix code generation errors exposed when building
  13496. glibc2 and the usual GNU/Linux dynamic linker (ld.so).
  13497. The hppa change fixes a compiler abort when configured for use with
  13498. RTEMS.
  13499. The MIPS changes fix problems with the definition of LONG_MAX on
  13500. newer systems, allow for command line selection of the target ABI,
  13501. and fix one code generation problem.
  13502. The rs6000/ppc change fixes some problems with passing structures
  13503. to varargs/stdarg functions.
  13504. * A few machine independent bugfixes, mostly to fix code generation
  13505. errors when building Linux kernels or glibc.
  13506. * Fix a few critical exception handling and template bugs in the C++
  13507. compiler.
  13508. * Fix Fortran namelist bug on alphas.
  13509. * Fix build problems on x86-solaris systems.
  13510. EGCS 1.0.2 is a minor update to the EGCS 1.0.1 compiler to fix several
  13511. serious problems in EGCS 1.0.1.
  13512. * General improvements and fixes
  13513. + Memory consumption significantly reduced, especially for
  13514. templates and inline functions.
  13515. + Fix various problems with glibc2.1.
  13516. + Fix loop optimization bug exposed by rs6000/ppc port.
  13517. + Fix to avoid potential code generation problems in jump.c.
  13518. + Fix some undefined symbol problems in dwarf1 debug support.
  13519. * g++/libstdc++ improvements and fixes
  13520. + libstdc++ in the EGCS release has been updated and should be
  13521. link compatible with libstdc++-2.8.
  13522. + Various fixes in libio/libstdc++ to work better on GNU/Linux
  13523. systems.
  13524. + Fix problems with duplicate symbols on systems that do not
  13525. support weak symbols.
  13526. + Memory corruption bug and undefined symbols in bastring have
  13527. been fixed.
  13528. + Various exception handling fixes.
  13529. + Fix compiler abort for very long thunk names.
  13530. * g77 improvements and fixes
  13531. + Fix compiler crash for omitted bound in Fortran CASE
  13532. statement.
  13533. + Add missing entries to g77 lang-options.
  13534. + Fix problem with -fpedantic in the g77 compiler.
  13535. + Fix "backspace" problem with g77 on alphas.
  13536. + Fix x86 backend problem with Fortran literals and -fpic.
  13537. + Fix some of the problems with negative subscripts for g77 on
  13538. alphas.
  13539. + Fixes for Fortran builds on cygwin32/mingw32.
  13540. * platform specific improvements and fixes
  13541. + Fix long double problems on x86 (exposed by glibc).
  13542. + x86 ports define i386 again to keep imake happy.
  13543. + Fix exception handling support on NetBSD ports.
  13544. + Several changes to collect2 to fix many problems with AIX.
  13545. + Define __ELF__ for GNU/Linux on rs6000.
  13546. + Fix -mcall-linux problem on GNU/Linux on rs6000.
  13547. + Fix stdarg/vararg problem for GNU/Linux on rs6000.
  13548. + Allow autoconf to select a proper install problem on AIX 3.1.
  13549. + m68k port support includes -mcpu32 option as well as cpu32
  13550. multilibs.
  13551. + Fix stdarg bug for irix6.
  13552. + Allow EGCS to build on irix5 without the gnu assembler.
  13553. + Fix problem with static linking on sco5.
  13554. + Fix bootstrap on sco5 with native compiler.
  13555. + Fix for abort building newlib on H8 target.
  13556. + Fix fixincludes handling of math.h on SunOS.
  13557. + Minor fix for Motorola 3300 m68k systems.
  13558. EGCS 1.0.3 is a minor update to the EGCS 1.0.2 compiler to fix a few
  13559. problems reported by Red Hat for builds of Red Hat 5.1.
  13560. * Generic bugfixes:
  13561. + Fix a typo in the libio library which resulted in incorrect
  13562. behavior of istream::get.
  13563. + Fix the Fortran negative array index problem.
  13564. + Fix a major problem with the ObjC runtime thread support
  13565. exposed by glibc2.
  13566. + Reduce memory consumption of the Haifa scheduler.
  13567. * Target specific bugfixes:
  13568. + Fix one x86 floating point code generation bug exposed by
  13569. glibc2 builds.
  13570. + Fix one x86 internal compiler error exposed by glibc2 builds.
  13571. + Fix profiling bugs on the Alpha.
  13572. + Fix ImageMagick & emacs 20.2 build problems on the Alpha.
  13573. + Fix rs6000/ppc bug when converting values from integer types
  13574. to floating point types.
  13575. The EGCS 1.0 releases include installation instructions in both HTML
  13576. and plaintext forms (see the INSTALL directory in the toplevel
  13577. directory of the distribution). However, we also keep the most up to
  13578. date installation instructions and [2]build/test status on our web
  13579. page. We will update those pages as new information becomes available.
  13580. And, we can't in good conscience fail to mention some [3]caveats to
  13581. using EGCS.
  13582. Update: Big thanks to Stanford for providing a high speed link for
  13583. downloading EGCS (go.cygnus.com)!
  13584. Download EGCS from ftp.cygnus.com (USA California) or go.cygnus.com
  13585. (USA California -- High speed link provided by Stanford).
  13586. The EGCS 1.0 release is also available many mirror sites.
  13587. [4]Goto mirror list to find a closer site
  13588. We'd like to thank the numerous people that have contributed new
  13589. features, test results, bugfixes, etc. Unfortunately, they're far too
  13590. numerous to mention by name.
  13591. For questions related to the use of GCC, please consult these web
  13592. pages and the [5]GCC manuals. If that fails, the
  13593. [6]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13594. web pages and the development of GCC are welcome on our developer
  13595. list at [7]gcc@gcc.gnu.org. All of [8]our lists have public archives.
  13596. Copyright (C) [9]Free Software Foundation, Inc. Verbatim copying and
  13597. distribution of this entire article is permitted in any medium,
  13598. provided this notice is preserved.
  13599. These pages are [10]maintained by the GCC team. Last modified
  13600. 2014-06-28[11].
  13601. References
  13602. 1. http://gcc.gnu.org/egcs-1.0/features.html
  13603. 2. http://gcc.gnu.org/egcs-1.0/buildstat.html
  13604. 3. http://gcc.gnu.org/egcs-1.0/caveats.html
  13605. 4. http://gcc.gnu.org/mirrors.html
  13606. 5. https://gcc.gnu.org/onlinedocs/
  13607. 6. mailto:gcc-help@gcc.gnu.org
  13608. 7. mailto:gcc@gcc.gnu.org
  13609. 8. https://gcc.gnu.org/lists.html
  13610. 9. http://www.fsf.org/
  13611. 10. https://gcc.gnu.org/about.html
  13612. 11. http://validator.w3.org/check/referer
  13613. ======================================================================
  13614. http://gcc.gnu.org/egcs-1.0/features.html
  13615. EGCS 1.0 features
  13616. * Core compiler is based on the gcc2 development tree from Aug 2,
  13617. 1997, so we have most of the [1]features found in GCC 2.8.
  13618. * Integrated GNU Fortran compiler based on g77-0.5.22-19970929.
  13619. * Vast improvements in the C++ compiler; so many they have [2]page of
  13620. their own!
  13621. * Integrated C++ runtime libraries, including support for most major
  13622. GNU/Linux systems!
  13623. * New instruction scheduler from IBM Haifa which includes support for
  13624. function wide instruction scheduling as well as superscalar
  13625. scheduling.
  13626. * Significantly improved alias analysis code.
  13627. * Improved register allocation for two address machines.
  13628. * Significant code generation improvements for Fortran code on
  13629. Alphas.
  13630. * Various optimizations from the g77 project as well as improved loop
  13631. optimizations.
  13632. * Dwarf2 debug format support for some targets.
  13633. * egcs libstdc++ includes the SGI STL implementation without changes.
  13634. * As a result of these and other changes, egcs libstc++ is not binary
  13635. compatible with previous releases of libstdc++.
  13636. * Various new ports -- UltraSPARC, Irix6.2 & Irix6.3 support, The SCO
  13637. Openserver 5 family (5.0.{0,2,4} and Internet FastStart 1.0 and
  13638. 1.1), Support for RTEMS on several embedded targets, Support for
  13639. arm-linux, Mitsubishi M32R, Hitachi H8/S, Matsushita MN102 and
  13640. MN103, NEC V850, Sparclet, Solaris & GNU/Linux on PowerPCs, etc.
  13641. * Integrated testsuites for gcc, g++, g77, libstdc++ and libio.
  13642. * RS6000/PowerPC ports generate code which can run on all
  13643. RS6000/PowerPC variants by default.
  13644. * -mcpu= and -march= switches for the x86 port to allow better
  13645. control over how the x86 port generates code.
  13646. * Includes the template repository patch (aka repo patch); note the
  13647. new template code makes repo obsolete for ELF systems using gnu-ld
  13648. such as GNU/Linux.
  13649. * Plus the usual assortment of bugfixes and improvements.
  13650. For questions related to the use of GCC, please consult these web
  13651. pages and the [3]GCC manuals. If that fails, the
  13652. [4]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13653. web pages and the development of GCC are welcome on our developer
  13654. list at [5]gcc@gcc.gnu.org. All of [6]our lists have public archives.
  13655. Copyright (C) [7]Free Software Foundation, Inc. Verbatim copying and
  13656. distribution of this entire article is permitted in any medium,
  13657. provided this notice is preserved.
  13658. These pages are [8]maintained by the GCC team. Last modified
  13659. 2014-06-12[9].
  13660. References
  13661. 1. http://gcc.gnu.org/egcs-1.0/features-2.8.html
  13662. 2. http://gcc.gnu.org/egcs-1.0/c++features.html
  13663. 3. https://gcc.gnu.org/onlinedocs/
  13664. 4. mailto:gcc-help@gcc.gnu.org
  13665. 5. mailto:gcc@gcc.gnu.org
  13666. 6. https://gcc.gnu.org/lists.html
  13667. 7. http://www.fsf.org/
  13668. 8. https://gcc.gnu.org/about.html
  13669. 9. http://validator.w3.org/check/referer
  13670. ======================================================================
  13671. http://gcc.gnu.org/egcs-1.0/caveats.html
  13672. EGCS 1.0 Caveats
  13673. * EGCS has an integrated libstdc++, but does not have an integrated
  13674. libg++. Furthermore old libg++ releases will not work with egc; HJ
  13675. Lu has made a libg++-2.8.1.2 available which may work with EGCS.
  13676. Note most C++ programs only need libstdc++.
  13677. * Note that using -pedantic or -Wreturn-type can cause an explosion
  13678. in the amount of memory needed for template-heavy C++ code, such as
  13679. code that uses STL. Also note that -Wall includes -Wreturn-type, so
  13680. if you use -Wall you will need to specify -Wno-return-type to turn
  13681. it off.
  13682. * Exception handling may not work with shared libraries, particularly
  13683. on alphas, hppas, and mips based platforms. Exception handling is
  13684. known to work on x86-linux platforms with shared libraries.
  13685. * Some versions of the Linux kernel have bugs which prevent them from
  13686. being compiled or from running when compiled by EGCS. See the FAQ
  13687. (as shipped with EGCS 1.0) for additional information.
  13688. * In general, EGCS is more rigorous about rejecting invalid C++ code
  13689. or deprecated C++ constructs than G++ 2.7. As a result it may be
  13690. necessary to fix C++ code before it will compile with EGCS.
  13691. * G++ is also aggressively tracking the C++ standard; as a result
  13692. code which was previously valid (and thus accepted by other
  13693. compilers and older versions of G++) may no longer be accepted.
  13694. * EGCS 1.0 may not work with Red Hat Linux 5.0 on all targets. EGCS
  13695. 1.0.x and later releases should work with Red Hat Linux 5.0.
  13696. For questions related to the use of GCC, please consult these web
  13697. pages and the [1]GCC manuals. If that fails, the
  13698. [2]gcc-help@gcc.gnu.org mailing list might help. Comments on these
  13699. web pages and the development of GCC are welcome on our developer
  13700. list at [3]gcc@gcc.gnu.org. All of [4]our lists have public archives.
  13701. Copyright (C) [5]Free Software Foundation, Inc. Verbatim copying and
  13702. distribution of this entire article is permitted in any medium,
  13703. provided this notice is preserved.
  13704. These pages are [6]maintained by the GCC team. Last modified
  13705. 2014-06-12[7].
  13706. References
  13707. 1. https://gcc.gnu.org/onlinedocs/
  13708. 2. mailto:gcc-help@gcc.gnu.org
  13709. 3. mailto:gcc@gcc.gnu.org
  13710. 4. https://gcc.gnu.org/lists.html
  13711. 5. http://www.fsf.org/
  13712. 6. https://gcc.gnu.org/about.html
  13713. 7. http://validator.w3.org/check/referer
  13714. ======================================================================