ChangeLog-2006 875 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818
  1. 2006-12-31 Richard Guenther <rguenther@suse.de>
  2. PR middle-end/30137
  3. * fold-const.c (fold_comparison): Fold comparison of addresses
  4. of components.
  5. 2006-12-31 Roger Sayle <roger@eyesopen.com>
  6. PR middle-end/30322
  7. * fold-const.c (fold_binary): Fold X + ~X and ~X + X into -1 when
  8. we don't care about trapping overflow. Only convert -A - 1 into ~A
  9. when we don't care about trapping overflow.
  10. 2006-12-31 Richard Guenther <rguenther@suse.de>
  11. PR middle-end/30338
  12. * fold-const.c (fold_binary): Fix type-mismatch in folding
  13. of -1 - A to ~A.
  14. 2006-12-30 Kazu Hirata <kazu@codesourcery.com>
  15. * tree-inline.c: Fix a comment typo.
  16. 2006-12-30 Jan Hubicka <jh@suse.cz>
  17. * ipa-pure-const.c (check_operand): SSA_NAME is safe.
  18. * ipa-type-escape.c (scan_for_refs): Look into SSA_NAMEs.
  19. 2006-12-30 Jan Hubicka <jh@suse.cz>
  20. * tree.h (DECL_CALL_CLOBBERED): Remove.
  21. (tree_decl_common): Remove call_clobbered flag.
  22. * tree-flow.h (struct var_ann_d): Add call_clobbered flag.
  23. * tree-ssa-alias.c (mark_non_addressable, reset_cc_flags): Update.
  24. * tree-flow-inline.h (is_call_clobbered, mark_call_clobbered,
  25. clear_call_clobbered): Update.
  26. * tree-ssa.c (verify_call_clobbering): Update.
  27. 2006-12-30 Jan Hubicka <jh@suse.cz>
  28. * tree-ssa-alias.c (create_structure_vars): When in SSA, update operand
  29. caches.
  30. * tree-ssa-operands.c (build_ssa_operands): Recompute addresses_taken
  31. bitmap.
  32. 2006-12-30 Jan Hubicka <jh@suse.cz>
  33. Vladimir Yanovsky <volodyan@gmail.com>
  34. * emit-rt.c (emit_copy_of_insn_after): Fix bug causing exponential
  35. amount of copies of INSN_NOTEs list.
  36. 2006-12-29 Jan Hubicka <jh@suse.cz>
  37. * cgraph.c (cgraph_expand_queue): Rename to...
  38. (cgraph_new_nodes): ... this one.
  39. (cgraph_state): New global variable.
  40. (cgraph_add_new_function): Work in more cases.
  41. * cgraph.h (cgraph_expand_queue): Rename to ...
  42. (cgraph_new_nodes): ... this one.
  43. (cgraph_state): New enum and static variable.
  44. (cgraph_add_new_function): Update prototype.
  45. (cgraph_process_new_functions): New.
  46. * omp-low.c (expand_omp_parallel): Update.
  47. * cgraphunit.c (initialize_inline_failed): Declare early.
  48. (cgraph_process_new_functions): New function.
  49. (cgraph_assemble_pending_functions): Use it.
  50. (cgraph_expand_all_functions): Use it.
  51. (cgraph_optimize): Use it; set cgraph_state.
  52. * passes.c (execute_one_pass, execute_ipa_pass_list): Process new
  53. functions
  54. 2006-12-29 Kazu Hirata <kazu@codesourcery.com>
  55. * tree-cfg.c (last_stmt_ptr): Remove.
  56. * tree-flow.h: Remove the prototype for last_stmt_ptr.
  57. * config/i386/i386.h (NON_QI_REG_P): Remove.
  58. * config/i386/predicates.md (non_q_regs_operand): Remove.
  59. 2006-12-29 Ian Lance Taylor <iant@google.com>
  60. * c-common.c (c_define_builtins): New static function broken out
  61. of c_common_nodes_and_builtins.
  62. (c_common_nodes_and_builtins): Call c_define_builtins unless only
  63. doing preprocessing.
  64. 2006-12-29 Jan Hubicka <jh@suse.cz>
  65. * tree-inline.c (remap_ssa_name): New function.
  66. (remap_decl): Update SSA datastructures for DECLs.
  67. (copy_body_r): Deal with SSA_NAMEs; add referenced global vars.
  68. (copy_bb): Set SSA_NAME def stmts.
  69. (update_ssa_acorss_eh_edges): New function.
  70. (copy_edge_for_bb): Call it; mark new vars for renaming.
  71. (copy_phis_for_bb): New function.
  72. (initialize_cfun): Break out from ...
  73. (copy_cfg_body): ... here; maintain AUX map for both directions;
  74. call SSA updating workers; do not produce copy of cfun to be copied.
  75. (setup_one_parameter): Do propagation across SSA form.
  76. (declare_return_variable): Work on SSA; use return_slot instead of
  77. address of return slot of argument to avoid folding back and forth.
  78. (expand_call_inline): Update SSA from on return values.
  79. (optimize_inline_calls): Do sanity checking, dead blocks removal,
  80. update SSA form.
  81. (tree_function_verioning): Update initialize_cfun.
  82. 2006-12-29 Marcin Dalecki <martin@dalecki.de>
  83. * doc/invoke.texi: Replace no longer supported -fno-strength-reduce
  84. with -fmerge-constants in sample code.
  85. 2006-12-28 Kazu Hirata <kazu@codesourcery.com>
  86. * Makefile.in (OBJS-common): Remove conflict.o
  87. (conflict.o): Remove.
  88. * basic-block.h: Remove the prototypes for conflict.c.
  89. * conflict.c: Remove.
  90. 2006-12-27 Daniel Berlin <dberlin@dberlin.org>
  91. * sbitmap.c (BITMAP_DEBUGGING): New macro.
  92. (do_popcount): Ditto.
  93. (sbitmap_verify_popcount): New function.
  94. (sbitmap_alloc): Set popcount to NULL, remove set of bytes
  95. member.
  96. (sbitmap_alloc_with_popcount): New function.
  97. (sbitmap_resize): Remove uses of bytes member and update
  98. popcount.
  99. (sbitmap_realloc): Remove uses of bytes member.
  100. (sbitmap_copy): Copy popcount.
  101. (sbitmap_copy_n): New function.
  102. (sbitmap_zero): Update popcount cache.
  103. (sbitmap_ones): Ditto.
  104. (sbitmap_a_and_b): Ditto.
  105. (sbitmap_a_or_b): Ditto.
  106. (sbitmap_a_xor_b): Ditto.
  107. (sbitmap_union_of_diff_cg): Assert non-existence of popcount
  108. cache.
  109. (sbitmap_union_of_diff): Ditto.
  110. (sbitmap_not): Ditto.
  111. (sbitmap_difference): Ditto.
  112. (sbitmap_a_and_b_cg): Ditto.
  113. (sbitmap_a_xor_b_cg): Ditto.
  114. (sbitmap_a_or_b_cg): Ditto.
  115. (sbitmap_a_or_b_and_c_cg): Ditto.
  116. (sbitmap_a_and_b_or_c_cg): Ditto.
  117. (sbitmap_intersection_of_succs): Ditto.
  118. (sbitmap_intersection_of_preds): Ditto.
  119. (sbitmap_union_of_succs): Ditto.
  120. (sbitmap_union_of_preds): Ditto.
  121. (popcount_table): New.
  122. (sbitmap_elt_popcount): New function.
  123. (sbitmap_popcount): Ditto.
  124. * sbitmap.h (sbitmap): Remove bytes member.
  125. Add popcount member.
  126. (SET_BIT): Macro turned into function.
  127. (RESET_BIT): Ditto.
  128. (SBITMAP_SIZE_BYTES): New macro.
  129. (sbitmap_free): Free popcount too.
  130. (sbitmap_alloc_with_popcount): New prototype.
  131. (sbitmap_copy_n): Ditto.
  132. (sbitmap_verify_popcount): Ditto.
  133. 2006-12-27 Ian Lance Taylor <iant@google.com>
  134. PR debug/26964
  135. * dwarf2out.c (gen_type_die): Don't write out a DIE for
  136. ENUMERAL_TYPE if it was already written out.
  137. 2006-12-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  138. PR middle-end/29335
  139. * builtins.c (do_mpfr_arg1, do_mpfr_arg2, do_mpfr_arg3,
  140. do_mpfr_sincos): Ensure target base equals two.
  141. 2006-12-26 Kazu Hirata <kazu@codesourcery.com>
  142. * tree-ssa-operands.c: Fix a comment typo.
  143. 2006-12-25 Kazu Hirata <kazu@codesourcery.com>
  144. * tree-vectorizer.h (VECT_SMODULO): Remove.
  145. 2006-12-24 Andreas Tobler <a.tobler@schweiz.org>
  146. * config/pa/pa.c: Remove heap vector type defines.
  147. 2006-12-24 Jan Hubicka <jh@suse.cz>
  148. * tree-ssa-operands.h (struct ssa_operand_memory_d):
  149. add ssa_operand_mem_size.
  150. * tree-ssa-operands.c (operands_bitmap_obstack): New.
  151. (ssa_operand_mem_size): Remove.
  152. (init_ssa_operands): Initialize obstack; use it.
  153. (fini_ssa_operands): Release obstack.
  154. (ssa_operand_alloc): Update.
  155. (finalize_ssa_vdefs, finalize_ssa_vuse_ops, copy_virtual_operands,
  156. get_mpt_for): Use obstack.
  157. * tree-ssa.c (delete_tree_ssa): Call fini_ssa_operands.
  158. * tree-outof-ssa.c: (remove_ssa_form): Don't call it here.
  159. 2006-12-24 Jan Hubicka <jh@suse.cz>
  160. * tree-mudflap.c (ml_decl_cache_locals, md_build_check_statement_for):
  161. add newly referenced vars.
  162. 2006-12-24 Kazu Hirata <kazu@codesourcery.com>
  163. * basic-block.h: Remove the prototype for
  164. expected_value_to_br_prob.
  165. * rtl.h: Remove the prototypes for expand_builtin_expect_jump
  166. and purge_line_number_notes.
  167. 2006-12-23 Zdenek Dvorak <dvorakz@suse.cz>
  168. * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne,
  169. assert_no_overflow_lt, assert_loop_rolls_lt,
  170. number_of_iterations_lt, number_of_iterations_le,
  171. number_of_iterations_cond, number_of_iterations_exit):
  172. Use integer_zerop/integer_nonzerop instead of
  173. null_or_integer_zerop/nonnull_and_integer_nonzerop.
  174. * tree.h (null_or_integer_zerop, nonnull_and_integer_nonzerop):
  175. Removed.
  176. * tree-scalar-evolution.c (simple_iv): Return zero for step of
  177. an invariant.
  178. * tree-ssa-loop-ivopts.c (alloc_iv): Do not set step of invariants
  179. to zero.
  180. (get_iv): Return NULL for non-scalar types. Use zero as a step
  181. of an invariant.
  182. (determine_biv_step, find_interesting_uses_op,
  183. find_interesting_uses_cond, find_interesting_uses_stmt,
  184. add_old_ivs_candidates, determine_use_iv_cost_condition,
  185. rewrite_use_compare, remove_unused_ivs):
  186. Use integer_zerop instead of null_or_integer_zerop.
  187. (struct ifs_ivopts_data): Replace step_p field with step field.
  188. (idx_find_step): Use zero as a step of an invariant. Modify
  189. step instead of *step_p.
  190. (find_interesting_uses_address): Use zero as a step of an invariant.
  191. Use integer_zerop instead of null_or_integer_zerop.
  192. (find_interesting_uses_outside): Call find_interesting_uses_op only
  193. for phi nodes for real operands.
  194. (add_candidate_1): Expect step to be non-NULL.
  195. * tree-ssa-loop-prefetch.c (idx_analyze_ref): Expect step to be
  196. non-NULL.
  197. 2006-12-23 Andrew Pinski <pinskia@gmail.com>
  198. * vec.c: Don't include tree.h.
  199. * Makefile.in (vec.o): Update dependencies.
  200. (build/vec.o): Likewise.
  201. 2006-12-23 Kazu Hirata <kazu@codesourcery.com>
  202. * common.opt (flag_force_mem): Remove.
  203. * doc/invoke.texi (-fforce-mem): Remove.
  204. * opts.c (common_handle_option): Don't handle OPT_fforce_mem.
  205. * Makefile.in (final.o): Depend on vecprim.h.
  206. * final.c: Include vecprim.h.
  207. (insn_addresses_): Change the type to VEC(int,heap)*.
  208. * insn-addr.h (INSN_ADDRESSES_DEFN): Remove.
  209. (INSN_ADDRESSES, INSN_ADDRESSES_ALLOC, INSN_ADDRESSES_SIZE,
  210. INSN_ADDRESSES_NEW): Use VEC instead of VARRAY.
  211. 2006-12-23 Marcin Dalecki <martin@dalecki.de>
  212. * cgraphunit.c (cgraph_optimize): Fixed obvious thinko in memory
  213. consumption reporting.
  214. 2006-12-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  215. PR middle-end/7651
  216. * c.opt (Wmissing-parameter-type): New.
  217. * doc/invoke.texi (Wmissing-parameter-type): Document it.
  218. (Wextra): Enabled by -Wextra.
  219. * c-opts.c (c_common_post_options): Enabled by -Wextra.
  220. * c-decl.c (store_parm_decls_oldstyle): Replace Wextra with
  221. Wmissing-parameter-type.
  222. 2006-12-23 Eric Botcazou <ebotcazou@adacore.com>
  223. * dwarf2out.c (dbx_reg_number): Do leaf register remapping
  224. only if the function is leaf.
  225. (multiple_reg_loc_descriptor): Likewise.
  226. 2006-12-23 Kazu Hirata <kazu@codesourcery.com>
  227. * rtl.h (NOTE_EXPECTED_VALUE): Remove.
  228. 2006-12-23 Jan Hubicka <jh@suse.cz>
  229. * toplev.c (dump_memory_report): Break out from...
  230. (finalize): Here.
  231. * toplev.h (dump_memory_report): Declare.
  232. (cmp_statistic): Rename to ...
  233. (final_cmp_statistic): ... this one
  234. (cmp_statistic): New.
  235. (dump_ggc_loc_staitsitcs): New FINAL parpameter.
  236. * common.opt (-fpre-ipa-mem-report, -fpost-ipa-mem-report): Declare.
  237. * varray.c (dump_varray_staitiscs): Do not segfault when no varray was
  238. allocated so far.
  239. * cgraphunit.c (cgraph_optimize): Dump the memory reports.
  240. 2006-12-22 Mike Stump <mrs@apple.com>
  241. * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add
  242. -mmacosx-version-min=10.4.
  243. (crt2.o): Add $(DARWIN_EXTRA_CRT_BUILD_CFLAGS).
  244. 2006-12-23 Jan Hubicka <jh@suse.cz>
  245. * tree-flow-inline.h (var_ann): External variable annotations are
  246. unshared too.
  247. (tree_common_ann): Handle correctly unshared variables annotations.
  248. * tree-dfa.c (create_var_ann): External variable annotations are
  249. unshared too.
  250. 2006-12-22 Kazu Hirata <kazu@codesourcery.com>
  251. * basic-block.h: Remove the prototype for
  252. commit_edge_insertions_watch_calls.
  253. * cfgrtl.c (commit_edge_insertion): Drop the last argument.
  254. Simplify.
  255. (commit_edge_insertions_watch_calls): Remove.
  256. (commit_edge_insertions): Adjust the call to
  257. commit_one_edge_insertion.
  258. 2006-12-22 Zdenek Dvorak <dvorakz@suse.cz>
  259. * tree-ssa-loop-niter.c (zero_p, nonzero_p): Removed.
  260. (number_of_iterations_ne, number_of_iterations_lt_to_ne,
  261. assert_no_overflow_lt, assert_loop_rolls_lt,
  262. number_of_iterations_lt, number_of_iterations_le,
  263. number_of_iterations_cond, tree_simplify_using_condition_1,
  264. number_of_iterations_exit, find_loop_niter, loop_niter_by_eval,
  265. implies_nonnegative_p, implies_ge_p, record_nonwrapping_iv,
  266. idx_infer_loop_bounds, n_of_executions_at_most, scev_probably_wraps_p):
  267. Do not use zero_p/nonzero_p.
  268. * tree-ssa-loop-manip.c (determine_exit_conditions): Ditto.
  269. * tree-ssa-loop-ivopts.c (niter_for_exit, determine_biv_step,
  270. find_interesting_uses_op, find_interesting_uses_cond,
  271. find_interesting_uses_address, find_interesting_uses_stmt,
  272. strip_offset_1, add_candidate_1, add_old_ivs_candidates,
  273. difference_cost, determine_use_iv_cost_condition,
  274. rewrite_use_compare, remove_unused_ivs): Ditto.
  275. * tree-ssa-address.c (tree_mem_ref_addr, create_mem_ref_raw): Ditto.
  276. * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
  277. * tree-cfg.c (find_taken_edge_cond_expr): Ditto.
  278. * tree.h (zero_p): Declaration removed.
  279. (null_or_integer_zerop, nonnull_and_integer_nonzerop): New.
  280. 2006-12-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  281. PR middle-end/7651
  282. * c.opt (Wclobbered): New.
  283. * doc/invoke.texi (Wclobbered): Document it.
  284. (Wextra): Enabled by -Wextra.
  285. * c-opts.c (c_common_post_options): Enabled by -Wextra.
  286. * flow.c (rest_of_handle_life): Replace Wextra with Wclobbered.
  287. * function.c (setjmp_vars_warning): Only warn for Wclobbered.
  288. (setjmp_args_warning): Likewise.
  289. 2006-12-22 Kazu Hirata <kazu@codesourcery.com>
  290. * config/elfos.h, config/spu/spu.c, tree-ssa-operands.h,
  291. tree-ssa-ter.c: Fix comment typos.
  292. 2006-12-22 Paolo Bonzini <bonzini@gnu.org>
  293. PR rtl-optimization/29840
  294. * fwprop.c (forward_propagate_into): Reject artificial uses/defs.
  295. (fwprop_init): Add DF_HARD_REGS to df_init call.
  296. 2006-12-21 Andrew Pinski <pinskia@gmail.com>
  297. * tree-nested.c (create_tmp_var_for): Check for vector type
  298. when setting DECL_GIMPLE_REG_P.
  299. 2006-12-21 Roger Sayle <roger@eyesopen.com>
  300. * tree-pretty-print.c (dump_generic_node): Avoid outputing "(void) 0;"
  301. as the else branch of a COND_EXPR.
  302. 2006-12-22 Kazu Hirata <kazu@codesourcery.com>
  303. * cgraphunit.c, config/i386/i386.c, config/ia64/ia64.c, cse.c,
  304. output.h, toplev.c, tree-affine.h, tree-flow.h,
  305. tree-ssa-alias.c, tree-ssa-coalesce.c, tree-ssa-live.c,
  306. tree-ssa-live.h, tree-ssa-operands.c, tree-ssa-ter.c,
  307. tree-vrp.c, varpool.c: Fix comment typos.
  308. * cgraphunit.c, varpool.c: Fix comment typos.
  309. 2006-12-22 Ulrich Weigand <uweigand@de.ibm.com>
  310. * config/spu/spu.h (ARG_POINTER_CFA_OFFSET): Define.
  311. * config/spu/spu.c (spu_expand_prologue): Set RTX_FRAME_RELATED_P
  312. for insn setting up the frame pointer. Do not set it for insns
  313. setting up scratch registers or storing the backchain.
  314. 2006-12-21 Eric Botcazou <ebotcazou@adacore.com>
  315. PR other/29639
  316. * configure.ac (HAVE_LD_EH_GC_SECTIONS): Check that exception tables
  317. are kept for .gnu.linkonce.t sections if COMDAT groups are disabled.
  318. * configure: Regenerate.
  319. 2006-12-21 Joseph Myers <joseph@codesourcery.com>
  320. * rtlanal.c (subreg_get_info): Do not make register size
  321. computations for mode sizes not divisible by the number of
  322. registers.
  323. 2006-12-21 Daniel Berlin <dberlin@dberlin.org>
  324. * tree-ssa-structalias.c (build_constraint_graph): Insert complex
  325. offsetted constraints into rhsvar, not lhsvar.
  326. 2006-12-21 Jakub Jelinek <jakub@redhat.com>
  327. PR middle-end/30262
  328. PR middle-end/30263
  329. * tree-nested.c (walk_asm_expr): New function.
  330. (walk_stmts): Use it for ASM_EXPR.
  331. PR target/30230
  332. * config/ia64/ia64.c (ia64_add_bundle_selector_before): New function.
  333. (bundling): Use it.
  334. 2006-12-21 Nathan Sidwell <nathan@codesourcery.com>
  335. PR target/28966
  336. PR target/29248
  337. * reload1.c (reload): Realign stack after it changes size.
  338. 2006-12-20 Roger Sayle <roger@eyesopen.com>
  339. * simplify-rtx.c (simplify_subreg): Use the correct mode when
  340. determining whether a SUBREG of a CONCAT refers to the first or
  341. second component.
  342. 2006-12-21 Ben Elliston <bje@au.ibm.com>
  343. * config/spu/spu.c (spu_builtin_mul_widen_even): Remove unused
  344. local variable `d'.
  345. 2006-12-20 Jan Hubicka <jh@suse.cz>
  346. * tree-dfa.c (add_referenced_var): Walk initializers of
  347. non-constant/readonly static vars.
  348. 2006-12-20 Jan Hubicka <jh@suse.cz>
  349. * tree-flow-inline.h (gimple_var_anns): New function.
  350. (var_ann): Use hashtable for static functions.
  351. * tree-dfa.c (create_var_ann): Likewise.
  352. * tree-ssa.c (var_ann_eq, var_ann_hash): New functions.
  353. (init_tree_ssa): Initialize var anns.
  354. (delete_tree_ssa): Delete var anns; also clear out gimple_df.
  355. * tree-flow.h (struct static_var_ann_d): New structure.
  356. (gimple_df): Add var_anns.
  357. 2006-12-20 Carlos O'Donell <carlos@codesourcery.com>
  358. PR bootstrap/30242
  359. * gcc/c-incpath.c (add_standard_paths): Only relocate paths that
  360. begin with the configured prefix.
  361. 2006-12-20 Jan Hubicka <jh@suse.cz>
  362. PR target/30213
  363. * i386.c (expand_setmem_epilogue): Fix formating.
  364. (dsmalest_pow2_greater_than): New function.
  365. (ix86_expand_movmem): Improve comments; avoid re-computing of
  366. epilogue size.
  367. (promote_duplicated_reg_to_size): Break out from ...
  368. (expand_setmem): ... this one; reorganize promotion code;
  369. improve comments; avoid recomputation of epilogue size.
  370. 2006-12-20 Andrew Pinski <pinskia@gmail.com>
  371. PR middle-end/30143
  372. * omp-low.c (init_tmp_var): New function.
  373. (save_tmp_var): New function.
  374. (lower_omp_1): Use them for VAR_DECL.
  375. 2006-12-20 Andrew Pinski <pinskia@gmail.com>
  376. * tree-gimple.c (is_gimple_min_invariant): Treat constant vector
  377. CONSTRUCTORs as min invariants.
  378. 2006-12-20 Joseph Myers <joseph@codesourcery.com>
  379. * rtlanal.c (struct subreg_info, subreg_get_info, subreg_nregs):
  380. New.
  381. (subreg_regno_offset, subreg_offset_representable_p): Change to
  382. wrappers about subreg_get_info.
  383. (refers_to_regno_p, reg_overlap_mentioned_p): Use subreg_nregs.
  384. * rtl.h (subreg_nregs): Declare.
  385. * doc/tm.texi (HARD_REGNO_NREGS_HAS_PADDING): Update to refer to
  386. subreg_get_info.
  387. * caller-save.c (mark_set_regs, add_stored_regs): Use
  388. subreg_nregs.
  389. * df-scan.c (df_ref_record): Use subreg_nregs.
  390. * flow.c (mark_set_1): Use subreg_nregs.
  391. * postreload.c (move2add_note_store): Use subreg_nregs.
  392. * reload.c (decompose, refers_to_regno_for_reload_p,
  393. reg_overlap_mentioned_for_reload_p): Use subreg_nregs.
  394. * resource.c (update_live_status, mark_referenced_resources,
  395. mark_set_resources): Use subreg_nregs.
  396. 2006-12-20 Zdenek Dvorak <dvorakz@suse.cz>
  397. * loop-unswitch.c (unswitch_loop): Update arguments of
  398. duplicate_loop_to_header_edge call.
  399. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Ditto.
  400. * loop-unroll.c (peel_loop_completely, unroll_loop_constant_iterations,
  401. unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid):
  402. Ditto.
  403. * cfgloopmanip.c (loop_version): Ditto.
  404. (duplicate_loop_to_header_edge): Change
  405. type of to_remove to VEC(edge), remove n_to_remove argument.
  406. * tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge):
  407. Change type of to_remove to VEC(edge), remove n_to_remove argument.
  408. (tree_unroll_loop): Update arguments of
  409. tree_duplicate_loop_to_header_edge call.
  410. * cfghooks.c (cfg_hook_duplicate_loop_to_header_edge):
  411. Change type of to_remove to VEC(edge), remove n_to_remove argument.
  412. * cfghooks.h (struct cfg_hooks): Type of
  413. cfg_hook_duplicate_loop_to_header_edge changed.
  414. (cfg_hook_duplicate_loop_to_header_edge): Declaration changed.
  415. * cfgloop.h (duplicate_loop_to_header_edge): Ditto.
  416. * tree-flow.h (tree_duplicate_loop_to_header_edge): Ditto.
  417. 2006-12-20 Dorit Nuzman <dorit@il.ibm.com>
  418. * config/spu/spu.md (vec_widen_umult_hi_v8hi): New.
  419. (vec_widen_umult_lo_v8hi, vec_widen_smult_hi_v8hi): New.
  420. (vec_widen_smult_lo_v8hi): New.
  421. * config/spu/spu.c (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Defined.
  422. (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Defined.
  423. (spu_builtin_mul_widen_even, spu_builtin_mul_widen_odd): New.
  424. 2006-12-20 Jan Hubicka <jh@suse.cz>
  425. * cgraph.c: Update overall comment; fix vertical spacing.
  426. * ipa-inline.c (cgraph_decide_inlining): Remove now redundant check.
  427. 2006-12-20 Jan Hubicka <jh@suse.cz>
  428. * cgraph.h (FOR_EACH_STATIC_VARIABLE, FOR_EACH_STATIC_INITIALIZER): New
  429. macros.
  430. (varpool_first_static_initializer, varpol_next_static_initializer): New
  431. inline functions.
  432. * ipa-reference.c (analyze_variable): Simplify.
  433. (static_execute): Use FOR_EACH_STATIC_INITIALIZER.
  434. * ipa-type-escape.c (type_escape_execute): Use FOR_EACH_STATIC_VARIABLE.
  435. 2006-12-19 Andrew Pinski <pinskia@gmail.com>
  436. PR tree-opt/30045
  437. * tree-vrp.c (nonnull_arg_p): Treat the static decl as always
  438. non null.
  439. 2006-12-20 Ben Elliston <bje@au.ibm.com>
  440. * doc/invoke.texi (Optimize Options): Typo fix.
  441. 2006-12-19 Eric Christopher <echristo@apple.com>
  442. * config/darwin.c (machopic_select_section): Rewrite.
  443. (darwin_text_section): New.
  444. (darwin_rodata_section): Ditto.
  445. (darwin_mergeable_string_section): Ditto.
  446. (darwin_mergeable_constant_section): Ditto.
  447. * config/darwin-sections.def: Add SECTION_STRINGS for cstring_section.
  448. 2006-12-19 Steve Ellcey <sje@cup.hp.com>
  449. * config/pa/pa64-hpux.h (ASM_OUTPUT_EXTERNAL): Add undef.
  450. 2006-12-19 Paolo Bonzini <bonzini@gnu.org>
  451. PR bootstrap/29544
  452. * gcc/Makefile.in (STAGE1_CHECKING): Rename to...
  453. (STAGE1_CHECKING_CFLAGS): ... this.
  454. 2006-12-18 Andrew Pinski <pinskia@gmail.com>
  455. PR target/29779
  456. * config/rs6000/rs6000.c (altivec_init_builtins): Change to set
  457. READONLY on __builtin_altivec_mask_for_load instead of adding
  458. the attribute.
  459. 2006-12-18 Roger Sayle <roger@eyesopen.com>
  460. Eric Christopher <echristo@apple.com>
  461. PR target/29302
  462. * real.c (real_maxval): Correctly handle IBM extended double format.
  463. 2006-12-19 Jan Hubicka <jh@suse.cz>
  464. * expmed.c (expand_mult_const): Force operand to constant.
  465. * rs6000.c (rs6000_emit_set_const, rs6000_emit_set_long_const): Add
  466. copy_rtx to arguments.
  467. 2006-12-19 Ben Elliston <bje@au.ibm.com>
  468. * config/spu/spu.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
  469. 2006-12-19 Ben Elliston <bje@au.ibm.com>
  470. * cse.c (cse_insn): Fix formatting.
  471. 2006-12-18 Geoffrey Keating <geoffk@apple.com>
  472. * doc/invoke.texi (Debugging Options): Document -g0.
  473. * config/darwin.h (LINK_COMMAND_SPEC): Replace -gnone with -g0.
  474. * config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
  475. 2006-12-18 Ian Lance Taylor <iant@google.com>
  476. * c.opt (Wmissing-declarations): Add C++ and ObjC++.
  477. * doc/invoke.texi (Warning Options): -Wmissing-declarations now
  478. works for C++.
  479. 2006-12-18 Andrew MacLeod <amacleod@redhat.com>
  480. * tree-ssa-operands.h (struct vdef_optype_d): Rename to voptype_d.
  481. (struct vuse_optype_d): Delete.
  482. (SSA_OPERAND_MEMORY_SIZE): Delete.
  483. (struct ssa_operand_memory_d): Change mem array to size one.
  484. (NUM_VOP_FREE_BUCKETS): Define.
  485. (free_vuses, free_vdefs): Replace with vop_free_buckets array.
  486. (vdef_ops, vuse_ops, struct ssa_operand_iterator_d): Use voptype_d type.
  487. * tree-pretty-print.c (dump_vops): Use voptype_d type.
  488. * tree-ssa-operands.c (vop_free_bucket_size): New. Number of operands
  489. which fit into a chunk of memory from a specific bucket.
  490. (vop_free_bucket_index): New. Find correct size memory bucket.
  491. (init_vop_buckets): New. Initialize VOP free memory buckets.
  492. (add_vop_to_freelist): New. Add a VOP to the correct free list.
  493. (ssa_operand_mem_size): New. Current size of an operand memory chunk.
  494. (init_ssa_operands): Initialize operand memory and free lists.
  495. (fini_ssa_operands): Remove references to free_vuses and free_vdefs.
  496. (ssa_operand_alloc): Use graduated size memory allocation.
  497. (APPEND_OP_AFTER, MOVE_HEAD_AFTER, MOVE_HEAD_TO_FREELIST,
  498. INITIALIZE_USE): Remove.
  499. (alloc_vop): New. Allocate a virtual operand.
  500. (alloc_vdef, alloc_vuse): Delete.
  501. (add_def_op, add_use_op): Directly setup pointers.
  502. (add_vop): New. Add a virtual operand.
  503. (add_vuse_op, add_vdef_op): Call add_vop.
  504. (realloc_vop): New. Reallocate a virtual operand.
  505. (realloc_vdef, realloc_vuse): Call realloc_vop.
  506. (finalize_ssa_def_ops): Delete. Move content to finalize_ssa_defs.
  507. (finalize_ssa_defs): Optimize for common case, remove code based on
  508. sorted pointers which was a waste of time.
  509. (finalize_ssa_use_ops): Delete. Move content to finalize_ssa_uses.
  510. (finalize_ssa_uses): Update last pointer.
  511. (finalize_ssa_vdef_ops): Delete. Move content to finalize_ssa_vdefs.
  512. (finalize_ssa_vdefs, finalize_ssa_vuse_ops): Use voptype_d and
  513. directly manipulate pointers.
  514. (copy_virtual_operands): Use voptype_d, and no need to update pointers.
  515. 2006-12-18 Nathan Sidwell <nathan@codesourcery.com>
  516. * config/rs6000/rs6000.md (*movdf_hardfloat32): Use %X format to
  517. determine if memory operand is an indexed address or not.
  518. 2006-12-17 Steven Bosscher <steven@gcc.gnu.org>
  519. * cselib.c (struct cselib_val_struct): Make val_rtx its
  520. own field, remove the union that contained it.
  521. * cselib.c: Update accordingly where necessary.
  522. 2006-12-17 Steven Bosscher <steven@gcc.gnu.org>
  523. * cse.c (have_eh_succ_edges): New function.
  524. (cse_insn): Don't remove dead EH edges here
  525. (cse_extended_basic_block): Do it here.
  526. (rest_of_handle_cse, rest_of_handle_cse2): Don't assert
  527. that we have removed all dead edges.
  528. 2006-12-17 Matthias Klose <doko@debian.org>
  529. PR libstdc++/11953
  530. * gcc/config/mips/linux.h (SUBTARGET_CPP_SPEC): Extend.
  531. 2006-12-17 Steven Bosscher <steven@gcc.gnu.org>
  532. * cse.c (cse_find_path): Don't wrap a gcc_assert in ENABLE_CHECKING.
  533. (cse_extended_basic_block): When truncating a path while processing
  534. it, make sure to clear the visited bit on the basic blocks in the
  535. truncated part of the path.
  536. (cse_main): Use reverse completion order, not DFS order, to walk
  537. the CFG.
  538. (gate_handle_cse): Revert erroneous commit of a counter.
  539. 2006-12-17 Steven Bosscher <steven@gcc.gnu.org>
  540. * cse.c (this_insn_cc0, this_insn_cc0_mode): New global
  541. variables, moved out from cse_insn.
  542. (prev_insn): Remove this global variable).
  543. (new_basic_block): Don't set it.
  544. (cse_insn): Idem. Also, move code to delete unused CC0-setter
  545. insns and code to set prev_insn_cc0 and prev_insn_cc0_mode
  546. from here...
  547. (cse_extended_basic_block): ...to here. Do not clear
  548. prev_insn_cc0 until after recording equivalences from jumps.
  549. 2006-12-16 Jan Hubicka <jh@suse.cz>
  550. * cgraphunit.c (ipa_passes): Clear current_function_decl.
  551. 2006-12-16 Andreas Tobler <a.tobler@schweiz.org>
  552. * passes.c (verify_curr_properties): Define only for ENABLE_CHECKING.
  553. 2006-12-16 Jan Hubicka <jh@suse.cz>
  554. * omp-low.c (expand_omp_parallel): Set function properties.
  555. * function.h (struct function): Add curr_properties and last_verified.
  556. * passes.c (register_dump_files): Do not set TODO_set_props for the
  557. first pass
  558. (init_optimization_passes): Set it here; reorder initialization so the
  559. dump files appear in more logical order.
  560. (last_verified, curr_properties): Kill.
  561. (do_per_function): New function.
  562. (execute_function_todo): Break out from ...
  563. (execute_todo): ... here; handle per-function flags.
  564. (clear_last_verified, verify_curr_properties,
  565. update_properties_after_pass): New functions.
  566. (execute_one_pass): Handle per-function properties.
  567. (execute_ipa_pass_list): Use do_per_function; sanity check that cfun
  568. and current_function_decls are cleared out.
  569. * ipa-cp.c (constant_val_insert): Clear cfun/current_function_decl
  570. after use.
  571. 2006-12-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  572. PR middle-end/7651
  573. * c.opt (Wempty-body): New.
  574. * doc/invoke.texi (Wempty-body): Document it.
  575. (Wextra): Enabled by -Wextra.
  576. * c-opts.c (c_common_post_options): Enabled by -Wextra.
  577. * c-common.c (empty_body_warning): Replace Wextra with Wempty-body.
  578. * c-parser.c (c_parser_c99_block_statement): Likewise.
  579. 2006-12-15 Jakub Jelinek <jakub@redhat.com>
  580. PR target/30185
  581. * config/rs6000/rs6000.md (div<mode>3): Use correct mode in
  582. force_reg call.
  583. 2006-12-15 Andrew Pinski <pinski@gmail.com>
  584. PR tree-opt/30140
  585. * tree-inline.c (setup_one_parameter): Gimplify the statement if
  586. the variable is not a gimple register variable.
  587. 2006-12-15 Uros Bizjak <ubizjak@gmail.com>
  588. * invoke.texi (mstringop-strategy): Add missing "byte_loop" value.
  589. 2006-12-14 Jan Hubicka <jh@suse.cz>
  590. * tree-flow.h (struct stmt_ann_d): Move bitfield references_memory
  591. to proper place.
  592. 2006-12-14 Richard Guenther <rguenther@suse.de>
  593. PR tree-optimization/30197
  594. * builtins.c (fold_builtin_cexp): New function to fold cexp
  595. to cexpi and exp parts.
  596. * tree-ssa-pre.c (try_combine_conversion): Also handle
  597. REALPART_EXPR and IMAGPART_EXPR.
  598. 2006-12-14 Richard Guenther <rguenther@suse.de>
  599. PR middle-end/30172
  600. * fold-const.c (fold_binary): Fold __complex__ ( x, 0 )
  601. + __complex__ ( 0, y ) to __complex__ ( x, y ).
  602. Fold __complex__ (x, y) * +-I to __complex__ (-+y, +-x).
  603. 2006-12-14 Richard Guenther <rguenther@suse.de>
  604. PR tree-optimization/30198
  605. * fold-const.c (fold_unary): Fold REALPART_EXPR of cexpi to cos.
  606. Fold IMAGPART_EXPR of cexpi to sin.
  607. 2006-12-14 Dorit Nuzman <dorit@il.ibm.com>
  608. Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  609. * spu.c (TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD): Defined.
  610. (spu_init_builtins): Mark the SPU_MASK_FOR_LOAD builtin decl as read
  611. only.
  612. (spu_expand_builtin_1): Handle the SPU_MASK_FOR_LOAD builtin.
  613. (spu_builtin_mask_for_load): New.
  614. * spu-builtins.def (SPU_MASK_FOR_LOAD): Define new builtin.
  615. * spu.md (UNSPEC_SPU_REALIGN_LOAD, UNSPEC_SPU_MASK_FOR_LOAD):New.
  616. (vec_realign_load_<mode>, spu_lvsr): New.
  617. 2006-12-13 Ian Lance Taylor <iant@google.com>
  618. PR c++/19564
  619. PR c++/19756
  620. * c-typeck.c (parser_build_binary_op): Move parentheses warnings
  621. to warn_about_parentheses in c-common.c.
  622. * c-common.c (warn_about_parentheses): New function.
  623. * c-common.h (warn_about_parentheses): Declare.
  624. * doc/invoke.texi (Warning Options): Update -Wparentheses
  625. description.
  626. 2006-12-13 Zdenek Dvorak <dvorakz@suse.cz>
  627. * tree-ssa-loop-ivopts.c: Include tree-affine.h.
  628. (divide): Removed.
  629. (constant_multiple_of): Fix order of operators for division.
  630. (aff_combination_const, aff_combination_elt, aff_combination_scale,
  631. aff_combination_add_elt, aff_combination_add, aff_combination_convert,
  632. tree_to_aff_combination, add_elt_to_tree, unshare_aff_combination,
  633. aff_combination_to_tree): Moved to tree-affine.c and made to work with
  634. double_int coefficients.
  635. (get_computation_aff, get_computation_at): Work with double_int
  636. coefficients.
  637. (get_computation_cost_at): Do not use divide.
  638. (rewrite_use_nonlinear_expr, rewrite_use_address, rewrite_use_compare):
  639. Assert that expressing the computation did not fail.
  640. * tree-ssa-address.c: Include tree-affine.h.
  641. (add_to_parts, most_expensive_mult_to_index, addr_to_parts,
  642. create_mem_ref): Work with double_int coefficients.
  643. * tree-affine.c: New file.
  644. * tree-affine.h: New file.
  645. * tree-flow.h (struct affine_tree_combination): Removed.
  646. * Makefile.in (tree-affine.o): Add.
  647. (tree-ssa-address.o, tree-ssa-loop-ivopts.o): Add tree-affine.h
  648. dependency.
  649. 2006-12-13 Peter Bergner <bergner@vnet.ibm.com>
  650. PR middle-end/30191
  651. Revert:
  652. * reload1.c (eliminate_regs_in_insn): Merge the plus_src "else" and
  653. the offset == 0 "then" clauses.
  654. * config/rs6000/predicates.md (gpc_reg_operand): Check for
  655. reload_in_progress.
  656. 2006-12-13 Uros Bizjak <ubizjak@gmail.com>
  657. * config/i386/i386.h (FIRST_PSEUDO_REGISTER): Define to 53.
  658. (FIXED_REGISTERS, CALL_USED_REGISTERS): Remove dir register.
  659. (REG_ALLOC_ORDER): Remove one element due to removal of dir register.
  660. (FRAME_POINTER_REGNUM): Update register number to 20.
  661. (REG_CLASS_CONTENTS): Update contents due to removed dir register.
  662. (HI_REGISTER_NAMES): Remove "dirflag".
  663. * config/i386/i386.c (regclass_map): Remove dirflag entry.
  664. (dbx_register_map, dbx64_register_map, svr4_dbx_register_map):
  665. Remove "dir" entry.
  666. (ix86_md_asm_clobbers): Remove "dirflag" default asm clobber.
  667. * config/i386/i386.md (R10_REG, R11_REG): Renumber.
  668. (sse_prologue_save, *sse_prologue_save_insn): Renumber
  669. hardcoded SSE register numbers.
  670. * config/i386/mmx.md (mmx_emms, mmx_femms): Renumber
  671. hardcoded MMX register numbers.
  672. 2006-12-13 Mark Shinwell <shinwell@codesourcery.com>
  673. * config/arm/arm.c (arm_output_fldmx): Output FLDMD instead of
  674. FLDMX. Rename function to...
  675. (vfp_output_fldmd): ...this.
  676. (vfp_output_fstmx): Output FSTMD instead of FSTMX. Rename
  677. function to...
  678. (vfp_output_fstmd): ...this.
  679. (vfp_emit_fstmx): Don't leave space in the frame layout for the
  680. FSTMX format word. Rename function to...
  681. (vfp_emit_fstmd): ...this.
  682. (arm_get_vfp_saved_size): Don't add in space for the FSTMX format
  683. word.
  684. (arm_output_epilogue): Adjust comment to reflect use of FSTMD.
  685. (arm_unwind_emit_sequence): Don't compensate for the FSTMX format
  686. word. Also emit "vsave" assembler directives in such cases rather
  687. than "save".
  688. * config/arm/libunwind.S (gnu_Unwind_Restore_VFP,
  689. gnu_Unwind_Save_VFP): Adjust comments.
  690. (gnu_Unwind_Restore_VFP_D, gnu_Unwind_Save_VFP_D): New functions
  691. for saving and restoring using FSTMD and FLDMD rather than
  692. FSTMX and FLDMX.
  693. (gnu_Unwind_Restore_VFP_D_16_to_31, gnu_Unwind_Restore_VFP_D_16_to_31):
  694. New functions for saving and restoring the VFPv3 registers 16 .. 31.
  695. * config/arm/pr-support.c (gnu_unwind_execute): Add conditional
  696. compilation case to correctly handle unwind opcode 0xc8 when using
  697. VFP.
  698. * config/arm/unwind-arm.c (struct vfpv3_regs): New.
  699. (DEMAND_SAVE_VFP_D, DEMAND_SAVE_VFP_V3): New flags.
  700. (__gnu_Unwind_Save_VFP_D, __gnu_Unwind_Restore_VFP_D,
  701. __gnu_Unwind_Save_VFP_D_16_to_31, __gnu_Unwind_Restore_VFP_D_16_to_31):
  702. Declare.
  703. (restore_non_core_regs): Restore registers using FLDMD rather than
  704. FLDMX if required. Also handle restoration of VFPv3 registers.
  705. (_Unwind_VRS_Pop): Handle saving and restoring of registers using
  706. FSTMD and FLDMD if required; also handle VFPv3 registers 16 .. 31,
  707. including cases where the caller specifies a range of registers
  708. that overlaps the d15/d16 boundary.
  709. 2006-12-13 Diego Novillo <dnovillo@redhat.com>
  710. PR 30089
  711. * tree-ssa-operands.h (SSA_OPERAND_MEMORY_SIZE): Add space to
  712. accomodate 511 operands.
  713. 2006-12-13 Richard Guenther <rguenther@suse.de>
  714. * builtins.c (expand_builtin_cexpi): Fix typo.
  715. 2006-12-13 Jan Hubicka <jh@suse.cz>
  716. * Makefile.in: Add dependencies.
  717. * tree-pretty-print.c: Include value-prof.h
  718. (dump_generic_bb_buff): Dump histograms
  719. * value-prof.c: Include pointer-set.h
  720. (gimple_alloc_histogram_value, histogram_hash, histogram_eq,
  721. set_histogram_value, gimple_histogram_value,
  722. gimple_add_histogram_value, gimple_remove_histogram_value,
  723. gimple_histogram_value_of_type, dump_histogram_value,
  724. dump_histograms_for_stmt, gimple_remove_stmt_histograms,
  725. gimple_duplicate_stmt_histograms, visit_hist,
  726. verify_histograms): New functions.
  727. (tree_value_profile_transformations): Update for new histogram API.
  728. (tree_divmod_fixed_value): Update for new histogram API.
  729. (tree_divmod_fixed_value_transform): Update for new histogram API.
  730. (tree_mod_pow2): Update for new histogram API.
  731. (tree_mod_pow2_value_transform): Update for new histogram API.
  732. (tree_mod_subtract): Update for new histogram API.
  733. (tree_mod_subtract_transform): Update for new histogram API.
  734. (tree_stringops_transform): Update for new histogram API.
  735. (tree_divmod_values_to_profile): Update for new histogram API.
  736. (tree_stringops_values_to_profile): Update for new histogram API.
  737. (tree_find_values_to_profile): Update for new histogram API.
  738. * value-prof.h (gimple_histogram_value): Declare.
  739. (gimple_histogram_value_of_type): Declare.
  740. (gimple_add_histogram_value): Declare.
  741. (gimple_remove_histogram_value): Declare.
  742. (dump_histograms_for_stmt): Declare.
  743. (gimple_remove_histogram_value): Declare.
  744. (gimple_remove_stmt_histograms): Declare.
  745. (gimple_duplicate_stmt_histograms): Declare.
  746. (verify_histograms): Declare.
  747. * function.h
  748. (struct funrction): Add value_histograms hash.
  749. (VALUE_HISTOGRAMS): New macro.
  750. * profile.c (compute_value_histograms): update for new API.
  751. * tree-inline.c: Include value-prof.h
  752. (copy_bb): Update histograms.
  753. * tree-flow.h (struct stmt_ann_d): Do not contain pointer to histograms;
  754. reorder to get smaller memory layout.
  755. * tree-cfg.c: Include value-prof.h
  756. (bsi_remove): Update histograms.
  757. (bsi_replace): Update histograms.
  758. (verify_stmts): Call histogram verifier.
  759. (tree_duplicate_bb): Update histograms.
  760. (move_block_to_fn): Update histograms.
  761. 2006-12-13 Richard Guenther <rguenther@suse.de>
  762. * ipa-inline.c (cgraph_flatten_node): Replace leafify with
  763. flatten.
  764. (cgraph_decide_inlining): Likewise.
  765. 2006-12-13 Richard Guenther <rguenther@suse.de>
  766. PR tree-optimization/17687
  767. * builtins.def (BUILT_IN_CEXPI, BUILT_IN_CEXPIF, BUILT_IN_CEXPIL):
  768. New builtins for imaginary argument cexp.
  769. * builtin-types.def (BT_FN_COMPLEX_FLOAT_FLOAT,
  770. BT_FN_COMPLEX_DOUBLE_DOUBLE, BT_FN_COMPLEX_LONGDOUBLE_LONGDOUBLE):
  771. New required builtin types.
  772. * builtins.c (expand_builtin_cexpi): Declare.
  773. (mathfn_built_in): Handle BUILT_IN_CEXPI.
  774. (expand_builtin_cexpi): New static helper.
  775. (expand_builtin): Call it.
  776. (do_mpfr_sincos): Adjust for CEXPI evaluation.
  777. (fold_builtin_sincos): New function to fold sincos to cepxi.
  778. 2006-12-13 Richard Guenther <rguenther@suse.de>
  779. * ipa-reference.c (scan_for_static_refs): Also scan
  780. tcc_comparison class trees.
  781. 2006-12-12 David Daney <ddaney@avtrex.com>
  782. * config/mips/mips.h (ASM_OUTPUT_EXTERNAL): Undefine it before
  783. define.
  784. 2006-12-12 Andrew Pinski <pinskia@gmail.com>
  785. * tree-vect-transform.c (vect_permute_load_chain):
  786. Set DECL_GIMPLE_REG_P to true for the vect_perm_*
  787. temp variables.
  788. 2006-12-13 Sa Liu <saliu@de.ibm.com>
  789. Ben Elliston <bje@au.ibm.com>
  790. * config/spu/spu.h (C_COMMON_OVERRIDE_OPTIONS): Define.
  791. (REGISTER_TARGET_PRAGMAS): Don't zero warn_main flag.
  792. * config/spu/spu-protos.h (spu_c_common_override_options):
  793. Declare.
  794. * config/spu/spu-c.c (spu_c_common_override_options): New.
  795. * config/spu/spu.c (spu_override_options): Whitespace fix.
  796. 2006-12-12 Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  797. * config/spu/spu.c (cpat_info): Fix an incorrectly identified case.
  798. 2006-12-12 Geoffrey Keating <geoffk@apple.com>
  799. * mips-tdump.c: Replace CROSS_COMPILE with
  800. CROSS_DIRECTORY_STRUCTURE.
  801. * mips-tfile.c: Likewise.
  802. * gcc.c: Likewise.
  803. * configure.ac: Likewise.
  804. * cppdefault.c: Likewise.
  805. * Makefile.in: Likewise.
  806. * config/alpha/osf.h: Likewise.
  807. * config/i386/cygwin.h: Likewise.
  808. * config/i386/beos-elf.h: Likewise.
  809. * config/i386/nto.h: Likewise.
  810. * config/fr30/fr30.h: Likewise.
  811. * config/svr4.h: Likewise.
  812. * config/rs6000/aix.h: Likewise.
  813. * config/rs6000/sysv4.h: Likewise.
  814. * config/pa/pa64-hpux.h: Likewise.
  815. * config/pa/pa-hpux10.h: Likewise.
  816. * config/pa/pa-hpux11.h: Likewise.
  817. * collect2.c: Likewise.
  818. * configure: Regenerate.
  819. * doc/tm.texi (Alignment Output): Document that ASM_OUTPUT_SKIP
  820. actually takes an unsigned HOST_WIDE_INT for its second parameter.
  821. 2006-12-13 Ulrich Weigand <uweigand@de.ibm.com>
  822. * config/spu/spu.c (TARGET_ENCODE_SECTION_INFO): Define.
  823. (spu_encode_section_info): New.
  824. * config/spu/spu.h (ALIGNED_SYMBOL_REF_P): Adjust.
  825. (SYMBOL_FLAG_ALIGN1): New.
  826. 2006-12-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
  827. PR tree-opt/28624
  828. * tree-ssa-dom.c (eliminate_degenerate_phis): Use a temporary
  829. bitmap for EXECUTE_IF_SET_IN_BITMAP.
  830. 2006-12-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
  831. PR tree-opt/28436
  832. * tree.h (DECL_COMPLEX_GIMPLE_REG_P): Rename to ...
  833. (DECL_GIMPLE_REG_P): This.
  834. * fold-const.c (fold_indirect_ref_1): Fold *(foo *)&vectorfoo into
  835. using BIT_FIELD_REF.
  836. * omp-low.c (omp_copy_decl_2): Use the renamed DECL_GIMPLE_REG_P.
  837. * tree-gimple.c (is_gimple_reg): Use the renamed DECL_GIMPLE_REG_P
  838. and check for VECTOR_TYPE.
  839. * expr.c (get_inner_reference): Set the mode for BIT_FIELD_REF with
  840. vector types.
  841. * tree-flow-inline.h (var_can_have_subvars): Use the renamed
  842. DECL_GIMPLE_REG_P.
  843. * gimplify.c (internal_get_tmp_var): Use the renamed DECL_GIMPLE_REG_P
  844. and check for VECTOR_TYPE.
  845. (gimplify_bind_expr): Likewise.
  846. (gimplify_function_tree): Likewise.
  847. * expmed.c: Include target.h.
  848. (extract_bit_field): For vector mode, try find a better mode first.
  849. If that fails use gen_lowpart (for vectors only).
  850. * tree-dfa.c (make_rename_temp): Use the renamed DECL_GIMPLE_REG_P
  851. and check for VECTOR_TYPE.
  852. * tree-ssa-pre.c (create_expressions_by_pieces): Likewise.
  853. (insert_into_preds_of_block): Likewise.
  854. (insert_fake_stores): Create gimple register store_tmps for
  855. vector types.
  856. * tree-sra.c (sra_elt): New field, is_vector_lhs.
  857. (sra_walk_expr <case BIT_FIELD_REF>): For vector types that
  858. are the left hand side, set the element's is_vector_lhs to true.
  859. (instantiate_element): For vector types which were on the left
  860. hand size, set DECL_GIMPLE_REG_P to false.
  861. * tree-nested.c (create_tmp_var_for): Use the renamed
  862. DECL_GIMPLE_REG_P.
  863. * tree-inline.c (declare_return_variable): Use the renamed
  864. DECL_GIMPLE_REG_P and check for VECTOR_TYPE.
  865. (copy_decl_to_var): Use the renamed DECL_GIMPLE_REG_P.
  866. (copy_result_decl_to_var): Likewise.
  867. * tree-vect-transform.c (vect_get_new_vect_var): For vector types,
  868. create a gimple register variable.
  869. (vect_permute_store_chain): Set DECL_GIMPLE_REG_P to true for the
  870. vect_inter_* temp variables.
  871. * Makefile.in (expmed.o): Update dependencies.
  872. 2006-12-12 Peter Bergner <bergner@vnet.ibm.com>
  873. * reload1.c (eliminate_regs_in_insn): Merge the plus_src "else" and
  874. the offset == 0 "then" clauses.
  875. * config/rs6000/predicates.md (gpc_reg_operand): Check for
  876. reload_in_progress.
  877. 2006-12-12 Marcin Dalecki <martin@dalecki.de>
  878. * doc/passes.texi: remove docs about "redundant PHI removal".
  879. * tree-pass.h: remove orphaned declaration of pass_redundant_phi,
  880. remove redundant pass_partition_blocks declaration.
  881. 2006-12-12 Andrew Macleod <amacleod@redhat.com>
  882. PR tree-optimization/30159
  883. * tree-ssa-coalesce.c (coalesce_ssa_name): Process single ssa_name
  884. functions in case a default_def coalesce is required.
  885. 2006-12-12 Jakub Jelinek <jakub@redhat.com>
  886. PR libstdc++/11953
  887. * gthr-posix.h (_REENTRANT): Only define if __osf__ is defined.
  888. * config/ia64/linux.h (CPP_SPEC): Define.
  889. * config/s390/linux.h (CPP_SPEC): Define.
  890. 2006-12-12 Jim Wilson <wilson@specifix.com>
  891. Jakub Jelinek <jakub@redhat.com>
  892. PR rtl-optimization/27761
  893. * combine.c (try_combine): Don't create a useless garbage SET
  894. if PATTERN (i2) is a PARALLEL. If added_sets_1, save
  895. PATTERN (i1) resp. SET from i1src to i1dest in i1pat
  896. and use it to prevent accidental modification of i1src.
  897. 2006-12-12 Ira Rosen <irar@il.ibm.com>
  898. * tree-vect-analyze.c (vect_analyze_data_ref_access): Add another check
  899. for stores with gaps.
  900. * tree-vect-transform.c (vect_permute_store_chain): Create
  901. interleave_high or interleave_low according to the endianess.
  902. 2006-12-12 Richard Guenther <rguenther@suse.de>
  903. PR middle-end/30147
  904. * fold-const.c (fold_read_from_constant_string): Only fold read
  905. from constant string if the result type is integer.
  906. 2006-12-12 Olivier Hainque <hainque@adacore.com>
  907. * config/rs6000/t-vxworks: Remove assignment to LIB2FUNCS_EXTRA.
  908. 2006-12-12 Olivier Hainque <hainque@adacore.com>
  909. * config/vxlib.c: Extract tls related routines into ...
  910. * config/vxlib-tls.c: New file.
  911. * config/t-vxworks: Add vxlib-tls.c to LIB2FUNCS_EXTRA.
  912. 2006-12-12 Sa Liu <saliu@de.ibm.com>
  913. Ben Elliston <bje@au.ibm.com>
  914. * config/spu/spu.opt (mfixed-range): New option.
  915. * config/spu/spu.h (spu_fixed_range_string): Declare.
  916. * config/spu/spu.c (spu_override_options): Handle -mfixed-range.
  917. (fix_range): New function.
  918. * doc/invoke.texi (SPU Options): Document -mfixed-range.
  919. * testsuite/gcc.target/spu/fixed-range.c: New.
  920. * testsuite/gcc.target/spu/fixed-range-bad.c: Ditto.
  921. 2006-12-11 H.J. Lu <hongjiu.lu@intel.com>
  922. PR middle-end/17982
  923. PR middle-end/20218
  924. * cgraphunit.c (cgraph_optimize): Remove call to
  925. process_pending_assemble_externals.
  926. * config/elfos.h (ASM_OUTPUT_EXTERNAL): New.
  927. * config/ia64/hpux.h (TARGET_ASM_FILE_END): Removed.
  928. * config/ia64/ia64.c (ia64_asm_output_external): Rewritten.
  929. (ia64_hpux_add_extern_decl): Removed.
  930. (ia64_hpux_file_end): Likewise.
  931. (extern_func_list): Likewise.
  932. (extern_func_head): Likewise.
  933. * output.h (assemble_external): Update comments.
  934. (default_elf_asm_output_external): New.
  935. (maybe_assemble_visibility): New.
  936. * toplev.c (compile_file): Update comment.
  937. * varasm.c (assemble_external): Always put it on
  938. pending_assemble_externals.
  939. (maybe_assemble_visibility): Make it extern and return int.
  940. (default_elf_asm_output_external): New.
  941. 2006-12-11 Daniel Berlin <dberlin@dberlin.org>
  942. * tree-ssa-structalias.c (handle_ptr_arith): Return false when we
  943. can't handle the pointer arithmetic.
  944. 2006-12-11 Diego Novillo <dnovillo@redhat.com>
  945. * doc/tree-ssa.texi: Update documentation for virtual operands
  946. and the use of push_stmt_changes/pop_stmt_changes.
  947. * doc/invoke.texi: Remove documentation for params
  948. global-var-threshold.
  949. Update documentation on max-aliased-vops.
  950. * tree-into-ssa.c: Cleanup comments, variables and
  951. spacing in various functions.
  952. (regs_to_rename): Declare.
  953. (mem_syms_to_rename): Declare.
  954. (dump_update_ssa): Declare.
  955. (debug_update_ssa): Declare.
  956. (dump_names_replaced_by): Declare.
  957. (debug_names_replaced_by): Declare.
  958. (dump_def_blocks): Declare.
  959. (debug_def_blocks): Declare.
  960. (dump_defs_stack): Declare.
  961. (debug_defs_stack): Declare.
  962. (dump_currdefs): Declare.
  963. (debug_currdefs): Declare.
  964. (mark_def_sites): Do not handle virtual operands.
  965. (compute_idf): Rename from find_idf. Update users.
  966. (register_new_def): Make local. Convert second argument
  967. to 'tree'.
  968. Use BLOCK_DEFS_STACK directly.
  969. If pushing a non-register, also push the underlying
  970. symbol.
  971. (rewrite_stmt): Do not handle virtual operands.
  972. (dump_tree_ssa): Call dump_def_blocks, dump_defs_stack,
  973. dump_currdefs and dump_tree_ssa_stats.
  974. (dump_tree_ssa_stats): Also dump REPL_TBL.
  975. (replace_use): Remove. Update all users to call SET_USE
  976. instead.
  977. (rewrite_blocks): Move code to free memory to
  978. fini_ssa_renamer.
  979. (mark_def_site_blocks): Move initialization code to
  980. init_ssa_renamer.
  981. (init_ssa_renamer): New.
  982. (fini_ssa_renamer): New.
  983. (rewrite_into_ssa): Call them.
  984. (prepare_block_for_update): Process SSA_OP_ALL_USES first
  985. and SSA_OP_ALL_DEFS later. Do not process virtual
  986. operands separately.
  987. (dump_update_ssa): Call dump_decl_set.
  988. (init_update_ssa): Initialize regs_to_rename and
  989. mem_syms_to_rename.
  990. Call init_ssa_renamer.
  991. (delete_update_ssa): Call fini_ssa_renamer.
  992. Free blocks_with_phis_to_rewrite.
  993. (mark_sym_for_renaming): If the variable has
  994. sub-variables, also mark them.
  995. If the variable belongs to a partition, also mark it.
  996. (mark_set_for_renaming): Call mark_sym_for_renaming on
  997. every symbol in the set.
  998. (switch_virtuals_to_full_rewrite): Call
  999. mark_set_for_renaming.
  1000. (update_ssa): Separate syms_to_rename into regs_to_rename
  1001. and mem_syms_to_rename.
  1002. * tree-dump.c (dump_options): Add TDF_MEMSYMS.
  1003. * tree-pretty-print.c (debug_generic_expr): Add TDF_MEMSYMS.
  1004. (debug_generic_stmt): Likewise.
  1005. (debug_tree_chain): Likewise.
  1006. (dump_symbols): New.
  1007. (dump_generic_node): Check for TDF_MEMSYMS.
  1008. Handle MEMORY_PARTITION_TAG.
  1009. If the statement references memory and TDF_MEMSYMS is
  1010. given, call dump_symbols.
  1011. Indicate default names with (D).
  1012. (dump_vops): Update for new virtual operator format.
  1013. * tree.c (init_ttree): Add MEMORY_PARTITION_TAG to
  1014. tree_contains_struct.
  1015. (tree_code_size): Handle MEMORY_PARTITION_TAG.
  1016. (tree_node_structure): Likewise.
  1017. (needs_to_live_in_memory): Handle SSA names.
  1018. * tree.h (MTAG_P): Likewise.
  1019. (struct tree_memory_partition_tag): Declare.
  1020. (MPT_SYMBOLS): Define.
  1021. (union tree_node): Add field 'mpt'.
  1022. * treestruct.def (TS_MEMORY_PARTITION_TAG): Define.
  1023. * tree.def (MEMORY_PARTITION_TAG): Define.
  1024. * tree-pass.h (TDF_MEMSYMS): Define.
  1025. * params.h (GLOBAL_VAR_THRESHOLD): Remove.
  1026. * tree-ssa-alias.c: Include pointer-set.h
  1027. (struct alias_map_d): Remove fields total_alias_vops,
  1028. grouped_p and may_aliases. Update all users.
  1029. (struct mp_info_def): Declare.
  1030. (mp_info_t): New type.
  1031. (get_smt_for): Rename from get_tmt_for. Update all
  1032. users.
  1033. (add_may_alias): Add argument ALREADY_ADDED. If given,
  1034. use it to avoid adding duplicate entries to alias sets.
  1035. (replace_may_alias): Remove. Update all users.
  1036. (total_alias_vops_cmp): Remove. Update all users.
  1037. (group_aliases_into): Remove. Update all users.
  1038. (tree_pointer_compare): Remove. Update all users.
  1039. (compact_name_tags): Remove. Update all users.
  1040. (group_aliases): Remove. Update all users.
  1041. (mark_non_addressable): Move from tree-flow-inline.h.
  1042. Remove the symbol from the partition holding it, if
  1043. needed.
  1044. (dump_mp_info): New.
  1045. (debug_mp_info): New.
  1046. (sort_mp_info): New.
  1047. (create_partition_for): New.
  1048. (rewrite_alias_set_for): New.
  1049. (compute_memory_partitions): New.
  1050. (compute_may_aliases): Call it.
  1051. (init_alias_info): If computing aliases for the first
  1052. time, mark every memory symbol for renaming.
  1053. (have_common_aliases_p): New.
  1054. (compute_flow_insensitive_aliasing): Call it.
  1055. (setup_pointers_and_addressables): Do not cache
  1056. num_referenced_vars.
  1057. For register promoted symbols, mark their former
  1058. partition for renaming.
  1059. (maybe_create_global_var): Only create .GLOBAL_VAR if
  1060. there are no call-clobbered variables and a mix of pure
  1061. and non-pure functions were found.
  1062. (may_alias_p): Tidy comments.
  1063. (create_tag_raw): Remove unused variable new_type.
  1064. (dump_alias_info): call dump_memory_partitions.
  1065. (dump_points_to_info_for): Call dump_decl_set.
  1066. (may_be_aliased): Tidy comments and formatting.
  1067. * timevar.def (TV_MEMORY_PARTITIONING): Define.
  1068. * tree-vectorizer.c (vect_memsyms_to_rename): Rename from
  1069. vect_vnames_to_rename. Set DECL_UIDs instead of SSA name
  1070. versions in it.
  1071. (slpeel_update_phi_nodes_for_guard1): Ignore memory PHIs.
  1072. * tree-vect-transform.c (vect_transform_loop): Call
  1073. mark_set_for_renaming with vect_memsyms_to_rename.
  1074. * tree-flow-inline.h (zero_imm_uses_p): New.
  1075. (memory_partition): New.
  1076. (set_memory_partition): New.
  1077. (factoring_name_p): New.
  1078. (symbol_mem_tag): New. Update every function that used
  1079. to access the annotation directly.
  1080. (set_symbol_mem_tag): Likewise.
  1081. * tree-ssa-copy.c (may_propagate_copy): Allow copies
  1082. between a partition and a symbol as long as the symbol
  1083. belongs to the partition.
  1084. (merge_alias_info): Ignore merge requests when memory
  1085. partitions are involved.
  1086. * tree-ssa.c (verify_ssa_name): Check that default
  1087. definitions have empty defining statements.
  1088. (verify_use): Remove argument IS_VIRTUAL.
  1089. Don't call verify_ssa_name.
  1090. (verify_phi_args): Call verify_ssa_name.
  1091. (verify_flow_insensitive_alias_info): Handle MPTs.
  1092. (verify_flow_sensitive_alias_info): Likewise.
  1093. (verify_name_tags): Likewise.
  1094. (verify_call_clobbering): Likewise.
  1095. (verify_ssa): Check for VOPs only after aliasing
  1096. information is available.
  1097. Check virtuals and real operands separately.
  1098. Call verify_ssa_name on every operand.
  1099. (stmt_references_memory_p): Move to tree-ssa-operands.c.
  1100. (walk_use_def_chains_1): Guard against NULL PHI
  1101. arguments.
  1102. * tree-ssa-operands.c (stmt_references_memory_p): Move from
  1103. tree-ssa.c.
  1104. (get_mpt_for): New.
  1105. (dump_memory_partitions): New.
  1106. (debug_memory_partitions): New.
  1107. * tree-flow.h (struct var_ann_d): Add field mpt.
  1108. (struct stmt_ann_d): Add bitfield references_memory.
  1109. * Makefile.in (tree-ssa-structalias.o): Include
  1110. pointer-set.h
  1111. (tree-ssa-alias.o): Likewise.
  1112. * tree-ssa-structalias.c: (update_alias_info): Use
  1113. STORED_SYMS to determine which variables are being
  1114. written to by the store operation.
  1115. * tree-ssa-structalias.h (struct alias_info)
  1116. <total_alias_vops>: Remove. Update all users.
  1117. <written_vars>: Change to a pointer set. Update all
  1118. users.
  1119. <dereferenced_ptrs_store>: Likewise.
  1120. <dereferenced_ptrs_load>: Likewise.
  1121. (NUM_REFERENCES): Remove. Update all users.
  1122. (NUM_REFERENCES_CLEAR): Remove. Update all users.
  1123. (NUM_REFERENCES_INC): Remove. Update all users.
  1124. (NUM_REFERENCES_SET): Remove. Update all users.
  1125. * params.def (PARAM_GLOBAL_VAR_THRESHOLD): Remove.
  1126. Update all users.
  1127. (PARAM_MAX_ALIASED_VOPS): Set to 10.
  1128. * tree-ssanames.c (make_ssa_name): Initialize
  1129. SSA_NAME_IS_DEFAULT_DEF to 0.
  1130. 2006-12-11 Aldy Hernandez <aldyh@redhat.com>
  1131. * tree-ssa-dse.c (aggregate_vardecl_d): New.
  1132. (dse_global_data): Add aggregate_vardecl field.
  1133. (dse_possible_dead_store_p): New.
  1134. Add prev_defvar variable.
  1135. Allow immediate uses and previous immediate uses to differ
  1136. if they are setting different parts of the whole.
  1137. (get_aggregate_vardecl): New.
  1138. (dse_record_partial_aggregate_store): New.
  1139. (dse_whole_aggregate_clobbered_p): New.
  1140. (dse_partial_kill_p): New.
  1141. (dse_optimize_stmt): Abstract code checking a possible dead store
  1142. into new function dse_possible_dead_store_p().
  1143. Call dse_maybe_record_aggregate_store().
  1144. When checking whether a STMT and its USE_STMT refer to the
  1145. same memory address, check also for partial kills that clobber
  1146. the whole.
  1147. Move some variable definitions to the block where they are used.
  1148. (aggregate_vardecl_hash): New.
  1149. (aggregate_vardecl_eq): New.
  1150. (aggregate_vardecl_free): New.
  1151. (aggregate_whole_store_p): New.
  1152. (tree_ssa_dse): Initialize and free aggregate_vardecl.
  1153. Mark which aggregate stores we care about.
  1154. 2006-12-11 Andrew Macleod <amacleod@redhat.com>
  1155. * tree-ssa-operands.h (struct vuse_element_d): Declare.
  1156. (vuse_element_t): Declare.
  1157. (struct vuse_vec_d): Declare.
  1158. (vuse_vec_p): Declare.
  1159. (VUSE_VECT_NUM_ELEM): Define.
  1160. (VUSE_VECT_ELEMENT_NC): Define.
  1161. (VUSE_ELEMENT_PTR_NC): Define.
  1162. (VUSE_ELEMENT_VAR_NC): Define.
  1163. (VUSE_VECT_ELEMENT): Define.
  1164. (VUSE_ELEMENT_PTR): Define.
  1165. (VUSE_ELEMENT_VAR): Define.
  1166. (struct maydef_optype_d) <use_var>: Remove.
  1167. <use_ptr>: Remove.
  1168. <usev>: Add.
  1169. (struct vuse_optype_d) <kill_var>: Remove.
  1170. <use_ptr>: Remove.
  1171. <usev>: Add.
  1172. (struct mustdef_optype_d) <kill_var>: Remove.
  1173. <use_ptr>: Remove.
  1174. <usev>: Add.
  1175. (VUSE_OP_PTR): Add argument. Use VUSE_ELEMENT_PTR.
  1176. (VUSE_OP): Add argument. Use VUSE_ELEMENT_PTR.
  1177. (VUSE_NUM): Define.
  1178. (VUSE_VECT): Define.
  1179. (MAYDEF_OP_PTR): Add argument. Use VUSE_OP_PTR.
  1180. (MAYDEF_OP): Add argument. Use VUSE_OP.
  1181. (MAYDEF_NUM): Define.
  1182. (MAYDEF_VECT): Define.
  1183. (MUSTDEF_KILL_PTR): Use VUSE_OP_PTR.
  1184. (MUSTDEF_KILL): Use VUSE_OP.
  1185. (MUSTDEF_NUM): Define.
  1186. (MUSTDEF_VECT): Define.
  1187. (realloc_maydef): Declare.
  1188. (realloc_vuse): Declare.
  1189. (struct ssa_operand_iterator_d) <vuse_index>: Add.
  1190. <mayuse_index>: Add.
  1191. (LOADED_SYMS): Define.
  1192. (STORED_SYMS): Define.
  1193. (FOR_EACH_SSA_MUSTDEF_OPERAND): Call op_iter_next_mustdef.
  1194. * tree-into-ssa.c: Adapt for multi-operand V_MAY_DEF and VUSE
  1195. operators.
  1196. * tree-pretty-print.c: Likewise.
  1197. * tree-ssa-dse.c: Likewise.
  1198. * tree-flow-inline.h: Likewise.
  1199. (op_iter_next_mustdef): New.
  1200. * tree-ssa-operands.c: Likewise.
  1201. (ALLOC_OPTYPE): Remove.
  1202. Update all users.
  1203. (alloc_def): New.
  1204. (alloc_use): New.
  1205. (alloc_maydef): New.
  1206. (alloc_vuse): New.
  1207. (alloc_mustdef): New.
  1208. (realloc_maydef): New.
  1209. (realloc_vuse): New.
  1210. 2006-12-11 Aldy Hernandez <aldyh@redhat.com>
  1211. * tree-ssa-operands.c: Remove build_v_must_defs.
  1212. (init_ssa_operands): Delete build_v_must_defs.
  1213. (finalize_ssa_v_must_def_ops): Remove.
  1214. (finalize_ssa_v_must_defs): Remove.
  1215. (finalize_ssa_stmt_operands): Do not call
  1216. finalize_ssa_v_must_defs.
  1217. (start_ssa_stmt_operands): Do not check build_v_must_defs.
  1218. (append_v_must_def): Delete.
  1219. (copy_virtual_operands): Do not copy V_MUST_DEFs.
  1220. (get_modify_expr_operands): Remove reference to V_MUST_DEF from
  1221. comment. Remove opf_kill_def.
  1222. (build_ssa_operands): Remove references to v_must_defs.
  1223. (copy_virtual_operands): Same.
  1224. (copy_virtual_operands): Same.
  1225. (fini_ssa_operands): Same.
  1226. (free_ssa_operands): Same.
  1227. (add_mustdef_op): Remove.
  1228. Remove mustdef_optype_p.
  1229. (alloc_mustdef): Remove.
  1230. Remove references to V_MUST_DEFs in comment at top of file.
  1231. (get_expr_operands): Remove opf_kill_def.
  1232. (opf_kill_def): Remove.
  1233. (add_virtual_operand): Remove opf_kill_def.
  1234. (get_indirect_ref_operands): Same.
  1235. (get_tmr_operands): Same.
  1236. * tree-vectorizer.c (rename_variables_in_bb): Remove
  1237. SSA_OP_ALL_KILLS.
  1238. * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Remove
  1239. SSA_OP_ALL_KILLS.
  1240. (check_loop_closed_ssa_stmt): Same.
  1241. * tree-ssa.c (verify_def): Remove V_MUST_DEF from comment.
  1242. (verify_use): Same.
  1243. (verify_ssa): Remove V_MUST_DEFs traces.
  1244. (verify_ssa): Remove SSA_OP_ALL_KILLS.
  1245. * tree-into-ssa.c (mark_def_sites): Change SSA_OP_VMUSTDEF to
  1246. SSA_OP_VMAYDEF.
  1247. (rewrite_update_stmt): Remove SSA_OP_VIRTUAL_KILLS.
  1248. (rewrite_stmt): Remove SSA_OP_ALL_KILLS.
  1249. * tree-ssa-operands.h (struct stmt_operands_d): Remove V_MUST_DEF
  1250. references.
  1251. (MUSTDEF_OPS): Remove.
  1252. (SSA_OP_VMUSTDEF): Remove.
  1253. (FOR_EACH_SSA_MUSTDEF_OPERAND): Remove.
  1254. (struct mustdef_optype_d): Remove.
  1255. Remove mustdef_optype_p.
  1256. (struct stmt_operands_d): Remove mustdef_ops.
  1257. (ssa_operand_iterator_d): Remove mustdefs and mustkills.
  1258. (SSA_OP_VIRTUAL_DEFS): Remove SSA_OP_VMUSTDEF.
  1259. (MUSTDEF_RESULT_PTR): Remove.
  1260. (MUSTDEF_RESULT): Remove.
  1261. (MUSTDEF_KILL_PTR): Remove.
  1262. (MUSTDEF_KILL): Remove.
  1263. (MUSTDEF_NUM): Remove.
  1264. (MUSTDEF_VECT): Remove.
  1265. (SSA_OP_VIRTUAL_KILLS): Remove.
  1266. (SSA_OP_ALL_VIRTUALS): Remove SSA_OP_VIRTUAL_KILLS.
  1267. (SSA_OP_VMUSTKILL): Remove.
  1268. (SSA_OP_ALL_KILLS): Remove.
  1269. (SSA_OP_ALL_OPERANDS): Remove SSA_OP_ALL_KILLS.
  1270. * tree-flow-inline.h (op_iter_init_def): Remove
  1271. SSA_OP_VIRTUAL_KILLS.
  1272. (delink_stmt_imm_use): Remove SSA_OP_ALL_KILLS.
  1273. * tree-ssa-pre.c (compute_rvuse_and_antic_safe): Remove
  1274. SSA_OP_VIRTUAL_KILLS.
  1275. * tree-ssa-loop-im.c (determine_max_movement): Remove
  1276. SSA_OP_VIRTUAL_KILLS.
  1277. (gather_mem_refs_stmt): Same.
  1278. (gather_mem_refs_stmt): Same.
  1279. * tree-ssa-dce.c (mark_really_necessary_kill_operand_phis): Delete.
  1280. (perform_tree_ssa_dce): Remove call to
  1281. mark_really_necessary_kill_operand_phis.
  1282. * tree-flow-inline.h (op_iter_init): Remove setting of mustdefs
  1283. and mustkills.
  1284. (op_iter_next_use): Do not check mustkills.
  1285. (op_iter_next_def): Do not check mustdefs.
  1286. (op_iter_next_tree): Do not check mustkills or mustdefs.
  1287. (clear_and_done_ssa_iter): Do not set mustdefs or mustkills.
  1288. (op_iter_next_maymustdef): Do not check mustkills.
  1289. (op_iter_init_must_and_may_def): Remove SSA_OP_VMUSTKILL.
  1290. (op_iter_init_mustdef): Remove.
  1291. * tree-ssa-live.c (create_ssa_var_map): Change SSA_OP_VMUSTDEF to
  1292. SSA_OP_VMAYDEF.
  1293. * tree-ssa-dse.c (dse_optimize_stmt): Remove SSA_OP_VMUSTDEF.
  1294. * tree-ssa-ccp.c: Remove V_MUST_DEF traces from comments.
  1295. (visit_assignment): Same.
  1296. * tree-ssa-copy.c (copy_prop_visit_assignment): Same.
  1297. * tree-sra.c (mark_all_v_defs_1): Remove V_MUST_DEF from comment.
  1298. * tree-outof-ssa.c (check_replaceable): Remove SSA_OP_VMUSTDEF.
  1299. * tree-pretty-print.c (dump_vops): Remove printing of V_MUST_DEF.
  1300. Remove kill_p variable.
  1301. * tree-dfa.c (struct dfa_stats_d): Remove num_v_must_defs.
  1302. (dump_dfa_stats): Remove code related to V_MUST_DEFs.
  1303. (collect_dfa_stats_r): Do not set num_v_must_defs.
  1304. (mark_new_vars_to_rename): Remove v_must_defs_{before,after}
  1305. code.
  1306. * tree-into-ssa.c (mark_def_sites): Change SSA_OP_VMUSTKILL to
  1307. SSA_OP_VMAYUSE.
  1308. * tree-ssa-pre.c (compute_rvuse_and_antic_safe): Remove
  1309. SSA_OP_VMUSTDEF and SSA_OP_VMUSTKILL.
  1310. * tree-ssa-propagate.c (stmt_makes_single_store): Remove
  1311. SSA_OP_VMUSTDEF.
  1312. 2006-12-11 Zdenek Dvorak <dvorakz@suse.cz>
  1313. PR rtl-optimization/30113
  1314. * loop-iv.c (implies_p): Require the mode of the operands to be
  1315. scalar.
  1316. 2006-12-11 Diego Novillo <dnovillo@redhat.com>
  1317. * tree-ssa-operands.h (create_ssa_artificial_load_stmt):
  1318. Rename from create_ssa_artficial_load_stmt. Update all users.
  1319. * tree-into-ssa.c (register_new_def): Make static.
  1320. * tree.c (is_global_var): Handle SSA_NAMEs.
  1321. * tree.h (SSA_NAME_IS_DEFAULT_DEF): Define. Update all users
  1322. that used to call gimple_default_def.
  1323. * tree-ssa-operands.c (push_stmt_changes): New.
  1324. (pop_stmt_changes): New. Update every pass that modifies
  1325. statements to bracket modifications with
  1326. push_stmt_changes/pop_stmt_changes.
  1327. (discard_stmt_changes): New.
  1328. * tree-ssa-dom.c (stmts_to_rescan): Change to stack of
  1329. 'tree *' instead of 'tree'. Update all users.
  1330. * tree-flow-inline.h (zero_imm_uses_p): New.
  1331. (symbol_mem_tag): New. Update every function that used
  1332. to access the annotation directly.
  1333. (set_symbol_mem_tag): Likewise.
  1334. * tree-dfa.c (dump_variable): Always show the escape mask.
  1335. (mark_symbols_for_renaming): Rename from
  1336. mark_new_vars_to_rename. Update all users.
  1337. Only mark to rename naked symbols in real and virtual
  1338. operands.
  1339. 2006-12-11 Andreas Schwab <schwab@suse.de>
  1340. * varasm.c (elf_record_gcc_switches): Cast second argument of
  1341. ASM_OUTPUT_SKIP to unsigned HOST_WIDE_INT.
  1342. 2006-12-11 Diego Novillo <dnovillo@redhat.com>
  1343. * tree-scalar-evolution.c (scev_const_prop):
  1344. * tree-phinodes.c (remove_phi_node): Add argument
  1345. RELEASE_LHS_P. If given, release the SSA name on the LHS of
  1346. the PHI node.
  1347. Update all users.
  1348. * tree-ssa-dce.c: Remove forward declarations for static
  1349. functions. Re-arrange functions bodies as needed.
  1350. (find_obviously_necessary_stmts): Never mark PHI nodes as
  1351. obviously necessary.
  1352. 2006-12-11 Carlos O'Donell <carlos@codesourcery.com>
  1353. * config/arm/elf.h (MAX_OFILE_ALIGNMENT): Remove definition.
  1354. 2006-12-11 Jan Hubicka <jh@suse.cz>
  1355. * value-prof.c (tree_stringops_transform): New.
  1356. (tree_value_profile_transformations): Require count to be non-zero;
  1357. call stringop transform; reset stmt BSI after BB changed.
  1358. (tree_divmod_fixed_value, tree_mod_pow2): Don't emit unnecesary label.
  1359. (interesting_stringop_to_profile_p, tree_stringop_fixed_value): New.
  1360. (tree_stringops_values_to_profile): New.
  1361. (tree_values_to_profile): Call tree_stringops_values_to_profile.
  1362. * tree.h (build_string_literal): Tidy prototype.
  1363. (validate_arglist, builtin_memset_read_str, get_pointer_alignment):
  1364. Declare.
  1365. * builtins.c (validate_arglist, builtin_memset_read_str,
  1366. get_pointer_alignment): Export.
  1367. 2006-12-11 Uros Bizjak <ubizjak@gmail.com>
  1368. PR target/30120
  1369. Revert:
  1370. 2006-11-15 Uros Bizjak <ubizjak@gmail.com>
  1371. * config/i386/i386.opt: New target option -mx87regparm.
  1372. * config/i386/i386.h (struct ix86_args): Add x87_nregs, x87_regno,
  1373. float_in_x87: Add new variables. mmx_words, sse_words: Remove.
  1374. (X87_REGPARM_MAX): Define.
  1375. * config/i386/i386.c (override_options): Error out for
  1376. -mx87regparm but no 80387 support.
  1377. (ix86_attribute_table): Add x87regparm.
  1378. (ix86_handle_cconv_attribute): Update comments for x87regparm.
  1379. (ix86_comp_type_attributes): Check for mismatched x87regparm types.
  1380. (ix86_function_x87regparm): New function.
  1381. (ix86_function_arg_regno_p): Add X87_REGPARM_MAX 80387 floating
  1382. point registers.
  1383. (init_cumulative_args): Initialize x87_nregs and float_in_x87
  1384. variables.
  1385. (function_arg_advance): Process x87_nregs and x87_regno when
  1386. floating point argument is to be passed in 80387 register.
  1387. (function_arg): Pass XFmode arguments in 80387 registers for local
  1388. functions. Pass SFmode and DFmode arguments to local functions
  1389. in 80387 registers when flag_unsafe_math_optimizations is set.
  1390. * reg-stack.c (convert_regs_entry): Disable NaN load for
  1391. stack registers that are used for argument passing.
  1392. * doc/extend.texi: Document x87regparm function attribute.
  1393. * doc/invoke.texi: Document -mx87regparm.
  1394. 2006-12-11 Jan Hubicka <jh@suse.cz>
  1395. Move all varpool routines out of cgraph/cgraphunit to varpool.c
  1396. * cgraph.c: Update comments.
  1397. (cgraph_varpool_hash,
  1398. cgraph_varpool_nodes, cgraph_varpool_last_needed_node
  1399. cgraph_varpool_node_name, cgraph_varpool_node,
  1400. cgraph_varpol_mode_for_asm, cgraph_varpool_mark_needed_node,
  1401. cgraph_variable_initializer_availability): Move to
  1402. varpool.c and drop cgraph_ prefixes.
  1403. (cgraph_varpool_enqueue_needed_node, cgraph_varpool_reset_queue,
  1404. cgraph_varpool_first_unanalyzed_node, cgraph_varpool_finalize_decl):
  1405. move to varpool.c; drop cgraph_ prefix; make static.
  1406. (dump_cgraph_varpool_node): Move to varpool.c under name
  1407. dump_varpool_node.
  1408. (dump_varpool, hash_varpool_node, eq_varpool_node,
  1409. decide_is_variable_needed): Move to varpool.c
  1410. (decl_assembler_name_equal): Move to tree.c.
  1411. (availability_names): Rename to ...
  1412. (cgraph_availability_names): ... this one.
  1413. (dump_cgraph_node): Update.
  1414. * cgraph.h: Reorder declarations now in varpool.c
  1415. (cgraph_vailablity_names): Declare.
  1416. (struct cgraph_varpool_node): Rename to ...
  1417. (struct varpool_node): ... this one.
  1418. (cgraph_varpool_first_unanalyzed_node, cgraph_varpool_nodes_queue,
  1419. cgraph_varpool_first_unanalyzed_node, cgraph_varpool_node,
  1420. cgraph_varpool_node_for_asm, cgraph_varpool_mark_needed_node,
  1421. cgraph_varpool_finalize_decl, cgraph_varpool_enqueue_needed_node,
  1422. cgraph_varpool_reset_queue, cgraph_varpool_assemble_pending_decls,
  1423. cgraph_variable_initializer_availability): Rename to ...
  1424. (varpool_first_unanalyzed_node, varpool_nodes_queue,
  1425. varpool_first_unanalyzed_node, varpool_node,
  1426. varpool_node_for_asm, varpool_mark_needed_node,
  1427. varpool_finalize_decl, varpool_enqueue_needed_node,
  1428. varpool_assemble_pending_decls, variable_initializer_availability):
  1429. Rename to ...
  1430. * tree.c (decl_assembler_name_equal): Move here from cgraph.c.
  1431. * tree.h (decl_assembler_name_equal): Declare.
  1432. * omp-low.c (lower_omp_critical): Update.
  1433. * ipa-reference (analyze_variable, static_execute): Likewise.
  1434. * toplev.c (wrapup_global_declaration_2, compile_file): Update.
  1435. * cgraphunit.c: Update comments.
  1436. (cgraph_varpool_assembled_nodes_queue): Move to varpool.c under name
  1437. varpool_assembled_nodes_queue.
  1438. (cgraph_varpool_analyze_pending_decls): Move to varpool.c under name
  1439. varpool_analyze_pending_decls.
  1440. (cgraph_varpool_remove_unreferenced_decls): Move to varpool.c under name
  1441. varpool_remove_unreferenced_decls.
  1442. (record_reference): Update.
  1443. (cgraph_create_edges): Update.
  1444. (record_referneces_in_initializer): New function.
  1445. (cgraph_varpool_assemble_decl): Move to varpool.c under name
  1446. varpool_assemble_decl; make global.
  1447. (cgraph_varpool_assemble_pending_decls): Move to varpool.c under name
  1448. varpool_assemble_pending_decls.
  1449. (process_function_and_variable_attributes, cgraph_finalize_compilation_unit,
  1450. struct cgraph_order_sort, cgraph_output_in_order,
  1451. cgraph_function_and_variable_invisibility, cgraph_optimize,
  1452. cgraph_increase_alignment): Update.
  1453. * dwarf2out.c (decls_for_scope): Likewise.
  1454. * ipa-type-escape.c (analyze_variable, type_escape_execute): Likewise.
  1455. * except.c (output_ttype): Likewise.
  1456. * varasm.c (mark_decl_referenced): Likewise.
  1457. (find_decl_and_mark_referenced, assemble_alias): update.
  1458. * Makefile.in: Add varpool.c, gt-varpool.c and remove gt-cgraphunit.c
  1459. * passes.c (rest_of_decl_compilation): Update.
  1460. 2006-12-11 Ira Rosen <irar@il.ibm.com>
  1461. * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Use
  1462. GIMPLE_STMT_OPERAND.
  1463. * tree-vect-transform.c (vect_permute_store_chain): Likewise.
  1464. (vect_setup_realignment): Likewise.
  1465. 2006-12-11 Sa Liu <saliu@de.ibm.com>
  1466. Ben Elliston <bje@au.ibm.com>
  1467. * config/spu/spu-elf.h (STARTFILE_SPEC): Update.
  1468. (ENDFILE_SPEC): Likewise.
  1469. * config/spu/spu.opt (mstdmain): New option.
  1470. * config/spu/crti.asm: Remove.
  1471. * config/spu/crtn.asm: Likewise.
  1472. * config/spu/crt0.c: Likewise.
  1473. * config/spu/crtend.c: Likewise.
  1474. * config/spu/t-spu-elf (EXTRA_MULTILIB_PARTS): Remove crt0 files
  1475. listed above.
  1476. ($(T)crti.o, $(T)crtn.o, $(T)crt1.o, $(T)crtend1.o): Remove.
  1477. * doc/invoke.texi (SPU Options): Document -mstdmain.
  1478. 2006-12-10 Zdenek Dvorak <dvorakz@suse.cz>
  1479. * doc/loop.texi: Document number_of_latch_executions and
  1480. number_of_cond_exit_executions.
  1481. * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop,
  1482. chrec_is_positive, number_of_iterations_for_all_loops,
  1483. scev_const_prop): Use number_of_latch_executions.
  1484. (set_nb_iterations_in_loop): Do not increase the value of the
  1485. number of iterations.
  1486. (number_of_iterations_in_loop): Renamed to ...
  1487. (number_of_latch_executions): ... this.
  1488. (number_of_exit_cond_executions): New function.
  1489. * tree-scalar-evolution.h (number_of_iterations_in_loop): Declaration
  1490. removed.
  1491. (number_of_latch_executions, number_of_exit_cond_executions): Declare.
  1492. * tree-ssa-loop-ivcanon.c (canonicalize_loop_induction_variables): Use
  1493. number_of_latch_executions.
  1494. * tree-data-ref.c (get_number_of_iters_for_loop): Use
  1495. number_of_exit_cond_executions.
  1496. * tree-vect-analyze.c (vect_get_loop_niters): Ditto.
  1497. * cfgloop.h (struct loop): Improve description of the nb_iterations
  1498. field.
  1499. 2006-12-10 Daniel Berlin <dberlin@dberlin.org>
  1500. * tree-ssa-alias.c (compact_name_tags): Use sort_tags_by_id.
  1501. (tree_pointer_compare): Remove.
  1502. 2006-12-10 Zdenek Dvorak <dvorakz@suse.cz>
  1503. * tree-vrp.c (adjust_range_with_scev): Use get_chrec_loop.
  1504. * loop-unswitch.c (unswitch_loops): Use FOR_EACH_LOOP.
  1505. * tree-loop-linear.c (linear_transform_loops): Ditto.
  1506. * tree-ssa-loop-im.c (determine_lsm): Ditto.
  1507. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations,
  1508. free_numbers_of_iterations_estimates): Ditto.
  1509. * tree_ssa_unswitch_loops (tree_ssa_unswitch_loops): Ditto.
  1510. * tree-ssa-loop-ch.c (copy_loop_headers): Ditto.
  1511. * tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Ditto.
  1512. * modulo-sched.c (sms_schedule): Ditto.
  1513. * tree-ssa-loop-ivcanon.c (canonicalize_induction_variables,
  1514. tree_unroll_loops_completely): Ditto.
  1515. * predict.c (predict_loops): Ditto.
  1516. * tree-if-conv.c (main_tree_if_conversion): Ditto.
  1517. * loop-unroll.c (unroll_and_peel_loops, peel_loops_completely,
  1518. decide_unrolling_and_peeling): Ditto.
  1519. * cfgloopmanip.c (unloop): Use delete_loop.
  1520. (place_new_loop): Access larray vector instead of parray.
  1521. (create_preheaders, force_single_succ_latches,
  1522. fix_loop_structure): Use FOR_EACH_LOOP and delete_loop..
  1523. * loop-doloop.c (doloop_optimize_loops): Ditto.
  1524. * loop-invariant.c (move_loop_invariants): Ditto.
  1525. * tree-cfg.c (replace_uses_by): Ditto.
  1526. * tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Ditto.
  1527. * tree-chrec.h (CHREC_VAR, CHREC_LEFT, CHREC_RIGHT, CHREC_VARIABLE):
  1528. Moved to ...
  1529. * tree.h (CHREC_VAR, CHREC_LEFT, CHREC_RIGHT, CHREC_VARIABLE):
  1530. ... here.
  1531. * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop,
  1532. compute_overall_effect_of_inner_loop, chrec_is_positive): Use
  1533. get_loop and get_chrec_loop.
  1534. (number_of_iterations_for_all_loops): Use number_of_loops.
  1535. (scev_initialize, scev_reset, scev_const_prop): Use FOR_EACH_LOOP.
  1536. * tree-scalar-evolution.h (get_chrec_loop): New inline function.
  1537. * cfgloopanal.c (mark_irreducible_loops): Use number_of_loops,
  1538. and FOR_EACH_LOOP.
  1539. * tree-chrec.c (evolution_function_is_invariant_rec_p,
  1540. chrec_convert_1): Use get_loop and get_chrec_loop.
  1541. * loop-init.c (loop_optimizer_init): Use number_of_loops.
  1542. (loop_optimizer_init): Use FOR_EACH_LOOP.
  1543. * tree-vectorizer.c (vect_loops_num): Removed.
  1544. (vectorize_loops): Store number of loops locally. Use
  1545. FOR_EACH_LOOP and get_loop.
  1546. * tree-vectorizer.h (vect_loops_num): Removed.
  1547. * tree-data-ref.c (get_number_of_iters_for_loop): Use get_loop.
  1548. (find_data_references_in_loop): Do not set parallel_p.
  1549. * tree-data-ref.h: Do not declare VEC(loop_p).
  1550. * cfgloop.c (flow_loops_dump, mark_single_exit_loops,
  1551. verify_loop_structure): Use FOR_EACH_LOOP.
  1552. (flow_loops_free): Use FOR_EACH_LOOP, free larray vector.
  1553. (initialize_loops_parallel_p): Removed.
  1554. (flow_loops_find): Push the loops into a vector.
  1555. (delete_loop): New function.
  1556. (cancel_loop): Use delete_loop.
  1557. * cfgloop.h: Declare VEC(loop_p).
  1558. (struct loop): Remove parallel_p field.
  1559. (struct loops): Replace num and parray field by larray vector.
  1560. Remove shared_headers field.
  1561. (delete_loop): Declare.
  1562. (get_loop, get_loops, number_of_loops, fel_next, fel_init,
  1563. FOR_EACH_LOOP): New.
  1564. * doc/loop.tex: Document new accessor functions.
  1565. 2006-12-10 Andrew MacLeod <amacleod@redhat.com>
  1566. * common.opt (-ftree-lrs): Remove live range splitting option.
  1567. * makefile.in: Add tree-ssa-coalesce.o and reduce header dependancies.
  1568. * opts.c (decode_options): Remove flag_tree_live_range_split.
  1569. * tree-flow.h (struct var_ann_d): Rename fields from root_ to base_.
  1570. * tree-flow-inline.h (single_imm_use_p): New. Check for single use.
  1571. * tree-outof-ssa.c: Remove header files which aren't needed.
  1572. (SSANORM_*): Remove flags.
  1573. (print_exprs_edge, coalesce_abnormal_edges, coalesce_phi_operands,
  1574. coalesce_result_decls_and_copies, coalesce_asm_operands): Remove.
  1575. (coalesce_ssa_name): Move to tree-ssa-coalesce.c.
  1576. (assign_vars): Use Basevar instead of root_var structure.
  1577. (replace_def_variable): Dont do anything if def is replaceable.
  1578. (remove_ssa_form): Integrate functional changes.
  1579. (rewrite_out_of_ssa): Remove live-range_split option.
  1580. * tree-ssa-coalesce.c: New File for ssa-name coalescing.
  1581. (coalesce_cost): Calculate the cost of a coalesce.
  1582. (coalesce_cost_bb): Calculate the coalesce cost within a BB.
  1583. (coalesce_cost_edge): Calculate the coalesce cost on an edge.
  1584. (pop_cost_one_pair): Remove the best coalesce with cost 1 from the list.
  1585. (pop_best_coalesce): Remove the best coalesce from the list.
  1586. (coalesce_pair_map_hash): Calculate coalesce pair hash.
  1587. (coalesce_pair_map_eq): Compare 2 coalesce pairs for hash function.
  1588. (create_coalesce_list): Create a coalesce list object.
  1589. (delete_coalesce_list): Free a coalesce list object.
  1590. (find_coalesce_pair): Find matching pair in the coalesce list.
  1591. (add_cost_one_coalesce): Add a coalesce to the "cost one" list.
  1592. (add_coalesce): Add a coalesce to the coalesce list.
  1593. (compare_pairs): Comparision function to determine pair sorted order.
  1594. (num_coalesce_pairs): Number of coalesced pairs.
  1595. (first_coalesce_pair, end_coalesce_pair_p, next_coalesce_pair):
  1596. Coalesce pair iterator functions.
  1597. (sort_coalesce_list): Sort coalesce pairs in order of expense.
  1598. (dump_coalesce_list): Show coalesce list.
  1599. (ssa_conflicts_new): Create an SSA conflict graph.
  1600. (ssa_conflicts_delete): Delete an SSA conflict graph.
  1601. (ssa_conflicts_test_p): Test for conflicts.
  1602. (ssa_conflicts_add_one): Add a single conflict.
  1603. (ssa_conflicts_add): Add a conflict pair.
  1604. (ssa_conflicts_merge): Merge conflicts.
  1605. (struct live_track_d): Struct for tracking live partitions.
  1606. (new_live_track): Create new live_track object.
  1607. (delete_live_track): Delete a live_track object.
  1608. (live_track_remove_partition): Remove a partition from the live list.
  1609. (live_track_add_partition): Add a partition from the live list.
  1610. (live_track_clear_var): Take VAR from the live list.
  1611. (live_track_live_p): Is var live?
  1612. (live_track_process_use): Make var come alive.
  1613. (live_track_process_def): Make var go dead, add conflicts.
  1614. (live_track_init): Initialize to a live on exit set.
  1615. (live_track_clear_base_vars): Clear live partitions.
  1616. (build_ssa_conflict_graph): Build a conflict graph.
  1617. (print_exprs): Common debug output routine.
  1618. (abnormal_corrupt): Output info about a failed coalesce across an
  1619. abnormal edge.
  1620. (fail_abnormal_edge_coalesce): Output info about a failed MUST_COALESCE.
  1621. (create_outofssa_var_map): Create a var map and coalesce list.
  1622. (attempt_coalesce): Coalesce a pair.
  1623. (coalesce_partitions): Coalesce all pairs in a coalesce list.
  1624. (coalesce_ssa_name): Entry point. Determine what ssa_names to coalesce.
  1625. * tree-ssa-live.c: Remove header files which aren't needed.
  1626. (var_map_base_init): New. Initialize a basevar list.
  1627. (var_map_base_fini): New. Finish a basevar list.
  1628. (init_var_map): Initialize new fields.
  1629. (delete_var_map): Free new fields.
  1630. (var_union): Use renamed fields.
  1631. (compact_var_map): Remove.
  1632. (partition_to_view_init): Use renamed fields, change order of an if.
  1633. (partition_view_fini): Use renamed fields.
  1634. (partition_view_normal): Create basevar list if requested.
  1635. (partition_view_bitmap): Create a view based on a bitmap of partitions.
  1636. (change_partition_var): Use renamed fields.
  1637. (create_ssa_var_map): Remove.
  1638. (tpa_init, tpa_remove_partition, tpa_delete, tpa_compact,
  1639. root_var_init): Remove.
  1640. (partition_pair_map_hash, partition_pair_map_eq, create_coalesce_list,
  1641. delete_coalesce_list, find_partition_pair, coalesce_cost, add_coalesce,
  1642. compare_pairs, num_coalesce_pairs, first_partition_pair,
  1643. end_partition_pair_p, next_partition_pair, sort_coalesce_list,
  1644. pop_best_coalesce, add_conflicts_if_valid, set_if_valid,
  1645. build_tree_conflict_graph, coalesce_tpa_members, dump_coalesce_list,
  1646. tpa_dump): Moved to tree-ssa-coalesce.c and/or renamed there.
  1647. (dump_var_map): Use renamed fields.
  1648. * tree-ssa-live.h (struct _var_map): Modify fields.
  1649. (partition_to_var, version_to_var, var_to_partition): Use renamed
  1650. fields.
  1651. (basevar_index): New. Index of the base variable of a partition.
  1652. (num_basevars): New. Number of unique base variables in partition map.
  1653. (register_ssa_partition): Use renamed fields.
  1654. (struct tree_partition_associator_d): Remove.
  1655. (tpa_num_trees, tpa_tree, tpa_first_partition, tpa_next_partition,
  1656. tpa_find_tree, tpa_decompact, root_var_init, root_var_num,
  1657. root_var, root_var_first_partition, root_var_next_partition,
  1658. root_var_dump, root_var_delete, root_var_remove_partition,
  1659. root_var_find, root_var_compact, root_var_decompact): Remove.
  1660. (struct partition_pair, struct coalesce_list_d): Moved to
  1661. tree-ssa-coalesce.c
  1662. * tree-ssa-ter.c: Remove header files which aren't needed.
  1663. 2006-12-10 Steven Bosscher <steven@gcc.gnu.org>
  1664. * cse.c: (struct cse_basic_block_data): Remove LAST field.
  1665. (struct branch_path): Remove BRANCH and TAKEN fields. Add new
  1666. BB field.
  1667. (cse_visited_basic_blocks): New static bitmap.
  1668. (cse_end_of_basic_block, cse_basic_block): Remove.
  1669. (cse_find_path, cse_dump_path, cse_prescan_path,
  1670. cse_extended_basic_block): New static functions.
  1671. (cse_insn): Don't CSE over setjmp calls. Use the CFG to find
  1672. basic block boundaries. Don't record jump equivalences here.
  1673. Update the CFG after doing in-place replacement of the SET_SRC.
  1674. (cse_main): Rewrite. Look for extended basic block headers
  1675. and call cse_extended_basic_block on them until all paths that
  1676. start at this header are exhausted.
  1677. (rest_of_handle_cse): Verify that the CFG is incrementally updated
  1678. and correct after cse_main.
  1679. Don't call delete_trivially_dead_insns, let cfgcleanup do that.
  1680. (rest_of_handle_cse2): Verify the CFG here, too, after cse_main.
  1681. (pass_cse): Add TODO_verify_flow.
  1682. (pass_cse2): Likewise.
  1683. 2006-12-10 Rask Ingemann Lambertsen <rask@sygehus.dk>
  1684. * reload1.c (choose_reload_regs): Don't set byte offset when
  1685. resolving subregs of hard regs.
  1686. 2006-12-09 Zack Weinberg <zackw@panix.com>
  1687. * c-opts.c (c_common_parse_file): Unconditionally give a warning,
  1688. suitable for the language, if set_yydebug is true.
  1689. * c-pragma.h: Define enum pragma_omp_clause here. Don't define
  1690. YYDEBUG or declare yydebug.
  1691. * c-parser.c (yydebug, enum pragma_omp_clause): Delete.
  1692. 2006-12-09 Jan Hubicka <jh@suse.cz>
  1693. * cgraph.c: Update copyright.
  1694. * cgraph.h: Likewise
  1695. (cgraph_update_pending_function): Remove prototype.
  1696. * cgraphunit.c: Update copyright; update overall comment.
  1697. (cgraph_assemble_pending_functions): Make local.
  1698. 2006-12-09 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  1699. * haifa-sched.c (schedule_block): Remove excessive sanity check.
  1700. 2006-12-08 Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  1701. * config/spu/spu-protos.h (spu_split_immediate): Renamed from
  1702. spu_split_address.
  1703. (cpat_const_p, gen_cpat_const): Add.
  1704. * config/spu/spu.c (immediate_class): New enum.
  1705. (cpat_info, classify_immediate): New.
  1706. (print_operand): Use S, D, T instead of F, G, H. Use
  1707. classify_immediate. Handle cpat cases.
  1708. (spu_split_immediate): Renamed from spu_split_address. Split all
  1709. immediates that can be split.
  1710. (immediate_load_p): Use classify_immediate.
  1711. (spu_legitimate_constant_p): Accept everything except some cases of
  1712. CONST_VECTOR.
  1713. (spu_expand_move): Use spu_split_immedate.
  1714. (fsmbi_const_p): Use classify_immediate.
  1715. (cpat_const_p): New.
  1716. (gen_cpat_const: New.
  1717. * config/spu/constraints.md (j,k,l): New constraints for cpat
  1718. instructions.
  1719. * config/spu/spu.md (unnamed splitter): Change address splitter to
  1720. handle all immediates.
  1721. (_mov<mode>, _movdi, _movti): Handle i, j, k constraints for cpat
  1722. instructions.
  1723. (cpat, _cpat, splitter): Generate a TImode constant for cpat patterns
  1724. when possible.
  1725. 2006-12-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1726. PR target/30039
  1727. * pa.md (high:DI and lo_sum:DI): Handle 64-bit CONST_INTs in 32-bit
  1728. patterns. Correct length of high:DI instruction sequence.
  1729. 2006-12-08 Mike Stump <mrs@apple.com>
  1730. * config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Build
  1731. libgcc with -mmacosx-version-min=10.4.
  1732. * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Default to
  1733. G4 for 10.5+ unless doing kernel builds.
  1734. 2006-12-08 Uros Bizjak <ubizjak@gmail.com>
  1735. PR target/30120
  1736. * reg-stack.c (convert_regs_entry): Mark current argument passing
  1737. registers as live.
  1738. * config/i386/i386.h (X87_REGPARM_MAX): Set to 0 to disable passing
  1739. of float arguments in x87 registers.
  1740. 2006-12-08 John David Anglin <dave.anglin.@nrc-cnrc.gc.ca>
  1741. * pa.h (LEGITIMATE_CONSTANT_P): Simplify.
  1742. 2006-12-08 Mark Shinwell <shinwell@codesourcery.com>
  1743. * recog.c (mode_dependent_address_p): Identify pre-increment,
  1744. pre-decrement, post-increment and post-decrement addressing as always
  1745. being mode-dependent.
  1746. * config/m32c/m32c.c (m32c_mode_dependent_address): Delete.
  1747. * config/m32c/m32c.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1748. * config/m32c/m32c-protos.h (m32c_mode_dependent_address): Delete.
  1749. * config/m32r/m32r.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete PRE_DEC,
  1750. PRE_INC and POST_INC checks.
  1751. * config/i386/i386.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1752. * config/sh/sh.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1753. * config/pdp11/pdp11.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1754. * config/avr/avr.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1755. * config/c4x/c4x.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete PRE_DEC,
  1756. PRE_INC, POST_DEC and POST_INC cases.
  1757. * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
  1758. Delete POST_INC and PRE_DEC cases.
  1759. * config/m68hc11/m68hc11.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to
  1760. no-op.
  1761. * config/cris/cris.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1762. * config/mn10300/mn10300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to
  1763. no-op.
  1764. * config/ia64/ia64.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1765. * config/m68k/m68k.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1766. * config/rs6000/rs6000.c (rs6000_mode_dependent_address): Delete
  1767. PRE_INC and PRE_DEC cases.
  1768. * config/arc/arc.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1769. * config/mcore/mcore.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1770. * config/arm/arm.h (ARM_GO_IF_MODE_DEPENDENT_ADDRESS): Delete.
  1771. (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1772. * config/pa/pa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1773. * config/vax/vax.c (vax_mode_dependent_address_p): Delete
  1774. auto-increment cases.
  1775. * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete
  1776. auto-increment cases.
  1777. * config/bfin/bfin.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
  1778. 2006-12-08 Andrew MacLeod <amacleod@redhat.com>
  1779. * Makefile.in: Add new file tree-ssa-ter.c.
  1780. * tree-outof-ssa.c (struct temp_expr_table_d, new_temp_expr_table,
  1781. free_temp_expr_table, add_value_to_version_list,
  1782. add_value_to_partition_list, remove_value_from_partition_list,
  1783. add_dependence, check_replaceable, finish_expr, mark_replaceable,
  1784. kill_expr, kill_virtual_exprs, find_replaceable_in_bb,
  1785. find_replaceable_exprs, dump_replaceable_exprs): Move to tree-ssa-ter.c.
  1786. * tree-ssa-live.h (find_replaceable_exprs, dump_replaceable_exprs): Add
  1787. prototypes.
  1788. * tree-ssa-ter.c: New file using code moved from tree-outof-ssa.c.
  1789. (struct value_expr_d): Remove.
  1790. (struct temp_expr_table_d): Rename fields, add explicit vector of
  1791. replaceable expressions instead of sharing. Change value_expr_p's to
  1792. bitmap. Delete free_list.
  1793. (new_temp_expr_table): Rename fields, count number of ssa_names in
  1794. each partition.
  1795. (free_temp_expr_table): Rename field, free new fields.
  1796. (new_value_expr, free_value_expr, find_value_in_list, add_value_to_list,
  1797. add_info_to_list, remove_value_from_list): Delete.
  1798. (version_to_be_replaced_p): New. Is an ssa-name replaceable?
  1799. (make_dependent_on_partition): New. Set bit in version list, allocating
  1800. a bitmap if need be.
  1801. (add_to_partition_kill_list): New. Set bit in the partition list,
  1802. allocating a bitmap if need be.
  1803. (remove_from_partition_kill_list): New. Remove a bit from the
  1804. partition list, free the bitmap if it is empty.
  1805. (add_dependence): Use renamed field, cleanup. Don't add a dependence
  1806. on partitions with only one member.
  1807. (is_replaceable_p): New. Split out replaceability check from
  1808. check_replaceable.
  1809. (process_replaceable): New. Code split from check_replaceable.
  1810. (check_replaceable): Removed.
  1811. (finished_with_expr): Renamed from finish_expr.
  1812. (kill_expr): Use renamed fields and less parameters.
  1813. (kill_virtual_exprs): Less parameters.
  1814. (mark_replaceable): Use renamed fields.
  1815. (find_replaceable_in_bb): Use renamed fields, cleanup.
  1816. (find_replaceable_exprs): Use renamed routines, cleanup.
  1817. (dump_replaceable_exprs): Don't go past end of ssa_names list.
  1818. (debug_ter): New. Debug routine to dump state.
  1819. 2006-12-08 Bernd Schmidt <bernd.schmidt@analog.com>
  1820. * config/bfin/bfin.c (effective_address_32bit_p): Return true for
  1821. anything involving the GOT.
  1822. (bfin_adjust_cost): Don't take the REGNO of a MEM.
  1823. (trapping_loads_p): Look inside the pattern of an insn to find the
  1824. SET.
  1825. * config/bfin/bfin.md (attr "type"): Add movcc.
  1826. (insn_reservation "alu"): Likewise.
  1827. (movsicc_insn1, movsicc_insn2): Change type to movcc.
  1828. 2006-12-07 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1829. * config/spu/spu-c.c (spu_build_overload_builtin): Delete.
  1830. (spu_resolve_overloaded_builtin): Check for non scalar instead
  1831. of vector type and check the function call argument type also for
  1832. non scalar.
  1833. Call build_function_call instead of spu_build_overload_builtin.
  1834. 2006-12-07 Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  1835. * config/spu/spu.c (array_to_constant): Correct the order of arguments
  1836. to the calls of hwint_to_const_double.
  1837. 2006-12-07 Nick Clifton <nickc@redhat.com>
  1838. * config/elfos.h (TARGET_ASM_RECORD_GCC_SWITCHES): Set to
  1839. elf_record_gcc_switches.
  1840. 2006-12-07 Andrew Macleod <amacleod@redhat.com>
  1841. * expr.c (string_constant): Account for non-zero lower bound arrays.
  1842. 2006-12-07 Richard Guenther <rguenther@suse.de>
  1843. * builtins.c (expand_builtin_pow): Adjust predicates for
  1844. pow to cbrt expansion to unsafe math and !HONOR_NANS for
  1845. negative base.
  1846. 2006-12-07 Jan Hubicka <jh@suse.cz>
  1847. * i386.c (nocona_cost, pentium4_cost): Update preffered memcpy/memset
  1848. codegen.
  1849. 2006-12-07 Jan Hubicka <jh@suse.cz>
  1850. * tree-vrp.c (compare_values): Short circuit INTEGER_CST;
  1851. use fold_constant_to_binary; tolerate wrong type constants.
  1852. (value_intersect_p): Do just two tests.
  1853. 2006-12-07 Bernd Schmidt <bernd.schmidt@analog.com>
  1854. * config/bfin/bfin.c (print_operand): New modifier 'N' for constants.
  1855. * config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3,
  1856. lshifthi3): Use it, and fix the order of alternatives.
  1857. 2006-12-07 Nick Clifton <nickc@redhat.com>
  1858. * common.opt (record-gcc-switches): New command line switch.
  1859. * target.h (print_switch_type): New enum.
  1860. (print_switch_fn_type): New typedef for a function pointer.
  1861. (struct gcc_target): Add record_gcc_switches and
  1862. record_gcc_switches_section fields.
  1863. * target-def.h (TARGET_ASM_RECORD_GCC_SWITCHES): Provide a
  1864. default definition.
  1865. (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Provide a default
  1866. definition.
  1867. * toplev.c (print_single_switch): Simplify by providing a
  1868. pointer to function that will format and output the switch
  1869. appropriately.
  1870. (print_switch_values): Likewise.
  1871. (print_to_asm_out_file): New function.
  1872. (print_to_stderr): New function.
  1873. (init_asm_output): If flag_record_gcc_switches is set then if
  1874. the target supports recording the switches then emit them into
  1875. the assembler output file, otherwise tell the user that the
  1876. switch is not supported.
  1877. * varasm.c (eld_record_gcc_switches): New function. Example
  1878. handler for the record_gcc_switches target hook.
  1879. * doc/tm.texi (TARGET_ASM_RECORD_GCC_SWITCHES): Document the new
  1880. target hook.
  1881. (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Likewise.
  1882. * doc/invoke.texi (-frecord-gcc-switches): Document.
  1883. 2006-12-07 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  1884. PR target/29794
  1885. * sched-rgn.c (add_block1): Use correct initializer.
  1886. 2006-12-07 Richard Guenther <rguenther@suse.de>
  1887. * tree-vect-transform.c (vectorizable_call): Fix leftover of
  1888. TREE_OPERAND to GIMPLE_STMT_OPERAND conversion.
  1889. 2006-12-06 Aldy Hernandez <aldyh@redhat.com>
  1890. PR/30079
  1891. * config/pa/pa.c (hppa_gimplify_va_arg_expr): Build MODIFY_EXPR
  1892. not GIMPLE_MODIFY_STMT.
  1893. 2006-12-06 Jan Hubicka <jh@suse.cz>
  1894. * tree-vrp.c (operand_less_p): New.
  1895. (compare_values, value_inside_range): Rewrite in terms of
  1896. operand_less_p.
  1897. 2006-12-06 Uros Bizjak <ubizjak@gmail.com>
  1898. * config/i386/i386.md (DIRFLAG_REG): Remove constant.
  1899. (type): Remove cld.
  1900. (length_immediate): Do not depend on cld type attribute.
  1901. (length_address): Ditto.
  1902. (modrm): Ditto.
  1903. (memory): Ditto.
  1904. (cld): Remove insn pattern.
  1905. (strmov_singleop): Do not use DIRFLAG_REG.
  1906. (*strmovdi_rex_1): Ditto.
  1907. (*strmovsi_1): Ditto.
  1908. (*strmovsi_rex_1): Ditto.
  1909. (*strmovhi_1): Ditto.
  1910. (*strmovhi_rex_1): Ditto.
  1911. (*strmovqi_1): Ditto.
  1912. (*strmovqi_rex_1): Ditto.
  1913. (rep_mov): Ditto.
  1914. (*rep_movdi_rex64): Ditto.
  1915. (*rep_movsi): Ditto.
  1916. (*rep_movsi_rex64): Ditto.
  1917. (*rep_movqi): Ditto.
  1918. (*rep_movqi_rex64): Ditto.
  1919. (strset_singleop): Ditto.
  1920. (*strsetdi_rex_1): Ditto.
  1921. (*strsetsi_1): Ditto.
  1922. (*strsetsi_rex_1): Ditto.
  1923. (*strsethi_1): Ditto.
  1924. (*strsethi_rex_1): Ditto.
  1925. (*strsetqi_1): Ditto.
  1926. (*strsetqi_rex_1): Ditto.
  1927. (rep_stos): Ditto.
  1928. (*rep_stosdi_rex64): Ditto.
  1929. (*rep_stossi): Ditto.
  1930. (*rep_stossi_rex64): Ditto.
  1931. (*rep_stosqi): Ditto.
  1932. (*rep_stosqi_rex64): Ditto.
  1933. (cmpstrnsi): Do not generate cld insn.
  1934. (cmpstrnqi_nz_1): Do not use DIRFLAG_REG.
  1935. (*cmpstrnqi_nz_1): Ditto.
  1936. (*cmpstrnqi_nz_rex_1): Ditto.
  1937. (cmpstrnqi_1): Ditto.
  1938. (*cmpstrnqi_1): Ditto.
  1939. (*cmpstrnqi_rex_1): Ditto.
  1940. (strlenqi_1): Ditto.
  1941. (*strlenqi_1): Ditto.
  1942. (*strlenqi_rex_1): Ditto.
  1943. * config/i386/geode.md (shift): Do not depend on cld type attribute.
  1944. * config/i386/pentium.md (pent_cld): Remove insn reservation.
  1945. * config/i386/athlon.md (athlon_decode): Do not depend on cld
  1946. type attribute.
  1947. * config/i386/ppro.md (ppro_cld): Remove insn reservation.
  1948. * config/i386/k6.md (k6_alux_only): Do not depend on cld type
  1949. attribute.
  1950. (k6_alux_only_load): Ditto.
  1951. (k6_alux_only_store): Ditto.
  1952. * config/i386/i386.c (ix86_expand_movmem): Remove cld_done boolean.
  1953. Do not emit cld instruction.
  1954. (ix86_expand_setmem): Ditto.
  1955. (ix86_expand_strlen): Do not emit cld instruction.
  1956. 2006-12-06 Bernd Schmidt <bernd.schmidt@analog.com>
  1957. * config/bfin/bfin.c (bfin_rtx_costs): Add a number of new cases, tweak
  1958. old ones.
  1959. 2006-12-06 Diego Novillo <dnovillo@redhat.com>
  1960. * gdbinit.in: Set complaints to 0.
  1961. 2006-12-06 Jan Hubicka <jh@suse.cz>
  1962. * statistics.h (ALONE_PASS_MEM_STAT, ALONE_MEM_STAT_INFO,
  1963. ALONE_MEM_STAT_DECL): New macros.
  1964. * bitmap.h: Include statistics.h
  1965. (struct bitmap_head_def): Add variant with pointer to bitmap descriptor.
  1966. (bitmap_initialize_stat): Rename from bitmap_initialize; add statistics.
  1967. (bitmap_obstack_alloc_stat, bitmap_gc_alloc_stat): Declare.
  1968. * bitmap.c: Include hashtab.h
  1969. (bitmap_descriptor): New.
  1970. (bitmap_hash): New static variable
  1971. (hash_descriptor, eq_descriptor, bitmap_descriptor, register_overhead):
  1972. New static functions.
  1973. (bitmap_register): New.
  1974. (bitmap_element_free, bitmap_element_allocate, bitmap_elt_clear_from,
  1975. bitmap_obstack_release): Do accounting.
  1976. (bitmap_obstack_alloc_stat): Rename from bitmap_obstack_alloc ; do
  1977. accounting.
  1978. (bitmap_gc_alloc_stat): Likewise.
  1979. (bitmap_obstack_free, bitmap_find_bit): Do statictics.
  1980. (print_statistics, dump_bitmap_statistics): New functions.
  1981. * toplev.c (finalize): Dump bitmap statistics.
  1982. 2006-12-06 Bernd Schmidt <bernd.schmidt@analog.com>
  1983. * reload1.c (delete_output_reload): Count occurrences in
  1984. CALL_INSN_FUNCTION_USAGE.
  1985. * rtlanal.c (count_occurrences): Handle EXPR_LIST nodes without
  1986. crashing at the end of the list.
  1987. 2006-12-05 Daniel Berlin <dberlin@dberlin.org>
  1988. * tree-ssa-structalias.c (set_used_smts): Re-fix pr29156.
  1989. Optimize to avoid marking more SMT's as used when they aren't.
  1990. 2006-12-05 Eric Christopher <echristo@apple.com>
  1991. * config/i386/i386.c (x86_output_aligned_bss): Move out
  1992. of COMMON_ASM_OP ifdef.
  1993. 2006-12-05 Eric Christopher <echristo@apple.com>
  1994. * config/darwin.h (DARWIN_EXTRA_SPECS): New.
  1995. (STARTFILE_SPEC): Use.
  1996. (DARWIN_DYLIB1_SPEC): New.
  1997. (DARWIN_CRT1_SPEC): New.
  1998. * config/i386/darwin64.h (SUBTARGET_EXTRA_SPECS): Use
  1999. DARWIN_EXTRA_SPECS.
  2000. * config/i386/darwin.h: Ditto.
  2001. * config/rs6000/darwin.h: Ditto.
  2002. 2006-12-05 Daniel Berlin <dberlin@dberlin.org>
  2003. * tree-vrp.c (pass_vrp): Remove PROP_smt_usage.
  2004. * tree-complex.c (pass_lower_complex): Ditto.
  2005. * tree-ssa-ccp.c (pass_ccp): Ditto.
  2006. (pass_store_ccp): Ditto.
  2007. * tree-ssa-dom.c (pass_dominator): Ditto.
  2008. (pass_phi_only_cprop): Ditto.
  2009. * tree-sra.c (pass_sra): Ditto.
  2010. * tree-ssa-forwprop.c (pass_forwprop): Ditto.
  2011. * tree-flow.h (updating_used_alone): Remove.
  2012. (updating_used_alone): Ditto.
  2013. * tree-ssa-alias.c (updating_used_alone): Remove variable.
  2014. (lhs_may_store_to): Remove function.
  2015. (recalculate_used_alone): Ditto.
  2016. (compute_may_aliases): Remove used_alone calculation.
  2017. * tree.h (struct tree_memory_tag): Remove is_used_alone and
  2018. old_used_alone. Remove SMT_USED_ALONE and SMT_OLD_USED_ALONE.
  2019. * tree-pass.h (PROP_smt_usage): Remove.
  2020. * passes.c (execute_todo): Remove used alone recalculation.
  2021. (execute_one_pass): Ditto.
  2022. * tree-ssa-operands.c (add_virtual_operand): Remove used_alone
  2023. stuff.
  2024. 2006-12-05 Brooks Moses <brooks.moses@codesourcery.com>
  2025. * doc/include/texinfo.tex: Update to version 2006-11-08.17.
  2026. 2006-12-05 Zdenek Dvorak <dvorakz@suse.cz>
  2027. PR tree-optimization/14784
  2028. * tree-ssa-operands.c (access_can_touch_variable): Unrevert the fix.
  2029. 2006-12-05 Aldy Hernandez <aldyh@redhat.com>
  2030. Merge from gimple-tuples-branch.
  2031. 2006-12-04 Aldy Hernandez <aldyh@redhat.com>
  2032. * config/s390/s390.c (s390_va_start): Replace MODIFY_EXPR with
  2033. GIMPLE_MODIFY_STMT.
  2034. (s390_gimplify_va_arg): Same.
  2035. * config/sparc/sparc.c (sparc_gimplify_va_arg): Same.
  2036. * config/sh/sh.c (sh_va_start): Same.
  2037. (sh_gimplify_va_arg_expr): Same.
  2038. * config/xtensa/xtensa.c (xtensa_va_start): Same.
  2039. (xtensa_gimplify_va_arg_expr): Same.
  2040. * config/ia64/ia64.c (ia64_gimplify_va_arg): Same.
  2041. * config/pa/pa.c (hppa_gimplify_va_arg_expr): Same.
  2042. * config/mips/mips.c (mips_va_start): Same.
  2043. (mips_gimplify_va_arg_expr): Same.
  2044. 2006-12-04 Aldy Hernandez <aldyh@redhat.com>
  2045. * Merge from mainline at revision 119445.
  2046. 2006-12-04 Aldy Hernandez <aldyh@redhat.com>
  2047. * config/spu/spu.c (spu_va_start): Change MODIFY_EXPR to
  2048. GIMPLE_MODIFY_STMT.
  2049. (spu_gimplify_va_arg_expr): Same.
  2050. 2006-12-04 Aldy Hernandez <aldyh@redhat.com>
  2051. * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start):
  2052. Change uses of MODIFY_EXPR to GIMPLE_MODIFY_STMT.
  2053. (xstormy16_expand_builtin_va_arg): Same.
  2054. 2006-12-04 Aldy Hernandez <aldyh@redhat.com>
  2055. * config/frv/frv.c (frv_expand_builtin_va_start): Change MODIFY_EXPR
  2056. to GIMPLE_MODIFY_STMT.
  2057. 2006-12-04 Aldy Hernandez <aldyh@redhat.com>
  2058. * config/alpha/alpha.c (va_list_skip_additions): Change all
  2059. occurrences of MODIFY_EXPR to GIMPLE_MODIFY_STMT.
  2060. (alpha_va_start): Same.
  2061. (alpha_gimplify_va_arg_1): Same.
  2062. (alpha_gimplify_va_arg): Same.
  2063. 2006-12-01 Aldy Hernandez <aldyh@redhat.com>
  2064. * gimplify.c (gimplify_modify_expr): Remove FIXME comment.
  2065. 2006-12-01 Aldy Hernandez <aldyh@redhat.com>
  2066. * tree-ssa-loop-im.c: Rename all PROTECTED_TREE_OPERAND to
  2067. GENERIC_TREE_OPERAND, and all PROTECTED_TREE_TYPE to
  2068. GENERIC_TREE_TYPE.
  2069. * tree-complex.c: Same.
  2070. * tree-pretty-print.c: Same.
  2071. * tree.c: Same.
  2072. * tree.h: Same.
  2073. * builtins.c: Same.
  2074. * fold-const.c: Same.
  2075. * tree-ssa-dom.c: Same.
  2076. * tree-ssa-propagate.c: Same.
  2077. * tree-ssa-alias.c: Same.
  2078. * gimple-low.c: Same.
  2079. * dwarf2out.c: Same.
  2080. * c-pretty-print.c: Same.
  2081. * gimplify.c: Same.
  2082. * tree-inline.c: Same.
  2083. * tree-outof-ssa.c: Same.
  2084. * tree-ssa-structalias.c: Same.
  2085. * tree-ssa-reassoc.c: Same.
  2086. * stmt.c: Same.
  2087. 2006-11-16 Aldy Hernandez <aldyh@redhat.com>
  2088. * tree.c (build2_stat): Fix comment.
  2089. 2006-11-13 Aldy Hernandez <aldyh@redhat.com>
  2090. * tree-ssa-propagate.c (get_rhs): Use GIMPLE_MODIFY_STMT and
  2091. TREE_OPERAND when appropriate.
  2092. 2006-11-04 Aldy Hernandez <aldyh@redhat.com>
  2093. * java/java-tree.h (lang_tree_node): Handle gimple tuples.
  2094. (EXPR_WFL_EMIT_LINE_NOTE): Look inside base.
  2095. (EXPR_WFL_LINECOL): Use EXPR_LOCUS macro instead of exp.locus.
  2096. * java/java-gimplify.c (java_gimplify_expr): Comment on why we do
  2097. not handle GIMPLE_MODIFY_STMT in the switch statement.
  2098. (java_gimplify_modify_expr): Call build2 with GIMPLE_MODIFY_STMT.
  2099. (java_gimplify_new_array_init): Same.
  2100. 2006-11-03 Aldy Hernandez <aldyh@redhat.com>
  2101. * gimplify.c (gimplify_omp_for): Allow gimple statements.
  2102. * tree-outof-ssa.c (check_replaceable): Use PROTECTED_TREE_OPERAND.
  2103. * fold-const.c (fold_binary): Allow gimple statements.
  2104. (fold): Same.
  2105. * fortran/trans-array.c (gfc_conv_descriptor_data_set_internal):
  2106. Rename from gfc_conv_descriptor_data_set.
  2107. Call gfc_add_modify instead of gfc_add_modify_expr.
  2108. * fortran/trans-array.h (gfc_conv_descriptor_data_set_internal):
  2109. Rename from gfc_conv_descriptor_data_set.
  2110. (gfc_conv_descriptor_data_set): New macro.
  2111. (gfc_conv_descriptor_data_set_tuples): New macros.
  2112. * fortran/trans-openmp.c (gfc_omp_clause_default_ctor): Call
  2113. gfc_conv_descriptor_data_set_tuples.
  2114. * fortran/trans.c (gfc_add_modify): Rename from gfc_add_modify_expr.
  2115. Generate GIMPLE_MODIFY_STMT when appropriate.
  2116. * fortran/trans.h (gfc_add_modify): Rename from gfc_add_modify_expr.
  2117. (gfc_add_modify_expr): New macro.
  2118. (gfc_add_modify_stmt): New macro.
  2119. * fortran/f95-lang.c (lang_tree_node): Handle gimple statements.
  2120. 2006-11-01 Aldy Hernandez <aldyh@redhat.com>
  2121. * Merge from mainline at revision 118200.
  2122. 2006-10-09 Aldy Hernandez <aldyh@redhat.com>
  2123. * tree-inline.c (copy_bb): Check for GIMPLE_MODIFY_STMT, and adjust
  2124. accordingly.
  2125. 2006-10-09 Aldy Hernandez <aldyh@redhat.com>
  2126. * tree.h (TREE_CHAIN, TREE_TYPE): Add versions for non GCC or not
  2127. enable checking.
  2128. Also, add __extension__ to GCC versions.
  2129. * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
  2130. * tree-inline.c (copy_tree_r): Initialize chain to assuage the warning
  2131. patrol.
  2132. 2006-10-05 Aldy Hernandez <aldyh@redhat.com>
  2133. * tree-complex.c (expand_complex_libcall): Adjust for
  2134. GIMPLE_MODIFY_STMT.
  2135. (expand_complex_comparison): Same.
  2136. * tree-pretty-print.c (dump_generic_node): Is_expr should include
  2137. GIMPLE_STMT_P statements.
  2138. * value-prof.c (tree_divmod_fixed_value_transform): Adjust for
  2139. GIMPLE_MODIFY_STMT.
  2140. (tree_mod_pow2_value_transform): Same.
  2141. (tree_mod_subtract_transform): Same.
  2142. * tree.c (build2_stat): Check for gimplified function in cfun.
  2143. * tree.h (DECL_GIMPLIFIED): Delete.
  2144. (struct tree_function_decl): Remove gimplified_flag.
  2145. * omp-low.c (lower_omp_for): Adjust for GIMPLE_MODIFY_STMT.
  2146. * cp/cp-gimplify.c (cp_gimplify_expr): Adjust for GIMPLE_MODIFY_STMT.
  2147. (cxx_omp_clause_apply_fn): Adjust for GIMPLE_MODIFY_STMT.
  2148. (cxx_omp_clause_copy_ctor): Same.
  2149. (cxx_omp_clause_assign_op): Same.
  2150. * c-pretty-print.c (pp_c_conditional_expression): Same.
  2151. (pp_c_expression): Same.
  2152. * langhooks.c (lhd_omp_predetermined_sharing): Same.
  2153. * function.h (struct function): Add gimplified field.
  2154. * tree-if-conv.c (add_to_dst_predicate_list): Adjust for
  2155. GIMPLE_MODIFY_STMT.
  2156. (find_phi_replacement_condition): Same.
  2157. * gimplify.c (gimplify_modify_expr_to_memcpy): Same.
  2158. (gimplify_modify_expr_to_memset): Same.
  2159. (gimplify_init_ctor_eval_range): Same.
  2160. (gimplify_modify_expr_complex_part): Same.
  2161. (tree_to_gimple_tuple): Same.
  2162. (gimplify_modify_expr): Same.
  2163. (gimple_push_cleanup): Same.
  2164. (gimplify_omp_for): Same.
  2165. (gimplify_omp_atomic_pipeline): Same.
  2166. (gimplify_omp_atomic_mutex): Same.
  2167. (gimplify_expr): Same.
  2168. (gimplify_one_sizepos): Same.
  2169. (gimplify_function_tree): Same.
  2170. * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Same.
  2171. (vect_recog_widen_sum_pattern): Same.
  2172. * tree-vect-transform.c (get_initial_def_for_reduction): Same.
  2173. (vect_create_epilog_for_reduction): Same.
  2174. (vectorizable_reduction): Same.
  2175. 2006-09-28 Aldy Hernandez <aldyh@redhat.com>
  2176. * tree-ssa-math-opts.c (replace_reciprocal): Use GIMPLE_STMT_OPERAND.
  2177. * tree-if-conv.c (if_convertible_gimple_modify_stmt_p): Same.
  2178. (ifc_temp_var): Same.
  2179. * tree-vect-analyze.c (vect_determine_vectorization_factor): Check
  2180. for gimple statements.
  2181. (vect_analyze_operations): Same.
  2182. (exist_non_indexing_operands_for_use_p): Use GIMPLE_STMT_OPERAND.
  2183. * gimplify.c (gimplify_return_expr): Handle gimple statements.
  2184. * lambda-code.c (can_put_in_inner_loop): Same.
  2185. (can_put_after_inner_loop): Same.
  2186. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Same.
  2187. (vect_create_data_ref_ptr): Same.
  2188. (vect_init_vector): Same.
  2189. (vect_get_vec_def_for_operand): Same.
  2190. (vect_create_epilog_for_reduction): Same.
  2191. (vectorizable_reduction): Same.
  2192. (vectorizable_assignment): Same.
  2193. (vectorizable_operation): Same.
  2194. (vectorizable_load): Same.
  2195. (vectorizable_condition): Same.
  2196. * config/rs6000/rs6000.c (rs6000_va_start): Do not create MODIFY_EXPRs.
  2197. (rs6000_gimplify_va_arg): Same.
  2198. 2006-09-25 Aldy Hernandez <aldyh@redhat.com>
  2199. * tree-vrp.c (simplify_div_or_mod_using_ranges): Use
  2200. GIMPLE_STMT_OPERAND.
  2201. (simplify_abs_using_ranges): Same.
  2202. * tree-complex.c (expand_complex_operations_1): Use
  2203. PROTECTED_TREE_OPERAND.
  2204. * tree-ssa-loop-niter.c (simplify_replace_tree): Check for gimple
  2205. stmt.
  2206. (get_val_for): Use GIMPLE_STMT_OPERAND.
  2207. * tree-tailcall.c (adjust_accumulator_values): Same.
  2208. (adjust_return_value): Same.
  2209. * tree.c (walk_tree): Use IS_GIMPLE_STMT_CODE_CLASS on default
  2210. case. Remove special case for tcc_gimple_stmt.
  2211. * tree.h (CAN_HAVE_LOCATION_P): New.
  2212. * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Check for
  2213. GIMPLE_STMT_P.
  2214. * tree-stdarg.c (va_list_counter_bump): Use GIMPLE_STMT_OPERAND.
  2215. * tree-ssa-dom.c (propagate_rhs_into_lhs): Same.
  2216. * tree-nrv.c (execute_return_slot_opt): Same.
  2217. * tree-ssa-alias.c (count_uses_and_derefs): Check for GIMPLE_STMT_P.
  2218. * tree-vn.c (set_value_handle): Same.
  2219. (get_value_handle): Same.
  2220. * c-decl.c (add_stmt): Use CAN_HAVE_LOCATION_P.
  2221. * tree-vectorizer.c (find_loop_location): Same.
  2222. * c-typeck.c (c_process_expr_stmt): Same.
  2223. (c_finish_stmt_expr): Same.
  2224. * gimplify.c (should_carry_locus_p): Same.
  2225. (tree_to_gimple_tuple): Delete definition and use of unecessary
  2226. variable save_tree_block.
  2227. * tree-ssa-pre.c (phi_translate): Check for GIMPLE_STMT_P.
  2228. (create_expression_by_pieces): Use GIMPLE_STMT_OPERAND.
  2229. (realify_fake_stores): Same.
  2230. * tree-ssa-forwprop.c (forward_propagate_addr_into_variable_arr):
  2231. Use TREE_OPERAND.
  2232. * tree-inline.c (copy_body_r): Check for EXPR_P and GIMPLE_STMT_P.
  2233. (copy_tree_r): Check for IS_GIMPLE_STMT_CODE_CLASS.
  2234. * tree-cfg.c (move_stmt_r): Use EXPR_P. Check for GIMPLE_STMT_P.
  2235. * c-parser.c (c_parser_typeof_specifier): Use CAN_HAVE_LOCATION_P.
  2236. (c_parser_statement_after_labels): Same.
  2237. (c_parser_paren_condition): Same.
  2238. (c_parser_for_statement): Same.
  2239. (c_parser_omp_for_loop): Same.
  2240. * tree-ssa-reassoc.c (linearize_expr): Use GIMPLE_STMT_OPERAND.
  2241. (linearize_expr_tree): Same.
  2242. * dwarf2out.c (reference_to_unused): Check for GIMPLE_STMT_P.
  2243. * function.c (instantiate_expr): Same.
  2244. 2006-09-22 Aldy Hernandez <aldyh@redhat.com>
  2245. * tree.c (expr_location): Use GIMPLE_STMT_LOCUS.
  2246. (set_expr_location): Same.
  2247. (expr_locus): Same.
  2248. (set_expr_locus): Same.
  2249. (expr_filename): Same.
  2250. (expr_lineno): Same.
  2251. (tree_block): Use GIMPLE_STMT_BLOCK.
  2252. (protected_tree_operand): Use GIMPLE_STMT_OPERAND.
  2253. * tree.h (struct gimple_stmt): Remove prev and next.
  2254. (GIMPLE_STMT_OPERAND_CHECK): New.
  2255. (TREE_TO_GIMPLE_STMT): Delete.
  2256. (GIMPLE_STMT_TO_TREE): Delete.
  2257. (GIMPLE_STMT_OPERAND): Use union, not cast.
  2258. (GIMPLE_STMT_LOCUS): New.
  2259. (GIMPLE_STMT_BLOCK): New.
  2260. * gimplify.c (tree_to_gimple_tuple): Use union. Do not cast
  2261. to tree_base.
  2262. * tree-cfg.c (verify_gimple_tuples_1): Call gcc_unreachable.
  2263. 2006-09-21 Aldy Hernandez <aldyh@redhat.com>
  2264. * tree-into-ssa.c (REGISTER_DEFS_IN_STMT): Change common.base
  2265. to base.
  2266. * tree-tailcall.c (adjust_return_value): Same.
  2267. * tree.c (tree_code_size): Remove GIMPLE_STATEMENT_LIST case.
  2268. (copy_node_stat): Change common.base to base.
  2269. (tree_node_structure): Return TS_GIMPLE_STATEMENT for tcc_gimple_stmt.
  2270. Remove GIMPLE_STATEMENT_LIST case.
  2271. * tree.h (struct gimple_stmt): Make operands of type tree.
  2272. (TREE_CODE, TREE_SET_CODE, TREE_ADDRESSABLE, CALL_EXPR_TAILCALL,
  2273. CASE_LOW_SEEN, TREE_STATIC, CLEANUP_EH_ONLY, CASE_HIGH_SEEN,
  2274. TREE_NO_WARNING, TREE_CONSTANT_OVERFLOW, TREE_SYMBOL_REFERENCED,
  2275. TYPE_REF_CAN_ALIAS_ALL, TREE_OVERFLOW, TREE_PUBLIC,
  2276. TYPE_CACHED_VALUES_P, TREE_SIDE_EFFECTS, FORCED_LABEL,
  2277. TREE_THIS_VOLATILE, TREE_THIS_NOTRAP, TREE_READONLY,
  2278. TREE_CONSTANT, TYPE_SIZES_GIMPLIFIED, DECL_UNSIGNED,
  2279. BIT_FIELD_REF_UNSIGNED, TYPE_UNSIGNED, TREE_ASM_WRITTEN, TREE_USED,
  2280. TREE_NOTHROW, CALL_EXPR_RETURN_SLOT_OPT, DECL_BY_REFERENCE,
  2281. CALL_FROM_THUNK_P, TYPE_ALIGN_OK, TREE_PRIVATE, TREE_PROTECTED,
  2282. TREE_DEPRECATED, IDENTIFIER_TRANSPARENT_ALIAS, TREE_INVARIANT,
  2283. TREE_LANG_FLAG_*, SSA_NAME_OCCURS_IN_ABNORMAL_PHI,
  2284. SSA_NAME_IN_FREE_LIST, TYPE_VOLATILE, TYPE_READONLY, BINFO_VIRTUAL_P):
  2285. Change common.base to base.
  2286. (GIMPLE_STATEMENT_LIST*): Remove.
  2287. (union tree_node): Add base. Remove gimple_statement_list.
  2288. Remove pointer from gstmt.
  2289. * tree-ssa-propagate.c (set_rhs): Change common.base to base.
  2290. * treestruct.def: Add TS_BASE. Remove TS_GIMPLE_STATEMENT_LIST.
  2291. * tree-vn.c (vn_compute): Change common.base to base.
  2292. * tree-eh.c (verify_eh_throw_stmt_node): Same.
  2293. * tree-flow-inline.h (var_ann): Same.
  2294. (function_ann): Same.
  2295. (stmt_ann): Same.
  2296. (mark_non_addressable): Same.
  2297. * gimplify.c (tree_to_gimple_tuple): Same.
  2298. * tree.def (DEFTREECODE): Remove GIMPLE_STATEMENT_LIST.
  2299. * tree-dfa.c (create_var_ann): Change common.base to base.
  2300. (create_function_ann): Same.
  2301. (create_stmt_ann): Same.
  2302. (create_tree_ann): Same.
  2303. (collect_dfa_stats_r): Same.
  2304. * tree-ssa-pre.c (NECESSARY): Change common.base to base.
  2305. * tree-ssa-dce.c (NECESSARY): Same.
  2306. * tree-ssa.c (delete_tree_ssa): Same.
  2307. * tree-optimize.c (execute_free_cfg_annotations): Same.
  2308. * tree-flow.h: Same.
  2309. 2006-09-19 Aldy Hernandez <aldyh@redhat.com>
  2310. * tree.c (tree_code_size): Handle GIMPLE_STATEMENT_LIST.
  2311. (tree_node_structure): Handle GIMPLE_STATEMENT_LIST and
  2312. GIMPLE_MODIFY_STMT.
  2313. * tree.h (struct gimple_stmt): Add prev and next fields.
  2314. (GIMPLE_STMT_TO_TREE): Cast, do not call GIMPLE_STMT_CHECK.
  2315. (GIMPLE_STATEMENT_LIST_HEAD): New.
  2316. (GIMPLE_STATEMENT_LIST_TAIL): New.
  2317. (struct gimple_statement_list): New.
  2318. (union tree_node): Add gimple_stmt_list and gstmt.
  2319. * treestruct.def: Add TS_GIMPLE_STATEMENT_LIST, TS_GIMPLE_STATEMENT.
  2320. * tree.def: Add GIMPLE_STATEMENT_LIST.
  2321. 2006-09-06 Aldy Hernandez <aldyh@redhat.com>
  2322. * tree-dump.c (dequeue_and_dump): Handle GIMPLE_MODIFY_STMT.
  2323. * tree-vrp.c (build_assert_expr_for): Change uses of
  2324. MODIFY_EXPR to GIMPLE_MODIFY_STMT and adjust accordingly.
  2325. (find_assert_locations): Same.
  2326. (remove_range_assertions): Same.
  2327. (stmt_interesting_for_vrp): Same.
  2328. (vrp_visit_assignment): Same.
  2329. (vrp_visit_stmt): Same.
  2330. (simplify_cond_using_ranges): Same.
  2331. * tree-into-ssa.c (REGISTER_DEFS_IN_THIS_STMT): Adjust for new
  2332. tree structure.
  2333. * tree-ssa-loop-im.c (movement_possibility): Change uses of
  2334. MODIFY_EXPR to GIMPLE_MODIFY_STMT and adjust accordingly.
  2335. (stmt_cost): Same.
  2336. (determine_invariantness_stmt): Same.
  2337. (schedule_sm): Same.
  2338. (gather_mem_refs_stmt): Same.
  2339. * tree-complex.c (init_dont_simulate_again): Same.
  2340. (complex_visit_stmt): Same.
  2341. (set_component_ssa_name): Same.
  2342. (expand_complex_move): Same.
  2343. (expand_complex_div_wide): Same.
  2344. (expand_complex_comparison): Same.
  2345. (expand_complex_operations_1): Same.
  2346. * tree-ssa-loop-niter.c (expand_simple_operations): Same.
  2347. (chain_of_csts_start): Same.
  2348. (infer_loop_bounds_from_undefined): Same.
  2349. * tree-pretty-print.c (dump_generic_node): Same.
  2350. (op_prio): Same.
  2351. (op_symbol_1): Same.
  2352. * tree-ssa-loop-manip.c (create_iv): Same.
  2353. * value-prof.c (tree_divmod_fixed_value): Same.
  2354. (tree_divmod_fixed_value_transform): Same.
  2355. (tree_mod_pow2): Same.
  2356. (tree_mod_pow2_value_transform): Same.
  2357. (tree_mod_subtract): Same.
  2358. (tree_mod_subtract_transform): Same.
  2359. (tree_divmod_values_to_profile): Same.
  2360. * tree-tailcall.c (process_assignment): Same.
  2361. (find_tail_calls): Same.
  2362. (adjust_accumulator_values): Same.
  2363. (adjust_return_value): Same.
  2364. (eliminate_tail_call): Same.
  2365. * tree.c (tree_code_size): Handle tcc_gimple_stmt.
  2366. (make_node_stat): Same.
  2367. (copy_node_stat): Handle gimple tuples.
  2368. (expr_align): Handle GIMPLE_MODIFY_STMT. Abort on MODIFY_EXPR.
  2369. (tree_node_structure): Handle tcc_gimple_stmt.
  2370. (build2_stat): Abort on MODIFY_EXPR after gimplification. Handle
  2371. tcc_gimple_stmt.
  2372. (build2_gimple_stat): New.
  2373. (expr_location): New.
  2374. (set_expr_location): New.
  2375. (expr_has_location): New.
  2376. (expr_locus): New.
  2377. (set_expr_locus): New.
  2378. (expr_filename): New.
  2379. (expr_lineno): New.
  2380. (walk_tree): Handle tcc_gimple_stmt.
  2381. (tree_block): New.
  2382. (protected_tree_operand): New.
  2383. (protected_tree_type): New.
  2384. (tree_code_kind): Add gimple statements.
  2385. * tree.h (tree_code_class): Add tcc_gimple_stmt.
  2386. (IS_GIMPLE_STMT_CODE_CLASS): New.
  2387. (struct tree_base): New.
  2388. (struct tree_common): Shrink.
  2389. (struct gimple_stmt): New.
  2390. (struct gimple_expr): New.
  2391. (TREE_SET_CODE, TREE_ADDRESSABLE, CALL_EXPR_TAILCALL,
  2392. CASE_LOW_SEEN, TREE_STATIC, CLEANUP_EH_ONLY, CASE_HIGH_SEEN,
  2393. TREE_NO_WARNING, TREE_CONSTANT_OVERFLOW, TREE_SYMBOL_REFERENCED,
  2394. TYPE_REF_CAN_ALIAS_ALL, TREE_OVERFLOW, TREE_PUBLIC,
  2395. TYPE_CACHED_VALUES_P, SAVE_EXPR_RESOLVED_P, TREE_SIDE_EFFECTS,
  2396. FORCED_LABEL, TREE_THIS_VOLATILE, TREE_THIS_NOTRAP, TREE_READONLY,
  2397. TREE_CONSTANT, TYPE_SIZES_GIMPLIFIED, DECL_UNSIGNED,
  2398. BIT_FIELD_REF_UNSIGNED, TYPE_UNSIGNED, TREE_ASM_WRITTEN,
  2399. TREE_USED, TREE_NOTHROW, CALL_EXPR_RETURN_SLOT_OPT,
  2400. DECL_BY_REFERENCE, CALL_FROM_THUNK_P, TYPE_ALIGN_OK,
  2401. TREE_PRIVATE, TREE_PROTECTED, TREE_DEPRECATED,
  2402. IDENTIFIER_TRANSPARENT_ALIAS, TREE_INVARIANT,
  2403. TREE_LANG_FLAG_[0-6], SSA_NAME_CHECK, SSA_NAME_IN_FREE_LIST,
  2404. TYPE_VOLATILE, TYPE_READONLY, TREE_VISITED, BINFO_VIRTUAL_P):
  2405. Adjust for new `common' layout.
  2406. (struct tree_function_decl): Add gimplified_flag.
  2407. (DECL_GIMPLIFIED): NEW.
  2408. (EXPR_LOCATION, SET_EXPR_LOCUS, EXPR_FILENAME, EXPR_LOCUS,
  2409. SET_EXPR_LOCUS, SET_EXPR_LOCATION, EXPR_LINENO,
  2410. EXPR_HAS_LOCATION): Call corresponding function.
  2411. (GIMPLE_STMT_CHECK): New.
  2412. (TREE_OPERAND_CHECK, TREE_TYPE, TREE_CHAIN): Abort on gimple tuples.
  2413. (TREE_BLOCK): Call tree_block.
  2414. (GIMPLE_STMT_P): New.
  2415. (GIMPLE_TUPLE_P): New.
  2416. (TREE_TO_GIMPLE_STMT): New.
  2417. (GIMPLE_STMT_TO_TREE): New.
  2418. (GIMPLE_STMT_OPERAND): New.
  2419. (GIMPLE_TUPLE_HAS_LOCUS_P): New.
  2420. (PROTECTED_TREE_OPERAND): New.
  2421. (PROTECTED_TREE_TYPE): New.
  2422. (build2_gimple_stat): Protoize.
  2423. (build2_gimple): New.
  2424. (expr_location): Protoize.
  2425. (set_expr_location): Protoize.
  2426. (expr_has_location): Protoize.
  2427. (expr_locus): Protoize.
  2428. (set_expr_locus): Protoize.
  2429. (expr_filename): Protoize.
  2430. (expr_lineno): Protoize.
  2431. (tree_block): Protoize.
  2432. (protected_tree_operand): Protoize.
  2433. (protected_tree_type): Protoize.
  2434. (enum tree_node_kind): Add gimple_stmt_kind.
  2435. * c-decl.c (union lang_tree_node): Tuples do not have a
  2436. TREE_CHAIN.
  2437. * ipa-cp.c (constant_val_insert): Change uses of MODIFY_EXPR to
  2438. GIMPLE_MODIFY_STMT and adjust accordingly.
  2439. * tree-scalar-evolution.c (follow_ssa_edge): Same.
  2440. (interpret_condition_phi): Same.
  2441. (pointer_used_p): Same.
  2442. (analyze_scalar_evolution_1): Same.
  2443. (scev_const_prop): Same.
  2444. (interpret_rhs_modify_stmt): Rename from
  2445. interpret_rhs_modify_expr.
  2446. * builtins.c (std_expand_builtin_va_start): Change uses of
  2447. MODIFY_EXPR to GIMPLE_MODIFY_STMT and adjust accordingly.
  2448. (std_gimplify_va_arg_expr): Same.
  2449. (expand_builtin_va_copy): Same.
  2450. (integer_valued_real_p): Same.
  2451. * fold-const.c (maybe_lvalue_p): Same.
  2452. (fold_unary): Same.
  2453. (tree_expr_nonnegative_p): Same.
  2454. (tree_expr_nonzero_p): Same.
  2455. * omp-low.c (extract_omp_for_data): Same.
  2456. (lower_rec_input_clauses): Same.
  2457. (lower_reduction_clauses): Same.
  2458. (lower_copyprivate_clauses): Same.
  2459. (lower_send_clauses): Same.
  2460. (lower_send_shared_vars): Same.
  2461. (expand_parallel_call): Same.
  2462. (expand_omp_parallel): Same.
  2463. (expand_omp_for_generic): Same.
  2464. (expand_omp_for_static_nochunk): Same.
  2465. (expand_omp_for_static_chunk): Same.
  2466. (expand_omp_sections): Same.
  2467. (lower_omp_single_copy): Same.
  2468. (lower_omp_parallel): Same.
  2469. * tree-ssa-dse.c (memory_address_same): Same.
  2470. (dse_optimize_stmt): Same.
  2471. * ipa-reference.c (scan_for_static_refs): Same.
  2472. * tree-gimple.c (is_gimple_reg_rhs): Same.
  2473. (get_call_expr_in): Same.
  2474. (recalculate_side_effects): Same.
  2475. * cgraphunit.c (cgraph_create_edges): Same.
  2476. * tree-ssa-copyrename.c (rename_ssa_copies): Same.
  2477. * tree-ssa-ccp.c (get_default_value): Same.
  2478. (likely_value): Same.
  2479. (visit_assignment): Same.
  2480. (ccp_visit_stmt): Same.
  2481. (get_maxval_strlen): Same.
  2482. (ccp_fold_builtin): Same.
  2483. * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Same.
  2484. (find_givs_in_stmt): Same.
  2485. (find_interesting_uses_op): Same.
  2486. (find_interesting_uses_stmt): Same.
  2487. (rewrite_use_nonlinear_expr): Same.
  2488. * ipa-pure-const.c (scan_function): Same.
  2489. * tree-stdarg.c (va_list_counter_bump): Same.
  2490. (check_all_va_list_escapes): Same.
  2491. (execute_optimize_stdarg): Same.
  2492. * tree-ssa-math-opts.c (compute_merit): Same.
  2493. (insert_reciprocals): Same.
  2494. (execute_cse_reciprocals): Same.
  2495. * tree-ssa-dom.c (initialize_hash_element): Same.
  2496. (simple_iv_increment_p): Same.
  2497. (record_equivalences_from_stmt): Same.
  2498. (optimize_stmt): Same.
  2499. (remove_stmt_or_phi): Same.
  2500. (get_rhs_or_phi_arg): Same.
  2501. (get_lhs_or_phi_result): Same.
  2502. (propagate_rhs_into_lhs): Same.
  2503. * tree-nrv.c (tree_nrv): Same.
  2504. (execute_return_slot_opt): Same.
  2505. * tree-ssa-propagate.c (get_rhs): Same.
  2506. (set_rhs): Same.
  2507. (stmt_makes_single_load): Same.
  2508. (stmt_makes_single_store): Same.
  2509. (replace_vuses_in): Same.
  2510. (fold_predicate_in): Same.
  2511. (substitute_and_fold): Same.
  2512. * tree-ssa-alias.c (compute_call_clobbered): Same.
  2513. (recalculate_used_alone): Same.
  2514. (count_uses_and_derefs): Same.
  2515. (is_escape_site): Same.
  2516. (find_used_portions): Same.
  2517. * gimple-low.c (lower_stmt): Same.
  2518. (block_may_fallthru): Same.
  2519. (lower_return_expr): Same.
  2520. * tree-ssa-sink.c (is_hidden_global_store): Same.
  2521. (statement_sink_location): Same.
  2522. * dwarf2out.c (loc_descriptor_from_tree_1): Same.
  2523. * expr.c (safe_from_p): Same.
  2524. (expand_expr_real): Same.
  2525. (expand_expr_real_1): Same.
  2526. * tree-ssa-loop-ivcanon.c (empty_loop_p): Same.
  2527. * predict.c (expr_expected_value): Same.
  2528. (strip_builtin_expect): Same.
  2529. (apply_return_prediction): Same.
  2530. (tree_bb_level_predictions): Same.
  2531. (tree_estimate_probability): Same.
  2532. * tree-vn.c (vn_compute): Same.
  2533. * tree-eh.c (add_stmt_to_eh_region_fn): Same.
  2534. (remove_stmt_from_eh_region_fn): Same.
  2535. (do_return_redirection): Same.
  2536. (honor_protect_cleanup_actions): Same.
  2537. (lower_try_finally_switch): Same.
  2538. (lower_eh_constructs_1): Same.
  2539. (tree_could_throw_p): Same.
  2540. (verify_eh_throw_stmt_node): Same.
  2541. * function.c (gimplify_parameters): Same.
  2542. * tree-vectorizer.c (vect_is_simple_use): Same.
  2543. (vect_is_simple_reduction): Same.
  2544. * ipa-type-escape.c (scan_for_refs): Same.
  2545. * tree-if-conv.c (tree_if_conversion): Same.
  2546. (tree_if_convert_stmt): Same.
  2547. (if_convertible_gimplify_modify_stmt_p): Rename from
  2548. if_convertible_modify_expr_p.
  2549. (if_convertible_stmt_p): Adjust for GIMPLE_MODIFY_STMT.
  2550. (ifc_temp_var): Same.
  2551. (replace_phi_with_cond_modify_stmt): Rename from
  2552. replace_phi_with_cond_modify_expr.
  2553. (process_phi_nodes): Call replace_phi_with_cond_modify_stmt.
  2554. * tree.def (DEFTREECODE): Add GIMPLE_MODIFY_STMT.
  2555. * tree-data-ref.c (find_data_references_in_loop): Adjust for
  2556. GIMPLE_MODIFY_STMT.
  2557. * tree-flow-inline.h (var_ann): Same.
  2558. (function_ann): Same.
  2559. (stmt_ann): Same.
  2560. (mark_non_addressable): Same.
  2561. * tree-vect-analyze.c (vect_determine_vectorization_factor): Same.
  2562. * gimplify.c (tree_to_gimple_tuple): New.
  2563. (build_stack_save_restore): Adjust for GIMPLE_MODIFY_STMT.
  2564. (gimplify_return_expr): Same.
  2565. (gimplify_decl_expr): Same.
  2566. (gimplify_self_mod_expr): Same.
  2567. (gimplify_cond_expr): Same.
  2568. (gimplify_init_constructor): Same.
  2569. (gimplify_modify_expr): Same.
  2570. (gimplify_expr): Same.
  2571. (gimplify_function_tree): Same.
  2572. (force_gimple_operand): Same.
  2573. * tree-ssa-phiopt.c (conditional_replacement): Same.
  2574. (minmax_replacement): Same.
  2575. (abs_replacement): Same.
  2576. * tree-dfa.c (create_var_ann): Same.
  2577. (create_function_ann): Same.
  2578. (create_stmt_ann): Same.
  2579. (create_tree_ann): Same.
  2580. (collect_dfa_stats_r): Same.
  2581. * tree-ssa-pre.c (find_or_generate_expression): Same.
  2582. (create_expression_by_pieces): Same.
  2583. (try_look_through_load): Same.
  2584. (insert_fake_stores): Same.
  2585. (realify_fake_stores): Same.
  2586. (compute_avail): Same.
  2587. (eliminate): Same.
  2588. (init_pre): Same.
  2589. (poolify_modify_stmt): Rename from poolify_modify_stmt.
  2590. Adjust for GIMPLE_MODIFY_STMT.
  2591. (NECESSARY): Adjust for new `common' layout.
  2592. * tree-ssa-live.c (build_tree_conflict_graph): Adjust for
  2593. GIMPLE_MODIFY_STMT.
  2594. * tree-sra.c (sra_walk_modify_stmt): Rename from
  2595. sra_walk_modify_expr.
  2596. (sra_walk_function): Adjust for GIMPLE_MODIFY_STMT.
  2597. (generate_copy_inout): Same.
  2598. (generate_element_copy): Same.
  2599. (generate_element_zero): Same.
  2600. (scalarize_copy): Same.
  2601. * tree-mudflap.c (mf_decl_cache_locals): Same.
  2602. (mf_build_check_statement_for): Same.
  2603. (mf_xform_derefs): Same.
  2604. * ipa-prop.c (ipa_method_modify_stmt): Same.
  2605. * print-tree.c (print_node): Handle gimple tuples.
  2606. Add case for tcc_gimple_stmt.
  2607. * tree-ssa-copy.c (stmt_may_generate_copy): Adjust for
  2608. GIMPLE_MODIFY_STMT.
  2609. (copy_prop_visit_assignment): Same.
  2610. (copy_prop_visit_stmt): Same.
  2611. (init_copy_prop): Same.
  2612. * tree-ssa-forwprop.c (ssa_name_defined_by_comparison_p): Same.
  2613. (forward_propagate_into_cond_1): Same.
  2614. (find_equivalent_equality_comparison): Same.
  2615. (tidy_after_forward_propagate_addr): Same.
  2616. (forward_propagate_addr_expr_1): Same.
  2617. (simplify_not_neg_expr): Same.
  2618. (simplify_switch_expr): Same.
  2619. * tree-ssa-dce.c (find_pdom): Same.
  2620. (mark_stmt_if_obviously_necessary): Same.
  2621. (NECESSARY): Adjust for new `common' layout.
  2622. * tree-flow.h: Same.
  2623. * tree-vect-patterns.c (widened_name_p): Adjust for
  2624. GIMPLE_MODIFY_STMT.
  2625. (vect_recog_dot_prod_pattern): Same.
  2626. (vect_recog_widen_sum_pattern): Same.
  2627. (vect_pattern_recog_1): Same.
  2628. * tree-nested.c (init_tmp_var): Same.
  2629. (save_tmp_var): Same.
  2630. (walk_stmts): Same.
  2631. (convert_call_expr): Same.
  2632. (finalize_nesting_tree_1): Same.
  2633. * tree-ssa.c (verify_ssa): Same.
  2634. (delete_tree_ssa): Same.
  2635. * lambda-code.c (lbv_to_gcc_expression): Same.
  2636. (lle_to_gcc_expression): Same.
  2637. (lambda_loopnest_to_gcc_loopnest): Same.
  2638. (can_put_in_inner_loop): Same.
  2639. (can_convert_to_perfect_nest): Same.
  2640. (perfect_nestify): Same.
  2641. * tree-ssa-loop-prefetch.c (gather_memory_references): Same.
  2642. * tree-inline.c (copy_body_r): Same.
  2643. (setup_one_parameter): Same.
  2644. (initialize_inlined_parameters): Same.
  2645. (estimate_num_insns_1): Same.
  2646. (expand_call_inline): Same.
  2647. (gimple_expand_calls_inline): Same.
  2648. (copy_tree_r): Same.
  2649. * tree-optimize.c (execute_free_cfg_annotations): Same.
  2650. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Same.
  2651. (vect_align_data_ref): Same.
  2652. (vect_create_data_ref_ptr): Same.
  2653. (vect_init_vector): Same.
  2654. (vect_create_epilog_for_reduction): Same.
  2655. (vectorizable_reduction): Same.
  2656. (vectorizable_assignment): Same.
  2657. (vectorizable_operation): Same.
  2658. (vectorizable_store): Same.
  2659. (vectorizable_load): Same.
  2660. (vectorizable_live_operation): Same.
  2661. (vectorizable_condition): Same.
  2662. (vect_generate_tmps_on_preheader): Same.
  2663. (vect_create_cond_for_align_checks): Same.
  2664. * tree-object-size.c (collect_object_sizes_for): Same.
  2665. (check_for_plus_in_loops_1): Same.
  2666. (check_for_plus_in_loops): Same.
  2667. * tree-outof-ssa.c (insert_copy_on_edge): Same.
  2668. (replace_use_variable): Same.
  2669. (check_replaceable): Same.
  2670. (rewrite_trees): Same.
  2671. (identical_copies_p): Same.
  2672. (insert_backedge_copies): Same.
  2673. * tree-profile.c (tree_gen_edge_profiler): Same.
  2674. * tree-vect-generic.c (expand_vector_operations_1): Same.
  2675. * tree-ssa-structalias.c (update_alias_info): Same.
  2676. (find_func_aliases): Same.
  2677. * tree-cfg.c (factor_computed_gotos): Same.
  2678. (make_edges): Same.
  2679. (make_goto_expr_edges): Same.
  2680. (tree_merge_blocks): Same.
  2681. (remove_useless_stmts_cond): Same.
  2682. (remove_useless_stmts_1): Same.
  2683. (tree_find_edge_insert_loc): Same.
  2684. (verify_expr): Same.
  2685. (gimplify_val): Same.
  2686. (verify_gimple_tuples_1): New.
  2687. (verify_gimple_tuples): New.
  2688. (verify_stmts): Call verify_gimple_tuples.
  2689. * tree-ssa-reassoc.c (get_rank): Adjust for GIMPLE_MODIFY_STMT.
  2690. (get_unary_op): Same.
  2691. (linearize_expr): Same.
  2692. (get_single_immediate_use): Same.
  2693. (negate_value): Same.
  2694. (should_break_up_subtract): Same.
  2695. (break_up_subtract): Same.
  2696. (repropagate_negates): Same.
  2697. (break_up_subtract_bb): Same.
  2698. (reassociate_bb): Same.
  2699. * config/i386/i386.c (ix86_va_start): Same.
  2700. (ix86_gimplify_va_arg): Same.
  2701. * stmt.c (expand_expr_stmt): Same.
  2702. (warn_if_unused_value): Same.
  2703. (expand_return): Same.
  2704. * tree-ssanames.c (make_ssa_name): Same.
  2705. * tree-ssa-threadedge.c (lhs_of_dominating_assert): Same.
  2706. * tree-ssa-operands.c (finalize_ssa_defs): Same.
  2707. (add_virtual_operand): Same.
  2708. (get_expr_operands): Same.
  2709. (parse_ssa_operands): Same.
  2710. (get_modify_stmt_operands): Rename from get_modify_expr_operands.
  2711. 2006-12-05 H.J. Lu <hongjiu.lu@intel.com>
  2712. * config.host: Remove extra blank line.
  2713. 2006-12-05 Bernd Schmidt <bernd.schmidt@analog.com>
  2714. * config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if
  2715. target is also an x86 variant.
  2716. 2006-12-05 Richard Guenther <rguenther@suse.de>
  2717. * config/i386/i386.c (ix86_builtin_vectorized_function): Declare.
  2718. (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Define.
  2719. (ix86_builtin_vectorized_function): New function to vectorize
  2720. sqrt.
  2721. 2006-12-05 Bernd Schmidt <bernd.schmidt@analog.com>
  2722. * config/bfin/bfin.c (output_file_start): Fix comment which referred to
  2723. ia64_override_options.
  2724. 2006-12-04 Jan Hubicka <jh@suse.cz>
  2725. * cfgexpand.c (expand_one_var): Guard expand_one_stack_var by
  2726. really_expand.
  2727. 2006-12-04 Bernd Schmidt <bernd.schmidt@analog.com>
  2728. * rtlanal.c (note_uses): Deal with SEQUENCEs.
  2729. * config/bfin/bfin.c: Include "timevar.h".
  2730. (bfin_flag_schedule_insns2, splitting_for_sched,
  2731. bfin_flag_var_tracking): New variables.
  2732. (print_operand): Handle '%!'.
  2733. (override_options): Disable normal sched2 pass, instead set
  2734. bfin_flag_schedule_insns2 for reorg to handle it.
  2735. (output_file_start): Likewise for var-tracking.
  2736. (bfin_optimize_loop): Take some care not to stumble over SEQUENCEs.
  2737. (gen_one_bundle, bfin_gen_bundles, type_for_anomaly, trapping_loads_p):
  2738. New functions.
  2739. (bfin_reorg): Do second scheduling pass here, and call
  2740. bfin_gen_bundles. Use type_for_anomaly and trapping_loads_p instead
  2741. of examining insns directly. If bfin_flag_var_tracking, call
  2742. var-tracking pass when done with everything else.
  2743. * config/bfin/bfin.h (PRINT_OPERAND_PUNCT_VALID_P): '!' is valid.
  2744. * config/bfin/bfin.md (UNSPEC_32BIT): New constant.
  2745. (movsi_insn32): New pattern, with two new splits to create it
  2746. before the final scheduling pass.
  2747. (neghi2): Not a dsp32 insn, rather alu0.
  2748. (movbi, pushsi_insn, popsi_insn, movsi_insn, movv2hi_insn, movhi_insn,
  2749. movqi_insn, movsf_insn, movsi_insv, extendhisi2, zero_extendhisi2,
  2750. extendqihi2, extendqisi2, zero_extendqihi2, zero_extendqisi2,
  2751. mulhisi3, umulhisi3, ssadsi3, sssubsi3, smaxsi3, sminsi3, abssi2,
  2752. ssnegsi2, signbitssi2, smaxhi3, sminhi3, abshi2, ssneghi2, signbitshi2,
  2753. movhi_low2high, movhi_high2high, movhi_low2low, movhi_high2low,
  2754. movhiv2hi_low, movhiv2hi_high, composev2hi, packv2hi, movv2hi_hi,
  2755. ssaddhi3, sssubhi3, addv2hi3, ssaddv2hi3, subv2hi3, sssubv2hi3,
  2756. addsubv2hi3, subaddv2hi3, ssaddsubv2hi3, sssubaddv2hi3, sublohiv2hi3,
  2757. subhilov2hi3, sssublohiv2hi3, sssubhilov2hi3, addlohiv2hi3,
  2758. addhilov2hi3, ssaddlohiv2hi3, ssaddhilov2hi3, sminv2hi3, smaxv2hi3,
  2759. flag_mulhi, flag_mulhisi, flag_mulhisi_parts, flag_machi,
  2760. flag_machi_acconly, flag_macinithi, flag_macinit1hi, mulv2hi3,
  2761. flag_mulv2hi, flag_mulv2hi_parts, flag_macv2hi_parts,
  2762. flag_macv2hi_parts_acconly, flag_macinitv2hi_parts,
  2763. flag_macinit1v2hi_parts, mulhisi_ll, mulhisi_lh, mulhisi_hl,
  2764. mulhisi_hh, ssnegv2hi2, absv2hi2, ssashiftv2hi3, ssashifthi3,
  2765. lshiftv2hi3, lshifthi3): Use '%!' to terminate all dsp32/load/store
  2766. variants instead of ';'.
  2767. (ror_one, rol_one): Likewise. Make them dsp32 insns.
  2768. (ashlsi3_insn, ashrsi3, lshrsi3): Add dsp32 variants.
  2769. (align8, align16, align24): Now named patterns; also using '%!'.
  2770. (mnop): New insn.
  2771. 2006-12-05 Kazu Hirata <kazu@codesourcery.com>
  2772. * config/i386/darwin.h, config/spu/spu.c, tree-ssa-live.c,
  2773. tree-vect-generic.c, tree-vect-transform.c: Fix comment typos.
  2774. 2006-12-04 Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  2775. * config/spu/spu-protos.c (spu_split_address): Add.
  2776. * config/spu/spu.c (spu_split_address): Add.
  2777. (print_operand): Handle HIGH.
  2778. (spu_legitimate_address): Don't test for aligned CONST.
  2779. (spu_expand_mov): Don't split addresses here.
  2780. * config/spu/constraints.md (A): Don't test legitimate_const.
  2781. * config/spu/spu.md: Add split of movsi patterns for PIC mode.
  2782. (ceq_di): Use correct predicates.
  2783. 2006-12-04 Eric Christopher <echristo@apple.com>
  2784. * config/darwin.h: Update copyright notice.
  2785. * config/i386/darwin.h: Ditto.
  2786. 2006-12-04 Jan Hubicka <jh@suse.cz>
  2787. * builtins.c (fold_builtin_memory_op): Check that expr_size match.
  2788. * explow.c (expr_size, int_expr_size): Assert that size is non_NULL.
  2789. 2006-12-04 Daniel Berlin <dberlin@dberlin.org>
  2790. * tree-ssa-alias.c (compute_flow_sensitive_aliasing): Call
  2791. set_used_smts.
  2792. * tree-ssa-structalias.c (set_used_smts): Export.
  2793. (find_what_p_points_to): Don't call set_used_smts here.
  2794. * tree-ssa-structalias.h (set_used_smts): Add prototype.
  2795. 2006-12-04 Daniel Berlin <dberlin@dberlin.org>
  2796. * tree-ssa-alias.c (compute_may_aliases):
  2797. Compute flow sensitive before flow insensitive.
  2798. (compute_flow_sensitive_aliasing): Don't try to add
  2799. a symbol memory tag to itself.
  2800. * alias.h (alias_set_subset_of): New prototype.
  2801. * alias.c (alias_set_subset_of): New function.
  2802. * tree-ssa-structalias.c: Update comments.
  2803. (struct variable_info): Add finished_solution.
  2804. (new_varinfo): Set finished solution to NULL.
  2805. (var_escaped_vars): Remove.
  2806. (escaped_vars_tree): Remove.
  2807. (escaped_vars_id): Remove.
  2808. (nonlocal_vars_id): Remove.
  2809. (constraint_expr_type): Add INCLUDES.
  2810. (graph_size): Removed.
  2811. (dump_constraint): Support INCLUDES.
  2812. (build_constraint_graph): Ditto.
  2813. (collapse_nodes): Add merge_solutions argument.
  2814. Don't merge attributes.
  2815. (process_unification_queue): Just use collapse_nodes.
  2816. (perform_var_substitution): Update call to collapse_nodes.
  2817. (get_constraint_exp_from_ssa_var): Use INCLUDES.
  2818. (process_constraint): Fix non-field sensitive handling
  2819. Handle includes.
  2820. (get_constraint_for): Use INCLUDES.
  2821. (make_constraint_from_anything): Renamed from
  2822. make_constraint_from_escaped.
  2823. (make_constraint_to_escaped): Removed.
  2824. (find_global_initializers): Removed.
  2825. (create_variable_info_for): Do not make constraints to escaped
  2826. vars anymore.
  2827. (dump_solution_for_var): Don't print out the equivalent points-to
  2828. sets, just use the name of the variable it shares it with.
  2829. (intra_create_variable_infos): Use INCLUDES.
  2830. Change nonlocal variable sets to anything sets.
  2831. (init_base_vars): Remove escaped_vars and nonlocal_var
  2832. initialization.
  2833. (find_escape_constraints): Removed.
  2834. (delete_points_to_sets): Remove dead code.
  2835. (used_smt_calculated): New variable.
  2836. (set_used_smts): New function.
  2837. (merge_smts_into): New function.
  2838. (find_what_p_points_to): Modify to use SMTs.
  2839. (create_nonlocal_var): Remove.
  2840. * tree-ssa-operands.c (access_can_touch_variable): Remove
  2841. reference to nonlocal_all.
  2842. * tree-ssa.c (verify_name_tags): Remove.
  2843. 2006-12-04 Carlos O'Donell <carlos@codesourcery.com>
  2844. * config/arm/unwind-arm.c: Adjust __cxa_type_match declaration.
  2845. (__gnu_unwind_pr_common): Pass is_reference to __cxa_type_match.
  2846. 2006-12-04 Andrew MacLeod <amacleod@redhat.com>
  2847. * tree-outof-ssa.c (coalesce_ssa_name): Use calculate_live_ranges.
  2848. * tree-ssa-live.c (new_tree_live_info, delete_tree_live_info): Update.
  2849. (add_livein_if_notdef): Delete.
  2850. (loe_visit_block): New. Propogate live on entry info for a block into
  2851. each predecessor. If it changes, make sure it is visited again.
  2852. (live_worklist): Visit every block and update the live on entry info
  2853. for preds. Iterate over any that changed.
  2854. (set_var_live_on_entry): Populate the live on entry blocks with bits
  2855. based on the immediate uses of a var.
  2856. (calculate_live_on_entry): Remove.
  2857. (calculate_live_on_exit): Calculate live on exit based on the newly
  2858. oriented live on entry bits.
  2859. (calculate_live_ranges): Build live on entry and exit vectors.
  2860. (dump_live_info): Use new orientation of live on entry bitmaps.
  2861. (verify_live_on_entry): New. Split out verification code from old
  2862. calculate_live_on_entry routine.
  2863. * tree-ssa-live.h (struct tree_live_info_d): Add Working stack.
  2864. (live_entry_blocks): Rename to live_on_entry and return bitmap for a
  2865. basic_block instead of for a partition.
  2866. (live_merge_and_clear): Add asserts.
  2867. (make_live_on_entry): Set partition bit in basic block vector.
  2868. 2006-12-04 Jakub Jelinek <jakub@redhat.com>
  2869. PR libgomp/29947
  2870. * omp-low.c (expand_omp_for_static_nochunk,
  2871. expand_omp_for_static_chunk): Do all arithmetics in signed rather than
  2872. unsigned type.
  2873. PR middle-end/29965
  2874. * omp-low.c (determine_parallel_type): Don't try to optimize combined
  2875. parallels if region->exit or region->inner->exit is NULL.
  2876. (expand_omp_parallel): Handle NULL region->exit even if cfg is already
  2877. built.
  2878. (expand_omp_for_generic): Handle NULL region->cond and region->exit.
  2879. (expand_omp_for): Use expand_omp_for_generic if either region->cond
  2880. or region->exit is NULL.
  2881. (expand_omp_sections): Handle NULL region->cond or region->exit.
  2882. (expand_omp_synch):
  2883. 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  2884. * config/sparc/sp64-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Delete.
  2885. * config/sparc/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
  2886. 2006-12-04 Eric Botcazou <ebotcazou@adacore.com>
  2887. * tree.c (walk_type_fields): Do not handle TYPE_MIN_VALUE and
  2888. TYPE_MAX_VALUE for scalar types here but...
  2889. (walk_tree): ...there instead. Return NULL_TREE if the TYPE_DECL
  2890. is attached an error mark, and the return value of the callback
  2891. if it is not NULL_TREE.
  2892. 2006-12-04 Ben Elliston <bje@au.ibm.com>
  2893. * config/spu/spu.md (_mulv4si3): Remove unused local variables.
  2894. 2006-12-03 Eric Christopher <echristo@apple.com>
  2895. PR target/24598
  2896. * config/t-slibgcc-darwin: Pass -install_name.
  2897. * config/darwin.h (LINK_COMMAND_SPEC): Remove use of
  2898. libtool. Only pass through options that the linker recognizes.
  2899. (LINK_SPEC): Update comment. Translate options.
  2900. (STARTFILE_SPEC): Add dylib1.o for shared libraries.
  2901. * config/darwin9.h (LINK_COMMAND_SPEC): Ditto above.
  2902. 2006-12-03 Dorit Nuzman <dorit@il.ibm.com>
  2903. * config/spu/spu.md (smaxv4sf3, sminv4sf3): New.
  2904. 2006-12-03 Uros Bizjak <ubizjak@gmail.com>
  2905. PR target/30041
  2906. * config/i386/sse.md ("*sse3_movddup"): Use operands[0] and
  2907. operands[1] in insn constraint. Correct type attribute to sselog1.
  2908. 2006-12-02 H.J. Lu <hongjiu.lu@intel.com>
  2909. PR target/30040
  2910. * config/i386/driver-i386.c: Include "coretypes.h" and "tm.h".
  2911. (bit_SSSE3): New.
  2912. (host_detect_local_cpu): Check -mtune= vs. -march=. Rewrite
  2913. processor detection.
  2914. * config/i386/i386.h (CC1_CPU_SPEC): Add -mtune=native for
  2915. -march=native if there is no -mtune=*.
  2916. * config/i386/x-i386 (driver-i386.o): Also depend on $(TM_H)
  2917. coretypes.h.
  2918. 2006-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2919. * doc/install.texi: Update recommended MPFR version. Remove
  2920. obsolete reference to cumulative patch.
  2921. 2006-12-02 Lee Millward <lee.millward@codesourcery.com>
  2922. PR c/27953
  2923. * c-decl.c (store_parm_decls_oldstyle): Robustify.
  2924. 2006-11-30 Jan Hubicka <jh@suse.cz>
  2925. Uros Bizjak <ubizjak@gmail.com>
  2926. * config/i386/i386.c (pentium4_cost, nocona_cost): Update
  2927. 32bit memcpy/memset decriptors.
  2928. (decide_alg): With -minline-all-stringops and sizes that are best
  2929. to be copied via libcall still work hard enough to pick non-libcall
  2930. strategy.
  2931. 2006-12-02 Kazu Hirata <kazu@codesourcery.com>
  2932. * doc/extend.texi, doc/invoke.texi, doc/md.texi: Fix typos.
  2933. * builtins.c, cfgloop.h, cgraph.h, config/arm/arm.c,
  2934. config/i386/i386.c, config/i386/i386.h, config/mips/mips.h,
  2935. config/rs6000/cell.md, config/rs6000/rs6000.c, config/sh/sh.c,
  2936. config/sh/sh4-300.md, config/spu/spu-builtins.def,
  2937. config/spu/spu-c.c, config/spu/spu-modes.def,
  2938. config/spu/spu.c, config/spu/spu.md,
  2939. config/spu/spu_internals.h, config/spu/vmx2spu.h,
  2940. fold-const.c, fwprop.c, predict.c, tree-data-ref.h,
  2941. tree-flow.h, tree-ssa-loop-manip.c, tree-ssa-loop-niter.c,
  2942. tree-ssa-pre.c, tree-vect-analyze.c, tree-vect-transform.c,
  2943. tree-vectorizer.c, tree-vrp.c: Fix comment typos. Follow
  2944. spelling conventions.
  2945. * config/i386/i386.c: Fix a comment typo.
  2946. 2006-12-01 Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  2947. * config/spu/spu.c (spu_immediate): Remove trailing comma.
  2948. (reloc_diagnostic): Call warning when -mwarn-reloc is specified.
  2949. * config/spu/spu.md: (zero_extendhisi2): Expand instead of split for
  2950. better optimization.
  2951. (floatv4siv4sf2): New.
  2952. (fix_truncv4sfv4si2): New.
  2953. (floatunsv4siv4sf2): New.
  2954. (fixuns_truncv4sfv4si2): New.
  2955. (addv16qi3): New.
  2956. (subv16qi3): New.
  2957. (negv16qi2): New.
  2958. (mulv8hi3): New.
  2959. (mulsi3): Remove.
  2960. (mul<mode>3): New.
  2961. (_mulv4si3): New.
  2962. (cmp<mode>): Don't accept constant arguments for DI, TI and SF.
  2963. * config/spu/spu_internals.h: Handle overloaded intrinsics in C++ with
  2964. spu_resolve_overloaded_builtin instead of static inline functions.
  2965. 2006-12-01 Eric Botcazou <ebotcazou@adacore.com>
  2966. * fold-const.c (fold_binary) <LT_EXPR>: Use the precision of the
  2967. type instead of the size of its mode to compute the highest and
  2968. lowest possible values. Still check the size of the mode before
  2969. flipping the signedness of the comparison.
  2970. 2006-12-01 Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  2971. * config/spu/predicates.md (spu_mov_operand): Add.
  2972. * config/spu/spu.c (spu_expand_extv): Remove unused code.
  2973. (print_operand_address, print_operand): Handle addresses containing AND.
  2974. (spu_split_load, spu_split_store): Use updated movti pattern.
  2975. * config/spu/spu.md: (_mov<mode>, _movdi, _movti): Handle loads and
  2976. stores in mov patterns for correct operation of reload.
  2977. (lq, lq_<mode>, stq, stq_<mode>): Remove.
  2978. 2006-12-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  2979. PR c++/30021
  2980. * c-common.c (check_main_parameter_types): Check for error_mark_node.
  2981. 2006-12-01 Andrew MacLeod <amacleod@redhat.com>
  2982. * common.opt (ftree-combine-temps): Remove.
  2983. * tree-outof-ssa.c (SSANORM_COMBINE_TEMPS): Remove.
  2984. (coalesce_ssa_name): Don't check for combine-temps.
  2985. (coalesce_vars): Remove.
  2986. (check_replaceable): Use num_imm_uses.
  2987. (remove_ssa_form, insert_backedge_copies, rewrite_out_of_ssa): Don't
  2988. check for combine-temps.
  2989. (rewrite_out_of_ssa): Never create a ref_count in the var_map.
  2990. * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Change parms
  2991. to register_ssa_partition calls.
  2992. * tree-ssa-live.c (register_ssa_partition): Remove prototype.
  2993. (init_var_map, delete_var_map): remove refernces to ref_count.
  2994. (create_ssa_var_map): Never calculate a ref count.
  2995. (type_var_init): Remove.
  2996. * tree-ssa-live.h (typedef struct _var_map): Remove ref_count.
  2997. (SSA_VAR_MAP_REF_COUNT): Delete.
  2998. (create_ssa_var_map): Change Prototype to have no parameters.
  2999. (version_ref_count): Delete.
  3000. (register_ssa_partition): Remove 'is_use' paramater and don't set the
  3001. ref_count vector.
  3002. (type_var_num, type_var, type_var_first_partition,
  3003. type_var_next_partition, type_var_dump, type_var_delete,
  3004. type_var_remove_partition, type_var_find, type_var_compact,
  3005. type_var_decompact): Remove.
  3006. 2006-12-01 Bernd Schmidt <bernd.schmidt@analog.com>
  3007. * config/bfin/bfin.md (pushsi_insn, popsi_insn): Set correct addrtype
  3008. attribute.
  3009. 2006-12-01 Richard Guenther <rguenther@suse.de>
  3010. PR c++/29433
  3011. * dwarf2out.c (struct pubname_struct): Make name const.
  3012. (add_pubtype): Do not xstrdup identifiers.
  3013. 2006-12-01 Bernd Schmidt <bernd.schmidt@analog.com>
  3014. * config/bfin/bfin.c (bfin_valid_add): Fix the logic that ensures
  3015. multiword accesses are in range.
  3016. 2006-12-01 Zdenek Dvorak <dvorakz@suse.cz>
  3017. PR tree-optimization/29921
  3018. * tree-ssa-ccp.c (canonicalize_float_value): New function.
  3019. (set_lattice_value): Use canonicalize_float_value.
  3020. 2006-11-30 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3021. * config/spu/spu.c (spu_builtin_range): Move from spu-c.c
  3022. (TARGET_RESOLVE_OVERLOADED_BUILTIN): Delete.
  3023. (spu_cpu_cpp_builtins): Remove.
  3024. (spu_override_options): Don't set warn_main.
  3025. (spu_force_reg): Move from spu-c.c.
  3026. (spu_check_builtin_parm): Likewise.
  3027. (expand_builtin_args): Likewise.
  3028. (spu_expand_builtin_1): Likewise.
  3029. (spu_expand_builtin): Likewise.
  3030. * config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Define, set
  3031. warn_main and targetm.resolve_overloaded_builtin.
  3032. * config/spu/spu-c.c (spu_builtin_range): Remove.
  3033. (spu_check_builtin_parm): Remove.
  3034. (expand_builtin_args): Remove.
  3035. (spu_expand_builtin_1): Remove.
  3036. (spu_expand_builtin): Remove.
  3037. (spu_cpu_cpp_builtins): Moved from spu.c
  3038. (spu_force_reg): Remove.
  3039. 2006-12-01 Joseph Myers <joseph@codesourcery.com>
  3040. David Edelsohn <edelsohn@gnu.org>
  3041. PR target/24036
  3042. * doc/tm.texi (HARD_REGNO_NREGS_HAS_PADDING,
  3043. HARD_REGNO_NREGS_WITH_PADDING): Document new target macros.
  3044. * defaults.h (HARD_REGNO_NREGS_HAS_PADDING,
  3045. HARD_REGNO_NREGS_WITH_PADDING): Define.
  3046. * config/i386/i386.h (HARD_REGNO_NREGS_HAS_PADDING,
  3047. HARD_REGNO_NREGS_WITH_PADDING): Define.
  3048. * rtlanal.c (subreg_regno_offset, subreg_offset_representable_p):
  3049. Use new macros to detect modes with holes; do not look at integer
  3050. units.
  3051. (subreg_offset_representable_p): Check for and disallow cases
  3052. where the modes use different numbers of bits from registers.
  3053. * config/rs6000/rs6000.c (rs6000_emit_move): Handle TFmode
  3054. constant for soft-float.
  3055. (rs6000_hard_regno_nregs): Use UNITS_PER_FP_WORD for e500 GPRs
  3056. containing doubles.
  3057. (rs6000_split_multireg_move): Use DFmode reg_mode for TFmode moves
  3058. in E500 double case.
  3059. * config/rs6000/rs6000.md (movtf): Allow soft-float.
  3060. (movtf_softfloat): New.
  3061. 2006-11-30 Richard Sandiford <richard@codesourcery.com>
  3062. * simplify-rtx.c (simplify_rtx): Use simplify_subreg rather than
  3063. simplify_gen_subreg.
  3064. 2006-11-30 Andrew Macleod <amacleod@redhat.com>
  3065. * tree-ssa-live.c (create_coalesce_list): Create a hash table.
  3066. (COALESCE_HASH_FN): New. Define hash function.
  3067. (partition_pair_map_hash): New. Hash value for a partition pair.
  3068. (partition_pair_map_eq): New. Equality for hash pairs.
  3069. (create_coalesce_list): Create hash table.
  3070. (delete_coalesce_list): Free hash table.
  3071. (find_partition_pair): Find/create pairs in hash table.
  3072. (compare_pairs): Sort pairs in ascending order now.
  3073. (num_coalesce_pairs): New. Number of pairs in hash table.
  3074. (struct partition_pair_iterator): Iterator struct for pair table.
  3075. (first_partition_pair): Iterator function for first pair.
  3076. (end_partition_pair_p): Iterator function for end of iteration.
  3077. (next_partition_pair): Iterator function for next pair.
  3078. (FOR_EACH_PARTITION_PAIR): Macro for iterating over pairs.
  3079. (sort_coalesce_list): Sort pairs from hash table into an array.
  3080. (pop_best_coalesce): Take pairs from the array.
  3081. (dump_coalesce_list): Update to use hash table or sorted array.
  3082. * tree-ssa-live.h (struct partition_pair_d): Remove next field.
  3083. (struct coalesce_list_d): Add hash table related fields.
  3084. 2006-11-30 Jan Hubicka <jh@suse.cz>
  3085. PR middle-end/30028
  3086. * builtins.c (fold_builtin_memory_op): Fix typo in the check for
  3087. memmove/bcopy->memcpy conversion.
  3088. 2006-11-30 Carlos O'Donell <carlos@codesourcery.com>
  3089. * doc/tm.texi (MAX_OFILE_ALIGNMENT): Document default.
  3090. * config/elfos.h [!MAX_OFILE_ALIGNMENT] (MAX_OFILE_ALIGNMENT):
  3091. Default is the largest alignment supported for 32-bit ELF and
  3092. representable on a 32-bit host.
  3093. 2006-11-30 Janis Johnson <janis187@us.ibm.com>
  3094. * config/dfp-bit.c (DFP_TO_INT): Use wider precision.
  3095. 2006-11-30 Jan Hubicka <jh@suse.cz>
  3096. * tree-ssa-operands.h (struct ssa_operands): New.
  3097. * tree-flow-inline.h (gimple_ssa_operands): New function.
  3098. * tree-flow.h: (struct gimple_df): Add ssa_operands.
  3099. * Makefile.in: Remove gt-tree-ssa-operands.h
  3100. * tree-ssa-operands.c: Do not include gt-tree-ssa-operands.h
  3101. (free_defs, free_uses, free_vuses, free_maydefs, free_mustdefs,
  3102. operand_memory, operand_memory_index, ops_active): Remove statics.
  3103. (ALLOC_OPTYPE): Update.
  3104. (operand_build_sort_virtual): Update.
  3105. (ssa_operands_active): Update.
  3106. (init_ssa_operands): Update.
  3107. (fini_ssa_operands): Update.
  3108. (ssa_operand_alloc): Update.
  3109. (INITIALIZE_USE): Update.
  3110. (finalize_ssa_use_ops): Update.
  3111. (finalize_ssa_v_may_def_ops): Update.
  3112. (finalize_ssa_vuse_ops): Update.
  3113. (finalize_ssa_v_must_def_ops): Update.
  3114. 2006-11-30 Richard Guenther <rguenther@suse.de>
  3115. * tree-vectorizer.h (vectorizable_function): Export.
  3116. * tree-vect-transform.c (vectorizable_function): Likewise.
  3117. * tree-vect-patterns.c (vect_recog_pow_pattern): Set
  3118. type_in to scalar type in recognition of squaring.
  3119. Make sure the target can vectorize sqrt in recognition
  3120. of sqrt, set type_in to vector type in this case.
  3121. 2006-11-30 Uros Bizjak <ubizjak@gmail.com>
  3122. * config/i386/i386.md (R10_REG): New constant.
  3123. * config/i386/i386.c (pro_epilogue_adjust_stack): Use R11_REG.
  3124. (ix86_emit_restore_regs_using_mov): Ditto.
  3125. (ix86_expand_call): Ditto.
  3126. (x86_output_mi_thunk): Ditto. Also use R10_REG.
  3127. 2006-11-30 Steven Bosscher <steven@gcc.gnu.org>
  3128. * cselib.c (cselib_init): Use special MEM rtx form for callmem.
  3129. * alias.c (canon_true_dependence): Update comment.
  3130. 2006-11-30 Steven Bosscher <steven@gcc.gnu.org>
  3131. * cgraphunit.c (cgraph_finalize_compilation_unit): Add a newline
  3132. at the end of a diagnostics message.
  3133. * alloc-pool.c (pool_free): Postpone clearing the pool entry
  3134. until after asserting that it was allocated in the right pool.
  3135. * cfgrtl.c (print_rtl_with_bb): Print predecessor and
  3136. successor edge information as well. Make output of live regs
  3137. on exit consistent with live regs on entry.
  3138. 2006-11-30 Uros Bizjak <ubizjak@gmail.com>
  3139. PR target/29852
  3140. * config/i386/i386.md (*truncxfsf2_mixed, *truncxfdf2_mixed): Enable
  3141. insn patterns for TARGET_80387.
  3142. (*truncxfsf2_i387, *truncxfdf2_i387): Remove.
  3143. (*truncxfsf2_i387_1): Rename to *truncxfsf2_i387.
  3144. (*truncxfdf2_i387_1): Rename to *truncxfdf2_i387.
  3145. (fmod<mode>3, remainder<mode>3): Enable expaders for SSE math.
  3146. Generate truncxf<mode>2 insn patterns for strict SSE math.
  3147. 2006-11-30 Uros Bizjak <ubizjak@gmail.com>
  3148. * config/i386/i386.md (movsf_1): Enable pattern for standard
  3149. 80387 constants before reload when optimizing for size.
  3150. (*movdf_nointeger, *movdf_integer): Ditto.
  3151. (*movxf_nointeger, *movxf_integer): Disable patterns for standard
  3152. 80387 constants before reload when not optimizing for size.
  3153. (*fop_xf_4_i387, *fop_xf_5_i387, *fop_xf_6_i387): Avoid float
  3154. extension of XFmode input operands.
  3155. 2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3156. * config/spu/crt0.c (__dso_handle): Define.
  3157. 2006-11-30 Kaz Kojima <kkojima@gcc.gnu.org>
  3158. * emit-rtl.c (verify_rtl_sharing): Handle SEQUENCE specially
  3159. when clearing the used flags.
  3160. 2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3161. * config/spu/spu.md (extend_compare): Fix whitespace formatting.
  3162. 2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3163. PR target/29945
  3164. * config/spu/spu.md (extend_compare<mode>): New pattern.
  3165. (extend_compare): Change to expand and use the above pattern.
  3166. 2006-11-29 Janis Johnson <janis187@us.ibm.com>
  3167. * config/dfp-bit.c (DFP_TO_INT): Fix rounding mode.
  3168. * config/dfp-bit.h (CONTEXT_ROUND): Delete.
  3169. (DFP_INIT_ROUNDMODE): Define.
  3170. * config/dfp-bit.c: Replace CONTEXT_ROUND with DFP_INIT_ROUNDMODE.
  3171. * mklibgcc.in: Fix dependencies for dfp-bit.c.
  3172. 2006-11-29 Tehila Meyzels <tehila@il.ibm.com>
  3173. * haifa-sched.c: Remove define LINE_NOTE(INSN). Remove line_note_head.
  3174. Update documentation.
  3175. (associate_line_notes_with_blocks): Kill.
  3176. (extend_bb): Remove basic block argument, put void instead.
  3177. Remove line number handling for each bb.
  3178. (save_line_notes): Kill.
  3179. (restore_line_notes): Kill.
  3180. (sched_init): Remove line_note_head initialization.
  3181. Change extend_bb call.
  3182. (sched_finish): Remove free of line_note_head.
  3183. (add_block): Change extend_bb call.
  3184. * sched-ebb.c (schedule_ebb): Remove save_line_notes,
  3185. rm_line_notes and restore_line_notes calls.
  3186. (schedule_ebbs): Remove rm_redundant_line_notes.
  3187. * sched-int.h (struct haifa_insn_data): Remove line_note.
  3188. (save_line_notes): Remove declaration.
  3189. (restore_line_notes): Remove declaration.
  3190. * modulo-sched.c (loop_canon_p): Update debug info printing
  3191. by using insn locators instead of line note.
  3192. (sms_schedule): Update debug info printing, by using insn
  3193. locators instead of line note.
  3194. * sched-rgn.c (debug_dependencies): Remove handling of case
  3195. n>0 (line number), since it's a dead code.
  3196. (schedule_region): Remove save_line_notes and
  3197. restore_line_notes calls.
  3198. 2006-11-29 Joseph Myers <joseph@codesourcery.com>
  3199. * config/rs6000/predicates.md (gpc_reg_operand): Check
  3200. invalid_e500_subreg.
  3201. * config/rs6000/rs6000.c (invalid_e500_subreg): Don't allow any
  3202. SImode subregs of SPE vectors.
  3203. * config/rs6000/rs6000.md (insv): Fail for invalid E500 subregs.
  3204. * jump.c (true_regnum): Require subregs to satisfy
  3205. subreg_offset_representable_p.
  3206. 2006-11-29 Daniel Berlin <dberlin@dberlin.org>
  3207. Steven Bosscher <stevenb.gcc@gmail.com>
  3208. * Makefile.in (tree-ssanames.o): Remove gt-tree-ssanames.h,
  3209. since it no longer exists.
  3210. 2006-11-29 Duncan Sands <baldrick@free.fr>
  3211. PR tree-optimization/23744
  3212. * tree-vrp.c (vrp_meet): do not require ranges to intersect.
  3213. 2006-11-29 Duncan Sands <baldrick@free.fr>
  3214. PR tree-optimization/23744
  3215. * testsuite/gcc.dg/tree-ssa/pr23744.c: new test.
  3216. 2006-11-29 Duncan Sands <baldrick@free.fr>
  3217. PR tree-optimization/23744
  3218. * testsuite/gcc.dg/tree-ssa/update-threading.c: xfail.
  3219. 2006-11-29 Jie Zhang <jie.zhang@analog.com>
  3220. * doc/tm.texi (NO_PROFILE_COUNTERS): Document more accurately.
  3221. 2006-11-29 J"orn Rennecke <joern.rennecke@st.com>
  3222. * sh.opt (minline-ic_invalidate): New option.
  3223. (musermode): Adjust comment.
  3224. * sh.c (sh_initialize_trampoline): Emit library call unless
  3225. is set; if it is set, don't emit library call if we can use icbi
  3226. instead.
  3227. * sh.md (ic_invalidate_line, ic_invalidate_line_sh4a): Also use
  3228. icbi for TARGET_SH4_300.
  3229. * t-sh (LIB1ASMFUNCS_CACHE): Set.
  3230. * doc/invoke.texi: Document -minline-ic_invalidate; Update
  3231. -musermode documentation.
  3232. 2006-11-29 Jim Tison <jtison@us.ibm.com>
  3233. * gthr-tpf.h (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION,
  3234. __gthread_recursive_mutex_init): Define.
  3235. 2006-11-29 Joseph Myers <joseph@codesourcery.com>
  3236. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): If
  3237. STRICT_ALIGNMENT and the type is more aligned than the saved
  3238. registers, copy via a temporary.
  3239. 2006-11-28 Andrew Pinski <pinskia@gmail.com>
  3240. PR tree-opt/29984
  3241. * tree-ssa-reassoc.c (eliminate_duplicate_pair): Handle MAX_EXPR
  3242. and MIN_EXRP.
  3243. 2006-11-28 Bob Wilson <bob.wilson@acm.org>
  3244. * config/xtensa/lib1funcs.asm (__umulsidi3): Restore a12-a15 on exit.
  3245. 2006-11-28 Jan Hubicka <jh@suse.cz>
  3246. Privatize SSA variables into gimple_df.
  3247. * tree-flow-inline.h
  3248. (gimple_in_ssa_p, gimple_aliases_computed_p, gimple_addressable_vars,
  3249. gimple_call_clobbered_vars, gimple_referenced_vars, gimple_global_var,
  3250. gimple_nonlocal_all): New accessors.
  3251. (first_referenced_var): Update.
  3252. (mark_stmt_modified): Update.
  3253. (is_call_clobbered): Update.
  3254. (mark_call_clobbered): Update.
  3255. (clear_call_clobbered): Update.
  3256. (mark_non_addressable): Update.
  3257. * tree-vrp.c (get_value_range): Update.
  3258. * tree-into-ssa.c (in_ssa_p): Kill.
  3259. (get_default_def_for): Update.
  3260. (rewrite_into_ssa): Update.
  3261. * tree-complex.c (init_parameter_lattice_values): Update.
  3262. (update_complex_assignment): Update.
  3263. (update_parameter_components): Update.
  3264. (expand_complex_libcall): Update.
  3265. (expand_complex_operations_1): Update.
  3266. * tree-tailcall.c (arg_needs_copy_p): Update.
  3267. (add_virtual_phis): Update.
  3268. (tree_optimize_tail_calls_1): Update.
  3269. * tree-ssa-dse.c (memory_ssa_name_same): Update.
  3270. * tree-ssa-copyrename.c
  3271. (copy_rename_partition_coalesce): Update.
  3272. * tree-ssa-math-opts.c (execute_cse_reciprocals): Update.
  3273. * tree-ssa-propagate.c (set_rhs): Update.
  3274. * tree-ssa-alias.c (aliases_computed_p, call_clobbered_vars,
  3275. addressable_vars, global_var):Kill.
  3276. (set_initial_properties): Update.
  3277. (init_alias_info): Update.
  3278. (finalize_ref_all_pointers): Update.
  3279. (setup_pointers_and_addressables): Update.
  3280. (maybe_create_global_var): Update.
  3281. (create_global_var): Update.
  3282. (dump_points_to_info): Update.
  3283. * function.h (struct gimple_df): Forward declare.
  3284. (struct function): Add GIMPLE_DF field.
  3285. * gimplify.c (force_gimple_operand): Update.
  3286. * tree-dfa.c (referenced_vars, default_defs): KIll.
  3287. (make_rename_temp): Update.
  3288. (dump_variable): Update.
  3289. (referenced_var_lookup): Update.
  3290. (referenced_var_check_and_insert): Update.
  3291. (default_def): Rename to ...
  3292. (gimple_default_def): ... this one; accept cfun argument.
  3293. (set_default_def): Update.
  3294. * tree-cfgcleanup.c (modified_noreturn_calls): Kill.
  3295. (cleanup_control_flow): Update.
  3296. * tree-ssa-pre.c (compute_avail): Update
  3297. * tree-ssa-live.c (calculate_live_on_entry): Update.
  3298. * tree-ssa.c (verify_use): Update.
  3299. (verify_call_clobbering): Update.
  3300. (verify_call_clobbering): Update.
  3301. (init_tree_ssa): Update.
  3302. (delete_tree_ssa): Update.
  3303. * tree-outof-ssa.c (coalesce_ssa_name): Update.
  3304. (rewrite_out_of_ssa): Update.
  3305. * tree-flow.h (gimple_df): New structure collecting dataflow variables.
  3306. (FREE_SSANAMES, SSANAMES, MODIFIED_NORETURN_CALLS, DEFAULT_DEFS): New
  3307. private accessors.
  3308. (in_ssa_p, modified_noreturn_calls, referenced_vars, default_defs,
  3309. ssa_names, global_var, nonlocal_all, call_clobbered_vars,
  3310. addressable_vars, aliases_computed_p): Kill.
  3311. (default_def): Rename to...
  3312. (gimple_default_def): ... this one.
  3313. (defaule_def_fn): Kill.
  3314. (num_referenced_vars, ssa_names, num_ssa_names): Update.
  3315. * tree-ssa-structalias.c (nonlocal_all): Kill.
  3316. (get_constraint_exp_from_ssa_var): Update.
  3317. (create_nonlocal_var): Update.
  3318. (get_constraint_for): Update.
  3319. (update_alias_info): Update.
  3320. (find_global_initializers): Update.
  3321. (intra_create_variable_infos): Update.
  3322. (intra_create_variable_infos):
  3323. (find_what_p_points_to): Update.
  3324. (init_alias_heapvars): Update.
  3325. * tree-cfg.c (remove_bb): Update.
  3326. (gimplify_val): Update.
  3327. * tree-ssa-reassoc.c (get_rank): Update.
  3328. (init_reassoc): Update.
  3329. * tree-ssanames.c: Do not include gt-tree-ssanames.h
  3330. (ssa_names, free_ssanames): Kill.
  3331. (init_ssanames): Update.
  3332. (make_ssa_name): Update.
  3333. (release_ssa_name): Update.
  3334. (release_defs): Update.
  3335. (replace_ssa_name_symbol): Update.
  3336. * tree-ssa-operands.c (access_can_touch_variable): Update.
  3337. (add_virtual_operand): Update.
  3338. (add_call_clobber_ops): Update.
  3339. (add_call_read_ops): Update.
  3340. (get_call_expr_operands): Update.
  3341. (get_asm_expr_operands): Update.
  3342. 2006-11-28 Jan Hubicka <jh@suse.cz>
  3343. * builtins.c: Include tree-flow.h.
  3344. (fold_builtin_memory_op): Be more aggressive on converting memcpy to
  3345. assignment; convert memmove to memcpy for sizes greater than 1 where
  3346. alignment of operands prohibit the partial overlap.
  3347. 2006-11-28 Jan Hubicka <jh@suse.cz>
  3348. * invoke.texi (large-stack-frame, large-stack-frame-growth): New params.
  3349. * cgraph.c (dump_cgraph_node): Dump stack usage.
  3350. * cgraph.h (cgraph_local_info): Add estimated_self_stack_size.
  3351. (cgraph_global_info): Add estimated_stack_size and stack_frame_offset.
  3352. * cgraphunit.c (cgraph_analyze_function): Analyze stack sizes.
  3353. * ipa-inline.c (cgraph_clone_inlined_nodes): Propagate stack usage.
  3354. (cgraph_check_inline_limits): Limit stack growth.
  3355. * cfgexpand.c: Include tree-inline.h.
  3356. (account_stack_vars): New function.
  3357. (expand_one_var): New param to just account the stack; return estimated
  3358. size.
  3359. (expand_used_vars_for_block): Update call of expand_one_var.
  3360. (account_used_vars_for_block): New function.
  3361. (estimated_stack_frame_size): Likewise.
  3362. (init_vars_expansion, fini_vars_expansion): Break out from..
  3363. (expand_used_vars): ... here.
  3364. * tree-inline.h (estimated_stack_frame_size): Declare.
  3365. * params.def (PARAM_LARGE_STACK_FRAME, PARAM_STACK_FRAME_GROWTH): New.
  3366. 2006-11-28 Richard Guenther <rguenther@suse.de>
  3367. * ggc-page.c (ggc_print_statistics): Use %ul and a cast to
  3368. unsigned long for printing OBJECT_SIZE.
  3369. 2006-11-27 Steven Bosscher <steven@gcc.gnu.org>
  3370. * alias.c (init_alias_analysis): Remove simplification loop
  3371. after propagating pointers.
  3372. 2006-11-27 Uros Bizjak <ubizjak@gmail.com>
  3373. * config/i386/i386.c (x86_ext_80387_constants): Add m_K8, m_CORE2
  3374. and m_GENERIC64.
  3375. 2006-11-27 Bob Wilson <bob.wilson@acm.org>
  3376. * config/xtensa/xtensa.h (XCHAL_HAVE_MUL32_HIGH): Provide default.
  3377. 2006-11-27 Roger Sayle <roger@eyesopen.com>
  3378. Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  3379. * c-common.c (constant_fits_type_p): Delete.
  3380. (unsigned_conversion_warning): Delete.
  3381. (conversion_warning): Integrate Wconversion warning from
  3382. unsigned_conversion_warning.
  3383. (convert_and_check): Integrate Woverflow warning from
  3384. unsigned_conversion_warning. Reorganize and simplify to avoid
  3385. dependence upon the middle-end setting TREE_OVERFLOW on integral
  3386. conversions, by using int_fits_type_p directly.
  3387. 2006-11-27 Tobias Burnus <burnus@net-b.de>
  3388. * doc/invoke.texi: Fixed typo.
  3389. 2006-11-27 Michael Matz <matz@suse.de>
  3390. Andreas Krebbel <krebbel1@de.ibm.com>
  3391. PR target/29319
  3392. * config/s390/predicates.md (larl_operand): Check addend of larl
  3393. operand to be in range of -/+2GB.
  3394. * config/s390/s390.c (legitimize_pic_address): Likewise.
  3395. Changed type of variable even to HOST_WIDE_INT.
  3396. 2006-11-27 Jan Hubicka <jh@suse.cz>
  3397. * expr.c (emit_block_move_via_libcall): Export.
  3398. (clear_storage_via_libcall): Rename to ...
  3399. (set_storage_via_libcall): ... this one; handle arbitrary value to set.
  3400. (clear_storage): Update to set_storage_via_libcall.
  3401. * expr.h (emit_block_move_via_libcall): Declare
  3402. * config/i386/i386.h (stringop_alg): New enum.
  3403. (MAX_STRINGOP_ALGS): New constant.
  3404. (stringop_algs): New struct.
  3405. (processor_costs): Add memcpy/memset descriptors.
  3406. (TARGET_REP_MOVEL_OPTIMAL): Remove.
  3407. * config/i386/i386.md (movsi_insv_1_rex64): New pattern.
  3408. (strmovsi, strmovdi, strsetsi, strsetdi): Update; accept all operands
  3409. for memset.
  3410. * config/i386/i386.opt (minline-stringops-dynamically,
  3411. mstringop-strategy): New
  3412. parameters.
  3413. * config/i386/i386-prostos.h (ix86_expand_movmem): Update prototype.
  3414. (ix86_expand-clrmem): Rename to ...
  3415. (ix86_expand_setmem): ... this one; update prototype.
  3416. * config/i386/i386.c (DUMMY_STRINGOP_ALGS): New constant.
  3417. (size_cost, i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
  3418. geode_cost, k6_cost, athlon_cost, k8_cost, pentium4_cost,
  3419. nocona_cost, core2_cost, generic_cost, generic64_cost,
  3420. generic32_cost): Add memcpy/memset descriptors.
  3421. (x86_rep_movl_optimal): Remove.
  3422. (stringop_alg): New static variable.
  3423. (ix86_expand_aligntest): Handle predictions.
  3424. (override_options): Add strgop_alg handling.
  3425. (predict_jump): New function.
  3426. (scale_counter): New function.
  3427. (expand_set_or_movmem_via_loop): New function.
  3428. (expand_movmem_via_rep_mov): New function.
  3429. (expand_setmem_via_rep_stots): New function.
  3430. (emit_strmov): New function.
  3431. (expand_movmem_epilogue): New function.
  3432. (expand_setmem_epilogue_via_loop): New function.
  3433. (expand_setmem_epilogue): New function.
  3434. (expand_movmem_prologue): New function.
  3435. (expand_setmem_prologue): New function.
  3436. (decide_alg): New function.
  3437. (decide_alignment): New function.
  3438. (ix86_exand_movmem): Rewrite.
  3439. (promote_duplicated_reg): New function.
  3440. (ix86_expand_clrmem): Rename to ...
  3441. (ix86_expand_setmem): ... this one. Rewrite.
  3442. * invoke.texi (minline-stringops-dynamically): New command line option.
  3443. (mstringop-strategy): Likewise.
  3444. 2006-11-27 Jan Hubicka <jh@suse.cz>
  3445. * cfgexpand.c (construct_exit_block): Don't disturb end of last BB.
  3446. * rtl.texi (NOTE_INSN_FUNCTION_END): Remove.
  3447. * final.c (final_scan_insn): Don't scan NOTE_INSN_FUNCTION_END.
  3448. * insn-notes.def (FUNCTION_END): Remove.
  3449. * jump.c (delete_related_insns): Don't worry about FUNCTION_END.
  3450. (redicect_jump_2): Don't accept -1 parameter to remove FUNCTION_END
  3451. note.
  3452. * ifcvt.c (dead_or_predictable): Update call of redirect_jump_2.
  3453. * function.c (expand_function_end): Don't emit NOTE_INSN_FUNCTION_END
  3454. * cfglayout.c (duplicate_insn_chain): Don't worry about
  3455. NOTE_FUNCTION_END.
  3456. 2006-11-27 Richard Guenther <rguenther@suse.de>
  3457. Zdenek Dvorak <dvorakz@suse.cz>
  3458. * target.h (struct gcc_target): Add builtin_vectorized_function
  3459. target hook.
  3460. * target-def.h (TARGET_VECTORIZE): Likewise.
  3461. * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION):
  3462. Document new target hook.
  3463. * targhooks.h (default_builtin_vectorized_function): Declare.
  3464. * targhooks.c (default_builtin_vectorized_function): Define.
  3465. * tree-vectorizer.h (stmt_vec_info_type): Add call_vec_info_type.
  3466. (vectorizable_call): Declare.
  3467. * tree-vect-analyze.c (vect_analyze_operations): Call
  3468. vectorizable_call.
  3469. * tree-vect-transform.c (vectorizable_function): New static function.
  3470. (build_vectorized_function_call): Likewise.
  3471. (vectorizable_call): New function.
  3472. (vect_transform_stmt): Handle vectorizable calls.
  3473. 2006-11-27 Richard Guenther <rguenther@suse.de>
  3474. PR middle-end/25620
  3475. * builtins.c (expand_builtin_pow): Optimize non integer valued
  3476. constant exponents using sqrt or cbrt if possible. Always fall back
  3477. to expanding via optabs.
  3478. 2006-11-27 Ira Rosen <irar@il.ibm.com>
  3479. PR tree-optimization/22372
  3480. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Convert
  3481. the type of the base address.
  3482. (vect_create_data_ref_ptr): Add an argument, type of the data-ref. Use
  3483. it in the data-ref pointer creation.
  3484. (vect_init_vector): Add an argument, type of the init vector. Use it in
  3485. the stmt creation.
  3486. (vect_get_vec_def_for_operand): Fix calls to vect_init_vector.
  3487. (get_initial_def_for_reduction): Likewise.
  3488. (vect_create_epilog_for_reduction): Change type of MODIFY_EXPR to
  3489. void_type_node.
  3490. (vectorizable_assignment, vect_permute_store_chain): Likewise.
  3491. (vectorizable_store): Fix call to vect_create_data_ref_ptr. Use the
  3492. correct type in stmt creation.
  3493. (vect_setup_realignment): Use the correct type in stmt creation.
  3494. (vect_permute_load_chain): Change type of MODIFY_EXPR to
  3495. void_type_node.
  3496. (vectorizable_load): Fix calls to vect_create_data_ref_ptr. Change type
  3497. of MODIFY_EXPR to void_type_node.
  3498. (vectorizable_condition): Change type of MODIFY_EXPR to
  3499. void_type_node.
  3500. (vect_update_ivs_after_vectorizer): Use the correct type in stmt
  3501. creation.
  3502. 2006-11-27 Uros Bizjak <ubizjak@gmail.com>
  3503. Revert:
  3504. 2006-05-08 Uros Bizjak <uros@kss-loka.si>
  3505. * config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
  3506. standard 80387 constants, raise the cost to prevent
  3507. compress_float_constant() to generate load from memory.
  3508. * config/i386/i386.md: Add new splitter pattern to split
  3509. float_extended load of constant from constant pool into
  3510. pure constant load.
  3511. 2006-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3512. * doc/install.texi: Move GMP/MPFR configure options from Fortran
  3513. section to general section. Remove documentation for
  3514. --with-mpfr-dir and --with-gmp-dir, add documentation for
  3515. --with-mpfr-include, --with-mpfr-lib, --with-gmp-include and
  3516. --with-gmp-lib.
  3517. * builtins.c (fold_builtin_fmin_fmax): Handle NaN arguments.
  3518. 2006-11-26 Razya Ladklesky <razya@il.ibm.com>
  3519. * testsuite/gcc.dg/ipa/ipa-6.c: New.
  3520. 2006-11-26 Razya Ladklesky <razya@il.ibm.com>
  3521. PR tree-optimization/29122
  3522. * tree-inline.c (tree_function_versioning): Update DECL_ASSEMBLER_NAME
  3523. for the new version. Assign NULL to DECL_RTL of the new version.
  3524. 2006-11-25 Uros Bizjak <ubizjak@gmail.com>
  3525. * reg-stack.c (get_true_reg): Fix UNSPEC_TRUNC_NOOP handling.
  3526. 2006-11-25 Steven Bosscher <steven@gcc.gnu.org>
  3527. * cse.c (cse_altered): Remove.
  3528. (record_jump_equiv): Make true/false argument a bool instead
  3529. of an int.
  3530. (cse_insn): Don't set cse_altered. Use delete_insn_and_edges
  3531. where appropriate. Emit a new jump before the existing one
  3532. instead of after so that delete_insn_and_edges removes the
  3533. dead edges properly. Check any_condjump_p before calling
  3534. record_jump_equiv.
  3535. (cse_basic_block): Check any_condjump_p before calling
  3536. record_jump_equiv.
  3537. (cse_main): Don't set/check cse_altered. Remove USE_C_ALLOCA.
  3538. 2006-11-25 Brooks Moses <brooks.moses@codesourcery.com>
  3539. * c.opt: Remove -ffixed-form, -ffixed-line-length-none, and
  3540. -ffixed-line-length-* options.
  3541. 2006-11-25 Uros Bizjak <ubizjak@gmail.com>
  3542. * config/i386/i386.md (fpremxf4): Rename to fpremxf4_i387.
  3543. (fprem1xf4): Rename to fprem1xf4_i387.
  3544. (fmodsf3, fmoddf3): Macroize patterns using X87MODEF12 mode macro.
  3545. Rename patterns to fmod<mode>3. Use general_operand operand
  3546. constraint for operands 1 and 2. Use SSE_FLOAT_MODE_P to disable
  3547. patterns for SSE math.
  3548. (remaindersf3, remainderdf3): Ditto.
  3549. 2006-11-25 Joseph Myers <joseph@codesourcery.com>
  3550. * function.c (instantiate_virtual_regs_in_insn): Call force_reg
  3551. inside start_sequence / end_sequence pair.
  3552. 2006-11-25 Steven Bosscher <steven@gcc.gnu.org>
  3553. * jump.c (mark_all_labels): Work in cfglayout mode.
  3554. * cfgcleanup.c (cleanup_cfg): Do not call delete_dead_jumptables
  3555. when in cfglayout mode, because there are no dead jumptables
  3556. visible.
  3557. * cfgrtl.c (commit_one_edge_insertion): Don't set bb->aux when
  3558. in cfglayout mode.
  3559. (commit_edge_insertions): Do not allow insertion of instructions
  3560. with control flow insns when in cfglayout mode.
  3561. 2006-11-25 Zdenek Dvorak <dvorakz@suse.cz>
  3562. * tree-vrp.c (execute_vrp): Do not pass loops structure through
  3563. arguments.
  3564. * loop-unswitch.c (unswitch_loops, unswitch_single_loop,
  3565. unswitch_loop): Ditto.
  3566. * tree-loop-linear.c (linear_transform_loops): Ditto.
  3567. * tree-ssa-loop-im.c (determine_lsm, tree_ssa_lim_initialize,
  3568. tree_ssa_lim): Ditto.
  3569. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations,
  3570. free_numbers_of_iterations_estimates): Ditto.
  3571. * tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops,
  3572. tree_unswitch_single_loop, tree_unswitch_loop): Ditto.
  3573. * cfgloopmanip.c (fix_bb_placement, fix_bb_placements,
  3574. remove_path, add_loop, loopify, unloop, fix_loop_placements,
  3575. place_new_loop, duplicate_loop, duplicate_subloops,
  3576. update_single_exit_for_duplicated_loops, copy_loops_to,
  3577. duplicate_loop_to_header_edge, create_preheaders,
  3578. force_single_succ_latches, loop_version, fix_loop_structure):
  3579. Ditto.
  3580. * tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge,
  3581. tree_unroll_loop): Ditto.
  3582. * tree-ssa-loop-ch.c (copy_loop_headers): Ditto.
  3583. * tree-scalar-evolution.c (select_loops_exit_conditions,
  3584. scev_initialize, scev_analysis): Ditto.
  3585. * tree-scalar-evolution.h (scev_initialize): Ditto.
  3586. * cfghooks.c (cfg_hook_duplicate_loop_to_header_edge): Ditto.
  3587. * cfgloopanal.c (mark_irreducible_loops, mark_loop_exit_edges): Ditto.
  3588. * tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Ditto.
  3589. * modulo-sched.c (sms_schedule): Ditto.
  3590. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Ditto.
  3591. * loop-init.c (loop_optimizer_init, rtl_move_loop_invariants,
  3592. rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): Ditto.
  3593. * ifcvt.c (if_convert): Ditto.
  3594. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely,
  3595. canonicalize_loop_induction_variables,
  3596. canonicalize_induction_variables,
  3597. tree_unroll_loops_completely, remove_empty_loops): Ditto.
  3598. * tree-ssa-loop.c (tree_ssa_loop_init, tree_ssa_loop_im,
  3599. tree_ssa_loop_unswitch, tree_vectorize, tree_linear_transform,
  3600. tree_ssa_loop_ivcanon, tree_ssa_empty_loop, tree_ssa_loop_bounds,
  3601. tree_complete_unroll, tree_ssa_loop_prefetch, tree_ssa_loop_ivopts,
  3602. tree_ssa_loop_done): Ditto.
  3603. * predict.c (predict_loops, tree_estimate_probability, estimate_loops,
  3604. estimate_bb_frequencies): Ditto.
  3605. * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg,
  3606. slpeel_tree_peel_loop_to_edge, vectorize_loops): Ditto.
  3607. * loop-unroll.c (unroll_and_peel_loops, peel_loops_completely,
  3608. decide_unrolling_and_peeling, peel_loop_completely,
  3609. unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
  3610. peel_loop_simple, unroll_loop_stupid): Ditto.
  3611. * loop-doloop.c (doloop_optimize_loops): Ditto.
  3612. * tree-cfgcleanup.c (cleanup_tree_cfg_loop): Ditto.
  3613. * loop-invariant.c (move_loop_invariants): Ditto.
  3614. * tree-ssa-dce.c (tree_ssa_dce_loop): Ditto.
  3615. * tree-ssa-loop-prefetch.c (loop_prefetch_arrays,
  3616. tree_ssa_prefetch_arrays): Ditto.
  3617. * lambda-code.c (gcc_loopnest_to_lambda_loopnest, perfect_nestify):
  3618. Ditto.
  3619. * tree-vect-transform.c (vect_do_peeling_for_loop_bound,
  3620. vect_do_peeling_for_alignment, vect_transform_loop): Ditto.
  3621. * cfgloop.c (flow_loops_cfg_dump, flow_loops_dump,
  3622. mark_single_exit_loops, cancel_loop, cancel_loop_tree,
  3623. verify_loop_structure): Ditto.
  3624. * tree-flow.h (vectorize_loops, tree_ssa_lim, tree_ssa_unswitch_loops,
  3625. canonicalize_induction_variables, tree_unroll_loops_completely,
  3626. tree_ssa_prefetch_arrays, remove_empty_loops, tree_ssa_iv_optimize,
  3627. estimate_numbers_of_iterations, free_numbers_of_iterations_estimates,
  3628. tree_duplicate_loop_to_header_edge, tree_ssa_loop_version,
  3629. tree_unroll_loop, linear_transform_loops): Declaration changed.
  3630. * basic-block.h: Remove declaration of struct loops.
  3631. * cfghooks.h (struct cfg_hooks): Change type of
  3632. cfg_hook_duplicate_loop_to_header_edge.
  3633. (cfg_hook_duplicate_loop_to_header_edge): Declaration changed.
  3634. * tree-vectorizer.h (slpeel_tree_peel_loop_to_edge,
  3635. vect_transform_loop): Declaration changed.
  3636. * lambda.h (gcc_loopnest_to_lambda_loopnest): Declaration changed.
  3637. * cfgloop.h (flow_loops_dump, fix_loop_structure,
  3638. mark_irreducible_loops, mark_single_exit_loops, mark_loop_exit_edges,
  3639. cancel_loop_tree, create_preheaders, force_single_succ_latches,
  3640. verify_loop_structure, duplicate_loop, duplicate_loop_to_header_edge,
  3641. loopify, loop_version, remove_path, unswitch_loops,
  3642. unroll_and_peel_loops, doloop_optimize_loops, move_loop_invariants):
  3643. Declaration changed.
  3644. 2006-11-24 Uros Bizjak <ubizjak@gmail.com>
  3645. * config/i386/i386.md (UNSPEC_TRUNC_NOOP): New unspec definition.
  3646. (X87MODEF): New mode macro.
  3647. (ssemodefsuffix): New mode attribute.
  3648. (truncxf<mode>2_i387_noop_unspec): New insn pattern.
  3649. (sqrt_extend<mode>xf2_i387): New insn pattern.
  3650. (sqrt<mode>2): For non-SSE sqrt, emit sqrt_extend<mode>xf2_i387
  3651. insn and truncate result back to original mode using
  3652. UNSPEC_TRUNC_NOOP truncation.
  3653. (*sqrt<mode>2_sse): Implement using SSEMODEF mode macro and
  3654. ssemodefsuffix mode attribute.
  3655. (*sqrtsf2_mixed, *sqrtsf2_i387, *sqrtdf2_mixed, *sqrtdf2_i387)
  3656. (*sqrtextendsfdf2_i387, *sqrtextendsfxf2_i387)
  3657. (*sqrtextenddfxf2_i387): Remove insn patterns.
  3658. (fmodsf3, fmoddf3, remaindersf3, remainderdf3): Use noop
  3659. truncation patterns.
  3660. * reg-stack.c (get_true_reg): Handle UNSPEC_TRUNC_NOOP.
  3661. 2006-11-24 Jakub Jelinek <jakub@redhat.com>
  3662. PR c/29955
  3663. * c-tree.h (c_maybe_initialize_eh): New prototype.
  3664. * c-decl.c (finish_decl): Move EH initialization...
  3665. (c_maybe_initialize_eh): ... here. New function.
  3666. * c-parser.c (c_parser_omp_construct): Call c_maybe_initialize_eh
  3667. if not #pragma omp atomic.
  3668. PR c/29736
  3669. * c-common.c (handle_vector_size_attribute): Disallow VECTOR_TYPE
  3670. or UNION_TYPE inner types.
  3671. 2006-11-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3672. PR tree-opt/29964
  3673. * ipa-pure-const.c (check_tree): If the original tree
  3674. is volatile return early and say the function is not pure
  3675. nor const. Remove the volatile check for writes.
  3676. (analyze_function): Print out the result of the local
  3677. analysis pass.
  3678. 2006-11-24 Joseph Myers <joseph@codesourcery.com>
  3679. * config/rs6000/eabispe.h (TARGET_DEFAULT): Include
  3680. MASK_STRICT_ALIGN.
  3681. * config/rs6000/linuxspe.h (TARGET_DEFAULT): Likewise.
  3682. * config/rs6000/rs6000.c (rs6000_override_options): Use
  3683. MASK_STRICT_ALIGN for 8540 and 8548. Add MASK_STRICT_ALIGN to
  3684. POWERPC_MASKS.
  3685. 2006-11-24 Andreas Krebbel <krebbel1@de.ibm.com>
  3686. * config/s390.c (s390_emit_compare_and_swap): New function.
  3687. (s390_expand_cs_hqi, s390_expand_atomic): Call
  3688. s390_emit_compare_and_swap.
  3689. 2006-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  3690. * pa.c (return_addr_rtx): Change 0xe0400002 to -532676606.
  3691. 2006-11-24 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  3692. PR c/2707
  3693. PR c++/26167
  3694. * c-common.c (conversion_warning): New.
  3695. (convert_and_check): Call conversion_warning unless there is an
  3696. overflow warning.
  3697. * doc/invoke.texi (-Wconversion): Update description.
  3698. 2006-11-23 Daniel Berlin <dberlin@dberlin.org>
  3699. * tree-ssa-alias.c (tree_pointer_compare): New function.
  3700. (compact_name_tags): New function.
  3701. (group_aliases): Call compact_name_tags.
  3702. 2006-11-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  3703. * real.h (real_isinteger): Declare.
  3704. * real.c (real_isinteger): Define.
  3705. * builtins.c (integer_valued_real_p): Use it.
  3706. 2006-11-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  3707. PR c/9072
  3708. * c.opt (Wtraditional-conversion): New.
  3709. (Wconversion): Update description.
  3710. * c-typeck.c (convert_arguments): Warnings for prototypes causing
  3711. type conversions different from what would happen in the absence
  3712. of prototype are now handled by Wtraditional-conversion.
  3713. * doc/invoke.texi (Wtraditional-conversion): New.
  3714. (Wconversion): Update description.
  3715. * doc/trouble.texi (Wconversion): Replace Wconversion by
  3716. Wtraditional-conversion.
  3717. 2006-11-23 Andrew Pinski <pinskia@gmail.com>
  3718. * predict.c (tree_estimate_probability): Check to make
  3719. sure current_loops is non null before calling flow_loops_dump.
  3720. 2006-11-23 Bernd Schmidt <bernd.schmidt@analog.com>
  3721. * var-tracking.c (emit_note_insn_var_location): Revert previous patch.
  3722. 2006-11-23 David Ung <davidu@mips.com>
  3723. * config/mips/mips.h (ISA_HAS_FP4): Add MIPS32R2 + 64bit fpu
  3724. combination.
  3725. (ISA_HAS_MXHC1): True if ISA supports mfhc1 and mthc1 opcodes.
  3726. (ASM_SPEC): Pass along -mfp32 and -mfp64.
  3727. * config/mips/mips.c (mips_split_64bit_move): Use gen_mthc1 to set
  3728. high part of FP register when in 64-bit FP register mode. Similarly
  3729. use gen_mfhc1 to load high part of FP register.
  3730. (override_options): Allow -mgp32 and -mfp64 combination if
  3731. ISA_HAS_MXHC1 (currently for O32 only).
  3732. (mips_cannot_change_mode_class): If floating-point registers are
  3733. bigger than word size. disallow conversion of float register from a
  3734. large integer mode to a float mode smaller than the float register
  3735. size.
  3736. (mips_class_max_nregs): Handle float registers case seperately.
  3737. * config/mips/mips.md (define_constants): Add UNSPEC_MFHC1,
  3738. UNSPEC_MTHC1.
  3739. (movdi_32bit): Use !TARGET_FLOAT64 in condition pattern.
  3740. (movdf_hardfloat_32bit): Similarly.
  3741. (movdi_gp32_fp64): New DImode pattern for MIPS32R2 which optionally
  3742. support a full 64-bit fpu.
  3743. (mthc1): New pattern to generate MTHC1 instruction.
  3744. (mfhc1): New pattern to generate MFHC1 instruction.
  3745. * doc/invoke.texi (MIPS Options): Document the -mgp32 -mfp64
  3746. option for the MIPS32R2 and mention its use under O32 ABI.
  3747. 2006-11-23 Bernd Schmidt <bernd.schmidt@analog.com>
  3748. * var-tracking.c (emit_note_insn_var_location): Take care not to
  3749. cause verify_flow_info failures.
  3750. 2006-11-22 Daniel Berlin <dberlin@dberlin.org>
  3751. * tree-ssa-structalias.c: Remove edge weights in favor of just
  3752. processing them as complex constraints.
  3753. (struct constraint_graph): Remove weighted succs and preds. Rename
  3754. nonweighted succs and preds.
  3755. (constraint_edge): Removed.
  3756. (constraint_edge_t): Ditto.
  3757. (constraint_edge_pool): Ditto.
  3758. (new_constraint_edge): Ditto.
  3759. (constraint_edge_equal): Ditto.
  3760. (constraint_edge_less): Ditto.
  3761. (constraint_edge_vec_find): Ditto.
  3762. (erase_self_graph_edge): Ditto.
  3763. (add_graph_edge): Removed.
  3764. (get_graph_weights): Ditto.
  3765. (allocate_graph_weights): Ditto.
  3766. (valid_weighted_graph_edge): Ditto
  3767. (bitmap_other_than_zero_bit_set): Ditto.
  3768. (int_add_graph_edge): Renamed to add_graph_edge.
  3769. (clear_edges_for_node): Remove support for weighted edges.
  3770. (merge_graph_nodes): Ditto.
  3771. (valid_graph_edge): Ditto.
  3772. (build_constraint_graph): Ditto.
  3773. (scc_visit): Ditto.
  3774. (collapse_nodes): Ditto.
  3775. (process_unification_queue): Ditto.
  3776. (topo_visit): Ditto.
  3777. (do_ds_constraint): Ditto.
  3778. (perform_var_subsitution): Ditto.
  3779. (solve_graph): Ditto.
  3780. (init_alias_vars): Ditto.
  3781. (delete_points_to_sets): Ditto.
  3782. (do_complex_constraint): Support offsetted copies here.
  3783. 2006-11-23 Ulrich Weigand <uweigand@de.ibm.com>
  3784. * config/spu/spu_intrinsics.h (SPU_RdEventStatMask): Rename to
  3785. SPU_RdEventMask.
  3786. * config/spu/spu_mfcio.h (spu_read_event_mask): Update.
  3787. * config/spu/spu_mfcio.h (struct mfc_list_element): Change width
  3788. of size bitfield.
  3789. 2006-11-23 Ben Elliston <bje@au.ibm.com>
  3790. * config/spu/spu-elf.h (LIB_SPEC): Do not link with -lc_p.
  3791. 2006-11-23 Zdenek Dvorak <dvorakz@suse.cz>
  3792. PR tree-optimization/29921
  3793. * fold-const.c (operand_equal_p): Without HONOR_SIGNED_ZEROS, consider
  3794. signed and unsigned zero equal.
  3795. 2006-11-22 Peter Bergner <bergner@vnet.ibm.com>
  3796. * config/rs6000/rs6000.c (get_store_dest): New.
  3797. (adjacent_mem_locations): Use get_store_dest() to get
  3798. the rtl of the store destination.
  3799. 2006-11-22 Joseph Myers <joseph@codesourcery.com>
  3800. * config/rs6000/spe.md (SPE64): New mode macro.
  3801. (mov_sidf_e500_subreg0): Change to mov_si<mode>_e500_subreg0. Add
  3802. memory load.
  3803. (mov_si<mode>_e500_subreg0_2): New.
  3804. (mov_sidf_e500_subreg4): Change to mov_si<mode>_e500_subreg4. Add
  3805. memory load.
  3806. (mov_si<mode>_e500_subreg4_2): New.
  3807. * config/rs6000/predicates.md (input_operand): Do not allow
  3808. invalid E500 subregs.
  3809. (rs6000_nonimmediate_operand): Check for invalid E500 subregs also
  3810. if TARGET_SPE.
  3811. * config/rs6000/rs6000.c (invalid_e500_subreg): Check for subregs
  3812. involving DFmode if TARGET_E500_DOUBLE. Check for subregs
  3813. involving vector modes if TARGET_SPE.
  3814. 2006-11-22 Kaz Kojima <kkojima@gcc.gnu.org>
  3815. Revert
  3816. 2006-11-12 Kaz Kojima <kkojima@gcc.gnu.org>
  3817. * reorg.c (emit_delay_sequence): Copy the delay slot insn.
  3818. 2006-11-22 Bernd Schmidt <bernd.schmidt@analog.com>
  3819. * config/bfin/predicates.md (d_register_operand, mem_p_address_operand,
  3820. mem_i_address_operand): New predicates.
  3821. * config/bfin/bfin.c (bfin_issue_rate): New function.
  3822. (TARGET_SCHED_ISSUE_RATE): New macro.
  3823. * config/bfin/bfin.md (addrtype): New attribute.
  3824. (slot0, slot1, slot2, store, pregs): New cpu_units.
  3825. (core): Now a define_reservation.
  3826. (alu): Remove some insn types from this reservation.
  3827. (dsp32, load32, loadp, loadi, store32, storep, storei, multi): New
  3828. insn reservations.
  3829. (dummy reservation): Don't trigger for mcld insns.
  3830. (absence_sets): Two new absence sets to enforce slot ordering.
  3831. (popsi_insn): Set addrtype.
  3832. 2006-11-22 Ira Rosen <irar@il.ibm.com>
  3833. * doc/c-tree.texi: Document new tree codes.
  3834. * doc/md.texi: Document new optabs.
  3835. * tree-pretty-print.c (dump_generic_node): Handle print of new tree
  3836. codes.
  3837. * optabs.c (optab_for_tree_code, init_optabs): Handle new optabs.
  3838. * optabs.h (optab_index): Add new.
  3839. (vec_extract_even_optab, vec_extract_odd_optab,
  3840. vec_interleave_high_optab, vec_interleave_low_optab): New optabs.
  3841. * genopinit.c (vec_extract_even_optab, vec_extract_odd_optab,
  3842. vec_interleave_high_optab, vec_interleave_low_optab): Initialize
  3843. new optabs.
  3844. * expr.c (expand_expr_real_1): Add implementation for new tree codes.
  3845. * tree-vectorizer.c (new_stmt_vec_info): Initialize new fields.
  3846. * tree-vectorizer.h (stmt_vec_info): Add new fields for interleaving
  3847. along with macros for their access.
  3848. * tree-data-ref.h (first_location_in_loop, data_reference): Update
  3849. comment.
  3850. * tree-vect-analyze.c (toplev.h): Include.
  3851. (vect_determine_vectorization_factor): Fix indentation.
  3852. (vect_insert_into_interleaving_chain,
  3853. vect_update_interleaving_chain, vect_equal_offsets): New functions.
  3854. (vect_analyze_data_ref_dependence): Add argument for interleaving
  3855. check. Check for interleaving if it's true.
  3856. (vect_check_dependences): New function.
  3857. (vect_analyze_data_ref_dependences): Call vect_check_dependences for
  3858. every ddr. Call vect_analyze_data_ref_dependence with new argument.
  3859. (vect_update_misalignment_for_peel): Update for interleaving.
  3860. (vect_verify_datarefs_alignment): Check only first data-ref for
  3861. interleaving.
  3862. (vect_enhance_data_refs_alignment): Update for interleaving. Check
  3863. only first data-ref for interleaving.
  3864. (vect_analyze_data_ref_access): Check interleaving, update
  3865. interleaving data.
  3866. (vect_analyze_data_refs): Call compute_data_dependences_for_loop
  3867. with different parameters.
  3868. * tree.def (VEC_EXTRACT_EVEN_EXPR, VEC_EXTRACT_ODD_EXPR,
  3869. VEC_INTERLEAVE_HIGH_EXPR, VEC_INTERLEAVE_LOW_EXPR): New tree codes.
  3870. * tree-inline.c (estimate_num_insns_1): Add cases for new codes.
  3871. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref):
  3872. Update step in case of interleaving.
  3873. (vect_strided_store_supported, vect_permute_store_chain): New
  3874. functions.
  3875. (vectorizable_store): Handle strided stores.
  3876. (vect_strided_load_supported, vect_permute_load_chain,
  3877. vect_transform_strided_load): New functions.
  3878. (vectorizable_load): Handle strided loads.
  3879. (vect_transform_stmt): Add argument. Handle strided stores. Check
  3880. that vectorized stmt exists for patterns.
  3881. (vect_gen_niters_for_prolog_loop): Update calculation for
  3882. interleaving.
  3883. (vect_transform_loop): Remove stmt_vec_info for strided stores after
  3884. whole chain vectorization.
  3885. * config/rs6000/altivec.md (UNSPEC_EXTEVEN, UNSPEC_EXTODD,
  3886. UNSPEC_INTERHI, UNSPEC_INTERLO): New constants.
  3887. (vpkuhum_nomode, vpkuwum_nomode, vec_extract_even<mode>,
  3888. vec_extract_odd<mode>, altivec_vmrghsf, altivec_vmrglsf,
  3889. vec_interleave_high<mode>, vec_interleave_low<mode>): Implement.
  3890. 2006-11-22 Steven Bosscher <steven@gcc.gnu.org>
  3891. * cse.c (enum taken): Remove PATH_AROUND.
  3892. (addr_affects_sp_p, invalidate_skipped_set,
  3893. invalidate_skipped_block): Remove.
  3894. (cse_end_of_basic_block): Remove skip_blocks and related code.
  3895. (cse_main): Don't test for flag_cse_skip_blocks.
  3896. Update cse_end_of_basic_block call.
  3897. (cse_basic_block): Likewise. Remove PATH_AROUND case. Remove
  3898. code to lengthen the path if a jump was simplified.
  3899. 2006-11-22 Zdenek Dvorak <dvorakz@suse.cz>
  3900. PR rtl-optimization/29924
  3901. * loop-unroll.c (split_edge_and_insert): Handle the case insns is NULL.
  3902. (unroll_loop_runtime_iterations): Assert that the argument passed to
  3903. split_edge_and_insert is not NULL.
  3904. * loop-doloop.c (add_test): Ditto.
  3905. 2006-11-22 Zdenek Dvorak <dvorakz@suse.cz>
  3906. * tree-loop-linear.c (linear_transform_loops): Use single_exit accessor
  3907. functions.
  3908. * tree-ssa-loop-niter.c (loop_only_exit_p): Ditto.
  3909. * cfgloopmanip.c (update_single_exits_after_duplication,
  3910. update_single_exit_for_duplicated_loop, loop_version): Ditto.
  3911. * tree-scalar-evolution.c (get_loop_exit_condition,
  3912. get_exit_conditions_rec, loop_closed_phi_def,
  3913. number_of_iterations_in_loop, scev_const_prop): Ditto.
  3914. * tree-ssa-loop-ivopts.c (single_dom_exit): Ditto.
  3915. * modulo-sched.c (generate_prolog_epilog, loop_canon_p, sms_schedule):
  3916. Ditto.
  3917. * tree-ssa-loop-ivcanon.c (canonicalize_loop_induction_variables):
  3918. Ditto.
  3919. * tree-vectorizer.c (slpeel_update_phis_for_duplicate_loop,
  3920. slpeel_update_phi_nodes_for_guard1, slpeel_update_phi_nodes_for_guard2,
  3921. slpeel_make_loop_iterate_ntimes,
  3922. slpeel_tree_duplicate_loop_to_edge_cfg, slpeel_can_duplicate_loop_p,
  3923. slpeel_verify_cfg_after_peeling, slpeel_tree_peel_loop_to_edge):
  3924. Ditto.
  3925. * tree-if-conv.c (if_convertible_loop_p): Ditto.
  3926. * tree-vect-analyze.c (vect_analyze_operations, vect_stmt_relevant_p,
  3927. vect_analyze_loop_form): Ditto.
  3928. * lambda-code.c (lambda_loopnest_to_gcc_loopnest, exit_phi_for_loop_p,
  3929. can_convert_to_perfect_nest, perfect_nestify): Ditto.
  3930. * tree-vect-transform.c (vect_create_epilog_for_reduction,
  3931. vect_update_ivs_after_vectorizer, vect_do_peeling_for_loop_bound,
  3932. vect_transform_loop): Ditto.
  3933. * cfgloop.c (mark_single_exit_loops, verify_loop_structure): Ditto.
  3934. (single_exit, set_single_exit): New functions.
  3935. * cfgloop.h (struct loop): Rename single_exit field to single_exit_.
  3936. (single_exit, set_single_exit): Declare.
  3937. * doc/loop.texi: Undocument single_exit field. Document single_exit
  3938. accessor function.
  3939. 2006-11-22 Zdenek Dvorak <dvorakz@suse.cz>
  3940. PR tree-optimization/29902
  3941. * tree-ssa-loop-manip.c (can_unroll_loop_p): Return false if
  3942. any involved ssa name appears in abnormal phi node.
  3943. 2006-11-21 Bob Wilson <bob.wilson@acm.org>
  3944. * config/xtensa/xtensa.c (xtensa_char_to_class): Delete.
  3945. (xtensa_const_ok_for_letter_p): Delete.
  3946. (xtensa_extra_constraint): Delete.
  3947. (override_options): Delete xtensa_char_to_class initialization.
  3948. * config/xtensa/xtensa.h (REG_CLASS_FROM_LETTER): Delete.
  3949. (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
  3950. (EXTRA_CONSTRAINT): Delete.
  3951. * config/xtensa/xtensa.md: Include constraints.md.
  3952. (call_internal): Combine alternatives.
  3953. (call_value_internal): Likewise, and remove invalid constraints.
  3954. * config/xtensa/constraints.md: New file.
  3955. * config/xtensa/xtensa-protos.h (xtensa_const_ok_for_letter_p): Delete.
  3956. (xtensa_extra_constraint): Delete.
  3957. * doc/md.texi (Machine Constraints): Refer to constraints.md for
  3958. Xtensa constraints.
  3959. 2006-11-21 Janis Johnson <janis187@us.ibm.com>
  3960. * config/dfp-bits.c (DFP_TO_INT): Remove code to saturate result
  3961. of conversion that doesn't fit.
  3962. * config/dfp-bit.h (CONTEXT_TRAPS, CONTEXT_ERRORS, DFP_RAISE): Delete.
  3963. * config/dfp-bit.c (dfp_unary_op, dfp_binary_op, dfp_compare_op,
  3964. DFP_TO_DFP, INT_TO_DFP, BFP_TO_DFP): Remove calls to DFP_RAISE.
  3965. * config/dfp-bit.c (dfp_binary_func): Fix typedef.
  3966. 2006-11-21 Douglas Gregor <doug.gregor@gmail.com>
  3967. * c-common.h (enum rid): Add RID_STATIC_ASSERT.
  3968. 2006-11-21 Richard Guenther <rguenther@suse.de>
  3969. * tree-vectorizer.h (NUM_PATTERNS): Increase.
  3970. * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Add
  3971. vect_recog_pow_pattern.
  3972. (vect_recog_pow_pattern): New function.
  3973. 2006-11-21 Bernd Schmidt <bernd.schmidt@analog.com>
  3974. * config/bfin/bfin.opt (mstack-check-l1): New.
  3975. * doc/invoke.texi (Blackfin Options): Document it.
  3976. * config/bfin/bfin.c (bfin_expand_prologue): Generate code to use
  3977. stack bounds in L1 memory if the new option is enabled.
  3978. (override_options): Don't allow combinations of -fstack-limit and
  3979. -mstack-check-l1.
  3980. (add_to_reg): Renamed from add_to_sp. All callers changed. Lose some
  3981. dead code.
  3982. * config/bfin/bfin.c (hard_regno_mode_ok): Only allow first 31
  3983. regs for DImode.
  3984. (bfin_register_move_cost): Bump costs if trying to move plain
  3985. integer values through accumulators.
  3986. 2006-11-21 Ben Elliston <bje@au.ibm.com>
  3987. * config/spu/spu.c (spu_expand_vector_init): Initialise x.
  3988. 2006-11-20 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
  3989. Russell Olsen <Russell_Olsen@playstation.sony.com>
  3990. Dmitri Makarov <Dmitri_Makarov@playstation.sony.com>
  3991. Yukishige Shibata <shibata@rd.scei.sony.co.jp>
  3992. Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
  3993. Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
  3994. Andrew Pinski <Andrew_Pinski@playstation.sony.com>
  3995. * config.gcc: Add target for SPU.
  3996. * config/spu/constraints.md: New file.
  3997. * config/spu/crt0.c: New file.
  3998. * config/spu/crtend.c: New file.
  3999. * config/spu/crti.asm: New file.
  4000. * config/spu/crtn.asm: New file.
  4001. * config/spu/float_unsdidf.c: New file.
  4002. * config/spu/float_unssidf.c: New file.
  4003. * config/spu/predicates.md: New file.
  4004. * config/spu/spu-builtins.def: New file.
  4005. * config/spu/spu-builtins.h: New file.
  4006. * config/spu/spu-builtins.md: New file.
  4007. * config/spu/spu-c.c: New file.
  4008. * config/spu/spu-elf.h: New file.
  4009. * config/spu/spu-modes.def: New file.
  4010. * config/spu/spu-protos.h: New file.
  4011. * config/spu/spu.c: New file.
  4012. * config/spu/spu.h: New file.
  4013. * config/spu/spu.md: New file.
  4014. * config/spu/spu.opt: New file.
  4015. * config/spu/spu_internals.h: New file.
  4016. * config/spu/spu_intrinsics.h: New file.
  4017. * config/spu/spu_mfcio.h: New file.
  4018. * config/spu/t-spu-elf: New file.
  4019. * config/spu/vec_types.h: New file.
  4020. * config/spu/vmx2spu.h: New file.
  4021. * doc/contrib.texi: Document SPU contributor.
  4022. * doc/extend.texi: Document SPU extensions.
  4023. * doc/invoke.texi: Document SPU options.
  4024. * doc/md.texi: Document SPU constraints.
  4025. 2006-11-21 Zdenek Dvorak <dvorakz@suse.cz>
  4026. * cfgloopmanip.c (add_loop, duplicate_loop): Do not set level
  4027. of the loop.
  4028. * cfgloop.c (flow_loop_level_compute, flow_loops_level_compute):
  4029. Removed.
  4030. (flow_loop_dump): Do not dump loop level.
  4031. (flow_loops_find): Do not call flow_loops_level_compute.
  4032. * cfgloop.h (struct loop): Remove level field.
  4033. 2006-11-21 Zdenek Dvorak <dvorakz@suse.cz>
  4034. * tree-ssa-loop-im.c (schedule_sm, determine_lsm_ref,
  4035. hoist_memory_references, loop_suitable_for_sm, determine_lsm_loop):
  4036. Use vector of edges instead of array.
  4037. * tree-ssa-loop-niter.c (find_loop_niter, find_loop_niter_by_eval,
  4038. estimate_numbers_of_iterations_loop): Ditto.
  4039. * predict.c (predict_loops): Ditto.
  4040. * loop-unroll.c (analyze_insns_in_loop): Ditto.
  4041. * tree-ssa-threadupdate.c: Remove declaration of heap allocation for
  4042. edge vectors.
  4043. * basic-block.h: Declare heap allocation for edge vectors.
  4044. * tree-outof-ssa.c: Ditto.
  4045. * cfgloop.c (get_loop_exit_edges): Return vector of edges.
  4046. * cfgloop.h (get_loop_exit_edges): Declaration changed.
  4047. 2006-11-20 Zack Weinberg <zackw@panix.com>
  4048. * gengtype.c (process_gc_options): Remove unnecessary forward decl.
  4049. Add another out parameter, "skip".
  4050. (set_gc_used_type): Adjust calls to process_gc_options. If a field
  4051. is tagged "skip", do not mark its type used.
  4052. 2006-11-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4053. PR tree-opt/25500
  4054. * tree-sra.c (single_scalar_field_in_record_p): New function.
  4055. (decide_block_copy): Use it.
  4056. 2006-11-20 David Daney <ddaney@avtrex.com>
  4057. * config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
  4058. PC to point to following instruction.
  4059. 2006-11-20 Anatoly Sokolov <aesok@post.ru>
  4060. PR target/18553
  4061. PR target/29449
  4062. * config/avr/avr.h (OBJECT_FORMAT_ELF): Define.
  4063. * config/avr/avr.h (DWARF2_DEBUGGING_INFO): Define.
  4064. 2006-11-20 J"orn Rennecke <joern.rennecke@st.com>
  4065. * config.gcc (sh*-superh-elf): Add t-superh to tmake_file.
  4066. Add sh/superh.h to tm_file.
  4067. 2006-11-20 Carlos O'Donell <carlos@codesourcery.com>
  4068. Mark Mitchell <mark@codesourcery.com>
  4069. * cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and
  4070. gcc_exec_prefix.
  4071. (cpp_relocated): New function.
  4072. * cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix
  4073. and cpp_relocated.
  4074. * Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
  4075. * c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
  4076. replace configured prefix with gcc_exec_prefix.
  4077. 2006-11-20 Bernd Schmidt <bernd.schmidt@analog.com>
  4078. * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Call
  4079. bfin_legitimate_constant_p.
  4080. * config/bfin/bfin.md (movsi expander): Check return value of
  4081. expand_mvoe.
  4082. * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Declare.
  4083. (expand_move): Adjust prototype.
  4084. * config/bfin/bfin.c (expand_move): Now returns bool. Handle
  4085. invalid constants specially.
  4086. (bfin_cannot_force_const_mem, bfin_legitimate_constant_p): New
  4087. functions.
  4088. (TARGET_CANNOT_FORCE_CONST_MEM): New macro.
  4089. * config/bfin/bfin.md (call_symbol, call_value_symbol, sibcall_symbol,
  4090. sibcall_value_symbol): Allow these patterns if
  4091. TARGET_LEAF_ID_SHARED_LIBRARY.
  4092. * config/bfin/bfin.c (bfin_expand_call): Allow them here as well.
  4093. (override_options): Turn on id shared library flags if -msep-data,
  4094. but disallow the combination of these options on the command line.
  4095. * config/bfin/bfin.h (TARGET_LEAF_ID_SHARED_LIBRARY, MASK_SEP_DATA
  4096. MASK_LEAF_ID_SHARED_LIBRARY, TARGET_SEP_DATA): New macros.
  4097. (DRIVER_SELF_SPECS): -mleaf-id-shared-library implies
  4098. -mid-shared-library.
  4099. (TARGET_SWITCHES): Add -mleaf-id-shared-library and -msep-data.
  4100. * doc/invoke.texi (Blackfin Options): Document new switches.
  4101. * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Handle some
  4102. edge cases with local functions and TARGET_ID_SHARED_LIBRARY.
  4103. * tree-ssa-loop-ivopts.c (get_address_cost): Do not artificially
  4104. inflate costs for addresses with an out-of-bounds address.
  4105. 2006-11-19 Andrew Pinski <pinskia@gmail.com>
  4106. PR rtl-opt/29879
  4107. * fwprop.c (loops): Remove.
  4108. (forward_propagate_into): Use current_loops instead of
  4109. loops.
  4110. (fwprop_init): Call loop_optimizer_init instead of
  4111. flow_loops_find.
  4112. (fwprop_done): Call loop_optimizer_finalize instead of
  4113. flow_loops_free.
  4114. (fwprop): Use current_loops instead of loops.
  4115. 2006-11-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
  4116. PR c++/8586
  4117. * c-opts.c (c_common_handle_option): Enable -Wwrite-strings if -Wall.
  4118. 2006-11-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  4119. PR target/29114
  4120. * pa.c (emit_move_sequence): Don't split constants with PLUS for modes
  4121. larger than BITS_PER_WORD.
  4122. 2006-11-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  4123. PR fortran/27885
  4124. PR middle-end/28176
  4125. * stor-layout.c (set_sizetype): Limit precision of *bitsizetypes types
  4126. to MAX_FIXED_MODE_SIZE.
  4127. 2006-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4128. * builtins.c (integer_valued_real_p): Handle fmin/fmax.
  4129. (fold_builtin_fmin_fmax): New.
  4130. (fold_builtin_1): Use it.
  4131. * fold-const.c (fold_strip_sign_ops): Handle copysign.
  4132. 2006-11-18 Richard Guenther <rguenther@suse.de>
  4133. * config/i386/i386.c (ix86_builtins): New array for ix86
  4134. builtin function decls.
  4135. (def_builtin): New function.
  4136. (def_builtin_const): Likewise.
  4137. (ix86_init_mmx_sse_builtins): Mark sqrt and cvt builtins const.
  4138. 2006-11-18 Vladimir Makarov <vmakarov@redhat.com>
  4139. * doc/invoke.texi (core2): Add item.
  4140. * config/i386/i386.h (TARGET_CORE2, TARGET_CPU_DEFAULT_core2): New
  4141. macros.
  4142. (TARGET_CPU_CPP_BUILTINS): Add code for core2.
  4143. (TARGET_CPU_DEFAULT_generic): Change value.
  4144. (TARGET_CPU_DEFAULT_NAMES): Add core2.
  4145. (processor_type): Add new constant PROCESSOR_CORE2.
  4146. * config/i386/i386.md (cpu): Add core2.
  4147. * config/i386/i386.c (core2_cost): New initialized variable.
  4148. (m_CORE2): New macro.
  4149. (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
  4150. x86_deep_branch, x86_partial_reg_stall, x86_use_simode_fiop,
  4151. x86_use_cltd, x86_promote_QImode, x86_sub_esp_4, x86_sub_esp_8,
  4152. x86_add_esp_4, x86_add_esp_8, x86_integer_DFmode_moves,
  4153. x86_partial_reg_dependency, x86_memory_mismatch_stall,
  4154. x86_accumulate_outgoing_args, x86_prologue_using_move,
  4155. x86_epilogue_using_move, x86_arch_always_fancy_math_387,
  4156. x86_sse_partial_reg_dependency, x86_rep_movl_optimal,
  4157. x86_use_incdec, x86_four_jump_limit, x86_schedule,
  4158. x86_pad_returns): Add m_CORE2.
  4159. (override_options): Add entries for Core2.
  4160. (ix86_issue_rate): Add case for Core2.
  4161. 2006-11-18 Aldy Hernandez <aldyh@redhat.com>
  4162. * doc/invoke.texi: Fix mno-isel typo.
  4163. 2006-11-18 Joseph Myers <joseph@codesourcery.com>
  4164. * config/rs6000/spe.md (movv4hi_internal): Add alternative for
  4165. easy vector constant loads.
  4166. 2006-11-18 Joseph Myers <joseph@codesourcery.com>
  4167. * config/rs6000/rs6000.h (TARGET_NO_LWSYNC): Define.
  4168. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
  4169. __NO_LWSYNC__ if TARGET_NO_LWSYNC.
  4170. * config/rs6000/sync.md (lwsync): Emit plain sync if
  4171. TARGET_NO_LWSYNC.
  4172. 2006-11-17 DJ Delorie <dj@redhat.com>
  4173. * reload1.c (reloads_unique_chain): New.
  4174. (reloads_conflict): Call it.
  4175. 2006-11-17 Bob Wilson <bob.wilson@acm.org>
  4176. * config/xtensa/predicates.md (addsubx_operand): New.
  4177. * config/xtensa/xtensa.c (xtensa_emit_branch): New.
  4178. (xtensa_emit_bit_branch): New.
  4179. (xtensa_emit_movcc): New.
  4180. * config/xtensa/xtensa.md (any_minmax): New code macro.
  4181. (minmax): New code attribute.
  4182. (any_cond, any_scc, any_scc_sf): New code macros.
  4183. (*addx2, *addx4, *addx8): Delete.
  4184. (*addx): New.
  4185. (*subx2, *subx4, *subx8): Delete.
  4186. (*subx): New.
  4187. (sminsi3, uminsi3, smaxsi3, umaxsi3): Use any_minmax macro.
  4188. (beq, bne, bgt, bge, blt, ble, bgtu, bgeu, bltu, bleu): Use any_cond.
  4189. (*btrue, *bfalse, *ubtrue, *ubfalse): Use xtensa_emit_branch.
  4190. (*bittrue, *bitfalse): Use xtensa_emit_bit_branch.
  4191. (seq, sne, sgt, sge, slt, sle): Use any_scc macro.
  4192. (movsicc_internal0, movsicc_internal1): Use xtensa_emit_movcc.
  4193. (movsfcc_internal0, movsfcc_internal1): Likewise.
  4194. (seq_sf, slt_sf, sle_sf): Use any_scc_sf macro.
  4195. * config/xtensa/xtensa-protos.h: (xtensa_emit_branch): New.
  4196. (xtensa_emit_bit_branch): New.
  4197. (xtensa_emit_movcc): New.
  4198. (function_arg_boundary): Add missing prototype.
  4199. 2006-11-17 Bob Wilson <bob.wilson@acm.org>
  4200. * config/xtensa/xtensa.md (tstsi): Delete
  4201. 2006-11-17 Bob Wilson <bob.wilson@acm.org>
  4202. * config/xtensa/xtensa.md (entry): Do not emit .frame directive.
  4203. 2006-11-17 Bob Wilson <bob.wilson@acm.org>
  4204. * config/xtensa/elf.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
  4205. 2006-11-17 Bob Wilson <bob.wilson@acm.org>
  4206. * config/xtensa/lib1funcs.asm (__umulsidi3): Restore a0 on exit.
  4207. 2006-11-17 Zdenek Dvorak <dvorakz@suse.cz>
  4208. * tree-vrp.c (execute_vrp): Do not update current_loops.
  4209. * loop-unswitch.c (unswitch_loop): Do not use loop_split_edge_with.
  4210. * doc/loop.texi: Remove documentation for cancelled functions.
  4211. * tree-ssa-loop-im.c (loop_commit_inserts): Removed.
  4212. (move_computations, determine_lsm): Use bsi_commit_edge_inserts
  4213. instead.
  4214. * cfgloopmanip.c (remove_bbs): Do not update loops explicitly.
  4215. (remove_path): Ensure that in delete_basic_blocks, the loops
  4216. are still allocated.
  4217. (add_loop): Work on valid loop structures.
  4218. (loopify): Modify call of add_loop.
  4219. (mfb_update_loops): Removed.
  4220. (create_preheader): Do not update loops explicitly.
  4221. (force_single_succ_latches, loop_version): Do not use
  4222. loop_split_edge_with.
  4223. (loop_split_edge_with): Removed.
  4224. * tree-ssa-loop-manip.c (create_iv, determine_exit_conditions):
  4225. Do not use bsi_insert_on_edge_immediate_loop.
  4226. (split_loop_exit_edge, tree_unroll_loop): Do not use
  4227. loop_split_edge_with.
  4228. (bsi_insert_on_edge_immediate_loop): Removed.
  4229. * tree-ssa-loop-ch.c (copy_loop_headers): Use current_loops. Do not
  4230. use loop_split_edge_with.
  4231. * cfghooks.c: Include cfgloop.h.
  4232. (verify_flow_info): Verify that loop_father is filled iff current_loops
  4233. are available.
  4234. (redirect_edge_and_branch_force, split_block, delete_basic_block,
  4235. split_edge, merge_blocks, make_forwarder_block, duplicate_block):
  4236. Update cfg.
  4237. * cfgloopanal.c (mark_irreducible_loops): Work if the function contains
  4238. no loops.
  4239. * modulo-sched.c (generate_prolog_epilog, canon_loop): Do not use
  4240. loop_split_edge_with.
  4241. (sms_schedule): Use current_loops.
  4242. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Use current_loops.
  4243. * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Set
  4244. current_loops.
  4245. (rtl_loop_init, rtl_loop_done): Do not set current_loops.
  4246. * tree-ssa-sink.c (execute_sink_code): Use current_loops.
  4247. * ifcvt.c (if_convert): Ditto.
  4248. * predict.c (predict_loops): Do not clear current_loops.
  4249. (tree_estimate_probability): Use current_loops.
  4250. (propagate_freq): Receive head of the region to propagate instead of
  4251. loop.
  4252. (estimate_loops_at_level): Do not use shared to_visit bitmap.
  4253. (estimate_loops): New function. Handle case current_loops == NULL.
  4254. (estimate_bb_frequencies): Do not allocate tovisit. Use
  4255. estimate_loops.
  4256. * tree-ssa-loop.c (current_loops): Removed.
  4257. (tree_loop_optimizer_init): Do not return loops.
  4258. (tree_ssa_loop_init, tree_ssa_loop_done): Do not set current_loops.
  4259. * tree-vectorizer.c (slpeel_update_phi_nodes_for_guard1,
  4260. slpeel_update_phi_nodes_for_guard2, slpeel_tree_peel_loop_to_edge):
  4261. Do not update loops explicitly.
  4262. * function.h (struct function): Add x_current_loops field.
  4263. (current_loops): New macro.
  4264. * tree-if-conv.c (combine_blocks): Do not update loops explicitly.
  4265. * loop-unroll.c (split_edge_and_insert): New function.
  4266. (unroll_loop_runtime_iterations, analyze_insns_in_loop): Do not
  4267. use loop_split_edge_with.
  4268. * loop-doloop.c (add_test, doloop_modify): Ditto.
  4269. * tree-ssa-pre.c (init_pre, fini_pre): Do not set current_loops.
  4270. * cfglayout.c (copy_bbs): Do not update loops explicitly.
  4271. * lambda-code.c (perfect_nestify): Do not use loop_split_edge_with.
  4272. * tree-vect-transform.c (vect_transform_loop): Do not update loops
  4273. explicitly.
  4274. * cfgloop.c (flow_loops_cfg_dump): Do not dump dfs_order and rc_order.
  4275. (flow_loops_free): Do not free dfs_order and rc_order.
  4276. (flow_loops_find): Do not set dfs_order and rc_order in loops
  4277. structure. Do not call loops and flow info verification.
  4278. (add_bb_to_loop, remove_bb_from_loops): Check whether the block
  4279. already belongs to some loop.
  4280. * cfgloop.h (struct loops): Remove struct cfg.
  4281. (current_loops, loop_split_edge_with): Declaration removed.
  4282. (loop_optimizer_init, loop_optimizer_finalize): Declaration changed.
  4283. * tree-flow.h (loop_commit_inserts, bsi_insert_on_edge_immediate_loop):
  4284. Declaration removed.
  4285. * Makefile.in (cfghooks.o): Add CFGLOOP_H dependency.
  4286. * basic-block.h (split_edge_and_insert): Declare.
  4287. * tree-cfg.c (remove_bb): Do not update loops explicitly.
  4288. 2006-11-17 Zdenek Dvorak <dvorakz@suse.cz>
  4289. PR tree-optimization/29801
  4290. * tree-ssa-ccp.c (get_symbol_constant_value): New function.
  4291. (get_default_value): Use get_symbol_constant_value.
  4292. (set_lattice_value): ICE when the value of the constant is
  4293. changed.
  4294. (visit_assignment): Ignore VDEFs of read-only variables.
  4295. 2006-11-17 Zdenek Dvorak <dvorakz@suse.cz>
  4296. * tree-vect-transform.c (vect_create_epilog_for_reduction): Fix
  4297. formating.
  4298. (vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
  4299. vect_gen_niters_for_prolog_loop): Fold the emited expressions.
  4300. 2006-11-17 Zdenek Dvorak <dvorakz@suse.cz>
  4301. * tree-ssa-alias.c (new_type_alias): Do not use offset of expr to
  4302. select subvars of var.
  4303. 2006-11-17 Jakub Jelinek <jakub@redhat.com>
  4304. PR middle-end/29584
  4305. * tree-ssa-forwprop.c (simplify_switch_expr): Don't
  4306. optimize if DEF doesn't have integral type.
  4307. 2006-11-16 Mike Stump <mrs@apple.com>
  4308. * config/darwin.h (LINK_COMMAND_SPEC): Don't do dwarf stuff on
  4309. pre-darwin9 system, unless the user asks for it directly.
  4310. (PREFERRED_DEBUGGING_TYPE): Likewise.
  4311. * config/i386/darwin.h (PREFERRED_DEBUGGING_TYPE): Likewise.
  4312. * config.gcc: Add suppport for darwin9.h.
  4313. * config/darwin9.h: Add.
  4314. * doc/install.texi (Specific): Clarify darwin documentation.
  4315. 2006-11-16 Richard Earnshaw <rearnsha@arm.com>
  4316. * arm.h (CONSTANT_ALIGNMENT): Don't over-align strings when
  4317. optimizing for size.
  4318. 2006-11-16 Mike Stump <mrs@apple.com>
  4319. * Makefile.in (targhooks.o): Add $(OPTABS_H).
  4320. 2006-11-16 Dirk Mueller <dmueller@suse.de>
  4321. * tree-vrp.c (get_value_range): Use XCNEW instead
  4322. of XNEW and memset.
  4323. (insert_range_assertions): Use XCNEWVEC instead
  4324. of XNEWVEC and memset.
  4325. (vrp_initialize): Same.
  4326. (vrp_finalize): Same.
  4327. * tree-ssa-ccp.c (ccp_initialize): Same.
  4328. * predict.c (tree_bb_level_predictions): Same.
  4329. * calls.c (expand_call): Same.
  4330. * tree-ssa-copy.c (init_copy_prop): Same.
  4331. (fini_copy_prop): Same.
  4332. * tree-ssa-alias.c (get_ptr_info): Use GGC_CNEW instead
  4333. of GGC_NEW and memset.
  4334. 2006-11-16 Eric Botcazou <ebotcazou@adacore.com>
  4335. PR middle-end/26306
  4336. * gimplify.c (gimplify_expr): Only force a load for references to
  4337. non-BLKmode volatile values.
  4338. * doc/implement-c.texi (Qualifiers implementation): Document the
  4339. interpretation of what a volatile access is.
  4340. * doc/extend.texi (C++ Extensions): Rework same documentation.
  4341. 2006-11-16 Joseph Myers <joseph@codesourcery.com>
  4342. * config/rs6000/spe.md (frob_di_df_2): Handle non-offsettable
  4343. memory operand.
  4344. 2006-11-16 Richard Earnshaw <rearnsha@arm.com>
  4345. * arm.md (abssi2): Allow Thumb as well. Use an SImode scratch for
  4346. Thumb.
  4347. (arm_neg_abssi2): Renamed from neg_abssi2.
  4348. (thumb_abssi2, thumb_neg_abssi2): New patterns with splitters.
  4349. 2006-11-16 Uros Bizjak <ubizjak@gmail.com>
  4350. * config/i386/i386.c (ix86_function_sseregparm): Fix comment:
  4351. number of arguments passed to local functions in SSE registers is 3.
  4352. * doc/invoke.texi (Function Attributes) [sseregparm]: Correct
  4353. number of arguments passed in SSE registers to 3.
  4354. 2006-11-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  4355. PR target/29201
  4356. * cfgrtl.c (rtl_delete_block): Move the code for getting last insn of
  4357. bb to ...
  4358. (get_last_bb_insn): ... new global function.
  4359. (basic_block.h): Declare it.
  4360. * haifa-sched.c (create_recovery_block): Use it.
  4361. 2006-11-15 H.J. Lu <hongjiu.lu@intel.com>
  4362. PR middle-end/29862
  4363. * real.c (mpfr_from_real): Call mpfr_set_str before gcc_assert.
  4364. 2006-11-15 Paul Brook <paul@codesourcery.com>
  4365. * config/arm/unwind-arm.c (_Unwind_GetDataRelBase,
  4366. _Unwind_GetTextRelBase): Move from here ...
  4367. * config/arm/pr-support.c (_Unwind_GetDataRelBase,
  4368. _Unwind_GetTextRelBase): ... To here.
  4369. 2006-11-15 Bernd Schmidt <bernd.schmidt@analog.com>
  4370. * tree-ssa-loop-ivopts.c (get_address_cost): Make sure memory
  4371. addresses we generate for testing are aligned.
  4372. 2006-11-15 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4373. PR tree-opt/29788
  4374. * fold-const.c (fold_indirect_ref_1): Fold *&CONST_DECL down
  4375. to what is the const decl is a place holder for.
  4376. 2006-11-15 Uros Bizjak <ubizjak@gmail.com>
  4377. * config/i386/i386.opt: New target option -mx87regparm.
  4378. * config/i386/i386.h (struct ix86_args): Add x87_nregs, x87_regno
  4379. and float_in_x87 variables. mmx_words, sse_words: Remove.
  4380. (X87_REGPARM_MAX): Define.
  4381. * config/i386/i386.c (override_options): Error out for
  4382. -mx87regparm but no 80387 support.
  4383. (ix86_attribute_table): Add x87regparm.
  4384. (ix86_handle_cconv_attribute): Update comments for x87regparm.
  4385. (ix86_comp_type_attributes): Check for mismatched x87regparm types.
  4386. (ix86_function_x87regparm): New function.
  4387. (ix86_function_arg_regno_p): Add X87_REGPARM_MAX 80387 floating
  4388. point registers.
  4389. (init_cumulative_args): Initialize x87_nregs and float_in_x87
  4390. variables.
  4391. (function_arg_advance): Process x87_nregs and x87_regno when
  4392. floating point argument is to be passed in 80387 register.
  4393. (function_arg): Pass XFmode arguments in 80387 registers for local
  4394. functions. Pass SFmode and DFmode arguments to local functions
  4395. in 80387 registers when flag_unsafe_math_optimizations is set.
  4396. * reg-stack.c (convert_regs_entry): Disable NaN load for
  4397. stack registers that are used for argument passing.
  4398. * doc/extend.texi: Document x87regparm function attribute.
  4399. * doc/invoke.texi: Document -mx87regparm.
  4400. 2006-11-15 Bernd Schmidt <bernd.schmidt@analog.com>
  4401. * tree-flow.h (multiplier_allowed_in_address_p): Adjust prototype.
  4402. * tree-ssa-loop-ivopts.c (multiplier_allowed_in_address_p): New
  4403. arg MODE; all callers changed. Use it to determine validity per
  4404. machine mode instead of using Pmode for all memory references.
  4405. (get_address_cost): Likewise add and use new arg MEM_MODE.
  4406. 2006-11-15 Rask Ingemann Lambertsen <rask@sygehus.dk>
  4407. J"orn Rennecke <joern.rennecke@st.com>
  4408. * combine.c (likely_spilled_retval_1): Fix masking operation.
  4409. (likely_spilled_retval_p): Use proper pattern for call to
  4410. likely_spilled_retval_1.
  4411. 2006-11-15 Bernd Schmidt <bernd.schmidt@analog.com>
  4412. * tree-ssa-loop-ivopts.c (determine_iv_costs): Fix formatting.
  4413. * config/bfin/bfin.c (legitimize_pic_address): Lose dead code
  4414. that tests for CONSTANT_POOL_ADDRESS_P.
  4415. 2006-11-15 Jakub Jelinek <jakub@redhat.com>
  4416. PR tree-optimization/29581
  4417. * lambda-code.c (replace_uses_equiv_to_x_with_y): Add YINIT,
  4418. REPLACEMENTS, FIRSTBSI arguments. If initial condition or
  4419. type is different between Y and USE, create a temporary
  4420. variable, initialize it at the beginning of the body bb
  4421. and use it as replacement instead of Y.
  4422. 2006-11-15 Paolo Bonzini <bonzini@gnu.org>
  4423. PR middle-end/29753
  4424. * gimplify.c (fold_indirect_ref_rhs): Use
  4425. STRIP_USELESS_TYPE_CONVERSION rather than STRIP_NOPS.
  4426. 2006-11-14 Richard Earnshaw <rearnsha@arm.com>
  4427. * expmed.c (emit_store_flag_1): New function.
  4428. (emit_store_flag): Call it. If we can't find a suitable scc insn,
  4429. try a cstore insn.
  4430. * expr.c (do_store_flag): If we can't find a scc insn, try cstore.
  4431. Use do_compare_rtx_and_jump.
  4432. * arm.h (BRANCH_COST): Increase to 2 on Thumb.
  4433. * arm.md (cstoresi4): New define_expand.
  4434. (cstoresi_eq0_thumb, cstoresi_ne0_thumb): Likewise.
  4435. (cstoresi_eq0_thumb_insn, cstore_ne0_thumb_insn): New patterns.
  4436. (cstoresi_nltu_thumb, thumb_addsi3_addgeu): New patterns.
  4437. 2006-11-14 Caroline Tice <ctice@apple.com>
  4438. * dwarf2out.c (debug_pubtypes_section): New static global variable.
  4439. (pubname_entry): Add DEF_VEC_O and DEF_VEC_ALLOC_O statements for
  4440. this type.
  4441. (pubname_table): Redefine as a vector.
  4442. (pubtype_table): New static global variable, defined as a vector.
  4443. (pubname_table_allocated): Remove static global variable.
  4444. (pubname_table_in_use): Remove static global variable.
  4445. (PUBNAME_TABLE_INCREMENT): Remove constant.
  4446. (size_of_pubnames): Add parameter to deal with either pubnames or
  4447. pubtypes, and change code to deal with table being a vector.
  4448. (add_pubname): Change to deal with table being a vector.
  4449. (add_pubtype): New function.
  4450. (output_pubnames): Add parameter to deal with either pubnames or
  4451. pubtypes, and change code to deal with table being a vector.
  4452. (gen_array_type_die): Add call to add_pubtype.
  4453. (gen_enumeration_type_die): Add call to add_pubtype.
  4454. (gen_struct_or_union_type_die): Add call to add_pubtype.
  4455. (gen_subroutine_type_die): Add call to add_pubtype.
  4456. (gen_typedef_die): Add call to add_pubtype.
  4457. (dwarf2out_init): Add code to initialize pubname_table and
  4458. pubtype_table vectors; also initialize debug_pubtypes_section.
  4459. (prune_unused_types): Change to deal with pubnames being a vector.
  4460. (dwarf2out_finish): Change to deal with pubnames being a vector; add
  4461. pubnames table to call to output_pubnames; Add code to output pubtypes
  4462. table if DEBUG_PUBTYPES_SECTION is defined.
  4463. * config/darwin.c (darwin_file_start): Add DEBUG_PUBTYPES_SECTION to
  4464. debugnames.
  4465. * config/darwin.h (DEBUG_PUBTYPES_SECTION): Define new global variable.
  4466. 2006-11-14 Joseph Myers <joseph@codesourcery.com>
  4467. * config/arm/arm.h (FUNCTION_ARG_ADVANCE): Only adjust
  4468. iwmmxt_nregs if TARGET_IWMMXT_ABI.
  4469. * config/arm/iwmmxt.md (movv8qi_internal, movv4hi_internal,
  4470. movv2si_internal): Support moves between core registers.
  4471. 2006-11-14 Eric Christopher <echristo@apple.com>
  4472. * configure: Regenerate with autoconf 2.59.
  4473. 2006-11-14 Daniel Berlin <dberlin@dberlin.org>
  4474. Fix PR tree-optimization/27755
  4475. * tree-ssa-pre.c: Update comments.
  4476. (bb_bitmap_sets): Add pa_in and deferred member.
  4477. (BB_DEFERRED): New macro.
  4478. (maximal_set): New variable.
  4479. (pre_stats): Add pa_insert member.
  4480. (bitmap_set_and): Short circuit orig == dest.
  4481. (bitmap_set_subtract_values): New function.
  4482. (bitmap_set_contains_expr): Ditto.
  4483. (translate_vuses_through_block): Add phiblock argument.
  4484. (dependent_clean): New function.
  4485. (compute_antic_aux): Update for maximal_set changes.
  4486. (compute_partial_antic_aux): New function.
  4487. (compute_antic): Handle partial anticipation.
  4488. (do_partial_partial_insertion): New function.
  4489. (insert_aux): Handle partial anticipation.
  4490. (add_to_sets): Add to maximal set.
  4491. (compute_avail): Ditto.
  4492. (init_pre): Initialize maximal_set.
  4493. (execute_pre): Do partial anticipation if -O3+.
  4494. 2006-11-14 Paolo Bonzini <bonzini@gnu.org>
  4495. PR rtl-optimization/29798
  4496. * fwprop.c (use_killed_between): Check that DEF_INSN dominates
  4497. TARGET_INSN before any other check.
  4498. (fwprop_init): Always calculate dominators.
  4499. (fwprop_done): Always free them.
  4500. 2006-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4501. * fold-const.c (fold_strip_sign_ops): Handle COMPOUND_EXPR and
  4502. COND_EXPR.
  4503. 2006-11-13 DJ Delorie <dj@redhat.com>
  4504. * config/m32c/m32c.c (m32c_prepare_shift): Use a separate
  4505. temporary for intermediates.
  4506. 2006-11-13 Kaz Kojima <kkojima@gcc.gnu.org>
  4507. * config/sh/sh.c (expand_cbranchdi4): Initialize skip_label.
  4508. (sh_optimize_target_register_callee_saved): #if 0 the code
  4509. using NOTE_INSN_LOOP_{BEG,END}.
  4510. 2006-11-13 Roger Sayle <roger@eyesopen.com>
  4511. * fold-const.c (optimize_bit_field_compare): Recursively call
  4512. fold when simplifying non-constant comparisons between bit-fields.
  4513. 2006-11-13 Jakub Jelinek <jakub@redhat.com>
  4514. * configure.ac: Add changequote around __LONG_DOUBLE_MATH_OPTIONAL
  4515. test.
  4516. * configure: Rebuilt.
  4517. 2006-11-13 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4518. * config/rs6000/cell.md: New file.
  4519. * config/rs6000/rs6000.c (rs6000_cell_dont_microcode): New
  4520. variable.
  4521. (ppccell_cost): New cost matrix.
  4522. (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define.
  4523. (rs6000_override_options): Set rs6000_always_hint to false
  4524. for cell. Also align functions/lables/loops to 8byte
  4525. for the Cell. Use PROCESSOR_CELL.
  4526. (rs6000_emit_epilogue): Rename using_mfcr_multiple to
  4527. using_mtcr_multiple.
  4528. (rs6000_variable_issue): If the insn is a nonpipelined instruction
  4529. on the Cell, return 0.
  4530. (rs6000_adjust_cost): Add Cell cost adjustments.
  4531. (is_microcoded_insn): Return true for Cell microcoded
  4532. instructions.
  4533. (is_nonpipeline_insn): New function.
  4534. (rs6000_issue_rate): Add PROCESSOR_CELL.
  4535. (rs6000_use_sched_lookahead): If Cell, then we should look ahead 8
  4536. instructions.
  4537. (rs6000_use_sched_lookahead_guard): New function.
  4538. (rs6000_sched_reorder): Reorder the ready list, if the second
  4539. to last ready insn is a nonepipeline insn on the Cell.
  4540. * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_CELL.
  4541. (ASM_CPU_SPEC): Add Cell.
  4542. * config/rs6000/rs6000.md (cpu): Add Cell.
  4543. (cell_micro): New Attr.
  4544. Include cell.md
  4545. 2006-11-13 Jakub Jelinek <jakub@redhat.com>
  4546. * configure.ac (ld_vers): Parse GNU ld version 2.17.50.0.3-6 20060715
  4547. style versions.
  4548. * configure: Rebuilt.
  4549. 2006-11-13 Richard Guenther <rguenther@suse.de>
  4550. * config/i386/i386.c (ix86_expand_lround): Handle expand_simple_binop
  4551. return value.
  4552. (ix86_expand_lfloorceil): Likewise.
  4553. (ix86_expand_rint): Likewise.
  4554. (ix86_expand_floorceildf_32): Likewise.
  4555. (ix86_expand_floorceil): Likewise.
  4556. (ix86_expand_rounddf_32): Likewise.
  4557. (ix86_expand_truncdf_32): Likewise.
  4558. (ix86_expand_round): Likewise.
  4559. 2006-11-13 Carlos O'Donell <carlos@codesourcery.com>
  4560. Mark Mitchell <mark@codesourcery.com>
  4561. * gcc.c: Organize search path variables into $prefix relative,
  4562. and well-known native. Add comments.
  4563. (add_sysrooted_prefix): Add comment.
  4564. (process_command): If !gcc_exec_prefix add $prefix based paths.
  4565. If *cross_compile == '0', add native well-known paths.
  4566. Assert tooldir_base_prefix is always relative.
  4567. (main): If print_search_dirs, and if gcc_exec_prefix is set,
  4568. use this value for 'install:' path.
  4569. * Makefile.in: Add GCC_EXEC_PREFIX to generated site.exp.
  4570. 2006-11-13 H.J. Lu <hongjiu.lu@intel.com>
  4571. * config/i386/i386.c: Fix a typo in comment.
  4572. 2006-11-13 Michael Matz <matz@suse.de>
  4573. * genemit.c (gen_expand): Allocate enough memory.
  4574. 2006-11-13 Joseph Myers <joseph@codesourcery.com>
  4575. * config/arm/bpapi.h (TARGET_BPABI_CPP_BUILTINS): Define
  4576. __GXX_TYPEINFO_EQUALITY_INLINE but not
  4577. __GXX_MERGED_TYPEINFO_NAMES.
  4578. * config/arm/symbian.h (TARGET_OS_CPP_BUILTINS): Define
  4579. __GXX_MERGED_TYPEINFO_NAMES.
  4580. * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define
  4581. __GXX_TYPEINFO_EQUALITY_INLINE.
  4582. 2006-11-13 H.J. Lu <hongjiu.lu@intel.com>
  4583. Zdenek Dvorak <dvorakz@suse.cz>
  4584. PR tree-optimization/29680
  4585. * tree-ssa-operands.c (access_can_touch_variable): Revert fix for
  4586. PR 14784.
  4587. 2006-11-12 Jason Merrill <jason@redhat.com>
  4588. Andrew Pinski <pinskia@physics.uc.edu>
  4589. PR middle-end/28915
  4590. * gimplify.c (gimplify_init_constructor): Don't reduce TREE_CONSTANT
  4591. vector ctors.
  4592. * tree-cfg.c (verify_expr): Don't look into TREE_CONSTANT
  4593. vector ctors.
  4594. * expmed.c (make_tree): Handle CONST, SYMBOL_REF.
  4595. * tree.c (build_vector): Handle non-_CST elements.
  4596. 2006-11-12 Kaz Kojima <kkojima@gcc.gnu.org>
  4597. * genemit.c (gen_insn): Call gen_exp with a non-null used
  4598. when handling multiple insns.
  4599. (gen_expand): Likewise.
  4600. * reorg.c (emit_delay_sequence): Copy the delay slot insn.
  4601. * config/sh/sh.md (ashrsi2_31+1): Copy operands[0].
  4602. (movsi_const_16bit+1): Copy operands[1].
  4603. (call_pcrel): Copy the call_site pattern.
  4604. (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise.
  4605. 2006-11-12 Roger Sayle <roger@eyesopen.com>
  4606. * fold-const.c (negate_expr_p) <PLUS_EXPR, MINUS_EXPR>: Correct/refine
  4607. condition for transformations. Use !HONOR_SIGN_DEPENDENT_ROUNDING
  4608. && !HONOR_SIGNED_ZEROS instead of flag_unsafe_math_optimizations.
  4609. (fold_negate_expr) <PLUS_EXPR, MINUS_EXPR>: Likewise.
  4610. 2006-11-12 Daniel Berlin <dberlin@dberlin.org>
  4611. Fix PR tree-optimization/29587
  4612. * tree-ssa-structalias.c (process_constraint): Don't
  4613. mark address taken due only to escaped vars constraint.
  4614. 2006-11-12 Michael Matz <matz@suse.de>
  4615. Roger Sayle <roger@eyesopen.com>
  4616. PR rtl-optimization/29797
  4617. * ifcvt.c (noce_try_bitop): Correct calculation of bitnum on
  4618. BITS_BIG_ENDIAN targets.
  4619. 2006-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4620. * builtins.c (fold_builtin_cosh): New.
  4621. (fold_builtin_1): Use it.
  4622. * fold-const.c (negate_mathfn_p): Add llround, lround, round,
  4623. trunc to the list of "odd" functions. Also add llrint, lrint,
  4624. rint and nearbyint when flag_rounding_math is false.
  4625. 2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
  4626. * tree-flow.h (name_mappings_registered_p): Declare.
  4627. * tree-into-ssa.c (name_mappings_registered_p): New function.
  4628. * tree-cfg.c (tree_can_merge_blocks_p): Check
  4629. name_mappings_registered_p instead of need_ssa_update_p.
  4630. 2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
  4631. * tree-ssa-loop.c (tree_vectorize): Return the result of
  4632. vectorize_loops.
  4633. * tree-vectorizer.c (vectorize_loops): Return TODO_cleanup_cfg
  4634. if anything changed.
  4635. * tree-vectorizer.h (vectorize_loops): Declaration removed.
  4636. * tree-flow.h (vectorize_loops): Declaration changed.
  4637. 2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
  4638. * tree-ssa-loop-prefetch.c (schedule_prefetches): Cleanup and improve
  4639. comments.
  4640. (issue_prefetch_ref): Move assignment to write_p out of loop.
  4641. (determine_unroll_factor): Do not take PARAM_MAX_UNROLL_TIMES and
  4642. SIMULTANEOUS_PREFETCHES into account.
  4643. (loop_prefetch_arrays): Do not pass ahead to determine_unroll_factor.
  4644. * lambda-code.c (lcm): Renamed to ...
  4645. (least_common_multiple): ... and exported.
  4646. * tree-flow.h (least_common_multiple): Declare.
  4647. 2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
  4648. * Makefile.in (tree-data-ref.o): Add langhooks.h dependency.
  4649. * tree-ssa-loop-niter.c (derive_constant_upper_bound): Follow
  4650. ud-chains. Handle AND_EXPR.
  4651. (record_estimate): Record whether the estimate is realistic
  4652. and whether it is derived from a loop exit.
  4653. (record_nonwrapping_iv, idx_infer_loop_bounds, infer_loop_bounds_from_ref,
  4654. infer_loop_bounds_from_array, infer_loop_bounds_from_signedness): New
  4655. functions.
  4656. (compute_estimated_nb_iterations): Take only realistic bounds into
  4657. account. Set estimate_state. Use double_ints.
  4658. (infer_loop_bounds_from_undefined): Call infer_loop_bounds_from_array
  4659. and infer_loop_bounds_from_signedness. Do not consider basic blocks
  4660. that do not have to be always executed.
  4661. (estimate_numbers_of_iterations_loop): Set estimate_state, and use it
  4662. to determine whether to call infer_loop_bounds_from_undefined
  4663. and compute_estimated_nb_iterations.
  4664. (n_of_executions_at_most): Use double_ints.
  4665. (free_numbers_of_iterations_estimates_loop): Set estimate_state.
  4666. (substitute_in_loop_info): Do not replace in estimated_nb_iterations.
  4667. * double-int.c (double_int_to_tree): Improve comment.
  4668. (double_int_fits_to_tree_p): New function.
  4669. * double-int.h (double_int_fits_to_tree_p): Declare.
  4670. * tree-data-ref.c: Include langhooks.h.
  4671. (estimate_niter_from_size_of_data, estimate_iters_using_array): Removed.
  4672. (analyze_array_indexes): Do not call estimate_niter_from_size_of_data.
  4673. (analyze_array): Do not pass estimate_only argument to
  4674. analyze_array_indexes.
  4675. (get_number_of_iters_for_loop): Build tree from the stored double_int
  4676. value.
  4677. (get_references_in_stmt, find_data_references_in_stmt): New functions.
  4678. (find_data_references_in_loop): Use find_data_references_in_stmt.
  4679. * tree-data-ref.h (struct data_ref_loc_d): New.
  4680. (get_references_in_stmt): Declare.
  4681. (estimate_iters_using_array): Declaration removed.
  4682. * cfgloop.h (struct nb_iter_bound): Change type of bound to
  4683. double_int. Improve comments. Add is_exit and realistic
  4684. fields.
  4685. (struct loop): Changed type of estimated_nb_iterations to double_int.
  4686. Added estimate_state field.
  4687. (record_estimate): Declaration removed.
  4688. 2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
  4689. * params.c (set_param_value): Initialize the "set" field.
  4690. * params.h (struct param_info): Add "set" field.
  4691. (PARAM_SET_P): New macro.
  4692. (PREFETCH_LATENCY, SIMULTANEOUS_PREFETCHES, L1_CACHE_SIZE,
  4693. L1_CACHE_LINE_SIZE): New macros.
  4694. * toplev.c (DEFPARAM): Initialize the "set" field.
  4695. * tree-ssa-loop-prefetch.c (PREFETCH_LATENCY,
  4696. SIMULTANEOUS_PREFETCHES): Removed.
  4697. (PREFETCH_BLOCK): Use L1_CACHE_LINE_SIZE.
  4698. (tree_ssa_prefetch_arrays): Dump the values of the parameters.
  4699. * config/sparc/sparc.c: Include params.h.
  4700. (sparc_override_options): Set SIMULTANEOUS_PREFETCHES and
  4701. L1_CACHE_LINE_SIZE parameters.
  4702. * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
  4703. Removed.
  4704. * config/i386/i386.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
  4705. Removed.
  4706. * config/i386/i386.c: Include params.h.
  4707. (k8_cost): Change default value for SIMULTANEOUS_PREFETCHES.
  4708. (override_options): Set SIMULTANEOUS_PREFETCHES and
  4709. L1_CACHE_LINE_SIZE parameters.
  4710. * config/sh/sh.h (SIMULTANEOUS_PREFETCHES): Removed.
  4711. (OPTIMIZATION_OPTIONS): Set SIMULTANEOUS_PREFETCHES and
  4712. L1_CACHE_LINE_SIZE parameters.
  4713. * config/ia64/ia64.c (ia64_optimization_options): Set
  4714. SIMULTANEOUS_PREFETCHES and L1_CACHE_LINE_SIZE parameters.
  4715. * config/ia64/ia64.h (SIMULTANEOUS_PREFETCHES, PREFETCH_BLOCK):
  4716. Removed.
  4717. * params.def (PARAM_PREFETCH_LATENCY, PARAM_SIMULTANEOUS_PREFETCHES,
  4718. PARAM_L1_CACHE_SIZE, PARAM_L1_CACHE_LINE_SIZE): New params.
  4719. * doc/invoke.texi: Document new params.
  4720. 2006-11-12 Roger Sayle <roger@eyesopen.com>
  4721. PR tree-optimization/13827
  4722. * fold-const.c (fold_binary) <EQ_EXPR, NE_EXPR>: Fold (X&C) op (Y&C)
  4723. as ((X^Y)&C) op 0.
  4724. 2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
  4725. * cfgloopmanip.c (update_single_exit_for_duplicated_loop,
  4726. update_single_exit_for_duplicated_loops): New functions.
  4727. (duplicate_loop_to_header_edge): Use
  4728. update_single_exit_for_duplicated_loops.
  4729. * tree-ssa-loop-manip.c (tree_unroll_loop): Call verification
  4730. functions only with ENABLE_CHECKING.
  4731. 2006-11-12 Andreas Schwab <schwab@suse.de>
  4732. * except.c (sjlj_emit_function_enter): Remove unused variable.
  4733. 2006-11-11 Roger Sayle <roger@eyesopen.com>
  4734. * fold-const.c (int_binop_types_match_p): New function.
  4735. (size_binop): Relax constraint that both arguments must both have
  4736. exactly the same sizetype type. Instead use int_binop_types_match_p.
  4737. (size_diffop): Likewise.
  4738. (make_range): Use build_int_cst instead of fold_convert.
  4739. (fold_cond_expr_with_comparison): Use build_int_cst to construct
  4740. integer constants of the correct type.
  4741. (fold_div_compare): Likewise.
  4742. (fold_single_bit_test): Likewise.
  4743. (fold_binary): Likewise.
  4744. * stor-layout.c (layout_type) <VECTOR_TYPE>: Ensure that TYPE_SIZE
  4745. has type bitsizetype and TYPE_SIZE_UNIT has type sizetype.
  4746. 2006-11-11 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4747. PR rtl-opt/28812
  4748. * alias.c (fixed_scalar_and_varying_struct_p): Don't return a
  4749. non null value if the struct memory access is in the 0th
  4750. aliasing set.
  4751. 2006-11-12 Jie Zhang <jie.zhang@analog.com>
  4752. Revert
  4753. 2006-11-11 Jie Zhang <jie.zhang@analog.com>
  4754. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __bfin__
  4755. and __BFIN__.
  4756. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Use builtin_define_std
  4757. instead of builtin_define for bfin and BFIN.
  4758. 2006-11-11 Jie Zhang <jie.zhang@analog.com>
  4759. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __bfin__
  4760. and __BFIN__.
  4761. 2006-11-11 Jan Hubicka <jh@suse.cz>
  4762. * extend.texi (__builtin_expect): We no longer require second argument
  4763. to be constant.
  4764. * gengtype.c (adjust_field_rtx_def): Drop NOTE_INSN_EXPECTED_VALUE.
  4765. * builtins.c (expand_builtin_expect): Simplify.
  4766. (expand_builtin_expect_jump): Kill.
  4767. * final.c (final_scan_insn): Do not skip the removed notes.
  4768. * insn-notes.def (LOOP_BEG, LOOP_END, REPEATED_LINE_NUMBER,
  4769. EXPECTED_VALUE): Remove.
  4770. * dojump.c (do_jump): Do not care about __builtin_expect.
  4771. * predict.c (expected_value_to_br_prob): Kill.
  4772. * function.c (expand_function_end): Do not expand
  4773. NOTE_INSN_REPEATED_LINE_NUMBER.
  4774. * print-rtl.c (print_rtx): Do not pretty print the removed notes.
  4775. * expect.c (sjlj_emit_function_enter): Emit directly branch probability.
  4776. * cfgexpand.c (add_reg_br_prob_note): Export.
  4777. * cfgcleanup.c (rest_of_handle_jump2): Do not call
  4778. expected_value_to_br_prob.
  4779. * cfglayout.c (duplicate_insn_chain): Do not deal with removed notes.
  4780. * rtl.h (add_reg_br_prob_note): Declare.
  4781. 2006-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4782. * tree-pretty-print.c (dump_generic_node): Print sign of Inf.
  4783. 2006-11-11 Jan Hubicka <jh@suse.cz>
  4784. * predict.c (predict_loops): Kill RTL variant.
  4785. 2006-11-11 Jan Hubicka <jh@suse.cz>
  4786. * tree-pass.h (pass_purge_lineno_notes): Remove declaration.
  4787. * modulo-sched.c (find_line_note): Remove.
  4788. (loop_canon_p): Do not worry about line number notes.
  4789. (sms_schedule): Likewise.
  4790. * cse.c (cse_main): Likewise.
  4791. * regmove.c (fixup_match_1): Likewise
  4792. * function.c (emit_return_info_block): Likewise.
  4793. (expand_function_end): Likewise.
  4794. (thread_prologue_an_epilogue_insns): Likewise.
  4795. * cfgrtl.c (try_redirect_by_replacing_jump, rtl_tidy_fallthru_edge):
  4796. Likewise.
  4797. * emit-rtl.c (find_line_note, emit_insn_after_with_line_notes,
  4798. emit_note_copy_after): Kill.
  4799. (emit_note_copy): Do not worry about line numbers.
  4800. * jump.c (purge_line_number_notes): Kill.
  4801. (pass_purge_lineno_notes): Kill.
  4802. * cfgcleanup.c (rest_of_handle_jump2): Kill purge_line_number_notes
  4803. call.
  4804. * rtl.h (emit_note_copy_after, emit_insn_after_with_line_notes): Kill.
  4805. * passes.c (init_optimization_passes): Don't purge_lineno_notes.
  4806. * sched-ebb.c (schedule_ebbs): Don't do rm_redundant_line_notes.
  4807. * tree-pass.h (pass_purge_lineno_notes): Kill.
  4808. * sched-ebb.c (schedule_ebb): Don't rm_line_notes,
  4809. rm_redundant_line_notes.
  4810. * sched-rgb.c (schedule_region): Don't rm_line_notes,
  4811. rm_redundant_line_notes.
  4812. * sched-int.h (rm_line_notes, rm_redundant_line_notes): Kill.
  4813. * haifa-sched.c: Update comment about handling notes.
  4814. (unlink_line_notes): Kill.
  4815. (rm_line_notes): Kill.
  4816. (save_line_notes): Simplify.
  4817. (rm_redundant_line_notes): Kill.
  4818. 2006-11-11 Richard Guenther <rguenther@suse.de>
  4819. * tree.def (FIX_CEIL_EXPR, FIX_FLOOR_EXPR, FIX_ROUND_EXPR):
  4820. Remove unused tree codes.
  4821. * tree-vrp.c (extract_range_from_unary_expr): Remove handling
  4822. of FIX_CEIL_EXPR, FIX_FLOOR_EXPR and FIX_ROUND_EXPR.
  4823. * tree-pretty-print.c (dump_generic_node, op_prio): Likewise.
  4824. * tree.c (stabilize_reference): Likewise.
  4825. * fold-const.c (fold_convert_const_int_from_real, operand_equal_p,
  4826. fold_unary): Likewise.
  4827. * tree-gimple.c (is_gimple_cast): Likewise.
  4828. * dwarf2out.c (loc_descriptor_from_tree_1): Likewise.
  4829. * expr.c (expand_expr_real_1): Likewise.
  4830. * tree-eh.c (tree_could_trap_p): Likewise.
  4831. * gimplify.c (gimplify_expr): Likewise.
  4832. * tree-inline.c (estimate_num_insns_1): Likewise.
  4833. * tree-cfg.c (verify_expr): Likewise.
  4834. 2006-11-11 Zdenek Dvorak <dvorakz@suse.cz>
  4835. * tree-ssa-loop.c (pass_loop_prefetch): Change name to aprefetch.
  4836. * tree-ssa-loop-prefetch.c (dump_mem_ref): Fix target file.
  4837. (tree_ssa_prefetch_arrays): Do not dump for removed loops.
  4838. 2006-11-11 Richard Sandiford <richard@codesourcery.com>
  4839. PR middle-end/27528
  4840. * stmt.c (expand_asm_operands): Use EXPAND_INITIALIZER if the
  4841. constraints accept neither registers or memories.
  4842. 2006-11-11 Jie Zhang <jie.zhang@analog.com>
  4843. * config/bfin/bfin.h (FUNCTION_PROFILER): Don't use LABELNO.
  4844. (NO_PROFILE_COUNTERS): Define as 1.
  4845. 2006-11-10 Roger Sayle <roger@eyesopen.com>
  4846. * fold-const.c (operand_equal_p) <INTEGER_CST, REAL_CST, VECTOR_CST>:
  4847. Don't check for TREE_CONSTANT_OVERFLOW when comparing constants.
  4848. 2006-11-10 Peter Bergner <bergner@vnet.ibm.com>
  4849. * rtl.h (MEM_COPY_ATTRIBUTES): Copy MEM_POINTER.
  4850. 2006-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4851. * builtins.c (fold_builtin_cos): Use fold_strip_sign_ops().
  4852. (fold_builtin_hypot): Likewise.
  4853. * fold-const.c (fold_strip_sign_ops): Handle "odd" builtins.
  4854. * fold-const.c (negate_mathfn_p): Add BUILT_IN_ERF.
  4855. 2006-11-10 Roger Sayle <roger@eyesopen.com>
  4856. * tree.c (build_int_cst_wide): Add an assertion (gcc_unreachable)
  4857. when attempting to build INTEGER_CSTs of non-integral types.
  4858. * expmed.c (make_tree): Use the correct type, i.e. the inner
  4859. type, when constructing the individual elements of a CONST_VECTOR.
  4860. 2006-11-10 Jan Hubicka <jh@suse.cz>
  4861. * cse.c (cse_process_notes): Copy the propagated value.
  4862. * local-alloc.c (update_equiv_regs): Copy the memory RTX to be used
  4863. in REG_EQUIV notes.
  4864. * gcse.c (try_replace_reg): Copy the replacement.
  4865. * i386.c (emit_i387_cw_initialization): Copy stored_mode.
  4866. (assign_386_stack_local): Always return copied memory expression
  4867. * function.c (instantiate_virtual_regs_in_insn): Copy the operand
  4868. duplicates.
  4869. 2006-11-10 Jan Hubicka <jh@suse.cz>
  4870. * final.c (final): Walk from first instruction.
  4871. * cfglayout.c (insn_locators_initialize): Remove line number notes.
  4872. 2006-11-10 Uros Bizjak <ubizjak@gmail.com>
  4873. PR target/29777
  4874. * config/i386/sse.md (smulv8hi3_highpart): Change from define_insn
  4875. to define_expand.
  4876. (umulv8hi3_highpart): Ditto.
  4877. (vec_widen_smult_hi_v8hi): New expander.
  4878. (vec_widen_smult_lo_v8hi): Ditto.
  4879. 2006-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4880. PR middle-end/29335
  4881. * builtins.c (do_mpfr_arg3): New.
  4882. (fold_builtin_1): Handle builtins fma, fmin and fmax.
  4883. 2006-11-09 Eric Christopher <echristo@apple.com>
  4884. PR bootstrap/26892
  4885. PR bootstrap/27814
  4886. PR other/28994
  4887. * configure.ac: Match powerpc*-*-darwin* for powerpc darwin checks.
  4888. * config.gcc (powerpc64-*-darwin*): New target.
  4889. * config.host: Ditto.
  4890. * config/rs6000/darwin64.h: New file.
  4891. * config/rs6000/x-darwin64: Ditto.
  4892. * config/rs6000/host-ppc64-darwin.c: Ditto.
  4893. 2006-11-09 Steve Ellcey <sje@cup.hp.com>
  4894. * config/ia64/ia64.c (ia64_hpux_init_libfuncs): Use HP-UX millicode
  4895. routines for integer division.
  4896. 2006-11-09 Daniel Jacobowitz <dan@codesourcery.com>
  4897. * config/arm/t-linux (LIBGCC2_DEBUG_CFLAGS): Delete.
  4898. 2006-11-09 Serge Belyshev <belyshev@depni.sinp.msu.ru>
  4899. PR middle-end/29726
  4900. * fold-const.c (fold_binary) <EQ_EXPR>: Fix typo in variable name.
  4901. 2006-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
  4902. * simplify-rtx.c (avoid_constant_pool_reference): Avoid calling
  4903. simplify_subreg with BLKmode outer mode.
  4904. 2006-11-08 Brooks Moses <brooks.moses@codesourcery.com>
  4905. * doc/invoke.texi: Minor formatting fixes in option lists.
  4906. 2006-11-08 Zdenek Dvorak <dvorakz@suse.cz>
  4907. PR tree-optimization/29738
  4908. * tree-ssa-ccp.c: Remove UNKNOWN_VAL from comments.
  4909. (ccp_lattice_t): Remove UNKNOWN_VAL.
  4910. (dump_lattice_value, ccp_lattice_meet, ccp_visit_phi_node):
  4911. Do not handle UNKNOWN_VAL.
  4912. (get_default_value): Set initial value of virtual operands to
  4913. VARYING.
  4914. (get_value): Always use get_default_value on uninitialized
  4915. operands.
  4916. (set_value_varying, surely_varying_stmt_p): New functions.
  4917. (set_lattice_value): Do not pass argument to get_value.
  4918. Do not handle UNKNOWN_VAL.
  4919. (likely_value): Follow the semantics described in the comment.
  4920. (ccp_initialize): Use surely_varying_stmt_p. Do not mark
  4921. phi nodes DONT_SIMULATE_AGAIN.
  4922. (ccp_fold): Do not pass argument to get_value.
  4923. (fold_const_aggregate_ref, visit_assignment): Ditto. Do not
  4924. handle UNKNOWN_VAL.
  4925. 2006-11-08 Andrew Pinski <Andrew_Pinski@playstation.sony.com>
  4926. * tree-pretty-print.c (dump_generic_node) <INTEGER_CST>: Use
  4927. HOST_WIDE_INT_PRINT_DOUBLE_HEX instead of format buffer.
  4928. 2006-11-08 Roger Sayle <roger@eyesopen.com>
  4929. * tree-ssa-propagate.c (set_rhs): Restructure validity tests as a
  4930. test for inclusion rather than as a test for exclusion.
  4931. * tree-ssa-ccp.c (fold_stmt_r) <COND_EXPR>: Use set_rhs to modify
  4932. the condition after calling fold_binary.
  4933. * fold-const.c (fold_inf_compare): Remove in_gimple_form check.
  4934. (fold_binary) <LT_EXPR, GT_EXPR, LE_EXPR, GE_EXPR>: Likewise.
  4935. * builtins.c (fold_builtin_isascii): Likewise.
  4936. (fold_builtin_isdigit): Likewise.
  4937. 2006-11-08 Carlos O'Donell <carlos@codesourcery.com>
  4938. * configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE.
  4939. * configure: Regenerate.
  4940. 2006-11-08 Dorit Nuzman <dorit@il.ibm.com>
  4941. * tree-vect-analyze.c (vect_mark_relevant, vect_stmt_relevant_p): Take
  4942. enum argument instead of bool.
  4943. (vect_analyze_operations): Call vectorizable_type_promotion.
  4944. * tree-vectorizer.h (type_promotion_vec_info_type): New enum
  4945. stmt_vec_info_type value.
  4946. (supportable_widening_operation, vectorizable_type_promotion): New
  4947. function declarations.
  4948. * tree-vect-transform.c (vect_gen_widened_results_half): New function.
  4949. (vectorizable_type_promotion): New function.
  4950. (vect_transform_stmt): Call vectorizable_type_promotion.
  4951. * tree-vect-analyze.c (supportable_widening_operation): New function.
  4952. * tree-vect-patterns.c (vect_recog_dot_prod_pattern):
  4953. Add implementation.
  4954. * tree-vect-generic.c (expand_vector_operations_1): Consider correct
  4955. mode.
  4956. * tree.def (VEC_WIDEN_MULT_HI_EXPR, VEC_WIDEN_MULT_LO_EXPR):
  4957. (VEC_UNPACK_HI_EXPR, VEC_UNPACK_LO_EXPR): New tree-codes.
  4958. * tree-inline.c (estimate_num_insns_1): Add cases for above new
  4959. tree-codes.
  4960. * tree-pretty-print.c (dump_generic_node, op_prio): Likewise.
  4961. * expr.c (expand_expr_real_1): Likewise.
  4962. * optabs.c (optab_for_tree_code): Likewise.
  4963. (init_optabs): Initialize new optabs.
  4964. * genopinit.c (vec_widen_umult_hi_optab, vec_widen_smult_hi_optab,
  4965. vec_widen_smult_hi_optab, vec_widen_smult_lo_optab,
  4966. vec_unpacks_hi_optab, vec_unpacks_lo_optab, vec_unpacku_hi_optab,
  4967. vec_unpacku_lo_optab): Initialize new optabs.
  4968. * optabs.h (OTI_vec_widen_umult_hi, OTI_vec_widen_umult_lo):
  4969. (OTI_vec_widen_smult_h, OTI_vec_widen_smult_lo, OTI_vec_unpacks_hi,
  4970. OTI_vec_unpacks_lo, OTI_vec_unpacku_hi, OTI_vec_unpacku_lo): New
  4971. optab indices.
  4972. (vec_widen_umult_hi_optab, vec_widen_umult_lo_optab):
  4973. (vec_widen_smult_hi_optab, vec_widen_smult_lo_optab):
  4974. (vec_unpacks_hi_optab, vec_unpacku_hi_optab, vec_unpacks_lo_optab):
  4975. (vec_unpacku_lo_optab): New optabs.
  4976. * doc/md.texi (vec_unpacks_hi, vec_unpacks_lo, vec_unpacku_hi):
  4977. (vec_unpacku_lo, vec_widen_umult_hi, vec_widen_umult_lo):
  4978. (vec_widen_smult_hi, vec_widen_smult_lo): New.
  4979. * doc/c-tree.texi (VEC_LSHIFT_EXPR, VEC_RSHIFT_EXPR):
  4980. (VEC_WIDEN_MULT_HI_EXPR, VEC_WIDEN_MULT_LO_EXPR, VEC_UNPACK_HI_EXPR):
  4981. (VEC_UNPACK_LO_EXPR, VEC_PACK_MOD_EXPR, VEC_PACK_SAT_EXPR): New.
  4982. * config/rs6000/altivec.md (UNSPEC_VMULWHUB, UNSPEC_VMULWLUB):
  4983. (UNSPEC_VMULWHSB, UNSPEC_VMULWLSB, UNSPEC_VMULWHUH, UNSPEC_VMULWLUH):
  4984. (UNSPEC_VMULWHSH, UNSPEC_VMULWLSH): New.
  4985. (UNSPEC_VPERMSI, UNSPEC_VPERMHI): New.
  4986. (vec_vperm_v8hiv4si, vec_vperm_v16qiv8hi): New patterns used to
  4987. implement the unsigned unpacking patterns.
  4988. (vec_unpacks_hi_v16qi, vec_unpacks_hi_v8hi, vec_unpacks_lo_v16qi):
  4989. (vec_unpacks_lo_v8hi): New signed unpacking patterns.
  4990. (vec_unpacku_hi_v16qi, vec_unpacku_hi_v8hi, vec_unpacku_lo_v16qi):
  4991. (vec_unpacku_lo_v8hi): New unsigned unpacking patterns.
  4992. (vec_widen_umult_hi_v16qi, vec_widen_umult_lo_v16qi):
  4993. (vec_widen_smult_hi_v16qi, vec_widen_smult_lo_v16qi):
  4994. (vec_widen_umult_hi_v8hi, vec_widen_umult_lo_v8hi):
  4995. (vec_widen_smult_hi_v8hi, vec_widen_smult_lo_v8hi): New widening
  4996. multiplication patterns.
  4997. * target.h (builtin_mul_widen_even, builtin_mul_widen_odd): New.
  4998. * target-def.h (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN):
  4999. (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): New.
  5000. * config/rs6000/rs6000.c (rs6000_builtin_mul_widen_even): New.
  5001. (rs6000_builtin_mul_widen_odd): New.
  5002. (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Defined.
  5003. (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Defined.
  5004. * tree-vectorizer.h (enum vect_relevant): New enum type.
  5005. (_stmt_vec_info): Field relevant chaned from bool to enum
  5006. vect_relevant.
  5007. (STMT_VINFO_RELEVANT_P): Updated.
  5008. (STMT_VINFO_RELEVANT): New.
  5009. * tree-vectorizer.c (new_stmt_vec_info): Use STMT_VINFO_RELEVANT
  5010. instead of STMT_VINFO_RELEVANT_P.
  5011. * tree-vect-analyze.c (vect_mark_relevant, vect_stmt_relevant_p):
  5012. Replace calls to STMT_VINFO_RELEVANT_P with STMT_VINFO_RELEVANT,
  5013. and boolean variable with enum vect_relevant.
  5014. (vect_mark_stmts_to_be_vectorized): Likewise + update documentation.
  5015. * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): New.
  5016. (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): New.
  5017. 2006-11-08 Richard Henderson <rth@redhat.com>
  5018. * config/i386/sse.md (vec_widen_umult_hi_v8hi,
  5019. vec_widen_umult_lo_v8hi): New.
  5020. (vec_widen_smult_hi_v4si, vec_widen_smult_lo_v4si,
  5021. vec_widen_umult_hi_v4si, vec_widen_umult_lo_v4si): New.
  5022. * config/i386/i386.c (ix86_expand_sse_unpack): New.
  5023. * config/i386/i386-protos.h (ix86_expand_sse_unpack): New.
  5024. * config/i386/sse.md (vec_unpacku_hi_v16qi, vec_unpacks_hi_v16qi,
  5025. vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi, vec_unpacku_hi_v8hi,
  5026. vec_unpacks_hi_v8hi, vec_unpacku_lo_v8hi, vec_unpacks_lo_v8hi,
  5027. vec_unpacku_hi_v4si, vec_unpacks_hi_v4si, vec_unpacku_lo_v4si,
  5028. vec_unpacks_lo_v4si): New.
  5029. 2006-11-08 Dorit Nuzman <dorit@il.ibm.com>
  5030. * tree-vect-transform.c (vectorizable_type_demotion): New function.
  5031. (vect_transform_stmt): Add case for type_demotion_vec_info_type.
  5032. (vect_analyze_operations): Call vectorizable_type_demotion.
  5033. * tree-vectorizer.h (type_demotion_vec_info_type): New enum
  5034. stmt_vec_info_type value.
  5035. (vectorizable_type_demotion): New function declaration.
  5036. * tree-vect-generic.c (expand_vector_operations_1): Consider correct
  5037. mode.
  5038. * tree.def (VEC_PACK_MOD_EXPR, VEC_PACK_SAT_EXPR): New tree-codes.
  5039. * expr.c (expand_expr_real_1): Add case for VEC_PACK_MOD_EXPR and
  5040. VEC_PACK_SAT_EXPR.
  5041. * tree-iniline.c (estimate_num_insns_1): Likewise.
  5042. * tree-pretty-print.c (dump_generic_node, op_prio): Likewise.
  5043. * optabs.c (optab_for_tree_code): Likewise.
  5044. * optabs.c (expand_binop): In case of vec_pack_*_optabs the mode
  5045. compared against the predicate of the result is not 'mode' (the input
  5046. to the function) but a mode with half the size of 'mode'.
  5047. (init_optab): Initialize new optabs.
  5048. * optabs.h (OTI_vec_pack_mod, OTI_vec_pack_ssat, OTI_vec_pack_usat):
  5049. New optab indices.
  5050. (vec_pack_mod_optab, vec_pack_ssat_optab, vec_pack_usat_optab): New
  5051. optabs.
  5052. * genopinit.c (vec_pack_mod_optab, vec_pack_ssat_optab):
  5053. (vec_pack_usat_optab): Initialize new optabs.
  5054. * doc/md.texi (vec_pack_mod, vec_pack_ssat, vec_pack_usat): New.
  5055. * config/rs6000/altivec.md (vec_pack_mod_v8hi, vec_pack_mod_v4si): New.
  5056. 2006-11-08 Richard Henderson <rth@redehat.com>
  5057. * config/i386/sse.md (vec_pack_mod_v8hi, vec_pack_mod_v4si):
  5058. (vec_pack_mod_v2di, vec_interleave_highv16qi, vec_interleave_lowv16qi):
  5059. (vec_interleave_highv8hi, vec_interleave_lowv8hi):
  5060. (vec_interleave_highv4si, vec_interleave_lowv4si):
  5061. (vec_interleave_highv2di, vec_interleave_lowv2di): New.
  5062. 2006-11-08 Dorit Nuzman <dorit@il.ibm.com>
  5063. * tree-vect-transform.c (vectorizable_reduction): Support multiple
  5064. datatypes.
  5065. (vect_transform_stmt): Removed redundant code.
  5066. 2006-11-08 Dorit Nuzman <dorit@il.ibm.com>
  5067. * tree-vect-transform.c (vectorizable_operation): Support multiple
  5068. datatypes.
  5069. 2006-11-08 Dorit Nuzman <dorit@il.ibm.com>
  5070. * tree-vect-transform.c (vect_align_data_ref): Removed.
  5071. (vect_create_data_ref_ptr): Added additional argument - ptr_incr.
  5072. Updated function documentation. Return the increment stmt in ptr_incr.
  5073. (bump_vector_ptr): New function.
  5074. (vect_get_vec_def_for_stmt_copy): New function.
  5075. (vect_finish_stmt_generation): Create a stmt_info to newly created
  5076. vector stmts.
  5077. (vect_setup_realignment): Call vect_create_data_ref_ptr with additional
  5078. argument.
  5079. (vectorizable_reduction, vectorizable_assignment): Not supported yet if
  5080. VF is greater than the number of elements that can fit in one vector
  5081. word.
  5082. (vectorizable_operation, vectorizable_condition): Likewise.
  5083. (vectorizable_store, vectorizable_load): Support the case that the VF
  5084. is greater than the number of elements that can fit in one vector word.
  5085. (vect_transform_loop): Don't fail in case of multiple data-types.
  5086. * tree-vect-analyze.c (vect_determine_vectorization_factor): Don't fail
  5087. in case of multiple data-types; the smallest type determines the VF.
  5088. (vect_analyze_data_ref_dependence): Don't record datarefs as same_align
  5089. if they are of different sizes.
  5090. (vect_update_misalignment_for_peel): Compare misalignments in terms of
  5091. number of elements rather than number of bytes.
  5092. (vect_enhance_data_refs_alignment): Fix/Add dump printouts.
  5093. (vect_can_advance_ivs_p): Fix a dump printout
  5094. 2006-11-07 Eric Christopher <echristo@apple.com>
  5095. * libgcc2.c (__bswapdi2): Rename from bswapDI2.
  5096. (__bswapsi2): Ditto.
  5097. * libgcc2.h: Remove transformation of bswap routines.
  5098. * config/i386/i386.md (bswapsi2): New.
  5099. (bswapdi2): Ditto.
  5100. 2006-11-07 Jakub Jelinek <jakub@redhat.com>
  5101. * c-common.c (c_common_attributes): Add gnu_inline attribyte.
  5102. (handle_gnu_inline_attribute): New function.
  5103. * c-decl.c (diagnose_mismatched_decls): Handle gnu_inline attribute.
  5104. (merge_decls, start_decl, start_function): Likewise.
  5105. * doc/extend.texi: Document gnu_inline attribute.
  5106. 2006-11-07 Steve Ellcey <sje@cup.hp.com>
  5107. PR other/25028
  5108. * config/ia64/t-hpux (LIB1ASMFUNCS): Filter out _fixtfdi,
  5109. _fixunstfdi, and _floatditf
  5110. 2006-11-06 Anatoly Sokolov <aesok@post.ru>
  5111. * config/avr/avr-protos.h (mask_one_bit_p, const_int_pow2_p): Remove
  5112. prototype.
  5113. * config/avr/avr.c (mask_one_bit_p, const_int_pow2_p): Remove.
  5114. (output_movhi, ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out,
  5115. lshrhi3_out, lshrsi3_out): Remove unnecessary code for handling value
  5116. which start in an odd register.
  5117. 2006-11-07 Richard Sandiford <richard@codesourcery.com>
  5118. * config/mips/mips.h (ISA_HAS_PREFETCHX): Fix typo.
  5119. 2006-11-07 Josh Conner <jconner@apple.com>
  5120. * doc/invoke.texi (fstrict-aliasing): Move implementation
  5121. details...
  5122. * doc/tree-ssa.texi (Alias analysis): ...here.
  5123. 2006-11-07 Richard Guenther <rguenther@suse.de>
  5124. PR tree-optimization/29610
  5125. * tree-cfgcleanup.c (cleanup_control_flow): Honor return value
  5126. of tree_purge_dead_eh_edges as it may free dominators.
  5127. * g++.dg/other/pr29610.C: New testcase.
  5128. 2006-11-07 David Ung <davidu@mips.com>
  5129. * config/mips/mips.c (mips_rtx_cost_optimize_size): New table of
  5130. costs when optimizing for size.
  5131. (override_options): Use mips_rtx_cost_optimize_size table for cost
  5132. calculations.
  5133. 2006-11-07 Jie Zhang <jie.zhang@analog.com>
  5134. * gcc.c (process_command): Treat -b as normal switch if its argument
  5135. has no dash.
  5136. 2006-11-07 David Ung <davidu@mips.com>
  5137. * config/mips/mips.h (ISA_HAS_PREFETCHX): Add ISA_MIPS32R2 to the
  5138. list.
  5139. 2006-11-06 Eric Christopher <echristo@apple.com>
  5140. * config.gcc: Add x86_64-darwin host support.
  5141. * config.host: Ditto.
  5142. * config/i386/darwin64.h: New file.
  5143. * config/i386/t-darwin64: Ditto.
  5144. 2006-11-06 Janis Johnson <janis187@us.ibm.com>
  5145. * gcc/doc/sourcebuild.texi (Test Directives): Add output-exists
  5146. and output-exists-not.
  5147. 2006-11-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
  5148. PR tree-opt/29439
  5149. * tree-vrp.c (vrp_int_const_binop): Use the correct tree when
  5150. checking for overflow.
  5151. 2006-11-06 Jan van Dijk <jan@etpmod.phys.tue.nl>
  5152. * configure.ac: Fixed typo in case statement: :: changed to ;;
  5153. 2006-11-06 Bob Wilson <bob.wilson@acm.org>
  5154. * longlong.h (__xtensa__): Add definitions for umul_ppmm, __umulsidi3,
  5155. count_leading_zeros, and count_trailing_zeros.
  5156. * config/xtensa/xtensa.c (TARGET_INIT_BUILTINS): Define.
  5157. (TARGET_FOLD_BUILTIN): Define.
  5158. (TARGET_EXPAND_BUILTIN): Define.
  5159. (xtensa_init_builtins): New.
  5160. (xtensa_fold_builtin): New.
  5161. (xtensa_expand_builtin): New.
  5162. (xtensa_rtx_costs): Add CTZ and CLZ. Adjust costs for MULT.
  5163. * config/xtensa/xtensa.h (TARGET_MUL32_HIGH): Define.
  5164. (CLZ_DEFINED_VALUE_AT_ZERO): Define.
  5165. (CTZ_DEFINED_VALUE_AT_ZERO): Define.
  5166. * config/xtensa/xtensa.md (UNSPEC_NSAU): Remove.
  5167. (any_extend): New code macro.
  5168. (u, su): New code attributes.
  5169. (<u>mulsidi3, <u>mulsi3_highpart, clzsi2, ctzsi2): New.
  5170. (nsau): Remove; replaced by clzsi2.
  5171. (ffssi2): Use clzsi2.
  5172. * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _umulsidi3,
  5173. _clzsi2, _ctzsi2, and _ffssi2. Rename _nsau to _clz.
  5174. * config/xtensa/lib1funcs.asm (__mulsi3): Support Mul32 option.
  5175. (__umulsidi3, __clzsi2, __ctzsi2, __ffssi2): New.
  5176. (__nsau_data): Guard with ifdef L_clz instead of L_nsau.
  5177. 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
  5178. * config/arm/t-strongarm-pe: (TARGET_LIBGCC2_CFLAGS): Do no
  5179. set inhibit_libc.
  5180. * config/arm/t-strongarm-elf: Likewise.
  5181. * config/arm/t-pe: Likewise.
  5182. * config/arm/t-arm-elf: Likewise.
  5183. * config/arm/t-xscale-elf: Likewise.
  5184. * config/arm/t-arm-coff: Likewise.
  5185. * config/arm/t-xscale-coff: Likewise.
  5186. * config/arm/t-wince-pe: Likewise.
  5187. 2006-11-05 Kaz Kojima <kkojima@gcc.gnu.org>
  5188. * config/sh/lib1funcs-4-300.asm: Guard entire file with
  5189. #if !__SHMEDIA__ .
  5190. 2006-11-05 Jakub Jelinek <jakub@redhat.com>
  5191. PR middle-end/29695
  5192. * fold-const.c (fold_ternary): Fix A < 0 ? <sign bit of A> : 0
  5193. simplification.
  5194. 2006-11-04 Uros Bizjak <ubizjak@gmail.com>
  5195. PR target/26915
  5196. * config/i386/i386.c (standard_80387_constant_p): Treat -0.0 and -1.0
  5197. as a valid 80387 constant.
  5198. (standard_80387_constant_opcode): Return "#" for -0.0 and -1.0.
  5199. * config/i386/i386.md (unnamed splitter): Split the load of
  5200. constant -0.0 or -1.0 into the load of 0.0 or 1.0, followed
  5201. by negation.
  5202. 2006-11-04 Richard Earnshaw <rearnsha@arm.com>
  5203. * arm.c (thumb_legitimate_addres_p): Allow any constant offset
  5204. from the soft-frame, argument and virtual registers.
  5205. 2006-11-04 Uros Bizjak <ubizjak@gmail.com>
  5206. * config/i386/i386.md (*movxf_nointeger, *movxf_integer): Enable
  5207. patterns for standard 80387 constants.
  5208. 2006-11-03 Paolo Bonzini <bonzini@gnu.org>
  5209. Steven Bosscher <steven@gcc.gnu.org>
  5210. * fwprop.c: New file.
  5211. * Makefile.in: Add fwprop.o.
  5212. * tree-pass.h (pass_rtl_fwprop, pass_rtl_fwprop_with_addr): New.
  5213. * passes.c (init_optimization_passes): Schedule forward propagation.
  5214. * rtlanal.c (loc_mentioned_in_p): Support NULL value of the second
  5215. parameter.
  5216. * timevar.def (TV_FWPROP): New.
  5217. * common.opt (-fforward-propagate): New.
  5218. * opts.c (decode_options): Enable forward propagation at -O2.
  5219. * gcse.c (one_cprop_pass): Do not run local cprop unless touching jumps.
  5220. * cse.c (fold_rtx_subreg, fold_rtx_mem, fold_rtx_mem_1, find_best_addr,
  5221. canon_for_address, table_size): Remove.
  5222. (new_basic_block, insert, remove_from_table): Remove references to
  5223. table_size.
  5224. (fold_rtx): Process SUBREGs and MEMs with equiv_constant, make
  5225. simplification loop more straightforward by not calling fold_rtx
  5226. recursively.
  5227. (equiv_constant): Move here a small part of fold_rtx_subreg,
  5228. do not call fold_rtx. Call avoid_constant_pool_reference
  5229. to process MEMs.
  5230. * recog.h (canonicalize_change_group): New.
  5231. * doc/invoke.texi (Optimization Options): Document fwprop.
  5232. * doc/passes.texi (RTL passes): Document fwprop.
  5233. 2006-11-03 Geoffrey Keating <geoffk@apple.com>
  5234. * c-decl.c (WANT_C99_INLINE_SEMANTICS): New, set to 1.
  5235. (merge_decls): Implement WANT_C99_INLINE_SEMANTICS.
  5236. (grokdeclarator): Likewise.
  5237. 2006-11-03 Steven Bosscher <steven@gcc.gnu.org>
  5238. * tree-dump.c (dump_enable_all): Rename local variable
  5239. ir_type to avoid name conflicts.
  5240. * cfgloopmanip.c (lv_adjust_loop_entry_edge): Check for IR_GIMPLE
  5241. instead of using ir_type().
  5242. * profile.c (tree_register_profile_hooks): Likewise.
  5243. * value-prof.c (tree_register_value_prof_hooks): Likewise.
  5244. * basic-block.h (struct edge_def): Likewise.
  5245. * config/arm/arm.c (legitimize_pic_address): Likewise.
  5246. * coretypes.h (ir_type): New enum of all intermediate languages
  5247. used in GCC.
  5248. * cfghooks.c (ir_type): Rename to...
  5249. (current_ir_type): ...this. Distinguish between cfgrtl and
  5250. cfglayout mode when the current IR is RTL. Return enum ir_type.
  5251. * cfghooks.h (ir_type): Replace with current_ir_type prototype.
  5252. 2006-11-03 Paul Brook <paul@codesourcery.com>
  5253. * config/arm/arm.c (arm_file_start): New function.
  5254. (TARGET_ASM_FILE_START): Define.
  5255. (arm_default_cpu): New variable.
  5256. (arm_override_options): Set arm_default_cpu.
  5257. 2006-11-03 David Ung <davidu@mips.com>
  5258. * config/mips/mips.h (processor_type): Removed PROCESSOR_24K, add
  5259. PROCESSOR_24KC and PROCESSOR_24KF.
  5260. * config/mips/mips.c (mips_cpu_info_table): Add processor names
  5261. and aliases for 4kec/4kem/4kep/24kec/24kef/24kex/34kc/34kf/34kx.
  5262. (mips_rtx_cost_data): Add costs for the 24kc.
  5263. * config/mips/mips.md ("cpu"): Remove 24k, add 24kc and 24kf.
  5264. * config/mips/24k.md: Remove references to 24k and replace with
  5265. uses of 24kc/24kf in the appropriate reservations.
  5266. * doc/invoke.texi (MIPS Options): Updated.
  5267. 2006-11-03 J"orn Rennecke <joern.rennecke@st.com>
  5268. * config/sh/crt1.asm: Fix #ifdef indent.
  5269. 2006-11-03 J"orn Rennecke <joern.rennecke@st.com>
  5270. Merged from STMicroelectronics sources:
  5271. 2006-10-06 Andrew Stubbs <andrew.stubbs@st.com>
  5272. * config/sh/crt1.asm (vbr_600): Add missing #if.
  5273. 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
  5274. * sh.opt (mfused-madd): New option.
  5275. * sh.md (mac_media, macsf3): Make conditional on TARGET_FMAC.
  5276. 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
  5277. * config/sh/crt1.asm (vbr_start): Move to new section .test.vbr.
  5278. Remove pointless handler at VBR+0.
  5279. (vbr_200, vbr_300, vbr_500): Remove pointless handler.
  5280. (vbr_600): Save and restore mach and macl, fpul and fpscr and fr0 to
  5281. fr7. Make sure the timer handler is called with the correct FPU
  5282. precision setting, according to the ABI.
  5283. 2006-06-14 J"orn Rennecke <joern.rennecke@st.com>
  5284. * config/sh/sh.opt (m2a-single, m2a-single-only): Fix Condition.
  5285. * config/sh/sh.h (SUPPORT_SH2A_NOFPU): Fix condition.
  5286. (SUPPORT_SH2A_SINGLE_ONLY, SUPPORT_SH2A_SINGLE_ONLY): Likewise.
  5287. 2006-06-09 J"orn Rennecke <joern.rennecke@st.com>
  5288. * sh.md (cmpgeusi_t): Change into define_insn_and_split. Accept
  5289. zero as second operand.
  5290. 2006-04-28 J"orn Rennecke <joern.rennecke@st.com>
  5291. * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  5292. Fixed some bugs related to negative values, in particular -0
  5293. and overflow at -0x80000000.
  5294. * config/sh/divcost-analysis: Added sh4-300 figures.
  5295. 2006-04-27 J"orn Rennecke <joern.rennecke@st.com>
  5296. * config/sh/t-sh (MULTILIB_MATCHES): Add -m4-300* / -m4-340 options.
  5297. 2006-04-26 J"orn Rennecke <joern.rennecke@st.com>
  5298. * config/sh/t-sh (OPT_EXTRA_PARTS): Add libgcc-4-300.a.
  5299. ($(T)div_table-4-300.o, $(T)libgcc-4-300.a): New rules.
  5300. * config/sh/divtab-sh4-300.c, config/sh/lib1funcs-4-300.asm:
  5301. New files.
  5302. * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-4-300 for -m4-300* /
  5303. -m4-340.
  5304. 2006-04-24 J"orn Rennecke <joern.rennecke@st.com>
  5305. SH4-300 scheduling description & fixes to SH4-[12]00 description:
  5306. * sh.md: New instruction types: fstore, movi8, fpscr_toggle, gp_mac,
  5307. mac_mem, mem_mac, dfp_mul, fp_cmp.
  5308. (insn_class, dfp_comp, any_fp_comp): Update.
  5309. (push_fpul, movsf_ie, fpu_switch, toggle_sz, toggle_pr): Update type.
  5310. (cmpgtsf_t, "cmpeqsf_t, cmpgtsf_t_i4, cmpeqsf_t_i4): Likewise.
  5311. (muldf3_i): Likewise.
  5312. (movsi_i): Split rI08 alternative into two separate alternatives.
  5313. Update type.
  5314. (movsi_ie, movsi_i_lowpart): Likewise.
  5315. (movqi_i): Split ri alternative into two separate alternatives.
  5316. Update type.
  5317. * sh1.md (sh1_load_store, sh1_fp): Update.
  5318. * sh4.md (sh4_store, sh4_mac_gp, fp_arith, fp_double_arith): Update.
  5319. (mac_mem, sh4_fpscr_toggle): New insn_reservations.
  5320. * sh4a.md (sh4a_mov, sh4a_load, sh4a_store, sh4a_fp_arith): Update.
  5321. (sh4a_fp_double_arith): Likewise.
  5322. * sh4-300.md: New file.
  5323. * sh.c (sh_handle_option): Handle m4-300* options.
  5324. (sh_adjust_cost): Fix latency of auto-increments.
  5325. Handle SH4-300 differently than other SH4s. Check for new insn types.
  5326. * sh.h (OVERRIDE_OPTIONS): Initilize sh_branch_cost if it has not
  5327. been set by an option.
  5328. * sh.opt (m4-300, m4-100-nofpu, m4-200-nofpu): New options.
  5329. (m4-300-nofpu, -m4-340, m4-300-single, m4-300-single-only): Likewise.
  5330. (mbranch-cost=): Likewise.
  5331. * superh.h (STARTFILE_SPEC): Take -m4-340 into account.
  5332. * sh.md (mulsf3): Remove special expansion code.
  5333. (mulsf3_ie): Now a define_insn_and_split.
  5334. (macsf3): Allow for TARGET_SH4.
  5335. * sh.md (cbranchsi4, cbranchdi4, cbranchdi4_i): New patterns.
  5336. * sh.c (prepare_cbranch_operands, expand_cbranchsi4): New functions.
  5337. (expand_cbranchdi4): Likewise.
  5338. (sh_rtx_costs): Give lower cost for certain CONST_INT values and for
  5339. CONST_DOUBLE if the outer code is COMPARE.
  5340. * sh.h (OPTIMIZATION_OPTIONS): If not optimizing for size, set
  5341. TARGET_CBRANCHDI4 and TARGET_EXPAND_CBRANCHDI4.
  5342. (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, clear TARGET_CBRANCHDI4.
  5343. (LEGITIMATE_CONSTANT_P): Also allow DImode and VOIDmode CONST_DOUBLEs.
  5344. Remove redundant fp_{zero,one}_operand checks.
  5345. * sh.opt (mcbranchdi, mexpand-cbranchdi, mcmpeqdi): New options.
  5346. * sh-protos.h (prepare_cbranch_operands, expand_cbranchsi4): Declare.
  5347. (expand_cbranchdi4): Likewise.
  5348. 2006-04-20 J"orn Rennecke <joern.rennecke@st.com>
  5349. * sh.h (LOCAL_ALIGNMENT): Use DATA_ALIGNMENT.
  5350. 2006-11-02 Andrew Pinski <andrew_pinski@playstation.sony.com>
  5351. * doc/md.texi (RS6000 constraints): Document H, Z, a, t, and W
  5352. constraints.
  5353. 2006-11-02 Brooks Moses <brooks.moses@codesourcery.com>
  5354. * doc/invoke.texi: Fix mfp-trap-mode typo.
  5355. 2006-11-02 Carlos O'Donell <carlos@codesourcery.com>
  5356. * config/arm/linux-elf.h (NEED_INDICATE_EXEC_STACK): Define as 1.
  5357. * arm.c (arm_file_end): If NEED_INDICATE_EXEC_STACK call
  5358. file_end_indicate_exec_stack.
  5359. * arm.h [!NEED_INDICATE_EXEC_STACK] (NEED_INIDCATE_EXEC_STACK):
  5360. Define as 0.
  5361. * lib1funcs.asm [__ELF__ && __linux__]: Emit .note.GNU-stack section
  5362. for a non-executable stack.
  5363. * crti.asm: Likewise.
  5364. * crtn.asm: Likewise.
  5365. * libunwind.S: Likewise.
  5366. 2006-11-02 Ben Elliston <bje@au.ibm.com>
  5367. * tree-ssa.c (warn_uninit): Use expand_location variables for
  5368. locus and declaration locus.
  5369. 2006-11-02 Kaz Kojima <kkojima@gcc.gnu.org>
  5370. PR target/27405
  5371. * config/sh/sh.md (cmp{eq,gt,gtu}{si,di}_media): Remove.
  5372. (cmpsi{eq,gt,gtu}{si,di}_media): Rename to
  5373. cmp{eq,gt,gtu}{si,di}_media.
  5374. (*cmpne0si_media): Remove.
  5375. (*movsicc_umin): Adjust gen_cmp*_media call.
  5376. (unordered): Change the mode of unordered and operands[1] to
  5377. SImode.
  5378. (seq): Adjust gen_cmp*_media calls. Make the mode of
  5379. a temporary result of compare SImode if needed. If the mode
  5380. of operands[0] is DImode, extend the temporary result to DImode.
  5381. (slt, sle, sgt, sge, sgtu, sltu, sleu, sgue, sne): Likewise.
  5382. (sunorderd): Change the mode of match_operand and unorderd to
  5383. SImode.
  5384. (cmpeq{sf,df}_media): Remove.
  5385. (cmpsieq{sf,df}_media): Rename to cmpeq{sf,df}_media.
  5386. (cmp{gt,ge,un}{sf,df}_media): Change the mode of match_operand
  5387. and compare operation to SImode.
  5388. 2006-11-02 Eric Botcazou <ebotcazou@libertysurf.fr>
  5389. * doc/install.texi (sparc-sun-solaris2*): Update GMP/MPFR build
  5390. instructions.
  5391. (sparc64-sun-solaris2*): Likewise.
  5392. 2006-11-02 Paul Brook <paul@codesourcery.com>
  5393. * config/arm/arm.c (arm_elf_asm_constructor): Remove ATTRIBUTE_UNUSED
  5394. from priority argument. Use different section for non-default
  5395. priority.
  5396. * config/arm/elf.h: Remove definition of SUPPORTS_INIT_PRIORITY.
  5397. 2006-11-02 Eric Botcazou <ebotcazou@adacore.com>
  5398. PR other/29639
  5399. * except.c (switch_to_exception_section): Do not cache the section
  5400. if named sections are supported and HAVE_LD_EH_GC_SECTIONS is defined
  5401. and flag_function_sections is set.
  5402. 2006-11-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5403. PR middle-end/29335
  5404. * builtins.c (do_mpfr_sincos): New.
  5405. (fold_builtin_1): Use it to fold builtin sincos.
  5406. 2006-11-01 Roger Sayle <roger@eyesopen.com>
  5407. * config/darwin.h (CPP_SPEC): Handle -pthread, transforming
  5408. it into -D_REENTRANT.
  5409. 2006-11-01 Roger Sayle <roger@eyesopen.com>
  5410. * configure.ac (HAVE_AS_IX86_DIFF_SECT_DELTA): New test to determine
  5411. whether the assembler supports taking the difference of symbols in
  5412. different sections. On x86/Solaris, GAS does but Solaris as doesn't.
  5413. * configure: Regenerate.
  5414. * config.in: Regenerate.
  5415. * config/i386/sol2-10.h (JUMP_TABLES_IN_TEXT_SECTION): Define if
  5416. the assembler doesn't support taking the difference of symbols in
  5417. different sections, i.e. we're using the native solaris assembler.
  5418. 2006-11-01 Pete Steinmetz <steinmtz@us.ibm.com>
  5419. Peter Bergner <bergner@vnet.ibm.com>
  5420. * doc/invoke.texi: Add cpu_type power6x
  5421. (RS/6000 and PowerPC Options): Add -mmfpgpr.
  5422. * config.gcc: Add cpu_type power6x.
  5423. * configure.ac: Add test for mf{t,f}gpr instructions.
  5424. (HAVE_AS_MFPGPR): New.
  5425. * config.in: Regenerate.
  5426. * configure: Regenerate.
  5427. * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6x.
  5428. * config/rs6000/rs6000.md (define_attr "type"): Add insert_dword,
  5429. shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr
  5430. and mftgpr attributes.
  5431. (define_attr "cpu"): Add power6.
  5432. Change instruction sequences to use new attributes.
  5433. (floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR.
  5434. (fix_truncdfsi2_mfpgpr): New.
  5435. (floatsidf_ppc64_mfpgpr): New.
  5436. (floatsidf_ppc64): Added !TARGET_MFPGPR condition.
  5437. (movdf_hardfloat64_mfpgpr,movdi_mfpgpr): New.
  5438. (movdf_hardfloat64): Added !TARGET_MFPGPR condition.
  5439. (movdi_internal64): Added !TARGET_MFPGPR and related conditions.
  5440. (fix_truncdfsi2): Use gpc_reg_operand constraint.
  5441. * config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md,
  5442. 7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}:
  5443. Add descriptions for insert_dword, shift,trap,var_shift_rotate,
  5444. cntlz,exts and var_delayed_compare.
  5445. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
  5446. _ARCH_PWR6X, if features enabled.
  5447. * config/rs6000/rs6000.opt (mmfpgpr): New.
  5448. * config/rs6000/rs6000.c (rs6000_align_branch_targets): New variable.
  5449. (cached_can_issue_more): New variable.
  5450. (processor_costs): Add power6_cost.
  5451. (rs6000_sched_init): New function.
  5452. (is_dispatch_slot_restricted): Deleted.
  5453. (set_to_load_agen): New function.
  5454. (is_load_insn,is_store_insn): New functions.
  5455. (adjacent_mem_locations): New function.
  5456. (insn_must_be_first_in_group): New function.
  5457. (insn_must_be_last_in_group): New function.
  5458. (rs6000_sched_reorder): New function.
  5459. (rs6000_sched_reorder2): New function.
  5460. (TARGET_SCHED_INIT,TARGET_SCHED_REORDER,
  5461. TARGET_SCHED_REORDER2): Define.
  5462. (processor_target_table): Use PROCESSOR_POWER6 for power6.
  5463. Add power6x. Add MASK_MFPGPR for power6x.
  5464. (POWERPC_MASKS): Add MASK_MFPGPR.
  5465. (rs6000_override_options): Set rs6000_always_hint to false
  5466. for power6. Set rs6000_align_branch_targets. Replace
  5467. rs6000_sched_groups check with rs6000_align_branch_targets.
  5468. Use PROCESSOR_POWER6.
  5469. (last_scheduled_insn): New variable.
  5470. (load_store_pendulum): New variable.
  5471. (rs6000_variable_issue): Set last_scheduled_insn and
  5472. cached_can_issue_more.
  5473. (rs6000_adjust_cost): Add power6 cost adjustments.
  5474. (rs6000_adjust_priority): Replace is_dispatch_slot_restricted
  5475. with insn_must_be_first_in_group. Add power6 priority adjustments.
  5476. (rs6000_issue_rate): Add CPU_POWER6.
  5477. (insn_terminates_group_p): Use insn_must_be_{first,last}_in_group.
  5478. * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_POWER6.
  5479. (TARGET_MFPGPR): New.
  5480. (SECONDARY_MEMORY_NEEDED): Use TARGET_MFPGPR.
  5481. (ASM_CPU_SPEC): Add power6x.
  5482. (SECONDARY_MEMORY_NEEDED): Added mode!=DFmode and mode!=DImode
  5483. conditions.
  5484. * config/rs6000/power6.md: New file.
  5485. 2006-11-01 Adam Nemet <anemet@caviumnetworks.com>
  5486. * tree-pretty-print.c (dump_generic_node) <INTEGER_CST>: Use
  5487. HOST_WIDE_INT_PRINT to print high and low parts. Use
  5488. HOST_BITS_PER_WIDE_INT for the width of HOST_WIDE_INT. When
  5489. printing a hexadecimal number prefix it with 0x.
  5490. 2006-11-01 Chris Johns <chris@contemporary.net.au>
  5491. PR bootstrap/28400
  5492. * Makefile.in (install-driver): Use exeext when installing
  5493. $target-gcc-$version.
  5494. 2006-11-01 Douglas Gregor <doug.gregor@gmail.com>
  5495. * c-common.c (flag_cpp0x): New.
  5496. * c-common.h (flag_cpp0x): New.
  5497. * c-cppbuiltin.c (c_cpp_builtins): If C++0x extensions are
  5498. supported, define __GXX_EXPERIMENTAL_CPP0X__.
  5499. * c-opts.c (set_std_cxx0x): New.
  5500. (c_common_handle_option): Handle -std=c++0x, -std=gnu++0x.
  5501. * c.opt (std=c++0x): Document.
  5502. (std=gnu++0x): Ditto.
  5503. * doc/cpp.texi: Document __GXX_EXPERIMENTAL_CPP0X__.
  5504. * doc/invoke.texi: Document -std=c++0x, -std=gnu++0x.
  5505. 2006-11-01 Richard Guenther <rguenther@suse.de>
  5506. * config/i386/i386.c (ix86_expand_rint): Fix issues with
  5507. signed zeros.
  5508. (ix86_expand_floorceildf_32): Likewise.
  5509. (ix86_expand_floorceil): Likewise.
  5510. (ix86_expand_trunc): Likewise.
  5511. 2006-10-31 Andrew Pinski <pinskia@gmail.com>
  5512. * doc/invoke.texi (-fkeep-inline-functions): Change "GNU C"
  5513. to "GNU C89".
  5514. 2006-11-01 Danny Smith <dannysmith@users.sourceforge.net>
  5515. * target.h (targetm.cxx.use_atexit_for_cxa_atexit): New target
  5516. hook.
  5517. * target-def.h: (TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT): Define
  5518. default.
  5519. * config/i386/mingw32.h (TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT):
  5520. Override default.
  5521. * doc/tm.texi (TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT): Document.
  5522. * configure.ac (use_cxa_atexit): As a special case, don't test
  5523. for libc definition of __cxa_atexit on mingw32
  5524. * configure: Regenerate.
  5525. * config.gcc (i[34567]86-pc-mingw32): Default to
  5526. enable__cxa_atexit=yes.
  5527. 2006-11-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5528. * builtins.def (gamma, lgamma): Use ATTR_MATHFN_FPROUNDING_STORE.
  5529. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  5530. PR 23067
  5531. * c-decl.c (start_struct): Don't create self-containing
  5532. structures.
  5533. * config/rs6000/rs6000.c (darwin_rs6000_special_round_type_align):
  5534. New.
  5535. * config/rs6000/rs6000-protos.h
  5536. (darwin_rs6000_special_round_type_align): New.
  5537. * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Rewrite.
  5538. (ROUND_TYPE_ALIGN): Use darwin_rs6000_special_round_type_align.
  5539. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  5540. * toplev.c (compile_file): Call final_write_globals
  5541. even if there have been errors.
  5542. 2006-10-31 Eric Christopher <echristo@apple.com>
  5543. Falk Hueffner <falk@debian.org>
  5544. * doc/extend.texi (__builtin_bswap32): Document.
  5545. (__builtin_bswap64): Ditto.
  5546. * doc/libgcc.texi (bswapsi2): Document.
  5547. (bswapdi2): Ditto.
  5548. * doc/rtl.texi (bswap): Document.
  5549. * optabs.c (expand_unop): Don't widen a bswap.
  5550. (init_optabs): Init bswap. Set libfuncs explicitly
  5551. for bswapsi2 and bswapdi2.
  5552. * optabs.h (OTI_bswap): New.
  5553. (bswap_optab): Ditto.
  5554. * genopinit.c (optabs): Handle bswap_optab.
  5555. * tree.h (tree_index): Add TI_UINT32_TYPE and
  5556. TI_UINT64_TYPE.
  5557. (uint32_type_node): New.
  5558. (uint64_type_node): Ditto.
  5559. * tree.c (build_common_tree_nodes_2): Initialize
  5560. uint32_type_node and uint64_type_node.
  5561. * builtins.c (expand_builtin_bswap): New.
  5562. (expand_builtin): Call.
  5563. (fold_builtin_bswap): New.
  5564. (fold_builtin_1): Call.
  5565. * fold-const.c (tree_expr_nonnegative_p): Return true
  5566. for bswap.
  5567. * builtin-types.def (BT_UINT32): New.
  5568. (BT_UINT64): Ditto.
  5569. (BT_FN_UINT32_UINT32): Ditto.
  5570. (BT_FN_UINT64_UINT64): Ditto.
  5571. * builtins.def (BUILT_IN_BSWAP32): New.
  5572. (BUILT_IN_BSWAP64): Ditto.
  5573. * rtl.def (BSWAP): New.
  5574. * genattrtab.c (check_attr_value): New.
  5575. * libgcc2.c (__bswapSI2): New.
  5576. (__bswapDI2): Ditto.
  5577. * libgcc2.h (__bswapSI2): Declare.
  5578. (__bswapDI2): Ditto.
  5579. * mklibgcc.in (lib2funcs): Add _bswapsi2 and _bswapdi2.
  5580. * simplify-rtx.c (simplify_const_unary_operation): Return
  5581. 0 for BSWAP.
  5582. * libgcc-std.ver (__bwapsi2): Add.
  5583. (__bswapdi2): Ditto.
  5584. * reload1.c (eliminate_regs_1): Add bswap.
  5585. (elimination_effects): Ditto.
  5586. * config/i386/i386.h (x86_bswap): New.
  5587. (TARGET_BSWAP): Use.
  5588. * config/i386/i386.c (x86_bswap): Set.
  5589. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  5590. * coverage.c (coverage_checksum_string): Update comment.
  5591. * dwarf2out.c (switch_to_eh_frame_section): Update for removal
  5592. of get_file_function_name.
  5593. * cgraphunit.c (cgraph_build_static_cdtor): Update for rename
  5594. of get_file_function_name_long.
  5595. * tree.c (get_file_function_name): Rename from
  5596. get_file_function_name_long; improve comment; handle 'I' and 'D'
  5597. specially when the target has ctor/dtor support; remove special
  5598. handling for 'F'.
  5599. (get_file_function_name): Remove.
  5600. * tree.h (get_file_function_name): Rename from
  5601. get_file_function_name_long.
  5602. (get_file_function_name): Remove prototype.
  5603. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  5604. * config/i386/darwin.h (PREFERRED_DEBUGGING_TYPE): Remove.
  5605. * config/darwin.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
  5606. * config/darwin.h (LINK_COMMAND_SPEC): Don't do weird things with -@.
  5607. Call dsymutil when compiling and linking one or more source files
  5608. in one step.
  5609. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  5610. PR 15834
  5611. * config/darwin.h (NO_IMPLICIT_EXTERN_C): Define.
  5612. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  5613. * c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
  5614. inline static functions in c99 mode.
  5615. PR 16622
  5616. * doc/extend.texi (Inline): Update.
  5617. * c-tree.h (struct language_function): Remove field 'extern_inline'.
  5618. * c-decl.c (current_extern_inline): Delete.
  5619. (pop_scope): Adjust test for an undefined nested function.
  5620. Add warning about undeclared inline function.
  5621. (diagnose_mismatched_decls): Update comments. Disallow overriding
  5622. of inline functions in a translation unit in C99. Allow inline
  5623. declarations in C99 at any time.
  5624. (merge_decls): Boolize variables. Handle C99 'extern inline'
  5625. semantics.
  5626. (grokdeclarator): Set DECL_EXTERNAL here for functions. Handle
  5627. C99 inline semantics.
  5628. (start_function): Don't clear current_extern_inline. Don't set
  5629. DECL_EXTERNAL.
  5630. (c_push_function_context): Don't push current_extern_inline.
  5631. (c_pop_function_context): Don't restore current_extern_inline.
  5632. PR 11377
  5633. * c-typeck.c (build_external_ref): Warn about static variables
  5634. used in extern inline functions.
  5635. * c-decl.c (start_decl): Warn about static variables declared
  5636. in extern inline functions.
  5637. 2006-10-31 Roger Sayle <roger@eyesopen.com>
  5638. PR middle-end/23470
  5639. * tree.h (tree_expr_nonnegative_p): Return "bool" instead of "int".
  5640. * fold-const.c (tree_expr_nonnegative_p): Likewise. Consider
  5641. pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
  5642. or y is an even integer.
  5643. 2006-10-31 Eric Botcazou <ebotcazou@libertysurf.fr>
  5644. PR target/24071
  5645. * gthr-posix.h (__gthread_active_p): New implementation on Solaris.
  5646. * gthr-posix95.h (__gthread_active_p): Likewise.
  5647. 2006-10-31 Richard Guenther <rguenther@suse.de>
  5648. * config/i386/i386.md (asindf2, asinsf2, asinxf2, acosdf2,
  5649. acossf2, acosxf2, log1psf2, log1pdf2, log1pxf2, ilogbsi2,
  5650. expsf2, expdf2, expxf2, exp10sf2, exp10df2, exp10xf2,
  5651. exp2sf2, exp2df2, exp2xf2, expm1df2, expm1sf2, expm1xf2,
  5652. ldexpdf3, ldexpsf3, ldexpxf3, rintxf2, rintdf2, rintsf2,
  5653. lround<mode>di2, lround<mode>si2, floorxf2, floordf2, floorsf2,
  5654. lfloor<mode>di2, lfloor<mode>si2, ceilxf2, ceildf2, ceilsf2,
  5655. btruncxf2, btruncdf2, btruncsf2): Conditionalize expansion on
  5656. !optimize_size.
  5657. 2006-10-31 Steven Bosscher <steven@gcc.gnu.org>
  5658. * opts.c (decode_options): Disable CSE skip blocks.
  5659. 2006-10-30 Dirk Mueller <dmueller@suse.de>
  5660. * c-common.h (strict_aliasing_warning): Fix whitespace.
  5661. * c-decl (start_function): Move code for main decl warning ..
  5662. * c-common.c (check_main_parameter_types): .. here.
  5663. * c-common.h (check_main_parameter_types): Declare.
  5664. 2006-10-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5665. PR middle-end/29335
  5666. * builtins.c (fold_builtin_1): Evaluate tgamma using MPFR.
  5667. 2006-10-30 Pete Steinmetz <steinmtz@us.ibm.com>
  5668. * recog.c (store_data_bypass_p): Add support to allow IN_INSN to
  5669. be a PARALLEL containing sets. Return false when out_pat is not
  5670. a PARALLEL insn.
  5671. 2006-10-30 Richard Sandiford <richard@codesourcery.com>
  5672. * config/mips/mips.md (mul<mode>3): Split into...
  5673. (mulsi3, muldi3): ...these separate patterns.
  5674. 2006-10-30 Richard Sandiford <richard@codesourcery.com>
  5675. * config/mips/linux64.h (DRIVER_SELF_SPECS): Use a single spec,
  5676. but with each set of options separated by spaces.
  5677. 2006-10-30 J"orn Rennecke <joern.rennecke@st.com>
  5678. * unwind-dw2.c (uw_init_context_1): Fix test that checks if
  5679. dwarf_reg_size_table has been initialized.
  5680. 2006-10-30 Roger Sayle <roger@eyesopen.com>
  5681. * builtins.c (expand_builtin_mathfn_3): Correct coding style.
  5682. * ddg.c (print_ddg_edge): Likewise.
  5683. * dwarf2out.c (prune_unused_types_walk): Likewise.
  5684. * ifcvt.c (noce_try_cmove_arith): Likewise.
  5685. * langhooks.c (add_builtin_function): Likewise.
  5686. * reg-stack.c (subst_stack_regs_pat): Likewise.
  5687. * tree.c (expanded_location): Likewise.
  5688. * tree-dump.c (dequeue_and_dump): Likewise.
  5689. 2006-10-30 David Daney <ddaney@avtrex.com>
  5690. * config/mips/linux.h (NO_SHARED_SPECS): Correct syntax error.
  5691. 2006-10-30 Jakub Jelinek <jakub@redhat.com>
  5692. PR tree-optimization/29637
  5693. * tree.c (make_vector_type): Don't recurse if TYPE_MAIN_VARIANT
  5694. of the innertype is the innertype itself.
  5695. 2006-10-30 Danny Smith <dannysmith@users.sourceforge.net>
  5696. * dwarf2out.c (file_name_acquire): Correct typo.
  5697. 2006-10-29 Daniel Berlin <dberlin@dberlin.org>
  5698. * tree.h (tree_value_handle): Remove struct value_set declaration.
  5699. Change value_set to bitmap_set.
  5700. * tree-pretty-print.c (dump_generic_node): Use has_stmt_ann.
  5701. * tree-vn.c (get_value_handle): Made inline and moved to
  5702. tree-flow-inline.h.
  5703. * tree-flow-inline.h: (has_stmt_ann): New function.
  5704. * tree-ssa-pre.c (expressions): New variable.
  5705. (next_expression_id): Ditto.
  5706. (alloc_expression_id): New function.
  5707. (struct value_set): Remove.
  5708. (get_expression_id): New function.
  5709. (get_or_alloc_expression_id): Ditto.
  5710. (expression_for_id): Ditto.
  5711. (clear_expression_ids): Ditto.
  5712. (FOR_EACH_EXPR_ID_IN_SET): New macro.
  5713. (bb_value_sets): Renamed to bb_bitmap_sets.
  5714. All value sets replaced with bitmap_sets.
  5715. Add visited member.
  5716. (BB_VISITED): New macro.
  5717. (postorder): New variable.
  5718. (add_to_value): Removed.
  5719. (value_exists_in_set_bitmap): Ditto.
  5720. (value_insert_into_set_bitmap): Ditto.
  5721. (set_new): Ditto.
  5722. (set_copy): Ditto.
  5723. (set_remove): Ditto.
  5724. (set_contains_value): Ditto.
  5725. (insert_into_set): Ditto.
  5726. (set_equal): Ditto.
  5727. (find_leader): Ditto.
  5728. (bitmap_set_subtract_from_value_set): Ditto.
  5729. (value_insert_into_set): Ditto.
  5730. (print_value_set): Ditto.
  5731. (debug_value_set): Ditto.
  5732. (constant_expr_p): New function.
  5733. (bitmap_remove_from_set): Ditto.
  5734. (bitmap_insert_into_set): Ditto.
  5735. (bitmap_set_free): Ditto.
  5736. (vh_compare): Ditto.
  5737. (sorted_array_from_bitmap_set): Ditto.
  5738. (bitmap_set_subtract): Ditto.
  5739. (bitmap_set_equal): Ditto.
  5740. (debug_bitmap_set): Ditto.
  5741. (find_leader_in_sets): Ditto.
  5742. (bitmap_set_replace_value): Modify for bitmapped sets.
  5743. (phi_translate): Ditto.
  5744. (phi_translate_set): Ditto.
  5745. (bitmap_find_leader): Ditto.
  5746. (valid_in_sets): Ditto.
  5747. (union_contains_value): Ditto.
  5748. (clean): Ditto.
  5749. (compute_antic_aux): Ditto. Mark changed blocks.
  5750. (compute_antic): Ditto. Iterate in postorder and only over
  5751. changing blocks.
  5752. (compute_rvuse_and_antic_safe): Reuse postorder.
  5753. (create_component_ref_by_pieces): Modify for bitmapped sets.
  5754. (find_or_generate_expression): Ditto.
  5755. (create_expression_by_pieces): Ditto.
  5756. (insert_into_preds_of_block): Ditto.
  5757. (changed_blocks): New variable.
  5758. (do_regular_insertion): Broken out from insert_aux.
  5759. (insert_aux): Modified for bitmapped sets.
  5760. (find_existing_value_expr): New function.
  5761. (create_value_expr_from): Use it.
  5762. (insert_extra_phis): Removed.
  5763. (print_bitmap_set): Renamed from bitmap_print_value_set.
  5764. (compute_avail): Handle RETURN_EXPR.
  5765. (init_pre): Modify for bitmapped sets.
  5766. * tree-flow.h (has_stmt_ann): New function.
  5767. 2006-10-29 Roger Sayle <roger@eyesopen.com>
  5768. * builtins.c (fold_builtin_floor): Check for the availability of
  5769. the C99 trunc function before transforming floor into trunc.
  5770. 2006-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5771. * builtins.c (fold_builtin_hypot): Rearrange recursive
  5772. transformation before others, and also do ABS_EXPR. When
  5773. necessary, check flag_unsafe_math_optimizations. When necessary,
  5774. add fabs.
  5775. 2006-10-29 Roger Sayle <roger@eyesopen.com>
  5776. * fold-const.c (fold_comparison): Fold ~X op ~Y as Y op X.
  5777. Fold ~X op C as X op' ~C, where op' is the swapped comparison.
  5778. (fold_binary): ~X eq/ne C is now handled in fold_comparison.
  5779. Fold -X eq/ne -Y as X eq/ne Y.
  5780. 2006-10-29 Richard Sandiford <richard@codesourcery.com>
  5781. * config/mips/mips.md (mul<mode>3): Check ISA_HAS_MUL3 rather than
  5782. GENERATE_MULT3_<MODE>. Restrict the test to SImode. Use ISA_HAS_MUL3
  5783. rather than GENERATE_MULT3_SI in the various define_peephole2s.
  5784. (mulsi3_mult3): Depend on ISA_HAS_MUL3 rather than GENERATE_MULT3_SI.
  5785. Use an inclusive test for "mult" rather than "mul".
  5786. (rotr<mode>3): Depend on ISA_HAS_ROR.
  5787. * config/mips/mips.h (GENERATE_MULT3_SI): Delete in favor of
  5788. ISA_HAS_MUL3.
  5789. (GENERATE_MULT3_DI): Delete.
  5790. (ISA_HAS_64BIT_REGS): Use consistent formatting.
  5791. (ISA_HAS_MUL3): New macro.
  5792. (ISA_HAS_CONDMOVE, ISA_HAS_8CC): Use consistent formatting.
  5793. (ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB): Likewise.
  5794. (ISA_HAS_CLZ_CLO): Likewise.
  5795. (ISA_HAS_DCLZ_DCLO): Delete.
  5796. (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC): Require !TARGET_MIPS16.
  5797. (ISA_HAS_MACC): Require !TARGET_MIPS16 for all ISAs, not just
  5798. the VR4120 and VR4130.
  5799. (ISA_HAS_MACCHI): Use consistent formatting.
  5800. (ISA_HAS_ROTR_SI, ISA_HAS_ROTR_DI): Delete in favor of...
  5801. (ISA_HAS_ROR): ...this new macro.
  5802. (ISA_HAS_PREFETCH, ISA_HAS_PREFETCHX): Use consistent formatting.
  5803. (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS): Likewise.
  5804. (ISA_HAS_LOAD_DELAY): Use ISA_MIPS1.
  5805. 2006-10-29 Roger Sayle <roger@eyesopen.com>
  5806. PR tree-optimization/15458
  5807. * fold-const.c (fold_binary): Optimize ~X ^ C as X ^ ~C, where C
  5808. is a constant.
  5809. 2006-10-29 Richard Guenther <rguenther@suse.de>
  5810. * config/i386/i386-protos.h (ix86_expand_trunc): Declare.
  5811. (ix86_expand_truncdf_32): Likewise.
  5812. * config/i386/i386.c (ix86_expand_trunc): New function expanding
  5813. trunc inline for SSE math and -fno-trapping-math and if not
  5814. optimizing for size.
  5815. (ix86_expand_truncdf_32): Same for DFmode on 32bit archs.
  5816. * config/i386/i386.md (btruncsf2, btruncdf2): Adjust expanders
  5817. for expanding btrunc inline for SSE math.
  5818. 2006-10-29 Joseph Myers <joseph@codesourcery.com>
  5819. * config.gcc (i[34567]86-*-linux*): Handle --enable-targets=all.
  5820. Handle tuning for bi-arch i[34567]86-*-linux* like that for
  5821. i[34567]86-*-solaris2.1[0-9]*.
  5822. * config/i386/linux64.h (TARGET_VERSION, MULTILIB_DEFAULTS):
  5823. Define conditionally depending on TARGET_64BIT_DEFAULT.
  5824. (SPEC_32, SPEC_64): Define.
  5825. (LINK_SPEC): Use them.
  5826. * doc/install.texi (--enable-targets=all): Document for x86-linux.
  5827. 2006-10-29 Richard Guenther <rguenther@suse.de>
  5828. * config/i386/i386-protos.h (ix86_expand_round): Declare.
  5829. (ix86_expand_rounddf_32): Likewise.
  5830. * config/i386/i386.c (ix86_expand_round): New function expanding
  5831. round inline for SSE math and -fno-trapping-math and if not
  5832. optimizing for size.
  5833. (ix86_expand_rounddf_32): Same for DFmode on 32bit archs.
  5834. * config/i386/i386.md (rounddf2, roundsf2): New pattern expanding
  5835. round via ix86_expand_round.
  5836. 2006-10-29 Richard Guenther <rguenther@suse.de>
  5837. * config/i386/i386-protos.h (ix86_expand_floorceil): Declare.
  5838. (ix86_expand_floorceildf_32): Likewise.
  5839. * config/i386/i386.c (ix86_expand_sse_compare_mask): New
  5840. static helper function.
  5841. (ix86_expand_floorceil): Expander for floor and ceil to SSE
  5842. math.
  5843. (ix86_expand_floorceildf_32): Same for DFmode on 32bit archs.
  5844. * config/i386/i386.md (floordf2): Adjust to enable floor
  5845. expansion via ix86_expand_floorceil if TARGET_SSE_MATH and
  5846. -fno-trapping-math is enabled and if not optimizing for size.
  5847. (floorsf2, ceildf2, ceilsf2): Likewise.
  5848. * config/i386/sse.md (sse_maskcmpsf3): New insn.
  5849. (sse2_maskcmpdf3): Likewise.
  5850. 2006-10-29 Richard Guenther <rguenther@suse.de>
  5851. * builtins.c (expand_builtin_mathfn): Expand nearbyint as
  5852. rint in case -fno-trapping-math is enabled.
  5853. * config/i386/i386-protos.h (ix86_expand_rint): Declare.
  5854. * config/i386/i386.c (ix86_gen_TWO52): New static helper function.
  5855. (ix86_expand_sse_fabs): Likewise.
  5856. (ix86_expand_rint): New function expanding rint to x87 or SSE math.
  5857. * config/i386/i386.md (rintdf2): Enable for SSE math if
  5858. -fno-trapping-math is enabled, use ix86_expand_rint for expansion.
  5859. (rintsf2): Likewise.
  5860. 2006-10-29 Richard Guenther <rguenther@suse.de>
  5861. * genopinit.c (optabs): Change lfloor_optab and lceil_optab
  5862. to conversion optabs.
  5863. * optabs.c (init_optabs): Initialize lfloor_optab and lceil_optab
  5864. as conversion optab.
  5865. * optabs.h (enum optab_index): Remove OTI_lfloor and OTI_lceil.
  5866. (enum convert_optab_index): Add COI_lfloor and COI_lceil.
  5867. (lfloor_optab, lceil_optab): Adjust defines.
  5868. * builtins.c (expand_builtin_int_roundingfn): Adjust for
  5869. lfloor and lceil optabs now being conversion optabs.
  5870. * config/i386/i386-protos.h (ix86_expand_lfloorceil): Declare.
  5871. * config/i386/i386.c (ix86_expand_sse_compare_and_jump):
  5872. New static helper function.
  5873. (ix86_expand_lfloorceil): New function to expand lfloor and
  5874. lceil inline.
  5875. * config/i386/i386.md (lfloor<mode>2): Split into ...
  5876. (lfloorxf<mode>2): ... x87 variant
  5877. (lfloor<mode>di2, lfloor<mode>si2): ... and SSE variants
  5878. using ix86_expand_lfloorceil.
  5879. (lceil<mode>2, lceilxf<mode>2, lceil<mode>di2, lceil<mode>si2):
  5880. Likewise.
  5881. * doc/md.texi (lfloorMN, lceilMN): Document.
  5882. 2006-10-29 Richard Sandiford <richard@codesourcery.com>
  5883. * configure.ac (HAVE_AS_NO_SHARED): New AC_DEFINE. Test for the
  5884. -mno-shared assembler option on mips targets.
  5885. * configure, config.in: Regenerate.
  5886. * config/mips/linux.h (NO_SHARED_SPECS): New macro.
  5887. (DRIVER_SELF_SPECS): Define to NO_SHARED_SPECS if non-empty.
  5888. * config/mips/linux64.h (DRIVER_SELF_SPECS): Include NO_SHARED_SPECS.
  5889. 2006-10-29 Richard Sandiford <richard@codesourcery.com>
  5890. * config/mips/mips.c (mips_classify_symbol): Test DECL_WEAK as well
  5891. as TREE_PUBLIC when deciding whether to return SYMBOL_GOT_GLOBAL.
  5892. 2006-10-29 Kazu Hirata <kazu@codesourcery.com>
  5893. * config/darwin.c, config/darwin.opt, config/ia64/itanium1.md,
  5894. config/ia64/itanium2.md, real.c, tree-ssa-structalias.c: Fix
  5895. comment typos.
  5896. 2006-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5897. PR middle-end/29335
  5898. * builtins.c (do_mpfr_arg2, fold_builtin_hypot): New.
  5899. (fold_builtin_pow): Evaluate constant arguments at compile-time
  5900. using MPFR.
  5901. (fold_builtin_1): Handle BUILT_IN_ATAN2 and BUILT_IN_HYPOT.
  5902. (do_mpfr_ckconv): New helper function.
  5903. (do_mpfr_arg1): Use do_mpfr_ckconv.
  5904. (do_mpfr_arg2): New.
  5905. 2006-10-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
  5906. PR tree-opt/29271
  5907. * doc/invoke.texi (-fdump-rtl-sched2) Fix file extension number.
  5908. (-fdump-rtl-sched): Rename to ..
  5909. (-fdump-rtl-sched1): here. Also fix file extension number.
  5910. 2006-10-28 Richard Guenther <rguenther@suse.de>
  5911. * fold-const.c (maybe_canonicalize_comparison): Fix code
  5912. to match comment.
  5913. 2006-10-28 Uros Bizjak <uros@kss-loka.si>
  5914. * config/i386/i386.h (GENERAL_REGNO_P): Use STACK_POINTER_REGNUM.
  5915. (NON_QI_REG_P): Use IN_RANGE.
  5916. (REX_INT_REGNO_P): Use IN_RANGE.
  5917. (FP_REGNO_P): Use IN_RANGE.
  5918. (SSE_REGNO_P): Use IN_RANGE.
  5919. (REX_SSE_REGNO_P): Use IN_RANGE.
  5920. (MMX_REGNO_P): Use IN_RANGE.
  5921. (STACK_REGNO_P): New macro.
  5922. (STACK_REG_P): Use STACK_REGNO_P.
  5923. (NON_STACK_REG_P): Use STACK_REGNO_P.
  5924. (REGNO_OK_FOR_INDEX_P): Use REX_INT_REGNO_P.
  5925. (REGNO_OK_FOR_BASE_P): Use GENERAL_REGNO_P.
  5926. (REG_OK_FOR_INDEX_NONSTRICT_P): Use REX_INT_REGNO_P.
  5927. (REG_OK_FOR_BASE_NONSTRICT_P): Use GENERAL_REGNO_P.
  5928. (HARD_REGNO_RENAME_OK): Use !IN_RANGE.
  5929. 2006-10-28 Eric Botcazou <ebotcazou@adacore.com>
  5930. * except.h (output_function_exception_table): Add 'const char*' param.
  5931. * except.c (switch_to_exception_section): Add 'const char*' param.
  5932. If named sections are supported and HAVE_LD_EH_GC_SECTIONS is defined
  5933. and flag_function_sections is set, use a function-specific section.
  5934. (output_function_exception_table): Add 'const char*' param.
  5935. Adjust call to switch_to_exception_section.
  5936. * final.c (rest_of_handle_final): Adjust calls to
  5937. output_function_exception_table.
  5938. * configure.ac (HAVE_LD_EH_GC_SECTIONS): New check.
  5939. * config.in: Regenerate.
  5940. * configure: Likewise.
  5941. 2006-10-28 Richard Guenther <rguenther@suse.de>
  5942. PR middle-end/26899
  5943. * fold-const.c (maybe_canonicalize_comparison_1): Helper
  5944. for maybe_canonicalize_comparison.
  5945. (maybe_canonicalize_comparison): New function for canonicalizing
  5946. comparison trees.
  5947. (fold_comparison): Call it to canonicalize comparisons with
  5948. constants involved.
  5949. 2006-10-28 Richard Guenther <rguenther@suse.de>
  5950. PR target/28806
  5951. * builtins.c (expand_builtin_int_roundingfn_2): Expand
  5952. BUILT_IN_LROUND and BUILT_IN_LLROUND from here.
  5953. (expand_builtin): Adjust likewise.
  5954. * genopinit.c (optabs[]): Add lround optab.
  5955. * optabs.c (init_optabs): Initialize lround_optab.
  5956. * optabs.h (enum convert_optab_index): Add COI_lround.
  5957. (lround_optab): Define.
  5958. * config/i386/i386-protos.h (ix86_expand_lround): Declare.
  5959. * config/i386/i386.c (ix86_sse_copysign_to_positive): New
  5960. static function.
  5961. (ix86_expand_lround): New function.
  5962. * config/i386/i386.md (lround<mode>di2, lround<mode>si2):
  5963. New expanders.
  5964. * doc/md.texi (lroundMN2): Document.
  5965. 2006-10-28 Uros Bizjak <uros@kss-loka.si>
  5966. PR target/29377
  5967. * config/h8300/h8300.c (h8300_emit_stack_adjustment): Change "size"
  5968. argument to HOST_WIDE_INT. Update function prototype.
  5969. (round_frame_size): Change return type to HOST_WIDE_INT. Change
  5970. "size" argument to HOST_WIDE_INT. Update function prototype.
  5971. 2006-10-28 Uros Bizjak <uros@kss-loka.si>
  5972. * config/i386/i386.c (output_387_ffreep): Create output from a
  5973. template string for !HAVE_AS_IX86_FFREEP.
  5974. 2006-10-27 Eric Christopher <echristo@apple.com>
  5975. * config/darwin.c: Fix formatting and grammar.
  5976. 2006-10-27 Jan Hubicka <jh@suse.cz>
  5977. * builtins.c (fold_builtin): Don't generate NOP_EXPR that is going
  5978. to be thrown away soon when IGNORE is set.
  5979. * tree-ssa-ccp.c (convert_to_gimple_builtin): Add IGNORE argument
  5980. indicating when return value shall not be computed.
  5981. * gimplify.c (internal_get_tmp_var): Avoid random tree sharing.
  5982. 2006-10-27 Vladimir Makarov <vmakarov@redhat.com>
  5983. * config/i386/i386.h (TARGET_GEODE):
  5984. (TARGET_CPU_CPP_BUILTINS): Add code for geode.
  5985. (TARGET_CPU_DEFAULT_geode): New macro.
  5986. (TARGET_CPU_DEFAULT_k6, TARGET_CPU_DEFAULT_k6_2,
  5987. TARGET_CPU_DEFAULT_k6_3, TARGET_CPU_DEFAULT_athlon,
  5988. TARGET_CPU_DEFAULT_athlon_sse, TARGET_CPU_DEFAULT_k8,
  5989. TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_prescott,
  5990. TARGET_CPU_DEFAULT_nocona, TARGET_CPU_DEFAULT_generic): Increase
  5991. the macro values.
  5992. (TARGET_CPU_DEFAULT_NAMES): Add geode.
  5993. (processor_type): Add PROCESSOR_GEODE.
  5994. * config/i386/i386.md: Include geode.md.
  5995. (cpu): Add geode.
  5996. * config/i386/i386.c (geode_cost): New initialized global
  5997. variable.
  5998. (m_GEODE, m_K6_GEODE): New macros.
  5999. (x86_use_leave, x86_push_memory, x86_deep_branch, x86_use_sahf,
  6000. x86_use_himode_fiop, x86_promote_QImode, x86_add_esp_4,
  6001. x86_add_esp_8, x86_rep_movl_optimal, x86_ext_80387_constants,
  6002. x86_schedule): Use m_K6_GEODE instead of m_K6.
  6003. (x86_movx, x86_cmove): Set up m_GEODE.
  6004. (x86_integer_DFmode_moves): Clear m_GEODE.
  6005. (processor_target_table): Add entry for geode.
  6006. (processor_alias_table): Ditto.
  6007. * config/i386/geode.md: New file.
  6008. * doc/invoke.texi: Add entry about geode processor.
  6009. 2006-10-27 Mike Stump <mrs@apple.com>
  6010. * config/darwin-c.c (darwin_cpp_builtins): Move __STATIC__ and
  6011. __DYNAMIC__ from here back to ...
  6012. * config/darwin.h (CPP_SPEC): ... here.
  6013. 2006-10-26 Nathan Froyd <froydnj@codesourcery.com>
  6014. Nathan Sidwell <nathan@codesourcery.com>
  6015. * ggc-common.c (ggc_min_heapsize_heuristic): Be more conservative
  6016. when choosing the minimum heapsize.
  6017. 2006-10-26 Nathan Froyd <froydnj@codesourcery.com>
  6018. * gcc/unwind-dw2.h: Move cfa-related variables into
  6019. struct frame_state_reg_info to ensure that the CFA is properly
  6020. handled when executing DW_CFA_{remember,restore}_state.
  6021. * gcc/unwind-dw2.c, gcc/config/alpha/linux-unwind.h,
  6022. gcc/config/alpha/vms-unwind.h, gcc/config/s390/tpf-unwind.h
  6023. gcc/config/s390/linux-unwind.h, gcc/config/sparc/linux-unwind.h
  6024. gcc/config/i386/linux-unwind.h, gcc/config/sh/linux-unwind.h
  6025. gcc/config/rs6000/linux-unwind.h,
  6026. gcc/config/rs6000/darwin-fallback.c, gcc/config/pa/linux-unwind.h,
  6027. gcc/config/pa/hpux-unwind.h, gcc/config/mips/linux-unwind.h:
  6028. Modify to use new cfa_* fields.
  6029. 2006-10-26 Andreas Krebbel <krebbel1@de.ibm.com>
  6030. * config/s390/s390.c (s390_init_frame_layout): Check positive
  6031. frame_size.
  6032. 2006-10-26 Ben Elliston <bje@au.ibm.com>
  6033. * gimplify.c (get_name): Remove extraneous break.
  6034. (gimplify_omp_for): Initialise ret with GS_OK.
  6035. 2006-10-25 Steve Ellcey <sje@cup.hp.com>
  6036. * config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.
  6037. Add unix98.o to link line.
  6038. 2006-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6039. PR middle-end/29335
  6040. * builtins.c (fold_builtin_cbrt, fold_builtin_logarithm):
  6041. Calculate compile-time constants using MPFR.
  6042. (fold_builtin_1): Likewise handle BUILT_IN_ERF, BUILT_IN_ERFC,
  6043. BUILT_IN_EXPM1 and BUILT_IN_LOG1P.
  6044. 2006-10-25 Bob Wilson <bob.wilson@acm.org>
  6045. * config/xtensa/lib2funcs.S: Use C-style comments.
  6046. 2006-10-24 Nathan Froyd <froydnj@codesourcery.com>
  6047. * dwarf2out.c (gen_compile_unit_die): Use IS_ABSOLUTE_PATH.
  6048. (file_table_relative_p): Likewise.
  6049. (dwarf2out_finish): Likewise.
  6050. (file_name_acquire): Use DIR_SEPARATOR and DIR_SEPARATOR_2.
  6051. 2006-10-25 Daniel Berlin <dberlin@dberlin.org>
  6052. * tree-ssa-structalias.c (intra_create_variable_infos):
  6053. Don't recreate nonlocal_all if it already exists.
  6054. 2006-10-25 Richard Guenther <rguenther@suse.de>
  6055. PR target/28803
  6056. * optabs.h (enum optab_index): Remove OTI_lrint.
  6057. (enum convert_optab_index): Add COI_lrint.
  6058. (lrint_optab): Adjust.
  6059. (expand_sfix_optab): Declare.
  6060. * optabs.c (expand_sfix_optab): New function.
  6061. (init_optabs): Init lrint_optab as conversion optab.
  6062. * genopinit.c (lrint_optab): Change to a conversion optab.
  6063. * builtins.c (expand_builtin_int_roundingfn_2): Adjust to
  6064. expansion via conversion optab.
  6065. * config/i386/i386.md (*fistdi2_1): Remove
  6066. flag_unsafe_math_optimizations guard.
  6067. (fistdi2, fistdi2_with_temp, *fist<mode>2_1, fist<mode>2,
  6068. fist<mode>2_with_temp): Likewise.
  6069. (lrint<mode>2): Split into...
  6070. (lrintxf<mode>2): ... x87 part
  6071. (lrint<mode>di2, lrint<mode>si2): ... and SSE parts.
  6072. * config/i386/sse.md (sse_cvtss2si_2, sse_cvtss2_siq_2,
  6073. sse2_cvtsd2si_2, sse2_cvtsd2siq_2): New insns for
  6074. UNSPEC_FIX_NOTRUNC matching non-vector float modes.
  6075. * doc/md.texi (lrintMN2): Document.
  6076. 2006-10-25 Uros Bizjak <uros@kss-loka.si>
  6077. PR target/28909
  6078. * config/i386/sync.md ("sync_add<mode>", "sync_sub<mode>"):
  6079. Use inc and dec instructions for TARGET_USE_INCDEC.
  6080. ("*sync_compare_and_swap<mode>"): Fix -masm=intel template.
  6081. ("sync_double_compare_and_swap<mode>"): Likewise.
  6082. ("*sync_double_compare_and_swapdi_pic"): Likewise.
  6083. ("*sync_compare_and_swap_cc<mode>"): Likewise.
  6084. ("sync_double_compare_and_swap_cc<mode>"): Likewise.
  6085. ("*sync_double_compare_and_swap_ccdi_pic"): Likewise.
  6086. ("sync_old_add<mode>"): Likewise.
  6087. ("sync_lock_test_and_set<mode>"): Likewise.
  6088. ("sync_lock_test_and_set<mode>"): Likewise.
  6089. ("sync_add<mode>"): Likewise.
  6090. ("sync_sub<mode>"): Likewise.
  6091. ("sync_ior<mode>"): Likewise.
  6092. ("sync_and<mode>"): Likewise.
  6093. ("sync_xor<mode>"): Likewise.
  6094. 2006-10-25 Uros Bizjak <uros@kss-loka.si>
  6095. * optabs.h (enum optab_index): Rename OTI_drem to OTI_remainder.
  6096. (remainder_optab): Define corresponding macro.
  6097. (drem_optab): Remove.
  6098. * optabs.c (init_optabs): Initialize remainder_optab. Remove
  6099. drem_optab initialization.
  6100. * genopinit.c (optabs): Implement remainder_optab using
  6101. remainder?f3 patterns. Remove drem_optab.
  6102. * builtins.c (expand_builtin_mathfn_2): Handle
  6103. BUILT_IN_REMAINDER{,F,L} using remainder_optab.
  6104. (expand_builtin): Expand BUILT_IN_REMAINDER{,F,L} using
  6105. expand_builtin_mathfn_2.
  6106. (expand_builtin) [BUILT_IN_FMOD, BUILT_IN_DREM]: Do not
  6107. depend on flag_unsafe_math_optimizations.
  6108. * config/i386/i386.md ("remaindersf3", "remainderdf3")
  6109. ("remainderxf3"): Renamed from "drem{s,d,x}f3" expanders.
  6110. Do not depend on flag_unsafe_math_optimizations. Use
  6111. truncxf?f expander instead of truncxf?f_i387_noop.
  6112. ("fpremxf4", "fprem1xf4"): Do not depend on
  6113. flag_unsafe_math_optimizations.
  6114. ("fmodsf3", "fmoddf3", "fmodxf3"): Do not depend on
  6115. flag_unsafe_math_optimizations. Use truncxf?f expander
  6116. instead of truncxf?f_i387_noop.
  6117. * doc/md.texi (fmod, remainder): Document standard named pattern.
  6118. 2006-10-24 Richard Sandiford <richard@codesourcery.com>
  6119. David Daney <ddaney@avtrex.com>
  6120. PR middle-end/29519
  6121. * rtlanal.c (nonzero_address_p): Remove check for values wrapping.
  6122. 2006-10-25 Ben Elliston <bje@au.ibm.com>
  6123. * doc/extend.texi (Variable Attributes): Typo fix.
  6124. 2006-10-24 Uros Bizjak <uros@kss-loka.si>
  6125. * config/i386/i386.h (FIRST_PSEUDO_REGISTER): Define to 54.
  6126. (FIXED_REGISTERS, CALL_USED_REGISTERS): Add fpcr register.
  6127. (REG_ALLOC_ORDER): Add one element to allocate fpcr register.
  6128. (FRAME_POINTER_REGNUM): Update register number to 21.
  6129. (REG_CLASS_CONTENTS): Update contents for added fpcr register.
  6130. (HI_REGISTER_NAMES): Add "fpcr" for fpcr register.
  6131. * config/i386/i386.c (regclass_map): Add fpcr entry.
  6132. (dbx_register_map, dbx64_register_map, svr4_dbx_register_map):
  6133. Add fpcr entry.
  6134. (print_reg): Assert REGNO (x) != FPCR_REG.
  6135. * config/i386/i386.md (FPCR_REG, R11_REG): New constants.
  6136. (DIRFLAG_REG): Renumber.
  6137. (x86_fnstcw_1, x86_fldcw_1): Use FPCR_REG instead of FPSR_REG.
  6138. (*sibcall_1_rex64_v, *sibcall_value_1_rex64_v): Use R11_REG.
  6139. (sse_prologue_save, *sse_prologue_save_insn): Renumber
  6140. hardcoded SSE register numbers.
  6141. * config/i386/mmx.md (mmx_emms, mmx_femms): Renumber
  6142. hardcoded MMX register numbers.
  6143. 2006-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6144. PR middle-end/29335
  6145. * builtins.c (fold_builtin_sin, fold_builtin_atan): Remove.
  6146. (do_mpfr_arg1): Add `min', `max' and `inclusive' arguments.
  6147. Update all callers.
  6148. (BUILT_IN_SIN, BUILT_IN_ATAN): Handle in main switch.
  6149. (BUILT_IN_ASIN, BUILT_IN_ACOS, BUILT_IN_ATAN, BUILT_IN_ASINH,
  6150. BUILT_IN_ACOSH, BUILT_IN_ATANH, BUILT_IN_SINH, BUILT_IN_COSH,
  6151. BUILT_IN_TANH): Calculate compile-time arguments using MPFR.
  6152. 2006-10-24 Richard Guenther <rguenther@suse.de>
  6153. PR middle-end/28796
  6154. * builtins.c (fold_builtin_classify): Use HONOR_INFINITIES
  6155. and HONOR_NANS instead of MODE_HAS_INFINITIES and MODE_HAS_NANS
  6156. for deciding optimizations in consistency with fold-const.c
  6157. (fold_builtin_unordered_cmp): Likewise.
  6158. 2006-10-24 Richard Guenther <rguenther@suse.de>
  6159. * builtins.c (fold_builtin_floor): Fold floor (x) where
  6160. x is nonnegative to trunc (x).
  6161. (fold_builtin_int_roundingfn): Fold lfloor (x) where x is
  6162. nonnegative to FIX_TRUNC_EXPR.
  6163. 2006-10-24 Richard Guenther <rguenther@suse.de>
  6164. PR tree-optimization/29567
  6165. * tree-vrp.c (register_edge_assert_for_1): Fix wrong logic
  6166. for TRUTH_NOT_EXPR. Clarify comments.
  6167. 2006-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6168. PR middle-end/29335
  6169. * builtins.c (fold_builtin_exponent): Evaluate constant arguments
  6170. at compile-time using MPFR. Change parameter VALUE to FUNC,
  6171. update all callers.
  6172. (do_mpfr_arg1): Rename `exact' to `inexact'. Carefully check
  6173. for overflow and underflow at all times and avoid folding in
  6174. those cases.
  6175. 2006-10-24 Ben Elliston <bje@au.ibm.com>
  6176. * reload1.c: Formatting fixes.
  6177. 2006-10-23 Zdenek Dvorak <dvorakz@suse.cz>
  6178. PR tree-optimization/14784
  6179. * tree-flow.h (struct var_ann_d): Add is_heapvar bit.
  6180. * tree-ssa-structalias.c (get_constraint_for,
  6181. intra_create_variable_infos): Set is_heapvar.
  6182. * tree-ssa-operands.c (access_can_touch_variable): Do not handle
  6183. non-heapvar pointer variables specially.
  6184. 2006-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6185. PR middle-end/29335
  6186. * builtins.c (fold_builtin_sin, fold_builtin_cos,
  6187. fold_builtin_tan): Fold all constant arguments. Take a "type"
  6188. argument as necessary.
  6189. (do_mpfr_arg1): New.
  6190. * real.c, real.h (real_from_mpfr, mpfr_from_real): New.
  6191. 2006-10-23 Bob Wilson <bob.wilson@acm.org>
  6192. * config/xtensa/lib1funcs.asm: Use C-style comments.
  6193. 2006-10-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
  6194. * tree.c (local_define_builtin): Replace calls to
  6195. lang_hooks.builtin_function with add_builtin_function.
  6196. * c-objc-common.h (LANG_HOOKS_BUILTIN_FUNCTION): Define as
  6197. c_builtin_function.
  6198. * c-tree.h (builtin_function): Rename to c_builtin_function. Change
  6199. the signature.
  6200. * c-decl.c (builtin_function): Rename to c_builtin_function. Move
  6201. common code to add_builtin_function.
  6202. * langhooks.c (add_builtin_function): New function.
  6203. (lhd_builtin_function): New function.
  6204. * langhooks.h (struct lang_hooks): Change the signature of
  6205. builtin_function.
  6206. (add_builtin_function): New function.
  6207. * tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Replace
  6208. calls to lang_hooks.builtin_function with add_builtin_function.
  6209. * c-common.c (decl_builtin_1): Replace calls to
  6210. lang_hooks.builtin_function with add_builtin_function.
  6211. * config/alpha/alpha.c (alpha_init_builtins): Replace calls to
  6212. lang_hooks.builtin_function with add_builtin_function.
  6213. * config/frv/frv.c (def_builtin): Replace calls to
  6214. lang_hooks.builtin_function with add_builtin_function.
  6215. * config/s390/s390.c (s390_init_builtins): Replace calls to
  6216. lang_hooks.builtin_function with add_builtin_function.
  6217. * config/sparc/sparc.c (def_builtin): Replace calls to
  6218. lang_hooks.builtin_function with add_builtin_function.
  6219. * config/i386/i386.c (def_builtin): Replace calls to
  6220. lang_hooks.builtin_function with add_builtin_function.
  6221. * config/sh/sh.c (sh_media_init_builtins): Replace calls to
  6222. lang_hooks.builtin_function with add_builtin_function.
  6223. * config/c4x/c4x.c (c4x_init_builtins): Replace calls to
  6224. lang_hooks.builtin_function with add_builtin_function.
  6225. * config/stormy16/stormy16.c (xstormy16_init_builtins):
  6226. Replace calls to lang_hooks.builtin_function with
  6227. add_builtin_function.
  6228. * config/iq2000/iq2000.c (def_builtin):
  6229. Replace calls to lang_hooks.builtin_function with
  6230. add_builtin_function.
  6231. * config/ia64/ia64.c (def_builtin): Replace calls to
  6232. lang_hooks.builtin_function with add_builtin_function.
  6233. * config/rs6000/rs6000.c (def_builtin): Replace calls to
  6234. lang_hooks.builtin_function with add_builtin_function.
  6235. (altivec_init_builtins): Replace calls to
  6236. lang_hooks.builtin_function with add_builtin_function.
  6237. * config/arm/arm.c (def_mbuiltin): Replace calls to
  6238. lang_hooks.builtin_function with add_builtin_function.
  6239. (arm_init_tls_builtins): Replace calls to
  6240. lang_hooks.builtin_function with add_builtin_function.
  6241. * config/mips/mips.c (mips_init_builtins): Replace calls to
  6242. lang_hooks.builtin_function with add_builtin_function.
  6243. * config/bfin/bfin.c (def_builtin): Replace calls to
  6244. lang_hooks.builtin_function with add_builtin_function.
  6245. * langhooks-def.h (lhd_builtin_function): New function.
  6246. (LANG_HOOKS_BUILTIN_FUNCTION): Define as lhd_builtin_function.
  6247. 2006-10-23 Jakub Jelinek <jakub@redhat.com>
  6248. * builtins.c (expand_builtin, maybe_emit_chk_warning): Handle
  6249. BUILT_IN_STRNCAT_CHK.
  6250. 2006-10-23 Jan Hubicka <jh@suse.cz>
  6251. * builtins.c (expand_builtin_memmove): Remove ORIG_EXP argument;
  6252. don't do conversion from memmove to memcpy here.
  6253. (expand_builtin_bcopy, expand_builtin): Update call of
  6254. expand_builtin_memmove.
  6255. (fold_builtin_memory_op): Do folding of memmove to memcpy here.
  6256. 2006-10-23 Paul Brook <paul@codesourcery.com>
  6257. * stor-layout.c (start_record_layout): maximum_field_alignment
  6258. overrides STRUCTURE_SIZE_BOUNDARY.
  6259. 2006-10-23 Ulrich Weigand <uweigand@de.ibm.com>
  6260. * config/s390/predicates.md ("bras_sym_operand"): Do not accept
  6261. nonlocal function symbols if flag_pic.
  6262. 2006-10-23 Richard Guenther <rguenther@suse.de>
  6263. PR middle-end/27132
  6264. PR middle-end/23295
  6265. * builtins.c (fold_binary): Remove checks for flag_wrapv
  6266. and flag_trapv where negate_expr_p covers these cases.
  6267. 2006-10-23 Richard Guenther <rguenther@suse.de>
  6268. PR middle-end/29548
  6269. * fold-const.c (fold_plusminus_mult_expr): Check exact power
  6270. of two on the absolute value.
  6271. (fold_binary): Fold x * -C to -x * C if x is easily negatable
  6272. and negating -C does not overflow.
  6273. 2006-10-23 Richard Guenther <rguenther@suse.de>
  6274. PR middle-end/21032
  6275. * convert.c (convert_to_real): Fold (float)-x to -(float)x
  6276. only if not flag_rounding_math.
  6277. 2006-10-22 Richard Sandiford <richard@codesourcery.com>
  6278. Kaz Kojima <kkojima@gcc.gnu.org>
  6279. PR target/28232
  6280. * config/sh/sh.c (expand_block_move): Use a BLKmode rather than
  6281. SImode memory reference for the source of a movua.
  6282. * config/sh/sh.md (UNSPEC_MOVUA): New macro.
  6283. (movua): Use an unspec instead of sign_extract. Expect the source
  6284. to have mode BLKmode.
  6285. (extv, insv): Use a BLKmode rather than SImode memory reference
  6286. for the source of a movua.
  6287. 2006-10-22 Jeff Law <law@redhat.com>
  6288. Richard Guenther <rguenther@suse.de>
  6289. PR tree-optimization/15911
  6290. * tree-vrp.c (extract_code_and_val_from_cond): New function.
  6291. (register_edge_assert_for_1): Likewise.
  6292. (register_edge_assert_for): Handle &&/&/||/| in conditionals.
  6293. (find_conditional_asserts): Adjust for new function signature.
  6294. (find_assert_locations): Likewise.
  6295. 2006-10-22 H.J. Lu <hongjiu.lu@intel.com>
  6296. * config/i386/tmmintrin.h: Remove the duplicated content.
  6297. 2006-10-22 H.J. Lu <hongjiu.lu@intel.com>
  6298. * config.gcc (i[34567]86-*-*): Add tmmintrin.h to extra_headers.
  6299. (x86_64-*-*): Likewise.
  6300. * config/i386/i386.c (pta_flags): Add PTA_SSSE3.
  6301. (override_options): Check SSSE3.
  6302. (ix86_builtins): Add IX86_BUILTIN_PHADDW, IX86_BUILTIN_PHADDD,
  6303. IX86_BUILTIN_PHADDSW, IX86_BUILTIN_PHSUBW, IX86_BUILTIN_PHSUBD,
  6304. IX86_BUILTIN_PHSUBSW, IX86_BUILTIN_PMADDUBSW,
  6305. IX86_BUILTIN_PMULHRSW, IX86_BUILTIN_PSHUFB,
  6306. IX86_BUILTIN_PSIGNB, IX86_BUILTIN_PSIGNW, IX86_BUILTIN_PSIGND,
  6307. IX86_BUILTIN_PALIGNR, IX86_BUILTIN_PABSB, IX86_BUILTIN_PABSW,
  6308. IX86_BUILTIN_PABSD, IX86_BUILTIN_PHADDW128,
  6309. IX86_BUILTIN_PHADDD128, IX86_BUILTIN_PHADDSW128,
  6310. IX86_BUILTIN_PHSUBW128, IX86_BUILTIN_PHSUBD128,
  6311. IX86_BUILTIN_PHSUBSW128, IX86_BUILTIN_PMADDUBSW128,
  6312. IX86_BUILTIN_PMULHRSW128, IX86_BUILTIN_PSHUFB128,
  6313. IX86_BUILTIN_PSIGNB128, IX86_BUILTIN_PSIGNW128,
  6314. IX86_BUILTIN_PSIGND128, IX86_BUILTIN_PALIGNR128,
  6315. IX86_BUILTIN_PABSB128, IX86_BUILTIN_PABSW128 and
  6316. IX86_BUILTIN_PABSD128.
  6317. (bdesc_2arg): Add SSSE3.
  6318. (bdesc_1arg): Likewise.
  6319. (ix86_init_mmx_sse_builtins): Support SSSE3.
  6320. (ix86_expand_builtin): Likewise.
  6321. * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Likewise.
  6322. * config/i386/i386.md (UNSPEC_PSHUFB): New.
  6323. (UNSPEC_PSIGN): Likewise.
  6324. (UNSPEC_PALIGNR): Likewise.
  6325. Include mmx.md before sse.md.
  6326. * config/i386/i386.opt: Add -mssse3.
  6327. * config/i386/sse.md (ssse3_phaddwv8hi3): New pattern for SSSE3.
  6328. (ssse3_phaddwv4hi3): Likewise.
  6329. (ssse3_phadddv4si3): Likewise.
  6330. (ssse3_phadddv2si3): Likewise.
  6331. (ssse3_phaddswv8hi3): Likewise.
  6332. (ssse3_phaddswv4hi3): Likewise.
  6333. (ssse3_phsubwv8hi3): Likewise.
  6334. (ssse3_phsubwv4hi3): Likewise.
  6335. (ssse3_phsubdv4si3): Likewise.
  6336. (ssse3_phsubdv2si3): Likewise.
  6337. (ssse3_phsubswv8hi3): Likewise.
  6338. (ssse3_phsubswv4hi3): Likewise.
  6339. (ssse3_pmaddubswv8hi3): Likewise.
  6340. (ssse3_pmaddubswv4hi3): Likewise.
  6341. (ssse3_pmulhrswv8hi3): Likewise.
  6342. (ssse3_pmulhrswv4hi3): Likewise.
  6343. (ssse3_pshufbv16qi3): Likewise.
  6344. (ssse3_pshufbv8qi3): Likewise.
  6345. (ssse3_psign<mode>3): Likewise.
  6346. (ssse3_psign<mode>3): Likewise.
  6347. (ssse3_palignrti): Likewise.
  6348. (ssse3_palignrdi): Likewise.
  6349. (abs<mode>2): Likewise.
  6350. (abs<mode>2): Likewise.
  6351. * config/i386/tmmintrin.h: New file.
  6352. * doc/extend.texi: Document SSSE3 built-in functions.
  6353. * doc/invoke.texi: Document -mssse3/-mno-ssse3 switches.
  6354. 2006-10-22 Ira Rosen <irar@il.ibm.com>
  6355. * tree-vect-transform.c (vectorizable_load): Use the type of the
  6356. return value of the mask_for_load builtin to create realign_load
  6357. stmt.
  6358. 2006-10-22 Richard Sandiford <richard@codesourcery.com>
  6359. * config/mips/mips.c (mips_split_const): Don't accept bare PLUS
  6360. expressions.
  6361. 2006-10-21 H.J. Lu <hongjiu.lu@intel.com>
  6362. * config/i386/i386.md (UNSPEC_LDQQU): Renamed to ...
  6363. (UNSPEC_LDDQU): This.
  6364. * config/i386/sse.md (sse3_lddqu): Updated.
  6365. 2006-10-21 Richard Guenther <rguenther@suse.de>
  6366. * builtins.c (expand_builtin_int_roundingfn_2): New function.
  6367. (expand_builtin): Use it to expand lrint instead of
  6368. expand_builtin_mathfn.
  6369. 2006-10-21 Uros Bizjak <uros@kss-loka.si>
  6370. PR middle-end/28252
  6371. * builtins.c (fold_builtin): Fold pow(x,1.0/3.0) as cbrt(x) if
  6372. flag_unsafe_math_optimizations is set.
  6373. 2006-10-21 Uros Bizjak <uros@kss-loka.si>
  6374. PR target/19398
  6375. * config/i386/i386.md (fix_trunc?f?i_sse): Add peephole2
  6376. patterns to use memory input operand in x87->mem->XMM
  6377. reload sequences. Skip transformation for TARGET_K8.
  6378. 2006-10-21 Uros Bizjak <uros@kss-loka.si>
  6379. * config/i386/i386.md (extendsfdf2, extendsfxf2, extenddfxf2): Do not
  6380. force operand1 to register if both operands are memory operands.
  6381. (*extendsfdf2_mixed, *extendsfdf2_sse, *extendsfdf2_i387)
  6382. (*extendsfxf2_i387, *extenddfxf2_i387): Do not disable pattern
  6383. if both operands are memory operands.
  6384. (truncdfsf2): Do not force operand1 to register if both operands
  6385. are memory operands.
  6386. 2006-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6387. * Makefile.in (LIBS): Add $(GMPLIBS).
  6388. * doc/install.texi: Update GMP and MPFR requirements.
  6389. * doc/sourcebuild.texi (need_gmp): Delete.
  6390. 2006-10-21 Richard Guenther <rguenther@suse.de>
  6391. PR tree-optimization/3511
  6392. * tree-ssa-pre.c (phi_translate): Fold CALL_EXPRs that
  6393. got new invariant arguments during PHI translation.
  6394. 2006-10-21 Richard Guenther <rguenther@suse.de>
  6395. PR middle-end/26898
  6396. * fold-const.c (fold_comparison): Fold signed comparisons
  6397. of the form X +- C1 CMP Y +- C2.
  6398. 2006-10-21 Richard Guenther <rguenther@suse.de>
  6399. PR target/19116
  6400. * config/i386/i386.c (override_options): Do not set MASK_IEEE_FP
  6401. if flag_unsafe_math_optimizations is specified. We have
  6402. flag_finite_math_only for that.
  6403. * config/i386/i386.md (sqrtxf2): Do not require TARGET_IEEE_FP
  6404. or flag_unsafe_math_optimizations.
  6405. 2006-10-21 Richard Guenther <rguenther@suse.de>
  6406. * builtins.c (fold_builtin_classify): Fix typo.
  6407. 2006-10-21 Richard Guenther <rguenther@suse.de>
  6408. PR middle-end/28796
  6409. * simplify-rtx.c (simplify_const_relational_operation):
  6410. Do not constant-fold ORDERED and UNORDERED for
  6411. flag_unsafe_math_optimizations but only we do not need to
  6412. honor NaNs for the given mode.
  6413. 2006-10-21 Richard Guenther <rguenther@suse.de>
  6414. PR target/29512
  6415. * config/i386/i386.c (classify_argument): Remove redundant
  6416. walking of the BINFOs.
  6417. (contains_128bit_aligned_vector_p): Likewise.
  6418. 2006-10-20 Mark Mitchell <mark@codesourcery.com>
  6419. * BASE-VER: Set to 4.3.0.
  6420. 2006-10-20 Daniel Berlin <dberlin@dberlin.org>
  6421. * tree.h (DECL_PTA_ARTIFICIAL): Remove.
  6422. (tree_decl_with_vis): Remove artificial_pta_var flag.
  6423. * tree-flow.h (referenced_var_check_and_insert): Expose.
  6424. (nonlocal_all): New prototype.
  6425. * tree-ssa-structalias.c (nonlocal_for_type): Remove.
  6426. (nonlocal_all): Make global.
  6427. (nonlocal_lookup): Remove.
  6428. (nonlocal_insert): Ditto.
  6429. (create_nonlocal_var): Do not call nonlocal_insert.
  6430. (get_nonlocal_id_for_type): Remove.
  6431. (find_global_initializers): Mark new vars we find for renaming.
  6432. (intra_create_variable_infos): Only create one nonlocal.
  6433. (expand_nonlocal_solutions): Remove.
  6434. (compute_points_to_sets): Don't call it.
  6435. (ipa_pta_execute): Ditto.
  6436. (init_alias_heapvars): Don't create nonlocal_for_type.
  6437. (delete_alias_heapvars): Don't remove it.
  6438. * tree-ssa-operands.c (access_can_touch_variable): Don't prune
  6439. nonlocal_all.
  6440. 2006-10-19 Brooks Moses <bmoses@stanford.edu>
  6441. * doc/install.texi (Downloading GCC): Clarify mention of
  6442. Fortran in the "full distribution" description.
  6443. 2006-10-19 Daniel Berlin <dberlin@dberlin.org>
  6444. Fix PR tree-optimization/28778
  6445. Fix PR tree-optimization/29156
  6446. Fix PR tree-optimization/29415
  6447. * tree.h (DECL_PTA_ARTIFICIAL): New macro.
  6448. (tree_decl_with_vis): Add artificial_pta_var flag.
  6449. * tree-ssa-alias.c (is_escape_site): Remove alias info argument,
  6450. pushed into callers.
  6451. * tree-ssa-structalias.c (nonlocal_for_type): New variable.
  6452. (nonlocal_all): Ditto.
  6453. (struct variable_info): Add directly_dereferenced member.
  6454. (var_escaped_vars): New variable.
  6455. (escaped_vars_tree): Ditto.
  6456. (escaped_vars_id): Ditto.
  6457. (nonlocal_vars_id): Ditto.
  6458. (new_var_info): Set directly_dereferenced.
  6459. (graph_size): New variable
  6460. (build_constraint_graph): Use graph_size.
  6461. (solve_graph): Don't process constraints that cannot change the
  6462. solution, don't try to propagate an empty solution to our
  6463. successors.
  6464. (process_constraint): Set directly_dereferenced.
  6465. (could_have_pointers): New function.
  6466. (get_constraint_for_component_ref): Don't process STRING_CST.
  6467. (nonlocal_lookup): New function.
  6468. (nonlocal_insert): Ditto.
  6469. (create_nonlocal_var): Ditto.
  6470. (get_nonlocal_id_for_type): Ditto.
  6471. (get_constraint_for): Allow results vector to be empty in the case
  6472. of string constants.
  6473. Handle results of calls properly.
  6474. (update_alias_info): Update alias info stats on number and type of
  6475. calls.
  6476. (find_func_aliases): Use could_have_pointers.
  6477. (make_constraint_from_escaped): Renamed from
  6478. make_constraint_to_anything, and changed to make constraints from
  6479. escape variable.
  6480. (make_constraint_to_escaped): New function.
  6481. (find_global_initializers): Ditto.
  6482. (create_variable_info_for): Make constraint from escaped to any
  6483. global variable, and from any global variable to the set of
  6484. escaped vars.
  6485. (intra_create_variable_infos): Deal with escaped instead of
  6486. pointing to anything.
  6487. (set_uids_in_ptset): Do type pruning on directly dereferenced
  6488. variables.
  6489. (find_what_p_points_to): Adjust call to set_uids_with_ptset.
  6490. (init_base_vars): Fix comment, and initialize escaped_vars.
  6491. (need_to_solve): Removed.
  6492. (find_escape_constraints): New function.
  6493. (expand_nonlocal_solutions): Ditto.
  6494. (compute_points_to_sets): Call find_escape_constraints and
  6495. expand_nonlocal_solutions.
  6496. (delete_points_to_sets): Don't fall off the end of the graph.
  6497. (init_alias_heapvars): Initialize nonlocal_for_type and
  6498. nonlocal_all.
  6499. (delete_alias_heapvars): Free nonlocal_for_type and null out
  6500. nonlocal_all.
  6501. 2006-10-19 Eric Botcazou <ebotcazou@adacore.com>
  6502. * fold-const.c (add_double): Rename to add_double_with_sign.
  6503. Add 'unsigned_p' parameter and take it into account for the overflow.
  6504. (mul_double): Rename to mul_double_with_sign.
  6505. Add 'unsigned_p' parameter and take it into account for the overflow.
  6506. (fold_div_compare): Call add_double_with_sign instead of add_double
  6507. and mul_double_with_sign instead of mul_double, passing them the
  6508. unsignedness of the type.
  6509. * tree.h (add_double): Macroize.
  6510. (add_double_with_sign): New prototype.
  6511. (mul_double): Macroize.
  6512. (mul_double_with_sign): New prototype.
  6513. 2006-10-19 Chen Liqin <liqin@sunnorth.com.cn>
  6514. * config/score/crti.asm: New file.
  6515. * config/score/crtn.asm: New file.
  6516. * config/score/elf.h: New file.
  6517. * config/score/mac.md: New file.
  6518. * config/score/misc.md: New file.
  6519. * config/score/mul-div.S: New file.
  6520. * config/score/predicates.md: New file.
  6521. * config/score/score7.md: New file.
  6522. * config/score/score.c: New file.
  6523. * config/score/score-conv.h: New file.
  6524. * config/score/score.h: New file.
  6525. * config/score/score.md: New file.
  6526. * config/score/score-mdaux.c: New file.
  6527. * config/score/score-mdaux.h: New file.
  6528. * config/score/score-modes.def: New file.
  6529. * config/score/score.opt: New file.
  6530. * config/score/score-protos.h: New file.
  6531. * config/score/score-version.h: New file.
  6532. * config/score/t-score-elf: New file.
  6533. * config.gcc: Add score*-*-* configurations(Update before).
  6534. * doc/invoke.texi (Score Options): New section.
  6535. * doc/md.texi (Score family): New section to document constraints.
  6536. 2006-10-19 Nick Clifton <nickc@redhat.com>
  6537. * config/arm/arm.c: Fix spelling typo.
  6538. 2006-10-18 Tom Tromey <tromey@redhat.com>
  6539. * doc/install.texi (Prerequisites): Mention automake 1.9.6.
  6540. 2006-10-18 Jan Hubicka <jh@suse.cz>
  6541. PR middle-end/29299
  6542. * cfgexpand.c (expand_used_vars_for_block): Vars marked used by user
  6543. are used.
  6544. 2006-10-18 Marcin Dalecki <martin@dalecki.de>
  6545. * omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of
  6546. TSI_SAME_STMT, since that's the desired entity.
  6547. 2006-10-17 Wolfgang Gellerich <gellerich@de.ibm.com>
  6548. * config/s390/contraints.md: New file.
  6549. * config/s390/s390-protos.h (s390_mem_constraint,
  6550. s390_O_constraint_str, s390_N_constraint_str,
  6551. s390_float_const_zero_p): Function prototypes added.
  6552. * config/s390/s390.c (s390_extra_constraint_str,
  6553. s390_const_double_ok_for_constraint_p,
  6554. s390_const_ok_for_constraint_p): Functions removed.
  6555. (s390_mem_constraint, s390_O_constraint_str, s390_N_constraint_str,
  6556. s390_float_const_zero_p): New functions.
  6557. * config/s390/s390.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_CONSTRAINT_P,
  6558. CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR,
  6559. EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT, CONSTRAINT_LEN):
  6560. Macro definitions removed.
  6561. (s390_const_ok_for_constraint_p, s390_const_double_ok_for_constraint_p,
  6562. s390_extra_constraint_str): Functions removed.
  6563. 2006-10-17 Andrew Pinsiki <pinskia@gmail.com>
  6564. Richard Sandiford <richard@codesourcery.com>
  6565. PR target/29413
  6566. * config/mips/linux.h (SUBTARGET_CC1_SPEC): Override.
  6567. * config/mips/mips.h (CC1_SPEC): Override any earlier definition.
  6568. 2006-10-16 Geoffrey Keating <geoffk@apple.com>
  6569. * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Move to rs6000.h.
  6570. (DWARF2_FRAME_REG_OUT): Likewise.
  6571. * config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Move from sysv4.h.
  6572. (DWARF2_FRAME_REG_OUT): Likewise.
  6573. 2006-10-17 Paul Brook <paul@codesourcery.com>
  6574. * config/arm/arm.c (arm_rtx_costs_1): Handle multiply-accumulate.
  6575. 2006-10-16 Brooks Moses <bmoses@stanford.edu>
  6576. * doc/contrib.texi, doc/install.texi, doc/standards.texi:
  6577. Standardize on "GNU Fortran" as the official name of the Fortran
  6578. compiler.
  6579. 2006-10-16 Mike Stump <mrs@apple.com>
  6580. * doc/invoke.texi (Darwin Options): Document -mkernel.
  6581. * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
  6582. -mkernel support.
  6583. (C_COMMON_OVERRIDE_OPTIONS): Add -mkernel support. Add
  6584. SUBTARGET_C_COMMON_OVERRIDE_OPTIONS callout.
  6585. (CC1_SPEC): Don't turn on -fPIC when -mkernel is given.
  6586. (OS_MISSING_ALTIVEC): Add.
  6587. * config/i386/i386.c (override_options): Add
  6588. SUBSUBTARGET_OVERRIDE_OPTIONS callout.
  6589. * config/i386/darwin.h (CC1_SPEC): Don't turn on -fPIC when
  6590. -mkernel, -static or -mdynamic-no-pic is given.
  6591. (C_COMMON_OVERRIDE_OPTIONS): Add.
  6592. * config/darwin.opt (fapple-kext): Add.
  6593. (mkernel): Add.
  6594. * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add
  6595. -fapple-kext, -findirect-virtual-calls, -fterminated-vtables and
  6596. -mkernel support.
  6597. (SUBSUBTARGET_OVERRIDE_OPTIONS): Add.
  6598. (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Add.
  6599. (CPP_SPEC): Move defines for __DYNAMIC__ and __STATIC__ from here...
  6600. (SUBTARGET_ATTRIBUTE_TABLE): Add apple_kext_compatibility.
  6601. (TARGET_CXX_CDTOR_RETURNS_THIS): Add.
  6602. (flag_mkernel): Add.
  6603. (flag_apple_kext): Add.
  6604. (TARGET_KEXTABI): Add.
  6605. * config/darwin.c (darwin_handle_kext_attribute): Add.
  6606. (DARWIN_VTABLE_P): Add.
  6607. (darwin_binds_local_p): Add partial support for rebinding vtables
  6608. in kexts.
  6609. (darwin_kextabi_p): Add.
  6610. (darwin_override_options): Add.
  6611. * config/darwin-protos.h (darwin_handle_kext_attribute): Add.
  6612. (darwin_kextabi_p): Add.
  6613. (darwin_override_options): Add.
  6614. * config/darwin-c.c (darwin_cpp_builtins): ... move defines for
  6615. __DYNAMIC__ and __STATIC__ here.
  6616. 2006-10-16 Brooks Moses <bmoses@stanford.edu>
  6617. * doc/sourcebuild.texi, doc/makefile.texi, doc/install.texi:
  6618. Added mention of "make pdf" target, and Texinfo requirements for
  6619. same.
  6620. 2006-10-16 DJ Delorie <dj@redhat.com>
  6621. * config/s390/s390.c (s390_decompose_address): Allow symbol+offset
  6622. into the GOT in case we need a subreg of the address.
  6623. 2006-10-16 Richard Guenther <rguenther@suse.de>
  6624. PR target/25519
  6625. * doc/extend.texi (X86 Built-in Functions): Fix typos in
  6626. SSE builtin documentation. Document SSE2 builtins.
  6627. 2006-10-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  6628. * pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined
  6629. symbol in the output file for non-shared links when -nostdlib or
  6630. -nodefaultlibs isn't specified.
  6631. * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
  6632. posix thread support.
  6633. 2006-10-15 Jan Hubicka <jh@suse.cz>
  6634. PR middle-end/29241
  6635. * cgraphunit.c (cgraph_preserve_function_body_p): Preserve functions
  6636. declared always_inline even when not inlining.
  6637. 2006-10-15 Eric Botcazou <ebotcazou@libertysurf.fr>
  6638. John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  6639. Andrew Pinski <pinskia@gmail.com>
  6640. PR middle-end/29111
  6641. * builtins.c (get_pointer_alignment): Return 0 if TER is not run.
  6642. 2006-10-15 Jan Hubicka <jh@suse.cz>
  6643. Richard Guenther <rguenther@suse.de>
  6644. PR middle-end/29299
  6645. * cgraphunit.c (cgraph_finalize_compilation_unit): Call
  6646. process_function_and_variable_attributes on all variables, including
  6647. those discovered during cgraph construction phase.
  6648. 2006-10-15 Bernhard Fischer <aldot@gcc.gnu.org>
  6649. * final.c: Update Copyright year. Commentary typo fix. Fix whitespace
  6650. 2006-10-14 Uros Bizjak <uros@kss-loka.si>
  6651. * config/i386/athlon.md (athlon_fist): Add fisttp.
  6652. 2006-10-13 David Edelsohn <edelsohn@gnu.org>
  6653. Ian Lance Taylor <ian@airs.com>
  6654. PR middle-end/29250
  6655. * expr.c (expand_expr_real_1) <NON_LVALUE_EXPR, NOP_EXPR,
  6656. CONVERT_EXPR>: Change EXPAND_SUM modifier to EXPAND_NORMAL when
  6657. recursing.
  6658. 2006-10-14 Kazu Hirata <kazu@codesourcery.com>
  6659. * config/score/score.c, config/score/score.h: Fix comment
  6660. typos.
  6661. 2006-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6662. PR bootstrap/29402
  6663. * Makefile.in (ALL_GTFILES_H): Use $(sort ...) instead of
  6664. shell pipeline.
  6665. 2006-10-13 Eric Christopher <echristo@apple.com>
  6666. * config/darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
  6667. 2006-10-13 Carlos O'Donell <carlos@codesourcery.com>
  6668. Revert this change:
  6669. 2006-10-13 Carlos O'Donell <carlos@codesourcery.com>
  6670. * config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest
  6671. alignment supported by 32-bit ELF.
  6672. 2006-10-13 Eric Christopher <echristo@apple.com>
  6673. * config/darwin.c (darwin_emit_unwind_label): Strip
  6674. name encoding. Use DECL_ASSEMBLER_NAME_SET_P.
  6675. 2006-10-13 Richard Guenther <rguenther@suse.de>
  6676. PR tree-optimization/29446
  6677. * tree-vrp.c (fix_equivalence_set): Remove.
  6678. (extract_range_from_assert): Do not call fix_equivalence_set.
  6679. (debug_value_range): Print a newline.
  6680. (compare_name_with_value): For equivalence sets with
  6681. inconsistent value ranges conservatively bail out.
  6682. (compare_names): Likewise.
  6683. 2006-10-13 David Edelsohn <edelsohn@gnu.org>
  6684. * doc/install.texi (*-ibm-aix*): Add comment about 32-bit GMP
  6685. and MPFR for gfortran.
  6686. 2006-10-13 Carlos O'Donell <carlos@codesourcery.com>
  6687. * config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest
  6688. alignment supported by 32-bit ELF.
  6689. 2006-10-13 Paolo Bonzini <bonzini@gnu.org>
  6690. PR c/29092
  6691. * c-typeck.c (digest_init): Always allow initializing vectors
  6692. that have static storage duration with compound literals.
  6693. * tree.c (build_type_attribute_qual_variant): New, based on
  6694. build_type_attribute_variant.
  6695. (build_type_attribute_variant): Rewrite using the former.
  6696. (make_vector_type): Use build_type_attribute_qual_variant to build
  6697. type variants. Use type_hash_canon on the others.
  6698. 2006-10-13 Daniel Berlin <dberlin@dberlin.org>
  6699. Ramana Radhakrishnan <ramana.radhakrishnan@celunite.com>
  6700. * tree-flow-inline.h (zero_ssa_operands): Fix comment.
  6701. 2006-10-12 Jan Hubicka <jh@suse.cz>
  6702. PR c/28419
  6703. * c-decl.c (c_make_fname_decl): Do not segfault in case where
  6704. current_function_decl is set but current_function_scope is not.
  6705. 2006-10-12 Jie Zhang <jie.zhang@analog.com>
  6706. * config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
  6707. emit_insn to emit eh_return_internal instruction.
  6708. (eh_return_internal): Explicitly set pc.
  6709. 2006-10-11 Richard Guenther <rguenther@suse.de>
  6710. PR tree-optimization/28230
  6711. * tree-vrp.c (vrp_int_const_binop): Move flag_wrapv handling
  6712. to the correct place.
  6713. 2006-10-11 Richard Guenther <rguenther@suse.de>
  6714. PR inline-asm/29119
  6715. * gimplify.c (gimplify_asm_expr): Mark the gimplified lvalue
  6716. addressable.
  6717. 2006-10-10 Brooks Moses <bmoses@stanford.edu>
  6718. * configure.ac: Added pdf to "Make-hooks"
  6719. * Makefile.in: Added TEXI2PDF definition, and various pdf-file
  6720. targets and *.pdf file patterns in cleanup targets.
  6721. * configure: Regenerated.
  6722. 2006-10-10 Anatoly Sokolov <aesok@post.ru>
  6723. * config/avr/predicates.md: New file.
  6724. * config/avr/avr.md: Include it.
  6725. (REG_SP): New constant.
  6726. (peepholes): Use predicates.
  6727. (sbrx_branch, sbrx_and_branchhi, sbrx_and_branchsi, branch, rvbranch,
  6728. difficult_branch, difficult_rvbranch, cbi, sbi, sbix_branch,
  6729. sbix_branch_bit7, sbix_branch_tmp, sbix_branch_tmp_bit7): Ditto.
  6730. 2006-10-10 Adam Nemet <anemet@caviumnetworks.com>
  6731. * config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to
  6732. avoid alias set 0.
  6733. 2006-10-10 Jakub Jelinek <jakub@redhat.com>
  6734. PR middle-end/29272
  6735. * builtins.c (var_decl_component_p): New function.
  6736. (fold_builtin_memset, fold_builtin_memory_op): Restrict
  6737. single entry optimization to variables and components thereof.
  6738. 2006-10-10 Richard Guenther <rguenther@suse.de>
  6739. PR rtl-optimization/29323
  6740. * except.c (set_nothrow_function_flags): For functions
  6741. that do not bind local bail out early.
  6742. 2006-10-10 Ben Elliston <bje@au.ibm.com>
  6743. * doc/invoke.texi (RS/6000 and PowerPC Options): Add -m to the
  6744. -mdlmzb option.
  6745. 2006-10-09 Richard Henderson <rth@redhat.com>
  6746. Revert emutls patch.
  6747. 2006-10-09 Richard Guenther <rguenther@suse.de>
  6748. PR middle-end/29254
  6749. * cgraphunit.c (verify_cgraph_node): Bail out on earlier
  6750. errors.
  6751. 2006-10-09 Steve Ellcey <sje@cup.hp.com>
  6752. PR target/27880
  6753. * unwind-c.c (PERSONALITY_FUNCTION): Ifdef use of _Unwind_GetIPInfo.
  6754. * configure.ac (HAVE_GETIPINFO): Check for _Unwind_GetIPInfo.
  6755. * configure: Regenerate.
  6756. * config.in: Regenerate.
  6757. 2006-10-09 Aldy Hernandez <aldyh@redhat.com>
  6758. * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
  6759. 2006-10-08 Richard Sandiford <richard@codesourcery.com>
  6760. * config/mips/mips.c (mips_legitimize_tls_address): Implement
  6761. all TLS models in the same way as local exec if !TARGET_ABICALLS.
  6762. Remove stray newline.
  6763. 2006-10-08 Richard Sandiford <richard@codesourcery.com>
  6764. * config/mips/mips.c (mips_classify_symbol): Do not return
  6765. SYMBOL_SMALL_DATA if SYMBOL_REF_WEAK.
  6766. (mips_in_small_data_p): Tweak comments.
  6767. 2006-10-08 Richard Sandiford <richard@codesourcery.com>
  6768. * config/mips/elf.h (HANDLE_PRAGMA_PUSH_POP): Define.
  6769. 2006-10-07 Kazu Hirata <kazu@codesourcery.com>
  6770. * gimplify.c, sched-int.h: Fix comment typos.
  6771. * sched-int.h: Fix comment typos.
  6772. 2006-10-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  6773. * sched-int.h (IS_SPECULATION_CHECK_P, IS_SPECULATION_SIMPLE_CHECK_P):
  6774. New macros.
  6775. * sched-ebb.c (begin_schedule_ready): Use them.
  6776. * haifa-sched.c (schedule_insn, move_insn, try_ready,
  6777. add_to_speculative_block, create_check_block_twin, speculate_insn,
  6778. fix_jump_move, move_block_after_check): Ditto.
  6779. * sched-rgn.c (new_ready): Ditto.
  6780. 2006-10-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  6781. PR rtl-optimization/29128
  6782. * sched-int.h (IS_SPECULATION_BRANCHY_CHECK_P): New macro.
  6783. * sched-ebb.c (advance_target_bb): Use it to fix condition to
  6784. allow interblock movement of speculation checks.
  6785. 2006-10-06 Zdenek Dvorak <dvorakz@suse.cz>
  6786. PR middle-end/29256
  6787. * tree-ssa-loop-ivopts.c (determine_base_object): Handle pointers
  6788. casted to integer type.
  6789. (get_address_cost): Decrease cost of [symbol + index] addressing modes
  6790. if they are significantly more expensive than [reg + index] ones.
  6791. 2006-10-06 Jakub Jelinek <jakub@redhat.com>
  6792. PR tree-optimization/29330
  6793. * tree-data-ref.c (free_data_ref): Use DR_FREE_ACCESS_FNS macro.
  6794. (initialize_data_dependence_relation): Clear DDR_LOOP_NEST pointer
  6795. on newly allocated ddrs.
  6796. (find_loop_nest_1, find_loop_nest): Change LOOP_NEST to a pointer
  6797. to VEC (loop_p, heap) pointer.
  6798. (compute_data_dependences_for_loop): Adjust caller.
  6799. (free_dependence_relations): Free DDR_LOOP_NEST.
  6800. * tree-loop-linear.c (linear_transform_loops): Don't forget to
  6801. free DEPENDENCE_RELATIONS and DATAREFS.
  6802. PR target/28924
  6803. * builtins.c (expand_builtin_sync_operation,
  6804. expand_builtin_compare_and_swap, expand_builtin_lock_test_and_set):
  6805. Use convert_to_mode to handle promoted arguments.
  6806. 2006-10-06 J"orn Rennecke <joern.rennecke@st.com>
  6807. * print-tree.c (print_node_brief, print_node): Print sign of Inf.
  6808. 2006-10-06 J"orn Rennecke <joern.rennecke@st.com>
  6809. * config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define.
  6810. 2006-10-05 Uros Bizjak <uros@kss-loka.si>
  6811. * config/i386/sync.md ("sync_add<mode>", "sync_sub<mode>",
  6812. "sync_ior<mode>", "sync_and<mode>", "sync_xor<mode>"):
  6813. Use <modeconstraint> instead of "r" as operand 1 constraint.
  6814. 2006-10-06 Olivier Hainque <hainque@adacore.com>
  6815. * gimplify.c (gimplify_type_sizes) [POINTER_TYPE, REFERENCE_TYPE]:
  6816. Don't recurse on the pointed-to type.
  6817. * c-decl.c (grokdeclarator) [cdk_pointer]: If we are in a NORMAL or
  6818. DECL context, attach an artificial TYPE_DECL to anonymous pointed-to
  6819. types with components of variable size.
  6820. 2006-10-06 Danny Smith <dannysmith@users.sourceforge.net>
  6821. * config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.
  6822. 2006-10-06 Jakub Jelinek <jakub@redhat.com>
  6823. PR tree-optimization/29290
  6824. * tree-loop-linear.c (linear_transform_loops): Bail if loop_nest has
  6825. multiple exits.
  6826. PR target/29198
  6827. * config/i386/i386.c (legitimize_pic_address): Reject TLS symbols.
  6828. * config/i386/predicates.md (local_symbolic_operand): Likewise.
  6829. PR c/29091
  6830. * varasm.c (output_constant): If TREE_VECTOR_CST_ELTS chain is shorter than
  6831. the number of vector elements fill the rest with zeros.
  6832. 2006-10-05 Richard Sandiford <richard@codesourcery.com>
  6833. * config/mips/mips.c (mips_pass_by_reference): Do not return false
  6834. for EABI if type is NULL. Use a size check based on GET_MODE_SIZE
  6835. instead.
  6836. 2006-10-05 Bernd Schmidt <bernd.schmidt@analog.com>
  6837. * config/bfin/bfin.md (subsi3): Lose expander, change previously
  6838. unnamed pattern into subsi3. Use correct constraints/predicates.
  6839. * config/bfin/bfin.h (CONST_OK_FOR_K): Handle "KN7".
  6840. * config/bfin/predicates.md (reg_or_neg7bit_operand_p): New.
  6841. 2006-10-05 Ira Rosen <irar@il.ibm.com>
  6842. * doc/loop.texi: Add data references analysis description.
  6843. 2006-10-04 Brooks Moses <bmoses@stanford.edu>
  6844. * doc/gcov.texi: Add formatting to "Invoking gcov" section head.
  6845. 2006-10-04 Richard Henderson <rth@redhat.com>
  6846. Jakub Jelinek <jakub@redhat.com>
  6847. * Makefile.in (libgcc.mk, LIBGCC_DEPS): Add emutls.c.
  6848. * builtin-types.def (BT_WORD): Make unsigned.
  6849. (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
  6850. * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
  6851. (BUILT_IN_EMUTLS_REGISTER_COMMON): New.
  6852. * c-decl.c (grokdeclarator): Don't error if !have_tls.
  6853. * c-parser.c (c_parser_omp_threadprivate): Likewise.
  6854. * cgraph.c (decide_is_variable_needed): Look at force_output.
  6855. Recurse for emulated tls.
  6856. * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Remove
  6857. checks redundant with decide_is_variable_needed.
  6858. (cgraph_build_static_cdtor): Do cgraph_varpool_assemble_pending_decls.
  6859. * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
  6860. emulated tls.
  6861. * expr.c (emutls_var_address): New.
  6862. (expand_expr_real_1): Expand emulated tls.
  6863. (expand_expr_addr_expr_1): Likewise.
  6864. * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
  6865. * output.h (emutls_finish): Declare.
  6866. * toplev.c (compile_file): Call it.
  6867. * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
  6868. address before wrapping in CONST.
  6869. * varasm.c (emutls_htab, emutls_object_type): New.
  6870. (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
  6871. (get_emutls_object_name, get_emutls_object_type): New.
  6872. (get_emutls_init_templ_addr, emutls_decl): New.
  6873. (emutls_common_1, emutls_finish): New.
  6874. (assemble_variable): When emulating tls, swap decls; generate
  6875. constructor for the emutls objects.
  6876. (do_assemble_alias): When emulating tls, swap decl and target name.
  6877. (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
  6878. for emulated tls.
  6879. * emutls.c: New file.
  6880. * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
  6881. tls_object for real tls.
  6882. 2006-10-04 Zack Weinberg <zackw@panix.com>
  6883. Fix bug in constraint-check generator, reported by Rask Ingemann
  6884. Lambertsen:
  6885. * genpreds.c (add_constraint): Don't remove anything from the
  6886. expression here.
  6887. (write_tm_constrs_h): Detect whether "op" argument is used, and
  6888. mark it ARG_UNUSED if it isn't.
  6889. (write_insn_const_int_ok_for_constraint): Skip the part of the
  6890. expression that would test whether "op" (which is not available
  6891. here) is a CONST_INT.
  6892. 2006-10-04 Ryan Mansfield <rmansfield@qnx.com>
  6893. PR c++/28448
  6894. * doc/invoke.texi (fdiagnostics-show-option): Fix typos.
  6895. 2006-10-03 Geoffrey Keating <geoffk@apple.com>
  6896. * config/i386/darwin-libgcc.10.5.ver: Update to symbol list for
  6897. current Leopard versions.
  6898. * config/rs6000/darwin-libgcc.10.5.ver: Likewise.
  6899. 2006-10-03 Kazu Hirata <kazu@codesourcery.com>
  6900. * doc/install.texi: Fix typos.
  6901. 2006-10-03 Eric Botcazou <ebotcazou@libertysurf.fr>
  6902. * builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX.
  6903. * doc/tm.texi (Basic Stack Layout): Document FRAME_ADDR_RTX.
  6904. * config/sparc/sparc.h (FRAME_ADDR_RTX): Define.
  6905. 2006-10-02 Jack Howarth <howarth@bromo.med.uc.edu>
  6906. * unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first
  6907. arg to be struct mach_header_64* instead.
  6908. 2006-10-02 Jakub Jelinek <jakub@redhat.com>
  6909. PR c/29154
  6910. * gimplify.c (gimplify_self_mod_expr): Run inner expression's post
  6911. side effects after the outer expression's post side effects.
  6912. 2006-10-01 Sandra Loosemore <sandra@codesourcery.com>
  6913. * tree.h (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): Fix
  6914. comments to reflect actual behavior and relationship between
  6915. DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET, and DECL_OFFSET_ALIGN.
  6916. * doc/c-tree.texi (Working with declarations): Fix documentation
  6917. of FIELD_DECL likewise.
  6918. 2006-10-01 Ryan Mansfield <rmansfield@qnx.com>
  6919. PR c/20533
  6920. * doc/extend.texi: Add used variable attribute description.
  6921. 2006-09-30 Joseph S. Myers <joseph@codesourcery.com>
  6922. PR c/24010
  6923. * c.opt (Woverride-init): New.
  6924. * c-opts.c (c_common_post_options): Default warn_override_init to
  6925. extra_warnings.
  6926. * c-typeck.c (add_pending_init, output_init_element): Warn for
  6927. overriding initializers without side effects.
  6928. * doc/invoke.texi (-Woverride-init): Document.
  6929. (-Wextra): Update.
  6930. 2006-09-30 Eric Botcazou <ebotcazou@libertysurf.fr>
  6931. PR rtl-optimization/28096
  6932. * ifcvt.c (check_cond_move_block): Return FALSE if the source of an
  6933. assignment has already been used as a destination earlier in the block.
  6934. 2006-09-29 Eric Botcazou <ebotcazou@adacore.com>
  6935. * builtins.c (expand_builtin_setjmp): Delete.
  6936. (expand_builtin) <BUILT_IN_SETJMP>: Mark as unreachable.
  6937. <BUILT_IN_SETJMP_SETUP>: New case.
  6938. <BUILT_IN_SETJMP_DISPATCHER>: Likewise.
  6939. <BUILT_IN_SETJMP_RECEIVER>: Likewise.
  6940. * builtins.def (BUILT_IN_SETJMP_SETUP): New built-in stub.
  6941. (BUILT_IN_SETJMP_DISPATCHER): Likewise.
  6942. (BUILT_IN_SETJMP_RECEIVER): Likewise.
  6943. * gimple-low.c (struct lower_data): New field calls_builtin_setjmp.
  6944. (lower_function_body): Initialize it to false. If it is set to true
  6945. at the end of the processing, emit the setjmp dispatcher.
  6946. (lower_stmt) <CALL_EXPR>: Invoke lower_builtin_setjmp if the callee
  6947. is __builtin_setjmp and set calls_builtin_setjmp to true as well.
  6948. <MODIFY_EXPR>: Fall through to above case if there is a CALL_EXPR
  6949. on the rhs of the assignment.
  6950. (lower_builtin_setjmp): New function.
  6951. * tree.c (build_common_builtin_nodes): Build BUILT_IN_SETJMP_SETUP,
  6952. BUILT_IN_SETJMP_DISPATCHER and BUILT_IN_SETJMP_RECEIVER nodes.
  6953. * tree-cfg.c (make_exit_edges) <CALL_EXPR>: Use specific predicate
  6954. to detect calls that can go to non-local labels. Use specific
  6955. helper to create the abnormal edges associated with them.
  6956. <MODIFY_EXPR>: Likewise.
  6957. (make_abnormal_goto_edges): New function extracted from...
  6958. (make_goto_expr_edges): ...here. Call it for computed gotos.
  6959. (simple_goto_p): Minor tweak.
  6960. (tree_can_make_abnormal_goto): New predicate.
  6961. (tree_redirect_edge_and_branch): Return zero on all abnormal edges.
  6962. (tree_purge_dead_abnormal_call_edges): New function.
  6963. * tree-flow.h (tree_can_make_abnormal_goto): Declare.
  6964. (tree_purge_dead_abnormal_call_edges): Likewise.
  6965. (make_abnormal_goto_edges): Likewise.
  6966. * tree-inline.c (expand_call_inline): Simplify statement frobbing.
  6967. Purge all dead abnormal edges if the call was in the last statement.
  6968. * tree-optimize.c (has_abnormal_outgoing_edge_p): New predicate.
  6969. (execute_fixup_cfg): If there are non-local labels in the function,
  6970. scan the basic blocks and split them at calls that can go to non-local
  6971. labels or add missing abnormal call edges. Write down the CFG in the
  6972. dump file.
  6973. (pass_fixup_cfg): Remove TODO_dump_func flag.
  6974. * unwind-sjlj.c: Poison setjmp.
  6975. * doc/install.texi (enable-sjlj-exceptions): Use more general wording.
  6976. * doc/tm.texi (DWARF2_UNWIND_INFO): Likewise.
  6977. (TARGET_UNWIND_TABLES_DEFAULT): Fix typo.
  6978. (DONT_USE_BUILTIN_SETJMP): Document it.
  6979. 2006-09-28 Geoffrey Keating <geoffk@apple.com>
  6980. PR target/28617
  6981. * config/rs6000/rs6000.h [IN_LIBGCC2] (TARGET_POWERPC64): Define
  6982. to 1 when __ppc64__ is defined.
  6983. * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add ppc64-fp.c and
  6984. darwin-64.c.
  6985. * config/rs6000/ppc64-fp.c: Also compile when __ppc64__ is defined.
  6986. 2006-09-28 Steve Ellcey <sje@cup.hp.com>
  6987. * config/ia64/t-hpux (LIB2FUNCS_EXTRA): Remove unwind-hpux.c.
  6988. * config/ia64/unwind-hpux.c: Delete.
  6989. 2006-09-28 Eric Botcazou <ebotcazou@adacore.com>
  6990. * gimplify.c (gimplify_init_ctor_preeval): Call maybe_with_size_expr
  6991. on the element before gimplifying it, instead of punting if it is of
  6992. variable size.
  6993. 2006-09-28 Zdenek Dvorak <dvorakz@suse.cz>
  6994. * doc/loop.texi: New file.
  6995. * doc/gccint.texi: Reference loop.texi.
  6996. * Makefile.in (loop.texi): Add.
  6997. 2006-09-27 Geoffrey Keating <geoffk@apple.com>
  6998. * config/darwin.h (ENABLE_EXECUTE_STACK): New, use getpagesize not
  6999. __sysctl.
  7000. * config/rs6000/darwin.h (ENABLE_EXECUTE_STACK): Remove.
  7001. * config/i386/darwin.h (ENABLE_EXECUTE_STACK): Remove.
  7002. 2006-09-28 Kaz Kojima <kkojima@gcc.gnu.org>
  7003. * config/sh/sh.md (divsi_inv_m0): Remove unused variable.
  7004. 2006-09-27 Steven G. Kargl <kargl@gcc.gnu.org>
  7005. * doc/install.texi: Document required versions of GMP and MPFR.
  7006. 2006-09-27 Paul Brook <paul@codesourcery.com>
  7007. PR target/29230
  7008. * config/arm/arm.md (arith_adjacentmem): Handle large offsets.
  7009. 2006-09-27 Richard Sandiford <richard@codesourcery.com>
  7010. * reload1.c (alter_reg): Require the alignment of the stack slot to
  7011. be at least reg_max_ref_width bytes.
  7012. (scan_paradoxical_subregs): Record the largest width in
  7013. reg_max_ref_width.
  7014. 2006-09-26 Jakub Jelinek <jakub@redhat.com>
  7015. PR middle-end/25261
  7016. PR middle-end/28790
  7017. * tree-nested.c (struct nesting_info): Added static_chain_added.
  7018. (convert_call_expr): Set static_chain_added when adding static
  7019. chain. Handle OMP_PARALLEL and OMP_SECTION.
  7020. 2006-09-25 Matthias Klose <doko@debian.org>
  7021. * doc/invoke.texi: Add missing full stop.
  7022. 2006-09-25 Richard Henderson <rth@redhat.com>
  7023. * cgraph.c (dump_cgraph_varpool_node): Don't crash if called
  7024. before cgraph_function_flags_ready.
  7025. 2006-09-24 Zdenek Dvorak <dvorakz@suse.cz>
  7026. Adam Nemet <anemet@caviumnetworks.com>
  7027. * tree-ssa-loop-ivopts.c (aff_combination_convert,
  7028. determine_common_wider_type): New functions.
  7029. (get_computation_aff): Use them to simplify arithmetic between
  7030. UBASE and CBASE if they are shortened from the same type.
  7031. 2006-09-24 Kazu Hirata <kazu@codesourcery.com>
  7032. PR target/28911
  7033. * config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
  7034. -2147483647 - 1 instead of 0x80000000.
  7035. 2006-09-23 Revital1 Eres <ERES@il.ibm.com>
  7036. * flags.h (HONOR_NANS): Fix typo in comment.
  7037. 2006-09-23 Uros Bizjak <uros@kss-loka.si>
  7038. * config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.
  7039. 2006-09-23 Jakub Jelinek <jakub@redhat.com>
  7040. PR c/28706
  7041. PR c/28712
  7042. * tree.c (merge_attributes, attribute_list_contained): If both
  7043. TREE_VALUEs are TREE_LISTs, use simple_cst_list_equal instead of
  7044. simple_cst_equal.
  7045. * c-typeck.c (comptypes_internal): Don't consider aggregates
  7046. in different TUs as compatible if there one set of attributes is
  7047. not a subset of the other type's attributes.
  7048. (composite_type): Try harder not to create a new aggregate type.
  7049. 2006-09-22 Geoffrey Keating <geoffk@apple.com>
  7050. * config/i386/driver-i386.c: Always define host_detect_local_cpu.
  7051. * config/i386/i386.h: Define EXTRA_SPEC_FUNCTIONS on any i386
  7052. or x86_64 host. Define HAVE_LOCAL_CPU_DETECT.
  7053. (CC1_CPU_SPEC): Make conditional on HAVE_LOCAL_CPU_DETECT rather
  7054. than replicating condition above.
  7055. * config.host (i[34567]86-*-*): Always use driver-i386.o.
  7056. * config/darwin.h (LINK_SYSROOT_SPEC): New.
  7057. (LINK_SPEC): If TARGET_SYSTEM_ROOT is defined, pass it to
  7058. the linker by default.
  7059. 2006-09-22 Mike Stump <mrs@apple.com>
  7060. * config/rs6000/darwin.h (PROFILE_HOOK): Reassociate comment with
  7061. code.
  7062. 2006-09-22 Richard Guenther <rguenther@suse.de>
  7063. PR middle-end/28964
  7064. * cfgexpand.c (stack_var_size_cmp): Use DECL_UID to make
  7065. sort of stack variables stable.
  7066. 2006-09-22 Peter Bergner <bergner@vnet.ibm.com>
  7067. PR middle-end/28690
  7068. * explow.c (force_reg): Set REG_POINTER flag according to
  7069. MEM_POINTER flag.
  7070. 2006-09-22 Zdenek Dvorak <dvorakz@suse.cz>
  7071. PR tree-optimization/28888
  7072. * tree-if-conv.c (combine_blocks): Rewritten.
  7073. * tree-cfg.c (tree_verify_flow_info): Check that edges with
  7074. EDGE_TRUE/FALSE_VALUE follow COND_EXPR.
  7075. 2006-09-22 Jakub Jelinek <jakub@redhat.com>
  7076. * tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if
  7077. needed.
  7078. 2006-09-21 Richard Sandiford <richard@codesourcery.com>
  7079. * varasm.c (copy_constant): Fix reversed gcc_assert check.
  7080. 2006-09-21 Janis Johnson <janis187@us.ibm.com>
  7081. * ginclude/decfloat.h (DEC*_DEN): Define using the correct builtins.
  7082. 2006-09-21 Roger Sayle <roger@eyesopen.com>
  7083. PR debug/29132
  7084. * dwarf2out.c (dwarf2out_begin_prologue): Initialise the current label,
  7085. dw_fde_current_label, to be the start of the function, i.e. the same
  7086. value as dw_fde_begin.
  7087. 2006-09-20 Richard Sandiford <richard@codesourcery.com>
  7088. * config/mips/mips.c (CODE_FOR_mips_abs_ps): Delete.
  7089. * config/mips/mips.md (UNSPEC_ABS_PS): New constant.
  7090. (UNSPEC_RSQRT1, UNSPEC_RSQRT2, UNSPEC_RECIP1, UNSPEC_RECIP2)
  7091. (UNSPEC_SINGLE_CC, UNSPEC_SCC): Bump values by 1.
  7092. (*nmadd<mode>, *nmadd<mode>_fastmath): Require !HONOR_NANS.
  7093. (*nmsub<mode>, *nmsub<mode>_fastmath): Likewise.
  7094. (abs<mode>2, neg<mode>2): Likewise.
  7095. * config/mips/mips-ps-3d.md (mips_abs_ps): New define_expand.
  7096. (*mips_abs_ps): New define_insn.
  7097. 2006-09-20 Josh Conner <jconner@apple.com>
  7098. PR middle-end/25505
  7099. * calls.c (expand_call): Allow reuse of structure return stack
  7100. temp.
  7101. 2006-09-20 Paul Brook <paul@codesourcery.com>
  7102. * config/arm/unwind-arm.c (selfrel_offset31): Clear top bit for
  7103. positive offsets.
  7104. 2006-09-20 Janis Johnson <janis187@us.ibm.com>
  7105. * doc/extend.texi (Decimal Float): Update for latest draft TR,
  7106. clean up terminology.
  7107. 2006-09-20 Steve Ellcey <sje@cup.hp.com>
  7108. PR target/28574
  7109. * ifcvt.c (dead_or_predicable): Don't predicate then blocks
  7110. with tablejumps in them.
  7111. 2006-09-20 Jakub Jelinek <jakub@redhat.com>
  7112. PR middle-end/28046
  7113. * c-omp.c (c_finish_omp_atomic): If ADDR is not simple enough,
  7114. wrap it into TARGET_EXPR.
  7115. 2006-09-20 Eric Christopher <echristo@apple.com>
  7116. * config/i386/i386.c (x86_fisttp): Remove.
  7117. * config/i386/i386.h (x86_fisttp): Ditto.
  7118. (TARGET_FISTTP): Ditto.
  7119. 2006-09-19 Eric Christopher <echristo@apple.com>
  7120. * doc/tm.texi (OBJC_JBLEN): Describe.
  7121. * config/i386/darwin.h (OBJC_JBLEN): Define.
  7122. * config/rs6000/darwin.h: Ditto.
  7123. 2006-09-19 Steven Bosscher <steven@gcc.gnu.org>
  7124. PR rtl-optimization/21299
  7125. * reload1.c (reload): Purge invalid ASMs in the final pass.
  7126. 2006-09-19 Steve Ellcey <sje@cup.hp.com>
  7127. PR 28490
  7128. * config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
  7129. pointers as legitimate constants.
  7130. 2006-09-19 Paul Brook <paul@codesourcery.com>
  7131. PR target/28516
  7132. * config/arm/arm.c (arm_unwind_emit_set): Handle reg = sp + const.
  7133. 2006-09-17 Zdenek Dvorak <dvorakz@suse.cz>
  7134. PR tree-optimization/28887
  7135. * tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
  7136. component parts from the reference.
  7137. (gather_memory_references_ref): Record the reference without the
  7138. nonaddressable component parts.
  7139. 2006-09-17 Steven Bosscher <steven@gcc.gnu.org>
  7140. PR c/25993
  7141. * c-opts.c (c_common_handle_option): Ignore the -std options
  7142. if the input language is assembly.
  7143. 2006-09-17 Ira Rosen <irar@il.ibm.com>
  7144. PR tree-opt/21591
  7145. * tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory
  7146. tag first.
  7147. (ptr_ptr_may_alias_p): Likewise.
  7148. (record_record_differ_p): New function.
  7149. (base_object_differ_p): Call record_record_differ_p.
  7150. 2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
  7151. PR tree-opt/29059
  7152. * tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right
  7153. away for the expr argument.
  7154. 2006-09-16 Steven Bosscher <steven@gcc.gnu.org>
  7155. PR tree-opt/27742
  7156. * tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
  7157. before using it for dumping after vectorizing loops.
  7158. 2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
  7159. Jack Howarth <howarth@bromo.med.uc.edu>
  7160. PR target/29030
  7161. * config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse)
  7162. skip on error_mark_node.
  7163. (rs6000_darwin64_record_arg_recurse): Likewise.
  7164. 2006-09-16 Steven Bosscher <steven@gcc.gnu.org>
  7165. * rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
  7166. * doc/rtl.texi: Remove related documentation.
  7167. 2006-09-16 Bernd Schmidt <bernd.schmidt@analog.com>
  7168. * loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
  7169. printf.
  7170. 2006-09-15 Jim Wilson <wilson@specifix.com>
  7171. * config/ia64/ia64.c (ia64_legitimate_constant_p, cast CONST):
  7172. Handle symbol offsets same as they are handled in ia64_expand_move
  7173. and move_operand.
  7174. 2006-09-16 Andreas Tobler <a.tobler@schweiz.org>
  7175. * loop-doloop.c (doloop_optimize): Change type of max_cost to int.
  7176. Add forgotten parameter to the fprintf call.
  7177. 2006-09-15 Steve Ellcey <sje@cup.hp.com>
  7178. * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
  7179. 2006-09-15 Uros Bizjak <uros@kss-loka.si>
  7180. * doc/contrib.texi: Add my entry.
  7181. 2006-09-15 Nick Clifton <nickc@redhat.com>
  7182. * doc/md.texi (Processor pipeline description): Fix typo in
  7183. example of how to use the absence_set directive and reword the
  7184. description to make it slightly easier to read.
  7185. 2006-09-15 Bernd Schmidt <bernd.schmidt@analog.com>
  7186. * params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
  7187. * loop-doloop.c (doloop_optimize): Use it to limit costs of
  7188. expanding the number of iterations.
  7189. * config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
  7190. * cfgrtl.c (emit_insn_at_entry): New function.
  7191. * rtl.h (emit_insn_at_entry): Declare it.
  7192. * integrate.c (emit_initial_value_sets): Use it.
  7193. * cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
  7194. * config/bfin/bfin.c (struct loop_info): New members block_bitmap and
  7195. bad.
  7196. (struct loop_work and related VEC declarations): Delete.
  7197. (bfin_dump_loops): Print out new member bad.
  7198. (bfin_bb_in_loop): Use plain bitmap test. Don't recurse.
  7199. (bfin_scan_loop): Don't recurse.
  7200. (bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad
  7201. loops. No longer need to update outer loops if the current one is
  7202. found bad. Move some validitiy checks to bfin_discover_loop.
  7203. (bfin_discover_loop): New function, mostly split from bfin_reorg_loops,
  7204. but changed not to check for nesting. Also changed to use the new bad
  7205. flag.
  7206. (bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a
  7207. time. Use bitmap based test to discover loop nesting.
  7208. 2006-09-15 Kazu Hirata <kazu@codesourcery.com>
  7209. * doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
  7210. one line.
  7211. 2006-09-14 Richard Guenther <rguenther@suse.de>
  7212. Kazu Hirata <kazu@codesourcery.com>
  7213. PR middle-end/28884.
  7214. * doc/tm.texi (TARGET_FUNCTION_VALUE): Document.
  7215. (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE): Deprecate.
  7216. Replace mentions of FUNCTION_VALUE and FUNCTION_OUTGOING_VALUE
  7217. with TARGET_FUNCTION_VALUE.
  7218. 2006-09-14 Anatoly Sokolov <aesok@post.ru>
  7219. PR target/26504
  7220. * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.
  7221. 2006-09-13 Aldy Hernandez <aldyh@redhat.com>
  7222. * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
  7223. of a RETURN_EXPR
  7224. 2006-09-13 Andrew Pinski <pinskia@physics.uc.edu>
  7225. PR debug/28980
  7226. * dwarf2out.c (loc_descriptor_from_tree_1): Handle
  7227. FUNCTION_DECL.
  7228. 2006-09-13 Andreas Krebbel <krebbel1@de.ibm.com>
  7229. * basic_block.h (bb_has_eh_pred): Fix comment.
  7230. 2006-09-13 Andreas Krebbel <krebbel1@de.ibm.com>
  7231. * flow.c (calculate_global_regs_live): Invalidate eh registers
  7232. on eh edges. Renamed invalidated_by_call to invalidated_by_eh_edge.
  7233. (propagate_block): Handle eh registers as if they were set at basic
  7234. block start.
  7235. * except.c (dw2_build_landing_pads): Don't emit clobbers for eh
  7236. registers.
  7237. * global.c (global_conflicts): Make eh registers to conflict with
  7238. pseudos live at basic block begin.
  7239. * basic_block.h (bb_has_eh_pred): New function.
  7240. 2006-09-13 Richard Sandiford <richard@codesourcery.com>
  7241. PR rtl-optimization/28982
  7242. * reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
  7243. index of a PRE_MODIFY or POST_MODIFY address.
  7244. * reload1.c (inc_for_reload): Use find_replacement on the original
  7245. base and index registers.
  7246. 2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
  7247. * doc/invoke.texi (mpreferred-stack-boundary): Remove exception
  7248. for -Os. Update __m128 alignment requirement.
  7249. 2006-09-13 Jan Hubicka <jh@suse.cz>
  7250. * cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
  7251. 2006-09-12 Eric Botcazou <ebotcazou@libertysurf.fr>
  7252. PR rtl-optimization/28243
  7253. * combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
  7254. the insn to which the note was originally attached.
  7255. 2006-09-12 Andrew Pinski <pinskia@physics.uc.edu>
  7256. Roger Sayle <roger@eyesopen.com>
  7257. * dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
  7258. outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
  7259. on platforms that don't use dwarf for debug info.
  7260. 2006-09-12 Jason Merrill <jason@redhat.com>
  7261. PR middle-end/28493
  7262. * builtins.c (expand_builtin_setjmp_receiver): Clobber
  7263. hard_frame_pointer_rtx after using it to update the frame pointer.
  7264. 2006-09-12 Roger Sayle <roger@eyesopen.com>
  7265. * target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
  7266. (TARGET_ASM_CLOSE_PAREN): Likewise.
  7267. * config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define.
  7268. (TARGET_ASM_CLOSE_PAREN): Likewise.
  7269. 2006-09-12 Roger Sayle <roger@eyesopen.com>
  7270. PR target/22223
  7271. * config/alpha/alpha.c (alpha_start_function): Don't emit stack
  7272. frame information for frames larger than 512 Kbytes on Tru64 when
  7273. using the native assembler.
  7274. 2006-09-12 Roger Sayle <roger@eyesopen.com>
  7275. PR middle-end/4520
  7276. PR bootstrap/28784
  7277. * cselib.c (cselib_hash_rtx): Avoid hashing on the address of labels
  7278. and symbols. Instead use the implementation from cse.c's hash_rtx.
  7279. 2006-09-12 Jan Hubicka <jh@suse.cz>
  7280. PR rtl-optimization/28071
  7281. * tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
  7282. (vect_transform_loop): Likewise.
  7283. * tree-vectorizer.c (new_loop_vec_info): Likewise.
  7284. (new_loop_vec_info): Likewise.
  7285. (destroy_loop_vec_info): Likewise.
  7286. * tree-dfa.c (create_var_ann): Use GCC_CNEW.
  7287. (create_stmt_ann): Likewise.
  7288. (create_tree_ann): Rename to ...
  7289. (create_tree_common_ann): ... this one; allocate only the common part
  7290. of annotations.
  7291. * tree-vn.c (set_value_handle): Use get_tree_common_ann.
  7292. (get_value_handle): Likewise.
  7293. * tree-ssa-pre.c (phi_translate): Delay annotation allocation for
  7294. get_tree_common_ann.
  7295. * tree-vectorizer.h (set_stmt_info): Take stmt annotation.
  7296. (vinfo_for_stmt): Use stmt annotations.
  7297. * tree-flow.h (tree_ann_common_t): New type.
  7298. (tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
  7299. (tree_ann, get_tree_ann, create_tree_ann): New.
  7300. * tree-flow-inline.h (get_function_ann): Do more type checking.
  7301. (stmt_ann): Likewise.
  7302. (tree_ann): Rename to ...
  7303. (tree_common_ann): ... this one; return ony common_ann
  7304. (get_tree_ann): Rename to ...
  7305. (tree_common_ann): This one; return only common_ann.
  7306. * tree-vect-patterns.c (vect_pattern_recog_1): Update call
  7307. of set_stmt_info.
  7308. 2006-09-11 Geoffrey Keating <geoffk@apple.com>
  7309. * config.gcc (i[34567]86-*-darwin*): Set with_arch and
  7310. with_cpu by default.
  7311. * dwarf2out.c (dwarf_file_data): New.
  7312. (enum dw_val_class): Add dw_val_class_file.
  7313. (struct dw_val_struct): Add val_file.
  7314. (file_table): Change to a hash table.
  7315. (file_table_emitted): Delete.
  7316. (file_table_last_lookup_index): Delete.
  7317. (emitcount): Delete.
  7318. (last_emitted_file): New.
  7319. (lookup_filename): Change prototype to return a struct dwarf_file_data.
  7320. (init_file_table): Delete.
  7321. (maybe_emit_file): Change prototype to take a struct dwarf_file_data.
  7322. (AT_addr): Add comment.
  7323. (add_AT_file): New.
  7324. (AT_file): New.
  7325. (get_AT_file): New.
  7326. (print_die): Handle dw_val_class_file.
  7327. (print_dwarf_line_table): Update for new file table structure.
  7328. (attr_checksum): Do checksum a filename.
  7329. (same_dw_val_p, same_attr_p): Do compare a filename.
  7330. (size_of_die): Handle dw_val_class_file.
  7331. (value_format): Likewise.
  7332. (output_die): Likewise. Also, call maybe_emit_file here.
  7333. (struct file_info): Constify filenames. Make file_idx a pointer
  7334. to a struct dwarf_file_data.
  7335. (struct dir_info): Constify directory names. Remove 'used' field.
  7336. (struct file_name_acquire_data): New.
  7337. (file_name_acquire): New.
  7338. (output_file_names): Modify to handle new file data structures.
  7339. (add_src_coords_attributes): Use add_AT_file.
  7340. (add_call_src_coords_attributes): Likewise.
  7341. (dwarf2out_imported_module_or_decl): Likewise.
  7342. (gen_subprogram_die): Modify for new file data structures.
  7343. (gen_variable_die): Likewise.
  7344. (file_table_eq): New.
  7345. (file_table_hash): New.
  7346. (file_table_last_lookup): New.
  7347. (lookup_filename): Rewrite to handle new file data structures.
  7348. (maybe_emit_file): Rewrite to handle new file data structures.
  7349. (dwarf2out_source_line): Always call lookup_filename and
  7350. maybe_emit_file.
  7351. (dwarf2out_init): Create file_table here.
  7352. (prune_unused_types_walk_attribs): Don't call maybe_emit_file here.
  7353. (file_table_relative_p): New.
  7354. (dwarf2out_finish): Change detection of relative filenames
  7355. to work with new file data structures. Move output_line_info call
  7356. after debug_info output.
  7357. 2006-09-11 H.J. Lu <hongjiu.lu@intel.com>
  7358. PR target/13685
  7359. PR target/27537
  7360. PR target/28621
  7361. * config/i386/i386.c (override_options): Always default to 16
  7362. byte stack boundary.
  7363. 2006-09-11 Alexandre Oliva <aoliva@redhat.com>
  7364. PR target/28672
  7365. * var-tracking.c (dump_dataflow_set): Start dumping at
  7366. register zero.
  7367. (clobber_variable_part): Kill only the variable part in
  7368. registers holding it, leaving other variables alone.
  7369. 2006-09-11 Josh Triplett <josh@freedesktop.org>
  7370. * doc/extend.texi (Other Builtins): Actually use the macro
  7371. argument in the documentation example for
  7372. __builtin_types_compatible_p.
  7373. 2006-09-11 Eric Botcazou <ebotcazou@libertysurf.fr>
  7374. PR rtl-optimization/28726
  7375. * sched-deps.c (sched_analyze_reg): New function extracted from...
  7376. (sched_analyze_1): ...here. Call it to analyze references to
  7377. registers. Treat again writes to a stack register as writing to the
  7378. register.
  7379. (sched_analyze_2): ...and here. Call it to analyze references to
  7380. registers. Treat again reads of a stack register as reading the
  7381. register.
  7382. 2006-09-11 Guenter Roeck <guenter@roeck-us.net>
  7383. David Edelsohn <edelsohn@gnu.org>
  7384. PR target/27287
  7385. * config/rs6000/spe.md (frob_df_di): Remove %H.
  7386. (frob_di_df): Remove %H. Change evmergelo to mr.
  7387. (frob_di_df_2): Remove %H. Change evldd to two loads.
  7388. 2006-09-11 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
  7389. * doc/cpp.texi: Fix names of charset options.
  7390. 2006-09-10 Andrew Pinski <pinskia@physics.uc.edu>
  7391. PR target/29009
  7392. * config/i386/i386.c (override_options): Use 128-bit
  7393. stack boundary always for 64bits.
  7394. 2006-09-10 Eric Botcazou <ebotcazou@libertysurf.fr>
  7395. PR rtl-optimization/28636
  7396. * combine.c (force_to_mode): Test for side-effects before
  7397. substituting by zero.
  7398. (simplify_shift_const): Likewise for zero or other constants.
  7399. 2006-09-10 Steven Bosscher <steven@gcc.gnu.org>
  7400. PR middle-end/26983
  7401. * builtins.c (expand_builtin_setjmp): Force next_lab to be
  7402. preserved.
  7403. 2006-09-10 Richard Sandiford <richard@codesourcery.com>
  7404. PR target/29006
  7405. * config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare.
  7406. * config/mips/mips.c (mips_expand_unaligned_store): Use the mode
  7407. returned by mode_for_size, rather than the mode of src itself,
  7408. to choose between 32-bit and 64-bit patterns.
  7409. (mips_mem_fits_mode_p): New function.
  7410. * config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check
  7411. that the size of the source matches the size of the destination.
  7412. (mov_<store>l, mov_<store>r): Likewise.
  7413. 2006-09-10 Eric Christopher <echristo@apple.com>
  7414. * config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
  7415. for literal16.
  7416. 2006-09-09 Eric Christopher <echristo@apple.com>
  7417. PR target/28995
  7418. * config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
  7419. for literal16.
  7420. 2006-09-09 Roger Sayle <roger@eyesopen.com>
  7421. Nicolas Setton <setton@adacore.com>
  7422. * dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.
  7423. 2006-09-10 Andreas Schwab <schwab@suse.de>
  7424. * config/m68k/m68k.md (bungt_rev): New pattern.
  7425. 2006-09-09 Paolo Bonzini <bonzini@gnu.org>
  7426. Dale Johannesen <dalej@apple.com>
  7427. PR target/26778
  7428. * regclass.c (struct reg_pref): Update documentation.
  7429. (regclass): Set prefclass to NO_REGS if memory is the best option.
  7430. (record_reg_classes): Cope with a prefclass set to NO_REGS.
  7431. 2006-09-08 Eric Christopher <echristo@apple.com>
  7432. * config.gcc (i?86-*-darwin): Add 64-bit HWI support.
  7433. * config/t-slibgcc-darwin: Support x86_64 multilib.
  7434. * config/i386/i386.h (JUMP_TABLES_IN_TEXT_SECTION):
  7435. Return 1 for x86_64-darwin.
  7436. * config/i386/t-darwin: Add m64 multilib.
  7437. (LIB2_SIDITI_CONV_FUNCS): Use.
  7438. (LIB2FUNCS_EXTRA): Ditto.
  7439. * config/i386/darwin.h: Support x86_64.
  7440. * config/i386/i386.c (override_options): Turn on flag_pic
  7441. for x86_64-darwin. Disable flag_omit_pointer.
  7442. (get_pc_thunk_name): Assert !TARGET_64BIT.
  7443. (legitimate_address_p): Disable machopic addressing for
  7444. x86_64.
  7445. (legitimize_pic_address): Ditto.
  7446. (ix86_expand_move): Ditto.
  7447. (ix86_expand_call): Ditto.
  7448. (machopic_output_stub): Ditto.
  7449. * config/darwin.c (machopic_select_section): Support literal16.
  7450. (machopic_select_rtx_section): Ditto.
  7451. * config/darwin-sections.def: Ditto.
  7452. * config/darwin-64.c: New.
  7453. 2006-09-08 Joseph S. Myers <joseph@codesourcery.com>
  7454. PR c/28504
  7455. * c-tree.h (struct c_arg_info): Add pending_sizes.
  7456. * c-parser.c (c_parser_parms_declarator,
  7457. c_parser_parms_list_declarator): Initialize pending_sizes.
  7458. * c-decl.c (get_parm_info): Initialize pending_sizes.
  7459. (get_parm_info): Set pending_sizes.
  7460. (grokdeclarator): Call put_pending_sizes for parameters for
  7461. function definition only.
  7462. 2006-09-07 Jason Merrill <jason@redhat.com>
  7463. PR middle-end/27724
  7464. * varasm.c (output_constant): Only strip actual no-op conversions.
  7465. PR target/13685
  7466. * config/i386/i386.c (override_options): Use 128-bit
  7467. stack boundary if -msse.
  7468. 2006-09-07 Eric Christopher <echristo@apple.com>
  7469. * config/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update
  7470. comment.
  7471. * config/i386/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE):
  7472. Redefine.
  7473. 2006-09-07 Geoffrey Keating <geoffk@apple.com>
  7474. * dwarf2out.c: Remove strange characters from comment above
  7475. dwarf2out_frame_debug_expr.
  7476. 2006-09-07 Eric Christopher <echristo@apple.com>
  7477. * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Move from here...
  7478. * config/darwin.h: ... to here.
  7479. 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
  7480. * config/i386/i386.c (x86_partial_flag_reg_stall): New.
  7481. * config/i386/i386.h (x86_partial_flag_reg_stall): New.
  7482. (TARGET_PARTIAL_FLAG_REG_STALL): New.
  7483. * config/i386/i386.md (*ashldi3_cmp_rex64): Disabled for
  7484. TARGET_PARTIAL_FLAG_REG_STALL.
  7485. (*ashldi3_cconly_rex64): Likewise.
  7486. (*ashlsi3_cmp): Likewise.
  7487. (*ashlsi3_cconly): Likewise.
  7488. (*ashlsi3_cmp_zext): Likewise.
  7489. (*ashlhi3_cmp): Likewise.
  7490. (*ashlhi3_cconly): Likewise.
  7491. (*ashlqi3_cmp): Likewise.
  7492. (*ashlqi3_cconly): Likewise.
  7493. (*ashrdi3_cmp_rex64): Likewise.
  7494. (*ashrdi3_cconly_rex64): Likewise.
  7495. (*ashrsi3_cmp): Likewise.
  7496. (*ashrsi3_cconly): Likewise.
  7497. (*ashrsi3_cmp_zext): Likewise.
  7498. (*ashrhi3_cmp): Likewise.
  7499. (*ashrhi3_cconly): Likewise.
  7500. (*ashrqi3_cmp): Likewise.
  7501. (*ashrqi3_cconly): Likewise.
  7502. (*lshrdi3_cmp_rex64): Likewise.
  7503. (*lshrdi3_cconly_rex64): Likewise.
  7504. (*lshrsi3_cmp): Likewise.
  7505. (*lshrsi3_cconly): Likewise.
  7506. (*lshrsi3_cmp_zext): Likewise.
  7507. (*lshrhi3_cmp): Likewise.
  7508. (*lshrhi3_cconly): Likewise.
  7509. (*lshrqi2_cmp): Likewise.
  7510. (*lshrqi2_cconly): Likewise.
  7511. 2006-09-07 Uros Bizjak <uros@kss-loka.si>
  7512. PR target/28946
  7513. * config/i386/i386.md ("*ashldi3_cconly_rex64", "*ashlsi3_cconly",
  7514. "*ashlhi3_cconly", "*ashlqi3_cconly", "*ashrdi3_one_bit_cconly_rex64",
  7515. "*ashrdi3_cconly_rex64", "*ashrsi3_one_bit_cconly", "*ashrsi3_cconly",
  7516. "*ashrhi3_one_bit_cconly", "*ashrhi3_cconly",
  7517. "*ashrqi3_one_bit_cconly", "*ashrqi3_cconly",
  7518. "*lshrdi3_cconly_one_bit_rex64", "*lshrdi3_cconly_rex64",
  7519. "*lshrsi3_one_bit_cconly", "*lshrsi3_cconly",
  7520. "*lshrhi3_one_bit_cconly", "*lshrhi3_cconly",
  7521. "*lshrqi2_one_bit_cconly", "*lshrqi2_cconly": New patterns to
  7522. implement only CC setting effects of shift instructions.
  7523. 2006-09-07 Martin Michlmayr <tbm@cyrius.com>
  7524. * doc/contrib.texi: Add myself.
  7525. 2006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
  7526. PR middle-end/28862
  7527. * stor-layout.c (relayout_decl): Don't zero the alignment if it
  7528. was set by the user.
  7529. 2006-09-07 Paolo Bonzini <bonzini@gnu.org>
  7530. PR target/27117
  7531. * config/sh/sh.md (divsi_inv_qitable, divsi_inv_hitable): New patterns.
  7532. (divsi_inv_m1): Use them.
  7533. (UNSPEC_DIV_INV_TABLE): New constant.
  7534. 2006-09-06 James E Wilson <wilson@specifix.com>
  7535. PR rtl-opt/27883
  7536. * flow.c (update_life_info): If UPDATE_LIFE_LOCAL and PROP_DEATH_NOTES
  7537. then call count_or_remove_death_notes.
  7538. 2006-09-06 Jason Merrill <jason@redhat.com>
  7539. PR c++/27371
  7540. * tree-inline.c (copy_result_decl_to_var): New fn.
  7541. (declare_return_variable): Use it. Call declare_inline_vars here.
  7542. (expand_call_inline): Not here.
  7543. 2006-09-06 Diego Novillo <dnovillo@redhat.com>
  7544. * doc/contrib.texi: Update my entry.
  7545. 2006-09-06 Nick Clifton <nickc@redhat.com>
  7546. * config/frv/frv.h (EXTRA_MEMORY_CONSTRAINT): Define.
  7547. 2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
  7548. PR tree-opt/28937
  7549. * tree-flow.h (tree_ssa_unswitch_loops): Return unsigned int.
  7550. (canonicalize_induction_variables): Likewise.
  7551. (tree_unroll_loops_completely): Likewise.
  7552. (tree_ssa_prefetch_arrays): Likewise.
  7553. (remove_empty_loops): Likewise.
  7554. * tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Return
  7555. TODO_cleanup_cfg instead of directly calling
  7556. cleanup_tree_cfg_loop.
  7557. * tree-ssa-loop-ivcanon.c (canonicalize_induction_variables):
  7558. Likewise.
  7559. (tree_unroll_loops_completely): Likewise.
  7560. (remove_empty_loops): Likewise.
  7561. * tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Likewise.
  7562. * tree-ssa-loop.c (tree_ssa_loop_unswitch): Use the return value
  7563. of tree_ssa_unswitch_loops.
  7564. (tree_ssa_loop_ivcanon): Use the return value of
  7565. canonicalize_induction_variables.
  7566. (tree_ssa_empty_loop): Use the return value of
  7567. remove_empty_loops.
  7568. (tree_complete_unroll): Use the return value of
  7569. tree_unroll_loops_completely.
  7570. (tree_ssa_loop_prefetch): Use the return value of
  7571. tree_ssa_prefetch_arrays.
  7572. * passes.c (execute_todo): Before Cleanup CFG, set
  7573. updating_used_alone and after cleanup CFG, call
  7574. recalculate_used_alone.
  7575. 2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
  7576. PR tree-opt/28952
  7577. * tree-vect-transform.c (vectorizable_condition): Move the check
  7578. for the type after the check for simple condition.
  7579. 2006-09-05 J"orn Rennecke <joern.rennecke@st.com>
  7580. Kaz Kojima <kkojima@gcc.gnu.org>
  7581. PR target/28764
  7582. * mode-switching.c (optimize_mode_switching): Make the destination
  7583. block of an abnormal edge have no anticipatable mode. Don't
  7584. insert mode switching code at the end of the source block of
  7585. an abnormal edge.
  7586. 2006-09-05 Paolo Bonzini <bonzini@gnu.org>
  7587. PR rtl-optimization/26847
  7588. * simplify-rtx.c (struct simplify_plus_minus_op_data): Remove ix.
  7589. (simplify_plus_minus_op_data_cmp): For REGs, break ties on the regno.
  7590. (simplify_plus_minus): Count n_constants while filling ops. Replace
  7591. qsort with insertion sort. Before going through the array to simplify
  7592. pairs, sort it. Delay early exit until after the first sort, exiting
  7593. only if no swaps occurred. Simplify pairs in reversed order, without
  7594. special-casing the first iteration. Pack ops after simplifying pairs.
  7595. 2006-09-05 Anatoly Sokolov <aesok@post.ru>
  7596. * config/avr/avr.c (avr_mcu_types): Add support for at90pwm1 device.
  7597. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
  7598. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
  7599. (avr_rtx_costs): Mark 'outer_code' argument with ATTRIBUTE_UNUSED.
  7600. 2006-09-05 Richard Guenther <rguenther@suse.de>
  7601. PR tree-optimization/28900
  7602. * tree-if-conv.c (find_phi_replacement_condition): Gimplify
  7603. compound conditional before creating COND_EXPR condition.
  7604. 2006-09-05 Richard Guenther <rguenther@suse.de>
  7605. PR tree-optimization/28905
  7606. * tree-vrp.c (fix_equivalence_set): Manually implement
  7607. !value_ranges_intersect_p to also handle symbolic ranges.
  7608. 2006-09-05 Richard Guenther <rguenther@suse.de>
  7609. PR middle-end/28935
  7610. * tree-ssa-ccp.c (fold_stmt_r): Make sure to fold the condition
  7611. of a COND_EXPR.
  7612. 2006-09-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  7613. PR rtl-optimization/27616
  7614. * cse.c (table_size): New static variable.
  7615. (new_basic_block): Initialize it to 0.
  7616. (remove_from_table): Decrement it.
  7617. (insert): Increment it.
  7618. (fold_rtx_mem_1): New function, renamed from fold_rtx_mem.
  7619. (fold_rtx_mem): Enforce a cap on the recursion depth. Call
  7620. fold_rtx_mem_1 if under the cap.
  7621. (fold_rtx) <RTX_COMM_ARITH>: In the associative case, delay a little
  7622. the lookup of the equivalent expression and test for equality of the
  7623. first operand of the equivalent expression before in turn looking up
  7624. an equivalent constant for the second operand.
  7625. 2006-09-02 Geoffrey Keating <geoffk@apple.com>
  7626. Revert this change:
  7627. 2006-03-17 Alexandre Oliva <aoliva@redhat.com>
  7628. * dwarf2out.c (dwarf2out_stack_adjust): Always track the stack
  7629. pointer, instead of assuming it is possible to derive the
  7630. correct args size from a call insn.
  7631. 2006-09-02 Jakub Jelinek <jakub@redhat.com>
  7632. PR middle-end/27567
  7633. * builtins.c (fold_builtin_memcpy, fold_builtin_memmove): Remove.
  7634. (fold_builtin_mempcpy): Rename to...
  7635. (fold_builtin_memory_op): ... this. Optimize one element copy
  7636. into an assignment.
  7637. (fold_builtin_memset, fold_builtin_bzero, fold_builtin_bcopy): New
  7638. functions.
  7639. (expand_builtin_strcpy, expand_builtin_strncpy): Handle COMPOUND_EXPR.
  7640. (expand_builtin_memcpy, expand_builtin_mempcpy,
  7641. expand_builtin_memmove): Likewise. Use fold_builtin_memory_op.
  7642. (fold_builtin_1): Handle BUILT_IN_MEMSET, BUILT_IN_BZERO and
  7643. BUILT_IN_BCOPY. Use fold_builtin_memory_op for
  7644. BUILT_IN_MEM{CPY,PCPY,MOVE}.
  7645. 2006-09-01 DJ Delorie <dj@redhat.com>
  7646. * config/m32c/cond.md (cbranch<mode>4): Defer splitting until after reload.
  7647. (stzx_16): Likewise.
  7648. ("stzx_24_<mode>"): Likewise.
  7649. ("stzx_reversed_<mode>"): Likewise, and make mode-specific.
  7650. ("cmp<mode>_op"): New.
  7651. (cmp<mode>): Change to expander; just save operands.
  7652. (b<code>_op): New.
  7653. (b<code>): Change to expander, emit compare here.
  7654. (s<code>_op): Change to use split and expander.
  7655. (s<code>_24_op): Likewise.
  7656. (s<code>_<mode>): New.
  7657. (s<code>_<mode>_24): New.
  7658. (movqicc_<code>_<mode): New.
  7659. (movhicc_<code>_<mode>): New.
  7660. (s<code>): New.
  7661. (s<code>_24): New.
  7662. * config/m32c/m32c.c (compare_op0, compare_op1): New.
  7663. (m32c_pend_compare): New.
  7664. (m32c_unpend_compare): New.
  7665. (m32c_expand_scc): New.
  7666. (m32c_expand_movcc): Emit the compare also.
  7667. * config/m32c/predicates.md (mra_nopp_operand): New.
  7668. 2006-09-01 J"orn Rennecke <joern.rennecke@st.com>
  7669. Richard Guenther <rguenther@suse.de>
  7670. Adam Nemet <anemet@caviumnetworks.com>
  7671. PR middle-end/27226
  7672. * builtins.c (get_pointer_alignment): Handle more forms
  7673. of base addresses that can be used to derive more precise
  7674. information about alignment.
  7675. 2006-09-01 Jason Merrill <jason@redhat.com>
  7676. PR c++/28899
  7677. * gimplify.c (gimplify_modify_expr_rhs) [BIND_EXPR]: Handle
  7678. want_value.
  7679. * gimplify.c (voidify_wrapper_expr): Handle null type.
  7680. 2006-09-01 Josh Conner <jconner@apple.com>
  7681. PR c++/25505
  7682. * tree-nrv.c (dest_safe_for_nrv_p): New function.
  7683. (execute_return_slot_opt): Use it.
  7684. 2006-08-31 Josh Conner <jconner@apple.com>
  7685. PR c++/25505
  7686. * tree-gimple.c (is_gimple_mem_rhs): Recognize functions
  7687. returning aggregates.
  7688. 2006-08-31 Zdenek Dvorak <dvorakz@suse.cz>
  7689. PR tree-optimization/28839
  7690. * tree-into-ssa.c (prune_unused_phi_nodes): Take into account kills in
  7691. blocks in that phi arguments appear.
  7692. 2006-08-31 Roger Sayle <roger@eyesopen.com>
  7693. PR other/22313
  7694. * dwarf2out.c (add_fde_cfi): Use a set_loc if the current label is
  7695. NULL, otherwise use an advance_loc4 to adjust relative to the
  7696. current label.
  7697. (output_cfi) <DW_CFA_set_loc>: Update the current label.
  7698. (dwarf2out_switch_text_section): Reset the current label to avoid
  7699. using advance_loc4 over section boundaries.
  7700. 2006-08-31 Andreas Krebbel <krebbel1@de.ibm.com>
  7701. PR target/24367
  7702. * config/s390/s390.md ("movsi", "movdi" expander): Accept rtxes like
  7703. r12 + SYMBOLIC_CONST.
  7704. 2006-08-30 Richard Guenther <rguenther@suse.de>
  7705. * Makefile.in (see.o): Add $(EXPR_H) dependency.
  7706. 2006-08-30 Zdenek Dvorak <dvorakz@suse.cz>
  7707. PR rtl-optimization/27735
  7708. * cfgloopmanip.c (fix_loop_placements, fix_bb_placements, unloop):
  7709. Add new argument to keep track of whether an irreducible region
  7710. was affected. All callers changed.
  7711. (fix_irreducible_loops): Removed.
  7712. (remove_path): Call mark_irreducible_loops if EDGE_IRREDUCIBLE_LOOP
  7713. flags were invalidated.
  7714. 2006-08-29 H.J. Lu <hongjiu.lu@intel.com>
  7715. * config/i386/i386.md (*fop_df_comm_mixed): Match DF operands
  7716. instead of SF operands.
  7717. (*fop_df_comm_sse): Likewise.
  7718. (*fop_df_comm_i387): Likewise.
  7719. (*fop_df_1_mixed): Likewise.
  7720. (*fop_df_1_sse): Likewise.
  7721. 2006-08-29 Andrew Pinski <pinskia@physics.uc.edu>
  7722. J"orn Rennecke <joern.rennecke@st.com>
  7723. PR tree-optimization/17506
  7724. * tree-ssa.c (warn_uninit): If warning about a location outside of
  7725. the current function, note where the variable was declared.
  7726. 2006-08-28 Zdenek Dvorak <dvorakz@suse.cz>
  7727. PR tree-optimization/28411
  7728. * double-int.c (double_int_div): Use double_int_divmod.
  7729. (double_int_divmod, double_int_sdivmod, double_int_udivmod,
  7730. double_int_mod, double_int_smod, double_int_umod): New functions.
  7731. * double-int.h (double_int_divmod, double_int_sdivmod,
  7732. double_int_udivmod, double_int_mod, double_int_smod, double_int_umod):
  7733. Declare.
  7734. * tree-ssa-loop-ivopts.c (constant_multiple_of): Returns the result
  7735. in double_int.
  7736. (get_computation_aff, get_computation_cost_at): Handle double_int
  7737. return type of constant_multiple_of.
  7738. 2006-08-28 Kazu Hirata <kazu@codesourcery.com>
  7739. PR middle-end/26632
  7740. * convert.c (convert_to_integer): Set TREE_NO_WARNING to 1 on
  7741. an implicit conversion.
  7742. 2006-08-28 Prafulla Thakare <prafullat@kpitcummins.com>
  7743. * config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.
  7744. 2006-08-27 Roger Sayle <roger@eyesopen.com>
  7745. * ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute
  7746. x87 instructions.
  7747. 2006-08-27 Kazu Hirata <kazu@codesourcery.com>
  7748. * config/i386/crtfastmath.c: Fix a comment typo.
  7749. 2006-08-26 Roger Sayle <roger@eyesopen.com>
  7750. * tree.h (CASE_LOW_SEEN, CASE_HIGH_SEEN): New macros for manipulating
  7751. temporary visit flags on CASE_LABEL_EXPRs.
  7752. * c-common.c (match_case_to_enum): Add function comment. Avoid
  7753. O(N) loop, by looking up both CASE_LOW_SEEN and CASE_HIGH_SEEN.
  7754. (c_do_switch_warnings): Reorganize to record CASE_LOW_SEEN and
  7755. CASE_HIGH_SEEN for enumerated types. If the switch expression is
  7756. a constant, only warn if that constant value isn't handled.
  7757. 2006-08-26 Joseph S. Myers <joseph@codesourcery.com>
  7758. PR c++/24009
  7759. * input.h (restore_input_file_stack): Declare.
  7760. (INPUT_FILE_STACK_BITS): Define.
  7761. * toplev.c (fs_p, input_file_stack_history,
  7762. input_file_stack_restored, restore_input_file_stack): New.
  7763. (push_srcloc, pop_srcloc): Check for input_file_stack_tick
  7764. overflowing INPUT_FILE_STACK_BITS bits. Save new state of stack.
  7765. (pop_srcloc): Don't free old state of stack.
  7766. 2006-08-26 David Edelsohn <edelsohn@gnu.org>
  7767. PR target/27544
  7768. * doc/extend.texi (PowerPC Variable Attributes): Mention altivec.
  7769. (PowerPC Type Attributes): New.
  7770. 2006-08-26 Bob Wilson <bob.wilson@acm.org>
  7771. * config/xtensa/xtensa.c (function_arg_boundary): New.
  7772. (function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to
  7773. STACK_BOUNDARY.
  7774. * config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new
  7775. function_arg_boundary function that limits alignment to STACK_BOUNDARY.
  7776. 2006-08-26 Jakub Jelinek <jakub@redhat.com>
  7777. PR middle-end/28683
  7778. * cfgexpand.c (add_reg_br_prob_note): Check if last has exactly
  7779. 3 following insns.
  7780. 2006-08-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  7781. * flow.c (verify_wide_reg): Use internal_error for consistency failure.
  7782. (verify_local_live_at_start): Likewise.
  7783. 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
  7784. PR c/27893
  7785. * gimplify.c (gimplify_decl_expr, gimplify_init_ctor_preeval,
  7786. omp_add_variable): Treat sizes as variable whenever not
  7787. INTEGER_CST.
  7788. 2006-08-26 Richard Guenther <rguenther@suse.de>
  7789. PR middle-end/28814
  7790. * fold-const.c (fold_binary): Fold temporary to correct
  7791. type before constructing new comparison.
  7792. 2006-08-25 Fariborz Jahanian <fjahanian@apple.com>
  7793. PR c/28418
  7794. * c-gimplify.c (gimplify_compound_literal_expr): Don't add
  7795. variable again if DECL_SEEN_IN_BIND_EXPR_P.
  7796. 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
  7797. PR c/28299
  7798. * c-decl.c (start_function): Don't try to process prototype
  7799. information from old declaration that isn't a function.
  7800. 2006-08-25 Jan Hubicka <jh@suse.cz>
  7801. PR target/28621
  7802. * config/i386/crtfastmath.c (set_fast_math): Force stack alignment.
  7803. 2006-08-25 Alan Modra <amodra@bigpond.net.au>
  7804. PR target/27075
  7805. * config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
  7806. for 8 byte objects.
  7807. 2006-08-25 J"orn Rennecke <joern.rennecke@st.com>
  7808. PR tree-optimization/16876
  7809. * c-typeck.c (c_convert_parm_for_inlining): Don't take early
  7810. exit if PARM doesn't match VALUE.
  7811. 2006-08-25 Bob Wilson <bob.wilson@acm.org>
  7812. * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a
  7813. literal_prefix directive.
  7814. (XTENSA_DECLARE_FUNCTION_SIZE): Delete.
  7815. * config/xtensa/linux.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
  7816. * config/xtensa/elf.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
  7817. 2006-08-25 David Edelsohn <edelsohn@gnu.org>
  7818. PR target/28753
  7819. * config/rs6000/rs6000.md (movcc_internal1): Change operand 1
  7820. predicate to general_operand. Add 0->y and I->r alternatives.
  7821. 2006-08-25 Kazu Hirata <kazu@codesourcery.com>
  7822. * doc/tm.texi: Fix a typo.
  7823. * predict.c: Fix comment typos.
  7824. 2006-08-25 Nick Clifton <nickc@redhat.com>
  7825. * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add
  7826. assertions of "cpu" and "machine".
  7827. 2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
  7828. PR tree-opt/28807
  7829. * tree-ssa-operands.c (access_can_touch_variable): Don't say
  7830. the access through a base which has an alias set of 0 cannot
  7831. touch the variable.
  7832. 2006-08-24 Bill Wendling <wendling@apple.com>
  7833. * doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.
  7834. 2006-08-24 Jan Hubicka <jh@suse.cz>
  7835. * reload1.c (emit_reload_insns): Fix yet another typo in my patch.
  7836. 2006-08-24 Jan Hubicka <jh@suse.cz>
  7837. PR debug/26881
  7838. * cgraph.c: Fix comments.
  7839. (cgraph_varpool_mark_needed_node): Mark only variables not already
  7840. output to file.
  7841. * cgraphunit.c: Update comments; include gt-cgraphunit.h
  7842. (cgraph_varpool_assembled_nodes_queue): New static variable.
  7843. (cgraph_varpool_assemble_decl): Record output decls for debug out code.
  7844. (cgraph_varpool_output_debug_info): New function.
  7845. (cgraph_finalize_compilation_unit, cgraph_optimize): Call it.
  7846. * Makefile.in: Add gt-cgraphunit.h
  7847. 2006-08-24 Jan Hubicka <jh@suse.cz>
  7848. * predict.c (probability_reliable_p): New predicate.
  7849. (edge_probability_reliable_p, br_prob_note_reliable_p): Likewise.
  7850. (predict_loops): Do not predict loop exit with less than 2%
  7851. probability.
  7852. * basic-block.h (edge_probability_reliable_p,
  7853. br_prob_note_reliable_p): Declare.
  7854. * ia64.h (ia64_print_operand): Do not disable on-chip branch
  7855. prediction when static predictor is not reliable.
  7856. * rs6000.c (output_cbranch): Likewise.
  7857. 2006-08-23 Stuart Hastings <stuart@apple.com>
  7858. PR 28825
  7859. * gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
  7860. ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
  7861. 2006-08-21 Geoffrey Keating <geoffk@apple.com>
  7862. PR debug/28692
  7863. * dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
  7864. complex values, nor for generic vector values.
  7865. 2006-08-22 Richard Guenther <rguenther@suse.de>
  7866. PR middle-end/28776
  7867. * tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
  7868. parameter. Convert arguments to arithmetic expression to the
  7869. chrecs type.
  7870. (analyze_scalar_evolution_1): Adjust caller.
  7871. 2006-08-22 Jan Hubicka <jh@suse.cz>
  7872. Patch by Paolo Bonzini
  7873. * reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
  7874. my previous patch.
  7875. 2006-08-22 Daniel Berlin <dberlin@dberlin.org>
  7876. PR tree-optimization/28003
  7877. * tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
  7878. before grouping aliases.
  7879. 2006-08-22 Roger Sayle <roger@eyesopen.com>
  7880. * config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
  7881. if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.
  7882. 2006-08-21 Jason Merrill <jason@redhat.com>
  7883. PR c++/27115
  7884. * gimplify.c (voidify_wrapper_expr): Handle STATEMENT_LIST as a
  7885. wrapper. Loop to handle nested wrappers.
  7886. (gimplify_bind_expr): Remove temp parameter.
  7887. (gimplify_modify_expr_rhs): Handle CLEANUP_POINT_EXPR, BIND_EXPR
  7888. and STATEMENT_LIST on the rhs.
  7889. (gimplify_statement_list): Voidify the STATEMENT_LIST.
  7890. (gimplify_expr): Pass pre_p to gimplify_statement_list.
  7891. (gimplify_target_expr): Remove special BIND_EXPR handling.
  7892. 2006-08-21 J"orn Rennecke <joern.rennecke@st.com>
  7893. * config/sh/lib1funcs-Os-4-200.asm: Guard entire file with
  7894. #if !__SHMEDIA__ .
  7895. 2006-08-21 Olivier Hainque <hainque@adacore.com>
  7896. * gimplify.c (gimplify_init_constructor) <RECORD,UNION,ARRAY types>:
  7897. Arrange for the temporary captures of components overlapping the lhs
  7898. to happen before the lhs is possibly cleared.
  7899. 2006-08-21 Mark Shinwell <shinwell@codesourcery.com>
  7900. * config/arm/pr-support.c (__gnu_unwind_execute): Insert " + 1" in
  7901. necessary places to pass the correct "number of registers" values
  7902. to _Unwind_VRS_Pop.
  7903. 2006-08-20 Jan Hubicka <jh@suse.cz>
  7904. * tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function.
  7905. (create_name_tags): Instead of quadratic checking use hashtable.
  7906. * bitmap.h: Include hashtab.h.
  7907. (bitmap_hash): Declare.
  7908. * bitmap.c (bitmap_hash): New function.
  7909. 2006-08-20 Jan Hubicka <jh@suse.cz>
  7910. PR rtl-optimization/28071
  7911. * tree-optimize.c (tree_rest_of_compilation): Do not remove edges
  7912. twice.
  7913. * tree-inline.c (copy_bb): Use cgraph_set_call_stmt.
  7914. * ipa-inline.c (cgraph_check_inline_limits): Add one_only argument.
  7915. (cgraph_decide_inlining, cgraph_decide_inlining_of_small_function,
  7916. cgraph_decide_inlining_incrementally): Update use of
  7917. cgraph_check_inline_limits.
  7918. * cgraph.c (edge_hash, edge_eq): New function.
  7919. (cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge,
  7920. cgraph_edge_remove_caller, cgraph_node_remove_callees,
  7921. cgraph_remove_node): Maintain call site hash.
  7922. * cgraph.h (struct cgraph_node): Add call_site_hash.
  7923. (cgraph_set_call_stmt): New function.
  7924. 2006-08-20 Jan Hubicka <jh@suse.cz>
  7925. PR rtl-optimization/28071
  7926. * reload1.c (reg_has_output_reload): Turn into regset.
  7927. (reload_as_needed, forget_old_reloads_1, forget_marked_reloads,
  7928. choose_reload_regs, emit_reload_insns): Update to new
  7929. reg_has_output_reload.
  7930. 2006-08-20 Jan Hubicka <jh@suse.cz>
  7931. PR middle-end/28779
  7932. * ipa-inline.c (cgraph_decide_inlining, cgraph_early_inlining): Compute
  7933. function body sizes.
  7934. * cgraphunit.c (cgraph_analyze_function): Don't do so.
  7935. 2006-08-20 Danny Smith <dannysmith@users.sourceforge.net>
  7936. PR target/28648 c:
  7937. * tree.c (handle_dll_attribute): Return early if not a
  7938. var or function decl.
  7939. 2006-08-18 Joseph Myers <joseph@codesourcery.com>
  7940. PR target/27565
  7941. * config/rs6000/rs6000.h (LOCAL_ALIGNMENT): For SPE, only adjust
  7942. alignment of SPE vector types.
  7943. 2006-08-18 Christophe Jaillet <christophe.jaillet@wanadoo.fr>
  7944. * tree.c (is_attribute_with_length_p): Remove a duplicated assert.
  7945. 2006-08-17 Jakub Jelinek <jakub@redhat.com>
  7946. PR c/28744
  7947. * cgraph.h (struct cgraph_node): Remove externally_visible
  7948. bitfield.
  7949. * cgraphunit.c (process_function_and_variable_attributes): Set
  7950. local.externally_visible rather than externally_visible.
  7951. PR c/28744
  7952. * c-common.c (handle_externally_visible_attribute): First look
  7953. at TREE_CODE and only if it is function or var decl, check for
  7954. non-public objects. Don't warn for DECL_EXTERNAL.
  7955. * cgraphunit.c (process_function_and_variable_attributes): Warn
  7956. if externally_visible attribute is used on non-public object.
  7957. 2006-08-17 Jan Hubicka <jh@suse.cz>
  7958. PR tree-optimization/27865
  7959. * reload1.c (forget_marked_reloads): New function.
  7960. (forget_old_reloads_1): When data are passed, just mark the registers
  7961. for later removal.
  7962. (reload_as_needed): Use the new mechanizm.
  7963. 2006-08-17 Alexandre Oliva <aoliva@redhat.com>
  7964. PR target/28146
  7965. * reload.h (reg_equiv_alt_mem_list): New declaration.
  7966. * reload1.c (reg_equiv_alt_mem_list): New definition.
  7967. (reload): Initialize it and release it.
  7968. (delete_output_reload): Use it.
  7969. * reload.c (push_reg_equiv_alt_mem): New function.
  7970. (find_reloads_toplev): Call it.
  7971. (find_reloads_address, find_reloads_address_1): Likewise.
  7972. (find_reloads_subreg_address): Likewise.
  7973. 2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  7974. PR rtl-optimization/28489
  7975. * sched-ebb.c (begin_schedule_ready): Create basic block
  7976. at the right place.
  7977. (advance_target_bb): Skip empty blocks.
  7978. * haifa-sched.c (bb_note): Make global.
  7979. * sched-int.h (bb_note): Add prototype.
  7980. 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
  7981. PR tree-optimization/27865
  7982. * tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE
  7983. for pointer types.
  7984. * tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p,
  7985. fold_used_pointer, pointer_used_p): New functions.
  7986. (analyze_scalar_evolution_1): Use fold_used_pointer.
  7987. * tree-chrec.c (convert_affine_scev): Convert no-op casts correctly.
  7988. * tree-ssa-loop-ivopts.c (generic_type_for): Return integral type
  7989. for pointers.
  7990. 2006-08-17 Paolo Bonzini <bonzini@gnu.org>
  7991. PR c++/28573
  7992. * c-common.c (fold_offsetof_1): Add an argument and recurse down to it
  7993. or the INTEGER_CST. Fail on a CALL_EXPR.
  7994. (fold_offsetof): Pass new argument to fold_offsetof_1.
  7995. * c-parser.c (c_parser_postfix_expression): Don't include a NULL
  7996. operand into an INDIRECT_REF.
  7997. * c-typeck.c (build_unary_op): Adjust call to fold_offsetof.
  7998. 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
  7999. PR gcov/profile/26570
  8000. * value-prof.c (static_values): Removed.
  8001. (tree_find_values_to_profile): Do not set static_values.
  8002. (find_values_to_profile): Do not free static_values.
  8003. * profile.c (instrument_values): Do not free the values.
  8004. (branch_prob): Free the values.
  8005. 2006-08-16 Naveen.H.S <naveenh@kpitcummins.com>
  8006. * config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
  8007. 2006-08-16 Joseph S. Myers <joseph@codesourcery.com>
  8008. PR c/27697
  8009. * c-typeck.c (build_component_ref): Combine qualifiers of
  8010. structure or union and field.
  8011. 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
  8012. PR rtl-optimization/28071
  8013. * basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
  8014. * dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
  8015. * tree-into-ssa.c (struct dom_dfsnum): New.
  8016. (cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
  8017. functions.
  8018. (insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
  8019. compute_global_livein.
  8020. (prepare_block_for_update, prepare_use_sites_for): Mark the uses
  8021. in phi nodes in the correct blocks.
  8022. 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
  8023. PR tree-optimization/28364
  8024. * tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
  8025. correctly.
  8026. (fold_affine_expr): New function.
  8027. (may_eliminate_iv): Use fold_affine_expr.
  8028. 2006-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  8029. PR c/27489
  8030. * c-typeck.c (c_start_case): Handle invalid orig_type correctly.
  8031. Clean up.
  8032. 2006-08-16 Mike Stump <mrs@apple.com>
  8033. * doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
  8034. * doc/cppopts.texi (-MD): Likewise.
  8035. 2006-08-15 Danny Smith <dannysmith@users.sourceforge.net>
  8036. PR c/28287
  8037. * c-common.c (handle_weak_attribute): Ignore and warn if
  8038. not a FUNCTION_ or VAR_DECL.
  8039. 2006-07-15 Mike Stump <mrs@apple.com>
  8040. PR c/28280
  8041. * c-parser.c (c_parser_typeof_specifier): Don't use
  8042. c_finish_expr_stmt, open code desired semantics instead.
  8043. 2006-08-15 Nick Clifton <nickc@redhat.com>
  8044. * config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
  8045. fragment to tmake_file only if threads are enabled.
  8046. * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
  8047. * config/i386/t-gthr-win32: New file. ... here.
  8048. 2006-08-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  8049. PR c/28649
  8050. * c-parser.c (c_parser_compound_statement_nostart): Reset
  8051. parser->error after each statement.
  8052. 2006-08-15 Jakub Jelinek <jakub@redhat.com>
  8053. PR middle-end/28713
  8054. * omp-low.c (lower_omp_parallel): Convert t to
  8055. receiver_decl's type.
  8056. (expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
  8057. source before comparison.
  8058. PR middle-end/28724
  8059. * gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
  8060. to itype in assignment to oldival2.
  8061. 2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
  8062. PR c/27490
  8063. PR c/27489
  8064. * c-typeck.c (build_compound_expr): If the second expression
  8065. is an error mark, then just return an error mark instead of
  8066. creating a COMPOUND_EXPR.
  8067. 2006-07-14 Mike Stump <mrs@apple.com>
  8068. * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
  8069. 2006-08-14 Kazu Hirata <kazu@codesourcery.com>
  8070. * c-decl.c, var-tracking.c: Fix comment typos.
  8071. 2006-08-14 Richard Sandiford <richard@codesourcery.com>
  8072. PR rtl-optimization/28634
  8073. * reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
  8074. for floating-point modes unless flag_unsafe_math_optimizations.
  8075. 2006-08-13 Alexandre Oliva <aoliva@redhat.com>
  8076. Andrew Pinski <pinskia@physics.uc.edu>
  8077. PR c/27184
  8078. * tree.c (build_array_type): Unify array types with
  8079. unspecified index_type.
  8080. * c-decl.c (grokdeclarator): Make sure we do not modify a
  8081. unified incomplete array type.
  8082. * c-typeck.c (store_init_value): Create distinct type before
  8083. filling in the index type in an initializer from a compound
  8084. literal.
  8085. * c-decl.c (grokdeclarator): Remove code where we copy the
  8086. array type over.
  8087. 2006-08-13 Andrew Pinski <pinskia@physics.uc.edu>
  8088. * tree-pass.h (TODO_update_ssa): Fix which bit is used to take
  8089. into account for TODO_dump_cgraph.
  8090. (TODO_update_ssa_no_phi): Likewise.
  8091. (TODO_update_ssa_full_phi): Likewise.
  8092. (TODO_update_ssa_only_virtuals): Likewise.
  8093. (TODO_remove_unused_locals): Likewise.
  8094. (TODO_set_props): Likewise.
  8095. (TODO_update_stmt_usage): Likewise.
  8096. 2006-08-13 Dirk Mueller <dmueller@suse.de>
  8097. * c-common.c (strict_aliasing_warning): Fix formatting.
  8098. 2006-08-13 Matthias Klose <doko@debian.org>
  8099. * doc/invoke.texi: Fix spelling errors.
  8100. 2006-08-11 Eric Botcazou <ebotcazou@libertysurf.fr>
  8101. PR rtl-optimization/23454
  8102. * reorg.c (relax_delay_slots): Update comment.
  8103. 2006-08-11 Richard Guenther <rguenther@suse.de>
  8104. PR middle-end/28651
  8105. * simplify-rtx.c (simplify_const_relational_operation):
  8106. Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
  8107. codes.
  8108. 2006-08-10 Eric Botcazou <ebotcazou@adacore.com>
  8109. * tree.c (build1_stat): Also propagate the TREE_CONSTANT and
  8110. TREE_INVARIANT flags for a VIEW_CONVERT_EXPR.
  8111. 2006-08-10 Paul Brook <paul@codesourcery.com>
  8112. * final.c (final_scan_insn): Clear current_insn_predicate before
  8113. outputting inline asm.
  8114. 2006-08-10 Dorit Nuzman <dorit@il.ibm.com>
  8115. PR tree-optimization/26197
  8116. * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls
  8117. get_ref_base_and_extent and overlap_subvar to add only relevant
  8118. subvars as may-aliases.
  8119. (add_may_alias_for_new_tag): New function, factored out of
  8120. new_type_alias.
  8121. * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias
  8122. with additional argument.
  8123. * tree-flow.h (new_type_alias): Takes additional argument.
  8124. 2006-08-09 Nathan Sidwell <nathan@codesourcery.com>
  8125. * gcov.c (no_data_file): New flag.
  8126. (read_count_file): Set it if data file not present. Assume counts
  8127. zero if not found.
  8128. (output_lines): Don't name the data file, if there wasn't one.
  8129. 2006-08-09 Eric Botcazou <ebotcazou@adacore.com>
  8130. * config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
  8131. (rs6000_generate_compare): Tweak comments.
  8132. * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.
  8133. 2006-08-09 Alexandre Oliva <aoliva@redhat.com>
  8134. * var-tracking.c (enum micro_operation_type): Add MO_COPY.
  8135. (var_debug_decl): New function.
  8136. (var_reg_set): Follow debug decl link. Add location even if
  8137. reg is already known to hold some other variable.
  8138. (var_mem_set): Follow debug decl link.
  8139. (var_reg_delete_and_set, var_mem_delete_and_set): Follow debug
  8140. decl link. Delete other known locations of the variable part
  8141. if requested.
  8142. (var_reg_delete, var_mem_delete): Delete other known locations
  8143. of the variable part if requested.
  8144. (same_variable_part_p): New function.
  8145. (add_stores): Select MO_COPY when appropriate.
  8146. (vt_initialize): Handle it.
  8147. (compute_bb_dataflow, emit_notes_in_bb): Likewise. Delete
  8148. known locations for MO_SET and MO_CLOBBER.
  8149. (find_variable_location_part): New function.
  8150. (set_variable_part, delete_variable_part): Use it.
  8151. (clobber_variable_part): New function.
  8152. * dwarf2out.c (dwarf2out_var_location): Do not follow debug
  8153. decl link.
  8154. 2006-08-07 Victor Kaplansky <victork@il.ibm.com>
  8155. PR tree-optimization/26969
  8156. * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch
  8157. with an empty list of PHIs.
  8158. 2006-08-06 Paolo Bonzini <bonzini@gnu.org>
  8159. PR target/27827
  8160. * conffig/i386/i386.md: Add peephole2 to avoid "fld %st"
  8161. instructions.
  8162. 2006-08-06 Andreas Schwab <schwab@suse.de>
  8163. * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
  8164. string. Whitespace and comment fixup.
  8165. 2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  8166. PR c/28502
  8167. * c-decl.c (validate_proto_after_old_defn): Return false on invalid
  8168. argument.
  8169. PR c/27721
  8170. * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.
  8171. PR c/28136
  8172. * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
  8173. 2006-08-04 Jan Hubicka <jh@suse.cz>
  8174. PR target/26655
  8175. PR target/28270
  8176. * reload.c (push_reload): Patch out the mismatching instruction;
  8177. return early.
  8178. (find_reload): Bail out if the instruction was patched out.
  8179. 2006-08-04 Jan Hubicka <jh@suse.cz>
  8180. PR tree-optimization/24888
  8181. * tree-inline.c (expand_call_inline): Do not re-record variables.
  8182. (declare_inline_vars): Add variable to unexpanded_var_list.
  8183. 2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  8184. Roger Sayle <roger@eyesopen.com>
  8185. PR rtl-optimization/26244
  8186. * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
  8187. inner_const are negative or greater than or equal to the bitsize of
  8188. MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
  8189. Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
  8190. Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
  8191. CONST0_RTX (mode) when the new shift count is greater than or equal to
  8192. to the bitsize of the object being shifted and XEXP (y, 0) has no side
  8193. effects.
  8194. 2006-08-04 Kazu Hirata <kazu@codesourcery.com>
  8195. * tree-cfg.c: Fix a comment typo.
  8196. 2006-08-03 Mark Mitchell <mark@codesourcery.com>
  8197. PR c++/28148
  8198. * varasm.c (output_constant): Give the front end another chance to
  8199. expand constants, after stripping NOPs.
  8200. 2006-08-03 Jan Hubicka <jh@suse.cz>
  8201. * domwalk.c (walk_dominator_tree): Reorganize to non-recursive
  8202. implementation.
  8203. 2006-08-03 Dorit Nuzman <dorit@il.ibm.com>
  8204. PR tree-optimization/27770
  8205. * tree-vectorizer.h (get_vectype_for_scalar_type): Function
  8206. declaration removed (moved to tree-flow.h).
  8207. (vect_can_force_dr_alignment_p): Likewise.
  8208. * tree-flow.h (get_vectype_for_scalar_type): New function declaration
  8209. (moved from tree-vectorizer.h).
  8210. (vect_can_force_dr_alignment_p): Likewise.
  8211. * tree-vectorizer.c (vect_print_dump_info): Allow calling this function
  8212. from outside the vectorizer - in particular from cgraph stage.
  8213. * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase
  8214. the alignment of global arrays when -fsection-anchors is enabled.
  8215. * cgraphunit.c (cgraph_increase_alignment): New function.
  8216. (cgraph_optimize): Call cgraph_increase_alignment.
  8217. 2006-08-03 David Edelsohn <edelsohn@gnu.org>
  8218. PR target/27566
  8219. * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
  8220. not reload a SPE symbol_ref into a lo_sum address.
  8221. 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
  8222. PR debug/28063
  8223. * dwarf2out.c (prune_unused_types_prune): Move call to
  8224. prune_unused_types_update_strings to cover the parent DIE also.
  8225. 2006-08-02 Jan Hubicka <jh@suse.cz>
  8226. PR gcov/profile/28480
  8227. * tree-cfg.c (change_bb_for_stmt): New function.
  8228. (tree_merge_blocks, tree_split_blocks): Use it.
  8229. 2006-08-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  8230. PR c++/28250
  8231. PR c++/28257
  8232. PR c++/28259
  8233. PR c++/28267
  8234. * toplev.c (compile_file): Return early on errorcount or sorrycount.
  8235. * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
  8236. (cgraph_optimize): Likewise.
  8237. 2006-08-01 Stuart Hastings <stuart@apple.com>
  8238. * rtl.h (UINTVAL) New.
  8239. * config/rs6000/rs6000.c (SMALL_INT) Use it.
  8240. * testsuite/gcc.dg/20060801-1.c: New.
  8241. 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
  8242. PR debug/23336
  8243. * c-typeck.c (build_external_type): Mark used enum types.
  8244. * dwarf2out.c (dwarf2out_abstract_function): Save and restore
  8245. cfun also.
  8246. (gen_subprogram_die): Whitespace fix.
  8247. 2006-08-01 Jan Hubicka <jh@suse.cz>
  8248. * tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
  8249. bitmap when not needed.
  8250. * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
  8251. bitmaps.
  8252. 2006-08-01 Dirk Mueller <dmueller@suse.de>
  8253. * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
  8254. 2006-07-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  8255. * Makefile.in: Revert part of previous patch:
  8256. Replace $(VARRAY_H) by varray.h in definition of BASIC_BLOCK_H
  8257. and REGS_H.
  8258. 2006-07-30 Eric Christopher <echristo@apple.com>
  8259. PR target/27543
  8260. * doc/extend.texi (i386 Variable Attributes): Add anchor.
  8261. (PowerPC Variable Attributes): New section.
  8262. 2006-07-30 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
  8263. PR target/28126 (partial fix)
  8264. * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
  8265. 2006-07-28 Jan Hubicka <jh@suse.cz>
  8266. PR rtl-optimization/28071
  8267. * cfgrtl.c (rtl_delete_block): Free regsets.
  8268. * flow.c (allocate_bb_life_data): Re-use regsets if available.
  8269. 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  8270. * Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
  8271. and variables used in dependencies.
  8272. 2006-07-27 Arjan van de Ven <arjan@linux.intel.com>
  8273. * config/i386/i386.md (stack_tls_protect_set_di) Use %gs rather than
  8274. %fs for -mcmodel=kernel.
  8275. (stack_tls_protect_test_di): Likewise.
  8276. 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
  8277. * Makefile.in: Use mkinstalldirs.
  8278. 2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
  8279. PR driver/28437
  8280. * opts-common.c (prune_options): Skip joined switches.
  8281. 2006-07-27 Jan Hubicka <jh@suse.cz>
  8282. PR rtl-optimization/28071
  8283. * cselib.c (cselib_process_insn): Don't remove useless values too
  8284. often for very large hashtables.
  8285. 2006-07-27 Jan Hubicka <jh@suse.cz>
  8286. PR rtl-optimization/28071
  8287. * global.c (greg_obstack): New obstack.
  8288. (allocate_bb_info): Use it.
  8289. (free_bb_info): Likewise.
  8290. (modify_reg_pav): Likewise.
  8291. 2006-07-27 Roger Sayle <roger@eyesopen.com>
  8292. * builtins.c (fold_fixed_mathfn): When long and long long are the
  8293. same size, canonicalize llceil*, llfloor*, llround* and llrint*
  8294. functions to their lceil*, lfloor*, lround* and lrint* forms.
  8295. 2006-07-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  8296. PR gcc/28508
  8297. * config/m32r/m32r.md (branch_insn): Reduce pc range for short
  8298. branch.
  8299. (rev_branch_insn): Likewise.
  8300. 2006-07-27 Jan Hubicka <jh@suse.cz>
  8301. PR rtl-optimization/28071
  8302. * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
  8303. (reg_set_in_bb, max_reg_computed): New static variables.
  8304. (regmove_optimize): Free the new array.
  8305. (fixup_match_1): Update call of reg_is_remote_constant_p.
  8306. 2006-07-26 Jan Hubicka <jh@suse.cz>
  8307. PR tree-optimization/27882
  8308. * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous
  8309. and decl fields.
  8310. * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill
  8311. next pointer
  8312. (cgraph_analyze_compilation_unit): Likewise.
  8313. * ipa.c (cgraph_remove_unreachable_nodes): Likewise.
  8314. * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise.
  8315. (cgraph_early_inlinine): Make order garbage collected.
  8316. * Makefile.in (gt-ipa-inline): New garbagecollected file.
  8317. 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
  8318. * dbxout.c (output_types_sort): Add a comment.
  8319. (output_used_types): Free the VEC.
  8320. 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
  8321. * function.c (reorder_fix_fragments): Delete.
  8322. (reorder_blocks): Don't call it.
  8323. (reorder_blocks_1): Put all subblocks under the origin block.
  8324. 2006-07-26 Zdenek Dvorak <dvorakz@suse.cz>
  8325. PR rtl-optimization/27907
  8326. * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and
  8327. FLOAT_TRUNCATE.
  8328. 2006-07-25 Roger Sayle <roger@eyesopen.com>
  8329. PR middle-end/28473
  8330. * convert.c (convert_to_integer): When transforming (T)foo(x) into
  8331. bar(x) check that bar's result type can represent all the values of T.
  8332. 2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
  8333. * tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
  8334. 2006-07-25 Nick Clifton <nickc@redhat.com>
  8335. * ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
  8336. size_lookup[] array.
  8337. (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
  8338. (ggc_pch_count_object): Likewise.
  8339. (ggc_pch_alloc_object): Likewise.
  8340. (ggc_pch_write_object): Likewise.
  8341. (init_ggc): Do not attempt to initialize entries in the
  8342. size_lookup[] array for objects whose size is greater than than
  8343. the length of the array.
  8344. 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
  8345. * dbxout.c (output_used_types_helper): Push queued types
  8346. on a VEC.
  8347. (output_types_sort): New.
  8348. (output_used_types): Collect used types on a VEC and sort them
  8349. before emission.
  8350. 2006-07-24 Richard Guenther <rguenther@suse.de>
  8351. PR middle-end/28463
  8352. * cgraph.c (cgraph_remove_node): Do not check if dumps
  8353. are enabled.
  8354. * cgraphunit.c (cgraph_optimize): Likewise.
  8355. 2006-07-24 Jan Hubicka <jh@suse.cz>
  8356. PR rtl-optimization/28071
  8357. * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes.
  8358. * tree-iterator.c (tsi_split_statement_list_before): Do not crash when
  8359. splitting before first stmt.
  8360. 2006-07-24 Jan Hubicka <jh@suse.cz>
  8361. PR rtl-optimization/28071
  8362. * ipa-inline.c (update_caller_keys): Remove edges that
  8363. are no longer inline candidates.
  8364. 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
  8365. PR debug/27473
  8366. * dbxout.c (output_used_types_helper, output_used_types): New.
  8367. (dbxout_symbol): Call output_used_types.
  8368. 2006-07-23 Jan Hubicka <jh@suse.cz>
  8369. PR c/25795
  8370. PR c++/27369
  8371. * cgraph.c (cgraph_varpool_nodes): Export.
  8372. (decide_is_variable_needed): Ignored "used" attribute in
  8373. unit-at-a-time mode.
  8374. * cgraph.h (cgraph_varpool_nodes): Declare.
  8375. * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
  8376. unit-at-a-time mode.
  8377. 2006-07-23 Roger Sayle <roger@eyesopen.com>
  8378. PR target/28247
  8379. * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
  8380. mutex_destroy even when !_LIBOOBJC. Remove duplicate prototype of
  8381. the __gthrw form of thr_keycreate.
  8382. (__gthread_key_delete): Silence the unused argument warning.
  8383. 2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
  8384. PR debug/25468
  8385. * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
  8386. Cache the last found '\0' marker to avoid quadratic behavior.
  8387. 2006-07-23 Jan Hubicka <jh@suse.cz>
  8388. * i386.md (subsi_3_zext): Fix output template.
  8389. 2006-07-21 Mike Stump <mrs@apple.com>
  8390. * doc/invoke.texi (C++ Dialect Options): Note that
  8391. -fvisibility-inlines-hidden doesn't affect explicitly
  8392. instantiationed inline methods.
  8393. 2006-07-20 Roger Sayle <roger@eyesopen.com>
  8394. * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
  8395. if the target assembler is GNU binutils' gas.
  8396. * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
  8397. whether to pass GNU gas or native as command line options.
  8398. 2006-07-20 Jason Merrill <jason@redhat.com>
  8399. * tree.c (remove_attribute): New fn.
  8400. * tree.h: Declare it.
  8401. 2006-07-20 Paul Brook <paul@codesourcery.com>
  8402. PR 27363
  8403. * cse.c (cse_insn): Add destination addresses to hash table. Check if
  8404. they are invalidated by this instruction.
  8405. 2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
  8406. PR target/28427
  8407. * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
  8408. 2006-07-20 Eric Christopher <echristo@apple.com>
  8409. PR target/26877
  8410. * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
  8411. 2006-07-19 Eric Christopher <echristo@apple.com>
  8412. * config/t-slibgcc-darwin (stmp-lipo): Remove.
  8413. Rewrite dependencies for libgcc_s.1.dylib.
  8414. 2006-07-19 Jakub Jelinek <jakub@redhat.com>
  8415. * except.c (duplicate_eh_regions_1): Clear next_peer.
  8416. 2006-07-17 Nathan Sidwell <nathan@codesourcery.com>
  8417. * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
  8418. -mlongcall does not guarantee all calls will be long.
  8419. * doc/extend.texi (long_call/short_call): Document that longcall
  8420. does not guarantee a long call will be used.
  8421. (longcall/shortcall): Likewise.
  8422. 2006-07-18 Roger Sayle <roger@eyesopen.com>
  8423. PR middle-end/28283
  8424. * expmed.c (expand_shift): Additionally check that the shift_cost
  8425. is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
  8426. before implementing a LSHIFT_EXPR as a sequence of additions.
  8427. * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
  8428. middle-end that DImode shifts need to be synthesized by expand.
  8429. 2006-07-18 Diego Novillo <dnovillo@redhat.com>
  8430. PR 28410
  8431. * tree-ssa-operands.c (access_can_touch_variable): Update
  8432. comment.
  8433. Return true if ALIAS is .GLOBAL_VAR.
  8434. 2006-07-18 David Daney <ddaney@avtrex.com>
  8435. * gcc.c (display_help): Fix typo in help text.
  8436. 2006-07-18 Olivier Hainque <hainque@adacore.com>
  8437. * tree.h (categorize_ctor_elements): Adjust prototype and add
  8438. descriptive comment, both in accordance with the interface change
  8439. described below.
  8440. * varasm.c (constructor_static_from_elts_p): New function.
  8441. Whether a constructor node is a valid static constant initializer
  8442. if all its elements are.
  8443. (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
  8444. * output.h: Declare it.
  8445. * expr.c (categorize_ctor_elements_1): Return whether the constructor
  8446. is a valid constant initializer instead of computing the number of
  8447. non-constant elements. Use constructor_static_from_elts_p for this
  8448. purpose. Replace the head comment with an indication that this is a
  8449. helper for categorize_ctor_elements.
  8450. (categorize_ctor_elements): Same interface change as for the _1
  8451. helper. Former head comment from this helper moved here, adjusted to
  8452. account for the interface changes.
  8453. (mostly_zeros_p): Adjust call to categorize_ctor_elements.
  8454. (all_zeros_p): Likewise.
  8455. * gimplify.c (gimplify_init_constructor): Decide whether we can make
  8456. static versions of the constructor from the categorize_ctor_elements
  8457. return value instead of the formerly computed number of non-constant
  8458. elements.
  8459. 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
  8460. * configure: Regenerate.
  8461. * Makefile.in (build_libsubdir): New configure substitution
  8462. (build_libobjdir): New variable.
  8463. (BUILD_LIBIBERTY): Use it.
  8464. 2006-07-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  8465. PR c/28286
  8466. * c-pragma.c (handle_pragma_pack): Handle invalid constants.
  8467. 2006-07-18 Alexandre Oliva <aoliva@redhat.com>
  8468. PR c/26993
  8469. * c-common.c (handle_weakref_attribute): Ignore attribute in
  8470. the same conditions the alias attribute is ignored.
  8471. 2006-07-17 Carlos O'Donell <carlos@codesourcery.com>
  8472. * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
  8473. (dbxout_begin_prologue): Increment scope_labelno.
  8474. 2006-07-17 Richard Henderson <rth@redhat.com>
  8475. PR 27889
  8476. * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
  8477. if needed.
  8478. 2006-07-17 Roger Sayle <roger@eyesopen.com>
  8479. Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  8480. * config/i386/gmon-sol2.c: Silence compilation warnings by partially
  8481. synchronizing code with config/sparc/gmon-sol2.c. Remove #if 0
  8482. blocks. #include "tconfig.h" and "tsystem.h" to prototype system
  8483. functions such as sbrk, write, etc.. Add function prototypes.
  8484. Convert function declarations from K&R to ISO C. Cast pointers
  8485. to "long" and "unsigned long" instead of "int" and "unsigned int".
  8486. Convert tokens following #endif into comments.
  8487. 2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
  8488. * invoke.texi: Remove mention of f77; Reformat table for
  8489. inline parameter options correctly; mention that -malign-double
  8490. is default on x86-64 targets.
  8491. 2006-07-17 Zdenek Dvorak <dvorakz@suse.cz>
  8492. * tree-chrec.c (avoid_arithmetics_in_type_p): New.
  8493. (convert_affine_scev, chrec_convert_aggressive): Use
  8494. avoid_arithmetics_in_type_p. Do not check for the subtypes
  8495. separately.
  8496. 2006-07-17 Richard Sandiford <richard@codesourcery.com>
  8497. PR middle-end/28403
  8498. * optabs.c (expand_doubleword_shift): Wrap the call to
  8499. do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
  8500. 2006-07-17 Richard Sandiford <richard@codesourcery.com>
  8501. PR middle-end/28402
  8502. * optabs.c (expand_binop): Pass next_methods rather than methods
  8503. to expand_doubleword_shift.
  8504. 2006-07-17 J"orn Rennecke <joern.rennecke@st.com>
  8505. PR other/28251
  8506. * tree.h (dump_addr): Declare.
  8507. * print-tree.c (dump_addr): New function.
  8508. (print_node_brief, print_node): Use it.
  8509. * print-rtl.c (print_rtx): Likewise.
  8510. * common.opt (-fdump-noaddr): New option.
  8511. * doc/invoke.texi (-fdump-noaddr): Document.
  8512. * loop-unroll.c (si_info_hash): Make hash independent of addresses.
  8513. (ve_info_hash): Likewise.
  8514. 2006-07-13 Andrew Haley <aph@redhat.com>
  8515. PR tree-optimization/19505
  8516. * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
  8517. edge leaving this block, make sure that the destination of this
  8518. block has only one predecessor.
  8519. 2006-07-17 Richard Guenther <rguenther@suse.de>
  8520. PR tree-optimization/28238
  8521. * tree-inline.c (copy_bb): Check if we produced valid
  8522. gimple copying and substituting a stmt. If not, gimplify
  8523. it.
  8524. 2006-07-16 Eric Botcazou <ebotcazou@adacore.com>
  8525. * optabs.c (maybe_encapsulate_block): New function extracted from...
  8526. (emit_libcall_block): ...here. Invoke it on the block of insns to
  8527. maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
  8528. (emit_no_conflict_block): Likewise.
  8529. 2006-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
  8530. * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
  8531. 2006-07-15 Roger Sayle <roger@eyesopen.com>
  8532. * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
  8533. a new NOP_EXPR case of the switch statement.
  8534. 2006-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
  8535. PR middle-end/28160
  8536. * stor-layout.c (place_field): Take the bit field with
  8537. an excessive size into account in the ms-bitfiled case.
  8538. PR middle-end/28161
  8539. * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
  8540. the previous bit field.
  8541. 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
  8542. PR target/27287
  8543. * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
  8544. 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
  8545. * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
  8546. signal frames correctly even when the signal was installed with
  8547. sa_restorer set.
  8548. 2006-07-14 Carlos O'Donell <carlos@codesourcery.com>
  8549. * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
  8550. (dbxout_function_end): Use local label LFBB. Remove hook
  8551. DBX_OUTPUT_NFUN.
  8552. (dbxout_source_line): Use local label LFBB.
  8553. (dbxout_block): Likewise.
  8554. (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
  8555. (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
  8556. * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
  8557. and DBX_OUTPUT_NFUN.
  8558. 2006-07-13 Janis Johnson <janis187@us.ibm.com>
  8559. * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
  8560. 2006-07-13 Jan Hubicka <jh@suse.cz>
  8561. * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
  8562. align_variable.
  8563. * output.h (align_variable): Declare.
  8564. * varasm.c (align_variable): Export.
  8565. * value-prof.c (tree_value_profile_transformations): Recompute iterator
  8566. when basic block changed.
  8567. 2006-07-13 Nick Clifton <nickc@redhat.com>
  8568. * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
  8569. walking the LOG_LINKS chain.
  8570. 2006-07-12 Geoffrey Keating <geoffk@apple.com>
  8571. * doc/invoke.texi (C++ Dialect Options): Explain difference
  8572. between -fvisibility-inlines-hidden and setting hidden
  8573. visibility explicitly.
  8574. 2006-07-12 Eric Christopher <echristo@apple.com>
  8575. * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
  8576. (stmp-lipo): Depend on libgcc.a.
  8577. 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
  8578. * tree.c: Fix a comment typo.
  8579. 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
  8580. * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
  8581. dest.
  8582. (umulhisi3_r): Likewise.
  8583. 2006-07-12 Paolo Carlini <pcarlini@suse.de>
  8584. PR libstdc++/27878
  8585. * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
  8586. x < 19, vs wchar_t support.
  8587. 2006-07-12 Nick Clifton <nickc@redhat.com>
  8588. * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
  8589. instead of -isa=sh4.
  8590. 2006-07-12 Mike Stump <mrs@apple.com>
  8591. * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
  8592. 2006-07-10 Eric Christopher <echristo@apple.com>
  8593. * config/t-slibgcc-darwin: Rewrite.
  8594. 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
  8595. PR bootstrap/20437
  8596. * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
  8597. dependencies.
  8598. 2006-07-08 Matthias Klose <doko@debian.org>
  8599. * doc/sourcebuild.texi: Fix typo.
  8600. 2006-07-07 Mike Stump <mrs@apple.com>
  8601. * toplev.c (process_options): Don't give -ffunction-sections may
  8602. affect debugging warning for Mach-O.
  8603. 2006-07-07 James E Wilson <wilson@specifix.com>
  8604. * config/mips/mips.md (cpu): Add sb1a.
  8605. * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
  8606. addition to sb1. Adjust comments to clarify SB-1A differences from
  8607. SB-1.
  8608. (ir_sb1a_load): New. Modify bypasses to use it.
  8609. (ir_sb1a_simple_alu): Likewise.
  8610. * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
  8611. (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
  8612. (mips_issue_rate): Add PROCESSOR_SB1A.
  8613. (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
  8614. * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
  8615. (TARGET_SB1): Add PROCESSOR_SB1A check.
  8616. (TUNE_SB1): Likewise.
  8617. * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
  8618. * config/mips/mips.c (mips_store_data_bypass_p): New.
  8619. * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
  8620. store_data_bypass_p.
  8621. 2006-07-08 Paul Brook <paul@codesourcery.com>
  8622. PR target/27991
  8623. * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
  8624. 2006-07-07 Richard Guenther <rguenther@suse.de>
  8625. PR middle-end/28268
  8626. * tree.h (build_one_cst): Declare.
  8627. * tree.c (build_one_cst): New function.
  8628. * tree-ssa-math-opts.c (get_constant_one): Remove.
  8629. (insert_reciprocals): Use build_one_cst.
  8630. * fold-const.c (fold_plusminus_mult): Likewise.
  8631. 2006-07-07 Roger Sayle <roger@eyesopen.com>
  8632. * pointer-set.c (pointer_set_destroy): Correct whitespace.
  8633. * cfgloopanal.c (dump_graph): Likewise.
  8634. * dojump.c (discard_pending_stack_adjust): Likewise.
  8635. * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
  8636. Likewise.
  8637. * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
  8638. * function.c (finalize_block_changes): Likewise.
  8639. * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
  8640. * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
  8641. * rtl.c (dump_rtx_statistics): Likewise.
  8642. * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
  8643. Likewise.
  8644. * varray.c (dump_varray_statistics): Likewise.
  8645. * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
  8646. decode_decimal64, encode_decimal128, decode_decimal128,
  8647. decimal_real_to_decimal): Likewise.
  8648. 2006-07-07 Richard Guenther <rguenther@suse.de>
  8649. PR tree-optimization/28187
  8650. * tree-vrp.c (vrp_operand_equal_p): New function.
  8651. (vrp_bitmap_equal_p): Likewise.
  8652. (update_value_range): Use them to compare old and new
  8653. max and min values.
  8654. 2006-07-06 Roger Sayle <roger@eyesopen.com>
  8655. * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
  8656. a default case to switch statement to silence compiler warnings.
  8657. 2006-07-06 Roger Sayle <roger@eyesopen.com>
  8658. PR target/27968
  8659. * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
  8660. the configured assembler supports the x87's ffreep mnemonic.
  8661. * configure: Regenerate.
  8662. * config.in: Regenerate.
  8663. * config/i386/i386.c (output_387_ffreep): New function.
  8664. (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
  8665. (output_387_reg_move): Likewise.
  8666. 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
  8667. Port to hosts whose 'sort' and 'tail' implementations
  8668. treat operands with leading '+' as file names, as POSIX
  8669. has required since 2001. However, make sure the code still
  8670. works on pre-POSIX hosts.
  8671. * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
  8672. which says you should use "tail -c +N" rather than "tail +Nc".
  8673. Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
  8674. 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
  8675. * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
  8676. argument name.
  8677. 2006-07-06 David Edelsohn <edelsohn@gnu.org>
  8678. PR target/28150
  8679. * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
  8680. PRE_{INC,DEC} of TFmode.
  8681. 2006-07-06 David Edelsohn <edelsohn@gnu.org>
  8682. Alan Modra <amodra@bigpond.net.au>
  8683. PR target/28170
  8684. * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
  8685. bounds. Simplify.
  8686. 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  8687. PR target/28285
  8688. * config/alpha/predicates.md (alpha_swapped_comparison_operator):
  8689. Remove duplicate gtu.
  8690. 2006-07-05 Jason Merrill <jason@redhat.com>
  8691. PR c++/13983
  8692. PR c++/17519
  8693. * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
  8694. * c-common.c (handle_packed_attribute): So don't copy it here.
  8695. * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
  8696. 2006-07-05 Mike Stump <mrs@apple.com>
  8697. * doc/invoke.texi (Invoking G++): Clarify prose for g++.
  8698. 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
  8699. PR target/26146
  8700. * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
  8701. 2006-07-05 Richard Guenther <rguenther@suse.de>
  8702. PR target/28158
  8703. * config/i386/i386.md (*negdf2_1): Restrict pattern to
  8704. TARGET_SSE2 targets if using SSE math.
  8705. (*absdf2_1): Likewise.
  8706. 2006-07-05 Richard Guenther <rguenther@suse.de>
  8707. PR tree-optimization/28162
  8708. * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
  8709. make sure to convert the operands to the correct type.
  8710. 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
  8711. PR tree-optimization/28218
  8712. * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
  8713. to calculate and free the dominator information.
  8714. 2006-07-04 Peter O'Gorman <peter@pogma.com>
  8715. * mklibgcc.in: chmod 644 before ranlib during install.
  8716. 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
  8717. J"orn Rennecke <joern.rennecke@st.com>
  8718. * configure.ac (.eh_frame data check): Use diff -b.
  8719. 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  8720. PR bootstrap/18058
  8721. * Makefile.in (BUILD_RTL): Add build/vec.o.
  8722. (build/gencondmd.o): Filter out -fkeep-inline-functions.
  8723. (build/genextract): Delete.
  8724. (build/genautomata): Likewise.
  8725. 2006-07-04 Alan Modra <amodra@bigpond.net.au>
  8726. PR target/28207
  8727. * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
  8728. 128-bit IBM long doubles for ABI_V4.
  8729. 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
  8730. * tree.c (range_in_array_bounds_p): New predicate.
  8731. * tree.h (range_in_array_bounds_p): Declare it.
  8732. * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
  8733. return a less conservative answer.
  8734. * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
  8735. and flag 'is_group'.
  8736. (IS_ELEMENT_FOR_GROUP): New macro.
  8737. (FOR_EACH_ACTUAL_CHILD): Likewise.
  8738. (next_child_for_group): New helper function.
  8739. (can_completely_scalarize_p): Take into account groups.
  8740. (sra_hash_tree): Handle RANGE_EXPR.
  8741. (sra_elt_eq): Likewise.
  8742. (lookup_element): Be prepared for handling groups.
  8743. (is_valid_const_index): Delete.
  8744. (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
  8745. instead of is_valid_const_index.
  8746. <ARRAY_RANGE_REF>: New case.
  8747. (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
  8748. is_valid_const_index.
  8749. <ARRAY_RANGE_REF>: Do not unconditionally punt.
  8750. (scan_dump): Dump info for groups too.
  8751. (decide_instantiation_1): Likewise.
  8752. (decide_block_copy): Assert that the element is not a group.
  8753. Propagate decision to groups.
  8754. (generate_one_element_ref): Handle RANGE_EXPR.
  8755. (mark_no_warning): Iterate over actual childs.
  8756. (generate_copy_inout): Likewise.
  8757. (generate_element_copy): Likewise.
  8758. (generate_element_zero): Likewise.
  8759. (generate_element_init_1): Likewise.
  8760. (dump_sra_elt_name): Handle RANGE_EXPR.
  8761. 2006-07-03 Roger Sayle <roger@eyesopen.com>
  8762. PR tree-optimization/26251
  8763. * tree-ssa-threadupdate.c (redirection_block_p): New function.
  8764. (thread_block): When optimizing for size refuse to thread jumps
  8765. that would require duplication of blocks other than redirection
  8766. blocks.
  8767. 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
  8768. * configure.ac: Fix thinko in previous check-in.
  8769. * configure: Regenerate.
  8770. 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
  8771. PR other/27063
  8772. * configure.ac (for lang...): Simplify nesting of conditionals.
  8773. Test subdir_requires for non-enabled languages. Move processing
  8774. of lang_opt_files and lang_tree_fiels below that test.
  8775. * configure: Regenerate.
  8776. * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
  8777. 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
  8778. * doc/gcov.texi (Invoking Gcov): Add a missing word.
  8779. 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
  8780. * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
  8781. comment typos.
  8782. 2006-06-29 Jason Merrill <jason@redhat.com>
  8783. PR c++/26905
  8784. PR c++/26612
  8785. PR c++/27000
  8786. PR c++/26984
  8787. PR c++/19134
  8788. * tree.c (build_decl_stat): Don't hande #pragma visibility here.
  8789. * c-common.c (c_determine_visibility): Handle it here.
  8790. * c-decl.c (finish_decl): Call c_determine_visibility for
  8791. functions, too.
  8792. * flags.h (enum symbol_visibility): Sort from most to least visibility.
  8793. * tree.h: Likewise.
  8794. * varasm.c (default_assemble_visibility): Likewise.
  8795. * c-common.c (handle_visibility_attribute): Complain about trying
  8796. to give visibility to an already defined class, or trying to change
  8797. declared visibility. Always attach the attribute.
  8798. PR c++/26905
  8799. PR c++/21675
  8800. PR c++/17470
  8801. * attribs.c (decl_attributes): Ignore type-in-place attributes
  8802. once the type has been defined.
  8803. 2006-06-29 Roger Sayle <roger@eyesopen.com>
  8804. PR middle-end/27428
  8805. * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
  8806. to indicate the cpplib has issued an error message for us.
  8807. 2006-06-29 Asher Langton <langton2@llnl.gov>
  8808. PR target/25765
  8809. * config/i386/i386.c (ix86_output_function_epilogue): Don't
  8810. insert a label at the end of an function under Mach-O.
  8811. 2006-06-29 Eric Christopher <echristo@apple.com>
  8812. Evan Cheng <evan.cheng@apple.com>
  8813. * predicates.md (vector_all_ones_operand): New.
  8814. (nonimmediate_or_sse_const_operand): Ditto.
  8815. * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
  8816. * config/i386/i386.c (standard_sse_constant_opcode): Define.
  8817. (standard_sse_mode_p): Ditto.
  8818. (standard_sse_constant_p): Add case for -1 vector.
  8819. (ix86_expand_vector_move): Try to use.
  8820. * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
  8821. Call standard_sse_constant_opcode.
  8822. (*movv4sf_internal): Ditto.
  8823. (*movv2df_internal): Ditto.
  8824. 2006-06-29 Roger Sayle <roger@eyesopen.com>
  8825. * genpreds.c (write_match_code_switch): Correctly use XSTR instead
  8826. of XEXP to extract the operands of a MATCH_CODE rtx.
  8827. 2006-06-28 Andrew Pinski <pinskia@gmail.com>
  8828. * tree.c (tree_size): Do not waste tail padding in
  8829. struct tree_string and make the size be the same as
  8830. build_string will generate.
  8831. 2006-06-28 Jason Merrill <jason@redhat.com>
  8832. PR c++/27768
  8833. * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
  8834. may_aliases already in the tag's annotations to the bitmap.
  8835. 2006-06-28 Roger Sayle <roger@eyesopen.com>
  8836. * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
  8837. 2006-06-28 Roger Sayle <roger@eyesopen.com>
  8838. * genpreds.c (generate_switch_p): New function.
  8839. (add_mode_tests): Push the new mode test down inside an AND expr
  8840. if this allows the switch-suitable MATCH_CODE to be near the root.
  8841. (write_match_code_switch): New function to write a MATCH_CODE as
  8842. a switch statement.
  8843. (write_predicate_stmts): New function to write a predicate RTX
  8844. expression as a sequence of statements.
  8845. (write_one_predicate_function): Use write_predicate_stmts.
  8846. (write_tm_constrs_h): Likewise.
  8847. 2006-06-26 Fred Fish <fnf@specifix.com>
  8848. * config/mips/t-sb1: New file.
  8849. * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
  8850. tmake_file list.
  8851. 2006-06-26 DJ Delorie <dj@redhat.com>
  8852. * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
  8853. 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
  8854. Jayant Sonar <jayants@kpitcummins.com>
  8855. Jaydeep Vipradas <jaydeepv@kpitcummins.com>
  8856. * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
  8857. (subsi3, subsi3_1, subsi3_2): New.
  8858. * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
  8859. * config/m32c/mov.md (SI mov peephole): New.
  8860. * config/m32c/m32.c (m32c_immd_dbl_mov): New.
  8861. * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
  8862. 2006-06-26 Olivier Hainque <hainque@adacore.com>
  8863. * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
  8864. a CALL_EXPR target function declaration.
  8865. 2006-06-26 Richard Guenther <rguenther@suse.de>
  8866. * tree.c (build_string): Do not waste tail padding in
  8867. struct tree_string.
  8868. 2006-06-26 Richard Guenther <rguenther@suse.de>
  8869. * ggc-page.c (init_ggc): Add missing element to size_lookup
  8870. table.
  8871. Revert
  8872. 2006-06-23 Richard Guenther <rguenther@suse.de>
  8873. * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
  8874. sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
  8875. alignment requests instead. Add verification code.
  8876. Add struct tree_function_decl and struct tree_binfo size to
  8877. extra_order_size_table. Add missing element to size_lookup
  8878. table.
  8879. 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
  8880. PR middle-end/28151
  8881. * fold-const.c (const_binop): Be prepared for self returning zero.
  8882. Simplify code handling complex values.
  8883. 2006-06-24 Olivier Hainque <hainque@adacore.com>
  8884. * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
  8885. (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
  8886. aggregate types.
  8887. 2006-06-24 Olivier Hainque <hainque@adacore.com>
  8888. * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
  8889. ARRAY_REF, so have the callback called for the low bound expression.
  8890. 2006-06-23 Janis Johnson <janis187@us.ibm.com>
  8891. * tree.h (DECIMAL_FLOAT_TYPE_P): New.
  8892. * c-typeck.c (c_common_type): Disallow operations on decimal float
  8893. types and other float types.
  8894. * convert.c (convert_to_real): Don't ignore conversions involving
  8895. decimal float types.
  8896. 2006-06-23 Olivier Hainque <hainque@adacore.com>
  8897. * tree.c (max_int_size_in_bytes): New function, inspired from
  8898. code in function.c:assign_temp.
  8899. * tree.h (max_int_size_in_bytes): Declare.
  8900. * function.c (assign_temp): Use it.
  8901. * gimplify.c (create_tmp_var): Relax the assertions on the type
  8902. properties, not mandating constant size any more.
  8903. (force_constant_size): New static function.
  8904. (gimple_add_tmp_var): Use it, forcing variable size to a
  8905. constant upper bound if it is not constant on entry.
  8906. 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
  8907. PR target/27789
  8908. * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
  8909. for initialization and setting of one_only flag to ...
  8910. (i386_pe_encode_section_info): ...here.
  8911. (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
  8912. Recheck that the symbol has not been defined.
  8913. 2006-06-23 Richard Guenther <rguenther@suse.de>
  8914. * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
  8915. sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
  8916. alignment requests instead. Add verification code.
  8917. Add struct tree_function_decl and struct tree_binfo size to
  8918. extra_order_size_table. Add missing element to size_lookup
  8919. table.
  8920. 2006-06-22 Roger Sayle <roger@eyesopen.com>
  8921. John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  8922. PR middle-end/28131
  8923. * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
  8924. call to lang_hooks.types.type_for_mode returned NULL_TREE.
  8925. 2006-06-23 Ben Elliston <bje@au.ibm.com>
  8926. * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
  8927. negate dn -- manipulate it directly.
  8928. 2006-06-22 Roger Sayle <roger@eyesopen.com>
  8929. Steven Bosscher <stevenb.gcc@gmail.com>
  8930. PR target/27531
  8931. * reload1.c (gen_reload): Call mark_jump_label on the new insns
  8932. generated by gen_move_insn to add REG_LABEL notes if necessary.
  8933. 2006-06-22 Bob Wilson <bob.wilson@acm.org>
  8934. * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
  8935. (leaf_entry): Remove use of MIN_ESA.
  8936. 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
  8937. PR rtl-optimization/28121
  8938. * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
  8939. the entry edge.
  8940. 2006-06-21 DJ Delorie <dj@redhat.com>
  8941. * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
  8942. (TN-16C-A156A/E).
  8943. (mulhisi3_r): Likewise.
  8944. 2006-06-21 Richard Sandiford <richard@codesourcery.com>
  8945. PR middle-end/28034
  8946. * coverage.c (coverage_counter_alloc): Leave the index type
  8947. unspecified.
  8948. (coverage_counter_alloc): Use null arguments for operands 2 and 3
  8949. of the ARRAY_REF.
  8950. 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
  8951. * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
  8952. section from the "Options for Code Generation Conventions".
  8953. 2006-06-21 Richard Henderson <rth@redhat.com>
  8954. PR target/26347
  8955. PR target/27082
  8956. * config/alpha/predicates.md (small_symbolic_operand): Deny weak
  8957. symbols.
  8958. (global_symbolic_operand): Allow weak symbols, even if local_p.
  8959. 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
  8960. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
  8961. (find_interesting_uses_address): Punt if above function returns true.
  8962. 2006-06-21 Richard Guenther <rguenther@suse.de>
  8963. * configure: Regenerated.
  8964. 2006-06-21 Joseph Myers <joseph@codesourcery.com>
  8965. * config/mips/mips.c (function_arg): Where one part of a
  8966. complex argument is in registers and the other part in the stack,
  8967. return a REG not a PARALLEL.
  8968. 2006-06-21 Mark Mitchell <mark@codesourcery.com>
  8969. * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
  8970. when cross-compiling. Do not substitute libstdcxx_incdir.
  8971. * configure: Regenerated.
  8972. 2006-06-21 Jakub Jelinek <jakub@redhat.com>
  8973. * varasm.c (mergeable_string_section): Check for embedded NULs and
  8974. NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
  8975. rather than TREE_STRING_LENGTH bytes.
  8976. 2006-06-21 Richard Guenther <rguenther@suse.de>
  8977. * ggc-page.c (extra_order_size_table): Add var_ann_d,
  8978. tree_ssa_name, bitmap_element and phi_node with 4 arguments
  8979. sizes.
  8980. 2006-06-21 Richrad Guenther <rguenther@suse.de>
  8981. * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
  8982. Limit iteration over the dominators.
  8983. 2006-06-20 Roger Sayle <roger@eyesopen.com>
  8984. * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
  8985. (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
  8986. 2006-06-20 Richard Guenther <rguenther@suse.de>
  8987. Michael Matz <matz@suse.de>
  8988. * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
  8989. function.
  8990. * alloc-pool.c (free_alloc_pool_if_empty): New function.
  8991. * et-forest.h (et_free_pools): Prototype new function.
  8992. * et-forest.c (et_free_tree_force): Free parent occurrence.
  8993. (et_free_pools): New function.
  8994. * dominance.c (free_dominance_info): Free et-forest alloc
  8995. pools.
  8996. 2006-06-20 Roger Sayle <roger@eyesopen.com>
  8997. * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
  8998. integer modes, attempt to directly construct an integer constant.
  8999. * fold-const.c (native_encode_vector): Determine the size of each
  9000. element from the vector type instead of the first vector element.
  9001. * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
  9002. if all of its elements/components are constant.
  9003. (build_constructor_from_list): Likewise.
  9004. 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
  9005. PR tree-optimization/27331
  9006. * tree-data-ref.c (free_data_ref): New function.
  9007. (create_data_ref): Fail if the data reference has unknown access
  9008. function.
  9009. (free_data_refs): Use free_data_ref.
  9010. 2006-06-19 Andrew Pinski <pinskia@gmail.com>
  9011. PR middle-end/28075
  9012. * tree-inline.c (setup_one_parameter): Strip useless
  9013. type conversion before adding it to the IR.
  9014. (declare_return_variable): Likewise.
  9015. 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
  9016. PR c/27149
  9017. * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
  9018. 2006-06-19 Mike Stump <mrs@apple.com>
  9019. * tree.c (variably_modified_type_p): VM arguments don't make the
  9020. type a VM type.
  9021. 2006-06-19 Richard Guenther <rguenther@suse.de>
  9022. * tree-ssa-pre.c (try_combine_conversion): Strip useless
  9023. type conversions after folding.
  9024. 2006-06-19 Richard Guenther <rguenther@suse.de>
  9025. * ggc-page.c (extra_order_size_tab): Add entries with
  9026. size of struct function and basic_block.
  9027. (size_lookup): Extend to cover sizes up to 511.
  9028. (ggc_alloc_stat): Adjust user.
  9029. (ggc_pch_count_object): Likewise.
  9030. (ggc_pch_alloc_object): Likewise.
  9031. (ggc_pch_write_object): Likewise.
  9032. 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
  9033. * tree-ssa-loop-niter.c (implies_ge_p): New function.
  9034. (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
  9035. correctly.
  9036. 2006-06-19 Denis Chertykov <denisc@overta.ru>
  9037. * config/avr/libgcc.S : Correct my wrong previous commit.
  9038. 2006-06-19 Roger Sayle <roger@eyesopen.com>
  9039. PR target/27861
  9040. * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
  9041. have stripped a SUBREG from the shift count, so we may need to
  9042. convert_to_mode back to the type's mode before calling make_tree.
  9043. Use new_amount instead of amount to avoid expanding a tree twice.
  9044. 2006-06-19 Richard Guenther <rguenther@suse.de>
  9045. PR middle-end/28045
  9046. * fold-const.c (operand_equal_p): Check if the argument types
  9047. have the same precision before stripping NOPs.
  9048. 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
  9049. Fix PR tree-optimization/27341
  9050. * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
  9051. statement we get.
  9052. * tree-complex.c (pass_lower_complex): Update SMT usage.
  9053. 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
  9054. * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
  9055. Add a new alternative to the constraint strings. Add move of
  9056. operand 1 to 3 to the splitter definition.
  9057. ("doloop_si_long"): Second contraint alternative removed.
  9058. 2006-06-08 Anatoly Sokolov <aesok@post.ru>
  9059. * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
  9060. (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
  9061. __AVR_HAVE_LPMX__.
  9062. (AVR_HAVE_MOVW) Define.
  9063. (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
  9064. (ASM_SPEC): Add avr25.
  9065. (LINK_SPEC): Add avr25.
  9066. * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
  9067. (base_arch_s): Add new member 'have_movw_lpmx'.
  9068. (avr_arch_types): Init 'have_movw_lpmx'.
  9069. (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
  9070. attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
  9071. attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
  9072. (avr_override_options): Init 'avr_have_movw_lpmx_p'.
  9073. (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
  9074. AVR_HAVE_MOVW.
  9075. (avr_file_start): Do not output '.arh' derective.
  9076. * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
  9077. (__do_copy_data): Use __AVR_HAVE_LPMX__.
  9078. * config/avr/avr.md (mcu_enhanced): Delete.
  9079. (mcu_have_movw): Define.
  9080. (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
  9081. (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
  9082. * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
  9083. (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
  9084. attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
  9085. attiny861 and at86rf401 devices.
  9086. 2006-06-18 Jie Zhang <jie.zhang@analog.com>
  9087. * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
  9088. of 4096.
  9089. 2006-06-17 Karl Berry <karl@gnu.org>
  9090. * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
  9091. doc/gccint.texi, doc/install.texi (@dircategory): Use
  9092. "Software development" instead of "Programming", following
  9093. the Free Software Directory.
  9094. 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
  9095. * config/i386/i386.c (legitimate_tls_address)
  9096. <TARGET_GNU2_TLS>: Add tp after DTPOFF.
  9097. * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
  9098. (*tls_dynamic_gnu2_combine_64): Likewise.
  9099. 2006-06-16 Richard Guenther <rguenther@suse.de>
  9100. PR middle-end/27116
  9101. * fold-const.c (negate_expr_p): Do not introduce undefined
  9102. overflow in negating INTEGER_CSTs.
  9103. (fold_negate_expr): Rename from negate_expr. Revert last
  9104. change for folding BIT_NOT_EXPR. Change semantics to
  9105. return NULL_TREE for non-simplified negations. Do not
  9106. strip type conversions and unify type handling.
  9107. (negate_expr): New function, wrap around fold_negate_expr
  9108. but ensure building a tree always. Strip type conversions
  9109. here, fold to result type.
  9110. (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
  9111. 2006-06-16 Roger Sayle <roger@eyesopen.com>
  9112. PR middle-end/27802
  9113. * reg-stack.c (subst_stack_regs): Handle noreturn function calls
  9114. that (would) return their results in stack registers.
  9115. 2006-06-16 Michael Matz <matz@suse.de>
  9116. Richard Guenther <rguenther@suse.de>
  9117. * fold-const.c (fold_truthop): Only return new tree node if
  9118. we canonicalized something.
  9119. 2006-06-16 Richard Guenther <rguenther@suse.de>
  9120. * function.h (enum function_frequency): Move declaration
  9121. out of struct function.
  9122. (struct function): Move bool fields and the enum to the bitfield
  9123. section. Reorder elements to avoid padding. Remove unused
  9124. fields left over from the RTL inliner removal.
  9125. * function.c (free_after_compilation): Do not zero removed fields.
  9126. * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
  9127. (ipa-type-escape.o): Likewise.
  9128. 2006-06-16 Richard Guenther <rguenther@suse.de>
  9129. * cgraph.h (struct cgraph_local_info): Turn bool elements
  9130. into a bitfield.
  9131. (struct cgraph_node): Likewise.
  9132. (struct cgraph_varpool_node): Likewise.
  9133. 2006-06-15 Richard Guenther <rguenther@suse.de>
  9134. * fold-const.c (fold_truth_not_expr): Rename from
  9135. invert_truthvalue. Give it fold_* semantics to avoid
  9136. generating garbage.
  9137. (invert_truthvalue): New function. Wrapper around
  9138. fold_truth_not_expr.
  9139. (optimize_minmax_comparison): Avoid creating garbage.
  9140. (fold_unary): Use fold_truth_not_expr for folding
  9141. TRUTH_NOT_EXPR.
  9142. (fold_ternary): Replace uses of invert_truthvalue with
  9143. fold_truth_not_expr where applicable.
  9144. * tree.h (fold_truth_not_expr): Prototype.
  9145. 2006-06-16 Richard Guenther <rguenther@suse.de>
  9146. PR tree-optimization/27781
  9147. * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
  9148. * ipa-pure-const.c (target.h): Include.
  9149. (analyze_function): Do not analyze functions that do not
  9150. bind locally.
  9151. 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
  9152. PR middle-end/27793
  9153. * tree-dfa.c (referenced_vars_dup_list): Remove.
  9154. (find_referenced_vars): Remove assert.
  9155. (referenced_var_check_and_insert): Replace dup list with assert.
  9156. * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
  9157. * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
  9158. 2006-06-15 Richard Guenther <rguenther@suse.de>
  9159. * tree-ssa-structalias.c (alias_get_name): Avoid creating
  9160. extra unused identifiers if not dumping.
  9161. (create_variable_info_for): Likewise.
  9162. 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
  9163. * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
  9164. (derive_constant_upper_bound): Derive more precise upper bound in
  9165. common cases. Return type changed to double_int.
  9166. (record_estimate): Reflect the changed return type of
  9167. derive_constant_upper_bound.
  9168. * double-int.c (double_int_zext, double_int_sext): Fix.
  9169. 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
  9170. * configure.ac (CFLAGS): Get them from the toplevel or from the
  9171. configure invocation.
  9172. * configure: Regenerate.
  9173. * Makefile.in (CFLAGS): Substitute value provided by configure.
  9174. 2006-06-14 Mark Mitchell <mark@codesourcery.com>
  9175. PR c++/26559
  9176. * c-common.h (c_finish_omp_atomic): Adjust declaration.
  9177. * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
  9178. rather than calling add_stmt on it.
  9179. * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
  9180. 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
  9181. PR middle-end/27959
  9182. * reload1.c (reload): Remove registers returned by update_eliminables
  9183. from used_spill_regs.
  9184. 2006-06-13 DJ Delorie <dj@redhat.com>
  9185. * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
  9186. 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
  9187. * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
  9188. html__strip_dir, html__mkdir_p. Enhance install-html target.
  9189. * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
  9190. * configure: Regenerate.
  9191. 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
  9192. * fold-const.c (fold_cond_expr_with_comparison): Check for
  9193. Objective-C++ as language in deciding COND_EXPR transformation.
  9194. 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
  9195. PR target/28014:
  9196. * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
  9197. * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
  9198. * config/sh/lib1funcs.h (SL, SL1): Define.
  9199. * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
  9200. * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
  9201. * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
  9202. (OBJS_Os_4_200): New variable.
  9203. ($(T)libgcc-Os-4-200.a): Use it.
  9204. * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
  9205. when dividing 1 and/or by 0.
  9206. 2006-06-13 Roger Sayle <roger@eyesopen.com>
  9207. * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
  9208. before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
  9209. * configure: Regenerate.
  9210. 2006-06-13 Jie Zhang <jie.zhang@analog.com>
  9211. * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
  9212. for real instruction.
  9213. 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  9214. PR middle-end/26807
  9215. * haifa-sched.c (check_cfg): Handle special case.
  9216. 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
  9217. PR debug/26754
  9218. * gimplify.c (declare_tmp_vars): Rename into declare_vars.
  9219. Add debug_info parameter. Chain the vars to the BLOCK instead
  9220. of the BIND_EXPR if debug info are requested for them.
  9221. (pop_gimplify_context): Adjust for above change.
  9222. (gimple_add_tmp_var): Likewise.
  9223. * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
  9224. Add bool parameter.
  9225. * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
  9226. (convert_local_reference): Likewise.
  9227. (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
  9228. (finalize_nesting_tree_1): Request that debug info be emitted
  9229. for debug_var_chain.
  9230. 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  9231. * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
  9232. for PR target/27863.
  9233. 2006-06-13 Richard Guenther <rguenther@suse.de>
  9234. PR middle-end/27536
  9235. * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
  9236. 2006-06-13 Richard Guenther <rguenther@suse.de>
  9237. PR tree-optimization/27830
  9238. * tree-inline.c (copy_body_r): For copying the operand
  9239. of an ADDR_EXPR make sure to fold &* afterwards.
  9240. 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
  9241. * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
  9242. lvalues in the fb_none case with side-effects.
  9243. 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
  9244. * tree-flow.h: Remove the prototype for
  9245. compute_phi_arg_on_exit.
  9246. * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
  9247. protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
  9248. Remove.
  9249. 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
  9250. * builtins.c (expand_builtin_return_addr): Only use
  9251. frame_pointer_rtx when count == 0 and we are expanding
  9252. __builtin_return_address.
  9253. 2006-06-12 Fred Fish <fnf@specifix.com>
  9254. * config/mips/mips.c (mips_file_start): Create special section
  9255. ".gcc_compiled_longXX" for o64 ABI as well as EABI.
  9256. 2006-06-11 Eric Christopher <echristo@apple.com>
  9257. PR middle-end/27948
  9258. * stor-layout.c (place_field): Remove check for
  9259. remaining_in_alignment when aligning at the end of a run.
  9260. 2006-06-11 Eric Christopher <echristo@apple.com>
  9261. PR 27542
  9262. * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
  9263. pragma.
  9264. 2006-06-11 Roger Sayle <roger@eyesopen.com>
  9265. PR target/27858
  9266. Revert incorrect fix for PR target/27158
  9267. 2006-05-08 Roger Sayle <roger@eyesopen.com>
  9268. * reload.c (find_reloads_toplev): Only return the simplified SUBREG
  9269. of a reg_equiv_constant if the result is a legitimate constant.
  9270. 2006-06-11 Roger Sayle <roger@eyesopen.com>
  9271. PR target/27158
  9272. * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
  9273. extract a CONST_VECTOR element and interpret it as an integer.
  9274. (vspltis_constant): Use const_vector_elt_as_int instead of the
  9275. macro CONST_VECTOR_ELT in order to handle FP vector modes.
  9276. * config/rs6000/predicates.md (easy_vector_const): Consider
  9277. floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
  9278. 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
  9279. PR middle-end/27942
  9280. * stor-layout.c (update_alignment_for_field): Don't add extra
  9281. alignment for packed non-bitfield fields in ms_bitfield_layout_p
  9282. code.
  9283. 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
  9284. * config/mips/t-rtems: Add EL/EB multilib variants.
  9285. 2006-06-09 Mike Stump <mrs@apple.com>
  9286. * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
  9287. 2006-06-09 David Daney <ddaney@avtrex.com>
  9288. * doc/install.texi: Add binutils version recommendation for mips-*-*.
  9289. 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
  9290. * reload.c (find_reloads): Unset force_reload for 'X' constraint.
  9291. 2006-06-09 Richard Guenther <rguenther@suse.de>
  9292. PR tree-optimization/26998
  9293. * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
  9294. of signed types, only TYPE_MIN_VALUE is special, but for both,
  9295. minimum and maximum value. Likewise VR_ANTI_RANGE is special
  9296. in this case, as is -fwrapv.
  9297. 2006-06-08 Mike Stump <mrs@apple.com>
  9298. PR target/26427
  9299. * config/darwin.c (darwin_asm_output_anchor): Disable
  9300. -fsection-anchors on darwin for now.
  9301. * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
  9302. * rs6000/rs6000.c (optimization_options): Likewise.
  9303. 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  9304. PR target/27421
  9305. * config/i386/i386.c (classify_argument): Skip fields with invalid
  9306. types in unions.
  9307. 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
  9308. * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
  9309. (cse_insn): Likewise for the stack_pointer_rtx.
  9310. 2006-06-08 Roger Sayle <roger@eyesopen.com>
  9311. * tree-ssa-dom.c (record_conditions): Only record "unordered"
  9312. conditions from floating point comparisons.
  9313. 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
  9314. PR middle-end/27733
  9315. * expmed.c (struct alg_hash_entry): Fix type of field T
  9316. to match synth_mult argument.
  9317. (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
  9318. 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  9319. PR target/27863
  9320. * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
  9321. block boundaries.
  9322. 2006-06-08 Richard Guenther <rguenther@suse.de>
  9323. PR middle-end/27116
  9324. * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
  9325. only, if overflow is defined and not trapping.
  9326. (negate_expr): Likewise.
  9327. 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
  9328. PR tree-optimization/27872
  9329. * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
  9330. flag on the new exit edge of the unrolled loop.
  9331. 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
  9332. PR rtl-optimization/26449
  9333. * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
  9334. 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
  9335. PR middle-end/27793
  9336. * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
  9337. referenced_variables with matching DECL_UID's.
  9338. (find_referenced_vars): Make sure duplicate list is empty to start.
  9339. (referenced_var_p): Remove.
  9340. (referenced_var_check_and_insert): Renamed from referenced_var_insert.
  9341. Check if var is in the list, and add if needed. Update the duplicate
  9342. list if a different var is in the list with the same DECL_UID.
  9343. (add_referenced_var): Call routine to check and insert.
  9344. * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
  9345. * tree-flow.h (referenced_vars_dup_list): External declaration.
  9346. 2006-06-07 Fred Fish <fnf@specifix.com>
  9347. * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
  9348. into single entry.
  9349. 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
  9350. PR target/27390
  9351. * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
  9352. the imaginary and real parts of a clobbered register.
  9353. Emit insn to set the imaginary part.
  9354. 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
  9355. * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
  9356. in lieu of unwind-dw2-fde.c.
  9357. 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  9358. * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
  9359. 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
  9360. PR target/27842
  9361. * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
  9362. ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
  9363. ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
  9364. V4SImode temporaries and operations instead.
  9365. 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
  9366. * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
  9367. dp-bit.c.
  9368. 2006-06-06 Mike Stump <mrs@apple.com>
  9369. * Makefile.in: Rename to htmldir to build_htmldir to avoid
  9370. installing during build.
  9371. 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  9372. * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
  9373. value to 0.
  9374. * doc/invoke.texi (max-sched-extend-regions-iters): Document.
  9375. * config/ia64/ia64.c (params.h): New header.
  9376. (ia64_optimization_options): New function to adjust parameters.
  9377. * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
  9378. * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
  9379. * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
  9380. 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
  9381. * stor-layout.c (debug_rli): Fix a typo in a debug message.
  9382. 2006-06-05 Steve Ellcey <sje@cup.hp.com>
  9383. PR target/27051
  9384. * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
  9385. 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
  9386. Victor Kaplansky <victork@il.ibm.com>
  9387. PR tree-optimization/26360
  9388. * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
  9389. stmts.
  9390. 2006-06-04 Roger Sayle <roger@eyesopen.com>
  9391. Andrew Pinski <pinskia@physics.uc.edu>
  9392. PR middle-end/27382
  9393. * c-common.c (c_common_truthvalue_conversion): Explicitly check
  9394. for LABEL_DECL before calling DECL_WEAK.
  9395. PR c/27150
  9396. * c-typeck.c (build_binary_op): Likewise, explicitly check for
  9397. LABEL_DECL and PARM_DECL.
  9398. 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
  9399. PR c/25161
  9400. PR c/27020
  9401. * c-decl.c (grokdeclarator): Disallow variably modified types at
  9402. file scope. Avoid marking shared array type of constant size as
  9403. VLA.
  9404. 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  9405. PR c++/27601
  9406. * c-common.c (fold_offsetof_1): Handle static members.
  9407. 2006-06-04 Eric Christopher <echristo@apple.com>
  9408. * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
  9409. (debug_rli): Output value for remaining_in_alignment.
  9410. (update_alignment_for_field): Unconditionalize
  9411. ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
  9412. extra alignment code.
  9413. (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
  9414. ms_bitfield_layout_p code. Rewrite handling of structure fields.
  9415. * tree.h (record_layout_info_s): Remove prev_packed.
  9416. * doc/extend.texi (ms_struct): Add documentation of format.
  9417. 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
  9418. * tree.h: Declare folding_initializer.
  9419. * builtins.c (fold_builtin_constant_p): Give definite answer
  9420. if folding inside an initializer.
  9421. * fold-const.c: Define folding_initializer.
  9422. (START_FOLD_INIT): Save and then set folding_initializer.
  9423. (END_FOLD_INIT): Restore folding_initializer.
  9424. 2006-06-04 Richard Guenther <rguenther@suse.de>
  9425. PR tree-optimization/27039
  9426. * fold-const.c (fold_comparison): Handle pointer comparison
  9427. again for all comparison codes. Compare offsets in signed
  9428. size type.
  9429. (fold_binary): Move code from here.
  9430. 2006-06-03 Roger Sayle <roger@eyesopen.com>
  9431. PR target/26223
  9432. * config/i386/i386.c (construct_container): Split static issued_error
  9433. flag into issued_sse_arg_error, issued_sse_ret_error and
  9434. issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
  9435. requires the use of x87 registers and the user explicitly
  9436. specified the -mno-80387 command line option.
  9437. 2006-06-02 Geoffrey Keating <geoffk@apple.com>
  9438. * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
  9439. HAVE_DECL_SIGALTSTACK.
  9440. (MC_FLD): New.
  9441. (segv_handler): Use MC_FLD.
  9442. * configure.ac: Check for a sigaltstack declaration.
  9443. Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
  9444. * configure: Regenerate.
  9445. * config.in: Regenerate.
  9446. 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
  9447. PR other/27850
  9448. * Makefile.in (stmp-fixinc): Fix typo.
  9449. 2006-06-02 Roger Sayle <roger@eyesopen.com>
  9450. * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
  9451. are type correct. Clean-up.
  9452. <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
  9453. <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
  9454. 2006-06-01 DJ Delorie <dj@redhat.com>
  9455. * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
  9456. shift, as we've disabled the "switch" insn that needs it.
  9457. 2006-06-01 Per Bothner <bothner@bothner.com>
  9458. Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
  9459. * c-opts.c (finish_options): Use internal line 0 for <command-line>.
  9460. * c-ppoutput.c (cb_define): Don't increment line 0.
  9461. 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
  9462. * doc/invoke.texi: Add cpu_type power6.
  9463. * config.gcc: Add cpu_type power6.
  9464. * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
  9465. to power5+ with Altivec.
  9466. * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
  9467. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
  9468. 2006-05-30 Anatoly Sokolov <aesok@post.ru>
  9469. * config/avr/avr.h (SET_ASM_OP): Define.
  9470. 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
  9471. * config/bfin/bfin.c: Fix comment typos.
  9472. 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
  9473. PR 25453
  9474. * doc/install.texi: Document --enable-bootstrap and
  9475. --disable-bootstrap.
  9476. 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
  9477. * doc/install.texi: Document that InfoZIP can replace jar.
  9478. 2006-05-31 Roger Sayle <roger@eyesopen.com>
  9479. * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
  9480. isn't available, directly generate the simpler x87 patterns without
  9481. the (use (const_int 0)).
  9482. * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
  9483. implementation isn't available.
  9484. (*negdf2_1): Likewise.
  9485. (*negxf2_1): XF mode negation is always done using the x87.
  9486. (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
  9487. 2006-05-31 Roger Sayle <roger@eyesopen.com>
  9488. * builtins.c (fold_builtin_cabs): Delete prototype. Require an
  9489. additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
  9490. cabs(z).
  9491. (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
  9492. 2006-05-31 Jie Zhang <jie.zhang@analog.com>
  9493. * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
  9494. * config/bfin/bfin.c (basic-block.h): Include.
  9495. (struct machine_function): New.
  9496. (bfin_init_machine_status): New.
  9497. (override_options): Initialize init_machine_status.
  9498. (bfin_hardware_loop): New.
  9499. (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
  9500. (DEF_VEC_P (loop_info)): New.
  9501. (DEF_VEC_ALLOC_P (loop_info,heap)): New.
  9502. (struct loop_info): New.
  9503. (loop_info): New typedef.
  9504. (struct loop_work): New.
  9505. (loop_work): New typedef.
  9506. (DEF_VEC_O (loop_work)): New.
  9507. (DEF_VEC_ALLOC_O (loop_work,heap)): New.
  9508. (bfin_dump_loops): New.
  9509. (bfin_bb_in_loop): New.
  9510. (bfin_scan_loop): New.
  9511. (bfin_optimize_loop): New.
  9512. (bfin_reorg_loops): New.
  9513. (bfin_reorg): Use bfin_reorg_loops.
  9514. * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
  9515. loop registers.
  9516. (I_REGNO_P): Simplify.
  9517. (DP_REGNO_P, DPREG_P): New macros.
  9518. (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
  9519. REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
  9520. (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
  9521. Add LT_REGS, LC_REGS, LB_REGS.
  9522. (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
  9523. 'l' for LB_REGS.
  9524. (REGNO_REG_CLASS): Deal with loop registers.
  9525. * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
  9526. letters.
  9527. (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
  9528. New constants for loop registers.
  9529. (UNSPEC_LSETUP_END): New.
  9530. (seq_insns): New define_attr. Set it for appropriate insns.
  9531. (movsi_insn): Add alternatives for move from/to
  9532. loop count registers.
  9533. (doloop_end): New define_expand.
  9534. (loop_end): New define_insn.
  9535. (define_split for bad doloop_end): New.
  9536. (lsetup_with_autoinit): New define_insn.
  9537. (lsetup_without_autoinit): New define_insn.
  9538. (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
  9539. * config/bfin/predicates.md (lc_register_operand): New.
  9540. (lt_register_operand): New.
  9541. (lb_register_operand): New.
  9542. (nondp_register_operand): New.
  9543. (nondp_reg_or_memory_operand): New.
  9544. * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
  9545. 2006-05-31 Jie Zhang <jie.zhang@analog.com>
  9546. * config/bfin/bfin.c (bfin_delegitimize_address): New.
  9547. (TARGET_DELEGITIMIZE_ADDRESS): Define.
  9548. 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
  9549. * Makefile.in (CATALOGS): Add po/ prefix.
  9550. * configure: Regenerated.
  9551. 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
  9552. PR target/27829
  9553. * arm.c (arm_print_operand case 'S'): Validate that the operand is
  9554. a shift operand before calling shift_op. Avoid redundant call of
  9555. shift_op.
  9556. 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
  9557. DJ Delorie <dj@redhat.com>
  9558. * config/m32c/m32c.c (m32c_expand_insv): Check that the value
  9559. we're inserting is a singlt-bit constant.
  9560. 2006-05-30 Roger Sayle <roger@eyesopen.com>
  9561. * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
  9562. width to HOST_WIDE_INT to avoid comparison warnings on some targets.
  9563. 2006-05-30 Roger Sayle <roger@eyesopen.com>
  9564. PR tree-optimization/23452
  9565. * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
  9566. to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
  9567. (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
  9568. complex values and with -ffast-math for FP complex values.
  9569. 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
  9570. * c-common.h: Remove the prototype for yyparse.
  9571. * rtl.h: Remove the prototype for init_loop.
  9572. 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
  9573. * cse.c (validate_canon_reg, cse_insn): Don't change insns without
  9574. calling recog.
  9575. 2006-05-30 Roger Sayle <roger@eyesopen.com>
  9576. * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
  9577. and rotate cases.
  9578. <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
  9579. log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
  9580. 2006-05-30 Dirk Mueller <dmueller@suse.de>
  9581. PR c/27273
  9582. * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
  9583. for CONSTANT_CLASS_P expresisons.
  9584. 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  9585. PR c/27718
  9586. * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
  9587. 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
  9588. PR tree-optimization/27779
  9589. * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
  9590. initial_condition instead of CHREC_LEFT.
  9591. 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
  9592. * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
  9593. * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
  9594. Make prototypes ISO C90.
  9595. 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
  9596. Leehod Baruch <leehod.baruch@weizmann.ac.il>
  9597. * see.c (see_analyze_one_def): Correct check.
  9598. (see_get_extension_data): Check if extension is parallel.
  9599. (see_get_extension_reg): Likewise.
  9600. 2006-05-30 Uros Bizjak <uros@kss-loka.si>
  9601. PR target/27790
  9602. * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
  9603. into register for (code == GTU).
  9604. 2006-05-29 Roger Sayle <roger@eyesopen.com>
  9605. PR tree-optimization/24964
  9606. * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
  9607. <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
  9608. signaling NaNs. Optimize -x*-x as x*x for all float modes, and
  9609. abs(x)*abs(x) as x*x for scalar floating point modes.
  9610. 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
  9611. PR middle-end/27745
  9612. * lambda-code.c (perfect_nestify): Don't copy statements
  9613. in the inner loop: move them to the inner loop header.
  9614. 2006-05-29 Diego Novillo <dnovillo@redhat.com>
  9615. PR 26237
  9616. * c-tree.texi: Document OpenMP directives and clauses.
  9617. 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
  9618. * varasm.c (globalize_decl): Fix indentation.
  9619. 2006-05-29 Diego Novillo <dnovillo@redhat.com>
  9620. PR 26242
  9621. * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
  9622. pass_fre, pass_store_ccp, pass_copy_prop,
  9623. pass_store_copy_prop, pass_merge_phi, pass_nrv,
  9624. pass_return_slot, pass_object_size, pass_lim,
  9625. pass_linear_transform, pass_empty_loop, pass_complete_unroll,
  9626. pass_loop_prefetch and pass_stdarg.
  9627. 2006-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
  9628. * config/bfin/bfin.opt (mfdpic): New option.
  9629. * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
  9630. (EXTRA_MULTILIB_PARTS): Likewise.
  9631. (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
  9632. (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
  9633. multilib.
  9634. * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
  9635. (CRT_CALL_STATIC_FUNCTION): New.
  9636. * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
  9637. -shared.
  9638. (CRT_CALL_STATIC_FUNCTION): New.
  9639. * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
  9640. FD-PIC moves.
  9641. (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
  9642. (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
  9643. (initialize_trampoline): Changed to handle FD-PIC code generation.
  9644. (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
  9645. (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
  9646. (override_options): Disallow -mid-shared-library -mfdpic combination.
  9647. Can't do unaligned ops if FD-PIC.
  9648. Turn off flag_pic if trying to generate non-id-shared-library
  9649. non-fdpic code, since it's not supported.
  9650. (bfin_assemble_integer): New function.
  9651. (TARGET_ASM_INTEGER): Define.
  9652. * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
  9653. __BFIN_FDPIC__.
  9654. * config/bfin/crtn.s: Restore them.
  9655. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
  9656. if TARGET_FDPIC.
  9657. (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
  9658. LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
  9659. (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
  9660. (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
  9661. (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
  9662. call-used.
  9663. (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
  9664. FDPIC_REGS and FDPIC_FPTR_REGS.
  9665. (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
  9666. * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
  9667. UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
  9668. (load_funcdescsi): New pattern.
  9669. (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
  9670. sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
  9671. call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
  9672. 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
  9673. * gcse.c, rtlanal.c: Remove obsolete comments associated with
  9674. loop.c.
  9675. * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
  9676. * tree-flow.h: Remove the prototype for add_type_alias.
  9677. * tree-ssa-alias.c (add_type_alias): Remove.
  9678. 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
  9679. * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
  9680. config/fr30/fr30.md, config/i386/i386-interix.h,
  9681. config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
  9682. config/sh/superh64.h, config/v850/v850.c, df-core.c,
  9683. df-problems.c, df.h, except.c, final.c, haifa-sched.c,
  9684. lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
  9685. reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
  9686. tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
  9687. Follow spelling conventions.
  9688. * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
  9689. Follow spelling conventions.
  9690. 2006-05-27 Richard Guenther <rguenther@suse.de>
  9691. PR middle-end/27773
  9692. * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
  9693. to produce a constant of value 1 of generic type.
  9694. 2006-05-27 Dirk Mueller <dmueller@suse.de>
  9695. * cgraphunit.c (decide_is_function_needed): Fix wrong
  9696. PR reference.
  9697. 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
  9698. PR rtl-optimization/27661
  9699. * reload.c (find_reloads): When reloading a VOIDmode constant
  9700. as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
  9701. use Pmode as mode of the reload register.
  9702. 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
  9703. * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
  9704. is enabled at -O and above.
  9705. 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
  9706. PR target/27571
  9707. * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
  9708. table data.
  9709. 2006-05-25 Mark Mitchell <mark@codesourcery.com>
  9710. PR c++/20103
  9711. * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
  9712. for anonymous variables explicitly declared by front ends.
  9713. 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
  9714. * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
  9715. (struct alias_info): Add new field ref_all_symbol_mem_tag.
  9716. * tree-ssa-alias.c (compute_may_aliases): If the program contains
  9717. ref-all pointers, run a finalization pass for them.
  9718. (compute_flow_insensitive_aliasing): Skip ref-all pointers.
  9719. (finalize_ref_all_pointers): New function.
  9720. (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a
  9721. regular pointer type to a ref-all pointer type.
  9722. (get_tmt_for): Return the special memory tag for ref-all pointers.
  9723. 2006-05-25 Richard Guenther <rguenther@suse.de>
  9724. PR middle-end/27743
  9725. * fold-const.c (fold_binary): Do not look at the stripped
  9726. op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.
  9727. 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
  9728. * tree-vrp.c (extract_range_from_assert): Set the range to VARYING
  9729. for LT and GT if the computed range is effectively empty.
  9730. 2006-05-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  9731. PR target/27627
  9732. * pa/pa-modes.def: Use mips_single_format, mips_double_format and
  9733. mips_quad_format formats instead of ieee_single_format,
  9734. ieee_double_format and ieee_quad_format formats, respectively.
  9735. 2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
  9736. PR tree-optimization/27639
  9737. PR tree-optimization/26719
  9738. * tree-vrp.c (adjust_range_with_scev): Use scev_direction and adjust
  9739. call to scev_probably_wraps_p.
  9740. * tree-ssa-loop-niter.c (compare_trees, convert_step_widening,
  9741. used_in_pointer_arithmetic_p, convert_step): Removed.
  9742. (nowrap_type_p): New function.
  9743. (scev_probably_wraps_p): Rewritten.
  9744. * tree-scalar-evolution.c (instantiate_parameters_1): Do not call
  9745. chrec_convert if chrec_convert_aggressive might have been used.
  9746. * tree-chrec.c (convert_affine_scev, chrec_convert_1,
  9747. scev_direction): New functions.
  9748. (chrec_convert): Changed to a wrapper over chrec_convert_1.
  9749. * tree-ssa-loop-ivopts.c (idx_find_step): Use convert_affine_scev
  9750. instead of convert_step.
  9751. * tree-flow.h (scev_probably_wraps_p): Declaration changed.
  9752. (convert_step): Declaration removed.
  9753. (convert_affine_scev, nowrap_type_p, scev_direction): Declare.
  9754. 2006-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
  9755. * df-core.c: Added to header comments.
  9756. * df.h (df_ru_bb_info, df_rd_bb_info, df_lr_bb_info,
  9757. df_ur_bb_info, df_urec_bb_info): Added comments.
  9758. * df-problems (df_ref_bitmap, ru, rd, lr, ur,
  9759. urec, ri problems): Fixed header comments.
  9760. (df_ru_transfer_function): Fixed in-out set dyslexia when copying
  9761. code from df_rd_transfer_function.
  9762. 2006-05-23 Richard Sandiford <richard@codesourcery.com>
  9763. * libgcc2.c (LIBGCC2_MAX_UNITS_PER_WORD): New macro.
  9764. (LIBGCC2_UNITS_PER_WORD): Use LIBGCC2_MAX_UNITS_PER_WORD rather than
  9765. MIN_UNITS_PER_WORD to set the default. Also use it in the guard.
  9766. 2006-05-23 Joseph Myers <joseph@codesourcery.com>
  9767. * expr.c (undefined_operand_subword_p): New.
  9768. (emit_move_multi_word): Do not generate move from undefined bits
  9769. of a paradoxical subreg.
  9770. 2006-05-23 Richard Sandiford <richard@codesourcery.com>
  9771. PR rtl-optimization/27736
  9772. * combine.c (replaced_rhs_value): New variable.
  9773. (combine_instructions): Set it.
  9774. (distribute_notes): When distributing a note in replaced_rhs_insn,
  9775. check whether the value was used in replaced_rhs_value.
  9776. 2006-05-23 Andrew MacLeod <amacleod@redhat.com>
  9777. PR c++/26757
  9778. * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
  9779. add_referenced_var instead of add_referenced_tmp_var.
  9780. * tree-complex.c (create_one_component_var): Use add_referenced_var.
  9781. * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
  9782. add_referenced_var.
  9783. * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
  9784. tree_optimize_tail_calls_1): Use add_referenced_var.
  9785. * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
  9786. * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
  9787. Use add_referenced_var.
  9788. * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
  9789. * gimplify.c (force_gimple_operand): Use add_referenced_var.
  9790. * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
  9791. Use add_referenced_var.
  9792. * tree-dfa.c (struct walk_state): Remove.
  9793. (find_referenced_vars): Remove walk state and vars_found hash table.
  9794. (make_rename_temp): Use add_referenced_var.
  9795. (find_vars_r): Pass less parameters to add_referenced_var.
  9796. (referenced_var_p): New. Is var in referenced_var hash table.
  9797. (referenced_var_insert): Assert var isn't already in hash table.
  9798. (add_referenced_var): Don't need walk_state parameter. Add var if it
  9799. isn't already in the hash table.
  9800. (add_referenced_tmp_var): Remove.
  9801. (find_new_referenced_vars_1): Use add_referenced_var.
  9802. * tree-ssa-pre.c (create_expression_by_pieces,
  9803. insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
  9804. Use add_referenced_var.
  9805. * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
  9806. * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
  9807. lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
  9808. add_referenced_var.
  9809. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
  9810. vect_create_data_ref_ptr, vect_create_destination_var,
  9811. vect_init_vector, vect_build_loop_niters,
  9812. vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
  9813. vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
  9814. Use add_referenced_var.
  9815. * tree-outof-ssa.c (create_temp): Use add_referenced_var.
  9816. * tree-flow.h (add_referenced_tmp_var): Remove prototype
  9817. (add_referenced_var): Add prototype.
  9818. * tree-ssa-structalias.c (get_constraint_for,
  9819. intra_create_variable_infos): Use add_referenced_var.
  9820. 2006-05-23 Alexandre Oliva <aoliva@redhat.com>
  9821. * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
  9822. big-endian paradoxical subregs.
  9823. * var-tracking.c (struct micro_operation_def): Document that,
  9824. for modify micro operations, insn is the subsequent instruction.
  9825. (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
  9826. (var_reg_set, var_mem_set): ... new functions.
  9827. (add_stores): Record subsequent insn.
  9828. (compute_bb_dataflow): Use new functions for MO_USE.
  9829. (emit_notes_in_bb): Use new functions for MO_USE. Emit use
  9830. notes after the insn, and modify notes before the insn known
  9831. to be the subsequent one.
  9832. (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
  9833. 2006-05-23 Kazu Hirata <kazu@codesourcery.com>
  9834. PR target/27696
  9835. * config/i386/i386.c (ix86_expand_builtin): Use
  9836. gen_sse3_monitor64 for TARGET_64BIT.
  9837. 2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
  9838. PR rtl-optimization/26375
  9839. PR rtl-optimization/26855
  9840. * df-problems (df_ru_bb_local_compute_process_def): Removed update
  9841. to gen set.
  9842. (df_ru_bb_local_compute): Reversed statements and removed bogus
  9843. comment explaining why they should be in wrong order.
  9844. (df_ru_dump, df_rd_dump): Enhanced debug info.
  9845. * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
  9846. debug info.
  9847. * ddg.c (add_deps_for_def): Converted use of reaching defs to
  9848. reaching uses and fixed space problem.
  9849. 2006-05-23 Jan Hubicka <jh@suse.cz>
  9850. * cgraphunit.c (decide_is_function_needed): Also nested functions
  9851. and functions declared inline can be optimized out at -O0.
  9852. 2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
  9853. * doc/install.texi (Configuration): Remove reference to CrossGCC
  9854. FAQ which was gone.
  9855. (Building): Ditto.
  9856. 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
  9857. PR target/27266
  9858. * config/i386/i386.c (ix86_expand_branch): Jump to simple if
  9859. ix86_compare_emitted is non-NULL.
  9860. 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  9861. PR c++/27451
  9862. * stmt.c (expand_asm_operands): Skip asm statement with erroneous
  9863. clobbers.
  9864. 2006-05-22 Richard Sandiford <richard@codesourcery.com>
  9865. PR rtl-optimization/25514
  9866. * combine.c (replaced_rhs_insn): New variable.
  9867. (combine_instructions): Set replaced_rhs_insn when trying to replace
  9868. a SET_SRC with a REG_EQUAL note.
  9869. (distribute_notes): Use replaced_rhs_insn when determining the live
  9870. range of a REG_DEAD register.
  9871. 2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
  9872. Anatoly Sokolov <aesok@post.ru>
  9873. * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
  9874. attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
  9875. attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
  9876. atmega164p, atmega324p, atmega644p, atmega644, atmega329,
  9877. atmega3290, atmega649, atmega6490, atmega406, atmega640,
  9878. atmega1280, atmega1281, at90can32, at90can64, at90usb646,
  9879. at90usb647, at90usb1286 and at90usb1287 devices.
  9880. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
  9881. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
  9882. 2006-05-22 Richard Sandiford <richard@codesourcery.com>
  9883. * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
  9884. 2006-05-22 Richard Guenther <rguenther@suse.de>
  9885. Revert
  9886. 2006-01-31 Richard Guenther <rguenther@suse.de>
  9887. Paolo Bonzini <bonzini@gnu.org>
  9888. * doc/install.texi (--disable-libgcc-math): Document.
  9889. 2006-05-22 Richard Guenther <rguenther@suse.de>
  9890. Revert
  9891. 2006-01-31 Richard Guenther <rguenther@suse.de>
  9892. * doc/invoke.texi (-msselibm): Document.
  9893. * target.h (expand_library_builtin): New target hook.
  9894. * builtins.c (expand_builtin): Use expand_library_builtin.
  9895. (default_expand_library_builtin): New function.
  9896. * gcc.c (LINK_GCC_MATH_SPEC): Define.
  9897. (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
  9898. (link_gcc_math_spec): Declare.
  9899. (static_specs): Add link_gcc_math_spec.
  9900. * expr.h (default_expand_library_builtin): Declare.
  9901. * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
  9902. (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
  9903. * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
  9904. * config/i386/i386.opt (msselibm): New target option.
  9905. * config/i386/i386.c (ix86_builtin_function_variants): New array.
  9906. (ix86_init_sse_abi_builtins): New function.
  9907. (ix86_expand_library_builtin): Likewise.
  9908. (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
  9909. (override_options): Handle error conditions wrt -msselibm.
  9910. (ix86_builtins): Add function codes for SSE2 ABI builtins.
  9911. (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
  9912. * doc/extend.texi (__builtin_sse2_*): Document new target specific
  9913. builtins.
  9914. 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  9915. PR c/27420
  9916. * c-common.c (self_promoting_args_p): Skip erroneous args.
  9917. PR c/26818
  9918. * c-decl.c (finish_struct): Skip erroneous fields.
  9919. 2006-05-22 Nick Clifton <nickc@redhat.com>
  9920. * config/cris/cris.opt (march): Remove VarExists attribute.
  9921. (max-stackframe=): Likewise.
  9922. 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
  9923. * doc/rtl.texi: Fix a typo.
  9924. * see.c: Fix comment typos.
  9925. * tree-ssa-structalias.h (alias_info): Remove num_references.
  9926. 2006-05-21 Mike Stump <mrs@apple.com>
  9927. * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
  9928. (BAD2): Add.
  9929. (darwin_pragma_options): Use BAD instead.
  9930. (darwin_pragma_unused): Likewise.
  9931. (darwin_pragma_ms_struct): Likewise.
  9932. 2006-05-21 David Edelsohn <edelsohn@gnu.org>
  9933. * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
  9934. 2006-05-21 Kazu Hirata <kazu@codesourcery.com>
  9935. PR rtl-optimization/27671
  9936. * simplify-rtx.c (simplify_relational_operation_1): Fix
  9937. simplifications of (eq/ne (xor x y) y) and
  9938. (eq/ne (xor x y) x).
  9939. PR tree-optimization/26622.
  9940. * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
  9941. on arg1.
  9942. 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
  9943. * tree-cfg.c: Prune whitespace.
  9944. (debug_tree_cfg): Point to correct header containing the
  9945. TDF_* defines.
  9946. 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
  9947. PR middle-end/25776
  9948. * cgraphunit.c (verify_cgraph_node): Typo in error message.
  9949. 2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
  9950. PR middle-end/25776
  9951. * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
  9952. or sorry count is non zero.
  9953. 2006-05-20 Andreas Schwab <schwab@suse.de>
  9954. * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
  9955. 2006-05-19 Daniel Berlin <dberlin@dberlin.org>
  9956. Kenneth Zadeck <zadeck@naturalbridge.com>
  9957. PR rtl-optimization/26855
  9958. * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
  9959. multiword refs.
  9960. (df_scan_alloc): Added code to properly handle multiword hard
  9961. registers and add all_blocks parameter.
  9962. (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
  9963. code to properly handle multiword hard registers.
  9964. (df_rescan_blocks): Added code to remove deleted blocks from
  9965. bitmap.
  9966. (df_ref_create_structure, df_ref_record): Added code to properly
  9967. handle subregs.
  9968. (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
  9969. and set DF_REF_PARTIAL.
  9970. (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
  9971. (df_uses_record): Added DF_REF_PARTIAL for subreg.
  9972. (df_scan_add_problem): Added flags parameter.
  9973. (df_ref_create_structure): Changed switching structure.
  9974. (df_bb_refs_record): Fixed case where duplicate artificial refs
  9975. were created. Changed location of flags.
  9976. (df_record_entry_block_defs): Added code to make stack pointer
  9977. live in entry block. Refined cases where frame pointer is needed.
  9978. Changed location of flags.
  9979. (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
  9980. (df_set_state): Removed function.
  9981. (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
  9982. df_insn_create_insn_record, df_insn_refs_delete,
  9983. df_ref_create_structure): Formatting changes.
  9984. * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
  9985. df_delete_basic_block): New function.
  9986. (df_init): Changed location of flags.
  9987. (df_add_problem): Added flags parameter and the way flags are
  9988. processed.
  9989. (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
  9990. debug_df_chain): Improved debugging output.
  9991. (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
  9992. (df_refs_chain_dump): Removed df parameter.
  9993. (df_iterative_dataflow): Added consistency check.
  9994. (df_prune_to_subcfg): Made public.
  9995. (df_analyze_problem): Added blocks_to_init parameter and made
  9996. public.
  9997. (df_ref_record, df_bb_refs_record, df_mark_reg,
  9998. df_record_exit_block_uses): Whitespace changes.
  9999. (df_dump): Whitespace changes.
  10000. * df.h: Some reordering to remove forward references.
  10001. (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
  10002. DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
  10003. (df_ref_flags.DF_REF_CLOBBER): Deleted field.
  10004. (dataflow.flags): New field.
  10005. (df.flag): Deleted field.
  10006. (df_alloc_function): Added additional bitmap parameter.
  10007. (df_dependent_problem_function): New type.
  10008. (df_problem.changeable_flags): New field.
  10009. (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
  10010. DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
  10011. (df_mw_hardreg): New struct.
  10012. (DF_INSN_UID_MWS): New macro.
  10013. (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
  10014. parameter.
  10015. (df_add_problem, df_ru_add_problem, df_rd_add_problem,
  10016. df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
  10017. df_ri_add_problem, df_scan_add_problem): Added flags parameter.
  10018. (df_set_state): Removed function.
  10019. (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
  10020. * df-problems.c (df_chain_dump): Removed df parameter.
  10021. (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
  10022. df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
  10023. parameter.
  10024. (df_ru_alloc, df_rd_alloc): Now resets all blocks.
  10025. (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
  10026. df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
  10027. Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
  10028. DF_REF_MUST_CLOBBER cases.
  10029. (df_ru_bb_local_compute_process_def,
  10030. df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
  10031. df_lr_bb_local_compute, df_ur_bb_local_compute,
  10032. df_chain_create_bb): Made subreg aware.
  10033. (df_ru_bb_local_compute, df_rd_bb_local_compute,
  10034. df_lr_bb_local_compute, df_lr_bb_local_compute,
  10035. df_chain_create_bb): Cleanup to use proper macros.
  10036. (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
  10037. code to fixup bitvectors.
  10038. (df_ri_alloc): Cleared lifetime.
  10039. (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
  10040. df_create_unused_note): New function.
  10041. (df_ri_bb_compute, df_ri_compute): Added code to create/update
  10042. REG_DEAD and REG_UNUSED notes as well as register information.
  10043. (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
  10044. df_chains_dump): Fixed crash if problem was never run.
  10045. (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
  10046. df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
  10047. df_ri_add_problem): Processes flags in uniform manner.
  10048. (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
  10049. df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
  10050. df_rd_dump, df_urec_free_bb_info): Formatting changes.
  10051. (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
  10052. df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
  10053. df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
  10054. df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
  10055. df_ur_dump, df_urec_free_bb_info, df_urec_dump,
  10056. df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
  10057. * modulo-sched.c (sms_schedule): Added flag parameter to calls.
  10058. * see.c (see_initialize_data): Ditto.
  10059. * final.c (rest_of_clean_state) Added regstack_completed.
  10060. * rtl.h (regstack_completed): Ditto.
  10061. * reg-stack.c (regstack_completed): Ditto.
  10062. 2006-05-19 Mike Stump <mrs@apple.com>
  10063. * c-tree.h (default_conversion): Remove.
  10064. * c-common.h (default_conversion): Add.
  10065. 2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
  10066. * tree-vrp.c (valid_value_p): New function.
  10067. (adjust_range_with_scev): Fail if the value of bound is not
  10068. simple.
  10069. 2006-05-19 Richard Sandiford <richard@codesourcery.com>
  10070. * config/mips/linux-unwind.h: Include <asm/unistd.h>
  10071. (mips_fallback_frame_state): Use syscall numbers to determine
  10072. the appropriate li instruction for the current ABI. Only use
  10073. __NR_sigreturn for o32.
  10074. 2006-05-19 Nicolas Setton <setton@adacore.com>
  10075. * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
  10076. * langhooks.c (lhd_dwarf_name): New function.
  10077. * langhooks-def.h (lhd_dwarf_name): Declare.
  10078. (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
  10079. * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
  10080. 2006-05-19 Richard Sandiford <richard@codesourcery.com>
  10081. * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
  10082. libgcc2.h.
  10083. (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
  10084. MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
  10085. LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
  10086. * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
  10087. Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
  10088. determine the size of Wtype, etc.
  10089. * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
  10090. (swfloatfuncs): New variable.
  10091. (dwfloatfuncs): Likewise.
  10092. (lib2funcs): Remove floating-point conversion functions from
  10093. initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
  10094. the set of conversion routines needed. Allow entries to specify
  10095. an object name, filename and word size. Update users accordingly.
  10096. * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
  10097. * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
  10098. Revert:
  10099. 2006-02-08 Roger Sayle <roger@eyesopen.com>
  10100. PR target/22209
  10101. * config/fixtfdi.c: New libgcc source file.
  10102. * config/fixunstfdi.c: New source file.
  10103. * config/floatditf.c: New source file.
  10104. * config/floatunditf.c: New souce file.
  10105. * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
  10106. files above instead of config/mips/_tilib.c.
  10107. * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
  10108. 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  10109. * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
  10110. * pa/pa-hpux11.h (LIB_SPEC): Update comment.
  10111. 2006-05-18 Mike Stump <mrs@apple.com>
  10112. Fix up vla, vm and [*] sematics.
  10113. PR c/18740
  10114. PR c/7948
  10115. PR c/25802
  10116. PR c/27673
  10117. * c-tree.h (struct c_arg_info): Add had_vla_unspec.
  10118. (c_vla_unspec_p): Add.
  10119. (c_vla_type_p): Add.
  10120. * c-decl.c (struct c_scope): Add had_vla_unspec.
  10121. (build_array_declarator): Add support for [*].
  10122. (grokdeclarator): Likewise.
  10123. (grokparms): Likewise.
  10124. (get_parm_info): Likewise.
  10125. * c-objc-common.c (c_vla_unspec_p): Likewise.
  10126. * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
  10127. * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
  10128. typeof when argument is a variably modified type not inside sizeof or alignof.
  10129. (c_parser_direct_declarator_inner): Propagate errors.
  10130. (c_parser_sizeof_expression): Add support for [*].
  10131. (c_parser_parms_declarator): Initialize had_vla_unspec.
  10132. (c_parser_parms_list_declarator): Likewise.
  10133. * c-typeck.c (c_vla_type_p): Add.
  10134. (composite_type): Add support for vla compositing.
  10135. (comptypes_internal): Add support for vla compatibility.
  10136. (c_expr_sizeof_expr): Evaluate vla arguments.
  10137. * tree.c (variably_modified_type_p): Update comment for [*].
  10138. 2006-05-18 Michael Matz <matz@suse.de>
  10139. PR target/27599
  10140. * config.host: Make assignments to host_xmake_file cumulative.
  10141. * config.host (*-darwin*): Test $host, not $target.
  10142. 2006-05-12 Stuart Hastings <stuart@apple.com>
  10143. * config/i386/i386.opt (-mstackrealign): New flag.
  10144. * config/i386/i386.c (force_align_arg_pointer): New attribute.
  10145. (ix86_handle_cconv_attribute): Emit error when
  10146. force_align_arg_pointer attribute collides with too many regparms.
  10147. (ix86_function_regparm): Limit regparms when used with
  10148. force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
  10149. Support stack-realigning prologue in non-main functions. Emit
  10150. warning for nested functions under -mstackrealign, emit error for
  10151. nested functions with force_align_arg_pointer attribute.
  10152. * doc/extend.texi (force_align_arg_pointer): Document it.
  10153. * doc/invoke.texi (-mstackrealign): Document it.
  10154. 2006-05-17 Kazu Hirata <kazu@codesourcery.com>
  10155. PR rtl-optimization/27477
  10156. * combine.c (try_combine): Don't split a parallel consisting
  10157. of two sets into two individual sets if both sets reference
  10158. cc0.
  10159. 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
  10160. * config/arm/arm.opt (target_fpe_name): Remove VarExists.
  10161. * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
  10162. * doc/options.texi (VarExists): Updated.
  10163. 2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  10164. * unwind-dw2.c: Add declarations for uw_update_context and
  10165. uw_frame_state_for.
  10166. * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
  10167. detected, advance frame state and context once to skip over stub.
  10168. 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
  10169. PR middle-end/20256
  10170. PR middle-end/26435
  10171. * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
  10172. Call rewrite_into_loop_closed_ssa only when something changed.
  10173. * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
  10174. * lambda-code.c (can_convert_to_perfect_nest): Declared.
  10175. (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
  10176. Test for perfect_nest_p here. Fix formating.
  10177. (replace_uses_equiv_to_x_with_y): Fix formating.
  10178. (stmt_uses_op): Removed.
  10179. (can_convert_to_perfect_nest): Removed loopivs parameter.
  10180. Complete the test by checking the scalar dependences.
  10181. (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
  10182. Fix formating.
  10183. 2006-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
  10184. PR bootstrap/22541
  10185. From Dan Kegel <dank@kegel.com>:
  10186. * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
  10187. 2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
  10188. * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
  10189. if the element type is variably modified without recursing.
  10190. 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
  10191. PR middle-end/27332
  10192. * tree-loop-linear.c (try_interchange_loops): Test for
  10193. no data dependences.
  10194. 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
  10195. PR tree-optimization/27548
  10196. * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
  10197. range of ssa names that appear on abnormal edges.
  10198. * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
  10199. * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
  10200. 2006-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
  10201. PR middle-end/27620
  10202. * expr.c (safe_from_p): Handle CONSTRUCTOR again.
  10203. 2006-05-17 Jakub Jelinek <jakub@redhat.com>
  10204. PR middle-end/27415
  10205. * tree.h (OMP_PARALLEL_COMBINED): Define.
  10206. * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
  10207. (new_omp_context): Add is_combined_parallel argument.
  10208. (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
  10209. new_omp_context caller.
  10210. (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
  10211. Adjust gimplify_scan_omp_clauses callers.
  10212. (omp_is_private): Issue errors if iteration variable is firstprivate
  10213. or reduction in the current context.
  10214. * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
  10215. on combined parallel workshare constructs.
  10216. 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
  10217. * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
  10218. (gcc-options.o): New rule.
  10219. * optc-gen.awk: Protect variables for gcc-options.o with
  10220. #ifdef GCC_DRIVER/#endif.
  10221. 2006-05-16 Daniel Berlin <dberlin@dberlin.org>
  10222. Fix PR tree-optimization/27373
  10223. * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
  10224. (forward_propagate_addr_expr): Update call.
  10225. 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
  10226. * doc/options.texi: Move the Negative option.
  10227. 2006-05-16 Richard Guenther <rguenther@suse.de>
  10228. PR tree-optimization/22303
  10229. * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
  10230. from STRING_CSTs.
  10231. (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
  10232. ccp_fold did not simplify the statement.
  10233. 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
  10234. PR driver/26885
  10235. * Makefile.in (GCC_OBJS): New.
  10236. (OBJS-common): Add opts-common.o.
  10237. (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
  10238. (cpp$(exeext)): Likewise.
  10239. (gcc.o): Also depend on opts.h.
  10240. (opts-common.o): New.
  10241. * common.opt (gcoff): Add Negative(gdwarf-2).
  10242. (gdwarf-2): Add Negative(gstabs).
  10243. (gstabs): Add Negative(gstabs+).
  10244. (gstabs+): Add Negative(gvms).
  10245. (gvms): Add Negative(gxcoff).
  10246. (gxcoff): Add Negative(gxcoff+).
  10247. (gxcoff+): Add Negative(gcoff).
  10248. * config/i386/i386.opt (m32): Add Negative(m64).
  10249. (m64): Add Negative(m32).
  10250. * doc/options.texi: Document the Negative option.
  10251. * gcc.c: Include "opts.h".
  10252. (main): Call prune_options after expandargv.
  10253. * optc-gen.awk: Generate common declarations for all flag
  10254. variables in options.c. Output the neg_index field.
  10255. * opts.c (find_opt): Moved to ...
  10256. * opts-common.c: Here. New file.
  10257. * opts.h (cl_option): Add a neg_index field.
  10258. (find_opt): New.
  10259. (prune_options): Likewise.
  10260. 2006-05-16 Jakub Jelinek <jakub@redhat.com>
  10261. PR middle-end/27573
  10262. * omp-low.c (expand_omp_parallel): Don't assert
  10263. .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
  10264. instead search for it.
  10265. PR c/27499
  10266. * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
  10267. is signed.
  10268. 2006-05-16 Andreas Schwab <schwab@suse.de>
  10269. * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
  10270. defmac.
  10271. 2006-05-15 Roger Sayle <roger@eyesopen.com>
  10272. PR target/26600
  10273. * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
  10274. integer constants other than zero are only legitimate on TARGET_64BIT.
  10275. <CONST_VECTOR> Only zero vectors are legitimate.
  10276. (ix86_cannot_force_const_mem): Integral and vector constants can
  10277. always be put in the constant pool.
  10278. 2006-05-16 DJ Delorie <dj@redhat.com>
  10279. * crtstuff.c (__dso_handle): Set section from
  10280. TARGET_LBIGCC_SDATA_SECTION if defined.
  10281. * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
  10282. * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
  10283. 2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
  10284. PR target/27599
  10285. * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
  10286. host_xmake_file.
  10287. 2006-05-16 Ben Elliston <bje@au.ibm.com>
  10288. * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
  10289. 2006-05-15 Per Bothner <per@bothner.com>
  10290. * tree.c: (last_annotated_node): Use source_locus typedef.
  10291. This permits bootstrapping with --enable-mapped-location.
  10292. 2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
  10293. PR tree-optimization/26830
  10294. * tree-into-ssa.c (struct ssa_name_info): Add age field.
  10295. (info_for_ssa_name, current_info_for_ssa_name_age,
  10296. blocks_to_update): New variables.
  10297. (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
  10298. (clear_ssa_name_info, initialize_flags_in_bb,
  10299. mark_block_for_update): New functions.
  10300. (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
  10301. (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
  10302. prepare_def_site_for): Use mark_block_for_update.
  10303. (mark_def_interesting): Assert that the processed block is marked in
  10304. blocks_to_update. Do not take blocks argument.
  10305. (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
  10306. argument.
  10307. (rewrite_update_init_block, rewrite_update_stmt): Only process
  10308. blocks with statements to rewrite.
  10309. (delete_update_ssa): Do not clear SSA_NAME_AUX.
  10310. (update_ssa): Initialize and free blocks_to_update. Do not
  10311. clear flags on statements. Do not use blocks bitmap.
  10312. * tree.h (SSA_NAME_AUX): Removed.
  10313. (struct tree_ssa_name): Removed aux field.
  10314. * print-tree.c (print_node): Do not print SSA_NAME_AUX.
  10315. 2006-05-15 Richard Guenther <rguenther@suse.de>
  10316. PR tree-optimization/27603
  10317. * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
  10318. Do computations in original type.
  10319. 2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
  10320. * see.c: Code style changes such as redundant paranthesis,
  10321. redundant intialization of local variables etc.
  10322. (see_main): Declared now as static.
  10323. * doc/invoke.texi: Update that -fsee is not enabled by
  10324. default at -O3.
  10325. 2006-05-15 Jakub Jelinek <jakub@redhat.com>
  10326. * omp-low.c (check_omp_nesting_restrictions): New function.
  10327. (scan_omp_1): Call it.
  10328. PR middle-end/27416
  10329. * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
  10330. construct, return *VAR.
  10331. 2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
  10332. PR rtl-optimization/27406
  10333. * bt-load.c (migrate_btr_def): Skip the block having abnormal
  10334. edges.
  10335. 2006-05-14 Roger Sayle <roger@eyesopen.com>
  10336. PR rtl-optimization/27538
  10337. * combine.c (expand_compound_operation): Call gen_lowpart
  10338. before calling simplify_shift_const.
  10339. 2006-05-14 Roger Sayle <roger@eyesopen.com>
  10340. PR rtl-optimization/22563
  10341. * expmed.c (store_fixed_bit_field): When using AND and IOR to store
  10342. a fixed width bitfield, always force the intermediates into psuedos.
  10343. 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
  10344. PR 27501
  10345. * mkconfig.sh: Use operator = instead of == for test.
  10346. 2006-05-13 Nick Clifton <nickc@redhat.com>
  10347. * dwarf2out.c (dbx_reg_number): Check return value from
  10348. LEAF_REG_REMAP and only use it if it is valid.
  10349. (multiple_reg_loc_descriptor): Likewise.
  10350. 2006-05-13 Richard Guenther <rguenther@suse.de>
  10351. * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
  10352. host_xmake_file.
  10353. 2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
  10354. * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
  10355. information attached to non-INSNs such as NOTEs.
  10356. (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
  10357. 2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
  10358. * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
  10359. On contraint.
  10360. * config/s390/s390.md: Adjust comment describing On constraint.
  10361. 2006-05-11 Jan Hubicka <jh@suse.cz>
  10362. * cgraphunit.c (decide_is_function_needed): Don't force always_inline
  10363. to be output at -O0.
  10364. 2006-05-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  10365. PR middle-end/27384
  10366. * fold-const.c (size_binop): Move sanity check for arguments to
  10367. the beginning of the function.
  10368. PR middle-end/27488
  10369. * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
  10370. expression.
  10371. 2006-05-11 Richard Guenther <rguenther@suse.de>
  10372. PR middle-end/27529
  10373. * fold-const.c (fold_unary): Handle intermediate conversion
  10374. to a pointer type like intermediate conversion to an integer
  10375. type in folding of (T1)(T2)var to var.
  10376. Match the code to the comment in the final conversion for
  10377. (T1)(T2)var to (T1)var regarding to type precision. Rather
  10378. than disallow T1 being of pointer type, assert that both T1
  10379. and var are of pointer type or not. Make sure not to fall
  10380. over the frontends lazyness wrt array to pointer decay though.
  10381. 2006-05-10 Richard Earnshaw <rearnsha@arm.com>
  10382. * arm.c (arm_struct_value_rtx): Delete.
  10383. (TARGET_STRUCT_VALUE_RTX): Use the default definition.
  10384. (arm_init_cumulative_args): Always initialize nregs to zero.
  10385. 2006-05-10 Richard Guenther <rguenther@suse.de>
  10386. PR tree-optimization/27532
  10387. * tree-object-size.c (plus_expr_object_size): Fix typo.
  10388. 2006-05-10 Kazu Hirata <kazu@codesourcery.com>
  10389. PR target/24949
  10390. * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
  10391. ashrdi_const, ashrdi3): Use a scratch register.
  10392. 2006-05-10 Richard Guenther <rguenther@suse.de>
  10393. PR tree-optimization/27302
  10394. * fold-const.c (operand_equal_p): For two comparisons,
  10395. try comparison of one comparison code swapped if that yields
  10396. the same code.
  10397. 2006-05-10 Ben Elliston <bje@au.ibm.com>
  10398. * tree-pretty-print.c (pretty_print_string): No need to handle
  10399. '\0' as a special character.
  10400. * tree.h: Include "hashtab.h".
  10401. (iterative_hash_expr): Use hashval_t in its prototype.
  10402. * Makefile.in (TREE_H): Add $(HASHTAB_H).
  10403. 2006-05-09 Steve Ellcey <sje@cup.hp.com>
  10404. PR bootstrap/26872
  10405. * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
  10406. (hppa*64*-*-hpux11*): Ditto.
  10407. (hppa[12]*-*-hpux11*): Ditto.
  10408. 2006-05-09 David Edelsohn <edelsohn@gnu.org>
  10409. PR target/26545
  10410. * config/rs6000/aix41.h (TARGET_64BIT): Define.
  10411. 2006-05-09 Michael Matz <matz@suse.de>
  10412. * config.host (<i[34567]86-*-*, x86_64-*-*>): Set
  10413. host_extra_gcc_objs and host_xmake_file.
  10414. (<*-*-linux*>): Don't overwrite host_xmake_file.
  10415. * gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
  10416. * config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
  10417. (host_detect_local_cpu): Declare.
  10418. (CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
  10419. * config/i386/i386.c (override_options): Handle -mtune=native
  10420. as -mtune=generic.
  10421. * config/i386/x-i386: New file.
  10422. * config/i386/driver-i386.c: New file.
  10423. * doc/invoke.texi (<i386 and x86-64 Options>): Describe
  10424. cpu-type "native".
  10425. 2006-05-09 Dirk Mueller <dmueller@suse.de>
  10426. Richard Guenther <rguenther@suse.de>
  10427. PR middle-end/27498
  10428. * fold-const.c (fold_read_from_constant_string): Relax check
  10429. for matching types to matching modes.
  10430. 2006-05-09 Zdenek Dvorak <dvorakz@suse.cz>
  10431. PR rtl-optimization/27335
  10432. * loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
  10433. loops.
  10434. 2006-05-08 Chao-ying Fu <fu@mips.com>
  10435. Richard Sandiford <richard@codesourcery.com>
  10436. * config/mips/mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
  10437. (vcondv2sf, sminv2sf3, smaxv2sf3): Likewise.
  10438. * config/mips/mips.md (UNSPEC_SCC): New constant.
  10439. * config/mips/mips-protos.h (mips_expand_vcondv2sf): Declare.
  10440. * config/mips/mips.c (mips_reverse_fp_cond_p): New function.
  10441. (mips_emit_compare): Use it.
  10442. (mips_expand_vcondv2sf): New function.
  10443. 2006-05-08 Daniel Berlin <dberlin@dberlin.org>
  10444. Fix PR tree-optimization/27093
  10445. * tree-ssa-alias.c (recalculate_used_alone): Mark variables for
  10446. renaming when they become not-used_alone.
  10447. 2006-05-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  10448. * hpux-unwind.h (pa_fallback_frame_state): Handle return parameter
  10449. relocation and relocation stubs.
  10450. 2006-05-08 Eric Christopher <echristo@apple.com>
  10451. * unwind-dw2-fde-darwin.c (examine_objects): Only check data
  10452. section for ppc.
  10453. 2006-05-08 Jan Hubicka <jh@suse.cz>
  10454. PR middle-end/24561
  10455. * cgraphunit.c (decide_is_function_needed): When not optimizing even
  10456. unused static functions are needed.
  10457. 2006-05-08 Roger Sayle <roger@eyesopen.com>
  10458. PR target/27158
  10459. * reload.c (find_reloads_toplev): Only return the simplified SUBREG
  10460. of a reg_equiv_constant if the result is a legitimate constant.
  10461. 2006-05-08 Uros Bizjak <uros@kss-loka.si>
  10462. PR target/27277
  10463. * config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
  10464. standard 80387 constants, raise the cost to prevent
  10465. compress_float_constant() to generate load from memory.
  10466. 2006-05-08 Kazu Hirata <kazu@codesourcery.com>
  10467. * config/arm/constraints.md (c): Fix a typo.
  10468. * see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
  10469. typos.
  10470. 2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
  10471. PR target/24879
  10472. * config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use
  10473. inline function.
  10474. (_mm_mwait): Likewise.
  10475. * config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with
  10476. "mwait".
  10477. (sse3_monitor): Make it 32bit only.
  10478. (sse3_monitor64): New. 64bit monitor.
  10479. 2006-05-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  10480. PR target/27421
  10481. * config/i386/i386.c (classify_argument): Skip fields with invalid
  10482. types.
  10483. 2006-05-07 Richard Guenther <rguenther@suse.de>
  10484. PR tree-optimization/27409
  10485. * tree-ssa-structalias.c (get_constraint_for_component_ref):
  10486. Do not try to find zero-sized subvars.
  10487. 2006-05-07 Richard Guenther <rguenther@suse.de>
  10488. PR tree-optimization/27136
  10489. * tree-ssa-loop-niter.c (get_val_for): Correct function
  10490. comment, assert requirements.
  10491. (loop_niter_by_eval): Stop processing if the iterated
  10492. value did not simplify.
  10493. 2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
  10494. * opts.c (flag_see): remove its setting at -O3.
  10495. 2006-05-07 Richard Earnshaw <rearnsha@arm.com>
  10496. * genpeep.c (main): Make insn-peep.c depend on flags.h.
  10497. * arm/constraints.md: New file.
  10498. * arm.h (REG_CLASS_FROM_LETTER_P): Delete.
  10499. (CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER)
  10500. (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER)
  10501. (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM)
  10502. (CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR)
  10503. (EXTRA_MEMORY_CONSTRAINT): Likewise.
  10504. * arm.md: Include constraints.md.
  10505. (thumb_movsi_insn): Use satisfies_constraint_J.
  10506. (movhi, movqi): Use satisfies_constraint_I.
  10507. 2006-04-29 Anatoly Sokolov <aesok@post.ru>
  10508. * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name
  10509. for atmeg a645 device.
  10510. 2006-05-06 Richard Guenther <rguenther@suse.de>
  10511. PR tree-optimization/27151
  10512. * tree-vect-transform.c (vectorizable_condition): Punt on
  10513. values that have a different type than the condition.
  10514. 2006-05-03 Aldy Hernandez <aldyh@redhat.com>
  10515. PR/21391
  10516. * c-parser.c (c_parser_cast_expression): Only insert casts into
  10517. hash table if pointer.
  10518. * function.c (used_types_insert_helper): Rename from
  10519. used_types_insert.
  10520. (used_types_insert): Call used_types_insert_helper.
  10521. * function.h (used_types_insert): Accept only one argument.
  10522. 2006-05-05 David Edelsohn <edesohn@gnu.org>
  10523. * config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
  10524. scratch with output modifier.
  10525. 2006-05-04 David Edelsohn <edelsohn@gnu.org>
  10526. PR target/26481
  10527. * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
  10528. with output modifier.
  10529. 2006-05-04 Richard Sandiford <richard@codesourcery.com>
  10530. PR target/26765
  10531. * config/mips/mips.c (mips_symbolic_address_p): Return true
  10532. for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
  10533. SYMBOL_GOTTPREL, and SYMBOL_TLS.
  10534. 2006-05-04 Richard Guenther <rguenther@suse.de>
  10535. PR tree-optimization/14287
  10536. PR tree-optimization/14844
  10537. PR tree-optimization/19792
  10538. PR tree-optimization/21608
  10539. PR tree-optimization/27090
  10540. * tree-ssa-pre.c (try_combine_conversion): New function.
  10541. (compute_avail): After constructing the value-handle
  10542. expression, use try_combine_conversion to combine NOP_EXPRs
  10543. with previous value-handle expressions and use the result if it
  10544. is available.
  10545. 2006-05-04 Joseph S. Myers <joseph@codesourcery.com>
  10546. * config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
  10547. 2006-05-04 Jan Hubicka <jh@suse.cz>
  10548. PR middle-end/25962
  10549. * cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
  10550. 2006-05-04 Bernd Schmidt <bernd.schmidt@analog.com>
  10551. * config/bfin/predicates.md (const01_rtx): Tell generator programs
  10552. that this only matches CONST_INTs. All users changed to VOIDmode
  10553. operands.
  10554. * config/bfin/bfin.c: Include "optabs.h".
  10555. (bfin_rtx_costs): Some costs for vector operations, to allow combine
  10556. to do more work.
  10557. (enum bfin_builtins): Add a number of fractional and vector builtins.
  10558. (bfin_init_builtins): Likewise.
  10559. (struct builtin_description, bdesc_2arg, bdesc_1arg): New.
  10560. (safe_vector_operand, bfin_expand_binop_builtin,
  10561. bfin_expand_unop_builtin): New functions.
  10562. (bfin_expand_builtin): Handle the new builtins.
  10563. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
  10564. __ADSPBLACKFIN__.
  10565. 2006-05-04 Leehod Baruch <leehod@il.ibm.com>
  10566. * see.c: New file.
  10567. * Makefile.in (OBJS-common): Add see.o.
  10568. (see.o): Add dependencies.
  10569. * common.opt (fsee): New flag for the see optimization was added.
  10570. * opts.c (flag_see): Initialized.
  10571. * passes.c (init_optimization_passes, pass_see): New pass.
  10572. * rtl.h (see_main): Declaration as extern.
  10573. * timevar.def (TV_SEE): New.
  10574. * tree-pass.h (pass_see): Declaration as extern.
  10575. * invoke.texi (-fsee): Document.
  10576. * recog.c (validate_simplify_insn): New function.
  10577. * recog.h (validate_simplify_insn): Declaration as extern.
  10578. * df-problems.c (df_chain_dump): Check for NULL.
  10579. 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
  10580. Daniel Berlin <dberlin@dberlin.org>
  10581. * cfgrtl.c (insert_insn_bb_end_new): New function.
  10582. * basic-block.h (insert_insn_bb_end_new): Declaration as extern.
  10583. 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
  10584. * df.h (struct web_entry): Moved from web.c.
  10585. (union_defs): Declaration as extern.
  10586. (unionfind_root): Likewise.
  10587. (unionfind_union): Likewise.
  10588. * web.c (struct web_entry): Moved to df.h.
  10589. (unionfind_root): Remove static declaration.
  10590. (unionfind_union): Likewise.
  10591. (union_defs): Likewise and generalize to use callback function.
  10592. (web_main): Update arguments for union_defs function call.
  10593. 2006-05-04 Richard Guenther <rguenther@suse.de>
  10594. PR tree-optimization/26447
  10595. * tree-ssa-pre.c (realify_fake_stores): For necessary loads
  10596. produce SSA_NAME copies before the store stmt to avoid
  10597. breaking exception handling.
  10598. 2006-05-04 Jakub Jelinek <jakub@redhat.com>
  10599. PR middle-end/27388
  10600. * gimplify.c (omp_is_private): If var is shared in some outer context,
  10601. return false instead of true. Stop searching on parallel context
  10602. boundary.
  10603. 2006-05-03 Alexandre Oliva <aoliva@redhat.com>
  10604. PR java/8260
  10605. * coverage.c: Use get_gcov_unsigned_t() instead of
  10606. unsigned_type_node all over.
  10607. 2006-05-02 Andrew MacLeod <amacleod@redhat.com>
  10608. PR tree-optimization/27381
  10609. * tree-phinodes.c (remove_phi_arg_num): When moving a phi argument,
  10610. maintain the same immediate_use links.
  10611. * tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker
  10612. node rather than segfaulting.
  10613. 2006-05-03 Jakub Jelinek <jakub@redhat.com>
  10614. PR fortran/27395
  10615. * gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE
  10616. rather than TREE_CODE to OMP_CLAUSE_REDUCTION. Set also GOVD_SEEN
  10617. bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER.
  10618. 2006-05-02 Daniel Berlin <dberlin@dberlin.org>
  10619. Fix PR tree-optimization/26626
  10620. * tree-ssa-structalias.c (compute_points_to_sets): For now, solve
  10621. always.
  10622. * tree-ssa-operands.c (access_can_touch_variable): Allow
  10623. typecasting through union pointers.
  10624. 2006-05-02 Jakub Jelinek <jakub@redhat.com>
  10625. PR c++/26943
  10626. * omp-low.c (maybe_lookup_decl_in_outer_ctx): New function.
  10627. (build_outer_var_ref): Use maybe_lookup_decl_in_outer_ctx
  10628. to find if var will be a global variable even in the nested context.
  10629. (omp_copy_decl): Only check for global variable at the end, it might
  10630. be overridden in outer contexts.
  10631. (scan_sharing_clauses): For global variables don't create a field.
  10632. (lower_rec_input_clauses): Do nothing for global shared variables.
  10633. Emit a barrier at the end of ILIST if there were any decls in both
  10634. firstprivate and lastprivate clauses.
  10635. (lower_send_clauses): Do nothing for global variables except for
  10636. COPYIN.
  10637. 2006-05-02 Zdenek Dvorak <dvorakz@suse.cz>
  10638. * tree.c (unsigned_type_for, signed_type_for): Make sure a type
  10639. of the correct signedness is returned.
  10640. 2006-05-02 Jeff Law <law@redhat.com>
  10641. PR tree-optimization/27364
  10642. * tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from
  10643. multiply expressions.
  10644. 2006-05-02 Tom Tromey <tromey@redhat.com>
  10645. * tree-flow-inline.h (op_iter_init_phiuse): Fixed typo.
  10646. 2006-05-02 Kazu Hirata <kazu@codesourcery.com>
  10647. PR target/27387
  10648. * arm.c (arm_output_mi_thunk): Use pc-relative addressing when
  10649. -mthumb -fPIC are used.
  10650. 2006-05-02 Stanislaw Skowronek <skylark@linux-mips.org>
  10651. Joshua Kinard <kumba@gentoo.org>
  10652. PR target/25871
  10653. * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
  10654. with 64-bit pointers.
  10655. 2006-05-02 Paul Brook <paul@codesourcery.com>
  10656. * config/arm/arm.c (add_minipool_forward_ref): Check if insn
  10657. and pool overlap.
  10658. (create_fix_barrier): Check that a suitable barrier location is
  10659. found.
  10660. (arm_reorg): Include ftmp->address in allowable range of addresses.
  10661. 2006-05-02 David Billinghurst <David.Billinghurst@riotinto.com>
  10662. PR ada/27366
  10663. * ada/env.c (__gnat_clearenv): Use unsetenv() to clear environment
  10664. on Cygwin.
  10665. 2006-05-02 Jakub Jelinek <jakub@redhat.com>
  10666. PR middle-end/27337
  10667. * gimplify.c (gimplify_scan_omp_clauses): Handle INDIRECT_REF
  10668. around RESULT_DECL for result passed by reference.
  10669. (gimplify_expr): Call omp_notice_variable when RESULT_DECL is seen.
  10670. * omp-low.c (use_pointer_for_field): Don't look at
  10671. DECL_HAS_VALUE_EXPR_P for RESULT_DECLs.
  10672. (scan_omp_1): Call remap_decl on RESULT_DECLs.
  10673. (lower_rec_input_clauses): Don't allocate VLA memory for the second
  10674. time or var for passing by reference for
  10675. OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE clauses. Allow creation of
  10676. TREE_ADDRESSABLE variables when passing by reference.
  10677. * omp-low.c (dump_omp_region): Fix output formatting.
  10678. PR middle-end/27328
  10679. * omp-low.c (remove_exit_barrier): Handle NULL exit_bb.
  10680. (expand_omp_parallel): Likewise.
  10681. * tree-cfg.c (move_sese_region_to_fn): Likewise.
  10682. PR middle-end/27325
  10683. * omp-low.c (lower_omp_sections): Call maybe_catch_exception
  10684. on statement list containing also constructors and destructors.
  10685. (lower_omp_single, lower_omp_for, lower_omp_parallel): Likewise.
  10686. PR middle-end/27310
  10687. * except.c (duplicate_eh_regions): Fix clearing of
  10688. cfun->eh->region_array entries.
  10689. 2006-05-01 DJ Delorie <dj@redhat.com>
  10690. * configure.ac (gcc_cv_nm): Don't use an in-tree nm if
  10691. build!=host.
  10692. (gcc_cv_objdump): Likewise.
  10693. * configure: Regenerated.
  10694. 2006-05-01 Kazu Hirata <kazu@codesourcery.com>
  10695. PR target/27374
  10696. * config/arm/vfp.md (*arm_movdi_vfp): Correct the output
  10697. templates for case 3 and 4.
  10698. 2006-05-01 DJ Delorie <dj@redhat.com>
  10699. * vec.c: Include bconfig.h when appropriate.
  10700. * Makefile.in (build/vec.o): Adjust dependencies.
  10701. * mkconfig.sh: Make sure config.h isn't used for build machine
  10702. compiles.
  10703. 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
  10704. * tree-into-ssa.c (phis_to_rewrite, blocks_with_phis_to_rewrite): New
  10705. variables.
  10706. (mark_phi_for_rewrite): New function.
  10707. (insert_phi_nodes_for, mark_use_interesting): Call
  10708. mark_phi_for_rewrite.
  10709. (rewrite_update_phi_arguments): Traverse only phis in phis_to_rewrite.
  10710. (update_ssa): Initialize and free phis_to_rewrite.
  10711. 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
  10712. PR rtl-optimization/27291
  10713. * loop-doloop.c (add_test, doloop_modify): Handle the case condition is
  10714. folded to a constant.
  10715. 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
  10716. PR tree-optimization/27283
  10717. * tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
  10718. not whole # of iteration descriptions.
  10719. (niter_for_exit): Return just # of iterations. Fail if # of iterations
  10720. uses abnormal ssa name.
  10721. (niter_for_single_dom_exit): Ditto.
  10722. (find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
  10723. return just the number of iterations.
  10724. 2006-05-01 Zdenek Dvorak <dvorakz@suse.cz>
  10725. PR tree-optimization/27144
  10726. * tree-ssa-loop-niter.c (derive_constant_upper_bound): New function.
  10727. (record_estimate): Only record constant upper bound.
  10728. (infer_loop_bounds_from_undefined): Call
  10729. compute_estimated_nb_iterations just once.
  10730. (proved_non_wrapping_p): Renamed to ...
  10731. (n_of_executions_at_most): ... this. Expect bound to be a constant.
  10732. (convert_step_widening, scev_probably_wraps_p): Call
  10733. n_of_executions_at_most instead of proved_non_wrapping_p.
  10734. (substitute_in_loop_info): Do not replace values in bounds.
  10735. * cfgloop.h (struct nb_iter_bound): Remove "additional" field. Update
  10736. comments.
  10737. 2006-05-01 Richard Henderson <rth@redhat.com>
  10738. PR c/27358
  10739. * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Move after
  10740. c_parser_skip_to_pragma_eol. Convert to switch statement. Handle
  10741. CPP_PRAGMA.
  10742. 2006-05-01 Roger Sayle <roger@eyesopen.com>
  10743. * c-typeck.c (parser_build_binary_op): Don't call the function
  10744. unsigned_conversion_warning to spot operand/result type overflow.
  10745. (build_binary_op): Instead, call convert_and_check instead of
  10746. convert to report the problem when the operands are promoted.
  10747. * c-common.c (unsigned_conversion_warning): Make static.
  10748. * c-common.h (unsigned_conversion_warning): Delete prototype.
  10749. 2006-05-01 Richard Guenther <rguenther@suse.de>
  10750. PR tree-optimization/26726
  10751. * tree-ssa-loop-ivopts.c (idx_find_step): Mark source of the
  10752. problem ...
  10753. (find_interesting_uses_address): ... we work around here
  10754. by folding INDIRECT_REFs in the substituted base.
  10755. 2006-05-01 Diego Novillo <dnovillo@redhat.com>
  10756. * omp-low.c (dump_omp_region): Add newlines.
  10757. 2006-04-30 Roger Sayle <roger@eyesopen.com>
  10758. * common.opt (Woverflow): New command line option.
  10759. * c-common.c (constant_expression_warning): Check warn_overflow.
  10760. (overflow_waring): Pass OPT_Woverflow to warning.
  10761. (unsigned_conversion_warning): Likewise.
  10762. (convert_and_check): Likewise.
  10763. * doc/invoke.texi: Document new command line option.
  10764. 2006-04-30 David Edelsohn <edelsohn@gnu.org>
  10765. * config/rs6000/rs6000.c (rs6000_override_options): Enable
  10766. TARGET_NO_FP_IN_TOC for section anchors.
  10767. (optimization_options): Enable section anchors for all
  10768. non-"Objective" languages.
  10769. 2006-04-28 Eric Christopher <echristo@apple.com>
  10770. * config/darwin-c.c (darwin_ms_struct): Move this
  10771. (darwin_set_default_type_attributes): and this...
  10772. * config/darwin.c: ... here.
  10773. * config/darwin.h (darwin_ms_struct): Declare.
  10774. 2006-04-28 Andrew MacLeod <amacleod@redhat.com>
  10775. * tree-ssa-dom.c (propagate_rhs_into_lhs): Fix assert clause.
  10776. 2006-04-28 Roger Sayle <roger@eyesopen.com>
  10777. PR c/25309
  10778. * c-typeck.c (struct spelling): Make I an unsigned HOST_WIDE_INT.
  10779. (push_array_bounds): Delete prototype. Change BOUNDS argument to
  10780. an unsigned HOST_WIDE_INT.
  10781. (print_spelling): Use HOST_WIDE_INT_PRINT_UNSIGNED to output the
  10782. array index.
  10783. (really_start_incremental_init): No need to call convert because
  10784. bitsize_zero_node is already of type bitsizetype.
  10785. (push_init_level): Extract the value of constructor_index as an
  10786. unsigned HOST_WIDE_INT quantity, using tree_low_cst.
  10787. (process_init_element): Likewise.
  10788. 2006-04-28 Joseph S. Myers <joseph@codesourcery.com>
  10789. * gcc.c (process_command): Add program name to GCC_EXEC_PREFIX
  10790. value before passing to make_relative_prefix.
  10791. 2006-04-28 Alan Modra <amodra@bigpond.net.au>
  10792. PR middle-end/27260
  10793. * builtins.c (expand_builtin_memset): Expand val in original mode.
  10794. 2006-04-27 Eric Christopher <echristo@apple.com>
  10795. * target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket
  10796. with #ifndef/#endif.
  10797. * config/darwin-c.c (darwin_ms_struct): New.
  10798. (darwin_pragma_ms_struct): Ditto.
  10799. (darwin_set_default_type_attributes): Ditto.
  10800. * config/darwin-protos.h (darwin_pragma_ms_struct): Declare.
  10801. * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS):
  10802. Register ms_struct pragma.
  10803. * config/i386/darwin.h (REGISTER_TARGET_PRAGMAS): Declare.
  10804. (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Ditto.
  10805. * config/rs6000/rs6000.c (rs6000_set_default_type_attributes): Call
  10806. darwin_set_default_type_attributes if TARGET_MACHO.
  10807. 2006-04-27 Andrew MacLeod <amacleod@redhat.com>
  10808. PR tree-optimization/26854
  10809. * tree-vrp.c (remove_range_assertions): Use new Immuse iterator.
  10810. * doc/tree-ssa.texi: Update immuse iterator documentation.
  10811. * tree-ssa-math-opts.c (execute_cse_reciprocals_1): Use new iterator.
  10812. * tree-ssa-dom.c (propagate_rhs_into_lhs): Use new iterator.
  10813. * tree-flow-inline.h (end_safe_imm_use_traverse, end_safe_imm_use_p,
  10814. first_safe_imm_use, next_safe_imm_use): Remove.
  10815. (end_imm_use_stmt_p): New. Check for end of immuse stmt traversal.
  10816. (end_imm_use_stmt_traverse): New. Terminate immuse stmt traversal.
  10817. (move_use_after_head): New. Helper function to sort immuses in a stmt.
  10818. (link_use_stmts_after): New. Link all immuses in a stmt consescutively.
  10819. (first_imm_use_stmt): New. Get first stmt in an immuse list.
  10820. (next_imm_use_stmt): New. Get next stmt in an immuse list.
  10821. (first_imm_use_on_stmt): New. Get first immuse on a stmt.
  10822. (end_imm_use_on_stmt_p): New. Check for end of immuses on a stmt.
  10823. (next_imm_use_on_stmt): New. Move to next immuse on a stmt.
  10824. * tree-ssa-forwprop.c (forward_propagate_addr_expr): Use new iterator.
  10825. * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use new iterator.
  10826. (perfect_nestify): Use new iterator.
  10827. * tree-vect-transform.c (vect_create_epilog_for_reduction): Use new
  10828. iterator.
  10829. * tree-flow.h (struct immediate_use_iterator_d): Add comments.
  10830. (next_imm_name): New field in struct immediate_use_iterator_d.
  10831. (FOR_EACH_IMM_USE_SAFE, BREAK_FROM_SAFE_IMM_USE): Remove.
  10832. (FOR_EACH_IMM_USE_STMT, BREAK_FROM_IMM_USE_STMT,
  10833. FOR_EACH_IMM_USE_ON_STMT): New immediate use iterator macros.
  10834. * tree-cfg.c (replace_uses_by): Use new iterator.
  10835. * tree-ssa-threadedge.c (lhs_of_dominating_assert): Use new iterator.
  10836. * tree-ssa-operands.c (correct_use_link): Remove.
  10837. (finalize_ssa_use_ops): No longer call correct_use_link.
  10838. 2006-04-27 Stuart Hastings <stuart@apple.com>
  10839. * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New.
  10840. * config/t-darwin (crt3.o): Use it.
  10841. * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Remove
  10842. 'pmode', use Pmode instead of SImode for SYMBOL_REF.
  10843. * config/rs6000/rs6000.md (call_indirect_nonlocal_sysv,
  10844. call_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
  10845. call_value_nonlocal_sysv): Suffix with the "P" macro for 32/64
  10846. support.
  10847. 2006-04-27 Roger Sayle <roger@eyesopen.com>
  10848. * expmed.c (store_fixed_bit_field): If we're not optimizing for
  10849. size, force the intermediate into a new pseudo rather instead of
  10850. performing both a bitwise AND and a bitwise IOR in memory.
  10851. 2006-04-27 Richard Guenther <rguenther@suse.de>
  10852. PR rtl-optimization/26685
  10853. * params.def (PARAM_MAX_CSE_INSNS): Correct typo that named
  10854. this one "max-flow-memory-locations".
  10855. 2006-04-27 Richard Guenther <rguenther@suse.de>
  10856. PR tree-optimization/25148
  10857. * tree-vrp.c (compare_values): Remove code dealing with
  10858. comparisons against type min/max value. Honour overflow
  10859. and negative constants in code dealing with comparisons
  10860. of plus and minus expressions.
  10861. (value_inside_range): Use fold_binary with LE_EXPR and
  10862. GE_EXPR rather than compare_values.
  10863. 2006-04-27 Dirk Mueller <dmueller@suse.de>
  10864. * config/i386/xmmintrin.h (_mm_shuffle_pi16): Declare
  10865. prototype for SSE.
  10866. 2006-04-26 Kenneth Zadeck <zadeck@naturalbridge.com>
  10867. * basic-block.h (safe_insert_insn_on_edge): Removed.
  10868. * cfgrtl.c (mark_killed_regs, safe_insert_insn_on_edge): Removed.
  10869. 2006-04-26 David Edelsohn <edelsohn@gnu.org>
  10870. Paolo Bonzini <bonzini@gnu.org>
  10871. PR middle-end/27282
  10872. * combine.c (simplify_and_const_int_1): Use gen_int_mode.
  10873. (simplify_and_const_int): Same.
  10874. 2006-04-26 Aldy Hernandez <aldyh@redhat.com>
  10875. * tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE.
  10876. 2006-04-26 Jakub Jelinek <jakub@redhat.com>
  10877. PR c/26171
  10878. * cgraph.c (cgraph_varpool_finalize_decl): Don't call
  10879. cgraph_varpool_assemble_pending_decls if -fopenmp, unless
  10880. cgraph_global_info_ready.
  10881. PR middle-end/26913
  10882. * tree-cfg.c (find_outermost_region_in_block): Handle RESX_EXPR.
  10883. PR c/25996
  10884. * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for if
  10885. either decl or init is error_mark_node.
  10886. PR middle-end/25989
  10887. * tree-flow.h (struct omp_region): Add sched_kind.
  10888. * omp-low.c (expand_parallel_call): Use region->inner->sched_kind
  10889. instead of extracting omp for data.
  10890. (expand_omp_for): Save extracted sched_kind.
  10891. 2006-04-25 Roger Sayle <roger@eyesopen.com>
  10892. * expmed.c (store_bit_field): Also check whether the bitsize is
  10893. valid for the machine's "insv" instruction before moving the
  10894. target into a pseudo for use with the insv.
  10895. * config/i386/predicates.md (const8_operand): New predicate.
  10896. * config/i386/i386.md (extv, extzv, insv): Use the new
  10897. const8_operand predicate where appropriate.
  10898. 2006-04-25 DJ Delorie <dj@redhat.com>
  10899. * doc/install.texi (Specific): Clarify that this is not a list of
  10900. supported hosts or targets.
  10901. 2006-04-25 Richard Sandiford <richard@codesourcery.com>
  10902. PR rtl-optimization/26725
  10903. * cfgrtl.c (rtl_redirect_edge_and_branch_force): Set the source
  10904. block's BB_DIRTY flag.
  10905. 2006-04-25 Geoffrey Keating <geoffk@apple.com>
  10906. * dwarf2out.c (size_of_locs): Don't fill dw_loc_addr if there
  10907. are no branches.
  10908. * dwarf2asm.c (dw2_asm_output_data): Don't generate RTL just
  10909. to print an integer.
  10910. 2006-04-25 David Edelsohn <edelsohn@gnu.org>
  10911. * varasm.c (align_variable): New function.
  10912. (get_block_for_decl): Apply align_variable to DECL before
  10913. calculating section information.
  10914. (assemble_variable): Split out alignment computation.
  10915. 2006-04-25 Andreas Krebbel <krebbel1@de.ibm.com>
  10916. * expmed.c (store_bit_field): Handle paradoxical subregs on big endian
  10917. machines.
  10918. 2006-04-25 Bernd Schmidt <bernd.schmidt@analog.com>
  10919. * genmodes.c (make_vector_mode): Allow making VECTOR_MODE_INT of a
  10920. MODE_PARTIAL_INT mode.
  10921. * config/bfin/bfin-modes.def: Add V2PDI and V2SI.
  10922. * config/bfin/bfin.c (print_operand): Add macflag and mac/msu modifiers
  10923. for CONST_INTs.
  10924. (hard_regno_mode_ok): V2PDImode is ok for accumulators.
  10925. * config/bfin/bfin.h (CLASS_MAX_NREGS, HARD_REGNO_NREGS): Handle
  10926. V2PDImode.
  10927. * config/bfin/predicates.md (const01_operand, vec_shift_operand):
  10928. New predicates.
  10929. * config/bfin/bfin.md (UNSPEC_MUL_WITH_FLAG, UNSPEC_MAC_WITH_FLAG):
  10930. New constants.
  10931. (MACFLAG_NONE, MACFLAG_T, MACFLAG_FU, MACFLAG_TFU, MACFLAG_IS,
  10932. MACFLAG_IU, MACFLAG_W32, MACFLAG_M, MACFLAG_S2RND, MACFLAG_ISS2,
  10933. MACFLAG_IH): Likewise.
  10934. (movstricthi_1): Renamed from "*movstricthi".
  10935. (load_accumulator, load_accumulator_pair, movsi_insv, insv,
  10936. ssaddsi3, sssubsi3, ssnegsi2, signbitssi2, smaxhi3, sminhi3,
  10937. abshi2, neghi2, ssneghi2, signbitshi2, movhi_low2high,
  10938. movhi_high2high, movhi_low2low, movhi_high2low, movhiv2hi_low,
  10939. movhiv2hi_high, composev2hi, movv2hi_hi, movv2hi_hi_low,
  10940. movv2hi_hi_high, ssaddhi3, sssubhi3, ssaddv2hi3, sssubv2hi3,
  10941. addsubv2hi3, subaddv2hi3, ssaddsubv2hi3, sssubaddv2hi3,
  10942. sublohiv2hi3, subhilov2hi3, sssublohiv2hi3, sssubhilov2hi3,
  10943. addlohiv2hi3, addhilov2hi3, ssaddlohiv2hi3, ssaddhilov2hi3,
  10944. mulhisi_ll, mulhisi_lh, mulhisi_hl, mulhisi_hh, ssnegv2hi2,
  10945. ssashiftv2hi3, ssashifthi3, lshiftv2hi3, lshifthi3, packv2hi,
  10946. flag_mulhi, flag_mulhisi_parts, flag_machi, flag_machi_acconly,
  10947. flag_macinithi, flag_macinit1hi, flag_mulv2hi, flag_mulv2hi_parts,
  10948. flag_macv2hi_parts, flag_macv2hi_parts_acconly,
  10949. flag_macinitv2hi_parts, flag_macinit1v2hi_parts): New patterns.
  10950. * doc/rtl.texi (ss_ashift): Improve wording.
  10951. 2006-04-24 Geoffrey Keating <geoffk@apple.com>
  10952. * dwarf2out.c (verify_marks_clear): New.
  10953. (prune_unused_types): Call verify_marks_clear initially, not
  10954. prune_unmark_dies.
  10955. 2006-04-24 Bernd Schmidt <bernd.schmidt@analog.com>
  10956. * rtl.def (SS_ASHIFT, SS_NEG): New codes.
  10957. * doc/rtl.texi: Document them.
  10958. * simplify-rtx.c (simplify_unary_operation,
  10959. simplify_binary_operation_1): Don't abort when we see them.
  10960. 2006-04-24 Mark Mitchell <mark@codesourcery.com>
  10961. Revert:
  10962. 2006-04-23 Mark Mitchell <mark@codesourcery.com>
  10963. * configure.ac: Completely disregard languages that are not
  10964. enabled.
  10965. * configure: Regenerated.
  10966. 2006-04-24 Andrew Pinski <pinskia@gcc.gnu.org>
  10967. Richard Guenther <rguenther@suse.de>
  10968. PR tree-optimization/27236
  10969. * tree-inline.c (copy_body_r): Make sure to copy
  10970. TREE_THIS_VOLATILE flag.
  10971. 2006-04-24 Richard Guenther <rguenther@suse.de>
  10972. PR middle-end/26869
  10973. * tree-complex.c (update_parameter_components): Don't handle
  10974. unused parameters which have no default def.
  10975. 2006-04-24 Andrew Pinski <pinskia@gcc.gnu.org>
  10976. Richard Guenther <rguenther@suse.de>
  10977. PR tree-optimization/27218
  10978. * tree-inline.c (expand_call_inline): Strip useless type
  10979. conversions for the return slot address.
  10980. 2006-04-24 Richard Guenther <rguenther@suse.de>
  10981. * cfgloop.h (struct loops): Remove unused field array. Reorder
  10982. state after num.
  10983. (LOOP_PREFETCH): Remove.
  10984. 2006-04-24 Richard Guenther <rguenther@suse.de>
  10985. PR tree-optimization/22525
  10986. * value-prof.c (tree_mod_pow2): Remove unnecessary temporary
  10987. variable, adjust types of generated expressions.
  10988. 2006-04-23 H.J. Lu <hongjiu.lu@intel.com>
  10989. * Makefile.in (c-convert.o): Add dependency on $(TARGET_H)
  10990. (tree-vect-patterns.o): Likewise.
  10991. (jump.o): Likewise.
  10992. (cselib.o): Likewise.
  10993. (loop-doloop.o): Likewise.
  10994. (regclass.o): Likewise.
  10995. (reload1.o): Likewise.
  10996. (explow.o): Replace target.h with $(TARGET_H).
  10997. (ipa-prop.o): Likewise.
  10998. (ipa-cp.o): Likewise.
  10999. (ipa-inline.o): Likewise.
  11000. (reorg.o): Likewise.
  11001. (reg-stack.o): Likewise.
  11002. 2006-04-23 Eric Botcazou <ebotcazou@adacore.com>
  11003. * tree-tailcall.c (pass_tail_recursion): Use gate_tail_calls too.
  11004. 2006-04-23 Mark Mitchell <mark@codesourcery.com>
  11005. * print-tree.c (print_node): Print DECL_BIT_FIELD_TYPE.
  11006. * configure.ac: Completely disregard languages that are not
  11007. enabled.
  11008. * configure: Regenerated.
  11009. PR c++/26534
  11010. * c-common.h (c_build_bitfield_integer_type): Declare.
  11011. * c-decl.c (c_build_bitfield_integer_type): Move to ...
  11012. * c-common.c (c_build_bitfield_integer_type): ... here.
  11013. 2006-04-23 Roger Sayle <roger@eyesopen.com>
  11014. PR target/21283
  11015. * config/fr30/fr30.md (define_split): Avoid calling gen_lowpart on
  11016. a SImode SUBREG of a floating point register after no_new_pseudos.
  11017. 2006-04-23 Roger Sayle <roger@eyesopen.com>
  11018. * config/fr30/fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to
  11019. identify potentially eliminable registers to additionally catch
  11020. VIRTUAL_INCOMING_ARGS_REGNUM.
  11021. (addsi3): Update the conditions on when to use addsi_small_int.
  11022. 2006-04-23 Roger Sayle <roger@eyesopen.com>
  11023. PR target/16641
  11024. * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Check REGNO for
  11025. STACK_POINTER_RTX and FRAME_POINTER_RTX instead of comparing the
  11026. rtx to stack_pointer_rtx or frame_pointer_rtx directly.
  11027. 2006-04-23 Eric Botcazou <ebotcazou@adacore.com>
  11028. * fold-const.c (range_predecessor): Use operand_equal_p
  11029. as the predicate for equality.
  11030. (range_successor): Likewise.
  11031. 2006-04-22 Kazu Hirata <kazu@codesourcery.com>
  11032. Revert:
  11033. * config/soft-fp/op-common.h: Fix a typo.
  11034. 2006-04-22 Frank Ch. Eigler <fche@redhat.com>
  11035. PR libmudflap/26864
  11036. * common.opt (flag_mudflap_threads): Overload flag_mudflap.
  11037. * tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap.
  11038. 2006-04-22 Kazu Hirata <kazu@codesourcery.com>
  11039. * config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c:
  11040. Fix comment typos.
  11041. * doc/tm.texi: Fix a typo.
  11042. 2006-04-21 Geoffrey Keating <geoffk@apple.com>
  11043. * dwarf2out.c (struct die_struct): Document that die_sib makes
  11044. a circular linked list.
  11045. (FOR_EACH_CHILD): New.
  11046. (reverse_die_lists): Delete.
  11047. (reverse_all_dies): Delete.
  11048. (add_dwarf_attr): Correct documentation.
  11049. (remove_child_with_prev): New.
  11050. (remove_child_TAG): Update for change to die_struct, use
  11051. remove_child_with_prev.
  11052. (add_child_die): Update for change to die_struct.
  11053. (splice_child_die): Use remove_child_with_prev and add_child_die.
  11054. (print_die): Use FOR_EACH_CHILD.
  11055. (die_checksum): Likewise.
  11056. (assign_symbol_names): Likewise.
  11057. (output_location_lists): Likewise.
  11058. (build_abbrev_table): Likewise.
  11059. (calc_die_sizes): Likewise.
  11060. (mark_dies): Likewise.
  11061. (unmark_dies): Likewise.
  11062. (unmark_all_dies): Likewise.
  11063. (output_die): Likewise.
  11064. (prune_unused_types_mark): Likewise.
  11065. (prune_unused_types_walk): Likewise.
  11066. (same_die_p): Update for change to die_struct.
  11067. (break_out_includes): Likewise.
  11068. (prune_unused_types_prune): Likewise.
  11069. (add_sibling_attributes): Use FOR_EACH_CHILD, simplify logic.
  11070. (prune_unmark_dies): Use FOR_EACH_CHILD, don't clear die_mark if
  11071. it's already clear.
  11072. (dwarf2out_finish): Don't call reverse_all_dies.
  11073. 2006-04-21 Eric Christopher <echristo@apple.com>
  11074. * df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos
  11075. in comments and function names.
  11076. 2006-04-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  11077. PR c/25875
  11078. * c-typeck.c (digest_init): Robustify.
  11079. * c-typeck.c (pop_init_level): Simplify.
  11080. 2006-04-21 Steve Ellcey <sje@cup.hp.com>
  11081. * config/pa/t-pa64: Add dependencies on $(GCC_PASSES).
  11082. 2006-04-21 Paul Brook <paul@codesourcery.com>
  11083. * config/arm/arm.c (arm_override_options): Error on iWMMXt and
  11084. hardware floating point.
  11085. 2006-04-21 David Edelsohn <edelsohn@gnu.org>
  11086. * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add sfp to
  11087. NON_FLOAT_REGS.
  11088. 2006-04-21 Nick Clifton <nickc@redhat.com>
  11089. * config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include
  11090. OPT_EXTRA_PARTS.
  11091. 2006-04-21 Alan Modra <amodra@bigpond.net.au>
  11092. PR target/27230
  11093. * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
  11094. C++ lang type in traceback table for Objective-C++.
  11095. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Update comment.
  11096. 2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
  11097. * config/i386/i386.c (asm_preferred_eh_data_format): Reformat.
  11098. 2006-04-20 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  11099. PR mudflap/26789
  11100. * tree-mudflap.c (mudflap_finish_file): Skip function when there
  11101. were errors. Remove check for erroneous objects.
  11102. 2006-04-20 Jeff Law <law@redhat.com>
  11103. PR tree-optimization/26854
  11104. * tree-ssa-dse.c (dse_optimize_stmt): Avoid num_imm_uses when
  11105. checking for zero or one use.
  11106. * tree-ssa-dom.c (propagate_rhs_into_lhs): Similarly.
  11107. * tree-cfgcleanup.c (merge_phi_nodes): Similarly.
  11108. * tree-ssa-reassoc.c (negate_value): Similarly.
  11109. (reassociate_bb): Similarly.
  11110. 2006-04-20 Jakub Jelinek <jakub@redhat.com>
  11111. PR C/27558
  11112. * c-pretty-print.c (pp_c_direct_abstract_declarator): Print
  11113. TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather
  11114. than plain TYPE_MAX_VALUE (TYPE_DOMAIN (t)).
  11115. 2006-04-20 Alan Modra <amodra@bigpond.net.au>
  11116. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Consume all
  11117. fp regs if the last fp arg doesn't fit in regs.
  11118. 2006-04-20 Kaz Kojima <kkojima@gcc.gnu.org>
  11119. PR target/27182
  11120. * config/sh/sh.md (movsicc_true+3): Tweak condition for the case
  11121. that the last insn has the REG_INC note.
  11122. 2006-04-19 Carlos O'Donell <carlos@codesourcery.com>
  11123. Nathan Sidwell <nathan@codesourcery.com>
  11124. PR c/26774
  11125. * stor-layout.c (update_alignment_for_field): Do not align
  11126. ERROR_MARK nodes.
  11127. (place_union_field): Place union field at the start of the union.
  11128. (place_field): Move ERROR_MARK check later, and use the current
  11129. allocation position to maintain monotonicity.
  11130. 2006-04-19 Zdenek Dvorak <dvorakz@suse.cz>
  11131. * dominance.c: Include timevar.h.
  11132. (calculate_dominance_info): Use TV_DOMINANCE.
  11133. * timevar.def (TV_DOMINANCE): New timevar.
  11134. * Makefile.in (dominance.o): Add TIMEVAR_H dependency.
  11135. 2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
  11136. PR rtl-optimization/14261
  11137. * ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting
  11138. move would be an INSV insn.
  11139. (noce_process_if_block): Don't optimize if the destination is a
  11140. ZERO_EXTRACT which can't be handled by noce_emit_move_insn.
  11141. 2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com>
  11142. * config/s390/s390.md: Add comments with the instructions emitted
  11143. by an insn pattern if macros are used.
  11144. 2006-04-19 Alan Modra <amodra@bigpond.net.au>
  11145. PR rtl-optimization/26026
  11146. * fold-const.c (fold_binary): Optimize div and mod where the divisor
  11147. is a known power of two shifted left a variable amount.
  11148. 2006-04-18 Geoffrey Keating <geoffk@apple.com>
  11149. * dwarf2out.c (prune_unused_types_update_strings): Don't add strings
  11150. to hash table twice when the debug_str section has SECTION_MERGE.
  11151. 2006-04-18 Joseph S. Myers <joseph@codesourcery.com>
  11152. * config/soft-fp: New directory. From glibc.
  11153. * config/soft-fp/t-softfp: New.
  11154. * config/soft-fp/README: New.
  11155. * mklibgcc.in: Handle LIB2FUNCS_EXCLUDE.
  11156. * Makefile.in (LIB2FUNCS_EXCLUDE, SFP_MACHINE): New.
  11157. (libgcc.mk): Pass LIB2FUNCS_EXCLUDE.
  11158. (LIBGCC_DEPS): Add $(SFP_MACHINE).
  11159. * config.gcc: Use rs6000/t-fprules-fpbit or
  11160. rs6000/t-fprules-softfp and soft-fp/t-softfp together with
  11161. rs6000/t-fprules.
  11162. * config/rs6000/sfp-machine.h: New. Based on glibc.
  11163. * config/rs6000/t-fprules-fpbit, config/rs6000/t-fprules-softfp:
  11164. New.
  11165. * config/rs6000/t-fprules: Remove fp-bit rules.
  11166. * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Use +=.
  11167. * config/rs6000/t-linux64: Likewise. Remove duplicates from
  11168. LIB2FUNCS_EXTRA. Remove fp-bit rules.
  11169. (softfp_wrap_start, softfp_wrap_end): New.
  11170. 2006-04-18 DJ Delorie <dj@redhat.com>
  11171. * config/m32c/m32c.h (PTRDIFF_TYPE): Define.
  11172. 2006-04-18 Devang Patel <dpatel@apple.com>
  11173. * doc/invoke.texi (-Wuninitialized): Clarify -O connection.
  11174. 2006-04-18 Nick Clifton <nickc@redhat.com>
  11175. * config/sh/t-symbian: Add rule to build sh-c.o
  11176. * config/sh/symbian.c (sh_symbian_mark_dllexport): Replace use
  11177. of DECL_NON_ADDR_CONST_P with DECL_DLLIMPORT_P.
  11178. (sh_symbian_encode_section_info): Likewise.
  11179. 2006-04-18 Andreas Krebbel <krebbel1@de.ibm.com>
  11180. * builtins.c (expand_builtin_strcmp): Cover label definition of
  11181. do_libcall with HAVE_cmpstrnsi.
  11182. 2006-04-18 Kazu Hirata <kazu@codesourcery.com>
  11183. * function.c (temp_slots_at_level, max_slot_level): Use VEC
  11184. instead of VARRAY.
  11185. * function.h (temp_slot_p): New.
  11186. (function): Change the type of x_used_temp_slots to
  11187. VEC(temp_slot_p,gc) *.
  11188. 2006-04-18 Nick Clifton <nickc@redhat.com>
  11189. * config/mmix/mmix.h (OPTIMIZATION_OPTIONS): Remove reference to
  11190. flag_strength_reduce.
  11191. * doc/tm.texi (TARGET_SECTION_TYPE_FLAGS): Fix typo.
  11192. 2006-04-18 Paolo Bonzini <bonzini@gnu.org>
  11193. PR target/27117
  11194. Partial revert of revision 112637
  11195. 2006-04-03 Paolo Bonzini <bonzini@gnu.org>
  11196. Dale Johannesen <dalej@apple.com>
  11197. PR target/19653
  11198. * regclass.c (struct reg_pref): Update documentation.
  11199. (regclass): Set prefclass to NO_REGS if memory is the best option.
  11200. (record_reg_classes): Cope with a prefclass set to NO_REGS.
  11201. 2006-04-18 Paolo Bonzini <bonzini@gnu.org>
  11202. PR tree-optimization/26821
  11203. * tree-ssa-math-opts.c (get_constant_one): New.
  11204. (insert_reciprocals): Use it.
  11205. 2006-04-17 Geoffrey Keating <geoffk@apple.com>
  11206. * dwarf2out.c (free_AT): Delete.
  11207. (remove_AT): Update string ref counts.
  11208. (remove_child_TAG): Don't call free_die.
  11209. (free_die): Delete.
  11210. (break_out_includes): Don't call free_die on DW_TAG_GNU_BINCL
  11211. or DW_TAG_GNU_EINCL.
  11212. (prune_unused_types_walk_attribs): Reset string refcounts.
  11213. (prune_unused_types_update_strings): New.
  11214. (prune_unused_types_prune): Don't make unnecessary stores. Don't
  11215. call free_die. Do call prune_unused_types_update_strings.
  11216. (prune_unused_types): Empty debug_str_hash.
  11217. 2006-04-17 Roger Sayle <roger@eyesopen.com>
  11218. * expr.c (expand_assignment): Optimize away no-op moves where the
  11219. source and destination are equal and have no side-effects.
  11220. 2006-04-17 Richard Guenther <rguenther@suse.de>
  11221. PR target/26826
  11222. * reload.c (push_reload): Guard calls to get_secondary_mem
  11223. for memory subregs.
  11224. 2006-04-16 Kazu Hirata <kazu@codesourcery.com>
  11225. * alias.c (reg_base_value, old_reg_base_value): Change the
  11226. type to VEC(rtx,gc) *.
  11227. (REG_BASE_VALUE, find_base_value, record_set,
  11228. init_alias_analysis): Use VEC instead of VARRAY.
  11229. * alias.c (alias_sets): Change the type to
  11230. VEC(alias_set_entry,gc) *.
  11231. (get_alias_set_entry, new_alias_set, record_alias_subset): Use
  11232. VEC instead of VARRAY.
  11233. (last_alias_set): Remove.
  11234. * cgraph.h (cgraph_edge_p): New.
  11235. Update the prototype of cgraph_function_versioning.
  11236. * cgraphunit.c (cgraph_copy_node_for_versioning,
  11237. cgraph_function_versioning): Use VEC instead of VARRAY.
  11238. * ipa-cp.c (ipcp_insert_stage): Likewise.
  11239. 2006-04-16 Roger Sayle <roger@eyesopen.com>
  11240. PR target/26961
  11241. * fold-const.c (fold_ternary): When converting "A ? B : C" into either
  11242. "A op B" or "A op C", we may need to convert A to the type of B and C.
  11243. 2006-04-16 Adam Nemet <anemet@caviumnetworks.com>
  11244. * target.h (struct gcc_target): Add mode_rep_extended.
  11245. * rtlanal.c (num_sign_bit_copies_in_rep): New global.
  11246. (init_num_sign_bit_copies_in_rep): Initialize it using
  11247. mode_rep_extended.
  11248. (truncate_to_mode): Use it.
  11249. (init_rtlanal): Call init_num_sign_bit_copies_in_rep.
  11250. * targhooks.h (default_mode_rep_extended): Declare it.
  11251. * targhooks.c (default_mode_rep_extended): Define it.
  11252. * target-def.h (TARGET_MODE_REP_EXTENDED): New macro. Default to
  11253. default_mode_rep_extended.
  11254. (TARGET_INITIALIZER): Include it.
  11255. * doc/tm.texi (Misc): Document it.
  11256. * config/mips/mips.c (TARGET_TRUNCATED_TO_MODE): Override it.
  11257. (mips_truncated_to_mode): New function.
  11258. 2006-04-16 Roger Sayle <roger@eyesopen.com>
  11259. PR middle-end/25474
  11260. * expr.c (compress_float_constant): Copy the narrow constant into
  11261. a new pseudo before extending it to its final width.
  11262. 2006-04-16 Roger Sayle <roger@eyesopen.com>
  11263. Andrew Pinski <pinskia@gcc.gnu.org>
  11264. Dale Johannesen <dalej@apple.com>
  11265. PR target/24076
  11266. * config/i386/i386.c (ix86_expand_vector_init_duplicate): Add
  11267. special case code to implement V8HImode and V16QImode with SSE2.
  11268. 2006-04-15 Roger Sayle <roger@eyesopen.com>
  11269. * config/i386/i386.c (ix86_va_start): Ensure all integer constant
  11270. trees are constructed with a suitable tree type.
  11271. 2006-04-15 Roger Sayle <roger@eyesopen.com>
  11272. * tree.c (integer_zerop): Ignore TREE_CONSTANT_OVERFLOW.
  11273. (integer_onep): Likewise.
  11274. (integer_all_onesp): Likewise.
  11275. (integer_pow2p): Likewise.
  11276. (integer_nonzerop): Likewise.
  11277. (real_zerop): Likewise.
  11278. (real_onep): Likewise.
  11279. (real_twop): Likewise.
  11280. (real_minus_onep): Likewise.
  11281. (int_size_in_bytes): Likewise.
  11282. (host_integerp): Likewise.
  11283. 2006-04-15 Kazu Hirata <kazu@codesourcery.com>
  11284. * cfgcleanup.c, config/dfp-bit.c, expr.c, fold-const.c,
  11285. jump.c, mips-tfile.c, omp-low.c, sched-int.h,
  11286. tree-ssa-loop-prefetch.c, tree-vrp.c: Fix comment typos.
  11287. * tree-ssa-structalias.h (alias_info): Remove num_references.
  11288. 2006-04-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  11289. * pa.md (output_bb patterns): Shorten long branch alternatives by 4.
  11290. (output_bvb patterns): Likewise.
  11291. * pa.c (output_bb): Use 'bb' insn for long branch case.
  11292. (output_bvb): Likewise use '{bvb|bb}' for long branch case.
  11293. (output_dbra): Use '{comb|cmpb}' for long branch case for alternative
  11294. 1. Correct length operand for alternatives 1 and 2.
  11295. (output_movb): Use '{comb|cmpb}' for long branch case for alternatives
  11296. 1, 2 and 3. Correct length operand for alternatives 1, 2 and 3.
  11297. 2006-04-14 Roger Sayle <roger@eyesopen.com>
  11298. * tree-cfg.c (make_edges, make_omp_sections_edges, move_stmt_r,
  11299. is_ctrl_altering_stmt): Reinstate RTH's changes from r112935 that
  11300. were accidentally reverted by r112959.
  11301. 2006-04-15 Jakub Jelinek <jakub@redhat.com>
  11302. PR middle-end/26823
  11303. * except.h (eh_region_outermost): New prototype.
  11304. * except.c (eh_region_outermost): New function.
  11305. * tree-cfg.c (find_outermost_region_in_block): Use it.
  11306. 2006-04-14 Kazu Hirata <kazu@codesourcery.com>
  11307. * local-alloc.c (rest_of_handle_local_alloc): Use VEC instead
  11308. of VARRAY.
  11309. * reload1.c (reg_equiv_memory_loc_varray): Rename to
  11310. reg_equiv_memory_loc_vec. Change the type to VEC(rtx,gc) *.
  11311. (init_reload, reload): Use VEC instead of VARRAY.
  11312. * reload.h: Update the prototype for
  11313. reg_equiv_memory_loc_varray.
  11314. 2006-04-14 Alexey Starovoytov <alexey.starovoytov@sun.com>
  11315. Eric Botcazou <ebotcazou@libertysurf.fr>
  11316. * config/sparc/sparc.c (emit_and_preserve): Allocate space for the
  11317. register save area.
  11318. 2006-04-13 Uros Bizjak <uros@kss-loka.si>
  11319. PR middle-end/27134
  11320. * builtins.c (expand_builtin_int_roundingfn): Use expand_normal()
  11321. to expand fallback builtin function call.
  11322. 2006-04-14 Alan Modra <amodra@bigpond.net.au>
  11323. PR middle-end/27095
  11324. * builtins.c: (expand_builtin_memset): Stabilize args before expansion
  11325. and emit libcall here in case the builtin fails.
  11326. (expand_builtin_strcmp): Always emit the libcall here on failure.
  11327. 2006-04-14 Kazu Hirata <kazu@codesourcery.com>
  11328. * basic-block.h (REG_BASIC_BLOCK): Use VEC instead of VARRAY.
  11329. * flow.c (reg_n_info): Change the type to
  11330. VEC(reg_info_p,heap) *.
  11331. * regclass.c (allocate_reg_info, free_reg_info): Use VEC
  11332. instead of VARRAY.
  11333. * regs.h (reg_info_p): New.
  11334. (REG_N_REFS, REG_FREQ, REG_N_SETS, REG_N_DEATHS,
  11335. REG_N_CALLS_CROSSED, REG_N_THROWING_CALLS_CROSSED,
  11336. REG_LIVE_LENGTH, REGNO_FIRST_UID, REGNO_LAST_UID): Use VEC
  11337. instead of VARRAY.
  11338. 2006-04-13 Eric Botcazou <ebotcazou@adacore.com>
  11339. * params.def (PARAM_MAX_SCHED_READY_INSNS): New parameter,
  11340. defaulting to 100.
  11341. * params.h (MAX_SCHED_READY_INSNS): New macro.
  11342. * haifa-sched.c: (queue_to_ready): Re-queue insns for the next cycle
  11343. past MAX_SCHED_READY_INSNS during the first scheduling pass.
  11344. (schedule_block): Delay insns past MAX_SCHED_READY_INSNS in
  11345. the ready list for 1 cycle during the first scheduling pass.
  11346. * doc/invoke.texi (--param): New parameter max-sched-ready-insns.
  11347. 2006-04-13 Richard Henderson <rth@redhat.com>
  11348. PR libgomp/26651
  11349. * gimple-low.c (lower_omp_directive): Remove dead code.
  11350. (lower_stmt): Do nothing except for openmp, except for OMP_PARALLEL.
  11351. * gimplify.c (gimplify_expr): Update for OMP_RETURN, OMP_CONTINUE.
  11352. * omp-low.c (struct omp_region): Move to tree-flow.h.
  11353. (root_omp_region): Export.
  11354. (omp_regions, lookup_omp_region): Remove.
  11355. (determine_parallel_type): Update for struct omp_region changes.
  11356. (dump_omp_region): Dump regions with block numbers.
  11357. (new_omp_region): Take type and block instead of stmt; malloc
  11358. instead of ggc.
  11359. (free_omp_region_1, free_omp_regions): New.
  11360. (expand_parallel_call): Take entry_stmt as argument; update for
  11361. changes to omp_region.
  11362. (remove_exit_barrier): Rewrite to update OMP_RETURN_NOWAIT.
  11363. (remove_exit_barriers): New.
  11364. (expand_omp_parallel): Update for struct omp_region changes.
  11365. (expand_omp_synch): Likewise.
  11366. (expand_omp): Likewise.
  11367. (expand_omp_for_static_nochunk): Likewise; update for OMP_CONTINUE.
  11368. (expand_omp_for_static_chunk): Likewise.
  11369. (expand_omp_for): Likewise.
  11370. (expand_omp_for_generic): Likewise; emit the proper GOMP_loop_end call.
  11371. (expand_omp_sections): Similarly, with GOMP_sections_end.
  11372. (expand_omp_single): New.
  11373. (build_omp_regions_1): Update for OMP_CONTINUE.
  11374. (execute_expand_omp): Call remove_exit_barriers, free_omp_regions.
  11375. (lower_omp_sections): Expand with OMP_CONTINUE, do not collect
  11376. OMP_SECTIONS_SECTIONS.
  11377. (lower_omp_single_simple): Don't emit barrier here.
  11378. (lower_omp_single_copy): Likewise.
  11379. (lower_omp_single): Fix bindings, and lower to straightline now.
  11380. (lower_omp_master, lower_omp_ordered): Likewise.
  11381. (lower_omp_critical): Likewise.
  11382. (lower_omp_for): Likewise. Emit OMP_CONTINUE.
  11383. * tree-cfg.c (make_edges): Collect an omp_region tree, use it for
  11384. omp edges, free it afterward.
  11385. (make_omp_sections_edges): Remove.
  11386. (is_ctrl_altering_stmt): Don't bother checking flag_openmp.
  11387. (move_stmt_r): Handle OMP_CONTINUE.
  11388. * tree-flow.h (struct omp_region): Move from omp-low.c. Switch
  11389. statement pointers to basic blocks. Add type member.
  11390. (root_omp_region, new_omp_region, free_omp_regions): Declare.
  11391. * tree-gimple.c (is_gimple_stmt): Handle OMP_RETURN, OMP_CONTINUE.
  11392. * tree-inline.c (estimate_num_insns_1): Likewise.
  11393. * tree-pretty-print.c (dump_generic_node): Likewise.
  11394. * tree-ssa-operands.c (get_expr_operands): Likewise.
  11395. * tree.def (OMP_SECTIONS): Remove OMP_SECTIONS_SECTIONS operand.
  11396. (OMP_RETURN): Rename from OMP_RETURN_EXPR.
  11397. (OMP_CONTINUE): New.
  11398. * tree.h (OMP_DIRECTIVE_P): Add OMP_CONTINUE.
  11399. (OMP_SECTIONS_SECTIONS): Remove.
  11400. (OMP_SECTION_LAST): New.
  11401. (OMP_RETURN_NOWAIT): New.
  11402. 2006-04-13 Roger Sayle <roger@eyesopen.com>
  11403. * fold-const.c (native_encode_vector, native_interpret_real):
  11404. Correct obvious mistakes in the previous check-in.
  11405. 2006-04-13 Roger Sayle <roger@eyesopen.com>
  11406. * fold-const.c (native_encode_expr): New function to encode
  11407. the target representation of an INTEGER_CST, REAL_CST, COMPLEX_CST
  11408. or VECTOR_CST into a specified buffer.
  11409. (native_encode_int): New function.
  11410. (native_encode_real): New function.
  11411. (native_encode_complex): New function.
  11412. (native_encode_vector): New function.
  11413. (native_interpret_expr): Inverse of native_encode_expr to convert
  11414. a target representation into an INTEGER_CST, REAL_CST etc...
  11415. (native_interpret_int): New function.
  11416. (native_interpret_real): New function.
  11417. (native_interpret_complex): New function.
  11418. (native_interpret_vector): New function.
  11419. (fold_view_convert_expr): New function to constant fold/evaluate
  11420. a VIEW_CONVERT_EXPR of a suitable constant expression.
  11421. (fold_unary) <VIEW_CONVERT_EXPR>: Call fold_view_convert_expr.
  11422. Change call of build1 to fold_build1 when constructing a
  11423. VIEW_CONVERT_EXPR.
  11424. 2006-04-13 Paolo Bonzini <bonzini@gnu.org>
  11425. Ulrich Weigand <uweigand@de.ibm.com>
  11426. PR target/27006
  11427. * config/rs6000/rs6000.h (EASY_VECTOR_15_ADD_SELF): Require n
  11428. to be even.
  11429. 2006-04-13 Alan Modra <amodra@bigpond.net.au>
  11430. PR target/26459
  11431. * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't
  11432. optimize to lo_sum for DFmode if !TARGET_FPRS.
  11433. 2006-04-12 Kazu Hirata <kazu@codesourcery.com>
  11434. * tree-ssa-alias.c (set_initial_properties, init_alias_info,
  11435. delete_alias_info, compute_flow_sensitive_aliasing,
  11436. group_aliases): Use VEC instead of VARRAY.
  11437. * tree-ssa-structalias.c (update_alias_info): Likewise.
  11438. * tree-ssa-structalias.h (alias_info): Change the type of
  11439. processed_ptrs to VEC(tree,heap) *.
  11440. 2006-04-12 J"orn Rennecke <joern.rennecke@st.com>
  11441. PR target/27060
  11442. * config/sh/lib1funcs.h: New file, broken out of:
  11443. * config/sh/lib1funcs.asm.
  11444. * config/sh/lib1funcs.h (DR00, DR01, DR20, DR21, DR40, DR41):
  11445. New macros.
  11446. * config/sh/lib1funcs.asm (udivsi3_i4): Use them.
  11447. * config/sh/lib1funcs-Os-4-200.asm: New file.
  11448. * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-Os-4-200.
  11449. * config/sh/t-sh (OPT_EXTRA_PARTS): New variable.
  11450. (EXTRA_MULTILIB_PARTS): Include it.
  11451. ($(T)sdivsi3_i4i-Os-4-200.o): New rule.
  11452. ($(T)udivsi3_i4i-Os-4-200.o, $(T)libgcc-Os-4-200.a): Likewise.
  11453. * config/sh/t-superh (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS.
  11454. * config/sh/sh.h (OVERRIDE_OPTIONS): Recognize -mdiv=call-table for
  11455. TARGET_SH2.
  11456. 2006-04-12 Kazu Hirata <kazu@codesourcery.com>
  11457. * Makefile.in (TREE_SSA_LIVE_H): Add vecprim.h.
  11458. * tree-ssa-live.c (tpa_init, tpa_remove_partition, tpa_delete,
  11459. tpa_compact, root_var_init, type_var_init): Use VEC instead of
  11460. VARRAY.
  11461. * tree-ssa-live.h: Include vecprim.h.
  11462. (tree_partition_associator_d): Change the type of
  11463. first_partition to VEC(int,heap) *.
  11464. (tpa_first_partition): Use VEC instead of VARRAY.
  11465. * Makefile.in (GTFILES): Move functions.h after tree.h.
  11466. * function.c (reset_block_changes, record_block_change,
  11467. check_block_change, free_block_changes): Use VEC instead of
  11468. VARRAY.
  11469. * function.h (function): Change the type of
  11470. ib_boundaries_block to VEC(tree,gc) *.
  11471. * tree-inline.c (copy_cfg_body): Initialize
  11472. ib_boundaries_block to NULL instead of (varray_type) 0.
  11473. 2006-04-12 Roger Sayle <roger@eyesopen.com>
  11474. * expr.c (emit_group_store): Correct operand order in call to
  11475. subreg_lowpart_offset. Always create paradoxical SUBREGs with
  11476. a SUBREG_BYTE of zero.
  11477. 2006-04-12 Richard Guenther <rguenther@suse.de>
  11478. * profile.c (compute_branch_probabilities): Remove code
  11479. encapsulated in !ir_type (), which are remanents of the
  11480. removed RTL profiling code.
  11481. * rtl-profile.c: Remove.
  11482. 2006-04-12 Alan Modra <amodra@bigpond.net.au>
  11483. * config/rs6000/rs6000.c (rs6000_mixed_function_arg): Update
  11484. magic NULL_RTX comment.
  11485. (function_arg): Store entire fp arg to mem if any part should go
  11486. on stack.
  11487. (rs6000_arg_partial_bytes): Adjust for above change.
  11488. 2006-04-11 Roger Sayle <roger@eyesopen.com>
  11489. * dwarf2out.c (output_call_frame_info): Create debug_frame_section
  11490. if it hasn't been initialized by dwarf2out_init.
  11491. 2006-04-11 John David Anglin <dava.anglin@nrc-cnrc.gc.ca>
  11492. * pa.md (MAX_12BIT_OFFSET, MAX_17BIT_OFFSET): Define and use new
  11493. symbolic constants in branch patterns.
  11494. 2006-04-11 Roger Sayle <roger@eyesopen.com>
  11495. * caller-save.c: #include "addresses.h" after #include "tm_p.h".
  11496. 2006-04-11 Richard Sandiford <richard@codesourcery.com>
  11497. PR rtl-optimization/27073
  11498. * gcse.c (try_replace_reg): Revert last change. Continue to search
  11499. for both REG_EQUAL and REG_EQUIV notes, but only perform replacements
  11500. on the former.
  11501. 2006-04-11 Eric Botcazou <ebotcazou@libertysurf.fr>
  11502. * config/sparc/sparc.c (function_arg_slotno) <BLKmode>: Handle
  11503. aggregate types other than record and union types.
  11504. (function_arg): Likewise.
  11505. (function_arg_pass_by_reference): In 64-bit mode, return 0 for
  11506. small arrays.
  11507. (function_value): In 64-bit mode, return objects that require it
  11508. in FP registers.
  11509. 2006-04-11 Roger Sayle <roger@eyesopen.com>
  11510. * dwarf2out.c (premark_used_types): Remove problematic prototype.
  11511. 2006-04-11 Jakub Jelinek <jakub@redhat.com>
  11512. * gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.
  11513. 2006-04-03 Jeff Law <law@redhat.com>
  11514. PR/27087
  11515. * tree-ssa-copy.c (may_propagate_copy): Test flow sensitive
  11516. alias information too.
  11517. 2006-04-10 Mike Frysinger <vapier@gentoo.org>
  11518. * Makefile.in (gcc-cross): Add $(exeext) to target name.
  11519. 2006-04-10 Aldy Hernandez <aldyh@redhat.com>
  11520. PR/21391
  11521. * dwarf2out.c (struct die_struct): Add die_perennial_p field.
  11522. (premark_used_types_helper): New.
  11523. (premark_used_types): New.
  11524. (gen_subprogram_die): Call premark_used_types.
  11525. (prune_unused_types_walk): Do not prune perennial dies.
  11526. * function.c (used_types_insert): New.
  11527. * function.h (struct function): Add used_types_hash field.
  11528. (used_types_insert): Add prototype.
  11529. * Makefile.in (FUNCTION_H): Depend on HASHTAB_H.
  11530. * c-parser.c (c_parser_cast_expression): Save casted types in used
  11531. types hash table.
  11532. 2006-04-11 Mark Mitchell <mark@codesourcery.com>
  11533. PR target/26459
  11534. * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test
  11535. rs6000_explicit_options.float_gprs.
  11536. 2006-04-10 Roger Sayle <roger@eyesopen.com>
  11537. * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Renamed
  11538. from ix86_expand_vector_init_low_nonzero. Take an additional
  11539. one_var argument indicating which element is non-zero. Support
  11540. one_var != 0 for V4SFmode and V4SImode by permuting the result.
  11541. (ix86_expand_vector_init): Call ix86_expand_vector_init_one_nonzero
  11542. with one_var instead of ix86_expand_vector_init_low_nonzero.
  11543. 2006-04-10 Kazu Hirata <kazu@codesourcery.com>
  11544. * Makefile.in (tree-into-ssa.o, tree-outof-ssa.o,
  11545. tree-ssa-live.o, tree-ssa-alias.o, function.o, df-problems.o,
  11546. global.o, cfglayout.o, lambda-code.o, reg-stack.o,
  11547. build/genextract.o): Depend on vecprim.h.
  11548. * cfglayout.c, df-problems.c, function.c, genextract.c,
  11549. global.c, lambda-code.c, reg-stack.c, tree-into-ssa.c,
  11550. tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Include
  11551. vecprim.h.
  11552. * vecprim.h: New.
  11553. 2006-04-10 Geoffrey Keating <geoffk@apple.com>
  11554. * dwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.
  11555. Declare VECs of this type.
  11556. (struct die_struct): Make field die_attr a VEC of dw_attr_struct.
  11557. (remove_children): Delete.
  11558. (add_dwarf_attr): Use VEC routines.
  11559. (add_AT_flag): Update for changes to add_dwarf_attr.
  11560. (add_AT_int): Likewise.
  11561. (add_AT_unsigned): Likewise.
  11562. (add_AT_long_long): Likewise.
  11563. (add_AT_vec): Likewise.
  11564. (add_AT_string): Likewise.
  11565. (add_AT_die_ref): Likewise.
  11566. (add_AT_fde_ref): Likewise.
  11567. (add_AT_loc): Likewise.
  11568. (add_AT_loc_list): Likewise.
  11569. (add_AT_addr): Likewise.
  11570. (add_AT_lbl_id): Likewise.
  11571. (add_AT_lineptr): Likewise.
  11572. (add_AT_macptr): Likewise.
  11573. (add_AT_offset): Likewise.
  11574. (add_AT_range_list): Likewise.
  11575. (get_AT): Use VEC_iterate.
  11576. (remove_AT): Use VEC_ordered_remove.
  11577. (free_die): Fold remove_children into here; have it use VEC_iterate.
  11578. (print_die): Use VEC_iterate on attrs.
  11579. (reverse_die_lists): Don't reverse attr lists.
  11580. (die_checksum): Use VEC_iterate on attrs.
  11581. (same_die_p): Likewise.
  11582. (output_location_lists): Likewise.
  11583. (build_abbrev_table): Likewise.
  11584. (size_of_die): Likewise.
  11585. (unmark_all_dies): Likewise.
  11586. (output_abbrev_section): Likewise.
  11587. (output_die): Likewise.
  11588. (prune_unused_types_walk_attribs): Likewise.
  11589. 2006-04-10 Eric Botcazou <ebotcazou@libertysurf.fr>
  11590. * doc/install.texi (*-*-solaris2*): Point to the configure page.
  11591. 2006-04-10 Jakub Jelinek <jakub@redhat.com>
  11592. PR debug/27057
  11593. * dwarf2out.c (is_symbol_die): Return true also for namespaces.
  11594. 2006-04-09 Roger Sayle <roger@eyesopen.com>
  11595. * expr.c (store_constructor): Don't bother clearing target if
  11596. we're about to assign a vector to it using vec_init_optab.
  11597. 2006-04-10 Daniel Berlin <dberlin@dberlin.org>
  11598. * tree-ssa-alias.c (lhs_may_store_to): New function.
  11599. (recalculate_used_alone): Handle LHS of calls.
  11600. 2006-04-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  11601. PR target/27034
  11602. PR target/26508
  11603. * config.gcc (hppa*64*-*-hpux11*): Add 'libgcc_stub.a' to extra_parts.
  11604. * pa64-hpux.h (LIB_SPEC): Correct typo. Don't append milli.a.
  11605. (LINK_GCC_C_SEQUENCE_SPEC): Define. Append milli.a here.
  11606. (PA_CXA_FINALIZE_STUB, PA_JV_REGISTERCLASSES_STUB): Delete defines.
  11607. (PA_INIT_FINI_HACK): Rename to PA_CRTBEGIN_HACK.
  11608. (PA_CRTBEGIN_HACK): Ensure __do_global_ctors_aux is placed in text
  11609. section. Delete PA_CXA_FINALIZE_STUB and PA_JV_REGISTERCLASSES_STUB
  11610. stubs. Add ".align 8" directives before all ".dword" directives.
  11611. (GTHREAD_USE_WEAK): Revise comment.
  11612. (TARGET_ATTRIBUTE_WEAK): Define.
  11613. * pa/t-pa64 (LIBGCCSTUB_OBJS): Add new rules for stublib.c, rfi-stub.o,
  11614. dfi-stub.o, cxaf-stub.o and jvrc-stub.o.
  11615. * stublib.c: New file.
  11616. PR target/26743
  11617. PR target/11254
  11618. PR target/10274
  11619. * pa.md (cbranch patterns): Revise arguments used in calls to
  11620. output_cbranch, output_bb and output_bvd. Add long branch length
  11621. attributes.
  11622. (fbranch patterns): Handle long branches.
  11623. (jump): Revise length check. Revise arguments for output_lbranch call.
  11624. Add long branch length attributes.
  11625. (decrement_and_branch_until_zero): Add long branch length attributes.
  11626. (output_movb, output_parallel_addb and output_parallel_movb patterns):
  11627. Likewise. Revise arguments for output_parallel_addb and
  11628. output_parallel_movb calls.
  11629. * pa-protos.h (output_cbranch, output_lbranch, output_bb, output_bvb,
  11630. output_parallel_movb and output_parallel_addb): Update prototypes.
  11631. * pa.c (output_cbranch): Revise arguments. Correct handling of
  11632. nullification in long branches.
  11633. (output_lbranch): Add new argument to control extraction of delay
  11634. instruction.
  11635. (output_bb): Handle long branches.
  11636. (output_bvb, output_dbra, output_movb, output_parallel_movb,
  11637. output_parallel_addb): Likewise.
  11638. 2006-04-09 Richard Sandiford <richard@codesourcery.com>
  11639. PR rtl-optimization/27073
  11640. * gcse.c (try_replace_reg): Just propagate into REG_EQUAL notes,
  11641. not REG_EQUIVs.
  11642. 2006-04-08 Daniel Berlin <dberlin@dberlin.org>
  11643. * tree.h (tree_memory_tag): Add old_used_alone.
  11644. (SMT_OLD_USED_ALONE): New macro.
  11645. * tree-ssa-alias.c (recalculate_used_alone): Stop
  11646. marking things for renaming unnecessarily.
  11647. 2006-04-08 Kazu Hirata <kazu@codesourcery.com>
  11648. * builtins.c, config/arm/arm.c, config/i386/cygwin.h,
  11649. config/i386/i386.c, config/ia64/ia64.c, config/s390/fixdfdi.h,
  11650. config/sh/sh.c, config/sh/sh.h, df-scan.c, except.c,
  11651. haifa-sched.c, optabs.c, rtl.h, sched-deps.c, sched-int.h,
  11652. sched-rgn.c, tree-inline.h, tree-ssa-dom.c,
  11653. tree-ssa-loop-prefetch.c, tree-ssa-operands.c,
  11654. tree-vect-patterns.c, tree-vrp.c: Fix comment typos. Follow
  11655. spelling convensions.
  11656. * config/ia64/ia64.opt, doc/contrib.texi, doc/invoke.texi,
  11657. doc/passes.texi, doc/tm.texi, doc/tree-ssa.texi: Fix comment
  11658. typos. Follow spelling conventions.
  11659. 2006-04-07 DJ Delorie <dj@redhat.com>
  11660. * config/m32c/m32c.c (m32c_function_arg): Structures are always
  11661. passed on the stack.
  11662. (m32c_init_cumulative_args): When a function returns a structure,
  11663. always pass the pointer to that return area on the stack.
  11664. (m32c_function_arg_advance): Don't increment the parameter number
  11665. if we're processing the returned structure pointer.
  11666. (pushm_info): Reverse order of registers.
  11667. 2006-04-07 Sebastian Pop <pop@cri.ensmp.fr>
  11668. * tree-ssa-loop-niter.c (inverse, number_of_iterations_ne,
  11669. assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
  11670. number_of_iterations_le, number_of_iterations_cond, find_loop_niter,
  11671. estimate_numbers_of_iterations_loop): Use build_int_cst instead of
  11672. build_int_cst_type.
  11673. * tree-chrec.c (chrec_fold_multiply_poly_poly,
  11674. chrec_fold_multiply): Same.
  11675. * tree-ssa-loop-ivopts.c (strip_offset_1, force_expr_to_var_cost,
  11676. force_expr_to_var_cost): Same.
  11677. * tree-mudflap.c (mf_xform_derefs_1): Same.
  11678. * tree-ssa-loop-prefetch.c (idx_analyze_ref): Same.
  11679. 2006-04-07 David Edelsohn <edelsohn@gnu.org>
  11680. * config/rs6000/rs6000.c (rs6000_rtx_costs) <CONST_DOUBLE>: Do not
  11681. treat CONST_DOUBLE as INTVAL. and64_2_operands require an extra
  11682. insn.
  11683. 2006-04-07 Jan Hubicka <jh@suse.cz>
  11684. * ipa-inline.c (cgraph_early_inlining): Collect garbage.
  11685. 2006-04-07 Richard Guenther <rguenther@suse.de>
  11686. PR tree-optimization/26135
  11687. * tree-ssa-copy.c (stmt_may_generate_copy): Handle memory
  11688. loads for store copy-prop.
  11689. (copy_prop_visit_stmt): Likewise.
  11690. 2006-04-05 Robert Millan <robertmh@gnu.org>
  11691. * config/i386/linux.h: Add a comment to mark macros that are
  11692. being overriden in config/k*bsd-gnu.h.
  11693. * config/kfreebsd-gnu.h: Redefine GLIBC_DYNAMIC_LINKER instead of
  11694. DYNAMIC_LINKER.
  11695. * config/knetbsd-gnu.h: Ditto.
  11696. 2006-04-06 Jan Hubicka <jh@suse.cz>
  11697. PR profile/20815
  11698. PR profile/26399
  11699. * coverage.c (coverage_checksum_string): Reorganize loop to not read
  11700. after buffer.
  11701. 2006-04-06 Mike Stump <mrs@apple.com>
  11702. * builtins.c (expand_builtin_longjmp):Use #ifdef instead of #if
  11703. for HAVE_nonlocal_goto to be consistent.
  11704. (expand_builtin_nonlocal_goto): Likewise.
  11705. (expand_builtin_strcmp): Use #ifdef instead of #if
  11706. for HAVE_cmpstrnsi to be consistent.
  11707. 2006-04-05 DJ Delorie <dj@redhat.com>
  11708. * config/m32c/m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c
  11709. vs m32c.
  11710. 2006-04-05 Bernd Schmidt <bernd.schmidt@analog.com>
  11711. * config/bfin/bfin.c (bfin_legitimate_address_p): Disallow
  11712. got-relative addressing for anything but SImode.
  11713. * config/bfin/lib1funcs.asm (modsi): P1/P2 can be call-clobbered
  11714. even if the calling function doesn't modify them.
  11715. 2006-04-05 Richard Guenther <rguenther@suse.de>
  11716. PR tree-optimization/26919
  11717. * ipa-inline.c (cgraph_decide_inlining_incrementally): Fix argument
  11718. to cgraph_estimate_size_after_inlining.
  11719. 2006-04-05 Alan Modra <amodra@bigpond.net.au>
  11720. * reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.
  11721. 2006-04-05 Sebastian Pop <pop@cri.ensmp.fr>
  11722. PR tree-optimization/26996
  11723. * tree-scalar-evolution.c (analyze_scalar_evolution_1): Don't analyze
  11724. VECTOR_TYPE variables.
  11725. 2006-04-05 Richard Guenther <rguenther@suse.de>
  11726. PR tree-optimization/26763
  11727. * fold-const.c (fold_comparison): Move folding of
  11728. PTR + CST CMP PTR + CST ...
  11729. (fold_binary): ... here. Fold only for EQ_EXPR and NE_EXPR.
  11730. 2006-04-05 Gerald Pfeifer <gerald@pfeifer.com>
  11731. * doc/install.texi (Prerequisites): Refine some wording on
  11732. bootstrapping and ksh.
  11733. Move the version numbers of DejaGnu here from the testing section
  11734. and fix casing of names.
  11735. Fix markup and clarify wording for autogen requirements.
  11736. Refer to GCJ instead of just java.
  11737. Refer to SVN instead of CVS.
  11738. Describe diffutils as useful instead of necessary.
  11739. (Downloading the source): Refer to SVN instead of CVS.
  11740. Adjust a link to our web site accordingly.
  11741. (Configuration): Fix casing of Bison.
  11742. (Building): Refer to SVN instead of CVS.
  11743. Fix a sentence on the use of Bison and remove duplicate (and
  11744. incorrect) version number of Bison requirement.
  11745. Remove one redundant list of packages needed for building.
  11746. (Specific): Avoid reference to CVS.
  11747. 2006-04-04 Eric Christopher <echristo@apple.com>
  11748. * config/rs6000/rs6000.c (TARGET_MS_BITFIELD_LAYOUT_P): Define.
  11749. (TARGET_USE_MS_BITFIELD_LAYOUT): Ditto.
  11750. (rs6000_handle_struct_attribute): New.
  11751. (rs6000_ms_bitfield_layout_p): Ditto.
  11752. 2006-04-04 Geoffrey Keating <geoffk@apple.com>
  11753. * config/darwin-crt3.c (atexit): Pass &__dso_handle rather than
  11754. NULL for dso parameter to atexit_common.
  11755. 2006-04-04 Eric Christopher <echristo@apple.com>
  11756. * config/i386/i386.c (machopic_output_stub): Output \t
  11757. between instructions and operands.
  11758. 2006-04-04 David Edelsohn <edelsohn@gnu.org>
  11759. * config/rs6000/rs6000.c (num_insns_constant_wide): Change
  11760. satisfies_constraint_[IL] to explicit tests on value.
  11761. 2006-04-04 Sebastian Pop <pop@cri.ensmp.fr>
  11762. * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop,
  11763. set_nb_iterations_in_loop): Use build_int_cst instead of
  11764. build_int_cst_type.
  11765. * tree-data-ref.c (can_use_analyze_subscript_affine_affine): Use
  11766. build_int_cst instead of convert.
  11767. 2006-04-04 Carlos O'Donell <carlos@codesourcery.com>
  11768. * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document
  11769. new value 2 for incoming.
  11770. * function.c (expand_function_start): Call struct_value_rtx
  11771. with incoming as 2.
  11772. * config/sparc/sparc.md: Comment updated_return.
  11773. * config/sparc/sparc.opt: Add -mstd-struct-return option.
  11774. * config/sparc/sparc.c (sparc_struct_value_rtx): Use standard
  11775. struct return if sparc_std_struct_return and incoming is 2.
  11776. (print_operand): Do not adjust return if
  11777. sparc_std_struct_return.
  11778. 2006-04-04 Roger Sayle <roger@eyesopen.com>
  11779. * builtins.c (fold_builtin_sprintf): Use fold_convert instead of
  11780. convert in the middle-end.
  11781. * expr.c (store_expr, store_constructor, get_inner_reference,
  11782. expand_expr_real_1, string_constant, try_casesi, try_tablejump):
  11783. Likewise.
  11784. * tree.c (build_range_type): Likewise.
  11785. 2006-04-04 Tom Tromey <tromey@redhat.com>
  11786. * doc/install.texi (Prerequisites): Mention jar.
  11787. 2006-04-04 Daniel Berlin <dberlin@dberlin.org>
  11788. * doc/tree-ssa.texi (Preserving the virtual ssa form): New
  11789. subsection.
  11790. 2006-04-04 Matthias Klose <doko@debian.org>
  11791. * Makefile.in (unprotoize.o): Same dependencies as for protoize.o.
  11792. PR bootstrap/26764
  11793. PR bootstrap/27334
  11794. * Makefile.in (s-macro_list): Conform to POSIX rules in single quoted
  11795. strings.
  11796. 2006-04-03 Geoffrey Keating <geoffk@apple.com>
  11797. * doc/extend.texi (Function Attributes): Rewrite visibility
  11798. attribute documentation.
  11799. * doc/invoke.texi (C++ Dialect Options): Rewrite
  11800. -fvisibility-inlines-hidden documentation to describe something
  11801. entirely different, although in practise compatible.
  11802. (Code Gen Options): Warn about system headers in -fvisibility=
  11803. documentation.
  11804. * doc/extend.texi (Other Builtins): Document that
  11805. __builtin_nan is a compile-time constant only when its argument
  11806. is valid.
  11807. 2006-04-03 Adam Nemet <anemet@caviumnetworks.com>
  11808. * simplify-rtx.c (simplify_unary_operation_1) <TRUNCATE>: When
  11809. trying to remove TRUNCATE check if all bits outside the new mode
  11810. are identical to the sign bit.
  11811. 2006-04-03 Jeff Law <law@redhat.com>
  11812. * tree-ssa-dom.c (propagate_rhs_into_lhs): Avoid useless folding
  11813. and operand scanning in some common cases.
  11814. 2006-04-03 Paolo Bonzini <bonzini@gnu.org>
  11815. Dale Johannesen <dalej@apple.com>
  11816. PR target/19653
  11817. * regclass.c (struct reg_pref): Update documentation.
  11818. (regclass): Set prefclass to NO_REGS if memory is the best option.
  11819. (record_reg_classes): Cope with a prefclass set to NO_REGS.
  11820. * reload.c (find_reloads): Take PREFERRED_OUTPUT_RELOAD_CLASS
  11821. into account. For non-registers, equate an empty preferred
  11822. reload class to a `!' in the constraint; move the if clause to
  11823. do so after those that reject the insn.
  11824. (push_reload): Allow PREFERRED_*_RELOAD_CLASS to liberally
  11825. return NO_REGS.
  11826. (find_dummy_reload): Likewise.
  11827. * doc/tm.texi (Register Classes): Document what it means
  11828. if PREFERRED_*_RELOAD_CLASS return NO_REGS.
  11829. * config/i386/i386.c (ix86_preferred_reload_class): Force
  11830. using SSE registers (and return NO_REGS for floating-point
  11831. constants) if math is done with SSE.
  11832. (ix86_preferred_output_reload_class): New.
  11833. * config/i386/i386-protos.h (ix86_preferred_output_reload_class): New.
  11834. * config/i386/i386.h (PREFERRED_OUTPUT_RELOAD_CLASS): New.
  11835. * config/i386/i386.md: Remove # register preferences.
  11836. 2006-04-02 Sebastian Pop <pop@cri.ensmp.fr>
  11837. PR bootstrap/26992
  11838. * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop,
  11839. chrec_is_positive, set_nb_iterations_in_loop): Use a variable for
  11840. the type of nb_iter.
  11841. (instantiate_parameters_1): Convert the operands before calling
  11842. chrec_fold_minus, chrec_fold_plus, or chrec_fold_multiply.
  11843. * tree-data-ref.c (can_use_analyze_subscript_affine_affine): Same.
  11844. 2006-04-02 Roger Sayle <roger@eyesopen.com>
  11845. * builtins.c (dummy_object): Use build_int_cst instead of convert.
  11846. * tree-ssa-ccp.c (maybe_fold_stmt_addition): Use fold_convert
  11847. instead of convert.
  11848. * dojump.c (do_jump): Likewise.
  11849. * expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE): Likewise.
  11850. * gimplify.c (gimple_boolify, gimplify_init_constructor,
  11851. gimplify_boolean_expr): Likewise.
  11852. * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
  11853. * varasm.c (array_size_for_constructor): Likewise.
  11854. * tree-object-size.c (compute_object_offset): Likewise.
  11855. 2006-04-02 Roger Sayle <roger@eyesopen.com>
  11856. PR middle-end/26977
  11857. * expr.c (emit_group_store): Check whether simplify_gen_subreg returns
  11858. NULL_RTX, indicating it couldn't create a valid paradoxical subreg.
  11859. 2006-04-02 Sebastian Pop <pop@cri.ensmp.fr>
  11860. PR tree-optimization/26939
  11861. * tree-chrec.c (chrec_merge): Use eq_evolutions_p.
  11862. 2006-04-02 Sebastian Pop <pop@cri.ensmp.fr>
  11863. * tree-scalar-evolution.c (add_to_evolution_1): Pass an extra argument
  11864. at_stmt. Convert the type of operands before calling
  11865. build_polynomial_chrec.
  11866. (add_to_evolution): Pass an extra argument at_stmt. Adjust the call to
  11867. add_to_evolution_1.
  11868. (follow_ssa_edge_in_rhs): Adjust call to add_to_evolution.
  11869. (instantiate_parameters_1): Convert the type of operands before calling
  11870. build_polynomial_chrec.
  11871. * tree-chrec.c (chrec_fold_poly_cst, chrec_fold_plus_poly_poly,
  11872. chrec_fold_multiply_poly_poly, chrec_replace_initial_condition,
  11873. reset_evolution_in_loop): Insert asserts to check the types of the
  11874. operands.
  11875. (chrec_type): Moved...
  11876. (eq_evolutions_p): Use operand_equal_p.
  11877. * tree-chrec.h (build_polynomial_chrec): Insert an assert to check
  11878. the types of the operands.
  11879. (chrec_type): ...here.
  11880. * tree-data-ref.c (create_data_ref): Convert the operands before
  11881. calling chrec_replace_initial_condition.
  11882. (same_access_functions, analyze_subscript_affine_affine,
  11883. analyze_miv_subscript, all_chrecs_equal_p): Use eq_evolutions_p.
  11884. (compute_subscript_distance, analyze_ziv_subscript,
  11885. analyze_siv_subscript_cst_affine, compute_overlap_steps_for_affine_1_2,
  11886. analyze_miv_subscript): Convert the operands before calling
  11887. chrec_fold_minus or chrec_fold_plus.
  11888. 2006-04-02 Sebastian Pop <pop@cri.ensmp.fr>
  11889. * tree-data-ref.c (compute_all_dependences): Use a pointer to
  11890. the dependence_relations vector.
  11891. (compute_data_dependences_for_loop): Adjust call to
  11892. compute_all_dependences.
  11893. 2006-04-01 Roger Sayle <roger@eyesopen.com>
  11894. Richard Henderson <rth@redhat.com>
  11895. * gimplify.c (gimplify_scan_omp_clauses) <OMP_CLAUSE_IF>: Call
  11896. gimple_boolify on the condition before calling gimplify_expr.
  11897. 2006-03-31 Bob Wilson <bob.wilson@acm.org>
  11898. * config/xtensa/lib1funcs.asm: Rename abi_entry/abi_return macros
  11899. to leaf_entry/leaf_return. Change leaf_entry to add 16 bytes to
  11900. the frame size. Update to use the new macros.
  11901. * config/xtensa/ieee754-sf.S: Use new leaf_entry/leaf_return macros.
  11902. * config/xtensa/ieee754-df.S: Likewise.
  11903. 2006-03-31 Richard Henderson <rth@redhat.com>
  11904. * tree-cfg.c (make_ctrl_stmt_edges, make_exit_edges): Merge into...
  11905. (make_edges): ... here. Control fallthru creation with a local
  11906. variable. Do not play with fake edges.
  11907. (make_omp_sections_edges): Don't set EDGE_ABNORMAL.
  11908. (make_goto_expr_edges): Don't play with fake edges. Make for_call
  11909. a boolean.
  11910. 2006-04-01 Joseph S. Myers <joseph@codesourcery.com>
  11911. * dwarf2.h (DW64_CIE_ID): Define.
  11912. * dwarf2out.c (DWARF_CIE_ID): Define.
  11913. (output_call_frame_info): Output 0xffffffff before standard 8-byte
  11914. length header. Use DWARF_CIE_ID.
  11915. (value_format): Use DW_FORM_data4 or DW_FORM_data8 for
  11916. dw_val_class_loc_list depending on DWARF_OFFSET_SIZE.
  11917. 2006-03-31 Kaz Kojima <kkojima@gcc.gnu.org>
  11918. * config/sh/linux-atomic.asm: New file.
  11919. * config/sh/t-linux (LIB2FUNCS_EXTRA): Add linux-atomic.asm.
  11920. 2006-03-31 DJ Delorie <dj@redhat.com>
  11921. * config/m32c/cond.md: Set condition flags properly throughout.
  11922. * config/m32c/minmax.md: Likewise.
  11923. * config/m32c/prologue.md: Likewise.
  11924. * config/m32c/bitops.md: Likewise.
  11925. * config/m32c/muldiv.md: Likewise.
  11926. * config/m32c/mov.md: Likewise.
  11927. * config/m32c/addsub.md: Likewise.
  11928. * config/m32c/m32c.md: Likewise.
  11929. * config/m32c/jump.md: Likewise.
  11930. * config/m32c/shift.md: Likewise.
  11931. * config/m32c/cond.md (cmp<mode>): Call m32c_output_compare to
  11932. conditionally output the pattern for this.
  11933. * config/m32c/m32c.c (flags_needed_for_conditional): New.
  11934. (m32c_compare_redundant): New.
  11935. (m32c_output_compare): New.
  11936. * config/m32c/m32c-protos.h (m32c_output_compare): New.
  11937. * config/m32c/m32c.c (m32c_prepare_shift): Fix logic to clobber
  11938. dest, not src. Allow other 4-byte modes.
  11939. 2006-03-30 Denis Chertykov <denisc@overta.ru>
  11940. * doc/md.texi: Refer to avr/constraints.md instead of
  11941. avr/avr.h.
  11942. 2006-03-30 Roger Sayle <roger@eyesopen.com>
  11943. * expr.c (emit_group_store): Make BYTEPOS a HOST_WIDE_INT to
  11944. signed vs. unsigned comparison failures on some hosts.
  11945. 2006-03-31 Alan Modra <amodra@bigpond.net.au>
  11946. PR target/26459
  11947. * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Limit 2003-12-08
  11948. change to FLOAT_REGS.
  11949. * config/rs6000/rs6000.c (rs6000_explicit_options): Add ieee.
  11950. (rs6000_override_options): Use it.
  11951. (rs6000_handle_option): Set it. Set rs6000_explicit_options.abi
  11952. only for -mabi=spe/no-spe and -mabi=altivec.
  11953. 2006-03-30 Geoffrey Keating <geoffk@apple.com>
  11954. * config/darwin.h (LINK_COMMAND_SPEC): Don't try to protect %S with
  11955. !Zdynamiclib.
  11956. 2006-03-30 Carlos O'Donell <carlos@codesourcery.com>
  11957. * Makefile.in: Rename docdir to gcc_docdir.
  11958. 2006-03-30 Roger Sayle <roger@eyesopen.com>
  11959. PR target/17959
  11960. * expr.c (emit_group_store): Optimize group stores into a pseudo
  11961. register by using a paradoxical subreg to initialize the destination
  11962. if the first or last member of the group specifies a "low part".
  11963. 2006-03-30 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  11964. PR target/26734
  11965. * rtl.def (DEPS_LIST): Change type of the second operand to 'int'.
  11966. * target.h (struct gcc_target.speculate_insn): Change type of the
  11967. second parameter to 'int'.
  11968. * lists.c (alloc_DEPS_LIST): Change signature. Update reference to
  11969. the second operand of the DEPS_LIST.
  11970. (copy_DEPS_LIST_list): Update reference to the second operand of the
  11971. DEPS_LIST.
  11972. * rtl.h (alloc_DEPS_LIST): Update signature.
  11973. * sched-int.h (ds_t): Change typedef to 'int'.
  11974. (DEP_STATUS, BITS_PER_DEP_STATUS): Update.
  11975. 2006-03-30 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  11976. * haifa-sched.c (try_ready): Change condition to restore
  11977. non-speculative pattern of the instruction.
  11978. (process_insn_depend_be_in_spec): Code to keep probability of the
  11979. speculative dependence non-decreasing.
  11980. 2006-03-30 Jie Zhang <jie.zhang@analog.com>
  11981. * config/bfin/bfin.c (single_move_for_strmov): Renamed to...
  11982. (single_move_for_movmem): ... this. Also change all uses.
  11983. (bfin_expand_strmov): Renamed to...
  11984. (bfin_expand_movmem): ... this. Also change all uses.
  11985. * config/bfin/bfin.md (movstrsi): Renamed to...
  11986. (movstrsi): ...this.
  11987. 2006-03-30 Paolo Bonzini <bonzini@gnu.org>
  11988. PR tree-optimization/26830
  11989. * tree-ssa-copy.c (copy_prop_visit_assignment): Do not check loop depth.
  11990. (copy_prop_visit_stmt): Remove write-only variable ann.
  11991. (init_copy_prop): Check variable loop depth here. Do not simulate
  11992. memory-tag and virtual operand PHIs except for store copy prop.
  11993. 2006-03-30 Richard Guenther <rguenther@suse.de>
  11994. * config/i386/i386.c: Remove builtins for SSE2 ABI intrinsic
  11995. variants with double arguments.
  11996. 2006-03-29 David Edelsohn <edelsohn@gnu.org>
  11997. * genpreds.c (write_tm_constrs_h): Delete variable p.
  11998. * genconditions.c (write_header): Add tm-constrs.h to included
  11999. headers.
  12000. * genpeep.c (main): Add toplev.h to included headers.
  12001. * Makefile.in (build/gencondmd.o): Add tm-constrs.h dependency.
  12002. (build/genpeep.o): Add toplev.h dependency.
  12003. * config/rs6000/constraints.md: Add "W" constraint.
  12004. 2006-03-29 Roger Sayle <roger@eyesopen.com>
  12005. * stor-layout.c (mode_for_size_tree): Remove restiction on type
  12006. sizes by correctly testing whether the size fits a host integer.
  12007. (initialize_sizetypes): Use set_min_and_max_values_for_integral_type
  12008. to correctly set TYPE_MIN_VALUE and TYPE_MAX_VALUE to the full
  12009. SImode range for the default sizetype and bitsizetype.
  12010. 2006-03-29 Roger Sayle <roger@eyesopen.com>
  12011. * convert.c (convert_to_pointer): Preserve the TREE_OVERFLOW
  12012. and TREE_CONSTANT_OVERFLOW bits of the argument. Return
  12013. quickly if the argument is already of the correct type.
  12014. Call fold_build1 instead of build1. Tidy up blank lines.
  12015. 2006-03-29 David Edelsohn <edelsohn@gnu.org>
  12016. * genemit.c (main): Add tm-constrs.h to included headers.
  12017. * genoutput.c (output_prologue): Add tm-constrs.h to included headers.
  12018. * genpeep.c (main): Add tm-constrs.h to included headers.
  12019. * genpreds.c (write_satisfies_constraint_fns): Rename to ...
  12020. (write_tm_constrs_h): this and write complete file.
  12021. (write_tm_preds_h): Do not emit satisfies_constraint fns.
  12022. (write_insn_preds_c): Add tm-constrs.h to included headers.
  12023. (gen_constrs): New variable.
  12024. (parse_option): Parse "-c".
  12025. (main): Invoke write_tm_constrs_h.
  12026. * genrecog.c (write_header): Add tm-constrs.h to included headers.
  12027. * Makefile.in (STAGECOPYSTUFF): Add tm-constrs.h.
  12028. (object_out_file): Add tm-constrs.h dependency.
  12029. (insn-emit.o): Same.
  12030. (insn-output.o): Same.
  12031. (insn-peep.o): Same.
  12032. (insn-preds.o): Same.
  12033. (insn-recog.o): Same.
  12034. (tm-constsr.h): New target.
  12035. (s-constrs-h): New target.
  12036. * config/rs6000/constraints.md: New file.
  12037. * config/rs6000/rs6000.c: Include tm-constrs.h.
  12038. (num_insn_constant_wide): Convert to satisfies_constraint.
  12039. (rs6000_rtx_costs): Convert to satisfies_constraint.
  12040. * config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Delete.
  12041. (CONST_OK_FOR_LETTER_P): Delete.
  12042. (CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
  12043. (EXTRA_CONSTRAINT): Delete.
  12044. (EXTRA_MEMORY_CONSTRAINT): Delete.
  12045. (EXTRA_ADDRESS_CONSTRAINT): Delete.
  12046. * config/rs6000/predicates.md: Convert to satisfies_constraint.
  12047. * config/rs6000/rs6000.md: Include constraints.md. Convert to
  12048. satisfies_constraint.
  12049. * config/i386/i386.c: Include tm-constrs.h.
  12050. 2006-03-29 Sebastian Pop <pop@cri.ensmp.fr>
  12051. * tree-loop-linear.c (compute_data_dependences_for_loop): Adjust calls.
  12052. * tree-data-ref.c (find_data_references_in_loop,
  12053. compute_data_dependences_for_loop): Use pointers to VEC.
  12054. (analyze_all_data_dependences): Adjust calls.
  12055. * tree-data-ref.h (find_data_references_in_loop,
  12056. compute_data_dependences_for_loop): Adjust declarations.
  12057. * tree-vect-analyze.c (vect_analyze_data_refs): Adjust call to
  12058. compute_data_dependences_for_loop.
  12059. 2006-03-29 Paul Brook <paul@codesourcery.com>
  12060. * config/arm/vfp.md (movsf_vfp): Disparage w<->r alternatives.
  12061. (movdf_vfp): Ditto.
  12062. 2006-03-29 Sebastian Pop <pop@cri.ensmp.fr>
  12063. PR tree-optimization/26859
  12064. * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Avoid
  12065. division by zero.
  12066. (convert_step): Remove TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW flags
  12067. for the step after fold_convert.
  12068. 2006-03-29 Paul Brook <paul@codesourcery.com>
  12069. * reload1.c (choose_reload_regs): Check for all RTX_AUTOINC operators.
  12070. (inc_for_reload): Handle PRE_MODIFY and POST_MODIFY addresses.
  12071. 2006-03-29 Paul Brook <paul@codesourcery.com>
  12072. PR middle-end/23623
  12073. * targhooks.c (default_narrow_bitfield): New fuction.
  12074. * targhooks.h (default_narrow_bitfield): add prototype.
  12075. * target.h (gcc_target): Add narrow_volatile_bitfield.
  12076. * target-def.h (TARGET_NARROW_VOLATILE_BITFIELD): Define.
  12077. * stor-layout.c (get_best_mode): Use targetm.narrow_volatile_bitfield.
  12078. * doc/tm.texi: Document TARGET_NARROW_VOLATILE_BITFIELDS.
  12079. * config/arm/arm.c (TARGET_NARROW_VOLATILE_BITFIELD): Define.
  12080. 2006-03-29 Andreas Krebbel <krebbel1@de.ibm.com>
  12081. * config.gcc (s390-*-linux-*, s390x-*-linux*): Add t-dfprules to
  12082. tmake_file.
  12083. * config/s390/s390.c (S390_scalar_mode_supported_p): New function.
  12084. (NR_C_MODES): Add TDmode, DDmode and SDmode.
  12085. (s390_output_pool_entry, ): Accept MODE_DECIMAL_FLOAT.
  12086. (s390_hard_regno_mode_ok): Disallow TDmode in integer regs.
  12087. (s390_function_arg_float): Allow SDmode and DDmode values to be
  12088. passed in floating point registers.
  12089. (s390_function_arg_integer, s390_function_value): Replace MODE_FLOAT
  12090. check with SCALAR_FLOAT_MODE_P.
  12091. (TARGET_SCALAR_MODE_SUPPORTED_P): Define target macro.
  12092. 2006-03-28 Zdenek Dvorak <dvorakz@suse.cz>
  12093. PR tree-optimization/25985
  12094. * tree-ssa-loop-niter.c (number_of_iterations_le,
  12095. number_of_iterations_ne): Make comments more precise.
  12096. (number_of_iterations_cond): Add only_exit argument. Use the
  12097. fact that signed variables do not overflow only when only_exit
  12098. is true.
  12099. (loop_only_exit_p): New.
  12100. (number_of_iterations_exit): Pass result of loop_only_exit_p to
  12101. number_of_iterations_cond.
  12102. 2006-03-28 Zdenek Dvorak <dvorakz@suse.cz>
  12103. PR tree-optimization/26643
  12104. * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Do not handle
  12105. bit_field_refs.
  12106. 2006-03-28 Kaz Kojima <kkojima@gcc.gnu.org>
  12107. * config/sh/sh.md (udivsi3_i4_int): Clobber MACH_REG and MACL_REG.
  12108. (divsi3_i4_int): Likewise.
  12109. 2006-03-28 Roger Sayle <roger@eyesopen.com>
  12110. * expr.c (emit_group_store): Only create a new pseudo reg if the
  12111. quantity it needs to hold isn't already a suitable pseudo.
  12112. 2006-03-28 Jeff Law <law@redhat.com>
  12113. * timevar.def (TV_TREE_PHI_CPROP): New timevar.
  12114. * tree-ssa-dom.c (pass_phi_only_cprop): Use it.
  12115. 2006-03-28 Roger Sayle <roger@eyesopen.com>
  12116. * fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & Y) ^ Y as
  12117. the equivalent ~X & Y, and the symmetry related transformations.
  12118. (fold_binary) <BIT_AND_EXPR>: Similarly, fold (X ^ Y) & Y as
  12119. ~X & Y, and symmetry related transforms.
  12120. 2006-03-28 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  12121. Revert my 2006-03-27 patches.
  12122. 2006-03-28 Roger Sayle <roger@eyesopen.com>
  12123. * fold-const.c (fold_unary) <NOP_EXPR>: Fold (T1)(~(T2)X) as
  12124. ~(T1)X, when T1 and T2 are integer types of the same precision
  12125. and (T2)X isn't an extension.
  12126. 2006-03-28 Jeff Law <law@redhat.com>
  12127. PR tree-optimization/26796
  12128. * tree-ssa-dom.c (propagate_rhs_into_lhs): Queue blocks which
  12129. need EH edge cleanups rather than purging them immediately.
  12130. (eliminate_degenerate_phis): Handle queued EH cleanups.
  12131. 2006-03-28 Daniel Berlin <dberlin@dberlin.org>
  12132. * tree-ssa-alias.c (create_sft): Initially inherit TREE_ADDRESSABLE
  12133. from parent_var.
  12134. 2006-03-27 Roger Sayle <roger@eyesopen.com>
  12135. PR middle-end/22524
  12136. * fold-const.c (fold_binary) <MINUS_EXPR>: Call fold_convert to
  12137. cast BIT_NOT_EXPR operand to the correct type.
  12138. 2006-03-27 Sebastian Pop <pop@cri.ensmp.fr>
  12139. * tree-loop-linear.c: Don't include varray.h.
  12140. (gather_interchange_stats, try_interchange_loops,
  12141. linear_transform_loops): Use VEC instead of VARRAY.
  12142. * lambda-mat.c: Don't include varray.h.
  12143. * tree-chrec.c: Same.
  12144. * lambda-trans.c: Same.
  12145. * tree-vectorizer.c (new_loop_vec_info, destroy_loop_vec_info): Use
  12146. VEC instead of VARRAY.
  12147. * tree-vectorizer.h: Idem.
  12148. * tree-data-ref.c (dump_data_references,
  12149. dump_data_dependence_relations, dump_dist_dir_vectors, dump_ddrs,
  12150. initialize_data_dependence_relation, finalize_ddr_dependent,
  12151. compute_all_dependences, find_data_references_in_loop,
  12152. compute_data_dependences_for_loop, analyze_all_data_dependences,
  12153. free_dependence_relation, free_dependence_relations,
  12154. free_data_refs): Idem.
  12155. * tree-data-ref.h (data_reference_p, subscript_p): New.
  12156. (data_dependence_relation, DDR_SUBSCRIPT, DDR_NUM_SUBSCRIPTS): Use
  12157. VEC instead of VARRAY.
  12158. (DDR_SUBSCRIPTS_VECTOR_INIT): Removed.
  12159. (find_data_references_in_loop, compute_data_dependences_for_loop,
  12160. dump_ddrs, dump_dist_dir_vectors, dump_data_references,
  12161. dump_data_dependence_relations, free_dependence_relations,
  12162. free_data_refs): Adjust declaration.
  12163. (lambda_transform_legal_p): Move declaration here...
  12164. * tree-vect-analyze.c (vect_analyze_data_ref_dependences,
  12165. vect_compute_data_refs_alignment, vect_verify_datarefs_alignment,
  12166. vect_enhance_data_refs_alignment, vect_analyze_data_ref_accesses,
  12167. vect_analyze_data_refs): Use VEC instead of VARRAY.
  12168. * lambda.h (lambda_transform_legal_p): ...from here.
  12169. * lambda-code.c (lambda_transform_legal_p): Use VEC instead of VARRAY.
  12170. * tree-vect-transform.c (vect_update_inits_of_drs): Idem.
  12171. * Makefile.in (tree-loop-linear.o, lambda-mat.o, lambda-trans.o,
  12172. tree-chrec.o): Don't depend on VARRAY_H.
  12173. 2006-03-27 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  12174. * rtl.def (Copyright): Update date.
  12175. (DEPS_LIST): Change type of the second operand to 'int'.
  12176. * target.h (Copyright): Update date.
  12177. (struct gcc_target.speculate_insn): Change type of the second parameter
  12178. to 'int'.
  12179. * lists.c (Copyright): Update date.
  12180. (alloc_DEPS_LIST): Change signature. Update reference to the second
  12181. operand of the DEPS_LIST.
  12182. (copy_DEPS_LIST_list): Update reference to the second operand of the
  12183. DEPS_LIST.
  12184. * rtl.h (Copyright): Update date.
  12185. (alloc_DEPS_LIST): Update signature.
  12186. * sched-int.h (Copyright): Update date.
  12187. (ds_t): Change typedef to 'int'.
  12188. (DEP_STATUS, BITS_PER_DEP_STATUS): Update.
  12189. 2006-03-27 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  12190. * haifa-sched.c (Copyright): Update date.
  12191. (try_ready): Change condition to restore non-speculative pattern
  12192. of the instruction.
  12193. (process_insn_depend_be_in_spec): Code to keep probability of the
  12194. speculative dependence non-decreasing.
  12195. 2006-03-27 Bernd Schmidt <bernd.schmidt@analog.com>
  12196. * regrename.c (replace_oldest_value_addr): Initialize a variable to
  12197. shut up the compiler.
  12198. 2006-03-27 J"orn Rennecke <joern.rennecke@st.com>
  12199. * config/sh/t-sh ($(T)libic_invalidate_array_4-100.a): Fix rule
  12200. to use lib prefix for target.
  12201. ($(T)libic_invalidate_array_4-200.a): Likewise.
  12202. ($(T)libic_invalidate_array_4a.a): Likewise.
  12203. 2006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
  12204. J"orn Rennecke <joern.rennecke@st.com>
  12205. * superh.opt: New file.
  12206. * sh.c (boardtype, osruntime): Remove.
  12207. * superh.h (SUBTARGET_OPTIONS): Remove.
  12208. * config.gcc (sh*-superh-elf): Add sh/superh.opt to extra_options.
  12209. * config.gcc (sh*-*-*): Don't use c-c ranges for tr. Quote sed
  12210. arguments with ^ and/or [].
  12211. * config.gcc (sh-*-*): Add quoting to account for quirk of
  12212. Solaris /bin/sh.
  12213. Replace == with = in enable_incomplete_targets test.
  12214. * config/sh/superh.h (SUBTARGET_LINK_SPEC): Replace LITTLE_ENDIAN_BIT
  12215. with MASK_LITTLE_ENDIAN.
  12216. * config.gcc (sh*-superh-elf): Add sh/superh.h to tm_file.
  12217. * config/sh/sh.opt: Added to some comments.
  12218. * config/sh/superh.h: Removed some chaff.
  12219. * config/sh/sh.opt: Add m4-[1234]00* options.
  12220. * config/sh/sh.c (sh_handle_option): Likewise.
  12221. * config/sh/t-sh (IC_EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Define.
  12222. (ic_invalidate_array_4-100.o): New rule.
  12223. ($(T)libic_invalidate_array_4-100.a): Likewise.
  12224. (ic_invalidate_array_4-200.o): Likewise.
  12225. ($(T)libic_invalidate_array_4-200.a): Likewise.
  12226. (ic_invalidate_array_4a.o): Likewise.
  12227. ($(T)libic_invalidate_array_4a.a): Likewise.
  12228. * config/sh/t-elf (EXTRA_MULTILIB_PARTS): Add IC_EXTRA_PARTS.
  12229. * config/sh/embed-elf.h (LIBGCC_SPEC): Add clauses for m4-100*,
  12230. m4-200*, and m4a*.
  12231. * config/sh/crt1.asm: Merged in profiling code.
  12232. * config/sh/superh.h (STARTFILE_SPEC): Override.
  12233. * config/sh/t-superh: Override EXTRA_MULTILIB_PARTS.
  12234. Add rules for $(T)crt1-mmu.o, $(T)gcrt1-mmu.o and $(T)gcrt1.o.
  12235. * config.gcc (sh*-superh-elf): Add t-superh to tmake_file.
  12236. * t-sh (MULTILIB_MATCHES): Add sh4-[1245]00* variants.
  12237. * config/sh/t-superh: Removed now-redundant MULTILIB_OPTIONS /
  12238. MULTILIB_DIRNAMES / MULTILIB_MATCHES settings.
  12239. * sh.opt (mpretend-cmove): New option.
  12240. * sh.h (OPERRIDE_OPTIONS): Switch it off if not TARGET_SH1.
  12241. * sh.md (movsicc_t_false, movsicc_t_tru): New patterns.
  12242. (movsicc): Add TARGET_PRETEND_CMOVE code.
  12243. 2006-03-27 Andreas Krebbel <krebbel1@de.ibm.com>
  12244. * config/s390/s390-protos.h (s390_hard_regno_mode_ok,
  12245. s390_class_max_nregs): New function prototypes.
  12246. * config/s390/s390.c (REGNO_PAIR_OK): New macro.
  12247. (s390_hard_regno_mode_ok, s390_class_max_nregs): New functions.
  12248. * config/s390/s390.h (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK,
  12249. CLASS_MAX_NREGS): Macro bodies replaced by function calls.
  12250. 2006-03-26 Geoffrey Keating <geoffk@apple.com>
  12251. * dwarf2out.c (add_location_or_const_value_attribute): Call
  12252. tree_add_const_value_attribute if nothing else works.
  12253. (reference_to_unused): New.
  12254. (rtl_for_decl_init): Use reference_to_unused to decide whether
  12255. to output an initializer.
  12256. 2006-03-27 Alan Modra <amodra@bigpond.net.au>
  12257. PR target/26459
  12258. * config/rs6000/rs6000.md (DF reg move peephole): Prevent
  12259. peephole removing spe frob_di_df_2.
  12260. 2006-03-26 Sebastian Pop <pop@cri.ensmp.fr>
  12261. * tree-data-ref.c: Rename DDR_SIZE_VECT to DDR_NB_LOOPS.
  12262. (subscript_dependence_tester_1): Declared.
  12263. (print_dir_vectors, print_dist_vectors): New.
  12264. (debug_data_dependence_relation): New.
  12265. (dump_data_dependence_relation): Print more details.
  12266. (initialize_data_dependence_relation): Initialize DDR_LOOP_NEST.
  12267. (analyze_subscript_affine_affine): Don't ICE when gcd_alpha_beta is 0.
  12268. (save_dist_v, save_dir_v, add_outer_distances,
  12269. build_classic_dist_vector_1): New.
  12270. (build_classic_dist_vector): Rewrite to work on DDR_LOOP_NEST.
  12271. Don't test for lambda_vector_lexico_pos.
  12272. (same_access_functions, add_multivariate_self_dist,
  12273. add_other_self_distances, dir_from_dist): New.
  12274. (build_classic_dir_vector): Replace implementation almost identical to
  12275. build_classic_dist_vector with a walk of DDR_DIST_VECTS with a call to
  12276. dir_from_dist.
  12277. (subscript_dependence_tester_1): New.
  12278. (subscript_dependence_tester): Handle the lexicographically negative
  12279. distance vectors by recomputing the dependence relation.
  12280. (compute_affine_dependence): Remove parameter loop_nest_depth.
  12281. (compute_self_dependence): Don't call compute_subscript_distance.
  12282. (compute_all_dependences): Remove parameters nb_loops, loop_nest_depth.
  12283. Add a parameter for the loop_nest.
  12284. (find_loop_nest_1, find_loop_nest): New.
  12285. (compute_data_dependences_for_loop): Compute the loop nest, and give
  12286. up if the nest is not well formed.
  12287. * tree-data-ref.h (loop_p): New.
  12288. (struct data_dependence_relation): Replace size_vect field with
  12289. loop_nest, a vec of loops.
  12290. (DDR_SIZE_VECT): Renamed DDR_NB_LOOPS.
  12291. (DDR_LOOP_NEST): New.
  12292. (print_dir_vectors, print_dist_vectors,
  12293. debug_data_dependence_relation): Declared.
  12294. (index_in_loop_nest): New.
  12295. * tree-vect-analyze.c (vect_analyze_data_ref_dependence): Use
  12296. DDR_LOOP_NEST and index_in_loop_nest to determine the dependence
  12297. distance.
  12298. 2006-03-25 Adam Nemet <anemet@caviumnetworks.com>
  12299. * simplify-rtx.c (simplify_relational_operation): Call
  12300. simplify_relational_operation_1 even if mode is VOIDmode.
  12301. 2006-03-25 Daniel Berlin <dberlin@dberlin.org>
  12302. PR tree-optimization/26804
  12303. * tree.h (DECL_CALL_CLOBBERED): New macro.
  12304. (tree_decl_common): Add call_clobbered_flag.
  12305. * tree-flow-inline.h (is_call_clobbered): Use DECL_CALL_CLOBBERED.
  12306. (mark_call_clobbered): Set DECL_CALL_CLOBBERED.
  12307. (clear_call_clobbered): Clear DECL_CALL_CLOBBERED.
  12308. (mark_non_addressable): Ditto.
  12309. * tree-ssa.c (verify_call_clobbered): New function.
  12310. (verify_alias_info): Use it.
  12311. * tree-pass.h (pass_reset_cc_flags): New prototype.
  12312. * tree-ssa-alias.c (pass_reset_cc_flags): New structure.
  12313. (reset_cc_flags): New function.
  12314. * passes.c (init_optimization_passes): Call reset_cc_flags after
  12315. initializing referenced_vars.
  12316. 2006-03-25 Uros Bizjak <uros@kss-loka.si>
  12317. Roger Sayle <roger@eyesopen.com>
  12318. PR middle-end/26717
  12319. * fold-const.c (fold_binary) [RDIV_EXPR]: Do not optimize A / A
  12320. to 1.0 for non-real operands. Implement A / A optimization for
  12321. complex operands.
  12322. 2006-03-25 H.J. Lu <hongjiu.lu@intel.com>
  12323. * config/i386/i386.c (size_cost): Correct the comment for
  12324. cost of storing fp registers.
  12325. (i386_cost): Likewise.
  12326. (i486_cost): Likewise.
  12327. (pentium_cost): Likewise.
  12328. (pentiumpro_cost): Likewise.
  12329. (k6_cost): Likewise.
  12330. (athlon_cost): Likewise.
  12331. (k8_cost): Likewise.
  12332. (pentium4_cost): Likewise.
  12333. (nocona_cost): Likewise.
  12334. (generic64_cost): Likewise.
  12335. (generic32_cost): Likewise.
  12336. 2006-03-24 Denis Chertykov <denisc@overta.ru>
  12337. * config/avr/avr-protos.h (extra_constraint): Delete.
  12338. (extra_constraint_Q): New declaration.
  12339. * config/avr/constraints.md: New file.
  12340. * config/avr/avr.md: Include it.
  12341. (REG_X, REG_Y, REG_Z, REG_W): New constants.
  12342. (TMP_REGNO, ZERO_REGNO): Likewise.
  12343. (UNSPEC_STRLEN, UNSPEC_INDEX_JMP): Likewise.
  12344. * config/avr/avr.c (avr_reg_class_from_letter): Delete.
  12345. (extra_constraint): Delete.
  12346. (extra_constraint_Q): Test for memory constraint 'Q'.
  12347. * config/avr/avr.h (REG_X,REG_Y,REG_Z,REG_W): Delete.
  12348. (REG_CLASS_FROM_LETTER): Delete.
  12349. (CONST_OK_FOR_LETTER_P): Delete.
  12350. (CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
  12351. (EXTRA_CONSTRAINT): Delete.
  12352. (TMP_REGNO): Delete.
  12353. (ZERO_REGNO): Delete.
  12354. 2006-03-24 Jeff Law <law@redhat.com>
  12355. * tree-ssa-dom.c (propagate_rhs_into_lhs): Don't call update_stmt
  12356. directly. Call mark_new_vars_to_rename slightly earlier.
  12357. 2006-03-24 Geoffrey Keating <geoffk@apple.com>
  12358. * dwarf2out.c (is_c_family): Understand new DWARF3 language types.
  12359. (is_cxx): Likewise.
  12360. (gen_compile_unit_die): Use new language types for Objective-C and
  12361. Objective-C++.
  12362. (dwarf2out_decl): Use is_cxx rather than testing explicitly against
  12363. DW_LANG_C_plus_plus.
  12364. PR 26793
  12365. * config/t-darwin (crt3.o): Work around bug 26840.
  12366. * config/darwin-crt3.c: Rewrite.
  12367. * config/darwin.h (STARTFILE_SPEC): Don't use -l for crt3.o.
  12368. 2006-03-24 Carlos O'Donell <carlos@codesourcery.com>
  12369. * doc/invoke.texi: Document -femit-class-debug-always
  12370. * common.opt: Add -femit-class-debug-always.
  12371. 2006-03-24 Andreas Krebbel <krebbel1@de.ibm.com>
  12372. * config/s390/s390.c (s390_decompose_address): Allow SImode for
  12373. index and base register.
  12374. (s390_expand_plug_operand, legitimate_address_p, preferred_la_operand_p,
  12375. print_operand_address, print_operand): Replaced REG_OK_FOR_BASE_STRICT_P
  12376. with REGNO_OK_FOR_BASE_P and REG_OK_FOR_INDEX_STRICT_P with
  12377. REGNO_OK_FOR_INDEX_P.
  12378. * config/s390/s390.h (REGNO_OK_FOR_INDEX_P): Replaced check with
  12379. ADDR_REGNO_P.
  12380. (REG_OK_FOR_INDEX_NONSTRICT_P, REG_OK_FOR_BASE_NONSTRICT_P,
  12381. REG_OK_FOR_INDEX_STRICT_P, REG_OK_FOR_BASE_STRICT_P, REG_OK_FOR_INDEX_P,
  12382. REG_OK_FOR_BASE_P): Definitions removed.
  12383. 2006-03-24 Jakub Jelinek <jakub@redhat.com>
  12384. PR middle-end/26611
  12385. * gimplify.c (gimplify_bind_expr): Only call omp_add_variable on
  12386. non-global variables that don't have DECL_SEEN_IN_BIND_EXPR_P bit
  12387. set yet or weren't marked as local yet.
  12388. 2006-03-24 Bernd Schmidt <bernd.schmidt@analog.com>
  12389. * regrename.c (scan_rtx_address): Initialize a variable to shut up
  12390. the compiler.
  12391. 2006-03-24 Eric Botcazou <ebotcazou@adacore.com>
  12392. * config/rs6000/rs6000-protos.h (rs6000_offsettable_memref_p): Declare.
  12393. (rs6000_legitimate_small_data_p): Delete.
  12394. * config/rs6000/rs6000.c (rs6000_offsettable_memref_p): New predicate.
  12395. (rs6000_legitimate_small_data_p): Rename to legitimate_small_data_p
  12396. and make static. Add forward declaration. Update uses.
  12397. (rs6000_split_multireg_move): Use rs6000_offsettable_memref_p instead
  12398. of offsettable_memref_p.
  12399. * config/rs6000/rs6000.md (movdf_hardfloat32): Revert 2005-08-23 fix.
  12400. Use rs6000_offsettable_memref_p instead of a less accurate predicate.
  12401. 2006-03-24 Jeff Law <law@redhat.com>
  12402. * tree-ssa-dom.c (propagate_rhs_into_lhs): Temporarily work
  12403. around bug in immediate-use iterator.
  12404. 2006-03-24 Alan Modra <amodra@bigpond.net.au>
  12405. PR target/26607
  12406. * config/rs6000/darwin-ldouble.c: Don't compile when __NO_FPRS__
  12407. or __LITTLE_ENDIAN__.
  12408. 2006-03-23 J"orn Rennecke <joern.rennecke@st.com>
  12409. * config/sh/divtab-sh4.c, config/sh/divcost-analysis: New files.
  12410. * config/sh/lib1funcs.asm (div_table): Add !__SH5__ variant.
  12411. * config/sh/t-sh (LIB1ASMFUNCS): Add _div_table.
  12412. * config/sh/sh.opt (mdiv=): Amend description.
  12413. * config/sh/sh.h (TARGET_DIVIDE_CALL_DIV1): New macro.
  12414. (TARGET_DIVIDE_CALL_FP, TARGET_DIVIDE_CALL_TABLE): Likewise.
  12415. (sh_divide_strategy_e): Add new members SH_DIV_CALL_DIV1,
  12416. SH_DIV_CALL_FP, SH_DIV_CALL_TABLE and SH_DIV_INTRINSIC.
  12417. (OVERRIDE_OPTIONS): Also process sh_div_str for TARGET_SH1.
  12418. Calculate sh_divsi3_libfunc using TARGET_DIVIDE_* macros.
  12419. * config/sh/sh.md (udivsi3_i4_int, divsi3_i4_int): New patterns.
  12420. (udivsi3, divsi3): Use them. Check TARGET_DIVIDE_CALL_TABLE /
  12421. TARGET_DIVIDE_CALL_FP.
  12422. 2006-03-23 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  12423. * haifa-sched.c (choose_ready): Fix type of the local variable.
  12424. Move local variables. Add comment.
  12425. (check_reg_live): Change signature. Make callable from debugger.
  12426. * sched-int.h (check_reg_live): Update signature.
  12427. * sched-ebb.c (check_reg_live): Update parameters.
  12428. * sched-rgn.c (check_reg_live): Ditto.
  12429. (region_head_or_leaf_p): Check pointer before dereferencing.
  12430. * config/ia64/ia64.c (ia64_set_sched_flags): Disable data speculation
  12431. before reload on optimization levels below 1.
  12432. 2006-03-23 Richard Henderson <rth@redhat.com>
  12433. * config/alpha/alpha.c (alpha_legitimate_constant_p): Reject
  12434. tls symbols.
  12435. PR target/26347
  12436. * config/alpha/predicates.md (local_symbolic_operand): Reject
  12437. weak symbols.
  12438. 2006-03-23 Andrew Pinski <pinskia@physics.uc.edu>
  12439. PR tree-opt/26795
  12440. * tree-ssa-pre.c (create_value_expr_from): Don't reject
  12441. expressions which have overflowed constants.
  12442. 2006-03-23 Zdenek Dvorak <dvorakz@suse.cz>
  12443. * cse.c (cse_end_of_basic_block): Do not check for LOOP_END note.
  12444. 2006-03-23 Zdenek Dvorak <dvorakz@suse.cz>
  12445. * cfgloopmanip.c (create_loop_notes): Removed.
  12446. * final.c (final_scan_insn): Do not handle loop notes.
  12447. * jump.c (squeeze_notes): Ditto.
  12448. * cfglayout.c (skip_insns_after_block,
  12449. duplicate_insn_chain): Ditto.
  12450. * cfgcleanup.c (rest_of_handle_jump2): Do not call
  12451. create_loop_notes.
  12452. * cfgloop.h (create_loop_notes): Declaration removed.
  12453. 2006-03-23 Richard Sandiford <richard@codesourcery.com>
  12454. * varasm.c (output_constant_pool): Restore fnname and fndecl
  12455. arguments.
  12456. (assemble_start_function): Adjust call accordingly.
  12457. (assemble_end_function): Likewise.
  12458. 2006-03-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  12459. PR mudflap/26789
  12460. * tree-mudflap.c (mudflap_finish_file): Skip erroneous objects.
  12461. PR mudflap/26790
  12462. * tree-mudflap.c (mf_xform_derefs_1): Return early on error_mark_node.
  12463. 2006-03-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  12464. PR driver/22600
  12465. * system.h (ICE_EXIT_CODE): New macro.
  12466. * diagnostic.c (diagnostic_count_diagnostic): Exit with ICE_EXIT_CODE.
  12467. (diagnostic_action_after_output): Likewise.
  12468. * gcc.c (fatal_ice): New function.
  12469. (execute): Use it instead of fatal.
  12470. (fancy_abort): Likewise.
  12471. * doc/invoke.texi (-pass-exit-codes): Document return code for ICEs.
  12472. 2006-03-22 Jeff Law <law@redhat.com>
  12473. * loop-unroll.c (analyze_iv_to_split_insn): Handle
  12474. iv_analyze_result returning false.
  12475. 2006-03-22 Jie Zhang <jie.zhang@analog.com>
  12476. * config/bfin/bfin.h (ASM_FORMAT_PRIVATE_NAME): Remove.
  12477. 2006-03-22 Richard Henderson <rth@redhat.com>
  12478. PR middle-end/26084
  12479. * except.c (duplicate_eh_regions_0): New.
  12480. (duplicate_eh_region_1): Duplicate the children of the node as
  12481. well as the node itself. Link them up properly.
  12482. (duplicate_eh_region_2): Merge into ...
  12483. (duplicate_eh_regions): ... here. Take copy_region argument, and
  12484. copy only a sub-tree if asked. Simplify copying and fixup.
  12485. (eh_region_outer_p): New.
  12486. * except.h (duplicate_eh_regions): Update decl.
  12487. (eh_region_outer_p): Declare.
  12488. * omp-low.c (lower_omp_single): Fix eh region placement wrt OMP_RETURN.
  12489. (lower_omp_master): Likewise.
  12490. (lower_omp_ordered): Likewise.
  12491. * tree-cfg.c (struct move_stmt_d): Add new_label_map.
  12492. (move_stmt_r): Use it to remap labels. Handle recursion vs
  12493. remap_decls_p properly.
  12494. (move_block_to_fn): Pass in new_label_map. Remap RESX_EXPR.
  12495. (find_outermost_region_in_block): New.
  12496. (new_label_mapper): New.
  12497. (move_sese_region_to_fn): Copy eh information to the new function
  12498. properly.
  12499. * tree-inline.c (copy_cfg_body): Update for new duplicate_eh_regions
  12500. argument.
  12501. * tree-pretty-print.c (dump_generic_node): Dump RESX_EXPR region
  12502. number.
  12503. 2006-03-22 Richard Sandiford <richard@codesourcery.com>
  12504. * doc/md.texi (-mshared): Mention that -mshared code can be linked
  12505. into shared libraries.
  12506. 2006-03-22 Richard Sandiford <richard@codesourcery.com>
  12507. * doc/md.texi: Refer to i386/constraints.md instead of
  12508. i386/predicates.md.
  12509. * config/i386/constraints.md: New file, extracted from...
  12510. * config/i386/predicates.md: ...here.
  12511. * config/i386/i386.md: Include constraints.md.
  12512. 2006-03-21 Jason Merrill <jason@redhat.com>
  12513. * builtins.c (expand_builtin_fork_or_exec): Fix pasto.
  12514. PR middle-end/20297
  12515. * expr.c (init_block_move_fn): Force default visibility.
  12516. (init_block_clear_fn): Likewise.
  12517. * builtins.c (expand_builtin_fork_or_exec): Likewise.
  12518. * targhooks.c (default_external_stack_protect_fail): Likewise.
  12519. 2006-03-21 Richard Sandiford <richard@codesourcery.com>
  12520. * config/mips/predicates.md (const_call_insn_operand): Allow direct
  12521. calls to locally-defined functions if TARGET_ABSOLUTE_ABICALLS.
  12522. * config/mips/mips.md (jal_macro): Test TARGET_ABSOLUTE_ABICALLS.
  12523. Use TARGET_OLDABI instead of !TARGET_NEWABI.
  12524. (loadgp): Use mips_current_loadgp_style.
  12525. (loadgp_noshared): New pattern.
  12526. (sibcall_internal): Use MIPS_CALL.
  12527. (sibcall_value_internal): Likewise.
  12528. (sibcall_value_multiple_internal): Likewise.
  12529. (call_internal): Likewise.
  12530. (call_value_internal): Likewise.
  12531. (call_value_multiple_internal): Likewise.
  12532. (call_split): Use MIPS_CALL and add an 'S' constraint.
  12533. (call_value_split): Likewise.
  12534. (call_value_multiple_split): Likewise.
  12535. * config/mips/mips.opt (-mabicalls): Tweak docstring.
  12536. (-mshared): New option.
  12537. * config/mips/mips-protos.h (mips_loadgp_style): New enum.
  12538. (mips_current_loadgp_style): Declare.
  12539. * config/mips/mips.c (mips_classify_symbol): Avoid using
  12540. SYMBOL_GOT_LOCAL if TARGET_ABSOLUTE_ABICALLS. Use SYMBOL_GENERAL
  12541. rather than SYMBOL_GOT_GLOBAL for locally-binding symbols if
  12542. TARGET_ABSOLUTE_ABICALLS.
  12543. (override_options): Adjust comments. Improve the warning that is
  12544. issued when -mabicalls and -G are used together.
  12545. (mips_file_start): Remove comment.
  12546. (mips_current_loadgp_style): New function.
  12547. (mips_gnu_local_gp): New variable.
  12548. (mips_emit_loadgp): Use mips_current_loadgp_style. Handle
  12549. LOADGP_ABSOLUTE.
  12550. (mips_output_function_prologue): Use mips_current_laodgp_style.
  12551. (mips_expand_prologue): Call mips_emit_loadgp before emitting
  12552. the cprestore instruction.
  12553. (mips_extra_live_on_entry): Fix reversed test. Don't make $25
  12554. live for TARGET_ABSOLUTE_ABICALLS.
  12555. * config/mips/mips.h (TARGET_ABSOLUTE_ABICALLS): New macro.
  12556. (ASM_SPEC): Pass down -mshared and -mno-shared.
  12557. (MIPS_CALL): New macro.
  12558. * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove __ABICALLS__
  12559. definition.
  12560. * doc/invoke.texi (-mabicalls): Update documentation.
  12561. (-mshared): Document.
  12562. 2006-03-21 Steve Ellcey <sje@cup.hp.com>
  12563. * config/ia64/unwind-hpux.c: New file.
  12564. * config/ia64/t-hpux: Add unwind-hpux.c to libgcc.
  12565. 2006-03-21 Steve Ellcey <sje@cup.hp.com>
  12566. PR libgomp/26384
  12567. * config/pa/pa64-hpux.h (LIB_SPEC): Fix for -mt and -pthread options.
  12568. 2006-03-21 Jeff Law <law@redhat.com>
  12569. * tree-vrp.c (extract_range_from_unary_expr): Derive ranges for
  12570. type conversions of a VR_VARYING source to a wider type.
  12571. 2006-03-21 Eric Botcazou <ebotcazou@libertysurf.fr>
  12572. * config.gcc (i[34567]86-*-solaris2*): Add config/sol2-10.h to
  12573. tm_file on Solaris 10 and later.
  12574. (sparc64-*-solaris2*): Likewise.
  12575. (sparc-*-solaris2*): Likewise.
  12576. * config/sol26.h: Rename to config/sol2-6.h.
  12577. * config/sol2-10.h: New file.
  12578. 2006-03-21 Andrew Pinski <pinskia@physics.uc.edu>
  12579. PR tree-opt/26781
  12580. * tree-ssa-pre.c (create_component_ref_by_pieces):
  12581. Handle STRING_CST.
  12582. 2006-03-21 Jakub Jelinek <jakub@redhat.com>
  12583. PR c++/26690
  12584. * tree.c (get_callee_fndecl): If CALL is error_mark_node,
  12585. return it immediately.
  12586. 2006-03-21 Michael Matz <matz@suse.de>
  12587. * genautomata.c (<struct state>, num_out_arcs, presence_signature):
  12588. New members.
  12589. (remove_arc, add_arc): Update num_out_arcs member.
  12590. (set_out_arc_insns_equiv_num): Returns nothing instead of number
  12591. of out arcs.
  12592. (cache_presence): New function.
  12593. (compare_states_for_equiv): New function.
  12594. (state_is_differed): Don't take number of outargs, adjust callers.
  12595. Use new invariant for speeding up.
  12596. (init_equiv_class): Create initial classes based on sorted
  12597. input.
  12598. (partition_equiv_class): Don't track out_arcs_num.
  12599. (evaluate_equiv_classes): Call cache_presence on all states and
  12600. sort them.
  12601. 2006-03-21 Bernd Schmidt <bernd.schmidt@analog.com>
  12602. * config/bfin/bfin-protos.h (bfin_dsp_memref_p): Declare.
  12603. * config/bfin/bfin.c (bfin_dsp_memref_p): New function.
  12604. (bfin_valid_reg_p): Test for pseudos explicitly and use only
  12605. REGNO_MODE_CODE_OK_FOR_BASE_P. New args MODE and OUTER_CODE; all
  12606. callers changed.
  12607. * config/bfin/bfin.h (PREG_P): Use P_REGNO_P.
  12608. (IREG_P, P_REGNO_P, I_REGNO_P): New macros.
  12609. (enum reg_class, REG_CLASS_CONTENTS): Add IPREGS.
  12610. (BASE_REG_CLASS, REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
  12611. REGNO_OK_FOR_BASE_STRICT_P, REGNO_OK_FOR_BASE_NONSTRICT_P): Delete
  12612. macros.
  12613. (IREG_POSSIBLE_P, MODE_CODE_BASE_REG_CLASS,
  12614. REGNO_MODE_CODE_OK_FOR_BASE_P): New macros.
  12615. (REGNO_REG_CLASS): ARGP is in PREGS.
  12616. * config/bfin/bfin.md (movhi_insn): Allow for addresses containing
  12617. IREGS.
  12618. (zero_extendhisi2, extendhisi2): Likewise; changed to define_and_split
  12619. to deal with those addresses.
  12620. * addresses.h: New file.
  12621. * caller-save.c: Include "addresses.h".
  12622. (init_caller_save): Use new base_reg_class function.
  12623. * rtl-factoring.c: Include "addresses.h".
  12624. (recompute_gain_for_pattern_seq): Use new function ok_for_base_p_1.
  12625. * recog.c: Include "addresses.h".
  12626. (preprocess_constraints): Use new base_reg_class function.
  12627. * regrename.c: Include "addresses.h".
  12628. (scan_rtx_address): Use new regno_ok_for_base_p and base_reg_class
  12629. functions. Keep track of a new var INDEX_CODE to compute valid
  12630. classes.
  12631. (replace_oldest_value_addr): Likewise.
  12632. (replace_oldest_value_mem): Use base_reg_class.
  12633. * reload.c: Include "addresses.h".
  12634. (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P): Delete macros.
  12635. (find_reloads): Use new base_reg_class function.
  12636. (find_reloads_address): Likewise; also use regno_ok_for_base_p.
  12637. (find_reloads_address_1): Likewise. New args OUTER_CODE and INDEX_CODE;
  12638. all callers and prototype changed.
  12639. * reload1.c: Include "addresses.h".
  12640. (maybe_fix_stack_asms): Use base_reg_class.
  12641. * regclass.c: Include "addresses.h".
  12642. (ok_for_index_p_nonstrict, ok_for_base_p_nonstrict): New functions.
  12643. (init_reg_autoinc): Use new base_reg_class function.
  12644. (record_reg_classes): Likewise.
  12645. (record_address_regs): Delete arg CLASS; add args CONTEXT, MODE,
  12646. OUTER_CODE and INDEX_CODE. All callers and prototype changed.
  12647. Use new args to compute necessary class.
  12648. * Makefile.in (regclass.o, reload.o, reload1.o, caller-save.o, recog.o,
  12649. regrename.o, rtl-factoring.o): Update dependencies.
  12650. * doc/tm.texi (MODE_CODE_BASE_REG_CLASS): Document.
  12651. (REGNO_MODE_CODE_OK_FOR_BASE_P): Likewise.
  12652. (REG_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_REG_BASE_P,
  12653. REG_OK_FOR_INDEX_P): Delete documentation.
  12654. 2006-03-21 Alexey Starovoytov <alexey.starovoytov@sun.com>
  12655. * config.gcc (sparc-*-solaris2*): Change the default CPU setting
  12656. from V7 to V9 for Solaris 7 and above.
  12657. 2006-03-21 Toon Moene <toon@moene.indiv.nluug.nl>
  12658. * doc/invoke.texi: Document new flag -fargument-noalias-anything.
  12659. * tree-ssa-alias.c (may_alias_p): If flag_argument_noalias > 2,
  12660. argument pointers may not alias any other storage.
  12661. * common.opt: Define option -fargument-noalias-anything.
  12662. * tree-ssa-structalias.c (intra_create_variable_infos): Fortran
  12663. alias semantics is specified by flag_argument_noalias > 2.
  12664. 2006-03-20 Jeff Law <law@redhat.com>
  12665. * tree-pass.h (pass_phi_only_copy_prop): Delete.
  12666. (pass_phi_only_cprop): Declare.
  12667. * passes.c (init_optimization_passes): Replace pass_phi_only_copy_prop
  12668. with phi_only_cprop
  12669. * tree-ssa-dom.c (degenerate_phi_result): New function.
  12670. (remove_stmt_or_phi, get_lhs_or_phi_result): Likewise.
  12671. (get_rhs_or_phi_arg, propagate_rhs_into_lhs): Likewise.
  12672. (eliminate_const_or_copy, eliminate_degenerate_phis_1): Likewise.
  12673. (eliminate_degenerate_phis): Likewise.
  12674. (pass_phi_only_cprop): New pass descriptor.
  12675. * tree-ssa-copy.c (init_copy_prop): Lose PHIS_ONLY argument and
  12676. support code. Callers updated.
  12677. (execute_copy_prop, do_copy_prop): Likewise and corresponding changes.
  12678. (store_copy_prop): Likewise.
  12679. (do_phi_only_copy_prop, pass_phi_only_copy_prop): Remove.
  12680. 2006-03-20 Jason Merrill <jason@redhat.com>
  12681. PR c++/21764
  12682. * c-pragma.c (visstack): Move out of handle_pragma_visibility.
  12683. (push_visibility, pop_visibility): Likewise.
  12684. * c-pragma.h: Declare them.
  12685. 2006-03-20 Kaz Kojima <kkojima@gcc.gnu.org>
  12686. * config/sh/sh.c (untangle_mova): Initialize n_addr and n_target.
  12687. * config/sh/sh.c (find_regmode_weight): Change the type of the first
  12688. parameter and use get_ebb_head_tail.
  12689. (sh_md_init_global): Adjust uses of find_regmode_weight.
  12690. 2006-03-20 Steven Bosscher <stevenb.gcc@gmail.com>
  12691. * function.h (struct function) <x_tail_recursion_reentry>:
  12692. Rename to x_stack_check_probe_note.
  12693. (tail_recursion_reentry): Rename to stack_check_probe_note.
  12694. * function.c: Replace tail_recursion_reentry with
  12695. stack_check_probe_note everywhere.
  12696. (expand_function_start): Only emit a note for
  12697. stack_check_probe_note with -fstack-protect.
  12698. * stmt.c (expand_case): Don't emit NOTE_INSN_DELETED notes.
  12699. * emit-rtl.c (remove_unnecessary_notes): Remove.
  12700. (pass_remove_unnecessary_notes): Remove.
  12701. * rtl.h (remove_unnecessary_notes): Remove prototype.
  12702. * final.c (final_start_function): Don't call remove_unnecessary_notes.
  12703. * tree-pass.h (pass_remove_unnecessary_notes): Remove.
  12704. * passes.c (pass_remove_unnecessary_notes): Don't run it.
  12705. 2006-03-20 Andrew Pinski <pinskia@physics.uc.edu>
  12706. PR tree-opt/26629
  12707. * tree-ssa-pre (phi_translate): Handle ARRAY_REF's operands.
  12708. (valid_in_set): Handle ARRAY_REF.
  12709. Change "if min_variant or VH" to asserts.
  12710. (create_component_ref_by_pieces): Handle ARRAY_REF.
  12711. (create_expression_by_pieces): Likewise.
  12712. (can_PRE_operation): ARRAY_REFs can now be PRE'd.
  12713. 2006-03-20 David Edelsohn <edelsohn@gnu.org>
  12714. * genpreds.c (write_insn_extra_address_constraint): Argument `c'
  12715. is operand of switch, not str[0].
  12716. 2006-03-20 Alan Modra <amodra@bigpond.net.au>
  12717. * config/rs6000/rs6000.c (rs6000_handle_option): Use
  12718. TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SYSV4_OPT too.
  12719. 2006-03-19 David Edelsohn <edelsohn@gnu.org>
  12720. * genpreds.c (write_tm_preds_h): Add semicolon and newline at
  12721. end of insn_extra_address_constraint declaration.
  12722. 2006-03-19 David Edelsohn <edelsohn@gnu.org>
  12723. * config/rs6000/rs6000.opt (no-fp-in-toc): Use Var not Mask.
  12724. (no-sum-in-toc): Same.
  12725. * config/rs6000/rs6000.c (rs6000_handle_option): Use new
  12726. variables.
  12727. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
  12728. NO_FP_IN_TOC for -fPIC instead of mask.
  12729. * config/rs6000/t-aix43 (T_ADAFLAGS): Delete.
  12730. (BOOT_LDFLAGS): Delete.
  12731. (LDFLAGS): Delete.
  12732. * config/rs6000/t-aix52: Same.
  12733. * config/rs6000/rs6000.md (store_multiple_power): Delete.
  12734. (stmsi[345678]_power): New.
  12735. 2006-03-17 Steve Ellcey <sje@cup.hp.com>
  12736. * config/ia64/ia64.opt: Add empty line to end of file.
  12737. 2006-03-17 Richard Guenther <rguenther@suse.de>
  12738. PR middle-end/26721
  12739. * builtins.c (get_pointer_alignment): For component style references
  12740. adjust alignment to the component type alignment. Make sure
  12741. to adjust alignment for component access of constants.
  12742. 2006-03-17 David Edelsohn <edelsohn@gnu.org>
  12743. * config/rs6000/rs6000.md (strlensi): Emit barrier after
  12744. unconditional jump.
  12745. 2006-03-17 Paul Brook <paul@codesourcery.com>
  12746. * doc/install.texi: Docuemnt --with-mode.
  12747. * config.gcc: Add --with-mode for arm*-*-*.
  12748. * config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "mode".
  12749. 2006-03-17 J"orn Rennecke <joern.rennecke@st.com>
  12750. * sh.c (max_labelno_before_reorg): New variable.
  12751. (sh_reorg): Initialize it.
  12752. (find_barrier): Check max_labelno_before_reorg before using
  12753. label_to_alignment. Take length of explicit alignment insns
  12754. into account. When seeing a UNSPECV_CONST_END, return it.
  12755. * sh.c (fixup_mova): Set mode of affected label to QImode.
  12756. (untangle_mova): New function.
  12757. (find_barrier): Use it. Check mode of label before decrementing
  12758. num_mova.
  12759. (sh_reorg): Likewise.
  12760. Set mode of all insns back to VOIDmode.
  12761. * sh.c (MOVA_LABELREF): New macro.
  12762. (mova_p, fixup_mova, sh_reorg): Use it.
  12763. (find_barrier, sh_reorg): Don't count num_mova back to 0 unless
  12764. ADDR_DIFF_VEC matches mova.
  12765. 2006-03-17 Steven Bosscher <stevenb.gcc@gmail.com>
  12766. * dwarf2asm.c (dw2_asm_output_offset): Mark 'base' argument
  12767. with ATTRIBUTE_UNUSED.
  12768. 2006-03-17 Alexandre Oliva <aoliva@redhat.com>
  12769. * dwarf2out.c (dwarf2out_stack_adjust): Always track the stack
  12770. pointer, instead of assuming it is possible to derive the
  12771. correct args size from a call insn.
  12772. 2006-03-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  12773. * rtl.h (CONST_INT_P): Define.
  12774. * config/vax/vax.c (print_operand_address): Use CONST_INT_P()
  12775. instead of GET_CODE(x) == CONST_INT.
  12776. (vax_rtx_costs): Likewise.
  12777. (vax_output_int_move): Likewise.
  12778. (vax_output_int_add): Likewise.
  12779. (legitimate_constant_address_p): Likewise.
  12780. (index_term_p): Likewise.
  12781. * config/vax/vax.h (PRINT_OPERAND): Likewise.
  12782. * config/vax/vax.md (and<mode>3): Likewise.
  12783. (ashrsi3): Likewise.
  12784. (extv): Likewise.
  12785. (movstricthi): Likewise.
  12786. (movstrictqi): Likewise.
  12787. (rotrsi3): Likewise.
  12788. (five unnamed insns): Likewise.
  12789. 2006-03-16 Geoffrey Keating <geoffk@apple.com>
  12790. * doc/tm.texi (SDB and DWARF): Add extra parameter to
  12791. ASM_OUTPUT_DWARF_OFFSET. Use @var to indicate metavariables.
  12792. * dwarf2asm.h (dw2_asm_output_offset): Add section parameter.
  12793. * dwarf2asm.c (dw2_asm_output_offset): Add base section parameter.
  12794. Pass to ASM_OUTPUT_DWARF_OFFSET.
  12795. * dwarf2out.c (debug_frame_section): New.
  12796. (output_call_frame_info): Use debug_frame_section. Pass it to
  12797. dw2_asm_output_offset.
  12798. (output_die): Pass appropriate section to dw2_asm_output_offset.
  12799. (output_compilation_unit_header): Likewise.
  12800. (output_pubnames): Likewise.
  12801. (output_aranges): Likewise.
  12802. (enum dw_val_class): Break dw_val_class_lbl_offset into
  12803. dw_val_class_lineptr and dw_val_class_macptr.
  12804. (add_AT_lbl_offset): Delete.
  12805. (add_AT_lineptr): New.
  12806. (add_AT_macptr): New.
  12807. (AT_lbl): Expect a lineptr or macptr.
  12808. (print_die): Handle dw_val_class_lineptr and dw_val_class_macptr.
  12809. (attr_checksum): Likewise.
  12810. (same_dw_val_p): Likewise.
  12811. (size_of_die): Likewise.
  12812. (value_format): Likewise.
  12813. (output_die): Likewise.
  12814. (dwarf2out_finish): Call add_AT_lineptr and add_AT_macptr instead of
  12815. add_AT_lbl_offset.
  12816. * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Add extra parameter.
  12817. * config/i386/i386.c (x86_file_start): Call darwin_file_start.
  12818. * config/darwin-protos.h (darwin_file_start): New.
  12819. (darwin_asm_output_dwarf_offset): New.
  12820. * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Add extra parameter.
  12821. * config/rs6000/rs6000.c (rs6000_darwin_file_start): Call
  12822. darwin_file_start.
  12823. * config/darwin.c (darwin_emit_unwind_label): Don't output label
  12824. if not EH section; simplify.
  12825. (darwin_file_start): New.
  12826. (darwin_asm_output_dwarf_offset): New.
  12827. * config/darwin.h (DEBUG_FRAME_SECTION): In __DWARF segment,
  12828. mark as 'debug'.
  12829. (DEBUG_INFO_SECTION): Likewise.
  12830. (DEBUG_ABBREV_SECTION): Likewise.
  12831. (DEBUG_ARANGES_SECTION): Likewise.
  12832. (DEBUG_MACINFO_SECTION): Likewise.
  12833. (DEBUG_LINE_SECTION): Likewise.
  12834. (DEBUG_LOC_SECTION): Likewise.
  12835. (DEBUG_PUBNAMES_SECTION): Likewise.
  12836. (DEBUG_STR_SECTION): Likewise.
  12837. (DEBUG_RANGES_SECTION): Likewise.
  12838. (FRAME_BEGIN_LABEL): Must start with 'L' in debug section.
  12839. (ASM_OUTPUT_DWARF_OFFSET): New.
  12840. 2006-03-16 Joseph S. Myers <joseph@codesourcery.com>
  12841. * config.gcc (tm_defines): Always add to previous value rather
  12842. than replacing it.
  12843. 2006-03-16 Richard Sandiford <richard@codesourcery.com>
  12844. * config/mips/predicates.md (splittable_const_int_operand): New,
  12845. split from move_operand.
  12846. (splittable_symbolic_operand): New.
  12847. (move_operand): Add commentary. Use splittable_const_int_operand.
  12848. Inline mips_atomic_symbolic_constant_p.
  12849. * config/mips/mips.md: Add combine splitters for handling moves
  12850. of splittable_const_int_operands and splittable_symbolic_operands.
  12851. * config/mips/mips-protos.h (mips_atomic_symbolic_constant_p): Delete.
  12852. (mips_split_symbol): Declare.
  12853. (mips_move_integer): Declare.
  12854. * config/mips/mips.c (mips_split_p): Make global.
  12855. (TARGET_MIN_ANCHOR_OFFSET): Override default.
  12856. (TARGET_MAX_ANCHOR_OFFSET): Likewise.
  12857. (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Likewise.
  12858. (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Likewise.
  12859. (mips_offset_within_object_p): Handle block symbols.
  12860. (mips_atomic_symbolic_constant_p): Delete.
  12861. (mips_cannot_force_const_mem): Return false for constants that
  12862. mips_legitimize_move can handle.
  12863. (mips_use_blocks_for_constant_p): New function.
  12864. (mips_split_symbol): Make global.
  12865. (mips_move_integer): Likewise. Add a temporary register argument.
  12866. (mips_legitimize_const_move): Use splittable_const_int_operand and
  12867. splittable_symbolic_operand.
  12868. (mips_use_anchors_for_symbol_p): New function.
  12869. * config/mips/mips.h: Protect externs with !USED_FOR_TARGET.
  12870. (mips_split_p): Declare.
  12871. 2006-03-16 Richard Sandiford <richard@codesourcery.com>
  12872. * config.gcc (mips64*-*-linux*): Keep existing tm_defines.
  12873. (mips*-*-linux*): Likewise.
  12874. 2006-03-16 Roger Sayle <roger@eyesopen.com>
  12875. Daniel Speyer <dspeyer@wam.umd.edu>
  12876. PR middle-end/18259
  12877. * tree-dump.c (dump_real): New function.
  12878. (dequeue_and_dump) <REAL_CST>: Use it to dump FP constants.
  12879. * Makefile.in (REAL_H): New macro for dependencies on real.h.
  12880. (tree-dump.o): Add $(REAL_H) to the dependencies.
  12881. 2006-03-16 Roger Sayle <roger@eyesopen.com>
  12882. PR middle-end/21781
  12883. * real.c (real_from_string): If the mantissa is zero, don't bother
  12884. parsing the exponent as the result should always be zero.
  12885. 2006-03-16 Andreas Krebbel <krebbel1@de.ibm.com>
  12886. * simplify-rtx.c (simplify_plus_minus): Simplify within CONST terms.
  12887. 2006-03-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  12888. * config/ia64/ia64.c (stops_p): Added explicit initialization.
  12889. (ia64_first_cycle_multipass_dfa_lookahead_guard_spec,
  12890. ia64_h_i_d_extended, ia64_set_sched_flags, ia64_speculate_insn,
  12891. ia64_needs_block_p, ia64_gen_check, ia64_sched_init_global,
  12892. ia64_sched_finish_global): New static functions to implement
  12893. hooks from gcc_target.sched.
  12894. (spec_check_no, max_uid, pending_data_specs): New static variables.
  12895. (ia64_mode_to_int, ia64_gen_spec_insn, ia64_spec_check_p,
  12896. ia64_spec_check_src_p): New static functions.
  12897. (ia64_adjust_cost): Renamed to ia64_adjust_cost_2.
  12898. (TARGET_SCHED_ADJUST_COST): Removed.
  12899. (TARGET_SCHED_ADJUST_COST_2, TARGET_SCHED_INIT_GLOBAL,
  12900. TARGET_SCHED_FINISH_GLOBAL, TARGET_SCHED_H_I_D_EXTENDED,
  12901. TARGET_SCHED_SPECULATE_INSN, TARGET_SCHED_NEEDS_BLOCK_P,
  12902. TARGET_SCHED_GEN_CHECK,
  12903. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC,
  12904. TARGET_SCHED_SET_SCHED_FLAGS): New macros.
  12905. (update_set_flags, group_barrier_needed, set_src_needs_barrier):
  12906. Fixed to handle speculation checks.
  12907. (rtx_needs_barrier): Fixed to handle speculative loads and
  12908. their checks.
  12909. (ia64_variable_issue): Added code to count speculative loads and their
  12910. checks.
  12911. (ia64_first_cycle_multipass_dfa_lookahead_guard): Fixed to handle
  12912. speculative loads.
  12913. (enum SPEC_MODES, enum SPEC_GEN_LD_MAP, SPEC_GEN_CHECK_OFFSET):
  12914. New enumerations.
  12915. (SPEC_GEN_EXTEND_OFFSET, SPEC_N, SPEC_GEN_CHECK_MUTATION_OFFSET):
  12916. New constants.
  12917. (ia64_ld_address_bypass_p): Fixed to handle speculative loads.
  12918. (ia64_reorg): Reset stops_p to NULL after it is freed.
  12919. * config/ia64/ia64.md (UNSPEC_LDA, UNSPEC_LDS, UNSPEC_LDSA,
  12920. UNSPEC_LDCCLR, UNSPEC_CHKACLR, UNSPEC_CHKS): New constants.
  12921. (itanium_class): chk_s renamed to chk_s_i. New constants: chk_s_f,
  12922. chk_a.
  12923. (data_speculative, control_speculative, check_load): New attributes.
  12924. (mov<mode>_advanced, mov<mode>_speculative,
  12925. mov<mode>_speculative_advanced, zero_extend<mode>di2_advanced,
  12926. zero_extend<mode>di2_speculative,
  12927. zero_extend<mode>di2_speculative_advanced): New patterns for
  12928. data and control speculative loads.
  12929. (mov<mode>_clr, zero_extend<mode>di2_clr): New patterns for
  12930. check loads.
  12931. (advanced_load_check_clr_<mode>, speculation_check_<mode>):
  12932. New pattern for data and control speculation checks.
  12933. (MODE, MODE_FOR_EXTEND, output_a, output_s, output_sa, output_c_clr,
  12934. ld_reg_constr, ldc_reg_constr, chk_reg_constr, mem_constr,
  12935. reg_pred_prefix, ld_class, chka_class, chks_class, attr_yes):
  12936. Auxiliary definitions for the patterns.
  12937. * config/ia64/itanium1.md (1_fldc, 1_fldpc, 1_ldc, 1_chk_s_f, 1_chk_a,
  12938. 1b_fldc, 1b_fldpc, 1b_ldc, 1b_chk_s_f, 1b_chk_a): New resource
  12939. constraints.
  12940. (1_fld, 1_fldp, 1_ld, 1b_fld, 1b_fldp, 1b_ld): Add a condition
  12941. for speculation.
  12942. (1_chk_s, 1b_chk_s): Renamed to 1_chk_s_i, 1b_chk_s_i.
  12943. * config/ia64/itanium2.md (2_flda, 2_fldc, 2_fldpc, 2_ldc, 2_chk_s_f,
  12944. 2_chk_a, 2b_flda, 2b_fldc, 2b_fldpc, 2b_ldc, 2b_chk_s_f, 2b_chk_a):
  12945. New resource constraints.
  12946. (2_fld, 2_fldp, 2_ld, 2b_fld, 2b_fldp, 2b_ld): Add a condition
  12947. for speculation.
  12948. (2_chk_s, 2b_chk_s): Renamed to 2_chk_s_i, 2b_chk_s_i.
  12949. * config/ia64/ia64.opt (msched-br-data-spec, msched-ar-data-spec,
  12950. msched-control-spec, msched-br-in-data-spec, msched-ar-in-data-spec,
  12951. msched-in-control-spec, msched-ldc, msched-control-ldc,
  12952. msched-spec-verbose, msched-prefer-non-data-spec-insns,
  12953. msched-prefer-non-control-spec-insns,
  12954. msched-count-spec-in-critical-path): New flags to tune speculative
  12955. scheduling.
  12956. * doc/invoke.texi (msched-br-data-spec, msched-ar-data-spec,
  12957. msched-control-spec, msched-br-in-data-spec, msched-ar-in-data-spec,
  12958. msched-in-control-spec, msched-ldc, msched-control-ldc,
  12959. msched-spec-verbose, msched-prefer-non-data-spec-insns,
  12960. msched-prefer-non-control-spec-insns,
  12961. msched-count-spec-in-critical-path): Document new flags.
  12962. 2006-03-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  12963. * target.h (struct spec_info_def): New opaque declaration.
  12964. (struct gcc_target.sched): New fields: adjust_cost_2, h_i_d_extended,
  12965. speculate_insn, needs_block_p, gen_check,
  12966. first_cycle_multipass_dfa_lookahead_guard_spec, set_sched_flags.
  12967. * target-def.h (TARGET_SCHED_ADJUST_COST_2,
  12968. TARGET_SCHED_H_I_D_EXTENDED, TARGET_SCHED_SPECULATE_INSN,
  12969. TARGET_SCHED_NEEDS_BLOCK_P, TARGET_SCHED_GEN_CHECK,
  12970. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC,
  12971. TARGET_SCHED_SET_SCHED_FLAGS): New macros to initialize fields in
  12972. gcc_target.sched.
  12973. (TARGET_SCHED): Use new macros.
  12974. * rtl.h (copy_DEPS_LIST_list): New prototype.
  12975. * sched-int.h (struct sched_info): Change signature of new_ready field,
  12976. adjust all initializations. New fields: add_remove_insn,
  12977. begin_schedule_ready, add_block, advance_target_bb, fix_recovery_cfg,
  12978. region_head_or_leaf_p.
  12979. (struct spec_info_def): New structure declaration.
  12980. (spec_info_t): New typedef.
  12981. (struct haifa_insn_data): New fields: todo_spec, done_spec, check_spec,
  12982. recovery_block, orig_pat.
  12983. (glat_start, glat_end): New variables declaraions.
  12984. (TODO_SPEC, DONE_SPEC, CHECK_SPEC, RECOVERY_BLOCK, ORIG_PAT):
  12985. New access macros.
  12986. (enum SCHED_FLAGS): New constants: SCHED_RGN, SCHED_EBB,
  12987. DETACH_LIFE_INFO, USE_GLAT.
  12988. (enum SPEC_SCHED_FLAGS): New enumeration.
  12989. (NOTE_NOTE_BB_P): New macro.
  12990. (extend_dependency_caches, xrecalloc, unlink_bb_notes, add_block,
  12991. attach_life_info, debug_spec_status, check_reg_live): New functions.
  12992. (get_block_head_tail): Change signature to get_ebb_head_tail, adjust
  12993. all uses in ddg.c, modulo-sched.c, haifa-sched.c, sched-rgn.c,
  12994. sched-ebb.c
  12995. (get_dep_weak, ds_merge): Prototype functions from sched-deps.c .
  12996. * ddg.c (get_block_head_tail): Adjust all uses.
  12997. * modulo-sched.c (get_block_head_tail): Adjust all uses.
  12998. (sms_sched_info): Initialize new fields.
  12999. (contributes_to_priority): Removed.
  13000. * haifa-sched.c (params.h): New include.
  13001. (get_block_head_tail): Adjust all uses.
  13002. (ISSUE_POINTS): New macro.
  13003. (glat_start, glat_end): New global variables.
  13004. (spec_info_var, spec_info, added_recovery_block_p, nr_begin_data,
  13005. nr_be_in_data, nr_begin_control, nr_be_in_control, bb_header,
  13006. old_last_basic_block, before_recovery, current_sched_info_var,
  13007. rgn_n_insns, luid): New static variables.
  13008. (insn_cost1): New function. Move logic from insn_cost to here.
  13009. (find_insn_reg_weight1): New function. Move logic from
  13010. find_insn_reg_weight to here.
  13011. (reemit_notes, move_insn, max_issue): Change signature.
  13012. (move_insn1): Removed.
  13013. (extend_h_i_d, extend_ready, extend_global, extend_all, init_h_i_d,
  13014. extend_bb): New static functions to support extension of scheduler's
  13015. data structures.
  13016. (generate_recovery_code, process_insn_depend_be_in_spec,
  13017. begin_speculative_block, add_to_speculative_block,
  13018. init_before_recovery, create_recovery_block, create_check_block_twin,
  13019. fix_recovery_deps): New static functions to support
  13020. generation of recovery code.
  13021. (fix_jump_move, find_fallthru_edge, dump_new_block_header,
  13022. restore_bb_notes, move_block_after_check, move_succs): New static
  13023. functions to support ebb scheduling.
  13024. (init_glat, init_glat1, attach_life_info1, free_glat): New static
  13025. functions to support handling of register live information.
  13026. (associate_line_notes_with_blocks, change_pattern, speculate_insn,
  13027. sched_remove_insn, clear_priorities, calc_priorities, bb_note,
  13028. add_jump_dependencies): New static functions.
  13029. (check_cfg, has_edge_p, check_sched_flags): New static functions for
  13030. consistancy checking.
  13031. (debug_spec_status): New function to call from debugger.
  13032. (priority): Added code to handle speculation checks.
  13033. (rank_for_schedule): Added code to distinguish speculative instructions.
  13034. (schedule_insn): Added code to handle speculation checks.
  13035. (unlink_other_notes, rm_line_notes, restore_line_notes, rm_other_notes):
  13036. Fixed to handle ebbs.
  13037. (move_insn): Added code to handle ebb scheduling.
  13038. (max_issue): Added code to use ISSUE_POINTS of instructions.
  13039. (choose_ready): Added code to choose between speculative and
  13040. non-speculative instructions.
  13041. (schedule_block): Added code to handle ebb scheduling and scheduling of
  13042. speculative instructions.
  13043. (sched_init): Initialize new variables.
  13044. (sched_finish): Free new variables. Print statistics.
  13045. (try_ready): Added code to handle speculative instructions.
  13046. * lists.c (copy_DEPS_LIST_list): New function.
  13047. * sched-deps.c (extend_dependency_caches): New function. Move logic
  13048. from create_dependency_caches to here.
  13049. (get_dep_weak, ds_merge): Make global.
  13050. * genattr.c (main): Code to output prototype for
  13051. dfa_clear_single_insn_cache.
  13052. * genautomata.c (DFA_CLEAR_SINGLE_INSN_CACHE_FUNC_NAME): New macros.
  13053. (output_dfa_clean_insn_cache_func): Code to output
  13054. dfa_clear_single_insn_cache function.
  13055. * sched-ebb.c (target_n_insns): Remove. Adjust all users to use
  13056. n_insns.
  13057. (can_schedule_ready_p, fix_basic_block_boundaries, add_missing_bbs):
  13058. Removed.
  13059. (n_insns, dont_calc_deps, ebb_head, ebb_tail, last_bb):
  13060. New static variables.
  13061. (begin_schedule_ready, add_remove_insn, add_block1, advance_target_bb,
  13062. fix_recovery_cfg, ebb_head_or_leaf_p): Implement hooks from
  13063. struct sched_info.
  13064. (ebb_sched_info): Initialize new fields.
  13065. (get_block_head_tail): Adjust all uses.
  13066. (compute_jump_reg_dependencies): Fixed to use glat_start.
  13067. (schedule_ebb): Code to remove unreachable last block.
  13068. (schedule_ebbs): Added code to update register live information.
  13069. * sched-rgn.c (region_sched_info): Initialize new fields.
  13070. (get_block_head_tail): Adjust all uses.
  13071. (last_was_jump): Removed. Adjust users.
  13072. (begin_schedule_ready, add_remove_insn, insn_points, extend_regions,
  13073. add_block1, fix_recovery_cfg, advance_target_bb, region_head_or_leaf_p):
  13074. Implement new hooks.
  13075. (check_dead_notes1): New static function.
  13076. (struct region): New fields: dont_calc_deps, has_real_ebb.
  13077. (RGN_DONT_CALC_DEPS, RGN_HAS_REAL_EBB): New access macros.
  13078. (BB_TO_BLOCK): Fixed to handle EBBs.
  13079. (EBB_FIRST_BB, EBB_LAST_BB): New macros.
  13080. (ebb_head): New static variable.
  13081. (debug_regions, contributes_to_priority): Fixed to handle EBBs.
  13082. (find_single_block_regions, find_rgns, find_more_rgns): Initialize
  13083. new fields.
  13084. (compute_dom_prob_ps): New assertion.
  13085. (check_live_1, update_live_1): Fixed to work with glat_start instead of
  13086. global_live_at_start.
  13087. (init_ready_list): New assertions.
  13088. (can_schedule_ready_p): Split update code to begin_schedule_ready.
  13089. (new_ready): Add support for BEGIN_CONTROL speculation.
  13090. (schedule_insns): Fixed code that updates register live information
  13091. to handle EBBs.
  13092. (schedule_region): Fixed to handle EBBs.
  13093. (init_regions): Use extend_regions and check_dead_notes1.
  13094. * params.def (PARAM_MAX_SCHED_INSN_CONFLICT_DELAY,
  13095. PARAM_SCHED_SPEC_PROB_CUTOFF): New parameters.
  13096. * doc/tm.texi (TARGET_SCHED_ADJUST_COST_2, TARGET_SCHED_H_I_D_EXTENDED,
  13097. TARGET_SCHED_SPECULATE_INSN, TARGET_SCHED_NEEDS_BLOCK_P,
  13098. TARGET_SCHED_GEN_CHECK,
  13099. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC,
  13100. TARGET_SCHED_SET_SCHED_FLAGS): Document.
  13101. * doc/invoke.texi (max-sched-insn-conflict-delay,
  13102. sched-spec-prob-cutoff): Document.
  13103. 2006-03-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  13104. * sched-int.h (struct haifa_insn_data): New fields: resolved_deps,
  13105. inter_tick, queue_index.
  13106. (struct sched_info): Change signature of init_ready_list field.
  13107. Adjust all initializations.
  13108. (RESOLVED_DEPS): New access macro.
  13109. (ready_add): Remove prototype.
  13110. (try_ready): Add prototype.
  13111. * sched-rgn.c (init_ready_list): Use try_ready.
  13112. (schedule_region): Initialize
  13113. current_sched_info->{sched_max_insns_priority, queue_must_finish_empty}.
  13114. * sched-ebb.c (new_ready): Remove. Adjust ebb_sched_info.
  13115. (init_ready_list): Use try_ready.
  13116. (schedule_ebb): Initialize current_sched_info->sched_max_insns_priority.
  13117. * lists.c (remove_list_elem): Remove `static'.
  13118. (remove_free_INSN_LIST_elem): New function.
  13119. * rtl.h (remove_list_elem, remove_free_INSN_LIST_elem): Add prototypes.
  13120. * haifa-sched.c (INTER_TICK, QUEUE_INDEX): New macros.
  13121. (INVALID_TICK, MIN_TICK, QUEUE_SCHEDULED, QUEUE_NOWHERE, QUEUE_READY):
  13122. New constants.
  13123. (readyp): New variable.
  13124. (queue_remove, ready_remove_insn, fix_inter_tick, fix_tick_ready,
  13125. change_queue_index, resolve_dep): New static functions.
  13126. (try_ready): New function. Adjust callers in sched-rgn.c and
  13127. sched-ebb.c to use it instead of ready_add.
  13128. (clock_var): Move at the begining of file.
  13129. (rank_for_schedule): Fix typo.
  13130. (queue_insn): Add assertion. Handle QUEUE_INDEX.
  13131. (ready_lastpos): Enforce assertion.
  13132. (ready_add): Make it static. Handle QUEUE_INDEX. Add new argument,
  13133. update all callers.
  13134. (ready_remove_first, ready_remove): Handle QUEUE_INDEX.
  13135. (schedule_insn): Rewrite to use try_ready and resolve_dep.
  13136. (queue_to_ready): Use free_INSN_LIST_list.
  13137. (early_queue_to_ready): Fix typo.
  13138. (schedule_block): Init readyp. Move init_ready_list call after the
  13139. initialization of clock_var. Fix error in rejecting insn by
  13140. targetm.sched.dfa_new_cycle. Add call to fix_inter_tick. Remove code
  13141. that previously corrected INSN_TICKs. Add code for handling
  13142. QUEUE_INDEX.
  13143. (set_priorities): Fix typo.
  13144. (sched_init): Initialize INSN_TICK, INTER_TICK and QUEUE_INDEX.
  13145. Clarify comment and code that keeps current_sched_info->next_tail
  13146. non-null.
  13147. 2006-03-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  13148. * sched-rgn.c (extend_rgns): New static function.
  13149. (find_rgns): Use it.
  13150. (gather_region_statistics, print_region_statistics): New static
  13151. functions.
  13152. * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): New parameter.
  13153. * doc/invoke.texi (max-sched-extend-regions-iters): Document.
  13154. 2006-03-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
  13155. Andrey Belevantsev <abel@ispras.ru>
  13156. * ddg.c (build_intra_loop_deps): Adjust add_forward_dependence call.
  13157. * lists.c (unused_deps_list): New variable.
  13158. (free_list): Add assertions to verify the proper distinguishing
  13159. between INSN_LISTs and DEPS_LISTs.
  13160. (find_list_elem, remove_list_elem, remove_list_node): New static
  13161. functions.
  13162. (alloc_DEPS_LIST, free_DEPS_LIST, free_DEPS_LIST_node,
  13163. remove_free_INSN_LIST_elem, remove_free_DEPS_LIST_elem,
  13164. remove_free_INSN_LIST_node, remove_free_DEPS_LIST_node): New functions.
  13165. (alloc_INSN_LIST): Assert that the list we're working on is indeed
  13166. an INSN_LIST.
  13167. (free_INSN_LIST_node): Likewise.
  13168. * modulo-sched.c (current_sched_info): Initialize flags field.
  13169. * reg-notes.def: Exchange DEP_ANTI and DEP_OUTPUT.
  13170. * rtl.def (DEPS_LIST): Define.
  13171. * rtl.h: Declare new functions from lists.c.
  13172. * sched-deps.c (spec_dependency_cache): New static variable.
  13173. (maybe_add_or_update_back_dep_1, add_back_dep): New static functions.
  13174. (add_dependence): Change return type to void. Move the logic to ...
  13175. (add_or_update_back_dep_1): ... here. Handle speculative dependencies.
  13176. (delete_all_dependences): Add comment about forward_dependency_cache.
  13177. Handle spec_dependency_cache. Handle DEPS_LISTs.
  13178. (fixup_sched_groups): Clarify the change of priority of output
  13179. and anti dependencies.
  13180. (sched_analyze_2): Adjust add_dependence calls to create data
  13181. speculative dependence.
  13182. (add_forward_dependence): Renamed to add_forw_dep, change prototype.
  13183. Adjust all callers. Handle DEPS_LISTS.
  13184. (compute_forward_dependences): Use add_forw_dep. Sort LOG_LINKs in
  13185. presence of speculation.
  13186. (init_dependency_caches, free_dependency_caches):
  13187. Handle spec_dependency_cache.
  13188. (adjust_add_sorted_back_dep, adjust_back_add_forw_dep, delete_forw_dep,
  13189. estimate_dep_weak, get_dep_weak, ds_merge, check_dep_status):
  13190. New static functions.
  13191. (add_or_update_back_dep, add_or_update_back_forw_dep,
  13192. add_back_forw_dep, delete_back_forw_dep): New functions.
  13193. * sched-int.h (ds_t, dw_t): New typedefs.
  13194. (struct sched_info): Add new field flags.
  13195. (struct haifa_insn_data): Add new bitfield has_internal_dep.
  13196. Prototype new sched-deps.c functions.
  13197. (HAS_INTERNAL_DEP, DEP_STATUS): New access macros.
  13198. (BITS_PER_DEP_STATUS, BITS_PER_DEP_WEAK, DEP_WEAK_MASK, MAX_DEP_WEAK,
  13199. MIN_DEP_WEAK, NO_DEP_WEAK, UNCERTAIN_DEP_WEAK, BEGIN_DATA, BE_IN_DATA,
  13200. BEGIN_CONTROL, BE_IN_CONTROL, BEGIN_SPEC, DATA_SPEC, CONTROL_SPEC,
  13201. SPECULATIVE, BE_IN_SPEC, FIRST_SPEC_TYPE, LAST_SPEC_TYPE,
  13202. SPEC_TYPE_SHIFT, DEP_TRUE, DEP_OUTPUT, DEP_ANTI, DEP_TYPES, HARD_DEP):
  13203. New constants.
  13204. (enum SPEC_TYPES_OFFSETS, enum DEPS_ADJUST_RESULT, enum SCHED_FLAGS):
  13205. New enums.
  13206. * sched-rgn.c (current_sched_info): Initialize flags field.
  13207. (schedule_insns): Initialize current_sched_info before the sched_init
  13208. call.
  13209. * sched-ebb.c (current_sched_info): Initialize flags field.
  13210. (add_deps_for_risky_insns): Use control_flow_insn_p instead of JUMP_P.
  13211. Call add_or_update_back_dep instead of add_dependence.
  13212. Create control speculative dependencies.
  13213. (schedule_insns): Initialize current_sched_info before the sched_init
  13214. call.
  13215. 2006-03-16 Kaz Kojima <kkojima@gcc.gnu.org>
  13216. * config/sh/linux-unwind.h (shmedia_fallback_frame_state): Set
  13217. fs->signal_frame.
  13218. (sh_fallback_frame_state): Likewise.
  13219. 2006-03-15 Geoffrey Keating <geoffk@apple.com>
  13220. * config.gcc (*-*-darwin*): Don't build crt2.o for all Darwin ports.
  13221. Do switch on default_use_cxa_atexit.
  13222. (powerpc*-*-darwin*): Build crt2.o on powerpc.
  13223. * config/darwin-crt3.o: New.
  13224. * config/darwin.h (LINK_SPEC): If -shared-libgcc, make linker default
  13225. to 10.3. Pass '-multiply_defined suppress' if crt3.o is in use.
  13226. (STARTFILE_SPEC): Add crt3.o when -shared-libgcc and appropriate
  13227. OS version.
  13228. * config/rs6000/t-darwin: Move crt2.o building to here.
  13229. * config/rs6000/darwin.h (C_COMMON_OVERRIDE_OPTIONS): Update
  13230. Mac OS version for using __cxa_get_exception_ptr. Don't test versions
  13231. of __cxa_atexit.
  13232. 2006-03-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  13233. * config/vax/vax.c (nonindexed_address_p): Change logical negation
  13234. from '! xxx' to '!xxx' for coding-style conformance.
  13235. * config/vax/vax.h (PCC_BITFIELD_TYPE_MATTERS): Likewise.
  13236. (EXTRA_CONSTRAINT): Likewise.
  13237. * config/vax/vax.md (four unnamed insns): Likewise.
  13238. 2006-03-15 Paul Brook <paul@codesourcery.com>
  13239. * config/arm/arm.c (minipool_pad): New.
  13240. (add_minipool_forward_ref): Include pool alignment padding in address
  13241. calculation.
  13242. (push_minipool_fix): Set minipool_pad.
  13243. (minipool_pad): Ditto.
  13244. 2006-03-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  13245. * config/vax/vax.c (split_quadword_operands): Use MEM_P()
  13246. instead of GET_CODE() == MEM and REG_P() instead of
  13247. GET_CODE() == REG.
  13248. (print_operand_address): Likewise.
  13249. (vax_address_cost): Likewise.
  13250. (vax_rtx_costs): Likewise.
  13251. (vax_notice_update_cc): Likewise.
  13252. (vax_output_int_add): Likewise.
  13253. (INDEX_REGISTER_P): Likewise.
  13254. (BASE_REGISTER_P): Likewise.
  13255. (nonindexed_address_p): Likewise.
  13256. (vax_mode_dependent_address_p): Likewise.
  13257. * config/vax/vax.h (EXTRA_CONSTRAINT): Likewise.
  13258. (PRINT_OPERAND): Likewise.
  13259. * config/vax/vax.md (ashlsi3): Likewise.
  13260. (ashlsi3): Likewise.
  13261. (some more unnamed insns): Likewise.
  13262. 2006-03-15 Kazu Hirata <kazu@codesourcery.com>
  13263. * tree-ssa-dce.c (EXECUTE_IF_CONTROL_DEPENDENT): Make it an
  13264. iterator-style macro.
  13265. (mark_control_dependent_edges_necessary): Update the use of
  13266. EXECUTE_IF_CONTROL_DEPENDENT.
  13267. 2006-03-15 J"orn Rennecke <joern.rennecke@st.com>
  13268. * config/sh/predicates.md (cache_address_operand): Special.
  13269. (ua_address_operand): Likewise.
  13270. 2006-03-15 Zdenek Dvorak <dvorakz@suse.cz>
  13271. * haifa-sched.c (unlink_other_notes, reemit_notes): Do not handle
  13272. loop notes.
  13273. * sched-deps.c (sched_analyze_insn, sched_analyze): Ditto.
  13274. 2006-03-15 Andreas Schwab <schwab@suse.de>
  13275. * gensupport.c (identify_predicable_attribute): Don't free p_false
  13276. when it is still in use.
  13277. 2006-03-15 Eric Botcazou <ebotcazou@libertysurf.fr>
  13278. * config.gcc (default with_cpu setting) <sparc*-*-*>: Do not modify
  13279. the default setting here.
  13280. 2006-03-14 Steven Bosscher <stevenb.gcc@gmail.com>
  13281. * tree-pass.h (pass_cfg): Remove.
  13282. * alias.c (rest_of_handle_cfg, pass_cfg): Remove.
  13283. * passes.c (pass_cfg): Don't run it.
  13284. 2006-03-14 Kazu Hirata <kazu@codesourcery.com>
  13285. * Makefile.in (reg-stack.o): Don't depend on gt-reg-stack.h.
  13286. * reg-stack.c (stack_regs_mentioned_data): Change the type to
  13287. VEC(char,heap) *.
  13288. (stack_regs_mentioned): Update the uses of
  13289. stack_regs_mentioned_data. Don't access the array beyond its
  13290. end.
  13291. (reg_to_stack): Update the uses of stack_regs_mentioned_data.
  13292. Don't include gt-reg-stack.h.
  13293. * config/bfin/bfin.h (UNALIGNED_WORD_ASM_OP): Remove.
  13294. * system.h (UNALIGNED_WORD_ASM_OP): Poison.
  13295. * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): Remove.
  13296. PR middle-end/26684
  13297. * reg-stack.c (stack_regs_mentioned_data): Put it undef #ifdef
  13298. STACK_REGS.
  13299. 2006-03-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  13300. * pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Fix typo.
  13301. 2006-03-14 Richard Guenther <rguenther@suse.de>
  13302. PR tree-optimization/26672
  13303. * tree-ssa-propagate.c (set_rhs): Don't walk DEFs if not in
  13304. SSA form.
  13305. 2006-03-14 Richard Guenther <rguenther@suse.de>
  13306. PR tree-optimization/26667
  13307. * ipa-inline.c (cgraph_check_inline_limits): Walk the correct
  13308. node for the callees. Always allow inlining if it will shrink
  13309. the function size.
  13310. 2006-03-14 Richard Guenther <rguenther@suse.de>
  13311. PR middle-end/26659
  13312. * builtins.c (get_pointer_alignment): Prefer alignment
  13313. information from decls over that from types.
  13314. 2006-03-14 Andrew Pinski <pinskia@physics.uc.edu>
  13315. PR target/26657
  13316. * config/darwin.h (LINK_COMMAND_SPEC): Handle -fopenmp.
  13317. 2006-03-14 Joseph S. Myers <joseph@codesourcery.com>
  13318. * config/rs6000/rs6000.opt (mdlmzb): New option.
  13319. (msched-prolog, msched-epilog): Use Var not Mask.
  13320. * doc/invoke.texi (-mdlmzb): Document.
  13321. * config/rs6000/rs6000.c (TARGET_DEFAULT_TARGET_FLAGS): Remove
  13322. MASK_SCHED_PROLOG.
  13323. (rs6000_override_options): Enable -mdlmzb for 405 and 440.
  13324. * config/rs6000/rs6000.md: Add dlmzb support for 405 and 440.
  13325. 2006-03-13 Uttam Pawar <uttamp@us.ibm.com>
  13326. PR rtl-optimization/25739
  13327. * bt-load.c (augment_live_range): Free tos pointer.
  13328. * gensupport.c (identify_predicable_attribute): Free
  13329. p_false pointer.
  13330. * gcov.c (create_file_names): Free name pointer.
  13331. 2006-03-13 Roger Sayle <roger@eyesopen.com>
  13332. PR middle-end/26557
  13333. * stmt.c (emit_case_nodes): Handle the case where the index is a
  13334. CONST_INT, where the comparison mode is specified by the index type.
  13335. 2006-03-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  13336. * pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Define when CRTSTUFFS_O
  13337. is defined.
  13338. 2006-03-13 Richard Sandiford <richard@codesourcery.com>
  13339. * config/mips/mips.md (*branch_fp): Use %Z2 for the condition.
  13340. (*branch_fp_inverted): Likewise.
  13341. 2006-03-13 Jakub Jelinek <jakub@redhat.com>
  13342. PR middle-end/25989
  13343. * omp-low.c (expand_omp_for_generic): Mark istart0
  13344. and iend0 as addressable.
  13345. 2006-03-13 Jie Zhang <jie.zhang@analog.com>
  13346. * config/bfin/uclinux.h: Define _GNU_SOURCE in CPLUSPLUS_CPP_SPEC.
  13347. 2006-03-13 Jeff Law <law@redhat.com>
  13348. * tree-vrp.c (stmt_interesting_for_vrp): Some statements with
  13349. virtual operands are interesting.
  13350. (vrp_visit_stmt): Corresponding changes.
  13351. 2006-03-13 Bernd Schmidt <bernd.schmidt@analog.com>
  13352. * config/bfin/lib1funcs.asm (___umodsi3): Use stack to save contents
  13353. of RETS.
  13354. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): If
  13355. TARGET_ID_SHARED_LIBRARY, define __ID_SHARED_LIB__.
  13356. * config/bfin/crti.S: Use it instead of __PIC__.
  13357. * config/bfin/crtn.S: Likewise.
  13358. * config/bfin/bfin.md (call_value_symbol, sibcall_value_symbol,
  13359. call_symbol, sibcall_symbol): Disallow if TARGET_ID_SHARED_LIBRARY,
  13360. not if flag_pic.
  13361. Lose 'G' modifier for call operand.
  13362. * config/bfin/bfin.c (print_operand) <case SYMBOL_REF>: Don't
  13363. recognize 'G' modifier.
  13364. 2006-03-13 Eric Botcazou <ebotcazou@adacore.com>
  13365. PR middle-end/18859
  13366. * gimplify.c (gimplify_switch_expr): Discard empty ranges.
  13367. * stmt.c (expand_case): Likewise.
  13368. 2006-03-13 Zdenek Dvorak <dvorakz@suse.cz>
  13369. PR rtl-optimization/26254
  13370. * loop-invariant.c (seq_insns_valid_p): New function.
  13371. (move_invariant_reg): Only emit new code if it is valid.
  13372. 2006-03-13 Zdenek Dvorak <dvorakz@suse.cz>
  13373. * cfgrtl.c (last_loop_beg_note, back_edge_of_syntactic_loop_p):
  13374. Removed.
  13375. (force_nonfallthru_and_redirect): Do not use last_loop_beg_note.
  13376. (rtl_split_edge): Do not use back_edge_of_syntactic_loop_p.
  13377. (commit_one_edge_insertion): Do not look for loop notes.
  13378. 2006-03-13 Zdenek Dvorak <dvorakz@suse.cz>
  13379. * jump.c (follow_jumps): Do not check for loop notes. Move check for
  13380. flag_test_coverage out of loop.
  13381. 2006-03-13 Zdenek Dvorak <dvorakz@suse.cz>
  13382. * final.c (shorten_branches): Remove outdated comment, and turn
  13383. the if branch that guards it to continue.
  13384. 2006-03-13 Zdenek Dvorak <dvorakz@suse.cz>
  13385. * cfgloop.c (flow_loop_dump): Do not dump loop->invalid field.
  13386. * cfgloop.h (struct loop): Remove unused fields.
  13387. 2006-03-13 Kazu Hirata <kazu@codesourcery.com>
  13388. * doc/invoke.texi (-fdump-rtl-loop): Remove.
  13389. (-dL, -fdump-rtl-loop2): Update the dump file names
  13390. * doc/invoke.texi: Update dump file names.
  13391. 2006-03-12 Steven Bosscher <stevenb.gcc@gmail.com>
  13392. * predict.c (estimate_probability): Remove.
  13393. * profile.c (rest_of_handle_branch_prob, pass_branch_prob): Remove.
  13394. * basic-block.h (estimate_probability): Remove prototype.
  13395. * passes.c (finish_optimization_passes): Dump branch prediction or
  13396. profiling heuristics to the .profile tree dump.
  13397. (init_optimization_passes): Unqueue pass_branch_prob.
  13398. * doc/invoke.texi (-fdump-rtl-bp): Remove.
  13399. 2006-03-11 Steven Bosscher <stevenb.gcc@gmail.com>
  13400. * rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
  13401. * rtl.h (LABEL_NEXTREF): Remove field accessor.
  13402. 2006-03-11 Eric Botcazou <ebotcazou@adacore.com>
  13403. * function.h (frame_offset_overflow): Declare.
  13404. * function.c (frame_offset_overflow): New function.
  13405. (assign_stack_local_1): Call it to detect that the offset overflows.
  13406. * cfgexpand.c (alloc_stack_frame_space): Likewise.
  13407. 2006-03-11 Steven Bosscher <stevenb.gcc@gmail.com>
  13408. * config/sh/sh.c: Include alloc-pool.h.
  13409. (label_ref_list_pool): New alloc pool.
  13410. (label_ref_list_t): New type for lists of labels.
  13411. (struct pool_node): Make wend a label_ref_list_t.
  13412. (add_constant): Use the new type, eradicate LABEL_NEXTREF
  13413. references.
  13414. (dump_table): Likewise.
  13415. (sh_reorg): Set up the alloc pool before using add_constant and
  13416. dump_table, and destroy it when finishing.
  13417. 2006-03-11 Richard Sandiford <richard@codesourcery.com>
  13418. * config/mips/mips.c: Remove redundant comment.
  13419. 2006-03-10 Jason Merrill <jason@redhat.com>
  13420. PR c/26004
  13421. * gimplify.c (gimplify_modify_expr_rhs): Don't do return slot opt if
  13422. the target was declared 'register'.
  13423. 2006-03-10 Adam Nemet <anemet@caviumnetworks.com>
  13424. * genpreds.c (write_insn_constraint_len): Change definition of
  13425. insn_constraint_len to return size_t to match the declaration.
  13426. 2006-03-10 DJ Delorie <dj@redhat.com>
  13427. * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Bit numbers
  13428. start at zero.
  13429. (m32c_expand_insv): Fix test for an AND mask.
  13430. 2006-03-10 Richard Guenther <rguenther@suse.de>
  13431. PR middle-end/26565
  13432. * builtins.c (get_pointer_alignment): Handle component
  13433. references for field alignment.
  13434. 2006-03-10 J"orn Rennecke <joern.rennecke@st.com>
  13435. * config.gcc (sh*-superh-elf, sh*elf (newlib)): Use newlib.h
  13436. when building with libgloss.
  13437. (sh*elf): Implement --without-fp option.
  13438. (sh64-superh-linux*): Don't multilib.
  13439. 2006-03-10 J"orn Rennecke <joern.rennecke@st.com>
  13440. * struct-equiv.c (rtx_equiv_p): Fix POST_MODIFY case.
  13441. 2006-03-09 Andrew Pinski <pinskia@physics.uc.edu>
  13442. * tree-ssa-phiopt.c (tree_ssa_phiopt): Add cfgchanged variable.
  13443. Set it when one of the replacement functions returned true.
  13444. Return TODO_cleanup_cfg if cfgchanged is true.
  13445. (pass_phiopt) <todo_flags_finish>: Remove TODO_cleanup_cfg.
  13446. 2006-03-09 Adam Nemet <anemet@caviumnetworks.com>
  13447. * combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate
  13448. instead of gen_lowpart.
  13449. 2006-03-09 Richard Sandiford <richard@codesourcery.com>
  13450. * config/mips/mips-protos.h (mips_output_conditional_branch): Change
  13451. interface.
  13452. (mips_output_order_conditional_branch): Declare.
  13453. * config/mips/mips.h (MIPS_BRANCH): New macro.
  13454. * config/mips/mips.c (gen_conditional_branch): Use VOIDmode
  13455. for the comparison. Use gen_condjump.
  13456. (mips_output_conditional_branch): Rework interface to take the
  13457. asm templates for a direct branch and the inverse of a direct branch.
  13458. (mips_output_order_conditional_branch): New function.
  13459. (mips_builtin_branch_and_move): New function.
  13460. (mips_expand_builtin_compare): Use it. Use VOIDmode for the
  13461. branch condition. Use gen_single_cc as the condition for
  13462. __builtin_mips_upper_* or __builtin_mips_lower_*.
  13463. (mips_expand_builtin_bposge): Use mips_builtin_branch_and_move.
  13464. Use VOIDmode for the branch condition.
  13465. * config/mips/predicates.md (order_operator): New predicate.
  13466. * config/mips/mips.md (UNSPEC_SINGLE_CC): New constant.
  13467. (branch_fp): Rename to...
  13468. (*branch_fp): ...this. Remove mode from comparison operator.
  13469. Use new mips_output_conditional_branch interface.
  13470. (branch_fp_inverted): Rename to...
  13471. (*branch_fp_inverted): ...this and update as for *branch_fp.
  13472. (*branch_zero<mode>): Rename to...
  13473. (*branch_order<mode>): ...this. Remove mode from comparison operator.
  13474. Use mips_output_order_conditional_branch. Only accept ordered
  13475. comparisons.
  13476. (*branch_zero<mode>_inverted): Rename to...
  13477. (*branch_order<mode>_inverted): ...this and update as for
  13478. *branch_order<mode>.
  13479. (*branch_equality<mode>): Accept zero as the second operand to
  13480. the equality operator. Use the new mips_output_conditional_branch
  13481. interface.
  13482. (*branch_equality<mode>_inverted): Likewise.
  13483. (condjump): New expander.
  13484. * config/mips/mips-dsp.md (mips_bposge): Remove mode from comparison
  13485. operator.
  13486. * config/mips/mips-ps-3d.md (bc1any4t, bc1any4f): Likewise.
  13487. (bc1any2t, bc1any2f): Likewise.
  13488. (single_cc): New expander.
  13489. (*branch_upper_lower, *branch_upper_lower_inverted): New patterns.
  13490. 2006-03-09 Richard Sandiford <richard@codesourcery.com>
  13491. * doc/md.texi: Update documentation of MIPS constraints.
  13492. * config/mips/constraints.md: New file.
  13493. * config/mips/mips.md: Include it.
  13494. * config/mips/mips.c (mips_char_to_class): Delete.
  13495. (override_options): Don't initialize mips_char_to_class.
  13496. * config/mips/mips.h (mips_char_to_class): Delete.
  13497. (REG_CLASS_FROM_LETTER): Delete.
  13498. (CONST_OK_FOR_LETTER_P): Delete.
  13499. (CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
  13500. (EXTRA_CONSTRAINT_Y): Delete.
  13501. (EXTRA_CONSTRAINT_STR): Delete.
  13502. (CONSTRAINT_LEN): Delete.
  13503. (EXTRA_MEMORY_CONSTRAINT): Delete.
  13504. 2006-03-09 Diego Novillo <dnovillo@redhat.com>
  13505. * tree-cfg.c (move_block_to_fn): Remove the statements from the
  13506. original fn's eh regions.
  13507. 2006-03-09 Eric Botcazou <ebotcazou@adacore.com>
  13508. * fold-const.c (build_range_check): Make sure to use a valid type to
  13509. apply the "(c>=low) && (c<=high) into (c-low>=0) && (c-low<=high-low)"
  13510. transformation.
  13511. (range_predecessor): New static function.
  13512. (range_successor): Likewise.
  13513. (merge_ranges): Use them to compute predecessors and successors of
  13514. range bounds.
  13515. 2006-03-09 Roger Sayle <roger@eyesopen.com>
  13516. PR middle-end/26561
  13517. * fold-const.c (fold_div_compare): When optimizing X/C1 op C2 as
  13518. X op C3, consider whether C3 overflows towards +Inf or -Inf.
  13519. 2006-03-08 DJ Delorie <dj@redhat.com>
  13520. * config/m32c/addsub.md (addqi3): Disparage a0/a1.
  13521. (addpsi3): Expand to include memory operands. Remove
  13522. reload-specific splits.
  13523. * config/m32c/bitops.md (bset_qi, bset_hi, bclr_qi): New.
  13524. (andqi3_16, andhi3_16, iorqi3_16, iorhi3_16): New.
  13525. (andqi3_24, andhi3_24, iorqi3_24, iorhi3_24): New.
  13526. (andqi3, andhi3, iorqi3, iorhi3): Convert to expanders.
  13527. (shift1_qi, shift1_hi, insv): New.
  13528. * config/m32c/cond.md (cbranchqi4, cbranchhi4): Remove.
  13529. (cbranch<mode>4, stzx_16, stzx_24_<mode>, stzx_reversed,
  13530. cmp<mode>, b<code>, s<code>, s<code>_24, movqicc, movhicc,
  13531. cond_to_int): New.
  13532. * config/m32c/m32c-protos.h: Update as needed.
  13533. * config/m32c/m32c.c (m32c_reg_class_from_constraint): Don't
  13534. default the Rcr, Rcl, Raw, and Ral constraints. Add Ra0 and Ra1.
  13535. Fail for unrecognized R* constraints.
  13536. (m32c_cannot_change_mode_class): Be more picky about pseudos.
  13537. (m32c_const_ok_for_constraint_p): Add Imb, Imw, and I00.
  13538. (m32c_extra_constraint_p2): Allow (mem (plus (plus fb int) int)).
  13539. Add Sp constraint.
  13540. (m32c_init_libfuncs): New.
  13541. (m32c_legitimate_address_p): Add debug wrapper.
  13542. (m32c_rtx_costs): New.
  13543. (m32c_address_cost): New.
  13544. (conversions): Add 'B' prefix.
  13545. (m32c_print_operand): 'h' and 'H' pick lower and upper halves of
  13546. operands, or word regnames for QI operands. 'B' prints bit
  13547. position.
  13548. (m32c_expand_setmemhi): New.
  13549. (m32c_expand_movmemhi): New.
  13550. (m32c_expand_movstr): New.
  13551. (m32c_expand_cmpstr): New.
  13552. (m32c_prepare_shift): Shift counts are limited to 16 bits at a time.
  13553. (m32c_expand_neg_mulpsi3): Handle non-ints.
  13554. (m32c_cmp_flg_0): New.
  13555. (m32c_expand_movcc): New.
  13556. (m32c_expand_insv): New.
  13557. (m32c_scc_pattern): New.
  13558. * config/m32c/m32c.h (reg classes): Add AO_REGS and A1_REGS. Take
  13559. a0/a1 out of SIregs.
  13560. (STORE_FLAG_VALUE): New.
  13561. * config/m32c/m32c.md: Add unspecs for string moves. Define various mode and
  13562. code macros.
  13563. (no_insn): New.
  13564. * config/m32c/mov.md: Make constraints more liberal.
  13565. (zero_extendqihi2): Optimize r0/r1 case.
  13566. * config/m32c/muldiv.md (mulpsi3): Check for intvals.
  13567. * config/m32c/predicates.md (m32c_any_operand): New.
  13568. (m32c_nonimmediate_operand): New.
  13569. (m32c_hl_operand): New.
  13570. (m32c_r3_operand): New.
  13571. (ap_operand): New.
  13572. (ma_operand): New.
  13573. (memsym_operand): New.
  13574. (memimmed_operand): New.
  13575. (a_qi_operand): New.
  13576. (m32c_eqne_operator): New.
  13577. (m32c_1bit8_operand): New.
  13578. (m32c_1bit16_operand): New.
  13579. (m32c_1mask8_operand): New.
  13580. (m32c_1mask16_operand): New.
  13581. * config/m32c/blkmov.md: New file.
  13582. * config/m32c/t-m32c (MD_FILES): Add blkmov.
  13583. 2006-03-08 Andreas Tobler <a.tobler@schweiz.ch>
  13584. * dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum
  13585. unsigned to fix signed/unsigned comparison issue in
  13586. DWARF2_FRAME_REG_OUT.
  13587. (expand_builtin_init_dwarf_reg_sizes): Make i unsigned to fix signed/
  13588. unsigned comparison issue in DWARF2_FRAME_REG_OUT.
  13589. * tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration
  13590. of ptr into the ENABLE_CHECKING section.
  13591. 2006-03-08 Jeff Law <law@redhat.com>
  13592. * tree-vrp.c (infer_value_range): Only count pointer uses
  13593. and dereferences if -fdelete-null-pointer-checks is enabled.
  13594. * tree-vrp.c (find_assert_locations): Infer value ranges for
  13595. single use pointers, but do not create ASSERT_EXPRs for them.
  13596. When a non-null range is inferred for a pointer, backwards
  13597. propagate that range to other equivalent pointers through the
  13598. use-def chain.
  13599. 2006-03-08 Paolo Bonzini <bonzini@gnu.org>
  13600. PR bootstrap/26500
  13601. * Makefile.in (dvi, html, install-info): Invoke the corresponding
  13602. language hook targets.
  13603. * ada/Make-lang.in, cp/Make-lang.in, objc/Make-lang.in,
  13604. objcp/Make-lang.in: Create stub rules for dvi, html, install-info
  13605. if language hook targets were missing.
  13606. 2006-03-07 Zdenek Dvorak <dvorakz@suse.cz>
  13607. * tree-ssa-opfinalize.h: Removed.
  13608. * Makefile.in (tree-ssa-operands.o): Remove tree-ssa-opfinalize.h
  13609. dependency.
  13610. * tree-ssa-operands.c: Do not include tree-ssa-opfinalize.h.
  13611. (ALLOC_OPTYPE, APPEND_OP_AFTER, MOVE_HEAD_AFTER, MOVE_HEAD_TO_FREELIST,
  13612. INITIALIZE_USE, add_def_op, add_use_op, add_vuse_op, add_maydef_op,
  13613. add_mustdef_op, finalize_ssa_def_ops, finalize_ssa_use_ops,
  13614. finalize_ssa_v_may_def_ops, finalize_ssa_vuse_ops,
  13615. finalize_ssa_v_must_def_ops): New.
  13616. 2006-03-07 Kenneth Zadeck <zadeck@naturalbridge.com>
  13617. * df-scan.c: (df_bb_refs_record): Fix obvious typo with wrong
  13618. block as parameter.
  13619. 2006-03-07 Geoffrey Keating <geoffk@apple.com>
  13620. * varasm.c (assemble_end_function): Say that 'fnname' is unused.
  13621. * config/i386/i386.c (ix86_delegitimize_address): Handle Darwin
  13622. addresses with offsets; reorganize.
  13623. * dwarf2out.c (DWARF2_FRAME_REG_OUT): Move up in file.
  13624. (expand_builtin_dwarf_sp_column): Call DWARF2_FRAME_REG_OUT.
  13625. (expand_builtin_init_dwarf_reg_sizes): Likewise.
  13626. 2006-03-08 David Billinghurst <David.Billinghurst@riotinto.com>
  13627. PR target/26588
  13628. * config/i386/cygwin.h (GOMP_SELF_SPECS): Define.
  13629. 2006-03-08 Ben Elliston <bje@au.ibm.com>
  13630. * config/fp-bit.h (CMPtype): Typedef to a word mode integer.
  13631. 2006-03-07 Aldy Hernandez <aldyh@redhat.com>
  13632. PR gomp/26238
  13633. * doc/passes.texi (Tree-SSA passes): Document omp lowering and
  13634. expansion.
  13635. 2006-03-07 Richard Guenther <rguenther@suse.de>
  13636. PR tree-optimization/26587
  13637. * tree-ssa-structalias.c (handle_ptr_arith): Handle MINUS_EXPR.
  13638. 2006-03-07 Richard Sandiford <richard@codesourcery.com>
  13639. * varasm.c (assemble_variable): Fix setting of DECL_IN_TEXT_SECTION.
  13640. 2006-03-07 Richard Sandiford <richard@codesourcery.com>
  13641. * hooks.c (hook_bool_mode_rtx_true): New function.
  13642. * hooks.h (hook_bool_mode_rtx_true): Declare.
  13643. * toplev.c (compile_file): Call output_shared_constant_pool.
  13644. * varasm.c (shared_constant_pool): New variable.
  13645. (assemble_start_function, assemble_end_function): Remove arguments
  13646. from call to output_constant_pool.
  13647. (create_constant_pool): New function, split out from...
  13648. (init_varasm_status): ...here.
  13649. (force_const_mem): Choose between the shared and per-function constant
  13650. pools. Set current_function_uses_const_pool when reusing old entries
  13651. as well as when creating new ones.
  13652. (mark_constant): Ignore data argument.
  13653. (mark_constants): Remove pool argument.
  13654. (mark_constant_pool): Likewise. Use current_function_uses_const_pool
  13655. to decide whether the function uses a constant pool.
  13656. (output_constant_pool_contents): New function, split out from...
  13657. (output_constant_pool): ...here.
  13658. (output_shared_constant_pool): New function.
  13659. (init_varasm_once): Initialize shared_constant_pool.
  13660. * output.h (output_constant_pool): Delete.
  13661. (output_shared_constant_pool): Declare.
  13662. * config/s390/s390-protos.h (s390_output_constant_pool): Delete.
  13663. * config/i386/i386.c (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Override.
  13664. 2006-03-06 Nick Clifton <nickc@redhat.com>
  13665. * config/m32r/m32r.h (OPTIMIZATION_OPTIONS): Remove reference to
  13666. flag_strength_reduce.
  13667. 2006-03-06 Ben Elliston <bje@au.ibm.com>
  13668. * config.gcc: Add t-dfprules to $tmake_file for i*86-*-linux* and
  13669. x86_64-*-linux* configurations.
  13670. * config/dfp-bit.h (CMPtype): Typedef to a word mode integer.
  13671. (LIBGCC2_WORDS_BIG_ENDIAN): Define.
  13672. 2006-03-05 Kazu Hirata <kazu@codesourcery.com>
  13673. * tree-ssa-threadupdate.c (rediscover_loops_after_threading):
  13674. Remove.
  13675. * basic-block.h: Remove the extern for
  13676. rediscover_loops_after_threading.
  13677. * cfgloop.c (cancel_loop): Make it static.
  13678. * cfgloop.h: Remove the prototype for cancel_loop.
  13679. * flow.c (recompute_reg_usage): Make it static.
  13680. * rtl.h: Remove the prototype for recompute_reg_usage.
  13681. * function.c (use_return_register): Make it static.
  13682. * function.h: Remove the prototype.
  13683. 2006-03-05 Kazu Hirata <kazu@codesourcery.com>
  13684. * recog.c (volatile_mem_p, validate_change_maybe_volatile):
  13685. Remove.
  13686. * recog.h: Remove the prototype for
  13687. validate_change_maybe_volatile.
  13688. 2006-03-05 Kazu Hirata <kazu@codesourcery.com>
  13689. * rtlanal.c (replace_reg): Remove.
  13690. * rtl.h: Remove the prototype for replace_reg.
  13691. 2006-03-05 Kazu Hirata <kazu@codesourcery.com>
  13692. * regclass.c (reg_scan_update): Remove.
  13693. (reg_scan_mark_refs): Remove the last argument.
  13694. * rtl.h: Remove the prototype for reg_scan_update.
  13695. 2006-03-04 Kazu Hirata <kazu@codesourcery.com>
  13696. * builtins.c, c-pragma.h, c-typeck.c, cgraph.c, cgraphunit.c,
  13697. combine.c, common.opt, config/dfp-bit.c, config/i386/i386.c,
  13698. config/m68k/m68k.c, config/m68k/m68k.md, config/mt/mt.c,
  13699. config/mt/mt.h, config/s390/s390.md, df-core.c, df-problems.c,
  13700. df-scan.c, df.h, diagnostic.c, expr.c, function.h, gimplify.c,
  13701. loop-invariant.c, omp-low.c, opts.c, passes.c,
  13702. rtl-factoring.c, rtlanal.c, struct-equiv.c, tree-cfgcleanup.c,
  13703. tree-ssa-loop-niter.c, tree-ssa-loop-prefetch.c,
  13704. tree-ssa-structalias.c, tree-ssa-threadedge.c,
  13705. tree-ssa-threadupdate.c, tree-vect-patterns.c,
  13706. tree-vect-transform.c, tree-vectorizer.h, tree-vrp.c,
  13707. unwind-dw2.c: Fix comment typos. Follow spelling conventions.
  13708. 2006-03-04 Kazu Hirata <kazu@codesourcery.com>
  13709. * dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
  13710. * dwarf2out.h: Remove the prototype for
  13711. dwarf2out_add_library_unit_info.
  13712. 2006-03-04 Kazu Hirata <kazu@codesourcery.com>
  13713. * tree.c (add_var_to_bind_expr): Remove.
  13714. * tree.h: Remove the prototype for add_var_to_bind_expr.
  13715. 2006-03-04 Kazu Hirata <kazu@codesourcery.com>
  13716. * regclass.c (n_non_fixed_regs): Remove.
  13717. (init_reg_sets_1, globalize_reg): Remove all uses of
  13718. n_non_fixed_regs.
  13719. * hard-reg-set.h: Remove the extern for n_non_fixed_regs.
  13720. 2006-03-04 Kazu Hirata <kazu@codesourcery.com>
  13721. * rtlanal.c (insns_safe_to_move_p): Remove.
  13722. * rtl.h: Remove the prototype for insns_safe_to_move_p.
  13723. 2006-03-04 Kazu Hirata <kazu@codesourcery.com>
  13724. * expmed.c (expand_mult_add): Remove.
  13725. * expr.h: Remove the prototype for expand_mult_add.
  13726. 2006-03-04 Jakub Jelinek <jakub@redhat.com>
  13727. * unwind-dw2.h (_Unwind_FrameState): Add REG_SAVED_VAL_OFFSET
  13728. and REG_SAVED_VAL_EXP constants.
  13729. * unwind-dw2.c (struct _Unwind_Context): Add by_value array.
  13730. (_Unwind_GetGR, _Unwind_SetGR, _Unwind_GetGRPtr, _Unwind_SetGRPtr):
  13731. Handle regs stored by value.
  13732. (_Unwind_SetGRValue, _Unwind_GRByValue): New functions.
  13733. (execute_cfa_program): Handle DW_CFA_val_offset,
  13734. DW_CFA_val_offset_sf and DW_CFA_val_expression.
  13735. (uw_update_context_1): Handle REG_SAVED_REG with regs stored by
  13736. value specially. Handle REG_SAVED_VAL_OFFSET and REG_SAVED_VAL_EXP.
  13737. (uw_install_context_1): Handle target regs stored by value.
  13738. 2006-03-03 Daniel Berlin <dberlin@dberlin.org>
  13739. * tree-sra.c (tree_sra): Return todoflags;
  13740. (generate_one_element): Set TODO_update_smt_usage if needed.
  13741. (pass_sra): Remove TODO_update_smt_usage.
  13742. * tree-ssa-forwprop.c (forward_propagate_addr_expr): Add some
  13743. parameter.
  13744. (tree_ssa_forward_propagate_single_use_vars): Return
  13745. TODO_update_smt_usage if we need to update SMT usage.
  13746. (pass_forwprop): Remove TODO_update_smt_usage.
  13747. 2006-03-03 Diego Novillo <dnovillo@redhat.com>
  13748. * tree-ssa-operands.c: Tidy whitespace. Fix spelling.
  13749. (correct_use_link): Remove reference to get_stmt_operands.
  13750. (update_stmt_operands): Likewise.
  13751. (get_modify_expr_operands): New function factored out of
  13752. parse_ssa_operands and get_expr_operands.
  13753. Try to create V_MUST_DEFs for LHS by default.
  13754. (get_expr_operands) <case MODIFY_EXPR>: Call
  13755. get_modify_expr_operands.
  13756. <case ARRAY_RANGE_REF>: Handle together with ARRAY_REF.
  13757. <case BIT_FIELD_REF>: Clear opf_kill_def from FLAGS.
  13758. (parse_ssa_operands) <case MODIFY_EXPR>: Call
  13759. get_modify_expr_operands.
  13760. 2006-03-03 Kazu Hirata <kazu@codesourcery.com>
  13761. * tree-dfa.c (referenced_var_lookup_if_exists): Remove.
  13762. * tree-flow.h: Remove the prototype for
  13763. referenced_var_lookup_if_exists.
  13764. 2006-03-03 Steve Ellcey <sje@cup.hp.com>
  13765. PR rtl-optimization/26345
  13766. PR target/19061
  13767. * config/ia64/predicates.md (basereg_operand): Don't look in subregs.
  13768. 2006-03-03 Roger Sayle <roger@eyesopen.com>
  13769. PR tree-optimization/26524
  13770. * tree-scalar-evolution.c (interpret_rhs_modify_expr): Use
  13771. fold_convert to create a constant of the appropriate type.
  13772. 2006-03-03 Richard Sandiford <richard@codesourcery.com>
  13773. * doc/tm.texi: Refer to SYMBOL_REF_HAS_BLOCK_INFO_P instead of
  13774. SYMBOL_REF_IN_BLOCK_P.
  13775. * doc/rtl.texi: Likewise. Refer to SYMBOL_FLAG_HAS_BLOCK_INFO instead
  13776. of SYMBOL_FLAG_IN_BLOCK.
  13777. * gengtype.c (adjust_field_rtx_def): Use SYMBOL_REF_HAS_BLOCK_INFO_P
  13778. instead of SYMBOL_REF_IN_BLOCK_P.
  13779. * explow.c (use_anchored_address): Likewise.
  13780. * rtl.c (rtx_size): Likewise.
  13781. * varasm.c (create_block_symbol): Set SYMBOL_FLAG_HAS_BLOCK_INFO
  13782. instead of SYMBOL_FLAG_IN_BLOCK.
  13783. (make_decl_rtl): Use SYMBOL_REF_HAS_BLOCK_INFO_P instead of
  13784. SYMBOL_REF_IN_BLOCK_P.
  13785. (assemble_variable): Likewise.
  13786. (output_constant_def_contents): Likewise.
  13787. (output_constant_pool): Likewise.
  13788. (default_encode_section_info): Preserve SYMBOL_FLAG_HAS_BLOCK_INFO
  13789. instead of SYMBOL_FLAG_IN_BLOCK.
  13790. * rtl.h (block_symbol): Refer to SYMBOL_REF_HAS_BLOCK_INFO_P instead of
  13791. SYMBOL_REF_IN_BLOCK_P.
  13792. (SYMBOL_REF_BLOCK): Likewise.
  13793. (SYMBOL_REF_OFFSET): Likewise.
  13794. (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_HAS_BLOCK_INFO_P instead of
  13795. SYMBOL_REF_IN_BLOCK_P.
  13796. (SYMBOL_FLAG_IN_BLOCK): Replace with...
  13797. (SYMBOL_FLAG_HAS_BLOCK_INFO): ...this.
  13798. (SYMBOL_REF_IN_BLOCK_P): Replace with...
  13799. (SYMBOL_REF_HAS_BLOCK_INFO_P): ...this.
  13800. 2006-03-03 Jakub Jelinek <jakub@redhat.com>
  13801. * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Fix pasto.
  13802. 2006-03-02 Roger Sayle <roger@eyesopen.com>
  13803. * simplify-rtx.c (simplify_unary_operation): When simplifying
  13804. (neg (lt X 0)) into (ashiftrt X C) or (lshiftrt X C), make sure
  13805. that we perform the right shift in the appropriate mode, and
  13806. then extend or truncate the result to requested mode.
  13807. 2006-03-03 Zdenek Dvorak <dvorakz@suse.cz>
  13808. * gengtype.c (main): Handle double_int type.
  13809. * tree.h (struct tree_int_cst): Make type of int_cst double_int.
  13810. * double-int.c: New file.
  13811. * double-int.h: New file.
  13812. * system.h: Include doubleint.h.
  13813. * Makefile.in (SYSTEM_H): Include double-int.h.
  13814. (double-int.o): Add.
  13815. 2006-03-03 Joseph S. Myers <joseph@codesourcery.com>
  13816. PR bootstrap/26478
  13817. * Makefile.in (stmp-int-hdrs): Remove include/unwind.h before
  13818. copying over it.
  13819. 2006-03-02 Zdenek Dvorak <dvorakz@suse.cz>
  13820. * tree-vrp.c (remove_range_assertions): Do not update statements
  13821. unnecessarily.
  13822. 2006-03-02 Zdenek Dvorak <dvorakz@suse.cz>
  13823. * cse.c (rest_of_handle_cse): Do not pass CLEANUP_PRE_LOOP to cfg
  13824. cleanup.
  13825. * gcse.c (rest_of_handle_gcse): Ditto.
  13826. * except.c (gate_handle_eh): Ditto.
  13827. * cfgcleanup.c (rest_of_handle_jump2): Ditto.
  13828. * basic-block.h (CLEANUP_PRE_LOOP): Remove.
  13829. 2006-03-02 Eric Christopher <echristo@apple.com>
  13830. * config/i386/i386.c (machopic_output_stub): Add indirection to
  13831. jump.
  13832. 2006-03-02 Zdenek Dvorak <dvorakz@suse.cz>
  13833. * loop.c: Removed.
  13834. 2006-03-02 David S. Miller <davem@sunset.davemloft.net>
  13835. Sun Niagara specific optimizations.
  13836. * config.gcc: Recognize niagara as target.
  13837. * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Mention Niagara.
  13838. (TARGET_CPU_niagara): Define.
  13839. (CPP_CPU64_DEFAULT_SPEC): Define __sparc_v9__ for Niagara.
  13840. (ASM_CPU64_DEFAULT_SPEC): Pass -Av9b for Niagara.
  13841. (CPP_CPU_SPEC): Handle -mcpu=niagara.
  13842. (ASM_CPU_SPEC): Likewise.
  13843. (PROCESSOR_NIAGARA): New enum entry.
  13844. (REGISTER_MOVE_COST): Handle Niagara.
  13845. (BRANCH_COST, PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): Likewise.
  13846. * config/sparc/sparc.c (niagara_costs): New processor_costs entry.
  13847. (sparc_override_options): Recognize "niagara", set appropriate
  13848. default MASK_* values for it, and align functions to 32-bytes
  13849. by default just like ULTRASPARC/ULTRASPARC3.
  13850. (sparc_initialize_trampoline): Handle niagara like ultrasparc.
  13851. (sparc64_initialize_trampoline): Likewise.
  13852. (sparc_use_sched_lookahead): Use zero for niagara.
  13853. (sparc_issue_rate): Use one for niagara.
  13854. * config/sparc/niagara.md: New file.
  13855. * config/sparc/sparc.md: Include it.
  13856. * config/sparc/sol2-bi.h (CPP_CPU64_DEFAULT_SPEC,
  13857. ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC): Set appropriately
  13858. when default cpu is niagara.
  13859. (CPP_CPU_SPEC): Handle -mcpu=niagara.
  13860. (ASM_CPU_SPEC): Likewise.
  13861. * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Set appropriately
  13862. when default cpu is niagara.
  13863. (ASM_CPU_SPEC): Handle -mcpu=niagara.
  13864. * config/sparc/linux64.h: Handle a default of TARGET_CPU_niagara
  13865. just like v9/ultrasparc/ultrasparc3.
  13866. * doc/invoke.texi: Add documentation for "niagara" and improve
  13867. existing documentation for ultrasparc variants.
  13868. 2006-03-02 Diego Novillo <dnovillo@redhat.com>
  13869. * tree-ssa-operands.c (update_stmt_operands): Update documentation.
  13870. 2006-03-02 Richard Sandiford <richard@codesourcery.com>
  13871. * doc/tm.texi (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Document.
  13872. (ASM_OUTPUT_BSS): Describe the two ways of handling global BSS,
  13873. and say that only one is needed.
  13874. * doc/rtl.texi (SYMBOL_REF_BLOCK): Say that the block can be null.
  13875. * target.h (have_switchable_bss_sections): New hook.
  13876. * explow.c (use_anchored_address): Check that the symbol is in a block.
  13877. * varasm.c (tls_comm_section, comm_section, lcomm_section)
  13878. (bss_noswitch_section): New variables.
  13879. (get_unnamed_section): Add SECTION_UNNAMED to the flags.
  13880. (get_noswitch_section): New function.
  13881. (get_block_for_section): Allow SECT to be null.
  13882. (unlikely_text_section_p): Use SECTION_STYLE.
  13883. (bss_initializer_p): New function.
  13884. (get_variable_section): Move earlier in file. Take a new argument,
  13885. prefer_noswitch_p. Move bss checks from assemble_variable to here.
  13886. Return one of the new *_sections in such cases.
  13887. (get_block_for_decl): New function, extracting some logic from
  13888. use_blocks_for_decl_p.
  13889. (change_symbol_section): Remove in favor of...
  13890. (change_symbol_block): ...this new function.
  13891. (use_blocks_for_decl_p): Remove checks now performed by
  13892. get_block_for_decl.
  13893. (make_decl_rtl): Use change_symbol_block and get_block_for_decl.
  13894. (ASM_EMIT_LOCAL, ASM_EMIT_BSS, ASM_EMIT_COMMON): Delete in favor of...
  13895. (emit_local, emit_bss, emit_common): ...these new functions.
  13896. Return true if the alignment was honored.
  13897. (emit_tls_common): New function.
  13898. (asm_emit_uninitialised): Delete.
  13899. (assemble_variable_noswitch): New function, split out from...
  13900. (assemble_variable): ...here. Don't make decisions about common
  13901. variables here. Globalize all public decls that go into non-common
  13902. sections. Check whether SYMBOL_REF_BLOCK is null.
  13903. (output_constant_def_contents): Check whether SYMBOL_REF_BLOCK is null.
  13904. (output_constant_pool): Likewise.
  13905. (init_varasm_once): Initialize the new section variables.
  13906. (have_global_bss_p): New function.
  13907. (categorize_decl_for_section): Use bss_initializer_p.
  13908. (switch_to_section): Use SECTION_STYLE. Abort for SECTION_NOSWITCH.
  13909. (place_block_symbol): Assert that the symbol must be in a block.
  13910. * target-def.h (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): New macro.
  13911. (TARGET_INITIALIZER): Include it.
  13912. * rtl.h (SYMBOL_REF_BLOCK): Document the null alternative.
  13913. * output.h (SECTION_STYLE_MASK, SECTION_COMMON): New macros.
  13914. (SECTION_MACH_DEP): Bump by two.
  13915. (SECTION_UNNAMED, SECTION_NOSWITCH): New macros.
  13916. (unnamed_section): Mention SECTION_UNNAMED in comment.
  13917. (named_section): Likewise SECTION_NAMED.
  13918. (noswitch_section_callback): New type.
  13919. (noswitch_section): New structure.
  13920. (section): Add a noswitch_section alternative.
  13921. (SECTION_STYLE): New macro.
  13922. (tls_comm_section, comm_section, lcomm_section): Declare.
  13923. (bss_noswitch_section, have_global_bss_p): Declare.
  13924. * config/elfos.h (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Override.
  13925. * config/iq2000/iq2000.c (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS):
  13926. Override.
  13927. * config/v850/v850.c (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Override.
  13928. * config/stormy16/stormy16.c (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS):
  13929. Override.
  13930. 2006-03-02 Daniel Berlin <dberlin@dberlin.org>
  13931. * tree-vrp.c (execute_vrp): Return value.
  13932. * regrename.c (rest_of_handle_regrename): Ditto.
  13933. * tree-into-ssa.c (rewrite_into_ssa): Ditto.
  13934. * tree-complex.c (tree_lower_complex): Ditto.
  13935. (tree_lower_complex_O0): Ditto.
  13936. * tracer.c (rest_of_handle_tracer): Ditto.
  13937. * postreload-gcse.c (rest_of_handle_gcse2): Ditto.
  13938. * postreload.c (rest_of_handle_postreload): Ditto.
  13939. * tree-tailcall.c (execute_tail_recursion): Ditto.
  13940. (execute_tail_calls): Ditto.
  13941. * tree-ssa-loop-ch.c (copy_loop_headers): Ditto.
  13942. * tree.h (init_function_for_compilation): Ditto.
  13943. * ipa-cp.c (ipcp_driver): Ditto.
  13944. * tree-scalar-evolution.c (scev_const_prop): Ditto.
  13945. * tree-scalar-evolution.h (scev_const_prop): Ditto.
  13946. * final.c (compute_alignments): Ditto.
  13947. (rest_of_handle_final): Ditto.
  13948. (rest_of_handle_shorten_branches): Ditto.
  13949. (rest_of_clean_state): Ditto.
  13950. * omp-low.c (execute_expand_omp): Ditto.
  13951. (execute_lower_omp): Ditto.
  13952. * tree-ssa-dse.c (tree_ssa_dse): Ditto.
  13953. * ipa-reference.c (static_execute): Ditto.
  13954. * tree-ssa-uncprop.c (tree_ssa_uncprop): Ditto.
  13955. * reorg.c (rest_of_handle_delay_slots): Ditto.
  13956. (rest_of_handle_machine_reorg): Ditto.
  13957. * cgraphunit.c (rebuild_cgraph_edges): Ditto.
  13958. * flow.c (recompute_reg_usage): Ditto.
  13959. (rest_of_handle_remove_death_notes): Ditto.
  13960. (rest_of_handle_life): Ditto.
  13961. (rest_of_handle_flow2): Ditto.
  13962. * tree-ssa-copyrename.c (rename_ssa_copies): Ditto.
  13963. * tree-ssa-ccp.c (do_ssa_ccp): Ditto.
  13964. (do_ssa_store_ccp): Ditto.
  13965. (execute_fold_all_builtins): Ditto.
  13966. * mode-switching.c (rest_of_handle_mode_switching): Ditto.
  13967. * modulo-sched.c (rest_of_handle_sms): Ditto.
  13968. * ipa-pure-const.c (static_execute): Ditto.
  13969. * cse.c (rest_of_handle_cse): Ditto.
  13970. (rest_of_handle_cse2): Ditto.
  13971. * web.c (rest_of_handle_web): Ditto.
  13972. * tree-stdarg.c (execute_optimize_stdarg): Ditto.
  13973. * tree-ssa-math-opts.c (execute_cse_reciprocals): Ditto.
  13974. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Ditto.
  13975. * tree-nrv.c (tree_nrv): Ditto.
  13976. (execute_return_slot_opt): Ditto.
  13977. * tree-ssa-alias.c (compute_may_aliases): Ditto.
  13978. (create_structure_vars): Ditto.
  13979. * loop-init.c (rtl_loop_init): Ditto.
  13980. (rtl_loop_done): Ditto.
  13981. (rtl_move_loop_invariants): Ditto.
  13982. (rtl_unswitch): Ditto.
  13983. (rtl_unroll_and_peel_loops): Ditto.
  13984. (rtl_doloop): Ditto.
  13985. * gimple-low.c (lower_function_body): Ditto.
  13986. (mark_used_blocks): Ditto.
  13987. * tree-ssa-sink.c (execute_sink_code): Ditto.
  13988. * ipa-inline.c (cgraph_decide_inlining): Ditto.
  13989. (cgraph_early_inlining): Ditto.
  13990. * global.c (rest_of_handle_global_alloc): Ditto.
  13991. * jump.c (cleanup_barriers): Ditto.
  13992. (purge_line_number_notes): Ditto.
  13993. * ifcvt.c (rest_of_handle_if_conversion): Ditto.
  13994. (rest_of_handle_if_after_reload): Ditto.
  13995. * tree-ssa-loop.c (tree_ssa_loop_init): Ditto.
  13996. (tree_ssa_loop_im): Ditto.
  13997. (tree_ssa_loop_unswitch): Ditto.
  13998. (tree_vectorize): Ditto.
  13999. (tree_linear_transform): Ditto.
  14000. (tree_ssa_loop_ivcanon): Ditto.
  14001. (tree_ssa_empty_loop): Ditto.
  14002. (tree_ssa_loop_bounds): Ditto.
  14003. (tree_complete_unroll): Ditto.
  14004. (tree_ssa_loop_prefetch): Ditto.
  14005. (tree_ssa_loop_ivopts): Ditto.
  14006. (tree_ssa_loop_done): Ditto.
  14007. * predict.c (tree_estimate_probability): Ditto.
  14008. * recog.c (split_all_insns_noflow): Ditto.
  14009. (rest_of_handle_peephole2): Ditto.
  14010. (rest_of_handle_split_all_insns): Ditto.
  14011. * tree-eh.c (lower_eh_constructs): Ditto.
  14012. * regmove.c (rest_of_handle_regmove): Ditto.
  14013. (rest_of_handle_stack_adjustments): Ditto.
  14014. * local-alloc.c (rest_of_handle_local_alloc): Ditto.
  14015. * function.c (instantiate_virtual_regs): Ditto.
  14016. (init_function_for_compilation): Ditto.
  14017. (rest_of_handle_check_leaf_regs): Ditto.
  14018. * gcse.c (rest_of_handle_jump_bypass): Ditto.
  14019. (rest_of_handle_gcse): Ditto.
  14020. * ipa-type-escape.c (type_escape_execute): Ditto.
  14021. * alias.c (rest_of_handle_cfg): Ditto.
  14022. * tree-if-conv.c (main_tree_if_conversion): Ditto.
  14023. * profile.c (rest_of_handle_branch_prob): Ditto.
  14024. * tree-ssa-phiopt.c (tree_ssa_phiopt): Ditto.
  14025. * rtl-factoring.c (rest_of_rtl_seqabstr): Ditto.
  14026. * bt-load.c (rest_of_handle_branch_target_load_optimize): Ditto
  14027. * tree-dfa.c (find_referenced_vars): Ditto.
  14028. * except.c (set_nothrow_function_flags): Ditto.
  14029. (convert_to_eh_region_ranges): Ditto.
  14030. (rest_of_handle_eh): Ditto.
  14031. * emit-rtl.c (unshare_all_rtl): Ditto.
  14032. (remove_unnecessary_notes): Ditto.
  14033. * except.h (set_nothrow_function_flags): Ditto.
  14034. (convert_to_eh_region_ranges): Ditto.
  14035. * cfgexpand.c (tree_expand_cfg): Ditto.
  14036. * tree-cfgcleanup.c (merge_phi_nodes): Ditto.
  14037. * tree-ssa-pre.c (do_pre): Ditto.
  14038. (execute_fre): Ditto.
  14039. * cfgcleanup.c (rest_of_handle_jump): Ditto.
  14040. (rest_of_handle_jump2): Ditto.
  14041. * tree-sra.c (tree_sra): Ditto.
  14042. * tree-mudflap.c (execute_mudflap_function_ops): Ditto.
  14043. (execute_mudflap_function_decls): Ditto.
  14044. * tree-ssa-copy.c (do_copy_prop): Ditto.
  14045. (do_store_copy_prop): Ditto.
  14046. * ipa-prop.h (ipcp_driver): Ditto.
  14047. * cfglayout.c (insn_locators_initialize): Ditto.
  14048. * tree-ssa-forwprop.c
  14049. (tree_ssa_forward_propagate_single_use_vars): Ditto.
  14050. * cfglayout.h (insn_locators_initialize): Ditto.
  14051. * tree-ssa-dce.c (tree_ssa_dce): Ditto.
  14052. * tree-ssa.c (execute_early_warn_uninitialized): Ditto.
  14053. (execute_late_warn_uninitialized): Ditto.
  14054. * rtl.h (cleanup_barriers): Ditto.
  14055. (split_all_insns_noflow): Ditto.
  14056. (purge_line_number_notes): Ditto.
  14057. (unshare_all_rtl): Ditto.
  14058. (remove_unnecessary_notes): Ditto.
  14059. (recompute_reg_usage): Ditto.
  14060. (variable_tracking_main): Ditto.
  14061. * integrate.c (emit_initial_value_sets): Ditto.
  14062. * integrate.h (emit_initial_value_sets): Ditto.
  14063. * tree-optimize.c (execute_free_datastructures): Ditto
  14064. (execute_free_cfg_annotations): Ditto.
  14065. (execute_fixup_cfg): Ditto.
  14066. (execute_cleanup_cfg_pre_ipa): Ditto.
  14067. (execute_cleanup_cfg_post_optimizing): Ditto.
  14068. (execute_init_datastructures): Ditto.
  14069. * tree-object-size.c (compute_object_sizes): Ditto.
  14070. * combine.c (rest_of_handle_combine): Ditto.
  14071. * tree-outof-ssa.c (rewrite_out_of_ssa): Ditto.
  14072. * bb-reorder.c (duplicate_computed_gotos): Ditto.
  14073. (rest_of_handle_reorder_blocks): Ditto.
  14074. (rest_of_handle_partition_blocks): Ditto.
  14075. * var-tracking.c (variable_tracking_main): Ditto.
  14076. * tree-profile.c (tree_profiling): Ditto.
  14077. * tree-vect-generic.c (expand_vector_operations): Ditto.
  14078. * reg-stack.c (rest_of_handle_stack_regs): Ditto.
  14079. * sched-rgn.c (rest_of_handle_sched): Ditto.
  14080. (rest_of_handle_sched2): Ditto.
  14081. * basic-block.h (free_bb_insn): Ditto.
  14082. * tree-ssa-structalias.c (ipa_pta_execute): Ditto.
  14083. * tree-cfg.c (execute_build_cfg): Ditto.
  14084. (remove_useless_stmts): Ditto.
  14085. (split_critical_edges): Ditto.
  14086. (execute_warn_function_return): Ditto.
  14087. (execute_warn_function_noreturn): Ditto.
  14088. * tree-ssa-reassoc.c (execute_reassoc): Ditto.
  14089. * cfgrtl.c (free_bb_for_insn): Ditto.
  14090. * passes.c (execute_one_pass): Run additional
  14091. todos returned by execute function.
  14092. * tree-pass.h (struct tree_opt_pass): Make execute
  14093. return a value.
  14094. 2006-03-02 Richard Guenther <rguenther@suse.de>
  14095. * tree-ssa-alias.c (find_used_portions): Consider taking
  14096. the address as making the variable not write-only.
  14097. 2006-03-02 Nick Clifton <nickc@redhat.com>
  14098. * config.gcc (default_use_cxa_atexit): Extend the description of
  14099. this configure variable. Set its default value to "yes" for
  14100. Linux, NetBSD and ELF targets on the assumption that they will
  14101. use C libraries with the __cxa_atexit function.
  14102. 2006-03-02 Ben Elliston <bje@au.ibm.com>
  14103. * config/rs6000/linux-unwind.h (frob_update_context): Mark `fs'
  14104. parameter as unused to suppress a build warning.
  14105. 2006-03-02 Ben Elliston <bje@au.ibm.com>
  14106. * mklibgcc.in: Depend on config/dfp-bit.h in rules that compile
  14107. config/dfp-bit.c.
  14108. 2006-03-01 Roger Sayle <roger@eyesopen.com>
  14109. PR other/26489
  14110. * gthr-posix.h (__gthrw2): Define to take three parameters, the
  14111. declared name, the weak reference name, and the typeof name.
  14112. (__gthrw): Avoid expanding the declared name suffix.
  14113. (__gthrw3): New Tru64 specific macro to simplify the OSF/1 decls.
  14114. 2006-03-01 Jakub Jelinek <jakub@redhat.com>
  14115. * dwarf2.h (DW_TAG_condition, DW_TAG_shared_type): New constants
  14116. from DWARF 3.
  14117. (DW_AT_description, DW_AT_binary_scale, DW_AT_decimal_scale,
  14118. DW_AT_small, DW_AT_decimal_sign, DW_AT_digit_count,
  14119. DW_AT_picture_string, DW_AT_mutable, DW_AT_threads_scaled,
  14120. DW_AT_explicit, DW_AT_object_pointer, DW_AT_endianity,
  14121. DW_AT_elemental, DW_AT_pure, DW_AT_recursive): New.
  14122. (DW_OP_form_tls_address, DW_OP_call_frame_cfa, DW_OP_bit_piece): New.
  14123. (DW_ATE_packed_decimal, DW_ATE_numeric_string, DW_ATE_edited,
  14124. DW_ATE_signed_fixed, DW_ATE_unsigned_fixed): New.
  14125. (DW_DS_unsigned, DW_DS_leading_overpunch, DW_DS_trailing_overpunch,
  14126. DW_DS_leading_separate, DW_DS_trailing_separate): New.
  14127. (DW_END_default, DW_END_big, DW_END_little): New.
  14128. (DW_END_lo_user, DW_END_hi_user): Define.
  14129. (DW_LNE_lo_user, DW_LNE_hi_user): Define.
  14130. (DW_CFA_val_offset, DW_CFA_val_offset_sf, DW_CFA_val_expression): New.
  14131. (DW_LANG_PLI, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_UPC,
  14132. DW_LANG_D): New.
  14133. 2006-03-01 Diego Novillo <dnovillo@redhat.com>
  14134. * tree.def (SYMBOL_MEMORY_TAG): Rename from TYPE_MEMORY_TAG.
  14135. Update all users.
  14136. * tree-pass.h (PROP_smt_usage): Rename from PROP_tmt_usage.
  14137. Update all users.
  14138. (TODO_update_smt_usage): Rename from TODO_update_tmt_usage.
  14139. Update all users.
  14140. * tree.h (SMT_USED_ALONE): Rename from TMT_USED_ALONE.
  14141. Update all users.
  14142. * tree-flow.h (struct var_ann_d): Rename field 'type_mem_tag'
  14143. to 'symbol_mem_tag'.
  14144. Update all users.
  14145. * doc/tree-ssa.texi: Update documentation to reflect TMT->SMT
  14146. rename.
  14147. 2006-03-01 Roger Sayle <roger@eyesopen.com>
  14148. * builtins.c (fold_builtin_copysign): Delete unreachable code.
  14149. 2006-03-01 Andrew Pinski <pinskia@physics.uc.edu>
  14150. PR target/25761
  14151. * config/darwin.h (MACHOPIC_JUST_INDIRECT): Check just
  14152. MACHO_DYNAMIC_NO_PIC_P.
  14153. (MACHOPIC_PURE): Check flag_pic and not MACHO_DYNAMIC_NO_PIC_P.
  14154. 2006-03-01 Andrew Pinski <pinskia@physics.uc.edu>
  14155. PR target/26389
  14156. * config/darwin-protos.h (darwin_asm_output_anchor):
  14157. Declare.
  14158. * config/darwin-sections.def (cstring_section):
  14159. Add SECTION_MERGE to the flags.
  14160. (literal4_section): Likewise.
  14161. (literal8_section): Likewise.
  14162. (objc_selector_refs_section): Likewise.
  14163. (objc_cls_refs_section): Likewise.
  14164. * config/darwin.c (darwin_asm_output_anchor): New
  14165. function.
  14166. * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Define.
  14167. 2006-03-01 Daniel Berlin <dberlin@dberlin.org>
  14168. Fix PR tree-optimization/26443
  14169. * tree-vrp.c (pass_vrp): Add TODO_update_tmt_usage
  14170. to todo and PROP_tmt_usage to properties_destroyed.
  14171. * tree-ssa-ccp.c (pass_ccp): Ditto.
  14172. (pass_store_ccp): Ditto.
  14173. * tree-ssa-dom.c (pass_dominator): Ditto.
  14174. 2006-03-01 Diego Novillo <dnovillo@redhat.com>
  14175. * tree-ssa-operands.c: Cleanup whitespace.
  14176. (get_asm_expr_operands): Move before first invocation.
  14177. (get_indirect_ref_operands): Likewise.
  14178. (get_tmr_operands): Likewise.
  14179. (get_call_expr_operands): Likewise.
  14180. (append_def): Likewise.
  14181. (append_use): Likewise.
  14182. (append_v_may_def): Likewise.
  14183. (append_v_must_def): Likewise.
  14184. (add_call_clobber_ops): Likewise.
  14185. (add_call_read_ops): Likewise.
  14186. (add_stmt_operand): Likewise.
  14187. (add_virtual_operand): Likewise.
  14188. (build_ssa_operands): Likewise.
  14189. 2006-03-01 Andrew Pinski <pinskia@physics.uc.edu>
  14190. PR middle-end/26022
  14191. Revert:
  14192. PR middle-end/24437
  14193. * tree-ssa-ccp.c (fold_stmt): Move folding of OBJ_TYPE_REF
  14194. with a call expr to ...
  14195. * fold-const.c (fold_ternary) <case CALL_EXPR>: Here.
  14196. 2006-03-01 Diego Novillo <dnovillo@redhat.com>
  14197. * tree-vrp.c (extract_range_from_assert): Remove special
  14198. handling for types with super-types.
  14199. 2006-03-01 Ben Elliston <bje@au.ibm.com>
  14200. * config.gcc: Add t-dfprules to $tmake_file for powerpc-*-linux*
  14201. and powerpc64-*-linux* configurations.
  14202. * config/t-dfprules: New file.
  14203. * mklibgcc.in: Add logic to handle $DFP_ENABLE and $DFP_CFLAGS.
  14204. Compile dfp-bit.c from the source directory using -DWIDTH and
  14205. $DFP_CFLAGS to control the compilation of that file, rather than
  14206. generating width-specific versions in the build directory.
  14207. * Makefile.in (libgcc.mk): Pass down DFP_ENABLE and DFP_CFLAGS.
  14208. (LIBGCC_DEPS): Replace $(D32PBIT) et al with config/dfp-bit.[hc].
  14209. 2006-02-28 Zack Weinberg <zackw@panix.com>
  14210. * doc/md.texi: Avoid use of @headitem so that makeinfo <4.7
  14211. continues to work.
  14212. 2006-02-28 Eric Christopher <echristo@apple.com>
  14213. * config/rs6000/darwin.h (ENABLE_STACK_EXECUTE): Define.
  14214. Set up IN_LIBGCC definition of TARGET_64BIT.
  14215. * config/i386/darwin.h (ENABLE_STACK_EXECUTE): Define.
  14216. 2006-02-28 Roger Sayle <roger@eyesopen.com>
  14217. PR middle-end/14752
  14218. * c-common.c (c_common_truthvalue_conversion) <MINUS_EXPR,
  14219. BIT_XOR_EXPR, BIT_AND_EXPR>: Delete. Let fold optimize these
  14220. cases via the construction of "expr != 0".
  14221. 2006-02-28 Steven Bosscher <stevenb.gcc@gmail.com>
  14222. * alias.c (alias_invariant, alias_invariant_size): Remove.
  14223. (record_base_value): Remove.
  14224. (memrefs_conflict_p): Don't look at alias_invariant.
  14225. (end_alias_analysis): Don't free it.
  14226. * alias.h (record_base_value): Remove prototype.
  14227. 2006-02-28 Paolo Bonzini <bonzini@gnu.org>
  14228. Adam Nemet <anemet@caviumnetworks.com>
  14229. * rtl.h (truncated_to_mode): Declare it.
  14230. (struct rtl_hooks): Add reg_truncated_to_mode hook.
  14231. * rtlhooks-def.h (RTL_HOOKS_REG_TRUNCATED_TO_MODE): New macro.
  14232. (RTL_HOOKS_INITIALIZER): Include it.
  14233. * rtlhooks.c (reg_truncated_to_mode_general): New function.
  14234. * combine.c (RTL_HOOKS_REG_TRUNCATED_TO_MODE): Override to
  14235. reg_truncated_to_mode.
  14236. * rtlanal.c (truncated_to_mode): Define it.
  14237. * simplify-rtx.c (simplify_unary_operation_1): Use it.
  14238. 2006-02-28 Jeff Law <law@redhat.com>
  14239. * tree-chrec.c (chrec_convert_aggressive): Do not eliminate
  14240. conversions where TYPE_MIN_VALUE/TYPE_MAX_VALUE do not cover
  14241. the range allowed by TYPE_PRECISION.
  14242. * tree.h (strct phi_arg_d): Remove unused NONZERO field.
  14243. 2006-02-28 Dorit Nuzman <dorit@il.ibm.com>
  14244. PR tree-optimization/26419
  14245. * doc/invoke.texi (ftree-vectorizer-verbose): Add information on
  14246. values of n.
  14247. 2006-02-27 Zack Weinberg <zackw@panix.com>
  14248. * doc/md.texi: Fix typo in previous change.
  14249. 2006-02-27 Kenneth Zadeck <zadeck@naturalbridge.com>
  14250. * df.c: Remove.
  14251. 2006-02-27 Zack Weinberg <zackw@panix.com>
  14252. * rtl.def (define_constraint, define_register_constraint)
  14253. (define_memory_constraint, define_address_constraint): New MD forms.
  14254. * gensupport.c (process_rtx): Put define_constraint etc on the
  14255. predicate queue.
  14256. * genpreds.c (process_define_predicate): Adjust comment. Validate
  14257. the name, and call validate_exp to validate the expression.
  14258. (mark_mode_tests, write_extract_subexp): Can assume correct input.
  14259. (write_predicate_expr): Likewise. NAME argument no longer necessary;
  14260. all callers changed.
  14261. (validate_exp, needs_variable, struct constraint_data)
  14262. (constraints_by_letter_table, first_constraint, last_constraint_ptr)
  14263. (FOR_ALL_CONSTRAINTS, generic_constraint_letters, const_int_constraints)
  14264. (const_dbl_constraints, constraint_max_namelen)
  14265. (have_register_constraints, have_memory_constraints)
  14266. (have_address_constraints, have_address_constraints)
  14267. (have_extra_constraints, have_const_int_constraints)
  14268. (have_const_dbl_constraints, mangle, add_constraint)
  14269. (process_define_constraint, process_define_register_constraint)
  14270. (write_enum_constraint_num, write_lookup_constraint)
  14271. (write_insn_constraint_len, write_regclass_for_constraint)
  14272. (write_constraint_satisfied_p, write_insn_const_int_ok_for_constraint)
  14273. (write_insn_extra_memory_constraint)
  14274. (write_insn_extra_address_constraint)
  14275. (write_satisfies_constraint_fns): New.
  14276. (write_tm_preds_h): If we have new-style constraint definitions,
  14277. prototype the functions generated from them, and define the
  14278. old constraint interface (still used by generic code) in terms of
  14279. those functions.
  14280. (write_insn_preds_c): If we have new-style constraint definitions,
  14281. generate all relevant functions from those definitions.
  14282. (main): Handle define_constraint etc.
  14283. * genoutput.c (struct constraint_data, indep_constraints)
  14284. (mdep_constraint_letters, constraints_by_letter_table, note_constraint)
  14285. (mdep_constraint_len): New data structures and functions, defined
  14286. #ifdef USE_MD_CONSTRAINTS.
  14287. (check_constraint_len): Don't define #ifdef USE_MD_CONSTRAINTS.
  14288. (validate_insn_alternatives): If USE_MD_CONSTRAINTS is defined,
  14289. use new logic to validate operand constraints against constraint
  14290. definitions.
  14291. (main): Process define_constraint etc. if USE_MD_CONSTRAINTS is
  14292. defined.
  14293. * defaults.h: If none of the old-style constraint macros are
  14294. defined, define USE_MD_CONSTRAINTS; do not provide defaults for any
  14295. old-style macros; and poison REG_CLASS_FROM_LETTER,
  14296. CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, and
  14297. EXTRA_CONSTRAINT.
  14298. * recog.c (reg_fits_class_p): If cl is NO_REGS, return 0 immediately.
  14299. * doc/md.texi: Document new constraint-definition mechanism and the
  14300. C interface it provides. Remove references to old mechanism
  14301. elsewhere in the document.
  14302. (Machine Constraints): Use pathnames relative to gcc directory,
  14303. i.e. config/ARCH/FILE. Change i386 section to refer to
  14304. config/i386/predicates.md; update that section to match docstrings.
  14305. * doc/tm.texi: Move all documentation of the old constraint-
  14306. definition macros to their own section, clearly mark as obsolete.
  14307. * config/i386/predicates.md (R, q, Q, l, a, b, c, d, S, D, A, f, t)
  14308. (u, y, x, Y, I, J, K, L, M, N, O, G, C, e, Z): New constraint
  14309. definitions.
  14310. * config/i386/i386.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
  14311. (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Delete.
  14312. * config/i386/i386.md (*movdf_nointeger): Remove stray 'H' from
  14313. constraint strings.
  14314. (splits and peepholes): Use satisfies_constraint_*.
  14315. * config/i386/i386.c (memory_address_length)
  14316. (ix86_attr_length_immediate_default): Use satisfies_constraint_*.
  14317. 2006-02-27 Daniel Berlin <dberlin@dberlin.org>
  14318. * lambda-code.c (can_convert_to_perfect_nest): Allow any type of
  14319. scalar operation to be put back into the loop.
  14320. 2006-02-27 Jakub Jelinek <jakub@redhat.com>
  14321. PR other/26208
  14322. * unwind-dw2.c (struct _Unwind_Context): Add signal_frame field.
  14323. (extract_cie_info): Handle S flag in augmentation string.
  14324. (execute_cfa_program): If context->signal_frame, execute also
  14325. fs->pc == context->ra instructions.
  14326. (uw_frame_state_for): If context->signal_frame, don't subtract one
  14327. from context->ra to find FDE.
  14328. (uw_update_context_1): Set context->signal_frame to
  14329. fs->signal_frame.
  14330. (_Unwind_GetIPInfo): New function.
  14331. * unwind-dw2.h (_Unwind_FrameState): Add signal_frame field.
  14332. * unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
  14333. of _Unwind_GetIP.
  14334. * unwind-sjlj.c (_Unwind_GetIPInfo): New function.
  14335. * unwind-generic.h (_Unwind_GetIPInfo): New prototype.
  14336. * unwind-compat.c (_Unwind_GetIPInfo): New function.
  14337. * libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0.
  14338. * config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function.
  14339. * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define.
  14340. * config/i386/linux-unwind.h (x86_fallback_frame_state,
  14341. x86_64_fallback_frame_state): Set fs->signal_frame.
  14342. * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
  14343. (MD_FROB_UPDATE_CONTEXT): Define unconditionally.
  14344. (frob_update_context): Likewise. Workaround missing S flag in
  14345. Linux 2.6.12 - 2.6.16 kernel vDSOs.
  14346. * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
  14347. Remove the psw_addr + 1 hack.
  14348. 2006-02-27 Daniel Berlin <dberlin@dberlin.org>
  14349. * tree-ssa-structalias.c (get_constraint_for): Move code to deal
  14350. with aggregates here.
  14351. (find_func_aliases): Remove code for &<aggregate> from here.
  14352. 2006-02-26 Roger Sayle <roger@eyesopen.com>
  14353. * fold-const.c (fold_binary) <EQ_EXPR>: Fold (~X & C) eq/ne 0 as
  14354. (X & C) ne/eq 0, where C is a single bit, i.e. a power of two.
  14355. Fold both "((X & C) ^ C) eq/ne 0" and "((X ^ C) & C) eq/ne 0"
  14356. as (X & C) ne/eq 0.
  14357. 2006-02-26 Roger Sayle <roger@eyesopen.com>
  14358. PR middle-end/19983
  14359. * real.c (real_nan): Allow both 0x and 0X as hexadecimal prefixes.
  14360. 2006-02-26 Zdenek Dvorak <dvorakz@suse.cz>
  14361. * opts.c (decode_options): Do not handle flag_strength_reduce.
  14362. (common_handle_option): Handle OPT_floop_optimize, OPT_frerun_loop_opt
  14363. and OPT_fstrength_reduce.
  14364. * tree-ssa-loop.c (tree_ssa_loop_prefetch): Only test
  14365. flag_prefetch_loop_arrays for being nonzero.
  14366. * common.opt (floop-optimize, frerun-loop-opt): Resurrected as
  14367. no-ops.
  14368. (fprefetch-loop-arrays-rtl): Removed.
  14369. (flag_prefetch_loop_arrays): Do not specify the value.
  14370. * doc/passes.texi: Update documentation of loop optimizer
  14371. passes.
  14372. * doc/invoke.texi (-fstrength-reduce, -fprefetch-loop-arrays-rtl,
  14373. -frerun-loop-opt): Remove.
  14374. 2006-02-26 Richard Guenther <rguenther@suse.de>
  14375. PR tree-optimization/26421
  14376. * tree-ssa-alias.c (find_used_portions): Don't treat parameters
  14377. in function calls that are ADDR_EXPRs as using the whole structure.
  14378. 2006-02-26 Steven Bosscher <stevenb.gcc@gmail.com>
  14379. * common.opt (-floop-optimize, -frerun-loop-opt): Remove.
  14380. * tree-pass.h (pass_loop_optimize): Remove.
  14381. * passes.c (pass_loop_optimize): Never run it.
  14382. * toplev.c (backend_init): Don't call init_loop.
  14383. * opts.c (flag_loop_optimize_set): Remove.
  14384. (decode_options): Never set flag_loop_optimize or flag_rerun_loop_opt.
  14385. (common_handle_option) <OPT_floop_optimize>: Remove. Don't disable
  14386. the old RTL loop optimizer when profiling enabled.
  14387. * predict.c (tree_estimate_probability): Always strip builtin_expect.
  14388. * cfgcleanup.c (try_forward_edges): Don't avoid killing loop
  14389. pre-headers for the sake of the old RTL loop optimizer.
  14390. * Makefile.in: Remove all references to loop.o.
  14391. * doc/invoke.texi: Remove all references to -floop-optimize
  14392. and -frerun-loop-opt.
  14393. 2006-02-26 Zack Weinberg <zackw@panix.com>
  14394. * doc/md.texi (Machine Constraints): Refer to all files with paths
  14395. relative to gcc directory (i.e. config/CPU/file). Add missing
  14396. @table @code ... @end table to M32C subsection.
  14397. 2006-02-26 Roger Sayle <roger@eyesopen.com>
  14398. * fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & 1) ^ 1 as
  14399. (X & 1) == 0.
  14400. <BIT_AND_EXPR>: Fold (X ^ 1) & 1 and ~X & 1 as (X & 1) == 0.
  14401. 2006-02-26 Roger Sayle <roger@eyesopen.com>
  14402. James A. Morrison <phython@gcc.gnu.org>
  14403. PR middle-end/21137
  14404. * fold-const.c (fold_binary) <EQ_EXPR>: Fold ((X>>C1)&C2) eq/ne 0,
  14405. when C2 is a power of two, as either (X&(C2<<C1)) eq/ne 0 if the
  14406. new constant C2<<C1, or as (X<0) or (X,false) depending upon the
  14407. signedness of the shift operation.
  14408. 2006-02-26 Dorit Nuzman <dorit@il.ibm.com>
  14409. PR tree-optimization/26359
  14410. * tree-ssa-alias.c (new_type_alias): Set fields for new tag.
  14411. 2006-02-25 Roger Sayle <roger@eyesopen.com>
  14412. * simplify-rtx.c (simplify_relational_operation_1): Simplify
  14413. (X^Y) == 0 as X == Y and (X^Y) != 0 as X != Y. Simplify (X^Y) == Y
  14414. as X == 0, and some symmetry related transformations.
  14415. Simplify (X^C1) == C2 as X == (C1^C2). Split long comment line.
  14416. 2006-02-25 Roger Sayle <roger@eyesopen.com>
  14417. PR middle-end/23673
  14418. * fold-const.c (fold_binary) <EQ_EXPR>: Fold (X^Y) == 0 as X == Y
  14419. and (X^Y) != 0 as X != Y. Fold (X^Y) == Y as X == 0, and some
  14420. symmetry related transformations. Fold (X^C1) == C2 as
  14421. X == (C1^C2).
  14422. 2006-02-25 Juergen Weigert <jw@suse.de>
  14423. Richard Guenther <rguenther@suse.de>
  14424. * scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.
  14425. 2006-02-24 Adam Nemet <anemet@caviumnetworks.com>
  14426. * combine.c (gen_lowpart_or_truncate): Call
  14427. simplify_gen_unary(TRUNCATE, ...) instead of gen_rtx_TRUNCATE.
  14428. 2006-02-24 Diego Novillo <dnovillo@redhat.com>
  14429. * doc/invoke.texi: Move -fopenmp description to "Options for
  14430. Code Generation".
  14431. Remove reference to -lgomp.
  14432. 2006-02-24 David Edelsohn <edelsohn@gnu.org>
  14433. * doc/install.texi: Require GNU tar version 1.14.
  14434. 2006-02-24 Geoffrey Keating <geoffk@apple.com>
  14435. * doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS.
  14436. * doc/invoke.texi (C++ Dialect Options): Document
  14437. -fno-use-cxa-get-exception-ptr.
  14438. * configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1.
  14439. * configure: Regenerate.
  14440. * c.opt (fuse-cxa-get-exception-ptr): New.
  14441. * c-opts.c (c_common_handle_option): Handle
  14442. OPT_fuse_cxa_get_exception_ptr.
  14443. * c-common.c (flag_use_cxa_atexit): Update documentation.
  14444. (flag_use_cxa_get_exception_ptr): New.
  14445. * c-common.h (flag_use_cxa_get_exception_ptr): New.
  14446. * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve
  14447. documentation.
  14448. (C_COMMON_OVERRIDE_OPTIONS): New.
  14449. 2006-02-24 Roger Sayle <roger@eyesopen.com>
  14450. PR middle-end/24952
  14451. * combine.c (try_combine): Explicitly check whether GET_CODE is
  14452. a SET or a CLOBBER, instead on checking that it isn't a USE.
  14453. 2006-02-24 Roger Sayle <roger@eyesopen.com>
  14454. * fold-const.c (fold_comparison): New subroutine of fold_binary
  14455. containing transformations common to both the equality and
  14456. ordering relational operators, factored out of fold_binary.
  14457. (fold_binary): Separate out the equality operators (EQ_EXPR
  14458. and NE_EXPR) from the ordering operators (LT_EXPR, GT_EXPR,
  14459. LE_EXPR and GE_EXPR), calling fold_comparison to perform the
  14460. transformations common to both.
  14461. (fold_div_compare): Fix latent bugs in the previously unreachable
  14462. LT_EXPR and GE_EXPR cases.
  14463. 2006-02-24 David Edelsohn <edelsohn@gnu.org>
  14464. * config/rs6000/rs6000.c (rs6000_init_builtins): Change
  14465. decl libname for clog to __clog on AIX.
  14466. * config/rs6000/xcoff.h (MAX_OFILE_ALIGNMENT): Define.
  14467. 2006-02-24 Alan Modra <amodra@bigpond.net.au>
  14468. PR target/26453
  14469. * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
  14470. output traceback table for thunks. Localise rs6000_stack_info call.
  14471. 2006-02-23 Roger Sayle <roger@eyesopen.com>
  14472. Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  14473. * gthr-posix.h (__gthrw): Fix typo in comment.
  14474. 2006-02-23 Geoffrey Keating <geoffk@apple.com>
  14475. * doc/cpp.texi (Character sets): Document that we do support
  14476. input files to be in any character set.
  14477. 2006-02-23 Jeff Law <law@redhat.com>
  14478. * tree.h (PHI_ARG_NONZERO): Remove.
  14479. * tree-phinodes.c (add_phi_arg): No longer initialize PHI_ARG_NONZERO.
  14480. (remove_phi_arg_num): No longer copy PHI_ARG_NONZERO from the old
  14481. node to the new node.
  14482. PR tree-optimization/26425
  14483. * tree-vrp.c (vrp_visit_assignment): If the LHS's type has a NULL
  14484. min/max, then assume its varying.
  14485. 2006-02-23 Zdenek Dvorak <dvorakz@suse.cz>
  14486. PR rtl-optimization/26316
  14487. * rtlanal.c (enum may_trap_p_flags): New.
  14488. (may_trap_p_1): Take flags instead of unaligned_mems argument. Ignore
  14489. MEM_NOTRAP_P if flags & MTP_AFTER_MOVE.
  14490. (may_trap_p, may_trap_or_fault_p): Pass flags to may_trap_p_1.
  14491. (may_trap_after_code_motion_p): New function.
  14492. * loop-invariant.c (find_identical_invariants): Fix dump formating.
  14493. (find_invariant_insn): Use may_trap_after_code_motion_p.
  14494. * rtl.h (may_trap_after_code_motion_p): Declare.
  14495. 2006-02-23 Zdenek Dvorak <dvorakz@suse.cz>
  14496. * emit-rtl.c (immed_double_const): Cleanup.
  14497. 2006-02-23 Daniel Berlin <dberlin@dberlin.org>
  14498. Fix PR tree-optimization/26376
  14499. * tree-ssa-structalias.c (find_func_aliases): Use get_id_for_tree,
  14500. remove assert.
  14501. 2006-02-23 Jakub Jelinek <jakub@redhat.com>
  14502. PR middle-end/26412
  14503. * gimplify.c (omp_add_variable): Guard variable size decl test with
  14504. DECL_SIZE (decl) check.
  14505. 2006-02-23 Richard Guenther <rguenther@suse.de>
  14506. PR middle-end/26439
  14507. * tree-ssa-structalias.c (find_func_aliases): Handle complex types
  14508. like aggregate types.
  14509. 2006-02-23 Jakub Jelinek <jakub@redhat.com>
  14510. * configure.ac: Add --with{,out}-long-double-128 configure option.
  14511. (TARGET_DEFAULT_LONG_DOUBLE_128): New test.
  14512. * configure: Rebuilt.
  14513. * config.in: Rebuilt.
  14514. * doc/install.texi (Options specification): Document
  14515. --with-long-double-128.
  14516. * config/rs6000/linux.h [TARGET_DEFAULT_LONG_DOUBLE_128]
  14517. (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128.
  14518. * config/rs6000/linux64.h [TARGET_DEFAULT_LONG_DOUBLE_128]
  14519. (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128.
  14520. 2006-02-23 Aldy Hernandez <aldyh@redhat.com>
  14521. * config/s390/s390.c (override_options): Handle
  14522. TARGET_DEFAULT_LONG_DOUBLE_128.
  14523. * config/alpha/alpha.c (override_options): Handle
  14524. TARGET_DEFAULT_LONG_DOUBLE_128.
  14525. * config/sparc/sparc.c (sparc_override_options): Handle
  14526. TARGET_DEFAULT_LONG_DOUBLE_128.
  14527. 2006-02-22 Daniel Jacobowitz <dan@codesourcery.com>
  14528. * Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR).
  14529. (real-install-headers-tar, real-install-headers-cpio)
  14530. (real-install-headers-cp): New targets.
  14531. 2006-02-22 Richard Sandiford <richard@codesourcery.com>
  14532. * tree.h (variable_section): Delete.
  14533. * varasm.c (variable_section): Delete.
  14534. 2006-02-22 Paolo Bonzini <bonzini@gnu.org>
  14535. * install.texi: Add notes on install.texi2html.
  14536. (Building in parallel): Do not use footnotes.
  14537. 2006-02-21 Aldy Hernandez <aldyh@redhat.com>
  14538. PR libgomp/26234
  14539. * doc/install.texi (Configuration): Document --disable-libgomp.
  14540. 2006-02-21 Geoffrey Keating <geoffk@apple.com>
  14541. * config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
  14542. 2006-02-21 Alexandre Oliva <aoliva@redhat.com>
  14543. * config/i386/sse.md (vec_extractv2df_1_sse): New.
  14544. (vec_extractv2df_0_sse): New.
  14545. 2006-02-21 Alexandre Oliva <aoliva@redhat.com>
  14546. * defaults.h (CFA_FRAME_BASE_OFFSET): Define.
  14547. * config/ia64/ia64.h (CFA_FRAME_BASE_OFFSET): Override.
  14548. * doc/tm.texi (CFA_FRAME_BASE_OFFSET): Document.
  14549. * dwarf2out.c (build_cfa_loc): New offset parameter. Add it
  14550. to the result of the expression.
  14551. (def_cfa_1): Adjust.
  14552. (frame_pointer_cfa_offset): Rename to...
  14553. (frame_pointer_fb_offset): ... this. Adjust all uses.
  14554. (convert_cfa_to_loc_list): Rename to...
  14555. (convert_cfa_to_fb_loc_list): ... this. New offset parameter.
  14556. Pass it on to build_cfa_loc.
  14557. (compute_frame_pointer_to_cfa_displacement): Rename to...
  14558. (compute_frame_pointer_to_fb_displacement): ... this. New
  14559. offset parameter. Use it in computation.
  14560. (gen_subprogram_die): Compute cfa_fb_offset with the new
  14561. macro, and use it to compute the fb loc list and the
  14562. displacement.
  14563. 2006-02-21 Bernd Schmidt <bernd.schmidt@analog.com>
  14564. * config/bfin/predicates.md (cc_operand): Delete predicate. All uses
  14565. replaced with register_operand.
  14566. * config/bfin/bfin.c (bfin_register_move_cost): Moving CC to any
  14567. non-DREG is expensive.
  14568. * config/bfin/bfin.h (FIXED_REGISTERS): CC isn't fixed.
  14569. * config/bfin/bfin.md (movbi): Fix constraints and template for moves
  14570. involving memory.
  14571. 2006-02-21 Joseph S. Myers <joseph@codesourcery.com>
  14572. * doc/install.texi2html: Use set -e.
  14573. 2006-02-21 Richard Sandiford <richard@codesourcery.com>
  14574. * doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
  14575. (ASM_OUTPUT_SHARED_LOCAL): Delete.
  14576. * doc/invoke.texi (-fshared-data): Delete.
  14577. * common.opt (fshared-data): Delete.
  14578. * varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling.
  14579. (assemble_static_space): Remove #if 0 code.
  14580. * system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
  14581. (ASM_OUTPUT_SHARED_LOCAL): Poison.
  14582. * config/cris/cris.h: Remove FIXME.
  14583. 2006-02-21 Paolo Bonzini <bonzini@gnu.org>
  14584. * doc/sourcebuild.texi (Front End Directory): No more double-colon
  14585. hooks.
  14586. 2006-02-21 Jakub Jelinek <jakub@redhat.com>
  14587. PR middle-end/26379
  14588. * combine.c (simplify_shift_const_1): Disable nested shifts
  14589. optimization for vector shifts.
  14590. 2006-02-20 Roger Sayle <roger@eyesopen.com>
  14591. PR tree-optimization/26361
  14592. * tree-vrp.c (extract_range_from_unary_expr): Handle NEGATE_EXPR
  14593. of unsigned integer types.
  14594. 2006-02-20 Sebastian Pop <pop@cri.ensmp.fr>
  14595. * tree-chrec.c (eq_evolutions_p): New.
  14596. * tree-chrec.h (eq_evolutions_p): Declared.
  14597. * tree-data-ref.c: Fix formatting.
  14598. (datadep_stats, dependence_stats): New.
  14599. (gcd): Moved...
  14600. (print_direction_vector): New.
  14601. (dump_data_dependence_relation): Use print_direction_vector.
  14602. (object_analysis, create_data_ref): Handle COMPONENT_REF.
  14603. (compute_subscript_distance): Static.
  14604. (initialize_data_dependence_relation): Static. Get the number
  14605. of loops surrounding the references from the callers, and initialize
  14606. DDR_SIZE_VECT to nb_loops. Use both base_addr_differ_p and
  14607. base_object_differ_p analyzers.
  14608. (analyze_ziv_subscript, analyze_siv_subscript_cst_affine,
  14609. compute_overlap_steps_for_affine_1_2,
  14610. analyze_subscript_affine_affine): Count the classified dependences.
  14611. Print a message when a test failed.
  14612. (can_use_analyze_subscript_affine_affine): New.
  14613. (analyze_siv_subscript): Compute the data dependences on symbolic
  14614. scevs that verify can_use_analyze_subscript_affine_affine.
  14615. (chrec_steps_divide_constant_p): Returns true, false, or unknown.
  14616. (analyze_miv_subscript): Update use of chrec_steps_divide_constant_p.
  14617. Handle symbolic scevs.
  14618. (analyze_overlapping_iterations): Let symbolic affine scevs to be
  14619. analyzed.
  14620. (subscript_dependence_tester): Moved...
  14621. (build_classic_dist_vector, build_classic_dir_vector): Don't use
  14622. lambda_vector_clear on newly allocated vectors. Get nb_loops from
  14623. DDR_SIZE_VECT instead of getting it in parameter.
  14624. (subscript_dependence_tester): ... here. Take as a parameter
  14625. loop_nest_depth. Call build_classic_dist_vector and
  14626. build_classic_dir_vector.
  14627. (compute_affine_dependence): Update subscript_dependence_tester
  14628. parameters. Update datadep_stats counters. Call
  14629. compute_subscript_distance.
  14630. (compute_self_dependence): Save the dist and dir vectors. Call
  14631. compute_subscript_distance.
  14632. (ddr_p, DEF_VEC_P(ddr_p), DEF_VEC_ALLOC_P(ddr_p,heap)): Moved...
  14633. (compute_all_dependences): Reorder parameters as they were before
  14634. conversion to VEC. Pass nb_loops and loop_nest_depth. Don't call
  14635. compute_subscript_distance. Update the use of
  14636. compute_affine_dependence and initialize_data_dependence_relation.
  14637. (find_data_references_in_loop): Handle COMPONENT_REF.
  14638. (compute_data_dependences_for_loop): Initialize dependence_stats.
  14639. Don't call build_classic_dist_vector and build_classic_dir_vector.
  14640. Update the parameters of initialize_data_dependence_relation and
  14641. compute_all_dependences. Print the statistics from datadep_stats.
  14642. (analyze_all_data_dependences): Static. Not used until the pass for
  14643. checking the data dependences is contributed.
  14644. * tree-data-ref.h (ddr_p, DEF_VEC_P(ddr_p),
  14645. DEF_VEC_ALLOC_P(ddr_p,heap)): ... here.
  14646. (initialize_data_dependence_relation, compute_affine_dependence,
  14647. analyze_all_data_dependences, compute_subscript_distance): Removed.
  14648. (print_direction_vector): New.
  14649. * lambda.h (gcd): ... here.
  14650. (lambda_vector_gcd): Moved here from gcd_vector.
  14651. * lambda-code.c (gcd, gcd_vector): Removed.
  14652. (lambda_compute_target_space): Use lambda_vector_gcd. Fix formatting.
  14653. * Makefile.in (tree-vect-patterns.o): Depends on TREE_DATA_REF_H.
  14654. 2006-02-20 Diego Novillo <dnovillo@redhat.com>
  14655. * ipa-type-escape.c: Tidy some comments and white space.
  14656. * tree-ssa-operands.c: Likewise.
  14657. 2006-02-20 Andrew Pinski <pinskia@physics.uc.edu>
  14658. PR tree-opt/25879
  14659. * tree-pretty-print.c (debug_tree_chain): Walk the chains.
  14660. (dump_decl_name): Do not walk the decl tree chains.
  14661. * tree-pass.h (TDF_CHAIN): Remove.
  14662. 2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
  14663. * Makefile.in (C): Remove
  14664. (PROTO): Remove
  14665. (.PHONY): Remove C and PROTO
  14666. 2006-02-20 Roger Sayle <roger@eyesopen.com>
  14667. PR middle-end/26236
  14668. * doc/c-tree.texi (INTEGER_TYPE): Remove reference to the now
  14669. deprecated CHAR_TYPE tree code.
  14670. 2006-02-20 Paolo Bonzini <bonzini@gnu.org>
  14671. * configure.ac (target_list): Add install-info, dvi, html.
  14672. * configure: Regenerate.
  14673. * ada/Make-lang.in, cp/Make-lang.in, fortran/Make-lang.in,
  14674. java/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in,
  14675. treelang/Make-lang.in: Do not use double-colon rules.
  14676. 2006-02-20 Daniel Berlin <dberlin@dberlin.org>
  14677. * tree.h (struct tree_memory_tag): Add is_used_alone member.
  14678. (TMT_USED_ALONE): New macro.
  14679. * tree-pass.h (PROP_tmt_usage): New property.
  14680. (TODO_update_tmt_usage): New todo.
  14681. * tree-ssa-alias.c (updating_used_alone): New variable.
  14682. (recalculate_used_alone): New function.
  14683. (compute_may_aliases): Set updating_used_alone, call
  14684. recalculate_used_alone.
  14685. * tree-sra.c (pass_sra): Note that this pass destroys
  14686. PROP_tmt_usage, and add TODO_update_tmt_usage.
  14687. * tree-ssa-forwprop.c (pass_forwprop): Ditto.
  14688. * tree-flow.h (updating_used_alone): Prototype.
  14689. (recalculate_used_alone): Ditto.
  14690. * passes.c (execute_todo): Add code to set updating_used_alone,
  14691. and call recalculate.
  14692. * tree-ssa-operands.c (add_virtual_operand): Only append bare def
  14693. for clobber if used alone, and add assert to verify used_alone
  14694. status.
  14695. 2006-02-20 Angel Nunez Mencias <anunez@de.ibm.com>
  14696. * config/s390/s390.c (legitimize_pic_address): Assertions checking
  14697. for non tls symbols added.
  14698. (legitimize_address): Do nothing for PLUS expressions if one of the
  14699. addends is a tls symbol reference.
  14700. 2006-02-20 Paolo Bonzini <bonzini@gnu.org>
  14701. PR bootstrap/25476
  14702. * Makefile.in (LDFLAGS): Define from autoconf substitution.
  14703. * Makefile.in (BOOTSTRAPPING): New.
  14704. (quickstrap): New definition if BOOTSTRAPPING=yes.
  14705. * Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
  14706. * configure.ac: Substitute all_selected_languages with the languages
  14707. that were configured. For all the other variables except
  14708. lang_specs_files, include all the languages in the tree.
  14709. * configure: Regenerate.
  14710. * Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
  14711. if there is one. Run the commands to run fixincludes in the same
  14712. subshell.
  14713. * doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
  14714. * doc/install.texi: Document exact conventions for searching target tools.
  14715. Document --with-build-time-tools. Document toplevel bootstrap. Document
  14716. something more about building an Ada cross-compiler. Don't list GNU Make
  14717. requirements which affect all platforms.
  14718. 2006-02-19 Roger Sayle <roger@eyesopen.com>
  14719. PR middle-end/19543
  14720. * varasm.c (compare_constant) <INTEGER_CST>: Integer constants are
  14721. only equivalent if the have both the same mode and precision.
  14722. 2006-02-20 Ben Elliston <bje@au.ibm.com>
  14723. * doc/tree-ssa.texi (Interfaces): Describe low vs. high GIMPLE.
  14724. 2006-02-19 Roger Sayle <roger@eyesopen.com>
  14725. Steven Bosscher <stevenb.gcc@gmail.com>
  14726. * gcse.c (want_to_gcse_p): On STACK_REGS targets, look through
  14727. constant pool references to identify stack mode constants.
  14728. * rtlanal.c (constant_pool_constant_p): New predicate to check
  14729. whether operand is a floating point constant in the pool.
  14730. * rtl.h (constant_pool_constant_p): Prototype here.
  14731. * loop.c (scan_loop): Avoid hoisting constants from the constant
  14732. pool on STACK_REGS targets.
  14733. (load_mems): Likewise.
  14734. * loop-invariant.c (get_inv_cost): Make hoisting constant pool
  14735. loads into x87 registers expensive in terms of register pressure.
  14736. 2006-02-19 Roger Sayle <roger@eyesopen.com>
  14737. * gthr-posix.h: On Tru64, map __gthr_foo as a weak reference to
  14738. __foo and not foo when _PTHREAD_USE_MANGLED_NAMES_ is defined.
  14739. 2006-02-19 David Edelsohn <edelsohn@gnu.org>
  14740. * config/rs6000/xcoff.h (TARGET_ASM_OUTPUT_ANCHOR): Define.
  14741. * config/rs6000/rs6000.c (rs6000_xcoff_asm_output_anchor): Define.
  14742. 2006-02-19 Daniel Berlin <dberlin@dberlin.org>
  14743. * doc/invoke.texi: Document -fipa-pta.
  14744. * common.opt: Add ipa-pta option.
  14745. * tree-ssa-structalias.c (DONT_PROPAGATE_WITH_ANYTHING): Removed.
  14746. (do_sd_constraint): Enable DONT_PROPAGATE_WITH_ANYTHING code.
  14747. (do_ds_constraint): Ditto.
  14748. (get_constraint_for): Only add to referenced_vars if
  14749. referenced_vars exists.
  14750. (insert_into_field_list): Rewrite to do this unsorted.
  14751. (insert_into_field_list_sorted): Rename old insert_into_field_list
  14752. to this.
  14753. (create_function_info_for): Use insert_into_field_list_sorted.
  14754. (create_variable_info_for): Rewrite so it uses unsorted version,
  14755. since the field list is sorted.
  14756. (intra_create_variable_infos): Only add to referenced_vars if
  14757. referenced_vars exists.
  14758. (ipa_pta_execute): Init heapvars, and delete when done.
  14759. * passes.c (init_optimization_passes): Add call to pass_ipa_pta.
  14760. 2006-02-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  14761. * doc/install.texi: Add missing `@samp'.
  14762. 2006-02-18 Andrew Pinski <pinskia@physics.uc.edu>
  14763. * config/rs6000/darwin.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P):
  14764. Use the arguments.
  14765. 2006-02-18 Mark Wielaard <mark@klomp.org>
  14766. * doc/contrib.texi (Contributors): Add classpath/libgcj hackers
  14767. who added new 4.1 features, bug fixes and integration support.
  14768. 2006-02-18 David Edelsohn <edelsohn@gnu.org>
  14769. PR target/26350
  14770. * config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
  14771. MEM for ABI_V4 pic.
  14772. 2006-02-18 Richard Sandiford <richard@codesourcery.com>
  14773. * cselib.c (cselib_init): Change RTX_SIZE to RTX_CODE_SIZE.
  14774. * emit-rtl.c (copy_rtx_if_shared_1): Use shallow_copy_rtx.
  14775. (copy_insn_1): Likewise. Don't copy each field individually.
  14776. Reindent.
  14777. * read-rtl.c (apply_macro_to_rtx): Use RTX_CODE_SIZE instead
  14778. of RTX_SIZE.
  14779. * reload1.c (eliminate_regs): Use shallow_copy_rtx.
  14780. * rtl.c (rtx_size): Rename variable to...
  14781. (rtx_code_size): ...this.
  14782. (rtx_size): New function.
  14783. (rtx_alloc_stat): Use RTX_CODE_SIZE instead of RTX_SIZE.
  14784. (copy_rtx): Use shallow_copy_rtx. Don't copy each field individually.
  14785. Reindent.
  14786. (shallow_copy_rtx_stat): Use rtx_size instead of RTX_SIZE.
  14787. * rtl.h (rtx_code_size): New variable.
  14788. (rtx_size): Change from a variable to a function.
  14789. (RTX_SIZE): Rename to...
  14790. (RTX_CODE_SIZE): ...this.
  14791. PR target/9703
  14792. PR tree-optimization/17106
  14793. * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Document.
  14794. (Anchored Addresses): New section.
  14795. * doc/invoke.texi (-fsection-anchors): Document.
  14796. * doc/rtl.texi (SYMBOL_REF_IN_BLOCK_P, SYMBOL_FLAG_IN_BLOCK): Likewise.
  14797. (SYMBOL_REF_ANCHOR_P, SYMBOL_FLAG_ANCHOR): Likewise.
  14798. (SYMBOL_REF_BLOCK, SYMBOL_REF_BLOCK_OFFSET): Likewise.
  14799. * hooks.c (hook_bool_mode_rtx_false): New function.
  14800. * hooks.h (hook_bool_mode_rtx_false): Declare.
  14801. * gengtype.c (create_optional_field): New function.
  14802. (adjust_field_rtx_def): Add the "block_sym" field for SYMBOL_REFs when
  14803. SYMBOL_REF_IN_BLOCK_P is true.
  14804. * target.h (output_anchor, use_blocks_for_constant_p): New hooks.
  14805. (min_anchor_offset, max_anchor_offset): Likewise.
  14806. (use_anchors_for_symbol_p): New hook.
  14807. * toplev.c (compile_file): Call output_object_blocks.
  14808. (target_supports_section_anchors_p): New function.
  14809. (process_options): Check that -fsection-anchors is only used on
  14810. targets that support it and when -funit-at-a-time is in effect.
  14811. * tree-ssa-loop-ivopts.c (prepare_decl_rtl): Only create DECL_RTL
  14812. if the decl doesn't have one.
  14813. * dwarf2out.c: Remove instantiations of VEC(rtx,gc).
  14814. * expr.c (emit_move_multi_word, emit_move_insn): Pass the result
  14815. of force_const_mem through use_anchored_address.
  14816. (expand_expr_constant): New function.
  14817. (expand_expr_addr_expr_1): Call it. Use the same modifier when
  14818. calling expand_expr for INDIRECT_REF.
  14819. (expand_expr_real_1): Pass DECL_RTL through use_anchored_address
  14820. for all modifiers except EXPAND_INITIALIZER. Use expand_expr_constant.
  14821. * expr.h (use_anchored_address): Declare.
  14822. * loop-unroll.c: Don't declare rtx vectors here.
  14823. * explow.c: Include output.h.
  14824. (validize_mem): Call use_anchored_address.
  14825. (use_anchored_address): New function.
  14826. * common.opt (-fsection-anchors): New switch.
  14827. * varasm.c (object_block_htab, anchor_labelno): New variables.
  14828. (hash_section, object_block_entry_eq, object_block_entry_hash)
  14829. (use_object_blocks_p, get_block_for_section, create_block_symbol)
  14830. (use_blocks_for_decl_p, change_symbol_section): New functions.
  14831. (get_variable_section): New function, split out from assemble_variable.
  14832. (make_decl_rtl): Create a block symbol if use_object_blocks_p and
  14833. use_blocks_for_decl_p say so. Use change_symbol_section if the
  14834. symbol has already been created.
  14835. (assemble_variable_contents): New function, split out from...
  14836. (assemble_variable): ...here. Don't output any code for
  14837. block symbols; just pass them to place_block_symbol.
  14838. Use get_variable_section and assemble_variable_contents.
  14839. (get_constant_alignment, get_constant_section, get_constant_size): New
  14840. functions, split from output_constant_def_contents.
  14841. (build_constant_desc): Create a block symbol if use_object_blocks_p
  14842. says so. Or into SYMBOL_REF_FLAGS.
  14843. (assemble_constant_contents): New function, split from...
  14844. (output_constant_def_contents): ...here. Don't output any code
  14845. for block symbols; just pass them to place_section_symbol.
  14846. Use get_constant_section and get_constant_alignment.
  14847. (force_const_mem): Create a block symbol if use_object_blocks_p and
  14848. use_blocks_for_constant_p say so. Or into SYMBOL_REF_FLAGS.
  14849. (output_constant_pool_1): Add an explicit alignment argument.
  14850. Don't switch sections here.
  14851. (output_constant_pool): Adjust call to output_constant_pool_1.
  14852. Switch sections here instead. Don't output anything for block symbols;
  14853. just pass them to place_block_symbol.
  14854. (init_varasm_once): Initialize object_block_htab.
  14855. (default_encode_section_info): Keep the old SYMBOL_FLAG_IN_BLOCK.
  14856. (default_asm_output_anchor, default_use_aenchors_for_symbol_p)
  14857. (place_block_symbol, get_section_anchor, output_object_block)
  14858. (output_object_block_htab, output_object_blocks): New functions.
  14859. * target-def.h (TARGET_ASM_OUTPUT_ANCHOR): New macro.
  14860. (TARGET_ASM_OUT): Include it.
  14861. (TARGET_USE_BLOCKS_FOR_CONSTANT_P): New macro.
  14862. (TARGET_MIN_ANCHOR_OFFSET, TARGET_MAX_ANCHOR_OFFSET): New macros.
  14863. (TARGET_USE_ANCHORS_FOR_SYMBOL_P): New macro.
  14864. (TARGET_INITIALIZER): Include them.
  14865. * rtl.c (rtl_check_failed_block_symbol): New function.
  14866. * rtl.h: Include vec.h. Declare heap and gc rtx vectors.
  14867. (block_symbol, object_block): New structures.
  14868. (rtx_def): Add a block_symbol field to the union.
  14869. (BLOCK_SYMBOL_CHECK): New macro.
  14870. (rtl_check_failed_block_symbol): Declare.
  14871. (SYMBOL_FLAG_IN_BLOCK, SYMBOL_FLAG_ANCHOR): New SYMBOL_REF flags.
  14872. (SYMBOL_REF_IN_BLOCK_P, SYMBOL_REF_ANCHOR_P): New predicates.
  14873. (SYMBOL_FLAG_MACH_DEP_SHIFT): Bump by 2.
  14874. (SYMBOL_REF_BLOCK, SYMBOL_REF_BLOCK_OFFSET): New accessors.
  14875. * output.h (output_section_symbols): Declare.
  14876. (object_block): Name structure.
  14877. (place_section_symbol, get_section_anchor, default_asm_output_anchor)
  14878. (default_use_anchors_for_symbol_p): Declare.
  14879. * Makefile.in (RTL_BASE_H): Add vec.h.
  14880. (explow.o): Depend on output.h.
  14881. * config/rs6000/rs6000.c (TARGET_MIN_ANCHOR_OFFSET): Override default.
  14882. (TARGET_MAX_ANCHOR_OFFSET): Likewise.
  14883. (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Likewise.
  14884. (rs6000_use_blocks_for_constant_p): New function.
  14885. 2006-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  14886. * doc/install.texi (hppa*-hp-hpux*): Update for 4.1.0.
  14887. 2006-02-18 Andrew Pinski <pinskia@physics.uc.edu>
  14888. PR tree-opt/25680
  14889. * tree-ssa-ccp.c (ccp_fold): Handle store CCP of REALPART_EXPR and
  14890. IMAGPART_EXPR.
  14891. 2006-02-18 Diego Novillo <dnovillo@redhat.com>
  14892. * tree-flow.h (struct var_ann_d): Rename field is_alias_tag to
  14893. is_aliased.
  14894. Update all users.
  14895. 2006-02-18 Jakub Jelinek <jakub@redhat.com>
  14896. PR middle-end/26334
  14897. * stmt.c (decl_overlaps_hard_reg_set_p): Use DECL_HARD_REGISTER
  14898. instead of DECL_REGISTER.
  14899. 2006-02-18 Olivier Hainque <hainque@adacore.com>
  14900. PR ada/13408
  14901. * pa.h (WIDEST_HARDWARE_FP_SIZE): Define.
  14902. 2006-02-18 Joseph S. Myers <joseph@codesourcery.com>
  14903. PR target/24837
  14904. * config.gcc: Define UCLIBC_DEFAULT to 0 or 1.
  14905. * opth-gen.awk: Handle Var and InverseMask together.
  14906. * config/linux.opt (muclibc, mglibc): Use Var(linux_uclibc).
  14907. * config/linux.h: Use #if not #ifdef for testing UCLIBC_DEFAULT.
  14908. (TARGET_C99_FUNCTIONS): Test OPTION_GLIBC not TARGET_GLIBC.
  14909. (CHOOSE_DYNAMIC_LINKER): Give an error for -mglibc and -muclibc
  14910. used together.
  14911. (UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
  14912. LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): Define.
  14913. * config/alpha/linux-elf.h (GLIBC_DYNAMIC_LINKER,
  14914. UCLIBC_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
  14915. LINUX_DYNAMIC_LINKER): Define.
  14916. (ELF_DYNAMIC_LINKER): Define to LINUX_DYNAMIC_LINKER.
  14917. * config/alpha/linux.h (TARGET_C99_FUNCTIONS): Define to
  14918. TARGET_GLIBC.
  14919. * config/cris/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14920. (CRIS_LINK_SUBTARGET_SPEC): Pass a -dynamic-linker option.
  14921. * config/frv/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14922. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14923. (TARGET_C99_FUNCTIONS): Don't define.
  14924. * config/i386/linux.h (DYNAMIC_LINKER): Rename to
  14925. GLIBC_DYNAMIC_LINKER.
  14926. (SUBTARGET_EXTRA_SPECS): Use LINUX_DYNAMIC_LINKER.
  14927. * config/i386/linux64.h (GLIBC_DYNAMIC_LINKER32,
  14928. GLIBC_DYNAMIC_LINKER64): Define.
  14929. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER32 and
  14930. LINUX_DYNAMIC_LINKER64.
  14931. * config/ia64/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14932. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14933. * config/m32r/linux.h (GLIBC_DYNAMIC_LINKE): Define.
  14934. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14935. * config/m68k/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14936. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14937. * config/mips/linux64.h (GLIBC_DYNAMIC_LINKER32,
  14938. GLIBC_DYNAMIC_LINKER64, GLIBC_DYNAMIC_LINKERN32,
  14939. UCLIBC_DYNAMIC_LINKERN32, LINUX_DYNAMIC_LINKERN32): Define.
  14940. (LINK_SPEC): Use LINUX_DYNAMIC_LINKERN32, LINUX_DYNAMIC_LINKER64
  14941. and LINUX_DYNAMIC_LINKER32.
  14942. * config/mn10300/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14943. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14944. * config/pa/pa-linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14945. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14946. * config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define to
  14947. TARGET_GLIBC.
  14948. * config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Likewise.
  14949. (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64,
  14950. UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
  14951. CHOOSE_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
  14952. LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): Define.
  14953. (LINK_OS_LINUX_SPEC32): Use LINUX_DYNAMIC_LINKER32.
  14954. (LINK_OS_LINUX_SPEC64): Use LINUX_DYNAMIC_LINKER64.
  14955. * config/rs6000/sysv4.h (GLIBC_DYNAMIC_LINKER,
  14956. UCLIBC_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
  14957. LINUX_DYNAMIC_LINKER): Define.
  14958. (LINK_OS_LINUX_SPEC): Use LINUX_DYNAMIC_LINKE.
  14959. * config/s390/linux.h (GLIBC_DYNAMIC_LINKER32,
  14960. GLIBC_DYNAMIC_LINKER64): Define.
  14961. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER32 and
  14962. LINUX_DYNAMIC_LINKER64.
  14963. * config/sh/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14964. (SUBTARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14965. * config/sparc/linux.h (GLIBC_DYNAMIC_LINKER,
  14966. UCLIBC_DYNAMIC_LINKER, CHOOSE_DYNAMIC_LINKER,
  14967. LINUX_DYNAMIC_LINKER): Define.
  14968. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14969. (TARGET_C99_FUNCTIONS): Define to TARGET_GLIBC.
  14970. * config/sparc/linux64.h (GLIBC_DYNAMIC_LINKER32,
  14971. GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER32,
  14972. UCLIBC_DYNAMIC_LINKER64, CHOOSE_DYNAMIC_LINKER,
  14973. LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): Define.
  14974. (LINK_ARCH32_SPEC): Use LINUX_DYNAMIC_LINKER32.
  14975. (LINK_ARCH64_SPEC, LINK_SPEC): Use LINUX_DYNAMIC_LINKER64.
  14976. (TARGET_C99_FUNCTIONS): Define to TARGET_GLIBC.
  14977. * config/xtensa/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  14978. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  14979. * doc/invoke.texi (-muclibc): Remove caveat about supported
  14980. targets.
  14981. 2006-02-17 Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>
  14982. * doc/cpp.texi (__TIMESTAMP__): Document.
  14983. 2006-02-17 Roger Sayle <roger@eyesopen.com>
  14984. PR middle-end/25600
  14985. * fold-const.c (fold_binary): Fold (X >> C) != 0 into X < 0 when
  14986. C is one less than the width of X (and related transformations).
  14987. * simplify-rtx.c (simplify_unary_operation_1): Transform
  14988. (neg (lt x 0)) into either (ashiftrt X C) or (lshiftrt X C)
  14989. depending on STORE_FLAG_VALUE, were C is one less then the
  14990. width of X.
  14991. 2006-02-17 Daniel Berlin <dberlin@dberlin.org>
  14992. Fix PR tree-optimization/26341
  14993. * tree-ssa-operands.c (add_virtual_operand): Remove assert
  14994. about NAME_MEMORY_TAG's.
  14995. 2006-02-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  14996. PR target/26255
  14997. * pa.md: Create separate HI and QI move patterns for 32-bit and 64-bit
  14998. with hardware float support, and software float support. Add fcpy
  14999. alternative to hardware patterns. Add alternatives to copy between
  15000. general and floating-point registers to the 32-bit pattern.
  15001. * pa.c (pa_secondary_reload): Don't abort if reload tries to find a
  15002. secondary reload to load a QI or HI mode constant into a floating
  15003. point register.
  15004. * pa32-regs.h (VALID_FP_MODE_P): Allow QImode and HImode.
  15005. * pa64-regs.h (VALID_FP_MODE_P): Likewise.
  15006. 2006-02-17 Andrew Pinski <pinskia@physics.uc.edu>
  15007. PR target/26272
  15008. * config/rs6000/darwin.md (load_macho_picbase_si): Add
  15009. pc to the pattern.
  15010. (load_macho_picbase_di): Likewise.
  15011. 2006-02-16 Jeff Law <law@redhat.com>
  15012. * tree-vrp.c (set_value_range_to_nonnegative): New function.
  15013. (vrp_expr_computes_nonnegative, ssa_name_nonnegative_p): Likewise.
  15014. (ssa_name_nonzero_p): Likewise.
  15015. (get_value_range): Return NULL if VRP is not running.
  15016. (extract_range_from_expr): Fallback to tree_expr_XXX_p if
  15017. VRP routines do not discover a range.
  15018. (vrp_finalize): Clear VR_VALUE to indicate VRP is not running.
  15019. * tree.h (ssa_name_nonzero_p, ssa_name_nonnegative_p): Prototype.
  15020. * fold-const.c (tree_expr_nonzero_p): For SSA_NAMEs, query VRP.
  15021. (tree_expr_nonnegative_p): Similarly.
  15022. * tree-ssa-dom.c (nonzero_vars, nonzero_vars_stack): Remove.
  15023. (restore_nonzero_vars_to_original_value): Remove.
  15024. (unsafe_associative_fp_binop): Remove.
  15025. (tree_ssa_dominator_optimize): Remove initialization and
  15026. finalization of nonzero_vars and nonzero_vars_stack.
  15027. (dom_opt_initialize_block): No longer push marker on
  15028. nonzero_vars_stack.
  15029. (dom_opt_finalize_block): No longer call
  15030. restore_nonzero_vars_to_original_value.
  15031. (record_equivalences_from_phis): No longer look for
  15032. nonzero PHI arguments.
  15033. (cprop_into_successor_phis): No longer propagate nonzero
  15034. property into PHI arguments. Lose unused argument. Caller
  15035. updated.
  15036. (record_equivalences_from_stmt): No longer record nonzero
  15037. values for SSA_NAMEs.
  15038. (lookup_avail_expr): No longer use nonzero_vars.
  15039. * stor-layout.c (set_sizetype): Set TYPE_MAX_VALUE properly
  15040. for sizetype when sizetype is unsigned.
  15041. 2006-02-16 Denis Nagorny <denis_nagorny@linux.intel.com>
  15042. PR rtl-optimization/25603
  15043. * reload.c (reg_inc_found_and_valid_p): New. Check REG_INC note.
  15044. (regno_clobbered_p): Use it. Reusing SETS argument for REG_INC case.
  15045. * reload1.c (choose_reload_regs): Added call of regno_clobbered_p
  15046. with new meaning of SETS.
  15047. 2006-02-16 Joseph S. Myers <joseph@codesourcery.com>
  15048. PR target/20353
  15049. PR target/24578
  15050. PR target/24837
  15051. * config/linux.opt: New file.
  15052. * config/linux.h (CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
  15053. LINUX_DYNAMIC_LINKER): Define.
  15054. (TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
  15055. * config.gcc (*-*-linux*): Define extra_options.
  15056. (*-*-*uclibc*): Define UCLIBC_DEFAULT.
  15057. (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
  15058. * config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change to
  15059. GLIBC_DYNAMIC_LINKER.
  15060. * config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
  15061. (LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  15062. * config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
  15063. (LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
  15064. * doc/invoke.texi (GNU/Linux Options): New section.
  15065. 2006-02-16 Eric Botcazou <ebotcazou@libertysurf.fr>
  15066. * config/sparc/sparc.md (setjmp): Rewrite.
  15067. (setjmp_32): Delete.
  15068. (setjmp_64): Likewise.
  15069. 2006-02-16 Daniel Berlin <dberlin@dberlin.org>
  15070. * tree-ssa-operands.c (access_can_touch_variable): Fix typo in
  15071. previous change.
  15072. 2006-02-16 Zdenek Dvorak <dvorakz@suse.cz>
  15073. * loop-invariant.c (invariant_for_use, check_dependencies): Fail for
  15074. read-write uses.
  15075. 2006-02-16 Zdenek Dvorak <dvorakz@suse.cz>
  15076. PR rtl-optimization/26296
  15077. * Makefile.in (loop-invariant.c): Add except.h dependency.
  15078. * loop-invariant.c: Include except.h.
  15079. (find_invariant_insn): Ignore insns satisfying can_throw_internal.
  15080. 2006-02-16 Paul Brook <paul@codesourcery.com>
  15081. * reload1.c (emit_reload_insns): Invalidate dead input registers used
  15082. for reloads.
  15083. 2006-02-16 Bernd Schmidt <bernd.schmidt@analog.com>
  15084. PR rtl-optimization/25636
  15085. * local-alloc.c (update_equiv_regs): Lose a bogus rtx_equal_p test
  15086. when deciding whether an insn is an initializing insn.
  15087. 2006-02-15 Daniel Berlin <dberlin@dberlin.org>
  15088. * tree.c (init_ttree): Add STRUCT_FIELD_TAG handling.
  15089. (tree_code_size): Ditto.
  15090. * tree.h (struct tree_memory_tag): Remove parent_var.
  15091. (struct tree_struct_field_tag): New.
  15092. (SFT_OFFSET): New.
  15093. (SFT_SIZE): New.
  15094. (union tree_node): Add sft member.
  15095. * tree-ssa-alias.c (get_tmt_for): Don't handle TYPE_READONLY
  15096. specially here.
  15097. (create_sft): Add size and offset argument, set SFT_OFFSET and
  15098. SFT_SIZE.
  15099. (create_overlap_variables_for): Update for SFT_OFFSET/SFT_SIZE.
  15100. * treestruct.def: Add TS_STRUCT_FIELD_TAG.
  15101. * tree-flow-inline.h (get_subvar_at): Update for
  15102. SFT_OFFSET/SFT_SIZE.
  15103. (var_can_have_subvars): Ditto.
  15104. (overlap_subvar): Ditto.
  15105. * print-tree.c (print_node): Print out interesting things for
  15106. SFT's.
  15107. * tree-flow.h (struct subvar): Remove offset and size members.
  15108. * tree-ssa-operands.c (get_expr_operands): Update for
  15109. get_indirect_ref_operands changes.
  15110. (get_indirect_ref_operands): Call add_virtual_operand instead of
  15111. add_stmt_operand. Only recurse on base var if requested.
  15112. (access_can_touch_variable): New function.
  15113. (add_stmt_operand): Split virtual operand handling into ...
  15114. (add_virtual_operand): Here. Add offset, size, and for_clobber
  15115. arguments. Prune alias sets.
  15116. (add_call_clobber_ops): Call add_virtual_operand.
  15117. 2006-02-15 Jakub Jelinek <jakub@redhat.com>
  15118. PR middle-end/26300
  15119. * combine.c (make_extraction): Bail out if ORIG_POS is negative.
  15120. * tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather
  15121. than TREE_CODE as index into omp_clause_num_ops array.
  15122. 2006-02-15 Uttam Pawar <uttamp@us.ibm.com>
  15123. PR rtl-optimization/26184
  15124. * modulo-sched.c (generate_reg_moves): Free bitmap vector
  15125. uses_of_defs.
  15126. * modulo-sched.c (sms_schedule): Free g_arr pointer.
  15127. * modulo-sched.c (sms_schedule_by_order): Free bitmap pointers
  15128. must_precede, must_follow and tobe_scheduled.
  15129. PR other/26147
  15130. * opts.c (common_handle_option): Free new_option pointer.
  15131. * df-core.c (df_analyze): Free postorder pointer.
  15132. 2006-02-15 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
  15133. * Makefile.in: Fix the examples about the use of stamps
  15134. 2006-02-15 Michael Matz <matz@suse.de>
  15135. PR middle-end/22275
  15136. * stor-layout.c (layout_decl): Zero-width bitfields aren't
  15137. influenced by maximum_field_alignment or DECL_PACKED.
  15138. (update_alignment_for_field): Ditto.
  15139. (place_field): Ditto.
  15140. * doc/extend.texi (<#pragma pack>, <Type Attributes>): Document
  15141. this behaviour.
  15142. 2006-02-15 Paolo Bonzini <bonzini@gnu.org>
  15143. * cfg.c (dump_flow_info): Get dump flags as an additional parameter.
  15144. (debug_flow_info): Pass it.
  15145. * alias.c (rest_of_handle_cfg): Adjust calls to dump_flow_info.
  15146. * bb-reorder.c (reorder_basic_blocks): Likewise.
  15147. * cfgcleanup.c (rest_of_handle_jump2): Likewise.
  15148. * cse.c (rest_of_handle_cse, rest_of_handle_cse2): Likewise.
  15149. * flow.c (life_analysis, recompute_reg_usage): Likewise.
  15150. * gcse.c (gcse_main, bypass_jumps): Likewise.
  15151. * ifcvt.c (rest_of_handle_if_conversion): Likewise.
  15152. * local-alloc.c (rest_of_handle_local_alloc): Likewise.
  15153. * loop-init.c (rtl_loop_init, rtl_loop_done): Likewise.
  15154. * profile.c (compute_branch_probabilities, branch_prob): Likewise.
  15155. * rtl.h (dump_flow_info): Adjust prototype.
  15156. * tracer.c (rest_of_handle_tracer, tracer): Likewise.
  15157. * var-tracking.c (variable_tracking_main): Likewise.
  15158. * passes.c (execute_todo): Obey TDF_BLOCKS for RTL.
  15159. * tree-dump.c (enable_rtl_dump_file): Enable the details and blocks
  15160. options.
  15161. 2006-02-15 Marcin Dalecki <martin@dalecki.de>
  15162. * tree-ssa-dom.c (dom_thread_across_edge): fix tag expression
  15163. construction.
  15164. 2006-02-14 Zdenek Dvorak <dvorakz@suse.cz>
  15165. PR tree-optimization/26209
  15166. * tree-ssa-loop.c (pass_scev_cprop): Add TODO_cleanup_cfg.
  15167. * tree-cfgcleanup.c (cleanup_control_flow): Remove dead
  15168. eh edges.
  15169. * tree-cfg.c (replace_uses_by): Do not alter cfg.
  15170. 2006-02-14 Roger Sayle <roger@eyesopen.com>
  15171. PR middle-end/23670
  15172. * fold-const.c (fold_binary) <BIT_IOR_EXPR>: Optimize (X&Y)|Y into
  15173. (X,Y) and the corresponding symmetry related transformations.
  15174. (fold_binary) <BIT_AND_EXPR>: Likewise, optimize (X|Y)&Y into
  15175. (X,Y) and its symmetry related transformations.
  15176. 2006-02-14 Roger Sayle <roger@eyesopen.com>
  15177. * dojump.c (do_compare_rtx_and_jump): Also handle multi-word GTU
  15178. and GEU.
  15179. 2006-02-14 Adam Nemet <anemet@caviumnetworks.com>
  15180. * simplify-rtx.c (simplify_subreg): Combine SUBREG and TRUNCATE.
  15181. 2006-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  15182. PR bootstrap/26053
  15183. * configure.ac (HAVE_COMDAT_GROUP): Don't assume non-GNU linkers
  15184. support COMDAT group.
  15185. * configure: Regenerate.
  15186. 2006-02-14 Roger Sayle <roger@eyesopen.com>
  15187. PR middle-end/26279
  15188. PR middle-end/26280
  15189. PR middle-end/26283
  15190. * dojump.c (do_compare_rtx_and_jump): Handle multi-word LE.
  15191. 2006-02-14 Daniel Berlin <dberlin@dberlin.org>
  15192. Fix PR tree-optimization/26260
  15193. * doc/invoke.texi (max-fields-for-field-sensitive): Document
  15194. param.
  15195. * params.h (MAX_FIELDS_FOR_FIELD_SENSITIVE): New.
  15196. * params.def (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE): Ditto.
  15197. * tree-ssa-structalias.c (create_variable_info_for): Use
  15198. MAX_FIELDS_FOR_FIELD_SENSITIVE.
  15199. 2006-02-14 Zdenek Dvorak <dvorakz@suse.cz>
  15200. * doc/invoke.texi (-fprefetch-loop-arrays, -fprefetch-loop-arrays-rtl):
  15201. Document.
  15202. * tree-ssa-loop-niter.c (number_of_iterations_ne,
  15203. number_of_iterations_lt, number_of_iterations_cond): Remember the shape
  15204. of the ending condition.
  15205. * tree-ssa-loop-manip.c: Include params.h.
  15206. (build_if_stmt, can_unroll_loop_p, determine_exit_conditions,
  15207. tree_unroll_loop): New functions.
  15208. * tree-pass.h (pass_loop_prefetch): Declare.
  15209. * loop.c (rest_of_handle_loop_optimize): Test for
  15210. -fprefetch-loop-arrays-rtl.
  15211. * tree-scalar-evolution.h (affine_iv): Moved to tree-flow.h.
  15212. * timevar.def (TV_TREE_PREFETCH): New timevar.
  15213. * tree-ssa-loop.c (tree_ssa_loop_prefetch, gate_tree_ssa_loop_prefetch,
  15214. pass_loop_prefetch): New.
  15215. * tree-cfgcleanup.c: Include tree-scalar-evolution.h.
  15216. (cleanup_tree_cfg_loop): Call scev_reset.
  15217. * common.opt (fprefetch-loop-arrays-rtl): Add.
  15218. * tree-ssa-loop-prefetch.c: New file.
  15219. * tree-outof-ssa.c (struct value_expr_d): Add expr_vars field.
  15220. (new_temp_expr_table): Initialize expr_vars.
  15221. (free_temp_expr_table): Cleanup expr_vars.
  15222. (check_replaceable, find_replaceable_in_bb): Prevent accumulating
  15223. expressions from being merged into one.
  15224. * tree-flow.h (affine_iv): Moved from tree-scalar-evolution.h.
  15225. (struct tree_niter_desc): Add control, bound and cmp fields.
  15226. (tree_ssa_prefetch_arrays, can_unroll_loop_p, tree_unroll_loop):
  15227. Declare.
  15228. * Makefile.in (tree-ssa-loop-prefetch.o): Add.
  15229. (tree-cfgcleanup.o): Add SCEV_H dependency.
  15230. (tree-ssa-loop-manip.o): Add PARAMS_H dependency.
  15231. * passes.c (init_optimization_passes): Add pass_loop_prefetch.
  15232. 2006-02-14 Richard Guenther <rguenther@suse.de>
  15233. PR tree-optimization/26258
  15234. * tree-ssa-structalias.c (find_func_aliases): Handle aggregates
  15235. in PHI argument processing.
  15236. 2006-02-13 Adam Nemet <anemet@caviumnetworks.com>
  15237. * simplify-rtx.c (simplify_unary_operation_1) <TRUNCATE>: Return
  15238. new expression in the requested machine mode.
  15239. 2006-02-13 Roger Sayle <roger@eyesopen.com>
  15240. * optabs.c (expand_abs): Don't call do_jump_by_parts_greater_rtx
  15241. directly, instead let do_compare_rtx_and_jump handle this for us.
  15242. * expr.c (expand_expr_real_1): Likewise.
  15243. * dojump.c (do_jump_by_parts_greater_rtx): Make static. Move
  15244. before do_jump_by_parts_greater.
  15245. (do_jump_by_parts_greater): Move after do_jump_by_parts_greater_rtx.
  15246. * expr.h (do_jump_by_parts_greater_rtx): Delete prototype.
  15247. 2006-02-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  15248. * pa/quadlib.c: Use defines instead of enum qfcmp_magic.
  15249. 2006-02-13 Zdenek Dvorak <dvorakz@suse.cz>
  15250. PR rtl-optimization/26235
  15251. * loop-invariant.c (hash_invariant_expr_1): Handle 'i' and 'n' formats.
  15252. (invariant_expr_equal_p): Handle 'i' and 'n' formats. Fail on unknown
  15253. format.
  15254. 2006-02-13 Jeff Law <law@redhat.com>
  15255. * tree-vrp.c (extract_range_from_binary_expr): Remove handling of
  15256. TRUTH_XOR_EPR.
  15257. 2006-02-13 Jakub Jelinek <jakub@redhat.com>
  15258. PR middle-end/26092
  15259. * gimplify.c (gimplify_call_expr): Don't call get_callee_fndecl
  15260. twice if decl is a builtin. When trying again, call get_callee_fndecl
  15261. first to verify it is still a builtin.
  15262. 2006-02-13 Geoffrey Keating <geoffk@apple.com>
  15263. * dwarf2out.c (base_type_die): Don't add AT_name here.
  15264. (subrange_type_die): Don't add AT_name here.
  15265. (modified_type_die): Rearrange code flow. Do add AT_name here.
  15266. 2006-02-13 Zdenek Dvorak <dvorakz@suse.cz>
  15267. PR rtl-optimization/26247
  15268. PR rtl-optimization/26248
  15269. * loop-invariant.c (may_assign_reg_p): Do not allow VOIDmode.
  15270. 2006-02-13 Richard Sandiford <richard@codesourcery.com>
  15271. * config/floatunditf.c: Use if __LDBL_MANT_DIG__ == 113.
  15272. * config/fixtfdi.c: Likewise.
  15273. * config/fixunstfdi.c: Likewise.
  15274. * config/floatditf.c: Likewise.
  15275. 2006-02-13 Roger Sayle <roger@eyesopen.com>
  15276. PR middle-end/24427
  15277. * fold-const.c (fold_binary) <BIT_IOR_EXPR>: Transform (X&C1)|C2
  15278. into (X,C2) if C1 is a subset of the bits of C2. Transform
  15279. (X&C1)|C2 into X|C2 if C1|C2 == ~0. Canonicalize (X&C1)|C2 as
  15280. (X&(C1&~C2))|C2.
  15281. <BIT_AND_EXPR>: Canonicalize (X|C1)&C2 as (X&C2)|(C1&C2).
  15282. 2006-02-13 Josh Conner <jconner@apple.com>
  15283. PR target/25376
  15284. * varasm.c (function_section): Check for section name before
  15285. calling select_section on targets that define
  15286. USE_SELECT_SECTION_FOR_FUNCTIONS. On other targets, use
  15287. unlikely_text_section instead of hot_function_section if
  15288. first_function_block_is_cold.
  15289. 2006-02-13 J"orn Rennecke <joern.rennecke@st.com>
  15290. PR middle-end/25335
  15291. * reload1.c (gen_reload): Also use find_replacement in UNARY_P case.
  15292. 2006-02-12 Zdenek Dvorak <dvorakz@suse.cz>
  15293. PR rtl-optimization/26222
  15294. * function.c (assign_stack_temp_for_type): Do not reuse stack slots
  15295. after tree->rtl expansion.
  15296. * loop-invariant.c (move_invariant_reg): Use force_operand on rhs
  15297. before passing it to emit_move_insn.
  15298. 2006-02-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
  15299. * doc/invoke.texi (-Write-strings): Document that it is enabled by
  15300. default.
  15301. * c.opt (-Wwrite-strings): Declare variable warn_write_strings.
  15302. Clarify documentation.
  15303. * c-common.h (warn_write_strings): Remove.
  15304. * c-common.c (warn_write_strings): Likewise.
  15305. * c-opts.c (c_common_init_options): Enable -Wwrite-strings by
  15306. default for C++.
  15307. 2006-02-12 Roger Sayle <roger@eyesopen.com>
  15308. PR middle-end/25724
  15309. * dojump.c (do_jump): Call do_compare_rtx_and_jump.
  15310. (do_jump_parts_zero_rtx): New function renamed from
  15311. do_jump_parts_equality_rtx. Made static. Add a mode argument.
  15312. (do_jump_parts_equality_rtx): New function split out from
  15313. do_jump_parts_equality. Old implementation renamed as above.
  15314. Call do_jump_parts_zero_rtx if either operand is zero.
  15315. (do_jump_parts_equality): Call do_jump_parts_equality_rtx to
  15316. do all of the heavy lifting.
  15317. (do_compare_rtx_and_jump): Handle multi-word comparisons by
  15318. calling either do_jump_by_parts_greater_rtx or
  15319. do_jump_by_parts_equality_rtx.
  15320. * expr.h (do_jump_by_parts_equality_rtx): Remove prototype.
  15321. * expmed.c (do_cmp_and_jump): Now multi-word optimization has
  15322. moved to do_compare_rtx_and_jump, call it directly.
  15323. * stmt.c (do_jump_if_equal): Remove static prototype. Add a
  15324. mode argument. Call do_compare_rtx_and_jump.
  15325. (emit_case_nodes): Update calls to do_jump_if_equal.
  15326. 2006-02-12 Zdenek Dvorak <dvorakz@suse.cz>
  15327. PR rtl-optimization/26225
  15328. * loop-invariant.c (may_assign_reg_p): Do not allow BLKmode operands.
  15329. 2006-02-12 Zdenek Dvorak <dvorakz@suse.cz>
  15330. PR rtl-optimization/26232
  15331. * loop-invariant.c (find_invariant_insn): Ignore insns that set CC0.
  15332. 2006-02-11 Jason Merrill <jason@redhat.com>
  15333. PR tree-opt/24365
  15334. * tree-inline.c (declare_return_variable): Just don't use the
  15335. modify target if it's a gimple complex reg and the return slot
  15336. isn't.
  15337. 2006-02-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15338. * doc/contrib.texi: Update my entry.
  15339. 2006-02-10 Geoffrey Keating <geoffk@apple.com>
  15340. * config/i386/darwin.h (DBX_REGISTER_NUMBER): Define.
  15341. 2006-02-10 Diego Novillo <dnovillo@redhat.com>
  15342. * tree-inline.c (estimate_num_insns_1): Make OpenMP directives
  15343. expensive.
  15344. 2006-02-10 Zdenek Dvorak <dvorakz@suse.cz>
  15345. * doc/invoke.texi (-floop-optimize2): Removed.
  15346. * toplev.c (process_options): Remove handling of flag_loop_optimize2.
  15347. * loop-init.c (gate_handle_loop2): Do not test flag_loop_optimize2.
  15348. Test flag_branch_on_count_reg only if HAVE_doloop_end.
  15349. * common.opt (floop-optimize2): Removed.
  15350. (fmove-loop-invariants): Enabled by default.
  15351. 2006-02-10 Sebastian Pop <pop@cri.ensmp.fr>
  15352. * tree-if-conv.c (combine_blocks): Free the result of
  15353. get_loop_exit_edges.
  15354. 2006-02-10 Jeff Law <law@redhat.com>
  15355. * fold-const.c (tree_expr_nonzero_p): Fix thinko.
  15356. PR tree-optimization/26213
  15357. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Do not
  15358. loop trying to follow SSA_NAME_VALUE chains.
  15359. 2006-02-10 Richard Guenther <rguenther@suse.de>
  15360. * tree-dfa.c (get_ref_base_and_extent): When computing maxsize
  15361. deal with structures that end in implicitly variable sized arrays.
  15362. 2006-02-09 Zdenek Dvorak <dvorakz@suse.cz>
  15363. PR rtl-optimization/24762
  15364. * df-scan.c (df_bb_refs_record): Record correct registers defined on
  15365. eh edges.
  15366. 2006-02-09 Zdenek Dvorak <dvorakz@suse.cz>
  15367. * tree-ssa-loop-ivopts.c (struct loop_data, loop_data): Removed.
  15368. (struct ivopts_data): Add regs_used field.
  15369. (tree_ssa_iv_optimize_init): Do not allocate aux fields for loops.
  15370. (ivopts_global_cost_for_size, determine_set_costs): Use data->regs_used
  15371. instead of loop_data->regs_used;
  15372. (free_loop_data): Do not free aux fields for loops.
  15373. (tree_ssa_iv_optimize): Do not pass loops to tree_ssa_iv_optimize_init
  15374. and tree_ssa_iv_optimize_finalize.
  15375. 2006-02-09 Kaz Kojima <kkojima@gcc.gnu.org>
  15376. * config/sh/sh.h (FUNCTION_VALUE): Don't handle CHAR_TYPE.
  15377. 2006-02-09 J"orn Rennecke <joern.rennecke@st.com>
  15378. PR target/26141
  15379. * sh.c (sh_gimplify_va_arg_expr): Don't change the result type when
  15380. computing the effective result type.
  15381. 2006-02-09 J"orn Rennecke <joern.rennecke@st.com>
  15382. PR inline-asm/16194
  15383. * tree.h (decl_overlaps_hard_reg_set_p) Don't declare.
  15384. (tree_overlaps_hard_reg_set): Declare.
  15385. * stmt.c (decl_overlaps_hard_reg_set_p): Now static. Change return
  15386. type and signature to match function type expected by walk_tree.
  15387. (tree_overlaps_hard_reg_set): New function.
  15388. (decl_conflicts_with_clobbers_p): Rename to:
  15389. (tree_conflicts_with_clobbers_p). Take HARD_REG_SET * argument.
  15390. Use tree_overlaps_hard_reg_set. Changed caller.
  15391. * doc/tm.texi (TARGET_MD_ASM_CLOBBERS): Replace
  15392. decl_overlaps_hard_reg_set_p with tree_overlaps_hard_reg_set.
  15393. * cris.c (cris_md_asm_clobbers): Likewise.
  15394. 2006-02-09 Bernd Schmidt <bernd.schmidt@analog.com>
  15395. * reload1.c (emit_input_reload_insns): Delete code that tries to
  15396. inherit using find_equiv_reg.
  15397. 2006-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  15398. * c-common.h (flag_const_strings): Don't declare.
  15399. * c-common.c (flag_const_strings): Remove.
  15400. * c.opt (fconst_strings): Remove.
  15401. * c-opts.c (c_common_handle_option): Remove <OPT_fconst_strings>.
  15402. <OPT_Wwrite_strings>: Don't set flag_const_strings.
  15403. (c_common_init_options): Don't set flag_const_strings.
  15404. * doc/invoke.texi (-fno-const-strings): Remove documentation.
  15405. 2006-02-09 Richard Earnshaw <richard.earnshaw@arm.com>
  15406. * arm.md (tlobits_cbranch): New pattern.
  15407. * arm.h (arm_select_cc_mode): For thumb, only return CC_Nmode if
  15408. testing a single bit.
  15409. 2006-02-09 Andrew Pinski <pinskia@physics.uc.edu>
  15410. PR tree-opt/26179
  15411. * tree-ssa-pre.c (create_component_ref_by_pieces):
  15412. Handle RETURN_DECL like VAR_DECL.
  15413. 2006-02-09 Andrew Pinski <pinskia@physics.uc.edu>
  15414. PR middle-end/26134
  15415. * fold-const.c (fold_indirect_ref_1): Fold
  15416. "*(foo *)&complexfoo" to "__real__ complexfoo"
  15417. and "((foo*)&complexfoo)[1]" to "__imag__ complexfoo".
  15418. 2006-02-09 Andrew Pinski <pinskia@physics.uc.edu>
  15419. * tree-flow-inline.h (var_can_have_subvars):
  15420. Volatile variables should not have subvariables.
  15421. 2006-02-09 Diego Novillo <dnovillo@redhat.com>
  15422. PR 26180
  15423. * tree-vrp.c (vrp_int_const_binop): Detect overflow when
  15424. multiplying unsigned values.
  15425. Tidy comments.
  15426. 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
  15427. * config/sparc/sparc.c (tls_call_delay): Fix oversight.
  15428. 2006-02-08 Jason Merrill <jason@redhat.com>
  15429. PR c++/25979
  15430. * tree.def: Elaborate on difference from MODIFY_EXPR.
  15431. * doc/c-tree.texi (INIT_EXPR): Likewise.
  15432. * gimplify.c (internal_get_tmp_var): Use INIT_EXPR.
  15433. (gimplify_decl_expr, gimplify_init_ctor_eval): Likewise.
  15434. (gimplify_target_expr): Likewise.
  15435. (gimplify_cond_expr): Remove target handling.
  15436. (gimplify_modify_expr): Don't clobber INIT_EXPR code here.
  15437. (gimplify_expr): Clobber it here.
  15438. (gimplify_modify_expr_rhs): Push assignment into COND_EXPR here.
  15439. Do return slot optimization if we have an INIT_EXPR.
  15440. PR tree-opt/24365
  15441. * tree-inline.c (declare_return_variable): Also clear
  15442. DECL_COMPLEX_GIMPLE_REG_P as needed in the modify_dest case.
  15443. PR c++/16405
  15444. * gimplify.c (gimplify_modify_expr_rhs): Re-enable *& handling.
  15445. PR middle-end/22439
  15446. * gimplify.c (gimplify_one_sizepos): Fix typo.
  15447. 2006-02-08 Jeff Law <law@redhat.com>
  15448. PR tree-optimization/21417
  15449. * tree-ssa-threadedge.c (thread_across_edge): Reject threading
  15450. across a backedge if the control statement at the end of the
  15451. block is data dependent on other statements in the same block.
  15452. (record_temporary_equivalences_from_stmts): Remove over-conservative
  15453. test for threading across backedges.
  15454. * tree-ssa-dce.c (remove_dead_statement): When removing a dead
  15455. control statement, handle all three special cases in the same
  15456. manner as they all have the same desired solution. No longer
  15457. special case edge flag updating when the post dominator is
  15458. the exit block.
  15459. 2006-02-08 Roger Sayle <roger@eyesopen.com>
  15460. * tree.def (CHAR_TYPE): Remove.
  15461. * dbxout.c (dbxout_type): Delete dead handling of CHAR_TYPE.
  15462. * dwarf2out.c (base_type_die, is_base_type): Likewise.
  15463. (gen_type_die) <ARRAY_TYPE>: Remove handling of CHAR_TYPE arrays.
  15464. (gen_string_type_die): Delete unreachable function.
  15465. * tree-pretty-print.c (dump_generic_node): Don't handle CHAR_TYPE.
  15466. * tree.c (build_int_cst_wide, type_contains_placeholder_1,
  15467. type_hash_eq, variably_modified_type_p, walk_type_fields): Likewise.
  15468. * tree.h (NUMERICAL_TYPE_CHECK, INTEGRAL_TYPE_P): Likewise.
  15469. * builtins.c (type_to_class): Likewise.
  15470. * fold-const.c (fold_convert, build_range_check,
  15471. merge_ranges): Likewise.
  15472. * expr.c (count_type_elements): Likewise.
  15473. * c-pretty-print.c (pp_c_type_specifier): Likewise.
  15474. * stor-layout.c (layout_type): Likewise.
  15475. * ipa-type-escape.c (type_to_consider): Likewise.
  15476. * gimplify.c (omp_firstprivatize_type_sizes,
  15477. gimplify_type_sizes): Likewise.
  15478. * explow.c (promote_mode): Likewise.
  15479. * tree-sra.c (is_sra_scalar_type): Likewise.
  15480. * varasm.c (output_constant): Likewise.
  15481. * tree-inline.c (remap_type_1): Likewise.
  15482. * convert.c (convert_to_pointer, convert_to_real,
  15483. convert_to_integer, convert_to_complex): Likewise.
  15484. 2006-02-08 Daniel Berlin <dberlin@dberlin.org>
  15485. * df-scan.c (df_def_record_1): A set destination may
  15486. be a parallel regardless of mode.
  15487. 2006-02-08 Roger Sayle <roger@eyesopen.com>
  15488. PR target/22209
  15489. * config/mips/mips.h (MIN_UNITS_PER_WORD): Don't define for libgcc.
  15490. * config/mips/_tilib.c: Remove.
  15491. * config/fixtfdi.c: New libgcc source file.
  15492. * config/fixunstfdi.c: New source file.
  15493. * config/floatditf.c: New source file.
  15494. * config/floatunditf.c: New souce file.
  15495. * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
  15496. files above instead of config/mips/_tilib.c.
  15497. * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
  15498. 2006-02-08 Jeff Law <law@redhat.com>
  15499. PR tree-optimization/26169
  15500. * tree-vrp.c (execute_vrp): Perform any queued SSA updates before
  15501. threading jumps.
  15502. 2006-02-08 Zdenek Dvorak <dvorakz@suse.cz>
  15503. * df.h (DF_REG_SIZE): Return the length of the initialized
  15504. part of the array.
  15505. 2006-02-08 Nathan Sidwell <nathan@codesourcery.com>
  15506. * config/m68k/lb1sf68.asm (__divsf3, __divdf3, __mulsf3,
  15507. __muldf3): Return a correctly signed zero.
  15508. 2006-02-08 Paolo Bonzini <bonzini@gnu.org>
  15509. * passes.c (register_one_dump_file): Accept the current properties
  15510. instead of pass number. Adjust call to dump_register. Remove
  15511. duplicated code.
  15512. (register_dump_files): Now a wrapper around...
  15513. (register_dump_files_1): ... this one. Do not modify the pass
  15514. structure.
  15515. (next_pass_1): Cosmetic fix.
  15516. (execute_todo): Keep second parameter only. Use curr_properties
  15517. instead of fetching it from the pass structure. Check and set
  15518. last_verified.
  15519. (execute_one_pass): Handle TODO_set_props. Use curr_properties
  15520. instead of fetching it from the pass structure. Fix calls to
  15521. execute_todo. Update curr_properties and initialize .vcg RTL dump
  15522. after running the pass. Reset last_verified.
  15523. * tree-dump.c (dump_files): Renumber consecutively. Put .cgraph dump
  15524. at the beginning.
  15525. (FIRST_AUTO_NUMBERED_DUMP): New.
  15526. (dump_register): Remove "num" parameter, assign it within the
  15527. function.
  15528. (get_dump_file_name): Modify template for dumps.
  15529. * tree-dump.h (dump_register): Adjust prototype.
  15530. * tree-pass.h (enum tree_dump_index): Move cgraph at the beginning.
  15531. (PROP_trees): Add PROP_gimple_lomp.
  15532. (TODO_set_props): New.
  15533. * gimple-low.c (pass_lower_cf): Do not destroy PROP_gimple_lcf.
  15534. * tree-eh.c (pass_lower_eh): Do not destroy PROP_gimple_leh.
  15535. * cfgexpand.c (pass_expand): Destroy PROP_trees.
  15536. 2006-02-08 Jakub Jelinek <jakub@redhat.com>
  15537. * config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file.
  15538. (sparc64-*-linux*): Likewise.
  15539. * config/sparc/t-linux64 (SHLIB_MAPFILES): Removed.
  15540. * config/sparc/t-linux: New file.
  15541. * config/sparc/libgcc-sparc-glibc.ver (__fixtfdi, __fixunstfdi,
  15542. __floatditf): Export at GCC_LDBL_3.0 if -m32 -mlong-double-128.
  15543. (__divtc3, __multc3, __powitf2): Export at GCC_LDBL_4.0.0 if
  15544. -m32 -mlong-double-128.
  15545. * config.gcc (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
  15546. * config/alpha/t-linux: New file.
  15547. * config/alpha/libgcc-alpha-ldbl.ver: New file.
  15548. * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Define
  15549. __LONG_DOUBLE_128__ if TARGET_LONG_DOUBLE_128.
  15550. (CPP_SUBTARGET_SPEC): Don't add -D__LONG_DOUBLE_128__ here.
  15551. * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Define
  15552. __LONG_DOUBLE_128__ if TARGET_LONG_DOUBLE_128 and TARGET_ARCH32.
  15553. (CPP_ARCH32_SPEC): Remove.
  15554. 2006-02-07 Uttam Pawar <uttamp@us.ibm.com>
  15555. PR tree-optimization/26145
  15556. * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free
  15557. bbs pointer.
  15558. 2006-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  15559. PR target/26109
  15560. * pa.c (attr_length_indirect_call): Don't return length 8 for distances
  15561. >= 240000 when generating code for SOM runtime.
  15562. (output_indirect_call): Don't use "b,l" instruction for indirect calls
  15563. to $$dyncall when generating code for SOM runtime..
  15564. 2006-02-07 Dirk Mueller <dmueller@suse.com>
  15565. PR c++/18150
  15566. * doc/invoke.texi (-Wsequence-point): Update documentation
  15567. that -Wsequence-point is implemented for C++ as well.
  15568. 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  15569. * config/sol26.h (CPP_SUBTARGET_SPEC): Accept -pthread.
  15570. * config/sol2.h (CPP_SUBTARGET_SPEC): Likewise.
  15571. (LIB_SPEC): Likewise.
  15572. * doc/invoke.texi (SPARC options): Document -pthread.
  15573. 2006-02-07 Geoffrey Keating <geoffk@apple.com>
  15574. * config/i386/i386.c (ix86_delegitimize_address): Support Darwin
  15575. PIC addresses.
  15576. 2006-02-07 Roger Sayle <roger@eyesopen.com>
  15577. * config/sparc/sparc.c (sparc_type_code): Don't handle CHAR_TYPE.
  15578. Correct comment describing BOOLEAN_TYPE.
  15579. 2006-02-07 Dirk Mueller <dmueller@suse.com>
  15580. * c.opt: C++ frontend supports -Wdiv-by-zero.
  15581. * c-opts.c (c_common_handle_option): Remove dead case.
  15582. 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  15583. * configure.ac (TLS assembler check): Do not enable TLS by
  15584. default on SPARC/Solaris before version 10.
  15585. * configure: Regenerate.
  15586. 2006-02-07 David Edelsohn <edelsohn@gnu.org>
  15587. * doc/invoke.texi (xl-compat): Document conversion and support
  15588. routine names.
  15589. 2006-02-07 Jeff Law <law@redhat.com>
  15590. * tree-vrp.c (find_conditional_asserts): Update comments.
  15591. (simplify_stmt_for_jump_threading): New.
  15592. (identify_jump_threads, finalize_jump_threads): New.
  15593. (vrp_finalize): Call identify_jump_threads.
  15594. (execute_vrp): Call finalize_jump_threads.
  15595. * tree-ssa-dom.c (struct opt_stats_d): Remove num_iterations field.
  15596. (vrp_element, vrp_data, vrp_element_p): Remove.
  15597. (vrp_hash_elt, vrp_variables_stack): Remove.
  15598. (vrp_hash, vrp_eq, record_range): Remove.
  15599. (simplify_cond_and_lookup_avail_expr): Remove.
  15600. (extract_range_from_cond): Remove.
  15601. (thread_across_edge): Relocated into tree-ssa-threadedge.c.
  15602. (simplify_stmt_for_jump_threading): New.
  15603. (dom_thread_across_edge): New wrapper.
  15604. (tree_ssa_dominator_optimize): No longer initialize or
  15605. finalize any of the VRP datastructures. Remove iteration
  15606. step and simplify as a result of removal of iteration step.
  15607. (pass_dominator): Perform a cfg cleanup after DOM.
  15608. (dom_opt_finalize_block): Use the new common routines
  15609. for threading jumps. Simplify stack management slightly.
  15610. No longer need to unwind VRP state.
  15611. (record_equivalences_from_incoming_edge): No longer record
  15612. VRP information.
  15613. (eliminate_redundant_computations): No longer call
  15614. simplify_cond_and_lookup_avail_expr.
  15615. * tree-flow.h (potentially_threadable_block): Prototype.
  15616. (thread_across_edge): Likewise.
  15617. * Makefile.in (OBJS-common): Add tree-ssa-threadedge.o
  15618. (tree-ssa-threadedge.o): Add dependencies.
  15619. * tree-ssa-threadedge.c: New file.
  15620. * passes.c (init_optimization_passes): Merge PHIs before
  15621. calling VRP. Run VRP again late in the SSA optimization pipeline.
  15622. 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  15623. * df-core.c (df_set_blocks): Do not dereference function pointers.
  15624. (df_finish1): Likewise.
  15625. (df_hybrid_search_forward): Likewise.
  15626. (df_hybrid_search_backward): Likewise.
  15627. (df_iterative_dataflow): Likewise.
  15628. (df_analyze_problem): Likewise.
  15629. (df_compact_blocks): Likewise.
  15630. (df_dump): Likewise.
  15631. * df-scan.c (df_rescan_blocks): Likewise.
  15632. (df_record_entry_block_defs): Likewise.
  15633. * genconditions.c (write_conditions): Guard the definition of
  15634. 'insn_conditions' with the check on GCC version.
  15635. (write_writer): Guard the traversal 'insn_conditions' with
  15636. the check on GCC version.
  15637. 2006-02-07 Richard Guenther <rguenther@suse.de>
  15638. PR c++/26140
  15639. Revert
  15640. 2006-01-30 Richard Guenther <rguenther@suse.de>
  15641. PR c++/23372
  15642. * gimplify.c (gimplify_target_expr): Handle easy cases
  15643. without creating a temporary.
  15644. 2006-02-07 Pete Steinmetz <steinmtz@us.ibm.com>
  15645. * sched-rgn.c (compute_dom_prob_ps, compute_trg_info): Eradicate
  15646. use of float in probability computations. Use edge probabilities
  15647. in place of statically computed probabilities.
  15648. (min_spec_prob): New static variable.
  15649. (schedule_insns): Initialize it.
  15650. (GET_SRC_PROB): Removed.
  15651. * doc/invoke.texi (min-sched-prob): Renamed to min-spec-prob.
  15652. 2006-02-07 Alexandre Oliva <aoliva@redhat.com>
  15653. PR debug/24444
  15654. * config/ia64/unwind-ia64.c: Revert last change.
  15655. * config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Removed.
  15656. (INCOMING_FRAME_SP_OFFSET): Define.
  15657. 2006-02-06 Roger Sayle <roger@eyesopen.com>
  15658. * config/ia64/ia64.c (hfa_element_mode): Don't handle CHAR_TYPE.
  15659. 2006-02-07 Ben Elliston <bje@au.ibm.com>
  15660. * config/i386/i386.c (ix86_scalar_mode_supported_p): New.
  15661. (TARGET_SCALAR_MODE_SUPPORTED_P): Define hook.
  15662. (classify_argument): Handle SDmode, DDmode, TDmode for 64-bit.
  15663. (ix86_return_in_memory): Handle TDmode.
  15664. (ix86_libcall_value): Handle SDmode, DDmode, TDmode.
  15665. (ix86_value_regno): Return non-TDmode decimal float modes in %eax.
  15666. 2006-02-06 Richard Sandiford <richard@codesourcery.com>
  15667. * reorg.c (dbr_schedule): Use dump_file instead of file.
  15668. 2006-02-06 Steve Ellcey <sje@cup.hp.com>
  15669. PR target/25917
  15670. * config/ia64/predicates.md (extr_len_operand): New predicate.
  15671. * config/ia64/ia64.md (extv): Tighten constraints.
  15672. (extzv): Ditto.
  15673. (*tbit_and_2): Ditto.
  15674. (*tbit_and_3): Ditto.
  15675. (*tbit_or_2): Ditto.
  15676. (*tbit_or_3): Ditto.
  15677. (*bit_zero): Ditto.
  15678. (*bit_one): Ditto.
  15679. 2006-02-06 Andrew Pinski <pinskia@physics.uc.edu>
  15680. PR target/23359
  15681. * config/i386/i386.md (trap): Use ASM_SHORT instead of .word.
  15682. 2006-02-06 Zdenek Dvorak <dvorakz@suse.cz>
  15683. * tree-vrp.c (execute_vrp): Do not pass dump argument to.
  15684. loop_optimizer_init and loop_optimizer_finalize
  15685. * tree-ssa-sink.c (execute_sink_code): Ditto.
  15686. * tree-ssa-loop-ch.c (copy_loop_headers): Ditto.
  15687. * tree-ssa-loop.c (tree_loop_optimizer_init, tree_ssa_loop_init,
  15688. tree_ssa_loop_done): Ditto.
  15689. * tree-ssa-pre.c (init_pre, fini_pre): Ditto.
  15690. * sched-ebb.c: Include output.h.
  15691. (schedule_ebbs): Do not use dump argument.
  15692. * value-prof.h (struct profile_hooks): Remove profile_dump_file.
  15693. * loop.c (loop_dump_stream): Removed.
  15694. (loop_optimize, rest_of_handle_loop_optimize): Do not use dump
  15695. argument.
  15696. (scan_loop, move_movables, find_and_verify_loops, mark_loop_jump,
  15697. emit_prefetch_instructions, loop_bivs_find, loop_bivs_check,
  15698. final_biv_value, loop_biv_eliminable_p, loop_givs_rescan,
  15699. loop_iterations, strength_reduce, record_biv, record_giv,
  15700. final_giv_value, check_final_value, check_ext_dependent_givs,
  15701. combine_givs, check_dbra_loop, maybe_eliminate_biv, load_mems,
  15702. try_copy_prop, loop_delete_insns, try_swap_copy_prop): Use
  15703. dump_file instead of loop_dump_stream.
  15704. * ddg.c (print_ddg_edge, print_ddg, vcg_print_ddg): Do not call
  15705. argument dump_file.
  15706. * reorg.c (dbr_schedule, rest_of_handle_delay_slots): Do not use
  15707. dump argument.
  15708. * flow.c (life_analysis, rest_of_handle_life): Ditto.
  15709. * haifa-sched.c: Include output.h
  15710. (schedule_insns, sched_init): Do not use dump argument.
  15711. * mode-switching.c (optimize_mode_switching): Ditto.
  15712. * modulo-sched.c (stats_file): Removed.
  15713. (print_node_sched_params): Do not call argument dump_file.
  15714. (sms_schedule_by_order, loop_canon_p, sms_schedule,
  15715. rest_of_handle_sms): Do not use dump argument. Use dump_file instead
  15716. of stats_file.
  15717. * cse.c (cse_main, rest_of_handle_cse, rest_of_handle_cse2): Do not
  15718. use dump argument.
  15719. * loop-init.c (loop_optimizer_init, loop_optimizer_finalize,
  15720. rtl_loop_init, rtl_loop_done): Ditto.
  15721. * global.c (global_alloc, rest_of_handle_global_alloc): Ditto.
  15722. * predict.c (combine_predictions_for_bb, tree_estimate_probability):
  15723. Ditto.
  15724. * recog.c (peephole2_optimize, rest_of_handle_peephole2): Ditto.
  15725. * lcm.c (pre_edge_lcm, pre_edge_rev_lcm): Ditto.
  15726. * regmove.c (fixup_match_1, fixup_match_2, regmove_optimize,
  15727. rest_of_handle_regmove, rest_of_handle_stack_adjustments): Ditto.
  15728. * emit-rtl.c (renumber_insns): Ditto.
  15729. * cfgexpand.c (add_reg_br_prob_note, expand_gimple_cond_expr,
  15730. expand_gimple_basic_block, tree_expand_cfg): Ditto.
  15731. * regclass.c (regclass): Ditto.
  15732. * tree-outof-ssa.c (analyze_edges_for_bb, perform_edge_inserts,
  15733. remove_ssa_form, rewrite_out_of_ssa): Ditto.
  15734. * reg-stack.c (compensate_edge, compensate_edges, convert_regs_1,
  15735. convert_regs_2, convert_regs, reg_to_stack, rest_of_handle_stack_regs):
  15736. Ditto.
  15737. * sched-rgn.c (schedule_insns, rest_of_handle_sched): Ditto.
  15738. * local-alloc.c (rest_of_handle_local_alloc): Do not pass dump_file
  15739. to regclass.
  15740. * gcse.c (gcse_file, debug_stderr): Removed.
  15741. (gcse_main, bypass_jumps, rest_of_handle_jump_bypass,
  15742. rest_of_handle_gcse): Do not use dump argument.
  15743. (cprop_jump, cprop_insn, do_local_cprop, cprop, find_implicit_sets,
  15744. one_cprop_pass, bypass_block, compute_pre_data, insert_insn_end_bb,
  15745. pre_edge_insert, pre_insert_copy_insn, pre_delete, one_pre_gcse_pass,
  15746. compute_code_hoist_vbeinout, compute_code_hoist_data,
  15747. one_code_hoisting_pass, trim_ld_motion_mems, update_ld_motion_stores,
  15748. compute_store_table, build_store_vectors, insert_insn_start_bb,
  15749. insert_store, remove_reachable_equiv_notes, replace_store_insn,
  15750. store_motion): Use dump_file instead of gcse_file.
  15751. * ipa-type-escape.c (type_escape_execute): Remove debugging comments.
  15752. * profile.c (profile_dump_file): Removed.
  15753. (branch_prob): Use dump_file instead of profile_dump_file.
  15754. * ipa.c (cgraph_remove_unreachable_nodes): Do not call argument
  15755. dump_file.
  15756. * tree-ssa-copy.c (dump_copy_of): Ditto.
  15757. * rtl-factoring.c (rtl_seqabstr, rest_of_rtl_seqabstr): Do not pass
  15758. dump file to life_analysis.
  15759. * bt-load.c (branch_target_load_optimize): Ditto.
  15760. * cfgcleanup.c (rest_of_handle_jump2): Do not pass dump_file to
  15761. renumber_insns.
  15762. * rtl.h (cse_main, renumber_insns, schedule_insns, schedule_ebbs,
  15763. regclass, dbr_schedule): Declaration changed.
  15764. * sched-int.h (sched_init): Declaration changed.
  15765. * tree-profile.c (tree_profile_dump_file): Removed.
  15766. (tree_profile_hooks): Removed profile_dump_file hook.
  15767. * rtl-profile (rtl_profile_dump_file): Removed.
  15768. (rtl_profile_hooks): emoved profile_dump_file hook.
  15769. * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize): Declaration
  15770. changed.
  15771. * c-gimplify.c (c_genericize): Do not call local variable dump_file.
  15772. * tree-cfg.c (build_tree_cfg): Ditto.
  15773. * Makefile.in (haifa-sched.o, sched-ebb.o): Add output.h dependency.
  15774. * basic-block.h (life_analysis, pre_edge_lcm, pre_edge_rev_lcm):
  15775. Declaration changed.
  15776. * config/sh/sh.c (sh_output_mi_thunk): Do not pass dump_file to
  15777. life_analysis and schedule_insns.
  15778. * config/m68hc11/m68hc11.c (m68hc11_reorg): Do not pass dump_file to
  15779. life_analysis.
  15780. * config/mt/mt.c (mt_machine_reorg): Do not pass dump_file to
  15781. dbr_schedule.
  15782. * config/mips/mips.c (mips_reorg): Ditto.
  15783. * config/ia64/ia64.c (ia64_reorg): Do not pass dump_file to
  15784. schedule_ebbs.
  15785. 2006-02-06 Aldy Hernandez <aldyh@redhat.com>
  15786. * config/s390/s390.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
  15787. (s390_mangle_fundamental_type): New.
  15788. * config/s390/linux.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
  15789. Define.
  15790. * config/alpha/alpha.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
  15791. (alpha_mangle_fundamental_type): New.
  15792. * config/alpha/linux.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
  15793. Define.
  15794. * config/sparc/linux.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
  15795. Define.
  15796. * config/sparc/linux64.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
  15797. Define.
  15798. * config/sparc/sparc.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
  15799. (sparc_mangle_fundamental_type): New.
  15800. 2006-02-06 Jakub Jelinek <jakub@redhat.com>
  15801. * config.gcc (s390-*-linux*): Add s390/t-linux to tmake_file.
  15802. (s390x-*-linux*): Likewise.
  15803. * config/s390/t-linux64 (SHLIB_MAPFILES): Removed.
  15804. * config/s390/t-linux: New file.
  15805. 2006-02-02 Bernd Schmidt <bernd.schmidt@analog.com>
  15806. * config/i386/sync.md (sync_add<mode>, sync_sub<mode>, sync_ior<mode>,
  15807. sync_and<mode>, sync_xor<mode>): Operand 0 is in-out.
  15808. 2006-02-06 Daniel Berlin <dberlin@dberlin.org>
  15809. * tree-ssa-pre.c (bb_value_sets_t): Add antic_safe_loads.
  15810. (ANTIC_SAFE_LOADS): New macro.
  15811. (find_or_generate_expression): Add prototype.
  15812. (set_contains_value): Allow null set for sake of not always having
  15813. to allocate ANTIC_SAFE_LOADS.
  15814. (phi_translate): Move placement of AGGREGATE_TYPE_P check.
  15815. Allow COMPONENT_REF too.
  15816. (valid_in_set): Allow COMPONENT_REF.
  15817. Check ANTIC_SAFE_LOADS too.
  15818. (compute_antic_aux): Print out ANTIC_SAFE_LOADS.
  15819. (compute_rvuse_and_antic_safe): Add ANTIC_SAFE computation, and
  15820. rename.
  15821. (can_PRE_operation): Add COMPONENT_REF.
  15822. (create_component_ref_by_pieces): New function.
  15823. (create_expression_by_pieces): Use create_component_ref_by_pieces.
  15824. (insert_aux): Move AGGREGATE_TYPE_P check here.
  15825. (compute_avail): Set bb local stmt uids.
  15826. (pass_pre): Use TODO_update_ssa_only_virtuals.
  15827. 2006-02-06 Ben Elliston <bje@au.ibm.com>
  15828. * configure.ac: Unconditionally disable decimal float by default.
  15829. * configure: Regenerate.
  15830. 2006-02-06 Ben Elliston <bje@au.ibm.com>
  15831. * read-rtl.c (read_name): Terminate reading on EOF.
  15832. 2006-02-06 Ben Elliston <bje@au.ibm.com>
  15833. * dfp.c (decimal_real_arithmetic): Change second argument type
  15834. from int to enum tree_code. Do not always return true, but now
  15835. return result of any call to decimal_do helper functions.
  15836. * dfp.h (decimal_real_arithmetic): Update prototype.
  15837. 2006-02-05 Eric Botcazou <ebotcazou@libertysurf.fr>
  15838. * config/sparc/sol2-bi.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDMID.
  15839. 2006-02-05 Andrew Pinski <pinskia@physics.uc.edu>
  15840. PR tree-opt/25251
  15841. * tree-cfg.c (cleanup_dead_labels): Also don't remove
  15842. forced labels.
  15843. 2006-02-04 Zdenek Dvorak <dvorakz@suse.cz>
  15844. * tree-vrp.c (cfg_loops): Removed.
  15845. (adjust_range_with_scev, vrp_visit_assignment, execute_vrp):
  15846. Use current_loops instead of cfg_loops. Pass flags to
  15847. loop_optimizer_init.
  15848. * cfgloopmanip.c (fix_loop_structure): Update only available
  15849. information.
  15850. * tree-ssa-loop-ch.c (copy_loop_headers): Pass flags to
  15851. loop_optimizer_init.
  15852. * modulo-sched.c (build_loops_structure): Removed.
  15853. (sms_schedule): Use loop_optimizer_init.
  15854. * loop-init.c (loop_optimizer_init): Use flags to determine
  15855. which properties of loops to prepare.
  15856. (rtl_loop_init): Pass flags to loop_optimizer_init.
  15857. * tree-ssa-sink.c (execute_sink_code): Ditto.
  15858. * tree-ssa-loop.c (tree_loop_optimizer_init): Ditto.
  15859. * tree-ssa-pre.c (init_pre): Ditto.
  15860. * cfgloop.h (LOOPS_NORMAL): New.
  15861. (loop_optimizer_init): Declaration changed.
  15862. 2006-02-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  15863. * pa/x-ada-hpux10, pa/t-pa-hpux10, pa/t-pa-hpux11: New files.
  15864. * config.gcc (hppa[12]*-*-hpux10*): Use pa/t-pa-hpux10 instead of
  15865. pa/t-pa.
  15866. * config.gcc (hppa[12]*-*-hpux11*): Use pa/t-pa-hpux11 instead of
  15867. pa/t-pa.
  15868. * config.host (hppa*-*-hpux10*): Use pa/x-ada-hpux10 instead of
  15869. pa/x-ada.
  15870. * pa/t-pa-hpux: Add lib2funcs.asm and quadlib.c rules.
  15871. * pa/t-pa64: Delete quadlib.c rule.
  15872. * pa/x-ada: Revert last change.
  15873. * pa/t-pa: Revert last change. Delete quadlib.c rule.
  15874. 2006-02-04 Zdenek Dvorak <dvorakz@suse.cz>
  15875. PR rtl-optimization/26087
  15876. * rtlanal.c (canonicalize_condition): Do not cross basic block
  15877. boundaries.
  15878. 2006-02-04 Alexandre Oliva <aoliva@redhat.com>
  15879. PR debug/24444
  15880. * config/ia64/ia64.c: Include debug.h.
  15881. (MAX_ARTIFICIAL_LABEL_BYTES): New.
  15882. (ia64_label_after_insn, ia64_dwarf2out_def_steady_cfa): New.
  15883. (IA64_CHANGE_CFA_IN_EPILOGUE): Define to 0.
  15884. (process_epilogue, process_set, process_for_unwind_directive):
  15885. Output unwind info only if requested. Add CFA info if requested.
  15886. Add new arguments as needed. Adjust callers.
  15887. * config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Override
  15888. incorrect default.
  15889. (DWARF2_FRAME_INFO): Define to zero.
  15890. * config/ia64/unwind-ia64.c: Remove code that compensated for
  15891. the CFA offset error fixed above.
  15892. * config/ia64/t-ia64 (ia64.o): Depend on debug.h.
  15893. * dwarf2out.c (DWARF2_FRAME_INFO): Define default.
  15894. (dwarf2out_do_frame): Require nonzero DWARF2_UNWIND_INFO for
  15895. -funwind-tables and -fexceptions to enable frame info.
  15896. (dwarf2out_frame_init): Define initial CFA even if
  15897. DWARF2_UNWIND_INFO is disabled. Call initial_return_save if
  15898. DWARF2_UNWIND_INFO is nonzero, not just defined.
  15899. (dwarf2out_frame_finish): Output non-EH call frame info only
  15900. if DWARF2_FRAME_INFO is nonzero.
  15901. (convert_cfa_to_loc_list,
  15902. compute_frame_pointer_to_cfa_displacement): Define even if
  15903. unwind info is not supported.
  15904. (gen_subprogram_die): Use the above unconditionally. Remove
  15905. legacy alternate code.
  15906. * toplev.c (compile_file): Compile in call to
  15907. dwarf2out_frame_finish if DWARF2_DEBUGGING_INFO is defined.
  15908. (lang_dependent_init): Ditto for dwarf2out_frame_init.
  15909. 2006-02-04 David Edelsohn <edelsohn@gnu.org>
  15910. Jakub Jelinek <jakub@redhat.com>
  15911. * config/rs6000/rs6000.c (rs6000_mangle_fundamental_type): Mangle
  15912. IBM extended float format long double as "g" on powerpc*-linux.
  15913. 2006-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  15914. PR target/25926
  15915. * pa/x-ada (X_ADA_CFLAGS): Define _X_HPUX10 on HP-UX 10.
  15916. * pa/t-pa (TARGET_LIBGCC2_CFLAGS): Define _T_HPUX10 on HP-UX 10.
  15917. 2006-02-03 Jason Merrill <jason@redhat.com>
  15918. PR c++/25979
  15919. * gimplify.c (gimplify_modify_expr_rhs): Disable *& optimization for now.
  15920. PR middle-end/25977
  15921. * gimplify.c (gimplify_modify_expr_rhs): It's not always safe to do RVO
  15922. on the return slot if it's an NRV.
  15923. 2006-02-03 Zdenek Dvorak <dvorakz@suse.cz>
  15924. * tree-ssa-loop-ivopts.c (enum use_type): Remove USE_OUTER.
  15925. (dump_use, add_derived_ivs_candidates, determine_use_iv_cost,
  15926. rewrite_use): Do not handle USE_OUTER.
  15927. (find_interesting_uses_outer_or_nonlin, find_interesting_uses_outer,
  15928. add_iv_outer_candidates, may_replace_final_value,
  15929. determine_use_iv_cost_outer, rewrite_use_outer): Removed.
  15930. (find_interesting_uses_op): Functionality of
  15931. find_interesting_uses_outer_or_nonlin moved here.
  15932. (find_interesting_uses_outside): Use find_interesting_uses_op.
  15933. 2006-02-03 Alan Modra <amodra@bigpond.net.au>
  15934. PR target/25960
  15935. * config/rs6000/darwin-ldouble.c (__gcc_qadd): Preserve -0.0 result.
  15936. 2006-02-03 Andreas Krebbel <krebbel1@de.ibm.com>
  15937. Ulrich Weigand <uweigand@de.ibm.com>
  15938. PR target/25864
  15939. * config/s390/2084.md ("x_fsimptf", "x_fmultf", "x_fdivtf",
  15940. "x_floadtf", "x_ftrunctf", "x_ftruncdf"): New insn reservations.
  15941. * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): New functions.
  15942. * config/s390/s390.c (struct processor_costs): Add mxbr, sqxbr, dxbr
  15943. and dxr fields.
  15944. (z900_cost, z990_cost, z9_109_cost): Values for the new fields added.
  15945. (s390_rtx_costs): Use the new fields to calculate rtx costs.
  15946. (s390_secondary_input_reload_class, s390_secondary_output_reload_class):
  15947. Define secondary reloads for TFmode moves.
  15948. (constant_modes): Add TFmode.
  15949. (NR_C_MODES): Set to 8.
  15950. * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): Add __LONG_DOUBLE_128__
  15951. builtin define.
  15952. (LONG_DOUBLE_TYPE_SIZE): Set to 128 or 64.
  15953. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE, WIDEST_HARDWARE_FP_SIZE): Define.
  15954. (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS,
  15955. CANNOT_CHANGE_MODE_CLASS): Consider TFmode.
  15956. * config/s390/s390.md ("type" attribute): Add fsimptf, floadtf, fmultf,
  15957. fdivtf, fsqrttf, ftrunctf, ftruncdf as possible values.
  15958. (FPR mode macro): Add TFmode.
  15959. (DSF mode macro): New.
  15960. (<de>, <dee> mode attributes): Removed.
  15961. (<xde>, <xdee>, <RRe>, <RXe>, <Rf> mode attributes): New.
  15962. ("*cmp<mode>_ccs_0", "*cmp<mode>_ccs_0_ibm", "*cmp<mode>_ccs",
  15963. "*cmp<mode>_ccs_ibm", "fix_trunc<FPR:mode><GPR:mode>2_ieee",
  15964. "floatdi<mode>2", "floatsi<mode>2_ieee", "*add<mode>3",
  15965. "*add<mode>3_cc", "*add<mode>3_cconly", "*add<mode>3_ibm",
  15966. "*sub<mode>3", "*sub<mode>3_cc", "*sub<mode>3_cconly",
  15967. "*sub<mode>3_ibm", "*mul<mode>3_ibm", "*fmadd<mode>", "*fmsub<mode>",
  15968. "*div<mode>3", "*div<mode>3_ibm", "*neg<mode>2_cc",
  15969. "*neg<mode>2_cconly", "*neg<mode>2", "*neg<mode>2_ibm",
  15970. "*abs<mode>2_cc", "*abs<mode>2_cconly", "*abs<mode>2",
  15971. "*abs<mode>2_ibm", "*negabs<mode>2_cc", "*negabs<mode>2_cconly",
  15972. "*negabs<mode>2", "sqrt<mode>2"):
  15973. Changed <de> to <xde>. R constraint replaced by <Rf>.
  15974. ("*mul<mode>3"): Changed <dee> to <xdee>. R constraint replaced by
  15975. <Rf>.
  15976. ("fix_trunc<FPR:mode>di2"): 'FPR:' removed.
  15977. ("*fmadd<mode>", "*fmsub<mode>"): FPR mode replaced by DSF.
  15978. ("*movtf_64", "*movtf_31"): New insn definitions followed by 5
  15979. splitters.
  15980. ("movtf", "reload_outtf", "reload_intf", "trunctfdf2", "trunctfsf2",
  15981. "extenddftf2", "extendsftf2"): New expanders.
  15982. ("*trunctfdf2_ieee", "*trunctfdf2_ibm", "*trunctfsf2_ieee",
  15983. "*trunctfsf2_ibm", "*extenddftf2_ieee", "*extenddftf2_ibm",
  15984. "*extendsftf2_ieee", "*extendsftf2_ibm"): New insn patterns.
  15985. * config/s390/s390.opt (mlong-double-128, mlong-double-64):
  15986. New options.
  15987. * config/s390/t-crtstuff (TARGET_LIBGCC2_CFLAGS): Macro defined.
  15988. * config/s390/libgcc-glibc.ver (__divtc3, __multc3, __powitf2,
  15989. __fixtfti, __fixunstfti, __floattitf, __fixtfdi, __fixunstfdi,
  15990. __floatditf): Add a GCC_4.1.0 symbol version tag.
  15991. * doc/invoke.texi (-mlong-double-128, -mlong-double-64): Document
  15992. the new options.
  15993. 2006-02-02 Andrew Pinski <pinskia@physics.uc.edu>
  15994. PR target/25377
  15995. * config/i386/i386.c (ix86_function_ok_for_sibcall):
  15996. Use targetm.binds_local_p instead of TREE_PUBLIC.
  15997. 2006-02-02 Roger Sayle <roger@eyesopen.com>
  15998. * tree.h (TYPE_STRING_FLAG): Document that this field may be used
  15999. on INTEGER_TYPEs to indicate that it denotes a character type.
  16000. * tree.c (build_common_tree_nodes): Set TYPE_STRING_FLAG on
  16001. signed_char_type_node, unsigned_char_type_node and char_type_node.
  16002. * dwarf2out.c (base_type_die): Treat CHAR_TYPE identically to
  16003. INTEGER_TYPE. Use TYPE_STRING_FLAG to decide whether to emit
  16004. a DW_ATE_[un]signed_char instead of a DW_ATE_[un]signed.
  16005. 2006-02-02 Zdenek Dvorak <dvorakz@suse.cz>
  16006. Daniel Berlin <dberlin@dberlin.org>
  16007. * tree-tailcall.c (arg_needs_copy_p): New function.
  16008. (eliminate_tail_call): Use arg_needs_copy_p.
  16009. (tree_optimize_tail_calls_1): Ditto. Also call add_virtual_phis.
  16010. (add_virtual_phis): New function.
  16011. 2006-02-02 Jakub Jelinek <jakub@redhat.com>
  16012. * config/sparc/sparc.c (sparc_output_scratch_registers): Use
  16013. #ignore instead of #scratch for %g7 .register directive.
  16014. 2006-02-02 Andreas Tobler <a.tobler@schweiz.ch>
  16015. * config/sparc/freebsd.h (ENDFILE_SPEC): Add space to separate
  16016. object files.
  16017. 2006-02-02 Bernd Schmidt <bernd.schmidt@analog.com>
  16018. * flow.c (calculate_global_regs_live): Assert that there aren't any
  16019. EDGE_FAKE edges.
  16020. 2006-02-02 Paolo Bonzini <bonzini@gnu.org>
  16021. * tree-flow-inline.h (bsi_after_labels): Rewrite, return
  16022. what its name says.
  16023. * lambda-code.c (perfect_nestify): Use bsi_insert_before on
  16024. bsi_after_labels iterator.
  16025. * tree-if-conv.c (find_phi_replacement_condition,
  16026. replace_phi_with_cond_modify_expr): Likewise.
  16027. * tree-scalar-evolution.c (scev_const_prop): Likewise.
  16028. * tree-ssa-loop-ivopts.c (compute_phi_arg_on_exit): Likewise.
  16029. 2006-02-02 Diego Novillo <dnovillo@redhat.com>
  16030. * tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.
  16031. 2006-02-02 Diego Novillo <dnovillo@redhat.com>
  16032. PR 25990
  16033. * tree-cfg.c (move_block_to_fn): Clear out the basic block
  16034. array after growing it.
  16035. 2006-02-01 Steve Ellcey <sje@cup.hp.com>
  16036. PR middle-end/24901
  16037. * fold-const.c (fold_checksum_tree): Change type of buf.
  16038. 2006-02-01 Bernd Schmidt <bernd.schmidt@analog.com>
  16039. * reload.c (push_secondary_reload): Initialize t_icode.
  16040. 2006-02-01 Jakub Jelinek <jakub@redhat.com>
  16041. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): For
  16042. -msoft-float -mlong-double-128 only issue a warning, but don't
  16043. swich to DFmode long double.
  16044. 2006-02-01 Hans-Peter Nilsson <hp@axis.com>
  16045. * cse.c (fold_rtx) <case RTX_COMM_COMPARE, RTX_COMPARE>: When arg1
  16046. has a constant equivalent, iterate over equivalents for arg0,
  16047. calling simplify_relational_operation and if there's a result
  16048. cheaper than X, apply fold_rtx and return the result.
  16049. 2006-02-01 Jan Hubicka <jh@suse.cz>
  16050. * opts.c (no_unit_at_a_time_default): New global variable.
  16051. (decode_options): Use it.
  16052. * opts.h (no_unit_at_a_time_default): Declare.
  16053. 2006-02-01 Paul Brook <paul@codesourcery.com>
  16054. * function.c (assign_parm_setup_reg): Use function argument promotion
  16055. rules.
  16056. * expr.c (expand_expr_real_1): Use function argument promotion rules
  16057. for PARM_DECLs.
  16058. 2006-02-01 Steve Ellcey <sje@cup.hp.com>
  16059. * gcc.c (process_command): Change j to 'unsigned int'.
  16060. 2006-01-31 Andrew Pinski <pinskia@physics.uc.edu>
  16061. PR middle-end/26001
  16062. * expr.c (expand_expr_real_1) <case ARRAY_REF>:
  16063. Use the corrected index for the character
  16064. out of the string constant.
  16065. 2006-01-31 Andrew Pinski <pinskia@physics.uc.edu>
  16066. * mode-switching.c (optimize_mode_switching): Fix size
  16067. allocated for bb_info[n_entities].
  16068. 2006-01-31 Andrew Pinski <pinskia@physics.uc.edu>
  16069. * gcc.c (main): Correct type that is allocated for
  16070. explicit_link_files.
  16071. 2006-01-31 Jakub Jelinek <jakub@redhat.com>
  16072. * config/s390/s390.c (init_alignment_context): Set
  16073. ALIAS_SET_MEMORY_BARRIER on the MEM.
  16074. * config/sparc/sparc.c (sparc_expand_compare_and_swap_12): Likewise.
  16075. 2006-01-31 Uttam Pawar <uttamp@us.ibm.com>
  16076. PR middle-end/25933
  16077. * loop-unroll.c (unroll_loop_runtime_iterations): Free
  16078. dom_bbs pointer.
  16079. * tree-ssa-live.c (type_var_init): Allocate bitmap after
  16080. call to tpa_init.
  16081. 2006-01-31 Marcin Dalecki <martin@dalecki.de>
  16082. * tree-vrp.c: Use XNEW/XCNEW allocation wrappers.
  16083. * regrename.c: Ditto.
  16084. * tree-ssa-loop-im.c: Ditto.
  16085. * tree-dump.c: Ditto.
  16086. * tree-complex.c: Ditto.
  16087. * genrecog.c: Ditto.
  16088. * tree-ssa-threadupdate.c: Ditto.
  16089. * tracer.c: Ditto.
  16090. * java/class.c: Ditto.
  16091. * java/jcf-parse.c: Ditto.
  16092. * java/resource.c: Ditto.
  16093. * java/except.c: Ditto.
  16094. * java/jvspec.c: Ditto.
  16095. * java/jcf-write.c: Ditto.
  16096. * java/jcf-path.c: Ditto.
  16097. * java/gjavah.c: Ditto.
  16098. * java/zextract.c: Ditto.
  16099. * java/jcf-io.c: Ditto.
  16100. * java/jcf.h: Ditto.
  16101. * java/buffer.c: Ditto.
  16102. * java/lang.c: Ditto.
  16103. * java/parse-scan.y: Ditto.
  16104. * java/lex.c: Ditto.
  16105. * java/lex.h: Ditto.
  16106. * cfgloopmanip.c: Ditto.
  16107. * postreload-gcse.c: Ditto.
  16108. * tree-ssa-loop-manip.c: Ditto.
  16109. * postreload.c: Ditto.
  16110. * tree-ssa-loop-ch.c: Ditto.
  16111. * loop.c: Ditto.
  16112. * ipa-cp.c: Ditto.
  16113. * cppspec.c: Ditto.
  16114. * diagnostic.c: Ditto.
  16115. * final.c: Ditto.
  16116. * genoutput.c: Ditto.
  16117. * gcc.c: Ditto.
  16118. * cfghooks.c: Ditto.
  16119. * cfgloopanal.c: Ditto.
  16120. * objc/objc-act.c: Ditto.
  16121. * gcov.c: Ditto.
  16122. * genextract.c: Ditto.
  16123. * genautomata.c: Ditto.
  16124. * pretty-print.c: Ditto.
  16125. * genemit.c: Ditto.
  16126. * cgraphunit.c: Ditto.
  16127. * flow.c: Ditto.
  16128. * df-scan.c: Ditto.
  16129. * haifa-sched.c: Ditto.
  16130. * dominance.c: Ditto.
  16131. * dbxout.c: Ditto.
  16132. * tree-ssa-loop-ivopts.c: Ditto.
  16133. * df-core.c: Ditto.
  16134. * mode-switching.c: Ditto.
  16135. * modulo-sched.c: Ditto.
  16136. * graph.c: Ditto.
  16137. * ipa-pure-const.c: Ditto.
  16138. * cse.c: Ditto.
  16139. * fix-header.c: Ditto.
  16140. * web.c: Ditto.
  16141. * tree-stdarg.c: Ditto.
  16142. * ipa-utils.c: Ditto.
  16143. * loop-init.c: Ditto.
  16144. * ipa-inline.c: Ditto.
  16145. * cfganal.c: Ditto.
  16146. * global.c: Ditto.
  16147. * alloc-pool.c: Ditto.
  16148. * dwarf2out.c: Ditto.
  16149. * opts.c: Ditto.
  16150. * genattrtab.c: Ditto.
  16151. * tree-ssa-loop-ivcanon.c: Ditto.
  16152. * predict.c: Ditto.
  16153. * timevar.c: Ditto.
  16154. * lcm.c: Ditto.
  16155. * fortran/gfortranspec.c: Ditto.
  16156. * regmove.c: Ditto.
  16157. * local-alloc.c: Ditto.
  16158. * langhooks.c: Ditto.
  16159. * function.c: Ditto.
  16160. * tree-vectorizer.c: Ditto.
  16161. * gcse.c: Ditto.
  16162. * ipa-type-escape.c: Ditto.
  16163. * alias.c: Ditto.
  16164. * tree-if-conv.c: Ditto.
  16165. * profile.c: Ditto.
  16166. * ipa.c: Ditto.
  16167. * tree-data-ref.c: Ditto.
  16168. * loop-unroll.c: Ditto.
  16169. * treelang/treetree.c: Ditto.
  16170. * calls.c: Ditto.
  16171. * bt-load.c: Ditto.
  16172. * ggc-common.c: Ditto.
  16173. * except.c: Ditto.
  16174. * coverage.c: Ditto.
  16175. * cselib.c: Ditto.
  16176. * tree-cfgcleanup.c: Ditto.
  16177. * tree-ssa-pre.c: Ditto.
  16178. * cfgcleanup.c: Ditto.
  16179. * loop-invariant.c: Ditto.
  16180. * loop-iv.c: Ditto.
  16181. * ipa-prop.c: Ditto.
  16182. * print-tree.c: Ditto.
  16183. * conflict.c: Ditto.
  16184. * ggc-page.c: Ditto.
  16185. * sched-deps.c: Ditto.
  16186. * regclass.c: Ditto.
  16187. * tree-object-size.c: Ditto.
  16188. * combine.c: Ditto.
  16189. * bb-reorder.c: Ditto.
  16190. * resource.c: Ditto.
  16191. * var-tracking.c: Ditto.
  16192. * cfgloop.c: Ditto.
  16193. * df-problems.c: Ditto.
  16194. * reg-stack.c: Ditto.
  16195. * tlink.c: Ditto.
  16196. * gccspec.c: Ditto.
  16197. * sched-rgn.c: Ditto.
  16198. * tree-ssa-structalias.c: Ditto.
  16199. * tree-ssa-reassoc.c: Ditto.
  16200. * config/darwin-c.c: Ditto.
  16201. * config/darwin.c: Ditto.
  16202. * config/arm/arm.c: Ditto.
  16203. * cfgrtl.c: Ditto.
  16204. * collect2.c: Ditto.
  16205. * reload1.c: Ditto.
  16206. 2006-01-31 Nicolas Pitre <nico@cam.org>
  16207. * arm.md (smaxsi3): Make aware of smax_m1.
  16208. (smax_m1): New.
  16209. 2006-01-31 Nathan Sidwell <nathan@codesourcery.com>
  16210. * config/m68k/lb1sf68.asm: Use moveq to load small constants.
  16211. 2006-01-31 Richard Guenther <rguenther@suse.de>
  16212. * doc/invoke.texi (-msselibm): Document.
  16213. * target.h (expand_library_builtin): New target hook.
  16214. * builtins.c (expand_builtin): Use expand_library_builtin.
  16215. (default_expand_library_builtin): New function.
  16216. * gcc.c (LINK_GCC_MATH_SPEC): Define.
  16217. (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
  16218. (link_gcc_math_spec): Declare.
  16219. (static_specs): Add link_gcc_math_spec.
  16220. * expr.h (default_expand_library_builtin): Declare.
  16221. * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
  16222. (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
  16223. * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
  16224. * config/i386/i386.opt (msselibm): New target option.
  16225. * config/i386/i386.c (ix86_builtin_function_variants): New array.
  16226. (ix86_init_sse_abi_builtins): New function.
  16227. (ix86_expand_library_builtin): Likewise.
  16228. (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
  16229. (override_options): Handle error conditions wrt -msselibm.
  16230. (ix86_builtins): Add function codes for SSE2 ABI builtins.
  16231. (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
  16232. * doc/extend.texi (__builtin_sse2_*): Document new target specific
  16233. builtins.
  16234. 2006-01-31 Richard Guenther <rguenther@suse.de>
  16235. Paolo Bonzini <bonzini@gnu.org>
  16236. * doc/install.texi (--disable-libgcc-math): Document.
  16237. 2006-01-30 Marcin Dalecki <martin@dalecki.de>
  16238. * expr.h (expand_normal): new inline function.
  16239. * builtins.c: use it, use EXPAND_NORMAL explicitely.
  16240. * dojump.c: use it.
  16241. * dwarf2out.c: use it.
  16242. * expr.c: use it.
  16243. * calls.c: use it.
  16244. * expmed.c: use it.
  16245. * except.c: use it.
  16246. * config/sparc/sparc.c: use it.
  16247. * config/i386/i386.c: use it.
  16248. * config/rs6000/rs6000.c: use it.
  16249. * config/arm/arm.c: use it.
  16250. * config/mips/mips.c: use it.
  16251. * stmt.c: use it, use EXPAND_NORMAL explicitely.
  16252. 2006-01-30 Roger Sayle <roger@eyesopen.com>
  16253. * config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast
  16254. argv to the appropriate type.
  16255. 2006-01-30 Zdenek Dvorak <dvorakz@suse.cz>
  16256. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove
  16257. unreachable code.
  16258. 2006-01-30 Ulrich Weigand <uweigand@de.ibm.com>
  16259. PR target/26018
  16260. * config/s390/s390.c (struct machine_function): New flag
  16261. decomposed_literal_pool_addresses_ok_p.
  16262. (s390_reorg): Set it before final stage of literal pool transforms.
  16263. (s390_decompose_address): Only accept displacements of the form
  16264. (minus (label_ref ...) (label_ref ...)) if that flag is set.
  16265. 2006-01-30 Carlos O'Donell <carlos@codesourcery.com>
  16266. * optabs.c (prepare_cmp_insn): If unbaised and unsigned then bias
  16267. the comparison routine return.
  16268. 2006-01-30 Michael Matz <matz@suse.de>
  16269. * global.c (find_reg): Only evict for global regs.
  16270. Take n_refs into account and dump more info.
  16271. 2006-01-30 J"orn Rennecke <joern.rennecke@st.com>
  16272. PR target/14798:
  16273. * sh.c (pragma_interrupt, trap_exit, sp_switch): Remove variable.
  16274. (pragma_trap, pragma_nosave_low_regs): Likewise.
  16275. (current_function_anonymous_args): Likewise.
  16276. (sh_deferred_function_attributes): New variable.
  16277. (sh_deferred_function_attributes_tail): Likewise.
  16278. (print_operand): For '@', look up trap_exit attribute.
  16279. (calc_live_regs): Look up trapa_handler attribute. For trapa
  16280. handlers, save/restore fpscr, but don't do any other
  16281. interrupt-specific saves.
  16282. Don't save r0..r7 if the nosave_low_regs attribute is in effect.
  16283. Fix check for partially saved registers to check for SHmedia.
  16284. (sh_expand_prologue, sh_expand_epilogue): Look up sp_switch attribute.
  16285. (sh_output_function_epilogue): Don't clear any of the removed
  16286. variables.
  16287. (sh_insert_attributes): Don't check pragma_interrupt.
  16288. Insert deferred attributes. Check that interrupt attribute is
  16289. present for other attributes that require its presence.
  16290. (sh_attribute_table): Add new attributes trapa_handler and
  16291. nosave_low_regs.
  16292. (sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
  16293. Don't check for pragma_interrupt. Don't store argument.
  16294. * sh.h (pragma_interrupt, sp_switch): Don't declare.
  16295. (sh_deferred_function_attributes): Declare.
  16296. (sh_deferred_function_attributes_tail): Likewise.
  16297. * sh.md (sp_switch_1): Add operand. Change generator caller.
  16298. (sh_pr_interrupt, sh_pr_trapa, sh_pr_nosave_low_regs): Remove.
  16299. (*return_i): Don't use when trap_exit attribute is in effect.
  16300. (*return_trapa): New insn pattern.
  16301. * sh-c.c: New file.
  16302. * config.gcc (sh[123456ble]*-* | sh-*-*): New trailer stanza,
  16303. setting c_target_objs and cxx_target_objs.
  16304. * t-sh: Add rule for sh-c.o.
  16305. 2006-01-30 Richard Guenther <rguenther@suse.de>
  16306. PR c++/23372
  16307. * gimplify.c (gimplify_target_expr): Handle easy cases
  16308. without creating a temporary.
  16309. 2006-01-30 Nathan Sidwell <nathan@codesourcery.com>
  16310. * vec.h (safe_grow): Remove duplicated line.
  16311. 2006-01-29 Diego Novillo <dnovillo@redhat.com>
  16312. PR 25874
  16313. * omp-low.c (execute_expand_omp): Move CFG cleanup code ...
  16314. (expand_omp): ... here.
  16315. (expand_omp_parallel): Only remove barriers for combined
  16316. parallel+workshare constructs.
  16317. 2006-01-29 Eric Botcazou <ebotcazou@adacore.com>
  16318. Revert
  16319. 2005-11-09 Eric Botcazou <ebotcazou@adacore.com>
  16320. * tree.c (build_qualified_type): Chain the new type to the original
  16321. type's TYPE_NEXT_PTR_TO or TYPE_NEXT_REF_TO linked lists if it is
  16322. a POINTER_TYPE or a REFERENCE_TYPE respectively.
  16323. (build_pointer_type_for_mode): Only return unqualified types.
  16324. (build_reference_type_for_mode): Likewise.
  16325. 2006-01-29 Gabriel Dos Reis <gdr@integgrable-solutions.net>
  16326. * configure.ac (cxx_compat_warn): Set if -Wc++-compat is supported.
  16327. * Makefile.in (CXX_COMPAT_WARN): Define.
  16328. * configure: Regenerate.
  16329. 2006-01-29 Dorit Nuzman <dorit@il.ibm.com>
  16330. PR tree-opt/25911
  16331. * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Change assert
  16332. to an if check.
  16333. 2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
  16334. * toplev.c: Fix thinko.
  16335. 2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
  16336. Marcin Dalecki <martin@dalecki.de>
  16337. * toplev.c (floor_log2, exact_log2): Don't define if __cplusplus.
  16338. (push_srcloc): Use XNEW.
  16339. (init_asm_output, default_get_pch_validity): Use XNEWVEC.
  16340. 2006-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
  16341. * df-core.c (df_set_blocks): Deleted all variable.
  16342. 2006-01-28 Ian Lance Taylor <ian@airs.com>
  16343. * cgraphunit.c (cgraph_assemble_pending_functions): Call
  16344. cgraph_output_pending_asms.
  16345. 2006-01-28 Zack Weinberg <zackw@panix.com>
  16346. * c.opt: Add -W(no-)overlength-strings.
  16347. * doc/invoke.texi: Document it.
  16348. * c-opts.c (c_common_handle_option): -pedantic implies
  16349. -Woverlength-strings, if not explicitly disabled already.
  16350. (c_common_post_options): -Woverlength-strings defaults to off, and
  16351. is always off for C++.
  16352. * c-common.c (fix_string_type): Issue warning about strings longer
  16353. than is portable only if warn_overlength_strings. Rearrange code
  16354. a little for clarity.
  16355. * configure.in: Check for -Wno-overlength-strings as well before
  16356. enabling -pedantic in stage 1.
  16357. * Makefile.in (STRICT2_WARN): Add -Wno-overlength-strings.
  16358. (gcc.o-warn, insn-automata.o-warn, build/gencondmd.o-warn): Delete.
  16359. * genconditions.c (write_header, write_one_condition)
  16360. (write_conditions, write_writer): Consolidate very long strings
  16361. that were broken up to fit in C89 portable limit. Don't use
  16362. printf when fputs will do.
  16363. 2006-01-28 Adam Nemet <anemet@caviumnetworks.com>
  16364. * combine.c (simplify_comparison <AND>): Check
  16365. TRULY_NOOP_TRUNCATION before start using a subreg.
  16366. * config/mips/mips.md (*branch_zero<mode>,
  16367. *branch_zero<mode>_inverted, *branch_equality<mode>,
  16368. *branch_equality<mode>_inverted, *branch_equality<mode>_mips16):
  16369. Remove mode check from comparisons.
  16370. 2006-01-28 Kenneth Zadeck <zadeck@naturalbridge.com>
  16371. * config/mips/mips-protos.h (mips_set_live_on_entry): Deleted.
  16372. 2006-01-28 Kazu Hirata <kazu@codesourcery.com>
  16373. * expmed.c (const_mult_add_overflow_p): Remove.
  16374. * expr.h: Remove the prototype for const_mult_add_overflow_p.
  16375. * recog.c (validate_replace_rtx_subexp): Remove.
  16376. * recog.h: Remove the prototype for
  16377. validate_replace_rtx_subexp.
  16378. * integrate.h: Remove the prototype for
  16379. copy_decl_for_inlining.
  16380. * rtl.h: Remove the prototype for mark_constant_function.
  16381. * tree-vectorizer.h: Remove the prototype for
  16382. vect_strip_conversion.
  16383. * modulo-sched.c (create_partial_schedule,
  16384. free_partial_schedule, reset_partial_schedule): Make them
  16385. static.
  16386. * hooks.c (hook_bool_rtx_int_false): Remove.
  16387. * hooks.h: Remove the prototype for hook_bool_rtx_int_false.
  16388. 2006-01-28 David Edelsohn <edelsohn@gnu.org>
  16389. * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float
  16390. and -mlong-double-128 are incompatible.
  16391. * config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Same.
  16392. * config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
  16393. (TARGET_LIBGCC2_CFLAGS): Define.
  16394. * config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): Same.
  16395. (TARGET_LIBGCC2_CFLAGS): Same.
  16396. * config/rs6000/ppc64-fp.c: Compile for 64-bit AIX.
  16397. 2006-01-28 Kazu Hirata <kazu@codesourcery.com>
  16398. PR c/19606.
  16399. * c-typeck.c (build_binary_op): Perform implicit casts of
  16400. operands before shortening them.
  16401. * cfgloopmanip.c (split_loop_bb): Remove.
  16402. * cfgloop.h: Remove the prototype for split_loop_bb.
  16403. * cfgloop.c (flow_loop_outside_edge_p): Remove.
  16404. * cfgloop.h: Remove the prototype for
  16405. flow_loop_outside_edge_p.
  16406. * emit-rtl.c (init_virtual_regs): Make it static.
  16407. * function.h: Remove the prototype for init_virtual_regs.
  16408. * recog.c (peephole2_optimize): Make it static.
  16409. * recog.h: Remove the prototype for peephole2_optimize.
  16410. 2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
  16411. * df-scan.c (df_record_entry_block_defs): Check if
  16412. INCOMING_RETURN_ADDR_RTX is defined.
  16413. 2006-01-27 Daniel Berlin <dberlin@dberlin.org>
  16414. Kenneth Zadeck <zadeck@naturalbridge.com>
  16415. PR rtl-optimization/24762
  16416. * doc/tm.texi: Added TARGET_EXTRA_LIVE_ON_ENTRY.
  16417. * targhooks.c (hook_void_bitmap): New hook prototype.
  16418. * targhoohs.h (hook_void_bitmap): Ditto.
  16419. * bitmap.h (bitmap_head_def): Moved to coretypes.h.
  16420. * coretypes.h (bitmap_head_def): Moved from bitmap.h.
  16421. * target.h (live_on_entry): New function pointer.
  16422. * df-scan.c (df_all_hard_regs): Removed.
  16423. (df_scan_dump, df_hard_reg_init): Removed df_all_hard_regs.
  16424. (df_scan_free_internal): Added df->entry_block_defs.
  16425. (df_scan_alloc): Ditto.
  16426. (df_scan_dump): Ditto.
  16427. (df_uses_record): Plumbed flag field properly thru calls.
  16428. Record EH_RETURN_DATA_REGNO in eh blocks unconditionally.
  16429. This part fixes PR24762.
  16430. (df_bb_refs_record): Added code to make the frame and arg
  16431. pointers live in EH blocks.
  16432. (df_refs_record): Added call to df_record_entry_block_defs.
  16433. (df_record_entry_block_defs): New function.
  16434. * df-core.c: Added comments to describe new artifical defs.
  16435. * df.h (DF_REF_DIES_AFTER_THIS_USE): New flag in enum df_ref_flags.
  16436. (entry_block_defs): New field in struct df.
  16437. (df_all_hard_regs): Deleted.
  16438. * target-def.h: Added TARGET_EXTRA_LIVE_ON_ENTRY.
  16439. * df-problems.c (df_ru_bb_local_compute_process_def):
  16440. Added code to handle artifical defs in the entry to a function.
  16441. (df_ru_bb_local_compute): Ditto.
  16442. (df_rd_bb_local_compute_process_def): Ditto.
  16443. (df_rd_bb_local_compute): Ditto.
  16444. (df_lr_bb_local_compute): Ditto.
  16445. (df_ur_bb_local_compute): Ditto.
  16446. (df_urec_bb_local_compute): Ditto.
  16447. (df_chain_create_bb): Ditto.
  16448. (df_ur_local_finalize): Removed entry.
  16449. (df_urec_init): Ditto.
  16450. (df_urec_local_finalize): Ditto.
  16451. (df_ri_bb_compute): Added detection of last use of pseudos.
  16452. * Makefile.in (df-scan.o): Updated dependencies.
  16453. * config/mips/mips-protos.h (mips_set_live_on_entry): Added.
  16454. * config/mips/mips.c (mips_set_live_on_entry): Added.
  16455. * config/mips/mips.c (TARGET_EXTRA_LIVE_ON_ENTRY): Added value
  16456. for target hook.
  16457. * dce.c (marked_insn_p): Added code to handle artifical defs.
  16458. 2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
  16459. * config/i386/emmintrin.h (_mm_cvtsd_f64): Add missing Intel
  16460. intrinsic.
  16461. (_mm_cvtsi128_si64): Likewise.
  16462. (_mm_cvtsd_si64): Likewise.
  16463. (_mm_cvttsd_si64): Likewise.
  16464. (_mm_cvtsi64_sd): Likewise.
  16465. (_mm_cvtsi64_si128): Likewise.
  16466. * config/i386/mmintrin.h (_m_from_int64): Likewise.
  16467. (_mm_cvtsi64_m64): Likewise.
  16468. (_m_to_int64): Likewise.
  16469. (_mm_cvtm64_si64): Likewise.
  16470. * config/i386/xmmintrin.h (_mm_cvtss_si64): Likewise.
  16471. (_mm_cvttss_si64): Likewise.
  16472. (_mm_cvtsi64_ss): Likewise.
  16473. (_mm_cvtss_f32): Likewise.
  16474. 2006-01-27 Carlos O'Donell <carlos@codesourcery.com>
  16475. * c-pragma.c (init_pragma) : Call c_register_pragma_with_expansion
  16476. for pragma redefine_extname.
  16477. 2006-01-27 Jakub Jelinek <jakub@redhat.com>
  16478. PR target/25864
  16479. * libgcc-std.ver: Add GCC_4.1.0 symbol version.
  16480. * config/rs6000/t-linux64 (TARGET_LIBGCC2_CFLAGS): Only append
  16481. -mno-minimal-toc to previous content.
  16482. (bispecs): Remove goal.
  16483. * config/rs6000/ppc64-fp.c: Define TMODES before including fp-bit.h.
  16484. * config/rs6000/darwin-ldouble.c: Don't provide _xlq*@GCC_3.4
  16485. compatibility aliases on powerpc-*-*gnu*.
  16486. * config/rs6000/libgcc-ppc-glibc.ver: New file.
  16487. * config/rs6000/t-ppccomm (SHLIB_MAPFILES): Append
  16488. libgcc-ppc-glibc.ver on powerpc*-*-*gnu*.
  16489. (TARGET_LIBGCC2_CFLAGS): Append -specs=ldblspecs.
  16490. (ldblspecs): New goal.
  16491. * config/rs6000/t-linux64 (SHLIB_MAPFILES): Removed.
  16492. * mklibgcc.in: If $TPBIT is empty, don't compile _sf_to_tf and
  16493. _df_to_tf.
  16494. * config/fp-bit.h (TMODES): Don't define if none of TFLOAT,
  16495. L_sf_to_tf or L_df_to_tf is defined.
  16496. 2006-01-27 David Edelsohn <edelsohn@gnu.org>
  16497. Alan Modra <amodra@bigpond.net.au>
  16498. PR target/25864
  16499. * config/rs6000/linux.h (POWERPC_LINUX): Define.
  16500. * config/rs6000/linux64.h (POWERPC_LINUX): Define.
  16501. * config/rs6000/darwin-ldouble.c: Build on 32-bit PowerPC.
  16502. * config/rs6000/darwin.h (TARGET_IEEEQUAD): Define to zero.
  16503. * config/rs6000/aix.h (TARGET_IEEEQUAD): Define to zero.
  16504. * config/rs6000/rs6000.c (rs6000_ieeequad): New variable.
  16505. (rs6000_override_options): Initialize rs6000_ieeequad.
  16506. Initialize TFmode format to ibm_extended_format if not
  16507. TARGET_IEEEQUAD.
  16508. (rs6000_handle_option): Accept -mabi= ibmlongdouble and
  16509. ieeelongdouble.
  16510. (rs6000_emit_move): Move !TARGET_IEEEQUAD as two parts.
  16511. (rs6000_return_in_memory): Only return IEEEQUAD in memory.
  16512. (function_arg_advance): IBM long double passed in two FPRs, not
  16513. split.
  16514. (function_arg): IBM long double passed in FPRs.
  16515. (rs6000_pass_by_reference): Only IEEEQUAD passed by reference.
  16516. (rs6000_gimplify_va_arg): IBM long double passed in two FPRs.
  16517. Only multireg GPR aligned.
  16518. (rs6000_init_libfuncs): Enable IBM long double functions if not
  16519. IEEEQUAD.
  16520. (rs6000_generate_compare): Use IBM long double compare if not
  16521. TARGET_IEEEQUAD.
  16522. * config/rs6000/rs6000.h (rs6000_ieeequad): Declare.
  16523. (TARGET_IEEEQUAD): Define.
  16524. (CANNOT_CHANGE_MODE_CLASS): Any mode larger than doubleword if
  16525. not TARGET_IEEEQUAD.
  16526. * config/rs6000/rs6000.md: Enable TFmode patterns if
  16527. !TARGET_IEEEQUAD.
  16528. * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Add darwin-ldouble.c.
  16529. * config/rs6000/svr4.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float
  16530. and -mlong-double-128 are incompatible.
  16531. * doc/invoke.texi (-mabi): Collect options together. Add
  16532. ibmlongdouble and ieeelongdouble.
  16533. 2006-01-27 Richard Sandiford <richard@codesourcery.com>
  16534. * doc/rtl.texi (SYMBOL_REF_DATA): Adjust documentation for new
  16535. opaque type.
  16536. * optabs.c (init_one_libfunc): Use SET_SYMBOL_REF_DECL.
  16537. * varasm.c (make_decl_rtl, build_constant_desc): Likewise.
  16538. (force_const_mem): Use SET_SYMBOL_REF_CONSTANT.
  16539. * rtl.h (rtunion_def): Remove rt_ptr.
  16540. (X0PTR): Delete.
  16541. (SYMBOL_REF_DATA): Use X0ANY instead of X0PTR.
  16542. (SET_SYMBOL_REF_DECL, SET_SYMBOL_REF_CONSTANT): New macros.
  16543. * config/i386/winnt.c (i386_pe_mark_dllexport)
  16544. (i386_pe_mark_dllimport): Use SET_SYMBOL_REF_DECL.
  16545. 2006-01-27 Gabor Loki <loki@gcc.gnu.org>
  16546. * cfgcleanup.c (try_crossjump_to_edge): Fix comment typo.
  16547. 2006-01-26 Alexandre Oliva <aoliva@redhat.com>
  16548. PR other/24829
  16549. PR target/24831
  16550. * gthr-dce.h: Do not gthrw-ify pthread_once_init,
  16551. pthread_key_delete. From John David Anglin. gthrw-ify
  16552. pthread_getunique_np only if it it's not a macro. Delete
  16553. UNUSED macro.
  16554. (__gthread_objc_condition_allocate, __gthread_objc_condition_deallocate,
  16555. __gthread_objc_condition_wait, __gthread_objc_condition_broadcast,
  16556. __gthread_objc_condition_signal, __gthread_key_delete): Add
  16557. "__attribute__ ((__unused__))" to unused arguments.
  16558. (__gthread_recursive_mutex_init_function): Add missing return.
  16559. * gthr-dce.h, gthr-tpf.h, gthr-solaris.h, gthr-posix.h,
  16560. gthr-posix95.h: Use macro-based approach for name redirection
  16561. on targets missing weakref.
  16562. 2006-01-26 Zack Weinberg <zackw@panix.com>
  16563. * genconditions.c (write_header): In generated code, #ifdef out
  16564. all includes and fake declarations, except includes of bconfig.h
  16565. and system.h, unless GCC_VERSION >= 3001. Do not include
  16566. gensupport.h in any case.
  16567. (write_conditions): Generate a definition of struct c_test. Add
  16568. a comment to the generated #endif.
  16569. (write_one_condition): Escape backslashes in string too.
  16570. (write_writer): Generated code must escape backslashes and quote
  16571. marks (but not newlines) in the strings it writes.
  16572. * Makefile.in (build/gencondmd.o): Update dependencies.
  16573. 2006-01-26 Steve Ellcey <sje@cup.hp.com>
  16574. PR target/25961
  16575. * Makefile.in (insn-automata.o): Add header file dependencies.
  16576. * genautomata.c: Add includes.
  16577. 2006-01-26 Steve Ellcey <sje@cup.hp.com>
  16578. PR target/25961
  16579. * Makefile.in (insn-automata.o): Add -Wno-error flag.
  16580. 2006-01-26 Paolo Bonzini <bonzini@gnu.org>
  16581. * configure.ac: Expect target tools paths to be passed from the toplevel
  16582. and wrap the detection into AS_SET_VAR_IF. Extract side-effects out of
  16583. AS_SET_VAR_IF.
  16584. * acinclude.m4 (gcc_AC_TOOL_DIRS, gcc_AC_CHECK_TOOL): Remove.
  16585. 2006-01-26 Alexandre Oliva <aoliva@redhat.com>
  16586. PR c/25892
  16587. * c.opt (Wpointer-sign): Init to -1.
  16588. * c-opts.c (c_common_handle_option): Set to 1 on OPT_Wall and
  16589. OPT_pedantic, to 0 otherwise.
  16590. * doc/invoke.texi: Update.
  16591. 2006-01-26 Paolo Bonzini <bonzini@gnu.org>
  16592. * config/i386/i386.md (extendsfdf2, extendsfxf2, extenddfxf2): Emit
  16593. constants provided by 80387 instructions in the destination mode.
  16594. 2006-01-26 Richard Guenther <rguenther@suse.de>
  16595. Andrew Pinski <pinskia@physics.uc.edu>
  16596. PR tree-opt/21470
  16597. partial PR tree-opt/17064
  16598. * tree-ssa-structalias.c (intra_create_variable_infos):
  16599. Create heap variables for incoming parameters if
  16600. flag_argument_noalias > 1.
  16601. (find_what_p_points_to): Look through default defs of
  16602. parameter decls.
  16603. 2006-01-26 Jeff Law <law@redhat.com>
  16604. PR ada/25900
  16605. * tree-vrp.c (extract_range_from_assert): When merging a VR_RANGE
  16606. with a VR_ANTI_RANGE and the VR_ANTI_RANGE is completely contained
  16607. within the VR_RANGE, use the VR_RANGE as the result, not the
  16608. VR_ANTI_RANGE.
  16609. (adjust_range_with_scev): Reject ranges from SCEV which are out of
  16610. bounds for the type.
  16611. 2006-01-26 Daniel Berlin <dberlin@dberlin.org>
  16612. * tree-ssa-alias.c (maybe_create_global_var): Change
  16613. subvar walking to an assertion that we don't have subvar'd variables.
  16614. 2006-01-26 Andrew Pinski <pinskia@physics.uc.edu>
  16615. PR C/25861
  16616. * c-common.c (c_common_truthvalue_conversion) <case ADDR_EXPR>:
  16617. Use a new variable, inner. PARM_DECLs are always non-weak.
  16618. 2006-01-26 Shantonu Sen <ssen@opendarwin.org>
  16619. * tree.h (OMP_CLAUSE_SUBCODE_CHECK): Add definition for
  16620. --disable-checking.
  16621. 2006-01-26 Adam Nemet <anemet@caviumnetworks.com>
  16622. * config/mips/mips.md (*clear_upper32): New combiner pattern.
  16623. 2006-01-26 Richard Earnshaw <richard.earnshaw@arm.com>
  16624. * arm.md (smaxsi3, sminsi3): Convert to define_expand.
  16625. (smax_insn, smin_insn, smax_0, smin_0): New.
  16626. 2006-01-26 Hans-Peter Nilsson <hp@axis.com>
  16627. PR target/25947
  16628. * config/cris/cris.c (cris_order_for_addsi3): New function.
  16629. * config/cris/cris-protos.h: Prototype it.
  16630. * config/cris/cris.md (split for "move.S1 [rx=rx+i],ry")
  16631. (split for "move.S1 ry,[rx=rx+i]", split for "clear.[bwd] [rx=rx+i]")
  16632. (split for "mov(s|u).S1 [rx=rx+i],ry", split for "op.S1 [rx=rx+i],ry")
  16633. (split for "op.S1 [rx=rx+i],ry (swapped)")
  16634. (split for "op(s|u).S1 [rx=rx+i],ry")
  16635. (split for "op(s|u).S1 [rx=rx+i],ry (swapped, plus or bound)"):
  16636. Apply cris_order_for_addsi3 when generating addsi3 insns.
  16637. 2006-01-25 Diego Novillo <dnovillo@redhat.com>
  16638. * tree.h (TREE_RANGE_CHECK): Fix range predicate.
  16639. (TREE_BLOCK): Add call to EXPR_CHECK.
  16640. 2006-01-25 Diego Novillo <dnovillo@redhat.com>
  16641. PR 25886
  16642. * tree-dump.c (dequeue_and_dump): Handle OMP_CLAUSE.
  16643. * tree-pretty-print.c (dump_omp_clause): Extract from ...
  16644. (dump_omp_clauses): ... here.
  16645. (dump_generic_node): Handle OMP_CLAUSE.
  16646. * tree.c (omp_clause_num_ops): New.
  16647. (omp_clause_code_name): New.
  16648. (tree_code_size): Handle OMP_CLAUSE.
  16649. (tree_size): Likewise.
  16650. (make_node): Document handling of OMP_CLAUSE.
  16651. (tree_node_structure): Handle OMP_CLAUSE.
  16652. (omp_clause_check_failed): New.
  16653. (omp_clause_range_check_failed): New.
  16654. (omp_clause_operand_check_failed): New.
  16655. (build_omp_clause): New.
  16656. (walk_tree): Adjust handling of OMP_CLAUSE_* nodes.
  16657. * tree.h (enum omp_clause_code): Declare.
  16658. (OMP_CLAUSE_SUBCODE_CHECK): Define.
  16659. (OMP_CLAUSE_RANGE_CHECK): Define.
  16660. (OMP_CLAUSE_ELT_CHECK): Define.
  16661. (omp_clause_check_failed): Declare.
  16662. (omp_clause_operand_check_failed): Declare.
  16663. (omp_clause_range_check_failed): Declare.
  16664. (OMP_CLAUSE_CHAIN): Do not use TREE_RANGE_CHECK.
  16665. (OMP_CLAUSE_OPERAND): Use OMP_CLAUSE_RANGE_CHECK.
  16666. (OMP_CLAUSE_PRIVATE_DEBUG): Use OMP_CLAUSE_SUBCODE_CHECK.
  16667. (OMP_CLAUSE_LASTPRIVATE): Likewise.
  16668. (OMP_CLAUSE_IF_EXPR): Likewise.
  16669. (OMP_CLAUSE_NUM_THREADS_EXPR): Likewise.
  16670. (OMP_CLAUSE_SCHEDULE_CHUNK_EXPR): Likewise.
  16671. (OMP_CLAUSE_REDUCTION_CODE): Likewise.
  16672. (OMP_CLAUSE_REDUCTION_INIT): Likewise.
  16673. (OMP_CLAUSE_REDUCTION_MERGE): Likewise.
  16674. (OMP_CLAUSE_REDUCTION_PLACEHOLDER): Likewise.
  16675. Use tree_node.omp_clause.subcode instead of TREE_COMPLEXITY.
  16676. (OMP_CLAUSE_SCHEDULE_KIND): Likewise.
  16677. (OMP_CLAUSE_DEFAULT_KIND): Likewise.
  16678. (OMP_CLAUSE_CODE): Define.
  16679. (OMP_CLAUSE_SET_CODE): Define.
  16680. (OMP_CLAUSE_CODE): Define.
  16681. (OMP_CLAUSE_OPERAND): Define.
  16682. (struct tree_omp_clause): Declare.
  16683. (union tree_node): Add field 'omp_clause'.
  16684. * treestruct.def (TS_OMP_CLAUSE): Define.
  16685. * tree.def (OMP_CLAUSE_PRIVATE, OMP_CLAUSE_SHARED
  16686. OMP_CLAUSE_FIRSTPRIVATE, OMP_CLAUSE_LASTPRIVATE,
  16687. OMP_CLAUSE_REDUCTION, OMP_CLAUSE_COPYIN,
  16688. OMP_CLAUSE_COPYPRIVATE, OMP_CLAUSE_IF,
  16689. OMP_CLAUSE_NUM_THREADS, OMP_CLAUSE_SCHEDULE,
  16690. OMP_CLAUSE_NOWAIT, OMP_CLAUSE_ORDERED, OMP_CLAUSE_DEFAULT): Remove.
  16691. (OMP_CLAUSE): Define.
  16692. * print-tree.c (print_node): Handle OMP_CLAUSE.
  16693. * omp-low.c: Adapt all uses of OMP_CLAUSE_* nodes.
  16694. * c-typeck.c: Likewise.
  16695. * gimplify.c: Likewise.
  16696. * c-omp.c: Likewise.
  16697. * tree-nested.c: Likewise.
  16698. * tree-inline.c: Likewise.
  16699. * c-parser.c: Likewise.
  16700. * gimple-low.c (lower_omp_directive): Do not set TREE_BLOCK on
  16701. clauses.
  16702. 2006-01-25 Roger Sayle <roger@eyesopen.com>
  16703. PR rtl-optimization/25703
  16704. * combine.c (try_combine): Handle zero_extract and strict_low_part
  16705. of non-lowpart SUBREGs for constant reg_subword_p set optimization.
  16706. 2006-01-25 Peter Bergner <bergner@vnet.ibm.com>
  16707. * global.c: Fix comment typos.
  16708. 2006-01-25 Andrew Pinski <pinskia@physics.uc.edu>
  16709. PR target/25758
  16710. * config/i386/i386.c (output_pic_addr_const) <case SYMBOL_REF>:
  16711. Use output_addr_const instead of assemble_name.
  16712. 2006-01-25 Paolo Bonzini <bonzini@gnu.org>
  16713. * Makefile.in (sched-vis.o): Update dependencies.
  16714. * haifa-sched.c (sched_finish): Clear current_sched_info.
  16715. * cfg.c (dump_bb_info): New, split from dump_flow_info.
  16716. (dump_flow_info): Call it.
  16717. * passes.c (execute_todo): Call print_rtl_slim_with_bb to make
  16718. a slim RTL dump.
  16719. * basic-block.h (dump_bb_info): Declare.
  16720. * tree-dump.c (dump_enable_all): OR the flags of a -fdump-tree-all
  16721. option, and apply options only for dump files whose TDF_RTL,
  16722. TDF_TREE, or TDF_IPA bits match.
  16723. * rtl.h: Declare new functions exported from sched-vis.c.
  16724. * sched-vis.c: Enable also if scheduling is not used.
  16725. (print_value): Print the mode of registers if not inside scheduling.
  16726. (print_insn): Make it work outside the scheduler. Beautify the output
  16727. a bit.
  16728. (dump_insn_slim, debug_insn_slim, print_rtl_slim_with_bb): New.
  16729. 2006-01-25 Richard Sandiford <richard@codesourcery.com>
  16730. * doc/rtl.texi (SYMBOL_REF_CONSTANT, SYMBOL_REF_DATA): Document.
  16731. * gengtype.c (adjust_field_rtx_def): Garbage-collect field 2 of
  16732. a SYMBOL_REF as either a tree or a constant_descriptor_rtx,
  16733. depending on the value of CONSTANT_POOL_ADDRESS_P.
  16734. * optabs.c (init_one_libfunc): Nullify SYMBOL_REF_DATA rather than
  16735. SYMBOL_REF_DECL.
  16736. * varasm.c (make_decl_rtl, build_constant_desc): Set SYMBOL_REF_DATA
  16737. rather than SYMBOL_REF_DECL.
  16738. (rtx_constant_pool): Remove const_rtx_sym_htab.
  16739. (const_desc_rtx_sym_hash, const_desc_rtx_sym_eq): Delete.
  16740. (init_varasm_status): Don't initialize const_rtx_sym_htab.
  16741. (force_const_mem): Point SYMBOL_REF_DATA to the constant pool entry.
  16742. Remove handling of const_rtx_sym_htab.
  16743. (find_pool_constant): Delete.
  16744. (get_pool_constant, get_pool_constant_mark): Use SYMBOL_REF_CONSTANT
  16745. rather than find_pool_constant.
  16746. (get_pool_constant_for_function): Delete.
  16747. (get_pool_mode, mark_constant): Use SYMBOL_REF_CONSTANT rather than
  16748. find_pool_constant.
  16749. * rtl.h (rtunion_def): Add rt_constant and rt_ptr fields.
  16750. (X0CONSTANT, X0PTR, SYMBOL_REF_DATA): New macros.
  16751. (SYMBOL_REF_DECL): Return NULL if CONSTANT_POOL_ADDRESS_P.
  16752. (SYMBOL_REF_CONSTANT): New macro.
  16753. (get_pool_constant_for_function): Delete.
  16754. * config/i386/winnt.c (i386_pe_mark_dllexport): Set SYMBOL_REF_DATA
  16755. rather than SYMBOL_REF_DECL.
  16756. (i386_pe_mark_dllimport): Likewise.
  16757. * config/rs6000/rs6000.c (rs6000_emit_move): Copy SYMBOL_REF_DATA
  16758. rather than SYMBOL_REF_DECL.
  16759. * config/darwin.c (machopic_indirect_data_reference): Likewise.
  16760. (machopic_indirect_call_target): Likewise.
  16761. 2006-01-25 Eric Botcazou <ebotcazou@adacore.com>
  16762. * flow.c (delete_noop_moves): Add missing EOL to dump message.
  16763. 2006-01-25 Richard Sandiford <richard@codesourcery.com>
  16764. * genattrtab.c (gen_bypass): Allow bypasses to contain whitespace.
  16765. 2006-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
  16766. * config/sh/predicates.md (sh_register_operand): Accept CONST_DOUBLE.
  16767. 2006-01-24 David Daney <ddaney@avtrex.com>
  16768. PR java/25816
  16769. * configure.ac (enable_tls): New enable option.
  16770. (HAVE_AS_TLS): Don't do assembler check if enable_tls set.
  16771. * configure: Regenerate.
  16772. * doc/install.texi (--enable-tls): Document new option.
  16773. (--disable-tls): Ditto.
  16774. 2006-01-24 Richard Henderson <rth@redehat.com>
  16775. * alias.h (ALIAS_SET_MEMORY_BARRIER): New.
  16776. * alias.c (true_dependence): Respect it.
  16777. (canon_true_dependence, write_dependence_p): Likewise.
  16778. * builtins.c (get_builtin_sync_mem): Set it.
  16779. 2006-01-25 Zdenek Dvorak <dvorakz@suse.cz>
  16780. * loop-iv.c (iv_analysis_loop_init): Use df analysis in a more
  16781. efficient way.
  16782. 2006-01-24 DJ Delorie <dj@redhat.com>
  16783. * expmed.c (store_bit_field): Don't arbitrarily deny using insv
  16784. for storing constants in single-bit bitfields.
  16785. 2006-01-25 Ben Elliston <bje@au.ibm.com>
  16786. * dfp.c (dfp_byte_swap): Use uint32_t and not unsigned long.
  16787. 2006-01-24 Andrew Pinski <pinskia@physics.uc.edu>
  16788. PR tree-opt/25860
  16789. * tree-ssa-pre.c (phi_translate): Return NULL
  16790. for AGGREGATE_TYPE's.
  16791. 2006-01-24 Zack Weinberg <zackw@panix.com>
  16792. * genautomata.c (process_state_for_insn_equiv_partition):
  16793. Use xcalloc for insn_arcs_array.
  16794. * vec.h (DEF_VEC_ALLOC_FUNC_I): New set of templates.
  16795. (DEF_VEC_ALLOC_I): Use it, not DEF_VEC_ALLOC_FUNC_P.
  16796. 2006-01-24 Richard Henderson <rth@redhat.com>
  16797. * genextract.c (VEC_safe_set_locstr): Take VEC by reference;
  16798. update all callers.
  16799. 2006-01-23 Paolo Bonzini <bonzini@gnu.org>
  16800. PR rtl-optimization/25890
  16801. PR rtl-optimization/25905
  16802. * combine.c (expand_compound_operation, expand_field_assignment):
  16803. Fail if the bitfield's final position is out of bounds.
  16804. 2006-01-24 Ian Lance Taylor <ian@airs.com>
  16805. PR middle-end/25930
  16806. * cgraphunit.c (cgraph_output_in_order): Don't clear
  16807. cgraph_asm_nodes until after asm strings have been output.
  16808. 2006-01-23 Adam Nemet <anemet@caviumnetworks.com>
  16809. * fix-header.c (read_scan_file): Add new parameter imultilib when
  16810. calling register_include_chains.
  16811. 2006-01-23 Diego Novillo <dnovillo@redhat.com>
  16812. * omp-low.c: Update documentation.
  16813. 2006-01-23 Andrew Pinski <pinskia@physics.uc.edu>
  16814. Daniel Berlin <dberlin@dberlin.org>
  16815. PR tree-opt/25315
  16816. PR tree-opt/25857
  16817. * tree-ssa-pre.c (insert_extra_phis): If an incoming edge is abnormal
  16818. return from the function.
  16819. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16820. * rtl.def (match_code): Add second argument.
  16821. * genpreds.c (write_extract_subexp): New function.
  16822. (write_match_code): Add path argument. Use write_extract_subexp.
  16823. (write_predicate_expr): Pass path to write_match_code.
  16824. (mark_mode_tests): MATCH_CODE applied to a subexpression does
  16825. not perform a mode test.
  16826. * genrecog.c (compute_predicate_codes): MATCH_CODE applied to
  16827. a subexpression does not constrain the top-level code set.
  16828. * read-rtl.c (read_rtx_variadic): New function.
  16829. (read_rtx_1): Use it; allow AND and IOR to be variadic.
  16830. * doc/md.texi: Document new notation.
  16831. * config/i386/predicates.md (cmpsi_operand_1): Fold into ...
  16832. (cmpsi_operand): ... here, using new notation.
  16833. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16834. * varray.c: Remove GENERATOR_FILE #ifdefs.
  16835. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16836. * genautomata.c (output_reserved_units_table): Emit nothing if
  16837. description->query_units_num is zero. Remove extra blank line.
  16838. (output_cpu_unit_reservation_p): Short circuit
  16839. if description->query_units_num is zero.
  16840. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16841. * genattrtab.c: Don't include genattrtab.h. Define ATTR_NONE
  16842. and ATTR_SPECIAL (from genattrtab.h). Don't define num_dfa_decls
  16843. nor any of the random handful of variables that used to be necessary
  16844. when this program was linked with rtlanal.o. Prune set of forward
  16845. function declarations.
  16846. (struct attr_desc): Remove static_p field.
  16847. (hash_obstack, temp_obstack, attr_hash_table, attr_printf)
  16848. (check_attr_test, make_internal_attr, make_numeric_value): Make static.
  16849. (attr_string): Do not read the character one past the length of
  16850. the string.
  16851. (write_attr_get, find_attr, make_internal_attr): Don't touch static_p.
  16852. (struct insn_reserv, all_insn_reservs, last_insn_reserv_p)
  16853. (n_insn_reservs, gen_insn_reserv, struct bypass_list, all_bypasses)
  16854. (n_bypasses, gen_bypass_1, gen_bypass, process_bypasses)
  16855. (make_automaton_attrs): New.
  16856. (main): Do not call into genautomata. Call local gen_bypass
  16857. and gen_insn_reserv as appropriate. Call make_automaton_attrs.
  16858. Remove special case for insn_alts.
  16859. * genautomata.c: Include gensupport.h; not genattrtab.h nor
  16860. varray.h (leftover from previous change). Prune set of forward
  16861. function declarations. Remove state_alts fields from all
  16862. structures. Remove state_alts_table from struct automaton.
  16863. Make everything except main static. Do not maintain num_dfa_decls.
  16864. Do not maintain state_alts fields of various structures.
  16865. (process_decls): Don't validate condexp for dm_insn_reserv decls.
  16866. (add_arc): Remove state_alts argument. All callers updated.
  16867. (output_reserved_units_table): Emit #ifdef here...
  16868. (output_tables): ...not here. Don't generate state_alts tables.
  16869. (expand_automata): Don't generate attributes.
  16870. (write_automata): Don't generate state_alts functions.
  16871. (main): New function.
  16872. (it_is_empty_reserv_sets, output_state_alts_full_vect_name)
  16873. (output_state_alts_comb_vect_name, output_state_alts_check_vect_name)
  16874. (AUTOMATON_STATE_ALTS_MACRO_NAME, INTERNAL_STATE_ALTS_FUNC_NAME)
  16875. (STATE_ALTS_FUNC_NAME, INSN_DEFAULT_LATENCY_FUNC_NAME)
  16876. (BYPASS_P_FUNC_NAME, output_state_alts_table)
  16877. (output_automata_list_state_alts_code, output_internal_state_alts_func)
  16878. (output_state_alts_func, make_insn_alts_attr, make_bypass_attr)
  16879. (make_internal_dfa_insn_code_attr, make_default_insn_latency_attr):
  16880. Delete.
  16881. * genattr.c: Declare internal_dfa_insn_code in insn-attr.h.
  16882. * genattrtab.h: Delete file.
  16883. * Makefile.in (OBJS-common): Add insn-automata.o.
  16884. (insn-automata.o): New rule.
  16885. (simple_generated_c): Add insn-automata.c.
  16886. (build/genattrtab.o, build/genautomata.o): Update dependencies.
  16887. (genprogmd): Add automata.
  16888. (build/genattrtab): Needs no extra objects nor libraries.
  16889. (build/genautomata): Needs build/vec.o and -lm.
  16890. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16891. * genautomata.c (process_state_longest_path, max_dfa_issue_rate)
  16892. (output_dfa_max_issue_rate, locked_states_num): Delete.
  16893. (struct automaton): Add locked_states field.
  16894. (output_dead_lock_vect): Save number of locked states in
  16895. automaton->locked_states. If it is zero, don't print anything.
  16896. (output_max_insn_queue_index_def): Define max_insn_queue_index const.
  16897. (output_internal_dead_lock_func): Only test the dead_lock_vect
  16898. for automata that have locked states.
  16899. (output_statistics): Always print the number of locked states for
  16900. each automaton. Calculate total number of locked states here.
  16901. (write_automata): Don't call output_dfa_max_issue_rate.
  16902. * genattrtab.c: Define length_unit_log as a const variable.
  16903. * genattr.c: Don't emit MAX_DFA_ISSUE_RATE. Declare
  16904. max_insn_queue_index const.
  16905. * final.c (length_unit_log): Declare const.
  16906. * doc/tm.texi: Remove all references to MAX_DFA_ISSUE_RATE.
  16907. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16908. * genautomata.c: Include vec.h, not varray.h.
  16909. Delete vla_ptr_t, all of the VLA_PTR_ macros, and all of the
  16910. VLA_HWINT_ macros. Change vla_hwint_t to a typedef for
  16911. VEC(vect_el_t,heap) *. Convert all uses of VLA_* macros to
  16912. VEC_* macros operating on appropriately typed vectors, or to
  16913. malloced arrays when the size is known in advance. Const-ify
  16914. many char* variables and function arguments. No functional changes.
  16915. * Makefile.in (build/varray.o): Delete rule.
  16916. (build/genattrtab): Depend on build/vec.o instead of build/varray.o.
  16917. (build/genautomata.o): Depend on vec.h instead of $(VARRAY_H).
  16918. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16919. * gensupport.c: Define get_insn_name and record_insn_name here.
  16920. (read_md_rtx): Call record_insn_name as appropriate.
  16921. * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
  16922. * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
  16923. * genpreds.c, genrecog.c: Don't define get_insn_name nor
  16924. record_insn_name.
  16925. * Makefile.in (BUILD_SUPPORT, BUILD_PRINT): Fold into BUILD_RTL.
  16926. (BUILD_VARRAY): Delete.
  16927. (genprognormal): Rename genprogmd. Fold in all programs from
  16928. genprognoprint; also attrtab.
  16929. (build/genattrtab): Just mention genautomata.o and varray.o.
  16930. Reorganize a bit, add comments to make the categories clearer.
  16931. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16932. * genconditions.c (condition_table, add_condition): Delete.
  16933. (write_conditions): Don't emit n_insn_conditions nor
  16934. insn_elision_unavailable. Issue the gcc version #ifdef here,
  16935. inside the table, with no #else clause ...
  16936. (write_header): ...not here.
  16937. (write_writer): New function.
  16938. (main): Don't initialize condition_table. Use add_c_test.
  16939. Call write_writer.
  16940. * gensupport.c (init_md_reader_args_cb): Handle multiple input
  16941. files on the command line.
  16942. (maybe_eval_c_test): Don't check insn_elision_unavailable.
  16943. Return -1 if there is no entry in the table, don't abort.
  16944. (add_c_test, traverse_c_tests): New functions.
  16945. * gensupport.h (insn_elision_unavailable, insn_conditions)
  16946. (n_insn_conditions): Delete declarations.
  16947. (add_c_test, traverse_c_tests): Declare.
  16948. * read-rtl.c: Include gensupport.h.
  16949. (read_conditions): New function.
  16950. (read_rtx): If read_rtx_1 returns 0, treat as EOF.
  16951. (read_rtx_1): If we get EOF when we were looking for an initial
  16952. open paren, return 0. Call read_conditions when appropriate.
  16953. * Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
  16954. dummy-conditions.o. Eliminate references to insn-conditions.o,
  16955. or change them to build/gencondmd.o, as appropriate. Remove
  16956. insn-constants.h from $(simple_generated_h) and insn-conditions.c
  16957. from $(simple_generated_c). For all files remaining in those
  16958. two lists, add insn-conditions.md to the generator command line.
  16959. Give insn-constants.h/s-constants their own rules. Add rules
  16960. for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
  16961. (build/read-rtl.o): Depend on gensupport.h.
  16962. (genprognormal): Include preds.
  16963. (genprogearly): Rename genprognoprint; only difference is now that
  16964. they don't link with $(BUILD_PRINT).
  16965. * dummy-conditions.c: Delete.
  16966. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16967. * genextract.c: Don't include insn-config.h. Do include vec.h.
  16968. Declare vectors of int, char, and locstr.
  16969. (locstr): New typedef.
  16970. (struct extraction): Make all array fields into bare pointers.
  16971. (insn_name_ptr, insn_name_ptr_size): Move down by get_insn_name.
  16972. (insn_code_number): Delete.
  16973. (accum_extract): New struct.
  16974. (VEC_safe_set_locstr, VEC_char_to_string): New functions.
  16975. (gen_insn): Take insn_code_number as an argument. Use an
  16976. accum_extract structure instead of loading data directly into
  16977. a struct extraction, and having to know how big it might get.
  16978. (walk_rtx): Operate entirely on an accum_extract structure.
  16979. (print_path): Avoid unnecessary use of printf.
  16980. (print_header): New function, split out of main. Distinguish
  16981. more carefully between an unrecognizable insn and an insn that
  16982. has the code number of a define_expand.
  16983. (main): Pass insn_code_number to gen_insn. Call print_header
  16984. only after parsing. Avoid unnecessary use of printf.
  16985. * Makefile.in (build/vec.o): New rule.
  16986. (build/genextract): Depend on build/vec.o.
  16987. (build/genextract.o): Don't depend on insn-config.h.
  16988. 2006-01-22 Zack Weinberg <zackw@panix.com>
  16989. * Makefile.in: Consolidate most rules that use $(CC_FOR_BUILD) and/or
  16990. $(RUN_GEN). Use pattern rules to factor out as much boilerplate as
  16991. practical. Eliminate per-generator-program link rules.
  16992. 2006-01-23 Andrew Pinski <pinskia@physics.uc.edu>
  16993. PR middle-end/24437
  16994. * tree-ssa-ccp.c (fold_stmt): Move folding of OBJ_TYPE_REF
  16995. with a call expr to ...
  16996. * fold-const.c (fold_ternary) <case CALL_EXPR>: Here.
  16997. 2006-01-23 Richard Guenther <rguenther@suse.de>
  16998. * cfgloopmanip.c (lv_adjust_loop_entry_edge): Add comment
  16999. before make_edge with conditional EDGE_TRUE_VALUE.
  17000. 2006-01-23 Steven Bosscher <stevenb.gcc@gmail.com>
  17001. Jan Hubicka <jh@suse.cz>
  17002. Richard Guenther <rguenther@suse.de>
  17003. PR rtl-optimization/25654
  17004. * cfgexpand.c (aggregate_contains_union_type): New function.
  17005. (add_alias_set_conflicts): Call it. Make sure to add conflicts
  17006. for structure variables that contain a union type.
  17007. 2006-01-23 Richard Sandiford <richard@codesourcery.com>
  17008. * gengtype.c (new_structure): Return the structure.
  17009. (create_option): Add an extra "next" argument.
  17010. (create_field): New function.
  17011. (adjust_field_rtx_def): Use create_option and create_field.
  17012. Remove a now-unnecessary call to find_structure.
  17013. (adjust_field_tree_def): Likewise.
  17014. (note_yacc_type): Remove an unnecessary call to find_structure.
  17015. * gengtype.h (new_structure): Return the structure.
  17016. (create_option): Add an extra argument.
  17017. * gengtype-yacc.y (type): Remove unnecessary calls to find_structure.
  17018. (option): Adjust calls to create_option.
  17019. 2006-01-22 David Edelsohn <edelsohn@gnu.org>
  17020. * config/rs6000/aix.h (STACK_BOUNDARY): Define.
  17021. 2006-01-22 Paul Brook <paul@codesourcery.com>
  17022. Peter Barada <peter@the-baradas.com>
  17023. * config/m68k/m68k.md: Add Coldfire FPU support.
  17024. Define FP mode macro and associated attributes.
  17025. Use it for float mode patterns.
  17026. * config/m68k/linux.h (FUNCTION_VALUE): Use m68k_function_value.
  17027. (LIBCALL_VALUE): Use m68k_libcall_value.
  17028. * config/m68k/m68k-protos.h (m68k_libcall_value): Add prototype.
  17029. (m68k_function_value): Ditto.
  17030. (emit_move_sequence): Ditto.
  17031. * config/m68k/m68kemb.h (LIBCALL_VALUE): Use m68k_libcall_value.
  17032. * config/m68k/m68k-none.h (ASM_SPEC): Add mcfv4e.
  17033. * config/m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcfv4e.
  17034. (MULTILIB_EXCEPTIONS): Ditto.
  17035. * config/m68k/m68k.opt: Add mcfv4e.
  17036. * config/m68k/m68k.c (m68k_handle_option): Handle OPT_mcfv4e.
  17037. (m68k_compute_frame_layout): Include space for ColdFire FPU regs.
  17038. (m68k_output_function_prologue): Save ColdFire FPU registers.
  17039. (m68k_output_function_epilogue): Restore ColdFire FPU registers.
  17040. (force_mode, fp_reg_operand, emit_move_sequence): New functions.
  17041. (m68k_regno_mode_ok): Don't allow types larget than 8 bytes in
  17042. ColdFire FPU registers.
  17043. (m68k_libcall_value, m68k_function_value): New functions.
  17044. * config/m68k/netbsd-elf.h (FUNCTION_VALUE): Use m68k_function_value.
  17045. (LIBCALL_VALUE): Use m68k_libcall_value.
  17046. * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define __mcfv4e__.
  17047. (MASK_COLDFIRE): Add MASK_CFV4E.
  17048. (TARGET_COLDFIRE_FPU, TARGET_HARD_FLOAT, TARGET_FP_REG_SIZE): New.
  17049. (MODES_TIEABLE_P): Use TARGET_HARD_FLOAT.
  17050. (REG_CLASS_FROM_LETTER, PREFERRED_RELOAD_CLASS): Ditto.
  17051. (GO_IF_COLDFIRE_FPU_LEGITIMATE_ADDRESS): Define.
  17052. (GO_IF_LEGITIMATE_ADDRESS): Use it.
  17053. (LEGITIMIZE_ADDRESS): Handle ColdFire FPU addresses.
  17054. * doc/invoke.tex: Document -mcfv4e on m68k.
  17055. 2006-01-22 Ranjit Mathew <rmathew@gcc.gnu.org>
  17056. * doc/contribute.texi: Change CVS to SVN and update the corresponding
  17057. URL.
  17058. 2006-01-21 Gabriel Dos Reis <gdr@integrable-solutions.net>
  17059. PR c++/16190
  17060. * c-opts.c (c_common_handle_option): Don't include
  17061. -Wnon-virtual-dtor in -Wall; enable if -Weffc++.
  17062. * doc/invoke.texi (C++ Dialect Options): Document that
  17063. -Wnon-virtual-dtor is no longer included in -Wall.
  17064. 2006-01-21 Joseph S. Myers <joseph@codesourcery.com>
  17065. * gcov.c (print_version), gcov-dump.c (print_version),
  17066. mips-tdump.c (main), mips-tfile.c (main): Update copyright notice
  17067. dates.
  17068. 2006-01-21 Kenneth Zadeck <zadeck@naturalbridge.com>
  17069. * df-scan.c (problem_SCAN): Added NULL reset function.
  17070. (df_scan_reset_blocks): Added code to call reset block function
  17071. (df_bb_refs_delete) Fixed comment.
  17072. (df_insn_refs_delete): Made tolerant of deleting non existent info
  17073. for dataflow problems that need to be reset.
  17074. * df-core.c (df_set_blocks): Ditto.
  17075. * df.h (struct df_problem): Added reset_fun.
  17076. * df-problems.c (problem_RU, problem_RD, problem_LR, problem_UR,
  17077. problem_UREC, problem_CHAIN, problem_RI): Initialized reset_fun field.
  17078. (df_chain_insn_reset, df_chain_bb_reset, df_chain_reset): New
  17079. functions to clear out all references to def-use or use-def chains.
  17080. 2006-01-21 Ben Elliston <bje@au.ibm.com>
  17081. * varasm.c (assemble_real): Initialise data array.
  17082. 2006-01-20 Paul Brook <paul@codesourcery.com>
  17083. Merge from csl-arm-branch.
  17084. 2005-09-21 Kazu Hirata <kazu@codesourcery.com>
  17085. * config/arm/arm.md (movdi): Force operands[1] to a register
  17086. if we have a non-register source.
  17087. (*arm_movdi, *movdf_soft_insn): Require that one of the
  17088. operands be a register.
  17089. * config/arm/iwmmxt.md (*iwmmxt_arm_movdi): Likewise.
  17090. * config/arm/vfp.md (*arm_movdi_vfp, *movdf_vfp): Likewise.
  17091. 2006-01-20 DJ Delorie <dj@redhat.com>
  17092. * varasm.c (initializer_constant_valid_p): Allow pointers
  17093. initialized from integer constants of lesser precision.
  17094. (output_constant): Allow non-int-sized pointer modes to be
  17095. initialized from integer constants.
  17096. 2006-01-20 Joseph S. Myers <joseph@codesourcery.com>
  17097. PR libstdc++/25524
  17098. * cppdefault.h (struct default_include): Add multilib flag.
  17099. * cppdefault.c (cpp_include_defaults): Set it.
  17100. * c.opt (-imultilib): New option.
  17101. * c-opts.c (imultilib): New.
  17102. (c_common_handle_option): Handle -imultilib.
  17103. (c_common_post_options): Likewise.
  17104. * c-incpath.c (add_standard_paths, register_include_chains):
  17105. Likewise.
  17106. * c-incpath.h (register_include_chains): Add extra parameter.
  17107. * gcc.c (do_spec_1): Generate -imultilib option.
  17108. (The Specs Language): Update %I description.
  17109. (process_command): Update copyright notice.
  17110. * doc/cppopts.texi (-imultilib): Document.
  17111. * doc/invoke.texi (-imultilib): Include in option summary.
  17112. (%I): Update specs documentation.
  17113. 2006-01-20 Zdenek Dvorak <dvorakz@suse.cz>
  17114. * loop-iv.c (iv_analysis_loop_init): Use df in more conservative way.
  17115. 2006-01-20 Richard Sandiford <richard@codesourcery.com>
  17116. * stmt.c (case_bit_test_cmp): Stabilize the sort using code
  17117. label numbers.
  17118. 2006-01-20 Richard Guenther <rguenther@suse.de>
  17119. Steven Bosscher <stevenb.gcc@gmail.com>
  17120. PR rtl-optimization/24626
  17121. * cfgloopmanip.c (lv_adjust_loop_entry_edge): Don't set
  17122. EDGE_TRUE_VALUE if in RTL mode.
  17123. Revert
  17124. 2005-03-30 Mostafa Hagog <mustafa@il.ibm.com>
  17125. * cfgrtl.c (rtl_verify_flow_info_1): Fix.
  17126. 2006-01-20 Dirk Mueller <dmueller@suse.com>
  17127. PR c++/5520
  17128. * c-parser.c (c_parser_if_body): Use build_empty_stmt()
  17129. instead of a special NOP marker.
  17130. * c-typeck.c (c_finish_if_stmt): Remove obsoleted special
  17131. NOP marker handling.
  17132. * c-common.h (empty_body_warning): Add forward declaration.
  17133. * c-common.c (empty_body_warning): Add (from c_finish_if_stmt).
  17134. Now uses IS_EMPTY_STMT() instead of special NOP markers.
  17135. 2006-01-20 Paul Brook <paul@codesourcery.com>
  17136. * Makefile.in (lang_checks): Keep going if mkdir fails.
  17137. 2006-01-19 Kenneth Zadeck <zadeck@naturalbridge.com>
  17138. * df-scan.c (df_scan_free_bb_info): Added basic block parameter to
  17139. be able to clean out basic block when not necessary.
  17140. (df_scan_free): Fixed to properly delete information if df is
  17141. unused before calling df_finish.
  17142. (df_scan_alloc, df_rescan_blocks, df_reg_chain_unlink,
  17143. df_insn_create_insn_record, df_bb_refs_record): Fixed formatting
  17144. or comment typos.
  17145. (df_bb_refs_delete): New function.
  17146. (df_refs_delete): Moved per block code to df_bb_refs_delete.
  17147. * df-core.c (df_set_blocks): Added code to properly clean out
  17148. unused blocks if they are not part of the blocks to consider.
  17149. Added additional null check.
  17150. (df_compact_blocks): Added basic block parameter to free_bb_fun to
  17151. be able to clean out basic block when not necessary
  17152. * df.h (df_free_bb_function): Ditto.
  17153. (df_bb_refs_delete): New function.
  17154. * df-problems.c (df_ru_free_bb_info, df_rd_set_bb_info,
  17155. df_lr_set_bb_info, df_ur_free_bb_info, df_urec_free_bb_info):Added
  17156. basic block parameter to be able to clean out basic block when not
  17157. necessary.
  17158. (df_ru_alloc, df_rd_alloc): Fixed dyslexic overflow test.
  17159. (df_ru_free, df_rd_free, df_lr_free, df_ur_free, df_urec_free):
  17160. Fixed to properly delete information if df is unused before
  17161. calling df_finish.
  17162. 2006-01-19 Kenneth Zadeck <zadeck@naturalbridge.com>
  17163. PR rtl-optimization/25799
  17164. * df-problems.c (df_ru_confluence_n, df_rd_confluence_n):
  17165. Corrected confluence operator to remove bits from op2 before oring
  17166. with op1 rather than removing bits from op1.
  17167. (df_ru_transfer_function): Corrected test on wrong bitmap which
  17168. caused infinite loop. Both of these problems were introduced in
  17169. the dataflow rewrite.
  17170. 2006-01-19 DJ Delorie <dj@redhat.com>
  17171. * reload1.c (find_reload_regs): Note the details of reload
  17172. failures in the dump file.
  17173. (spill_failure): Likewise.
  17174. 2006-01-20 Zdenek Dvorak <dvorakz@suse.cz>
  17175. * loop-iv.c: Include df.h and hashtab.h.
  17176. (enum iv_grd_result): New enum.
  17177. (DF_REF_IV, DF_REF_IV_SET): New macros.
  17178. (struct biv_entry): New.
  17179. (df, bivs): New global variables.
  17180. (struct insn_info, insn_info, last_def, bivs, max_insn_no, max_reg_no,
  17181. assign_luids, mark_sets, kill_sets, mark_single_set, simple_set_p):
  17182. Removed.
  17183. (clear_iv_info, latch_dominating_def, record_iv, iv_analyze_expr,
  17184. iv_analyze_result, iv_analyze_def, biv_hash, biv_eq,
  17185. analyzed_for_bivness_p, record_biv): New functions.
  17186. (iv_analysis_loop_init, iv_get_reaching_def, simple_reg_p,
  17187. get_biv_step_1, get_biv_step, iv_analyze_biv, iv_analyze_op,
  17188. iv_analyze, biv_p, iv_analysis_done): Work with df representation of
  17189. UD chains.
  17190. (iv_constant, iv_subreg, iv_extend, iv_mult, iv_shift): Do not set
  17191. analysed.
  17192. (iv_number_of_iterations): Use new interface to iv analysis.
  17193. * loop-unroll.c: Do not include varray.h.
  17194. (analyze_iv_to_split_insn): Use new interface to iv
  17195. analysis.
  17196. * loop-unswitch.c (may_unswitch_on): Ditto.
  17197. * df.c (df_bitmaps_free): Only work for bbs for that structures are
  17198. allocated.
  17199. (df_bb_modify): Realloc tables to the new index.
  17200. (df_find_use): New function.
  17201. * df.h (df_find_use): Declare.
  17202. * optabs.c (expand_unop): Make the mode of the REG_EQUAL node be
  17203. outmode.
  17204. * cfgloop.h (struct rtx_iv): Remove analysed field.
  17205. (iv_get_reaching_def): Removed.
  17206. (iv_analyze_result, iv_analyze_expr, iv_current_loop_df): Declare.
  17207. * Makefile.in (loop-unroll.o): Remove VARRAY_H dependency.
  17208. (loop-iv.o): Add df.h and hashtab.h dependency.
  17209. * df-problems.c (df_ru_alloc, df_rd_alloc): Fix memory reallocation.
  17210. 2006-01-20 Alan Modra <amodra@bigpond.net.au>
  17211. PR target/25668
  17212. * libgcc2.c (__floatdisf, __floatdidf): Don't use IBM Extended
  17213. Double TFmode.
  17214. (__floatundisf, __floatundidf): Likewise.
  17215. * libgcc2.h (IS_IBM_EXTENDED): Define.
  17216. 2006-01-19 DJ Delorie <dj@redhat.com>
  17217. * config/m32c/m32c.h (REG_ALLOC_ORDER): Define.
  17218. 2006-01-19 Paul Brook <paul@codesourcery.com>
  17219. * config/arm/arm.c (arm_compute_func_type): Treat all functions
  17220. as nothrow when unwinding tables are disabled.
  17221. 2006-01-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  17222. PR testsuite/25171
  17223. * c-decl.c (check_bitfield_type_and_width): Don't issue pedwarn "type
  17224. of bit-field" when in system header.
  17225. 2006-01-19 DJ Delorie <dj@redhat.com>
  17226. * config/m32c/m32c.c (m32c_prepare_shift): Add code to deal with
  17227. the 16 bit shift limit of the m16c.
  17228. 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
  17229. PR target/22099
  17230. * config/i386/i386.md (builtin_setjmp_receiver): Don't emit the label.
  17231. * config/i386/i386.c (output_set_got): Output the label if we have one
  17232. for the TARGET_DEEP_BRANCH_PREDICTION case.
  17233. 2006-01-19 Jan Hubicka <jh@suse.cz>
  17234. H.J. Lu <hongjiu.lu@intel.com>
  17235. Evandro Menezes <evandro.menezes@amd.com>
  17236. * invoke.texi (generic): Document
  17237. (i686) Update.
  17238. * config.gcc: Make x86_64-* and i686-* default to generic tunning.
  17239. * i386.h (TARGET_GENERIC32, TARGET_GENERIC64, TARGET_GENERIC,
  17240. TARGET_USE_INCDEC, TARGET_PAD_RETURNS): New macros.
  17241. (x86_use_incdec, x86_pad_returns): New variables
  17242. (TARGET_CPU_DEFAULT_generic): New constant
  17243. (TARGET_CPU_DEFAULT_NAMES): Add generic.
  17244. (enum processor_type): Add generic32 and generic64.
  17245. * i386.md (cpu attribute): Add generic32/generic64
  17246. (movhi splitter): Behave sanely when both partial_reg_dependency and
  17247. partial_reg_stall are set.
  17248. (K8 splitters): Enable for generic as well.
  17249. * predicates.md (incdec_operand): Use TARGET_INCDEC
  17250. (aligned_operand): Avoid memory mismatch stalls.
  17251. * athlon.md: Enable for generic64, new patterns for 128bit moves.
  17252. * ppro.md: Enable for generic32
  17253. * i386.c (generic64_cost, generic32_cost): New.
  17254. (m_GENERIC32, m_GENERIC64, m_GENERIC): New macros.
  17255. (x86_use_leave): Enable for generic64. (x86_use_sahf,
  17256. x86_ext_80387_constants): Enable for generic32. (x86_push_memory,
  17257. x86_movx, x86_unroll_strlen, x86_deep_branch, x86_use_simode_fiop,
  17258. x86_use_cltd, x86_promote_QImode, x86_sub_esp_4, x86_sub_esp_8,
  17259. x86_add_esp_4, x86_add_esp_8, x86_integer_DFmode_moves,
  17260. x86_partial_reg_dependency, x86_memory_mismatch_stall,
  17261. x86_accumulate_outgoing_args, x86_prologue_using_move,
  17262. x86_epilogue_using_move, x86_arch_always_fancy_math_387,
  17263. x86_sse_partial_reg_dependency, x86_four_jump_limit, x86_schedule):
  17264. Enable for generic.
  17265. (x86_use_incdec, x86_pad_returns): New.
  17266. (override_options): Add generic32 and generic64, translate "generic"
  17267. to generic32/generic64 and "i686" to "generic32", refuse
  17268. "generic32"/"generic64" as arch target.
  17269. (ix86_issue_rate, ix86_adjust_cost): Handle generic as athlon.
  17270. (ix86_reorg): Honor PAD_RETURNS.
  17271. 2006-01-19 Diego Novillo <dnovillo@redhat.com>
  17272. * tree-pretty-print.c (dump_generic_node): Handle
  17273. OMP_PARALLEL_FN, OMP_PARALLEL_DATA_ARG and OMP_RETURN_EXPR.
  17274. * cgraph.c (cgraph_expand_queue): Rename from
  17275. cgraph_analyze_queue. Update all users.
  17276. * cgraphunit.c (cgraph_assemble_pending_functions): Process
  17277. cgraph_expand_queue.
  17278. (cgraph_expand_all_functions): Likewise.
  17279. (cgraph_finalize_pending_functions): Remove. Update callers.
  17280. * tree.h (OMP_DIRECTIVE_P): Define.
  17281. (OMP_PARALLEL_FN): Define.
  17282. (OMP_PARALLEL_DATA_ARG): Define.
  17283. (OMP_SECTIONS_SECTIONS): Define.
  17284. * tree-pass.h (pass_expand_omp): Declare.
  17285. * omp-low.c (struct omp_region): Declare.
  17286. (struct omp_context): Remove fields 'parallel_type',
  17287. 'parallel_start_ix' and 'parallel_start_additional_args'.
  17288. Update all users.
  17289. (struct omp_for_data): Rename from struct expand_omp_for_data.
  17290. (omp_regions): New static variable.
  17291. (root_omp_region): New static variable.
  17292. (find_omp_clause): Make static.
  17293. (is_in_combined_parallel_ctx): Remove.
  17294. (is_combined_parallel): New.
  17295. (extract_omp_for_data): Move earlier in the file.
  17296. (workshare_safe_to_combine_p): New.
  17297. (get_ws_args_for): New.
  17298. (determine_parallel_type): Move earlier in the file.
  17299. (omp_copy_decl_2): Do not set DECL_CONTEXT of new local to the
  17300. child function.
  17301. (omp_copy_decl): Likewise.
  17302. (create_omp_child_function): Likewise.
  17303. (lookup_omp_region): New.
  17304. (dump_omp_region): New.
  17305. (debug_omp_region): New.
  17306. (debug_all_omp_regions): New.
  17307. (new_omp_region): New.
  17308. (scan_omp_parallel): If parallel_nesting_level > 1, the
  17309. directive is nested within another parallel directive.
  17310. Set OMP_PARALLEL_FN.
  17311. (scan_omp_for): Do not try to handle combined parallel+for
  17312. cases.
  17313. Remove FIXME comment.
  17314. (scan_omp_nested): Remove.
  17315. (scan_omp_1): Do not call scan_omp_nested when
  17316. parallel_nesting_level is > 1.
  17317. Do not change the DECL_CONTEXT of local variables found.
  17318. (lookup_decl_in_outer_ctx): New.
  17319. (lower_rec_input_clauses): Rename from expand_rec_input_clauses.
  17320. (lower_lastprivate_clauses): Rename from expand_lastprivate_clauses.
  17321. (lower_reduction_clauses): Rename from expand_reduction_clauses.
  17322. (lower_copyprivate_clauses): Rename from expand_copyprivate_clauses.
  17323. If CTX is nested, lookup VAR in the outer context when
  17324. building copy assignment.
  17325. (lower_send_clauses): Rename from expand_send_clauses.
  17326. If CTX is nested, lookup VAR in the outer context when
  17327. building copy assignments.
  17328. (lower_send_shared_vars): Rename from expand_send_shared_vars.
  17329. If CTX is nested, lookup VAR in the outer context when
  17330. building copy assignments.
  17331. (expand_parallel_call): Rename from build_parallel_call.
  17332. Handle combined parallel+workshare cases.
  17333. Re-implement to emit code into the CFG.
  17334. (list2chain): New.
  17335. (expand_omp_parallel): Re-implement to emit code into the CFG.
  17336. Call move_sese_region_to_fn to outline the sub-graph
  17337. containing the parallel region.
  17338. (expand_omp_for_1): Remove.
  17339. (expand_omp_for_generic): Re-implement to emit code into the
  17340. CFG.
  17341. (expand_omp_for_static_nochunk): Likewise.
  17342. (expand_omp_for_static_chunk): Likewise.
  17343. (expand_omp_for): Likewise.
  17344. (expand_omp_sections): Likewise.
  17345. (remove_exit_barriers): New.
  17346. (expand_omp_synch): New.
  17347. (expand_omp): New.
  17348. (build_omp_regions_1): New.
  17349. (build_omp_regions): New.
  17350. (execute_expand_omp): New.
  17351. (gate_expand_omp): New.
  17352. (pass_expand_omp): Define.
  17353. (lower_omp_sections): Rename from expand_omp_sections.
  17354. Set OMP_SECTIONS_SECTIONS.
  17355. (lower_omp_single_simple): Rename from expand_omp_single_simple.
  17356. (lower_omp_single_copy): Rename from expand_omp_single_copy.
  17357. (lower_omp_single): Rename from expand_omp_simple.
  17358. (lower_omp_master): Rename from expand_omp_master.
  17359. (lower_omp_ordered): Rename from expand_omp_ordered.
  17360. (lower_omp_critical): Rename from expand_omp_critical.
  17361. (lower_omp_for_lastprivate): Rename from expand_omp_for_lastprivate.
  17362. (lower_omp_for): Re-implement.
  17363. (lower_omp_parallel): Re-implement.
  17364. (lower_regimplify): Rename from expand_regimplify.
  17365. (lower_omp_1): Rename from expand_omp_1.
  17366. If there are syntax errors in the program, replace every
  17367. OpenMP directive with NOP.
  17368. Call lower_omp_* instead of expand_omp_*.
  17369. (lower_omp): Rename from expand_omp.
  17370. * tree-gimple.c (is_gimple_stmt): Handle OMP_RETURN_EXPR.
  17371. * tree-gimple.h (enum omp_parallel_type): Remove.
  17372. (gimple_boolify): Declare extern.
  17373. (find_omp_clause, determine_parallel_type): Remove.
  17374. * gimple-low.c (lower_omp_directive): New.
  17375. (lower_stmt): Call it.
  17376. (record_vars_into): Move from ...
  17377. (record_vars): ... here.
  17378. Call record_vars_into with current_function_decl.
  17379. * gimplify.c (struct gimplify_ctx): Remove fields
  17380. combined_pre_p and combined_ctxp. Update users.
  17381. (get_formal_tmp_var): Add documentation.
  17382. (gimple_boolify): Make extern.
  17383. (gimplify_expr_in_ctx): Remove. Update callers.
  17384. (gimplify_omp_parallel): Do not assume that OMP_PARALLEL_BODY
  17385. will always be a BIND_EXPR.
  17386. (gimplify_expr): Handle OMP_RETURN_EXPR.
  17387. * tree.def (BLOCK): Remove documentation about BLOCK_TYPE_TAGS.
  17388. (OMP_PARALLEL): Add 3 operands.
  17389. (OMP_SECTIONS): Add 1 operand.
  17390. (OMP_RETURN_EXPR): Define.
  17391. * tree-inline.c (estimate_num_insns_1): Handle OpenMP directives.
  17392. (copy_tree_r): Restore TREE_CHAIN in OMP_CLAUSE_*.
  17393. * tree-iterator.c (alloc_stmt_list): Assert that we are not
  17394. creating a circular free list.
  17395. (free_stmt_list): Assert that we are not freeing stmt_list_cache.
  17396. * tree-flow.h (move_sese_region_to_fn): Declare.
  17397. (record_vars_into): Declare.
  17398. * tree-cfg.c (make_omp_sections_edges): New.
  17399. (make_exit_edges): Handle OMP_PARALLEL, OMP_FOR, OMP_SINGLE,
  17400. OMP_MASTER, OMP_ORDERED, OMP_CRITICAL, OMP_RETURN_EXPR,
  17401. OMP_SECTIONS and OMP_SECTION.
  17402. (is_ctrl_altering_stmt): Return true for OMP_DIRECTIVE_P.
  17403. (set_bb_for_stmt): Undo change to check currently_expanding_to_rtl.
  17404. (verify_stmt): Do not handle OMP_DIRECTIVE_P.
  17405. (gather_blocks_in_sese_region): New.
  17406. (struct move_stmt_d): Declare.
  17407. (move_stmt_r): New.
  17408. (move_block_to_fn): New.
  17409. (move_sese_region_to_fn): New.
  17410. * passes.c (init_optimization_passes): Schedule
  17411. pass_expand_omp after pass_init_datastructures.
  17412. * tree-ssa-operands.c (get_expr_operands): Handle
  17413. OMP_PARALLEL, OMP_SECTIONS, OMP_FOR, OMP_RETURN_EXPR,
  17414. OMP_SINGLE, OMP_MASTER, OMP_ORDERED, OMP_CRITICAL.
  17415. 2006-01-19 Jeff Law <law@redhat.com>
  17416. * tree-vrp.c (extract_range_from_assert): Refine the result range
  17417. if the variable referenced by the ASSERT_EXPR has a range and
  17418. either the tentative result range or the previous range is a
  17419. VR_ANTI_RANGE.
  17420. 2006-01-19 Richard Sandiford <richard@codesourcery.com>
  17421. * c-decl.c (add_flexible_array_elts_to_size): Simplify vector accesses.
  17422. 2006-01-19 Jan Hubicka <jh@suse.cz>
  17423. * tree-vect-patterns.c (vect_pattern_recog_1): Prevent parse error.
  17424. 2006-01-19 Paolo Bonzini <bonzini@gnu.org>
  17425. * combine.c (try_combine): Do not worry about MEMs wrapped by USEs.
  17426. (expand_compound_operation, expand_field_assignment): Fail if the
  17427. bit lengths of an extract operation are out of range.
  17428. (make_extraction): Compute wanted_inner_mode based on the position
  17429. and length of the extraction. Make it extraction_mode for non-constant
  17430. positions, and do not modify offset in that case. When generating a
  17431. new MEM, use a mode that can hold the extraction while keeping correct
  17432. alignment. Remove code that supported MEMs wrapped by USEs.
  17433. (simplify_shift_const_1, force_to_mode) <case USE>: Remove.
  17434. 2006-01-19 Andreas Krebbel <krebbel1@de.ibm.com>
  17435. * config/s390/s390.md ("Y", "y"): New mode attribute.
  17436. ("*cmpdi_ccs", "*cmpsi_ccs", "*adddi3_imm_cc", "*adddi3_carry1_cc",
  17437. "*adddi3_carry1_cconly", "*adddi3_carry2_cc", "*adddi3_carry2_cconly",
  17438. "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2", "*adddi3_64",
  17439. "*addsi3_imm_cc", "*addsi3_carry1_cc",
  17440. "*addsi3_carry1_cconly", "*addsi3_carry2_cc", "*addsi3_carr2_cconly",
  17441. "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2",
  17442. "*subdi3_borrow_cc", "*subdi3_borrow_cconly", "*subdi3_cc",
  17443. "*subdi3_cc2", "*subdi3_cconly", "*subdi3_cconly2", "*subdi3_64",
  17444. "*subsi3_borrow_cc", "*subsi3_borrow_cconly", "*subsi3_cc",
  17445. "*subsi3_cc2", "*subsi3_cconly", "*subsi3_cconly", "*subsi3_cconly2",
  17446. "addsi3", "subsi3"): Insn patterns removed.
  17447. ("*add<mode>3_carry1_cc", "*add<mode>3_carry1_cconly",
  17448. "*add<mode>3_carry2_cc", "*add<mode>3_carry2_cconly", "*add<mode>3_cc",
  17449. "*add<mode>3_cconly", "*add<mode>3_cconly2", "*add<mode>3_imm_cc",
  17450. "*sub<mode>3_borrow_cc", "*sub<mode>3_borrow_cconly",
  17451. "*sub<mode>3_cc", "*sub<mode>3_cc2", "*sub<mode>3_cconly",
  17452. "*sub<mode>3_cconly2"): New insn patterns.
  17453. ("addsi3", "subsi3"): New expanders.
  17454. 2006-01-19 Dorit Nuzman <dorit@il.ibm.com>
  17455. * Makefile.in (tree-vect-patterns.o): Add rule for new file.
  17456. * tree-vect-analyze.c (vect_determine_vectorization_factor): Use
  17457. existing STMT_VINFO_VECTYPE if available.
  17458. (vect_mark_relevant): Add special handling for stmts that are
  17459. marked as STMT_VINFO_IN_PATTERN_P.
  17460. (vect_analyze_loop): Call vect_pattern_recog.
  17461. * tree-vectorizer.c (new_stmt_vec_info): Initialize new fields.
  17462. * tree-vectorizer.h (in_pattern_p, related_stmt): New fields in
  17463. stmt_info.
  17464. (STMT_VINFO_IN_PATTERN_P, STMT_VINFO_RELATED_STMT): New macros.
  17465. (vect_recog_func_ptr): New function-pointer type.
  17466. * tree-vect-patterns.c: New file.
  17467. (vect_recog_widen_sum_pattern, vect_recog_widen_mult_pattern):
  17468. (vect_recog_dot_prod_pattern, vect_pattern_recog):
  17469. (vect_pattern_recog_1): New functions.
  17470. (vect_pattern_recog_funcs): New array of function pointers.
  17471. * tree-vectorizer.h (ternary_op): New enum value.
  17472. * tree-vect-transform.c (vect_create_epilog_for_reduction): Added
  17473. declaration. Revised documentation. Removed redundant dump prints.
  17474. Removed redundant argument. Added support for reduction patterns.
  17475. (vectorizable_reduction): Added support for reduction patterns.
  17476. (vect_transform_stmt): Added support for patterns.
  17477. * expr.c (expand_expr_real_1): Added case for DOT_PROD_EXPR.
  17478. * genopinit.c (udot_prod_optab, sdot_prod_optab): Initialize.
  17479. * optabs.c (optab_for_tree_code): Added case for DOT_PROD_EXPR.
  17480. (expand_widen_pattern_expr): New function.
  17481. (init_optabs): Initialize new optabs udot_prod_optab,
  17482. sdot_prod_optab.
  17483. * optabs.h (OTI_sdot_prod, OTI_udot_prod): New.
  17484. (sdot_prod_optab, udot_prod_optab): Define new optabs.
  17485. (expand_widen_pattern_expr): New function declaration.
  17486. * tree.def (DOT_PROD_EXPR, WIDEN_SUM_EXPR, WIDEN_MULT_EXPR): New
  17487. tree-codes.
  17488. * tree-inline.c (estimate_num_insns_1): Added cases for new
  17489. tree-codes DOT_PROD_EXPR, WIDEN_SUM_EXPR, WIDEN_MULT_EXPR.
  17490. * tree-pretty-print.c (dump_generic_node): Likewise.
  17491. (op_prio): Likewise.
  17492. (op_symbol): Added cases for WIDEN_SUM_EXPR, WIDEN_MULT_EXPR.
  17493. * tree-ssa-operands.c (get_expr_operands): Added case for
  17494. DOT_PROD_EXPR.
  17495. * tree-vect-patterns.c (widened_name_p): New function.
  17496. (vect_recog_dot_prod_pattern): Added function implementation.
  17497. * tree-vect-transform.c (get_initial_def_for_reduction): Added
  17498. cases for DOT_PROD_EXPR, WIDEN_SUM_EXPR.
  17499. * config/rs6000/altivec.md (udot_prod<mode>, sdot_prodv8hi): New.
  17500. * config/i386/sse.md (sdot_prodv8hi, udot_prodv4si): New.
  17501. * expr.c (expand_expr_real_1): Added case for WIDEN_SUM_EXPR.
  17502. * genopinit.c (widen_ssum_optab, widen_usum_optab): Initialize.
  17503. * optabs.c (optab_for_tree_code): Added case for WIDEN_SUM_EXPR.
  17504. (init_optabs): Initialize new optabs widen_ssum_optab,
  17505. widen_usum_optab.
  17506. * optabs.h (OTI_widen_ssum, OTI_widen_usum): New.
  17507. (widen_ssum_optab, widen_usum_optab): Define new optabs.
  17508. * tree-vect-generic.c: (expand_vector_operations_1): Check type of
  17509. use instead of type of def.
  17510. * tree-vect-patterns.c (vect_recog_widen_sum_pattern): Added
  17511. function implementation.
  17512. * config/rs6000/altivec.md (widen_usum<mode>, widen_ssumv16qi,
  17513. widen_ssumv8hi): New.
  17514. * doc/tm.texi (ssum_widen, usum_widen, sdot_prod, udot_prod): New
  17515. patterns.
  17516. 2006-01-19 Richard Sandiford <richard@codesourcery.com>
  17517. PR c/25805
  17518. * c-decl.c (add_flexible_array_elts_to_size): New function.
  17519. (finish_decl): Use it.
  17520. 2006-01-18 Andrew Pinski <pinskia@physics.uc.edu>
  17521. * diagnostic.h: Include options.h.
  17522. * config/rs6000/x-darwin (host-ppc-darwin.o): Correct the
  17523. dependancies for diagnostic.h.
  17524. * Makefile.in (DIAGNOSTIC_H): Add options.h.
  17525. 2006-01-16 Daniel Berlin <dberlin@dberlin.org>
  17526. * tree-ssa-operands.h (ssa_call_clobbered_cache_valid): Remove.
  17527. (ssa_ro_call_cache_valid): Ditto.
  17528. * tree-ssa-alias.c (sort_tags_by_id): New function.
  17529. (init_transitive_clobber_worklist): Ditto.
  17530. (add_to_worklist): Ditto.
  17531. (mark_aliases_call_clobbered): Ditto.
  17532. (compute_tag_properties): Ditto.
  17533. (set_initial_properties): Ditto.
  17534. (compute_call_clobbered): Ditto.
  17535. (compute_may_aliases): Call compute_call_clobbered and grouping.
  17536. (compute_flow_sensitive_aliasing): Remove clobbering related code.
  17537. (compute_flow_insensitive_aliasing): Grouping now happens in our
  17538. caller.
  17539. (setup_pointers_and_addressables): Remove clobbering related code.
  17540. (add_may_alias): Ditto.
  17541. (replace_may_alias): Ditto.
  17542. (get_nmt_for): Ditto.
  17543. (create_global_var):
  17544. (is_escape_site): Return an escape_type enumeration.
  17545. * tree-flow-inline.h (is_call_clobbered): Global var does not
  17546. imply call clobbered.
  17547. (mark_call_clobbered): Take a reason for marking this. Remove
  17548. marking of globalness, and cache invalidation.
  17549. (clear_call_clobbered): Remove cache invalidation code.
  17550. * tree-dfa.c (dump_variable): If details is on, dump the reason
  17551. for escaping.
  17552. * tree-outof-ssa.c (create_temp): Copy escape mask from original
  17553. variable.
  17554. * tree-flow.h (struct ptr_info_def): Add escape mask member.
  17555. (struct var_ann_d): Ditto.
  17556. (enum escape_type): New.
  17557. (mark_call_clobbered): Adjust prototype.
  17558. * tree-ssa-structalias.c (update_alias_info): Unmodifiable vars
  17559. are never call clobbered.
  17560. Record reasons for escaping.
  17561. * tree-ssa-structalias.h (is_escape_site): Update prototype.
  17562. * tree-ssa-operands.c (ssa_call_clobbered_cache_valid): Remove.
  17563. (ssa_ro_call_cache_valid): Ditto.
  17564. (clobbered_v_may_defs): Ditto.
  17565. (clobbered_vuses): Ditto.
  17566. (ro_call_vuses): Ditto.
  17567. (clobber_stats): New.
  17568. (init_ssa_operands): Zero out clobber stats.
  17569. (fini_ssa_operands): Print out clobber stats.
  17570. (get_call_expr_operands): Pass callee fndecl to
  17571. add_call_read_ops).
  17572. (add_call_clobber_ops): Remove use of cache.
  17573. Add use of PURE_CONST information.
  17574. (add_call_read_ops): Remove use of cache.
  17575. Add use of static not_read information.
  17576. 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
  17577. Introduce TLS descriptors for i386 and x86_64.
  17578. * config/i386/i386.h (TARGET_GNU2_TLS): New macro.
  17579. (TARGET_ANY_GNU_TLS): New macro.
  17580. (enum tls_dialect): Added TLS_DIALECT_GNU2.
  17581. (struct machine_function): Add tls_descriptor_call_expanded_p.
  17582. (ix86_tls_descriptor_calls_expande_in_cfun): New macro.
  17583. (ix86_current_function_calls_tls_descriptor): Likewise.
  17584. * config/i386/i386.c (ix86_tls_dialect): Fix typo in comment.
  17585. (override_options): Introduce gnu2 tls dialect.
  17586. (ix86_frame_pointer_required): Functions containing TLSCALLs are
  17587. not leaves.
  17588. (ix86_select_alt_pic_regnum, ix86_compute_frame_layout):
  17589. Likewise.
  17590. (legitimize_tls_address): Adjust logic for GNU2 TLS.
  17591. (ix86_init_machine_status): Initialize new field.
  17592. (ix86_tls_get_addr): Use TARGET_ANY_GNU_TLS.
  17593. (ix86_tls_module_base): New.
  17594. * config/i386/i386-protos.h (ix86_tls_module_base): Declare it.
  17595. * config/i386/i386.md (UNSPEC_TLSDESC): New constant.
  17596. (tls_global_dynamic_32, tls_global_dynamic_64): Handle GNU2 TLS.
  17597. (tls_local_dynamic_base_32, tls_local_dynamic_base_64): Likewise.
  17598. (tls_dynamic_gnu2_32, *tls_dynamic_lea_32): New patterns.
  17599. (*tls_dynamic_call_32, *tls_dynamic_gnu2_combine_32): Likewise.
  17600. (tls_dynamic_gnu2_64, *tls_dynamic_lea_64): Likewise.
  17601. (*tls_dynamic_call_64, *tls_dynamic_gnu2_combine_64): Likewise.
  17602. * config/i386/predicates.md (tls_modbase_operand): New.
  17603. (tp_or_register_operand): New.
  17604. 2006-01-18 Daniel Berlin <dberlin@dberlin.org>
  17605. * ipa-reference.c (check_operand): Allow FUNCTION_DECL.
  17606. (look_for_address_of): Ditto.
  17607. (ipa_init): Walk the function decls.
  17608. (static_execute): Don't set readonly on FUNCTION_DECL's.
  17609. 2006-01-18 Roger Sayle <roger@eyesopen.com>
  17610. * config/i386/i386.md (shift spliter): Fix a a typo in the splitter
  17611. for shifts where the source and destination registers are different.
  17612. 2006-01-18 Paul Brook <paul@codesourcery.com>
  17613. Merge from csl-arm-branch.
  17614. 2005-03-14 Julian Brown <julian@codesourcery.com>
  17615. * config/arm/lib1funcs.asm (ashldi3): Don't define on SymbianOS.
  17616. (aeabi_llsl): Likewise.
  17617. (ashrdi3): Likewise.
  17618. (aeabi_lasr): Likewise.
  17619. (lshrdi3): Likewise.
  17620. (aeabi_llsr): Likewise.
  17621. 2005-03-10 Julian Brown <julian@codesourcery.com>
  17622. * config.gcc: Disable shared libgcc for SymbianOS.
  17623. * config/arm/t-symbian (LIB2ADDEH): Include config/arm/pr-support.c.
  17624. 2006-01-18 DJ Delorie <dj@redhat.com>
  17625. * c-pragma.c (handle_pragma_diagnostic): New.
  17626. (init_pragma): Register it.
  17627. * doc/extend.texi: Document it.
  17628. * diagnostic.def: Add DK_UNSPECIFIED and DK_IGNORED.
  17629. * diagnostic.h (diagnostic_classify_diagnostic): Declare.
  17630. (diagnostic_context): Add classify_diagnostic[].
  17631. * diagnostic.c (diagnostic_count_diagnostic): Don't count warnings
  17632. as errors if they're overridden to DK_WARNING.
  17633. (diagnostic_initialize): Initialize classify_diagnostic[].
  17634. (diagnostic_set_kind_override): New.
  17635. (diagnostic_report_diagnostic): Check for kind changes.
  17636. * opts.c (common_handle_option): Take lang_mask. Update callers.
  17637. Handle OPT_Werror_.
  17638. * common.opt (Werror=): New.
  17639. * doc/invoke.texi: Document -Werror=*
  17640. 2006-01-18 Jeff Law <law@redhat.com>
  17641. * tree-vrp.c (test_for_singularity): Correct test for new
  17642. min limit. Use operand_equal_p rather than pointer equality
  17643. for testing if new min/max values are equal.
  17644. * tree-ssa-propagate.c (substitute_and_fold): Delay simplifications
  17645. using range information until after propagation and folding.
  17646. 2006-01-18 Richard Henderson <rth@redhat.com>
  17647. Aldy Hernandez <aldyh@redhat.com>
  17648. Jakub Jelinek <jakub@redhat.com>
  17649. Diego Novillo <dnovillo@redhat.com>
  17650. * omp-low.c: New file.
  17651. * c-omp.c: New file.
  17652. 2006-01-18 Richard Henderson <rth@redhat.com>
  17653. Jakub Jelinek <jakub@redhat.com>
  17654. Diego Novillo <dnovillo@redhat.com>
  17655. * doc/invoke.texi: Document -fopenmp.
  17656. * tree-dump.h (debug_function): Declare.
  17657. * hooks.c (hook_bool_tree_bool_false): New function.
  17658. (hook_tree_tree_null): Remove.
  17659. (hook_tree_tree_tree_null): New.
  17660. * hooks.h: Update to match.
  17661. * tree-pretty-print.c (debug_tree_chain): New.
  17662. (print_generic_expr): Handle TDF_CHAIN.
  17663. (dump_generic_node): Handle BLOCK.
  17664. Do not abort with incomplete SWITCH_EXPRs.
  17665. Do not dump body of an OpenMP directive if TDF_SLIM is given.
  17666. <case OMP_PARALLEL, OMP_FOR, OMP_SECTIONS>: Don't
  17667. print space after directive name.
  17668. <OMP_FOR>: Handle printing OMP_FOR_PRE_BODY.
  17669. Handle OMP_MASTER and OMP_ORDERED.
  17670. Handle printing of OMP_BODY just in one place, goto
  17671. dump_omp_body in the rest of OMP_* nodes that have
  17672. OMP_BODY.
  17673. Don't handle clause nodes here. Update omp statements to
  17674. use dump_omp_clauses.
  17675. Handle OMP_SINGLE, OMP_SECTIONS, OMP_SECTION,
  17676. OMP_CLAUSE_ORDERED, OMP_CLAUSE_SCHEDULE, OMP_ATOMIC,
  17677. OMP_CRITICAL, OMP_CLAUSE_NOWAIT, GOMP_CLAUSE_IF,
  17678. GOMP_CLAUSE_NUM_THREADS, GOMP_FOR, GOMP_CLAUSE_SHARED,
  17679. GOMP_CLAUSE_FIRSTPRIVATE, GOMP_CLAUSE_LASTPRIVATE,
  17680. GOMP_CLAUSE_COPYIN and GOMP_CLAUSE_COPYPRIVATE.
  17681. Adjust output for GOMP_PARALLEL.
  17682. (dump_omp_clauses): New.
  17683. (print_declaration): Dump DECL_VALUE_EXPR.
  17684. (op_symbol_1): Split out of op_symbol.
  17685. (dumping_stmts): Remove. Update all users.
  17686. * cgraph.c (cgraph_analyze_queue): New.
  17687. (cgraph_add_new_function): New.
  17688. * cgraph.h (cgraph_analyze_queue): Declare.
  17689. (cgraph_add_new_function): Declare.
  17690. (cgraph_lower_function): Remove.
  17691. * tree.c (walk_tree): Walk OMP_CLAUSE_CHAIN of OMP_CLAUSE_*
  17692. nodes. Use switch for all nodes, handle most of IS_EXPR_CODE_CLASS
  17693. and TYPE_P nodes in its default clause.
  17694. (empty_body_p): New.
  17695. (tree_range_check_failed): New.
  17696. (build5_stat): New.
  17697. * tree.h (OMP_CLAUSE_REDUCTION_INIT,
  17698. OMP_CLAUSE_REDUCTION_MERGE,
  17699. OMP_CLAUSE_REDUCTION_PLACEHOLDER,
  17700. OMP_CLAUSE_PRIVATE_DEBUG,
  17701. OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE, OMP_FOR_PRE_BODY,
  17702. OMP_MASTER_BODY, OMP_ORDERED_BODY OMP_BODY,
  17703. OMP_CLAUSES, OMP_CLAUSE_DECL, OMP_CLAUSE_DEFAULT_KIND,
  17704. OMP_CLAUSE_CHAIN, OMP_CLAUSE_OUTER_DECL,
  17705. OMP_CLAUSE_INNER_DECL, OMP_CLAUSE_NUM_THREADS_EXPR,
  17706. OMP_CLAUSE_IF_EXPR, OMP_CLAUSE_SCHEDULE_CHUNK_EXPR,
  17707. OMP_CLAUSE_SCHEDULE_CHUNK_SIZE. OMP_PARALLEL_VAR_INIT,
  17708. OMP_PARALLEL_VAR_REDUC, OMP_FOR_VAR_INIT,
  17709. OMP_FOR_VAR_LAST, OMP_FOR_VAR_REDUC,
  17710. OMP_SECTIONS_VAR_INIT, OMP_SECTIONS_VAR_LAST,
  17711. OMP_SECTIONS_VAR_REDUC, OMP_CLAUSE_REDUCTION_CODE
  17712. OMP_SINGLE_CLAUSES, OMP_SINGLE_BODY,
  17713. OMP_CLAUSE_SCHEDULE_CHUNK_SIZE, OMP_SECTION_BODY,
  17714. OMP_CRITICAL_NAME, OMP_CRITICAL_BODY): New.
  17715. (TREE_RANGE_CHECK): New.
  17716. (empty_body_p): Declare.
  17717. (enum omp_clause_default_kind): New.
  17718. (build_string_literal): Declare.
  17719. (enum omp_clause_schedule_kind, OMP_CLAUSE_SCHEDULE_KIND): New.
  17720. (build5_stat, build5): Declare.
  17721. * tree-pass.h (TDF_CHAIN): Define.
  17722. * tree-pass.h (PROP_gimple_lomp): Define.
  17723. (pass_lower_omp): Declare.
  17724. * diagnostic.h (debug_tree_chain): Declare.
  17725. * builtins.c (get_builtin_sync_mode): Use 0 as last argument to
  17726. mode_for_size.
  17727. (expand_builtin): Handle sync BUILT_IN_*_16 builtins.
  17728. * builtins.c (build_string_literal): Make extern.
  17729. * gcc.c (include_spec_function): New.
  17730. (static_spec_functions): Add it.
  17731. (main): Move load of libgomp.spec ...
  17732. (LINK_COMMAND_SPEC): ... here.
  17733. (link_gomp_spec): New.
  17734. (static_specs): Include it.
  17735. (LINK_COMMAND_SPEC): Add link_gomp.
  17736. (GOMP_SELF_SPECS): New.
  17737. (driver_self_specs): Include it.
  17738. (switch_matches): Don't mark inline.
  17739. (main): Load libgomp.spec.
  17740. * tree-gimple.c (is_gimple_stmt): True for OMP_MASTER,
  17741. OMP_ORDERED, OMP_CRITICAL, OMP_SECTIONS, OMP_SECTION,
  17742. and OMP_SINGLE, OMP_FOR and OMP_PARALLEL.
  17743. * tree-gimple.h (enum omp_parallel): Declare.
  17744. (determine_parallel_type): Declare.
  17745. (omp_firstprivatize_variable): Declare.
  17746. (omp_reduction_init): Declare.
  17747. (diagnose_omp_structured_block_errors): Declare.
  17748. (struct walk_stmt_info): Add want_return_expr.
  17749. (struct walk_stmt_info): Add want_bind_expr, want_locations.
  17750. (find_omp_clause): Declare.
  17751. (insert_field_into_struct): Declare.
  17752. (struct walk_stmt_info): Move from tree-nested.c
  17753. (walk_stmts): Declare.
  17754. * c-cppbuiltin.c (c_cpp_builtins): If -fopenmp, #define _OPENMP
  17755. to 200505.
  17756. * cgraphunit.c (cgraph_lower_function): Make static.
  17757. (cgraph_finalize_pending_functions): New.
  17758. (cgraph_finalize_function): Call it.
  17759. (cgraph_finalize_compilation_unit): Likewise.
  17760. * builtin-types.def (BT_I16, BT_FN_I16_VPTR_I16,
  17761. BT_FN_BOOL_VPTR_I16_I16, BT_FN_I16_VPTR_I16_I16): Add.
  17762. (BT_FN_UINT_UINT): New.
  17763. (DEF_FUNCTION_TYPE_6, DEF_FUNCTION_TYPE_7,
  17764. DEF_FUNCTION_TYPE_VAR_4): Document.
  17765. (BT_PTR_LONG, BT_PTR_PTR, BT_FN_BOOL, BT_FN_INT,
  17766. BT_FN_VOID_PTRPTR, BT_PTR_FN_VOID_PTR,
  17767. BT_FN_BOOL_LONGPTR_LONGPTR, BT_FN_VOID_OMPFN_PTR_UINT,
  17768. BT_FN_VOID_OMPFN_PTR_UINT_UINT,
  17769. BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
  17770. BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
  17771. BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG,
  17772. BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG): New.
  17773. * builtins.def: Update DEF_BUILTIN comment to include COND argument.
  17774. Move all DEF_SYNC_BUILTIN () and DEF_GOMP_BUILTIN () builtins
  17775. into separate files.
  17776. (DEF_GOMP_BUILTIN): New.
  17777. (BUILT_IN_OMP_GET_THREAD_NUM, BUILT_IN_GOMP_BARRIER,
  17778. BUILT_IN_GOMP_CRITICAL_START, BUILT_IN_GOMP_CRITICAL_END,
  17779. BUILT_IN_GOMP_CRITICAL_NAME_START, BUILT_IN_GOMP_CRITICAL_NAME_END,
  17780. BUILT_IN_GOMP_LOOP_STATIC_START, BUILT_IN_GOMP_LOOP_DYNAMIC_START,
  17781. BUILT_IN_GOMP_LOOP_GUIDED_START, BUILT_IN_GOMP_LOOP_RUNTIME_START,
  17782. BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START,
  17783. BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START,
  17784. BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START,
  17785. BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START,
  17786. BUILT_IN_GOMP_LOOP_STATIC_NEXT, BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT,
  17787. BUILT_IN_GOMP_LOOP_GUIDED_NEXT, BUILT_IN_GOMP_LOOP_RUNTIME_NEXT,
  17788. BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT,
  17789. BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT,
  17790. BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT,
  17791. BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT,
  17792. BUILT_IN_GOMP_PARALLEL_LOOP_STATIC_START,
  17793. BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC_START,
  17794. BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED_START,
  17795. BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME_START,
  17796. BUILT_IN_GOMP_LOOP_END, BUILT_IN_GOMP_LOOP_END_NOWAIT,
  17797. BUILT_IN_GOMP_ORDERED_START, BUILT_IN_GOMP_ORDERED_END,
  17798. BUILT_IN_GOMP_PARALLEL_START, BUILT_IN_GOMP_PARALLEL_END,
  17799. BUILT_IN_GOMP_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_NEXT,
  17800. BUILT_IN_GOMP_PARALLEL_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_END,
  17801. BUILT_IN_GOMP_SECTIONS_END_NOWAIT, BUILT_IN_GOMP_SINGLE_START,
  17802. BUILT_IN_GOMP_SINGLE_COPY_START, BUILT_IN_GOMP_SINGLE_COPY_END): New.
  17803. * sync-builtins.def: New file, moved from builtins.def.
  17804. * omp-builtins.def: New file, moved from builtins.def.
  17805. * c-objc-common.h (LANG_HOOKS_OMP_PREDETERMINED_SHARING): Redefine.
  17806. * gimple-low.c (lower_function_body): Clear data.
  17807. (lower_stmt): Do not handle COMPOUND_EXPR.
  17808. Remove call to print_node_brief.
  17809. * c-tree.h (c_finish_omp_clauses): New prototype.
  17810. (C_DECL_THREADPRIVATE_P): Define.
  17811. (lookup_name_no_remap, c_omp_remap_private): Remove
  17812. (c_begin_omp_parallel, c_finish_omp_parallel): Update.
  17813. (check_for_loop_decls): Update decl.
  17814. (lookup_name_no_remap, c_omp_remap_private): Declare.
  17815. (build_indirect_ref, build_modify_expr, pushdecl,
  17816. pushdecl_top_level): Move to c-common.h.
  17817. * dwarf2out.c (loc_descriptor_from_tree_1): Don't set unsignedp
  17818. before the switch, but just in the 2 places that need it.
  17819. * c-decl.c (diagnose_mismatched_decls): Do not check for
  17820. mismatched thread-local attributes when OLDDECL is marked
  17821. threadprivate and NEWDECL has no thread-local attributes.
  17822. (merge_decls): Merge C_DECL_THREADPRIVATE_P.
  17823. (c_gimple_diagnostics_recursively): Rename from
  17824. c_warn_unused_result_recursively. Invoke
  17825. diagnose_omp_structured_block_errors.
  17826. (check_for_loop_decls): Return a singular decl found.
  17827. * langhooks.c (lhd_omp_predetermined_sharing): Return
  17828. OMP_CLAUSE_DEFAULT_SHARED for DECL_ARTIFICIAL decls.
  17829. (lhd_omp_firstprivatize_type_sizes): New.
  17830. (lhd_omp_assignment): New.
  17831. (lhd_omp_predetermined_sharing): New.
  17832. * langhooks.h (struct gimplify_omp_ctx): Forward declare.
  17833. (struct lang_hooks_for_types): Add
  17834. omp_firstprivatize_type_sizes, omp_privatize_by_reference,
  17835. omp_predetermined_sharing, omp_disregard_value_expr,
  17836. omp_private_debug_clause, omp_clause_default_ctor,
  17837. omp_clause_copy_ctor, omp_clause_assign_op, omp_clause_dtor.
  17838. (c_finish_omp_clauses): New.
  17839. (c_finish_bc_stmt): Diagnose break within omp for.
  17840. (c_begin_omp_parallel, c_finish_omp_parallel): New.
  17841. (build_unary_op): Return error_mark after reporting
  17842. a readonly_error.
  17843. (build_modify_expr): Likewise.
  17844. * gimplify.c: Include optabs.h and pointer-set.h.
  17845. (enum gimplify_omp_var_data): Declare.
  17846. (struct gimplify_omp_ctx): Declare.
  17847. (struct gimplify_ctx): Add fields prev_context, combined_pre_p
  17848. and combined_ctxp.
  17849. (gimplify_ctxp, gimplify_omp_ctxp): New local variables.
  17850. (push_gimplify_context, pop_gimplify_context): Allow nesting.
  17851. (splay_tree_compare_decl_uid): New.
  17852. (new_omp_context): New.
  17853. (delete_omp_context): New.
  17854. (gimple_add_tmp_var): Call omp_add_variable.
  17855. (gimplify_bind_expr): Likewise.
  17856. (gimplify_var_or_parm_decl): If omp_notice_variable returned
  17857. true, disregard DECL_VALUE_EXPR on the decl if any.
  17858. (gimplify_expr_in_ctx): New.
  17859. (omp_firstprivatize_variable, omp_firstprivatize_type_sizes
  17860. omp_add_variable, omp_notice_variable, omp_is_private
  17861. gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses_1
  17862. gimplify_adjust_omp_clauses, gimplify_omp_parallel
  17863. gimplify_omp_for, gimplify_omp_workshare, goa_lhs_expr_p
  17864. gimplify_omp_atomic_fetch_op, goa_stabilize_expr
  17865. gimplify_omp_atomic_pipeline, gimplify_omp_atomic_mutex
  17866. gimplify_omp_atomic): New.
  17867. (gimplify_expr): Handle OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
  17868. OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
  17869. OMP_CRITICAL and OMP_ATOMIC.
  17870. (gimplify_body): Verify gimplify_ctxp is empty after gimplification.
  17871. * c-pragma.h (enum pragma_kind): Add
  17872. PRAGMA_OMP_ATOMIC, PRAGMA_OMP_BARRIER,
  17873. PRAGMA_OMP_CRITICAL, PRAGMA_OMP_FLUSH, PRAGMA_OMP_FOR,
  17874. PRAGMA_OMP_MASTER, PRAGMA_OMP_ORDERED,
  17875. PRAGMA_OMP_PARALLEL, PRAGMA_OMP_PARALLEL_FOR,
  17876. PRAGMA_OMP_PARALLEL_SECTIONS, PRAGMA_OMP_SECTION,
  17877. PRAGMA_OMP_SECTIONS, PRAGMA_OMP_SINGLE,
  17878. PRAGMA_OMP_THREADPRIVATE.
  17879. * tree.def (OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
  17880. OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
  17881. OMP_CRITICAL, OMP_ATOMIC, OMP_CLAUSE_PRIVATE,
  17882. OMP_CLAUSE_SHARED, OMP_CLAUSE_FIRSTPRIVATE,
  17883. OMP_CLAUSE_LASTPRIVATE, OMP_CLAUSE_REDUCTION,
  17884. OMP_CLAUSE_COPYIN, OMP_CLAUSE_COPYPRIVATE,
  17885. OMP_CLAUSE_IF, OMP_CLAUSE_NUM_THREADS,
  17886. OMP_CLAUSE_SCHEDULE, OMP_CLAUSE_NOWAIT,
  17887. OMP_CLAUSE_ORDERED, OMP_CLAUSE_DEFAULT): Define.
  17888. * print-tree.c (print_node): Dump DECL_VALUE_EXPR.
  17889. * tree-ssa-dce.c (find_control_dependence): Do not assume that
  17890. ENTRY_BLOCK_PTR->next_bb == single_succ (ENTRY_BLOCK_PTR).
  17891. * tree-nested.c (convert_call_expr): Call walk_body on OMP_BODY for
  17892. OpenMP directives.
  17893. (struct nesting_info): Add field_map,
  17894. suppress_expansion, debug_var_chain.
  17895. (create_nesting_tree): Initialize them.
  17896. (lookup_field_for_decl): Use field_map.
  17897. (get_nonlocal_debug_decl, get_local_debug_decl): New.
  17898. (convert_local_omp_clauses): New.
  17899. (finalize_nesting_tree_1): Add debug_var_chain to toplevel block.
  17900. (walk_body): Split out of walk_function.
  17901. (convert_nonlocal_omp_clauses, convert_local_omp_clauses): New.
  17902. (convert_nonlocal_reference): Handle omp statements.
  17903. (convert_local_reference): Likewise.
  17904. (unnest_nesting_tree_1): Split out of finalize_nesting_tree_1.
  17905. (unnest_nesting_tree): New.
  17906. (lower_nested_functions): Call it.
  17907. (insert_field_into_struct): Make extern.
  17908. (struct walk_stmt_info): Move to tree-gimple.h.
  17909. (walk_stmts): Make extern.
  17910. * omp-builtins.def: New file.
  17911. * tree-iterator.c (expr_only): Clarify comment.
  17912. * c-common.h (pushdecl_top_level, pushdecl,
  17913. build_modify_expr, build_indirect_ref,
  17914. c_finish_omp_master, c_finish_omp_critical,
  17915. c_finish_omp_ordered, c_finish_omp_barrier,
  17916. c_finish_omp_atomic, c_finish_omp_flush,
  17917. c_finish_omp_for, c_split_parallel_clauses,
  17918. omp_clause_default_kind, c_omp_sharing_predetermined,
  17919. c_omp_remap_decl): Declare.
  17920. * Makefile.in (BUILTINS_DEF): Add omp-builtins.def.
  17921. (OBJS-common): Add omp-low.o.
  17922. (c-omp.o, omp-low.o): Add.
  17923. (gimplify.o): Add dependency on $(OPTABS_H).
  17924. (GTFILES): Add omp-low.c.
  17925. (gt-stringpool.h): Add.
  17926. * tree-cfg.c (set_bb_for_stmt): Do not update the
  17927. block-to-labels map if we are currently expanding to RTL.
  17928. (tree_node_can_be_shared): Remove unnecessary CONSTANT_CLASS_P
  17929. checks.
  17930. Handle IDENTIFIER_NODE.
  17931. (tree_verify_flow_info): Do not ICE when emitting error
  17932. messages about invalid labels.
  17933. (dump_function_to_file): Reset CFUN before emitting the body
  17934. of the function.
  17935. (debug_function): New.
  17936. * passes.c (init_optimization_passes): Schedule
  17937. pass_lower_omp.
  17938. * langhooks-def.h (lhd_omp_predetermined_sharing,
  17939. lhd_omp_assignment, lhd_omp_firstprivatize_type_sizes):
  17940. Declare.
  17941. (LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES): Define.
  17942. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Use it.
  17943. (LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE,
  17944. LANG_HOOKS_OMP_PREDETERMINED_SHARING,
  17945. LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR,
  17946. LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE,
  17947. LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR,
  17948. LANG_HOOKS_OMP_CLAUSE_COPY_CTOR,
  17949. LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP,
  17950. LANG_HOOKS_OMP_CLAUSE_DTOR): Define.
  17951. (LANG_HOOK_DECLS): Use them.
  17952. 2006-01-18 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
  17953. Richard Henderson <rth@redhat.com>
  17954. Jakub Jelinek <jakub@redhat.com>
  17955. Diego Novillo <dnovillo@redhat.com>
  17956. * c-parser.c (pragma_omp_clause): Define.
  17957. (c_parser_declaration_or_fndef): Document OpenMP syntax.
  17958. (c_parser_compound_statement): Likewise.
  17959. (c_parser_statement): Likewise.
  17960. (c_parser_pragma): Handle omp pragmas.
  17961. (OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK,
  17962. OMP_PARALLEL_CLAUSE_MASK, OMP_SINGLE_CLAUSE_MASK): Define.
  17963. (c_parser_omp_clause_name, check_no_duplicate_clause,
  17964. c_parser_omp_variable_list,
  17965. c_parser_omp_var_list_parens, c_parser_omp_clause_copyin,
  17966. c_parser_omp_clause_copyprivate,
  17967. c_parser_omp_clause_default,
  17968. c_parser_omp_clause_firstprivate, c_parser_omp_clause_if,
  17969. c_parser_omp_clause_lastprivate,
  17970. c_parser_omp_clause_nowait,
  17971. c_parser_omp_clause_num_threads,
  17972. c_parser_omp_clause_ordered, c_parser_omp_clause_private,
  17973. c_parser_omp_clause_reduction,
  17974. c_parser_omp_clause_schedule, c_parser_omp_clause_shared,
  17975. c_parser_omp_all_clauses, c_parser_omp_structured_block,
  17976. c_parser_omp_atomic, c_parser_omp_barrier,
  17977. c_parser_omp_critical, c_parser_omp_flush,
  17978. c_parser_omp_for_loop, c_parser_omp_for,
  17979. c_parser_omp_master, c_parser_omp_ordered,
  17980. c_parser_omp_sections_scope, c_parser_omp_sections,
  17981. c_parser_omp_parallel, c_parser_omp_single,
  17982. c_parser_omp_construct, c_parser_omp_threadprivate): New.
  17983. * c-pragma.c (init_pragma): Do omp pragma registration here.
  17984. * c.opt (fopenmp): New flag.
  17985. 2006-01-18 Eric Christopher <echristo@apple.com>
  17986. * gcc.c (GOMP_SELF_SPECS): Bracket in #ifndef/#endif.
  17987. * config/darwin.h (GOMP_SELF_SPECS): Define.
  17988. 2006-01-18 Kazu Hirata <kazu@codesourcery.com>
  17989. * rtl.h: Remove the prototype for reg_alloc.
  17990. 2006-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  17991. PR target/25731
  17992. * config.gcc (hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
  17993. hppa[12]*-*-hpux11*): Override default shared libgcc version for both
  17994. sjlj and dwarf2 exception handling.
  17995. * pa/t-hpux-shlib (SHLIB_SOVERSION): New make variable.
  17996. Rework to allow overriding SHLIB_EXT and SHLIB_SOVERSION.
  17997. * pa/pa.c (function_value): Treat complex and vector types as
  17998. aggregates.
  17999. (function_arg): Likewise. Only pass scalar floats in the floating
  18000. point argument registers.
  18001. * pa/t-slibgcc-dwarf-ver: New file.
  18002. * pa/t-slibgcc-sjlj-ver: New file.
  18003. * pa/t-slibgcc-elf-ver: Delete file.
  18004. 2006-01-19 Alan Modra <amodra@bigpond.net.au>
  18005. * config/rs6000/rs6000.c (rs6000_assemble_integer): Correct
  18006. unlikely_test_section_p test.
  18007. 2006-01-18 Kazu Hirata <kazu@codesourcery.com>
  18008. * mode-switching.c (optimize_mode_switching): Make it static.
  18009. * basic-block.h: Remove the prototype for
  18010. optimize_mode_switching.
  18011. * modulo-sched.c (sms_schedule): Make it static.
  18012. * rtl.h: Remove the prototype for sms_schedule.
  18013. * postreload-gcse.c (gcse_after_reload_main): Make it static.
  18014. * rtl.h: Remove the prototype for gcse_after_reload_main.
  18015. * reg-stack.c (reg_to_stack): Make it static.
  18016. * rtl.h: Remove the prototype for reg_to_stack.
  18017. * regrename.c (regrename_optimize, copyprop_hardreg_forward):
  18018. Make them static.
  18019. * rtl.h: Remove the prototypes for regrename_optimize and
  18020. copyprop_hardreg_forward.
  18021. 2006-01-18 Eric Botcazou <ebotcazou@adacore.com>
  18022. * config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into
  18023. alpha_split_tmode_pair. Add 'mode' and 'fixup_overlap' arguments.
  18024. Test against the appropriate null constant for the mode.
  18025. If 'fixup_overlap' is true, swap the operands if they overlap.
  18026. (alpha_split_tfmode_frobsign): Adjust call to alpha_split_tfmode_pair.
  18027. * config/alpha/alpha-protos.h (alpha_split_tfmode_pair): Rename into
  18028. alpha_split_tmode_pair and adjust for above change.
  18029. * config/alpha/alpha.md (movtf_internal): Adjust call to
  18030. alpha_split_tfmode_pair and rely on it to swap the operands.
  18031. (movti_internal): New insn and post-reload splitter.
  18032. (movti): New expander.
  18033. 2006-01-18 Philippe De Muyter <phdm@macqel.be>
  18034. * config/m68k/m68k.md (*addsi3_5200): Allow addq/subq to memory
  18035. operands.
  18036. 2006-01-18 Kazu Hirata <kazu@codesourcery.com>
  18037. * rtlanal.c (global_reg_mentioned_p_1,
  18038. global_reg_mentioned_p): Remove.
  18039. * rtl.h: Remove the prototype for global_reg_mentioned_p.
  18040. * flow.c (initialize_uninitialized_subregs): Make it static.
  18041. * rtl.h: Remove the prototype for
  18042. initialize_uninitialized_subregs.
  18043. * function.c (instantiate_virtual_regs): Make it static.
  18044. * function.h: Remove the prototype for
  18045. instantiate_virtual_regs.
  18046. * regmove.c (regmove_optimize, combine_stack_adjustments):
  18047. Make them static.
  18048. * rtl.h: Remove the prototypes for regmove_optimize and
  18049. combine_stack_adjustments.
  18050. 2006-01-17 Roger Sayle <roger@eyesopen.com>
  18051. * config/i386/i386.c (COSTS_N_BYTES): New macro.
  18052. (size_cost): Encode costs in bytes so that a reg-reg addition is
  18053. equivalent to COSTS_N_INSNS(1).
  18054. (override_options): Use the size_cost.branch_cost as the default
  18055. ix86_branch_cost when optimizing for size.
  18056. 2006-01-18 Ben Elliston <bje@au.ibm.com>
  18057. * Makefile.in (D32PBIT_FUNCS): New.
  18058. (D64PBIT_FUNCS, D128PBIT_FUNCS): Likewise.
  18059. (libgcc.mk): Set D32PBIT, D64PBIT, D128PBIT, D32PBIT_FUNCS,
  18060. D64PBIT_FUNCS and D128PBIT_FUNCS.
  18061. (LIBGCC_DEPS): Include $(D32PBIT), $(D64PBIT), $(D128PBIT).
  18062. * mklibgcc.in Bring in the DFP support code if D32PBIT, D64PBIT or
  18063. D128PBIT are set.
  18064. (decnumber_dep): Define.
  18065. * doc/libgcc.texi (Decimal float library routines): New node.
  18066. * config/dfp-bit.h, config/dfp-bit.c: New files.
  18067. 2006-01-18 Ben Elliston <bje@au.ibm.com>
  18068. * expr.c (emit_move_change_mode): Always adjust addresses, not
  18069. just during reload. Copy replacements only during reload.
  18070. (emit_move_insn_1): Move MODE_DECIMAL_FLOAT modes by invoking
  18071. emit_move_via_integer.
  18072. 2006-01-17 Shantonu Sen <ssen@opendarwin.org>
  18073. * Makefile.in (check-%, check-consistency): Use $${srcdir}
  18074. instead of $(srcdir) and ${srcdir}.
  18075. 2006-01-17 Richard Earnshaw <rearnsha@arm.com>
  18076. PR target/592
  18077. PR middle-end/11135
  18078. * arm.h (struct machine_function): Add pic_reg.
  18079. * arm.c (arm_pic_register): Make unsigned.
  18080. (arm_override_options): Only set arm_pic_register if
  18081. TARGET_SINGLE_PIC_BASE.
  18082. (use_return_insn): Only test for a pic register if it is fixed.
  18083. (arm_compute_save_reg0_reg12_mask): Likewise.
  18084. (thumb_compute_save_reg_mask): Likewise.
  18085. (legitimate_pic_operand): Factor out some known invariants.
  18086. (legitimize_pic_address): If we don't have a fixed pic register,
  18087. then set up a pseudo in the function entry sequence. Handle the
  18088. pic base being in a pseudo.
  18089. (arm_load_pic_register): Handle the pic register being in a pseudo.
  18090. (arm_expand_prologue): Only set up the pic register if it is fixed.
  18091. (thumb_expand_prologue): Likewise.
  18092. * arm.md (pic_load_addr_based): Handle the pic base being a pseudo.
  18093. (pic_load_addr_based_insn): Likewise.
  18094. (builtin_setjmp_receiver): Don't restore the pic base if it isn't
  18095. fixed.
  18096. 2006-01-18 Ben Elliston <bje@au.ibm.com>
  18097. * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Reject
  18098. decimal float modes for all floating point registers.
  18099. * config/rs6000/predicates.md (reg_or_mem_operand): Pair up
  18100. match_code "mem" with match_test "macho_lo_sum_memory_operand".
  18101. 2006-01-17 Jakub Jelinek <jakub@redhat.com>
  18102. PR c/25682
  18103. * c-typeck.c (build_unary_op): Fold offsetof-like expressions
  18104. even when the pointer is not NULL.
  18105. 2006-01-16 Ian Lance Taylor <ian@airs.com>
  18106. * common.opt (ftoplevel-reorder): New option.
  18107. * cgraph.c (cgraph_asm_nodes): New global variable.
  18108. (cgraph_asm_last_node): New static variable.
  18109. (cgraph_order): New global variable.
  18110. (cgraph_create_node): Set new order field.
  18111. (cgraph_varpool_node): Likewise.
  18112. (decide_is_variable_needed): Return true if not
  18113. flag_toplevel_reorder.
  18114. (cgraph_add_asm_node): New function.
  18115. * cgraph.h (struct cgraph_node): Add order field.
  18116. (struct cgraph_varpool_node): Add order field.
  18117. (struct cgraph_asm_node): Define.
  18118. (cgraph_asm_nodes, cgraph_order): Declare.
  18119. (cgraph_add_asm_node): Declare.
  18120. * cgraphunit.c (cgraph_varpool_assemble_decl): New static
  18121. function.
  18122. (cgraph_varpool_assemble_pending_decls): Call it.
  18123. (cgraph_output_pending_asms): New static function.
  18124. (cgraph_finalize_compilation_unit): Call it.
  18125. (struct cgraph_order_sort): Define.
  18126. (cgraph_output_in_order): New static function.
  18127. (cgraph_optimize): Call cgraph_output_pending_asms. Add code for
  18128. !flag_toplevel_reorder case.
  18129. * c-parser.c: Include "cgraph.h".
  18130. (c_parser_asm_definition): Call cgraph_add_asm_node rather than
  18131. assemble_asm.
  18132. * Makefile.in (CRTSTUFF_CFLAGS): Use -fno-toplevel-reorder rather
  18133. than -fno-unit-at-a-time.
  18134. * doc/invoke.texi (Option Summary): Mention
  18135. -fno-toplevel-reorder.
  18136. (Optimize Options): Document -fno-toplevel-reorder. Mention it in
  18137. -funit-at-a-time documentation.
  18138. 2006-01-17 Hans-Peter Nilsson <hp@axis.com>
  18139. Kazu Hirata <kazu@codesourcery.com>
  18140. * Makefile.in (FUNCTION_H, LAMBDA_H): Use $(TREE_H), not tree.h.
  18141. 2006-01-17 Kazu Hirata <kazu@codesourcery.com>
  18142. * Makefile.in (FUNCTION_H): New. Use it instead of
  18143. function.h throughout the file.
  18144. * function.h: Include tree.h.
  18145. 2006-01-17 Ben Elliston <bje@au.ibm.com>
  18146. * recog.c: Separate some functions with whitespace.
  18147. 2006-01-16 Richard Henderson <rth@redhat.com>
  18148. Merge from gomp branch:
  18149. * Makefile.in (TREE_INLINE_H): New. Use it as needed.
  18150. * tree-inline.h (struct copy_body_data): Move from tree-inline.c
  18151. and rename from struct inline_data. Rename callee* to dst*;
  18152. caller* to src*; add copy_decl hook, transform_call_graph_edges,
  18153. transform_new_cfg, transform_return_to_modify, and
  18154. transform_lang_insert_block flags; remove cloning_p, versioning_p,
  18155. update_clones_p.
  18156. (copy_body_r, insert_decl_map, remap_decl, remap_type): Declare.
  18157. (copy_decl_for_dup): Remove.
  18158. * tree-inline.c (struct inline_data): Move to header.
  18159. (insert_decl_map): Export.
  18160. (remap_decl): Update for member name changes. Use copy_decl hook.
  18161. Allow for replacement to be a non-decl. Remove dead code.
  18162. (remap_type_1): Check for existing mapping.
  18163. (remap_type): Export.
  18164. (remap_decls): Update for member name changes.
  18165. (remap_block, copy_bb, copy_cfg_body, copy_generic_body): Likewise.
  18166. (copy_body, setup_one_parameter, declare_return_variable): Likewise.
  18167. (expand_call_inline, optimize_inline_calls, clone_body): Likewise.
  18168. (copy_tree_r, mark_local_for_remap_r, unsave_expr_now): Likewise.
  18169. (tree_function_versioning, build_duplicate_type): Likewise.
  18170. (copy_body_r): Likewise. Export.
  18171. (copy_decl_for_dup): Split into ...
  18172. (copy_decl_for_dup_finish, copy_decl_to_var,
  18173. copy_decl_no_change, copy_decl_maybe_to_var): ... these.
  18174. (replace_ref_tree, inlining_p): Remove.
  18175. 2006-01-16 Kazu Hirata <kazu@codesourcery.com>
  18176. * ifcvt.c (if_convert): Make it static.
  18177. * rtl.h: Remove the prototype for if_convert.
  18178. * local-alloc.c (local_alloc): Make it static.
  18179. * rtl.h: Remove the prototype for local_alloc.
  18180. * loop.c (loop_optimize): Make it static.
  18181. * cfgloop.h: Remove the prototype for loop_optimize.
  18182. * rtl.h: Likewise.
  18183. 2006-01-16 DJ Delorie <dj@redhat.com>
  18184. * reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of
  18185. mems.
  18186. 2006-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  18187. * pa.md: Disparage copies between general and floating-point registers
  18188. in 32-bit move patterns.
  18189. 2006-01-16 H.J. Lu <hongjiu.lu@intel.com>
  18190. PR testsuite/25741
  18191. * Makefile.in (check-%): Depend on site.exp instead of
  18192. $(TESTSUITEDIR)/site.exp. Run "runtest" in separate language
  18193. directories.
  18194. 2006-01-16 Kazu Hirata <kazu@codesourcery.com>
  18195. * global.c (global_alloc): Make it static.
  18196. * rtl.h: Remove the prototype for global_alloc.
  18197. 2006-01-16 Richard Guenther <rguenther@suse.de>
  18198. * tree-ssa-alias.c (struct used_part): Add write_only field.
  18199. (get_or_create_used_part_for): Initialize it to true.
  18200. (create_overlap_variables_for): Don't create structure variables
  18201. for structures that only are written to.
  18202. (find_used_portions): Handle MODIFY_EXPR to track whether a
  18203. structure is only written to.
  18204. 2006-01-16 Kazu Hirata <kazu@codesourcery.com>
  18205. * bb-reorder.c (partition_hot_cold_basic_blocks): Make it
  18206. static.
  18207. * basic-block.h: Remove the prototype for
  18208. partition_hot_cold_basic_blocks.
  18209. 2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
  18210. * cppspec.c (lang_specific_spec_functions): Remove.
  18211. * gcc.c (lookup_spec_function): Use static_spec_functions directly.
  18212. * gcc.h (lang_specific_spec_functions): Remove.
  18213. * gccspec.c (lang_specific_spec_functions): Remove.
  18214. 2006-01-16 Paolo Bonzini <bonzini@gnu.org>
  18215. * combine.c (record_value_for_reg): Invalidate registers
  18216. if INSN is null.
  18217. (record_dead_and_set_regs_1): Likewise, by passing them to
  18218. record_value_for_reg.
  18219. (record_dead_and_set_regs): Invalidate stores made by a
  18220. call. We do not combine across a call, but we still
  18221. relied on equivalences.
  18222. 2006-01-16 Eric Botcazou <ebotcazou@adacore.com>
  18223. * tree-vrp.c (extract_range_from_binary_expr): Cope with
  18224. vrp_int_const_binop returning non-constant nodes.
  18225. 2006-01-16 Paul Brook <paul@codesourcery.com>
  18226. * config/m68k/m68k.c (output_move_const_into_data_reg):
  18227. Output correct mnemonic for mvz and mvs.
  18228. 2006-01-16 Gabor Loki <loki@gcc.gnu.org>
  18229. * rtl-factoring.c: Add sequence abstraction algorithm.
  18230. * cfgcleanup.c (outgoing_edges_match): Extra checks.
  18231. (try_crossjump_to_edge): Avoid deleting preserve label when redirecting
  18232. ABNORMAL edges.
  18233. (block_has_preserve_label): New function.
  18234. * common.opt: Register new pass.
  18235. * Makefile.in: Ditto.
  18236. * passes.c: Ditto.
  18237. * timevar.def: Ditto.
  18238. * tree-pass.h: Ditto.
  18239. * emit-rtl.c (make_jump_insn_raw): Remove forward decl.
  18240. * rtl.h (make_jump_insn_raw): Add forward decl.
  18241. * doc/invoke.texi: Add documentation for -frtl-abstract-sequences.
  18242. 2006-01-16 Eric Botcazou <ebotcazou@adacore.com>
  18243. Roger Sayle <roger@eyesopen.com>
  18244. * fold-const.c (fold_minmax): New static function.
  18245. (fold_binary) <MIN_EXPR>: Call it.
  18246. <MAX_EXPR>: Likewise.
  18247. * stor-layout.c (place_field): Use DECL_SIZE consistently
  18248. in the computation of the new record size.
  18249. 2006-01-16 Kazu Hirata <kazu@codesourcery.com>
  18250. * cse.c (cse_condition_code_reg): Make it static.
  18251. * rtl.h: Remove the prototype for cse_condition_code_reg.
  18252. * combine.c (combine_instructions): Make it static.
  18253. * rtl.h: Remove the prototype for combine_instructions.
  18254. 2006-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  18255. PR target/25168
  18256. * tree.c (get_file_function_name_long): Concatenate the first global
  18257. object name with a string derived from the input filename of the object
  18258. for type "F".
  18259. 2006-01-16 Ben Elliston <bje@au.ibm.com>
  18260. * config/i386/winnt-stubs.c: Update FSF address.
  18261. * config/xtensa/ieee754-df.S: Ditto.
  18262. * config/xtensa/ieee754-sf.S: Ditto.
  18263. 2006-01-14 Ian Lance Taylor <ian@airs.com>
  18264. * ifcvt.c (noce_init_if_info): New static function, broken out of
  18265. noce_process_if_block.
  18266. (noce_process_if_block): Call noce_init_if_info.
  18267. (check_cond_move_block): New static function.
  18268. (cond_move_process_if_block): New static function.
  18269. (process_if_block): Call cond_move_process_if_block.
  18270. 2006-01-15 Kazu Hirata <kazu@codesourcery.com>
  18271. * cselib.c (hash_table): Rename to cselib_hash_table.
  18272. (cselib_clear_table, discard_useless_values,
  18273. remove_useless_values, cselib_lookup_mem, cselib_lookup,
  18274. cselib_init, cselib_finish): Adjust uses of hash_table.
  18275. 2006-01-14 Kazu Hirata <kazu@codesourcery.com>
  18276. PR tree-optimization/25485
  18277. * tree-vrp.c (extract_range_from_binary_expr): Handle cases
  18278. where one of the operands of TRUTH_AND_EXPR and TRUTH_OR_EXPR
  18279. is known to be false and true, respectively.
  18280. 2006-01-14 Richard Guenther <rguenther@suse.de>
  18281. PR tree-optimization/22548
  18282. PR tree-optimization/22555
  18283. PR tree-optimization/22501
  18284. * Makefile.in (tree-ssa-structalias.o): Depend on $(PARAMS_H).
  18285. * params.def (salias-max-array-elements): New parameter.
  18286. * params.h (SALIAS_MAX_ARRAY_ELEMENTS): Define.
  18287. * doc/invoke.texi (salias-max-array-elements): Document.
  18288. * tree-flow-inline.h (var_can_have_subvars): We also handle
  18289. arrays now.
  18290. * tree-ssa-alias.c (find_used_portions): Handle ARRAY_REF like
  18291. COMPONENT_REF.
  18292. * tree-ssa-structalias.c (params.h): Include.
  18293. (push_fields_onto_fieldstack): Handle ARRAY_TYPE.
  18294. (find_func_aliases): Handle multiple constraints from ARRAY_REF.
  18295. (get_constraint_for): For ADDR_EXPR operating on something
  18296. containing an ARRAY_REF, add all subvars to the solution.
  18297. (handle_ptr_arith): Handle ARRAY_TYPE like RECORD_TYPE types.
  18298. * tree-ssa-operands.c (parse_ssa_operands): Handle ARRAY_REF
  18299. for creating MUST_DEFs.
  18300. (get_expr_operands): Treat ARRAY_REF like COMPONENT_REF wrt subvars.
  18301. 2006-01-14 Zdenek Dvorak <dvorakz@suse.cz>
  18302. * tree-ssa-loop-niter.c (number_of_iterations_cond): Split into several
  18303. functions.
  18304. (number_of_iterations_ne, number_of_iterations_lt_to_ne,
  18305. assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
  18306. number_of_iterations_le): New functions.
  18307. (number_of_iterations_special): Removed.
  18308. (number_of_iterations_exit): Do not use number_of_iterations_special.
  18309. * tree.c (unsigned_type_for): Always return integer type.
  18310. 2006-01-14 Steven Bosscher <stevenb.gcc@gmail.com>
  18311. Richard Guenther <rguenther@suse.de>
  18312. PR rtl-optimization/24257
  18313. * gcse.c (find_moveable_store): Only consider a store movable
  18314. when the SET_SRC of the insn can be assigned to a register.
  18315. 2006-01-14 Ian Lance Taylor <ian@airs.com>
  18316. * tree.c (tree_not_class_check_failed): New function.
  18317. * tree.h (NON_TYPE_CHECK): Call tree_not_class_check_failed.
  18318. (tree_not_class_check_failed): Declare.
  18319. 2006-01-13 Ian Lance Taylor <ian@airs.com>
  18320. * reload1.c (do_output_reload): Add assertion rejecting a
  18321. CALL_INSN.
  18322. 2006-01-13 Adam Nemet <anemet@caviumnetworks.com>
  18323. * combine.c (struct reg_stat): Add new fields truncation_label and
  18324. truncated_to_mode.
  18325. (record_value_for_reg): Reset truncated_to_mode.
  18326. (record_truncated_value): New function.
  18327. (check_promoted_subreg): Call it. Rename to check_conversions.
  18328. (combine_instructions): Rename check_promoted_subreg to
  18329. check_conversions.
  18330. (reg_truncated_to_mode): New function.
  18331. (make_extraction): Use it. Check TRULY_NOOP_TRUNCATION.
  18332. (gen_lowpart_or_truncate): New function.
  18333. (force_to_mode): Use it instead of gen_lowpart.
  18334. 2006-01-13 Diego Novillo <dnovillo@redhat.com>
  18335. * tree-ssa-alias.c (add_type_alias): Fix typo. Test whether
  18336. VAR is a tag, not its type tag.
  18337. 2006-01-13 Alexandre Oliva <aoliva@redhat.com>
  18338. * config/i386/sse.md (*vec_extractv2di_1_sse2): Reorder
  18339. alternatives to match style of other entries.
  18340. (*vec_extractv2di_1_sse): Likewise. Fix mode attr.
  18341. 2006-01-13 Daniel Berlin <dberlin@dberlin.org>
  18342. PR tree-optimization/25771
  18343. * tree-ssa-pre.c (insert_extra_phis): Don't insert merges of abnormal
  18344. SSA_NAMES.
  18345. 2006-01-13 Andrew Pinski <pinskia@physics.uc.edu>
  18346. PR tree-opt/24365
  18347. * tree-inline.c (declare_return_variable): If the return variable
  18348. was marked as a non gimple complex, set the return slot variable
  18349. to be a non gimple comple variable.
  18350. 2006-01-13 Richard Guenther <rguenther@suse.de>
  18351. * builtins.c (expand_builtin_sincos): New function.
  18352. (expand_builtin_mathfn_3): Remove dead code, sin and cos
  18353. do not set errno.
  18354. (expand_builtin): Expand sincos using expand_builtin_sincos.
  18355. 2006-01-12 DJ Delorie <dj@redhat.com>
  18356. * config/m32c/shift.md: Rewrite: Allow arbitrary operands for
  18357. shift counts, separate SI shifts for m32c vs m16c, pass shift type
  18358. so that constant shifts can be split.
  18359. * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add In6.
  18360. (m32c_valid_pointer_mode): Make static.
  18361. (shift_gen_func_for): New.
  18362. (m32c_prepare_shift): Use it. Split large const shifts into
  18363. multiple shifts.
  18364. * config/m32c/predicates.md (shiftcount_operand): Allow more
  18365. general operands.
  18366. (longshiftcount_operand): New.
  18367. * doc/md.texi (Machine Constraints): Document In6.
  18368. 2006-01-13 Ben Elliston <bje@au.ibm.com>
  18369. * doc/tm.texi (Data Output): Add REAL_VALUE_TO_TARGET_DECIMAL32,
  18370. REAL_VALUE_TO_TARGET_DECIMAL64 and REAL_VALUE_TO_TARGET_DECIMAL128
  18371. documentation.
  18372. 2006-01-12 Daniel Berlin <dberlin@dberlin.org>
  18373. * tree-ssa-operands.c (add_call_clobber_ops): Use SFT_PARENT_VAR
  18374. to try to avoid clobbering pieces of structures when we know
  18375. something about the whole structure.
  18376. * tree-ssa-alias.c (create_sft): Set SFT_PARENT_VAR
  18377. 2006-01-13 Ben Elliston <bje@au.ibm.com>
  18378. * doc/rtl.texi (Insns): Remove statement that libcalls cannot
  18379. return in memory, as this is no limitation is no longer present.
  18380. 2006-01-12 DJ Delorie <dj@redhat.com>
  18381. * config/m32c/addsub.md (addhi3): Add two more alternatives, for
  18382. mova with fb, and for fb+0 -> An.
  18383. * config/m32c/mov.md (peephole2): Fix enabling logic.
  18384. * config/m32c/m32c.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
  18385. DTOR_LIST_BEGIN, DTOR_LIST_END, CTORS_SECTION_ASM_OP,
  18386. DTORS_SECTION_ASM_OP, INIT_ARRAY_SECTION_ASM_OP,
  18387. FINI_ARRAY_SECTION_ASM_OP): Define.
  18388. * config/m32c/m32c.c (m32c_legitimize_address): Remove temporary
  18389. variable.
  18390. (m32c_legitimize_reload_address): New logic to reload FB to An.
  18391. (m32c_output_reg_push): Add newline.
  18392. (m32c_output_reg_pop): Likewise.
  18393. 2006-01-12 Ulrich Weigand <uweigand@de.ibm.com>
  18394. * struct-equiv.c (find_dying_inputs): Fix off-by-one bug.
  18395. 2006-01-11 Andrew Pinski <pinskia@physics.uc.edu>
  18396. * config/i386/darwin.h (SUBTARGET_ENCODE_SECTION_INFO): Define.
  18397. 2006-01-11 Kazu Hirata <kazu@codesourcery.com>
  18398. * config/sh/predicates.md (sh_rep_vec): Add parallel to
  18399. match_code.
  18400. 2006-01-11 Ben Elliston <bje@au.ibm.com>
  18401. * rtlanal.c (find_reg_note): Assert insn is not null.
  18402. 2006-01-11 Kenneth Zadeck <zadeck@naturalbridge.com>
  18403. * df-scan.c (df_hard_reg_init): Move declaration of i outside
  18404. ifdef.
  18405. 2006-01-11 Jeff Law <law@redhat.com>
  18406. * tree-ssa-threadupdate.c (threaded_edges): New VEC to
  18407. hold edge pairs.
  18408. (mark_threaded_blocks, register_jump_thread): New functions.
  18409. (thread_through_all_blocks): Remove unwanted argument. No
  18410. longer rely on e->aux to communicate thread target info.
  18411. Call mark_threaded_blocks. Release the threaded_blocks
  18412. bitmap and threaded_edges vector when complete.
  18413. * tree-ssa-dom.c (struct edge_info): Remove redirection_target field.
  18414. (threaded_blocks): Remove.
  18415. (tree_ssa_dominator_optimize): Remove initialization and
  18416. finalization of threaded_blocks. Simplify call to
  18417. thread_through_all_blocks.
  18418. (thread_across_edge): Call register_jump_thread rather than
  18419. storing thread information into e->aux.
  18420. (free_all_edge_infos): Simplify now that e->aux is no longer
  18421. used to communicate with thread_through_all_blocks.
  18422. * tree-flow.h (thread_through_all_blocks): Update prototype.
  18423. (register_jump_thread): Prototype.
  18424. 2006-01-11 Kazu Hirata <kazu@codesourcery.com>
  18425. * df-core.c (df_compact_blocks, df_bb_replace): Use
  18426. SET_BASIC_BLOCK instead of BASIC_BLOCK.
  18427. 2006-01-11 Richard Guenther <rguenther@suse.de>
  18428. PR tree-optimization/25734
  18429. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do not
  18430. stop propagation after successful propagation to the LHS.
  18431. 2006-01-11 Kazu Hirata <kazu@codesourcery.com>
  18432. * basic-block.h (control_flow_graph): Change the type of
  18433. x_basic_block_info to VEC(basic_block,gc) *.
  18434. (BASIC_BLOCK_FOR_FUNCTION, BASIC_BLOCK): Adjust the uses of
  18435. basic_block_info.
  18436. (SET_BASIC_BLOCK): New.
  18437. * cfg.c (compact_blocks, expunge_block): Use SET_BASIC_BLOCK
  18438. instead of BASIC_BLOCK when assigning to BASIC_BLOCK.
  18439. * cfgbuild.c (find_basic_blocks): Likewise.
  18440. * cfglayout.c (fixup_reorder_chain): Likewise.
  18441. * cfgrtl.c (create_basic_block_structure,
  18442. rtl_create_basic_block): Likewise.
  18443. * ifcvt.c (find_if_case_1): Likewise.
  18444. * tree-cfg.c (init_empty_tree_cfg, build_tree_cfg, create_bb):
  18445. Likewise.
  18446. 2006-01-11 Kenneth Zadeck <zadeck@naturalbridge.com>
  18447. * Makefile.in: Removed rotted odf.c entry.
  18448. 2006-01-11 Hans-Peter Nilsson <hp@axis.com>
  18449. PR target/25706
  18450. * config/cris/cris.md ("*extopqihi_side", "*extop<mode>si_side")
  18451. ("*extop<mode>si_swap_side_biap", "*extop<mode>si_swap_side",
  18452. ("*extopqihi", "*extop<mode>si", "*extop<mode>si_swap"): Use %E
  18453. output pattern modifier, not %e.
  18454. * config/cris/cris.c (cris_op_str): Update comment about pattern
  18455. modifier.
  18456. (cris_print_operand) <case 'e'>: Clear cris_output_insn_is_bound
  18457. before falling through into...
  18458. <case 'E'>: Redefined from old 'e' case.
  18459. 2006-01-11 Jan Hubicka <jh@suse.cz>
  18460. PR target/25042
  18461. * i386.c (ix86_init_mmx_sse_builtins): Do not delcare float128
  18462. 2006-01-11 Jan Hubicka <jh@suse.cz>
  18463. * i386.h (TARGET_DECOMPOSE_LEA): Kill.
  18464. * i386.c (x86_decompose_lea): Kill.
  18465. (ix86_rtx_costs): Kill.
  18466. 2006-01-11 Jan Hubicka <jh@suse.cz>
  18467. * cgraph.c (cgraph_insert_node_to_hashtable): New function.
  18468. * cgraph.h (cgraph_node): Add inline_decl.
  18469. (cgraph_insert_node_to_hashtable): Declare.
  18470. (save_inline_function_body): Declare.
  18471. * cgraphunit.c (verify_cgraph_node): Inline edges might point to inline
  18472. clones.
  18473. (cgraph_preserve_function_body_p): Do not presrve when dump is enabled.
  18474. (cgraph_function_versioning): Update call of tree_function_versioning.
  18475. (save_inline_function_body): New function.
  18476. * function.h (struct function): Kill saved_eh, saved_cfg, saved_args,
  18477. saved_static_chain_decl, saved_blocks and saved-unexpanded_var_list.
  18478. * ipa-inline.c (cgraph_mark_inline_edge): Look for inline clones.
  18479. (cgraph_default_inline_p): Likewise.
  18480. (cgraph_decide_inlining_incrementally): Likewise.
  18481. * tree-inline.c (inline_data): Kill saving_p add update_clones_p.
  18482. (copy_bb): Kill saving; do updating of clones.
  18483. (copy_cfg_body): Kill saving.
  18484. (initialize_inlined-parameters): Likewise.
  18485. (expand_call_inline): Likewise.
  18486. (save_body): Kill.
  18487. (tree_function_versioning): New parameter "update_clones".
  18488. (inlining_p): Kill saving.
  18489. * tree-inline.h (tree_function_versioning): Update prototype.
  18490. * tree-optimize.c (tree_rest_of_compilation): Use clonning instead of
  18491. saving.
  18492. 2006-01-11 Ian Lance Taylor <ian@airs.com>
  18493. * combine.c (struct undo): Remove is_int. Enumify types of undos.
  18494. Allow undoing set of machine mode.
  18495. (do_SUBST): Use enums instead of is_int.
  18496. (do_SUBST_MODE): New function.
  18497. (SUBST_MODE): New macro.
  18498. (try_combine): Use SUBST_MODE/PUT_MODE instead of generating a new
  18499. reg and trying to replace reg_regno_rtx with a new register.
  18500. (undo_all): Use new enums, handle undoing a PUT_MODE change.
  18501. (simplify_set): Use SUBST_MODE.
  18502. (distribute_notes): Remove code that tried to update reg notes
  18503. for regno_reg_rtx changes.
  18504. 2006-01-11 Paolo Bonzini <bonzini@gnu.org>
  18505. PR tree-optimization/23109
  18506. PR tree-optimization/23948
  18507. PR tree-optimization/24123
  18508. * Makefile.in (tree-ssa-math-opts.o): Adjust dependencies.
  18509. * tree-cfg.c (single_noncomplex_succ): New.
  18510. * tree-flow.h (single_noncomplex_succ): Declare it.
  18511. * tree-ssa-math-opts.c (enum place_reciprocal): Remove.
  18512. * tree-ssa-math-opts.c (enum place_reciprocal): Remove.
  18513. (struct occurrence, occ_head, occ_pool, is_divide_by, compute_merit,
  18514. insert_bb, register_division_in, insert_reciprocals,
  18515. replace_reciprocal, free_bb): New.
  18516. (execute_cse_reciprocals_1): Rewritten.
  18517. (execute_cse_reciprocals): Adjust calls to execute_cse_reciprocals_1.
  18518. Do not commit any edge insertion. Always compute dominators and
  18519. create the allocation pool.
  18520. * target-def.h (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): New.
  18521. * target.h (struct gcc_target): Add min_divistions_for_recip_mul.
  18522. * targhooks.c (default_min_divistions_for_recip_mul): New.
  18523. * targhooks.h (default_min_divistions_for_recip_mul): New prototype.
  18524. * passes.c (init_optimization_passes): Run recip after tree loop
  18525. optimizations.
  18526. * doc/tm.texi (Misc): Document TARGET_MIN_DIVISIONS_FOR_RECIP_MUL.
  18527. 2006-01-11 Danny Berlin <dberlin@dberlin.org>
  18528. Kenneth Zadeck <zadeck@naturalbridge.com>
  18529. * df.h (DF_SCAN, DF_RU, DF_RD, DF_LR, DF_UR, DF_UREC, DF_CHAIN,
  18530. DF_RI, DF_LAST_PROBLEM_PLUS1, DF_DU_CHAIN, DF_UD_CHAIN,
  18531. DF_REF_TYPE_NAMES, DF_HARD_REGS, DF_EQUIV_NOTES, DF_SUBREGS,
  18532. DF_SCAN_BB_INFO, DF_RU_BB_INFO, DF_RD_BB_INFO, DF_LR_BB_INFO,
  18533. DF_UR_BB_INFO, DF_UREC_BB_INFO, DF_LIVE_IN, DF_LIVE_OUT,
  18534. DF_RA_LIVE_IN, DF_RA_LIVE_OUT, DF_UPWARD_LIVE_IN,
  18535. DF_UPWARD_LIVE_OUT, DF_REF_REAL_REG, DF_REF_REGNO,
  18536. DF_REF_REAL_LOC, DF_REF_REG, DF_REF_LOC, DF_REF_BB, DF_REF_BBNO,
  18537. DF_REF_INSN, DF_REF_INSN_UID, DF_REF_TYPE, DF_REF_CHAIN,
  18538. DF_REF_ID, DF_REF_FLAGS, DF_REF_NEXT_REG, DF_REF_PREV_REG,
  18539. DF_REF_NEXT_REF, DF_REF_DATA, DF_REF_REG_DEF_P, DF_REF_REG_USE_P,
  18540. DF_REF_REG_MEM_STORE_P, DF_REF_REG_MEM_LOAD_P, DF_REF_REG_MEM_P,
  18541. DF_DEFS_SIZE, DF_DEFS_GET, DF_DEFS_SET, DF_USES_SIZE, DF_USES_GET,
  18542. DF_USES_SET, DF_REG_SIZE, DF_REG_DEF_GET, DF_REG_DEF_SET,
  18543. DF_REG_USE_GET, DF_REG_USE_SET, DF_REGNO_FIRST_DEF,
  18544. DF_REGNO_LAST_USE, DF_INSN_SIZE, DF_INSN_GET, DF_INSN_SET,
  18545. DF_INSN_CONTAINS_ASM, DF_INSN_LUID, DF_INSN_DEFS, DF_INSN_USES,
  18546. DF_INSN_UID_GET, DF_INSN_UID_LUID, DF_INSN_UID_DEFS,
  18547. DF_INSN_UID_USES, DF_SCAN_INITIAL, DF_SCAN_GLOBAL,
  18548. DF_SCAN_POST_ALLOC): New macros.
  18549. (df_flow_dir, df_ref_type, df_ref_flags, df_alloc_function,
  18550. df_free_bb_function, df_local_compute_function, df_init_function,
  18551. df_dataflow_function, df_confluence_function_0,
  18552. df_confluence_function_n, df_transfer_function,
  18553. df_finalizer_function, df_free_function, df_dump_problem_function,
  18554. df_problem, dataflow, df_insn_info, df_reg_info, df_ref, df_link,
  18555. df_ref_info, df, df_map, df_scan_bb_info, df_ru_bb_info,
  18556. df_ru_bb_info, df_rd_bb_info, df_lr_bb_info, df_ur_bb_info,
  18557. df_urec_bb_info, ) New types.
  18558. (df_invalidated_by_call, df_all_hard_regs, df_state) New public
  18559. variables.
  18560. (df_init, df_add_problem, df_set_blocks, df_finish, df_analyze,
  18561. df_analyze_simple_change_some_blocks,
  18562. df_analyze_simple_change_one_block, df_compact_blocks,
  18563. df_bb_replace, df_bb_regno_last_use_find,
  18564. df_bb_regno_first_def_find, df_bb_regno_last_def_find,
  18565. df_insn_regno_def_p, df_find_def, df_find_use,
  18566. df_iterative_dataflow, df_dump, df_chain_dump, df_refs_chain_dump,
  18567. df_regs_chain_dump, df_insn_debug, df_insn_debug_regno,
  18568. df_regno_debug, df_ref_debug, debug_df_insn, debug_df_regno,
  18569. debug_df_reg, debug_df_defno, debug_df_useno, debug_df_ref,
  18570. debug_df_chain, df_get_dependent_problem, df_chain_create,
  18571. df_chain_unlink, df_chain_copy, df_get_live_in, df_get_live_out,
  18572. df_grow_bb_info, df_chain_dump, df_print_bb_index,
  18573. df_ru_add_problem, df_ru_get_bb_info, df_rd_add_problem,
  18574. df_rd_get_bb_info, df_lr_add_problem, df_lr_get_bb_info,
  18575. df_ur_add_problem, df_ur_get_bb_info, df_urec_add_problem,
  18576. df_urec_get_bb_info, df_chain_add_problem, df_ri_add_problem,
  18577. df_reg_lifetime, df_scan_get_bb_info, df_scan_add_problem,
  18578. df_rescan_blocks, df_ref_create, df_get_artificial_defs,
  18579. df_get_artificial_uses, df_reg_chain_create, df_reg_chain_unlink,
  18580. df_ref_remove, df_insn_refs_delete, df_refs_delete,
  18581. df_reorganize_refs, df_set_state, df_hard_reg_init,
  18582. df_read_modify_subreg_p) New public functions.
  18583. * df-core.c: The core dataflow solver and glue routines for rtl
  18584. dataflow.
  18585. (df_init, df_add_problem, df_set_blocks, df_finish,
  18586. df_hybrid_search_forward, df_hybrid_search_backward,
  18587. df_iterative_dataflow, df_prune_to_subcfg, df_analyze_problem,
  18588. df_analyze, df_get_bb_info, df_set_bb_info, df_bb_replace,
  18589. df_bb_regno_last_use_find, df_bb_regno_first_def_find,
  18590. df_bb_regno_last_def_find, df_insn_regno_def_p, df_find_def,
  18591. df_reg_defined, df_find_use, df_reg_used, df_dump,
  18592. df_refs_chain_dump, df_regs_chain_dump, df_insn_debug,
  18593. df_insn_debug_regno, df_regno_debug, df_ref_debug, debug_df_insn,
  18594. debug_df_reg, debug_df_regno, debug_df_ref debug_df_defno,
  18595. debug_df_useno, reset_df_after_reload): New functions.
  18596. * df-scan.c: The scanning fuctions, once in df.c, completely
  18597. rewritten so that they now fully model the functionality of
  18598. register usage at the backend.
  18599. (df_scan_free_internal, df_scan_get_bb_info, df_scan_set_bb_info,
  18600. df_scan_free_bb_info, df_scan_alloc, df_scan_free, df_scan_dump,
  18601. df_scan_add_problem, df_grow_reg_info, df_grow_ref_info,
  18602. df_grow_insn_info, df_rescan_blocks, df_ref_create,
  18603. df_get_artificial_defs, df_get_artificial_uses,
  18604. df_reg_chain_create, df_ref_unlink, df_reg_chain_unlink,
  18605. df_ref_remove, df_insn_create_insn_record, df_insn_refs_delete,
  18606. df_refs_delete, df_reorganize_refs, df_set_state,
  18607. df_ref_create_structure, df_ref_record, df_read_modify_subreg_p,
  18608. df_def_record_1, df_defs_record, df_uses_record,
  18609. df_insn_contains_asm_1, df_insn_contains_asm, df_insn_refs_record,
  18610. df_has_eh_preds, df_bb_refs_record, df_refs_record, df_mark_reg,
  18611. df_record_exit_block_uses, df_hard_reg_init): New functions.
  18612. * df-problems.c: Seven concrete dataflow problems that use the
  18613. scanning in df-scan.c and are solved by the engine in df-core.c.
  18614. (df_get_dependent_problem, df_chain_create, df_chain_unlink,
  18615. df_chain_copy, df_get_live_in, df_get_live_out, df_grow_bb_info,
  18616. df_chain_dump, df_print_bb_index, df_ref_bitmap, df_set_seen,
  18617. df_unset_seen, df_ru_get_bb_info, df_ru_set_bb_info,
  18618. df_ru_free_bb_info, df_ru_alloc,
  18619. df_ru_bb_local_compute_process_def,
  18620. df_ru_bb_local_compute_process_use, df_ru_bb_local_compute,
  18621. df_ru_local_compute, df_ru_init_solution, df_ru_confluence_n,
  18622. df_ru_transfer_function, df_ru_free, df_ru_dump,
  18623. df_ru_add_problem, df_rd_get_bb_info, df_rd_set_bb_info,
  18624. df_rd_free_bb_info, df_rd_alloc,
  18625. df_rd_bb_local_compute_process_def, df_rd_bb_local_compute,
  18626. df_rd_local_compute, df_rd_init_solution, df_rd_confluence_n,
  18627. df_rd_transfer_function, df_rd_free, df_rd_dump,
  18628. df_rd_add_problem, df_lr_get_bb_info, df_lr_set_bb_info,
  18629. df_lr_free_bb_info, df_lr_alloc, df_lr_bb_local_compute,
  18630. df_lr_local_compute, df_lr_init, df_lr_confluence_0,
  18631. df_lr_confluence_n, df_lr_transfer_function, df_lr_free,
  18632. df_lr_dump, df_lr_add_problem, df_ur_get_bb_info,
  18633. df_ur_set_bb_info, df_ur_free_bb_info, df_ur_alloc,
  18634. df_ur_bb_local_compute, df_ur_local_compute, df_ur_init,
  18635. df_ur_local_finalize, df_ur_confluence_n, df_ur_transfer_function,
  18636. df_ur_free, df_ur_dump, df_ur_add_problem, df_urec_get_bb_info,
  18637. df_urec_set_bb_info, df_urec_free_bb_info, df_urec_alloc,
  18638. df_urec_mark_reg_change, df_urec_check_earlyclobber,
  18639. df_urec_mark_reg_use_for_earlyclobber,
  18640. df_urec_mark_reg_use_for_earlyclobber_1, df_urec_bb_local_compute,
  18641. df_urec_local_compute, df_urec_init, df_urec_local_finalize,
  18642. df_urec_confluence_n, df_urec_transfer_function, df_urec_free,
  18643. df_urec_dump, df_urec_add_problem, df_chain_alloc,
  18644. df_chain_create_bb_process_use, df_chain_create_bb,
  18645. df_chain_finalize, df_chain_free, df_chains_dump,
  18646. df_chain_add_problem, df_ri_alloc, df_ri_bb_compute,
  18647. df_ri_compute, df_ri_free, df_ri_dump, df_ri_add_problem,
  18648. df_reg_lifetime): New functions.
  18649. * df.c: Deleted file.
  18650. * ddg.c (create_ddg_dep_no_link, build_inter_loop_deps): Made code
  18651. consistent with new df api.
  18652. * modulo-sched.c (sms_schedule, rest_of_handle_sms,
  18653. rest_of_handle_sms): Ditto.
  18654. * web.c (unionfind_union, union_defs, entry_register, web_main):
  18655. Ditto.
  18656. * loop_invariant.c (invariant_for_use, hash_invariant_expr_1,
  18657. invariant_expr_equal_p, find_defs, check_dependencies,
  18658. find_invariant_insn, find_invariants_to_move, move_invariant_reg,
  18659. free_inv_motion_data, move_loop_invariants): Ditto.
  18660. * Makefile.in (df.c, df-scan.c df-problems.c df-core.c):
  18661. Update dependencies.
  18662. (odf.c): Added defective entry that was deleted later in day.
  18663. * sched-deps.c (sched_analyze_1): Ditto.
  18664. 2006-01-11 Zdenek Dvorak <dvorakz@suse.cz>
  18665. * tree-ssa-operands.c (get_expr_operands): Record addressable
  18666. variables directly. Do not call add_stmt_operands for CONST_DECLs
  18667. and ARRAY_DECLs.
  18668. (get_indirect_ref_operands): Remove handling of *(&a + offset) case.
  18669. (add_stmt_operands): Handle only objects satisfying SSA_VAR_P.
  18670. 2006-01-11 Ben Elliston <bje@au.ibm.com>
  18671. * config/i386/i386.c (ix86_return_in_memory): Fix comment: this
  18672. function returns true in the positive case.
  18673. 2006-01-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  18674. PR target/20754
  18675. * config/pa/pa.md: Create separate 32 and 64-bit move patterns
  18676. for SI, DI, SF and DF modes. Add alternatives to copy between
  18677. general and floating point registers to the 32-bit patterns.
  18678. * config/pa/pa-64.h (SECONDARY_MEMORY_NEEDED_RTX): Delete undefine.
  18679. * config/pa/pa.h (SECONDARY_MEMORY_NEEDED_RTX): Delete define.
  18680. (SECONDARY_MEMORY_NEEDED): Secondary memory is only needed when
  18681. generating 64-bit code.
  18682. * config/pa/pa.c (output_move_double): Handle copies between general
  18683. and floating registers.
  18684. 2006-01-10 Stuart Hastings <stuart@apple.com>
  18685. * config/i386/i386.md (set_got): Update.
  18686. (set_got_labelled): New. (UNSPEC_LD_MPIC): New.
  18687. (builtin_setjmp_receiver): Mach-O support.
  18688. * config/i386/darwin.h (TARGET_ASM_FILE_END) Define.
  18689. (GOT_SYMBOL_NAME): Define.
  18690. (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
  18691. (TARGET_DEEP_BRANCH_PREDICTION): Remove.
  18692. * config/i386/i386.c (override_options): Revise for Darwin.
  18693. (USE_HIDDEN_LINKONCE): Enable for Mach-O. (ix86_file_end): Mach-O
  18694. support. (darwin_x86_file_end): New. (output_set_got): Add label
  18695. parameter, revise for Mach-O. (x86_output_mi_thunk): Likewise.
  18696. * config/i386/i386-protos.h (output_set_got): Likewise.
  18697. * config/darwin.c (machopic_legitimize_pic_address): Update
  18698. regs_ever_live[].
  18699. 2006-01-10 Kaz Kojima <kkojima@gcc.gnu.org>
  18700. * config/sh/sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Use GET_MODE_SIZE
  18701. when MODE isn't BLKmode.
  18702. 2006-01-10 Eric Botcazou <ebotcazou@libertysurf.fr>
  18703. PR rtl-optimization/25367
  18704. * config/sparc/sparc.h (HARD_REGNO_RENAME_OK): New macro.
  18705. 2006-01-10 Hans-Peter Nilsson <hp@axis.com>
  18706. PR target/25718
  18707. * config/cris/cris.md ("uminsi3"): Don't use 8- or 16-bit sizes
  18708. for a negative bound.
  18709. 2006-01-10 Richard Guenther <rguenther@suse.de>
  18710. * tree-ssa-structalias.c (get_constraint_for_component_ref):
  18711. Never override with anything constraint.
  18712. 2006-01-10 Jan Beulich <jbeulich@novell.com>
  18713. * config/i386/i386.c (ix86_data_alignment): Don't force alignment to
  18714. 256 bits when optimize_size.
  18715. 2006-01-10 Jan Beulich <jbeulich@novell.com>
  18716. * config/i386/netware.h (TARGET_SUBTARGET_DEFAULT): Include
  18717. MASK_ALIGN_DOUBLE.
  18718. * config/i386/nwld.h (LINK_SPEC): Add --extensions:GNU option.
  18719. * config/i386/t-nwld (SHLIB_LINK): Insert spaces between expr
  18720. arguments.
  18721. 2006-01-10 Ben Elliston <bje@au.ibm.com>
  18722. * config/rs6000/predicates.md (easy_fp_constant): Discount decimal
  18723. float modes.
  18724. * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): New.
  18725. (TARGET_SCALAR_MODE_SUPPORTED_P): Define.
  18726. (USE_FP_FOR_ARG): Reject decimal float modes.
  18727. (function_arg_advance): Likewise.
  18728. (output_toc): Handle emitting TDmode, DDmode and SDmode constants.
  18729. (rs6000_handle_altivec_attribute): Do not permit decimal floating
  18730. point types in AltiVec vectors.
  18731. (rs6000_function_value): Use GP_ARG_RETURN for decimal floats.
  18732. (rs6000_libcall_value): Likewise.
  18733. 2006-01-09 Bob Wilson <bob.wilson@acm.org>
  18734. * config/xtensa/ieee754-df.S: New file.
  18735. * config/xtensa/ieee754-sf.S: New file.
  18736. * config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove fp-bit.c & dp-bit.c.
  18737. (LIB1ASMFUNCS): Add SFmode and DFmode floating-point functions.
  18738. * config/xtensa/lib1funcs.asm: Include ieee754-df.S and ieee754-sf.S.
  18739. 2006-01-09 Kazu Hirata <kazu@codesourcery.com>
  18740. * config/sh/predicates.md (binary_float_operator,
  18741. binary_logical_operator, commutative_float_operator,
  18742. equality_comparison_operator, greater_comparison_operator,
  18743. less_comparison_operator, logical_operator,
  18744. noncommutative_float_operator, shift_operator,
  18745. symbol_ref_operand, unary_float_operator): Remove redundant
  18746. conditionals.
  18747. 2006-01-09 Jeff Law <law@redhat.com>
  18748. * tree-ssa-dom.c (simplify_cond_and_lookup_avail_expr): Remove
  18749. code to propagate the RHS of a cast into COND_EXPR_COND. Remove
  18750. now unused arguments. Callers updated.
  18751. (eliminate_redundant_computations): Remove now unused arguments,
  18752. callers updated.
  18753. (local_fold): Remove, no longer used.
  18754. (find_equivalent_equality_comparison): Removed from tree-ssa-dom.c
  18755. and moved to...
  18756. * tree-ssa-forwprop.c (find_equivalent_equality_comparison): Here.
  18757. (simplify_cond): New function.
  18758. (forward_propagate_into_cond): Call simplify_cond.
  18759. 2006-01-09 Alexandre Oliva <aoliva@redhat.com>
  18760. * config/i386/sse.md (*vec_extractv2di_1_sse2): New.
  18761. (*vec_extractv2di_1_sse): New.
  18762. 2006-01-09 Ben Elliston <bje@au.ibm.com>
  18763. * config/rs6000/rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Typo fix.
  18764. 2006-01-08 Richard Guenther <rguenther@suse.de>
  18765. * tree-ssa-structalias.c (get_constraint_for): Remove
  18766. anyoffset argument.
  18767. (get_constraint_for_component_ref): Likewise.
  18768. (do_deref): Likewise.
  18769. (get_constraint_for): Likewise.
  18770. (do_structure_copy): Likewise.
  18771. (handle_ptr_arith): Likewise.
  18772. (find_func_aliases): Likewise. Remove unused need_anyoffset
  18773. variable.
  18774. 2006-01-08 J"orn Rennecke <joern.rennecke@st.com>
  18775. Kaz Kojima <kkojima@gcc.gnu.org>
  18776. * config/sh/sh.h (CONST_OK_FOR_K16): Define.
  18777. (CONST_OK_FOR_K): Add CONST_OK_FOR_K16 case.
  18778. (EXTRA_CONSTRAINT_C16): Remove.
  18779. (EXTRA_CONSTRAINT_Css, EXTRA_CONSTRAINT_Csu): Define.
  18780. (EXTRA_CONSTRAINT_C): Remove EXTRA_CONSTRAINT_C16 case and add
  18781. EXTRA_CONSTRAINT_Css and EXTRA_CONSTRAINT_Csu cases.
  18782. * config/sh/sh.c (print_operand): Handle unsigned 16-bit symbolic
  18783. constants of SHmedia. Handle nested constant expressions of
  18784. SHmedia correctly.
  18785. (andcosts): Fix the costs for SHmedia constants.
  18786. (sh_rtx_costs): Take account of outer_code for SHmedia constants.
  18787. * config/sh/sh.md (*movsi_media): Use Css constraint instead of C16.
  18788. (*movsi_media_nofpu, *movqi_media, *movhi_media): Likewise.
  18789. (*movdi_media, *movdi_media_nofpu, movv8qi_i, movv2hi_i): Likewise.
  18790. (movv4hi_i, movv2si_i): Likewise.
  18791. (movsi_const): Adjust the second operand of ior so to match with
  18792. the Csu constraint.
  18793. (movdi_const, movdi_const_32bit): Likewise.
  18794. (movdi_const_16bit+1): Don't sign-extend LOW.
  18795. (movdi_const_16bit+2): Likewise. Remove the zero_extend and truncate
  18796. step.
  18797. (*double_shori): Fix the split condition. Use GEN_INT instead
  18798. of get_int_mode calls. Mask lower 16-bit of the argument of
  18799. the last GEN_INT.
  18800. (sym2GOTPLT): Remove.
  18801. (symGOTPLT2reg): Replace gen_sym2GOTPLT with gen_rtx_CONST and
  18802. gen_rtx_UNSPEC.
  18803. * config/sh/predicates.md (arith_operand): Use EXTRA_CONSTRAINT_Css
  18804. instead of EXTRA_CONSTRAINT_C16.
  18805. 2006-01-07 Ian Lance Taylor <ian@airs.com>
  18806. David Edelsohn <edelsohn@gnu.org>
  18807. PR rtl-optimization/25662
  18808. * optabs.c (simplify_expand_binop): Use simplify_binary_operation
  18809. for constant operands instead of simplify_gen_binary.
  18810. * simplify-rtx.c (simplify_gen_binary): Swap commutative operands
  18811. after trying simplify_binary_operation
  18812. 2006-01-06 Daniel Berlin <dberlin@dberlin.org>
  18813. * tree.c (iterative_hash_expr): Hash decls based on UID.
  18814. 2006-01-06 Eric Christopher <echristo@apple.com>
  18815. * doc/tm.texi (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Document.
  18816. (TARGET_UNWIND_EMIT): Fix spelling.
  18817. * target.h (gcc_target): Add except_table_label.
  18818. * except.c (output_function_exception_table): Use.
  18819. * varasm.c (default_emit_except_table_label): New.
  18820. * target-def.h (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): New default
  18821. define.
  18822. (asm_out): Add here.
  18823. * output.h (default_emit_except_table_label): Prototype.
  18824. * config/darwin-protos.h (darwin_emit_except_table_label): Ditto.
  18825. * config/darwin.c (darwin_emit_except_table_label): Define.
  18826. * config/darwin.h (TARGET_ASM_EMIT_EXCEPT_TABLE): Ditto.
  18827. 2006-01-06 Zdenek Dvorak <dvorakz@suse.cz>
  18828. PR tree-optimization/18527
  18829. * tree-ssa-loop-niter.c (number_of_iterations_cond,
  18830. number_of_iterations_special, number_of_iterations_exit):
  18831. Move base and step of an iv to a single structure. Add
  18832. no_overflow flag, and use it in # of iterations analysis.
  18833. * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Add
  18834. folded_casts argument.
  18835. (simple_iv): Pass base and step in a structure. Set no_overflow
  18836. flag.
  18837. (scev_const_prop): Add argument to analyze_scalar_evolution_in_loop.
  18838. Evaluate expensiveness of computing # of iterations instead of
  18839. the final expression.
  18840. * tree-scalar-evolution.h (affine_iv): New structure.
  18841. (simple_iv): Declaration changed.
  18842. * tree-chrec.c (chrec_apply): Handle chrecs containing symbols.
  18843. * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev,
  18844. find_givs_in_stmt): Changed due to simple_iv change.
  18845. 2006-01-06 Jeff Law <law@redhat.com>
  18846. PR ada/24994
  18847. * tree-cfg.c (bsi_replace): Rename final argument from
  18848. PRESERVE_EH_INFO to UPDATE_EH_INFO. Fix typo in last
  18849. change (stmt -> orig_stmt).
  18850. * tree-eh.c (verify_eh_throw_stmt_node): New function.
  18851. (bsi_remove): Add new argument. Remove EH information
  18852. if requested.
  18853. (verify_eh_throw_table_statements): New function.
  18854. (bsi_remove): Add new argument REMOVE_EH_INFO. All callers
  18855. updated.
  18856. * tree-optimize.c (execute_free_cfg_annotations): Verify
  18857. the EH throw statement table after removing annotations.
  18858. * except.h (verify_eh_throw_table_statements): Prototype.
  18859. * tree-flow.h (bsi_remove): Update prototype.
  18860. * tree-vrp.c (remove_range_assertions): Add new argument to
  18861. bsi_remove call.
  18862. * tree-ssa-loop-im.c (move_computations_stmt): Likewise.
  18863. * tree-complex.c (expand_complex_div_wide): Likewise.
  18864. * tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges): Likewise
  18865. * tree-tailcall.c (eliminate_tailcall): Likewise.
  18866. * tree-ssa-dse.c (dse_optimize_stmt): Likewise.
  18867. * tree-ssa-loop-ivopts.c (remove_statement): Likewise.
  18868. * tree-nrv.c (tree_nrv): Likewise.
  18869. * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Likewise.
  18870. * tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
  18871. (combine_blocks): Likewise.
  18872. * tree-ssa-phiopt.c (replace_phi_edge_with_variable): Likewise.
  18873. * tree-cfgcleanup.c (cleanup_ctrl_expr_graph): Likewise.
  18874. (cleanup_control_flow): Likewise.
  18875. (remove_forwarder_block): Likewise.
  18876. * tree-ssa-pre.c (remove_dead_inserted_code): Likewise.
  18877. * tree-sra.c (sra_replace): Likewise.
  18878. * tree-ssa-forwprop.c (forward_propagate_into_cond): Likewise.
  18879. (forward_propagate_single_use_vars): Likewise.
  18880. * tree-ssa-dce.c (remove_dead_stmt): Likewise.
  18881. * tree-inline.c (expand_call_inline): Likewise.
  18882. * tree-vect-transform.c (vect_transform_loop): Likewise.
  18883. * tree-outof-ssa.c (rewrite_trees): Likewise.
  18884. * tree-cfg.c (make_goto_expr_edges): Likewise.
  18885. (cleanup_dead_labels): Likewise.
  18886. (tree_merge_blocks, remove_bb, disband_implicit_edges): Likewise.
  18887. (bsi_move_before, bsi_move_after): Likewise.
  18888. (bsi_move_to_bb_end, try_redirect_by_replacing_jump): Likewise
  18889. (tree_redirect_edge_and_branch, tree_split_block): Likewise.
  18890. 2006-01-06 Andrew Pinski <pinskia@physics.uc.edu>
  18891. PR tree-opt/25528
  18892. * tree-ssa-alias.c (find_used_portions): Handle REALPART_EXPR
  18893. and IMAGPART_EXPR.
  18894. * tree-flow-inline.h (var_can_have_subvars): Handle complex types
  18895. on non gimple variables. Also add checks at the top for decls and
  18896. mtags.
  18897. * tree-ssa-structalias.c (push_fields_onto_fieldstack): Handle
  18898. complex types.
  18899. * tree-ssa-operands.c (parse_ssa_operands): Handle REALPART_EXPR
  18900. and IMAGPART_EXPR for creating MUST_DEFs.
  18901. (get_expr_operands): Handle SSA_NAME, STRUCT_FIELD_TAG, TYPE_MEMORY_TAG,
  18902. and NAME_MEMORY_TAG separately from the DECLs.
  18903. 2006-01-06 Richard Guenther <rguenther@suse.de>
  18904. * tree-dfa.c (mark_new_vars_to_rename): Create stmt
  18905. annotation, if necessary.
  18906. * tree-ssa-pre.c (create_expression_by_pieces): Remove
  18907. redundant calls to update_stmt.
  18908. * tree-ssa-forwprop.c (tidy_after_forward_propagate_addr):
  18909. Likewise.
  18910. 2006-01-05 Richard Henderson <rth@redhat.com>
  18911. * c-parser.c (c_parser_objc_methodprotolist): Handle CPP_PRAGMA.
  18912. 2006-01-05 Carlos O'Donell <carlos@codesourcery.com>
  18913. * c-typeck.c: Update copyright date.
  18914. 2006-01-05 Carlos O'Donell <carlos@codesourcery.com>
  18915. * c-typeck.c (build_c_cast): Always warn when casting
  18916. from a pointer to an integer of different size, even if
  18917. the node was constant.
  18918. 2006-01-05 Richard Guenther <rguenther@suse.de>
  18919. PR tree-optimization/22555
  18920. * tree-ssa-alias.c (create_overlap_variables_for): Do not give up,
  18921. if one structure field is an array.
  18922. * tree-ssa-operands.c (get_expr_operands): Continue scanning
  18923. operands even if we found a subvar, but ignore VOPs in this
  18924. case.
  18925. * tree-ssa-loop-ivopts.c (rewrite_use): Mark new vars in stmt
  18926. for renaming.
  18927. * tree-ssa-loop.c (pass_iv_optimize): Schedule TODO_update_ssa.
  18928. 2006-01-05 Richard Earnshaw <rearnsha@arm.com>
  18929. PR middle-end/24998
  18930. * arm/t-netbsd (LIB2FUNCS_EXTRA): Define.
  18931. 2006-01-05 Richard Guenther <rguenther@suse.de>
  18932. Diego Novillo <dnovillo@redhat.com>
  18933. * tree-pass.h (TODO_remove_unused_locals): Define.
  18934. * gimple-low.c (expand_var_p, remove_useless_vars,
  18935. pass_remove_useless_vars): Remove. Update all users.
  18936. * tree-ssa-live.c (mark_all_vars_used_1): Handle SSA names.
  18937. (remove_unused_locals): New function.
  18938. * tree-flow.h (remove_unused_locals): Declare.
  18939. * passes.c (execute_todo): Call remove_unused_locals if
  18940. TODO_remove_unused_locals is set.
  18941. * tree-into-ssa.c (pass_build_ssa): Add TODO_remove_unused_locals.
  18942. * tree-ssa-dce.c (pass_dce): Likewise.
  18943. * tree-outof-ssa.c (pass_del_ssa): Likewise.
  18944. 2006-01-05 Richard Guenther <rguenther@suse.de>
  18945. * tree-flow.h (struct fieldoff): Decompose field to
  18946. type, size and decl.
  18947. * tree-ssa-alias.c (create_sft): Take type as parameter.
  18948. (create_overlap_variables_for): Store type, size and decl
  18949. in the fieldoff structure.
  18950. * tree-ssa-structalias.c (fieldoff_compare): Adjust users
  18951. of struct fieldoff.
  18952. (push_fields_onto_fieldstack): Likewise.
  18953. (create_variable_info_for): Likewise. Use offset for the
  18954. SFT name if the decl is not available.
  18955. 2006-01-04 Paul Brook <paul@codesourcery.com>
  18956. * config/m68k/m68k.c (m68k_output_mi_thunk): Use jmp, not jsr.
  18957. 2006-01-04 Daniel Berlin <dberlin@dberlin.org>
  18958. * lambda-code.c (can_put_in_inner_loop): Relax
  18959. restrictions.
  18960. (can_put_after_inner_loop): New function.
  18961. (can_convert_to_perfect_nest): Use can_put_after_inner_loop as well.
  18962. (perfect_nestify): Change to make copies and modify uses.
  18963. 2006-01-04 Richard Henderson <rth@redhat.com>
  18964. Merge from gomp branch:
  18965. * c-lex.c (c_lex_with_flags) <CPP_PRAGMA>: Smuggle pragma id
  18966. via integer constant.
  18967. (pragma_lex): Remove.
  18968. * c-pch.c (c_common_pch_pragma): Accept the name as an argument,
  18969. rather than parsing it.
  18970. * c-pragma.c (handle_pragma_weak, handle_pragma_redefine_extname,
  18971. handle_pragma_extern_prefix): Add %< %> quotes.
  18972. (registered_pragmas): New.
  18973. (c_register_pragma_1): New.
  18974. (c_register_pragma): Use it.
  18975. (c_register_pragma_with_expansion): Likewise.
  18976. (c_invoke_pragma_handler): New.
  18977. (init_pragma): Use cpp_register_deferred_pragma directly for
  18978. pch_preprocess.
  18979. * c-pragma.h (enum pragma_kind): New.
  18980. (pragma_handler): New.
  18981. (c_invoke_pragma_handler): Declare.
  18982. * c-common.c (c_parse_error): Pretty print CPP_PRAGMA and
  18983. CPP_PRAGMA_EOL.
  18984. * c-common.h (c_common_pch_pragma): Update decl.
  18985. * Makefile.in (c-parser.o): Update dependencies.
  18986. (GTFILES): Add c-pragma.h.
  18987. * c-parser.c (struct c_token): Add pragma_kind.
  18988. (struct c_parser): Add in_pragma.
  18989. (c_lex_one_token): Always initialize keyword and pragma_kind.
  18990. Extract data for CPP_PRAGMA.
  18991. (c_parser_peek_2nd_token): Deny CPP_PRAGMA_EOL.
  18992. (c_parser_consume_token): Don't allow CPP_PRAGMA unless errors.
  18993. Don't allow CPP_PRAGMA_EOL if in_pragma.
  18994. (c_parser_consume_pragma): New.
  18995. (c_parser_skip_until_found): Stop on CPP_PRAGMA_EOL.
  18996. (c_parser_skip_to_end_of_parameter): Likewise.
  18997. (c_parser_skip_to_end_of_block_or_statement): Likewise.
  18998. (c_parser_skip_to_pragma_eol): New.
  18999. (c_parser_external_declaration): Handle CPP_PRAGMA.
  19000. (c_parser_compound_statement_nostart): Likewise.
  19001. (c_parser_statement_after_labels): Likewise.
  19002. (c_parser_pragma): New.
  19003. (pragma_lex): Likewise.
  19004. (c_parser_pragma_pch_preprocess): New.
  19005. (c_parser_new): Merge into ...
  19006. (c_parse_file): ... here. Call c_parser_pragma_pch_preprocess.
  19007. 2006-01-04 Jeff Law <law@redhat.com>
  19008. PR ada/24994
  19009. * tree-cfg.c (bsi_replace): Remove the original statement
  19010. from the EH throw statement table.
  19011. 2006-01-04 Jakub Jelinek <jakub@redhat.com>
  19012. * config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
  19013. make the prototype extern "C" and add throw ().
  19014. PR target/25554
  19015. * config/i386/i386.md (testqi_ext_3): Ensure len is positive
  19016. and pos non-negative and pos + len <= 32.
  19017. (testqi_ext_3_rex64): Ensure len is positive and pos non-negative,
  19018. drop pos + len < HOST_BITS_PER_WIDE_INT test.
  19019. (testqi_ext_3* splitter): Handle pos + len == HOST_BITS_PER_WIDE_INT.
  19020. PR c/25559
  19021. * c-common.c (handle_vector_size_attribute): Reject zero vector size
  19022. as well as sizes not multiple of component size.
  19023. PR debug/25562
  19024. * function.c (instantiate_expr): New function.
  19025. (instantiate_decls_1, instantiate_decls): If DECL_HAS_VALUE_EXPR_P,
  19026. walk its DECL_VALUE_EXPR with instantiate_expr.
  19027. * dwarf2out.c (loc_descriptor_from_tree_1): Don't add
  19028. DW_OP_deref{,_size} if address isn't going to be added.
  19029. 2006-01-04 Ben Elliston <bje@au.ibm.com>
  19030. * config/fp-bit.h: Use top-of-file comment from libgcc2.c.
  19031. * config/fp-bit.c: Likewise.
  19032. 2006-01-03 Daniel Berlin <dberlin@dberlin.org>
  19033. * dominance.c: Add comment about why we use DFS numbering
  19034. of dominance tree.
  19035. 2006-01-03 Jakub Jelinek <jakub@redhat.com>
  19036. Richard Henderson <rth@redhat.com>
  19037. Merge from gomp-branch:
  19038. * varasm.c (assemble_variable): Handle thread-local COMMON data.
  19039. * defaults.h (ASM_OUTPUT_TLS_COMMON): Define.
  19040. 2006-01-03 Paolo Bonzini <bonzini@gnu.org>
  19041. PR rtl-optimization/25578
  19042. * combine.c (combine_simplify_rtx, force_to_mode): Don't
  19043. pass a parameter to simplify_shift_const if changing ASHIFTRT
  19044. to LSHIFTRT.
  19045. 2006-01-03 Adrian Straetling <straetling@de.ibm.com>
  19046. * builtins.c (get_builtin_sync_mem): New function.
  19047. (expand_builtin_sync_operation, expand_builtin_compare_and_swap,
  19048. expand_builtin_lock_test_and_set, expand_builtin_lock_release):
  19049. Call get_builtin_sync_mem to generate mem rtx.
  19050. 2006-01-03 Richard Guenther <rguenther@suse.de>
  19051. PR c/25183
  19052. * stmt.c (add_case_node): Make sure to clear overflow flags
  19053. from ranges.
  19054. 2006-01-03 Jakub Jelinek <jakub@redhat.com>
  19055. Merge from gomp-branch.
  19056. * config/sparc/sync.md: New file.
  19057. * config/sparc/sparc.md (UNSPECV_MEMBAR, UNSPECV_CAS, UNSPECV_SWAP,
  19058. UNSPECV_LDSTUB): New constants.
  19059. * config/sparc/sparc.c (sparc_expand_compare_and_swap_12): New function.
  19060. * config/sparc/predicates.md (memory_reg_operand): New predicate.
  19061. * config/sparc/sparc-protos.h (sparc_expand_compare_and_swap_12): New
  19062. prototype.
  19063. 2006-01-03 Roger Sayle <roger@eyesopen.com>
  19064. * combine.c (reg_subword_p): New predicate to test whether the
  19065. destination of a set refers to a subword/piece of a register.
  19066. (try_combine): Generalize the code to merge the setting of a
  19067. pseudo to a constant followed by a set of a subword of that
  19068. register to a constant.
  19069. 2006-01-03 Kazu Hirata <kazu@codesourcery.com>
  19070. * basic-block.h (control_flow_graph): Change the type of
  19071. x_label_to_block_map to VEC(basic_block,gc) *.
  19072. * tree-cfg.c (init_empty_tree_cfg, label_to_block_fn,
  19073. set_bb_for_stmt): Adjust the uses of x_label_to_block_map.
  19074. * tree-ssa-propagate.c (cfg_blocks): Change the type to
  19075. VEC(basic_block,heap) *.
  19076. (cfg_blocks_add, cfg_blocks_get, ssa_prop_init,
  19077. ssa_prop_fini): Adjust the uses of cfg_blocks.
  19078. 2006-01-03 Steven Bosscher <stevenb.gcc@gmail.com>
  19079. * fold-const.c (operand_equal_p): Accept a NULL operand 0 for
  19080. COMPONENT_REFs.
  19081. * emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
  19082. hashing trees instead of a pointer hash.
  19083. (mem_attrs_htab_eq): Do a deep compare instead of a pointer
  19084. compare for MEM_EXPR.
  19085. PR rtl-optimization/25130
  19086. * cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
  19087. when comparing MEMs for GCSE
  19088. 2006-01-03 Ben Elliston <bje@au.ibm.com>
  19089. * targhooks.h (default_decimal_float_supported_p): Declare.
  19090. * targhooks.c (default_decimal_float_supported_p): Define.
  19091. * target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Redefine to
  19092. `default_decimal_float_supported_p'.
  19093. * doc/tm.texi (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Update.
  19094. 2006-01-02 Adam Nemet <anemet@caviumnetworks.com>
  19095. * combine.c (apply_distributive_law <SUBREG>): Check
  19096. TRULY_NOOP_TRUNCATION.
  19097. 2006-01-02 Geoffrey Keating <geoffk@apple.com>
  19098. * dwarf2out.c (have_switched_text_section): Delete.
  19099. (have_multiple_function_sections): New.
  19100. (have_location_lists): Make 'bool'.
  19101. (add_AT_loc_list): Use 'true' not '1'.
  19102. (dwarf2out_switch_text_section): Set have_multiple_function_sections.
  19103. (output_loc_list): Use have_multiple_function_sections.
  19104. (output_ranges): Likewise.
  19105. (dwarf2out_begin_function): Set have_multiple_function_sections if
  19106. necessary.
  19107. (dwarf2out_source_line): Don't fake separate_line_info_table_in_use.
  19108. Check function_section rather than DECL_SECTION_NAME.
  19109. (dwarf2out_finish): Use have_multiple_function_sections.
  19110. Don't clear have_location_lists.
  19111. 2006-01-02 Eric Botcazou <ebotcazou@adacore.com>
  19112. Jan Hubicka <jh@suse.cz>
  19113. * cfglayout.c (fixup_reorder_chain): Remove kludge for the
  19114. case of conditional jump jumping to the next instruction.
  19115. * cfgrtl.c (force_nonfallthru_and_redirect): Accept all
  19116. cases of conditional jump jumping to the next instruction.
  19117. 2006-01-02 Jan Hubicka <jh@suse.cz>
  19118. * i386.c (*_cost): Add COSTS_N_INSNS.
  19119. (ix86_rtx_costs): Do not use COSTS_N_INSNS.
  19120. 2006-01-02 Paolo Bonzini <bonzini@gnu.org>
  19121. PR target/25259
  19122. * Makefile.in (DECNUMINC): Include libdecnumber's build directory.
  19123. 2006-01-02 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  19124. * config/arm/arm.c (all_fpus): Fix comment typo.
  19125. * config/darwin.c: Likewise.
  19126. * config/frv/frv.h (FRV_STRUCT_VALUE_REGNUM): Likewise.
  19127. * config/h8300/h8300.md (extendqisi2_h8300hs): Likewise.
  19128. * config/m68hc11/m68hc11.c (m68hc11_reload_operands): Likewise.
  19129. 2006-01-01 David Edelsohn <edelsohn@gnu.org>
  19130. * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): New.
  19131. (rs6000_split_compare_and_swapqhi): New.
  19132. * config/rs6000/sync.md (sync_compare_and_swap{hi,qi}): New.
  19133. (sync_compare_and_swapqhi_internal): New.
  19134. * config/rs6000/rs6000-protos.h: Declare.
  19135. Copyright (C) 2006 Free Software Foundation, Inc.
  19136. Copying and distribution of this file, with or without modification,
  19137. are permitted in any medium without royalty provided the copyright
  19138. notice and this notice are preserved.