ChangeLog-2008 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971
  1. 2008-12-31 Uros Bizjak <ubizjak@gmail.com>
  2. * sched-deps.c (sched_analyze_2) [UNSPEC_VOLATILE]: Flush pending
  3. memory loads and stores.
  4. 2008-12-31 Jakub Jelinek <jakub@redhat.com>
  5. PR middle-end/38505
  6. * tree-ssa-ccp.c (may_propagate_address_into_dereference): Return
  7. false if ADDR's operand has incomplete type.
  8. Revert:
  9. 2008-12-15 Jakub Jelinek <jakub@redhat.com>
  10. PR middle-end/38505
  11. * tree-ssa.c (useless_type_conversion_p_1): Return
  12. false if inner_type is incomplete and outer_type is complete.
  13. 2008-12-31 Jakub Jelinek <jakub@redhat.com>
  14. PR middle-end/38676
  15. * gimplify.c (gimple_regimplify_operands): For GIMPLE_SWITCH
  16. only regimplify switch index.
  17. 2008-12-30 Richard Guenther <rguenther@suse.de>
  18. PR tree-optimization/38645
  19. * tree-ssa-ccp.c (fold_gimple_assign): Use the correct pointer
  20. type.
  21. * tree-ssa-dom.c (cprop_operand): Simplify. Do not propagate
  22. volatileness changing operands.
  23. 2008-12-30 Steven Bosscher <steven@gcc.gnu.org>
  24. * tree-cfg.c (verify_eh_throw_stmt_node): Return nonzero,
  25. to visit all EH statement and fix EH checking.
  26. 2008-12-31 Seongbae Park <seongbae.park@gmail.com>
  27. Revert:
  28. 2008-12-29 Seongbae Park <seongbae.park@gmail.com>
  29. * tree-profile.c (tree_init_ic_make_global_vars): Make static
  30. variables TLS.
  31. 2008-12-30 Andrew Pinski <pinskia@gmail.com>
  32. PR middle-end/38661
  33. * tree-switch-conversion.c (build_constructors): Test for wrapping of
  34. pos case.
  35. 2008-12-30 Steven Bosscher <steven@gcc.gnu.org>
  36. PR middle-end/38584
  37. * ipa-inline.c (compute_inline_parameters): When not optimizing,
  38. don't compute the inline parameters, just set them to 0 instead.
  39. 2008-12-30 Paolo Bonzini <bonzini@gnu.org>
  40. PR tree-optimization/38572
  41. * tree-vrp.c (vrp_visit_phi_node): Look out for invalid ranges
  42. and change them to VARYING.
  43. 2008-12-30 Richard Guenther <rguenther@suse.de>
  44. PR middle-end/38564
  45. * fold-const.c (fold_comparison): Use the correct result type.
  46. 2008-12-30 Dorit Nuzman <dorit@il.ibm.com>
  47. Ira Rosen <irar@il.ibm.com>
  48. PR tree-optimization/38529
  49. * tree-vect-transform (vect_transform_stmt): Handle inner-loop stmts
  50. whose DEF is used in the loop-nest that is being vectorized, but
  51. outside the immediately enclosing loop.
  52. 2008-12-29 Seongbae Park <seongbae.park@gmail.com>
  53. * tree-profile.c (tree_init_ic_make_global_vars): Make static
  54. variables TLS.
  55. 2008-12-29 Jakub Jelinek <jakub@redhat.com>
  56. PR c++/36191
  57. * tree-complex.c (expand_complex_libcall): Call
  58. maybe_clean_or_replace_eh_stmt and gimple_purge_dead_eh_edges
  59. instead of passing true as 3rd argument to gsi_replace.
  60. 2008-12-28 Uros Bizjak <ubizjak@gmail.com>
  61. PR middle-end/38652
  62. * dse.c: Include target.h.
  63. * Makefile.in (dse.o): Depend on $(TARGET_H).
  64. 2008-12-29 Jakub Jelinek <jakub@redhat.com>
  65. PR driver/38381
  66. * gcc.c (process_command): Accept also -b with configuration name
  67. in the next argument.
  68. * doc/invoke.texi (-b): Document that no hyphen is required if
  69. configuration name is in the next argument after -b.
  70. 2008-12-27 Jakub Jelinek <jakub@redhat.com>
  71. PR middle-end/38641
  72. * gimple-pretty-print.c (dump_binary_rhs): Print
  73. VEC_WIDEN_MULT_HI_EXPR, VEC_WIDEN_MULT_LO_EXPR,
  74. VEC_PACK_TRUNC_EXPR, VEC_PACK_SAT_EXPR, VEC_PACK_FIX_TRUNC_EXPR,
  75. VEC_EXTRACT_EVEN_EXPR, VEC_EXTRACT_ODD_EXPR
  76. VEC_INTERLEAVE_HIGH_EXPR and VEC_INTERLEAVE_LOW_EXPR similarly
  77. to COMPLEX_EXPR, MIN_EXPR and MAX_EXPR.
  78. PR middle-end/38633
  79. * tree-cfg.c (replace_block_vars_by_duplicates): Only call
  80. replace_by_duplicate_decl for VAR_DECLs or CONST_DECLs.
  81. 2008-12-24 Kazu Hirata <kazu@codesourcery.com>
  82. * Makefile.in (GTFILES): Add $(srcdir)/expr.h.
  83. * expr.h: Fix the declaration of block_clear_fn.
  84. 2008-12-23 Andrew Pinski <pinski@gmail.com>
  85. PR middle-end/38590
  86. * fold-const.c (fold_binary): Call fold_convert on arguments to
  87. fold_build2 for negative divide optimization.
  88. 2008-12-23 Jakub Jelinek <jakub@redhat.com>
  89. PR middle-end/31150
  90. * dse.c (struct store_info): Add const_rhs field.
  91. (clear_rhs_from_active_local_stores): Clear also const_rhs.
  92. (record_store): Try also cselib_expand_value_rtx to get a constant.
  93. (find_shift_sequence, get_stored_val): Use const_rhs instead of
  94. rhs if worthwhile.
  95. * cselib.c (cselib_record_sets): If !cselib_record_memory and
  96. there is just one set from read-only MEM, look at REG_EQUAL or
  97. REG_EQUIV note.
  98. * dse.c (struct store_info): Add redundant_reason field.
  99. (record_store): When storing the same constant as has been stored by
  100. an earlier store, set redundant_reason field to the earlier store's
  101. insn_info_t. Don't delete cannot_delete insns.
  102. (find_shift_sequence): Remove read_info argument, add read_mode
  103. and require_cst arguments. Return early if require_cst and
  104. constant wouldn't be returned.
  105. (get_stored_val): New function.
  106. (replace_read): Use it.
  107. (scan_insn): Put even cannot_delete insns with exactly 1 store
  108. into active_local_stores.
  109. (dse_step1): Don't delete cannot_delete insns. Remove redundant
  110. constant stores if contains_cselib_groups and earlier store storing
  111. the same value hasn't been eliminated.
  112. (dse_step6): Renamed to dse_step7. New function.
  113. (dse_step7): Renamed from dse_step6.
  114. (rest_of_handle_dse): Call dse_step6 and dse_step7 at the end.
  115. * cselib.c (cselib_expand_value_rtx): Don't wrap CONST_INTs
  116. into CONST unless really necessary. Handle SUBREG, unary,
  117. ternary, bitfield and compares specially, to be able to simplify
  118. operations on constants.
  119. (expand_loc): Try to optimize LO_SUM.
  120. * dse.c (get_call_args): New function.
  121. (scan_insn): Don't handle BUILT_IN_BZERO. For memset, attempt
  122. to get call arguments and if successful and both len and val are
  123. constants, handle the call as (mem:BLK) (const_int) store.
  124. * dse.c (struct store_info): Add is_large bool field, change
  125. positions_needed into a union of a bitmask and bitmap + count.
  126. (free_store_info): Free bitmap if is_large.
  127. (set_usage_bits): Don't look at stores where
  128. offset + width >= MAX_OFFSET.
  129. (set_position_unneeded, set_all_positions_unneeded,
  130. any_positions_needed_p, all_positions_needed_p): New static inline
  131. functions.
  132. (record_store): Handle BLKmode stores of CONST_INT, if
  133. MEM_SIZE is set on the MEM. Use the new positions_needed
  134. accessor inlines.
  135. (replace_read): Handle reads from BLKmode CONST_INT stores.
  136. (check_mem_read_rtx): Use all_positions_needed_p function.
  137. (dse_step1): Free large positions_needed bitmaps and clear is_large.
  138. * dse.c (struct store_info): Change begin and end types to
  139. HOST_WIDE_INT.
  140. * dse.c (record_store): Fix check for unused store.
  141. * expr.c (block_clear_fn): No longer static.
  142. * expr.h (block_clear_fn): Declare.
  143. * dse.c (scan_insn): Memset and bzero can just read their arguments.
  144. * config/i386/i386.c (expand_setmem_via_rep_stos): Add ORIG_VALUE
  145. argument. If ORIG_VALUE is const0_rtx and COUNT is constant,
  146. set MEM_SIZE on DESTMEM.
  147. (ix86_expand_setmem): Adjust callers.
  148. PR target/38488
  149. * expr.h (get_mem_align_offset): New prototype.
  150. * emit-rtl.c (get_mem_align_offset): New function.
  151. * config/i386/i386.c (expand_movmem_via_rep_mov): Set MEM_SIZE
  152. correctly.
  153. (expand_constant_movmem_prologue, expand_constant_setmem_prologue):
  154. New functions.
  155. (ix86_expand_movmem): Optimize if COUNT_EXP
  156. is constant, desired_align > align and dst & (desired_align - 1)
  157. is computable at compile time.
  158. (ix86_expand_setmem): Likewise.
  159. * builtins.c (get_memory_rtx): Try to derive MEM_ATTRS from not yet
  160. resolved SAVE_EXPR or POINTER_PLUS_EXPR.
  161. 2008-12-22 Uros Bizjak <ubizjak@gmail.com>
  162. * config/alpha/elf.h (ASM_OUTPUT_EXTERNAL): New macro.
  163. PR target/34571
  164. * config/alpha/predicates.md (symbolic_operand): Return 1 for a
  165. label_ref with an offset.
  166. 2008-12-21 Andrew Pinski <pinskia@gmail.com>
  167. PR target/38300
  168. * configure: Regenerate.
  169. 2008-12-21 Richard Sandiford <rdsandiford@googlemail.com>
  170. * config/mips/mips-dsp.md (mips_lbux): Turn into a define_expand,
  171. changing operand 1 to a pmode_register_operand.
  172. (mips_lhx, mips_lwx): Likewise.
  173. (mips_lbux_<mode>, mips_lhx_<mode>, mips_lwx_<mode>): New patterns.
  174. * config/mips/mips.c (mips_prepare_builtin_arg): Get the mode of
  175. the value from the argument expression.
  176. 2008-12-21 Jan Hubicka <jh@suse.cz>
  177. Kai Tietz <kai.tietz@onevision.com>
  178. * i386.md (UNSPEC_MS_TO_SYSV_CALL): New constant.
  179. (call_1_rex64_ms_sysv, call_value_0_rex64_ms_sysv,
  180. call_value_1_rex64_ms_sysv): New patterns.
  181. * i386.c (function_arg_ms_64): Pass magical value of -2 as callarg.
  182. (ix86_expand_call): Emit extra clobbers for ms->sysv ABI calls.
  183. 2008-12-21 Uros Bizjak <ubizjak@gmail.com>
  184. * config/alpha/alpha.c (alpha_pad_noreturn): New static function.
  185. (alpha_reorg): Call alpha_pad_noreturn.
  186. 2008-12-21 Denis Chertykov <denisc@overta.ru>
  187. * config/avr/avr.md ("andsi3"): Fix wrong cc attribute.
  188. 2008-12-20 Eric Botcazou <ebotcazou@adacore.com>
  189. PR target/37610
  190. * configure.ac (gcc_cv_as_cfi_advance_working): Fall back to 'no'
  191. if readelf is nowhere to be found.
  192. * configure: Regenerate.
  193. 2008-12-19 Andrew Haley <aph@redhat.com>
  194. * builtins.c, tree-ssa-loop-ivopts.c, fixed-value.c:
  195. Fix comments.
  196. 2008-12-19 Richard Earnshaw <rearnsha@arm.com>
  197. PR target/38548
  198. * arm/t-linux (LIB1ASMFUNCS): Add _arm_addsubdf3 and _arm_addsubsf3.
  199. * arm/lib1funcs.asm (clzsi2): Use RET macro for return instruction.
  200. 2008-12-19 Richard Earnshaw <rearnsha@arm.com>
  201. PR bootstrap/38578
  202. * arm.c (load_multiple_sequence): Initialize ORDER array.
  203. (store_multiple_sequence): Likewise.
  204. (output_move_double): Make reg0 unsigned.
  205. (arm_output_epilogue): Make amount unsigned.
  206. (arm_expand_prologue): Move declaration of dwarf before block
  207. statements.
  208. 2008-12-19 Steve Ellcey <sje@cup.hp.com>
  209. * df-scan.c (df_hard_reg_init): Move declaration of i.
  210. 2008-12-19 Jakub Jelinek <jakub@redhat.com>
  211. PR bootstrap/37739
  212. * config.host: For powerpc*-*-linux* host with 32-bit GCC,
  213. use rs6000/x-linux-relax snippet if ld is new enough,
  214. otherwise use rs6000/x-linux-O1.
  215. * config/rs6000/x-linux-relax: New file.
  216. * config/x-cflags-O1: New file.
  217. 2008-12-18 Joseph Myers <joseph@codesourcery.com>
  218. * config/rs6000/rs6000.c (rs6000_generate_compare): Condition
  219. choice of e500 comparison instructions on flag_finite_math_only &&
  220. !flag_trapping_math, not flag_unsafe_math_optimizations.
  221. * config/rs6000/rs6000.md (abstf2): Condition choice of e500
  222. instructions on flag_finite_math_only && !flag_trapping_math, not
  223. flag_unsafe_math_optimizations.
  224. (bltgt, sltgt): Disable for TARGET_HARD_FLOAT && !TARGET_FPRS.
  225. * config/rs6000/spe.md (cmpsfeq_gpr, tstsfeq_gpr, cmpsfgt_gpr,
  226. tstsfgt_gpr, cmpsflt_gpr, tstsflt_gpr, cmpdfeq_gpr, tstdfeq_gpr,
  227. cmpdfgt_gpr, tstdfgt_gpr, cmpdflt_gpr, tstdflt_gpr, cmptfeq_gpr,
  228. tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr, tsttflt_gpr):
  229. Condition choice of comparison instructions on
  230. flag_finite_math_only && !flag_trapping_math, not
  231. flag_unsafe_math_optimizations.
  232. 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  233. * configure: Regenerate.
  234. 2008-12-18 Jan Hubicka <jh@suse.cz>
  235. Kai Tietz <kai.tietz@onevision.com>
  236. * df-scan.c (persistent_obstack, df_invalidated_by_call): Remove.
  237. (df_scan_start_dump, df_get_call_refs, df_hard_reg_init): Rename
  238. df_invalidated_by_call to invalidated_by_call_regset.
  239. * df.h (df_invalidated_by_call): Remove.
  240. * regclass.c (regs_invalidated_by_call_regset, persistent_obstack):
  241. New variables.
  242. (init_reg_sets_1): Initialize regs_invalidated_by_call_regset.
  243. (globalize_reg): Likewise.
  244. * df-problems.c (df_rd_local_compute, df_lr_confluence_n,
  245. df_byte_lr_alloc): Rename df_invalidated_by_call to
  246. invalidated_by_call_regset.
  247. * basic-block.h (regs_invalidated_by_call_regset): Declare.
  248. 2008-12-18 Jan Hubicka <jh@suse.cz>
  249. Kai Tietz <kai.tietz@onevision.com>
  250. * ira-cost.c (copy_cost): Lazilly initialize move_cost if needed.
  251. 2008-12-18 Jan Hubicka <jh@suse.cz>
  252. Kai Tietz <kai.tietz@onevision.com>
  253. * i386.h (CONDITIONAL_REGISTER_USAGE): Initialize for current
  254. function ABI.
  255. * i386.c (ix86_call_abi_override): Do not trigger target re-init and
  256. do not try to modify call used regs.
  257. (ix86_maybe_switch_abi): New function.
  258. (TARGET_EXPAND_TO_RTL_HOOK): New macro.
  259. 2008-12-18 Kenneth Zadeck <zadeck@naturalbridge.com>
  260. PR rtl-optimization/37922
  261. * dse.c (bb_info): Added regs_live field.
  262. (look_for_hardregs): New function.
  263. (replace_read): Added regs_live parameter and code to check that
  264. shift sequence does not clobber live hardregs.
  265. (check_mem_read_rtx): Added parameter to replace_read.
  266. (dse_step1): Added regs_live bitmap and initialize it.
  267. (rest_of_handle_dse): Added DF_NOTES problem and earlier call to
  268. df_analyze.
  269. * df-problems.c Renamed to df_simulate_initialize_backwards.
  270. (df_simulate_one_insn): Renamed to df_simulate_one_insn_backwards.
  271. (df_simulate_artificial_refs_at_top): Renamed to
  272. df_simulate_finalize_backwards.
  273. (df_simulate_initialized_forwards, df_simulate_one_insn_forwards,
  274. df_simulate_finalize_backwards): New functions.
  275. * df.h (df_simulate_artificial_refs_at_end): Renamed to
  276. df_simulate_initialize_backwards.
  277. (df_simulate_one_insn): Renamed to df_simulate_one_insn_backwards.
  278. (df_simulate_artificial_refs_at_top): Renamed to
  279. df_simulate_finalize_backwards.
  280. (df_simulate_initialized_forwards, df_simulate_one_insn_forwards,
  281. df_simulate_finalize_backwards): New functions.
  282. * ra-conflict.c (global_conflicts): Renamed
  283. df_simulate_artificial_refs_at_end to
  284. df_simulate_initialize_backwards.
  285. * sel-sched.c (propagate_lv_set): Renamed df_simulate_one_insn to
  286. df_simulate_one_insn_backwards.
  287. * ifcvt.c (dead_or_predicable): Renamed
  288. df_simulate_artificial_refs_at_end to
  289. df_simulate_initialize_backwards. Renamed df_simulate_one_insn to
  290. df_simulate_one_insn_backwards.
  291. * recog.c (peephole2_optimize): Ditto.
  292. * rtl-factoring (collect_pattern_seqs, clear_regs_live_in_seq): Ditto.
  293. 2008-12-18 Jakub Jelinek <jakub@redhat.com>
  294. PR middle-end/38533
  295. * tree-ssa-reassoc.c (remove_visited_stmt_chain): New function.
  296. (rewrite_expr_tree): Add moved argument, move stmts together if
  297. needed. Call remove_visited_stmt_chain.
  298. (linearize_expr_tree): Don't move stmts here.
  299. (reassociate_bb): Call remove_visited_stmt_chain if num ops is 1.
  300. Adjust rewrite_expr_tree caller.
  301. PR middle-end/38505
  302. * tree-ssa.c (useless_type_conversion_p_1): Return
  303. false if inner_type is incomplete and outer_type is complete.
  304. 2008-12-17 Sebastian Pop <sebastian.pop@amd.com>
  305. * doc/install.texi (Prerequisites): Document PPL and CLooG-PPL
  306. dependences and the configure options.
  307. (Configuration): Document --with-cloog, --with-ppl, --with-cloog-lib,
  308. --with-ppl-lib, --with-cloog-incude, --with-ppl-include.
  309. 2008-12-17 H.J. Lu <hongjiu.lu@intel.com>
  310. PR middle-end/38556
  311. * calls.c (expand_call): Check outgoing_reg_parm_stack_space
  312. only if REG_PARM_STACK_SPACE is defined.
  313. 2008-12-17 Jan Hubicka <jh@suse.cz>
  314. Kai Tietz <kai.tietz@onevision.com>
  315. * calls.c (expand_call): Do not sibcall if
  316. outgoing_reg_parm_stack_space does not match.
  317. 2008-12-16 Anatoly Sokolov <aesok@post.ru>
  318. * config/avr/avr.c (avr_mcu_t): Add attiny87, attiny327, at90pwm81,
  319. atmega16m1, at90scr100, atmega128rfa1, m3000f, m3000s and m3001b
  320. devices.
  321. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
  322. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
  323. 2008-12-16 Hariharan Sandanagobalane <hariharan@picochip.com>
  324. PR target/38842
  325. * config/picochip/picochip.opt (mae): Squeezed the comments onto one
  326. line.
  327. 2008-12-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  328. * configure.ac (gcc_cv_ld_hidden): Sun ld on Solaris 9 and up
  329. supports hidden.
  330. * configure: Regenerate.
  331. 2008-12-16 Richard Earnshaw <rearnsha@arm.com>
  332. PR target/37436
  333. * arm.c (arm_legitimate_index): Only accept addresses that are in
  334. canonical form.
  335. * predicates.md (arm_reg_or_extendqisi_mem_op): New predicate.
  336. * arm.md (extendqihi2): Use arm_reg_or_extendqisi_mem_op predicate
  337. for operand1.
  338. (extendqisi2): Likewise.
  339. (arm_extendqisi, arm_extendqisi_v6): Use arm_extendqisi_mem_op
  340. predicate for operand1.
  341. 2008-12-15 Adam Nemet <anemet@caviumnetworks.com>
  342. * config/mips/mips.c (mips_output_conditional_branch): Assert that
  343. openrands[1] is a CODE_LABEL.
  344. 2008-12-15 Richard Sandiford <rdsandiford@googlemail.com>
  345. * config/mips/mips.c (mips_expand_builtin_direct): Set TARGET to
  346. the result of mips_prepare_builtin_target.
  347. 2008-12-15 Richard Sandiford <rdsandiford@googlemail.com>
  348. * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_abicalls
  349. if TARGET_ABICALLS is true.
  350. 2008-12-15 Richard Sandiford <rdsandiford@googlemail.com>
  351. * config/mips/mips.md (move_doubleword_fpr<mode>): Use
  352. TARGET_FLOAT64 && !TARGET_64BIT to detect the mxhc1 case.
  353. 2008-12-15 Hariharan Sandanagobalane <hariharan@picochip.com>
  354. * config/picochip/picochip.c (picochip_override_options): Disable CFI
  355. asm and change the signature of brev and byteSwap functions to use
  356. unsigned values.
  357. * config/picochip/picochip.md (commsTestPort): This is a complex
  358. instruction and should not be vliwed. Don't set insn type.
  359. 2008-12-15 Wolfgang Gellerich <gellerich@de.ibm.com>
  360. * config/s390/s390.c (s390_swap_cmp): New function.
  361. (s390_non_addr_reg_read_p): New function.
  362. (s390_z10_optimize_cmp): New function.
  363. (s390_reorg): Added call to s390_optimize_cmp.
  364. * config/s390/s390.md (nop1): New insn.
  365. 2008-12-12 Rainer Emrich <r.emrich@de.tecosim.com>
  366. PR bootstrap/38383
  367. * pa64-hpux.h (LINK_GCC_C_SEQUENCE_SPEC): Don't hardcode search path
  368. for the milli.a library.
  369. 2008-12-12 Andrew Pinski <andrew_pinskia@playstation.sony.com>
  370. Peter Bergner <bergner@vnet.ibm.com>
  371. PR target/24779
  372. * config/rs6000/rs6000.md (call_indirect_aix32): Move the load of the
  373. TOC into the call pattern.
  374. (call_indirect_aix64): Likewise.
  375. (call_value_indirect_aix32): Likewise.
  376. (call_value_indirect_aix64): Likewise.
  377. (call_indirect_nonlocal_aix32_internal): New insn and split patterns
  378. to split off the load of the TOC.
  379. (call_indirect_nonlocal_aix32): Enable only after reload.
  380. (call_indirect_nonlocal_aix64_internal): New insn and split patterns
  381. to split off the load of the TOC.
  382. (call_indirect_nonlocal_aix64): Enable only after reload.
  383. (call_value_indirect_nonlocal_aix32_internal): New insn and split
  384. patterns to split off the load of the TOC.
  385. (call_value_indirect_nonlocal_aix32): Enable only after reload.
  386. (call_value_indirect_nonlocal_aix64_internal): New insn and split
  387. patterns to split off the load of the TOC.
  388. (call_value_indirect_nonlocal_aix64): Enable only after reload.
  389. 2008-12-12 Andreas Schwab <schwab@suse.de>
  390. Revert:
  391. 2008-12-12 Andreas Schwab <schwab@suse.de>
  392. * cfgrtl.c (rtl_verify_flow_info_1): Don't apply BLOCK_FOR_INSN on
  393. a BARRIER insn.
  394. 2008-12-12 Zdenek Dvorak <ook@ucw.cz>
  395. PR tree-optimization/32044
  396. * tree-scalar-evolution.h (expression_expensive_p): Declare.
  397. * tree-scalar-evolution.c (expression_expensive_p): New function.
  398. (scev_const_prop): Avoid introducing expensive expressions.
  399. * tree-ssa-loop-ivopts.c (may_eliminate_iv): Ditto.
  400. 2008-12-12 Sebastian Pop <sebastian.pop@amd.com>
  401. PR middle-end/38409
  402. * graphite.c (nb_reductions_in_loop): Use simple_iv.
  403. 2008-12-12 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
  404. * config/i386/x86intrin.h: New header file to support all x86
  405. intrinsics
  406. * config.gcc (extra_headers): For x86 and x86-64, add x86intrin.h
  407. 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
  408. PR target/38402
  409. * gcc/doc/md.texi: Remove Y and document Yz, Y2, Yi and Ym
  410. constraints for x86.
  411. 2008-12-12 Andreas Schwab <schwab@suse.de>
  412. * cfgrtl.c (rtl_verify_flow_info_1): Don't apply BLOCK_FOR_INSN on
  413. a BARRIER insn.
  414. 2008-12-12 Uros Bizjak <ubizjak@gmail.com>
  415. * config/alpha/sync.md (memory_barrier): Remove mem:BLK from operands.
  416. Use Pmode for scratch reg.
  417. (*mb_internal): Use (match_dup 0) for unspec operand.
  418. 2008-12-12 Alexandre Oliva <aoliva@redhat.com>
  419. * tree-vrp.c (extract_range_from_binary_expr): Don't shift by
  420. floor_log2 of zero. Negate widened zero.
  421. 2008-12-12 Ben Elliston <bje@au.ibm.com>
  422. * config/fp-bit.c (nan): Rename from this ...
  423. (makenan): ... to this.
  424. 2008-12-11 Adam Nemet <anemet@caviumnetworks.com>
  425. * config/mips/mips.md (*branch_bit<bbv><mode>,
  426. *branch_bit<bbv><mode>_inverted): Renumber operands so that the
  427. label becomes operands[1].
  428. 2008-12-11 Harsha Jagasia <harsha.jagasia@amd.com>
  429. PR tree-optimization/38446
  430. * graphite.c (register_bb_in_sese): New.
  431. (bb_in_sese_p): Check if bb belongs to sese region by explicitly
  432. looking at the bbs in the region.
  433. * graphite.h (sese): Add region_basic_blocks pointer set to
  434. structure and initialize at the time of defining new scop.
  435. 2008-12-11 Tobias Grosser <grosser@fim.uni-passau.de>
  436. * graphite.c (new_graphite_bb): Initialize GBB_STATIC_SCHEDULE.
  437. (find_params_in_bb): Do not free data refs.
  438. (free_graphite_bb): Add FIXME on disabled free_data_refs.
  439. 2008-12-11 Sebastian Pop <sebastian.pop@amd.com>
  440. * graphite.c (struct ivtype_map_elt): New.
  441. (debug_ivtype_elt, debug_ivtype_map_1, debug_ivtype_map,
  442. new_ivtype_map_elt, ivtype_map_elt_info, eq_ivtype_map_elts,
  443. gcc_type_for_cloog_iv): New.
  444. (loop_iv_stack_patch_for_consts): Use the type of the induction
  445. variable from the original loop, except for the automatically
  446. generated loops, i.e., in the case of a strip-mined loop, in
  447. which case there is no original loop: in that case just use
  448. integer_type_node.
  449. (new_graphite_bb): Initialize GBB_CLOOG_IV_TYPES.
  450. (free_graphite_bb): Free GBB_CLOOG_IV_TYPES.
  451. (clast_name_to_gcc): Accept params to be NULL.
  452. (clast_to_gcc_expression): Take an extra parameter for the type.
  453. Convert to that type all the expressions built by this function.
  454. (gcc_type_for_clast_expr, gcc_type_for_clast_eq): New.
  455. (graphite_translate_clast_equation): Compute the type of the
  456. clast_equation before translating its LHS and RHS.
  457. (clast_get_body_of_loop, gcc_type_for_iv_of_clast_loop): New.
  458. (graphite_create_new_loop): Compute the type of the induction
  459. variable before translating the lower and upper bounds and before
  460. creating the induction variable.
  461. (rename_variables_from_edge, rename_phis_end_scop): New.
  462. (copy_bb_and_scalar_dependences): Call rename_phis_end_scop.
  463. (sese_add_exit_phis_edge): Do not use integer_zero_node.
  464. (find_cloog_iv_in_expr, compute_cloog_iv_types_1,
  465. compute_cloog_iv_types): New.
  466. (gloog): Call compute_cloog_iv_types before starting the
  467. translation of the clast.
  468. * graphite.h (struct graphite_bb): New field cloog_iv_types.
  469. (GBB_CLOOG_IV_TYPES): New.
  470. (debug_ivtype_map): Declared.
  471. (oldiv_for_loop): New.
  472. 2008-12-10 Tobias Grosser <grosser@fim.uni-passau.de>
  473. PR middle-end/38459
  474. * graphite.c (new_scop): Initialize SCOP_ADD_PARAMS.
  475. (param_index): Assert if parameter is not know after parameter
  476. detection.
  477. (find_params_in_bb): Detect params directly in GBB_CONDITIONS.
  478. (find_scop_parameters): Mark, that we have finished parameter
  479. detection.
  480. (graphite_transform_loops): Move condition detection before parameter
  481. detection.
  482. * graphite.h (struct scop): Add SCOP_ADD_PARAMS.
  483. 2008-12-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  484. PR testsuite/35677
  485. * emutls.c (__emutls_get_address): Make sure offset is really zero
  486. before initializing the object's offset.
  487. 2008-12-11 Jakub Jelinek <jakub@redhat.com>
  488. PR c++/38253
  489. * gimplify.c (gimplify_init_constructor): Don't force constructor
  490. into memory if there is just one nonzero element.
  491. 2008-12-11 Sebastian Pop <sebastian.pop@amd.com>
  492. Fix testsuite/gfortran.dg/graphite/id-4.f90.
  493. * graphite.c (scan_tree_for_params): Do not compute the multiplicand
  494. when not needed.
  495. 2008-12-11 Sebastian Pop <sebastian.pop@amd.com>
  496. * graphite.c (build_scops_1): Initialize open_scop.exit
  497. and sinfo.last.
  498. 2008-12-11 Sebastian Pop <sebastian.pop@amd.com>
  499. Jan Sjodin <jan.sjodin@amd.com>
  500. Harsha Jagasia <harsha.jagasia@amd.com>
  501. PR middle-end/37852
  502. PR middle-end/37883
  503. PR middle-end/37928
  504. PR middle-end/37980
  505. PR middle-end/38038
  506. PR middle-end/38039
  507. PR middle-end/38073
  508. PR middle-end/38083
  509. PR middle-end/38125
  510. * tree-phinodes.c (remove_phi_nodes): New, extracted from...
  511. * tree-cfg.c (remove_phi_nodes_and_edges_for_unreachable_block):
  512. ... here.
  513. * tree-flow.h (remove_phi_nodes, canonicalize_loop_ivs): Declared.
  514. * Makefile.in (graphite.o): Depend on value-prof.h.
  515. (graphite.o-warn): Removed -Wno-error.
  516. * tree-parloops.c (canonicalize_loop_ivs): Allow reduction_list
  517. to be a NULL pointer. Call update_stmt. Return the newly created
  518. cannonical induction variable.
  519. * graphite.h (debug_rename_map): Declared. Fix some comments.
  520. * graphite.c: Reimplement the code generation from graphite to gimple.
  521. Include value-prof.h.
  522. (loop_iv_stack_get_iv): Do not return NULL for constant substitutions.
  523. (get_old_iv_from_ssa_name): Removed.
  524. (graphite_stmt_p): New.
  525. (new_graphite_bb): Test for useful statements before building a
  526. graphite statement for the basic block.
  527. (free_graphite_bb): Do not free GBB_DATA_REFS: this is a bug
  528. in free_data_ref that calls BITMAP_FREE (DR_VOPS (dr)) without reason.
  529. (recompute_all_dominators, graphite_verify,
  530. nb_reductions_in_loop, graphite_loop_normal_form): New.
  531. (scop_record_loop): Call graphite_loop_normal_form.
  532. (build_scop_loop_nests): Iterate over all the blocks of the
  533. function instead of relying on the incomplete information from
  534. SCOP_BBS. Return the success of the operation.
  535. (find_params_in_bb): Use the data from GBB_DATA_REFS.
  536. (add_bb_domains): Removed.
  537. (build_loop_iteration_domains): Don't call add_bb_domains.
  538. Add the iteration domain only to the basic blocks that have been
  539. translated to graphite.
  540. (build_scop_conditions_1): Add constraints only if the basic
  541. block have been translated to graphite.
  542. (build_scop_data_accesses): Completely disabled until data
  543. dependence is correctly implemented.
  544. (debug_rename_elt, debug_rename_map_1, debug_rename_map): New.
  545. (remove_all_edges_1, remove_all_edges): Removed.
  546. (get_new_name_from_old_name): New.
  547. (graphite_rename_variables_in_stmt): Renamed.
  548. rename_variables_in_stmt. Call get_new_name_from_old_name.
  549. Use replace_exp and update_stmt.
  550. (is_old_iv): Renamed is_iv.
  551. (expand_scalar_variables_stmt): Extra parameter for renaming map.
  552. Use replace_exp and update_stmt.
  553. (expand_scalar_variables_expr): Same. Use the map to get the
  554. new names for the renaming of induction variables and for the
  555. renaming of variables after a basic block has been copied.
  556. (expand_scalar_variables): Same.
  557. (graphite_rename_variables): Renamed rename_variables.
  558. (move_phi_nodes): Removed.
  559. (get_false_edge_from_guard_bb): New.
  560. (build_iv_mapping): Do not insert the induction variable of a
  561. loop in the renaming iv map if the basic block does not belong
  562. to that loop.
  563. (register_old_new_names, graphite_copy_stmts_from_block,
  564. copy_bb_and_scalar_dependences): New.
  565. (translate_clast): Heavily reimplemented: copy basic blocks,
  566. do not move them. Finally, in call cleanup_tree_cfg in gloog.
  567. At each translation step call graphite_verify ensuring the
  568. consistency of the SSA, loops and dominators information.
  569. (collect_virtual_phis, find_vdef_for_var_in_bb,
  570. find_vdef_for_var_1, find_vdef_for_var,
  571. patch_phis_for_virtual_defs): Removed huge hack.
  572. (mark_old_loops, remove_dead_loops, skip_phi_defs,
  573. collect_scop_exit_phi_args, patch_scop_exit_phi_args,
  574. gbb_can_be_ignored, scop_remove_ignoreable_gbbs): Removed.
  575. (remove_sese_region, ifsese, if_region_entry, if_region_exit,
  576. if_region_get_condition_block, if_region_set_false_region,
  577. create_if_region_on_edge, move_sese_in_condition, bb_in_sese_p,
  578. sese_find_uses_to_rename_use, sese_find_uses_to_rename_bb,
  579. sese_add_exit_phis_edge, sese_add_exit_phis_var,
  580. rewrite_into_sese_closed_ssa): New.
  581. (gloog): Remove dead code. Early return if code cannot be
  582. generated. Call cleanup_tree_cfg once the scop has been code
  583. generated.
  584. (graphite_trans_scop_block, graphite_trans_loop_block): Do not
  585. block loops with less than two loops.
  586. (graphite_apply_transformations): Remove the call to
  587. scop_remove_ignoreable_gbbs.
  588. (limit_scops): When build_scop_loop_nests fails, continue on next
  589. scop. Fix open_scop.entry.
  590. (graphite_transform_loops): Call recompute_all_dominators: force the
  591. recomputation of correct CDI_DOMINATORS and CDI_POST_DOMINATORS.
  592. Call initialize_original_copy_tables and free_original_copy_tables
  593. to be able to copy basic blocks during code generation.
  594. When build_scop_loop_nests fails, continue on next scop.
  595. (value_clast): New union.
  596. (clast_to_gcc_expression): Fix type cast warning.
  597. 2008-12-10 Richard Guenther <rguenther@suse.de>
  598. PR tree-optimization/36792
  599. * tree-ssa-pre.c (compute_avail): Handle tcc_comparison like
  600. tcc_binary.
  601. 2008-12-10 Daniel Berlin <dberlin@dberlin.org>
  602. PR tree-optimization/36792
  603. * tree-ssa-pre.c (compute_avail): Don't insert defs into maximal set.
  604. 2008-12-10 Alexandre Oliva <aoliva@redhat.com>
  605. PR target/37033
  606. * dwarf2out.c (saved_do_cfi_asm): New.
  607. (dwarf2out_do_frame): Take it into account.
  608. (dwarf2out_d_cfi_asm): Likewise. Set it when appropriate.
  609. 2008-12-10 Alexandre Oliva <aoliva@redhat.com>
  610. PR middle-end/38271
  611. * tree-sra.c (sra_build_bf_assignment): Avoid warnings for
  612. variables initialized from SRAed bit fields.
  613. 2008-12-10 Martin Guy <martinwguy@yahoo.it>
  614. PR target/37668
  615. * arm.c (arm_size_rtx_costs, case NEG): Don't fall through if the
  616. result will be in an FPU register.
  617. 2008-12-10 Eric Botcazou <ebotcazou@adacore.com>
  618. PR target/37170
  619. PR target/38448
  620. * final.c (output_addr_const) <SYMBOL_REF>: Call assemble_external
  621. on the associated SYMBOL_REF_DECL node, if any.
  622. 2008-12-09 David Daney <ddaney@caviumnetworks.com>
  623. * config/mips/sync.md (sync_<optab>_12): Replace
  624. MIPS_SYNC_OP_12_NOT_NOP with MIPS_SYNC_OP_12_AND.
  625. (sync_old_<optab>_12): Remove third paramater to
  626. MIPS_SYNC_OLD_OP_12 macro, replace MIPS_SYNC_OLD_OP_12_NOT_NOP
  627. with MIPS_SYNC_OLD_OP_12_AND.
  628. (sync_new_<optab>_12): Replace MIPS_SYNC_NEW_OP_12_NOT_NOP
  629. with MIPS_SYNC_NEW_OP_12_AND.
  630. (sync_nand_12): Replace MIPS_SYNC_OP_12_NOT_NOT with
  631. MIPS_SYNC_OP_12_XOR, reduce length attribute to 40.
  632. (sync_old_nand_12): Remove third paramater to MIPS_SYNC_OLD_OP_12
  633. macro, replace MIPS_SYNC_OLD_OP_12_NOT_NOT with
  634. MIPS_SYNC_OLD_OP_12_XOR and reduce length attribute to 40.
  635. (sync_new_nand_12): Replace MIPS_SYNC_NEW_OP_12_NOT_NOT with
  636. MIPS_SYNC_NEW_OP_12_XOR.
  637. * config/mips/mips.h (MIPS_SYNC_OP_12, MIPS_SYNC_OP_12_NOT_NOP,
  638. MIPS_SYNC_OP_12_NOT_NOT,MIPS_SYNC_OLD_OP_12_NOT_NOP,
  639. MIPS_SYNC_OLD_OP_12_NOT_NOT, MIPS_SYNC_NEW_OP_12,
  640. MIPS_SYNC_NEW_OP_12_NOT_NOP, MIPS_SYNC_NEW_OP_12_NOT_NOT,
  641. MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND, MIPS_SYNC_NEW_NAND): Rewritten
  642. to implement new __sync_nand semantics.
  643. (MIPS_SYNC_OLD_OP_12): Implement new __sync_nand semantics, and
  644. remove third parameter.
  645. (MIPS_SYNC_OLD_OP_12_NOT_NOP_REG,
  646. MIPS_SYNC_OLD_OP_12_NOT_NOT_REG): Removed.
  647. (MIPS_SYNC_OP_12_NOT_NOP): Renamed to MIPS_SYNC_OP_12_AND.
  648. (MIPS_SYNC_OP_12_NOT_NOT): Renamed to MIPS_SYNC_OP_12_XOR.
  649. (MIPS_SYNC_OLD_OP_12_NOT_NOP): Renamed to MIPS_SYNC_OLD_OP_12_AND.
  650. (MIPS_SYNC_OLD_OP_12_NOT_NOT): Renamed to MIPS_SYNC_OLD_OP_12_XOR.
  651. (MIPS_SYNC_NEW_OP_12_NOT_NOP): Renamed to MIPS_SYNC_NEW_OP_12_AND.
  652. (MIPS_SYNC_NEW_OP_12_NOT_NOT): Renamed to MIPS_SYNC_NEW_OP_12_XOR
  653. 2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de>
  654. * graphite.c (graphite_transform_loops): Always call find_transform ()
  655. in ENABLE_CHECKING. So we test these code paths, even if we do not
  656. generate code.
  657. 2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de>
  658. * graphite.c (print_graphite_bb): Fix printing to file != dump_file.
  659. 2008-12-09 Jakub Jelinek <jakub@redhat.com>
  660. PR middle-end/38454
  661. * function.h (struct function): Add always_inline_functions_inlined.
  662. * ipa-inline.c (cgraph_early_inlining): Set it to true.
  663. * tree-optimize.c (execute_fixup_cfg): Likewise.
  664. * builtins.c (avoid_folding_inline_builtin): New function.
  665. (fold_call_expr): Don't optimize always_inline builtins before
  666. inlining.
  667. (fold_call_stmt): Likewise.
  668. (fold_builtin_call_array): Likewise. Don't call
  669. fold_builtin_varargs for BUILT_IN_MD builtins.
  670. PR tree-optimization/37416
  671. * tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Handle NOP_EXPR.
  672. 2008-12-09 Janis Johnson <janis187@us.ibm.com>
  673. * doc/sourcebuild.texi (Test Directives): Fix formatting.
  674. 2008-12-09 Vladimir Makarov <vmakarov@redhat.com>
  675. * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
  676. * doc/invoke.texi (-fira-region): Describe new option.
  677. (-fira-algorithm): Change the values.
  678. * ira-conflicts.c (build_conflict_bit_table,
  679. build_allocno_conflicts): Use ira_reg_classes_intersect_p.
  680. (ira_build_conflicts): Use flag flag_ira_region instead of
  681. flag_ira_algorithm. Prohibit usage of callee-saved likely spilled
  682. base registers for allocnos crossing calls.
  683. * flags.h (enum ira_algorithm): Redefine.
  684. (enum ira_region): New.
  685. (flag_ira_region): New.
  686. * cfgloopanal.c (estimate_reg_pressure_cost): Use flag_ira_region
  687. instead of flag_ira_algorithm.
  688. * toplev.c (flag_ira_algorithm): Change the initial value.
  689. (flag_ira_region): New.
  690. * ira-int.h (ira_reg_classes_intersect_p,
  691. ira_reg_class_super_classes): New.
  692. * ira-color.c (update_copy_costs): Use
  693. ira_reg_classes_intersect_p. Use right class to find hard reg index.
  694. (update_conflict_hard_regno_costs): Ditto. Add a new parameter.
  695. (assign_hard_reg): Ditto. Pass additional argument to
  696. update_conflict_hard_regno_costs. Do not uncoalesce for priority
  697. coloring.
  698. (allocno_priorities, setup_allocno_priorities,
  699. allocno_priority_compare_func): Move before color_allocnos.
  700. (color_allocnos): Add priority coloring. Use flag flag_ira_region
  701. instead of flag_ira_algorithm.
  702. (move_spill_restore): Check classes of the same reg allocno from
  703. different regions.
  704. (update_curr_costs): Use ira_reg_classes_intersect_p.
  705. (ira_reassign_conflict_allocnos): Ditto.
  706. * opts.c (decode_options): Always set up flag_ira. Set up
  707. flag_ira_algorithm. Warn CB can not be used for architecture.
  708. (common_handle_option): Modify code for -fira-algorithm. Add code
  709. to process -fira-region.
  710. * ira-lives.c (update_allocno_pressure_excess_length): Process
  711. superclasses too.
  712. (set_allocno_live, clear_allocno_live, mark_reg_live,
  713. mark_reg_dead, process_bb_node_lives): Ditto.
  714. * ira-emit.c (ira_emit): Fix insn codes.
  715. * ira-build.c (propagate_allocno_info): Use flag flag_ira_region
  716. instead of flag_ira_algorithm.
  717. (allocno_range_compare_func): Ignore classes for priority coloring.
  718. (setup_min_max_conflict_allocno_ids): Ditto.
  719. (ira_flattening): Use ira_reg_classes_intersect_p.
  720. * genpreds.c (write_enum_constraint_num): Output CONSTRAINT__LIMIT.
  721. * common.opt (fira-algorithm): Modify.
  722. (fira-region): New.
  723. * ira.c (setup_class_hard_regs): Initialize.
  724. (setup_cover_and_important_classes): Modify code setting class
  725. related info for priority coloring.
  726. (setup_class_translate): Ditto.
  727. (ira_reg_classes_intersect_p, ira_reg_class_super_classes): New.
  728. (setup_reg_class_intersect_union): Rename to
  729. setup_reg_class_relations. Add code for setting up new variables.
  730. (find_reg_class_closure): Do not check targetm.ira_cover_classes.
  731. (ira): Use flag flag_ira_region instead of flag_ira_algorithm.
  732. * ira-costs.c (common_classes): New.
  733. (print_costs): Use flag flag_ira_region instead of flag_ira_algorithm.
  734. (find_allocno_class_costs): Ditto. Use common_classes. Translate
  735. alt_class.
  736. (ira_costs): Allocate/deallocate common_classes.
  737. * config/m32c/m32.h (REG_ALLOC_ORDER): Add reg 19.
  738. (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): New entries for
  739. R02A_REGS.
  740. * reload1.c (choose_reload_regs): Use MODE_INT for partial ints in
  741. smallest_mode_for_size.
  742. 2008-12-10 Ben Elliston <bje@au.ibm.com>
  743. * config/rs6000/linux-unwind.h (get_regs): Constify casts.
  744. 2008-12-09 Jan Hubicka <jh@suse.cz>
  745. * predict.c (estimate_bb_frequencies): Fix test if profile is present.
  746. 2008-12-09 Jakub Jelinek <jakub@redhat.com>
  747. PR tree-optimization/35468
  748. * tree-ssa-ccp.c (fold_stmt_r): Don't fold reads from constant
  749. string on LHS.
  750. 2008-12-09 Richard Guenther <rguenther@suse.de>
  751. PR tree-optimization/38445
  752. * tree-ssa-structalias.c (emit_pointer_definition): Only visit
  753. names once.
  754. (emit_alias_warning): Adjust.
  755. 2008-12-09 Andrew Haley <aph@redhat.com>
  756. * fixed-value.c (do_fixed_add): Add comment.
  757. * tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise.
  758. * builtins.c (fold_builtin_sqrt): Likewise.
  759. 2008-12-09 Kai Tietz <kai.tietz@onevision.com>
  760. PR/38366
  761. * function.c (aggregate_value_p): Get fntype from CALL_EXPR in any
  762. case.
  763. * calls.c (nitialize_argument_information): Add fntype argument
  764. and use it for calls.promote_function_args.
  765. (expand_call): Pass fntype to aggregate_value_p if no fndecl
  766. available and pass additional fntype to
  767. initialize_argument_information.
  768. * config/i386/i386.c (ix86_reg_parm_stack_space): Remove cfun part
  769. to get function abi type.
  770. (init_cumulative_args): Use for abi kind detection fntype, when no
  771. fndecl is available.
  772. 2008-12-09 Andreas Krebbel <krebbel1@de.ibm.com>
  773. * config/s390/s390.md (movti, movdi_64, movdi_31,
  774. *movsi_zarch, *movhi, *movqi, *mov<mode>_64, *mov<mode>_31,
  775. *mov<mode>_64dfp, *mov<mode>_64, *mov<mode>_31, mov<mode>): Remove
  776. Q->Q alternative.
  777. (Integer->BLKmode splitter): Removed.
  778. 2008-12-08 Uros Bizjak <ubizjak@gmail.com>
  779. * config/alpha/alpha.c (alpha_set_memflags): Process memory
  780. references in full insn sequence.
  781. 2008-12-09 Jason Merrill <jason@redhat.com>
  782. * gimplify.c (gimplify_init_constructor): Revert to using < rather
  783. than <= for sparseness test.
  784. PR c++/38410
  785. * gimplify.c (gimplify_init_constructor): Don't write out a static
  786. copy of the CONSTRUCTOR for TREE_ADDRESSABLE types or small sparse
  787. initializers.
  788. 2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de>
  789. PR middle-end/38084
  790. Fix testsuite/gfortran.dg/graphite/id-3.f90.
  791. * graphite.c (scopdet_basic_block_info): Fix bug that found some
  792. regions more than once.
  793. 2008-12-09 Ben Elliston <bje@au.ibm.com>
  794. * emutls.c (__emutls_get_address): Prototype.
  795. (__emutls_register_common): Likewise.
  796. * config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
  797. 2008-12-09 Ben Elliston <bje@au.ibm.com>
  798. * config/rs6000/darwin-ldouble.c (fmsub): Remove unused variable, v.
  799. 2008-12-08 Steve Ellcey <sje@cup.hp.com>
  800. * config/ia64/ia64.md (UNSPECV_GOTO_RECEIVER): New constant.
  801. (nonlocal_goto_receiver): New instruction.
  802. 2008-12-08 Jakub Jelinek <jakub@redhat.com>
  803. PR c/35443
  804. * c-pretty-print.c (pp_c_expression): Handle BIND_EXPR.
  805. PR c/35442
  806. * c-pretty-print.c (pp_c_cast_expression, pp_c_expression): Handle
  807. VIEW_CONVERT_EXPR the same as CASE_CONVERT.
  808. 2008-12-08 Richard Henderson <rth@redhat.com>
  809. PR 38240
  810. * tree.h (TYPE_MODE): Invoke vector_type_mode when needed.
  811. (SET_TYPE_MODE): New.
  812. * c-decl.c (parser_xref_tag): Use it.
  813. (finish_enum): Likewise.
  814. * tree.c (build_pointer_type_for_mode): Likewise.
  815. (build_reference_type_for_mode, build_index_type): Likewise.
  816. (build_range_type, make_vector_type): Likewise.
  817. (build_common_tree_nodes_2): Likewise.
  818. * stor-layout.c (compute_record_mode): Likewise.
  819. (finalize_type_size, layout_type, make_fract_type): Likewise.
  820. (make_accum_type, initialize_sizetypes): Likewise.
  821. (vector_type_mode): New.
  822. * function.c (allocate_struct_function): Call
  823. invoke_set_current_function_hook before querying anything else.
  824. * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Add avx.
  825. 2008-12-08 Luis Machado <luisgpm@br.ibm.com>
  826. * alias.c (find_base_term): Synch LO_SUM handling with what
  827. find_base_value does.
  828. 2008-12-08 Andrew Haley <aph@redhat.com>
  829. Kamaraju Kusumanchi <raju.mailinglists@gmail.com>
  830. * gimple.h (gimple_build_try): Fix declaration.
  831. * builtins.c (fold_builtin_sqrt): Don't use a conditional operator.
  832. * fixed-value.c (do_fixed_add): Likewise.
  833. * tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise.
  834. 2008-12-08 Jakub Jelinek <jakub@redhat.com>
  835. PR middle-end/36802
  836. * omp-low.c (use_pointer_for_field): Only call maybe_lookup_decl
  837. on parallel and task contexts.
  838. 2008-12-07 Eric Botcazou <ebotcazou@adacore.com>
  839. * gimple.c (recalculate_side_effects) <tcc_constant>: New case.
  840. 2008-12-07 Richard Guenther <rguenther@suse.de>
  841. PR tree-optimization/38405
  842. * tree-vrp.c (simplify_truth_ops_using_ranges): Make sure to
  843. not sign-extend truth values.
  844. 2008-12-07 Eric Botcazou <ebotcazou@adacore.com>
  845. * tree-sra.c (scalarize_use): Create another temporary with the proper
  846. type for signed types in the use_all && !is_output bitfield case.
  847. 2008-12-06 Steven Bosscher <steven@gcc.gnu.org>
  848. PR rtl-optimization/36365
  849. * df-core.c (df_worklist_dataflow_overeager): Remove.
  850. (df_worklist_dataflow): Don't call it, use double-queue only.
  851. * params.def (PARAM_DF_DOUBLE_QUQUQ_THRESHOLD_FACTOR): Remove.
  852. 2008-12-06 Jakub Jelinek <jakub@redhat.com>
  853. PR middle-end/38428
  854. * tree-ssa-operands.c (get_expr_operands) <case BIT_FIELD_REF>: Set
  855. gimple_set_has_volatile_ops if the BIT_FIELD_REF is volatile.
  856. 2008-12-07 Ben Elliston <bje@au.ibm.com>
  857. * gthr-single.h (__gthread_once): Adjust prototype to match all
  858. other gthreads models.
  859. 2008-12-06 Jakub Jelinek <jakub@redhat.com>
  860. * config/i386/i386.c (override_options): Use CPU_AMDFAM10
  861. instead of PROCESSOR_AMDFAM10 for barcelona's schedule.
  862. PR middle-end/38422
  863. * fold-const.c (fold_unary) <CASE_CONVERT>: Don't convert MULT_EXPR
  864. operands to mult_type if it isn't narrower than op0's type.
  865. 2008-12-06 Jan Hubicka <jh@suse.cz>
  866. Jakub Jelinek <jakub@redhat.com>
  867. PR tree-optimization/38074
  868. * cgraphbuild.c (compute_call_stmt_bb_frequency): Fix handling of 0
  869. entry frequency.
  870. * predict.c (combine_predictions_for_bb): Ignore predictor predicting
  871. in both dirrection for first match heuristics.
  872. (tree_bb_level_predictions): Disable noreturn heuristic when there
  873. is no returning path.
  874. 2008-12-05 Bernd Schmidt <bernd.schmidt@analog.com>
  875. PR rtl-optimization/38272
  876. * reload1.c (choose_reload_regs): Keep reload_spill_index correct
  877. in all cases.
  878. 2008-12-05 Jakub Jelinek <jakub@redhat.com>
  879. PR c++/35336
  880. * c-pretty-print.c (pp_c_postfix_expression): Handle BIT_FIELD_REF.
  881. (pp_c_expression): Likewise.
  882. 2008-12-05 Michael Meissner <meissner@linux.vnet.ibm.com>
  883. PR c/38416
  884. * c-parser.c (struct c_token): Make pragma_kind 8 bits.
  885. 2008-12-05 Jakub Jelinek <jakub@redhat.com>
  886. PR middle-end/37248
  887. * fold-const.c (make_bit_field_ref): Change bitpos and bitsize
  888. arguments to HOST_WIDE_INT. If type has different signedness
  889. than unsignedp or different precision from bitsize, create
  890. the right type for BIT_FIELD_REF and cast to type.
  891. (fold_truthop): Change first_bit and end_bit to HOST_WIDE_INT.
  892. Revert:
  893. 2008-03-05 Richard Guenther <rguenther@suse.de>
  894. PR c++/35336
  895. * fold-const.c (fold_truthop): Remove code generating
  896. BIT_FIELD_REFs of structure bases.
  897. (fold_binary): Likewise.
  898. (make_bit_field_ref): Remove.
  899. (optimize_bit_field_compare): Remove.
  900. (all_ones_mask_p): Remove.
  901. 2008-12-05 Jakub Jelinek <jakub@redhat.com>
  902. * tree-sra.c (sra_explode_bitfield_assignment): Always
  903. call unsigned_type_for, if the precision is higher than
  904. needed, call build_nonstandard_integer_type.
  905. PR debug/38367
  906. * function.c (assign_parm_find_stack_rtl): If promoted_mode
  907. is wider than DECL_MODE, adjust MEM_OFFSET (stack_parm) for
  908. big endian.
  909. PR middle-end/38338
  910. * builtins.c (expand_builtin_apply_args): Put before parm_birth_insn
  911. only if internal_arg_pointer is a non-virtual pseudo.
  912. 2008-12-05 Joseph Myers <joseph@codesourcery.com>
  913. * config/rs6000/rs6000.md (move_from_CR_gt_bit): Enable for
  914. TARGET_HARD_FLOAT && !TARGET_FPRS, not TARGET_E500.
  915. * config/rs6000/spe.md (e500_cr_ior_compare): Likewise.
  916. 2008-12-05 Jakub Jelinek <jakub@redhat.com>
  917. PR tree-optimization/37716
  918. * gimplify.c (gimplify_expr): Allow COND_EXPR if
  919. gimplify_ctxp->allow_rhs_cond_expr.
  920. 2008-12-05 Uros Bizjak <ubizjak@gmail.com>
  921. * config/alpha/alpha.c (alpha_fold_vector_minmax): Create
  922. VIEW_CONVERT_EXPR to convert output to long_integer_type_node.
  923. (alpha_emit_conditional_branch): Do not generate direct branch
  924. for UNORDERED comparisons.
  925. 2008-12-05 Andreas Schwab <schwab@suse.de>
  926. * config/rs6000/linux-unwind.h (frob_update_context): Check for
  927. NULL lr.
  928. 2008-12-05 Jakub Jelinek <jakub@redhat.com>
  929. PR c/38408
  930. * fold-const.c (fold_checksum_tree): Change buf type to union
  931. tree_node.
  932. 2008-12-05 Sebastian Pop <sebastian.pop@amd.com>
  933. PR bootstrap/38262
  934. * Makefile.in (LIBS): Remove GMPLIBS, CLOOGLIBS and PPLLIBS.
  935. (BACKENDLIBS): New.
  936. (cc1-dummy, cc1): Add BACKENDLIBS, remove GMPLIBS.
  937. 2008-12-05 Ben Elliston <bje@au.ibm.com>
  938. * c-parser.c (c_parser_enum_specifier): Initialise ident_loc and
  939. comma_loc.
  940. (c_parser_initelt): Initialise des_loc and ellipsis_loc.
  941. 2008-12-04 Eric Botcazou <ebotcazou@adacore.com>
  942. Gary Funck <gary@intrepid.com>
  943. * cse.c (lookup_as_function): Delete mode frobbing code.
  944. (equiv_constant): Re-implement it there for SUBREGs.
  945. 2008-12-04 Richard Guenther <rguenther@suse.de>
  946. PR middle-end/36509
  947. * Makefile.in (tree-ssa-alias-warnings.o): Remove.
  948. (tree-ssa-structalias.o): Remove errors.h dependency.
  949. (tree-ssa-reassoc.o): Likewise.
  950. * tree-ssa-reassoc.c: Do not include errors.h.
  951. * tree-ssa-alias-warnings.c: Remove.
  952. * tree-ssa-alias.c (compute_may_aliases): Remove call to
  953. strict_aliasing_warning_backend.
  954. * tree-ssa-structalias.c (emit_pointer_definition): New function.
  955. (emit_alias_warning): Likewise.
  956. (set_uids_in_ptset): Warn for clear cases of type-punning.
  957. * tree-inline.c (remap_gimple_op_r): Preserve TREE_NO_WARNING
  958. on INDIRECT_REFs.
  959. 2008-12-04 Eric Botcazou <ebotcazou@adacore.com>
  960. * cse.c (equiv_constant): Fix pasto.
  961. 2008-12-04 Nick Clifton <nickc@redhat.com>
  962. * config/stormy16/stormy16.md: Remove extraneous spaces and quotes.
  963. * config/stormy16/stormy16.c: Remove extraneous spaces and fix up
  964. formatting of quotes.
  965. 2008-12-04 Jakub Jelinek <jakub@redhat.com>
  966. PR middle-end/38371
  967. * fold-const.c (fold_checksum_tree): Allow modification of
  968. TYPE_NEXT_VARIANT.
  969. 2008-12-03 Jakub Jelinek <jakub@redhat.com>
  970. PR middle-end/38360
  971. * tree-ssa-ccp.c (ccp_fold_builtin): Bail out if the builtin doesn't
  972. have the right number of arguments.
  973. 2008-12-03 Richard Guenther <rguenther@suse.de>
  974. PR middle-end/36326
  975. * gimplify.c (is_gimple_mem_or_call_rhs): Remove work-around for
  976. non-BLKmode types.
  977. 2008-12-03 Tomas Bily <tbily@suse.cz>
  978. PR middle-end/38250
  979. * tree-loop-distribution.c (build_size_arg): New function.
  980. (generate_memset_zero): Checks if dr_analyze_innermost succeed.
  981. Reorganized generating of stmts.
  982. * testsuite/gcc.dg/tree-ssa/pr38250.c: New file.
  983. * tree-data-ref.c (dr_analyze_innermost): Returns bool.
  984. Indicate if analysis succeed.
  985. * tree-data-ref.h (dr_analyze_innermost): Returns bool.
  986. * tree-predcom.c (valid_initializer_p, find_looparound_phi):
  987. Uses new definition of dr_analyze_innermost.
  988. 2008-12-03 Ben Elliston <bje@au.ibm.com>
  989. * tree-ssa-pre.c (do_regular_insertion): Initialise edoubleprime.
  990. 2008-12-03 Jakub Jelinek <jakub@redhat.com>
  991. PR tree-optimization/37716
  992. * tree-sra.c (sra_build_assignment): For scalar bitfield SRC construct
  993. all the needed operations as trees and gimplify_assign it to dst.
  994. PR target/37610
  995. * configure.ac (gcc_cv_readelf): Look for readelf.
  996. (gcc_cv_as_cfi_advance_working): Check for working
  997. cfi advances with code alignment factor > 1.
  998. (HAVE_GAS_CFI_DIRECTIVE): Don't define if cfi advances
  999. don't work properly.
  1000. * configure: Regenerated.
  1001. 2008-12-03 Eric Botcazou <ebotcazou@adacore.com>
  1002. Jakub Jelinek <jakub@redhat.com>
  1003. Andrew Pinski <andrew_pinski@playstation.sony.com>
  1004. PR rtl-optimization/38281
  1005. * combine.c (distribute_notes): When invoking SET_INSN_DELETED on i2,
  1006. set it to NULL_RTX afterwards.
  1007. * emit-rtl.c (set_insn_deleted): Fix formatting.
  1008. 2008-12-02 Richard Sandiford <rdsandiford@googlemail.com>
  1009. * config/mips/mips.c (mips_expand_builtin): Fix the mode of the
  1010. error return value.
  1011. * config/mips/mips.md (IMOVE32): New mode iterator.
  1012. (movsi): Generalize with IMOVE32.
  1013. (*movsi_internal): Likewise.
  1014. (*mov<mode>_mips16): Likewise.
  1015. (*lwxs): Likewise.
  1016. 2008-12-02 Nathan Sidwell <nathan@codesourcery.com>
  1017. Maxim Kuvyrkov <maxim@codesourcery.com>
  1018. * config/m68k/lb1sf68.asm (PICCALL, PICJUMP): Use GOT instead of
  1019. PC-relative addressing when compiling for uclinux PIC.
  1020. (__cmpdf_internal, __cmpsf_internal): Hide.
  1021. (__cmpdf, __cmpsf): Use PIC call sequence.
  1022. 2008-12-02 Andreas Tobler <a.tobler@schweiz.org>
  1023. Jack Howarth <howarth@bromo.med.uc.edu>
  1024. * config/i386/t-darwin64: Add m32 multilib support.
  1025. 2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
  1026. * testsuite/gcc.dg/darwin-comm.c: Expand to darwin10 and later.
  1027. 2008-12-02 Jakub Jelinek <jakub@redhat.com>
  1028. PR middle-end/38343
  1029. * builtins.c (fold_builtin_memory_op): Convert len to sizetype
  1030. before using it in POINTER_PLUS_EXPR.
  1031. 2008-12-02 Richard Guenther <rguenther@suse.de>
  1032. PR tree-optimization/38359
  1033. * fold-const.c (fold_binary): Fold -1 >> x to -1 only for
  1034. non-negative x.
  1035. 2008-12-02 Martin Jambor <mjambor@suse.cz>
  1036. PR middle-end/37861
  1037. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do not check
  1038. for INDIRECT_REFs.
  1039. (forward_propagate_addr_into_variable_array_index): Check that the
  1040. offset is not computed from a MULT_EXPR, use is_gimple_assign rather
  1041. than the gimple code directly.
  1042. 2008-12-02 Ben Elliston <bje@au.ibm.com>
  1043. * config/spu/float_disf.c (__floatdisf): Prototype.
  1044. * config/spu/float_unsdisf.c (__float_undisf): Likewise.
  1045. * config/spu/float_unssidf.c (__float_unssidf): Constify cast.
  1046. * config/spu/float_unsdidf.c (__float_unsdidf): Likewise.
  1047. 2008-12-02 DJ Delorie <dj@redhat.com>
  1048. * config/stormy16/stormy16.h (INCOMING_FRAME_SP_OFFSET): Negate.
  1049. (DWARF_CIE_DATA_ALIGNMENT): Define.
  1050. * config/stormy16/stormy16.c (xstormy16_compute_stack_layout):
  1051. Invert add/sub for INCOMING_FRAME_SP_OFFSET.
  1052. (xstormy16_expand_prologue): Likewise.
  1053. (xstormy16_expand_builtin_va_start): Likewise.
  1054. (xstormy16_gimplify_va_arg_expr): Likewise.
  1055. 2008-12-02 Jakub Jelinek <jakub@redhat.com>
  1056. PR middle-end/38343
  1057. * builtins.c (expand_builtin_mempcpy_args): Handle COMPOUND_EXPRs
  1058. potentially returned from folding memcpy.
  1059. (expand_builtin_stpcpy_args): Similarly for folding strcpy.
  1060. (fold_builtin_2): Handle BUILT_IN_STPCPY if result is ignored.
  1061. 2008-12-02 Danny Smith <dannysmith@users.sourceforge.net>
  1062. PR target/38054
  1063. * config/i386/winnt.c (i386_pe_encode_section_info): Condition stdcall
  1064. decoration of function RTL names here on Ada language.
  1065. 2008-12-01 Vladimir Makarov <vmakarov@redhat.com>
  1066. PR rtl-optimization/38280
  1067. * ira-build.c (loop_is_inside_p, regno_allocno_order_compare_func,
  1068. ira_rebuild_regno_allocno_list): New functions.
  1069. (regno_allocnos): New static variable.
  1070. (remove_unnecessary_allocnos): Allocate/deallocate regno_allocnos.
  1071. Call ira_rebuild_regno_allocno_list.
  1072. 2008-12-01 David Daney <ddaney@caviumnetworks.com>
  1073. Adam Nemet <anemet@caviumnetworks.com>
  1074. * config/mips/linux64.h (DRIVER_SELF_SPECS): Add
  1075. LINUX_DRIVER_SELF_SPECS.
  1076. 2008-12-01 Vladimir Makarov <vmakarov@redhat.com>
  1077. PR rtl-optimization/37514
  1078. * reload1.c (reload_as_needed): Invalidate reg_last_reload
  1079. from previous insns.
  1080. 2008-12-01 Jakub Jelinek <jakub@redhat.com>
  1081. PR c++/38348
  1082. * c-omp.c (c_finish_omp_for): Only transform pointer
  1083. ++ or -- into MODIFY_EXPR if second argument is non-NULL.
  1084. PR rtl-optimization/38245
  1085. * tree-vrp.c (abs_extent_range): New function.
  1086. (extract_range_from_binary_expr): Compute range
  1087. for *_DIV_EXPR even if vr1 is VR_VARYING, VR_ANTI_RANGE
  1088. or includes zero or if vr1 is VR_RANGE and op0 has some
  1089. other range.
  1090. 2008-12-01 Uros Bizjak <ubizjak@gmail.com>
  1091. PR middle-end/37908
  1092. * config/alpha/alpha.c (alpha_split_atomic_op): Properly handle NAND
  1093. case by calculating ~(new_reg & val) instead of (~new_reg & val).
  1094. * config/alpha/sync.md (sync_nand<mode>): Change insn RTX
  1095. to (not:I48MODE (and:I48MODE (...))).
  1096. (sync_old_nand<mode>): Ditto.
  1097. (sync_new_nand<mode>): Ditto.
  1098. 2008-12-01 Nick Clifton <nickc@redhat.com>
  1099. * config/stormy16/stormy16.md (CARRY_REG): New constant.
  1100. Replace uses of the "y" register class with direct references to
  1101. the CARRY_REG register.
  1102. * config/stormy16/stormy16.c: Replace clobbers of a BImode scratch
  1103. register with clobbers of the carry register.
  1104. (xstormy16_secondary_reload_class): Do not return CARRY_REGS.
  1105. (xstormy16_split_cbranch): Remove redundant carry parameter.
  1106. (xstormy16_expand_arith): Likewise.
  1107. * config/stormy16/stormy16.h (enum reg_class): Remove CARRY_REGS.
  1108. (IRA_COVER_CLASSES, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
  1109. REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
  1110. (CARRY_REGNUM): Define.
  1111. * config/stormy16/stormy16-protos.h (xstormy16_split_cbranch):
  1112. Update prototype.
  1113. (xstormy16_expand_arith): Likewise.
  1114. 2008-12-01 Chen Liqin <liqin.chen@sunplusct.com>
  1115. * config/score/score.h (IRA_COVER_CLASSES): Define.
  1116. 2008-11-30 Eric Botcazou <ebotcazou@adacore.com>
  1117. PR target/38287
  1118. * config/sparc/sparc.md (divsi3 expander): Remove constraints.
  1119. (divsi3_sp32): Add new alternative with 'K' for operand #2.
  1120. (cmp_sdiv_cc_set): Factor common string.
  1121. (udivsi3_sp32): Add new alternative with 'K' for operand #2.
  1122. Add TARGET_V9 case.
  1123. (cmp_udiv_cc_set): Factor common string.
  1124. 2008-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1125. PR middle-end/38283
  1126. * varasm.c (emutls_finish): Fix common registration.
  1127. 2008-11-29 Jakub Jelinek <jakub@redhat.com>
  1128. PR target/29987
  1129. * config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine.
  1130. 2008-11-29 David Edelsohn <edelsohn@gnu.org>
  1131. * config/rs6000/rs6000.c (rs6000_emit_sync): Remove support for
  1132. operand wrapped in NOT. Emit NAND as (ior (not X) (not Y)).
  1133. (rs6000_split_atomic_op): Emit NAND as (ior (not X) (not Y)).
  1134. * config/rs6000/sync.md (sync_nand<mode>): Represent NAND in RTL.
  1135. Call rs6000_emit_sync with CODE=NOT and unmodified operands.
  1136. Ignore sub-word case for now.
  1137. (sync_nand<mode>_internal): Represent NAND in RTL.
  1138. (sync_old_nand<mode): Same.
  1139. (sync_old_name<mode>_internal): Same.
  1140. (sync_new_nand<mode>): Same.
  1141. (sync_new_nand<mode>_internal): Same.
  1142. (sync_boolcshort_internal): Expect NAND.
  1143. 2008-11-28 Richard Guenther <rguenther@suse.de>
  1144. PR tree-optimization/37955
  1145. PR tree-optimization/37742
  1146. * tree-vect-transform.c (vectorizable_store): Remove assert for
  1147. compatible aliases.
  1148. (vectorizable_load): Likewise.
  1149. 2008-11-27 Richard Guenther <rguenther@suse.de>
  1150. * tree-ssa-structalias.c (intra_create_variable_infos): Make
  1151. a constraint for the static chain parameter.
  1152. 2008-11-27 Bernd Schmidt <bernd.schmidt@analog.com>
  1153. * config/bfin/bfin.opt (micplb): New option.
  1154. * config/bfin/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Set it.
  1155. * config/bfin/bfin-protos.h (WA_INDIRECT_CALLS,
  1156. ENABLE_WA_INDIRECT_CALLS): New macros.
  1157. * config/bfin/bfin.c (bfin_cpus): Add WA_INDIRECT_CALLS to
  1158. all 54x CPUs.
  1159. (indirect_call_p): New function.
  1160. (workaround_speculation): Handle anomaly 05-00-0426 when
  1161. ENABLE_WA_INDIRECT_CALLS is true.
  1162. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
  1163. __WORKAROUND_INDIRECT_CALLS if ENABLE_WA_INDIRECT_CALLS.
  1164. * doc/invoke.texi (Blackfin Options): Document -micplb.
  1165. 2008-11-26 DJ Delorie <dj@redhat.com>
  1166. * config/m32c/mov.md ("extendhipsi2"): New.
  1167. * config/m32c/bitops.md (bset_qi): Add memsym_operand predicate.
  1168. * config/m32c/bitops.md (andhi3_24, iorhi3_24): Don't prefer HL class.
  1169. * config/m32c/mov.md (zero_extendqihi2): Likewise.
  1170. 2008-11-26 Adam Nemet <anemet@caviumnetworks.com>
  1171. * config/mips/mips.md (clear_hazard): Rename to
  1172. clear_hazard_<mode>. Use mode-specific addition.
  1173. (clear_cache): Rename gen_clear_hazard to gen_clear_hazard_si
  1174. or gen_clear_hazard_di depending on the size of Pmode.
  1175. 2008-11-26 DJ Delorie <dj@redhat.com>
  1176. * configure.ac: Test m32c-elf-gas for .loc.
  1177. * configure: Likewise.
  1178. 2008-11-26 Janis Johnson <janis187@us.ibm.com>
  1179. PR testsuite/28870
  1180. * doc/sourcebuild.texi (Test Directives): Add dg-timeout and
  1181. dg-timeout-factor.
  1182. 2008-11-26 Uros Bizjak <ubizjak@gmail.com>
  1183. * config/i386/sync.md (memory_barrier_nosse): Disable also for
  1184. TARGET_64BIT. Remove special asm template for TARGET_64BIT case.
  1185. (memory_barrier): Do not generate memory_barrier_nosse instruction
  1186. for TARGET_64BIT.
  1187. * config/i386/sse.md (*sse2_mfence): Also enable for TARGET_64BIT.
  1188. 2008-11-26 Fredrik Unger <fred@tree.se>
  1189. * config/soft-fp/floatuntisf.c (__floatuntisf): Correct
  1190. function name from __floatundisf.
  1191. * config/soft-fp/fixdfti.c (__fixdfti): Correct argument type to
  1192. DFtype.
  1193. 2008-11-25 Daniel Berlin <dberlin@dberlin.org>
  1194. Richard Guenther <rguenther@suse.de>
  1195. PR tree-optimization/37869
  1196. * tree-ssa-structalias.c (struct constraint_graph): Remove
  1197. pt_used and number_incoming members.
  1198. (build_pred_graph): Do not allocate them.
  1199. (condense_visit): Do not use them.
  1200. (label_visit): Likewise.
  1201. (free_var_substitution_info): Do not free them.
  1202. 2008-11-25 Vladimir Makarov <vmakarov@redhat.com>
  1203. * doc/invoke.texi (ira-max-loops-num): Change semantics.
  1204. * ira-int.h (struct ira_loop_tree_node): New member to_remove_p.
  1205. * ira-color.c (allocno_spill_priority): New function.
  1206. (remove_allocno_from_bucket_and_push, push_allocno_to_spill):
  1207. Print more info about the spilled allocno.
  1208. (push_allocnos_to_stack): Use allocno_spill_priority. Add more
  1209. checks on bad spill.
  1210. * ira-build.c (loop_node_to_be_removed_p): Remove.
  1211. (loop_compare_func, mark_loops_for_removal): New functions.
  1212. (remove_uneccesary_loop_nodes_from_loop_t): Use member
  1213. to_remove_p.
  1214. (remove_unnecessary_allocnos): Call mark_loops_for_removal.
  1215. * ira.c (ira): Don't change flag_ira_algorithm.
  1216. * params.def (ira-max-loops-num): Change the value.
  1217. 2008-11-25 Maxim Kuvyrkov <maxim@codesourcery.com>
  1218. * config/m68k/m68k.md (extendsidi2, extendsidi2_mem): Merge, clean up.
  1219. Disable unsupported alternative for ColdFire,
  1220. add new alternative that ColdFire can handle.
  1221. 2008-11-25 Eric Botcazou <ebotcazou@adacore.com>
  1222. * regrename.c (merge_overlapping_regs): Add registers artificially
  1223. defined at the top of the basic block to the set of live ones just
  1224. before the first insn.
  1225. 2008-11-25 H.J. Lu <hongjiu.lu@intel.com>
  1226. Joey Ye <joey.ye@intel.com>
  1227. PR middle-end/37843
  1228. * config/i386/i386.c (ix86_function_ok_for_sibcall): Return
  1229. false if we need to align the outgoing stack.
  1230. (ix86_update_stack_boundary): Check parm_stack_boundary.
  1231. 2008-11-25 Richard Guenther <rguenther@suse.de>
  1232. PR middle-end/38151
  1233. PR middle-end/38236
  1234. * tree-ssa-alias.c (struct alias_info): Remove written_vars.
  1235. Remove dereferenced_ptrs_store and dereferenced_ptrs_load
  1236. in favor of dereferenced_ptrs.
  1237. (init_alias_info): Adjust.
  1238. (delete_alias_info): Likewise.
  1239. (compute_flow_insensitive_aliasing): Properly
  1240. include all aliased variables.
  1241. (update_alias_info_1): Use dereferenced_ptrs.
  1242. (setup_pointers_and_addressables): Likewise.
  1243. (get_smt_for): Honor ref-all pointers and pointers with known alias
  1244. set properly.
  1245. * config/i386/i386.c (ix86_gimplify_va_arg): Use ref-all pointers.
  1246. 2008-11-25 Uros Bizjak <ubizjak@gmail.com>
  1247. PR target/38254
  1248. * config/i386/sync.md (memory_barrier_nosse): New insn pattern.
  1249. (memory_barrier): Generate memory_barrier_nosse insn for !TARGET_SSE2.
  1250. 2008-11-24 Maxim Kuvyrkov <maxim@codesourcery.com>
  1251. * config/m68k/m68k.md (cmpdi): Use (scratch) instead of pseudo.
  1252. 2008-11-24 Richard Sandiford <rdsandiford@googlemail.com>
  1253. * config/mips/mips.h (ASM_OUTPUT_DEBUG_LABEL): Define.
  1254. 2008-11-24 Maxim Kuvyrkov <maxim@codesourcery.com>
  1255. PR target/35018
  1256. * config/m68k/m68k.md (ok_for_coldfire, enabled): New attributes.
  1257. (addsi_lshrsi_31): Add ColdFire-friendly alternatives.
  1258. 2008-11-24 Uros Bizjak <ubizjak@gmail.com>
  1259. * config/i386/i386.md (UNSPECV_CMPXCHG): Rename from
  1260. UNSPECV_CMPXCHG_[12].
  1261. * config/i386/sync.md: Use UNSPECV_CMPXCHG instead of
  1262. UNSPECV_CMPXCHG_[12].
  1263. PR target/36793
  1264. * config/i386/sync.md (memory_barrier): New expander.
  1265. 2008-11-24 Jakub Jelinek <jakub@redhat.com>
  1266. PR middle-end/37135
  1267. * dse.c (find_shift_sequence): Optimize extraction from a constant.
  1268. 2008-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1269. * pa.c (function_arg): Revert 2008-10-26 change.
  1270. 2008-11-23 Helge Deller <deller@gmx.de>
  1271. * pa/linux-atomic.c (EBUSY): Define if not _LP64.
  1272. (__kernel_cmpxchg): Return -EBUSY if the kernel LWS call
  1273. succeeded and lws_ret is not equal to oldval.
  1274. 2008-11-23 Kaz Kojima <kkojima@gcc.gnu.org>
  1275. * config/sh/sh.md (consttable_4): Call mark_symbol_refs_as_used.
  1276. 2008-11-22 Andreas Schwab <schwab@suse.de>
  1277. * varasm.c (default_file_start): Suppress ASM_APP_OFF also with
  1278. -dA and -dP.
  1279. 2008-11-22 Adam Nemet <anemet@caviumnetworks.com>
  1280. * config/mips/mips.md (rdhwr): Rename to rdhwr_synci_step_<mode>.
  1281. Use constant 1 as the operand.
  1282. * config/mips/mips.c (mips_expand_synci_loop): Make INC Pmode.
  1283. Rename gen_rdhwr to gen_rdhwr_synci_step_si or
  1284. gen_rdhwr_synci_step_di depending on the size of Pmode.
  1285. 2008-11-22 Uros Bizjak <ubizjak@gmail.com>
  1286. PR target/38222
  1287. * config/i386/i386.md (SWI248): New mode iterator.
  1288. (SWI32): Remove mode iterator.
  1289. (popcount<mode>2): Rename from popcounthi2, popcountsi2 and
  1290. popcounthi2 insn patterns. Macroize pattern using SWI248 mode
  1291. iterator. Generate popcnt mnemonic without mode extensions
  1292. for Darwin x86 targets.
  1293. (*popcount<mode>2_cmp): Ditto.
  1294. (*popcountsi2_cmp_zext): Generate popcnt mnemonic without mode
  1295. extensions for Darwin x86 targets.
  1296. 2008-11-22 Eric Botcazou <ebotcazou@adacore.com>
  1297. * config/sparc/sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define
  1298. only if HAVE_AS_SPARC_UA_PCREL is defined.
  1299. 2008-11-22 Richard Sandiford <rdsandiford@googlemail.com>
  1300. * ira-costs.c (find_allocno_class_costs): Work out the maximum
  1301. allocno_costs value of the classees with the lowest total_costs
  1302. value. Use this to set ALLOCNO_COVER_CLASS_COST here...
  1303. (setup_allocno_cover_class_and_costs): ...rather than here.
  1304. Use the ALLOCNO_COVER_CLASS_COST for all registers in the
  1305. preferred class.
  1306. 2008-11-22 Jakub Jelinek <jakub@redhat.com>
  1307. PR middle-end/37323
  1308. * builtins.c (expand_builtin_apply_args): Emit sequence before
  1309. parm_birth_insn instead of after entry_of_function's first insn.
  1310. PR middle-end/37316
  1311. * function.c (assign_parm_remove_parallels): Pass
  1312. data->passed_type as third argument to emit_group_store.
  1313. PR target/37170
  1314. * final.c (mark_symbol_refs_as_used): New function.
  1315. * output.h (mark_symbol_refs_as_used): New prototype.
  1316. * config/s390/s390.c (s390_mark_symbol_ref_as_used): Removed.
  1317. (s390_output_pool_entry): Use mark_symbol_refs_as_used.
  1318. * config/arm/arm.md (consttable_4): Likewise.
  1319. PR target/37880
  1320. * doc/invoke.texi: Adjust wording of -mcmodel=medium description.
  1321. 2008-11-21 Jakub Jelinek <jakub@redhat.com>
  1322. PR middle-end/38200
  1323. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only
  1324. propagate x = &a into *x = b if conversion from b to a's type is
  1325. useless.
  1326. 2008-11-21 Eric Botcazou <ebotcazou@adacore.com>
  1327. * caller-save.c (insert_one_insn): Take into account REG_INC notes
  1328. for the liveness computation of the new insn.
  1329. 2008-11-21 DJ Delorie <dj@redhat.com>
  1330. * config/stormy16/stormy16.md (movqi_internal, movhi_internal):
  1331. Moves to/from below100 space (W) can only use r0-r7.
  1332. 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
  1333. PR other/38214
  1334. * doc/invoke.texi (Optimization Options): Fix typo.
  1335. 2008-11-21 H.J. Lu <hongjiu.lu@intel.com>
  1336. Xuepeng Guo <xuepeng.guo@intel.com>
  1337. * config.gcc (extra_headers): For x86 and x86-64, remove
  1338. gmmintrin.h, add immintrin.h and avxintrin.h.
  1339. * config/i386/gmmintrin.h: Renamed to ...
  1340. * config/i386/avxintrin.h: This. Issue an error if
  1341. _IMMINTRIN_H_INCLUDED is undedined.
  1342. * config/i386/immintrin.h: New.
  1343. 2008-11-21 Jakub Jelinek <jakub@redhat.com>
  1344. PR target/38208
  1345. * reload1.c (eliminate_regs_in_insn): For trunc_int_for_mode use
  1346. mode of PLUS, not mode of the eliminated register.
  1347. 2008-11-21 Uros Bizjak <ubizjak@gmail.com>
  1348. * config/i386/mmx.md (mmx_nand<mode>3): Rename to mmx_andnot<mode>3.
  1349. * config/i386/sse.md (avx_nand<mode>3): Rename to avx_andnot<mode>3.
  1350. (<sse>_nand<mode>3): Rename to <sse>_andnot<mode>3.
  1351. (sse2_nand<mode>3): Rename to sse2_andnot<mode>3.
  1352. (*sse_nand<mode>3): Rename to *sse_andnot<mode>3.
  1353. (*avx_nand<mode>3): Rename to *avx_andnot<mode>3.
  1354. (*nand<mode>3): Rename to *andnot<mode>3.
  1355. (*nandtf3): rename to *andnottf3.
  1356. * config/i386/i386.c (bdesc_args) [IX86_BUILTIN_PANDN]:
  1357. Use CODE_FOR_mmx_andnotv2si3.
  1358. [IX86_BUILTIN_ANDNPS]: Use CODE_FOR_sse_andnotv4sf3.
  1359. [IX86_BUILTIN_ANDNPD]: Use CODE_FOR_sse2_andnotv2df3.
  1360. [IX86_BUILTIN_PANDN128]: Use CODE_FOR_sse2_andnotv2di3.
  1361. [IX86_BUILTIN_ANDNPS256]: Use CODE_FOR_avx_andnotv8sf3.
  1362. [IX86_BUILTIN_ANDNPD256]: Use CODE_FOR_avx_andnotv4df3.
  1363. 2008-11-21 Uros Bizjak <ubizjak@gmail.com>
  1364. PR middle-end/37908
  1365. * config/ia64/ia64.c (ia64_expand_atomic_op): Properly handle NAND
  1366. case by calculating ~(new_reg & val) instead of (~new_reg & val).
  1367. * config/ia64/sync.md (sync_nand<mode>): Change insn RTX
  1368. to (not:IMODE (and:IMODE (...))).
  1369. (sync_old_nand<mode>): Ditto.
  1370. (sync_new_nand<mode>): Ditto.
  1371. 2008-11-20 Joseph Myers <joseph@codesourcery.com>
  1372. * config/arm/thumb2.md (thumb2_casesi_internal,
  1373. thumb2_casesi_internal_pic): Use earlyclobber for scratch operand 4.
  1374. 2008-11-20 Andreas Krebbel <krebbel1@de.ibm.com>
  1375. * gcc/config/s390/s390.c (s390_expand_atomic): Adjust QI/HI atomic
  1376. nand to the changed 4.4 semantic.
  1377. 2008-11-20 Jakub Jelinek <jakub@redhat.com>
  1378. PR middle-end/29215
  1379. * builtins.c (SLOW_UNALIGNED_ACCESS): Define if not defined.
  1380. (fold_builtin_memory_op): Handle even the case where just one
  1381. of src and dest is an address of a var decl component, using
  1382. TYPE_REF_CAN_ALIAS_ALL pointers. Remove is_gimple_min_invariant
  1383. and readonly_data_expr src check.
  1384. * tree-ssa-sccvn.c (DFS): Use clear_and_done_ssa_iter to shut
  1385. up warnings.
  1386. PR rtl-optimization/36998
  1387. * dwarf2out.c (stack_adjust_offset): Add cur_args_size and cur_offset
  1388. arguments. Handle sp = reg and (set (foo) (mem (pre_inc (reg sp)))).
  1389. (compute_barrier_args_size_1, dwarf2out_frame_debug_expr): Adjust
  1390. stack_adjust_offset callers.
  1391. (dwarf2out_stack_adjust): Likewise. Handle insns in annulled
  1392. branches properly.
  1393. (compute_barrier_args_size): Handle insns in annulled branches
  1394. properly.
  1395. 2008-11-20 Uros Bizjak <ubizjak@gmail.com>
  1396. PR target/38151
  1397. * config/i386/i386.c (classify_argument) [integer mode size <= 64bit]:
  1398. Handle cases when integer argument crosses argument register boundary.
  1399. 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1400. PR bootstrap/33100
  1401. * config.gcc (i[34567]86-*-solaris2*): Don't include
  1402. i386/t-crtstuff here.
  1403. Move extra_parts, i386/t-sol2 in tmake_file to libgcc/config.host.
  1404. * config/i386/t-sol2: Move to libgcc/config/i386.
  1405. 2008-11-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
  1406. PR driver/21706
  1407. * tlink.c: Include "libiberty.h".
  1408. (initial_cwd): Change type into char *.
  1409. (tlink_init): Call getpwd instead of getcwd.
  1410. 2008-11-19 Zdenek Dvorak <ook@ucw.cz>
  1411. PR rtl-optimization/32283
  1412. * tree-ssa-loop-niter.c (scev_probably_wraps_p): Use type of the base
  1413. of the induction variable to decide whether it may wrap.
  1414. * tree-ssa-loop-ivopts.c (rewrite_use_compare): Emit the
  1415. initialization of the bound before the loop.
  1416. * simplify-rtx.c (simplify_binary_operation_1): Add two
  1417. simplifications regarding AND.
  1418. (simplify_plus_minus): Only fail if no simplification is possible.
  1419. * loop-iv.c (simple_rhs_p): Consider reg + reg and reg << cst simple.
  1420. 2008-11-20 Jakub Jelinek <jakub@redhat.com>
  1421. PR c++/36631
  1422. * gimplify.c (gimplify_call_expr): Defer most of the cannot inline
  1423. checking until GIMPLE lowering.
  1424. * gimple-low.c (check_call_args): New function.
  1425. (lower_stmt) <case GIMPLE_CALL>: Call it.
  1426. 2008-11-19 Adam Nemet <anemet@caviumnetworks.com>
  1427. * config/mips/mips.c (mips_gimplify_va_arg_expr): Use -rsize
  1428. with the same type as the first operand of the AND expression.
  1429. 2008-11-19 Vladimir Makarov <vmakarov@redhat.com>
  1430. PR bootstrap/37859
  1431. * ira-int.h (struct ira_loop_tree_node): New member
  1432. entered_from_non_parent_p.
  1433. * ira-color.c (print_loop_title): Print loop bbs.
  1434. * ira-emit.c (entered_from_non_parent_p,
  1435. setup_entered_from_non_parent_p): New functions.
  1436. (not_modified_p): Rename to store_can_be_removed_p. Check there
  1437. is no side entries.
  1438. (generate_edge_moves): Use store_can_be_removed_p instead of
  1439. not_modified_p.
  1440. (ira_emit): Call setup_entered_from_non_parent_p.
  1441. * ira-build.c (copy_info_to_removed_store_destinations):
  1442. Accumulate CALL_FREQ, CALL_CROSSED_NUM, and
  1443. ALLOCNO_EXCESS_PRESSURE_POINTS_NUM.
  1444. (ira_flattening): Don't CHECK MEM_OPTIMIZED_DEST[_P], always
  1445. update all accumulated attributes.
  1446. 2008-11-19 Vladimir Makarov <vmakarov@redhat.com>
  1447. PR bootstrap/37790
  1448. * ira-int.h (ira_copy_allocno_live_range_list,
  1449. ira_merge_allocno_live_ranges, ira_allocno_live_ranges_intersect_p,
  1450. ira_finish_allocno_live_range_list): New prototypes.
  1451. (ira_allocno_live_ranges_intersect_p,
  1452. ira_pseudo_live_ranges_intersect_p): Remove.
  1453. * ira-conflicts.c (ira_allocno_live_ranges_intersect_p,
  1454. ira_pseudo_live_ranges_intersect_p): Rename to
  1455. allocnos_have_intersected_live_ranges_p and
  1456. pseudos_have_intersected_live_ranges_p. Move them from here to ...
  1457. * ira-color.c: ... here
  1458. (coalesced_allocno_conflict_p): Use
  1459. allocnos_have_intersected_live_ranges_p.
  1460. (coalesced_allocnos_living_at_program_points,
  1461. coalesced_allocnos_live_at_points_p,
  1462. set_coalesced_allocnos_live_points): Remove.
  1463. (slot_coalesced_allocnos_live_ranges,
  1464. slot_coalesced_allocno_live_ranges_intersect_p,
  1465. setup_slot_coalesced_allocno_live_ranges): New.
  1466. (coalesce_spill_slots): Use ranges of coalesced allocnos.
  1467. (ira_sort_regnos_for_alter_reg): Use
  1468. allocnos_have_intersected_live_ranges_p.
  1469. (ira_reuse_stack_slot): Use
  1470. pseudos_have_intersected_live_ranges_p.
  1471. * global.c (pseudo_for_reload_consideration_p): Check
  1472. flag_ira_share_spill_slots too.
  1473. * ira-build.c (copy_allocno_live_range_list): Rename to
  1474. ira_copy_allocno_live_range_list. Make it external.
  1475. (merge_ranges): Rename to ira_merge_allocno_live_ranges. Make it
  1476. external.
  1477. (ira_allocno_live_ranges_intersect_p): New.
  1478. (ira_finish_allocno_live_range_list): New.
  1479. (finish_allocno): Use it.
  1480. (remove_unnecessary_allocnos): Use ira_merge_allocno_live_ranges.
  1481. (copy_info_to_removed_store_destinations): Ditto. Use
  1482. ira_copy_allocno_live_range_list.
  1483. (ira_flattening): Use ira_merge_allocno_live_ranges.
  1484. * ira.c (too_high_register_pressure_p): New function.
  1485. (ira): Switch off sharing spill slots if the pressure is too high.
  1486. 2008-11-19 Richard Guenther <rguenther@suse.de>
  1487. * tree.c (build2_stat): Allow non-POINTER_PLUS_EXPRs with
  1488. non-sizetype offsets if their precision matches that of the pointer.
  1489. * expr.c (expand_expr_real_1): Always sign-extend the offset
  1490. operand of a POINTER_PLUS_EXPR.
  1491. 2008-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1492. * config.gcc: Unobsolete mips-sgi-irix[56]*.
  1493. (mips-sgi-irix[56]*): No need to use fixproto.
  1494. 2008-11-19 Maxim Kuvyrkov <maxim@codesourcery.com>
  1495. Paul Brook <paul@codesourcery.com>
  1496. * config/m68k/lb1sf68.asm: Add GNU-stack annotation to avoid
  1497. executable stack.
  1498. 2008-11-19 Maxim Kuvyrkov <maxim@codesourcery.com>
  1499. * config/m68k/m68k.c (sched_attr_op_type): Handle all CONSTs.
  1500. 2008-11-19 Razya Ladelsky <razya@il.ibm.com>
  1501. PR target/38156
  1502. * tree-parloops.c (loop_parallel_p): NULL vect_dump.
  1503. (separate_decls_in_region): Create shared struct even when there
  1504. are only reductions.
  1505. 2008-11-19 Hariharan Sandanagobalane <hariharan@picochip.com>
  1506. * config/picochip/picochip.c (headers): Remove an unnecessary
  1507. header file.
  1508. 2008-11-19 Andrew Stubbs <ams@codesourcery.com>
  1509. PR target/36133
  1510. * config/m68k/m68k.h (CC_OVERFLOW_UNUSABLE, CC_NO_CARRY): New defines.
  1511. * config/m68k/m68k.c (notice_update_cc): Set cc_status properly for
  1512. shift instructions.
  1513. * config/m68k/m68k.md: Adjust all conditional branches that use the
  1514. carry and overflow flags so they understand CC_OVERFLOW_UNUSABLE.
  1515. 2008-11-18 Uros Bizjak <ubizjak@gmail.com>
  1516. PR target/37362
  1517. * config/mips/mips.md (move_doubleword_fpr<mode>): Check that "high"
  1518. is a register or zero operand in the correct mode before generating
  1519. mtch1 insn or a register operand in the correct mode before generating
  1520. mfch1 insn.
  1521. (mtch1<mode>): Correct operand 1 predicate to reg_or_0_operand.
  1522. 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
  1523. * config.gcc (mips*-sde-elf*): Handle mipsisa64r2*.
  1524. (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add new cases to
  1525. mipsisa*-*-elf*. Handle mipsisa64r2*.
  1526. * config/mips/sde.h (LINK_SPEC): Handle -mips64r2.
  1527. * config/mips/t-isa3264 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add
  1528. mips64r2.
  1529. (MULTILIB_EXCLUSIONS): Add mips64r2/mfp64.
  1530. * config/mips/t-sde (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add
  1531. mips64r2.
  1532. (MULTILIB_EXCLUSIONS): Add mips64r2/mfp64. Add mips64r2/mips16.
  1533. Fix mips16 if mips64 or mips64r2 are multilib defaults.
  1534. * config/mips/t-sdemtk (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add
  1535. mips64r2.
  1536. 2008-11-18 Jakub Jelinek <jakub@redhat.com>
  1537. PR target/38130
  1538. * config/i386/i386.md (allocate_stack_worker_32,
  1539. allocate_stack_worker_64): Don't use match_dup between input and
  1540. output operand.
  1541. (allocate_stack): Adjust gen_stack_worker_{32,64} caller.
  1542. * config/i386/i386.c (ix86_expand_prologue): Likewise.
  1543. 2008-11-18 Kai Tietz <kai.tietz@onevision.com>
  1544. * config/i386/t-cygming (SHLIB_LINK): Make sure that $(SHLIB_MAP).def
  1545. is forced when trying to do a symbol link for it.
  1546. 2008-11-17 Adam Nemet <anemet@caviumnetworks.com>
  1547. * expmed.c (extract_bit_field_1): Also use a temporary and
  1548. convert_extracted_bit_field when the conversion from ext_mode to
  1549. the target mode requires explicit truncation.
  1550. 2008-11-17 Richard Sandiford <rdsandiford@googlemail.com>
  1551. * config/mips/mips.h (REG_ALLOC_ORDER): Put accumulators first.
  1552. Tweak formatting.
  1553. * config/mips/mips.c (mips_ira_cover_classes): Don't use accumulator
  1554. registers when not optimizing.
  1555. 2008-11-17 Richard Sandiford <rdsandiford@googlemail.com>
  1556. * config/mips/mips.md (*mul_acc_si): Remove middle alternative
  1557. and its associated define_split. Expose the all-d alternative
  1558. to the register allocator, but mark it with "?". Mark the first
  1559. alternative with "*?*?".
  1560. (*mul_sub_si): Likewise.
  1561. (*mul_acc_si_r3900): New pattern.
  1562. 2008-11-17 Jakub Jelinek <jakub@redhat.com>
  1563. PR middle-end/38140
  1564. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): If
  1565. propagating x = &a into *x = b, add a cast if not useless
  1566. type conversion or don't optimize if another stmt would be
  1567. needed.
  1568. 2008-11-17 Uros Bizjak <ubizjak@gmail.com>
  1569. PR middle-end/37908
  1570. * optabs.c (expand_sync_operation): Properly handle NAND case
  1571. by calculating ~(t1 & val) instead of (~t1 & val).
  1572. * builtins.c (expand_builtin_sync_operation): Warn for changed
  1573. semantics in NAND builtins.
  1574. * c.opt (Wsync-nand): New warning option. Describe -Wsync-nand.
  1575. * doc/invoke.texi (Warning options): Add Wsync-nand.
  1576. * doc/extend.texi (Atomic Builtins) [__sync_fetch_and_nand]: Correct
  1577. __sync_fetch_and_nand builtin operation in the example. Add a note
  1578. about changed semantics in GCC 4.4.
  1579. [__sync_nand_and_fetch]: Correct __sync_nand_and_fetch builtin
  1580. operation in the example. Add a note about changed semantics in
  1581. GCC 4.4.
  1582. 2008-11-16 Jan Hubicka <jh@suse.cz>
  1583. * cgraph.c (cgraph_function_body_availability): Fix test of externally
  1584. visible.
  1585. 2008-11-16 Joshua Kinard <kumba@gentoo.org>
  1586. * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Map -march=r1[0246]000
  1587. to -mips4.
  1588. 2008-11-16 Richard Sandiford <rdsandiford@googlemail.com>
  1589. PR target/38052
  1590. * config/mips/mips.c (mips_cfun_call_saved_reg_p)
  1591. (mips_cfun_might_clobber_call_saved_reg_p): New functions,
  1592. split out from...
  1593. (mips_save_reg_p): ...here. Always consult TARGET_CALL_SAVED_GP
  1594. rather than call_really_used_regs when handling $gp.
  1595. 2008-11-16 Richard Sandiford <rdsandiford@googlemail.com>
  1596. PR target/38052
  1597. * config/mips/mips.c (machine_function): Update the comment
  1598. above global_pointer.
  1599. (mips_global_pointer): Use INVALID_REGNUM rather than 0 to indicate
  1600. that a function doesn't need a global pointer.
  1601. (mips_current_loadgp_style): Update accordingly.
  1602. (mips_restore_gp): Likewise.
  1603. (mips_output_cplocal): Likewise.
  1604. (mips_expand_prologue): Likewise.
  1605. 2008-11-16 Eric Botcazou <ebotcazou@adacore.com>
  1606. * config/sparc/sparc.c (function_arg_vector_value): Remove 'base_mode'
  1607. parameter. Use DImode for computing the number of registers.
  1608. (function_arg): Adjust for above change.
  1609. (function_value): Likewise.
  1610. 2008-11-15 Zdenek Dvorak <ook@ucw.cz>
  1611. PR tree-optimization/37950
  1612. * tree-flow-inline.h (memory_partition): Return NULL when aliases were
  1613. not computed for the current function.
  1614. 2008-11-15 Jakub Jelinek <jakub@redhat.com>
  1615. PR target/38123
  1616. * config/i386/i386.c (ix86_gimplify_va_arg): Don't share valist between
  1617. gpr and other COMPONENT_REFs.
  1618. 2008-11-15 Richard Guenther <rguenther@suse.de>
  1619. PR tree-optimization/38051
  1620. * tree-ssa-alias.c (update_alias_info_1): Manually find
  1621. written variables.
  1622. 2008-11-15 Joshua Kinard <kumba@gentoo.org>
  1623. * doc/invoke.texi (-mfix-r10000): Document.
  1624. * config/mips/mips.opt (mfix-r10000): New option.
  1625. * config/mips/mips-protos.h (mips_output_sync_loop): Declare.
  1626. * config/mips/mips.h (MIPS_COMPARE_AND_SWAP): Use %?.
  1627. (MIPS_COMPARE_AND_SWAP_12): Likewise.
  1628. (MIPS_SYNC_OP): Likewise.
  1629. (MIPS_SYNC_OP_12): Likewise.
  1630. (MIPS_SYNC_OLD_OP_12): Likewise.
  1631. (MIPS_SYNC_NEW_OP_12): Likewise.
  1632. (MIPS_SYNC_OLD_OP): Likewise.
  1633. (MIPS_SYNC_NAND): Likewise.
  1634. (MIPS_SYNC_OLD_NAND): Likewise.
  1635. (MIPS_SYNC_EXCHANGE): Likewise.
  1636. (MIPS_SYNC_EXCHANGE_12): Likewise.
  1637. (MIPS_SYNC_NEW_OP): Likewise, using %~ to fill branch-likely
  1638. delay slots.
  1639. (MIPS_SYNC_NEW_NAND): Likewise.
  1640. * config/mips/mips.c (mips_print_operand_punctuation): Handle '~'.
  1641. (mips_init_print_operand_punct): Treat '~' as a punctuation character.
  1642. (mips_output_sync_loop): New function.
  1643. (mips_override_options): Make -march=r10000 imply -mfix-r10000.
  1644. Make -mfix-r10000 require branch-likely instructions.
  1645. * config/mips/sync.md (sync_compare_and_swap<mode>): Use
  1646. mips_output_sync_loop.
  1647. (compare_and_swap_12): Likewise.
  1648. (sync_add<mode>): Likewise.
  1649. (sync_<optab>_12): Likewise.
  1650. (sync_old_<optab>_12): Likewise.
  1651. (sync_new_<optab>_12): Likewise.
  1652. (sync_nand_12): Likewise.
  1653. (sync_old_nand_12): Likewise.
  1654. (sync_new_nand_12): Likewise.
  1655. (sync_sub<mode>): Likewise.
  1656. (sync_old_add<mode>): Likewise.
  1657. (sync_old_sub<mode>): Likewise.
  1658. (sync_new_add<mode>): Likewise.
  1659. (sync_new_sub<mode>): Likewise.
  1660. (sync_<optab><mode>): Likewise.
  1661. (sync_old_<optab><mode>): Likewise.
  1662. (sync_new_<optab><mode>): Likewise.
  1663. (sync_nand<mode>): Likewise.
  1664. (sync_old_nand<mode>): Likewise.
  1665. (sync_new_nand<mode>): Likewise.
  1666. (sync_lock_test_and_set<mode>): Likewise.
  1667. (test_and_set_12): Likewise.
  1668. 2008-11-15 Eric Botcazou <ebotcazou@adacore.com>
  1669. * gcc.c (cc1_options): Fix comment.
  1670. 2008-11-15 Jakub Jelinek <jakub@redhat.com>
  1671. PR c++/37561
  1672. * c-typeck.c (build_unary_op): Don't call get_unwidened. Use
  1673. argtype instead of result_type.
  1674. 2008-11-14 Adam Nemet <anemet@caviumnetworks.com>
  1675. * ira-int.h (struct ira_loop_tree_node): Improve comments for
  1676. subloop_next/next and subloops/childen fields.
  1677. 2008-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  1678. * config/spu/spu-elf.h (STANDARD_STARTFILE_PREFIX_2): Disable default.
  1679. (STANDARD_INCLUDE_DIR): Redefine to "/include".
  1680. (LOCAL_INCLUDE_DIR): Undefine.
  1681. * config/spu/t-spu-elf (NATIVE_SYSTEM_HEADER_DIR): Define.
  1682. 2008-11-14 Vladimir Makarov <vmakarov@redhat.com>
  1683. PR rtl-optimization/37397
  1684. * ira-int.h (struct ira_allocno): New member bad_spill_p.
  1685. (ALLOCNO_BAD_SPILL_P): New macro.
  1686. * ira-color.c (push_allocnos_to_stack): Check ALLOCNO_BAD_SPILL_P.
  1687. * ira-build.c (ira_create_allocno): Initialize ALLOCNO_BAD_SPILL_P.
  1688. (create_cap_allocno, propagate_allocno_info,
  1689. remove_unnecessary_allocnos): Set up or update ALLOCNO_BAD_SPILL_P.
  1690. (update_bad_spill_attribute): New function.
  1691. (ira_build): Call it.
  1692. * ira-costs.c (record_reg_classes): Set up ALLOCNO_BAD_SPILL_P.
  1693. 2008-11-14 Jakub Jelinek <jakub@redhat.com>
  1694. PR tree-optimization/38104
  1695. * gimplify.c (gimple_regimplify_operands): Add referenced vars
  1696. before calling mark_symbols_for_renaming, not after it.
  1697. 2008-11-14 Kaz Kojima <kkojima@gcc.gnu.org>
  1698. * config/sh/sh.h (OPTIMIZATION_OPTIONS): Revert last change.
  1699. (OVERRIDE_OPTIONS): Likewise.
  1700. 2008-11-14 Maxim Kuvyrkov <maxim@codesourcery.com>
  1701. Andrew Stubbs <ams@codesourcery.com>
  1702. Gunnar Von Boehn <gunnar@genesi-usa.com>
  1703. PR target/36134
  1704. * config/m68k/m68k.md (addsi3_5200): Add a new alternative preferring
  1705. the shorter LEA insn over ADD.L where possible.
  1706. 2008-11-14 Thomas Schwinge <tschwinge@gnu.org>
  1707. * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd
  1708. systems, which are assumend to always provide SSP-support in glibc.
  1709. Also consider GNU/kFreeBSD, GNU/kNetBSD systems in the `*-*-linux*'
  1710. case.
  1711. * configure: Regenerate.
  1712. 2008-11-14 Jakub Jelinek <jakub@redhat.com>
  1713. PR middle-end/36125
  1714. * function.c (gimplify_parameters): For callee copies parameters,
  1715. move TREE_ADDRESSABLE flag from the PARM_DECL to the local copy.
  1716. 2008-11-13 Thomas Schwinge <tschwinge@gnu.org>
  1717. PR target/28102
  1718. * config.gcc (*-*-gnu*): Move Alpha parts into the `alpha*-*-gnu*',
  1719. x86 parts into the `i[34567]86-*-linux*' and parts that are
  1720. independent of the processor architecture into the `*-*-linux*' cases.
  1721. (*-*-linux*): Consider `linux.opt' only for Linux-based configurations.
  1722. * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Redefine.
  1723. (TARGET_OS_CPP_BUILTINS, LINK_SPEC): Don't redefine.
  1724. [TARGET_LIBC_PROVIDES_SSP] (TARGET_THREAD_SSP_OFFSET): Undefine.
  1725. * config/gnu.h (NO_IMPLICIT_EXTERN_C): Don't redefine.
  1726. (HURD_TARGET_OS_CPP_BUILTINS): Don't define, but instead...
  1727. (LINUX_TARGET_OS_CPP_BUILTINS): Redefine.
  1728. 2008-11-13 Ruan Beihong <ruanbeihong@gmail.com>
  1729. * config/mips/loongson.md (<u>div<mode>3, <u>mod<mode>3): New patterns.
  1730. * config/mips/loongson2ef.md (ls2_imult): Handle imul3nc.
  1731. (ls2_idiv): Likewise idiv3.
  1732. (ls2_prefetch): New reservation.
  1733. * config/mips/mips.h (ISA_HAS_PREFETCH): Add TARGET_LOONGSON_2EF.
  1734. * config/mips/mips.md (type): Add imul3nc and idiv3.
  1735. (length): Handle idiv3.
  1736. (any_mod): New code_iterator.
  1737. (u): Handle MOD and UMOD.
  1738. (mul<mode>3): Generate mul<mode>3_mul3_ls2ef on Loongson targets.
  1739. (prefetch): Handle TARGET_LOONGSON_2EF.
  1740. 2008-11-13 Jakub Jelinek <jakub@redhat.com>
  1741. PR c++/27017
  1742. * dwarf2out.c (prune_unused_types_walk_local_classes): New function.
  1743. (prune_unused_types_walk): Call it for non-perennial local classes.
  1744. Set die_mark to 2 if recursing on children. If die_mark is 1 on
  1745. entry, just set it to 2 and recurse on children, don't walk attributes
  1746. again.
  1747. 2008-11-13 Martin Michlmayr <tbm@cyrius.com>
  1748. * c-common.c (warn_about_parentheses): Add missing whitespace
  1749. in warning.
  1750. 2008-11-13 Paul Brook <paul@codesourcery.com>
  1751. * doc/invoke.texi: Document --fix-cortex-m3.
  1752. * config/arm/arm.c (arm_override_options): Set fix_cm3_ldrd if
  1753. Cortex-M3 cpu is selected.
  1754. (output_move_double): Avoid overlapping base register and first
  1755. destination register when fix_cm3_ldrd.
  1756. * config/arm/arm.opt: Add mfix-cortex-m3-ldrd.
  1757. 2008-11-13 Jakub Jelinek <jakub@redhat.com>
  1758. PR bootstrap/38100
  1759. * gimple.h (gimple_range_check_failed): Remove prototype.
  1760. * gimple.c (gimple_check_failed): Don't check GCC_VERSION
  1761. in guarding #if.
  1762. (gimple_range_check_failed): Removed.
  1763. 2008-11-13 Andrew Haley <aph@redhat.com>
  1764. PR bootstrap/38088
  1765. * mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific
  1766. __LONG_LONG_MAX__.
  1767. 2008-11-12 Jakub Jelinek <jakub@redhat.com>
  1768. PR c++/36478
  1769. Revert:
  1770. 2007-05-07 Mike Stump <mrs@apple.com>
  1771. * doc/invoke.texi (Warning Options): Document that -Wempty-body
  1772. also checks for and while statements in C++.
  1773. 2008-11-12 Dodji Seketeli <dodji@redhat.com>
  1774. PR debug/27574
  1775. * cgraph.h: New abstract_and_needed member to struct cgraph_node.
  1776. * cgraphunit.c (cgraph_analyze_functions): Flag abstract functions
  1777. - which clones are reachable - as "abstract and needed".
  1778. * cgraph.c (cgraph_release_function_body): If a node is
  1779. "abstract and needed", do not release its DECL_INITIAL() content
  1780. that will be needed to emit debug info.
  1781. 2008-11-12 Steve Ellcey <sje@cup.hp.com>
  1782. PR target/27880
  1783. * configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Use this macro
  1784. to set HAVE_GETIPINFO.
  1785. * aclocal.m4: Include ../config/unwind_ipinfo.m4.
  1786. * configure: Regenerate.
  1787. * config.in: Regenerate.
  1788. 2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu>
  1789. PR bootstrap/38010
  1790. * gcc/config.gcc: Use darwin9.h on darwin10 as well.
  1791. 2008-11-12 Jakub Jelinek <jakub@redhat.com>
  1792. Revert:
  1793. 2008-10-21 Jakub Jelinek <jakub@redhat.com>
  1794. * gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs.
  1795. 2008-11-12 Jason Merrill <jason@redhat.com>
  1796. PR c++/38007
  1797. * c-common.c (c_common_signed_or_unsigned_type): Remove C++
  1798. special casing.
  1799. 2008-11-12 Anatoly Sokolov <aesok@post.ru>
  1800. * config/avr/avr.c (avr_mcu_t): Add atmega16hvb, atmega32hvb,
  1801. atmega4hvd, atmega8hvd, atmega64c1, atmega64m1, atmega16u4 and
  1802. atmega32u6 devices.
  1803. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
  1804. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
  1805. 2008-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  1806. * gcc/config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Remove
  1807. packed-stack special handling.
  1808. (FRAME_ADDR_RTX): Add definition.
  1809. 2008-11-12 Jakub Jelinek <jakub@redhat.com>
  1810. PR target/35366
  1811. * fold-const.c (native_encode_string): New function.
  1812. (native_encode_expr): Use it for STRING_CST.
  1813. 2008-11-12 DJ Delorie <dj@redhat.com>
  1814. * config/m32c/cond.md (cond_to_int peephole2): Don't eliminate the
  1815. insns if the intermediate value will be used later.
  1816. 2008-11-12 Andreas Schwab <schwab@suse.de>
  1817. * config/m68k/m68k.c (print_operand): Mask off extra extension
  1818. bits when writing out the representation of real values.
  1819. 2008-11-12 Ira Rosen <irar@il.ibm.com>
  1820. PR tree-optimization/38079
  1821. * tree-vect-analyze.c (vect_analyze_data_refs): Replace dump_file
  1822. with vect_dump.
  1823. 2008-11-12 Jakub Jelinek <jakub@redhat.com>
  1824. PR c++/35334
  1825. * c-pretty-print.c (pp_c_complex_expr): New function.
  1826. (pp_c_postfix_expression) <case COMPLEX_EXPR>: Call it.
  1827. PR target/35366
  1828. * expr.c (expand_expr_addr_expr_1): If EXP needs bigger alignment
  1829. than INNER and INNER is a constant, forcibly align INNER as much
  1830. as needed.
  1831. 2008-11-11 Richard Sandiford <rdsandiford@googlemail.com>
  1832. * cse.c (fold_rtx): Remove redundant gen_rtx_CONST.
  1833. 2008-11-11 Richard Sandiford <rdsandiford@googlemail.com>
  1834. PR rtl-optimization/37363
  1835. * simplify-rtx.c (simplify_plus_minus): Don't create
  1836. (const (minus ...)) expresisons.
  1837. 2008-11-11 Eric Botcazou <ebotcazou@adacore.com>
  1838. * ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO
  1839. handling.
  1840. 2008-11-10 Catherine Moore <clm@codesourcery.com>
  1841. * config.gcc (mips64vrel-*-elf*): Include the tm_file
  1842. prior to vr.h.
  1843. * config/mips/linux.h (LINUX_DRIVER_SELF_SPECS): New.
  1844. (BASE_DRIVER_SELF_SPECS): Remove.
  1845. (DRIVER_SELF_SPECS): New definition.
  1846. * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Include
  1847. BASE_DRIVER_SELF_SPECS.
  1848. * config/mips/sde.h: Likewise.
  1849. * config/mips/iris6.h: Likewise.
  1850. * config/mips/vr.h: Likewise.
  1851. * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): New.
  1852. 2008-11-10 Vladimir Makarov <vmakarov@redhat.com>
  1853. PR rtl-optimizations/37948
  1854. * ira-int.h (struct ira_allocno_copy): New member constraint_p.
  1855. (ira_create_copy, ira_add_allocno_copy): New parameter.
  1856. * ira-conflicts.c (process_regs_for_copy): New parameter. Pass it
  1857. to ira_add_allocno_copy.
  1858. (process_reg_shuffles, add_insn_allocno_copies): Pass a new
  1859. parameter to process_regs_for_copy.
  1860. (propagate_copies): Pass a new parameter to ira_add_allocno_copy.
  1861. Fix typo in passing second allocno to ira_add_allocno_copy.
  1862. * ira-color.c (update_conflict_hard_regno_costs): Use head of
  1863. coalesced allocnos list.
  1864. (assign_hard_reg): Ditto. Check that assigned allocnos are not in
  1865. the graph.
  1866. (add_ira_allocno_to_bucket): Rename to add_allocno_to_bucket.
  1867. (add_ira_allocno_to_ordered_bucket): Rename to
  1868. add_allocno_to_ordered_bucket.
  1869. (push_ira_allocno_to_stack): Rename to push_allocno_to_stack. Use
  1870. head of coalesced allocnos list.
  1871. (push_allocnos_to_stack): Remove calculation of ALLOCNO_TEMP.
  1872. Check that it is aready calculated.
  1873. (push_ira_allocno_to_spill): Rename to push_ira_allocno_to_spill.
  1874. (setup_allocno_left_conflicts_num): Use head of coalesced allocnos
  1875. list.
  1876. (coalesce_allocnos): Do extended coalescing too.
  1877. * ira-emit.c (add_range_and_copies_from_move_list): Pass a new
  1878. parameter to ira_add_allocno_copy.
  1879. * ira-build.c (ira_create_copy, ira_add_allocno_copy): Add a new
  1880. parameter.
  1881. (print_copy): Print copy origination too.
  1882. * ira-costs.c (scan_one_insn): Use alloc_pref for load from
  1883. equivalent memory.
  1884. 2008-11-10 Kaz Kojima <kkojima@gcc.gnu.org>
  1885. PR rtl-optimization/37514
  1886. * config/sh/sh.h (OPTIMIZATION_OPTIONS): Set
  1887. flag_ira_share_spill_slots to 2 if it's already non-zero.
  1888. (OVERRIDE_OPTIONS): Clear flag_ira_share_spill_slots if
  1889. flag_ira_share_spill_slots is 2.
  1890. 2008-11-10 Kevin Buettner <kevinb@redhat.com>
  1891. * config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2.
  1892. (prologue_enter_32): Set FB to SP - 4.
  1893. 2008-11-10 DJ Delorie <dj@redhat.com>
  1894. * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add ImB
  1895. constraint for single-bit-clear in lower byte of HI constant, vs
  1896. Imb which just ignores the upper byte.
  1897. * config/m32c/predicates.md (m32c_1mask8_operand): Use it.
  1898. * config/m32c/bitops.md (andhi3_16, andhi3_24): Use it.
  1899. (iorhi3_16): Check for single bit set, not single bit clear.
  1900. 2008-11-10 Janis Johnson <janis187@us.ibm.com>
  1901. * doc/sourcebuild.texi (Torture Tests): Fix formatting for bullets.
  1902. * doc/sourcebuild.texi (Torture Tests): Fix formatting in example.
  1903. 2008-11-10 Eric Botcazou <ebotcazou@adacore.com>
  1904. * calls.c (store_unaligned_arguments_into_pseudos): Deal only with
  1905. values living in memory and use more precise alignment information.
  1906. 2008-11-10 Jakub Jelinek <jakub@redhat.com>
  1907. PR middle-end/35314
  1908. * tree-mudflap.c (mf_build_check_statement_for): Split then_block
  1909. after __mf_check call if the call must end a bb.
  1910. 2008-11-10 Ralph Loader <suckfish@ihug.co.nz>
  1911. PR middle-end/37807
  1912. PR middle-end/37809
  1913. * combine.c (force_to_mode): Do not process vector types.
  1914. * rtlanal.c (nonzero_bits1): Do not process vector types.
  1915. (num_sign_bit_copies1): Likewise.
  1916. 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
  1917. * config/i386/gnu.h: Add copyright and licensing header.
  1918. * config/gnu.h: Likewise.
  1919. 2008-11-07 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1920. * fwprop.c (fwprop_done): Call df_remove_problem.
  1921. 2008-11-07 Sebastian Pop <sebastian.pop@amd.com>
  1922. PR middle-end/37379
  1923. * tree-scalar-evolution.c (instantiate_scev_1): Return
  1924. chrec_dont_know for VL_EXP_CLASS_P.
  1925. 2008-11-06 Uros Bizjak <ubizjak@gmail.com>
  1926. * reg-stack.c (reg_to_stack): Add missing braces in memset
  1927. size calculation.
  1928. 2008-11-06 Andrew Stubbs <ams@codesourcery.com>
  1929. * config/arm/bpabi.h (PROFILE_HOOK): New undef.
  1930. (NO_PROFILE_COUNTERS): New define.
  1931. 2008-11-06 David Edelsohn <edelsohn@gnu.org>
  1932. PR target/26397
  1933. * config/rs6000/aix.h (LIBSTDCXX_STATIC): Define.
  1934. 2008-11-06 Kazu Hirata <kazu@codesourcery.com>
  1935. PR target/35574
  1936. * config/sparc/constraints.md (D): New.
  1937. * config/sparc/predicates.md (const_double_or_vector_operand): New.
  1938. * config/sparc/sparc.c (sparc_extra_constraint_check): Handle the
  1939. 'D' constraint.
  1940. * config/sparc/sparc.md (*movdf_insn_sp32_v9, *movdf_insn_sp64):
  1941. Use the 'D' constraint in addition to 'F' in some alternatives.
  1942. (DF splitter): Generalize for V64mode.
  1943. * doc/md.texi (SPARC): Document the 'D' constraint.
  1944. 2008-11-06 Uros Bizjak <ubizjak@gmail.com>
  1945. * reg-stack.c (reg_to_stack): Generate +QNaN using real_nan.
  1946. 2008-11-06 Ben Elliston <bje@au.ibm.com>
  1947. * gcc.c: Remove ancient comment about a bug in Sun cc.
  1948. 2008-11-05 Janis Johnson <janis187@us.ibm.com>
  1949. * doc/sourcebuild.texi (Torture Tests): Add ADDITIONAL_TORTURE_OPTIONS.
  1950. 2008-11-06 Ben Elliston <bje@au.ibm.com>
  1951. * config/rs6000/rs6000.c (rs6000_override_options): Comment fix.
  1952. 2008-11-06 Ben Elliston <bje@au.ibm.com>
  1953. * config/rs6000/rs6000.opt (mwarn-cell-microcode): Improve option
  1954. description.
  1955. 2008-11-05 Hans-Peter Nilsson <hp@axis.com>
  1956. PR target/38016
  1957. * config/cris/cris.c (cris_order_for_addsi3): Test for !REG_P, not
  1958. just MEM_P.
  1959. 2008-11-05 Martin Jambor <mjambor@suse.cz>
  1960. PR middle-end/37861
  1961. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't turn
  1962. pointer arithmetics into array_ref if the array is accessed
  1963. through an indirect_ref.
  1964. 2008-11-05 Richard Guenther <rguenther@suse.de>
  1965. PR middle-end/37742
  1966. * tree-ssa.c (useless_type_conversion_p_1): Check different restrict
  1967. qualified pointer conversion before stripping qualifiers.
  1968. * gimplify.c (create_tmp_from_val): Use correctly qualified type.
  1969. * tree-flow.h (may_propagate_address_into_dereference): Declare.
  1970. * tree-ssa-ccp.c (may_propagate_address_into_dereference): New
  1971. function.
  1972. (ccp_fold): Use it.
  1973. * tree-ssa-forwprop.c (rhs_to_tree): Remove useless conversions,
  1974. properly canonicalize binary ops.
  1975. (forward_propagate_addr_expr_1): Use
  1976. may_propagate_address_into_dereference.
  1977. 2008-11-05 Uros Bizjak <ubizjak@gmail.com>
  1978. PR middle-end/37286
  1979. * reg-stack.c (subst_stack_regs_pat) [MINUS, DIV, MULT, PLUS]:
  1980. Initialize uninitialized input registers with a NaN.
  1981. 2008-11-05 Tobias Grosser <grosser@fim.uni-passau.de>
  1982. PR middle-end/37833
  1983. * graphite.c (scan_tree_for_params): Add POINTER_PLUS_EXPR.
  1984. 2008-11-05 Tobias Grosser <grosser@fim.uni-passau.de>
  1985. PR middle-end/37943
  1986. * graphite.c (scopdet_basic_block_info): Fix loops with multiple
  1987. exits and conditions.
  1988. * testsuite/gcc.dg/graphite/pr37943.c: New.
  1989. 2008-11-04 Jakub Jelinek <jakub@redhat.com>
  1990. Andrew Pinski <andrew_pinski@playstation.sony.com>
  1991. PR c/35430
  1992. * c-common.c (warn_for_sign_compare): For complex result_type
  1993. use component's type.
  1994. 2008-11-04 Jakub Jelinek <jakuB@redhat.com>
  1995. * print-tree.c (print_node): Use code instead of TREE_CODE (node).
  1996. * print-tree.c (print_node): Don't print DECL_INITIAL
  1997. for PARM_DECL.
  1998. PR c/37106
  1999. * c-common.c (parse_optimize_options): Save and restore
  2000. flag_strict_aliasing around decode_options call.
  2001. 2008-11-04 Uros Bizjak <ubizjak@gmail.com>
  2002. * config/i386/driver-i386.c (enum vendor_signatures): New enum.
  2003. (host_detect_local_cpu): Use it instead of casted strings to
  2004. compare vendor signatures.
  2005. 2008-11-03 Mikael Pettersson <mikpe@it.uu.se>
  2006. PR target/37989
  2007. * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Only add libgcc_s.a
  2008. or libgcc_eh.a to spec if ENABLE_SHARED_LIBGCC.
  2009. 2008-11-03 Catherine Moore <clm@codesourcery.com>
  2010. * config/mips.c (mips_conditional_register_usage): Handle the
  2011. DSP control register.
  2012. * doc/extend.texi: Document the DSP control register.
  2013. 2008-11-03 Steve Ellcey <sje@cup.hp.com>
  2014. Jakub Jelinek <jakub@redhat.com>
  2015. * omp-low.c (expand_omp_for_generic): If iter_type has different
  2016. precision than type and type is a pointer type, cast n1 and n2
  2017. first to an integer type with the same precision as pointers
  2018. and only afterwards to iter_type.
  2019. 2008-11-03 Richard Sandiford <rdsandiford@googlemail.com>
  2020. * config/arm/arm.md (UNSPEC_PIC_BASE): Update documentation.
  2021. (UNSPEC_GOTSYM_OFF): New unspec.
  2022. (pic_add_dot_plus_four): Simplify the UNSPEC_PIC_BASE operands.
  2023. (pic_add_dot_plus_eight): Likewise.
  2024. (tls_load_dot_plus_eight): Likewise. Update peephole2.
  2025. * config/arm/thumb2.md (pic_load_dot_plus_four): Simplify the
  2026. UNSPEC_PIC_BASE operands.
  2027. * config/arm/arm.c (arm_load_pic_register): Use UNSPEC_GOTSYM_OFF.
  2028. (arm_output_addr_const_extra): Handle it.
  2029. 2008-11-03 Eric Botcazou <ebotcazou@adacore.com>
  2030. * config/i386/i386.c (classify_argument) <ARRAY_TYPE>: Promote partial
  2031. integer class to full integer class if the offset is not word-aligned.
  2032. 2008-11-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
  2033. PR rtl-opt/37782
  2034. * loop-doloop.c (doloop_modify): Add from_mode argument that says what
  2035. mode count is in.
  2036. (doloop_optimize): Update call to doloop_modify.
  2037. 2008-11-03 Eric Botcazou <ebotcazou@adacore.com>
  2038. * tree-sra.c (bitfield_overlaps_p): Fix oversight.
  2039. 2008-11-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2040. PR other/37463
  2041. * configure.ac (gcc_cv_ld_ro_rw_mix): Move before
  2042. gcc_cv_as_cfi_directive.
  2043. (gcc_cv_as_cfi_directive) [*-*-solaris*]: Check if linker supports
  2044. merging read-only and read-write sections or assembler emits
  2045. read-write .eh_frame sections.
  2046. * configure: Regenerate.
  2047. 2008-11-03 Nathan Froyd <froydnj@codesourcery.com>
  2048. Revert:
  2049. 2008-10-31 Nathan Froyd <froydnj@codesourcery.com>
  2050. * config/rs6000/rs6000.c (no_global_regs_above): Fix precedence
  2051. problem.
  2052. (rs6000_emit_prologue): Invert logic.
  2053. * config/rs6000/rs6000.md (*save_gpregs_<mode>): Use explicit
  2054. (reg:P 11) instead of match_operand.
  2055. (*save_fpregs_<mode>): Likewise.
  2056. (*restore_gpregs_<mode>): Likewise.
  2057. (*return_and_restore_gpregs_<mode>): Likewise.
  2058. (*return_and_restore_fpregs_<mode>): Likewise.
  2059. * config/rs6000/spe.md (*save_gpregs_spe): Use explicit
  2060. (reg:P 11) insted of match_operand.
  2061. (*restore_gpregs_spe): Likewise.
  2062. (*return_and_restore_gpregs_spe): Likewise.
  2063. 2008-11-03 Harsha Jagasia <harsha.jagasia@amd.com>
  2064. PR tree-optimization/37684
  2065. * gcc.dg/graphite/pr37684.c: New.
  2066. * graphite.c (exclude_component_ref): New.
  2067. (is_simple_operand): Call exclude_component_ref.
  2068. 2008-11-03 Sebastian Pop <sebastian.pop@amd.com>
  2069. PR tree-optimization/36908
  2070. * testsuite/gcc.dg/tree-ssa/pr36908.c: New.
  2071. * tree-loop-distribution.c (number_of_rw_in_rdg): New.
  2072. (number_of_rw_in_partition): New.
  2073. (partition_contains_all_rw): New.
  2074. (ldist_gen): Do not distribute when one of the partitions
  2075. contains all the memory operations.
  2076. 2008-11-03 Sebastian Pop <sebastian.pop@amd.com>
  2077. * cfghooks.c (split_block): Set BB_IRREDUCIBLE_LOOP and
  2078. EDGE_IRREDUCIBLE_LOOP.
  2079. 2008-11-03 Bernd Schmidt <bernd.schmidt@analog.com>
  2080. * config/bfin/bfin.c (bfin_optimize_loop): Properly handle case
  2081. where we have one entry point in the loop which isn't the head.
  2082. 2008-11-03 Richard Guenther <rguenther@suse.de>
  2083. PR middle-end/37573
  2084. * tree-data-ref.c (split_constant_offset_1): Fix tuplification.
  2085. 2008-11-03 Jakub Jelinek <jakub@redhat.com>
  2086. PR middle-end/37858
  2087. * passes.c (execute_one_pass): Don't look at cfun->curr_properties
  2088. for ipa and simple ipa passes.
  2089. 2008-11-02 Richard Guenther <rguenther@suse.de>
  2090. PR tree-optimization/37542
  2091. * tree-ssa-pre.c (fully_constant_expression): Handle more cases.
  2092. * tree-ssa-sccvn.c (vn_get_expr_for): Fix typo.
  2093. (vn_nary_op_lookup_stmt): Adjust for unary reference trees.
  2094. (vn_nary_op_insert_stmt): Likewise.
  2095. (visit_use): Likewise.
  2096. 2008-11-02 Anatoly Sokolov <aesok@post.ru>
  2097. * config/avr/avr.md (UNSPEC_SWAP): Remove constants.
  2098. (*swap): Remove.
  2099. (rotlqi3, *rotlqi3_4, rotlhi3, *rotlhi3_8,
  2100. rotlsi3, *rotlsi3_8, *rotlsi3_16, *rotlsi3_24): New patterns.
  2101. (ashlqi3_const4, ashlqi3_const5, ashlqi3_const6, ashlqi3_l_const4,
  2102. ashlqi3_l_const5, ashlqi3_l_const6, lshrqi3_const4, lshrqi3_const5,
  2103. lshrqi3_const6, lshrqi3_l_const4, lshrqi3_l_const4, lshrqi3_l_const6
  2104. peephole2's): Replace unspec with rotate.
  2105. * config/avr/avr.c (avr_rtx_costs): Add ROTATE.
  2106. 2008-11-02 Richard Guenther <rguenther@suse.de>
  2107. PR tree-optimization/37991
  2108. * tree-ssa-sccvn.h (copy_vuses_from_stmt): Remove.
  2109. * tree-ssa-sccvn.c (copy_vuses_from_stmt): Make static.
  2110. (set_ssa_val_to): Print if the value changed.
  2111. (simplify_binary_expression): Strip useless conversions.
  2112. 2008-11-01 Hans-Peter Nilsson <hp@axis.com>
  2113. PR target/37939
  2114. * config/cris/cris.c (cris_rtx_costs) <MULT>: Return 0 for an ADDI
  2115. operand.
  2116. 2008-11-01 Richard Guenther <rguenther@suse.de>
  2117. PR middle-end/37976
  2118. * builtins.c (fold_builtin_strspn): Return a size_t.
  2119. (fold_builtin_strcspn): Likewise.
  2120. 2008-10-31 Nathan Froyd <froydnj@codesourcery.com>
  2121. * config/rs6000/rs6000.c (rs6000_file_start): Output gnu
  2122. attribute for struct return convention.
  2123. 2008-10-31 Nathan Froyd <froydnj@codesourcery.com>
  2124. * config/rs6000/crtsavres.asm: Really, really delete.
  2125. 2008-10-31 Nathan Froyd <froydnj@codesourcery.com>
  2126. * config/rs6000/rs6000.c (no_global_regs_above): Fix precedence
  2127. problem.
  2128. (rs6000_emit_prologue): Invert logic.
  2129. * config/rs6000/rs6000.md (*save_gpregs_<mode>): Use explicit
  2130. (reg:P 11) instead of match_operand.
  2131. (*save_fpregs_<mode>): Likewise.
  2132. (*restore_gpregs_<mode>): Likewise.
  2133. (*return_and_restore_gpregs_<mode>): Likewise.
  2134. (*return_and_restore_fpregs_<mode>): Likewise.
  2135. * config/rs6000/spe.md (*save_gpregs_spe): Use explicit
  2136. (reg:P 11) insted of match_operand.
  2137. (*restore_gpregs_spe): Likewise.
  2138. (*return_and_restore_gpregs_spe): Likewise.
  2139. 2008-10-28 Luis Machado <luisgpm@br.ibm.com>
  2140. * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add "dumpbase" to the
  2141. list of word switches that take args.
  2142. 2008-10-30 Jakub Jelinek <jakub@redhat.com>
  2143. * config/s390/s390.c (s390_mark_symbol_ref_as_used): New function.
  2144. (s390_output_pool_entry): Call it through for_each_rtx.
  2145. PR middle-end/37730
  2146. * expr.c (store_constructor): For vectors, if target is a MEM, use
  2147. target's MEM_ALIAS_SET instead of elttype alias set.
  2148. 2008-10-29 Kaz Kojima <kkojima@gcc.gnu.org>
  2149. PR target/37909
  2150. * config/sh/sh.c (untangle_mova): Return -1 when NEW_MOVA has
  2151. no address.
  2152. 2008-10-29 David Edelsohn <edelsohn@gnu.org>
  2153. PR target/37878
  2154. * config/rs6000/predicates.md (word_offset_memref_operand):
  2155. Restructure code and look inside auto-inc/dec addresses.
  2156. 2008-10-29 Steve Ellcey <sje@cup.hp.com>
  2157. PR target/32277
  2158. * libgcov.c (__gcov_indirect_call_profiler): Check
  2159. TARGET_VTABLE_USES_DESCRIPTORS.
  2160. 2008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com>
  2161. * config/spu/spu.h (FRAME_GROWS_DOWNWARD): Define.
  2162. (INITIAL_FRAME_POINTER_OFFSET): Remove.
  2163. * config/spu/spu.c (spu_initial_elimination_offset): Calculate new
  2164. offset if eliminating soft frame pointer.
  2165. * config/spu/spu.md (stack_protect_set, stack_protect_test)
  2166. (stack_protect_test_si): Add initial machine description
  2167. for Stack Smashing Protector
  2168. 2008-10-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  2169. PR 11492
  2170. * c-common.c (min_precision): Move to...
  2171. * tree.c (tree_int_cst_min_precision): ... to here. Renamed.
  2172. * tree.h (tree_int_cst_min_precision): Declare.
  2173. * c-common.h (min_precision): Delete declaration.
  2174. * fold-const.c (tree_binary_nonnegative_warnv_p): Handle
  2175. multiplication of non-negative integer constants.
  2176. * c-decl.c (check_bitfield_type_and_width): Rename min_precision to
  2177. tree_int_cst_min_precision.
  2178. (finish_enum): Likewise.
  2179. 2008-10-29 Joseph Myers <joseph@codesourcery.com>
  2180. PR middle-end/36578
  2181. * convert.c (convert_to_real): Do not optimize conversions of
  2182. binary arithmetic operations between binary and decimal
  2183. floating-point types. Consider mode of target type in determining
  2184. decimal type for arithmetic. Unless
  2185. flag_unsafe_math_optimizations, do not optimize binary conversions
  2186. where this may change rounding behavior.
  2187. * real.c (real_can_shorten_arithmetic): New.
  2188. * real.h (real_can_shorten_arithmetic): Declare.
  2189. 2008-10-29 Bernd Schmidt <bernd.schmidt@analog.com>
  2190. * config/bfin/bfin-protos.h (WA_05000257, WA_05000283, WA_05000315,
  2191. ENABLE_WA_05000257, ENABLE_WA_05000283, ENABLE_WA_05000315): New.
  2192. * config/bfin/bfin.c (bfin_cpus): Add these workaround bits as
  2193. appropriate.
  2194. (must_save_p): For some workarounds, interrupts need to clobber a
  2195. P register.
  2196. (expand_prologue_reg_save, expand_epilogue_reg_restore): Save LC0
  2197. and LC1 for WA_05000257.
  2198. (expand_interrupt_handler_prologue): Add dummy read of CHIPID for
  2199. WA_05000283 and WA_05000315.
  2200. * config/bfin/bfin.md (UNSPEC_VOLATILE_DUMMY): New constant.
  2201. (movbi): Add alternative to set CC to 1; improve code for setting
  2202. CC to 0.
  2203. (dummy_load): New pattern.
  2204. 2008-10-29 Jakub Jelinek <jakub@redhat.com>
  2205. PR middle-end/37870
  2206. * expmed.c (extract_bit_field_1): If int_mode_for_mode returns
  2207. BLKmode for non-memory, convert using a wider MODE_INT mode
  2208. or through memory.
  2209. PR middle-end/37913
  2210. * tree-cfgcleanup.c (split_bbs_on_noreturn_calls): Only split bbs
  2211. that haven't been removed yet.
  2212. 2008-10-29 Bernd Schmidt <bernd.schmidt@analog.com>
  2213. * config/bfin/bfin.c (struct machine_function): New member
  2214. has_loopreg_clobber.
  2215. (bfin_expand_movmem): Set it when generating memcpy insns.
  2216. (n_regs_saved_by_prologue, expand_prologue_reg_save,
  2217. expand_epilogue_reg_restore): If we have hardware loops,
  2218. memcpy insns (indicated by has_loopreg_clobber) or function
  2219. calls, we need to save the loop registers.
  2220. 2008-10-28 H.J. Lu <hongjiu.lu@intel.com>
  2221. * config/i386/i386.c (core2_cost): Fix typos in comments.
  2222. 2008-10-28 Jakub Jelinek <jakub@redhat.com>
  2223. PR c/37924
  2224. * combine.c (make_compound_operation): Don't call make_extraction with
  2225. non-positive length.
  2226. (simplify_shift_const_1): Canonicalize count even if complement_p.
  2227. 2008-10-28 Joseph Myers <joseph@codesourcery.com>
  2228. * convert.c (strip_float_extensions): Do not remove or introduce
  2229. conversions between binary and decimal floating-point types.
  2230. 2008-10-28 Jakub Jelinek <jakub@redhat.com>
  2231. PR middle-end/37931
  2232. * fold-const.c (distribute_bit_expr): Convert common, left and
  2233. right arguments to type.
  2234. 2008-10-28 Nick Clifton <nickc@redhat.com>
  2235. * config/mn10300/mn10300.h (CALL_REALLY_USED_REGISTERS): Define.
  2236. * config/mn10300/mn10300.c (fp_regs_to_save): Test the
  2237. call_really_used_regs array rather than the call_used_regs array.
  2238. (mn10300_get_live_callee_saved_regs, expand_prologue,
  2239. expand_epilogue, output_tst): Likewise.
  2240. 2008-10-27 Jakub Jelinek <jakub@redhat.com>
  2241. PR target/37378
  2242. * df-scan.c (df_bb_refs_collect): Don't handle EH_USES here.
  2243. (df_get_entry_block_def_set): Neither here.
  2244. (df_get_regular_block_artificial_uses): Add EH_USES registers.
  2245. PR tree-optimization/37879
  2246. * predict.c (tree_estimate_probability): Check if last_stmt is
  2247. non-NULL before dereferencing it.
  2248. 2008-10-27 Vladimir Makarov <vmakarov@redhat.com>
  2249. * ira-int.h (ira_allocno): Add member updated_cover_class_cost.
  2250. (ALLOCNO_UPDATED_COVER_CLASS_COST): New.
  2251. (ira_fast_allocation): Remove the prototype.
  2252. * ira-color.c (update_copy_costs, allocno_cost_compare_func,
  2253. assign_hard_reg, calculate_allocno_spill_cost): Use updated costs.
  2254. (color_pass): Modify the updated costs.
  2255. (ira_color): Rename to color. Make it static.
  2256. (ira_fast_allocation): Rename to fast_allocation. Make it static.
  2257. (ira_color): New function.
  2258. * ira-conflicts.c (process_regs_for_copy): Propagate hard reg cost
  2259. change.
  2260. * ira-lives.c (last_call_num, allocno_saved_at_call): New
  2261. variables.
  2262. (set_allocno_live, clear_allocno_live, mark_ref_live,
  2263. mark_ref_dead): Invalidate corresponding element of
  2264. allocno_saved_at_call.
  2265. (process_bb_node_lives): Increment last_call_num. Setup
  2266. allocno_saved_at_call. Don't increase ALLOCNO_CALL_FREQ if the
  2267. allocno was already saved.
  2268. (ira_create_allocno_live_ranges): Initiate last_call_num and
  2269. allocno_saved_at_call.
  2270. * ira-build.c (ira_create_allocno): Initiate
  2271. ALLOCNO_UPDATED_COVER_CLASS_COST.
  2272. (create_cap_allocno, propagate_allocno_info,
  2273. remove_unnecessary_allocnos): Remove setting updated costs.
  2274. (ira_flattening): Set up ALLOCNO_UPDATED_COVER_CLASS_COST.
  2275. * ira.c (ira): Don't call ira_fast_allocation.
  2276. * ira-costs.c (setup_allocno_cover_class_and_costs): Don't set up
  2277. updated costs.
  2278. 2008-10-27 Vladimir Makarov <vmakarov@redhat.com>
  2279. PR middle-end/37813
  2280. * ira-conflicts.c (process_regs_for_copy): Remove class subset check.
  2281. * ira-int.h (ira_hard_regno_cover_class): New.
  2282. * ira-lives.c (mark_reg_live, mark_reg_dead,
  2283. process_bb_node_lives): Use ira_hard_regno_cover_class.
  2284. * ira.c (reg_class ira_hard_regno_cover_class): New global variable.
  2285. (setup_hard_regno_cover_class): New function.
  2286. (ira_init): Call setup_hard_regno_cover_class.
  2287. * ira-costs.c (cost_class_nums): Add comment.
  2288. (find_allocno_class_costs): Initiate cost_class_nums.
  2289. (setup_allocno_cover_class_and_costs): Check cost_class_nums.
  2290. 2008-10-27 Vladimir Makarov <vmakarov@redhat.com>
  2291. PR middle-end/37884
  2292. * ira-build.c (copy_live_ranges_to_removed_store_destinations):
  2293. Rename to copy_info_to_removed_store_destinations. Propagate
  2294. conflict hard regs and register stack attribute.
  2295. 2008-10-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2296. PR middle-end/37316
  2297. * pa.c (function_arg_padding): Pad complex and vector types
  2298. upward in 64-bit runtime.
  2299. (function_arg): Use BLKmode for PARALLEL in 64-bit runtime.
  2300. 2008-10-26 Matthias Klose <doko@ubuntu.com>
  2301. * doc/install.texi: Document requirements on antlr.
  2302. 2008-10-25 Richard Sandiford <rdsandiford@googlemail.com>
  2303. * config/mips/mips.h (REG_ALLOC_ORDER): Put call-clobbered registers
  2304. first.
  2305. 2008-10-24 Michael Meissner <meissner@linux.vnet.ibm.com>
  2306. PR target/37841
  2307. * function.c (locate_and_pad_parm): If FUNCTION_ARG_ADJUST_OFFSET
  2308. is defined, use it to modify the constant offset.
  2309. * doc/tm.texi (FUNCTION_ARG_OFFSET): Document new macro.
  2310. * config/spu/spu.h (FUNCTION_ARG_OFFSET): New macro to move char
  2311. and short arguments to the correct location as mandated by the ABI.
  2312. 2008-10-24 Kaz Kojima <kkojima@gcc.gnu.org>
  2313. PR rtl-optimization/37769
  2314. * regmove.c (optimize_reg_copy_2): Update REG_INC note if needed.
  2315. 2008-10-24 Kaz Kojima <kkojima@gcc.gnu.org>
  2316. * config/sh/t-sh: Use $(MULTILIB_CFLAGS) when compiling to
  2317. unwind-dw2-Os-4-200.o.
  2318. 2008-10-24 Joseph Myers <joseph@codesourcery.com>
  2319. * c-typeck.c (enum impl_conv): Remove ic_argpass_nonproto.
  2320. (convert_for_assignment): Remove ic_argpass_nonproto cases.
  2321. 2008-10-24 Jakub Jelinek <jakub@redhat.com>
  2322. PR tree-optimization/36038
  2323. * tree-ssa-loop-ivopts.c (add_old_iv_candidates): For pointer bases
  2324. add sizetype IV with initial value zero instead of pointer type.
  2325. 2008-10-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
  2326. PR c/7543
  2327. * value-prof.c (gimple_stringop_fixed_value): Use parentheses
  2328. around bit operation.
  2329. * profile.c (is_edge_inconsistent): Likewise.
  2330. * fold-const.c (truth_value_p): Move from here...
  2331. * tree.h (truth_value_p): ... to here.
  2332. * c-tree.h (c_expr): Update description of original_code.
  2333. * c-typeck.c (parser_build_unary_op): Set original_code.
  2334. (parser_build_binary_op): Update call to warn_about_parentheses.
  2335. * c-common.c (warn_about_parentheses): Take two additional
  2336. arguments of the operands. Use a switch. Quote operators
  2337. appropriately. Define macro APPEARS_TO_BE_BOOLEAN_EXPR_P.
  2338. Add warning about !x | y and !x & y.
  2339. * c-common.h (warn_about_parentheses): Update declaration.
  2340. 2008-10-24 Jakub Jelinek <jakub@redhat.com>
  2341. * Makefile.in (lang_checks_parallelized, check_gcc_parallelize,
  2342. check_p_tool, check_p_vars, check_p_subno, check_p_comma,
  2343. check_p_subwork, check_p_numbers, check_p_subdir, check_p_subdirs):
  2344. New variables.
  2345. (check-subtargets, check-%-subtargets, check-parallel-%): New targets.
  2346. (check-%): For test targets listed in lang_checks_parallelized
  2347. if -j is used and RUNTESTFLAGS doesn't specify tests to execute,
  2348. run the testing in multiple make goals, possibly parallel, and
  2349. afterwards run dg-extract-results.sh to merge the sum and log files.
  2350. 2008-10-24 Richard Sandiford <rdsandiford@googlemail.com>
  2351. * config/mips/mips.c (mips_canonicalize_move_class): New function.
  2352. (mips_move_to_gpr_cost): Likewise.
  2353. (mips_move_from_gpr_cost): Likewise.
  2354. (mips_register_move_cost): Make more fine-grained.
  2355. 2008-10-23 Tobias Grosser <grosser@fim.uni-passau.de>
  2356. * graphite.c (graphite_apply_transformations): Check for
  2357. -fgraphite-identity.
  2358. * toplev.c (process_options): Add graphite_identity.
  2359. * tree-ssa-loop.c (gate_graphite_transforms): Add graphite_identity.
  2360. 2008-10-23 Bernd Schmidt <bernd.schmidt@analog.com>
  2361. * config/bfin/bfin.c (bdesc_2arg): Add mulhisill, mulhisilh,
  2362. mulhisihl and mulhisihh builtins.
  2363. From Jie Zhang <jie.zhang@analog.com>
  2364. * config/bfin/bfin.md (composev2hi): Put operands into vector
  2365. with correct order.
  2366. 2008-10-22 Chao-ying Fu <fu@mips.com>
  2367. * config/mips/mips.opt (msmartmips): Accept -mno-smartmips.
  2368. 2008-10-22 Bernd Schmidt <bernd.schmidt@analog.com>
  2369. From Mike Frysinger <michael.frysinger@analog.com>
  2370. * config/bfin/bfin-protos.h (bfin_cpu_type): Add BFIN_CPU_BF512,
  2371. BFIN_CPU_BF514, BFIN_CPU_BF516, and BFIN_CPU_BF518.
  2372. * config/bfin/bfin.c (bfin_cpus[]): Add 0.0 for bf512, bf514, bf516,
  2373. and bf518. Add 0.2 for bf522, bf523, bf524, bf526, and bf527.
  2374. Add 0.6 for bf533, bf532, and bf531. Add 0.5 for bf538 and bf539.
  2375. Add 0.2 for bf542, bf544, bf547, bf548, and bf549.
  2376. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBF512__
  2377. for BFIN_CPU_BF512, __ADSPBF514__ for BFIN_CPU_BF514, __ADSPBF516__
  2378. for BFIN_CPU_BF516, and __ADSPBF518__ for BFIN_CPU_BF518. Define
  2379. __ADSPBF51x__ for all of them.
  2380. * config/bfin/elf.h (LIB_SPEC): Select proper linker scripts for
  2381. -mcpu bf512, bf514, bf516, and bf518.
  2382. * config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for
  2383. bf512-none, bf514-none, bf516-none, and bf518-none.
  2384. * config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise.
  2385. * config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise.
  2386. * doc/invoke.texi (Blackfin Options): Document that
  2387. -mcpu now accepts bf512, bf514, bf516, and bf518.
  2388. 2008-10-22 Jakub Jelinek <jakub@redhat.com>
  2389. PR middle-end/37882
  2390. * fold-const.c (build_range_type): For 1 .. signed_max
  2391. range call build_nonstandard_inter_type if signed_type_for
  2392. returned a type with bigger precision.
  2393. 2008-10-22 Richard Guenther <rguenther@suse.de>
  2394. * tree.def (COMPLEX_TYPE): Constrain element type.
  2395. * tree.c (build_complex_type): Assert that.
  2396. * tree-ssa-structalias.c (could_have_pointers): Complex types
  2397. cannot have pointers.
  2398. 2008-10-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
  2399. PR c/30949
  2400. * c-typeck.c (convert_for_assignment): Do not give declaration's
  2401. location for builtins. Spell out which type was expected and which
  2402. was given.
  2403. 2008-10-22 Nick Clifton <nickc@redhat.com>
  2404. * config/frv/frv.h (HARD_REGNO_RENAME_OK): Define. Do not allow
  2405. the fdpic register to be a target when running in fdpic mode.
  2406. 2008-10-22 Rafael Espindola <espindola@google.com>
  2407. * ipa-struct-reorg.c (create_new_alloc_sites): Properly insert the
  2408. newly created statements.
  2409. 2008-10-22 Kaz Kojima <kkojima@gcc.gnu.org>
  2410. PR target/37633
  2411. * config/sh/sh.c (sh_hard_regno_mode_ok): New function.
  2412. * config/sh/sh.h (HARD_REGNO_MODE_OK): Use it.
  2413. * config/sh/sh-protos.h (sh_hard_regno_mode_ok): Declare.
  2414. 2008-10-22 Jakub Jelinek <jakub@redhat.com>
  2415. PR target/37880
  2416. * doc/invoke.texi: Fix spelling of -mlarge-data-threshold option.
  2417. Adjust -mcmodel=medium description for 2005-07-31 changes.
  2418. 2008-10-22 Jan Hubicka <jh@suse.cz>
  2419. Jakub Jelinek <jakub@redhat.com>
  2420. PR middle-end/35853
  2421. * doc/invoke.texi: Remove references to obsoleted -d dumps.
  2422. 2008-10-21 Richard Henderson <rth@redhat.com>
  2423. PR 37815
  2424. * emit-rtl.c (get_spill_slot_decl): Export.
  2425. * emit-rtl.h (get_spill_slot_decl): Declare.
  2426. * var-tracking.c (vt_add_function_parameters): Relax assertion
  2427. on the contents of MEM_EXPR in a PARM_DECL to include a spill slot.
  2428. 2008-10-21 Bob Wilson <bob.wilson@acm.org>
  2429. * var-tracking.c (insn_stack_adjust_offset_pre_post): If insn has a
  2430. REG_FRAME_RELATED_EXPR note, examine the pattern from the note instead
  2431. of from insn.
  2432. 2008-10-21 Adam Nemet <anemet@caviumnetworks.com>
  2433. PR middle-end/37669
  2434. * tree-ssa-ccp.c (ccp_fold_builtin): Only allow one argument to be
  2435. processed by get_maxval_strlen.
  2436. 2008-10-21 David Edelsohn <edelsohn@gnu.org>
  2437. PR target/35485
  2438. * tree.c (get_file_function_name): Copy first_global_object_name.
  2439. Centralize call to clean_symbol_name.
  2440. 2008-10-21 Sandra Loosemore <sandra@codesourcery.com>
  2441. * config.gcc (powerpc-*): Make t-ppcgas imply usegas.h.
  2442. * config/svr4.h (SVR4_ASM_SPEC): New.
  2443. (ASM_SPEC): Inherit from SVR4_ASM_SPEC.
  2444. * config/rs6000/sysv4.h (ASM_SPEC): Inherit from SVR4_ASM_SPEC.
  2445. * doc/invoke.texi (Option Summary): Add -T to linker options.
  2446. (Link Options): Document -T.
  2447. 2008-10-21 Jakub Jelinek <jakub@redhat.com>
  2448. * tree-inline.c (tree_inlinable_function_p): Remove tuples
  2449. debugging hack.
  2450. * gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs.
  2451. PR debug/37020
  2452. * c-decl.c (merge_decls): Don't call outlining_inline_function hook.
  2453. 2008-10-20 Daniel Berlin <dberlin@dberlin.org>
  2454. * tree-ssa-pre.c (insert_into_preds_of_block): Don't rewrite constant
  2455. part of expression.
  2456. 2008-10-20 Tobias Schlüter <tobi@gcc.gnu.org>
  2457. * doc/install.texi: Fix typos in previous patch.
  2458. 2008-10-19 Tobias Schlüter <tobi@gcc.gnu.org>
  2459. * doc/install.texi: Document in-tree building of gcc and mpfr.
  2460. 2008-10-19 Richard Guenther <rguenther@suse.de>
  2461. * tree-ssa-alias.c (may_alias_p): Remove bogus shortcut.
  2462. 2008-10-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
  2463. PR c/30260
  2464. * c-decl.c (finish_enum): Convert non-integer enumerators to enum type.
  2465. (build_enumerator): Convert enumerators that fit in integer to
  2466. integer type.
  2467. 2008-10-18 Uros Bizjak <ubizjak@gmail.com>
  2468. * config/i386/i386.md (unnamed peephole2): Do not force memory
  2469. operands of arith or logical instructions into registers for
  2470. non-TARGET_READ_MODIFY targets.
  2471. (ffs_cmove): Change operand 0 predicate to register_operand.
  2472. Change operand 1 predicate to nonimmediate_operand.
  2473. (ffsdi2): Ditto.
  2474. (*ffs_no_cmove): Change operand 0 predicate to register_operand.
  2475. 2008-10-18 Richard Guenther <rguenther@suse.de>
  2476. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Guard
  2477. VIEW_CONVERT_EXPR case against invalid gimple.
  2478. 2008-10-17 Andreas Krebbel <krebbel1@de.ibm.com>
  2479. * c-parser.c (c_parser_binary_expression): Silence the
  2480. uninitialized variable warning emitted for binary_loc.
  2481. 2008-10-16 Daniel Berlin <dberlin@dberlin.org>
  2482. * tree-ssa-pre.c (phi_translate_set): Add constants to phi
  2483. translation cache.
  2484. 2008-10-16 Joseph Myers <joseph@codesourcery.com>
  2485. PR c/33192
  2486. * c-typeck.c (build_unary_op): Use omit_one_operand for
  2487. IMAGPART_EXPR of real argument.
  2488. 2008-10-16 Jakub Jelinek <jakub@redhat.com>
  2489. PR tree-optimization/37664
  2490. * fold-const.c (fold_binary): When optimizing comparison with
  2491. highest or lowest type's value, don't consider TREE_OVERFLOW.
  2492. 2008-10-16 David Edelsohn <edelsohn@gnu.org>
  2493. PR target/35483
  2494. * Makefile.in (coverage.o): Depend on $(TM_P_H).
  2495. * coverage.c: Include tm_p.h.
  2496. * config/rs6000/x-aix (jc1): Override LDFLAGS.
  2497. * config/rs6000/xcoff.h (ASM_GENERATE_INTERNAL_LABEL): Strip
  2498. dollar signs from PREFIX.
  2499. * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
  2500. instead of manual strip_name_encoding.
  2501. 2008-10-16 Richard Guenther <rguenther@suse.de>
  2502. PR middle-end/37418
  2503. * tree-ssa.c (useless_type_conversion_p_1): Do not treat
  2504. volatile qualified functions or methods as relevant.
  2505. 2008-10-16 Jakub Jelinek <jakub@redhat.com>
  2506. PR tree-optimization/37525
  2507. * tree.c (int_fits_type_p): Rewrite using double_int. Zero extend
  2508. sizetype unsigned constants, both in the case of C and bounds.
  2509. 2008-10-15 Jan Hubicka <jh@suse.cz>
  2510. * ira-emit.c (change_regs): Return false when replacing reg by itself.
  2511. 2008-10-14 Vladimir Makarov <vmakarov@redhat.com>
  2512. PR target/37633
  2513. * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Check
  2514. HARD_REGNO_CALL_PART_CLOBBERED.
  2515. 2008-10-15 Vladimir Makarov <vmakarov@redhat.com>
  2516. PR middle-end/37535
  2517. * ira-lives.c (mark_early_clobbers): Remove.
  2518. (make_pseudo_conflict, check_and_make_def_use_conflicts,
  2519. check_and_make_def_conflicts,
  2520. make_early_clobber_and_input_conflicts,
  2521. mark_hard_reg_early_clobbers): New functions.
  2522. (process_bb_node_lives): Call
  2523. make_early_clobber_and_input_conflicts and
  2524. mark_hard_reg_early_clobbers. Make hard register inputs live again.
  2525. * doc/rtl.texi (clobber): Change descriotion of RA behaviour for
  2526. early clobbers of pseudo-registers.
  2527. 2008-10-15 Vladimir Makarov <vmakarov@redhat.com>
  2528. PR middle-end/37674
  2529. * ira-build.c (ira_flattening): Recalculate
  2530. ALLOCNO_TOTAL_NO_STACK_REG_P and ALLOCNO_TOTAL_CONFLICT_HARD_REGS
  2531. from the scratch instead of the propagation.
  2532. 2008-10-15 Richard Sandiford <rdsandiford@googlemail.com>
  2533. * doc/rtl.texi (const_double): Remove the "addr" operand.
  2534. Describe CONST_DOUBLE_* macros under const_double rather
  2535. than const_vector.
  2536. (const_fixed): Fix the operand description.
  2537. (const): Add an @findex directive.
  2538. (CONST0_RTX, CONST1_RTX, CONST2_RTX): Move description
  2539. after the constant rtl table.
  2540. (fix): Combine floating-point and fixed-point descriptions.
  2541. Fix hyphenation.
  2542. * sched-deps.c (sched_analyze_2): Remove reference to
  2543. CONST_DOUBLE_CHAIN.
  2544. 2008-10-15 Richard Sandiford <rdsandiford@googlemail.com>
  2545. * config/mn10300/mn10300.h (OUTPUT_ADDR_CONST_EXTRA): Handle
  2546. UNSPEC_GOTSYM_OFFs.
  2547. * config/mn10300/mn10300.c (legitimate_pic_operand_p): Return true
  2548. for UNSPEC_GOTSYM_OFFs.
  2549. * config/mn10300/mn10300.md (UNSPEC_GOTSYM_OFF): New unspec.
  2550. (add_GOT_to_pic_reg): Use it.
  2551. * config/mn10300/constraints.md (S): Allow UNSPEC_GOTSYM_OFF.
  2552. 2008-10-15 Jan Sjodin <jan.sjodin@amd.com>
  2553. Harsha Jagasia <harsha.jagasia@amd.com>
  2554. PR tree-optimization/37485
  2555. * graphite.c (gmp_cst_to_tree): Moved.
  2556. (iv_stack_entry_is_constant): New.
  2557. (iv_stack_entry_is_iv): New.
  2558. (loop_iv_stack_push): Renamed to loop_iv_stack_push_iv.
  2559. (loop_iv_stack_insert_constant): New.
  2560. (loop_iv_stack_pop): Use new datatpype.
  2561. (loop_iv_stack_get_iv): Same.
  2562. (loop_iv_stack_get_iv_from_name): Same.
  2563. (loop_iv_stack_debug): Renamed to debug_loop_iv_stack.
  2564. (loop_iv_stack_patch_for_consts): New.
  2565. (loop_iv_stack_remove_constants): New.
  2566. (graphite_create_new_loop): Use loop_iv_stack_push_iv.
  2567. (translate_clast): Call loop_iv_stack_patch_for_consts and
  2568. loop_iv_stack_remove_constants.
  2569. (gloog): Use new datatype. Redirect construction edge to end
  2570. block to avoid accidental deletion.
  2571. * graphite.h (enum iv_stack_entry_kind): New. Tag for data in
  2572. iv stack entry.
  2573. (union iv_stack_entry_data): New. Data in iv stack entry.
  2574. (struct iv_stack_entry): New. Datatype for iv stack entries.
  2575. 2008-10-15 Sebastian Pop <sebastian.pop@amd.com>
  2576. * tree-data-ref.c (stmt_simple_memref_p): Fix memleak.
  2577. * graphite.c (free_scop): Same.
  2578. (build_scops): Same.
  2579. (free_scattering): New.
  2580. (build_cloog_prog): Call free_scattering.
  2581. (patch_phis_for_virtual_defs): Fix memleak.
  2582. (graphite_trans_bb_strip_mine): Same.
  2583. (limit_scops): Same.
  2584. 2008-10-15 Sebastian Pop <sebastian.pop@amd.com>
  2585. Harsha Jagasia <harsha.jagasia@amd.com>
  2586. PR tree-optimization/37828
  2587. * graphite.c (graphite_trans_loop_block): Do not loop block
  2588. single nested loops.
  2589. 2008-10-15 Sebastian Pop <sebastian.pop@amd.com>
  2590. PR tree-optimization/37686
  2591. * tree-loop-linear.c (linear_transform_loops): Build a
  2592. loop nest vector. Pass it to lambda_compute_access_matrices.
  2593. * tree-data-ref.h (struct access_matrix): Store the loop nest
  2594. relative to which it encodes the information.
  2595. (AM_LOOP_NEST_NUM): Renamed AM_LOOP_NEST.
  2596. (am_vector_index_for_loop): Reimplemented: iterate over the
  2597. loop nest for finding the loop index in the access matrix.
  2598. (lambda_compute_access_matrices): Update declaration.
  2599. * lambda-code.c (build_access_matrix): Pass the loop nest and
  2600. record it.
  2601. (lambda_compute_access_matrices): Same.
  2602. 2008-10-15 Andreas Krebbel <krebbel1@de.ibm.com>
  2603. * config/s390/s390.h (TARGET_DFP): This requires TARGET_HARD_FLOAT.
  2604. * config/s390/s390.md: Replace "TARGET_HARD_FLOAT &&
  2605. TARGET_(HARD_)DFP" with only TARGET_(HARD_)DFP since this
  2606. already implies hard float. Also fix several insn condition
  2607. with TARGET_DFP which shall require TARGET_HARD_DFP instead.
  2608. 2008-10-15 David Edelsohn <edelsohn@gnu.org>
  2609. PR target/35483
  2610. Based on patches by Laurent Vivier.
  2611. * xcoffout.h (DBX_FINISH_STABS): Translate dollar sign to underscore.
  2612. * config/rs6000/rs6000-protos.h (rs6000_xcoff_strip_dollar): Declare.
  2613. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Translate
  2614. dollar sign to underscore.
  2615. (ASM_OUTPUT_EXTERNAL): Same.
  2616. (ASM_OUTPUT_LABELREF): New.
  2617. * config/rs6000/rs6000.c (rs6000_xcoff_strip_dollar): New.
  2618. * config/rs6000/aix51.h (TARGET_USE_JCR_SECTION): Define.
  2619. * config/rs6000/aix52.h (TARGET_USE_JCR_SECTION): Define.
  2620. * config/rs6000/aix53.h (TARGET_USE_JCR_SECTION): Define.
  2621. * config/rs6000/aix61.h (TARGET_USE_JCR_SECTION): Define.
  2622. 2008-10-15 Jakub Jelinek <jakub@redhat.com>
  2623. PR tree-optimization/36881
  2624. * tree-switch-conversion.c (check_final_bb): For flag_pic, check
  2625. that each value doesn't need runtime relocations, for !flag_pic
  2626. check that each value is just a valid initializer constant.
  2627. 2008-10-14 Richard Sandiford <rdsandiford@googlemail.com>
  2628. * config/mips/mips.h (reg_class): Remove HI_AND_GR_REGS,
  2629. LO_AND_GR_REGS, HI_AND_FP_REGS, COP0_AND_GR_REGS, COP2_AND_GR_REGS,
  2630. COP3_AND_GR_REGS, ALL_COP_REGS and ALL_COP_AND_GR_REGS.
  2631. Add GR_AND_MD0_REGS, GR_AND_MD1_REGS, GR_AND_MD_REGS and
  2632. GR_AND_ACC_REGS.
  2633. (REG_CLASS_NAMES): Update accordingly.
  2634. (REG_CLASS_CONTENTS): Likewise. Use the class name in the comments,
  2635. rather than an unpredictable descriptive string.
  2636. * config/mips/mips.c (mips_register_move_cost): Remove comment.
  2637. (mips_register_move_cost): Check for specific COP*_REGS classes,
  2638. instead of ALL_COP_AND_GR_REGS.
  2639. (mips_ira_cover_classes): New function.
  2640. (mips_secondary_reload_class): Remove MTLO and MTHI workarounds.
  2641. (TARGET_IRA_COVER_CLASSES): Define.
  2642. 2008-10-14 Douglas Gregor <doug.gregor@gmail.com>
  2643. PR c++/37553
  2644. * tree.c (build_type_attribute_qual_variant): Hash on the
  2645. unqualified type, and don't overwrite an existing
  2646. (type_hash_eq): Make the TYPE_NAME of the types significant, to
  2647. allow distinguishing between wchar_t and its underlying type. This
  2648. also means that we'll retain a little more typedef information.
  2649. 2008-10-14 Andrey Belevantsev <abel@ispras.ru>
  2650. Dmitry Melnik <dm@ispras.ru>
  2651. Dmitry Zhurikhin <zhur@ispras.ru>
  2652. Alexander Monakov <amonakov@ispras.ru>
  2653. Maxim Kuvyrkov <maxim@codesourcery.com>
  2654. * target.h (struct gcc_target): Update prototypes of needs_block_p
  2655. and gen_spec_check.
  2656. * haifa-sched.c (create_check_block_twin): Update calls to the above.
  2657. * sel-sched.c (create_speculation_check): Likewise.
  2658. * doc/tm.texi: Provide documentation for new target hooks.
  2659. * config/ia64/ia64.c: Include sel-sched.h. Rewrite speculation hooks.
  2660. (ia64_gen_spec_insn): Removed.
  2661. (get_spec_check_gen_function, insn_can_be_in_speculative_p,
  2662. ia64_gen_spec_check): New static functions.
  2663. (ia64_alloc_sched_context, ia64_init_sched_context,
  2664. ia64_set_sched_context, ia64_clear_sched_context,
  2665. ia64_free_sched_context, ia64_get_insn_spec_ds,
  2666. ia64_get_insn_checked_ds, ia64_skip_rtx_p): Declare functions.
  2667. (ia64_needs_block_p): Change prototype.
  2668. (ia64_gen_check): Rename to ia64_gen_spec_check.
  2669. (ia64_adjust_cost): Rename to ia64_adjust_cost_2. Add new parameter
  2670. into declaration, add special memory dependencies handling.
  2671. (TARGET_SCHED_ALLOC_SCHED_CONTEXT, TARGET_SCHED_INIT_SCHED_CONTEXT,
  2672. TARGET_SCHED_SET_SCHED_CONTEXT, TARGET_SCHED_CLEAR_SCHED_CONTEXT,
  2673. TARGET_SCHED_FREE_SCHED_CONTEXT, TARGET_SCHED_GET_INSN_SPEC_DS,
  2674. TARGET_SCHED_GET_INSN_CHECKED_DS, TARGET_SCHED_SKIP_RTX_P):
  2675. Define new target hooks.
  2676. (TARGET_SCHED_GEN_CHECK): Rename to TARGET_SCHED_GEN_SPEC_CHECK.
  2677. (ia64_optimization_options): Turn on selective scheduling with -O3,
  2678. disable -fauto-inc-dec. Set mflag_sched_control_spec to true by
  2679. default with selective scheduling.
  2680. (ia64_override_options): Initialize align_loops and align_functions
  2681. to 32 and 64, respectively. Set global selective scheduling flags
  2682. according to target-dependent flags.
  2683. (rtx_needs_barrier): Support UNSPEC_LDS_A.
  2684. (group_barrier_needed): Use new mstop-bit-before-check flag.
  2685. Add heuristic.
  2686. (dfa_state_size): Make global.
  2687. (spec_check_no, max_uid): Remove.
  2688. (mem_ops_in_group, current_cycle): New variables.
  2689. (ia64_sched_init): Disable checks for !SCHED_GROUP_P after reload.
  2690. Initialize new variables.
  2691. (is_load_p, record_memory_reference): New functions.
  2692. (ia64_dfa_sched_reorder): Lower priority of loads when limit is
  2693. reached.
  2694. (ia64_variable_issue): Change use of current_sched_info to
  2695. sched_deps_info. Update comment. Note if a load or a store is issued.
  2696. (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Require a cycle
  2697. advance if maximal number of loads or stores was issued on current
  2698. cycle.
  2699. (scheduled_good_insn): New static helper function.
  2700. (ia64_dfa_new_cycle): Assert that last_scheduled_insn is set when
  2701. a group barrier is needed. Fix vertical spacing. Guard the code
  2702. doing state transition with last_scheduled_insn check.
  2703. Mark that a stop bit should be before current insn if there was a
  2704. cycle advance. Update current_cycle and mem_ops_in_group.
  2705. (ia64_h_i_d_extended): Change use of current_sched_info to
  2706. sched_deps_info. Reallocate stops_p by larger chunks.
  2707. (struct _ia64_sched_context): New structure.
  2708. (ia64_sched_context_t): New typedef.
  2709. (ia64_alloc_sched_context, ia64_init_sched_context,
  2710. ia64_set_sched_context, ia64_clear_sched_context,
  2711. ia64_free_sched_context): New static functions.
  2712. (gen_func_t): New typedef.
  2713. (get_spec_load_gen_function): New function.
  2714. (SPEC_GEN_EXTEND_OFFSET): Declare.
  2715. (ia64_set_sched_flags): Check common_sched_info instead of *flags.
  2716. (get_mode_no_for_insn): Change the condition that prevents use of
  2717. special hardware registers so it can now handle pseudos.
  2718. (get_spec_unspec_code): New function.
  2719. (ia64_skip_rtx_p, get_insn_spec_code, ia64_get_insn_spec_ds,
  2720. ia64_get_insn_checked_ds, ia64_gen_spec_load): New static functions.
  2721. (ia64_speculate_insn, ia64_needs_block_p): Support branchy checks
  2722. during selective scheduling.
  2723. (ia64_speculate_insn): Use ds_get_speculation_types when
  2724. determining whether we need to change the pattern.
  2725. (SPEC_GEN_LD_MAP, SPEC_GEN_CHECK_OFFSET): Declare.
  2726. (ia64_spec_check_src_p): Support new speculation/check codes.
  2727. (struct bundle_state): New field.
  2728. (issue_nops_and_insn): Initialize it.
  2729. (insert_bundle_state): Minimize mid-bundle stop bits.
  2730. (important_for_bundling_p): New function.
  2731. (get_next_important_insn): Use important_for_bundling_p.
  2732. (bundling): When shifting TImode from unimportant insns, ignore
  2733. also group barriers. Assert that best state is found before
  2734. the backward bundling pass. Print number of mid-bundle stop bits.
  2735. Minimize mid-bundle stop bits. Check correct calculation of
  2736. mid-bundle stop bits.
  2737. (ia64_sched_finish, final_emit_insn_group_barriers): Fix formatting.
  2738. (final_emit_insn_group_barriers): Emit stop bits before insns starting
  2739. a new cycle.
  2740. (sel2_run): New variable.
  2741. (ia64_reorg): When flag_selective_scheduling2 is set, run the
  2742. selective scheduling pass instead of schedule_ebbs.
  2743. * config/ia64/ia64.md (speculable1, speculable2): New attributes.
  2744. (UNSPEC_LDS_A): New UNSPEC.
  2745. (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
  2746. movti_internal, movsf_internal, movdf_internal,
  2747. movxf_internal): Make visible. Add speculable* attributes.
  2748. (output_c_nc): New mode attribute.
  2749. (mov<mode>_speculative_a, zero_extend<mode>di2_speculative_a,
  2750. mov<mode>_nc, zero_extend<mode>di2_nc,
  2751. advanced_load_check_nc_<mode>): New insns.
  2752. (zero_extend*): Add speculable* attributes.
  2753. * config/ia64/ia64.opt (msched_fp_mem_deps_zero_cost): New option.
  2754. (msched-stop-bits-after-every-cycle): Likewise.
  2755. (msched-max-memory-insns, msched-max-memory-insns-hard-limit):
  2756. Likewise.
  2757. (msched-spec-verbose): Remove.
  2758. (msched-prefer-non-data-spec-insns,
  2759. msched-prefer-non-control-spec-insns,
  2760. msched-count-spec-in-critical-path,
  2761. msel-sched-dont-check-control-spec): Use Target Report Var
  2762. instead of Common Report Var.
  2763. * config/ia64/itanium2.md: Remove incorrect bypass.
  2764. * config/ia64/t-ia64 (ia64.o): Add dependency on sel-sched.h.
  2765. 2008-10-14 Jakub Jelinek <jakub@redhat.com>
  2766. PR middle-end/37805
  2767. * opts.c (common_handle_option): Don't ICE on -fhelp=joined
  2768. and -fhelp=separate.
  2769. 2008-10-14 Ben Elliston <bje@au.ibm.com>
  2770. * config/rs6000/rs6000.md (cell_micro): Fix formatting.
  2771. 2008-10-13 Joseph Myers <joseph@codesourcery.com>
  2772. * combine.c (simplify_set): Avoid calling LOAD_EXTEND_OP on
  2773. non-integer modes.
  2774. 2008-10-13 Matthias Klose <doko@ubuntu.com>
  2775. * config/pa/linux-atomic.c: Work around missing header file
  2776. for hppa64-linux-gnu targets.
  2777. 2008-10-13 Andrew Pinski <andrew_pinski@playstation.sony.com>
  2778. Kaushal Kantawala <Kaushal_Kantawala@playstation.sony.com>
  2779. Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
  2780. Grace Cao <grace_cao@playstation.sony.com>
  2781. * doc/invoke.texi (-mgen-cell-microcode): Document.
  2782. (-mwarn-cell-microcode): Document.
  2783. * cfglayout.c (locator_location): Export.
  2784. * rtl.h (locator_location): Define prototype.
  2785. * config/rs6000/predicates.md (cc_reg_not_micro_cr0_operand):
  2786. New predicate.
  2787. * rs6000/rs6000-protos.h (rs6000_final_prescan_insn): Define prototype.
  2788. * config/rs6000/rs6000.opt (mgen-cell-microcode): New option.
  2789. (mwarn-cell-microcode): New option.
  2790. * rs6000/rs6000.c (rs6000_cell_dont_microcode): Delete unused variable.
  2791. (rs6000_override_options): Set rs6000_gen_cell_microcode if tuning for
  2792. cell and not already set.
  2793. Turn off string instructions if not generating cell microcode.
  2794. (rs6000_final_prescan_insn): New function that warns about microcoded
  2795. instructions.
  2796. * config/rs6000/rs6000.h (FINAL_PRESCAN_INSN): Define.
  2797. * config/rs6000/rs6000.md
  2798. Replace cc_reg_not_cr0_operand with cc_reg_not_micro_cr0_operand if
  2799. the instruction would have been microcoded on the Cell. Set
  2800. cell_micro to always on unnamed patterns for the string instructions.
  2801. (cell_micro): Update definition, remove load/store conditional
  2802. microcoded.
  2803. (sign_extend:DI): Define new pattern for non microcoded version.
  2804. (sign_extend:SI): Likewise.
  2805. (compare (div:P)): Set cell_micro to not.
  2806. (andsi3): Define as an expand.
  2807. (andsi3_mc): New pattern.
  2808. (andsi3_nomc): New pattern.
  2809. (andsi3_internal0_nomc): New pattern.
  2810. (andsi3_internal2): Rename to ...
  2811. (andsi3_internal2_mc): this and enable iff generating microcode.
  2812. (andsi3_internal3): Rename to ...
  2813. (andsi3_internal3_mc): this and enable iff generating microcode.
  2814. (andsi3_internal4): Enable iif generating microcode.
  2815. (andsi3_internal5): Rename to ..
  2816. (andsi3_internal5_mc): this and enable iff generating microcode.
  2817. (andsi3_internal5_nomc): New pattern.
  2818. (extzvdi_internal1): Enable iff generating microcode.
  2819. (extzvdi_internal2): Likewise.
  2820. (rotlsi3_internal7): Set cell_micro to always if non immediate form.
  2821. (anddi3): Change to expand.
  2822. (anddi3_mc): Rename from anddi3.
  2823. (anddi3_no_mc): New pattern.
  2824. (anddi3_internal2): Rename to ..
  2825. (anddi3_internal2_mc): this and enable iff generating microcode.
  2826. (anddi3_internal2_nomc): New pattern.
  2827. (anddi3_internal3): Rename to ..
  2828. (anddi3_internal3_mc): this and enable iff generating microcode.
  2829. (anddi3_internal3_nomc): New pattern.
  2830. (movti_string): Set cell_micro to always if TARGET_STRING.
  2831. (stmsi8): Set cell_micro to always.
  2832. (stmsi7): Likewise.
  2833. (stmsi6): Likewise.
  2834. (stmsi5): Likewise.
  2835. (stmsi4): Likewise.
  2836. (stmsi3): Likewise.
  2837. (stmsi8_power): Likewise.
  2838. (stmsi7_power): Likewise.
  2839. (stmsi6_power): Likewise.
  2840. (stmsi5_power): Likewise.
  2841. (stmsi4_power): Likewise.
  2842. (stmsi3_power): Likewise.
  2843. (movsi_update2): Enable iff generating microcode.
  2844. (movhi_update3): Likewise.
  2845. (lmw): Set cell_micro to always.
  2846. 2008-10-13 Richard Sandiford <rdsandiford@googlemail.com>
  2847. * config/s390/s390.md (UNSPEC_POOL_OFFSET): New constant.
  2848. * config/s390/s390.c (machine_function): Remove
  2849. decomposed_literal_pool_addresses_ok_p.
  2850. (s390_decompose_address): Check for UNSPEC_POOL_OFFSET instead of
  2851. the difference of two labels.
  2852. (s390_output_addr_const_extra): Handle UNSPEC_POOL_OFFSET.
  2853. (s390_pool_offset): New function.
  2854. (s390_find_constant, s390_find_execute, s390_dump_pool): Use it.
  2855. (s390_reorg): Don't set decomposed_literal_pool_addresses_ok_p.
  2856. 2008-10-13 Nathan Froyd <froydnj@codesourcery.com>
  2857. * doc/install.texi (powerpc-*-*): Require binutils 2.15.
  2858. (powerpc*-*-linux-gnu*): Describe.
  2859. * config/rs6000/ppc-asm.h (HIDDEN_FUNC): New macro.
  2860. * config/rs6000/crtresfpr.asm, config/rs6000/crtresgpr.asm,
  2861. config/rs6000/crtresxfpr.asm, config/rs6000/crtresxgpr.asm,
  2862. config/rs6000/crtsavfpr.asm, config/rs6000/crtsavgpr.asm,
  2863. config/rs6000/e500crtres32gpr.asm,
  2864. config/rs6000/e500crtres64gpr.asm,
  2865. config/rs6000/e500crtres64gprctr.asm,
  2866. config/rs6000/e500crtrest32gpr.asm,
  2867. config/rs6000/e500crtrest64gpr.asm,
  2868. config/rs6000/e500crtresx32gpr.asm,
  2869. config/rs6000/e500crtresx64gpr.asm,
  2870. config/rs6000/e500crtsav32gpr.asm,
  2871. config/rs6000/e500crtsav64gpr.asm,
  2872. config/rs6000/e500crtsav64gprctr.asm,
  2873. config/rs6000/e500crtsavg32gpr.asm,
  2874. config/rs6000/e500crtsavg64gpr.asm,
  2875. config/rs6000/e500crtsavg64gprctr.asm: Use it.
  2876. * config/rs6000/crtsavres.asm: Really remove.
  2877. 2008-10-13 Kai Tietz <kai.tietz@onevision.com>
  2878. Fix PR/25502
  2879. * c-format.c (convert_format_name_to_system_name): Use
  2880. TARGET_OVERRIDES_FORMAT_INIT.
  2881. * config.gcc (extra_options): Add for mingw targets mingw.opt.
  2882. * config/i386/mingw.opt: New.
  2883. * config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_INIT): New.
  2884. * config/i386/msformat-c.c (TARGET_OVERRIDES_FORMAT_INIT): New.
  2885. (ms_printf_length_specs): Removed const specifier.
  2886. * doc/tm.texi (TARGET_OVERRIDES_FORMAT_INIT): New.
  2887. * doc/invoke.texi (Wno-pedantic-ms-format): New.
  2888. 2008-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2889. * builtins.c: Remove MPFR_VERSION_NUM(2,3,0) conditionals.
  2890. * doc/install.texi: Bump recommended MPFR to 2.3.2.
  2891. 2008-10-12 Kenneth Zadeck <zadeck@naturalbridge.com>
  2892. PR middle-end/37808
  2893. * df-scan.c (df_ref_change_reg_with_loc_1): Added test to make
  2894. sure that ref has valid bb.
  2895. 2008-10-12 Richard Henderson <rth@redhat.com>
  2896. PR middle-end/37447
  2897. * Makefile.in (reload1.o): Depend on EMIT_RTL_H.
  2898. * alias.c (value_addr_p, stack_addr_p): Remove.
  2899. (nonoverlapping_memrefs_p): Remove IRA special case.
  2900. * emit-rtl.c (get_spill_slot_decl, set_mem_attrs_for_spill): New.
  2901. * emit-rtl.h (set_mem_attrs_for_spill): Declare.
  2902. * reload1.c (alter_reg): Use it.
  2903. 2008-10-12 Uros Bizjak <ubizjak@gmail.com>
  2904. * config/i386/driver-i386.c (detect_caches_cpuid2): Use array
  2905. of registers instead of eax, ebx, ecx and edx. Use for loop
  2906. and check register for non-zero value before the call
  2907. to decode_caches_intel.
  2908. 2008-10-11 Kenneth Zadeck <zadeck@naturalbridge.com>
  2909. PR rtl-optimization/37448
  2910. * df.h (df_ref_class): New enum.
  2911. (DF_REF_TYPE_NAMES, df_ref_extract): Removed.
  2912. (struct df_ref): Replaced with union df_ref_d.
  2913. (df_base_ref, df_artificial_ref, df_regular_ref, df_extract_ref):
  2914. New members of df_ref_d union.
  2915. (DF_REF_REAL_REG, DF_REF_REGNO, DF_REF_REAL_LOC, DF_REF_REG,
  2916. DF_REF_LOC, DF_REF_BB, DF_REF_INSN_INFO, DF_REF_INSN,
  2917. DF_REF_CLASS, DF_REF_TYPE, DF_REF_CHAIN, DF_REF_ID, DF_REF_FLAGS,
  2918. DF_REF_ORDER, DF_REF_IS_ARTIFICIAL, DF_REF_NEXT_REG,
  2919. DF_REF_PREV_REG, DF_REF_EXTRACT_WIDTH, DF_REF_EXTRACT_OFFSET,
  2920. DF_REF_EXTRACT_MODE): Replaced definition to access union df_ref_d.
  2921. (DF_MWS_REG_DEF_P, DF_MWS_REG_USE_P, DF_MWS_TYPE): New macros.
  2922. (df_scan_bb_info, df_bb_regno_first_def_find,
  2923. df_bb_regno_last_def_find, df_find_def, df_find_use,
  2924. df_refs_chain_dump, df_regs_chain_dump, df_ref_debug,
  2925. debug_df_ref, df_chain_create, df_chain_unlink, df_chain_copy,
  2926. df_ref_create, df_ref_remove, df_compute_accessed_bytes,
  2927. df_get_artificial_defs, df_get_artificial_uses, union_defs)
  2928. Replaced struct df_ref * with df_ref.
  2929. * df-scan.c (df_collection_rec, df_null_ref_rec,
  2930. df_ref_chain_delete_du_chain, df_ref_chain_delete, df_install_ref,
  2931. df_grow_ref_info, df_ref_create, df_reg_chain_unlink,
  2932. df_ref_compress_rec, df_ref_remove, df_ref_chain_delete_du_chain,
  2933. df_ref_chain_delete, df_free_collection_rec, df_insn_rescan,
  2934. df_reorganize_refs_by_reg_by_reg,
  2935. df_reorganize_refs_by_reg_by_insn, df_reorganize_refs_by_reg,
  2936. df_ref_change_reg_with_loc_1, df_notes_rescan, df_swap_refs,
  2937. df_sort_and_compress_refs, df_install_ref, df_install_refs,
  2938. df_ref_record, df_get_conditional_uses, df_get_call_refs,
  2939. df_bb_refs_record, df_exit_block_uses_collect,
  2940. df_record_exit_block_uses, df_reg_chain_mark,
  2941. df_reg_chain_verify_unmarked, df_refs_verify): Replaced struct
  2942. df_ref * with df_ref.
  2943. (df_ref_record, df_uses_record, df_ref_create_structure): Added
  2944. df_ref_class parameter.
  2945. (df_scan_problem_data): Added new pools for different types of refs.
  2946. (df_scan_free_internal, df_scan_alloc, df_free_ref,
  2947. df_ref_create_structure): Processed new ref pools.
  2948. (df_scan_start_dump): Added counts of refs and insns.
  2949. (df_ref_create, df_notes_rescan, df_def_record_1, df_uses_record,
  2950. df_get_call_refs, df_insn_refs_collect, df_bb_refs_collect,
  2951. df_entry_block_defs_collect, df_exit_block_uses_collect): Added
  2952. code to pass df_ref_class down to ref creation functions.
  2953. (df_reg_chain_unlink, df_ref_remove, df_ref_change_reg_with_loc_1,
  2954. df_reg_chain_mark): Use macros to hide references to df_refs.
  2955. (df_ref_chain_change_bb): Removed.
  2956. (df_insn_change_bb): Remove calls to df_ref_insn_change_bb.
  2957. (df_ref_equal_p, df_ref_compare, df_ref_create_structure):
  2958. Enhanced to understand df_ref union structure.
  2959. * fwprop.c (local_ref_killed_between_p, use_killed_between,
  2960. all_uses_available_at, update_df, try_fwprop_subst,
  2961. forward_propagate_subreg, forward_propagate_and_simplify,
  2962. forward_propagate_into, fwprop, fwprop_addr): Replaced struct
  2963. df_ref * with df_ref.
  2964. (use_killed_between, all_uses_available_at): Use macros to hide
  2965. references to df_refs.
  2966. * regstat.c (regstat_bb_compute_ri,
  2967. regstat_bb_compute_calls_crossed): Replaced struct df_ref * with
  2968. df_ref.
  2969. * see.c (see_handle_relevant_defs, see_handle_relevant_uses,
  2970. see_handle_relevant_refs, see_analyze_one_def,
  2971. see_update_relevancy, see_propagate_extensions_to_uses): Replaced
  2972. struct df_ref * with df_ref.
  2973. * ra-conflict.c (record_one_conflict, clear_reg_in_live,
  2974. global_conflicts): Replaced struct df_ref * with df_ref.
  2975. * ddg.c (create_ddg_dep_from_intra_loop_link,
  2976. add_cross_iteration_register_deps, build_inter_loop_deps):
  2977. Replaced struct df_ref * with df_ref.
  2978. (create_ddg_dep_from_intra_loop_link,
  2979. add_cross_iteration_register_deps): Use macros to hide references
  2980. to df_refs.
  2981. * auto-inc-dec.c (find_inc, merge_in_block): Replaced struct
  2982. df_ref * with df_ref.
  2983. * df-core.c (df_bb_regno_first_def_find,
  2984. df_bb_regno_last_def_find, df_find_def, df_find_use,
  2985. df_refs_chain_dump, df_regs_chain_dump, df_ref_debug,
  2986. debug_df_ref): Replaced struct df_ref * with df_ref.
  2987. (df_mws_dump, df_ref_debug): Use macros to hide references to df_refs.
  2988. * cse.c (cse_extended_basic_block): Replaced struct df_ref * with
  2989. df_ref.
  2990. * web.c (union_defs, entry_register, replace_ref, web_main):
  2991. Replaced struct df_ref * with df_ref.
  2992. (union_defs, replace_ref): Use macros to hide references to df_refs.
  2993. * global.c (compute_regs_asm_clobbered, build_insn_chain):
  2994. Replaced struct df_ref * with df_ref.
  2995. * ifcvt.c (dead_or_predicable): Replaced struct df_ref * with df_ref.
  2996. * sel-sched-ir.c (maybe_downgrade_id_to_use, setup_id_reg_sets):
  2997. Replaced struct df_ref * with df_ref.
  2998. * ira-lives.c (mark_ref_live, def_conflicts_with_inputs_p,
  2999. mark_ref_dead, process_bb_node_lives): Replaced struct df_ref *
  3000. with df_ref.
  3001. * local-alloc.c (block_alloc): Replaced struct df_ref * with df_ref.
  3002. * df-byte-scan.c (df_compute_accessed_bytes_extract,
  3003. df_compute_accessed_bytes_strict_low_part,
  3004. df_compute_accessed_bytes_subreg, df_compute_accessed_bytes):
  3005. Replaced struct df_ref * with df_ref.
  3006. (df_compute_accessed_bytes): Use macros to hide references to df_refs.
  3007. * init-regs.c (initialize_uninitialized_regs): Replaced struct
  3008. df_ref * with df_ref.
  3009. * loop-invariant.c (invariant_for_use, hash_invariant_expr_1,
  3010. check_dependency, check_dependencies, record_uses): Replaced
  3011. struct df_ref * with df_ref.
  3012. (invariant_for_use, check_dependency): Use macros to hide
  3013. references to df_refs.
  3014. * loop-iv.c (iv_analysis_loop_init, iv_get_reaching_def,
  3015. get_biv_step_1, get_biv_step, record_iv, iv_analyze_def,
  3016. iv_analyze, biv_p): Replaced struct df_ref * with df_ref.
  3017. (iv_analysis_loop_init, iv_get_reaching_def): Use macros to hide
  3018. references to df_refs.
  3019. * ira.c (compute_regs_asm_clobbered): Replaced struct df_ref *
  3020. with df_ref.
  3021. * combine.c (create_log_links): Replaced struct df_ref * with df_ref.
  3022. * df-problems.c (df_rd_bb_local_compute_process_def,
  3023. df_lr_bb_local_compute, df_live_bb_local_compute, df_chain_create,
  3024. df_chain_unlink_1, df_chain_unlink, df_chain_copy,
  3025. df_chain_remove_problem, df_chain_create_bb_process_use,
  3026. df_chain_create_bb, df_chain_top_dump, df_chain_bottom_dump,
  3027. df_byte_lr_check_regs, df_byte_lr_bb_local_compute,
  3028. df_byte_lr_simulate_defs, df_byte_lr_simulate_uses,
  3029. df_byte_lr_simulate_artificial_refs_at_top,
  3030. df_byte_lr_simulate_artificial_refs_at_end, df_create_unused_note,
  3031. df_note_bb_compute, df_note_add_problem, df_simulate_defs,
  3032. df_simulate_uses, df_simulate_artificial_refs_at_end,
  3033. df_simulate_artificial_refs_at_top): Replaced struct df_ref * with
  3034. df_ref.
  3035. (df_chain_dump): Use macros to hide references to df_refs.
  3036. * config/mips/mips.c (r10k_simplify_address): Replaced struct
  3037. df_ref * with df_ref.
  3038. * dce.c (mark_nonreg_stores, delete_corresponding_reg_eq_notes,
  3039. mark_artificial_uses, mark_reg_dependencies,
  3040. byte_dce_process_block): Replaced struct df_ref * with df_ref.
  3041. 2008-10-11 Eric Botcazou <ebotcazou@adacore.com>
  3042. * tree.h (contains_packed_reference): Mention ARRAY_RANGE_REF in
  3043. head comment.
  3044. (array_ref_element_size): Likewise.
  3045. (array_ref_low_bound): Likewise.
  3046. (array_ref_up_bound): Likewise.
  3047. * expr.c (contains_packed_reference): Likewise.
  3048. (array_ref_element_size): Likewise.
  3049. (array_ref_low_bound): Likewise.
  3050. (array_ref_up_bound): Likewise.
  3051. * tree-ssa-loop-ivopts.c (idx_contains_abnormal_ssa_name_p): Deal
  3052. with ARRAY_RANGE_REF.
  3053. (idx_find_step): Likewise.
  3054. (idx_record_use): Likewise.
  3055. (strip_offset_1): Likewise.
  3056. (idx_remove_ssa_names): Likewise.
  3057. 2008-10-11 Uros Bizjak <ubizjak@gmail.com>
  3058. Andi Kleen <ak@linux.intel.com>
  3059. * config/i386/cpuid.h (__cpuid_count): New defines.
  3060. * config/i386/driver-i386.c (struct cache_desc): New structure.
  3061. (describe_cache): Use struct cache_desc to pass cache descriptions.
  3062. (detect_l2_cache): Ditto. Rename from decode_l2_cache.
  3063. (detect_caches_amd): Use struct cache_desc to describe caches.
  3064. (decode_caches_intel): Use struct cache_desc to pass cache
  3065. descriptions. Update descriptions to match latest (rev -032,
  3066. December 2007) CPUID documentation. Do not check valid bit here.
  3067. Check for Xeon MP value 0x49 problems.
  3068. (detect_caches_cpuid2): New function, split from detect_caches_intel.
  3069. Check valid bit before calling decode_caches_intel. Detect number
  3070. of times to repeat CPUID instruction.
  3071. (detect_caches_cpuid4): New function.
  3072. (detect_caches_intel): Depending on max_level, call
  3073. detect_caches_cpuid2 or detect_caches_cpuid4. Call detect_l2_cache
  3074. only when other methods fail to provide valid L2 cache description.
  3075. 2008-10-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  3076. PR middle-end/37608
  3077. * pa.md (call, call_value): Generate an rtx for register r4 and pass
  3078. it to PIC call patterns.
  3079. (call_symref_pic): Revise pattern to expose PIC register save. Remove
  3080. code generation and attributes from pattern. Change peephole2 to
  3081. split for noreturn case. Revise split pattern for non noreturn case.
  3082. (call_symref_64bit, call_reg_pic, call_reg_64bit, call_val_symref_pic,
  3083. call_val_symref_64bit, call_val_reg_pic, call_val_reg_64bit): Likewise.
  3084. * pa.c (attr_length_call): Simplify extraction of call rtx. Add some
  3085. asserts.
  3086. 2008-10-11 David Edelsohn <edelsohn@gnu.org>
  3087. * config/rs6000/rs6000.md (aux_truncdfsf2): Remove TARGET_SINGLE_FLOAT.
  3088. (addsf3, subsf3, mulsf3 ! TARGET_POWERPC): Remove TARGET_SINGLE_FLOAT
  3089. and fp_type.
  3090. (divdf3): Reformat long line.
  3091. 2008-10-11 Michael J. Eager <eager@eagercon.com>
  3092. * config/rs6000/rs6000.c (rs6000_parse_fpu_option): Interpret
  3093. -mfpu options.
  3094. (rs6000_handle_option): Process -mfpu options.
  3095. * config/rs6000/rs6000.h (TARGET_XILINX_FPU): New.
  3096. (enum fpu_type_t): New.
  3097. * config/rs6000/rs6000.md (attr fp_type): New. Include xfpu.md.
  3098. (addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3, trunctfdf2): Set
  3099. fp_type.
  3100. (floatsisf2): Remove TARGET_SINGLE_FPU condition.
  3101. (floatdidf2): Add TARGET_SINGLE_FPU condition.
  3102. * config/rs6000/rs6000.opt (-mfpu): New.
  3103. (-mxilinx-fpu): New.
  3104. * config/rs6000/sysv4.h (DRIVER_SELF_SPECS): New.
  3105. * config/rs6000/xfpu.h: New. Define TARGET_XILINX_FPU.
  3106. * config/rs6000/xfpu.md: New. Define Xilinx pipeline.
  3107. * gcc/config.gcc: powerpc-xilinx-eabi target: New.
  3108. * gcc/doc/invoke.texi (RS/6000 and PowerPC Options): Add -mfpu option.
  3109. 2008-10-11 Jakub Jelinek <jakub@redhat.com>
  3110. PR target/35760
  3111. * config/rs6000/rs6000.c (rs6000_legitimize_address): Only create
  3112. LO_SUM on Darwin if mode has just one unit.
  3113. 2008-10-10 H.J. Lu <hongjiu.lu@intel.com>
  3114. PR debug/37002
  3115. * dwarf2out.c (mem_loc_descriptor): Use DRAP for vDRAP which
  3116. has been optimized out.
  3117. 2008-10-10 Richard Sandiford <rdsandiford@googlemail.com>
  3118. * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Test PIC_ADDR_P
  3119. instead of PIC_DIRECT_ADDR_P.
  3120. (SECONDARY_INPUT_RELOAD_CLASS): Likewise.
  3121. (IS_LITERAL_OR_SYMBOLIC_S16_P, IS_LITERAL_OR_SYMBOLIC_U16_P): Delete.
  3122. (IS_NON_EXPLICIT_CONSTANT_P): Don't test PIC_OFFSET_P.
  3123. (PIC_OFFSET_P): Rename to...
  3124. (PCREL_SYMOFF_P): ...this.
  3125. (PIC_DIRECT_ADDR_P): Delete.
  3126. (MOVI_SHORI_BASE_OPERAND_P): Check PCREL_SYMOFF_P instead of
  3127. PIC_OFFSET_P.
  3128. (OUTPUT_ADDR_CONST_EXTRA): Don't require unspecs to have a
  3129. single argument. Handle UNSPEC_EXTRACT_S16, UNSPEC_EXTRACT_U16,
  3130. UNSPEC_SYMOFF and UNSPEC_PCREL_SYMOFF.
  3131. * config/sh/sh.c (print_operand): Remove CONST handling.
  3132. (unspec_caller_rtx_p): Rewrite to use split_const and check
  3133. the operands of UNSPEC bases.
  3134. (fixup_mova): Replace (unspec [(minus A B)] UNSPEC_PIC)
  3135. with (unspec [A B] UNSPEC_SYMOFF).
  3136. (nonpic_symbol_mentioned_p): Check for UNSPEC_SYMOFF and
  3137. UNSPEC_PCREL_SYMOFF.
  3138. (sh_secondary_reload): Test PIC_ADDR_P instead of PIC_DIRECT_ADDR_P.
  3139. * config/sh/sh.md (UNSPEC_EXTRACT_S16): New unspec.
  3140. (UNSPEC_EXTRACT_U16): Likewise.
  3141. (UNSPEC_SYMOFF): Likewise.
  3142. (UNSPEC_PCREL_SYMOFF): Likewise.
  3143. (movsi_const): Use UNSPEC_EXTRACT_*16s to extract 16-bit portions
  3144. of constants.
  3145. (movsi_const_16bit): Likewise.
  3146. (movdi_const, movdi_const_32bit, movdi_const_16bit): Likewise.
  3147. (GOTaddr2picreg): Replace (unspec [(minus A (minus B pc))] UNSPEC_PIC)
  3148. with (unspec [A B] UNSPEC_PCREL_SYMOFF).
  3149. (sym_label2reg): Replace (minus (const (unspec [A] UNSPEC_PIC)) B)
  3150. with (unspec [A B] UNSPEC_SYMOFF).
  3151. (symPLT_label2reg): Replace (minus A (minus B pc)) with
  3152. (unspec [A B] PCREL_UNSPEC_SYMOFF).
  3153. * config/sh/constraints.md (Css): Check for an UNSPEC_EXTRACT_S16.
  3154. (Csu): Likewise UNSPEC_EXTRACT_U16.
  3155. (Csy): Test PIC_ADDR_P instead of PIC_DIRECT_ADDR_P.
  3156. (Cpg): Update after changes to IS_NON_EXPLICIT_CONSTANT_P.
  3157. 2008-10-10 Stepan Kasal <skasal@redhat.com>
  3158. * gcc/doc/invoke.texi (Optimize Options): Fix typo in examples
  3159. for loop strip mining and loop blocking.
  3160. 2008-10-10 Alexandre Oliva <aoliva@redhat.com>
  3161. * fortran/trans-types.c (gfc_get_nodesc_array_type): Don't
  3162. vary types depending on debug info.
  3163. 2008-10-10 Alexandre Oliva <aoliva@redhat.com>
  3164. * c-gimplify.c (c_genericize): Don't refer to DECL_ASSEMBLER_NAME
  3165. before ensuring it's already computed.
  3166. 2008-10-09 Jakub Jelinek <jakub@redhat.com>
  3167. * rtl.h (locator_eq): New decl.
  3168. * cfglayout.c (locator_scope): New function.
  3169. (insn_scope): Use it.
  3170. (locator_eq): New function.
  3171. (fixup_reorder_chain): Search for last insn in src bb
  3172. that has locator set or first insn in dest bb. Use
  3173. locator_eq instead of == to compare locators.
  3174. * cfgrtl.c (cfg_layout_merge_blocks): Likewise.
  3175. * cfgcleanup.c (try_forward_edges): Use locator_eq instead of
  3176. == to compare locators.
  3177. * tree-ssa-live.c (remove_unused_locals): Mark all edge's goto_block
  3178. as used.
  3179. * gimple-low.c (lower_function_body, lower_gimple_return,
  3180. lower_builtin_setjmp): Set gimple_block on the newly created stmts.
  3181. * tree-cfg.c (make_cond_expr_edges, make_goto_expr_edges): Only set
  3182. goto_block on edges if goto_locus is known.
  3183. PR middle-end/37774
  3184. * tree.h (get_object_alignment): Declare.
  3185. * emit-rtl.c (set_mem_attributes_minus_bitpos): Call
  3186. get_object_alignment if needed.
  3187. * builtins.c (get_pointer_alignment): Move ADDR_EXPR operand
  3188. handling to ...
  3189. (get_object_alignment): ... here. New function. Try harder to
  3190. determine alignment from get_inner_reference returned offset.
  3191. 2008-10-08 Jakub Jelinek <jakub@redhat.com>
  3192. * graphite.c (gloog): Don't call find_unreachable_blocks
  3193. before delte_unreachable_blocks.
  3194. * cfgexpand.c (expand_gimple_cond): Convert also goto_block and
  3195. goto_locus of true_edge into RTL locator.
  3196. 2008-10-08 Uros Bizjak <ubizjak@gmail.com>
  3197. * config/i386/i386.md (*jcc_btdi_rex64): Clobber FLAGS_REG.
  3198. (*jcc_btdi_mask_rex64): Ditto.
  3199. (*jcc_btsi): Ditto.
  3200. (*jcc_btsi_mask): Ditto.
  3201. (*jcc_btsi_1): Ditto.
  3202. (*jcc_btsi_mask_1): Ditto.
  3203. 2008-10-08 Paul Brook <paul@codesourcery.com>
  3204. * config/arm/bpabi.h (ARM_FUNCTION_PROFILER): Define new EABI
  3205. compatible profiler (__gnu_mcount_nc).
  3206. (SUBTARGET_FRAME_POINTER_REQUIRED): Define.
  3207. 2008-10-08 H.J. Lu <hongjiu.lu@intel.com>
  3208. * config/i386/i386.c (initial_ix86_tune_features): Add
  3209. X86_TUNE_USE_VECTOR_FP_CONVERTS.
  3210. * config/i386/i386.h (ix86_tune_indices): Likewise.
  3211. (TARGET_USE_VECTOR_FP_CONVERTS): New.
  3212. * config/i386/i386.md: Check TARGET_USE_VECTOR_FP_CONVERTS
  3213. instead of (TARGET_USE_VECTOR_CONVERTS || TARGET_GENERIC)
  3214. for FP to FP splitters.
  3215. 2008-10-08 H.J. Lu <hongjiu.lu@intel.com>
  3216. * config/i386/i386.md: Add missing gen_sse2_cvtdq2p to convert
  3217. splitter.
  3218. 2008-10-08 Jakub Jelinek <jakub@redhat.com>
  3219. PR target/36635
  3220. PR target/37290
  3221. PR rtl-optimization/37341
  3222. * cse.c (cse_cc_succs): Add ORIG_BB argument, don't follow edges
  3223. to ORIG_BB, pass through ORIG_BB recursively.
  3224. (cse_condition_code_reg): Adjust caller.
  3225. 2008-10-08 Kai Tietz <kai.tietz@onevision.com>
  3226. * sdbout.c (sdbout_one_type): Treat the value type
  3227. CONST_DECL for enumerals.
  3228. 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
  3229. * config/i386/i386.md: Remove trailing white spaces.
  3230. 2008-10-07 Kenneth Zadeck <zadeck@naturalbridge.com>
  3231. PR rtl-optimization/37448
  3232. * alloc-pool.c (struct alloc_pool_descriptor) [elt_size]: New field.
  3233. (stuct alloc_pool_descriptor) [created, allocated, current, peak]:
  3234. Make unsigned long.
  3235. (struct output_info) [count]: Renamed total_created and made
  3236. unsigned long.
  3237. (struct output_info) [size]: Renamed total_allocated and made
  3238. unsigned long.
  3239. (create_alloc_pool, empty_alloc_pool, pool_alloc, pool_free):
  3240. Properly keep track of desc->size.
  3241. (print_statistics, dump_alloc_pool_statistics): Enhance the
  3242. printing of statistics to print the number of elements and to use
  3243. unsigned longs.
  3244. 2008-10-07 Jakub Jelinek <jakub@redhat.com>
  3245. PR middle-end/37576
  3246. * opts.h (CL_SAVE): Move up to flags range.
  3247. (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_TARGET,
  3248. CL_COMMON): Renumber.
  3249. (CL_MIN_OPTION_CLASS): Set to CL_PARAMS.
  3250. * opts.c (common_handle_option): Revert last change.
  3251. 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
  3252. * config/i386/i386-protos.h (ix86_schedule): New.
  3253. * config/i386/i386.c (ix86_schedule): New.
  3254. (override_options): Add schedule to processor_alias_table. Set
  3255. ix86_schedule from the schedule field in processor_alias_table.
  3256. (ix86_function_specific_save): Save ix86_schedule.
  3257. (ix86_function_specific_restore): Restore ix86_schedule.
  3258. * config/i386/i386.md (cpu): Map to ix86_schedule instead of
  3259. ix86_tune. Add none and remove i386, i486, pentium4, nocona
  3260. and generic32.
  3261. * config/i386/i386.opt: Add schedule.
  3262. * config/i386/ppro.md: Remove generic32.
  3263. 2008-10-07 Simon Martin <simartin@users.sourceforge.net>
  3264. PR c/35437
  3265. * expr.c (count_type_elements): Handle ERROR_MARK.
  3266. 2008-10-07 Jakub Jelinek <jakub@redhat.com>
  3267. PR debug/29609
  3268. PR debug/36690
  3269. PR debug/37616
  3270. * basic-block.h (struct edge_def): Add goto_block field.
  3271. * cfglayout.c (fixup_reorder_chain): Ensure that there is at least
  3272. one insn with locus corresponding to edge's goto_locus if !optimize.
  3273. * profile.c (branch_prob): Copy edge's goto_block.
  3274. * cfgrtl.c (force_nonfallthru_and_redirect): Use goto_locus for
  3275. emitted jumps.
  3276. (cfg_layout_merge_blocks): Emit a nop with edge's goto_locus
  3277. locator in between the merged basic blocks if !optimize and needed.
  3278. * cfgexpand.c (expand_gimple_cond): Convert goto_block and
  3279. goto_locus into RTL locator. For unconditional jump use that
  3280. locator for the jump insn.
  3281. (expand_gimple_cond): Convert goto_block and goto_locus into
  3282. RTL locator for all remaining edges. For unconditional jump
  3283. use that locator for the jump insn.
  3284. * cfgcleanup.c (try_forward_edges): Avoid the optimization if
  3285. there is more than one edge or insn locator along the forwarding
  3286. edges and !optimize. If there is just one, set e->goto_locus.
  3287. * tree-cfg.c (make_cond_expr_edges, make_goto_expr_edges): Set also
  3288. edge's goto_block.
  3289. (move_block_to_fn): Adjust edge's goto_block.
  3290. 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
  3291. PR middle-end/37731
  3292. * expmed.c (expand_mult): Properly check DImode constant in
  3293. CONST_DOUBLE.
  3294. 2008-10-07 Jakub Jelinek <jakub@redhat.com>
  3295. PR debug/37738
  3296. * dwarf2out.c (common_block_die_table): New variable.
  3297. (common_block_die_table_hash, common_block_die_table_eq): New
  3298. functions.
  3299. (gen_variable_die): Look up a DW_TAG_common_block die for a particular
  3300. COMMON block in the current scope rather than globally. Optimize
  3301. DW_OP_addr SYMBOL_REF DW_OP_plus_uconst off into
  3302. DW_OP_addr SYMBOL_REF+off.
  3303. 2008-10-07 Eric Botcazou <ebotcazou@adacore.com>
  3304. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p) <VIEW_CONVERT_EXPR>:
  3305. Return true for non-addressable GIMPLE operands.
  3306. 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
  3307. PR target/24765
  3308. * config/i386/i386.c (initial_ix86_tune_features): Remove
  3309. X86_TUNE_USE_BIT_TEST.
  3310. * config/i386/i386.h (ix86_tune_indices): Likewise.
  3311. (TARGET_USE_BIT_TEST): Removed.
  3312. 2008-10-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
  3313. * config.gcc (arm*-*-*): Add aapcs-linux to supported ABIs.
  3314. 2008-10-06 Adam Nemet <anemet@caviumnetworks.com>
  3315. * config/mips/mips.md (mulsi3_mul3, muldi3_mul3): Merge these ...
  3316. (mul<mode>3_mul3): ... into this new template.
  3317. 2008-10-06 Aldy Hernandez <aldyh@redhat.com>
  3318. * gimplify.c (gimplify_arg): Add location argument. Use it.
  3319. (gimplify_call_expr): Pass location to gimplify_arg.
  3320. (gimplify_modify_expr_to_memcpy): Same.
  3321. (gimplify_modify_expr_to_memset): Same.
  3322. 2008-10-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3323. * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
  3324. Update calls to build_unary_op and build_indirect_ref for location
  3325. changes.
  3326. 2008-10-06 Aldy Hernandez <aldyh@redhat.com>
  3327. build_modify_expr.
  3328. * c-decl.c (finish_decl): Pass input_location to build_unary_op.
  3329. * c-typeck.c (array_to_pointer_conversion): Pass location to
  3330. build_unary_op.
  3331. (function_to_pointer_conversion): Use error_at and warning_at.
  3332. (build_indirect_ref): Same.
  3333. (build_array_ref): Pass location to build_binary_op.
  3334. (parser_build_unary_op): Do not set location after calling
  3335. build_unary_op.
  3336. (build_unary_op): Add location argument. Use it throughout. Set
  3337. EXPR_LOCATION before returning new tree.
  3338. (build_modify_expr): Same.
  3339. (build_binary_op): Use location throughout. Set EXPR_LOCATION before
  3340. returning node.
  3341. * c-omp.c (c_finish_omp_atomic): Pass location to build_unary_op,
  3342. build_indirect_ref, build_modify_expr.
  3343. (c_finish_omp_for): Same. Use error_at instead of error.
  3344. * c-common.c (c_common_truthvalue_conversion): Pass location to
  3345. build_unary_op.
  3346. (warn_for_div_by_zero): Add location argument.
  3347. * c-common.h: Add argument to build_modify_expr, build_indirect_ref,
  3348. build_unary_op, warn_for_div_by_zero.
  3349. * c-parser.c (c_parser_typeof_specifier): Use
  3350. protected_set_expr_location.
  3351. (c_parser_statement_after_labels): Same.
  3352. (c_parser_condition): Same.
  3353. (c_parser_expr_no_commas): Pass correct location to build_modify_expr.
  3354. (c_parser_conditional_expression): Use protected_set_expr_location.
  3355. (c_parser_unary_expression): Pass location to build_indirect_ref.
  3356. (c_parser_postfix_expression_after_primary): Pass location to
  3357. build_indirect_ref, build_unary_op.
  3358. (c_parser_omp_for_loop): Set the increment expression's EXPR_LOCATION.
  3359. 2008-10-06 Joshua Kinard <kumba@gentoo.org>
  3360. * doc/invoke.texi: List r1x000 family under the -march MIPS option.
  3361. * config/mips/mips.h (PROCESSOR_R10000): New processor_type.
  3362. * config/mips/mips.c (mips_cpu_info_table): Add r10000, r12000,
  3363. r14000 and r16000.
  3364. (mips_rtx_cost_data): Add a PROCESSOR_R10000 entry.
  3365. (mips_issue_rate): Handle PROCESSOR_R10000.
  3366. * config/mips/mips.md (cpu): Add r10000.
  3367. Include r10000.md.
  3368. * config/mips/10000.md: New file.
  3369. 2008-10-06 Richard Sandiford <rdsandiford@googlemail.com>
  3370. * config/rs6000/rs6000-protos.h (rs6000_find_base_term): Declare.
  3371. * config/rs6000/rs6000.h (FIND_BASE_TERM): New macro.
  3372. * config/rs6000/rs6000.c (rs6000_find_base_term): New function.
  3373. 2008-10-06 Richard Sandiford <rdsandiford@googlemail.com>
  3374. * config/darwin-protos.h (machopic_function_base_name): Delete.
  3375. (machopic_function_base_sym): Likewise.
  3376. (machopic_gen_offset): Declare.
  3377. * config/darwin.h (MACHOPIC_FUNCTION_BASE_NAME): New macro.
  3378. (ASM_OUTPUT_LABELREF): Use it instead of a hard-coded string constant.
  3379. * config/darwin.c (machopic_function_base_name): Delete.
  3380. (machopic_function_base_sym): Likewise.
  3381. (gen_pic_offset): Rename to...
  3382. (machopic_gen_offset): ...this and remove the pic_base argument.
  3383. Instead use MACHO_DYNAMIC_NO_PIC_P to decide whether a PIC offset
  3384. is needed. Create an UNSPEC_MACHOPIC_OFFSET if so, and set
  3385. crtl->uses_pic_offset_table.
  3386. (machopic_indirect_data_reference): Use new machopic_gen_offset
  3387. interface.
  3388. (machopic_legitimize_pic_address): Likewise.
  3389. (machopic_operand_p): Check for UNSPEC_MACHOPIC_OFFSET.
  3390. * config/i386/darwin.h (GOT_SYMBOL_NAME): Use
  3391. MACHOPIC_FUNCTION_BASE_NAME instead of machopic_function_base_name.
  3392. * config/i386/i386.c (output_set_got): Likewise.
  3393. (darwin_local_data_pic): Check for an UNSPEC_MACHOPIC_OFFSET
  3394. instead of a MINUS.
  3395. (legitimate_pic_operand_p): Handle UNSPEC_MACHOPIC_OFFSET.
  3396. (legitimate_address_p): Likewise.
  3397. (output_pic_addr_const): Likewise.
  3398. (output_addr_const_extra): Likewise.
  3399. (ix86_delegitimize_address): Expect darwin_local_data_pic to
  3400. match an UNSPEC rather than a MINUS.
  3401. * config/i386/i386.md (UNSPEC_MACHOPIC_OFFSET): Define.
  3402. (builtin_setjmp_receiver): Use machopic_gen_offset.
  3403. * config/i386/predicates.md (pic_symbolic_operand): Handle
  3404. UNSPEC_MACHOPIC_OFFSET.
  3405. * config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
  3406. Use machopic_gen_offset and machopic_operand_p.
  3407. (rs6000_output_addr_const_extra): Handle UNSPEC_MACHOPIC_OFFSET.
  3408. (rs6000_emit_prologue): Use MACHOPIC_FUNCTION_BASE_NAME.
  3409. * config/rs6000/rs6000.md (UNSPEC_MACHOPIC_OFFSET): Define.
  3410. (builtin_setjmp_receiver): Use MACHOPIC_FUNCTION_BASE_NAME.
  3411. Set crtl->uses_pic_offset_table.
  3412. 2008-10-06 Richard Sandiford <rdsandiford@googlemail.com>
  3413. * config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra):
  3414. Declare.
  3415. * config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): New macro.
  3416. * config/rs6000/rs6000.md (UNSPEC_TOCREL): New constant.
  3417. * config/rs6000/rs6000.c (constant_pool_expr_1): Delete.
  3418. (constant_pool_expr_p): Use split_const and check the base.
  3419. (toc_relative_expr_p): Likewise, checking for an UNSPEC_TOCREL
  3420. instead of a MINUS.
  3421. (legitimate_constant_pool_address_p): Check toc_relative_p
  3422. instead of constant_pool_expr_p.
  3423. (print_operand_address): Always use output_addr_const for
  3424. constant pool addresses.
  3425. (rs6000_output_addr_const_extra): New function.
  3426. (create_TOC_reference): Create an UNSPEC_TOCREL instead of a MINUS.
  3427. 2008-10-06 Vladimir Makarov <vmakarov@redhat.com>
  3428. PR middle-end/37535
  3429. * ira-lives.c (mark_reg_live, mark_reg_dead): New functions.
  3430. (mark_ref_live, mark_ref_dead): Use them.
  3431. (def_conflicts_with_inputs_p): Remove.
  3432. (mark_early_clobbers): New function.
  3433. (process_bb_node_lives): Call preprocess_constraints and
  3434. mark_early_clobbers.
  3435. * doc/rtx.texi (clobber): Change how RA deals with clobbers.
  3436. 2008-10-06 Danny Smith <dannysmith@users.sourceforge.net>
  3437. * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup
  3438. lib with -mthread switch.
  3439. 2008-10-05 Dodji Seketeli <dodji@redhat.com>
  3440. PR c++/37410
  3441. * dwarf2out.c (dwarf2out_imported_module_or_decl): Split this
  3442. function in two, making it call a new and reusable
  3443. dwarf2out_imported_module_or_decl() that takes the containing
  3444. BLOCK of the declaration in argument.
  3445. (dwarf2out_imported_module_or_decl_real): New function.
  3446. (decls_for_scope, gen_decl_die, dwarf2out_decl): Take
  3447. IMPORTED_DECL in account.
  3448. * tree.def: Added IMPORTED_DECL node type.
  3449. * tree.h: Added accessors for IMPORTED_DECL nodes.
  3450. * tree.c (init_ttree): Initialise IMPORTED_DECL node type.
  3451. 2008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  3452. * doc/gimple.texi: Fix some typos, wrap some long lines,
  3453. fix some broken wraps with continuations.
  3454. * tree-ssa-reassoc.c: Fix comment typos.
  3455. 2008-10-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  3456. PR target/37603
  3457. * pa.c (legitimize_pic_address): Force function labels to memory in
  3458. word mode.
  3459. 2008-10-04 Anton Blanchard <anton@samba.org>
  3460. * config/rs6000/rs6000.c (rs6000_emit_sync): Use gen_lwsync().
  3461. (rs6000_split_atomic_op): Same.
  3462. (rs6000_split_compare_and_swap): Same.
  3463. (rs6000_split_compare_and_swapqhi): Same.
  3464. 2008-10-04 Richard Guenther <rguenther@suse.de>
  3465. * tree-ssa-sccvn.c (vn_reference_op_eq): Use types_compatible_p
  3466. instead of pointer equality.
  3467. (vn_nary_op_eq): Likewise.
  3468. 2008-10-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3469. * config/rs6000/rs6000.md (fseldfsf4): Add TARGET_SINGLE_FLOAT
  3470. condition.
  3471. (fselsfdf4): Make condition on "TARGET_HARD_FLOAT && TARGET_FPRS &&
  3472. TARGET_DOUBLE_FLOAT && TARGET_SINGLE_FLOAT".
  3473. 2008-10-03 Danny Smith <dannysmith@users.sourceforge.net>
  3474. * config/i386/winnt.c (i386_pe_strip_name_encoding_full):
  3475. Revert previous change.
  3476. 2008-10-03 Tom Tromey <tromey@redhat.com>
  3477. * stringpool.c (ggc_alloc_string): Terminate string.
  3478. 2008-10-03 Jakub Jelinek <jakub@redhat.com>
  3479. * gimplify.c (gimplify_function_tree): For -finstrument-functions
  3480. use gimple_bind_{,set_}block instead of gimple_{,set_}block.
  3481. * gimple.h (gimple_bind_set_block): Allow second argument to be NULL.
  3482. PR debug/37726
  3483. * gimplify.c (declare_vars): Use gimple_bind_block instead of
  3484. gimple_block.
  3485. 2008-10-03 Pascal Obry <obry@adacore.com>
  3486. * gcov.c (create_file_names): Properly handle UNIX and DOS
  3487. directory separators.
  3488. (make_gcov_file_name): Likewise + convert the ':' DOS drive
  3489. separator to '~' to ensure clean filenames on Windows.
  3490. 2008-10-02 Danny Smith <dannysmith@users.sourceforge.net>
  3491. * config/i386/winnt.c (i386_pe_strip_name_encoding_full):
  3492. Add a null terminator to the stripped name.
  3493. 2008-10-02 David Edelsohn <edelsohn@gnu.org>
  3494. * config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Revert
  3495. TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
  3496. (function_arg_advance): Condition on TARGET_DOUBLE_FLOAT,
  3497. TARGET_SINGLE_FLOAT. Revert SCALAR_FLOAT_MODE_P condition.
  3498. (function_arg): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
  3499. (rs6000_function_value): Revert TARGET_DOUBLE_FLOAT,
  3500. TARGET_SINGLE_FLOAT.
  3501. 2008-10-02 Daniel Jacobowitz <dan@codesourcery.com>
  3502. * builtins.c (fold_builtin_pow): Check for 0 ** NEGATIVE.
  3503. 2008-10-02 Richard Guenther <rguenther@suse.de>
  3504. PR middle-end/37713
  3505. * tree-ssa.c (useless_type_conversion_p_1): For COMPLEX_TYPE
  3506. and VECTOR_TYPE recurse with useless_type_conversion_p which
  3507. properly handles void pointer conversion.
  3508. 2008-10-02 Danny Smith <dannysmith@users.sourceforge.net>
  3509. PR target/37528
  3510. * config/i386/mingw32.h (LIBGCC_SPEC): Replace with ..
  3511. (REAL_LIBGCC_SPEC): New. Always include -lgcc.
  3512. 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3513. * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
  3514. Handle ALTIVEC_BUILTIN_VEC_SPLATS, ALTIVEC_BUILTIN_VEC_PROMOTE,
  3515. ALTIVEC_BUILTIN_VEC_EXTRACT, and ALTIVEC_BUILTIN_VEC_INSERT specially,
  3516. they translate to non builtins.
  3517. * config/rs6000/rs6000.c (altivec_init_builtins): Add new variable
  3518. opaque_ftype_opaque. Define builtins __builtin_vec_splats,
  3519. __builtin_vec_promote, __builtin_vec_extract, and
  3520. __builtin_vec_insert.
  3521. * config/rs6000/rs6000.h (enum rs6000_builtins): Add
  3522. ALTIVEC_BUILTIN_VEC_EXTRACT, ALTIVEC_BUILTIN_VEC_PROMOTE,
  3523. ALTIVEC_BUILTIN_VEC_INSERT, and ALTIVEC_BUILTIN_VEC_SPLATS.
  3524. * config/rs6000/altivec.h (vec_extract): Define
  3525. (vec_insert): Define.
  3526. (vec_splats): Define.
  3527. (vec_promote): Define.
  3528. 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3529. Yukishige Shibata <shibata@rd.scei.sony.co.jp>
  3530. Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
  3531. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add Cell
  3532. Altivec intrinsics.
  3533. * config/rs6000/rs6000.c (altivec_expand_lv_builtin): Delete
  3534. prototype. Add new parameter, blk.
  3535. Use BLKmode for the MEM if blk is true.
  3536. (altivec_expand_builtin): Handle ALTIVEC_BUILTIN_STVLX,
  3537. ALTIVEC_BUILTIN_STVLXL, ALTIVEC_BUILTIN_STVRX, and
  3538. ALTIVEC_BUILTIN_STVRXL.
  3539. Update usage of altivec_expand_lv_builtin.
  3540. Handle ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL,
  3541. ALTIVEC_BUILTIN_LVRX, and ALTIVEC_BUILTIN_LVRXL.
  3542. (altivec_init_builtins): If compiling for the Cell, also define the
  3543. cell VMX builtins.
  3544. * config/rs6000/rs6000.h (rs6000_builtins): Define
  3545. ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL, ALTIVEC_BUILTIN_LVRX,
  3546. ALTIVEC_BUILTIN_LVRXL, ALTIVEC_BUILTIN_STVLX, ALTIVEC_BUILTIN_STVLXL,
  3547. ALTIVEC_BUILTIN_STVRX, ALTIVEC_BUILTIN_STVRXL,
  3548. ALTIVEC_BUILTIN_VEC_LVLX, ALTIVEC_BUILTIN_VEC_LVLXL,
  3549. ALTIVEC_BUILTIN_VEC_LVRX, ALTIVEC_BUILTIN_VEC_LVRXL,
  3550. ALTIVEC_BUILTIN_VEC_STVLX, ALTIVEC_BUILTIN_VEC_STVLXL,
  3551. ALTIVEC_BUILTIN_VEC_STVRX, and ALTIVEC_BUILTIN_VEC_STVRXL.
  3552. * config/rs6000/altivec.md (define_constants): Define UNSPEC_LVLX,
  3553. UNSPEC_LVLXL, UNSPEC_LVRX, UNSPEC_LVRXL, UNSPEC_STVLX, UNSPEC_STVLXL,
  3554. UNSPEC_STVRX, and UNSPEC_STVRXL.
  3555. (altivec_lvlx): New pattern.
  3556. (altivec_lvlxl): New pattern.
  3557. (altivec_lvrx): New pattern.
  3558. (altivec_lvrxl): New pattern.
  3559. (altivec_stvlx): New pattern.
  3560. (altivec_stvlxl): New pattern.
  3561. (altivec_stvrx): New pattern.
  3562. (altivec_stvrxl): New pattern.
  3563. * config/rs6000/altivec.h (vec_lvlx): Define if PPU is defined.
  3564. (vec_lvlxl): Likewise.
  3565. (vec_lvrx): Define if PPU is defined.
  3566. (vec_lvrxl): Likewise.
  3567. (vec_stvlx): Define if PPU is defined.
  3568. (vec_stvlxl): Likewise.
  3569. (vec_stvrx): Define if PPU is defined.
  3570. (vec_stvrxl): Likewise.
  3571. 2008-10-01 Geert Bosch <bosch@adacore.com>
  3572. * tree.c (contains_placeholder_p): Return 0 for a SAVE_EXPR.
  3573. 2008-10-01 Richard Guenther <rguenther@suse.de>
  3574. PR tree-optimization/37617
  3575. * tree-ssa-pre.c (create_expression_by_pieces): During FRE
  3576. do not add to the NEW_SETS.
  3577. 2008-10-01 Richard Guenther <rguenther@suse.de>
  3578. PR middle-end/37285
  3579. * tree-vrp.c (execute_vrp): If we optimized away the default
  3580. case make sure to promote the label that got in place of it
  3581. to a default case label.
  3582. 2008-10-01 Richard Henderson <rth@redhat.com>
  3583. PR tree-opt/35737
  3584. * tree-complex.c (set_component_ssa_name): Don't optimize
  3585. is_gimple_min_invariant values with ssa_names in abnormal phis.
  3586. 2008-09-30 Paolo Bonzini <bonzini@gnu.org>
  3587. PR tree-optimization/37662
  3588. * tree-ssa-ccp.c (fold_gimple_assign): Invert the operands of a
  3589. commutative binary operation if they are in the wrong order and
  3590. fold_build2 produces non-GIMPLE.
  3591. 2008-09-30 Jakub Jelinek <jakub@redhat.com>
  3592. PR tree-optimization/37662
  3593. PR tree-optimization/37663
  3594. * tree-vrp.c (simplify_truth_ops_using_ranges): Don't call
  3595. get_value_range with non-SSA_NAME. Don't assert operands have been
  3596. folded, instead just bail out.
  3597. 2008-09-30 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3598. * config/rs6000/rs6000.md (fnmadds combiner): Revert typo.
  3599. 2008-09-30 Richard Guenther <rguenther@suse.de>
  3600. PR middle-end/37491
  3601. * tree-vect-transform.c (vect_create_data_ref_ptr): Properly
  3602. build restrict-qualified pointers.
  3603. (vectorizable_store): Move alias check later.
  3604. (vectorizable_load): Likewise.
  3605. 2008-09-30 Paolo Bonzini <bonzini@gnu.org>
  3606. * c-common.c (empty_if_body_warning): Remove.
  3607. * c-common.h (empty_if_body_warning): Remove.
  3608. * c-parser.c (c_parser_if_body, c_parser_else_body): Implement
  3609. here the -Wempty-body warning for `if' and `else' statements.
  3610. * c-typeck.c (c_finish_if_stmt): Do not call empty_body_warning.
  3611. 2008-09-29 H.J. Lu <hongjiu.lu@intel.com>
  3612. * config/i386/i386.opt: Add msse2avx.
  3613. * config/i386/linux.h (ASM_SPEC): New. Support -msse2avx.
  3614. * config/i386/linux64.h (ASM_SPEC): Likewise.
  3615. * doc/invoke.texi: Document -msse2avx.
  3616. 2008-09-29 Eric Botcazou <ebotcazou@adacore.com>
  3617. * dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type.
  3618. 2008-09-29 Joseph Myers <joseph@codesourcery.com>
  3619. * ifcvt.c (noce_emit_store_flag): If using condition from original
  3620. jump, reverse it if if_info->cond was reversed.
  3621. 2008-09-29 Eric Botcazou <ebotcazou@adacore.com>
  3622. * expr.c (expand_expr_real_1) <normal_inner_ref>: Force op0 to
  3623. non-constant memory if it cannot be forced to constant memory.
  3624. Overhaul surrounding code and factor out common condition.
  3625. 2008-09-29 Jeff Law <law@redhat.com>
  3626. * reload1.c (alter_reg): Add missing curly braces.
  3627. 2008-09-29 Michael J. Eager <eager@eagercon.com>
  3628. * config/rs6000/predicates.md (easy_fp_constant): Single FP consts
  3629. are easy.
  3630. * config/rs6000/rs6000.c (rs6000_override_options): Move
  3631. rs6000_init_hard_regno_mode_ok after all options changed.
  3632. Set rs6000_single_float, rs6000_double_float if TARGET_HARD_FLOAT.
  3633. (rs6000_handle_option): Process -msingle-float, -mdouble-float,
  3634. -msimple-fpu flags. Add warning messages if single FP not configured.
  3635. (rs6000_file_start): Output gnu_attribute for single-float.
  3636. (legitimate_lo_sum_address_p): Condition on TARGET_DOUBLE_FLOAT.
  3637. (rs6000_legitimize_address): Likewise.
  3638. (rs6000_legitimize_reload_address): Likewise.
  3639. (rs6000_emit_move): Condition on TARGET_DOUBLE_FLOAT,
  3640. TARGET_SINGLE_FLOAT.
  3641. (function_arg_advance): Likewise (partial conversion).
  3642. (setup_incoming_varargs): Condition on TARGET_DOUBLE_FLOAT.
  3643. (rs6000_gimplify_va_arg): Condition on TARGET_DOUBLE_FLOAT,
  3644. TARGET_SINGLE_FLOAT.
  3645. (rs6000_split_multireg_move): Condition on TARGET_DOUBLE_FLOAT.
  3646. (rs6000_emit_prologue): Likewise.
  3647. (rs6000_function_value): Condition on TARGET_DOUBLE_FLOAT,
  3648. TARGET_SINGLE_FLOAT.
  3649. (rs6000_libcall_value): Likewise.
  3650. * config/rs6000/rs6000.h (TARGET_SINGLE_FLOAT): New default to 1.
  3651. (TARGET_DOUBLE_FLOAT): New default to 1
  3652. (TARGET_SIMPLE_FPU): New default to 0
  3653. (TARGET_SINGLE_FPU): New default to 0
  3654. (TARGET_SINGLE_FLOAT_MODE): New.
  3655. (TARGET_DOUBLE_FLOAT_MODE): New.
  3656. * config/rs6000/singlefp.h: New; redefine TARGET_SINGLE_FLOAT,
  3657. TARGET_DOUBLE_FLOAT, TARGET_SIMPLE_FPU, TARGET_SINGLE_FPU,
  3658. UNITS_PER_FP_WORD
  3659. * config/rs6000/rs6000.md (define_mode_iterator): Condition on
  3660. TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
  3661. (extendsfdf2, extendsfdf2_fpr, truncdfsf2, truncdfsf2_fpr,
  3662. copysigndf3,fseldfsf4, negdf2, negdf2_fpr, absdf2, absdf2_fpr,
  3663. nabsdf2_fpr, adddf3, adddf3_fpr, subdf3, subdf3_fpr, muldf3,
  3664. muldf3_fpr, divdf3, divdf3_fpr, sqrtdf2, smaxdf3, smindf3,
  3665. movdfcc, *fseldfdf4, floatsidf2, *floatsidf2_internal,
  3666. floatunssidf2, *floatunssidf2_internal, fix_truncdfsi2,
  3667. *fix_truncdfsi2_internal, fix_truncdfsi2_internal_gfxopt,
  3668. fix_truncdfsi2_mfpgpr, fctiwz, btruncdf2, ceildf2, floordf2,
  3669. rounddf2, floatdidf2, floatsidf_ppc64_mfpgpr, floatsidf_ppc64,
  3670. floatunssidf_ppc64, fix_truncdfdi2, movdf_hardfloat32,
  3671. movdf_hardfloat64_mfpgpr, movdf_hardfloat64, extenddftf2_fprs,
  3672. extenddftf2_internal, trunctfdf2_internal2, fix_trunc_helper,
  3673. abstf2_internal, movdf_update1, movdf_update2, cmpdf_internal1,
  3674. cmptf_internal1, *cmptf_internal2): Condition on
  3675. TARGET_DOUBLE_FLOAT.
  3676. (aux_truncdfsf2, negsf2, *negsf2, abssf2, *abssf2, addsf3, subsf3,
  3677. mulsf3, divsf3, sqrtsf2, copysignsf3, smaxsf3, sminsf3, movsfcc,
  3678. *fselsfsf4, fixuns_truncsfsi2, fix_truncsfsi2, floatunssisf2,
  3679. btruncsf2, ceilsf2, floorsf2, roundsf2, floatdisf2_internal1,
  3680. floatdisf2_internal2, *movsf_hardfloat, trunctfsf2_fprs,
  3681. *movsf_update1, *movsf_update2, *cmpsf_internal1): Condition on
  3682. TARGET_SINGLE_FLOAT.
  3683. (divsf3, sqrtsf2, divdf3, divdf3_fpr): Condition on TARGET_SIMPLE_FPU.
  3684. * config/rs6000/rs6000.opt (-msingle-float): New.
  3685. (-mdouble-float): New.
  3686. (-msimple-fpu): New.
  3687. * doc/invoke.texi (RS/6000 and PowerPC Options): Add
  3688. -msingle-float, -mdouble-float, -msimple-fpu options.
  3689. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Set
  3690. _SOFT_DOUBLE for -msingle-float.
  3691. * config.gcc: New config for target=powerpc-xilinx-eabi.
  3692. 2008-09-29 Tobias Grosser <grosser@fim.uni-passau.de>
  3693. * graphite.c (dot_all_scops_1): Remove unused checks. SCoPs always
  3694. have exit and entry.
  3695. (new_scop): Take entry and exit edge to define new SCoP.
  3696. (sd_region_p): New structure used during SCoP detection.
  3697. (move_scops): Delete.
  3698. (move_sd_regions): New.
  3699. (scopdet_info): Change the definition from edges back to basic_blocks.
  3700. (scopdet_edge_info): Work on basic_blocks and rename to
  3701. scopdet_basic_block_info.
  3702. (split_difficult_bb): At the moment removed. We should later
  3703. add it at another place.
  3704. (build_scops_1): Work on basic_blocks.
  3705. (bb_in_sd_region): New.
  3706. (find_single_entry_edge): New.
  3707. (find_single_exit_edge): New.
  3708. (create_single_entry_edge): New.
  3709. (sd_region_without_exit): New.
  3710. (create_single_exit_edge): New.
  3711. (unmark_exit_edges): New.
  3712. (mark_exit_edges): New.
  3713. (create_sese_edges): New.
  3714. (build_graphite_scops): New.
  3715. (build_scops): Make SCoPs SESE.
  3716. (limit_scops): Use the new functions.
  3717. 2008-09-29 Hans-Peter Nilsson <hp@axis.com>
  3718. * config/cris/cris.h (IRA_COVER_CLASSES): Define.
  3719. 2008-09-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3720. PR target/37640
  3721. * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Force
  3722. address to a register before taking the lower part.
  3723. 2008-09-28 Kaz Kojima <kkojima@gcc.gnu.org>
  3724. * config/sh/sh.h (OVERRIDE_OPTIONS): Unset flag_dwarf2_cfi_asm
  3725. for SHmedia.
  3726. 2008-09-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
  3727. Kaushal Kantawala <kaushal_kantawala@playstation.sony.com>
  3728. PR tree-opt/36891
  3729. * tree-ssa-loop-im.c (rewrite_reciprocal): Set DECL_GIMPLE_REG_P on
  3730. the newly created variable.
  3731. Create a VECTOR_CST of all 1s for vector types.
  3732. 2008-09-28 Eric Botcazou <ebotcazou@adacore.com>
  3733. PR middle-end/36575
  3734. * fold-const.c (div_and_round_double) <ROUND_DIV_EXPR>: Fix typo.
  3735. 2008-09-28 Eric Botcazou <ebotcazou@adacore.com>
  3736. * expmed.c (store_fixed_bit_field): Always use convert_to_mode in
  3737. order to convert between modes.
  3738. (extract_bit_field_1): Test TRULY_NOOP_TRUNCATION on the right mode.
  3739. 2008-09-27 Kaz Kojima <kkojima@gcc.gnu.org>
  3740. * config/sh/sh.c (sh_gimplify_va_arg_expr): Use VIEW_CONVERT_EXPR
  3741. if needed.
  3742. 2008-09-26 Vladimir Makarov <vmakarov@redhat.com>
  3743. Revert:
  3744. 2008-09-25 Vladimir Makarov <vmakarov@redhat.com>
  3745. * ira-lives.c:...
  3746. * doc/rtl.texi:...
  3747. 2008-09-26 Adam Nemet <anemet@caviumnetworks.com>
  3748. * config/mips/mips.h (ISA_HAS_DMUL3, ISA_HAS_BADDU, ISA_HAS_BBIT,
  3749. ISA_HAS_CINS, ISA_HAS_EXTS, ISA_HAS_SEQ_SNE, ISA_HAS_POP): Change
  3750. them to yield false with MIPS16.
  3751. 2008-09-26 Jakub Jelinek <jakub@redhat.com>
  3752. PR middle-end/37275
  3753. * dwarf2out.c (tls_mem_loc_descriptor): New function.
  3754. (mem_loc_descriptor): Use it for MEM. For PLUS fail if second
  3755. mem_loc_descriptor failed. Accept UNSPEC.
  3756. (loc_descriptor): Use tls_mem_loc_descriptor for MEM. For PARALLEL
  3757. fail if one of the loc_descriptor calls for pieces failed.
  3758. (loc_descriptor_from_tree_1): Handle even DECL_EXTERNAL __thread vars,
  3759. as long as they bind locally. For COMPONENT_REF, ARRAY_REF etc. fail
  3760. if loc_descriptor_from_tree_1 on offset failed.
  3761. PR middle-end/37576
  3762. * opts.c (common_handle_option): Don't call print_specific_help with
  3763. CL_SAVE as first argument.
  3764. 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
  3765. Steve Ellcey <sje@cup.hp.com>
  3766. * configure: Regenerate for new libtool.
  3767. * aclocal.m4: Ditto.
  3768. 2008-09-26 Pat Haugen <pthaugen@us.ibm.com>
  3769. * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Use correct
  3770. alias set on MEM when saving stack pointer.
  3771. * config/rs6000/rs6000.md (allocate_stack): Likewise
  3772. 2008-09-26 Dorit Nuzman <dorit@il.ibm.com>
  3773. PR tree-optimization/37574
  3774. * tree-vectorizer.c (vect_is_simple_use): Fix indentation.
  3775. * tree-vect-transform.c (vect_get_constant_vectors): Use vectype
  3776. instead of vector_type for constants. Take computation out of loop.
  3777. (vect_get_vec_def_for_operand): Use only vectype for constant case,
  3778. and use only vector_type for invariant case.
  3779. (get_initial_def_for_reduction): Use vectype instead of vector_type.
  3780. 2008-09-25 Jakub Jelinek <jakub@redhat.com>
  3781. PR c/37645
  3782. * c-common.c (handle_weakref_attribute): Ignore the attribute unless
  3783. the decl is a VAR_DECL or FUNCTION_DECL.
  3784. 2008-09-25 Vladimir Makarov <vmakarov@redhat.com>
  3785. PR middle-end/37535
  3786. * ira-lives.c (mark_reg_live, mark_reg_dead): New functions.
  3787. (mark_ref_live, mark_ref_dead): Use them.
  3788. (def_conflicts_with_inputs_p): Remove.
  3789. (mark_early_clobbers): New function.
  3790. (process_bb_node_lives): Call preprocess_constraints and
  3791. mark_early_clobbers.
  3792. * doc/rtl.texi (clobber): Change how RA deals with clobbers.
  3793. 2008-09-25 Vladimir Makarov <vmakarov@redhat.com>
  3794. PR middle-end/37448
  3795. * ira-int.h (IRA_ALLOCNO_TEMP): Rename to ALLOCNO_TEMP.
  3796. (ira_compress_allocno_live_ranges): New prototype.
  3797. * ira-color.c: Rename IRA_ALLOCNO_TEMP to ALLOCNO_TEMP.
  3798. (coalesced_allocnos_living_at_program_points): New.
  3799. (coalesced_allocnos_live_at_points_p,
  3800. set_coalesced_allocnos_live_points): New functions.
  3801. (coalesce_spill_slots): Rewrite.
  3802. * ira-lives.c (remove_some_program_points_and_update_live_ranges,
  3803. ira_compress_allocno_live_ranges): New functions.
  3804. * ira-build.c (ira_flattening): Call
  3805. ira_compress_allocno_live_ranges.
  3806. (ira_build): Ditto.
  3807. 2008-09-25 H.J. Lu <hongjiu.lu@intel.com>
  3808. * config/i386/i386.md: Check cmp/branch fuse for cmp peephole
  3809. optimization.
  3810. 2008-09-25 Richard Sandiford <rdsandiford@googlemail.com>
  3811. * combine.c (make_compound_operation): Handle the 'E' format.
  3812. (count_rtxs): Likewise.
  3813. (update_table_tick): Likewise.
  3814. (get_last_value_validate): Likewise.
  3815. 2008-09-25 Eric Botcazou <ebotcazou@adacore.com>
  3816. * dbxout.c (dbxout_parms): Fetch the inner REG inside a PARALLEL.
  3817. 2008-09-25 Sergei Dyshel <sergeid@il.ibm.com>
  3818. * matrix-reorg.c (transform_allocation_sites): Initializers
  3819. added to avoid the warning.
  3820. 2008-09-25 Martin Jambor <mjambor@suse.cz>
  3821. * cgraph.c (free_nodes): New variable.
  3822. (NEXT_FREE_NODE): New macro.
  3823. (cgraph_create_node): Reuse nodes from the free list. Do not
  3824. update uid if doing so.
  3825. (cgraph_remove_node): Add the node to the free list.
  3826. 2008-09-25 Gerald Pfeifer <gerald@pfeifer.com>
  3827. * config/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
  3828. 2008-09-24 Richard Henderson <rth@redhat.com>
  3829. * dwarf2.h (DW_OP_GNU_encoded_addr): New.
  3830. * unwind-dw2.c (execute_stack_op): Handle it.
  3831. 2008-09-24 David Edelsohn <edelsohn@gnu.org>
  3832. Revert:
  3833. 2008-09-24 Michael J. Eager <eager@eagercon.com>
  3834. 2008-09-24 Aldy Hernandez <aldyh@redhat.com>
  3835. * c-common.c (fname_decl): New location argument.
  3836. * c-common.h (fname_decl): Same.
  3837. * c-parser.c (c_lex_one_token): Use {warning,error}_at instead of
  3838. {warning,error}.
  3839. (c_parser_typeof_specifier): Same.
  3840. (c_parser_parms_list_declarator): Same.
  3841. (c_parser_asm_string_literal): Same.
  3842. (c_parser_compound_statement_nostart): Same.
  3843. (c_parser_label): Same.
  3844. (c_parser_do_statement): Same.
  3845. (c_parser_asm_statement): Same.
  3846. (c_parser_unary_expression): Same.
  3847. (c_parser_sizeof_expression): Same.
  3848. (c_parser_postfix_expression): Same.
  3849. (c_parser_pragma): Same.
  3850. (c_parser_omp_clause_collapse): Same.
  3851. (c_parser_omp_clause_num_threads): Same.
  3852. (c_parser_omp_clause_schedule): Same.
  3853. (c_parser_omp_all_clauses): Same.
  3854. (c_parser_omp_sections_scope): Same.
  3855. (c_parser_omp_for_loop): Same. Pass condition's location to
  3856. c_objc_common_truthvalue_conversion.
  3857. (c_parser_enum_specifier): Remove comment.
  3858. 2008-09-24 Michael J. Eager <eager@eagercon.com>
  3859. * config/rs6000/predicates.md (easy_fp_constant): Single FP consts
  3860. are easy.
  3861. * config/rs6000/rs6000.c (rs6000_override_options): Move
  3862. rs6000_init_hard_regno_mode_ok after all options changed.
  3863. Set rs6000_single_float, rs6000_double_float if TARGET_HARD_FLOAT.
  3864. (rs6000_handle_option): Process -msingle-float, -mdouble-float,
  3865. -msimple-fpu flags. Add warning messages if single FP not configured.
  3866. (rs6000_file_start): Output gnu_attribute for single-float.
  3867. (legitimate_lo_sum_address_p): Condition on TARGET_DOUBLE_FLOAT.
  3868. (rs6000_legitimize_address): Likewise.
  3869. (rs6000_legitimize_reload_address): Likewise.
  3870. (rs6000_emit_move): Condition on TARGET_DOUBLE_FLOAT,
  3871. TARGET_SINGLE_FLOAT.
  3872. (function_arg_advance): Likewise.
  3873. (function_arg): Likewise.
  3874. (setup_incoming_varargs): Condition on TARGET_DOUBLE_FLOAT.
  3875. (rs6000_gimplify_va_arg): Condition on TARGET_DOUBLE_FLOAT,
  3876. TARGET_SINGLE_FLOAT.
  3877. (rs6000_split_multireg_move): Condition on TARGET_DOUBLE_FLOAT.
  3878. (rs6000_emit_prologue): Likewise.
  3879. (rs6000_function_value): Condition on TARGET_DOUBLE_FLOAT,
  3880. TARGET_SINGLE_FLOAT.
  3881. (rs6000_libcall_value): Likewise.
  3882. * config/rs6000/rs6000.h (TARGET_SINGLE_FLOAT): New default to 1.
  3883. (TARGET_DOUBLE_FLOAT): New default to 1
  3884. (TARGET_SIMPLE_FPU): New default to 0
  3885. (TARGET_SINGLE_FPU): New default to 0
  3886. (TARGET_SINGLE_FLOAT_MODE): New.
  3887. (TARGET_DOUBLE_FLOAT_MODE): New.
  3888. * config/rs6000/singlefp.h: New; redefine TARGET_SINGLE_FLOAT,
  3889. TARGET_DOUBLE_FLOAT, TARGET_SIMPLE_FPU, TARGET_SINGLE_FPU,
  3890. UNITS_PER_FP_WORD
  3891. * config/rs6000/rs6000.md (define_mode_iterator): Condition on
  3892. TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
  3893. (extendsfdf2, extendsfdf2_fpr, truncdfsf2, truncdfsf2_fpr,
  3894. copysigndf3,fseldfsf4, negdf2, negdf2_fpr, absdf2, absdf2_fpr,
  3895. nabsdf2_fpr, adddf3, adddf3_fpr, subdf3, subdf3_fpr, muldf3,
  3896. muldf3_fpr, divdf3, divdf3_fpr, sqrtdf2, smaxdf3, smindf3,
  3897. movdfcc, *fseldfdf4, floatsidf2, *floatsidf2_internal,
  3898. floatunssidf2, *floatunssidf2_internal, fix_truncdfsi2,
  3899. *fix_truncdfsi2_internal, fix_truncdfsi2_internal_gfxopt,
  3900. fix_truncdfsi2_mfpgpr, fctiwz, btruncdf2, ceildf2, floordf2,
  3901. rounddf2, floatdidf2, floatsidf_ppc64_mfpgpr, floatsidf_ppc64,
  3902. floatunssidf_ppc64, fix_truncdfdi2, movdf_hardfloat32,
  3903. movdf_hardfloat64_mfpgpr, movdf_hardfloat64, extenddftf2_fprs,
  3904. extenddftf2_internal, trunctfdf2_internal2, fix_trunc_helper,
  3905. abstf2_internal, movdf_update1, movdf_update2, cmpdf_internal1,
  3906. cmptf_internal1, *cmptf_internal2): Condition on
  3907. TARGET_DOUBLE_FLOAT.
  3908. (aux_truncdfsf2, negsf2, *negsf2, abssf2, *abssf2, addsf3, subsf3,
  3909. mulsf3, divsf3, sqrtsf2, copysignsf3, smaxsf3, sminsf3, movsfcc,
  3910. *fselsfsf4, fixuns_truncsfsi2, fix_truncsfsi2, floatunssisf2,
  3911. btruncsf2, ceilsf2, floorsf2, roundsf2, floatdisf2_internal1,
  3912. floatdisf2_internal2, *movsf_hardfloat, trunctfsf2_fprs,
  3913. *movsf_update1, *movsf_update2, *cmpsf_internal1): Condition on
  3914. TARGET_SINGLE_FLOAT.
  3915. (divsf3, sqrtsf2, divdf3, divdf3_fpr): Condition on TARGET_SIMPLE_FPU.
  3916. * config/rs6000/rs6000.opt (-msingle-float): New.
  3917. (-mdouble-float): New.
  3918. (-msimple-fpu): New.
  3919. * doc/invoke.texi (RS/6000 and PowerPC Options): Add
  3920. -msingle-float, -mdouble-float, -msimple-fpu options.
  3921. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Set
  3922. _SOFT_DOUBLE for -msingle-float.
  3923. * config.gcc: New config for target=powerpc-xilinx-eabi.
  3924. 2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
  3925. * config/sparc/constraints.md: New file.
  3926. * config/sparc/sparc.md: Include it.
  3927. * config/sparc/sparc-protos.h (memory_ok_for_ldd): Declare.
  3928. (sparc_extra_constraint_check): Delete.
  3929. * config/sparc/sparc.c (register_ok_for_ldd): Minor tweaks.
  3930. (memory_ok_for_ldd): New predicate.
  3931. (sparc_extra_constraint_check): Delete.
  3932. * config/sparc/sparc.h (REG_CLASS_FROM_LETTER): Likewise.
  3933. (CONST_OK_FOR_LETTER_P): Likewise.
  3934. (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
  3935. (EXTRA_CONSTRAINT): Likewise.
  3936. 2008-08-23 Steve Ellcey <sje@cup.hp.com>
  3937. * regrename.c (do_replace): Copy REG_POINTER value to new reg.
  3938. 2008-09-23 Richard Sandiford <rdsandiford@googlemail.com>
  3939. * alias.c (find_base_value): Use FIND_BASE_TERM.
  3940. * doc/tm.texi (FIND_BASE_TERM): Update documentation.
  3941. 2008-09-23 Richard Sandiford <rdsandiford@googlemail.com>
  3942. * config/i386/i386.c: Include cselib.h.
  3943. (ix86_pic_register_p): New function.
  3944. (ix86_delegitimize_address): Use it to check for the PIC register.
  3945. 2008-09-23 Richard Sandiford <rdsandiford@googlemail.com>
  3946. * doc/tm.texi (FIND_BASE_TERM): Expand documentation.
  3947. * config/i386/i386.c (ix86_find_base_term): Don't check for
  3948. SYMBOL_REF and LABEL_REF.
  3949. 2008-09-23 Richard Sandiford <rdsandiford@googlemail.com>
  3950. * config/i386/i386.c (ix86_delegitimize_address): Wrap the
  3951. constant PLUS in a CONST.
  3952. 2008-09-23 Kai Tietz <kai.tietz@onevision.com>
  3953. * config/i386/i386.c (ix86_function_ok_for_sibcall): Correct
  3954. check for sibcall support for w64.
  3955. 2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
  3956. * c-ppoutput.c (cb_used_define): Do nothing for a builtin node.
  3957. 2008-09-23 Aldy Hernandez <aldyh@redhat.com>
  3958. * c-tree.h: Add argument to c_objc_common_truthvalue_conversion,
  3959. parser_build_binary_op.
  3960. * c-decl.c (build_enumerator): Pass location to build_binary_op.
  3961. * c-typeck.c (build_array_ref): Same.
  3962. (parser_build_unary_op): New location argument.
  3963. (pointer_diff): Pass location to build_binary_op,
  3964. c_objc_common_truthvalue_conversion.
  3965. (build_modify_expr): Same.
  3966. (build_unary_op): New location argument.
  3967. (build_binary_op): New location argument.
  3968. (c_objc_common_truthvalue_conversion): Pass location to
  3969. c_*common_truthvalue_conversion.
  3970. * c-convert.c (convert): Same.
  3971. * c-common.c (binary_op_error): New location argument.
  3972. (pointer_int_sum): Pass location to build_binary_op.
  3973. (c_common_truthvalue_conversion): New location argument.
  3974. (warn_for_sign_compare): Same.
  3975. * c-common.h: Add location argument to c_common_truthvalue_conversion,
  3976. binary_op_error, build_binary_op, warn_for_sign_compare.
  3977. * c-parser.c (c_parser_condition): Pass location to
  3978. c_*common_truthvalue_conversion.
  3979. (c_parser_conditional_expression): Save condition's location and pass
  3980. it on down.
  3981. (c_parser_binary_expression): Same, but for the binary operator's
  3982. location.
  3983. (c_parser_omp_for_loop): Pass location to
  3984. c_objc_common_truthvalue_conversion.
  3985. 2008-09-23 Martin Jambor <mjambor@suse.cz>
  3986. * cgraph.c (cgraph_free_edge): Use sizeof(*e).
  3987. (cgraph_node_remove_callees): New temporary f. Hold the next item
  3988. in f when looping.
  3989. (cgraph_node_remove_callers): Likewise.
  3990. * ipa-prop.c (ipa_edge_removal_hook): Use ATTRIBUTE_UNUSED.
  3991. (ipa_node_removal_hook): Likewise.
  3992. * doc/gimple.texi (gimple_copy_call_skip_args): Changed to
  3993. gimple_call_copy_skip_args and moved to the gimple_call section.
  3994. * gimple.c (gimple_copy_call_skip_args): Renamed to
  3995. gimple_call_copy_skip_args. Changed al users.
  3996. 2008-09-22 Vladimir Makarov <vmakarov@redhat.com>
  3997. * ira-color.c (start_allocno_priorities): Rename to
  3998. setup_allocno_priorities. Use costs and
  3999. ALLOCNO_EXCESS_PRESSURE_POINTS_NUM instead of frequencies and
  4000. range lengths. Get rid off doubles.
  4001. (ira_fast_allocations): Call start_allocno_priorities.
  4002. 2008-09-22 David Daney <ddaney@avtrex.com>
  4003. PR target/37593
  4004. * config/mips/mips.h (FUNCTION_PROFILER): Call _mcount via a
  4005. register if TARGET_LONG_CALLS.
  4006. 2008-09-22 Richard Guenther <rguenther@suse.de>
  4007. PR tree-optimization/37145
  4008. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Re-enable
  4009. value-numbering union accesses with their offset and size only.
  4010. (visit_reference_op_load): Fix simplification of inserted conversions.
  4011. * tree-ssa-pre.c (find_or_generate_expression): Do not
  4012. recursively generate expressions if running FRE.
  4013. 2008-09-22 Adam Nemet <anemet@caviumnetworks.com>
  4014. * config/mips/mips.h (ISA_HAS_BADDU): New macro.
  4015. * config/mips/mips.md (*baddu_si_eb, *baddu_si_el, *baddu_di<mode>):
  4016. New patterns.
  4017. 2008-09-22 Richard Guenther <rguenther@suse.de>
  4018. PR tree-optimization/37145
  4019. * tree-ssa-pre.c (fully_constant_expression): Simplify builtin calls.
  4020. (phi_translate_1): Constant fold references.
  4021. 2008-09-22 Ira Rosen <irar@il.ibm.com>
  4022. PR tree-optimization/37482
  4023. * tree-vectorizer.h (struct _slp_instance): Add new field.
  4024. (SLP_INSTANCE_FIRST_LOAD_STMT): New.
  4025. (get_earlier_stmt): New function.
  4026. * tree-vect-analyze.c (vect_find_first_load_in_slp_instance): New
  4027. function.
  4028. (vect_analyze_slp_instance): Set SLP_INSTANCE_FIRST_LOAD_STMT.
  4029. * tree-vect-transform.c (vect_finish_stmt_generation): Remove the
  4030. asserts that GSI points to the scalar statement being vectorized.
  4031. Set new statement location according to GSI.
  4032. (vect_schedule_slp_instance): Use GSI of
  4033. SLP_INSTANCE_FIRST_LOAD_STMT when vectorizing loads.
  4034. 2008-09-21 Jan Hubicka <jh@suse.cz>
  4035. * ipa-cp.c (ipcp_estimate_growth): Check recursive calls.
  4036. (ipcp_insert_stage): Update dead_nodes bitmap.
  4037. 2008-09-22 Danny Smith <dannysmith@users.sourceforge.net>
  4038. PR target/37528
  4039. * config/i386/t-cygming (SHLIB_LC): Remove.
  4040. (SHLIB_LINK): Don't add static objects to SHLIB_IMPLIB
  4041. * config/i386/t-cygwin (SHLIB_LC): Specify all required libraries.
  4042. 2008-09-22 Hans-Peter Nilsson <hp@axis.com>
  4043. PR middle-end/37170
  4044. PR middle-end/37280
  4045. * final.c (mark_symbol_ref_as_used): New helper function.
  4046. (output_operand): Instead of just looking inside MEMs for
  4047. SYMBOL_REFs, use new helper function and for_each_rtx.
  4048. * varasm.c (assemble_external): Move #ifndef ASM_OUTPUT_EXTERNAL
  4049. to after weak-handling. Don't mark decls with TREE_STATIC as weak.
  4050. Make head comment more general.
  4051. * config/darwin.c (machopic_output_indirection): Handle weak
  4052. references here, like in assemble_external.
  4053. 2008-09-21 Eric Botcazou <ebotcazou@adacore.com>
  4054. * config/sparc/sparc-protos.h (gen_compare_operator): Declare.
  4055. (sparc_emit_float_lib_cmp): Change return type.
  4056. * config/sparc/sparc.c (gen_compare_reg): Add comment about TFmode.
  4057. (gen_compare_operator): New function.
  4058. (sparc_emit_float_lib_cmp): Return the new operator to be used in
  4059. the comparison sequence. Minor tweaks.
  4060. * config/sparc/sparc.md (seq, sne, sgt, slt, sge, sle): Assert
  4061. that the final operator and the result of sparc_emit_float_lib_cmp
  4062. match for software TFmode; use emit_insn in lieu of emit_jump_insn.
  4063. (beq, bne, bgt, blt, bge, ble, bunordered, bordered, bungt, bunlt,
  4064. buneq, bunge, bunle, bltgt): Assert that the final operator and the
  4065. result of sparc_emit_float_lib_cmp match for software TFmode.
  4066. (movqicc, movhicc, movsicc, movdicc): Merge into...
  4067. (mov<I:mode>cc): ...this.
  4068. (movsfcc, movdfcc, movtfcc): Merge into...
  4069. (mov<F:mode>cc): ...this.
  4070. (movqi_cc_sp64, movhi_cc_sp64, movsi_cc_sp64, movdi_cc_sp64): Merge
  4071. into...
  4072. (mov<I:mode>_cc_v9): ...this.
  4073. (movdi_cc_sp64_trunc): Delete.
  4074. (movqi_cc_reg_sp64, movhi_cc_reg_sp64, movsi_cc_reg_sp64,
  4075. movdi_cc_reg_sp64): Merge into...
  4076. (mov<I:mode>_cc_reg_sp64): ...this.
  4077. (movsf_cc_sp64): Rename into...
  4078. (movsf_cc_v9): ...this.
  4079. (movdf_cc_sp64): Rename into...
  4080. (movdf_cc_v9): ...this.
  4081. (movtf_cc_hq_sp64): Rename into...
  4082. (movtf_cc_hq_v9): ...this.
  4083. (movtf_cc_sp64): Rename into...
  4084. (movtf_cc_v9): ...this. Adjust for renaming of movdf_cc_sp64.
  4085. 2008-09-21 Diego Novillo <dnovillo@google.com>
  4086. * doc/gccint.texi: Include generic.texi and gimple.texi.
  4087. Re-order index.
  4088. * doc/tree-ssa.texi (GENERIC): Move to generic.texi.
  4089. (GIMPLE): Move to gimple.texi.
  4090. (Annotations): Remove references to to stmt_ann_t and
  4091. ssa_name_ann_t.
  4092. (SSA Operands): Rename from 'Statement Operands'.
  4093. * doc/generic.texi: New.
  4094. * doc/gimple.texi: New.
  4095. * Makefile.in (TEXI_GCCINT_FILES): Add generic.texi and gimple.texi.
  4096. * Makefile.in (TEXI_GCCINT_FILES):
  4097. * gimple.c (gimple_copy_call_skip_args): Rename from
  4098. giple_copy_call_skip_args. Update all users.
  4099. * doc/gimple.texi (gimple_copy_call_skip_args): Document.
  4100. 2008-09-21 Ira Rosen <irar@il.ibm.com>
  4101. PR tree-optimization/37539
  4102. * tree-vect-transform.c (vect_transform_strided_load): Save vector
  4103. statement in related statement field only for the first load of the
  4104. group of loads with the same data reference.
  4105. 2008-09-20 Adam Nemet <anemet@caviumnetworks.com>
  4106. * config/mips/mips.h (TUNE_OCTEON): New macro.
  4107. * config/mips/mips.c (mips_issue_rate): Return 2 for Octeon.
  4108. (mips_multipass_dfa_lookahead): Return 2 for Octeon.
  4109. * config/mips/octeon.md: New file.
  4110. * config/mips/mips.md: Include octeon.md. Restore
  4111. semi-alphabetical order of include files.
  4112. 2008-09-20 H.J. Lu <hongjiu.lu@intel.com>
  4113. PR target/37571
  4114. * config/i386/i386.md (*jcc_fused_1): Removed.
  4115. (*jcc_fused_2): Likewise.
  4116. (*jcc_fused_3): Likewise.
  4117. (*jcc_fused_4): Likewise.
  4118. 2008-09-20 Richard Sandiford <rdsandiford@googlemail.com>
  4119. * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Define.
  4120. (IRA_COVER_CLASSES): Refer to TARGET_IRA_COVER_CLASSES.
  4121. * target.h (gcc_target): Add ira_cover_classes.
  4122. * ira.c: Remove IRA_COVER_CLASSES guards.
  4123. (setup_cover_and_important_classes): Use targetm.ira_cover_classes
  4124. instead of IRA_COVER_CLASSES.
  4125. (setup_cover_and_important_classes): Remove IRA_COVER_CLASSES guard.
  4126. (setup_class_translate): Likewise.
  4127. (setup_reg_class_intersect_union): Likewise.
  4128. (find_reg_class_closure): Replace IRA_COVER_CLASSES guard with a
  4129. test of targetm.ira_cover_classes.
  4130. * opts.c (decode_options): Use targetm.ira_cover_classes instead
  4131. of IRA_COVER_CLASSES.
  4132. * target-def.h (TARGET_IRA_COVER_CLASSES): Define.
  4133. (TARGET_INITIALIZER): Include it.
  4134. * targhooks.h (default_ira_cover_classes): Declare.
  4135. * targhooks.c (default_ira_cover_classes): New function.
  4136. 2008-09-19 Bob Wilson <bob.wilson@acm.org>
  4137. * config/xtensa/xtensa.md (reload<mode>_literal): Handle MEM operands.
  4138. 2008-09-19 Ian Lance Taylor <iant@google.com>
  4139. * varasm.c (narrowing_initializer_constant_valid_p): Return
  4140. NULL_TREE if ENDTYPE is not an integer.
  4141. 2008-09-19 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4142. PR tree-opt/30930
  4143. * tree-ssa.c (execute_update_addresses_taken): Also update
  4144. DECL_GIMPLE_REG_P for vector and complex types.
  4145. 2008-09-19 Andrew MacLeod <amacleod@redhat.com>
  4146. Jan Hubicka <jh@suse.cz>
  4147. PR middle-end/37567
  4148. * tree-ssa-ter.c (free_temp_expr_table): Make sure fields are actually
  4149. empty before freeing them.
  4150. (find_replaceable_exprs): Move asserts to free_temp_expr_table.
  4151. 2008-09-18 Bob Wilson <bob.wilson@acm.org>
  4152. * configure.ac: Add HAVE_AS_TLS check for Xtensa.
  4153. * config/xtensa/predicates.md (tls_symbol_operand): New.
  4154. * config/xtensa/xtensa.c (TARGET_HAVE_TLS): Define.
  4155. (TARGET_CANNOT_FORCE_MEM): Define.
  4156. (xtensa_tls_symbol_p): New.
  4157. (xtensa_emit_move_sequence): Check for and legitimize TLS addresses.
  4158. (xtensa_legitimate_address_p): Disallow constant pool TLS references.
  4159. (xtensa_tls_module_base): New.
  4160. (xtensa_call_tls_desc): New.
  4161. (xtensa_legitimize_tls_address): New.
  4162. (xtensa_legitimize_address): Handle TLS symbols.
  4163. (xtensa_tls_referenced_p_1): New.
  4164. (xtensa_tls_referenced_p): New.
  4165. (xtensa_output_addr_const_extra): Handle UNSPEC_TPOFF and
  4166. UNSPEC_DTPOFF.
  4167. (XTENSA_BUILTIN_THREAD_POINTER): New.
  4168. (XTENSA_BUILTIN_SET_THREAD_POINTER): New.
  4169. (xtensa_init_builtins): Set NOTHROW and READONLY for umulsidi3
  4170. builtin. Add declarations for __builtin_thread_pointer and
  4171. __builtin_set_thread_pointer.
  4172. (xtensa_fold_builtin): Recognize new builtins.
  4173. (xtensa_expand_builtin): Expand new builtins.
  4174. * config/xtensa/xtensa.h (XCHAL_HAVE_THREADPTR): Define default value.
  4175. (TARGET_THREADPTR): Define.
  4176. (HAVE_AS_TLS): Define default value.
  4177. (LEGITIMATE_CONSTANT_P): Disallow TLS references.
  4178. * config/xtensa/xtensa.md (UNSPEC_TPOFF, UNSPEC_DTPOFF): New.
  4179. (UNSPEC_TLS_FUNC, UNSPEC_TLS_ARG, UNSPEC_TLS_CALL, UNSPEC_TP): New.
  4180. (UNSPECV_SET_TP): New.
  4181. (sym_TPOFF, sym_DTPOFF): New.
  4182. (load_tp, set_tp, tls_func, tls_arg, tls_call): New.
  4183. * config/xtensa/xtensa-protos.h (xtensa_tls_referenced_p): Declare.
  4184. * configure: Regenerated.
  4185. 2008-09-18 H.J. Lu <hongjiu.lu@intel.com>
  4186. PR target/37394
  4187. * config/ia64/ia64.c (ia64_optimization_options): Move
  4188. checking and setting flag_schedule_insns_after_reload and
  4189. ia64_flag_schedule_insns2 back to ...
  4190. (ia64_override_options): Here.
  4191. 2008-09-18 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4192. PR rtl-opt/37451
  4193. * loop-doloop.c (doloop_modify): New argument zero_extend_p and
  4194. zero extend count after the correction to it is done.
  4195. (doloop_optimize): Update call to doloop_modify, don't zero extend
  4196. count before call.
  4197. 2008-09-18 Martin Jambor <mjambor@suse.cz>
  4198. * ipa-cp.c (ipcp_estimate_growth): Return 0 instead of false.
  4199. * ipa-prop.c: Correct comments.
  4200. * ipa-prop.h: Likewise.
  4201. 2008-09-18 Jan Hubicka <jh@suse.cz>
  4202. PR middle-end/37448
  4203. * ipa-reference.c (ipa_reference_local_vars_info_d,
  4204. ipa_reference_global_vars_info_d,
  4205. ipa_reference_local_vars_info_t, ipa_reference_global_vars_info_t,
  4206. ipa_reference_vars_info_t): Move here from ipa-reference.h
  4207. (node_duplication_hook_holder, node_removal_hook_holder): New.
  4208. (get_reference_vars_info_from_cgraph): Rename to ...
  4209. (get_reference_vars_info): ... this one, use cgraph uids.
  4210. (get_local_reference_vars_info, get_global_reference_vars_info):
  4211. Use cgraph instead of decl.
  4212. (ipa_reference_get_read_local, ipa_reference_get_written_local):
  4213. Remove.
  4214. (ipa_reference_get_read_global, ipa_reference_get_not_read_global
  4215. ipa_reference_get_written_global,
  4216. ipa_reference_get_not_written_global): Use cgraph argument.
  4217. (check_call): Simplify avail check.
  4218. (scan_stmt_for_static_refs): Update.
  4219. (propagate_bits): Update.
  4220. (merge_callee_local_info): Remove.
  4221. (init_function_info): Use cgraph nodes.
  4222. (clean_function_local_data): Break out from ...
  4223. (clean_function): ... here.
  4224. (copy_local_bitmap, copy_global_bitmap): New functions.
  4225. (duplicate_node_data, remove_node_data): New functions.
  4226. (generate_summary): Register hooks; use visibility instead of
  4227. master clones.
  4228. (propafate): Use cgraph nodes; copy bitmap to each node in cycle.
  4229. * ipa-reference.h (ipa_reference_local_vars_info_d,
  4230. ipa_reference_global_vars_info_d,
  4231. ipa_reference_local_vars_info_t, ipa_reference_global_vars_info_t,
  4232. ipa_reference_vars_info_t): Move to ipa-reference.c
  4233. (ipa_reference_get_read_local, ipa_reference_get_written_local):
  4234. Remove.
  4235. (ipa_reference_get_read_global, ipa_reference_get_written_global,
  4236. ipa_reference_get_not_read_global,
  4237. ipa_reference_get_not_written_global): Update prototype.
  4238. * ipa-pure-const.c (funct_state_vec): Turn into VECtor.
  4239. (init_state): Remove.
  4240. (node_duplication_hook_holder, node_removal_hook_holder): New.
  4241. (get_function_state, set_function_state): Use VECtor.
  4242. (analyze_function): Check body availability.
  4243. (add_new_function): Likewise.
  4244. (duplicate_node_data, remove_node_data): New.
  4245. (generate_summary): Register hooks; do not care about clones.
  4246. (propafate): Do not care about clones; recursive functions are
  4247. not looping.
  4248. * ipa-utils.c (searchc, ipa_utils_reduced_inorder): Do not skip clones.
  4249. * ipa-prop.c (edge_removal_hook_holder, node_removal_hook_holder,
  4250. * edge_duplication_hook_holder, node_duplication_hook_holder): Make
  4251. static.
  4252. * tree-flow.h (function_ann_d): Remove reference_vars_info.
  4253. * tree-ssa-opreands.c (add_call_clobber_ops, add_call_read_ops):
  4254. Update call of ipa-reference accesors.
  4255. 2008-09-18 Simon Baldwin <simonb@google.com>
  4256. * c-opts.c (c_common_handle_option): Add handling for
  4257. -Wbuiltin-macro-redefined command line option.
  4258. * c.opt: Added builtin-macro-redefined option.
  4259. * doc/invoke.texi (Warning Options): Add -Wbuiltin-macro-redefined
  4260. documentation.
  4261. 2008-09-18 Richard Guenther <rguenther@suse.de>
  4262. PR tree-optimization/37258
  4263. * tree-ssa-sccvn.c (vn_phi_compute_hash): Include the precision
  4264. and signedness for integral types.
  4265. (vn_phi_eq): Require compatible types.
  4266. 2008-09-18 Jakub Jelinek <jakub@redhat.com>
  4267. PR debug/34037
  4268. * gimplify.c (gimplify_type_sizes): When not optimizing, ensure
  4269. TYPE_MIN_VALUE and TYPE_MAX_VALUE is not is not DECL_IGNORED_P
  4270. VAR_DECL.
  4271. * cfgexpand.c (expand_used_vars): Keep DECL_ARTIFICIAL
  4272. !DECL_IGNORED_P vars in local_decls list for instantiate_decls,
  4273. ggc_free other TREE_LIST nodes from that chain.
  4274. * function.c (instantiate_decls): Instantiate also DECL_RTL
  4275. of vars in cfun->local_decls, free that list afterwards.
  4276. 2008-09-18 Eric Botcazou <ebotcazou@adacore.com>
  4277. * config/sparc/sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to...
  4278. * config/sparc/sparc.h (WIDEST_HARDWARE_FP_SIZE): ...here.
  4279. 2008-09-18 Andrew MacLeod <amacleod@redhat.com>
  4280. * tree-outof-ssa.c (eliminate_useless_phis): Fix formatting.
  4281. * tree-flow-.h (struct immediate_use_iterator_d): Fix comment.
  4282. 2008-09-18 Andrew MacLeod <amacleod@redhat.com>
  4283. PR tree-optimization/37102
  4284. * tree-outof-ssa.c (remove_gimple_phi_args): Remove all the PHI args
  4285. from a node. Check to see if another PHI is dead.
  4286. (eliminate_useless_phis): Rename from eliminate_virtual_phis and
  4287. remove real PHIs which have no uses.
  4288. (rewrite_out_of_ssa): Call eliminate_useless_phis.
  4289. 2008-09-18 Richard Guenther <rguenther@suse.de>
  4290. PR middle-end/37284
  4291. * tree-cfg.c (remove_useless_stmts_1): Remove
  4292. GIMPLE_CHANGE_DYNAMIC_TYPE if not optimizing.
  4293. 2008-09-18 Nick Clifton <nickc@redhat.com>
  4294. * config/frv/frv.h (IRA_COVER_CLASSES): Define.
  4295. (SECONDARY_INPUT_RELOAD_CLASS): Omit unused argument in call
  4296. to frv_secondary_reload_class.
  4297. (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
  4298. * config/frv/frv.c (TARGET_SECONDARY_RELOAD): Define.
  4299. (frv_secondary_reload_class): Omit unused parameter.
  4300. (frv_secondary_reload): New function. Handle the case when
  4301. secondary_reload_class() is called before the reload_(in|out)
  4302. _optabs have been initialised.
  4303. * config/frv/frv-protos.h (frv_secondary_reload_class): Omit
  4304. unused parameter.
  4305. * config/frv/frv.md: Define an exclusion set between fr550_m0
  4306. and fr550_f0.
  4307. 2008-09-18 Richard Guenther <rguenther@suse.de>
  4308. PR tree-optimization/37456
  4309. * tree-ssa-reassoc.c (build_and_add_sum): If the stmt we
  4310. want to insert after ends a BB insert on the single fallthru
  4311. outgoing edge.
  4312. 2008-09-18 Andreas Krebbel <krebbel1@de.ibm.com>
  4313. * doc/invoke.texi: Document -mhard-dfp, -mno-hard-dfp.
  4314. Mention -march=z9-109, z9-ec and z10.
  4315. 2008-09-18 Uros Bizjak <ubizjak@gmail.com>
  4316. PR rtl-optimization/37544
  4317. * regrename.c (maybe_mode_change): Exit early when copy_mode
  4318. is narrower than orig_mode and narrower than new_mode.
  4319. 2008-09-18 Alexander Monakov <amonakov@ispras.ru>
  4320. PR middle-end/37499
  4321. * sched-int.h (struct _haifa_insn_data): Remove unused field ref_count.
  4322. * sched-rgn.c (ref_counts): Remove.
  4323. (insn_referenced): New static variable.
  4324. (INSN_REF_COUNT): Remove.
  4325. (sched_run_compute_dependencies): Use insn_referenced instead of
  4326. INSN_REF_COUNT.
  4327. (add_branch_dependences): Likewise. Delete dead assignment.
  4328. 2008-09-17 Adam Nemet <anemet@caviumnetworks.com>
  4329. * haifa-sched.c (dep_cost_1): Recognize the producer even if the
  4330. consumer is an asm. Add comment why this is important.
  4331. (choose_ready): Add comment to the "INSN_CODE (insn) >= 0 ||
  4332. recog_memoized (insn) < 0" assert. Put ENABLE_CHECKING around it.
  4333. 2008-09-17 Joseph Myers <joseph@codesourcery.com>
  4334. * expr.c (emit_group_store): Do not shift before moving via a
  4335. stack slot.
  4336. 2008-09-17 Eric Botcazou <ebotcazou@adacore.com>
  4337. * varasm.c (initializer_constant_valid_p): Forbid view-conversions
  4338. from aggregate to non-aggregate type if the bit pattern is not fully
  4339. preserved afterwards.
  4340. 2008-09-17 Richard Guenther <rguenther@suse.de>
  4341. * tree-cfg.c (verify_types_in_gimple_assign): Rename to ...
  4342. (verify_gimple_assign): ... this. Split into ...
  4343. (verify_gimple_assign_unary): ... this,
  4344. (verify_gimple_assign_binary): ... that,
  4345. (verify_gimple_assign_single): ... and this.
  4346. (verify_types_in_gimple_stmt): Call verify_gimple_assign.
  4347. Fix GIMPLE_CHANGE_DYNAMIC_TYPE handling.
  4348. (verify_types_in_gimple_min_lval): Handle TARGET_MEM_REF.
  4349. (verify_types_in_gimple_reference): Be forgiving with
  4350. VIEW_CONVERT_EXPRs.
  4351. (verify_gimple_phi): Deal with virtual operands.
  4352. * tree.def (PREDICT_EXPR): Change to tcc_expression.
  4353. 2008-09-17 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4354. * tree.c (get_callee_fndecl): Don't call the language hook.
  4355. * langhooks.h (lang_hooks): Remove lang_get_callee_fndecl.
  4356. * langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): Kill.
  4357. (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_GET_CALLEE_FNDECL.
  4358. 2008-09-17 Jakub Jelinek <jakub@redhat.com>
  4359. * tree.c (protected_set_expr_location): Don't unnecessarily
  4360. check for error_mark_node.
  4361. 2008-09-17 Art Haas <ahaas@impactweather.com>
  4362. * ipa-reference.c (analyze_function): Declare step only if
  4363. ENABLE_CHECKING is defined.
  4364. 2008-09-17 Jan Hubicka <jh@suse.cz>
  4365. PR c++/18071
  4366. * tree.h (DECL_INLINE): remove.
  4367. (DECL_DECLARED_INLINE_P): Update docs.
  4368. (DECL_NO_INLINE_WARNING_P): new.
  4369. (tree_function_decl): Replace inline_flag by no_inline_warning_flag.
  4370. * tree-inline.c (inlinable_function_p): Set DECL_NO_INLINE_WARNING_P.
  4371. 2008-09-17 Jakub Jelinek <jakub@redhat.com>
  4372. Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4373. PR bootstrap/37441
  4374. * dwarf2out.c (dwarf2out_do_cfi_asm) [MIPS_DEBUGGING_INFO]: Return
  4375. false.
  4376. 2008-09-17 Jan Hubicka <jh@suse.cz>
  4377. * ipa-reference.c (ipa_obstack): Remove.
  4378. (local_info_obstack, global_info_obstack): New.
  4379. (add_static_var): We now handle variables only.
  4380. (mark_address_taken, mark_load, mark_store): New functions based on ...
  4381. (check_operand): ... remove.
  4382. (get_asm_stmt_operands): Rename to ...
  4383. (check_asm_memory_clobber): ... this. Look only for memory clobber.
  4384. (scan_stmt_for_static_refs): Rewrite.
  4385. (scan_op_for_static_refs): Rename to ...
  4386. (scan_initializer_for_static_refs): do not look for VAR_DECL
  4387. initializers; stop recursion on types and decls.
  4388. (ipa_init): Use proper obstacks.
  4389. (analyze_variable): Use scan_initializer_for_static_refs.
  4390. (init_function_info): Use local obstack.
  4391. (analyze_function): Simplify.
  4392. (add_new_function): We don't need visited_nodes obstack.
  4393. (generate_summary): Use proper obstacks; cleanup after propagation.
  4394. 2008-09-17 Richard Guenther <rguenther@suse.de>
  4395. PR middle-end/37385
  4396. PR tree-optimization/37491
  4397. * alias.c (get_alias_set): Use the canonical type.
  4398. * tree-vect-transform.c (vectorizable_store): Use the type of
  4399. the lhs for the vector type. Adjust checking.
  4400. (vectorizable_load): Adjust checking.
  4401. 2008-09-16 Jakub Jelinek <jakub@redhat.com>
  4402. Adam Nemet <anemet@caviumnetworks.com>
  4403. PR rtl-optimization/37483
  4404. * ifcvt.c (noce_try_sign_mask): Use if_info->test_bb instead of
  4405. if_info->insn_b's bb as argument to optimize_bb_for_speed_p.
  4406. Rearrange code to better match the original comment. Check
  4407. t_unconditional first. Improve comment.
  4408. 2008-09-16 Jakub Jelinek <jakub@redhat.com>
  4409. PR c/37529
  4410. * gimplify.c (gimplify_expr) <case GOTO_EXPR>: If gimplification of
  4411. GOTO_DESTINATION failed, don't create GIMPLE_GOTO.
  4412. PR c++/37530
  4413. * gimplify.c (gimplify_expr) <case TRY_CATCH_EXPR>: Don't create
  4414. GIMPLE_TRY if cleanup sequence is empty.
  4415. 2008-09-16 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4416. PR middle-end/37263
  4417. * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Prefer the
  4418. eliminate IV if the cost are the same.
  4419. 2008-09-16 Richard Guenther <rguenther@suse.de>
  4420. PR middle-end/37380
  4421. * tree-sra.c (sra_build_assignment): Do not call the gimplifier
  4422. if not necessary.
  4423. 2008-09-16 Richard Guenther <rguenther@suse.de>
  4424. PR tree-optimization/37508
  4425. * tree-vrp.c (simplify_truth_ops_using_ranges): Also allow -1.
  4426. 2008-09-15 Kaz Kojima <kkojima@gcc.gnu.org>
  4427. * config/sh/sh.md (movsf_ie): Fix length for TARGET_SH2A.
  4428. 2008-09-15 Andrew Pinski <andrew_pinski@playstation.sony.com>
  4429. * config/rs6000/rs6000.md (floatsidf2): Rewrite PowerPC64 case to
  4430. use gen_floatdidf2 directly.
  4431. (floatunssidf2): Likewise.
  4432. (floatsidf_ppc64_mfpgpr): Remove.
  4433. (floatsidf_ppc64): Remove.
  4434. (floatunssidf_ppc64): Remove.
  4435. 2008-09-15 Jakub Jelinek <jakub@redhat.com>
  4436. * ira-color.c (finish_cost_update): Free update_cost_queue_elems
  4437. rather than update_cost_queue.
  4438. * tree-ssa-alias.c (init_alias_info): Call bitmap_obstack_release
  4439. in every call starting with the second one, instead of only when
  4440. alias_bitmap_obstack.elements != NULL.
  4441. * tree-predcom.c (filter_suitable_components): Free all refs in
  4442. act->refs vector before calling release_component.
  4443. (add_ref_to_chain): Free ref if not adding it to chain->refs.
  4444. * tree-data-ref.c (free_subscripts): Free all subscript objects.
  4445. * tree-loop-linear.c (linear_transform_loops): Initialize
  4446. lambda_obstack only after calling perfect_loop_nest_depth.
  4447. Goto free_and_continue instead of just continue for later failures.
  4448. PR middle-end/37479
  4449. * doc/invoke.texi: Document -fno-dwarf2-cfi-asm.
  4450. PR libmudflap/36397
  4451. * tree-mudflap.c (mf_xform_derefs_1): Handle VIEW_CONVERT_EXPR.
  4452. 2008-09-14 Andreas Schwab <schwab@suse.de>
  4453. * tree-call-cdce.c (check_target_format): Accept Motorola formats.
  4454. 2008-09-14 Jan Hubicka <jh@suse.cz>
  4455. * invoke.texi (-fconserve-stack): Document.
  4456. * opts.c (decode_options): Handle conserve_stack.
  4457. * common.opt (fconvserve_stack): New.
  4458. 2008-09-14 David Edelsohn <edelsohn@gnu.org>
  4459. * config.host: Add x-aix to host_xmake_file.
  4460. * config/rs6000/t-aix52: Do not override LDFLAGS.
  4461. * config/rs6000/x-aix: New file.
  4462. 2008-09-14 Andy Hutchinson <hutchinsonandy@aim.com>
  4463. PR target/19636
  4464. PR target/24894
  4465. PR target/31644
  4466. PR target/31786
  4467. * config/avr/avr.c (legitimate_address_p): Fix problem where subreg
  4468. is not recognized as a valid register usage. Allow REG_X to be used
  4469. as a base pointer.
  4470. * config/avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Remove code that
  4471. forces a reload when using a base register.
  4472. 2008-09-14 Danny Smith <dannysmith@users.sourceforge.net>
  4473. * config/i386/cygming-crtend.c (register_frame_ctor): If
  4474. DEFAULT_USE_CXA_ATEXIT, register __gcc_deregister_frame
  4475. directly with atexit.
  4476. (deregister_frame_ctor): Rename to ...
  4477. (deregister_frame_dtor): Use to call __gcc_deregister_frame
  4478. if !DEFAULT_USE_CXA_ATEXIT.
  4479. 2008-09-13 Jan Hubicka <jh@suse.cz>
  4480. * cgraph.c: Include value-prof.h
  4481. * Makefile.in (cgraph.o): Add value-prof.h dependency.
  4482. 2008-09-13 Jan Hubicka <jh@suse.cz>
  4483. PR middle-end/32581
  4484. * tree-profile.c (add_abnormal_goto_call_edges): New function.
  4485. (tree_gen_interval_profiler, tree_gen_pow2_profiler,
  4486. tree_gen_one_value_profiler, tree_gen_average_profiler,
  4487. tree_gen_ic_func_profiler, tree_gen_ior_profiler): Use it.
  4488. 2008-09-13 Jan Hubicka <jh@suse.cz>
  4489. * i386.c (ix86_expand_movmem, ix86_expand_movstr): Avoid processing
  4490. too many bytes on misalligned blocks.
  4491. 2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  4492. * doc/cfg.texi: Fix some typos.
  4493. * doc/extend.texi: Likewise.
  4494. * doc/install.texi: Likewise.
  4495. * doc/invoke.texi: Likewise.
  4496. * doc/rtl.texi: Likewise.
  4497. * doc/tree-ssa.texi: Likewise.
  4498. 2008-09-13 Richard Guenther <rguenther@suse.de>
  4499. PR middle-end/30141
  4500. * tree-nested.c (finalize_nesting_tree_1): Generate valid
  4501. gimple stores for memory rhs.
  4502. 2008-09-13 H.J. Lu <hongjiu.lu@intel.com>
  4503. PR rtl-optimization/37489
  4504. * cse.c (fold_rtx): Don't return const_true_rtx for float
  4505. compare if FLOAT_STORE_FLAG_VALUE is undefined.
  4506. 2008-09-13 Jan Hubicka <jh@suse.cz>
  4507. PR tree-optimization/37392
  4508. * tree-inline.c (remap_gimple_stmt): Do not remap return value.
  4509. 2008-09-13 Martin Jambor <mjambor@suse.cz>
  4510. Jan Hubicka <jh@suse.cz>
  4511. * cgraph.c (free_edges): New variable.
  4512. (NEXT_FREE_EDGE): New macro.
  4513. (cgraph_free_edge): New function.
  4514. (cgraph_remove_edge): Call cgraph_remove_edge_1.
  4515. (cgraph_node_remove_callees): Likewise.
  4516. (cgraph_node_remove_callers): Likewise.
  4517. (cgraph_create_edge): Reuse edges from the free list. Do not
  4518. update uid if doing so.
  4519. (cgraph_remove_*_hook): Add free call.
  4520. 2008-09-13 Richard Sandiford <rdsandiford@googlemail.com>
  4521. * ira-color.c (conflict_allocno_vec): Delete.
  4522. (update_cost_queue_elem): New structure.
  4523. (update_cost_queue): New variable.
  4524. (update_cost_queue_tail): Likewise.
  4525. (update_cost_queue_elems): Likewise.
  4526. (allocno_update_cost_check): Delete.
  4527. (initiate_cost_update): Allocate update_cost_queue_elems
  4528. instead of allocno_update_cost_check.
  4529. (finish_cost_update): Update the free()s accordingly.
  4530. (start_update_cost): New function.
  4531. (queue_update_cost): Likewise.
  4532. (get_next_update_cost): Likewise.
  4533. (update_copy_costs_1): Inline into...
  4534. (update_copy_costs): ...here. Use a queue instead of recursive calls.
  4535. Use cover_class instead of ALLOCNO_COVER_CLASS (another_allocno),
  4536. once we've established they are equal. Don't allocate update
  4537. costs if there is nothing to add to them.
  4538. (update_conflict_hard_regno_costs): Remove ALLOCNO and
  4539. DIVISOR arguments. Use a queue instead of recursive calls;
  4540. process all the allocnos in the initial queue, rather than
  4541. a single allocno.
  4542. (assign_hard_reg): Use queue_update_cost instead of
  4543. conflict_allocno_vec. Queue coalesced allocnos instead
  4544. of calling update_conflict_hard_regno_costs for each one.
  4545. Just call update_conflict_hard_regno_costs once for the
  4546. entire queue.
  4547. (ira_color): Remove conflict_allocno_vec handling.
  4548. 2008-09-12 Sebastian Pop <sebastian.pop@amd.com>
  4549. PR tree-optimization/37484
  4550. * graphite.c (scop_record_loop): Use snprintf instead of sprintf.
  4551. (save_var_name): Same.
  4552. (initialize_cloog_names): Same.
  4553. (initialize_cloog_names): Same.
  4554. 2008-09-12 Sebastian Pop <sebastian.pop@amd.com>
  4555. * tree-scalar-evolution.c (set_instantiated_value): Set
  4556. instantiated_below.
  4557. 2008-09-12 Vladimir Makarov <vmakarov@redhat.com>
  4558. PR rtl-opt/37377
  4559. * ira-build.c (common_loop_tree_node_dominator): Remove.
  4560. (copy_live_ranges_to_removed_store_destinations): New function.
  4561. (regno_top_level_allocno_map): Move to top level from ...
  4562. (ira_flattening): ... here. Use
  4563. copy_live_ranges_to_removed_store_destinations.
  4564. * ira-emit.c (generate_edge_moves): Fix a comment.
  4565. 2008-09-12 Anatoly Sokolov <aesok@post.ru>
  4566. PR target/37466
  4567. * config/avr/avr.md (movsi_lreg_const peephole2): Add match_dup for
  4568. scratch register after 'set' pattern.
  4569. 2008-09-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  4570. * emit-rtl.c (set_reg_attrs_from_value): Fix invalid alignment
  4571. information passed to mark_reg_pointer.
  4572. * explow.c (force_reg): Likewise.
  4573. 2008-09-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  4574. * config/spu/spu.c (spu_override_options): Default to -mno-safe-hints
  4575. when building for the celledp architecture.
  4576. 2008-09-12 Richard Guenther <rguenther@suse.de>
  4577. * tree-vrp.c (simplify_truth_ops_using_ranges): Fix types.
  4578. 2008-09-12 Eric Botcazou <ebotcazou@adacore.com>
  4579. PR rtl-optimization/37424
  4580. * ira-color.c (coalesced_pseudo_reg_slot_compare): Untie by comparing
  4581. the regnos instead of the addresses.
  4582. 2008-09-11 Janis Johnson <janis187@us.ibm.com>
  4583. * ginclude/float.h (DEC_EVAL_METHOD): Correct the macro name.
  4584. 2008-09-11 Richard Guenther <rguenther@suse.de>
  4585. * tree-ssa-uncprop.c (associate_equivalences_with_edges): Avoid
  4586. entering the weaker equivalence recording.
  4587. * tree-ssa-phiprop.c (propagate_with_phi): Fix tuplification.
  4588. 2008-09-11 Jeff Law <law@redhat.com>
  4589. * reload1.c (alter_reg): Undo the BYTE_BIG_ENDIAN correction performed
  4590. by assign_stack_local on the IRA path for stack slot sharing
  4591. as well as the non-IRA path.
  4592. 2008-09-11 Uros Bizjak <ubizjak@gmail.com>
  4593. * config/i386/i386.h: Fix whitespace issues.
  4594. 2008-09-11 Martin Jambor <mjambor@suse.cz>
  4595. * ipa-prop.h (struct ipa_param_flags): Removed.
  4596. (struct ipa_param_descriptor): New structure.
  4597. (struct ipa_node_params): ipcp_lattices, param_decls and
  4598. param_flags moved to ipa_param_description.
  4599. (ipa_get_ith_param): Renamed to ipa_get_param, changed to access
  4600. descriptors. Renamed all users.
  4601. (ipa_is_ith_param_modified): Renamed to ipa_is_param_modified,
  4602. changed to access descriptors. Renamed all users.
  4603. (ipa_is_ith_param_called): Renamed to ipa_is_param_called, changed
  4604. to access descriptors. Renamed all users.
  4605. * ipa-cp.c (ipcp_init_cloned_node): Call
  4606. ipa_initialize_node_params instead of ipa_count_formal_params and
  4607. ipa_create_param_decls_array.
  4608. (ipcp_analyze_node): Likewise.
  4609. (ipcp_get_ith_lattice): Renamed to ipcp_get_lattice, changed to access
  4610. descriptors. Renamed all users.
  4611. (ipcp_initialize_node_lattices): Remove allocation.
  4612. * ipa-inline.c (inline_indirect_intraprocedural_analysis): Call
  4613. ipa_initialize_node_params instead of ipa_count_formal_params and
  4614. ipa_create_param_decls_array.
  4615. * ipa-prop.c (ipa_create_param_decls_array): Renamed to
  4616. ipa_populate_param_decls, made static, added parameter info,
  4617. renamed mt to node, removed allocation, changed to use
  4618. descriptors.
  4619. (ipa_count_formal_params): Made static, added parameter info,
  4620. renamed mt to node.
  4621. (ipa_initialize_node_params): New function.
  4622. (ipa_check_stmt_modifications): Changed to use descriptors.
  4623. (ipa_detect_param_modifications): Removed allocation, changed to
  4624. use descriptors.
  4625. (ipa_note_param_call): Changed to use descriptors.
  4626. (ipa_analyze_params_uses): Removed allocation.
  4627. (ipa_free_node_params_substructures): Changed to use descriptors.
  4628. (ipa_edge_duplication_hook): Use the unused attribute.
  4629. (ipa_node_duplication_hook): Use the unused attribute, changed to
  4630. use descriptors, changed to duplicate descriptors.
  4631. * ipa-inline.c (cgraph_mark_inline_edge): New parameter new_edges,
  4632. changed all callers. Call ipa_propagate_indirect_call_infos if doing
  4633. indirect inlining. Made static.
  4634. (cgraph_decide_inlining): Freeing ipa-prop structures after inlining
  4635. functions called only once.
  4636. (cgraph_decide_recursive_inlining): Don't call
  4637. ipa_propagate_indirect_call_infos, pass new_edges to
  4638. cgraph_mark_inline_edge instead.
  4639. (cgraph_decide_inlining_of_small_functions): Don't call
  4640. ipa_propagate_indirect_call_infos, pass new_edges to
  4641. cgraph_mark_inline_edge instead.
  4642. (cgraph_decide_inlining): Don't call
  4643. ipa_propagate_indirect_call_infos.
  4644. * ipa-prop.c: Check that vectors are allocated.
  4645. * ipa-inline.c (cgraph_mark_inline_edge): Returns boolean, true
  4646. iff a new cgraph edges have been created.
  4647. (cgraph_decide_inlining): New variable redo_always_inline.
  4648. Flattening and always_inlining loop until callgraph stabilizes.
  4649. * ipa-prop.c (update_call_notes_after_inlining): Returns boolean,
  4650. true iff new cgraph edges have been created.
  4651. (propagate_info_to_inlined_callees): Likewise.
  4652. (ipa_propagate_indirect_call_infos): Likewise.
  4653. 2008-09-11 Richard Guenther <rguenther@suse.de>
  4654. * tree-vectorizer.c (slpeel_add_loop_guard): Fix types.
  4655. (set_prologue_iterations): Likewise.
  4656. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref):
  4657. Likewise.
  4658. (vect_update_init_of_dr): Likewise.
  4659. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Fix
  4660. type verification.
  4661. * fold-const.c (fold_unary): Do not generate calculations
  4662. in sub-types.
  4663. 2008-09-11 Paolo Bonzini <bonzini@gnu.org>
  4664. * dojump.c (do_jump) [BIT_AND_EXPR]: Move below. Fall through to
  4665. TRUTH_AND_EXPR for boolean (1-bit precision) expressions.
  4666. (do_jump) [BIT_IOR_EXPR]: Compile as TRUTH_OR_EXPR.
  4667. * tree-flow.h (simplify_stmt_using_ranges): Accept a GSI, return
  4668. a bool.
  4669. * tree-ssa-propagate.c (substitute_and_fold): Pass a GSI to
  4670. VRP's simplify_stmt_using_ranges. Do simplify_stmt_using_ranges
  4671. before finalizing the changes.
  4672. * tree-vrp.c (extract_range_from_binary_expr): Add limited support
  4673. for BIT_IOR_EXPR.
  4674. (simplify_truth_ops_using_ranges): New.
  4675. (simplify_div_or_mod_using_ranges, simplify_abs_using_ranges,
  4676. simplify_cond_using_ranges, simplify_switch_using_ranges): Return
  4677. whether a simplification was made.
  4678. (simplify_stmt_using_ranges): Ditto, and accept a GSI. For GS_ASSIGN,
  4679. use a switch statement and also call simplify_truth_ops_using_ranges.
  4680. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4681. * ggc-common.c (loc_array): Make static.
  4682. * dce.c (rest_of_handle_ud_dce): Free worklist.
  4683. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4684. * cgraph.c (cgraph_release_function_body): Plug memory leak on
  4685. ipa_transforms_to_apply and CFG; ggc_free gimple df and struct
  4686. function so we are sure we do not dangle it forever.
  4687. * function.c (outer_function_chain, find_function_data): Remove.
  4688. (function_context_stack): New.
  4689. (push_function_context, pop_function_context): Update.
  4690. * function.h (struct function): Remove pointer outer.
  4691. (outer_function_chain, find_function_data): Remove.
  4692. * stmt.c (force_label_rtx): Remove dead call of find_function_data.
  4693. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4694. PR middle-end/37448
  4695. * cgraph.c (cgraph_create_edge): Use !cgraph_edge for sanity check.
  4696. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4697. * tree-ssa-pre.c (phi_translate_1): Fix memory leak
  4698. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4699. * tree-ssa.c (redirect_edge_var_map_clear): Fix formatting.
  4700. (free_var_map_entry): New function.
  4701. (redirect_edge_var_map_destroy): Use it.
  4702. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4703. PR middle-end/37448
  4704. * tree-inline.c (add_lexical_block): Replace with ...
  4705. (prepend_lexical_block): ... prepend at begginig.
  4706. (remap_blocks): Use it and reverse later.
  4707. (expand_call_inline): Use prepend_lexical_block.
  4708. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4709. * gimplify.c (pop_gimplify_context): Free bind_expr_stack.
  4710. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4711. * function.c (free_after_compilation): Call insn_locators_free.
  4712. * cfglayout.c (insn_locators_free): New function.
  4713. * rtl.h (insn_locators_free): Declare.
  4714. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4715. * ifcvt.c (check_cond_move_block): Make regs argument pointer to
  4716. vector pointer.
  4717. (cond_move_process_if_block): Update call.
  4718. 2008-09-11 Jan Hubicka <jh@suse.cz>
  4719. * toplev.c (dump_memory_report): Call dump_vec_loc_statistics.
  4720. * vec.c: Include hashtab.h
  4721. (vec_descriptor, ptr_hash_entry): New structures.
  4722. (vec_desc_hash, vec_ptr_map): New static variables.
  4723. (hash_descriptor, eq_descriptor, hash_ptr, eq_ptr, vec_descriptor,
  4724. register_overhead, free_overhead, vec_heap_free): New functions.
  4725. (vec_gc_o_reserve_1): ggc_free when resizing to 0.
  4726. (vec_heap_o_reserve_1): free when resizing to 0; add statistics.
  4727. (cmp_statistic, add_statistics, dump_vec_loc_statistics):
  4728. New functions.
  4729. 2008-09-11 Ira Rosen <irar@il.ibm.com>
  4730. PR tree-optimization/37474
  4731. * tree-vect-analyze.c (vect_supported_load_permutation_p): Check the
  4732. length of load permutation.
  4733. 2008-09-11 Andreas Schwab <schwab@suse.de>
  4734. * config/m68k/m68k.h (IRA_COVER_CLASSES): Define.
  4735. 2008-09-11 Jakub Jelinek <jakub@redhat.com>
  4736. PR target/37382
  4737. * expmed.c (extract_low_bits): Avoid creating invalid subregs.
  4738. * dse.c (find_shift_sequence): Use extract_low_bits instead of
  4739. simplify_gen_subreg.
  4740. 2008-09-11 Ira Rosen <irar@il.ibm.com>
  4741. * tree-vect-transform.c (vectorizable_store): Use the rhs vector type
  4742. for alias check.
  4743. 2008-09-10 Jakub Jelinek <jakub@redhat.com>
  4744. PR middle-end/37338
  4745. * gimplify.c (gimplify_body): Call default_rtl_profile.
  4746. PR target/36904
  4747. * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): Return NULL
  4748. instead of tok->val.node if not expanding to something else. Handle
  4749. intervening CPP_PADDING tokens.
  4750. (altivec_categorize_keyword): Remove unneeded comparisons.
  4751. 2008-09-10 Richard Guenther <rguenther@suse.de>
  4752. * tree-ssa-pre.c (phi_translate_1): Fix memory leak.
  4753. 2008-09-10 Richard Guenther <rguenther@suse.de>
  4754. PR middle-end/37432
  4755. * tree-inline.c (insert_init_stmt): Make sure to not
  4756. insert invalid gimple stores.
  4757. 2008-09-10 Sebastian Pop <sebastian.pop@amd.com>
  4758. PR tree-optimization/37388
  4759. * toplev.c (process_options): Fail and warn when graphite
  4760. flags are used, but the compiler has not been configured
  4761. with graphite libraries.
  4762. * graphite.c (graphite_transform_loops): Remove printfs
  4763. to dump_file for the case when graphite is not available.
  4764. 2008-09-10 H.J. Lu <hongjiu.lu@intel.com>
  4765. PR target/37434:
  4766. * config/i386/i386.c (ix86_expand_vector_init_interleave): Force
  4767. the even element into register.
  4768. (ix86_expand_vector_init_general): Don't use
  4769. ix86_expand_vector_init_interleave on V16QImode and V8HImode
  4770. if we can't move from GPR to SSE register directly.
  4771. 2008-09-10 Bernd Schmidt <bernd.schmidt@analog.com>
  4772. * config/bfin/bfin.c (workaround_speculation): Correct algorithm to
  4773. not lose track of the number of NOPs needed. Number of NOPs needed
  4774. for sync vs. loads workaround was switched; corrected. Run second
  4775. pass for all workarounds. No NOPs needed after call insns. Change
  4776. second pass to use find_next_insn_start and find_load helpers in order
  4777. to properly detect parallel insns.
  4778. * config/bfin/bfin.md (cbranch_with_nops): Increase length.
  4779. 2008-09-10 Jan Hubicka <jh@suse.cz>
  4780. * value-prof.c (gimple_ic): Fix tuplification bug.
  4781. * sched-deps.c (sched_insns_conditions_mutex_p): Silence unitialized
  4782. var warning.
  4783. 2008-09-10 Jakub Jelinek <jakub@redhat.com>
  4784. PR tree-optimization/37353
  4785. * tree-call-cdce.c (cond_dead_built_in_calls): Remove.
  4786. (shrink_wrap_conditional_dead_built_in_calls): Add calls argument, use
  4787. calls instead of cond_dead_built_in_calls.
  4788. (tree_call_cdce): Add cond_dead_built_in_calls automatic variable,
  4789. initalize the vector only before adding first entry. Use VEC_safe_push
  4790. instead of VEC_quick_push. Pass cond_dead_built_in_calls to
  4791. shrink_wrap_conditional_dead_built_in_calls call.
  4792. 2008-09-10 Ira Rosen <irar@il.ibm.com>
  4793. PR tree-optimization/37385
  4794. * tree-vect-transform.c (vect_create_data_ref_ptr): Add a new
  4795. argument, and use it as a vector type if not NULL.
  4796. (vectorizable_store): Call vect_create_data_ref_ptr with the type of
  4797. vectorized rhs.
  4798. (vect_setup_realignment): Call vect_create_data_ref_ptr with
  4799. additional argument.
  4800. (vectorizable_load): Likewise.
  4801. 2008-09-10 Jakub Jelinek <jakub@redhat.com>
  4802. * config/i386/i386.md (SWI32): New mode iterator.
  4803. (jcc_fused_1, jcc_fused_2, jcc_fused_3, jcc_fused_4): Use it instead
  4804. of SWI.
  4805. 2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
  4806. PR rtl-optimization/37435
  4807. * caller-save.c (insert_restore, insert_save): Check the mode by
  4808. reg_save_code.
  4809. 2008-09-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  4810. PR other/37265
  4811. * dwarf2asm.c (dw2_force_const_mem): Use unstripped symbol name for
  4812. splay tree lookup.
  4813. (dw2_output_indirect_constant_1): Use unstripped name in symbol
  4814. reference.
  4815. 2008-09-09 Sandra Loosemore <sandra@codesourcery.com>
  4816. * doc/invoke.texi (ARM Options): Correct errors in discussion
  4817. of -mfloat-abi, -mhard-float, and -msoft-float.
  4818. 2008-09-09 Jakub Jelinek <jakub@redhat.com>
  4819. Jan Hubicka <jh@suse.cz>
  4820. PR middle-end/37356
  4821. * tree-inline.c (copy_bb): Insert stmt into copy_basic_block before
  4822. calling gimple_regimplify_operands on it. Iterate over all newly
  4823. added statements, not just the last one.
  4824. (insert_init_stmt): Insert stmt into seq first, then call
  4825. gimple_regimplify_operands on it. Don't create new gimplification
  4826. context, nor find referenced vars.
  4827. 2008-09-09 Jakub Jelinek <jakub@redhat.com>
  4828. PR other/37419
  4829. * ipa-prop.h (ipa_propagate_indirect_call_infos): Change last argument
  4830. to pointer to vector pointer.
  4831. * ipa-prop.c (ipa_propagate_indirect_call_infos,
  4832. propagate_info_to_inlined_callees): Likewise.
  4833. (update_call_notes_after_inlining): Likewise. Push new indirect edge
  4834. to *new_edges instead of new_edges. Reread IPA_EDGE_REF after
  4835. ipa_check_create_edge_args.
  4836. * ipa-inline.c (cgraph_decide_recursive_inlining): Change last
  4837. argument to pointer to vector pointer.
  4838. (cgraph_decide_inlining_of_small_function): Adjust
  4839. cgraph_decide_recursive_inlining and ipa_propagate_indirect_call_infos
  4840. calls.
  4841. PR target/37438
  4842. * config/i386/i386.md (zero_extendqihi2_movzbl): Enable when
  4843. optimizing for size, not speed.
  4844. PR rtl-optimization/37408
  4845. * function.c (assign_parm_find_stack_rtl): Set correct MEM_SIZE
  4846. if parm is promoted.
  4847. 2008-09-09 Sebastian Pop <sebastian.pop@amd.com>
  4848. PR tree-optimization/37375
  4849. * tree-scalar-evolution.c (scev_info_str): Add field
  4850. instantiated_below.
  4851. (new_scev_info_str, eq_scev_info, find_var_scev_info,
  4852. set_scalar_evolution, get_scalar_evolution, get_instantiated_value,
  4853. set_instantiated_value): Pass instantiated_below.
  4854. (analyze_scalar_evolution_1, analyze_scalar_evolution): Update calls
  4855. to above functions.
  4856. (instantiate_scev_1, instantiate_scev): Pass a basic block above which
  4857. the definitions are not instantiated.
  4858. * tree-scalar-evolution.h (instantiate_scev): Update declaration.
  4859. (block_before_loop): New.
  4860. * tree-data-ref.c (dr_analyze_indices): Update uses of
  4861. instantiate_scev.
  4862. * graphite.c (block_before_scop): New.
  4863. (loop_affine_expr, stmt_simple_for_scop_p, harmful_stmt_in_bb): Pass a
  4864. basic block, not a loop for determining the parameters.
  4865. (scopdet_edge_info, build_scops_1): Do not pass outermost loop in the
  4866. scop.
  4867. (idx_record_params, find_params_in_bb, find_scop_parameters,
  4868. build_loop_iteration_domains, add_conditions_to_domain): Update calls
  4869. to instantiate_scev.
  4870. * Makefile.in (cfgloopmanip.o): Add missing dependency on TREE_FLOW_H.
  4871. 2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
  4872. PR rtl-opt/37333
  4873. * ira-build.c (ira_create_allocno): Setup frequency to 0.
  4874. * ira-color.c (update_conflict_hard_regno_costs): Remove assert.
  4875. Check zero freq and increase if necessary.
  4876. 2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
  4877. * ira-conflicts.c (process_regs_for_copy): Check that the hard
  4878. regno is in the right range. Add comments.
  4879. 2008-09-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4880. * Makefile.in (mips-tfile.o-warn): Don't error out on mips-tfile.c
  4881. warnings.
  4882. * mips-tfile.c (copy_object): Cast alloca result to int *.
  4883. * mips-tdump.c (print_symbol): Cast xmalloc return values to
  4884. proper types.
  4885. Rename class to sclass.
  4886. (read_tfile): Cast read_seek return values to proper types.
  4887. Cast xcalloc return value to proper type.
  4888. 2008-09-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4889. * config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ...
  4890. * config/i386/sol2.h (REGISTER_SUBTARGET_PRAGMAS): ... here.
  4891. * config/sparc/sol2.h (REGISTER_TARGET_PRAGMAS): ... and here.
  4892. 2008-09-09 Jan Hubicka <jh@suse.cz>
  4893. * profile.c (is_edge_inconsistent): Add debug output; ignore
  4894. negative count on fake edges.
  4895. (is_inconsistent): Add debug output.
  4896. 2008-09-09 Andrey Belevantsev <abel@ispras.ru>
  4897. * haifa-sched.c (advance_one_cycle): Do not print '\n' before printing
  4898. dump message.
  4899. (choose_ready): When first insn is chosen from the ready list, also
  4900. dump it.
  4901. 2008-09-09 Andrey Belevantsev <abel@ispras.ru>
  4902. PR rtl-optimization/37360
  4903. * haifa-sched.c (max_issue): Do not assert that we never issue more
  4904. insns than issue_rate. Add comment.
  4905. 2008-09-09 Richard Guenther <rguenther@suse.de>
  4906. * tree-cfg.c (verify_types_in_gimple_op): Remove.
  4907. (verify_types_in_gimple_call): Rename to ...
  4908. (verify_gimple_call): ... this. Enhance.
  4909. (verify_types_in_gimple_cond): Remove.
  4910. (verify_gimple_comparison): New function ...
  4911. (verify_types_in_gimple_assign): ... split out from here.
  4912. (verify_types_in_gimple_return): Rename to ...
  4913. (verify_gimple_return): ... this. Enhance.
  4914. (verify_types_in_gimple_switch): Rename to ...
  4915. (verify_gimple_switch): ... this. Enhance.
  4916. (verify_gimple_goto): New function.
  4917. (verify_types_in_gimple_phi): Rename to ...
  4918. (verify_gimple_phi): ... this. Enhance.
  4919. (verify_types_in_gimple_stmt): Adjust calls to helper functions.
  4920. Fold in single-statement cases from verify_types_in_gimple_seq_2.
  4921. (verify_types_in_gimple_seq_2): Remove cases handled in
  4922. verify_types_in_gimple_stmt.
  4923. 2008-09-09 Bernd Schmidt <bernd.schmidt@analog.com>
  4924. * config/bfin/bfin.c (n_regs_to_save): New static variable.
  4925. (push_multiple_operation, pop_multiple_operation): Set it.
  4926. (workaround_rts_anomaly): New function.
  4927. (workaround_speculation): New function, broken out of bfin_reorg.
  4928. (bfin_reorg): Call the new functions.
  4929. 2008-09-09 Richard Guenther <rguenther@suse.de>
  4930. PR middle-end/37354
  4931. PR middle-end/30165
  4932. * gimplify.c (gimplify_conversion): Change conversions of
  4933. non-register type to VIEW_CONVERT_EXPRs.
  4934. (gimplify_addr_expr): If we need to make the operand
  4935. addressable make sure to use a properly initialized
  4936. temporary for that so it gets a valid gimple store.
  4937. 2008-09-09 Aldy Hernandez <aldyh@redhat.com>
  4938. * function.h (struct function): Add function_start_locus.
  4939. * cfgexpand.c (gimple_expand_cfg): Use it.
  4940. * c-parser.c (c_parser_declaration_or_fndef): Set it.
  4941. 2008-09-09 Richard Guenther <rguenther@suse.de>
  4942. PR tree-optimization/37433
  4943. * tree-ssa-ccp.c (ccp_fold): Properly guard folding of
  4944. function calls.
  4945. 2008-09-09 Richard Guenther <rguenther@suse.de>
  4946. PR tree-optimization/37387
  4947. * tree-ssa-ifcombine.c (ifcombine_iforif): Convert the name
  4948. and bits to a common type.
  4949. 2008-09-09 Nick Clifton <nickc@redhat.com>
  4950. * config/v850/v850.md (return): Restore frame size restriction.
  4951. 2008-09-09 Paolo Bonzini <bonzini@gnu.org>
  4952. * c-common.c (c_expand_decl): Remove.
  4953. * c-common.h (anon_aggr_type_p): Remove prototype.
  4954. (DECL_ANON_UNION_ELEMS): Remove.
  4955. * c-objc-common.h (LANG_HOOKS_EXPAND_DECL): Remove.
  4956. * c-decl.c (anon_aggr_type_p): Remove.
  4957. * langhooks-def.h (LANG_HOOKS_EXPAND_DECL): Remove.
  4958. (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_EXPAND_DECL.
  4959. * langhooks.h (struct lang_hooks): Remove expand_decl.
  4960. * langhooks.c (lhd_expand_decl): Remove.
  4961. * stmt.c (expand_anon_union_decl): Remove.
  4962. * tree.h (expand_anon_union_decl): Remove prototype.
  4963. 2008-08-09 Andy Hutchinson <hutchinsonandy@aim.com>
  4964. PR target/36609
  4965. * config/avr/avr.c (avr_reorg): Create RTL for reversed compare with
  4966. zero.
  4967. * config/avr/avr.md (QISI): Define mode iterator.
  4968. (negated_tst<mode>): Redefine as split using mode macro.
  4969. (reversed_tstqi): Define insn as reversed compare with zero.
  4970. (reversed_tsthi): Ditto.
  4971. (reversed_tstsi): Ditto.
  4972. 2008-09-08 Jakub Jelinek <jakub@redhat.com>
  4973. PR middle-end/37393
  4974. * tree-inline.c (copy_bb): When replacing a gimple_call_va_arg_pack_p
  4975. call stmt by new_call, clear gimple_bb on stmt after gsi_replace.
  4976. PR middle-end/37414
  4977. * predict.c (optimize_function_for_size_p): Don't segfault if
  4978. FUN is NULL.
  4979. * fold-const.c (LOGICAL_OP_NON_SHORT_CIRCUIT, fold_truthop,
  4980. tree_swap_operands_p): Don't test cfun != NULL before calling
  4981. optimize_function_for_s*_p.
  4982. 2008-09-08 Eric Botcazou <ebotcazou@adacore.com>
  4983. * ira-color.c (ira_reuse_stack_slot): Set slot_num on success at the
  4984. end of the search.
  4985. 2008-09-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
  4986. * crx/crx.h (IRA_COVER_CLASSES): Define.
  4987. 2008-09-08 Jakub Jelinek <jakub@redhat.com>
  4988. PR middle-end/37337
  4989. * tree-ssa-dom.c (optimize_stmt): Call maybe_clean_or_replace_eh_stmt
  4990. even when a stmt has been gimple_modified_p, but after fold_stmt is
  4991. not any longer. Remove unneeded may_have_exposed_new_symbols
  4992. initializations.
  4993. 2008-09-08 Richard Guenther <rguenther@suse.de>
  4994. PR tree-optimization/37421
  4995. * tree-ssa-sccvn.c (visit_copy): Make sure to fully
  4996. valueize the RHS.
  4997. 2008-09-08 Jakub Jelinek <jakub@redhat.com>
  4998. PR middle-end/37415
  4999. * opts.c (common_handle_option): Handle OPT_ftree_store_ccp.
  5000. 2008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  5001. PR driver/37409
  5002. * pa-hpux.h (LINK_SPEC): Strip -fwhole-program.
  5003. * pa-hpux10.h (LINK_SPEC): Likewise.
  5004. * pa-hpux11.h (LINK_SPEC): Likewise.
  5005. 2008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  5006. * pa32-regs.h (IRA_COVER_CLASSES): Define.
  5007. * pa64-regs.h (IRA_COVER_CLASSES): Define.
  5008. 2008-09-07 Helge Deller <deller@gmx.de>
  5009. * pa/linux-atomic.c: New file.
  5010. * pa/t-linux (LIB2FUNCS_STATIC_EXTRA): Define.
  5011. * pa/t-linux64 (LIB2FUNCS_STATIC_EXTRA): Define.
  5012. 2008-09-07 Richard Guenther <rguenther@suse.de>
  5013. Ira Rosen <irar@il.ibm.com>
  5014. PR tree-optimization/36630
  5015. * tree-vect-transform.c (vect_update_ivs_after_vectorizer):
  5016. Call STRIP_NOPS before calling evolution_part_in_loop_num.
  5017. 2008-09-07 Dorit Nuzman <dorit@il.ibm.com>
  5018. Ira Rosen <irar@il.ibm.com>
  5019. PR tree-optimization/35642
  5020. * config/rs6000/altivec.md (mulv8hi3): Implement.
  5021. 2008-09-06 Jeff Law <law@redhat.com>
  5022. * h8300/h8300.h (IRA_COVER_CLASSES): Define.
  5023. 2008-09-06 Jan Hubicka <jh@suse.cz>
  5024. PR tree-optimization/14703
  5025. * tree-ssa-live.c (remove_unused_scope_block_p): Remove ignored
  5026. declarations.
  5027. * passes.c (init_optimization_passes): Recompute inline parameters.
  5028. 2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
  5029. * config/mips/mips.c (mips_function_ok_for_sibcall): Check for
  5030. DECL being null.
  5031. 2008-09-06 Richard Sandiford <rdsandiford@goolemail.com>
  5032. Peter Fuerst <post@pfrst.de>
  5033. * doc/invoke.texi: Document -mr10k-cache-barrier=.
  5034. * doc/extend.texi: Document __builtin_mips_cache.
  5035. * config/mips/mips-ftypes.def: Add a (VOID, SI, CVPOINTER) entry.
  5036. * config/mips/mips.opt (mr10k-cache-barrier=): New option.
  5037. * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define
  5038. __GCC_HAVE_BUILTIN_MIPS_CACHE.
  5039. (TARGET_CACHE_BUILTIN, ISA_HAS_CACHE): New macros.
  5040. * config/mips/mips.c (mips_r10k_cache_barrier_setting): New enum.
  5041. (set_push_mips_isas): New variable.
  5042. (mips_r10k_cache_barrier): New variable.
  5043. (cache): New availability predicate.
  5044. (mips_builtins): Add an entry for __builtin_mips_cache.
  5045. (mips_build_cvpointer_type): New function.
  5046. (MIPS_ATYPE_CVPOINTER): New macro.
  5047. (mips_prepare_builtin_arg): Only use the insn's mode if the rtx's
  5048. mode is VOIDmode.
  5049. (r10k_simplified_address_p, r10k_simplify_address)
  5050. (r10k_uncached_address_p, r10k_safe_address_p)
  5051. (r10k_needs_protection_p_1, r10k_needs_protection_p_store)
  5052. (r10k_needs_protection_p_call, r10k_needs_protection_p)
  5053. (r10k_insert_cache_barriers): New functions.
  5054. (mips_reorg_process_insns): Delete cache barriers after a
  5055. branch-likely instruction.
  5056. (mips_reorg): Call r10k_insert_cache_barriers.
  5057. (mips_handle_option): Handle OPT_mr10k_cache_barrier_.
  5058. * config/mips/mips.md (UNSPEC_MIPS_CACHE): New constant.
  5059. (UNSPEC_R10K_CACHE_BARRIER): Likewise.
  5060. (mips_cache, r10k_cache_barrier): New define_insns.
  5061. 2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
  5062. * ira-int.h (ira_zero_hard_reg_set, ira_one_hard_reg_set): Delete.
  5063. * ira-color.c (setup_allocno_left_conflicts_num): Use
  5064. hard_reg_set_equal_p instead of a comparison with
  5065. ira_zero_hard_reg_set.
  5066. * ira.c (setup_reg_subclasses): Likewise.
  5067. (setup_cover_and_important_classes): Likewise.
  5068. (setup_class_translate): Likewise.
  5069. (setup_reg_class_intersect_union): Likewise.
  5070. (ira_zero_hard_reg_set, ira_one_hard_reg_set): Delete.
  5071. (ira_init_once): Don't initialize them.
  5072. 2008-09-05 Vladimir Makarov <vmakarov@redhat.com>
  5073. * doc/tm.texi (IRA_COVER_CLASSES): Fix a typo.
  5074. 2008-09-05 Vladimir Makarov <vmakarov@redhat.com>
  5075. * ira-color.c (ira_fast_allocation): Permit global allocno allocation.
  5076. 2008-09-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
  5077. Improved branch hints, safe hints, and scheduling.
  5078. * haifa-sched.c (sched_emit_insn): Define.
  5079. * sched-int.h (sched_emit_insn): Add prototype.
  5080. * doc/invoke.texi (-mdual-nops, -mhint-max-nops,
  5081. -mhint-max-distance -msafe-hints): Document.
  5082. * config/spu/spu.c (spu_flag_var_tracking): New.
  5083. (TARGET_SCHED_INIT_GLOBAL, TARGET_SCHED_INIT,
  5084. TARGET_SCHED_REORDER, TARGET_SCHED_REORDER2,
  5085. TARGET_ASM_FILE_START): Define.
  5086. (TARGET_SCHED_ADJUST_PRIORITY): Remove.
  5087. (STOP_HINT_P, HINTED_P, SCHED_ON_EVEN_P): Define.
  5088. (spu_emit_branch_hint): Add blocks argument.
  5089. (insert_branch_hints, insert_nops): Remove.
  5090. (pad_bb, insert_hbrp_for_ilb_runout, insert_hbrp, in_spu_reorg,
  5091. uses_ls_unit, spu_sched_init_global, spu_sched_init,
  5092. spu_sched_reorder, asm_file_start): New functions.
  5093. (clock_var, spu_sched_length, pipe0_clock,
  5094. pipe1_clock, prev_clock_var, prev_priority,
  5095. spu_ls_first, prev_ls_clock): New static variables.
  5096. * config/spu/spu.h (TARGET_DEFAULT): Add MASK_SAFE_HINTS.
  5097. * config/spu.md (iprefetch): Add operand, make it clobber MEM.
  5098. (nopn_nv): Add a non-volatile version of nop.
  5099. * config/spu/spu.opt (-mdual-nops, -mhint-max-nops,
  5100. -mhint-max-distance, -msafe-hints): New options.
  5101. 2008-09-05 Janis Johnson <janis187@us.ibm.com>
  5102. Samuel Tardieu <sam@rfc1149.net>
  5103. * opts.c (decode_options): Combine nested if statements.
  5104. PR target/37283
  5105. * opts.c (decode_options): Handle more relationships among
  5106. unit-at-a-time, toplevel-reorder, and section-anchors.
  5107. 2008-09-05 David Daney <ddaney@avtrex.com>
  5108. * doc/install.texi (--enable-reduced-reflection): Document new option.
  5109. 2008-09-05 Bob Wilson <bob.wilson@acm.org>
  5110. * config/xtensa/predicates.md (nonimmed_operand, mem_operand): Use
  5111. constantpool_mem_p.
  5112. (constantpool_operand): New.
  5113. (move_operand): Disallow sub-word modes for the constant pool.
  5114. * config/xtensa/xtensa.c (TARGET_SECONDARY_RELOAD): Define.
  5115. (xtensa_secondary_reload_class): Replace with....
  5116. (xtensa_secondary_reload): this function. Remove SIGN_EXTEND check.
  5117. Set icode for sub-word reloads from the constant pool.
  5118. * config/xtensa/xtensa.h (SECONDARY_INPUT_RELOAD_CLASS): Delete.
  5119. (SECONDARY_OUTPUT_RELOAD_CLASS): Delete.
  5120. * config/xtensa/xtensa.md (reload<mode>_literal): New.
  5121. * config/xtensa/xtensa-protos.h: Update prototypes.
  5122. 2008-09-05 Joseph Myers <joseph@codesourcery.com>
  5123. * config/mips/mips.h (enum reg_class): Add FRAME_REGS.
  5124. (REG_CLASS_NAMES): Update.
  5125. (REG_CLASS_CONTENTS): Update.
  5126. * config/mips/mips.c (mips_regno_to_class): Use FRAME_REGS instead
  5127. of ALL_REGS for regs 77 and 78.
  5128. * function.c (instantiate_virtual_regs_in_insn): Assert that
  5129. return value of simplify_gen_subreg is not NULL.
  5130. 2008-09-05 Paolo Bonzini <bonzini@gnu.org>
  5131. * emit-rtl.c (gen_rtvec): Rewrite not using gen_rtvec_v.
  5132. (gen_rtvec_v): Fix coding standards.
  5133. 2008-09-04 Jan Hubicka <jh@suse.cz>
  5134. * i386.c (decide_alg): Be more conservative about optimizing for size.
  5135. 2008-09-04 Ian Lance Taylor <iant@google.com>
  5136. * varasm.c (narrowing_initializer_constant_valid_p): New
  5137. static function.
  5138. (initializer_constant_valid_p): Call it.
  5139. 2008-09-04 Jeff Law <law@redhat.com>
  5140. * fold-const.c (native_encode_real): Fix computation of WORDS.
  5141. (native_interpret_real): Likewise.
  5142. 2008-09-04 Janis Johnson <janis187@us.ibm.com>
  5143. * config/rs6000/t-rs6000: Remove target gt-rs6000.h.
  5144. 2008-09-04 Vladimir Makarov <vmakarov@redhat.com>
  5145. * ira-conflicts.c (process_regs_for_copy): Check insn to check
  5146. that the cost is already taken into account in ira-costs.c
  5147. * ira-int.h (ira_debug_copy, ira_debug_copies): New.
  5148. * ira-build.c (print_copy, print_copies, ira_debug_copy,
  5149. ira_debug_copies): New.
  5150. (ira_bulid): Call print_copies.
  5151. * doc/tm.texi (IRA_COVER_CLASSES): Fix the description.
  5152. 2008-09-04 Samuel Tardieu <sam@rfc1149.net>
  5153. PR target/32783
  5154. * config/rs6000/rs6000.c (optimization_options): Remove check of
  5155. flag_toplevel_order.
  5156. 2008-09-04 Adam Nemet <anemet@caviumnetworks.com>
  5157. * config/mips/mips.h (ISA_HAS_SEQ_SNE): New macro.
  5158. * config/mips/mips.c (mips_expand_scc): Also expand seq and sne if
  5159. second operand is a reg_imm10_operand.
  5160. * config/mips/mips.md (*seq_<GPR:mode><GPR2:mode>_seq,
  5161. *sne_<GPR:mode><GPR2:mode>_sne): New patterns.
  5162. (*seq_<GPR:mode><GPR2:mode>): Rename to
  5163. *seq_zero_<GPR:mode><GPR2:mode>. Don't match if
  5164. ISA_HAS_SEQ_SNE.
  5165. (*seq_<GPR:mode><GPR2:mode>_mips16): Rename to
  5166. *seq_zero_<GPR:mode><GPR2:mode>_mip16. Don't match if
  5167. ISA_HAS_SEQ_SNE.
  5168. (*sne_<GPR:mode><GPR2:mode>): Rename to
  5169. *sne_zero_<GPR:mode><GPR2:mode>. Don't match if
  5170. ISA_HAS_SEQ_SNE.
  5171. 2008-09-04 Adam Nemet <anemet@caviumnetworks.com>
  5172. * config/mips/mips.h (ISA_HAS_EXTS): New macro.
  5173. * config/mips/mips.md (*ashr_trunc<mode>): Name the pattern
  5174. combining an arithmetic right shift by more than 31 and a
  5175. trunction. Don't match for out-of-range shift amounts. Set
  5176. attribute mode to <MODE>.
  5177. (*lshr32_trunc<mode>): Name the pattern combining a logical right
  5178. shift by 32 and and a truncation. Set attribute mode to <MODE>.
  5179. (*<optab>_trunc<mode>_exts): New pattern for truncated right
  5180. shifts by less than 32.
  5181. (extv): Change predicate on first operand to accept registers.
  5182. Change predicate of the other operands from immediate_operand to
  5183. const_int_operand. Expand exts when source is a register.
  5184. (extzv): Change predicate of the constant operands from
  5185. immediate_operand to const_int_operand.
  5186. (extzv<mode>): Change predicate of the constant operands from
  5187. immediate_operand to const_int_operand and no constraint. Also
  5188. remove mode.
  5189. (*extzv_trunc<mode>_exts): New pattern.
  5190. 2008-09-04 Adam Nemet <anemet@caviumnetworks.com>
  5191. * config/mips/mips.h (ISA_HAS_CINS): New macro.
  5192. * config/mips/mips-protos.h (mask_low_and_shift_p,
  5193. mask_low_and_shift_len): Declare.
  5194. * config/mips/mips.c (mask_low_and_shift_p,
  5195. mask_low_and_shift_len): New functions.
  5196. (mips_print_operand): Handle new operand prefix "m".
  5197. * config/mips/mips.md (*cins<mode>): New pattern.
  5198. 2008-09-04 Bernd Schmidt <bernd.schmidt@analog.com>
  5199. * config/bfin/bfin.c (gen_one_bundle): Don't create new nops when
  5200. optimizing for size.
  5201. 2008-09-04 Richard Sandiford <rdsandiford@googlemail.com>
  5202. * df-scan.c (df_get_entry_block_def_set): Add STACK_POINTER_REGNUM
  5203. regardless of epilogue_completed.
  5204. 2008-09-04 Vladimir Makarov <vmakarov@redhat.com>
  5205. PR middle-end/37359
  5206. * ira-lives.c (process_bb_node_lives): Check setjmp.
  5207. 2008-09-04 Richard Sandiford <rdsandiford@googlemail.com>
  5208. PR middle-end/37243
  5209. * ira-build.c (form_loop_tree): Reverse BB walk.
  5210. (create_bb_allocnos): Likewise.
  5211. * ira-lives.c (make_regno_born_and_dead, regs_set): Delete.
  5212. (mark_reg_store): Rename to...
  5213. (mark_ref_live): ...this and take a df_ref argument instead of
  5214. note_stores arguments. Assert that we have a register.
  5215. (mark_reg_clobber): Delete.
  5216. (def_conflicts_with_inputs_p): New function.
  5217. (mark_reg_conflicts): Delete.
  5218. (mark_reg_death): Rename to...
  5219. (mark_ref_dead): ...this and take a df_ref argument instead of
  5220. a register. Assert that we have a register.
  5221. (process_bb_node_lives): Hoist frequency calculation out of
  5222. instruction walk. Convert from a forwards scan to a backwards scan.
  5223. Use DF_REF_USES and DF_REF_DEFS instead of register notes and
  5224. note_stores. Remove EH_RETURN_DATA_REGNO and regs_set handling.
  5225. (create_allocno_live_ranges): Don't create regs_set.
  5226. 2008-09-04 Ian Lance Taylor <iant@google.com>
  5227. * rtl.h (LABEL_REF_NONLOCAL_P): Don't check for REG_LABEL_OPERAND
  5228. or REG_LABEL_TARGET.
  5229. * calls.c (emit_library_call_value_1): Use MEM_P rather than
  5230. comparing MODE with MEM.
  5231. * gimple.c (gimple_build_predict): Cast END_PREDICTORS before
  5232. comparing with GF_PREDICT_TAKEN.
  5233. (gimple_get_lhs): Change code to enum gimple_code.
  5234. (gimple_set_lhs): Likewise.
  5235. * ifcvt.c (noce_process_if_block): Correct GET_MODE to GET_CODE.
  5236. * omp-low.c (find_omp_clause): Change kind parameter to enum
  5237. omp_clause_code.
  5238. * tree-flow.h (find_omp_clause): Update declaration.
  5239. * regrename.c (clear_dead_regs): Change kind parameter to enum
  5240. reg_note.
  5241. * reload1.c (eliminate_regs_1): Use REG_NOTE_KIND rather than
  5242. GET_MODE.
  5243. * see.c (see_get_extension_data): Change return type to enum
  5244. entry_type. Change UNKNOWN to NOT_RELEVANT, SIGN_EXTEND to
  5245. SIGNED_EXTENDED_DEF, ZERO_EXTEND to ZERO_EXTENDED_DEF.
  5246. (see_gen_normalized_extension): Change extension_code parameter to
  5247. enum entry_type.
  5248. (see_seek_pre_extension_expr): Change extension_code to enum
  5249. entry_type.
  5250. (see_merge_one_def_extension): Likewise.
  5251. (see_handle_relevant_defs): Likewise.
  5252. (see_handle_relevant_uses): Likewise.
  5253. (see_analyze_one_def): Likewise.
  5254. * tree-cfg.c (need_fake_edge_p): Compare gimple code with
  5255. GIMPLE_ASM rather than ASM_EXPR.
  5256. * tree-ssa-alias.c (is_escape_site): Compare gimple code with
  5257. GIMPLE_RETURN rather than RETURN_EXPR.
  5258. * tree-ssa-ccp.c (likely_value): Change code to enum gimple_code.
  5259. (evaluate_stmt): Likewise.
  5260. * tree-vect-analyze.c (vect_analyze_operations): Change relevance
  5261. to enum vect_relevant.
  5262. (vect_mark_stmts_to_be_vectorized): Change assertion to not
  5263. compare gimple codes with tree codes.
  5264. 2008-09-04 Paul Brook <paul@codesourcery.com>
  5265. * config/arm/arm.c (arm_size_rtx_costs): Call cost function.
  5266. 2008-09-04 Bernd Schmidt <bernd.schmidt@analog.com>
  5267. * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Restore a null
  5268. pointer check lost in the recent no-unit-at-a-time patch.
  5269. 2008-09-04 Jan Hubicka <jh@suse.cz>
  5270. PR middle-end/37343
  5271. * tree-switch-conversion.c (check_final_bb): Accept only IP
  5272. invariants.
  5273. 2008-09-04 Jan Hubicka <jh@suse.cz>
  5274. * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
  5275. Break out from ...
  5276. (vrp_evaluate_conditional_warnv_with_ops): ... this one. Add
  5277. using_ranges argument.
  5278. (vrp_evaluate_conditional): Avoid bogus warning for type range.
  5279. (vrp_visit_cond_stmt): Update call of
  5280. vrp_evaluate_conditional_warnv_with_ops
  5281. 2008-09-04 Jan Hubicka <jh@suse.cz>
  5282. PR tree-optimization/37345
  5283. PR tree-optimization/37358
  5284. PR tree-optimization/37357
  5285. * tree.c (build_function_type_skip_args): Build distinct type copy;
  5286. set TYPE_CONTEXT.
  5287. (build_function_decl_skip_args): Set type of new decl not orig decl;
  5288. clear DECL_VINDEX for methods turned into functions.
  5289. 2008-09-04 Nick Clifton <nickc@redhat.com>
  5290. * configure.ac (HAVE_GAS_LCOMM_WITH_ALIGNMENT): New assembler check.
  5291. * configure: Regenerate.
  5292. * config.in: Regenerate.
  5293. * config/i386/bsd.h (ASM_OUTPUT_ALIGNED_LOCAL): Use .lcomm with an
  5294. alignment field, if it is supported.
  5295. 2008-09-04 Kai Tietz <kai.tietz@onevision.com>
  5296. * config/i386/t-mingw32 (SHLIB_LC): Change order of import
  5297. libraries.
  5298. 2008-09-03 David Edelsohn <edelsohn@gnu.org>
  5299. * config/rs6000/rs6000.c (processor_target_table): Do not
  5300. enable VMX for POWER6.
  5301. 2008-09-03 Anton Blanchard <anton@samba.org>
  5302. * config/rs6000/rs6000.c (rs6000_split_lock_test_and_set): Do not
  5303. emit memory barrier before operation.
  5304. 2008-09-03 John David Anglin <dave.anglin@nrc.cnrc.gc.ca>
  5305. PR testsuite/37325
  5306. * config/pa/pa64-hpux.h (ASM_OUTPUT_EXTERNAL_REAL): Call
  5307. default_elf_asm_output_external.
  5308. 2008-09-03 Jeff Law <law@redhat.com>
  5309. * h8300.c (expand_a_shift): Avoid invalid RTL sharing.
  5310. 2008-09-03 Richard Henderson <rth@redhat.com>
  5311. * config/alpha/alpha.c (alpha_split_lock_test_and_set): Move
  5312. memory barrier to below the test-and-set.
  5313. (alpha_split_lock_test_and_set_12): Likewise.
  5314. 2008-09-03 Vladimir Makarov <vmakarov@redhat.com>
  5315. PR rtl-opt/37243
  5316. * ira-int.h (ira_loop_tree_node): Rename mentioned_allocnos to
  5317. all_allocnos.
  5318. * ira-color.c (print_loop_title): Use all_allocnos.
  5319. (color_pass): Ditto. Don't add border_allocnos. Check that
  5320. subloop allocno in the correspdoning bitmap all_allocnos.
  5321. * ira-emit.c (change_loop): Use all_allocnos.
  5322. * ira-build.c (create_loop_tree_nodes, finish_loop_tree_node): Ditto.
  5323. (ira_create_allocno): Set up all_allocnos bit for the created allocno.
  5324. (create_cap_allocno): Remove setting mentioned_allocnos.
  5325. (create_insn_allocnos): Ditto.
  5326. (remove_unnecessary_allocnos): Use all_allocnos.
  5327. (check_allocno_creation): Check that allocnos are in the
  5328. corresponding bitmap all_allocnos.
  5329. 2008-09-03 Vladimir Makarov <vmakarov@redhat.com>
  5330. PR rtl-opt/37243
  5331. * ira-conflicts.c (REG_SUBREG_P, go_through_subreg): New.
  5332. (process_regs_for_copy): Process subregs. Refine check when cost
  5333. is taken into account in ira-costs.c.
  5334. (process_reg_shuffles): Use REG_SUBREG_P.
  5335. (add_insn_allocno_copies): Ditto. Ignore modes.
  5336. * ira-color.c (conflict_allocno_vec): New.
  5337. (COST_HOP_DIVISOR): New macro.
  5338. (update_copy_costs_1): Use it.
  5339. (update_conflict_hard_regno_costs): New function.
  5340. (assign_hard_reg): Use it.
  5341. (ira_color): Allocate and free conflict_allocno_vec.
  5342. 2008-09-03 Vladimir Makarov <vmakarov@redhat.com>
  5343. PR rtl-opt/37296
  5344. * ira-int.h (ira_sort_insn_chain): Remove.
  5345. * ira.c (basic_block_order_nums, chain_insn_order,
  5346. chain_freq_compare, chain_bb_compare, ira_sort_insn_chain): Remove.
  5347. (ira): Don't call ira_sort_insn_chain.
  5348. * reload1.c (reload): Don't call ira_sort_insn_chain.
  5349. 2008-09-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
  5350. PR middle-end/37293
  5351. * cgraphunit.c (update_call_expr): Remove eh regions from statements
  5352. which become non throw.
  5353. (cgraph_function_versioning): Also clear DECL_WEAK. Call
  5354. update_call_expr after updating the flags on the decl.
  5355. 2008-09-03 Jan Hubicka <jh@suse.cz>
  5356. PR tree-optimization/37315
  5357. * cgraph.c (cgraph_create_edge): Use gimple_has_body_p.
  5358. * cgraphunit.c (verify_cgraph_node): drop gimple_body check.
  5359. (cgraph_analyze_functions): Use node->analyzed
  5360. (cgraph_mark_functions_to_output): Likewise.
  5361. (cgraph_expand_function): All functions can be released after
  5362. expanding.
  5363. (cgraph_optimize): Use gimple_has_body_p.
  5364. * ipa-inline.c (cgraph_clone_inlined_nodes): Use analyzed flag.
  5365. (cgraph_decide_inlining_incrementally): Likewise.
  5366. (inline_transform): Inline transform.
  5367. * tree-inline.c (initialize_cfun): Do now shallow copy structure;
  5368. copy fields needed.
  5369. (inlinable_function_p): Drop gimple_body check.
  5370. (expand_call_inline): Use gimple_has_body_p.
  5371. * gimple.c (gimple_has_body_p): New.
  5372. * gimple.h (gimple_has_body_p): Add prototype.
  5373. * tree-cfg.c (execute_build_cfg): Remove gimple_body.
  5374. (dump_function_to_file): Use gimple_has_body_p check.
  5375. 2008-09-03 Jakub Jelinek <jakub@redhat.com>
  5376. PR c++/37346
  5377. * gimple.h (gimple_has_substatements): GIMPLE_OMP_CRITICAL has
  5378. substatements.
  5379. * tree-inline.c (remap_gimple_stmt): Handle GIMPLE_OMP_CRITICAL.
  5380. 2008-09-03 Bernd Schmidt <bernd.schmidt@analog.com>
  5381. From Michael Frysinger <michael.frysinger@analog.com>
  5382. * config/bfin/bfin.c (bfin_cpus[]): Add 0.1 for bf522, bf523, bf524,
  5383. bf525, bf526, bf527, bf542, bf544, bf547, bf548, and bf549. Add 0.2
  5384. for bf538.
  5385. 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
  5386. Add picoChip port.
  5387. * doc/extend.texi: Document picoChip builtin functions.
  5388. * doc/invoke.texi: Document picoChip options.
  5389. * doc/contrib.texi: Add picoChip contribution.
  5390. * doc/md.texi: Document picoChip constraints.
  5391. * config.gcc: Add picochip-*-*.
  5392. * config/picochip/: Add new port.
  5393. 2008-09-03 Richard Guenther <rguenther@suse.de>
  5394. PR tree-optimization/37328
  5395. * tree-sra.c (sra_build_assignment): Gimplify properly.
  5396. (generate_copy_inout): Take the correct stmt as definition,
  5397. remove bogus assert.
  5398. 2008-09-03 Bernd Schmidt <bernd.schmidt@analog.com>
  5399. * config/bfin/bfin.c (bfin_expand_prologue): Honour no_stack_limit
  5400. attributes.
  5401. From Michael Frysinger <michael.frysinger@analog.com>
  5402. * config/bfin/bfin.c (bfin_handle_option): Remove BF561 warning.
  5403. 2008-09-03 Danny Smith <dannysmith@usrs.sourceforge.net>
  5404. * gthr-win32.h (CONST_CAST2): Really make sure CONST_CAST2 is defined.
  5405. (__gthread_setspecific): Revert 2008-08-31 change to
  5406. __GTHREAD_HIDE_W32API case. Apply it to !__GTHREAD_HIDE_W32API case.
  5407. 2008-09-02 Aldy Hernandez <aldyh@redhat.com>
  5408. * diagnostic.c (error_at): New.
  5409. * toplev.h (error_at): New prototype.
  5410. * c-typeck.c (build_array_ref): Call error_at instead of error.
  5411. Pass location to pedwarn.
  5412. 2008-09-02 Adam Nemet <anemet@caviumnetworks.com>
  5413. * sel-sched.c (sel_hard_regno_rename_ok): Mark arguments unused.
  5414. 2008-09-02 Jakub Jelinek <jakub@redhat.com>
  5415. * dwarf2out.c (tree_add_const_value_attribute): Only handle
  5416. VAR_DECL and CONST_DECL.
  5417. 2008-09-02 H.J. Lu <hongjiu.lu@intel.com>
  5418. Jakub Jelinek <jakub@redhat.com>
  5419. * config/i386/i386.c (X86_64_VARARGS_SIZE): Removed.
  5420. (setup_incoming_varargs_64): Assume cum != NULL. Set/check
  5421. ix86_varargs_gpr_size and ix86_varargs_fpr_size. Use
  5422. ix86_varargs_gpr_size instead of X86_64_REGPARM_MAX.
  5423. Don't set ix86_save_varrargs_registers.
  5424. (ix86_setup_incoming_varargs): Assume cum != NULL.
  5425. (ix86_va_start): Check ix86_varargs_gpr_size and
  5426. ix86_varargs_fpr_size instead of cfun->va_list_gpr_size and
  5427. cfun->va_list_fpr_size, respectively. Subtract 8*X86_64_REGPARM_MAX
  5428. from frame pointer if ix86_varargs_gpr_size == 0.
  5429. (ix86_compute_frame_layout): Updated.
  5430. * config/i386/i386.h (ix86_save_varrargs_registers): Removed.
  5431. (ix86_varargs_gpr_size): Define.
  5432. (ix86_varargs_fpr_size): Likewise.
  5433. (machine_function): Remove save_varrargs_registers.
  5434. Add varargs_gpr_size and varargs_fpr_size.
  5435. 2008-09-02 Jakub Jelinek <jakub@redhat.com>
  5436. * config/alpha/alpha.c (va_list_skip_additions,
  5437. alpha_stdarg_optimize_hook, alpha_gimplify_va_arg_1): Tuplify.
  5438. (alpha_gimplify_va_arg): Call unshare_expr on second use of
  5439. offset_field.
  5440. PR tree-optimization/36766
  5441. * tree-cfg.c (gimple_purge_all_dead_eh_edges): Do nothing
  5442. for already removed basic blocks.
  5443. PR target/36332
  5444. * real.c (real_maxval): Clear a lower bit to make real_maxval
  5445. match get_max_float for IBM long double format.
  5446. 2008-09-02 Andreas Schwab <schwab@suse.de>
  5447. * configure.ac: Use m4_quote to quote the expansion of m4_do.
  5448. * configure: Regenerate.
  5449. 2008-09-02 Richard Sandiford <rdsandiford@googlemail.com>
  5450. * simplify-rtx.c (simplify_binary_operation_1): Check for CONST,
  5451. SYMBOL_REF and LABEL_REF when applying plus_constant, instead of
  5452. checking for a non-VOID CONSTANT_P.
  5453. 2008-09-02 Jan Hubicka <jh@suse.cz>
  5454. * predict.c (pass_strip_predict_hints): Avoid bugs dump file.
  5455. * expmed.c (expand_divmod): Fix test of smod_pow2_cheap and
  5456. sdiv_pow2_cheap
  5457. 2008-09-02 H.J. Lu <hongjiu.lu@intel.com>
  5458. * expr.c (emit_group_store): Don't assert stack temp mode size.
  5459. 2008-09-02 Sebastian Pop <sebastian.pop@amd.com>
  5460. Tobias Grosser <grosser@fim.uni-passau.de>
  5461. Jan Sjodin <jan.sjodin@amd.com>
  5462. Harsha Jagasia <harsha.jagasia@amd.com>
  5463. Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
  5464. Konrad Trifunovic <konrad.trifunovic@inria.fr>
  5465. Adrien Eliche <aeliche@isty.uvsq.fr>
  5466. Merge from graphite branch.
  5467. * graphite.c: New.
  5468. * graphite.h: New.
  5469. * tree-loop-linear.c (perfect_loop_nest_depth): Export.
  5470. * doc/invoke.texi (-floop-block, -floop-interchange,
  5471. -floop-strip-mine): Document new flags.
  5472. * tree-into-ssa.c (gimple_vec): Moved...
  5473. * tree-loop-distribution.c (rdg_component): Moved...
  5474. * cfgloopmanip.c: Include tree-flow.h.
  5475. (update_dominators_in_loop): New.
  5476. (create_empty_if_region_on_edge): New.
  5477. (create_empty_loop_on_edge): New.
  5478. (loopify): Use update_dominators_in_loop.
  5479. * tree-pass.h (pass_graphite_transforms): Declared.
  5480. * configure: Regenerate.
  5481. * tree-phinodes.c (make_phi_node): Export.
  5482. (add_phi_node_to_bb): New, split from create_phi_node.
  5483. * tree-chrec.c (for_each_scev_op): New.
  5484. * tree-chrec.h (for_each_scev_op): Declared.
  5485. * tree-ssa-loop-ivopts.c (get_phi_with_result): New.
  5486. (remove_statement): Call get_phi_with_result.
  5487. * config.in (HAVE_cloog): Undef.
  5488. * gdbinit.in (pgg): New.
  5489. * timevar.def (TV_GRAPHITE_TRANSFORMS): New.
  5490. * tree-ssa-loop.c (graphite_transforms): New.
  5491. (gate_graphite_transforms): New.
  5492. (pass_graphite_transforms): New.
  5493. * configure.ac (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC,
  5494. HAVE_cloog): Defined.
  5495. * tree-vectorizer.c (rename_variables_in_bb): Export.
  5496. * tree-data-ref.c (dr_may_alias_p): Export.
  5497. (stmt_simple_memref_p): New.
  5498. (find_data_references_in_stmt): Export.
  5499. (find_data_references_in_loop): Export.
  5500. (create_rdg_edge_for_ddr): Initialize RDGE_RELATION.
  5501. (create_rdg_edges_for_scalar): Initialize RDGE_RELATION.
  5502. (create_rdg_vertices): Export.
  5503. (build_empty_rdg): New.
  5504. (build_rdg): Call build_empty_rdg. Free dependence_relations.
  5505. * tree-data-ref.h (rdg_component): ... here.
  5506. (scop_p): New.
  5507. (struct data_reference): Add a field scop.
  5508. (DR_SCOP): New.
  5509. (find_data_references_in_loop): Declared.
  5510. (find_data_references_in_stmt): Declared.
  5511. (create_rdg_vertices): Declared.
  5512. (dr_may_alias_p): Declared.
  5513. (stmt_simple_memref_p): Declared.
  5514. (struct rdg_edge): Add a field ddr_p relation.
  5515. (build_empty_rdg): Declared.
  5516. * lambda.h (lambda_matrix): Declare a VEC of.
  5517. (find_induction_var_from_exit_cond): Declared.
  5518. (lambda_vector_compare): New.
  5519. * common.opt (fgraphite, floop-strip-mine,
  5520. floop-interchange, floop-block): New flags.
  5521. * lambda-code.c (find_induction_var_from_exit_cond): Export.
  5522. * cfgloop.c (is_loop_exit): New.
  5523. * cfgloop.h (is_loop_exit): Declared.
  5524. (create_empty_if_region_on_edge): Declared.
  5525. (create_empty_loop_on_edge): Declared.
  5526. * tree-flow.h (add_phi_node_to_bb): Declared.
  5527. (make_phi_node): Declared.
  5528. (rename_variables_in_bb): Declared.
  5529. (perfect_loop_nest_depth): Declared.
  5530. (graphite_transform_loops): Declared.
  5531. * Makefile.in (cfgloopmanip.o): Depend on TREE_FLOW_H.
  5532. (graphite.o-warn): Add -Wno-error.
  5533. (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): Declared.
  5534. (LIBS): Add GMPLIBS, CLOOGLIBS, PPLLIBS.
  5535. (INCLUDES): Add PPLINC, CLOOGINC.
  5536. (OBJS-common): Add graphite.o.
  5537. (graphite.o): Add rule.
  5538. * gimple.h (gimple_vec): ... here.
  5539. * tree-cfg.c (print_loops): Start printing at ENTRY_BLOCK_PTR.
  5540. * passes.c (init_optimization_passes): Schedule
  5541. pass_graphite_transforms.
  5542. 2008-09-02 Samuel Tardieu <sam@rfc1149.net>
  5543. PR target/37283
  5544. * opts.c (decode_options): Move processing of -fno-unit-at-a-time
  5545. and -fno-toplevel-reorder after handle_options.
  5546. 2008-09-02 Paul Brook <paul@codesourcery.com>
  5547. * config/arm/arm.c (arm_tune_cortex_a9): Define.
  5548. (arm_override_options): Set arm_tune_cortex_a9.
  5549. (arm_rtx_costs_1): Make register shifts more expensive on Cortex-A9.
  5550. (arm_issue_rate): Handle cortexa9.
  5551. * config/arm/arm.h (arm_tune_cortex_a9): Declare.
  5552. * config/arm/arm-cores.def: Add cortex-a9.
  5553. * config/arm/arm-tune.md: Regenerate.
  5554. * config/arm/arm.md: Include cortex-a9.md.
  5555. (generic_sched, generic_vfp): Add cortexa9.
  5556. * config/arm/cortex-a9.md: New file.
  5557. 2008-09-02 Richard Guenther <rguenther@suse.de>
  5558. PR tree-optimization/37327
  5559. * tree-vrp.c (register_new_assert_for): Make sure to not have
  5560. TREE_OVERFLOW set on the bound.
  5561. 2008-09-02 Alexander Monakov <amonakov@ispras.ru>
  5562. Fixed typo in date of the 2008-09-01 MOVE_RATIO commit.
  5563. * config/ia64/ia64.opt (msched-ar-data-spec): Default to 1.
  5564. * config/ia64/ia64.c (ia64_set_sched_flags): Always initialize
  5565. spec_info->mask.
  5566. 2008-09-02 Victor Kaplansky <victork@il.ibm.com>
  5567. * gcc/config/spu/spu.md (divdf3): Removed.
  5568. 2008-09-02 Jakub Jelinek <jakub@redhat.com>
  5569. PR tree-optimization/37095
  5570. * cgraph.c (cgraph_node): When creating new cgraph node after
  5571. assembler_name_hash has been populated, record it in the hash
  5572. table.
  5573. 2008-09-01 Paul Brook <paul@codesourcery.com>
  5574. * doc/invoke.texi: Document -mword-relocations.
  5575. * config/arm/uclinux-elf.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
  5576. * config/arm/symbian.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
  5577. * config/arm/vxworks.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
  5578. * config/arm/arm.c (arm_split_constant): Use arm_emit_movpair.
  5579. (arm_rtx_costs_1, arm_size_rtx_costs): Handle HIGH and LO_SUM.
  5580. (arm_emit_movpair): New function.
  5581. (arm_print_operand <c>): Handle sybolic addresses.
  5582. * config/arm/arm.h (TARGET_USE_MOVT): Define.
  5583. (TARGET_DEFAULT_WORD_RELOCATIONS): Define.
  5584. * config/arm/arm-protos.h (arm_emit_movpair): Add prototype.
  5585. * config/arm/arm.opt: Add -mword-relocations.
  5586. * config/arm/arm.md (movsi): Use arm_emit_movpair.
  5587. (arm_movt, arm_movw): New.
  5588. 2008-09-01 Paul Brook <paul@codesourcery.com>
  5589. * config/arm/arm.c (arm_override_options): Set arm_abi earlier.
  5590. Allow Interworking on ARMv4 EABI based targets.
  5591. * config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Define.
  5592. (SUBTARGET_EXTRA_ASM_SPEC, LINK_SPEC): Add TARGET_FIX_V4BX_SPEC.
  5593. 2008-09-01 Paul Brook <paul@codesourcery.com>
  5594. * config/arm/thumb2.md (thumb2_negscc): Match the correct operand for
  5595. optimized LT0 test. Remove optimization for GT.
  5596. 2008-09-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  5597. * pa64-hpux.h (LIB_SPEC): Link against librt when building static
  5598. openmp applications.
  5599. * pa-hpux11.h (LIB_SPEC): Likewise.
  5600. * ira.c (setup_eliminable_regset): Only declare i if ELIMINABLE_REGS
  5601. is defined.
  5602. 2008-09-01 Jan Hubicka <jh@suse.cz>
  5603. * predict.c (maybe_hot_count_p, maybe_hot_edge_p): When profile is
  5604. present, use only counts; when guessed use only frequencies.
  5605. (estimate_bb_frequencies): Use function_frequency.
  5606. * profile.c (compute_branch_probabilities): Exit early when
  5607. profile reading failed. Set profile_status.
  5608. (branch_prob): Do not set profile_status.
  5609. 2008-09-01 Aldy Hernandez <aldyh@redhat.com>
  5610. * tree.c (protected_set_expr_location): New.
  5611. * tree.h (protected_set_expr_location): New prototype.
  5612. * c-tree.h (build_array_ref): Add argument.
  5613. (parser_build_unary_op): Same.
  5614. * c-typeck.c (build_indirect_ref): Handle new location argument.
  5615. (build_array_ref): Same.
  5616. (parser_build_unary_op): Same.
  5617. * gimplify.c (gimplify_asm_expr): Set input_location before calling
  5618. error.
  5619. * c-omp.c (c_finish_omp_atomic): Pass location when calling
  5620. build_indirect_ref.
  5621. * c-common.c (finish_label_address_expr): Handle new location argument.
  5622. * c-common.h (build_indirect_ref): Add argument.
  5623. (finish_label_address_expr): Same.
  5624. * c-parser.c (c_parser_unary_expression): Pass location to build
  5625. functions.
  5626. (c_parser_postfix_expression): Same.
  5627. 2008-09-01 Paul Brook <paul@codesourcery.com>
  5628. * config/arm/arm.md: Include cortex-r4f.md.
  5629. (attr fpu): Update type list.
  5630. (attr type): Add fcpys, ffariths, ffarithd, fadds, faddd, fconsts,
  5631. fconstd, fcmps and fcmpd.
  5632. (attr tune_cortexr4): Define.
  5633. (attr generic_sched, attr generic_vfp): Use tune_cortexr4.
  5634. * config/arm/vfp.md: Document fcpys, ffariths, ffarithd, fadds, faddd,
  5635. fconsts, fconstd, fcmps and fcmpd. Use them in insn patterns.
  5636. * config/arm/arm.c (arm_issue_rate): Add cortexr4f.
  5637. * config/arm/arm1020e.md (v10_ffarith, v10_farith): Use new insn types.
  5638. * config/arm/cortex-a8-neon.md (cortex_a8_vfp_add_sub,
  5639. cortex_a8_vfp_farith: Ditto.
  5640. * config/arm/vfp11.md (vfp_ffarith, vfp_farith): Ditto.
  5641. * config/arm/cortex-r4.md: Use tune_cortexr4.
  5642. * config/arm/cortex-r4f.md: New file.
  5643. 2008-09-01 Richard Guenther <rguenther@suse.de>
  5644. PR tree-optimization/37305
  5645. * tree-ssa-ccp.c (ccp_fold): Do not set TREE_OVERFLOW on
  5646. the result of constant conversions.
  5647. (fold_gimple_assign): Likewise.
  5648. 2008-09-01 Andrey Belevantsev <abel@ispras.ru>
  5649. * sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
  5650. #ifdef ENABLE_CHECKING.
  5651. 2008-09-01 Andrey Belevantsev <abel@ispras.ru>
  5652. * sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.
  5653. * sched-int.h (print_insn, print_pattern, print_value): Declare also
  5654. when !INSN_SCHEDULING.
  5655. 2008-09-01 Andreas Schwab <schwab@suse.de>
  5656. * config/ia64/ia64.c (TARGET_ADDRESS_COST): Update.
  5657. 2008-09-01 Paul Brook <paul@codesourcery.com>
  5658. * config/arm/arm.c (arm_no_early_mul_dep): Handle multiply-subtract.
  5659. 2008-09-01 Jan Hubicka <jh@suse.cz>
  5660. * config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO.
  5661. * expr.c (MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P, SET_BY_PIECES_P):
  5662. Pass speed operand.
  5663. * expr.h (MOVE_RATIO, CLEAR_RATIO, SET_RATIO): Update.
  5664. * gimplify.c (gimplify_init_constructor): Add speed operand.
  5665. * tree-sra.c (decide_block_copy): Likewise.
  5666. * tree-inline.c (estimate_move_cost): Likewise.
  5667. * config/alpha/alpha.h (MOVE_RATIO): Update.
  5668. * config/frv/frv.c (MOVE_RATIO): Update.
  5669. * config/spu/spu.h (MOVE_RATIO): Update.
  5670. * config/sparc/sparc.h (MOVE_RATIO): Update.
  5671. * config/i386/i386.h (MOVE_RATIO, CLEAR_RATIO): Update.
  5672. * config/m68hc11/m68hc11.h (MOVE_RATIO): Update.
  5673. * config/cris/cris.h (MOVE_RATIO): Update.
  5674. * config/mn10300/mn10300.h (MOVE_RATIO): Update.
  5675. * config/arm/arm.h (MOVE_RATIO): Update.
  5676. * config/pa/pa.md: Update uses of MOVE_RATIO
  5677. * config/pa/pa.h (MOVE_RATIO): Update.
  5678. * config/mips/mips.h (MOVE_RATIO, MOVE_BY_PIECES,
  5679. CLEAR_RATIO, SET_RATIO): Update.
  5680. * config/h8300/h8300.h (MOVE_RATIO): Update.
  5681. * config/v850/v850.h (MOVE_RATIO): Update.
  5682. * config/bfin/bfin.h (MOVE_RATIO): Update.
  5683. 2008-08-31 Andrey Belevantsev <abel@ispras.ru>
  5684. Dmitry Melnik <dm@ispras.ru>
  5685. Dmitry Zhurikhin <zhur@ispras.ru>
  5686. Alexander Monakov <amonakov@ispras.ru>
  5687. Maxim Kuvyrkov <maxim@codesourcery.com>
  5688. * sel-sched.h, sel-sched-dump.h, sel-sched-ir.h, sel-sched.c,
  5689. sel-sched-dump.c, sel-sched-ir.c: New files.
  5690. * Makefile.in (OBJS-common): Add selective scheduling object files.
  5691. (sel-sched.o, sel-sched-dump.o, sel-sched-ir.o): New entries.
  5692. (SEL_SCHED_IR_H, SEL_SCHED_DUMP_H): New entries.
  5693. (sched-vis.o): Add dependency on $(INSN_ATTR_H).
  5694. * cfghooks.h (get_cfg_hooks, set_cfg_hooks): New prototypes.
  5695. * cfghooks.c (get_cfg_hooks, set_cfg_hooks): New functions.
  5696. (make_forwarder_block): Update loop latch if we have redirected
  5697. the loop latch edge.
  5698. * cfgloop.c (get_loop_body_in_custom_order): New function.
  5699. * cfgloop.h (LOOPS_HAVE_FALLTHRU_PREHEADERS): New enum field.
  5700. (CP_FALLTHRU_PREHEADERS): Likewise.
  5701. (get_loop_body_in_custom_order): Declare.
  5702. * cfgloopmanip.c (has_preds_from_loop): New.
  5703. (create_preheader): Honor CP_FALLTHRU_PREHEADERS.
  5704. Assert that the preheader edge will be fall thru when it is set.
  5705. * common.opt (fsel-sched-bookkeeping, fsel-sched-pipelining,
  5706. fsel-sched-pipelining-outer-loops, fsel-sched-renaming,
  5707. fsel-sched-substitution, fselective-scheduling): New flags.
  5708. * cse.c (hash_rtx_cb): New.
  5709. (hash_rtx): Use it.
  5710. * dbgcnt.def (sel_sched_cnt, sel_sched_region_cnt,
  5711. sel_sched_insn_cnt): New counters.
  5712. * final.c (compute_alignments): Export. Free dominance
  5713. info after loop_optimizer_finalize.
  5714. * genattr.c (main): Output maximal_insn_latency prototype.
  5715. * genautomata.c (output_default_latencies): New.
  5716. Factor its code from ...
  5717. (output_internal_insn_latency_func): ... here.
  5718. (output_internal_maximal_insn_latency_func): New.
  5719. (output_maximal_insn_latency_func): New.
  5720. * hard-reg-set.h (UHOST_BITS_PER_WIDE_INT): Define unconditionally.
  5721. (struct hard_reg_set_iterator): New.
  5722. (hard_reg_set_iter_init, hard_reg_set_iter_set,
  5723. hard_reg_set_iter_next): New functions.
  5724. (EXECUTE_IF_SET_IN_HARD_REG_SET): New macro.
  5725. * lists.c (remove_free_INSN_LIST_node,
  5726. remove_free_EXPR_LIST_node): New functions.
  5727. * loop-init.c (loop_optimizer_init): When
  5728. LOOPS_HAVE_FALLTHRU_PREHEADERS, set CP_FALLTHRU_PREHEADERS when
  5729. calling create_preheaders.
  5730. (loop_optimizer_finalize): Do not verify flow info after reload.
  5731. * recog.c (validate_replace_rtx_1): New parameter simplify.
  5732. Default it to true. Update all uses. Factor out simplifying
  5733. code to ...
  5734. (simplify_while_replacing): ... this new function.
  5735. (validate_replace_rtx_part,
  5736. validate_replace_rtx_part_nosimplify): New.
  5737. * recog.h (validate_replace_rtx_part,
  5738. validate_replace_rtx_part_nosimplify): Declare.
  5739. * rtl.c (rtx_equal_p_cb): New.
  5740. (rtx_equal_p): Use it.
  5741. * rtl.h (rtx_equal_p_cb, hash_rtx_cb): Declare.
  5742. (remove_free_INSN_LIST_NODE, remove_free_EXPR_LIST_node,
  5743. debug_bb_n_slim, debug_bb_slim, print_rtl_slim): Likewise.
  5744. * vecprim.h: Add a vector type for unsigned int.
  5745. * haifa-sched.c: Include vecprim.h and cfgloop.h.
  5746. (issue_rate, sched_verbose_param, note_list, dfa_state_size,
  5747. ready_try, cycle_issued_insns, spec_info): Make global.
  5748. (readyp): Initialize.
  5749. (dfa_lookahead): New global variable.
  5750. (old_max_uid, old_last_basic_block): Remove.
  5751. (h_i_d): Make it a vector.
  5752. (INSN_TICK, INTER_TICK, QUEUE_INDEX, INSN_COST): Make them work
  5753. through HID macro.
  5754. (after_recovery, adding_bb_to_current_region_p):
  5755. New variables to handle correct insertion of the recovery code.
  5756. (struct ready_list): Move declaration to sched-int.h.
  5757. (rgn_n_insns): Removed.
  5758. (rtx_vec_t): Move to sched-int.h.
  5759. (find_insn_reg_weight): Remove.
  5760. (find_insn_reg_weight1): Rename to find_insn_reg_weight.
  5761. (haifa_init_h_i_d, haifa_finish_h_i_d):
  5762. New functions to initialize / finalize haifa instruction data.
  5763. (extend_h_i_d, init_h_i_d): Rewrite.
  5764. (unlink_other_notes): Move logic to add_to_note_list. Handle
  5765. selective scheduler.
  5766. (ready_lastpos, ready_element, ready_sort, reemit_notes,
  5767. find_fallthru_edge): Make global, remove static prototypes.
  5768. (max_issue): Make global. Add privileged_n and state parameters. Use
  5769. them.
  5770. (extend_global, extend_all): Removed.
  5771. (init_before_recovery): Add new param. Fix the handling of the case
  5772. when we insert a recovery code before the EXIT which has a predecessor
  5773. with a fallthrough edge to it.
  5774. (create_recovery_block): Make global. Rename to
  5775. sched_create_recovery_block. Update.
  5776. (change_pattern): Rename to sched_change_pattern. Make global.
  5777. (speculate_insn): Rename to sched_speculate_insn. Make global.
  5778. Split haifa-specific functionality into ...
  5779. (haifa_change_pattern): New static function.
  5780. (sched_extend_bb): New static function.
  5781. (sched_init_bbs): New function.
  5782. (current_sched_info): Change type to struct haifa_sched_info.
  5783. (insn_cost): Adjust for selective scheduling.
  5784. (dep_cost_1): New function. Move logic from ...
  5785. (dep_cost): ... here.
  5786. (dep_cost): Use dep_cost_1.
  5787. (contributes_to_priority_p): Use sched_deps_info instead of
  5788. current_sched_info.
  5789. (priority): Adjust to work with selective scheduling. Process the
  5790. corner case when all dependencies don't contribute to priority.
  5791. (rank_for_schedule): Use ds_weak instead of dep_weak.
  5792. (advance_state): New function. Move logic from ...
  5793. (advance_one_cycle): ... here.
  5794. (add_to_note_list, concat_note_lists): New functions.
  5795. (rm_other_notes): Make static. Adjust for selective scheduling.
  5796. (remove_notes, restore_other_notes): New functions.
  5797. (move_insn): Add two arguments. Update assert. Don't call
  5798. reemit_notes.
  5799. (choose_ready): Remove lookahead variable, use dfa_lookahead.
  5800. Remove more_issue, max_points. Move the code to initialize
  5801. max_lookahead_tries to max_issue.
  5802. (schedule_block): Remove rgn_n_insns1 parameter. Don't allocate
  5803. ready. Adjust use of move_insn. Call restore_other_notes.
  5804. (luid): Remove.
  5805. (sched_init, sched_finish): Move Haifa-specific initialization/
  5806. finalization to ...
  5807. (haifa_sched_init, haifa_sched_finish): ... respectively.
  5808. New functions.
  5809. (setup_sched_dump): New function.
  5810. (haifa_init_only_bb): New static function.
  5811. (haifa_speculate_insn): New static function.
  5812. (try_ready): Use haifa_* instead of speculate_insn and change_pattern.
  5813. (extend_ready, extend_all): Remove.
  5814. (sched_extend_ready_list, sched_finish_ready_list): New functions.
  5815. (create_check_block_twin, add_to_speculative_block): Use
  5816. haifa_insns_init instead of extend_global. Update to use new
  5817. initialization functions. Change parameter. Factor out code from
  5818. create_check_block_twin to ...
  5819. (sched_create_recovery_edges) ... this new function.
  5820. (add_block): Remove.
  5821. (sched_scan_info): New.
  5822. (extend_bb): Use sched_scan_info.
  5823. (init_bb, extend_insn, init_insn, init_insns_in_bb, sched_scan): New
  5824. static functions for walking through scheduling region.
  5825. (sched_luids): New vector variable to replace uid_to_luid.
  5826. (luids_extend_insn): New function.
  5827. (sched_max_luid): New variable.
  5828. (luids_init_insn): New function.
  5829. (sched_init_luids, sched_finish_luids): New functions.
  5830. (insn_luid): New debug function.
  5831. (sched_extend_target): New function.
  5832. (haifa_init_insn): New static function.
  5833. (sched_init_only_bb): New hook.
  5834. (sched_split_block): New hook.
  5835. (sched_split_block_1): New function.
  5836. (sched_create_empty_bb): New hook.
  5837. (sched_create_empty_bb_1): New function.
  5838. (common_sched_info, ready): New global variables.
  5839. (current_sched_info_var): Remove.
  5840. (move_block_after_check): Use common_sched_info.
  5841. (haifa_luid_for_non_insn): New static function.
  5842. (init_before_recovery): Use haifa_init_only_bb instead of add_block.
  5843. (increase_insn_priority): New.
  5844. * modulo-sched.c (issue_rate): Remove static declaration.
  5845. (sms_sched_info): Change type to haifa_sched_info.
  5846. (sms_sched_deps_info, sms_common_sched_info): New variables.
  5847. (setup_sched_infos): New.
  5848. (sms_schedule): Initialize them. Call haifa_sched_init/finish.
  5849. Do not call regstat_free_calls_crossed.
  5850. (sms_print_insn): Use const_rtx.
  5851. * params.def (PARAM_MAX_PIPELINE_REGION_BLOCKS,
  5852. PARAM_MAX_PIPELINE_REGION_INSNS, PARAM_SELSCHED_MAX_LOOKAHEAD,
  5853. PARAM_SELSCHED_MAX_SCHED_TIMES, PARAM_SELSCHED_INSNS_TO_RENAME,
  5854. PARAM_SCHED_MEM_TRUE_DEP_COST): New.
  5855. * sched-deps.c (sched_deps_info): New. Update all relevant uses of
  5856. current_sched_info to use it.
  5857. (enum reg_pending_barrier_mode): Move to sched-int.h.
  5858. (h_d_i_d): New variable. Initialize to NULL.
  5859. ({true, output, anti, spec, forward}_dependency_cache): Initialize
  5860. to NULL.
  5861. (estimate_dep_weak): Remove static declaration.
  5862. (sched_has_condition_p): New function. Adjust users of
  5863. sched_get_condition to use it instead.
  5864. (conditions_mutex_p): Add arguments indicating which conditions are
  5865. reversed. Use them.
  5866. (sched_get_condition_with_rev): Rename from sched_get_condition. Add
  5867. argument to indicate whether returned condition is reversed. Do not
  5868. generate new rtx when condition should be reversed; indicate it by
  5869. setting new argument instead.
  5870. (add_dependence_list_and_free): Add deps parameter.
  5871. Update all users. Do not free dependence list when
  5872. deps context is readonly.
  5873. (add_insn_mem_dependence, flush_pending_lists): Adjust for readonly
  5874. contexts.
  5875. (remove_from_dependence_list, remove_from_both_dependence_lists): New.
  5876. (remove_from_deps): New. Use the above functions.
  5877. (cur_insn, can_start_lhs_rhs_p): New static variables.
  5878. (add_or_update_back_dep_1): Initialize present_dep_type.
  5879. (haifa_start_insn, haifa_finish_insn, haifa_note_reg_set,
  5880. haifa_note_reg_clobber, haifa_note_reg_use, haifa_note_mem_dep,
  5881. haifa_note_dep): New functions implementing dependence hooks for
  5882. the Haifa scheduler.
  5883. (note_reg_use, note_reg_set, note_reg_clobber, note_mem_dep,
  5884. note_dep): New functions.
  5885. (ds_to_dt, extend_deps_reg_info, maybe_extend_reg_info_p): New
  5886. functions.
  5887. (init_deps): Initialize last_reg_pending_barrier and deps->readonly.
  5888. (free_deps): Initialize deps->reg_last.
  5889. (sched_analyze_reg, sched_analyze_1, sched_analyze_2,
  5890. sched_analyze_insn): Update to use dependency hooks infrastructure
  5891. and readonly contexts.
  5892. (deps_analyze_insn): New function. Move part of logic from ...
  5893. (sched_analyze): ... here. Also move some logic to ...
  5894. (deps_start_bb): ... here. New function.
  5895. (add_forw_dep, delete_forw_dep): Guard use of INSN_DEP_COUNT with
  5896. sel_sched_p.
  5897. (sched_deps_init): New function. Move code from ...
  5898. (init_dependency_caches): ... here. Remove.
  5899. (init_deps_data_vector): New.
  5900. (sched_deps_finish): New function. Move code from ...
  5901. (free_dependency_caches): ... here. Remove.
  5902. (init_deps_global, finish_deps_global): Adjust for use with
  5903. selective scheduling.
  5904. (get_dep_weak): Move logic to ...
  5905. (get_dep_weak_1): New function.
  5906. (ds_merge): Move logic to ...
  5907. (ds_merge_1): New static function.
  5908. (ds_full_merge, ds_max_merge, ds_get_speculation_types): New functions.
  5909. (ds_get_max_dep_weak): New function.
  5910. * sched-ebb.c (sched_n_insns): Rename to sched_rgn_n_insns.
  5911. (n_insns): Rename to rgn_n_insns.
  5912. (debug_ebb_dependencies): New function.
  5913. (init_ready_list): Use it.
  5914. (begin_schedule_ready): Use sched_init_only_bb.
  5915. (ebb_print_insn): Indicate when an insn starts a new cycle.
  5916. (contributes_to_priority, compute_jump_reg_dependencies,
  5917. add_remove_insn, fix_recovery_cfg): Add ebb_ prefix to function names.
  5918. (add_block1): Remove to ebb_add_block.
  5919. (ebb_sched_deps_info, ebb_common_sched_info): New variables.
  5920. (schedule_ebb): Initialize them. Use remove_notes instead of
  5921. rm_other_notes. Use haifa_local_init/finish.
  5922. (schedule_ebbs): Use haifa_sched_init/finish.
  5923. * sched-int.h: Include vecprim.h, remove rtl.h.
  5924. (struct ready_list): Delete declaration.
  5925. (sched_verbose_param, enum sched_pass_id_t,
  5926. bb_vec_t, insn_vec_t, rtx_vec_t): New.
  5927. (struct sched_scan_info_def): New structure.
  5928. (sched_scan_info, sched_scan, sched_init_bbs,
  5929. sched_init_luids, sched_finish_luids, sched_extend_target,
  5930. haifa_init_h_i_d, haifa_finish_h_i_d): Declare.
  5931. (struct common_sched_info_def): New.
  5932. (common_sched_info, haifa_common_sched_info,
  5933. sched_emulate_haifa_p): Declare.
  5934. (sel_sched_p): New.
  5935. (sched_luids): Declare.
  5936. (INSN_LUID, LUID_BY_UID, SET_INSN_LUID): Declare.
  5937. (sched_max_luid, insn_luid): Declare.
  5938. (note_list, remove_notes, restore_other_notes, bb_note): Declare.
  5939. (sched_insns_init, sched_insns_finish, xrecalloc, reemit_notes,
  5940. print_insn, print_pattern, print_value, haifa_classify_insn,
  5941. sel_find_rgns, sel_mark_hard_insn, dfa_state_size, advance_state,
  5942. setup_sched_dump, sched_init, sched_finish,
  5943. sel_insn_is_speculation_check): Export.
  5944. (struct ready_list): Move from haifa-sched.c.
  5945. (ready_try, ready, max_issue): Export.
  5946. (ebb_compute_jump_reg_dependencies, find_fallthru_edge,
  5947. sched_init_only_bb, sched_split_block, sched_split_block_1,
  5948. sched_create_empty_bb, sched_create_empty_bb_1,
  5949. sched_create_recovery_block, sched_create_recovery_edges): Export.
  5950. (enum reg_pending_barrier_mode): Export.
  5951. (struct deps): New fields `last_reg_pending_barrier' and `readonly'.
  5952. (deps_t): New.
  5953. (struct sched_info): Rename to haifa_sched_info. Use const_rtx for
  5954. print_insn field. Move add_block and fix_recovery_cfg to
  5955. common_sched_info_def. Move compute_jump_reg_dependencies,
  5956. use_cselib ...
  5957. (struct sched_deps_info_def): ... this new structure.
  5958. (sched_deps_info): Declare.
  5959. (struct spec_info_def): Remove weakness_cutoff, add
  5960. data_weakness_cutoff and control_weakness_cutoff.
  5961. (spec_info): Declare.
  5962. (struct _haifa_deps_insn_data): Split from haifa_insn_data. Add
  5963. dep_count field.
  5964. (struct haifa_insn_data): Rename to struct _haifa_insn_data.
  5965. (haifa_insn_data_def, haifa_insn_data_t): New typedefs.
  5966. (current_sched_info): Change type to struct haifa_sched_info.
  5967. (haifa_deps_insn_data_def, haifa_deps_insn_data_t): New typedefs.
  5968. (h_d_i_d): New variable.
  5969. (HDID): New accessor macro.
  5970. (h_i_d): Change type to VEC (haifa_insn_data_def, heap) *.
  5971. (HID): New accessor macro. Rewrite h_i_d accessor macros through HID
  5972. and HDID.
  5973. (IS_SPECULATION_CHECK_P): Update for selective scheduler.
  5974. (enum SCHED_FLAGS): Update for selective scheduler.
  5975. (enum SPEC_SCHED_FLAGS): New flag SEL_SCHED_SPEC_DONT_CHECK_CONTROL.
  5976. (init_dependency_caches, free_dependency_caches): Delete declarations.
  5977. (deps_analyze_insn, remove_from_deps, get_dep_weak_1,
  5978. estimate_dep_weak, ds_full_merge, ds_max_merge, ds_weak,
  5979. ds_get_speculation_types, ds_get_max_dep_weak, sched_deps_init,
  5980. sched_deps_finish, haifa_note_reg_set, haifa_note_reg_use,
  5981. haifa_note_reg_clobber, maybe_extend_reg_info_p, deps_start_bb,
  5982. ds_to_dt): Export.
  5983. (rm_other_notes): Delete declaration.
  5984. (schedule_block): Remove one argument.
  5985. (cycle_issued_insns, issue_rate, dfa_lookahead, ready_sort,
  5986. ready_element, ready_lastpos, sched_extend_ready_list,
  5987. sched_finish_ready_list, sched_change_pattern, sched_speculate_insn,
  5988. concat_note_lists): Export.
  5989. (struct region): Move from sched-rgn.h.
  5990. (nr_regions, rgn_table, rgn_bb_table, block_to_bb, containing_rgn,
  5991. RGN_NR_BLOCKS, RGN_BLOCKS, RGN_DONT_CALC_DEPS, RGN_HAS_REAL_EBB,
  5992. BLOCK_TO_BB, CONTAINING_RGN): Export.
  5993. (ebb_head, BB_TO_BLOCK, EBB_FIRST_BB, EBB_LAST_BB, INSN_BB): Likewise.
  5994. (current_nr_blocks, current_blocks, target_bb): Likewise.
  5995. (dep_cost_1, sched_is_disabled_for_current_region_p, sched_rgn_init,
  5996. sched_rgn_finish, rgn_setup_region, sched_rgn_compute_dependencies,
  5997. sched_rgn_local_init, extend_regions,
  5998. rgn_make_new_region_out_of_new_block, compute_priorities,
  5999. debug_rgn_dependencies, free_rgn_deps, contributes_to_priority,
  6000. extend_rgns, deps_join rgn_setup_common_sched_info,
  6001. rgn_setup_sched_infos, debug_regions, debug_region, dump_region_dot,
  6002. dump_region_dot_file, haifa_sched_init, haifa_sched_finish): Export.
  6003. (get_rgn_sched_max_insns_priority, sel_add_to_insn_priority,
  6004. increase_insn_priority): Likewise.
  6005. * sched-rgn.c: Include sel-sched.h.
  6006. (ref_counts): New static variable. Use it ...
  6007. (INSN_REF_COUNT): ... here. Rewrite and move closer to uses.
  6008. (FED_BY_SPEC_LOAD, IS_LOAD_INSN): Rewrite to use HID accessor macro.
  6009. (sched_is_disabled_for_current_region_p): Delete static declaration.
  6010. (struct region): Move to sched-int.h.
  6011. (nr_regions, rgn_table, rgn_bb_table, block_to_bb, containing_rgn,
  6012. ebb_head): Define and initialize.
  6013. (RGN_NR_BLOCKS, RGN_BLOCKS, RGN_DONT_CALC_DEPS, RGN_HAS_REAL_EBB,
  6014. BLOCK_TO_BB, CONTAINING_RGN, debug_regions, extend_regions,
  6015. BB_TO_BLOCK, EBB_FIRST_BB, EBB_LAST_BB): Move to
  6016. sched-int.h.
  6017. (find_single_block_region): Add new argument to indicate that EBB
  6018. regions should be constructed.
  6019. (debug_live): Delete declaration.
  6020. (current_nr_blocks, current_blocks, target_bb):
  6021. Remove static qualifiers.
  6022. (compute_dom_prob_ps, check_live, update_live, set_spec_fed): Delete
  6023. declaration.
  6024. (init_regions): Delete declaration.
  6025. (debug_region, bb_in_region_p, dump_region_dot_file, dump_region_dot,
  6026. rgn_estimate_number_of_insns): New.
  6027. (too_large): Use estimate_number_of_insns.
  6028. (haifa_find_rgns): New. Move the code from ...
  6029. (find_rgns): ... here. Call either sel_find_rgns or haifa_find_rgns.
  6030. (free_trg_info): New.
  6031. (compute_trg_info): Allocate candidate tables here instead of ...
  6032. (init_ready_list): ... here.
  6033. (rgn_print_insn): Use const_rtx.
  6034. (contributes_to_priority, extend_regions): Delete static declaration.
  6035. (add_remove_insn, fix_recovery_cfg): Add rgn_ to function names.
  6036. (add_block1): Rename to rgn_add_block.
  6037. (debug_rgn_dependencies): Delete static qualifier.
  6038. (new_ready): Use sched_deps_info. Simplify.
  6039. (rgn_common_sched_info, rgn_const_sched_deps_info,
  6040. rgn_const_sel_sched_deps_info, rgn_sched_deps_info, rgn_sched_info):
  6041. New.
  6042. (region_sched_info): Rename to rgn_const_sched_info.
  6043. (deps_join): New, extracted from ...
  6044. (propagate_deps): ... here.
  6045. (compute_block_dependences, debug_dependencies): Update for selective
  6046. scheduling.
  6047. (free_rgn_deps, compute_priorities): New functions.
  6048. (sched_rgn_init, sched_rgn_finish, rgn_setup_region,
  6049. sched_rgn_compute_dependencies): New functions.
  6050. (schedule_region): Use them.
  6051. (sched_rgn_local_init, sched_rgn_local_free, sched_rgn_local_finish,
  6052. rgn_setup_common_sched_info, rgn_setup_sched_infos):
  6053. New functions.
  6054. (schedule_insns): Call new functions that were split out.
  6055. (rgn_make_new_region_out_of_new_block): New.
  6056. (get_rgn_sched_max_insns_priority): New.
  6057. (rest_of_handle_sched, rest_of_handle_sched2): Call selective
  6058. scheduling when appropriate.
  6059. * sched-vis.c: Include insn-attr.h.
  6060. (print_value, print_pattern): Make global.
  6061. (print_rtl_slim, debug_bb_slim, debug_bb_n_slim): New functions.
  6062. * target-def.h (TARGET_SCHED_ADJUST_COST_2,
  6063. TARGET_SCHED_ALLOC_SCHED_CONTEXT, TARGET_SCHED_INIT_SCHED_CONTEXT,
  6064. TARGET_SCHED_SET_SCHED_CONTEXT, TARGET_SCHED_CLEAR_SCHED_CONTEXT,
  6065. TARGET_SCHED_FREE_SCHED_CONTEXT, TARGET_SCHED_GET_INSN_CHECKED_DS,
  6066. TARGET_SCHED_GET_INSN_SPEC_DS, TARGET_SCHED_SKIP_RTX_P): New target
  6067. hooks. Initialize them to 0.
  6068. (TARGET_SCHED_GEN_CHECK): Rename to TARGET_SCHED_GEN_SPEC_CHECK.
  6069. * target.h (struct gcc_target): Add them. Rename gen_check field to
  6070. gen_spec_check.
  6071. * flags.h (sel_sched_switch_set): Declare.
  6072. * opts.c (sel_sched_switch_set): New variable.
  6073. (decode_options): Unset flag_sel_sched_pipelining_outer_loops if
  6074. pipelining is disabled from command line.
  6075. (common_handle_option): Record whether selective scheduling is
  6076. requested from command line.
  6077. * doc/invoke.texi: Document new flags and parameters.
  6078. * doc/tm.texi: Document new target hooks.
  6079. * config/ia64/ia64.c (TARGET_SCHED_GEN_SPEC_CHECK): Define to
  6080. ia64_gen_check.
  6081. (dfa_state_size): Do not declare locally.
  6082. * config/ia64/ia64.opt (msched-ar-data-spec): Default to 0.
  6083. * config/rs6000/rs6000.c (rs6000_init_sched_context,
  6084. rs6000_alloc_sched_context, rs6000_set_sched_context,
  6085. rs6000_free_sched_context): New functions.
  6086. (struct _rs6000_sched_context): New.
  6087. (rs6000_sched_reorder2): Do not modify INSN_PRIORITY for selective
  6088. scheduling.
  6089. (rs6000_sched_finish): Do not run for selective scheduling.
  6090. 2008-08-31 Jan Hubicka <jh@suse.cz>
  6091. * frv.c (frv_rtx_costs): Update forward declaration.
  6092. * spu.c (spu_rtx_costs): Likewise.
  6093. * pdp11.c: Include df.h
  6094. (pdp11_output_function_epilogue): Use df_set_regs_ever_live.
  6095. * m68hc11.c (m68hc11_gen_highpart): Fix call of gen_rtx_SUBREG.
  6096. (m68hc11_rtx_costs_1): Fix call of rtx_cost.
  6097. * iq2000.c (iq2000_address_cost): Add speed argument.
  6098. (iq2000_rtx_costs): Likewise.
  6099. * mn10300.c (mn10300_address_cost_1): Remove speed argument;
  6100. update call of mn10300_address_cost.
  6101. * mcore.c: Include df.h
  6102. (mcore_rtx_costs): Update prototype.
  6103. * score3.c: Include df.h
  6104. (score3_rtx_costs): Remove speed argument.
  6105. * score7.c: Include df.h
  6106. (score7_address_cost): Remove speed argument.
  6107. * score-protos.h (score_address_cost): Update prototype.
  6108. * score.c: Include df.h
  6109. (score_rtx_costs): Update call of costs functions.
  6110. * v850.c (v850_rtx_costs): Add bool argument.
  6111. 2008-08-31 Hans-Peter Nilsson <hp@axis.com>
  6112. * config/cris/cris.c (cris_rtx_costs): Correct call to rtx_costs.
  6113. 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
  6114. * gthr-win32.h (__gthread_setspecific): Use CONST_CAST2.
  6115. * config/i386/gthr-win32.c (__gthread_setspecific): Same.
  6116. 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
  6117. * mkmap-flat.awk: Add option pe_dll.
  6118. * config/i386/t-cygming (SHLIB_LINK): Support building libgcc_s.
  6119. * config/i386/t-cygwin (SHLIB_LC): Add.
  6120. * config/i386/t-mingw32 (SHLIB_LC): Add.
  6121. * config/i386/mingw32.h (SHARED_LIBGCC_UNDEFS_SPEC): New.
  6122. (SUBTARGET_EXTRA_SPECS): Use SHARED_LIBGCC_UNDEFS_SPEC.
  6123. (LINK_SPEC): Support libgcc_s.
  6124. (LIBGCC_SPEC): Support libgcc_s.
  6125. (LIBGCC_SONAME): New.
  6126. 2008-08-31 Jan Hubicka <jh@suse.cz>
  6127. * predict.c (maybe_hot_bb_p, maybe_hot_edge_p): Previous commit
  6128. mistakely had old version of patch.
  6129. * ipa-cp.c (ipcp_need_original_clone_p): Remove.
  6130. (ipcp_estimate_growth): New.
  6131. (ipcp_insert_stage): Use ipcp_estimate_growth.
  6132. * profile.c (branch_prob): When reading failed, do not consider
  6133. profile as read.
  6134. 2008-08-31 Jan Hubicka <jh@suse.cz>
  6135. * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Check that
  6136. loop is optimized for speed.
  6137. 2008-08-31 Richard Guenther <rguenther@suse.de>
  6138. PR middle-end/37289
  6139. * fold-const.c (fold_binary): Retain conversions in folding
  6140. ~A + 1 to -A.
  6141. 2008-08-31 Jan Hubicka <jh@suse.cz>
  6142. * postreload-gcse.c (eliminate_partially_redundant_loads):
  6143. Use optimize_bb_for_size_p.
  6144. * predict.c (maybe_hot_frequency_p): Make inline.
  6145. (maybe_hot_count_p): Break out from ...
  6146. (maybe_hot_bb_p): ... this one.
  6147. (maybe_hot_edge_p): Simplify.
  6148. * basic-block.h (probably_cold_bb_p): Remove.
  6149. 2008-08-31 Jakub Jelinek <jakub@redhat.com>
  6150. PR target/37168
  6151. * config/rs6000/rs6000-protos.h (const_vector_elt_as_int): Add
  6152. prototype.
  6153. * config/rs6000/rs6000.c (const_vector_elt_as_int): No longer static.
  6154. * config/rs6000/altivec.md (easy_vector_constant_add_self splitter):
  6155. Also split V4SFmode.
  6156. * config/rs6000/predicates.md (easy_vector_constant_add_self): Handle
  6157. vector float modes.
  6158. 2008-08-31 Jan Hubicka <jh@suse.cz>
  6159. * predict.c (PROB_VERY_LIKELY): Make small enough so things
  6160. become cold.
  6161. * predict.def (PRED_NORETURN_CALL, PRED_COLD_CALL): Use it.
  6162. 2008-08-31 Jakub Jelinek <jakub@redhat.com>
  6163. PR debug/37287
  6164. * dwarf2out.c (gen_namespace_die): For DECL_EXTERNAL modules don't
  6165. add source coords.
  6166. * dwarf2out.c (native_encode_initializer): Subtract min_index for
  6167. non-range array index. Handle VIEW_CONVERT_EXPR and NON_LVALUE_EXPR.
  6168. 2008-08-31 Jan Hubicka <jh@suse.cz>
  6169. * sparc.h (BRANCH_COST): Fix macro definition.
  6170. * avr.c (avr_operand_rtx_cost): Add speed argument.
  6171. (avr_rtx_costs): Update calls of avr_operand_rtx_cost.
  6172. 2008-08-31 Richard Guenther <rguenther@suse.de>
  6173. * tree-cfg.c (verify_types_in_gimple_assign): Dump mismatched
  6174. types instead of operands. Re-instantiate verifying of
  6175. binary expression operands.
  6176. 2008-08-30 Jan Hubicka <jh@suse.cz>
  6177. * fwprop.c (should_replace_address): Add speed attribute.
  6178. (PR_OPTIMIZE_FOR_SPEED): New flag.
  6179. (propagate_rtx_1): Use it.
  6180. (propagate_rtx): Set it.
  6181. (try_fwprop_subst): Update call of rtx_costs.
  6182. (forward_propagate_and_simplify): LIkewise.
  6183. * hooks.c (hook_int_rtx_bool_0): New
  6184. (hook_bool_rtx_int_int_intp_false): Replace by ...
  6185. (hook_bool_rtx_int_int_intp_bool_false): .. thisone.
  6186. * hooks.h (hook_int_rtx_bool_0): New
  6187. (hook_bool_rtx_int_int_intp_false): Replace by ...
  6188. (hook_bool_rtx_int_int_intp_bool_false): .. thisone.
  6189. * optabs.c (avoid_expensive_constant): UPdate call of rtx_cost.
  6190. (prepare_cmp_insn): UPdate call of rtx_cost.
  6191. * postreload.c (reload_cse_simplify_set): Update call of rtx_cost.
  6192. (reload_cse_simplify_operands): Update call of rtx_cost.
  6193. (reload_cse_move2add): call of rtx_cost.
  6194. * target.h (struct gcc_target): Update rtx_costs and address_costs.
  6195. * rtlanal.c (rtx_cost): Add speed argument.
  6196. (address_cost): Add speed argument
  6197. (default_address_cost): Likewise.
  6198. (insn_rtx_cost): Likewise.
  6199. * cfgloopanal.c (seq_cost): Add speed argument.
  6200. (target_reg_cost, target_spill_cost): Turn to array.
  6201. (init_set_costs): Update for speed.
  6202. (estimate_reg_pressure_cost): Add speed argument.
  6203. * auto-inc-dec.c (attempt_change): Update call of rtx_cost.
  6204. * dojump.c (prefer_and_bit_test): UPdate call of rtx_cost.
  6205. * tree-ssa-loop-ivopts.c (struct ivopts_data): New field speed.
  6206. (seq_cost): Add speed argument.
  6207. (computation_cost): Add speed arugment.
  6208. (add_cost, multiply_by_const, get_address_cost): add speed argument.
  6209. (force_expr_to_var_cost): Update for profile info.
  6210. (force_var_cost): Likewise.
  6211. (split_address_cost): Likewise.
  6212. (ptr_difference_cost): Likewise.
  6213. (difference_cost): Likewise.
  6214. (get_computation_cost_at): Likewise.
  6215. (determine_iv_cost): Likewise.
  6216. (ivopts_global_cost_for_size): Likewise.
  6217. (rewrite_use_address): Likewise.
  6218. (tree_ssa_iv_optimize_loop): Initialize speed field.
  6219. * cse.c (optimize_this_for_speed_p): New static var.
  6220. (notreg_cost): Update call of rtx_cost.
  6221. (cse_extended_basic_block): set optimize_this_for_speed_p.
  6222. * ifcvt.c (cheap_bb_rtx_cost_p): Update call of rtx_cost.
  6223. (noce_try_cmove_arith): Likewise.
  6224. (noce_try_sign_mask): LIkewise.
  6225. * expr.c (compress_float_constant): Update rtx_cost calls.
  6226. * tree-ssa-address.c (most_expensive_mult_to_index): Add speed
  6227. argument.
  6228. (addr_to_parts): Likewise.
  6229. (create_mem_ref): Likewise.
  6230. * dse.c (find_shift_sequence): Add speed argument.
  6231. (replace_read): Update call.
  6232. * calls.c (precompute_register_parameters): Update call of rtx_cost.
  6233. * expmed.c (sdiv_pow2_cheap, smod_pow2_cheap, zero_cost, add_cost,
  6234. * neg_cost, shift_cost, shiftadd_cost,
  6235. shiftsub_cost, mul_cost, sdiv_cost, udiv_cost ,mul_widen_cost,
  6236. mul_highpart_cost): Increase dimension.
  6237. (init_expmed): Initialize for both size and speed.
  6238. (expand_shift): Use profile.
  6239. (synth_mult): Use profile.
  6240. (choose_mult_variant): Use profile.
  6241. (expand_mult): Use profile.
  6242. (expand_mult_highpart_optab): Use profile.
  6243. (expand_mult_highpart): Use profile.
  6244. (expand_smod_pow2): Use profile.
  6245. (expand_divmod): Use profile.
  6246. * simplify-rtx.c (simplify_binary_operation_1): Update call of
  6247. rtx_cost.
  6248. * loop-invariant.c (create_new_invariant): Use profile.
  6249. (gain_for_invariant): Add speed parameter.
  6250. (best_gain_for_invariant): Likewise.
  6251. (find_invariants_to_move): Likewise.
  6252. (move_single_loop_invariants): Set it.
  6253. * target-def.h (TARGET_RTX_COSTS): Use hook.
  6254. * rtl.h (rtx_cost, address_cost, insn_rtx_cost): Update prototpe.
  6255. (optimize_insn_for_size_p, optimize_insn_for_speed_p): Declare.
  6256. * output.h (default_address_cost): Update prototype.
  6257. * combine.c (optimize_this_for_speed_p): New static var.
  6258. (combine_validate_cost): Update call of rtx_cost.
  6259. (combine_instructions): Set optimize_this_for_speed_p.
  6260. (expand_compound_operation): Update call of rtx_cost.
  6261. (make_extraction):Update call of rtx_cost.
  6262. (force_to_mode):Update call of rtx_cost.
  6263. (distribute_and_simplify_rtx):Update call of rtx_cost.
  6264. * cfgloop.h (target_reg_cost, target_spill_cost): Turn to array.
  6265. (estimate_reg_pressure_cost): Update prototype.
  6266. * tree-flow.h (multiply_by_cost, create_mem_ref): Update prototype.
  6267. * basic-block.h (optimize_insn_for_size_p, optimize_insn_for_speed_p):
  6268. Remove.
  6269. * config/alpha/alpha.c (alpha_rtx_costs): Update.
  6270. (alpha_rtx_costs): Update.
  6271. * config/frv/frv.c (frv_rtx_costs): Update.
  6272. * config/s390/s390.c (s390_rtx_costs): Update.
  6273. * config/m32c/m32c.c (m32c_memory_move_cost): Update.
  6274. (m32c_rtx_costs): Update.
  6275. * config/spu/spu.c (TARGET_ADDRESS_COST): Upate.
  6276. (spu_rtx_costs): Update.
  6277. * config/sparc/sparc.c (sparc_rtx_costs): Update.
  6278. * config/m32r/m32r.c (m32r_rtx_costs): Update.
  6279. * config/i386/i386.c (:ix86_address_cost): Update.
  6280. (ix86_rtx_costs): Update.
  6281. * config/sh/sh.c (sh_rtx_costs, sh_address_cost): Update.
  6282. * config/pdp11/pdp11.c (pdp11_rtx_costs): Update.
  6283. * config/avr/avr.c (avr_rtx_costs, avr_address_cost): Update.
  6284. * config/crx/crx.c (crx_address_cost): Update.
  6285. * config/xtensa/xtensa.c (xtensa_rtx_costs): Update.
  6286. * config/stormy16/stormy16.c
  6287. (xstormy16_address_cost, xstormy16_rtx_costs): Update.
  6288. * config/m68hc11/m68hc11.c
  6289. (m68hc11_address_cost, m68hc11_rtx_costs): Update.
  6290. * config/cris/cris.c (cris_rtx_costs, cris_address_cost): Update.
  6291. * config/iq2000/iq2000.c (iq2000_rtx_costs, iq2000_address_cost):
  6292. Update.
  6293. * config/mn10300/mn10300.c (mn10300_address_cost, mn10300_rtx_costs):
  6294. Update
  6295. * config/ia64/ia64.c (ia64_rtx_costs): Update.
  6296. * config/m68k/m68k.c (m68k_rtx_costs): Update.
  6297. * config/rs6000/rs6000.c (rs6000_rtx_costs): Update.
  6298. * config/arc/arc.c (arc_rtx_costs, arc_address_cost): Update.
  6299. * config/mcore/mcore.c (TARGET_ADDRESS_COST): Update.
  6300. (mcore_rtx_costs): update.
  6301. * config/score/score3.c (score3_rtx_costs): Update.
  6302. * config/score/score7.c (score7_rtx_costs): Update.
  6303. * config/score/score3.h (score3_rtx_costs):Update.
  6304. * config/score/score7.h (score7_rtx_costs): Update.
  6305. * config/score/score.c (score_rtx_costs): Update.
  6306. * config/arm/arm.c (arm_address_cost): Update.
  6307. (arm_rtx_costs_1): Update.
  6308. (arm_rtx_costs_1): Update.
  6309. (arm_size_rtx_costs): Update.
  6310. (arm_size_rtx_costs): Update.
  6311. (arm_size_rtx_costs): Update.
  6312. (arm_xscale_rtx_costs): Update.
  6313. (arm_thumb_address_cost): Update.
  6314. * config/pa/pa.c (hppa_address_cost): Update.
  6315. * config/mips/mips.c (mips_rtx_costs): Update.
  6316. * config/vax/vax.c (vax_address_cost): Update.
  6317. * config/h8300/h8300.c (h8300_shift_costs): Update.
  6318. (h8300_rtx_costs): Update.
  6319. * config/v850/v850.c (TARGET_ADDRESS_COST): Update.
  6320. (v850_rtx_costs): Update.
  6321. * config/mmix/mmix.c (mmix_rtx_costs, mmix_rtx_costs): Update.
  6322. * config/bfin/bfin.c
  6323. (bfin_address_cost): Update.
  6324. (bfin_rtx_costs): Update.
  6325. * stmt.c (lshift_cheap_p): Update.
  6326. 2008-08-30 Andrew Pinski <andrew_pinski@playstation.sony.com>
  6327. PR middle-end/36444
  6328. * expmed.c (extract_bit_field_1): Check the mode size to make
  6329. sure the vector modes have the same size.
  6330. 2008-08-29 Michael Meissner <gnu@the-meissners.org>
  6331. * dojump.c (top level): Include basic-block.h to declare
  6332. optimize_insn_for_speed_p
  6333. * Makefile.in (dodump.h): Add $(BASIC_BLOCK_H) dependency.
  6334. * opts.h (CL_SAVE): New option class for marking options that are
  6335. target specific options usable in the target attribute.
  6336. (CL_MIN_OPTION_CLASS): CL_SAVE is now the minimum option.
  6337. * opt-functions.awk (switch_flags): Add CL_SAVE flag so backends
  6338. can easily find the target specific options that are safe to use
  6339. in the attribute or pragma.
  6340. * attribs.c (decl_attributes): Change #pragma GCC option to
  6341. #pragma GCC target, and attribute((option(...))) to
  6342. attribute((target(...))).
  6343. * doc/extend.texi (target attribute): Change from option
  6344. attribute. Delete push/pop/reset.
  6345. (#pragma GCC target): Change from #pragma GCC option. Delete
  6346. push/pop/reset.
  6347. (#pragma GCC push_options): Document new pragma.
  6348. (#pragma GCC pop_options): Document new pragma.
  6349. (#pragma GCC reset_options): Document new pragma.
  6350. * targhooks.c (default_target_option_valid_attribute_p): Add
  6351. warning about port not supporting target attributes.
  6352. (default_target_option_pragma_parse): New function, warn about
  6353. #pragma GCC target not being supported.
  6354. * targhooks.h (default_target_option_pragma_parse): Add
  6355. declaration.
  6356. * tree.h (TI_CURRENT_TARGET_PRAGMA): Rename from
  6357. TI_CURRENT_OPTION_PRAGMA.
  6358. (current_target_pragma): Rename from current_option_pragma.
  6359. * target.h (struct target_option): Delete booleans for changing
  6360. the optimization level on hot/cold functions. Change signature of
  6361. pragma_parse hook to take a second tree.
  6362. * c-tree.h (c_builtin_function_ext_scope): Add declaration.
  6363. * c-decl.c (c_builtin_function_ext_scope): New function, guarantee
  6364. that the declaration is done at global scope.
  6365. * langhooks.c (add_builtin_function_common): Move most of the code
  6366. from add_builtin_function here, calling the hook passed in.
  6367. (add_builtin_function): Call add_builtin_function_common with
  6368. standard builtin hook.
  6369. (add_builtin_function_ext_scope): New function to add builtins to
  6370. global scope.
  6371. * langhooks.h (struct lang_hooks): Add builtin_function_ext_scope
  6372. hook.
  6373. (add_builtin_function_ext_scope): Add declaration.
  6374. * c-pragma.c (handle_pragma_target): Rename from
  6375. handle_pragma_option, #pragma GCC option is now #pragma GCC
  6376. target. Move warning about port not supporting target options to
  6377. default pragma parse hook. Remove push/pop/reset from this
  6378. pragma.
  6379. (handle_pragma_optimize): Remove push/pop/reset from this pragma.
  6380. (option_stack): Delete static variable.
  6381. (optimize_stack): Ditto.
  6382. (optons_stack): New stack of saved target and optimization
  6383. options.
  6384. (handle_pragma_push_options): New function to handle pushing both
  6385. target and optimization options.
  6386. (handle_pragma_pop_options): New function to handle popping both
  6387. target and optimization options.
  6388. (handle_pragma_reset_options): New function to handle resetting
  6389. both target and optimization options to their initial state.
  6390. (init_pragma): Rename handle_pragma_option to
  6391. handle_pragma_target. Add support for push_options, pop_options,
  6392. and reset_options pragmas.
  6393. * target-def.h (TARGET_OPTION_PRAGMA_PARSE): Change default to
  6394. default_target_option_pragma_parse.
  6395. (TARGET_OPTION_VALID_ATTRIBUTE_P): Change default to
  6396. default_target_option_valid_attribute_p.
  6397. (TARGET_OPTION_COLD_ATTRIBUTE_SETS_OPTIMIZATION): Delete.
  6398. (TARGET_OPTION_HOT_ATTRIBUTE_SETS_OPTIMIZATION): Ditto.
  6399. (TARGET_OPTION_HOOKS): Delete the fields for whether to change
  6400. optimization level on hot/cold functions.
  6401. * tree-inline.c (tree_can_inline_p): Disable suppressing inlining
  6402. if the caller and callee have different optimization levels.
  6403. * c-common.c (handle_target_attribute): Rename from
  6404. handle_option_attribute, attribute((option(...))) is now
  6405. attribute((target(...))). Move warning if the port does not
  6406. support target attributes to the default hook.
  6407. (handle_hot_attribute): Delete code to change the optimization
  6408. level of hot functions.
  6409. (handle_cold_attribute): Ditto.
  6410. * config/i386/i386-c.c (ix86_pragma_target_parse): Take a second
  6411. argument that is the binary tree options to use if there are no
  6412. arguments. Call ix86_valid_target_attribute_tree instead of
  6413. ix86_valid_option_attribute_tree.
  6414. (ix86_pragma_target_parse): Rename from ix86_pragma_option_parse.
  6415. (ix86_register_pragmas): Use ix86_pragma_target_parse instead of
  6416. ix86_pragma_option_parse.
  6417. * config/i386/i386-protos.h (ix86_valid_target_attribute_tree):
  6418. Rename from ix86_valid_option_attribute_tree.
  6419. * config/i386/i386.c (ix86_add_new_builtins): New function to add
  6420. new builtins when the ISA changes.
  6421. (ix86_valid_target_attribute_tree): Rename from
  6422. ix86_valid_option_attribute_tree. Change callers. If the
  6423. function specified optimization options, use those as the starting
  6424. point before setting up the target attributes. If the
  6425. optimization options were changed in the course of setting the
  6426. target attributes, record the new optimization options.
  6427. (ix86_valid_target_attribute_tree_inner_p): Rename from
  6428. ix86_valid_option_attribute_tree_inner_p. Change callers. Call
  6429. ix86_add_new_builtins if the ISA changed.
  6430. (ix86_valid_target_attribute_p): Rename from
  6431. ix86_valid_option_attribute_p. Change callers.
  6432. (enum ix86_builtins): Add IX86_BUILTIN_PCMOV to allow both
  6433. __builtin_ia32_pcmov and __builtin_ia32_pcmov_v2di to be declared
  6434. as delayed builtin functions.
  6435. (struct builtin_isa): New structure to record builtin functions
  6436. that should be delayed until the ISA for that function is used.
  6437. (ix86_builtins_isa): Change from int to struct to track builtin
  6438. functions we want to declare at some point.
  6439. (def_builtin): If the front end can delay defining the builtin
  6440. functions, don't create builtins for ISAs not part of the default
  6441. options.
  6442. (def_builtin_const): Ditto.
  6443. (bdesc_multi_arg): Declare __builtin_ia32_pcmov and
  6444. __builtin_ia32_pcmov_v2di to be different builtin functions.
  6445. (ix86_expand_builtin): Changes due to ix86_builtins_isa now being
  6446. a structure instead of an int.
  6447. (TARGET_OPTION_VALID_ATTRIBUTE_P): Use
  6448. ix86_valid_target_attribute_p, not ix86_valid_option_attribute_p.
  6449. (TARGET_OPTION_COLD_ATTRIBUTE_SETS_OPTIMIZATION): Delete.
  6450. (TARGET_OPTION_HOT_ATTRIBUTE_SETS_OPTIMIZATION): Ditto.
  6451. * config/ia64/ia64.h
  6452. (TARGET_OPTION_COLD_ATTRIBUTE_SETS_OPTIMIZATION): Delete.
  6453. (TARGET_OPTION_HOT_ATTRIBUTE_SETS_OPTIMIZATION): Ditto.
  6454. * langhooks-def.h (LANG_HOOKS_BUILTIN_FUNCTION_EXT_SCOPE): New
  6455. hook, default to being the same as LANG_HOOKS_BUILTIN_FUNCTION.
  6456. (LANG_HOOKS_INITIALIZER): Add
  6457. LANG_HOOKS_BUILTIN_FUNCTION_EXT_SCOPE hook.
  6458. 2008-08-30 Kaz Kojima <kkojima@gcc.gnu.org>
  6459. PR target/37270
  6460. * config/sh/sh.h (LEGITIMIZE_RELOAD_ADDRESS): Generate
  6461. the reload address with the index register for SFmode
  6462. access with a displacement.
  6463. 2008-08-30 Jan Hubicka <jh@suse.cz>
  6464. * optabs.c (expand_abs_nojump): Update BRANCH_COST call.
  6465. * fold-cost.c (LOGICAL_OP_NON_SHORT_CIRCUIT, fold_truthop): Likewise.
  6466. * dojump.c (do_jump): Likewise.
  6467. * ifcvt.c (MAX_CONDITIONAL_EXECUTE): Likewise.
  6468. (note-if_info): Add BRANCH_COST.
  6469. (noce_try_store_flag_constants, noce_try_addcc,
  6470. noce_try_store_flag_mask, noce_try_cmove_arith, noce_try_cmove_arith,
  6471. noce_try_cmove_arith, noce_find_if_block, find_if_case_1,
  6472. find_if_case_2): Use computed branch cost.
  6473. * expr.h (BRANCH_COST): Update default.
  6474. * predict.c (predictable_edge_p): New function.
  6475. * expmed.c (expand_smod_pow2, expand_sdiv_pow2, emit_store_flag):
  6476. Update BRANCH_COST call.
  6477. * basic-block.h (predictable_edge_p): Declare.
  6478. * config/alpha/alpha.h (BRANCH_COST): Update.
  6479. * config/frv/frv.h (BRANCH_COST): Update.
  6480. * config/s390/s390.h (BRANCH_COST): Update.
  6481. * config/spu/spu.h (BRANCH_COST): Update.
  6482. * config/sparc/sparc.h (BRANCH_COST): Update.
  6483. * config/m32r/m32r.h (BRANCH_COST): Update.
  6484. * config/i386/i386.h (BRANCH_COST): Update.
  6485. * config/i386/i386.c (ix86_expand_int_movcc): Update use of
  6486. BRANCH_COST.
  6487. * config/sh/sh.h (BRANCH_COST): Update.
  6488. * config/pdp11/pdp11.h (BRANCH_COST): Update.
  6489. * config/avr/avr.h (BRANCH_COST): Update.
  6490. * config/crx/crx.h (BRANCH_COST): Update.
  6491. * config/xtensa/xtensa.h (BRANCH_COST): Update.
  6492. * config/stormy16/stormy16.h (BRANCH_COST): Update.
  6493. * config/m68hc11/m68hc11.h (BRANCH_COST): Update.
  6494. * config/iq2000/iq2000.h (BRANCH_COST): Update.
  6495. * config/ia64/ia64.h (BRANCH_COST): Update.
  6496. * config/rs6000/rs6000.h (BRANCH_COST): Update.
  6497. * config/arc/arc.h (BRANCH_COST): Update.
  6498. * config/score/score.h (BRANCH_COST): Update.
  6499. * config/arm/arm.h (BRANCH_COST): Update.
  6500. * config/pa/pa.h (BRANCH_COST): Update.
  6501. * config/mips/mips.h (BRANCH_COST): Update.
  6502. * config/vax/vax.h (BRANCH_COST): Update.
  6503. * config/h8300/h8300.h (BRANCH_COST): Update.
  6504. * params.def (PARAM_PREDICTABLE_BRANCH_OUTCOME): New.
  6505. * doc/invoke.texi (predictable-branch-cost-outcome): Document.
  6506. * doc/tm.texi (BRANCH_COST): Update.
  6507. 2008-08-30 Samuel Tardieu <sam@rfc1149.net>
  6508. PR target/37283
  6509. * config/arm/arm.c (arm_optimization_options): Set
  6510. flag_section_anchors to 2 instead of 1 to distinguish it from
  6511. -fsection-anchors given explicitely on the command line.
  6512. 2008-08-30 Richard Sandiford <rdsandiford@googlemail.com>
  6513. * recog.c (split_insn): Consider attaching a REG_EQUAL note to the
  6514. final insn of a split.
  6515. 2008-08-30 Jan Hubicka <jh@suse.cz>
  6516. * postreload-gcse.c (gate_handle_gcse2): Disable for functions
  6517. optimized for speed.
  6518. * final.c (compute_alignments): Use optimize_bb_for_size_p.
  6519. * tree-call-cdce.c (gate_call_cdce): Use optimize_function_for_speed_p.
  6520. * opts.c (flag_predictive_commoning_set, flag_unswitch_loops_set,
  6521. flag_gcse_after_reload_set): New static vars.
  6522. (common_handle_option): Enable those flags for profile-use.
  6523. (decode_options): Remove optimize_size flags that are handled
  6524. on higher granuality.
  6525. * tree-vectorizer.c (vectorize_loops): Use
  6526. optimize_loop_nest_for_speed_p.
  6527. * tree-ssa-pre.c (do_pre): Use optimize_function_for_speed_p.
  6528. * tree-predcom.c (tree_predictive_commoning): Use
  6529. optimize_loop_for_speed_p.
  6530. * varasm.c (assemble_start_function): Use
  6531. optimize_function_for_speed_p.
  6532. * bb-reorder.c (rest_of_handle_reorder_blocks): Likewise.
  6533. * predict.c (optimize_loop_for_speed_p): Fix walk.
  6534. 2008-08-30 Jan Hubicka <jh@suse.cz>
  6535. * ipa-inline.c (cgraph_estimate_growth): Discover self recursive
  6536. functions.
  6537. (cgraph_decide_inlining_of_small_function): Use edge->count to detect
  6538. profile presence locally.
  6539. 2008-08-29 Joseph Myers <joseph@codesourcery.com>
  6540. PR bootstrap/37086
  6541. * tree-vrp.c (find_switch_asserts): Make idx volatile for GCC
  6542. versions before 4.0.
  6543. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6544. * tree-inline.c (insert_init_stmt): Insert sequence even when
  6545. not in SSA form.
  6546. 2008-08-29 Jeff Law <law@redhat.com>
  6547. * mn10300.c (mn10300_secondary_reload_class): We need secondary
  6548. reloads for AM33-2 if IN is a pseudo with an equivalent memory
  6549. location and class is an FP register.
  6550. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6551. * see.c (see_merge_one_def_extension): Silence used uninitialized
  6552. warning.
  6553. * matrix-reorg.c (check_allocation_function): Likewise.
  6554. * config/i386/driver-i386.c (detect_caches_amd): Likewise.
  6555. 2008-08-29 Jakub Jelinek <jakub@redhat.com>
  6556. PR c/37261
  6557. * fold-const.c (fold_binary): In (X | C1) & C2 canonicalization
  6558. compute new & and | in type rather than TREE_TYPE (arg0).
  6559. * dwarf2out.c (fortran_common): Update comment.
  6560. (gen_variable_die): Swap com_die and var_die variables in Fortran
  6561. COMMON block handling code.
  6562. * dwarf2out.c (descr_info_loc): Handle VAR_DECL.
  6563. * dwarf2out.c (gen_const_die): New function.
  6564. (size_of_die, value_format, output_die): Output larger
  6565. dw_val_class_vec using DW_FORM_block2 or DW_FORM_block4.
  6566. (native_encode_initializer): New function.
  6567. (tree_add_const_value_attribute): Call it.
  6568. (gen_decl_die, dwarf2out_decl): Handle CONST_DECLs if is_fortran ().
  6569. * dwarf2out.c (gen_formal_parameter_die, gen_variable_die): For
  6570. DECL_BY_REFERENCE decls don't pass TREE_READONLY and
  6571. TREE_THIS_VOLATILE to add_type_attribute.
  6572. * dwarf2out.c (add_subscript_info): Stop on Fortran TYPE_STRING_FLAG
  6573. types.
  6574. (gen_array_type_die): Emit DW_TAG_string_type for Fortran character
  6575. types.
  6576. * dwarf2out.c (loc_by_reference): New function.
  6577. (add_location_or_const_value_attribute): Use it.
  6578. PR fortran/23057
  6579. * dwarf2out.c (gen_variable_die): Represent Fortran COMMON vars
  6580. as DW_TAG_variable children of DW_TAG_common_block rather than
  6581. DW_TAG_member children. Put DW_AT_external to individual
  6582. DW_TAG_variable DIEs, not to DW_TAG_common_block.
  6583. * dwarf2out.c (add_bound_info): If lookup_decl_die failed, try
  6584. loc_descriptor_from_tree_1.
  6585. PR fortran/29635
  6586. PR fortran/23057
  6587. * debug.h (struct gcc_debug_hooks): Add NAME and CHILD
  6588. arguments to imported_module_or_decl.
  6589. (debug_nothing_tree_tree): Removed.
  6590. (debug_nothing_tree_tree_tree_bool): New prototype.
  6591. * debug.c (do_nothing_debug_hooks): Adjust.
  6592. (debug_nothing_tree_tree): Removed.
  6593. (debug_nothing_tree_tree_tree_bool): New function.
  6594. * dwarf2out.c (is_symbol_die): Handle DW_TAG_module.
  6595. (gen_variable_die): Put all common vars for the
  6596. same COMMON block under one DW_TAG_common_block.
  6597. (declare_in_namespace): Return new context_die, for Fortran
  6598. return the module DIE instead of adding extra declarations into
  6599. the namespace.
  6600. (gen_type_die_with_usage): Adjust declare_in_namespace caller.
  6601. (gen_namespace_die): If is_fortran (), generate DW_TAG_module
  6602. instead of DW_TAG_namespace. If DECL_EXTERNAL is set, add
  6603. DW_AT_declaration.
  6604. (dwarf2out_global_decl): Don't skip Fortran global vars.
  6605. (gen_decl_die): Likewise. Adjust declare_in_namespace callers.
  6606. (dwarf2out_imported_module_or_decl): Add NAME and CHILD arguments.
  6607. If NAME is non-NULL, add DW_AT_name. If CHILD is non-NULL, put
  6608. DW_TAG_imported_declaration as child of previous
  6609. DW_TAG_imported_module.
  6610. * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Adjust.
  6611. * sdbout.c (sdb_debug_hooks): Likewise.
  6612. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
  6613. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6614. * cgraph.c (cgraph_remove_node): Do not remove nested nodes.
  6615. * cgraph.h (cgraph_maybe_hot_edge_p): Declare.
  6616. * ipa-cp.c (n_cloning_candidates): New static variable.
  6617. (ipcp_print_profile_data, ipcp_function_scale_print): Forward declare.
  6618. (ipcp_print_all_lattices): Improve debug output.
  6619. (ipcp_cloning_candidate_p): New function.
  6620. (ipcp_initialize_node_lattices): Use it.
  6621. (ipcp_init_stage): Do only analyzis here; prettier debug output.
  6622. (ipcp_propagate_stage): Prettier debug output.
  6623. (ipcp_iterate_stage): Initialize latices here; prettier debug output.
  6624. (ipcp_print_all_structures): Remove.
  6625. (ipcp_need_redirect_p): Test !n_cloning_candidates.
  6626. (ipcp_insert_stage): Prettier debug output; call
  6627. cgraph_remove_unreachable_nodes before propagating.
  6628. (pass_ipa_cp): Schedule function removal pass.
  6629. * ipa-inline.c (inline_indirect_intraprocedural_analysis): Better
  6630. debug output.
  6631. (cgraph_maybe_hot_edge_p): Move to ...
  6632. * predict.c (cgraph_maybe_hot_edge_p) ... here.
  6633. * opts.c (flag_ipa_cp_set, flag_ipa_cp_clone_set): New.
  6634. (common_handle_option): Set them; enable ipa-cp when profiling.
  6635. * ipa-prop.c (ipa_print_node_jump_functions): Prettier output.
  6636. (ipa_print_all_jump_functions): Likewise.
  6637. (ipa_print_all_tree_maps, ipa_print_node_param_flags): Remove.
  6638. (ipa_print_node_params, ipa_print_all_params): New.
  6639. * ipa-prop.h (ipa_print_all_tree_maps, ipa_print_node_param_flags,
  6640. ipa_print_all_param_flags): Remove.
  6641. (ipa_print_node_params, ipa_print_all_params): New.
  6642. 2008-08-29 Bob Wilson <bob.wilson@acm.org>
  6643. * config/xtensa/xtensa.c (xtensa_secondary_reload_class): Revert
  6644. change from 2008-04-03.
  6645. * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Define.
  6646. 2008-08-29 Vladimir Makarov <vmakarov@redhat.com>
  6647. PR rtl-opt/37251
  6648. * ira-color.c (push_allocnos_to_stack): Truncate
  6649. removed_splay_allocno_vec.
  6650. 2008-08-29 Vladimir Makarov <vmakarov@redhat.com>
  6651. PR rtl-opt/37243
  6652. * ira-color (ira_fast_allocation): Don't assign hard registers to
  6653. global allocnos.
  6654. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6655. PR middle-end/37278
  6656. * predict.c (optimize_loop_nest_for_speed_p): Do not ICE
  6657. for cold internal loops.
  6658. 2008-08-29 Richard Guenther <rguenther@suse.de>
  6659. * tree-ssa-structalias.c (create_variable_info_for): Do not
  6660. create fields for heap vars or vars with a noalias state.
  6661. For NO_ALIAS_ANYTHING variables add a self-constraint, not one
  6662. from ESCAPED.
  6663. 2008-08-29 Richard Guenther <rguenther@suse.de>
  6664. * common.opt (ftree-store-ccp): Mark as preserved for
  6665. backward compatibility.
  6666. * doc/invoke.texi (-ftree-store-ccp): Remove documentation.
  6667. * tree-pass.h (pass_store_ccp): Remove.
  6668. * tree-ssa-propagate.h (struct prop_value_d): Remove mem_ref field.
  6669. (first_vdef): Remove declaration.
  6670. (get_value_loaded_by): Likewise.
  6671. * tree-ssa-ccp.c (do_store_ccp): Remove.
  6672. (get_default_value): Simplify as do_store_ccp is always false
  6673. now. Do not initialize mem_ref.
  6674. (set_value_varying): Likewise.
  6675. (canonicalize_float_value): Likewise.
  6676. (set_lattice_value): Likewise.
  6677. (likely_value): Likewise.
  6678. (surely_varying_stmt_p): Likewise.
  6679. (ccp_initialize): Likewise.
  6680. (ccp_lattice_meet): Likewise.
  6681. (ccp_visit_phi_node): Likewise.
  6682. (ccp_fold): Likewise.
  6683. (evaluate_stmt): Likewise.
  6684. (visit_assignment): Likewise.
  6685. (ccp_visit_stmt): Likewise.
  6686. (execute_ssa_ccp): Fold into ...
  6687. (do_ssa_ccp): ... this.
  6688. (do_ssa_store_ccp): Remove.
  6689. (gate_store_ccp): Likewise.
  6690. (pass_store_ccp): Likewise.
  6691. * tree-ssa-copy.c (copy_prop_visit_phi_node): Do not
  6692. initialize mem_ref.
  6693. * tree-ssa-propagate.c (first_vdef): Remove.
  6694. (get_value_loaded_by): Likewise.
  6695. (replace_vuses_in): Likewise.
  6696. (substitute_and_fold): Do not call replace_vuses_in.
  6697. * opts.c (decode_options): Do not set flag_tree_store_ccp.
  6698. 2008-08-29 Richard Guenther <rguenther@suse.de>
  6699. PR middle-end/37236
  6700. * tree-ssa-structalias.c (intra_create_variable_infos): Mark
  6701. PARAM_NOALIAS tags with is_heapvar.
  6702. * tree-ssa-operands.c (access_can_touch_variable): Offset
  6703. based tests do not apply for heapvars. Fix offset test.
  6704. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6705. * doc/invoke.texi (-fipa-cp): Enabled by default at -O2/-Os/-O3
  6706. (-fipa-cp-clone): Enabled by default at -O3.
  6707. * opts.c (decode_options): Enable ipa-cp at -O2, ipa-cp-clone at -O3;
  6708. make ipa-cp-clone to imply ipa-cp; disable cloning at -Os.
  6709. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6710. * tree.c (build_function_type_skip_args,
  6711. build_function_decl_skip_args): New functions.
  6712. * tree.h (build_function_type_skip_args,
  6713. build_function_decl_skip_args): Declare.
  6714. * gimple.c (giple_copy_call_skip_args): New function.
  6715. (giple_copy_call_skip_args): Declare.
  6716. * cgraph.h (cgraph_function_versioning): Add skip_args arugmnet
  6717. * ipa-cp.c (ipcp_node_not_modifiable_p): Rename to ...
  6718. (ipcp_node_modifiable_p): ... this one; use
  6719. tree_versionable_function_p.
  6720. (ipcp_create_replace_map): Improve debug output.
  6721. (ipcp_need_redirect_p): Return false when not clonning.
  6722. (ipcp_update_callgraph): Skip args.
  6723. (ipcp_insert_stage): UPdate call of !ipcp_node_modifiable_p;
  6724. skip args.
  6725. * cgraphunit.c (cgraph_function_versioning): Add skip_args argument.
  6726. (save_inline_function_body): Update call of tree_function_versioning.
  6727. * ipa-prop.c (ipa_edge_removal_hook): Do not ICE on unanalyzed nodes.
  6728. * tree-inline.c (copy_arguments_for_versioning): Add skip_args
  6729. argument.
  6730. (tree_function_versioning): Likewise.
  6731. * tree-inline.h (tree_function_versioning): Update prototype.
  6732. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6733. * loop-unswitch.c (unswitch_single_loop): Use
  6734. optimize_loop_for_speed_p.
  6735. * tree-ssa-threadupdate.c (mark_threaded_blocks):
  6736. Use optimize_function_for_size_p.
  6737. * tracer.c (ignore_bb_p): Use optimize_bb_for_size_p.
  6738. * postreload-gcse.c (eliminate_partially_redundant_load):
  6739. Use optimize_bb_for_size_p.
  6740. * value-prof.c (gimple_divmod_fixed_value_transform,
  6741. gimple_mod_pow2_value_transform, gimple_mod_subtract_transform,
  6742. gimple_stringops_transform): Use optimize_bb_for_size_p.
  6743. * ipa-cp.c (ipcp_insert_stage): Use optimize_function_for_size_p.
  6744. * final.c (compute_alignments): Use optimize_function_for_size_p.
  6745. * builtins.c (fold_builtin_cabs): Use optimize_function_for_speed_p.
  6746. (fold_builtin_strcpy, fold_builtin_fputs): Use
  6747. optimize_function_for_size_p.
  6748. * fold-const.c (tree_swap_operands_p): Use
  6749. optimize_function_for_size_p.
  6750. * recog.c (relax_delay_slots): Likewise.
  6751. * tree-ssa-math-opts.c (replace_reciprocal):
  6752. Use optimize_bb_for_speed_p.
  6753. (execute_cse_reciprocals): Use optimize_bb_for_size_p.
  6754. * ipa-inline.c (cgraph_decide_recursive_inlining): Use
  6755. optimize_function_for_size_p.
  6756. (cgraph_decide_inlining_of_small_function): Use
  6757. optimize_function_for_size_p.
  6758. * global.c (find_reg): Use optimize_function_for_size_p.
  6759. * opts.c (decode_options): Do not clear flag_tree_ch,
  6760. flag_inline_functions, flag_unswitch_loops, flag_unroll_loops,
  6761. flag_unroll_all_loops and flag_prefetch_loop_arrays. Those can
  6762. work it out from profile.
  6763. * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Use
  6764. optimize_loop_for_speed_p.
  6765. * predict.c (optimize_bb_for_size_p, optimize_bb_for_speed_p):
  6766. Constify argument.
  6767. (optimize_loop_nest_for_size_p, optimize_loop_nest_for_speed_p): New.
  6768. * tree-parloops.c (parallelize_loops): Use optimize_loop_for_size_p.
  6769. * tree-eh.c (decide_copy_try_finally): Use
  6770. optimize_function_for_size_p.
  6771. * local-alloc.c (block_alloc): Pass BB pointer.
  6772. (find_free_reg): Add BB pointer, use optimize_bb_for_size_p.
  6773. * gcse.c (gcse_main): Use optimize_function_for_size_p.
  6774. * loop-unroll.c (decide_unrolling_and_peeling):
  6775. Use optimize_loop_for_size_p.
  6776. (decide_peel_completely): Likewise.
  6777. * tree-vect-analyze.c (vect_mark_for_runtime_alias_test): Use
  6778. optimize_loop_for_size_p.
  6779. (vect_enhance_data_refs_alignment): Likewise.
  6780. * tree-ssa-coalesce.c (coalesce_cost): Add optimize_for_size argument.
  6781. (coalesce_cost_bb, coalesce_cost_edge, create_outofssa_var_map):
  6782. Update call.
  6783. * cfgcleanup.c (outgoing_edges_match): Use optimize_bb_for_speed_p.
  6784. (try_crossjump_bb): Use optimize_bb_for_size_p.
  6785. * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Use
  6786. optimize_loop_for_speed_p.
  6787. * bb-reorder.c (find_traces_1_round): Likewise.
  6788. (copy_bb): Use optimize_bb_for_speed_p.
  6789. (duplicate_computed_gotos): Likewise.
  6790. * basic-block.h (optimize_loop_nest_for_size_p,
  6791. optimize_loop_nest_for_speed_p): New.
  6792. * stmt.c (expand_case): Use optimize_insn_for_size_p.
  6793. 2008-08-29 Tristan Gingold <gingold@adacore.com>
  6794. * gcov.c (main): Call expandargv.
  6795. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6796. * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Check that loop
  6797. is not cold.
  6798. * predict.c (optimize_bb_for_size_p, optimize_bb_for_speed_p):
  6799. Constify arguments.
  6800. (optimize_loop_for_size_p, optimize_loop_for_speed_p): New functions.
  6801. * basic-block.h (optimize_bb_for_size_p, optimize_bb_for_speed_p):
  6802. Constify.
  6803. (optimize_loop_for_size_p, optimize_loop_for_speed_p): Declare.
  6804. 2008-08-29 Jan Hubicka <jh@suse.cz>
  6805. * tree-pass.h (pass_strip_predict_hints): Declare.
  6806. * predict.c (strip_builtin_expect): Rename to ...
  6807. (strip_predict_hints): ... this one; strip also GIMPLE_PREDICT.
  6808. (tree_bb_level_predictions): Do not remove GIMPLE_PREDICT.
  6809. (tree_estimate_probability): Do not strip builtin_expect.
  6810. (pass_strip_predict_hints): New pass.
  6811. * tree-inline.c (expand_call_inline): When inlining cold function,
  6812. predict it as unlikely.
  6813. * passes.c (init_optimization_passes): Add pass_strip_predict_hints.
  6814. 2008-08-29 Richard Guenther <rguenther@suse.de>
  6815. PR tree-optimization/37207
  6816. * tree-vrp.c (extract_range_from_binary_expr): Also try
  6817. to constant fold if only one of the operands is a constant.
  6818. 2008-08-29 Nick Clifton <nickc@redhat.com>
  6819. * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Treat LABEL_REFs in
  6820. the same way as SYMBOL_REFs.
  6821. 2008-08-28 Bob Wilson <bob.wilson@acm.org>
  6822. * config/xtensa/xtensa.md (<u>mulsidi3): Use a temporary register.
  6823. 2008-08-28 Adam Nemet <anemet@caviumnetworks.com>
  6824. * config/mips/mips.h (ISA_HAS_BBIT): New macro.
  6825. * config/mips/mips.md (branch_likely): Remove const. Fix
  6826. comment formatting.
  6827. (define_delay for type "branch"): Change to only apply for branch
  6828. with likely variant.
  6829. (define_delay for type "branch" and "branch_likely" no). New delay
  6830. definition.
  6831. (equality_op): New code iterator.
  6832. (bbv, bbinv): New code attributes.
  6833. (*branch_bit<bbv><mode>, *branch_bit<bbv><mode>_inverted): New
  6834. patterns.
  6835. 2008-08-28 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  6836. Andrew Pinski <pinskia@gcc.gnu.org>
  6837. PR 18050
  6838. * c-common.c (verify_tree): Fix handling of ADDR_EXPR.
  6839. 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
  6840. * gtrh-posix.h: Fix uses of _POSIX_TIMEOUTS per the normal Posix
  6841. rule that a symbolic constant must be defined and >= 0 for the
  6842. corresponding facility to be present at compile-time.
  6843. * gthr-posix.c: Likewise.
  6844. 2008-08-28 Adam Nemet <anemet@caviumnetworks.com>
  6845. * config/mips/mips.h (ISA_HAS_DMUL3): New macro.
  6846. * config/mips/mips.md (D): New mode attribute.
  6847. (mulsi3, muldi3): Merge it into ...
  6848. (mul<mode>3): ... new template. Use _mul3 ending for 3-op patterns.
  6849. (muldi3_mul3): New pattern.
  6850. (mulsi3_mult3): Rename to mulsi3_mul3.
  6851. 2008-08-28 Jan Hubicka <jh@suse.cz>
  6852. * expmed.c (store_bit_field_1): Be prepared for movstrict expander
  6853. to fail.
  6854. * predict.c (always_optimize_for_size_p): Rename to ...
  6855. (optimize_function_for_size): ... this one; make extern.
  6856. (optimize_function_for_speed_p): New.
  6857. (optimize_bb_for_size_p, optimize_bb_for_size_p,
  6858. optimize_edge_for_size_p,optimize_edge_for_size_p,
  6859. optimize_insn_for_size_p, optimize_insn_for_size_p): Update.
  6860. * basic-block.h (optimize_function_for_size_p,
  6861. optimize_function_for_speed_p): Declare.
  6862. * i386.md (optimize_size checks): Replace them by appropriate
  6863. predicate.
  6864. (standard_80387_constant_p, ix86_compute_frame_layout,
  6865. ix86_expand_epilogue, ix86_decompose_address,
  6866. print_operand, emit_i387_cw_initialization,
  6867. inline_memory_move_cost, ix86_pad_returns,
  6868. ix86_reorg): Replace optimize_size checks.
  6869. 2008-08-28 Richard Sandiford <rdsandiford@googlemail.com>
  6870. * rtl.h (simplify_subreg_regno): Declare.
  6871. * rtlanal.c (simplify_subreg_regno): New function, split out from...
  6872. * simplify-rtx.c (simplify_subreg): ...here.
  6873. * reload.c (find_reloads): Use simplify_subreg_regno instead of
  6874. subreg_offset_representable_p.
  6875. 2008-08-28 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  6876. PR c/30949
  6877. * c-typeck.c (convert_for_assignment): Give a note describing what
  6878. was passed and what was expected.
  6879. 2008-08-28 Joey Ye <joey.ye@intel.com>
  6880. * doc/extend.texi: Document AVX built-in functions.
  6881. * doc/invoke.texi: Document -mavx.
  6882. 2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
  6883. Joey Ye <joey.ye@intel.com>
  6884. Xuepeng Guo <xuepeng.guo@intel.com>
  6885. * config.gcc (extra_headers): Add gmmintrin.h for x86 and x86-64.
  6886. * config/i386/cpuid.h (bit_FMA): New.
  6887. (bit_XSAVE): Likewise.
  6888. (bit_OSXSAVE): Likewise.
  6889. (bit_AVX): Likewise.
  6890. * config/i386/gas.h (ASM_OUTPUT_OPCODE): Undefine before
  6891. define. Use ASM_OUTPUT_AVX_PREFIX.
  6892. * config/i386/gmmintrin.h: New.
  6893. * config/i386/i386.c (x86_64_reg_class): Add X86_64_AVX_CLASS.
  6894. (OPTION_MASK_ISA_AVX_SET): New.
  6895. (OPTION_MASK_ISA_FMA_SET): Likewise.
  6896. (OPTION_MASK_ISA_AVX_UNSET): Likewise.
  6897. (OPTION_MASK_ISA_FMA_SET): Likewise.
  6898. (OPTION_MASK_ISA_SSE4_2_UNSET): Updated.
  6899. (ix86_handle_option): Handle OPT_mavx and OPT_mfma.
  6900. (pta_flags): Add PTA_AVX and PTA_FMA.
  6901. (override_options): Handle PTA_AVX and PTA_FMA.
  6902. (init_cumulative_args): Handle warn_avx.
  6903. (classify_argument): Return 0 for COImode and OImode. Return
  6904. 1 and X86_64_AVX_CLASS for 256bit vector types.
  6905. (examine_argument): Handle X86_64_AVX_CLASS.
  6906. (construct_container): Likewise.
  6907. (function_arg_advance_32): Pass OImode and 256bit vector types
  6908. in AVX register.
  6909. (function_arg_advance_64): Take a new argument to indicate if a
  6910. parameter is named. Handle 256bit vector types. Return
  6911. immediately for unnamed 256bit vector mode parameters.
  6912. (function_arg_advance): Updated.
  6913. (function_arg_32): Add comments for TImode. Handle OImode
  6914. and 256bit vector types.
  6915. (function_arg_64): Take a new argument to indicate if a
  6916. parameter is named. Handle 256bit vector types. Return NULL
  6917. for unnamed 256bit vector mode parameters.
  6918. (function_arg): Updated.
  6919. (setup_incoming_varargs_64): Support
  6920. AVX encoding for *sse_prologue_save_insn.
  6921. (ix86_gimplify_va_arg): Handle 256bit vector mode parameters.
  6922. (standard_sse_constant_p): Return -2 for all 1s if SSE2 isn't
  6923. enabled. For all 1s in 256bit vector modes, return 3 if AVX is
  6924. enabled, otherwise return -3.
  6925. (standard_sse_constant_opcode): Handle AVX and 256bit vector
  6926. modes.
  6927. (print_reg): Support AVX registers. Handle 'x' and 't'.
  6928. Handle 'd' to duplicate the operand.
  6929. (print_operand): Likewise. Also support AVX vector compare
  6930. instructions.
  6931. (output_387_binary_op): Support AVX.
  6932. (output_fp_compare): Likewise.
  6933. (ix86_expand_vector_move_misalign): Likewise.
  6934. (ix86_attr_length_vex_default): New.
  6935. (ix86_builtins): Add IX86_BUILTIN_ADDPD256,
  6936. IX86_BUILTIN_ADDPS256, IX86_BUILTIN_ADDSUBPD256,
  6937. IX86_BUILTIN_ADDSUBPS256, IX86_BUILTIN_ANDPD256,
  6938. IX86_BUILTIN_ANDPS256, IX86_BUILTIN_ANDNPD256,
  6939. IX86_BUILTIN_ANDNPS256, IX86_BUILTIN_BLENDPD256,
  6940. IX86_BUILTIN_BLENDPS256, IX86_BUILTIN_BLENDVPD256,
  6941. IX86_BUILTIN_BLENDVPS256, IX86_BUILTIN_DIVPD256,
  6942. IX86_BUILTIN_DIVPS256, IX86_BUILTIN_DPPS256,
  6943. IX86_BUILTIN_HADDPD256, IX86_BUILTIN_HADDPS256,
  6944. IX86_BUILTIN_HSUBPD256, IX86_BUILTIN_HSUBPS256,
  6945. IX86_BUILTIN_MAXPD256, IX86_BUILTIN_MAXPS256,
  6946. IX86_BUILTIN_MINPD256, IX86_BUILTIN_MINPS256,
  6947. IX86_BUILTIN_MULPD256, IX86_BUILTIN_MULPS256,
  6948. IX86_BUILTIN_ORPD256, IX86_BUILTIN_ORPS256,
  6949. IX86_BUILTIN_SHUFPD256, IX86_BUILTIN_SHUFPS256,
  6950. IX86_BUILTIN_SUBPD256, IX86_BUILTIN_SUBPS256,
  6951. IX86_BUILTIN_XORPD256, IX86_BUILTIN_XORPS256,
  6952. IX86_BUILTIN_CMPSD, IX86_BUILTIN_CMPSS, IX86_BUILTIN_CMPPD,
  6953. IX86_BUILTIN_CMPPS, IX86_BUILTIN_CMPPD256,
  6954. IX86_BUILTIN_CMPPS256, IX86_BUILTIN_CVTDQ2PD256,
  6955. IX86_BUILTIN_CVTDQ2PS256, IX86_BUILTIN_CVTPD2PS256,
  6956. IX86_BUILTIN_CVTPS2DQ256, IX86_BUILTIN_CVTPS2PD256,
  6957. IX86_BUILTIN_CVTTPD2DQ256, IX86_BUILTIN_CVTPD2DQ256,
  6958. IX86_BUILTIN_CVTTPS2DQ256, IX86_BUILTIN_EXTRACTF128PD256,
  6959. IX86_BUILTIN_EXTRACTF128PS256, IX86_BUILTIN_EXTRACTF128SI256,
  6960. IX86_BUILTIN_VZEROALL, IX86_BUILTIN_VZEROUPPER,
  6961. IX86_BUILTIN_VZEROUPPER_REX64, IX86_BUILTIN_VPERMILVARPD,
  6962. IX86_BUILTIN_VPERMILVARPS, IX86_BUILTIN_VPERMILVARPD256,
  6963. IX86_BUILTIN_VPERMILVARPS256, IX86_BUILTIN_VPERMILPD,
  6964. IX86_BUILTIN_VPERMILPS, IX86_BUILTIN_VPERMILPD256,
  6965. IX86_BUILTIN_VPERMILPS256, IX86_BUILTIN_VPERMIL2PD,
  6966. IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256,
  6967. IX86_BUILTIN_VPERMIL2PS256, IX86_BUILTIN_VPERM2F128PD256,
  6968. IX86_BUILTIN_VPERM2F128PS256, IX86_BUILTIN_VPERM2F128SI256,
  6969. IX86_BUILTIN_VBROADCASTSS, IX86_BUILTIN_VBROADCASTSD256,
  6970. IX86_BUILTIN_VBROADCASTSS256, IX86_BUILTIN_VBROADCASTPD256,
  6971. IX86_BUILTIN_VBROADCASTPS256, IX86_BUILTIN_VINSERTF128PD256,
  6972. IX86_BUILTIN_VINSERTF128PS256, IX86_BUILTIN_VINSERTF128SI256,
  6973. IX86_BUILTIN_LOADUPD256, IX86_BUILTIN_LOADUPS256,
  6974. IX86_BUILTIN_STOREUPD256, IX86_BUILTIN_STOREUPS256,
  6975. IX86_BUILTIN_LDDQU256, IX86_BUILTIN_LOADDQU256,
  6976. IX86_BUILTIN_STOREDQU256, IX86_BUILTIN_MASKLOADPD,
  6977. IX86_BUILTIN_MASKLOADPS, IX86_BUILTIN_MASKSTOREPD,
  6978. IX86_BUILTIN_MASKSTOREPS, IX86_BUILTIN_MASKLOADPD256,
  6979. IX86_BUILTIN_MASKLOADPS256, IX86_BUILTIN_MASKSTOREPD256,
  6980. IX86_BUILTIN_MASKSTOREPS256, IX86_BUILTIN_MOVSHDUP256,
  6981. IX86_BUILTIN_MOVSLDUP256, IX86_BUILTIN_MOVDDUP256,
  6982. IX86_BUILTIN_SQRTPD256, IX86_BUILTIN_SQRTPS256,
  6983. IX86_BUILTIN_SQRTPS_NR256, IX86_BUILTIN_RSQRTPS256,
  6984. IX86_BUILTIN_RSQRTPS_NR256, IX86_BUILTIN_RCPPS256,
  6985. IX86_BUILTIN_ROUNDPD256, IX86_BUILTIN_ROUNDPS256,
  6986. IX86_BUILTIN_UNPCKHPD256, IX86_BUILTIN_UNPCKLPD256,
  6987. IX86_BUILTIN_UNPCKHPS256, IX86_BUILTIN_UNPCKLPS256,
  6988. IX86_BUILTIN_SI256_SI, IX86_BUILTIN_PS256_PS,
  6989. IX86_BUILTIN_PD256_PD, IX86_BUILTIN_SI_SI256,
  6990. IX86_BUILTIN_PS_PS256, IX86_BUILTIN_PD_PD256,
  6991. IX86_BUILTIN_VTESTZPD, IX86_BUILTIN_VTESTCPD,
  6992. IX86_BUILTIN_VTESTNZCPD, IX86_BUILTIN_VTESTZPS,
  6993. IX86_BUILTIN_VTESTCPS, IX86_BUILTIN_VTESTNZCPS,
  6994. IX86_BUILTIN_VTESTZPD256, IX86_BUILTIN_VTESTCPD256,
  6995. IX86_BUILTIN_VTESTNZCPD256, IX86_BUILTIN_VTESTZPS256,
  6996. IX86_BUILTIN_VTESTCPS256, IX86_BUILTIN_VTESTNZCPS256,
  6997. IX86_BUILTIN_PTESTZ256, IX86_BUILTIN_PTESTC256,
  6998. IX86_BUILTIN_PTESTNZC256, IX86_BUILTIN_MOVMSKPD256
  6999. and IX86_BUILTIN_MOVMSKPS256,
  7000. (ix86_special_builtin_type): Add V32QI_FTYPE_PCCHAR,
  7001. V8SF_FTYPE_PCV4SF, V8SF_FTYPE_PCFLOAT, V4DF_FTYPE_PCV2DF,
  7002. V4DF_FTYPE_PCDOUBLE, V8SF_FTYPE_PCV8SF_V8SF,
  7003. V4DF_FTYPE_PCV4DF_V4DF, V4SF_FTYPE_PCV4SF_V4SF,
  7004. V2DF_FTYPE_PCV2DF_V2DF, VOID_FTYPE_PCHAR_V32QI,
  7005. VOID_FTYPE_PFLOAT_V8SF, VOID_FTYPE_PDOUBLE_V4DF,
  7006. VOID_FTYPE_PV8SF_V8SF_V8SF, VOID_FTYPE_PV4DF_V4DF_V4DF,
  7007. VOID_FTYPE_PV4SF_V4SF_V4SF and VOID_FTYPE_PV2DF_V2DF_V2DF,
  7008. (ix86_builtin_type): Add INT_FTYPE_V8SF_V8SF_PTEST,
  7009. INT_FTYPE_V4DI_V4DI_PTEST, INT_FTYPE_V4DF_V4DF_PTEST,
  7010. INT_FTYPE_V4SF_V4SF_PTEST, INT_FTYPE_V2DF_V2DF_PTEST,
  7011. INT_FTYPE_V8SF, INT_FTYPE_V4DF, V8SI_FTYPE_V8SF, V8SI_FTYPE_V4SI,
  7012. V8SF_FTYPE_V8SF, V8SF_FTYPE_V8SI, V8SF_FTYPE_V4SF,
  7013. V4SI_FTYPE_V8SI, V4SI_FTYPE_V4DF, V4DF_FTYPE_V4DF,
  7014. V4DF_FTYPE_V4SI, V4DF_FTYPE_V4SF, V4DF_FTYPE_V2DF,
  7015. V4SF_FTYPE_V4DF, V4SF_FTYPE_V8SF, V2DF_FTYPE_V4DF,
  7016. V8SF_FTYPE_V8SF_V8SF, V8SF_FTYPE_V8SF_V8SI,
  7017. V4DF_FTYPE_V4DF_V4DF, V4DF_FTYPE_V4DF_V4DI,
  7018. V4SF_FTYPE_V4SF_V4SI, V2DF_FTYPE_V2DF_V2DI,
  7019. V8SF_FTYPE_V8SF_INT, V4SI_FTYPE_V8SI_INT, V4SF_FTYPE_V8SF_INT,
  7020. V2DF_FTYPE_V4DF_INT, V4DF_FTYPE_V4DF_INT,
  7021. V8SF_FTYPE_V8SF_V8SF_V8SF, V4DF_FTYPE_V4DF_V4DF_V4DF,
  7022. V8SI_FTYPE_V8SI_V8SI_INT, V8SF_FTYPE_V8SF_V8SF_INT,
  7023. V4DF_FTYPE_V4DF_V4DF_INT, V4DF_FTYPE_V4DF_V2DF_INT,
  7024. V8SF_FTYPE_V8SF_V8SF_V8SI_INT, V4DF_FTYPE_V4DF_V4DF_V4DI_INT,
  7025. V4SF_FTYPE_V4SF_V4SF_V4SI_INT and V2DF_FTYPE_V2DF_V2DF_V2DI_INT.
  7026. (bdesc_special_args): Add IX86_BUILTIN_VZEROALL,
  7027. IX86_BUILTIN_VZEROUPPER. IX86_BUILTIN_VZEROUPPER_REX64,
  7028. IX86_BUILTIN_VBROADCASTSS, IX86_BUILTIN_VBROADCASTSD256,
  7029. IX86_BUILTIN_VBROADCASTSS256, IX86_BUILTIN_VBROADCASTPD256,
  7030. IX86_BUILTIN_VBROADCASTPS256, IX86_BUILTIN_LOADUPD256,
  7031. IX86_BUILTIN_LOADUPS256, IX86_BUILTIN_STOREUPD256,
  7032. IX86_BUILTIN_STOREUPS256, IX86_BUILTIN_LOADDQU256,
  7033. IX86_BUILTIN_STOREDQU256, IX86_BUILTIN_LDDQU256,
  7034. IX86_BUILTIN_MASKLOADPD, IX86_BUILTIN_MASKLOADPS,
  7035. IX86_BUILTIN_MASKLOADPD256, IX86_BUILTIN_MASKLOADPS256,
  7036. IX86_BUILTIN_MASKSTOREPD, IX86_BUILTIN_MASKSTOREPS,
  7037. IX86_BUILTIN_MASKSTOREPD256 and IX86_BUILTIN_MASKSTOREPS256.
  7038. (ix86_builtins): Add IX86_BUILTIN_ADDPD256,
  7039. IX86_BUILTIN_ADDPS256, IX86_BUILTIN_ADDSUBPD256,
  7040. IX86_BUILTIN_ADDSUBPS256, IX86_BUILTIN_ANDPD256,
  7041. IX86_BUILTIN_ANDPS256, IX86_BUILTIN_ANDNPD256,
  7042. IX86_BUILTIN_ANDNPS256, IX86_BUILTIN_DIVPD256,
  7043. IX86_BUILTIN_DIVPS256, IX86_BUILTIN_HADDPD256,
  7044. IX86_BUILTIN_HSUBPS256, IX86_BUILTIN_HSUBPD256,
  7045. IX86_BUILTIN_HADDPS256, IX86_BUILTIN_MAXPD256,
  7046. IX86_BUILTIN_MAXPS256, IX86_BUILTIN_MINPD256,
  7047. IX86_BUILTIN_MINPS256, IX86_BUILTIN_MULPD256,
  7048. IX86_BUILTIN_MULPS256, IX86_BUILTIN_ORPD256,
  7049. IX86_BUILTIN_ORPS256, IX86_BUILTIN_SUBPD256,
  7050. IX86_BUILTIN_SUBPS256, IX86_BUILTIN_XORPD256,
  7051. IX86_BUILTIN_XORPS256, IX86_BUILTIN_VPERMILVARPD,
  7052. IX86_BUILTIN_VPERMILVARPS, IX86_BUILTIN_VPERMILVARPD256,
  7053. IX86_BUILTIN_VPERMILVARPS256, IX86_BUILTIN_BLENDPD256,
  7054. IX86_BUILTIN_BLENDPS256, IX86_BUILTIN_BLENDVPD256,
  7055. IX86_BUILTIN_BLENDVPS256, IX86_BUILTIN_DPPS256,
  7056. IX86_BUILTIN_SHUFPD256, IX86_BUILTIN_SHUFPS256,
  7057. IX86_BUILTIN_CMPSD, IX86_BUILTIN_CMPSS, IX86_BUILTIN_CMPPD,
  7058. IX86_BUILTIN_CMPPS,
  7059. IX86_BUILTIN_CMPPD256,IX86_BUILTIN_CMPPS256,
  7060. IX86_BUILTIN_EXTRACTF128PD256, IX86_BUILTIN_EXTRACTF128PS256,
  7061. IX86_BUILTIN_EXTRACTF128SI256, IX86_BUILTIN_CVTDQ2PD256,
  7062. IX86_BUILTIN_CVTDQ2PS256, IX86_BUILTIN_CVTPD2PS256,
  7063. IX86_BUILTIN_CVTPS2DQ256, IX86_BUILTIN_CVTPS2PD256,
  7064. IX86_BUILTIN_CVTTPD2DQ256, IX86_BUILTIN_CVTPD2DQ256,
  7065. IX86_BUILTIN_CVTTPS2DQ256, IX86_BUILTIN_VPERM2F128PD256,
  7066. IX86_BUILTIN_VPERM2F128PS256, IX86_BUILTIN_VPERM2F128SI256,
  7067. IX86_BUILTIN_VPERMILPD, IX86_BUILTIN_VPERMILPS,
  7068. IX86_BUILTIN_VPERMILPD256, IX86_BUILTIN_VPERMILPS256,
  7069. IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMILPS,
  7070. IX86_BUILTIN_VPERMILPD256, IX86_BUILTIN_VPERMILPS256,
  7071. IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS,
  7072. IX86_BUILTIN_VPERMIL2PD256, IX86_BUILTIN_VPERMIL2PS256,
  7073. IX86_BUILTIN_VINSERTF128PD256, IX86_BUILTIN_VINSERTF128PS256,
  7074. IX86_BUILTIN_VINSERTF128SI256, IX86_BUILTIN_MOVSHDUP256,
  7075. IX86_BUILTIN_MOVSLDUP256, IX86_BUILTIN_MOVDDUP256,
  7076. IX86_BUILTIN_SQRTPD256, IX86_BUILTIN_SQRTPS256,
  7077. IX86_BUILTIN_SQRTPS_NR256, IX86_BUILTIN_RSQRTPS256,
  7078. IX86_BUILTIN_RSQRTPS_NR256, IX86_BUILTIN_RCPPS256,
  7079. IX86_BUILTIN_ROUNDPD256, IX86_BUILTIN_ROUNDPS256,
  7080. IX86_BUILTIN_UNPCKHPD256, IX86_BUILTIN_UNPCKLPD256,
  7081. IX86_BUILTIN_UNPCKHPS256, IX86_BUILTIN_UNPCKLPS256,
  7082. IX86_BUILTIN_SI256_SI, IX86_BUILTIN_PS256_PS,
  7083. IX86_BUILTIN_PD256_PD, IX86_BUILTIN_SI_SI256,
  7084. IX86_BUILTIN_PS_PS256, IX86_BUILTIN_PD_PD256,
  7085. IX86_BUILTIN_VTESTZPD, IX86_BUILTIN_VTESTCPD,
  7086. IX86_BUILTIN_VTESTNZCPD, IX86_BUILTIN_VTESTZPS,
  7087. IX86_BUILTIN_VTESTCPS, IX86_BUILTIN_VTESTNZCPS,
  7088. IX86_BUILTIN_VTESTZPD256, IX86_BUILTIN_VTESTCPD256,
  7089. IX86_BUILTIN_VTESTNZCPD256, IX86_BUILTIN_VTESTZPS256,
  7090. IX86_BUILTIN_VTESTCPS256, IX86_BUILTIN_VTESTNZCPS256,
  7091. IX86_BUILTIN_PTESTZ256, IX86_BUILTIN_PTESTC256,
  7092. IX86_BUILTIN_PTESTNZC256, IX86_BUILTIN_MOVMSKPD256 and
  7093. IX86_BUILTIN_MOVMSKPS256.
  7094. (ix86_init_mmx_sse_builtins): Support AVX builtins.
  7095. (ix86_expand_args_builtin): Likewise.
  7096. (ix86_expand_special_args_builtin): Likewise.
  7097. (ix86_hard_regno_mode_ok): Handle AVX modes.
  7098. (ix86_expand_vector_init_duplicate): Likewise.
  7099. (ix86_expand_vector_init_one_nonzero): Likewise.
  7100. (ix86_expand_vector_init_one_var): Likewise.
  7101. (ix86_expand_vector_init_concat): Likewise.
  7102. (ix86_expand_vector_init_general): Likewise.
  7103. (ix86_expand_vector_set): Likewise.
  7104. (ix86_vector_mode_supported_p): Likewise.
  7105. (x86_extended_reg_mentioned_p): Check INSN_P before using
  7106. PATTERN.
  7107. * config/i386/i386-c.c (ix86_target_macros_internal): Handle
  7108. OPTION_MASK_ISA_AVX and OPTION_MASK_ISA_FMA.
  7109. * config/i386/i386.h (TARGET_AVX): New.
  7110. (TARGET_FMA): Likewise.
  7111. (TARGET_CPU_CPP_BUILTINS): Handle TARGET_AVX and TARGET_FMA.
  7112. (BIGGEST_ALIGNMENT): Set to 256 for TARGET_AVX.
  7113. (VALID_AVX256_REG_MODE): New.
  7114. (AVX256_VEC_FLOAT_MODE_P): Likewise.
  7115. (AVX_FLOAT_MODE_P): Likewise.
  7116. (AVX128_VEC_FLOAT_MODE_P): Likewise.
  7117. (AVX256_VEC_FLOAT_MODE_P): Likewise.
  7118. (AVX_VEC_FLOAT_MODE_P): Likewise.
  7119. (ASM_OUTPUT_AVX_PREFIX): Likewise.
  7120. (ASM_OUTPUT_OPCODE): Likewise.
  7121. (UNITS_PER_SIMD_WORD): Add a FIXME for 32byte vectorizer
  7122. support.
  7123. (SSE_REG_MODE_P): Allow 256bit vector modes.
  7124. (ix86_args): Add a warn_avx field.
  7125. * config/i386/i386.md (UNSPEC_PCMP): New.
  7126. (UNSPEC_VPERMIL): Likewise.
  7127. (UNSPEC_VPERMIL2): Likewise.
  7128. (UNSPEC_VPERMIL2F128): Likewise.
  7129. (UNSPEC_MASKLOAD): Likewise.
  7130. (UNSPEC_MASKSTORE): Likewise.
  7131. (UNSPEC_CAST): Likewise.
  7132. (UNSPEC_VTESTP): Likewise.
  7133. (UNSPECV_VZEROALL): Likewise.
  7134. (UNSPECV_VZEROUPPER): Likewise.
  7135. (XMM0_REG): Likewise.
  7136. (XMM1_REG): Likewise.
  7137. (XMM2_REG): Likewise.
  7138. (XMM3_REG): Likewise.
  7139. (XMM4_REG): Likewise.
  7140. (XMM5_REG): Likewise.
  7141. (XMM6_REG): Likewise.
  7142. (XMM8_REG): Likewise.
  7143. (XMM9_REG): Likewise.
  7144. (XMM10_REG): Likewise.
  7145. (XMM11_REG): Likewise.
  7146. (XMM12_REG): Likewise.
  7147. (XMM13_REG): Likewise.
  7148. (XMM14_REG): Likewise.
  7149. (XMM15_REG): Likewise.
  7150. (prefix): Likewise.
  7151. (prefix_vex_imm8): Likewise.
  7152. (prefix_vex_w): Likewise.
  7153. (length_vex): Likewise.
  7154. (maxmin): Likewise.
  7155. (movoi): Likewise.
  7156. (*avx_ashlti3): Likewise.
  7157. (*avx_lshrti3): Likewise.
  7158. (*avx_setcc<mode>): Likewise.
  7159. (*fop_<mode>_comm_mixed_avx): Likewise.
  7160. (*fop_<mode>_comm_avx): Likewise.
  7161. (*fop_<mode>_1_mixed_avx): Likewise.
  7162. (*fop_<mode>_1_avx): Likewise.
  7163. (*avx_<code><mode>3): Likewise.
  7164. (*avx_ieee_smin<mode>3): Likewise.
  7165. (*avx_ieee_smax<mode>3): Likewise.
  7166. (mode): Add OI, V8SF and V4DF.
  7167. (length): Support VEX prefix.
  7168. (*cmpfp_i_mixed): Set prefix attribute.
  7169. (*cmpfp_i_sse): Likewise.
  7170. (*cmpfp_iu_mixed): Likewise.
  7171. (*cmpfp_iu_sse): Likewise.
  7172. (*movsi_1): Support AVX.
  7173. (*movdi_2): Likewise.
  7174. (*movdi_1_rex64): Likewise.
  7175. (*movti_internal): Likewise.
  7176. (*movti_rex64): Likewise.
  7177. (*movsf_1): Likewise.
  7178. (*movdf_nointeger): Likewise.
  7179. (*movdf_integer_rex64): Likewise.
  7180. (*movtf_internal): Likewise.
  7181. (zero_extendsidi2_32): Likewise.
  7182. (zero_extendsidi2_rex64): Likewise.
  7183. (*extendsfdf2_mixed): Likewise.
  7184. (*extendsfdf2_sse): Likewise.
  7185. (*truncdfsf_fast_mixed): Likewise.
  7186. (*truncdfsf_fast_sse): Likewise.
  7187. (*truncdfsf_mixed): Likewise.
  7188. (fix_trunc<mode>di_sse): Likewise.
  7189. (fix_trunc<mode>si_sse): Likewise.
  7190. (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit): Likewise.
  7191. (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit): Likewise.
  7192. (*float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit): Likewise.
  7193. (*float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit): Likewise.
  7194. (*rcpsf2_sse): Likewise.
  7195. (*rsqrtsf2_sse): Likewise.
  7196. (*sqrt<mode>2_sse): Likewise.
  7197. (sse4_1_round<mode>2): Likewise.
  7198. (*sse_prologue_save_insn): Disallow REX prefix for AVX.
  7199. Support AVX. Set length attribute properly for AVX.
  7200. * config/i386/i386-modes.def (VECTOR_MODES (INT, 32)): New.
  7201. (VECTOR_MODES (FLOAT, 32)): Likewise.
  7202. (VECTOR_MODE (INT, DI, 8)): Likewise.
  7203. (VECTOR_MODE (INT, HI, 32)): Likewise.
  7204. (VECTOR_MODE (INT, QI, 64)): Likewise.
  7205. (VECTOR_MODE (FLOAT, DF, 8)): Likewise.
  7206. (VECTOR_MODE (FLOAT, SF, 16)): Likewise.
  7207. (VECTOR_MODE (INT, DI, 4)): Removed.
  7208. (VECTOR_MODE (INT, SI, 8)): Likewise.
  7209. (VECTOR_MODE (INT, HI, 16)): Likewise.
  7210. (VECTOR_MODE (INT, QI, 32)): Likewise.
  7211. (VECTOR_MODE (FLOAT, SF, 8)): Likewise.
  7212. (INT_MODE (OI, 32)): Likewise.
  7213. * config/i386/i386.opt (mavx): New.
  7214. (mfma): Likewise.
  7215. * config/i386/i386-protos.h (ix86_attr_length_vex_default): New.
  7216. * config/i386/mmx.md (*mov<mode>_internal_rex64): Support AVX.
  7217. (*mov<mode>_internal_avx): New.
  7218. (*movv2sf_internal_rex64_avx): Likewise.
  7219. (*movv2sf_internal_avx): Likewise.
  7220. * config/i386/predicates.md (const_4_to_5_operand): New.
  7221. (const_6_to_7_operand): Likewise.
  7222. (const_8_to_11_operand): Likewise.
  7223. (const_12_to_15_operand): Likewise.
  7224. (avx_comparison_float_operator): Likewise.
  7225. * config/i386/sse.md (AVX256MODEI): New.
  7226. (AVX256MODE): Likewise.
  7227. (AVXMODEQI): Likewise.
  7228. (AVXMODE): Likewise.
  7229. (AVX256MODEF2P): Likewise.
  7230. (AVX256MODE2P): Likewise.
  7231. (AVX256MODE4P): Likewise.
  7232. (AVX256MODE8P): Likewise.
  7233. (AVXMODEF2P): Likewise.
  7234. (AVXMODEF4P): Likewise.
  7235. (AVXMODEDCVTDQ2PS): Likewise.
  7236. (AVXMODEDCVTPS2DQ): Likewise.
  7237. (avxvecmode): Likewise.
  7238. (avxvecpsmode): Likewise.
  7239. (avxhalfvecmode): Likewise.
  7240. (avxscalarmode): Likewise.
  7241. (avxcvtvecmode): Likewise.
  7242. (avxpermvecmode): Likewise.
  7243. (avxmodesuffixf2c): Likewise.
  7244. (avxmodesuffixp): Likewise.
  7245. (avxmodesuffixs): Likewise.
  7246. (avxmodesuffix): Likewise.
  7247. (vpermilbits): Likewise.
  7248. (pinsrbits): Likewise.
  7249. (mov<mode>): Likewise.
  7250. (*mov<mode>_internal): Likewise.
  7251. (push<mode>1): Likewise.
  7252. (movmisalign<mode>): Likewise.
  7253. (avx_movup<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7254. (avx_movdqu<avxmodesuffix>): Likewise.
  7255. (avx_lddqu<avxmodesuffix>): Likewise.
  7256. (<plusminus_insn><mode>3): Likewise.
  7257. (*avx_<plusminus_insn><mode>3): Likewise.
  7258. (*avx_vm<plusminus_insn><mode>3): Likewise.
  7259. (mul<mode>3): Likewise.
  7260. (*avx_mul<mode>3): Likewise.
  7261. (*avx_vmmul<mode>3): Likewise.
  7262. (divv8sf3): Likewise.
  7263. (divv4df3): Likewise.
  7264. (avx_div<mode>3): Likewise.
  7265. (*avx_div<mode>3): Likewise.
  7266. (*avx_vmdiv<mode>3): Likewise.
  7267. (avx_rcpv8sf2): Likewise.
  7268. (*avx_vmrcpv4sf2): Likewise.
  7269. (sqrtv8sf2): Likewise.
  7270. (avx_sqrtv8sf2): Likewise.
  7271. (*avx_vmsqrt<mode>2): Likewise.
  7272. (rsqrtv8sf2): Likewise.
  7273. (avx_rsqrtv8sf2): Likewise.
  7274. (*avx_vmrsqrtv4sf2): Likewise.
  7275. (<code><mode>3): Likewise.
  7276. (*avx_<code><mode>3_finite): Likewise.
  7277. (*avx_<code><mode>3): Likewise.
  7278. (*avx_vm<code><mode>3): Likewise.
  7279. (*avx_ieee_smin<mode>3): Likewise.
  7280. (*avx_ieee_smax<mode>3): Likewise.
  7281. (avx_addsubv8sf3): Likewise.
  7282. (avx_addsubv4df3): Likewise.
  7283. (*avx_addsubv4sf3): Likewise.
  7284. (*avx_addsubv2df3): Likewise.
  7285. (avx_h<plusminus_insn>v4df3): Likewise.
  7286. (avx_h<plusminus_insn>v8sf3): Likewise.
  7287. (*avx_h<plusminus_insn>v4sf3): Likewise.
  7288. (*avx_h<plusminus_insn>v2df3): Likewise.
  7289. (avx_cmpp<avxmodesuffixf2c><mode>3): Likewise.
  7290. (avx_cmps<ssemodesuffixf2c><mode>3): Likewise.
  7291. (*avx_maskcmp<mode>3): Likewise.
  7292. (avx_nand<mode>3): Likewise.
  7293. (*avx_<code><mode>3): Likewise.
  7294. (*avx_nand<mode>3): Likewise.
  7295. (*avx_<code><mode>3): Likewise.
  7296. (*avx_cvtsi2ss): Likewise.
  7297. (*avx_cvtsi2ssq): Likewise.
  7298. (*avx_cvtsi2sd): Likewise.
  7299. (*avx_cvtsi2sdq): Likewise.
  7300. (*avx_cvtsd2ss): Likewise.
  7301. (avx_cvtss2sd): Likewise.
  7302. (avx_cvtdq2ps<avxmodesuffix>): Likewise.
  7303. (avx_cvtps2dq<avxmodesuffix>): Likewise.
  7304. (avx_cvttps2dq<avxmodesuffix>): Likewise.
  7305. (*avx_cvtsi2sd): Likewise.
  7306. (*avx_cvtsi2sdq): Likewise.
  7307. (avx_cvtdq2pd256): Likewise.
  7308. (avx_cvtpd2dq256): Likewise.
  7309. (avx_cvttpd2dq256): Likewise.
  7310. (*avx_cvtsd2ss): Likewise.
  7311. (*avx_cvtss2sd): Likewise.
  7312. (avx_cvtpd2ps256): Likewise.
  7313. (avx_cvtps2pd256): Likewise.
  7314. (*avx_movhlps): Likewise.
  7315. (*avx_movlhps): Likewise.
  7316. (avx_unpckhps256): Likewise.
  7317. (*avx_unpckhps): Likewise.
  7318. (avx_unpcklps256): Likewise.
  7319. (*avx_unpcklps): Likewise.
  7320. (avx_movshdup256): Likewise.
  7321. (avx_movsldup256): Likewise.
  7322. (avx_shufps256): Likewise.
  7323. (avx_shufps256_1): Likewise.
  7324. (*avx_shufps_<mode>): Likewise.
  7325. (*avx_loadhps): Likewise.
  7326. (*avx_storelps): Likewise.
  7327. (*avx_loadlps): Likewise.
  7328. (*avx_movss): Likewise.
  7329. (*vec_dupv4sf_avx): Likewise.
  7330. (*vec_concatv2sf_avx): Likewise.
  7331. (*vec_concatv4sf_avx): Likewise.
  7332. (*vec_setv4sf_0_avx): Likewise.
  7333. (*vec_setv4sf_avx): Likewise.
  7334. (*avx_insertps): Likewise.
  7335. (avx_vextractf128<mode>): Likewise.
  7336. (vec_extract_lo_<mode>): Likewise.
  7337. (vec_extract_hi_<mode>): Likewise.
  7338. (vec_extract_lo_<mode>): Likewise.
  7339. (vec_extract_hi_<mode>): Likewise.
  7340. (vec_extract_lo_v16hi): Likewise.
  7341. (vec_extract_hi_v16hi): Likewise.
  7342. (vec_extract_lo_v32qi): Likewise.
  7343. (vec_extract_hi_v32qi): Likewise.
  7344. (avx_unpckhpd256): Likewise.
  7345. (*avx_unpckhpd): Likewise.
  7346. (avx_movddup256): Likewise.
  7347. (*avx_movddup): Likewise.
  7348. (avx_unpcklpd256): Likewise.
  7349. (*avx_unpcklpd): Likewise.
  7350. (avx_shufpd256): Likewise.
  7351. (avx_shufpd256_1): Likewise.
  7352. (*avx_punpckhqdq): Likewise.
  7353. (*avx_punpcklqdq): Likewise.
  7354. (*avx_shufpd_<mode>): Likewise.
  7355. (*avx_storehpd): Likewise.
  7356. (*avx_loadhpd): Likewise.
  7357. (*avx_loadlpd): Likewise.
  7358. (*avx_movsd): Likewise.
  7359. (*vec_concatv2df_avx): Likewise.
  7360. (*avx_<plusminus_insn><mode>3): Likewise.
  7361. (*avx_<plusminus_insn><mode>3): Likewise.
  7362. (*avx_mulv8hi3): Likewise.
  7363. (*avxv8hi3_highpart): Likewise.
  7364. (*avx_umulv8hi3_highpart): Likewise.
  7365. (*avx_umulv2siv2di3): Likewise.
  7366. (*avx_mulv2siv2di3): Likewise.
  7367. (*avx_pmaddwd): Likewise.
  7368. (*avx_mulv4si3): Likewise.
  7369. (*avx_ashr<mode>3): Likewise.
  7370. (*avx_lshr<mode>3): Likewise.
  7371. (*avx_ashl<mode>3): Likewise.
  7372. (*avx_<code><mode>3): Likewise.
  7373. (*avx_eq<mode>3): Likewise.
  7374. (*avx_gt<mode>3): Likewise.
  7375. (*avx_nand<mode>3): Likewise.
  7376. (*avx_nand<mode>3): Likewise.
  7377. (*avx_<code><mode>3): Likewise.
  7378. (*avx_<code><mode>3): Likewise.
  7379. (*avx_packsswb): Likewise.
  7380. (*avx_packssdw): Likewise.
  7381. (*avx_packuswb): Likewise.
  7382. (*avx_punpckhbw): Likewise.
  7383. (*avx_punpcklbw): Likewise.
  7384. (*avx_punpckhwd): Likewise.
  7385. (*avx_punpcklwd): Likewise.
  7386. (*avx_punpckhdq): Likewise.
  7387. (*avx_punpckldq): Likewise.
  7388. (*avx_pinsr<avxmodesuffixs>): Likewise.
  7389. (*avx_pinsrq): Likewise.
  7390. (*avx_loadld): Likewise.
  7391. (*vec_extractv2di_1_rex64_avx): Likewise.
  7392. (*vec_extractv2di_1_avx): Likewise.
  7393. (*vec_dupv2di_avx): Likewise.
  7394. (*vec_concatv2si_avx): Likewise.
  7395. (*vec_concatv4si_1_avx): Likewise.
  7396. (*vec_concatv2di_avx): Likewise.
  7397. (*vec_concatv2di_rex64_avx): Likewise.
  7398. (*avx_uavgv16qi3): Likewise.
  7399. (*avx_uavgv8hi3): Likewise.
  7400. (*avx_psadbw): Likewise.
  7401. (avx_movmskp<avxmodesuffixf2c>256): Likewise.
  7402. (*avx_phaddwv8hi3): Likewise.
  7403. (*avx_phadddv4si3): Likewise.
  7404. (*avx_phaddswv8hi3): Likewise.
  7405. (*avx_phsubwv8hi3): Likewise.
  7406. (*avx_phsubdv4si3): Likewise.
  7407. (*avx_phsubswv8hi3): Likewise.
  7408. (*avx_pmaddubsw128): Likewise.
  7409. (*avx_pmulhrswv8hi3): Likewise.
  7410. (*avx_pshufbv16qi3): Likewise.
  7411. (*avx_psign<mode>3): Likewise.
  7412. (*avx_palignrti): Likewise.
  7413. (avx_blendp<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7414. (avx_blendvp<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7415. (avx_dpp<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7416. (*avx_mpsadbw): Likewise.
  7417. (*avx_packusdw): Likewise.
  7418. (*avx_pblendvb): Likewise.
  7419. (*avx_pblendw): Likewise.
  7420. (avx_vtestp<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7421. (avx_ptest256): Likewise.
  7422. (avx_roundp<avxmodesuffixf2c>256): Likewise.
  7423. (*avx_rounds<ssemodesuffixf2c>): Likewise.
  7424. (*avx_aesenc): Likewise.
  7425. (*avx_aesenclast): Likewise.
  7426. (*avx_aesdec): Likewise.
  7427. (*avx_aesdeclast): Likewise.
  7428. (avx_vzeroupper): Likewise.
  7429. (avx_vzeroupper_rex64): Likewise.
  7430. (avx_vpermil<mode>): Likewise.
  7431. (avx_vpermilvar<mode>3): Likewise.
  7432. (avx_vpermil2<mode>3): Likewise.
  7433. (avx_vperm2f128<mode>3): Likewise.
  7434. (avx_vbroadcasts<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7435. (avx_vbroadcastss256): Likewise.
  7436. (avx_vbroadcastf128_p<avxmodesuffixf2c>256): Likewise.
  7437. (avx_vinsertf128<mode>): Likewise.
  7438. (vec_set_lo_<mode>): Likewise.
  7439. (vec_set_hi_<mode>): Likewise.
  7440. (vec_set_lo_<mode>): Likewise.
  7441. (vec_set_hi_<mode>): Likewise.
  7442. (vec_set_lo_v16hi): Likewise.
  7443. (vec_set_hi_v16hi): Likewise.
  7444. (vec_set_lo_v32qi): Likewise.
  7445. (vec_set_hi_v32qi): Likewise.
  7446. (avx_maskloadp<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7447. (avx_maskstorep<avxmodesuffixf2c><avxmodesuffix>): Likewise.
  7448. (avx_<avxmodesuffixp><avxmodesuffix>_<avxmodesuffixp>): Likewise.
  7449. (avx_<avxmodesuffixp>_<avxmodesuffixp><avxmodesuffix>): Likewise.
  7450. (vec_init<mode>): Likewise.
  7451. (*vec_concat<mode>_avx): Likewise.
  7452. (blendbits): Support V8SF and V4DF.
  7453. (sse2_movq128): Support AVX.
  7454. (<sse>_movnt<mode>): Likewise.
  7455. (sse2_movntv2di): Likewise.
  7456. (sse_rcpv4sf2): Likewise.
  7457. (sse_sqrtv4sf2): Likewise.
  7458. (sse_rsqrtv4sf2): Likewise.
  7459. (<sse>_comi): Likewise.
  7460. (<sse>_ucomi): Likewise.
  7461. (sse_cvtss2si): Likewise.
  7462. (sse_cvtss2si_2): Likewise.
  7463. (sse_cvtss2siq): Likewise.
  7464. (sse_cvtss2siq_2): Likewise.
  7465. (sse_cvttss2si): Likewise.
  7466. (sse_cvttss2siq): Likewise.
  7467. (sse2_cvtsd2si): Likewise.
  7468. (sse2_cvtsd2si_2): Likewise.
  7469. (sse2_cvtsd2siq): Likewise.
  7470. (sse2_cvtsd2siq_2): Likewise.
  7471. (sse2_cvttsd2si): Likewise.
  7472. (sse2_cvttsd2siq): Likewise.
  7473. (sse2_cvtdq2pd): Likewise.
  7474. (*sse2_cvtpd2dq): Likewise.
  7475. (*sse2_cvttpd2dq): Likewise.
  7476. (*sse2_cvtpd2ps): Likewise.
  7477. (sse2_cvtps2pd): Likewise.
  7478. (sse3_movshdup): Likewise.
  7479. (sse3_movsldup): Likewise.
  7480. (sse_storehps): Likewise.
  7481. (*sse4_1_extractps): Likewise.
  7482. (sse2_storelpd): Likewise.
  7483. (vec_dupv2df_sse3): Likewise.
  7484. (*vec_concatv2df_sse3): Likewise.
  7485. (*sse4_1_pextrb): Likewise.
  7486. (*sse4_1_pextrb_memory): Likewise.
  7487. (*sse2_pextrw): Likewise.
  7488. (*sse4_1_pextrw_memory): Likewise.
  7489. (*sse4_1_pextrd): Likewise.
  7490. (*sse4_1_pextrq): Likewise.
  7491. (sse2_pshufd_1): Likewise.
  7492. (sse2_pshuflw_1): Likewise.
  7493. (sse2_pshufhw_1): Likewise.
  7494. (*sse2_storeq_rex64): Likewise.
  7495. (*vec_dupv4si): Likewise.
  7496. (<sse>_movmskp<ssemodesuffixf2c>): Likewise.
  7497. (sse2_pmovmskb): Likewise.
  7498. (*sse2_maskmovdqu): Likewise.
  7499. (*sse2_maskmovdqu_rex64): Likewise.
  7500. (sse_ldmxcsr): Likewise.
  7501. (sse_stmxcsr): Likewise.
  7502. (abs<mode>2): Likewise.
  7503. (sse4_1_movntdqa): Likewise.
  7504. (sse4_1_phminposuw): Likewise.
  7505. (sse4_1_extendv8qiv8hi2): Likewise.
  7506. (*sse4_1_extendv8qiv8hi2): Likewise.
  7507. (sse4_1_extendv4qiv4si2): Likewise.
  7508. (*sse4_1_extendv4qiv4si2): Likewise.
  7509. (sse4_1_extendv2qiv2di2): Likewise.
  7510. (*sse4_1_extendv2qiv2di2): Likewise.
  7511. (sse4_1_extendv4hiv4si2): Likewise.
  7512. (*sse4_1_extendv4hiv4si2): Likewise.
  7513. (sse4_1_extendv2hiv2di2): Likewise.
  7514. (*sse4_1_extendv2hiv2di2): Likewise.
  7515. (sse4_1_extendv2siv2di2): Likewise.
  7516. (*sse4_1_extendv2siv2di2): Likewise.
  7517. (sse4_1_zero_extendv8qiv8hi2): Likewise.
  7518. (*sse4_1_zero_extendv8qiv8hi2): Likewise.
  7519. (sse4_1_zero_extendv4qiv4si2): Likewise.
  7520. (*sse4_1_zero_extendv4qiv4si2): Likewise.
  7521. (sse4_1_zero_extendv2qiv2di2): Likewise.
  7522. (*sse4_1_zero_extendv2qiv2di2): Likewise.
  7523. (sse4_1_zero_extendv4hiv4si2): Likewise.
  7524. (*sse4_1_zero_extendv4hiv4si2): Likewise.
  7525. (sse4_1_zero_extendv2hiv2di2): Likewise.
  7526. (*sse4_1_zero_extendv2hiv2di2): Likewise.
  7527. (sse4_1_zero_extendv2siv2di2): Likewise.
  7528. (*sse4_1_zero_extendv2siv2di2): Likewise.
  7529. (sse4_1_ptest): Likewise.
  7530. (sse4_1_roundp<ssemodesuffixf2c>): Likewise.
  7531. (sse4_2_pcmpestri): Likewise.
  7532. (sse4_2_pcmpestrm): Likewise.
  7533. (sse4_2_pcmpistri): Likewise.
  7534. (sse4_2_pcmpistrm): Likewise.
  7535. (aesimc): Likewise.
  7536. (aeskeygenassist): Likewise.
  7537. 2008-08-28 Uros Bizjak <ubizjak@gmail.com>
  7538. * config/i386/predicates.md (vzeroall_operation): New.
  7539. * config/i386/sse.md (avx_vzeroall): New.
  7540. (*avx_vzeroall): Likewise.
  7541. 2008-08-28 Paul Brook <paul@codesourcery.com>
  7542. Mark Shinwell <shinwell@codesourcery.com>
  7543. Richard Earnshaw <richard.earnshaw@arm.com>
  7544. * config/arm/arm.c (TARGET_MAX_ANCHOR_OFFSET): New.
  7545. (TARGET_MIN_ANCHOR_OFFSET): New.
  7546. (arm_override_options): Set correct anchor ranges for Thumb-1
  7547. and Thumb-2 if required.
  7548. (legitimize_pic_address): Handle case involving a TLS symbol
  7549. reference with an addend.
  7550. (arm_optimization_options): Enable section anchors at -O1 and
  7551. above.
  7552. * config/arm/arm.h (OPTIMIZATION_OPTIONS): New.
  7553. * config/arm/arm-protos.h (arm_optimization_options): New.
  7554. 2008-08-28 Nick Clifton <nickc@redhat.com>
  7555. * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Define.
  7556. * config/stormy16/stormy16.md (zero_extendqihi2): Fix length
  7557. attribute.
  7558. * config/v850/v850.h (IRA_COVER_CLASSES): Define.
  7559. * config/v850/v850.md (return): Remove frame size restriction.
  7560. * config/mcore/mcore.h (IRA_COVER_CLASSES): Define.
  7561. * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Define.
  7562. * config/fr30/fr30.h (IRA_COVER_CLASSES): Define.
  7563. * config/m32r/m32r.h (IRA_COVER_CLASSES): Define.
  7564. 2008-08-28 Paul Brook <paul@codesourcery.com>
  7565. * config/arm/vfp11.md: Update license notice.
  7566. * config/arm/cortex-r4.md: Ditto.
  7567. 2008-08-28 Richard Guenther <rguenther@suse.de>
  7568. PR tree-optimization/37207
  7569. * tree-ssa-ifcombine.c (recognize_single_bit_test): Fix
  7570. tuplification bug.
  7571. 2008-08-28 Dodji Seketeli <dodji@redhat.com>
  7572. PR c++/36741
  7573. * tree.c (int_fits_type_p): Don't forget unsigned integers
  7574. of type sizetype which higher end word equals -1.
  7575. 2008-08-28 Ira Rosen <irar@il.ibm.com>
  7576. * target.h (struct vectorize): Add new target builtin.
  7577. * tree-vectorizer.c (destroy_loop_vec_info): Call
  7578. vect_free_slp_instance instead of vect_free_slp_node.
  7579. * tree-vectorizer.h (enum slp_load_perm_type): New.
  7580. (struct _slp_instance): Add new fields.
  7581. (SLP_INSTANCE_LOAD_PERMUTATION): New.
  7582. (SLP_INSTANCE_LOADS): New.
  7583. (vect_free_slp_tree): Remove.
  7584. (vect_free_slp_instance): Declare.
  7585. (SLP_TREE_LOADS_PERM_TYPE, TARG_VEC_PERMUTE_COST): New.
  7586. (vectorizable_load): Add argument.
  7587. (vect_transform_slp_perm_load): New.
  7588. * tree-vect-analyze.c (vect_analyze_operations): Add an argument to
  7589. vectorizable_load.
  7590. (vect_get_place_in_interleaving_chain): New function.
  7591. (vect_free_slp_tree): Make static.
  7592. (vect_free_slp_instance): New function.
  7593. (vect_build_slp_tree): Add new arguments. Allow load permutations and
  7594. collect the load location in the interleaving chain.
  7595. (vect_supported_slp_permutation_p): New function.
  7596. (vect_supported_load_permutation_p): Likewise.
  7597. (vect_analyze_slp_instance): In case of loads permutation, call
  7598. vect_supported_load_permutation_p to check that the permutation is
  7599. supported.
  7600. * target-def.h (TARGET_VECTORIZE_BUILTIN_VEC_PERM): New.
  7601. * tree-vect-transform.c (vect_transform_stmt): Add new argument.
  7602. (vect_create_mask_and_perm): New function.
  7603. (vect_get_mask_element, vect_transform_slp_perm_load): Likewise.
  7604. (vectorizable_load): Add an argument. Don't keep the created vectors
  7605. statements in the node if permutation is required. Call
  7606. vect_transform_slp_perm_load to generate the permutation.
  7607. (vect_transform_stmt): Add new argument. Call vectorizable_load with
  7608. additional argument.
  7609. (vect_schedule_slp_instance): In case of loads permutation, allocate
  7610. vectorized statements structure for all the related SLP nodes. Call
  7611. vect_transform_stmt with addditional argument.
  7612. (vect_transform_loop): Call vect_transform_stmt with correct arguments.
  7613. * config/spu/spu.c (spu_builtin_vec_perm): New.
  7614. (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Redefine.
  7615. * config/spu/spu.h (TARG_VEC_PERMUTE_COS): Define.
  7616. * config/rs6000/rs6000.c (rs6000_builtin_vec_perm): New.
  7617. (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Redefine.
  7618. 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
  7619. * gthr-posix.h (__gthread_create, __gthread_join, __gthread_detach,
  7620. __gthread_mutex_timed_lock, __gthread_recursive_mutex_timed_lock,
  7621. __gthread_cond_signal, __gthread_cond_timedwait,
  7622. __gthread_cond_timedwait_recursive): New functions.
  7623. * gthr-posix.c (pthread_mutex_timedlock, pthread_cond_timedwait):
  7624. Likewise.
  7625. * gthr.h: Comment on defining __GTHREADS_CXX0X macro in conforming
  7626. thread interfaces.
  7627. 2008-08-28 Richard Guenther <rguenther@suse.de>
  7628. PR middle-end/37005
  7629. * fold-const.c (maybe_canonicalize_comparison_1): Require
  7630. undefined overflow only for canonicalizing A +- CST cmp CST.
  7631. Make sure to not generate new constants that are not inside
  7632. their TYPE_MIN/MAX_VALUE range.
  7633. (maybe_canonicalize_comparison): Remove undefined overflow
  7634. checking from here.
  7635. (fold_binary): Remove now duplicate folding.
  7636. 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
  7637. * c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT
  7638. use not updated in the last change.
  7639. 2008-08-27 Kaz Kojima <kkojima@gcc.gnu.org>
  7640. * config/sh/sh.h (REG_CLASS_CONTENTS): Drop fr32 from FPUL_REGS.
  7641. (IRA_COVER_CLASSES): Add FPUL_REGS.
  7642. 2008-08-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  7643. PR 37217
  7644. * c-common.c (conversion_warning): Check for null operands.
  7645. 2008-08-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  7646. PR c/31673
  7647. * c-decl.c (check_for_loop_decls): Improve error message. Give
  7648. hint.
  7649. 2008-08-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  7650. PR c/37186
  7651. * c-typeck.c (WARN_FOR_ASSIGNMENT): Add OPT parameter.
  7652. (convert_for_assignment): Pass corrent OPT_W* parameter to
  7653. WARN_FOR_ASSIGNMENT.
  7654. 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
  7655. PR c++/35321
  7656. * c-common.c (fold_offsetof_1): Handle TARGET_EXPR like CALL_EXPR.
  7657. 2008-08-27 Paul Brook <paul@codesourcery.com>
  7658. * config.gcc: Loosen checks for arm uclinux eabi targets.
  7659. 2008-08-27 Paul Brook <paul@codesourcery.com>
  7660. * config/arm/t-arm-coff (LIB1ASMFUNCS): Add missing undescrore on
  7661. _clzsi2.
  7662. * config/arm/t-linux (LIB1ASMFUNCS): Ditto.
  7663. 2008-08-26 Douglas Gregor <doug.gregor@gmail.com>
  7664. * c-common.c (do_switch_warnings): Look through the CONST_DECLs in
  7665. the enumerators of an ENUMERAL_TYPE.
  7666. * dbxout.c (dbxout_type): Ditto.
  7667. 2008-08-26 Andrew Pinski <andrew_pinski@playstation.sony.com>
  7668. PR rtl-opt/37219
  7669. * fwprop.c (fwprop): Check that the loop_father is the outer loop.
  7670. (fwprop_addr): Check that the loop_father is not the outer loop.
  7671. 2008-08-26 Paul Brook <paul@codesourcery.com>
  7672. * config/arm/vfp.md: Document fmul{s,d} and fmac{s,d} types.
  7673. Remove documentation entry for fmul type.
  7674. Use fmuls to annotate single-precision multiplication patterns,
  7675. fmuld to annotate double-precision multiplication patterns,
  7676. fmacs to annotate single-precision multiply-accumulate patterns
  7677. and fmacd to annotate double-precision multiply-accumulate patterns.
  7678. * config/arm/vfp11.md: Update reservations accordingly.
  7679. * config/arm/arm.md: Note that certain values of the "type"
  7680. attribute are documented in vfp.md.
  7681. * config/arm/arm1020e.md: Remove out of date duplicate comment.
  7682. (v10_cvt): Use new fmul types.
  7683. 2008-08-26 Paul Brook <paul@codesourcery.com>
  7684. * config/arm/vfp.md: Move pipeline description for VFP11 to...
  7685. * config/arm/vfp11.md: ...here. New.
  7686. * config/arm/arm.md: Include vfp11.md.
  7687. 2008-08-26 Hans-Peter Nilsson <hp@axis.com>
  7688. * opts.c (decode_options) [!IRA_COVER_CLASSES]: Add missing
  7689. parameter to inform call.
  7690. 2008-08-26 Jeff Law <law@redhat.com>
  7691. * mn10300.md (movqi, movhi): Split i->d*a case into two cases to
  7692. avoid the possibility of getting DATA_OR_ADDRESS_REGS as the
  7693. preferred class when copying a constant into a partial word register.
  7694. 2008-08-26 Ben Elliston <bje@au.ibm.com>
  7695. * rtlanal.c: Fix uses of "it's" with "its" where appropriate.
  7696. * cp/typeck.c: Likewise.
  7697. * cp/tree.c: Likewise.
  7698. * gimple-low.c: Likewise.
  7699. * jump.c: Likewise.
  7700. 2008-08-26 Vladimir Makarov <vmakarov@redhat.com>
  7701. * ira-build.c, ira-color.c, ira-costs.c, ira.h, ira-lives.c,
  7702. ira.c, ira-conflicts.c, ira-emit.c, ira-int.h: New files.
  7703. * doc/passes.texi: Describe IRA.
  7704. * doc/tm.texi (IRA_COVER_CLASSES,
  7705. IRA_HARD_REGNO_ADD_COST_MULTIPLIER): Describe the new macros.
  7706. * doc/invoke.texi (ira-max-loops-num): Describe the new parameter.
  7707. (-fira, -fira-algorithm, -fira-coalesce, -fno-ira-move-spills,
  7708. -fira-propagate-cost, -fno-ira-share-save-slots,
  7709. -fno-ira-share-spill-slots, -fira-verbose): Describe new options.
  7710. * flags.h (ira_algorithm): New enumeration.
  7711. (flag_ira_algorithm, flag_ira_verbose): New external variable
  7712. declarations.
  7713. * postreload.c (gate_handle_postreload): Don't do post reload
  7714. optimizations unless the reload is completed.
  7715. * reload.c (push_reload, find_dummy_reload): Use DF_LR_OUT for
  7716. IRA.
  7717. * tree-pass.h (pass_ira): New external variable declaration.
  7718. * reload.h: Add 2008 to the Copyright.
  7719. * cfgloopanal.c: Include params.h.
  7720. (estimate_reg_pressure_cost): Decrease cost for IRA optimization
  7721. mode.
  7722. * params.h (IRA_MAX_LOOPS_NUM): New macro.
  7723. * toplev.c (ira.h): New include.
  7724. (flag_ira_algorithm, flag_ira_verbose): New external variables.
  7725. (backend_init_target): Call ira_init.
  7726. (backend_init): Call ira_init_once.
  7727. (finalize): Call finish_ira_once.
  7728. * toplev.h (flag_ira, flag_ira_coalesce, flag_ira_move_spills,
  7729. flag_ira_share_save_slots, flag_ira_share_spill_slots): New
  7730. external variables.
  7731. * regs.h (contains_reg_of_mode, move_cost, may_move_in_cost,
  7732. may_move_out_cost): New external variable declarations.
  7733. (move_table): New typedef.
  7734. * caller-save.c: Include headers output.h and ira.h.
  7735. (no_caller_save_reg_set): New global variable.
  7736. (save_slots_num, save_slots): New variables.
  7737. (reg_save_code, reg_restore_code, add_stored_regs): Add
  7738. prototypes.
  7739. (init_caller_save): Set up no_caller_save_reg_set.
  7740. (init_save_areas): Reset save_slots_num.
  7741. (saved_hard_reg): New structure.
  7742. (hard_reg_map, saved_regs_num, all_saved_regs): New variables.
  7743. (initiate_saved_hard_regs, new_saved_hard_reg,
  7744. finish_saved_hard_regs, saved_hard_reg_compare_func): New
  7745. functions.
  7746. (setup_save_areas): Add code for sharing stack slots.
  7747. (all_blocks): New variable.
  7748. (save_call_clobbered_regs): Process pseudo-register too.
  7749. (mark_set_regs): Process pseudo-register too.
  7750. (insert_one_insn): Put the insn after bb note in a empty basic
  7751. block. Add insn check.
  7752. * global.c (eliminable_regset): Make it external.
  7753. (mark_elimination): Use DF_LR_IN for IRA.
  7754. (pseudo_for_reload_consideration_p): New.
  7755. (build_insn_chain): Make it external. Don't ignore spilled
  7756. pseudos for IRA. Use pseudo_for_reload_consideration_p.
  7757. (gate_handle_global_alloc): New function.
  7758. (pass_global_alloc): Add the gate function.
  7759. * opts.c (decode_options): Set up flag_ira. Print the warning for
  7760. -fira.
  7761. (common_handle_option): Process -fira-algorithm and -fira-verbose.
  7762. * timevar.def (TV_IRA, TV_RELOAD): New passes.
  7763. * regmove.c (regmove_optimize): Don't do replacement of output for
  7764. IRA.
  7765. * hard-reg-set.h (no_caller_save_reg_set, reg_class_subclasses):
  7766. New external variable declarations.
  7767. * local-alloc.c (update_equiv_regs): Make it external. Return
  7768. true if jump label rebuilding should be done. Rescan new_insn for
  7769. notes.
  7770. (gate_handle_local_alloc): New function.
  7771. (pass_local_alloc): Add the gate function.
  7772. * alias.c (value_addr_p, stack_addr_p): New functions.
  7773. (nonoverlapping_memrefs_p): Use them for IRA.
  7774. * common.opt (fira, fira-algorithm, fira-coalesce,
  7775. fira-move-spills, fira-share-save-slots, fira-share-spill-slots,
  7776. fira-verbose): New options.
  7777. * regclass.c (reg_class_subclasses, contains_reg_of_mode,
  7778. move_cost, may_move_in_cost, may_move_out_cost): Make the
  7779. variables external.
  7780. (move_table): Remove typedef.
  7781. (init_move_cost): Make it external.
  7782. (allocate_reg_info, resize_reg_info, setup_reg_classes): New
  7783. functions.
  7784. * rtl.h (init_move_cost, allocate_reg_info, resize_reg_info,
  7785. setup_reg_classes): New function prototypes.
  7786. (eliminable_regset): New external variable declaration.
  7787. (build_insn_chain, update_equiv_regs): New function prototypes.
  7788. * Makefile.in (IRA_INT_H): New definition.
  7789. (OBJS-common): Add ira.o, ira-build.o, ira-costs.o,
  7790. ira-conflicts.o, ira-color.o, ira-emit.o, and ira-lives.o.
  7791. (reload1.o, toplev.o): Add dependence on ira.h.
  7792. (cfgloopanal.o): Add PARAMS_H.
  7793. (caller-save.o): Add dependence on output.h and ira.h.
  7794. (ira.o, ira-build.o, ira-costs.o, ira-conflicts.o, ira-color.o,
  7795. ira-emit.o, ira-lives.o): New entries.
  7796. * passes.c (pass_ira): New pass.
  7797. * params.def (PARAM_IRA_MAX_LOOPS_NUM): New parameter.
  7798. * reload1.c (ira.h): Include the header.
  7799. (changed_allocation_pseudos): New bitmap.
  7800. (init_reload): Initiate the bitmap.
  7801. (compute_use_by_pseudos): Permits spilled registers in FROM.
  7802. (temp_pseudo_reg_arr): New variable.
  7803. (reload): Allocate and free temp_pseudo_reg_arr. Sort pseudos for
  7804. IRA. Call alter_reg with the additional parameter. Don't clear
  7805. spilled_pseudos for IRA. Restore original insn chain for IRA.
  7806. Clear changed_allocation_pseudos at the end of reload.
  7807. (calculate_needs_all_insns): Call IRA's mark_memory_move_deletion.
  7808. (hard_regno_to_pseudo_regno): New variable.
  7809. (count_pseudo): Check spilled pseudos. Set up
  7810. hard_regno_to_pseudo_regno.
  7811. (count_spilled_pseudo): Check spilled pseudos. Update
  7812. hard_regno_to_pseudo_regno.
  7813. (find_reg): Use better_spill_reload_regno_p. Check
  7814. hard_regno_to_pseudo_regno.
  7815. (alter_reg): Set up spilled_pseudos. Add a new parameter. Add
  7816. code for IRA.
  7817. (eliminate_regs_1): Use additional parameter for alter_reg.
  7818. (finish_spills): Set up pseudo_previous_regs only for spilled
  7819. pseudos. Call reassign_pseudos once for all spilled pseudos, pass
  7820. more arguments. Don't clear live_throughout and dead_or_set for
  7821. spilled pseudos. Use additional parameter for alter_reg. Call
  7822. mark_allocation_change. Set up changed_allocation_pseudos.
  7823. Remove sanity check.
  7824. (emit_input_reload_insns, delete_output_reload): Use additional
  7825. parameter for alter_reg. Call mark_allocation_change.
  7826. (substitute, gen_reload_chain_without_interm_reg_p): New
  7827. functions.
  7828. (reloads_conflict): Use gen_reload_chain_without_interm_reg_p.
  7829. * testsuite/gcc.dg/20080410-1.c: New file.
  7830. * config/s390/s390.h (IRA_COVER_CLASSES,
  7831. IRA_HARD_REGNO_ADD_COST_MULTIPLIER): Define.
  7832. * config/sparc/sparc.h (IRA_COVER_CLASSES): New macro.
  7833. * config/i386/i386.h (IRA_COVER_CLASSES): Ditto.
  7834. * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto.
  7835. * config/rs6000/rs6000.h (IRA_COVER_CLASSES): Ditto.
  7836. * config/arm/arm.h (IRA_COVER_CLASSES): Ditto.
  7837. * config/alpha/alpha.h (IRA_COVER_CLASSES): Ditto.
  7838. 2008-08-24 Jeff Law <law@redhat.com>
  7839. * ira.c (setup_reg_class_intersect_union): Prefer smallest class
  7840. when ignoring unavailable registers.
  7841. 2008-08-24 Jeff Law <law@redhat.com>
  7842. * ira-color.c (coalesced_pseudo_reg_slot_compare): Check
  7843. FRAME_GROWS_DOWNWARD and STACK_GROWS_DOWNWARD.
  7844. * ira.c (setup_eliminable_regset): Check stack_realign_needed.
  7845. * config/mn10300/mn10300.h (IRA_COVER_CLASSES): New macro.
  7846. 2008-06-03 Steve Chamberlain <steve.chamberlain@gmail.com>
  7847. * ira-build.c (allocno_range_compare_func): Stabilize sort.
  7848. 2008-05-29 Andy Hutchinson <hutchinsonandy@aim.com>
  7849. * config/avr/avr.h (IRA_COVER_CLASSES): New macro.
  7850. * reload1.c (find_reg): Process registers in register allocation order.
  7851. 2008-05-10 Richard Sandiford <rsandifo@nildram.co.uk>
  7852. * toplev.c (backend_init_target): Move ira_init call from
  7853. here...
  7854. (lang_dependent_init_target): ...to here.
  7855. 2008-05-10 Richard Sandiford <rsandifo@nildram.co.uk>
  7856. * ira.c (setup_class_subset_and_memory_move_costs): Don't
  7857. calculate memory move costs for NO_REGS.
  7858. 2008-05-05 Kaz Kojima <kkojima@gcc.gnu.org>
  7859. * ira-color.c (ira_fast_allocation): Use no_stack_reg_p only if
  7860. STACK_REGS is defined.
  7861. 2008-04-08 Andrew Pinski <andrew_pinski@playstation.sony.com>
  7862. * config/spu/spu.h (IRA_COVER_CLASSES): New macro.
  7863. 2008-04-04 Bernd Schmidt <bernd.schmidt@analog.com>
  7864. * config/bfin/bfin.h (IRA_COVER_CLASSES): New macro.
  7865. 2008-04-04 Kaz Kojima <kkojima@gcc.gnu.org>
  7866. * config/sh/sh.h (IRA_COVER_CLASSES): Define.
  7867. * config/sh/sh.md (movsicc_true+3): Check if emit returns a
  7868. barrier.
  7869. 2008-08-26 Victor Kaplansky <victork@il.ibm.com>
  7870. Dorit Nuzman <dorit@il.ibm.com>
  7871. * gcc/config/spu/spu.md (vec_extract_evenv4si,
  7872. vec_extract_evenv4sf, vec_extract_evenv8hi,
  7873. vec_extract_evenv16qi, vec_extract_oddv4si,
  7874. vec_extract_oddv4sf, vec_extract_oddv8hi, vec_extract_oddv16qi,
  7875. vec_interleave_highv4sf, vec_interleave_lowv4sf,
  7876. vec_interleave_highv4si, vec_interleave_lowv4si,
  7877. vec_interleave_highv8hi, vec_interleave_lowv8hi,
  7878. vec_interleave_highv16qi, vec_interleave_lowv16qi,
  7879. vec_pack_trunc_v8hi, vec_pack_trunc_v4si): Implement.S
  7880. 2008-08-25 Janis Johnson <janis187@us.ibm.com>
  7881. PR target/36756
  7882. * config/rs6000/rs6000.c (optimization_options): Don't default to
  7883. section anchors without toplevel reorder.
  7884. 2008-08-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  7885. * config/spu/spu_mfcio.h (mfc_begin_critical_section): New function.
  7886. (mfc_end_critical_section): Likewise.
  7887. 2008-08-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  7888. * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): Propagate
  7889. all type qualifiers from element type to vector type.
  7890. 2008-08-25 David Daney <ddaney@avtrex.com>
  7891. * config/mips/mips.md (immediate_insn): Move up in file, fix
  7892. comment typo, reformat.
  7893. (fetchop_bit, atomic_hiqi_op memory_barrier,
  7894. sync_compare_and_swap<mode>, compare_and_swap_12, sync_add<mode>,
  7895. sync_<optab><mode>, sync_<optab>_12, sync_old_<optab><mode>,
  7896. sync_old_<optab>_12, sync_new_<optab><mode>, sync_new_<optab>_12,
  7897. sync_nand<mode>, sync_nand_12, sync_old_nand<mode>,
  7898. sync_old_nand_12, sync_new_nand<mode>, sync_new_nand_12,
  7899. sync_sub<mode>, sync_old_add<mode>, sync_old_sub<mode>,
  7900. sync_new_add<mode>, sync_new_sub<mode>, sync_<optab><mode>,
  7901. sync_old_<optab><mode>, sync_new_<optab><mode>, sync_nand<mode>,
  7902. sync_old_nand<mode>, sync_new_nand<mode>,
  7903. sync_lock_test_and_set<mode>, sync_lock_test_and_set<mode>,
  7904. test_and_set_12): Moved to sync.md.
  7905. (sync.md): Include.
  7906. * config/mips/sync.md: New file.
  7907. 2008-08-25 Richard Henderson <rth@redhat.com>
  7908. * dwarf2out.c (def_cfa_1): Don't scale by DWARF_CIE_DATA_ALIGNMENT.
  7909. (regsave): Likewise.
  7910. (lookup_cfa_1): Don't rescale by DWARF_CIE_DATA_ALIGNMENT.
  7911. (output_cfi_directive): Likewise.
  7912. (div_data_align): New.
  7913. (output_cfi): Use it.
  7914. 2008-08-24 Adam Nemet <anemet@caviumnetworks.com>
  7915. * config.gcc (mips64*-*-linux*): Handle mips64octeon*-*-linux*.
  7916. * config/mips/mips.h (enum processor_type): Add PROCESSOR_OCTEON.
  7917. (TARGET_OCTEON): New macro.
  7918. (TARGET_CPU_CPP_BUILTINS): Define __OCTEON__ for Octeon.
  7919. (MIPS_ISA_LEVEL_SPEC, MIPS_ARCH_FLOAT_SPEC): Handle -march=octeon.
  7920. (ISA_HAS_POP): New macro.
  7921. * config/mips/driver-native.c (host_detect_local_cpu): Handle
  7922. Octeon.
  7923. * config/mips/mips.c (mips_cpu_info_table, mips_rtx_cost_data):
  7924. Handle Octeon.
  7925. * config/mips/mips.md (cpu): Add octeon.
  7926. (type): Add pop attribute value.
  7927. (popcount<mode>2): New pattern.
  7928. * doc/invoke.texi (-march=@var{arch}): Add octeon.
  7929. 2008-08-24 Jan Hubicka <jh@suse.cz>
  7930. * doc/invoke.texi (-fipa-cp-clone): New option.
  7931. (-fipa-cp): Update docs.
  7932. (--param ipcp-unit-growth):New.
  7933. * ipa-cp.c: Include fibheap.h, params.h
  7934. (ipcp_initialize_node_lattices): When not cloning, all externally
  7935. visible functions are bottom.
  7936. (ipcp_need_redirect_p): Accept clones.
  7937. (ipcp_insert_stage): Use cost driven heuristics.
  7938. (max_count, dead_nodes): New static vars.
  7939. (ipcp_need_original_clone_p, ipcp_estimate_cloning_cost,
  7940. ipcp_const_param_count): New functions.
  7941. * common.opt (ipa-cp-clone): New command line option.
  7942. * params.def (ipcp-unit-growth): New.
  7943. 2008-08-24 Jan Hubicka <jh@suse.cz>
  7944. * tree-inline.c (tree_function_versioning): Look harder
  7945. for referenced vars.
  7946. 2008-08-24 Razya Ladelsky <razya@il.ibm.com>
  7947. PR tree-optimization/37185
  7948. * matrix-reorg.c (transform_access_sites): Update changed stmt.
  7949. 2008-08-23 Jan Hubicka <jh@suse.cz>
  7950. * ipa-cp.c (ipcp_analyze_node): New function.
  7951. (ipcp_update_cloned_node): Use it.
  7952. (ipcp_init_stage): Likewise.
  7953. * ipa-inline.c (function_insertion_hook_holder): New static var.
  7954. (analyze_function): Break out from ....
  7955. (inline_generate_summary): Here; register insertion hook.
  7956. (cgraph_decide_inlining): Remove hook.
  7957. (add_new_function): New function.
  7958. 2008-08-23 Jan Hubicka <jh@suse.cz>
  7959. * opts.c (decode_options): Revert accidental change enabling ipa-cp.
  7960. 2008-08-23 Jan Hubicka <jh@suse.cz>
  7961. * ipa-cp.c (constant_val_insert): Remove.
  7962. (ipcp_propagate_one_const): Remove.
  7963. (ipcp_create_replace_map): Always insert replacements to the map.
  7964. (ipcp_insert_stage): Do not try to insert statements by hand.
  7965. * tree-inline.c (insert_init_stmt): Break out from ...
  7966. (setup_one_parameter): ... here; allow NULL BB pointer.
  7967. (tree_function_versioning): Use setup_one_parameter to process
  7968. replacement map.
  7969. 2008-08-23 Jan Hubicka <jh@suse.cz>
  7970. * tree.c (decl_address_ip_invariant_p): New function.
  7971. * tree.h (decl_address_ip_invariant_p): Declare.
  7972. * gimple.c (strip_invariant_refs): Break out from ...
  7973. (is_gimple_invariant_address): ... here
  7974. (is_gimple_ip_invariant_address): New function.
  7975. (is_gimple_ip_invariant): New function.
  7976. * gimple.h (is_gimple_ip_invariant_address, is_gimple_ip_invariant):
  7977. Declare.
  7978. * ipa-cp.c (ipcp_lat_is_const): Remove handling of IPA_CONST_VALUE_REF.
  7979. (ipcp_lat_is_insertable): All constants are insertable.
  7980. (ipcp_lattice_from_jfunc, ipcp_print_all_lattices): Remove handling of
  7981. IPA_CONST_VALUE_REF.
  7982. (ipcp_initialize_node_lattices): Propagate all types of operands.
  7983. (build_const_val): Do not handle IPA_CONST_VALUE_REF.
  7984. (ipcp_create_replace_map): Reformat.
  7985. (ipcp_need_redirect_p): Simplify.
  7986. (ipcp_insert_stage): Check that argument is used before clonning.
  7987. * ipa-prop.c (ipa_print_node_jump_functions): Do not handle
  7988. IPA_CONST_REF.
  7989. (compute_scalar_jump_functions): Simplify using is_gimple_ip_invariat.
  7990. (determine_cst_member_ptr): Keep wrapping ADDR_EXPR of members.
  7991. (update_call_notes_after_inlining): Expect ADDR_EXPR in operand.
  7992. * ipa-prop.h (jump_func_type): Remove IPA_CONST_REF.
  7993. (jump_func_type): Remove IPA_CONST_VALUE_REF.
  7994. * tree-inline.c (tree_function_versioning): Add variables referenced
  7995. by replacing trees.
  7996. 2008-08-23 Jan Hubicka <jh@suse.cz>
  7997. PR target/37094
  7998. * i386.c (standard_80387_constant_p): Use optimize_size.
  7999. 2008-08-23 Ira Rosen <irar@il.ibm.com>
  8000. PR tree-optimization/37161
  8001. * tree-vectorizer.h (vect_get_smallest_scalar_type): Declare.
  8002. * tree-vect-analyze.c (vect_get_smallest_scalar_type): New function.
  8003. (vect_determine_vectorization_factor): Move the scalar type
  8004. retrieval to vect_get_smallest_scalar_type.
  8005. (vect_build_slp_tree): Call vect_get_smallest_scalar_type to get
  8006. scalar type. Remove redundant computation.
  8007. * tree-vect-transform.c (vect_get_constant_vectors): Add argument.
  8008. (vect_get_slp_defs): Take the type of RHS into account if
  8009. necessary by calling vect_get_smallest_scalar_type. Call
  8010. vect_get_constant_vectors with additional argument.
  8011. 2008-08-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8012. PR 35648
  8013. * doc/invoke.texi (Wwrite-strings): Clarify description.
  8014. 2008-08-23 Ira Rosen <irar@il.ibm.com>
  8015. PR tree-optimization/37174
  8016. * tree-vect-analyze.c (vect_get_and_check_slp_defs): Check that the
  8017. def stmt is a part of the loop before accessing its stmt_vec_info.
  8018. 2008-08-22 Anatoly Sokolov <aesok@post.ru>
  8019. PR target/11259
  8020. * config/avr/avr.md (UNSPEC_SWAP): New constants.
  8021. (*swap): New insn pattern.
  8022. (*ashlqi3): Rename from ashlqi3 insn pattern.
  8023. (ashlqi3): New expanders.
  8024. (*lshrqi3): Rename from lshrqi3 insn pattern.
  8025. (lshrqi3): New expanders.
  8026. (ashlqi3_const4, ashlqi3_const5, ashlqi3_const6, lshrqi3_const4,
  8027. lshrqi3_const5, lshrqi3_const6): New splitters.
  8028. (andi, ashlqi3_l_const4, ashlqi3_l_const5, ashlqi3_l_const6,
  8029. lshrqi3_l_const4, lshrqi3_l_const5, lshrqi3_l_const6): Define
  8030. peephole2 patterns.
  8031. 2008-08-22 Richard Guenther <rguenther@suse.de>
  8032. PR tree-optimization/37078
  8033. * tree-vrp.c (extract_range_from_unary_expr): Avoid generating
  8034. [+INF, +INF] ranges.
  8035. 2008-08-22 Richard Guenther <rguenther@suse.de>
  8036. PR tree-optimization/37143
  8037. * tree-vect-transform.c (vect_create_cond_for_align_checks): Build
  8038. a conversion statement instead of a copy.
  8039. 2008-08-22 Uros Bizjak <ubizjak@gmail.com>
  8040. PR target/37184
  8041. * config/i386/i386.c (ix86_match_ccmode): Handle CCAmode,
  8042. CCCmode, CCOmode and CCSmode destination modes.
  8043. PR target/37191
  8044. * config/i386/mmx.md (*vec_extractv2sf_0): Avoid combining registers
  8045. from different units in a single alternative.
  8046. (*vec_extractv2sf_1): Ditto.
  8047. (*vec_extractv2si_0): Ditto.
  8048. (*vec_extractv2si_1): Ditto.
  8049. * config/i386/sse.md (sse2_storehpd): Ditto.
  8050. (sse2_storelpd): Ditto.
  8051. (sse2_loadhpd): Ditto.
  8052. (sse2_loadlpd): Ditto.
  8053. PR target/37197
  8054. * config/i386/i386.md (clzsi2_abm): Fix operand 1 constraints.
  8055. (popcountsi2): Ditto.
  8056. (clzdi2_abm): Ditto.
  8057. (popcountdi2): Ditto.
  8058. (clzhi2_abm): Ditto.
  8059. (popcounthi2): Ditto.
  8060. 2008-08-22 Richard Guenther <rguenther@suse.de>
  8061. PR middle-end/36548
  8062. PR middle-end/37125
  8063. * fold-const.c (extract_muldiv_1): Optimize (X * C1) % C2 only
  8064. if the multiplication does not overflow.
  8065. 2008-08-21 Nathan Sidwell <nathan@codesourcery.com>
  8066. * c-ppoutput.c (init_pp_output): Initialize src_line to 1.
  8067. 2008-08-21 Richard Henderson <rth@redhat.com>
  8068. * configure.ac (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): Remove
  8069. spurrious comma from test.
  8070. * configure: Rebuild.
  8071. 2008-08-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8072. PR 30457
  8073. * builtins.c (fold_builtin_next_arg): Add warning about undefined
  8074. behaviour.
  8075. 2008-08-21 Aldy Hernandez <aldyh@redhat.com>
  8076. * c-tree.h (grokfield): New argument.
  8077. * c-decl.c (grokfield): Handle new location argument.
  8078. * c-parser.c (c_parser_struct_declaration): Pass location to grokfield.
  8079. 2008-08-21 Richard Guenther <rguenther@suse.de>
  8080. * tree-ssa-ccp.c (ccp_fold): Fold VIEW_CONVERT_EXPRs of constants.
  8081. 2008-08-21 Jan Hubicka <jh@suse.cz>
  8082. * cgraph.c (first_cgraph_function_insertion_hook): New variable.
  8083. (cgraph_add_function_insertion_hook,
  8084. cgraph_remove_function_insertion_hook,
  8085. cgraph_call_function_insertion_hooks): New functions.
  8086. * cgraph.h (cgraph_add_function_insertion_hook,
  8087. cgraph_remove_function_insertion_hook,
  8088. cgraph_call_function_insertion_hooks): Declare.
  8089. * ipa-reference.c (function_insertion_hook_holder): New variable.
  8090. (check_operand, look_for_address_of): When checking late, do not care
  8091. about module bitmaps.
  8092. (add_new_function): New function.
  8093. (generate_summary): Register hooks; zero module bitmaps.
  8094. (propagate): Unregister hooks.
  8095. * ipa-pure-const.c (function_insertion_hook_holder): New variable.
  8096. (add_new_function): New function.
  8097. (generate_summary): Register hook.
  8098. (propagate): Remove hook.
  8099. * ipa-cp.c (ipcp_need_redirect_p): Fix to not be constant 0.
  8100. * tree-pass.h (pass_ipa_cp): Make ipa_opt_pass.
  8101. * ipa-cp.c (ipcp_update_cloned_node): New function.
  8102. (build_const_val): Handle functions correctly; bring type logic
  8103. into sync with tree-inline.c
  8104. (ipcp_init_stage): Take care of computing stuff needed by
  8105. indirect inlining; update clones.
  8106. (ipcp_generate_summary): Break out of ipcp_driver.
  8107. (ipcp_driver): Do only execution and transformation.
  8108. (pass_ipa_cp): Make IPA_PASS.
  8109. * tree-ssa-ccp.c (fold_stmt_r): Check type before trying to fold
  8110. offset to address.
  8111. * ipa-inline.c (inline_indirect_intraprocedural_analysis): When doing
  8112. ipcp, some info is already available.
  8113. * ipa-prop.c (ipa_count_arguments): Grow edge lists as needed.
  8114. * tree-inline.c (remap_ssa_name): Unshare expression.
  8115. 2008-08-21 Richard Guenther <rguenther@suse.de>
  8116. * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
  8117. a PHI ask VN if it is already available.
  8118. * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
  8119. * tree-ssa-sccvn.c (vn_phi_lookup): Export.
  8120. 2008-08-21 Richard Guenther <rguenther@suse.de>
  8121. PR middle-end/36817
  8122. * tree-chrec.c (chrec_apply): Always call chrec_fold_plus which
  8123. makes sure to produce a result of the correct type.
  8124. 2008-08-21 Jan Hubicka <jh@suse.cz>
  8125. Backport from LTO branch:
  8126. 2008-05-05 Kenneth Zadeck <zadeck@naturalbridge.com>
  8127. Jan Hubicka <jh@suse.cz>
  8128. * ipa-pure-const.c
  8129. (init_state, finish_state, set_function_state, generate_summary):
  8130. New functions.
  8131. (scan_stmt): Renamed from scan_function. Changed to keep state in
  8132. local static vars rather than cgraph aux field.
  8133. (propagate): Renamed from static_execute. Changed to keep state in
  8134. local static vars rather than cgraph aux field.
  8135. (pass_ipa_pure_const): Changed from SIMPLE_IPA_PASS to IPA_PASS.
  8136. * tree-pass.h (pass_ipa_pure_const): Turn into IPA_PASS.
  8137. 2008-07-15 Kenneth Zadeck <zadeck@naturalbridge.com>
  8138. * tree-pass.h (pass_ipa_reference): Make into ipa_opt_pass.
  8139. * ipa-reference.c (init_function_info, generate_summary,
  8140. propagate): New functions.
  8141. (analyze_function): Call init_function_info.
  8142. (static_execute): Stripped into generate_summary and propagate.
  8143. (pass_ipa_reference): Made into ipa_opt_pass.
  8144. 2008-08-21 Richard Guenther <rguenther@suse.de>
  8145. PR tree-optimization/37181
  8146. * tree-vrp.c (extract_range_from_binary_expr): Check for NULL
  8147. folding result.
  8148. (extract_range_from_unary_expr): Likewise.
  8149. 2008-08-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8150. * diagnostic.c (pedwarn_at): Rename as pedwarn.
  8151. (pedwarn): Delete.
  8152. * toplev.h (pedwarn_at): Likewise.
  8153. * builtins.c: Update all calls to pedwarn.
  8154. * c-lex.c: Likewise.
  8155. * toplev.c: Likewise.
  8156. * c-tree.h: Likewise.
  8157. * c-decl.c: Likewise.
  8158. * c-errors.c: Likewise.
  8159. * c-typeck.c: Likewise.
  8160. * c-common.c: Likewise.
  8161. * c-parser.c: Likewise.
  8162. 2008-08-20 Joseph Myers <joseph@codesourcery.com>
  8163. PR target/31070
  8164. * config/sparc/sparc.c (function_arg_slotno): Handle structure
  8165. with MODE_VECTOR_INT mode.
  8166. 2008-08-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8167. PR middle-end/179
  8168. * tree-ssa.c (warn_uninit): Do not warn for variables that can be
  8169. initialized outside the current module.
  8170. (warn_uninitialized_var): Ignore left-hand side when walking the
  8171. trees. Ignore address expressions. Examine VUSE operands in gimple
  8172. statements with a variable declaration on the right-hand side.
  8173. 2008-08-20 Richard Sandiford <rdsandiford@googlemail.com>
  8174. PR bootstrap/37155
  8175. * rtlanal.c (subreg_offset_representable_p): Revert last change.
  8176. 2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8177. PR 35701
  8178. * c-common.c (conversion_warning): Do not warn if applying bit-and
  8179. operator to unsigned constant that fits in the target type.
  8180. 2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8181. PR c++/35602
  8182. * c-common.c (conversion_warning): Do not warn for artificial
  8183. expressions.
  8184. 2008-08-20 Richard Guenther <rguenther@suse.de>
  8185. * tree-vrp.c (op_with_constant_singleton_value_range): New function.
  8186. (extract_range_from_binary_expr): Fall back to constant propagation.
  8187. (extract_range_from_unary_expr): Likewise.
  8188. 2008-08-20 Richard Guenther <rguenther@suse.de>
  8189. * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Do not mess
  8190. with TREE_THIS_VOLATILE on shared nodes.
  8191. (fold_stmt_r): Likewise.
  8192. 2008-08-20 Jakub Jelinek <jakub@redhat.com>
  8193. PR c/37171
  8194. * c-parser.c (c_parser_attributes): For keywords use canonical
  8195. spelling for attr_name.
  8196. 2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8197. * value-prof.c (check_counter): Revert wrong call to error.
  8198. 2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8199. * profile.c: Update calls to inform.
  8200. * value-prof.c: Update calls to inform.
  8201. 2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8202. * diagnostic.c (inform): Add an explicit location_t parameter.
  8203. * toplev.h (inform): Update declaration.
  8204. * builtins.c: Update all calls to inform.
  8205. * c-common.c: Likewise.
  8206. * c-decl.c: Likewise.
  8207. * c-opts.c: Likewise.
  8208. * c-pch.c: Likewise.
  8209. * c-pragma.c: Likewise.
  8210. * c-typeck.c: Likewise.
  8211. * coverage.c: Likewise.
  8212. * opts.c: Likewise.
  8213. * toplev.c: Likewise.
  8214. * tree-cfg.c: Likewise.
  8215. * tree-ssa.c: Likewise.
  8216. 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
  8217. PR target/37169
  8218. * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): In
  8219. V2DI mode, for SSE4.1, use movq instead of vector set if the
  8220. second element is zero and inter-unit moves are OK.
  8221. 2008-08-20 Richard Guenther <rguenther@suse.de>
  8222. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): More
  8223. properly handle conversion/copy chains after tuplification.
  8224. 2008-08-20 Richard Guenther <rguenther@suse.de>
  8225. * passes.c (init_optimization_passes): Move the second
  8226. forwprop pass before alias computation. Remove the second
  8227. DCE pass. Remove the first dominator and phi copy/const
  8228. prop passes.
  8229. 2008-08-20 Nick Clifton <nickc@redhat.com>
  8230. * configure.ac (HAVE_GAS_CFI_DIRECTIVE): Always test for assembler
  8231. support of this feature. Do not assume that a sufficiently new
  8232. assembler will support the feature regardless of the target type.
  8233. (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): Likewise.
  8234. * configure: Regenerate.
  8235. 2008-08-20 Richard Guenther <rguenther@suse.de>
  8236. * tree-vrp.c (found_in_subgraph): Remove.
  8237. (live): New global static.
  8238. (live_on_edge): New function.
  8239. (blocks_visited): Remove.
  8240. (register_edge_assert_for_2): Use live_on_edge.
  8241. (find_conditional_asserts): Remove code dealing with
  8242. found_in_subgraph. Do not walk the CFG.
  8243. (find_switch_asserts): Likewise.
  8244. (find_assert_locations_1): Renamed from find_assert_locations.
  8245. Move finding assert locations for conditional and switch
  8246. statements first. Update live bitmap. Do not walk the CFG.
  8247. (find_assert_locations): New function.
  8248. (insert_range_assertions): Remove entry of CFG walk.
  8249. Adjust call to find_assert_locations.
  8250. * tree-ssa-pre.c (do_regular_insertion): Ignore critical edges
  8251. that only can appear because of fake exit edges but assert we
  8252. never try to insert on those.
  8253. (fini_pre): Do not remove fake exit edges here...
  8254. (execute_pre): ...but here, before committing edge inserts.
  8255. 2008-08-19 Richard Guenther <rguenther@suse.de>
  8256. * passes.c (init_optimization_passes): Exchange store-ccp
  8257. with a ccp pass.
  8258. 2008-08-19 Rafael Espíndola <espindola@google.com>
  8259. * varasm.c (weak_decls): Move earlier in the file.
  8260. (assemble_external): Add weak decls to the weak_decls list.
  8261. (declare_weak): Don't add decls to the weak_decls list.
  8262. 2008-08-19 H.J. Lu <hongjiu.lu@intel.com>
  8263. PR target/37157
  8264. * config/i386/sse.md (sse2_punpckhqdq, sse2_punpcklqdq): Moved
  8265. before (sse2_shufpd_<mode>).
  8266. 2008-08-19 Jakub Jelinek <jakub@redhat.com>
  8267. PR debug/37156
  8268. * pretty-print.c (pp_base_format): Deal with recursive BLOCK trees.
  8269. * tree.c (block_nonartificial_location): Likewise.
  8270. 2008-08-19 Richard Guenther <rguenther@suse.de>
  8271. PR tree-optimization/35972
  8272. PR tree-optimization/23094
  8273. * tree-ssa-sccvn.h (vn_reference_lookup_pieces): Add maywalk
  8274. parameter.
  8275. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Properly
  8276. handle MISALIGNED_INDIRECT_REF.
  8277. (get_ref_from_reference_ops): New helper.
  8278. (vn_reference_lookup_pieces): Walk the use-def chain using the
  8279. alias-oracle if requested.
  8280. * tree-ssa-pre.c (phi_translate_1): Do reference lookup with
  8281. walking the use-def chain.
  8282. (compute_avail): But not here.
  8283. (create_component_ref_by_pieces_1): Properly handle
  8284. MISALIGNED_INDIRECT_REF.
  8285. (do_regular_insertion): Handle fully redundant
  8286. expressions after PHI-translation also for SSA_NAME values, not
  8287. only constants. Correctly use edoubleprime for that.
  8288. 2008-08-19 Ira Rosen <irar@il.ibm.com>
  8289. * tree-vectorizer.c (supportable_widening_operation): Support
  8290. multi-step conversion, return the number of steps in such conversion
  8291. and the required intermediate types.
  8292. (supportable_narrowing_operation): Likewise.
  8293. * tree-vectorizer.h (vect_pow2): New function.
  8294. (supportable_widening_operation): Change argument types.
  8295. (supportable_narrowing_operation): Likewise.
  8296. (vectorizable_type_promotion): Add an argument.
  8297. (vectorizable_type_demotion): Likewise.
  8298. * tree-vect-analyze.c (vect_analyze_operations): Call
  8299. vectorizable_type_promotion and vectorizable_type_demotion with
  8300. additional argument.
  8301. (vect_get_and_check_slp_defs): Detect patterns.
  8302. (vect_build_slp_tree): Add an argument, don't fail in case of multiple
  8303. types.
  8304. (vect_analyze_slp_instance): Don't fail in case of multiple types.
  8305. Call vect_build_slp_tree with correct arguments. Calculate unrolling
  8306. factor according to the smallest type in the loop.
  8307. (vect_detect_hybrid_slp_stmts): Include statements from patterns.
  8308. * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Call
  8309. supportable_widening_operation with correct arguments.
  8310. * tree-vect-transform.c (vect_get_slp_defs): Allocate output vector
  8311. operands lists according to the number of vector statements in left
  8312. or right node, if exists.
  8313. (vect_gen_widened_results_half): Remove unused argument.
  8314. (vectorizable_conversion): Call supportable_widening_operation,
  8315. supportable_narrowing_operation, and vect_gen_widened_results_half
  8316. with correct arguments.
  8317. (vectorizable_assignment): Change documentation, support multiple
  8318. types in SLP.
  8319. (vectorizable_operation): Likewise.
  8320. (vect_get_loop_based_defs): New function.
  8321. (vect_create_vectorized_demotion_stmts): Likewise.
  8322. (vectorizable_type_demotion): Support loop-aware SLP and general
  8323. multi-step conversion. Call vect_get_loop_based_defs and
  8324. vect_create_vectorized_demotion_stmts for transformation.
  8325. (vect_create_vectorized_promotion_stmts): New function.
  8326. (vectorizable_type_promotion): Support loop-aware SLP and general
  8327. multi-step conversion. Call vect_create_vectorized_promotion_stmts
  8328. for transformation.
  8329. (vectorizable_store): Change documentation, support multiple
  8330. types in SLP.
  8331. (vectorizable_load): Likewise.
  8332. (vect_transform_stmt): Pass SLP_NODE to
  8333. vectorizable_type_promotion and vectorizable_type_demotion.
  8334. (vect_schedule_slp_instance): Move here the calculation of number
  8335. of vectorized statements for each node from...
  8336. (vect_schedule_slp): ... here.
  8337. (vect_transform_loop): Call vect_schedule_slp without the last
  8338. argument.
  8339. 2008-08-19 Dorit Nuzman <dorit@il.ibm.com>
  8340. PR bootstrap/37152
  8341. * tree-vect-transform.c (vect_create_epilog_for_reduction): Change =
  8342. to == in assert statement.
  8343. (vectorizable_reduction): Fix typo.
  8344. 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
  8345. PR bootstrap/37153
  8346. * value-prof.c (check_counter): Dereference pointer to overall
  8347. count when printing it.
  8348. 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
  8349. * profile.h: Really add it.
  8350. 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
  8351. * mcf.c: Really add it.
  8352. 2008-08-18 Paul Yuan <yingbo.com@gmail.com>
  8353. Vinodha Ramasamy <vinodha@google.com>
  8354. * cgraph.c (cgraph_edge): Handle inconsistent counts when setting
  8355. count_scale.
  8356. * value-prof.c (check_counter): Fix the counter if
  8357. flag_profile_correction is true.
  8358. (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform,
  8359. tree_mod_subtract_transform):
  8360. Follow check_counter parameter change.
  8361. * common.opt (fprofile-correction): New option.
  8362. * mcf.c: New file.
  8363. * profile.h: Likewise.
  8364. * profile.c (edge_info, EDGE_INFO): Moved to new file profile.h.
  8365. (sum_edge_counts, is_edge_inconsistent, correct_negative_edge_counts,
  8366. is_inconsistent, set_bb_counts, read_profile_edge_counts): New
  8367. functions.
  8368. (compute_branch_probabilities): Refactored. Invokes mcf_smooth_cfg if
  8369. flag_profile_correction is set.
  8370. 2008-08-18 Richard Sandiford <rdsandiford@googlemail.com>
  8371. * rtlanal.c (subreg_offset_representable_p): Check HARD_REGNO_MODE_OK.
  8372. 2008-08-18 Tomas Bily <tbily@suse.cz>
  8373. * tree.h (IS_CONVERT_EXPR_CODE_P): Renamed to CONVERT_EXPR_CODE_P.
  8374. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Use
  8375. CONVERT_EXPR_P.
  8376. * tree-data-ref.c (split_constant_offset_1): Likewise.
  8377. * tree-inline.c (estimate_operator_cost): Use CASE_CONVERT.
  8378. * tree-sra.c (sra_walk_expr): Likewise.
  8379. * matrix-reorg.c (ssa_accessed_in_assign_rhs): Likewise.
  8380. * tree-ssa-loop-niter.c (expand_simple_operations): Likewise.
  8381. * gimple.h (gimple_assign_cast_p): Use CONVERT_EXPR_CODE_P.
  8382. * tree-ssa-structalias.c (find_func_aliases, find_func_aliases):
  8383. Likewise.
  8384. * gimple.c (gimple_assign_unary_nop_p): Likewise.
  8385. * tree-vect-transform.c (vectorizable_type_demotion)
  8386. (vectorizable_type_promotion): Likewise.
  8387. * tree-inline.c (expand_call_inline):
  8388. * tree-ssa-forwprop.c (get_prop_source_stmt, can_propagate_from)
  8389. (forward_propagate_addr_expr_1, forward_propagate_comparison)
  8390. (tree_ssa_forward_propagate_single_use_vars): Likewise.
  8391. * expr.c (expand_expr_real_1): Likewise.
  8392. * tree-ssa-dom.c (hashable_expr_equal_p, iterative_hash_hashable_expr)
  8393. (gimple_assign_unary_useless_conversion_p): Likewise.
  8394. * tree-stdarg.c (execute_optimize_stdarg): Likewise.
  8395. * tree-ssa-ccp.c (ccp_fold, fold_gimple_assign): Likewise.
  8396. * fold-const.c (fold_unary): Likewise.
  8397. * tree.h (CONVERT_EXPR_P): Likewise.
  8398. * tree.c (simple_cst_equal, iterative_hash_expr): Likewise.
  8399. * tree-ssa-loop-im.c (rewrite_bittest): Likewise.
  8400. * tree-vrp.c:
  8401. (register_edge_assert_for_2, extract_range_from_unary_expr)
  8402. (register_edge_assert_for_1): Likewise.
  8403. 2008-08-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8404. * real.h (dconst_e, dconst_third, dconst_sqrt2, dconst_e_ptr,
  8405. dconst_third_ptr, dconst_sqrt2_ptr): Declare.
  8406. (enum real_value_const): Delete.
  8407. (get_real_const): Delete.
  8408. * real.c (get_real_const): Delete.
  8409. (dconst_e_ptr): Define.
  8410. (dconst_third_ptr): Define.
  8411. (dconst_sqrt2_ptr): Define.
  8412. * builtins.c: Update all callers.
  8413. 2008-08-18 Richard Guenther <rguenther@suse.de>
  8414. * tree-ssa-reassoc.c (reassociate_bb): Properly reset the
  8415. statement iterator after statement removal.
  8416. 2008-08-18 Andreas Tobler <a.tobler@schweiz.org>
  8417. * config/rs6000/driver-rs6000.c (detect_caches_freebsd): New function.
  8418. (detect_processor_freebsd): Likewise.
  8419. (host_detect_local_cpu): Call newly added functions for FreeBSD.
  8420. 2008-08-18 Richard Guenther <rguenther@suse.de>
  8421. * tree-cfg.c (verify_types_in_gimple_assign): Verify copies
  8422. and loads have the correct types.
  8423. 2008-08-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8424. PR cpp/7263
  8425. * c-opts.c (cpp_opts): Remove static.
  8426. * c-parser.c (cpp_opts): Declare it extern.
  8427. (disable_extension_diagnostics): Handle cpp options.
  8428. (enable_extension_diagnostics): Likewise.
  8429. 2008-08-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8430. * diagnostics.c (permerror_at): Rename as permerror.
  8431. (permerror): Delete.
  8432. * toplev.h: Likewise.
  8433. 2008-08-18 Richard Guenther <rguenther@suse.de>
  8434. * passes.c (init_optimization_passes): Remove cleanup_cfg1,
  8435. sdse1 and addressables2 passes. Replace dce1 with cddce1.
  8436. Move call_cdce before build_alias. Move copyrename2,
  8437. cunrolli and ccp2 beafore build_alias. Re-add addressable2
  8438. right after final inlining.
  8439. * tree-cfg.c (build_gimple_cfg): Do not dump function here.
  8440. (pass_build_cfg): But instead via TODO_dump_func.
  8441. 2008-08-18 Richard Guenther <rguenther@suse.de>
  8442. * tree-sra.c (generate_element_init_1): Deal with NULL constructor
  8443. element index.
  8444. (scalarize_init): If we failed to generate some initializers
  8445. do not generate zeros for not instantiated members. Instead
  8446. rely on the copy out.
  8447. * tree-ssa-operands.c (get_addr_dereference_operands): Warn
  8448. about missing flow-sensitive alias info only if we have
  8449. aliases computed.
  8450. 2008-08-17 Nick Clifton <nickc@redhat.com>
  8451. * doc/extend.texi (Function Attributes): Fix typo in description
  8452. if hot function attribute.
  8453. 2008-08-17 Daniel Jacobowitz <dan@codesourcery.com>
  8454. Richard Sandiford <rdsandiford@googlemail.com>
  8455. * doc/install.texi (--with-mips-plt): Document.
  8456. * doc/invoke.texi (-mplt, -mno-plt): Document.
  8457. * config.gcc (mips*-*-*): Add mips-plt to supported_defaults
  8458. and handle ${with_mips_plt}.
  8459. * config/mips/mips.opt (mplt): New option.
  8460. * config/mips/mips.h (TARGET_ABICALLS_PIC0): New macro.
  8461. (TARGET_ABICALLS_PIC2): Likewise.
  8462. (TARGET_GPWORD): Return false for TARGET_ABSOLUTE_ABICALLS.
  8463. (OPTION_DEFAULT_SPECS): Add a mips-plt entry.
  8464. (ASM_SPEC): Use !mabi=* instead of !mabi*.
  8465. (MIPS_CALL): Use TARGET_ABICALLS_PIC2 instead of TARGET_ABICALLS
  8466. to decide whether to output ".option picX" directives.
  8467. * config/mips/linux.h (SUBTARGET_ASM_SPEC): Remove -mabi=64 handling.
  8468. Pass -call_nonpic rather than -KPIC for -mplt.
  8469. (BASE_DRIVER_SELF_SPECS): Remove -mplt if -mno-shared is not present
  8470. on the command line. Also remove it when -mabi=64 is used without
  8471. -msym32.
  8472. * config/mips/linux64.h (SUBTARGET_ASM_SPEC): Delete.
  8473. * config/mips/mips.c (mips_use_pic_fn_addr_reg_p): Handle
  8474. TARGET_ABICALLS_PIC0.
  8475. (mips_classify_symbol): Use TARGET_ABICALLS_PIC2 instead of
  8476. TARGET_ABICALLS.
  8477. (mips16_build_function_stub): Only output ".option pic" directives
  8478. and PIC stubs if TARGET_ABICALLS_PIC2. Call through $25 instead of $1.
  8479. (mips16_build_call_stub): Fix comment and remove redundant
  8480. ".set at"/"set .noat" directives.
  8481. (mips_function_rodata_section): Use the default behaviour for
  8482. TARGET_ABSOLUTE_ABICALLS.
  8483. (mips_file_start): Emit ".option pic0" for TARGET_ABICALLS_PIC0.
  8484. (mips_global_pointer): Handle TARGET_ABICALLS_PIC0.
  8485. (mips_restore_gp): Do nothing if the current function doesn't use
  8486. a global pointer.
  8487. (mips_expand_prologue): Only save $gp if the current function uses it.
  8488. Use a normal move for TARGET_ABICALLS_PIC0.
  8489. (mips_override_options): Only set flag_pic if TARGET_ABICALLS_PIC2.
  8490. 2008-08-17 Richard Sandiford <rdsandiford@googlemail.com>
  8491. * config/mips/mips.c (mips_save_reg_p): Don't short-circuit rest
  8492. of function when handling GLOBAL_POINTER_REGNUM.
  8493. 2008-08-16 Eric Botcazou <ebotcazou@adacore.com>
  8494. PR ada/20548
  8495. * common.opt (-fstack-check): Do not declare the variable here.
  8496. (-fstack-check=): New option variant.
  8497. * doc/invoke.texi (Code Gen Options): Document it.
  8498. * expr.h (STACK_OLD_CHECK_PROTECT): New macro.
  8499. (STACK_CHECK_PROTECT): Bump to 3 pages if DWARF-2 EH is used.
  8500. (STACK_CHECK_STATIC_BUILTIN): New macro.
  8501. * doc/tm.texi (Stack Checking): Document STACK_CHECK_STATIC_BUILTIN.
  8502. * opts.c: Include expr.h.
  8503. (common_handle_option) <OPT_fold_stack_check_>: New case.
  8504. <OPT_fstack_check>: Likewise.
  8505. * calls.c (initialize_argument_information): Use TYPE_SIZE_UNIT
  8506. consistently in the test for variable-sized types. Adjust for
  8507. new behaviour of flag_stack_check.
  8508. * explow.c: Include except.h.
  8509. (allocate_dynamic_stack_space): Do not take into account
  8510. STACK_CHECK_MAX_FRAME_SIZE for static builtin stack checking.
  8511. * function.c (gimplify_parameters): Use DECL_SIZE_UNIT in the test
  8512. for variable-sized parameters. Treat all parameters whose size is
  8513. greater than STACK_CHECK_MAX_VAR_SIZE as variable-sized if generic
  8514. stack checking is enabled.
  8515. * gimplify.c (gimplify_decl_expr): Treat non-static objects whose
  8516. size is greater than STACK_CHECK_MAX_VAR_SIZE as variable-sized
  8517. if generic stack checking is enabled.
  8518. (expand_function_end): Adjust for new behaviour of flag_stack_check.
  8519. * reload1.c (reload): Likewise.
  8520. * stmt.c (expand_decl): Assert that all automatic variables have
  8521. fixed size at this point and remove dead code.
  8522. * flags.h (stack_check_type): New enumeration type.
  8523. (flag_stack_check): Declare.
  8524. * toplev.c (flag_stack_check): New global variable.
  8525. * Makefile.in (opts.o): Add dependency on EXPR_H.
  8526. (explow.o): Add dependency on except.h.
  8527. 2008-08-16 Andy Hutchinson <hutchinsonandy@aim.com>
  8528. * config/avr/avr.c (avr_override_options): Reduce value of
  8529. PARAM_INLINE_CALL_COST.
  8530. 2008-08-15 Eric Botcazou <ebotcazou@adacore.com>
  8531. * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: When converting
  8532. to BLKmode, try to fetch an inner memory reference. Use 'mode' in
  8533. lieu of TYPE_MODE (type) throughout.
  8534. 2008-08-15 Joseph Myers <joseph@codesourcery.com>
  8535. * config/arm/arm.c (add_minipool_backward_ref): Check for
  8536. 8-byte-aligned entries in second case of forcing insertion after a
  8537. particular entry. Change third case to avoid inserting
  8538. non-8-byte-aligned entries before 8-byte-aligned ones.
  8539. 2008-08-15 Richard Guenther <rguenther@suse.de>
  8540. * tree-ssa-ccp.c (maybe_fold_offset_to_reference): Do not
  8541. strip components for unknown size accesses.
  8542. 2008-08-15 Wolfgang Gellerich <gellerich@de.ibm.com>
  8543. * config/s390/2097.md New file.
  8544. * config/s390/s390.md ("z10prop" attribute): Define none,
  8545. z10_super, z10_super_E1, z10_super_A1, z10_super_c,
  8546. z10_super_c_E1, z10_fwd, z10_fwd_A1, z10_fwd_A3, z10_fwd_E1,
  8547. z10_rec, z10_fr, z10_fr_A3, z10_fr_E1, z10_c, and z10_cobra as
  8548. possible values and apply them to insns as appropriate.
  8549. ("type" attribute): Removed itof and added ftrunctf,ftruncdf,
  8550. ftruncsd, ftruncdd, itoftf, itofdf, itofsf, itofdd, itoftd,
  8551. fdivdd, fdivtd, floaddd, floadsd, fmuldd, fmultd, fsimpdd,
  8552. fsimpsd, fsimptd, fstoredd, fstoresd, ftoidfp as possible values.
  8553. ("bfp" mode attribute): Removed. Every occurence replaced
  8554. with <mode>.
  8555. * config/s390/s390.c (struct "z10_cost"): Updated entries.
  8556. * config/s390/2084.md (insn_reservation "x_itof"): Updated
  8557. type attribute.
  8558. 2008-08-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8559. PR c/28152
  8560. * c-parser.c (c_lex_one_token): Do not store the canonical spelling
  8561. for keywords.
  8562. 2008-08-14 Dorit Nuzman <dorit@il.ibm.com>
  8563. * tree-vect-transform.c (vect_create_epilog_for_reduction): Takes an
  8564. additional argument. Support reduction when duplication is needed due
  8565. to data-types of different sizes in the loop.
  8566. (get_initial_def_for_induction): Fix printout.
  8567. (vect_get_vec_def_for_stmt_copy): Support case where the
  8568. vec_stmt_for_operand is a phi node.
  8569. (vectorizable_reduction): Support reduction when duplication is needed
  8570. due to data-types of different sizes in the loop.
  8571. (vectorizable_call): Remove restriction to not vectorize in case we
  8572. have data-types of different sizes in the loop.
  8573. (vectorizable_conversion): Likewise.
  8574. (vectorizable_operation): Likewise.
  8575. (vectorizable_type_demotion): Likewise.
  8576. (vectorizable_type_promotion): Likewise.
  8577. (vectorizable_induction): Add restriction to not vectorize in case
  8578. we have data-types of different sizes in the loop.
  8579. 2008-08-14 Christophe Saout <christophe@saout.de>
  8580. Uros Bizjak <ubizjak@gmail.com>
  8581. PR target/37101
  8582. * config/i386/sse.md (vec_concatv2di): Remove movlps alternative.
  8583. (*vec_concatv2di_rex64_sse4_1): Ditto.
  8584. (*vec_concatv2di_rex64_sse): Ditto.
  8585. 2008-08-14 Jakub Jelinek <jakub@redhat.com>
  8586. PR middle-end/37103
  8587. * fold-const.c (fold_widened_comparison): Do not allow
  8588. sign changes that change the result even if shorter type
  8589. is wider than arg1_unw's type.
  8590. 2008-08-13 Kazu Hirata <kazu@codesourcery.com>
  8591. * gcc.dg/arm-g2.c, gcc.dg/arm-mmx-1.c, gcc.dg/arm-scd42-2.c:
  8592. Skip if the multilib testing specifies -march that does not
  8593. agree with the one specified in the testcase.
  8594. 2008-08-13 Joseph Myers <joseph@codesourcery.com>
  8595. * config/sparc/sparc.c (emit_soft_tfmode_cvt): Explicitly sign or
  8596. zero extend SImode values being converted to TFmode before passing
  8597. to libcalls.
  8598. 2008-08-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8599. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Predefine
  8600. __PPU__ when targeting the Cell/B.E. PPU processor.
  8601. 2008-08-13 Eric Botcazou <ebotcazou@adacore.com>
  8602. * gimple.h (gimple_call_set_chain): Accept SSA variables.
  8603. * tree-ssa-pre.c (create_component_ref_by_pieces_1) <CALL_EXPR>:
  8604. Rematerialize the static chain, if any.
  8605. * tree-ssa-sccvn.c (copy_reference_ops_from_call): Also copy the
  8606. static chain.
  8607. 2008-08-13 H.J. Lu <hongjiu.lu@intel.com>
  8608. * dwarf2out.c (dwarf_stack_op_name): Remove prototype.
  8609. (new_loc_descr): Likewise.
  8610. (add_loc_descr): Likewise.
  8611. (size_of_loc_descr): Likewise.
  8612. (size_of_locs): Likewise.
  8613. (output_loc_operands): Likewise.
  8614. (output_loc_sequence): Likewise.
  8615. (new_reg_loc_descr): New.
  8616. (build_cfa_loc): Use it.
  8617. (build_cfa_aligned_loc): Likewise.
  8618. (one_reg_loc_descriptor): Likewise.
  8619. (based_loc_descr): Likewise.
  8620. 2008-08-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8621. PR 30551
  8622. * doc/invoke.texi (Wmain): Update.
  8623. * c-decl.c (start_decl): warn_main is only 0 or 1.
  8624. (start_function): Likewise. Fix formatting.
  8625. (finish_function): Delete redundant warning.
  8626. * c.opt (Wmain): Add Var(warn_main) and Init(-1).
  8627. * c-opts (c_common_handle_option): -Wall only has effect if
  8628. warn_main is uninitialized. OPT_Wmain is automatically
  8629. handled. -pedantic also enables Wmain.
  8630. (c_common_post_options): Handle all logic for Wmain here.
  8631. * c-common.c (warn_main): Delete.
  8632. (check_main_parameter_types): Make pedwarns conditional on OPT_Wmain.
  8633. * c-common.h (warn_main): Delete.
  8634. 2008-08-13 H.J. Lu <hongjiu.lu@intel.com>
  8635. PR middle-end/36701
  8636. * expr.c (emit_group_store): Allocate stack temp with the
  8637. largest alignment when copying from register to stack.
  8638. 2008-08-13 Richard Guenther <rguenther@suse.de>
  8639. * tree.h (maybe_fold_offset_to_address): Declare.
  8640. * tree-ssa-ccp.c (surely_varying_stmt_p): Fix typo in last commit.
  8641. (ccp_fold): Handle pointer conversions the same as fold_stmt.
  8642. Likewise for POINTER_PLUS_EXPR.
  8643. (maybe_fold_offset_to_reference): Enable disabled code.
  8644. (maybe_fold_offset_to_address): New function.
  8645. (fold_stmt_r): Use it.
  8646. (fold_gimple_assign): Likewise.
  8647. * gimplify.c (gimplify_conversion): Use maybe_fold_offset_to_address.
  8648. (gimplify_expr): Likewise.
  8649. 2008-08-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8650. * toplev.h (pedwarn_at): Fix declaration.
  8651. 2008-08-13 Joseph Myers <joseph@codesourcery.com>
  8652. * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
  8653. LINK_SPEC): Use %R in -Y P argument.
  8654. 2008-08-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8655. PR c/15236
  8656. * diagnostic.c (pedwarn_at): New.
  8657. * toplev.h (pedwarn_at): Declare.
  8658. * c-tree.h (build_enumerator): Update declaration.
  8659. * c-decl.c (finish_enum): Update comment.
  8660. (build_enumerator): Take a location parameter. Give a pedwarn but do
  8661. not perform any conversion.
  8662. * c-parser.c (c_parser_enum_specifier): Set correct location for
  8663. enumerator.
  8664. 2008-08-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8665. PR 35635
  8666. * c-common.c (conversion_warning): Use a switch. Ignore boolean
  8667. expressions except for conversions to signed:1 bitfields. Handle
  8668. COND_EXPR with constant operands.
  8669. 2008-08-13 Richard Guenther <rguenther@suse.de>
  8670. PR tree-optimization/15255
  8671. * tree-ssa-reassoc.c (linearize_expr_tree): Declare.
  8672. (struct oecount_s): New struct and VEC types.
  8673. (cvec): New global.
  8674. (oecount_hash): New function.
  8675. (oecount_eq): Likewise.
  8676. (oecount_cmp): Likewise.
  8677. (zero_one_operation): New function.
  8678. (build_and_add_sum): Likewise.
  8679. (undistribute_ops_list): Perform un-distribution of multiplication
  8680. and division on the chain of summands.
  8681. (should_break_up_subtract): Also break up subtracts for factors.
  8682. (reassociate_bb): Delete dead visited statements.
  8683. Call undistribute_ops_list. Re-sort and optimize if it did something.
  8684. * passes.c (init_optimization_passes): Move DSE before
  8685. reassociation.
  8686. * tree-ssa-loop-niter.c (stmt_dominates_stmt_p): Correctly handle
  8687. PHI nodes.
  8688. 2008-08-12 Janis Johnson <janis187@us.ibm.com>
  8689. * doc/invoke.texi (-fipa-pta): Say the option is experimental.
  8690. * doc/invoke.texi: Revert unintended checkin.
  8691. 2008-08-12 Nathan Froyd <froydnj@codesourcery.com>
  8692. PR libgomp/26165
  8693. * gcc.c (include_spec_function): Tweak call to find_a_file.
  8694. 2008-08-12 Jakub Jelinek <jakub@redhat.com>
  8695. PR middle-end/37014
  8696. * expr.c (expand_expr_real_1): Handle TRUTH_ANDIF_EXPR
  8697. and TRUTH_ORIF_EXPR.
  8698. * dojump.c (do_jump): Likewise.
  8699. PR tree-optimization/37084
  8700. * tree-inline.c (copy_bb): Call gimple_regimplify_operands
  8701. if id->regimplify, don't assume stmt is a cast assignment.
  8702. 2008-08-12 Anatoly Sokolov <aesok@post.ru>
  8703. * final.c (final_scan_insn): Use app_enable/app_disable functions.
  8704. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8705. PR bootstrap/37097
  8706. * builtins.c (do_mpfr_bessel_n): Fix copy-and-paste bug introduced
  8707. by last change.
  8708. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8709. * defaults.h (TARGET_FLOAT_FORMAT): Remove.
  8710. (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT): Remove.
  8711. * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Remove.
  8712. * config/iq2000/iq2000.h (TARGET_FLOAT_FORMAT): Remove.
  8713. * config/pdp11/pdp11.h (TARGET_FLOAT_FORMAT): Remove.
  8714. * config/score/score.h (TARGET_FLOAT_FORMAT): Remove.
  8715. * config/vax/vax.h (TARGET_FLOAT_FORMAT): Remove.
  8716. * doc/tm.texi (Storage Layout): Remove documentation for
  8717. TARGET_FLOAT_FORMAT.
  8718. * simplify-rtx.c (simplify_binary_operation_1): Replace
  8719. TARGET_FLOAT_FORMAT check by appropriate HONOR_... checks.
  8720. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8721. * real.h (struct real_format): New member has_sign_dependent_rounding.
  8722. * real.c (ieee_single_format, mips_single_format, motorola_single_format,
  8723. spu_single_format, ieee_double_format, mips_double_format,
  8724. motorola_double_format, ieee_extended_motorola_format,
  8725. ieee_extended_intel_96_format, ieee_extended_intel_128_format,
  8726. ieee_extended_intel_96_round_53_format, ibm_extended_format,
  8727. mips_extended_format, ieee_quad_format, mips_quad_format,
  8728. vax_f_format, vax_d_format, vax_g_format): Initialize it.
  8729. * config/pdp11/pdp11.c (pdp11_f_format, pdp11_d_format): Likewise.
  8730. * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES,
  8731. MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): Remove.
  8732. * config/spu/spu.h (MODE_HAS_NANS, MODE_HAS_INFINITIES,
  8733. MODE_HAS_SIGN_DEPENDENT_ROUNDING): Remove.
  8734. (ROUND_TOWARDS_ZERO): Likewise.
  8735. * real.h (REAL_MODE_FORMAT): Protect MODE against macro expansion.
  8736. (FLOAT_MODE_FORMAT): New macro.
  8737. (REAL_MODE_FORMAT_COMPOSITE_P): Remove, replace by ...
  8738. (MODE_COMPOSITE_P): ... this new macro.
  8739. (MODE_HAS_NANS, MODE_HAS_INFINITIES, MODE_HAS_SIGNED_ZEROS,
  8740. MODE_HAS_SIGN_DEPENDENT_ROUNDING): New macros.
  8741. * machmode.h (GET_MODE_INNER): Cast result to enum machine_mode.
  8742. * flags.h: Include "real.h".
  8743. * fold-const.c (const_binop): Use MODE_COMPOSITE_P instead of
  8744. REAL_MODE_FORMAT_COMPOSITE_P.
  8745. * simplify-rtx.c (simplify_const_binary_operation): Likewise.
  8746. * doc/tm.texi (Storage Layout): Remove documentation of
  8747. MODE_HAS_NANS, MODE_HAS_INFINITIES, MODE_HAS_SIGNED_ZEROS,
  8748. MODE_HAS_SIGN_DEPENDENT_ROUNDING. Update documentation of
  8749. ROUND_TOWARDS_ZERO and LARGEST_EXPONENT_IS_NORMAL to clarify
  8750. they only apply to libgcc2.a.
  8751. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8752. * config/spu/float_disf.c: New file.
  8753. * config/spu/float_unsdisf.c: New file.
  8754. * config/spu/t-elf (LIB2FUNCS_STATIC_EXTRA): Add them.
  8755. (LIB2FUNCS_EXCLUDE): Define.
  8756. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8757. Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  8758. * real.h (struct real_format): New member round_towards_zero.
  8759. * real.c (round_for_format): Respect fmt->round_towards_zero.
  8760. (ieee_single_format, mips_single_format, motorola_single_format,
  8761. spu_single_format, ieee_double_format, mips_double_format,
  8762. motorola_double_format, ieee_extended_motorola_format,
  8763. ieee_extended_intel_96_format, ieee_extended_intel_128_format,
  8764. ieee_extended_intel_96_round_53_format, ibm_extended_format,
  8765. mips_extended_format, ieee_quad_format, mips_quad_format,
  8766. vax_f_format, vax_d_format, vax_g_format): Initialize it.
  8767. * config/pdp11/pdp11.c (pdp11_f_format, pdp11_d_format): Likewise.
  8768. * builtins.s (do_mpfr_arg1): Consider round_towards_zero member of
  8769. real_format to choose rounding mode when calling MPFR functions.
  8770. (do_mpfr_arg2, do_mpfr_arg3, do_mpfr_sincos): Likewise.
  8771. (do_mpfr_bessel_n, do_mpfr_remquo, do_mpfr_lgamma_r): Likewise.
  8772. * real.h (real_to_decimal_for_mode): Add prototype.
  8773. * real.c (real_to_decimal_for_mode): Renames old real_to_decimal.
  8774. Respect target rounding mode when generating decimal representation.
  8775. (real_to_decimal): New stub for backwards compatibility.
  8776. * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Use
  8777. real_to_decimal_for_mode instead of real_to_decimal.
  8778. * config/spu/spu.md ("floatdisf2", "floatunsdisf2"): New.
  8779. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8780. Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  8781. * real.c (spu_single_format): New variable.
  8782. * real.h (spu_single_format): Declare.
  8783. * config/spu/spu.c (spu_override_options): Install SFmode format.
  8784. (spu_split_immediate): Use integer mode to operate on pieces of
  8785. floating-point values in all cases.
  8786. * config/spu/spu.md (UNSPEC_FLOAT_EXTEND, UNSPEC_FLOAT_TRUNCATE): New.
  8787. ("extendsfdf2"): Use UNSPEC_FLOAT_EXTEND instead of FLOAT_EXTEND.
  8788. ("truncdfsf2"): Use UNSPEC_FLOAT_TRUNCATE instead of FLOAT_TRUNCATE.
  8789. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8790. * config/spu/spu.c (spu_safe_dma): Respect TARGET_SAFE_DMA.
  8791. 2008-08-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  8792. * config/spu/spu.h (DWARF_FRAME_RETURN_COLUMN): Define.
  8793. 2008-08-12 Jakub Jelinek <jakub@redhat.com>
  8794. PR c++/36688
  8795. * gimplify.c (gimplify_modify_expr_rhs): Test TREE_READONLY
  8796. on the VAR_DECL instead of TYPE_READONLY on its type.
  8797. 2008-08-12 Ira Rosen <irar@il.ibm.com>
  8798. * tree-vectorizer.c: Depend on langhooks.h.
  8799. (supportable_widening_operation): Add two arguments. Support double
  8800. type conversions.
  8801. (supportable_narrowing_operation): Likewise.
  8802. * tree-vectorizer.h (supportable_widening_operation): Add two
  8803. arguments.
  8804. (supportable_narrowing_operation): Likewise.
  8805. * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Call
  8806. supportable_widening_operation with correct arguments.
  8807. * tree-vect-transform.c (vectorizable_conversion): Likewise.
  8808. (vectorizable_type_demotion): Support double type conversions.
  8809. (vectorizable_type_promotion): Likewise.
  8810. * Makefile.in (tree-vectorizer.o): Depend on langhooks.h.
  8811. 2008-08-11 Michael Matz <matz@suse.de>
  8812. * i386/i386.c (override_options): Move initialisation from
  8813. flag_schedule_insns_after_reload to here from ...
  8814. (optimization_options): ... here.
  8815. 2008-08-11 Jakub Jelinek <jakub@redhat.com>
  8816. PR rtl-optimization/36998
  8817. * dwarf2out.c (compute_barrier_args_size_1,
  8818. compute_barrier_args_size): Temporarily remove assertions.
  8819. 2008-08-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  8820. PR middle-end/20644
  8821. * tree-ssa.c (struct walk_data): Add new flag
  8822. warn_possibly_uninitialized.
  8823. (warn_uninitialized_var): Use it.
  8824. (warn_uninitialized_vars): New.
  8825. (execute_early_warn_uninitialized): Call it.
  8826. (execute_late_warn_uninitialized): Likewise.
  8827. 2008-08-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
  8828. PR middle-end/36238
  8829. * reload1.c (gen_reload): Guard calls to get_secondary_mem
  8830. for memory subregs.
  8831. 2008-08-09 Jan Hubicka <jh@suse.cz>
  8832. PR target/37055
  8833. * optabs.c (maybe_emit_unop_insn): Remove produced code if
  8834. expansion failed.
  8835. (expand_fix): Be prepared for expansion to fail.
  8836. (expand_sfix_optab): Remove instructions if expansion failed.
  8837. 2008-08-09 Anatoly Sokolov <aesok@post.ru>
  8838. * config/avr/avr.c (avr_mcu_types): Move the AT43USB320 device to
  8839. avr31 architecture.
  8840. * config/avr/avr.h (CRT_BINUTILS_SPECS): (Ditto.).
  8841. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
  8842. 2008-08-09 Richard Sandiford <rdsandiford@googlemail.com>
  8843. * config.gcc (mips*-*-linux*, mips64*-*-linux*): Add
  8844. mips/t-libgcc-mips16 to tmake_file.
  8845. * config/mips/mips-protos.h (mips_call_type): New enum.
  8846. (mips_pic_base_register, mips_got_load): Declare.
  8847. (mips_restore_gp): Take an rtx argument.
  8848. (mips_use_pic_fn_addr_reg_p): Declare.
  8849. (mips_expand_call): Replace the sibcall_p argument with
  8850. a mips_call_type argument. Add a lazy_p parameter.
  8851. (mips_split_call): Declare.
  8852. * config/mips/mips.h (MIPS16_PIC_TEMP_REGNUM): New macro.
  8853. (MIPS16_PIC_TEMP): Likewise.
  8854. (reg_class): Delete M16_NA_REGS.
  8855. (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
  8856. (SYMBOL_FLAG_BIND_NOW, SYMBOL_REF_BIND_NOW_P): New macros.
  8857. (mips_split_hi_p): Declare.
  8858. * config/mips/mips.c (mips_split_hi_p): New array.
  8859. (mips_regno_to_class): Change M16_NA_REGS entries to M16_REGS.
  8860. (mips_got_symbol_type_p): New function.
  8861. (mips_global_symbol_p): Check SYMBOL_REF_EXTERNAL_P.
  8862. (mips16_stub_function_p): New function.
  8863. (mips16_local_function_p): Likewise.
  8864. (mips_use_pic_fn_addr_reg_p): Likewise.
  8865. (mips_cannot_force_const_mem): Return false for HIGHs.
  8866. Extend CONST_INT and symbolic handling to MIPS16, using
  8867. mips_symbol_insns to check that the base symbol type is a
  8868. legitimate constant. Reject GOT-based constants if
  8869. TARGET_MIPS16_PCREL_LOADS.
  8870. (mips_const_insns): Check targetm.cannot_force_const_mem when
  8871. decomposing a symbolic base and a large offset.
  8872. (mips_emit_call_insn): Add ORIG_ADDR and ADDR parameters.
  8873. When calling a function that needs $25 from MIPS16 code,
  8874. move the target address into $25 separately and add a USE
  8875. to the call insn.
  8876. (mips16_gp_pseudo_reg): Insert the initializer immediately
  8877. before the first real insn.
  8878. (mips_pic_base_register, mips_got_load): New functions.
  8879. (mips_split_symbol): Generalize the name of the LO_SUM_OUT
  8880. parameter to LOW_OUT. Say that it can be any valid SET_SRC
  8881. when splitting a load-address operation. Split SYMBOL_GOT_DISP
  8882. constants and highs of SYMBOL_GOT_PAGE_OFST constants.
  8883. (mips_call_tls_get_addr): Update the call to mips_expand_call,
  8884. also passing NULL_RTX rather than const0_rtx as the aux argument.
  8885. (mips_rewrite_small_data_p): Check mips_lo_relocs and mips_split_p
  8886. instead of TARGET_EXPLICIT_RELOCS.
  8887. (mips_ok_for_lazy_binding_p): Check SYMBOL_REF_BIND_NOW_P.
  8888. (mips_load_call_address): Replace the sibcall_p argument with
  8889. a mips_call_type argument. Use mips_got_load.
  8890. (mips16_local_alias): New structure.
  8891. (mips16_local_aliases): New variable.
  8892. (mips16_local_aliases_hash): New function.
  8893. (mips16_local_aliases_eq): Likewise.
  8894. (mips16_local_alias): Likewise.
  8895. (mips16_stub_function): Likewise.
  8896. (mips16_build_function_stub): Create a local alias for the target
  8897. function. Handle TARGET_ABICALLS. For PIC abicalls, emit a
  8898. .cpload directive and an R_MIPS_NONE relocation for the target
  8899. function, then load the alias rather than the function itself.
  8900. Wrap the non-PIC abicalls version in ".option pic0/.option pic2".
  8901. (mips16_copy_fpr_return_value): Use mips16_stub_function and
  8902. mips_expand_call. Set SYMBOL_REF_BIND_NOW on the symbol.
  8903. (mips16_build_call_stub): Replace the FN parameter with an
  8904. FN_PTR parameter. Force the address into a register if it
  8905. isn't a call_insn_operand; don't rely on the caller to do this.
  8906. If a call to a locally-defined and locally-binding MIPS16
  8907. function must be made indirectly, redirect the call to the
  8908. function's local alias. Use mips16_stub_function_p,
  8909. mips16_stub_function, mips_expand_call and use_reg.
  8910. Set SYMBOL_FLAG_BIND_NOW on __mips_call_* symbols.
  8911. Use explicit %hi and %lo accesses where possible.
  8912. Use MIPS_CALL to generate the correct code form of a
  8913. jal instruction. Add clobbers of $18 instead of uses.
  8914. Update the call to mips_emit_call_insn.
  8915. (mips_expand_call): Replace the SIBCALL_P argument with a
  8916. mips_call_type argument and handle the new MIPS_CALL_EPILOGUE value.
  8917. Take a LAZY_P parameter. Call mips16_build_call_stub first,
  8918. allowing it to modify the call address. Update the calls to
  8919. mips_load_call_address and mips_emit_call_insn.
  8920. (mips_split_call): New function.
  8921. (mips_init_relocs): Clear mips_split_hi_p. Only use %gp_rel if
  8922. !TARGET_MIPS16. Split SYMBOL_GOT_DISP, and the high parts of
  8923. SYMBOL_GOT_PAGE_OFST, for MIPS16 code.
  8924. (mips_global_pointer): Check mips16_cfun_returns_in_fpr_p.
  8925. (mips_extra_live_on_entry): Include MIPS16_PIC_TEMP_REGNUM
  8926. if TARGET_MIPS16.
  8927. (mips_cprestore_slot): New function.
  8928. (mips_restore_gp): Take a TEMP parameter. Handle TARGET_MIPS16
  8929. and use mips_cprestore_slot.
  8930. (mips_output_function_prologue): Handle TARGET_MIPS16 for
  8931. LOADGP_OLDABI.
  8932. (mips_emit_loadgp): Move into MIPS16_PIC_TEMP for MIPS16,
  8933. then use a copygp_mips16 instruction to set up $28.
  8934. (mips_expand_prologue): Initialize the cprestore slot for MIPS16 too.
  8935. (mips16_lay_out_constants): Call split_all_insns_noflow.
  8936. (mips_reorg_process_insns): Explicitly set all_noreorder_p to
  8937. false if TARGET_MIPS16.
  8938. (mips_reorg): Don't call vr4130_align_insns if TARGET_MIPS16.
  8939. (mips_output_mi_thunk): Use mips_got_symbol_type_p. Use the
  8940. mips_dangerous_for_la25_p approach for MIPS16 PIC calls too.
  8941. (mips_set_mips16_mode): Always set MASK_EXPLICIT_RELOCS for
  8942. MIPS16 code. Allow MIPS16 o32 PIC.
  8943. (mips_override_options): Allow MIPS16 o32 PIC.
  8944. * config/mips/mips.md: Lower CONST_GP_P moves into register moves
  8945. after reload if TARGET_USE_GOT.
  8946. (UNSPEC_COPYGP): New constant.
  8947. (length): Use a default length of 8 for MIPS16 GOT loads.
  8948. (*got_disp<mode>): Check mips_split_p instead of TARGET_XGOT.
  8949. (*got_page<mode>): Check mips_split_hi_p.
  8950. (*got_disp<mode>, *got_page<mode>): Use mips_got_load.
  8951. (unspec_got<mode>, unspec_call<mode>): New expanders.
  8952. (load_got<mode>, load_call<mode>): Remove the length attributes.
  8953. Use a got attribute instead of a type attribute.
  8954. (copygp_mips16): New insn.
  8955. (restore_gp): Add a scratch clobber and pass it to mips_restore_gp.
  8956. (load_call<mode>): Use a "d" constraint instead of an "r" constraint.
  8957. (sibcall, sibcall_value, call, call_value): Update the calls
  8958. to mips_expand_call.
  8959. (call_internal, call_value_internal): Use mips_split_call.
  8960. (call_value_multiple_internal): Likewise.
  8961. (call_split): Move after call_internal (the insn it is split from).
  8962. (call_internal_direct, call_value_internal_direct): Turn into
  8963. define_insn_and_splits. Split if TARGET_SPLIT_CALLS.
  8964. (call_direct_split, call_value_direct_split): New patterns.
  8965. * config/mips/constraints.md (c): Handle TARGET_MIPS16 first
  8966. and use M16_REGS instead of M16_NA_REGS.
  8967. * config/mips/predicates.md (const_call_insn_operand): Replace
  8968. the TARGET_ABSOLUTE_ABICALLS-based check with a more general
  8969. mips_use_pic_fn_addr_reg_p check.
  8970. (move_operand): Reject HIGHs if mips_split_hi_p.
  8971. * config/mips/mips16.S: Assembly as empty if the ABI is not suitable.
  8972. (__mips16_floatunsisf): Inline __mips16_floatsisf.
  8973. (CALL_STUB_NO_RET, CALL_STUB_REG): Copy the target register to $25.
  8974. * config/mips/libgcc-mips16.ver: New file.
  8975. * config/mips/t-libgcc-mips16 (SHLIB_MAPFILES): Add
  8976. $(srcdir)/config/mips/libgcc-mips16.ver.
  8977. 2008-08-09 Richard Sandiford <rdsandiford@googlemail.com>
  8978. * config/mips/mips.c (mips_unspec_address_offset): Move earlier
  8979. in file.
  8980. (mips_unspec_address, mips_unspec_offset_high): Likewise.
  8981. (mips_ok_for_lazy_binding_p, mips_load_call_address): Likewise.
  8982. (mips16_cfun_returns_in_fpr_p): Likewise.
  8983. 2008-08-09 Richard Sandiford <rdsandiford@googlemail.com>
  8984. * config/mips/mips.h (MASK_RETURN_ADDR): Expand commentary.
  8985. * config/mips/linux-unwind.h (mips_fallback_frame_state): Add 2
  8986. rather than 4 to PC.
  8987. 2008-08-09 Richard Sandiford <rdsandiford@googlemail.com>
  8988. * config/mips/mips.h (STATIC_CHAIN_REGNUM): Remap to $15.
  8989. (FUNCTION_PROFILER): Save the static chain pointer into $2
  8990. beforehand and restore it aftewards.
  8991. (TRAMPOLINE_TEMPLATE): Adjust accordingly. Load the target
  8992. address directly into $25 and call the function through $25;
  8993. do not clobber $3. Pad the DImode version to cover the space
  8994. left by the deleted $25 <- $3 move.
  8995. (TRAMPOLINE_SIZE): Adjust the size of the SImode version after
  8996. the removal of the $25 <- $3 move.
  8997. (INITIALIZE_TRAMPOLINE): Update offsets accordingly.
  8998. * config/mips/sdemtk.h (FUNCTION_PROFILER): As for mips.h.
  8999. 2008-08-09 Richard Sandiford <rdsandiford@googlemail.com>
  9000. Daniel Jacobowitz <dan@codesourcery.com>
  9001. * config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Delete.
  9002. * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Delete.
  9003. (ASM_DECLARE_FUNCTION_SIZE, FUNCTION_NAME_ALREADY_DECLARED): Delete.
  9004. * config/mips/mips.c (mips_start_function_definition): New function.
  9005. (mips_end_function_definition): Likewise.
  9006. (mips_output_function_prologue): Use mips_start_function_definition.
  9007. (mips_output_function_epilogue): Use mips_end_function_definition.
  9008. (build_mips16_function_stub): Use mips_start_function_definition
  9009. and mips_end_function_definition.
  9010. (build_mips16_call_stub): Likewise.
  9011. 2008-08-09 Richard Guenther <rguenther@suse.de>
  9012. * gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn.
  9013. * gimple.h (gimple_call_fn): Adjust comment.
  9014. (gimple_call_set_fndecl): New function.
  9015. (gimple_call_fndecl): Adjust for GIMPLE_CALL no
  9016. longer having bare FUNCTION_DECL operand.
  9017. (gimple_call_return_type): Likewise.
  9018. * tree-cfg.c (verify_stmt): Verify function operand of a GIMPLE_CALL.
  9019. * value-prof.c (gimple_divmod_fixed_value): Do not emit labels.
  9020. (gimple_mod_pow2): Likewise.
  9021. (gimple_mod_subtract): Likewise.
  9022. (gimple_ic): Likewise.
  9023. (gimple_stringop_fixed_value): Likewise.
  9024. (gimple_indirect_call_to_profile): Fix for GIMPLE_CALL no
  9025. longer having bare FUNCTION_DECL operand.
  9026. * ipa-cp.c (ipcp_update_callgraph): Use gimple_call_set_fndecl.
  9027. * omp-low.c (optimize_omp_library_calls): Likewise.
  9028. * cgraphunit.c (update_call_expr): Likewise.
  9029. * tree-ssa-math-opts.c (execute_cse_reciprocals): Likewise.
  9030. (execute_convert_to_rsqrt): Likewise.
  9031. * cfgexpand.c (gimple_to_tree): Simplify.
  9032. (release_stmt_tree): Fix for GIMPLE_CALL no longer having
  9033. bare FUNCTION_DECL operand.
  9034. * tree-nested.c (init_tmp_var_with_call): Use gimple_call_return_type.
  9035. (convert_gimple_call): Use gimple_call_fndecl.
  9036. * c-common.c (c_warn_unused_result): Likewise.
  9037. 2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9038. PR c/17880
  9039. * c-typeck.c (digest_init): Call verify_sequence_points from here.
  9040. (c_finish_return): Likewise.
  9041. (c_start_case): Likewise.
  9042. * c-common.c (warn_for_collisions_1): Use explicit location in warning.
  9043. * c-parser.c (c_parser_condition): New. Call
  9044. verify_sequence_points.
  9045. (c_parser_paren_condition): Call c_parser_condition.
  9046. (c_parser_for_statement): Call c_parser_condition.
  9047. 2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9048. PR 36901
  9049. * diagnostic.def (DK_PEDWARN, DK_PERMERROR): New.
  9050. * diagnostic.c (pedantic_warning_kind, permissive_error_kind):
  9051. Moved from diagnostic.h
  9052. (diagnostic_report_diagnostic): Return bool. Handle DK_PEDWARN and
  9053. DK_PERMERROR.
  9054. (emit_diagnostic): New.
  9055. (warning0, pedwarn0): Delete.
  9056. (warning, warning_at, pedwarn, permerror): Return bool.
  9057. * diagnostic.h (pedantic_warning_kind, permissive_error_kind):
  9058. Moved to diagnostic.c.
  9059. (struct diagnostic_context): Use correct type for
  9060. classify_diagnostic.
  9061. (diagnostic_report_diagnostic): Update declaration.
  9062. (emit_diagnostic): Declare.
  9063. * errors.c (warning): Return bool.
  9064. * errors.h (warning): Update declaration.
  9065. * toplev.h (warning0, pedwarn0): Delete.
  9066. (warning, warning_at, pedwarn, permerror): Return bool.
  9067. * c-errors.c (pedwarn_c99, pedwarn_c90): Use DK_PEDWARN.
  9068. * c-decl.c (locate_old_decl): Delete 'diag' argument. Always use
  9069. inform. Update all calls.
  9070. (diagnose_mismatched_decls): Check return value of warning/pedwarn
  9071. before giving informative note.
  9072. (implicit_decl_warning): Likewise.
  9073. * c-typeck.c (build_function_call): Likewise.
  9074. * tree-sssa.c (warn_uninit): Likewise.
  9075. * builtins.c (gimplify_va_arg_expr): Likewise.
  9076. 2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9077. PR 7651
  9078. * doc/invoke.texi (-Wextra): Move warning from here...
  9079. (-Wuninitialized): ... to here.
  9080. 2008-08-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9081. PR 28875
  9082. * flags.h (set_Wunused): Delete
  9083. * toplev.c (process_options): Handle Wunused flags here.
  9084. * opts.c (maybe_warn_unused_parameter): Delete.
  9085. (common_handle_option): Replace set_Wunused by warn_unused.
  9086. (set_Wextra): Do not handle Wunused-parameter here.
  9087. (set_Wunused): Delete.
  9088. * c-opts.c (c_common_handle_option): Replace set_Wunused by
  9089. warn_unused.
  9090. * common.opt (Wunused): Add Var and Init.
  9091. (Wunused-function): Likewise.
  9092. (Wunused-label): Likewise.
  9093. (Wunused-parameter): Likewise.
  9094. (Wunused-value): Likewise.
  9095. (Wunused-variable): Likewise.
  9096. 2008-08-08 Peter Bergner <bergner@vnet.ibm.com>
  9097. * doc/invoke.texi: Add cpu_type power7.
  9098. * config.in (HAVE_AS_VSX): New.
  9099. * config.gcc: Add cpu_type power7.
  9100. * configure.ac (HAVE_AS_VSX): Check for assembler support of the
  9101. VSX instructions.
  9102. * configure: Regenerate.
  9103. * config/rs6000/rs6000.c (rs6000_override_options): Alias power7 to
  9104. power5.
  9105. * config/rs6000/rs6000.h (ASM_CPU_POWER7_SPEC): Define.
  9106. (ASM_CPU_SPEC): Pass %(asm_cpu_power7) for -mcpu=power7.
  9107. (EXTRA_SPECS): Add asm_cpu_power7 spec string.
  9108. 2008-08-08 Dorit Nuzman <dorit@il.ibm.com>
  9109. * tree-vect-transform.c (vectorizable_conversion): Pass the integral
  9110. type to vectorize.builtin_conversion.
  9111. (vectorizable_conversion): Likewise.
  9112. * config/i386/i386.c (ix86_vectorize_builtin_conversion): Always takes
  9113. integral type as input.
  9114. * config/rs6000/rs6000.c (rs6000_builtin_conversion): Add case for
  9115. FIX_TRUNC_EXPR.
  9116. (rs6000_expand_builtin): Add case for ALTIVEC_BUILTIN_VCTUXS
  9117. and ALTIVEC_BUILTIN_VCTSXS.
  9118. (rs6000_builtin_mul_widen_even. rs6000_builtin_mul_widen_odd): Fix
  9119. formatting.
  9120. 2008-08-08 Richard Guenther <rguenther@suse.de>
  9121. * tree-ssa-ccp.c (likely_value): Calls are not all varying.
  9122. (surely_varying_stmt_p): Calls are varying only if they are
  9123. non-builtin and not indirect or have no result.
  9124. (ccp_fold): Re-instantiate code before the tuples merge.
  9125. 2008-08-08 Richard Guenther <rguenther@suse.de>
  9126. PR tree-optimization/37056
  9127. * gimple.h (gimple_assign_rhs_class): New helper function.
  9128. * tree-ssa-loop-niter.c (get_val_for): Fix tuplification, handle
  9129. unary operations properly.
  9130. 2008-08-07 Jan Hubicka <jh@suse.cz>
  9131. * i386.h (ix86_size_cost): Declare.
  9132. (ix86_cur_cost): New function macro.
  9133. * i386.md (peepholes expanding size and splitters): Predicate by
  9134. optimize_insn_for_speed_p.
  9135. (peepholes reduce size and splitters): Predicate by
  9136. optimize_insn_for_size_p.
  9137. * i386.c (ix86_size_cost): Rename from ...
  9138. (size_cost): This one.
  9139. (override_options): Update.
  9140. (decide_alg): Likewise.
  9141. (ix86_expand_clear): Use RTL profile.
  9142. (ix86_pad_returns): Use RTL profile.
  9143. 2008-08-07 Jan Hubicka <jh@suse.cz>
  9144. * recog.c (split_all_insns): Set RTL profile
  9145. (peephole2_optimize): Likewise.
  9146. * function.c (thread_prologue_and_epilogue_insns): Likewise.
  9147. * combine.c (combine_instructions): Likewise.
  9148. 2008-08-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9149. * c-common.c (c_common_reswords): Also warn about keyword "bool".
  9150. 2008-08-07 Bob Wilson <bob.wilson@acm.org>
  9151. * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Copy incoming
  9152. value in a6 after the set_frame_ptr insn.
  9153. 2008-08-07 Richard Henderson <rth@redhat.com>
  9154. PR debug/37033
  9155. * gcc.c (cpp_options): Pass along -g*.
  9156. 2008-08-07 Joseph Myers <joseph@codesourcery.com>
  9157. * config/arm/arm.c (output_move_neon): Update comment describing
  9158. big-endian vector layout.
  9159. (arm_assemble_integer): Do not handle big-endian NEON vectors
  9160. specially.
  9161. * config/arm/neon.md (vec_set<mode>_internal, vec_extract<mode>,
  9162. neon_vget_lane<mode>_sext_internal,
  9163. neon_vget_lane<mode>_zext_internal, neon_vget_lane<mode>): Adjust
  9164. element indices for big-endian.
  9165. 2008-08-07 Richard Henderson <rth@redhat.com>
  9166. * configure.ac (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): New.
  9167. * configure, config.in: Rebuild.
  9168. * debug.h (dwarf2out_do_cfi_asm): Declare.
  9169. * c-cppbuiltin.c (c_cpp_builtins): Use it.
  9170. * dwarf2out.c (dwarf2out_do_cfi_asm): New.
  9171. (dwarf2out_cfi_label, add_fde_cfi, output_call_frame_info,
  9172. dwarf2out_begin_prologue, dwarf2out_end_epilogue): Use it.
  9173. 2008-08-07 Joseph Myers <joseph@codesourcery.com>
  9174. * config/arm/iwmmxt.md (movv8qi_internal, movv4hi_internal,
  9175. movv2si_internal): Combine into mov<mode>_internal.
  9176. (movv2si_internal_2): Remove.
  9177. 2008-08-07 Jan Hubicka <jh@suse.cz>
  9178. PR target/37048
  9179. * i386.md (single stringop patterns): Enable unconditionally.
  9180. 2008-08-07 H.J. Lu <hongjiu.lu@intel.com>
  9181. PR target/36992
  9182. * config/i386/emmintrin.h (_mm_move_epi64): Use __builtin_ia32_movq128.
  9183. * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVQ128.
  9184. (bdesc_args): Add IX86_BUILTIN_MOVQ128.
  9185. * config/i386/sse.md (sse2_movq128): New.
  9186. * doc/extend.texi: Document __builtin_ia32_movq128.
  9187. 2008-08-07 Richard Guenther <rguenther@suse.de>
  9188. PR middle-end/37042
  9189. * tree-ssa-alias-warnings.c (nonstandard_alias_p): Ref-all
  9190. pointers can access anything.
  9191. 2008-08-06 Jan Hubicka <jh@suse.cz>
  9192. * optabs.c (emit_unop_insn): Break out to ...
  9193. (maybe_emit_unop_insn): ... this one.
  9194. (expand_sfix_optab): Use maybe variant.
  9195. * optabs.h (maybe_emit_unop_insn): Declare.
  9196. * i386.md (mov0 patterns): Enable by default.
  9197. (FP conversion expanders): Disable expansion of code expanding
  9198. sequences when instruction should be optimized for size.
  9199. (single strinop patterns): Enable when optimizing for size.
  9200. (string expanders): Disable expanding of code expanding sequences
  9201. when optimizning instruction for size.
  9202. * i386.c (ix86_expand_vector_move_misalign): Do code size optimization
  9203. per BB basis.
  9204. (ix86_fp_comparison_sahf_cost): Likewise.
  9205. (ix86_expand_branch): Likewise.
  9206. (ix86_expand_ashl_const): Likewise.
  9207. (ix86_split_ashl): Likewise.
  9208. (ix86_expand_strlen): Likewise.
  9209. (ix86_emit_fp_unordered_jump): Likewie.
  9210. 2008-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9211. * c-common.c: Fix typo.
  9212. (c_common_reswords): Activate more C++ keyword warnings.
  9213. * matrix-reorg.c (compute_offset): Avoid C++ keywords.
  9214. 2008-08-06 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9215. PR 26785
  9216. * diagnostic.c (permerror_at): New.
  9217. * toplev.h (permerror_at): Declare.
  9218. 2008-08-06 Victor Kaplansky <victork@il.ibm.com>
  9219. Ira Rosen <irar@il.ibm.com>
  9220. * tree-vect-transform.c (vect_model_simple_cost): Return
  9221. immediately if stmt is pure SLP.
  9222. (vect_model_store_cost): Ditto.
  9223. (vect_model_load_cost): Ditto.
  9224. (vectorizable_store): Remove PURE_SLP check before call
  9225. to vect_model_store_cost.
  9226. (vect_model_store_cost): When checking whether stmt describe
  9227. strided access, add a check that it is not slp_node.
  9228. 2008-08-06 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9229. PR 8715
  9230. * c-common.c (warn_for_sign_compare): New. Handle separately the
  9231. case that 'constant' is zero.
  9232. * c-typeck.c (build_binary_op): Move code to c-common.c
  9233. 2008-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9234. * config/alpha/alpha.c (alpha_preferred_reload_class,
  9235. alpha_secondary_reload, alpha_emit_set_const_1, function_value,
  9236. alpha_output_mi_thunk_osf): Avoid C++ keywords.
  9237. * config/arm/arm.c (output_move_vfp, output_move_neon): Likewise.
  9238. * config/arm/arm.md: Likewise.
  9239. * config/avr/avr-protos.h (preferred_reload_class,
  9240. test_hard_reg_class, avr_simplify_comparison_p,
  9241. out_shift_with_cnt, class_max_nregs): Likewise.
  9242. * config/avr/avr.c (class_max_nregs, avr_simplify_comparison_p,
  9243. output_movqi, output_movhi, output_movsisf, out_shift_with_cnt,
  9244. preferred_reload_class, test_hard_reg_class): Likewise.
  9245. * config/bfin/bfin.c (legitimize_pic_address, hard_regno_mode_ok,
  9246. bfin_memory_move_cost, bfin_secondary_reload,
  9247. bfin_output_mi_thunk): Likewise.
  9248. * config/crx/crx.c (crx_secondary_reload_class,
  9249. crx_memory_move_cost): Likewise.
  9250. * config/frv/frv-protos.h (frv_secondary_reload_class,
  9251. frv_class_likely_spilled_p, frv_class_max_nregs): Likewise.
  9252. * config/frv/frv.c (frv_override_options, frv_alloc_temp_reg,
  9253. frv_secondary_reload_class, frv_class_likely_spilled_p,
  9254. frv_class_max_nregs): Likewise.
  9255. * config/h8300/h8300.c (h8300_classify_operand,
  9256. h8300_unary_length, h8300_bitfield_length, h8300_asm_insn_count):
  9257. Likewise.
  9258. * config/i386/winnt.c (i386_pe_declare_function_type): Likewise.
  9259. * config/ia64/ia64.c (ia64_preferred_reload_class,
  9260. ia64_secondary_reload_class, ia64_output_mi_thunk): Likewise.
  9261. * config/iq2000/iq2000.c (gen_int_relational): Likewise.
  9262. * config/m32c/m32c.c (class_can_hold_mode, m32c_output_compare):
  9263. Likewise.
  9264. * config/m68hc11/m68hc11.c (preferred_reload_class,
  9265. m68hc11_memory_move_cost): Likewise.
  9266. * config/mcore/mcore.c (mcore_secondary_reload_class,
  9267. mcore_reload_class): Likewise.
  9268. * config/mips/mips.c (mips_hard_regno_mode_ok_p,
  9269. mips_class_max_nregs, mips_cannot_change_mode_class,
  9270. mips_preferred_reload_class, mips_secondary_reload_class,
  9271. mips_output_mi_thunk): Likewise.
  9272. * config/mmix/mmix.c (mmix_preferred_reload_class,
  9273. mmix_preferred_output_reload_class, mmix_secondary_reload_class):
  9274. Likewise.
  9275. * config/mn10300/mn10300.c (mn10300_secondary_reload_class):
  9276. Likewise.
  9277. * config/pa/pa.c (pa_secondary_reload, pa_combine_instructions,
  9278. pa_can_combine_p, pa_cannot_change_mode_class): Likewise.
  9279. * config/pa/pa.h (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
  9280. * config/rs6000/rs6000.c (paired_expand_vector_init,
  9281. rs6000_secondary_reload_class, rs6000_output_mi_thunk,
  9282. compare_section_name, rs6000_memory_move_cost): Likewise.
  9283. * config/s390/s390.c (s390_emit_compare_and_swap,
  9284. s390_preferred_reload_class, s390_secondary_reload,
  9285. legitimize_pic_address, legitimize_tls_address,
  9286. legitimize_reload_address, s390_expand_cs_hqi, s390_expand_atomic,
  9287. s390_class_max_nregs): Likewise.
  9288. * config/s390/s390.h (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
  9289. * config/s390/s390.md: Likewise.
  9290. * config/score/score-protos.h (score_secondary_reload_class,
  9291. score_preferred_reload_class): Likewise.
  9292. * config/score/score.c (score_preferred_reload_class,
  9293. score_secondary_reload_class): Likewise.
  9294. * config/score/score3.c (score3_output_mi_thunk,
  9295. score3_preferred_reload_class, score3_secondary_reload_class,
  9296. score3_hard_regno_mode_ok): Likewise.
  9297. * config/score/score3.h (score3_preferred_reload_class,
  9298. score3_secondary_reload_class): Likewise.
  9299. * config/score/score7.c (score7_output_mi_thunk,
  9300. score7_preferred_reload_class, score7_secondary_reload_class,
  9301. score7_hard_regno_mode_ok): Likewise.
  9302. * config/score/score7.h (score7_preferred_reload_class,
  9303. score7_secondary_reload_class): Likewise.
  9304. * config/sh/sh.c (prepare_move_operands, output_far_jump,
  9305. output_branchy_insn, add_constant, gen_block_redirect,
  9306. sh_insn_length_adjustment, sh_cannot_change_mode_class,
  9307. sh_output_mi_thunk, replace_n_hard_rtx, sh_secondary_reload): Likewise.
  9308. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
  9309. * config/stormy16/stormy16.c (xstormy16_output_cbranch_hi,
  9310. xstormy16_output_cbranch_si, xstormy16_secondary_reload_class,
  9311. xstormy16_preferred_reload_class): Likewise.
  9312. * config/xtensa/xtensa.c (xtensa_expand_compare_and_swap,
  9313. xtensa_expand_atomic, override_options,
  9314. xtensa_preferred_reload_class, xtensa_secondary_reload_class):
  9315. Likewise.
  9316. * reorg.c (try_merge_delay_insns): Likewise.
  9317. * tree.c (merge_dllimport_decl_attributes): Likewise.
  9318. * config/frv/frv.c (frv_print_operand): Change isalpha to ISALPHA.
  9319. 2008-08-06 Michael Matz <matz@suse.de>
  9320. * Makefile.in (write_entries_to_file): Quote words.
  9321. * gengtype.c (read_input_line): Skip over leading white-space.
  9322. 2008-08-06 Marc Gauthier <marc@tensilica.com>
  9323. * config.gcc: Match more processor names for Xtensa.
  9324. * configure.ac: Likewise.
  9325. * doc/install.texi (Specific): Likewise.
  9326. * configure: Regenerate.
  9327. 2008-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9328. * builtins.c (expand_builtin_profile_func): Avoid C++ keywords.
  9329. * calls.c (avoid_likely_spilled_reg): Likewise.
  9330. * cfgexpand.c (gimple_assign_rhs_to_tree): Likewise.
  9331. * cgraph.c (cgraph_clone_edge, cgraph_clone_node): Likewise.
  9332. * config/i386/i386.c (ix86_expand_special_args_builtin,
  9333. ix86_secondary_reload): Likewise.
  9334. * except.c (struct eh_region, gen_eh_region_catch,
  9335. remove_unreachable_regions, duplicate_eh_regions,
  9336. assign_filter_values, build_post_landing_pads,
  9337. sjlj_find_directly_reachable_regions, remove_eh_handler,
  9338. reachable_next_level, foreach_reachable_handler,
  9339. can_throw_internal_1, can_throw_external_1,
  9340. collect_one_action_chain): Likewise.
  9341. * expr.c (expand_expr_real_1, vector_mode_valid_p): Likewise.
  9342. * fold-const.c (twoval_comparison_p, eval_subst): Likewise.
  9343. * function.c (update_temp_slot_address, instantiate_new_reg,
  9344. instantiate_virtual_regs_in_rtx,
  9345. instantiate_virtual_regs_in_insn): Likewise.
  9346. * gimple.c (extract_ops_from_tree, gimple_seq_copy): Likewise.
  9347. * gimplify.c (gimplify_call_expr, gimplify_init_constructor,
  9348. gimplify_cleanup_point_expr): Likewise.
  9349. * ipa-cp.c (ipcp_lattice_changed): Likewise.
  9350. * passes.c (next_pass_1): Likewise.
  9351. * print-tree.c (print_node_brief, print_node): Likewise.
  9352. * profile.c (branch_prob): Likewise.
  9353. * tree-dump.c (dump_register): Likewise.
  9354. * tree-eh.c (replace_goto_queue_cond_clause, lower_catch):
  9355. Likewise.
  9356. * tree-inline.c (remap_ssa_name, remap_type_1, remap_blocks,
  9357. copy_statement_list, remap_gimple_op_r, copy_tree_body_r,
  9358. copy_edges_for_bb, copy_cfg_body, copy_tree_r,
  9359. copy_arguments_for_versioning, copy_static_chain): Likewise.
  9360. * tree-into-ssa.c (names_replaced_by, add_to_repl_tbl,
  9361. add_new_name_mapping, register_new_name_mapping): Likewise.
  9362. * tree-mudflap.c (mf_xform_derefs): Likewise.
  9363. * tree-predcom.c (struct chain, dump_chain, replace_ref_with,
  9364. get_init_expr, combine_chains): Likewise.
  9365. * tree-pretty-print.c (dump_generic_node): Likewise.
  9366. * tree-ssa-structalias.c (create_variable_info_for): Likewise.
  9367. * tree-vrp.c (simplify_cond_using_ranges): Likewise.
  9368. * tree.c (substitute_in_expr, iterative_hash_expr): Likewise.
  9369. * value-prof.c (gimple_duplicate_stmt_histograms): Likewise.
  9370. 2008-08-06 H.J. Lu <hongjiu.lu@intel.com>
  9371. PR middle-end/37010
  9372. * calls.c (expand_call): Use the biggest preferred stack
  9373. boundary.
  9374. 2008-08-06 Michael Matz <matz@suse.de>
  9375. PR target/36613
  9376. * reload.c (push_reload): Merge in,out,in_reg,out_reg members
  9377. for reused reload, instead of overwriting them.
  9378. 2008-08-06 H.J. Lu <hongjiu.lu@intel.com>
  9379. PR middle-end/37009
  9380. * cfgexpand.c (expand_stack_alignment): Check parm_stack_boundary
  9381. for incoming stack boundary.
  9382. * function.c (assign_parm_find_entry_rtl): Update
  9383. parm_stack_boundary.
  9384. * function.h (rtl_data): Add parm_stack_boundary.
  9385. * config/i386/i386.c (ix86_finalize_stack_realign_flags): Check
  9386. parm_stack_boundary for incoming stack boundary.
  9387. 2008-08-06 Joseph Myers <joseph@codesourcery.com>
  9388. * jump.c (rtx_renumbered_equal_p): Do not call subreg_regno_offset
  9389. for unrepresentable subregs or treat them as equal to other regs
  9390. or subregs with the same register number.
  9391. 2008-08-06 Aldy Hernandez <aldyh@redhat.com>
  9392. PR middle-end/35432
  9393. * gimplify.c (gimplify_modify_expr): Do not optimize zero-sized types
  9394. if want_value.
  9395. 2008-08-06 Jan Hubicka <jh@suse.cz>
  9396. * predict.c (maybe_hot_frequency_p): When profile is absent, all
  9397. frequencies might be hot.
  9398. 2008-08-06 Andreas Krebbel <krebbel1@de.ibm.com>
  9399. * reload.c (find_reloads): Force constants into literal pool
  9400. also if they are wrapped in a SUBREG.
  9401. 2008-08-06 Maxim Kuvyrkov <maxim@codesourcery.com>
  9402. PR target/35659
  9403. * haifa-sched.c (sched_insn_is_legitimate_for_speculation_p): Move ...
  9404. * sched-deps.c (sched_insn_is_legitimate_for_speculation_p): ... here.
  9405. Don't allow predicated instructions for data speculation.
  9406. * sched-int.h (sched_insn_is_legitimate_for_speculation_p): Move
  9407. declaration.
  9408. 2008-08-06 Maxim Kuvyrkov <maxim@codesourcery.com>
  9409. * haifa-sched.c (extend_global): Split to extend_global_data and
  9410. extend_region_data. Update all uses.
  9411. (extend_all): Rename to extend_block_data.
  9412. 2008-08-06 Maxim Kuvyrkov <maxim@codesourcery.com>
  9413. * sched-rgn.c (new_ready): Check if instruction can be
  9414. speculatively scheduled before attempting speculation.
  9415. (debug_rgn_dependencies): Remove wrongful assert.
  9416. 2008-08-05 Bob Wilson <bob.wilson@acm.org>
  9417. * config/xtensa/t-xtensa: Remove dependency for gt-xtensa.h.
  9418. 2008-08-05 Bob Wilson <bob.wilson@acm.org>
  9419. * config/xtensa/xtensa.c (xtensa_va_start): Unshare valist.
  9420. (xtensa_gimplify_va_arg_expr): Unshare valist, orig_ndx, ndx, array,
  9421. va_size, and type_size.
  9422. 2008-08-04 Jason Merrill <jason@redhat.com>
  9423. PR c++/37016
  9424. * tree-ssa.c (useless_type_conversion_p_1): Call langhook
  9425. if TYPE_STRUCTURAL_EQUALITY_P is true for both types.
  9426. 2008-08-05 Richard Henderson <rth@redhat.com>
  9427. * configure.ac (HAVE_GAS_CFI_DIRECTIVE): Check .cfi_personality.
  9428. * configure: Rebuild.
  9429. 2008-08-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
  9430. PR tree-opt/37024
  9431. * tree-tailcall.c (process_assignment): Use gimple_assign_cast_p
  9432. instead of IS_CONVERT_EXPR_CODE_P for seeing if the assignment
  9433. is a conversion.
  9434. 2008-08-05 Richard Henderson <rth@redhat.com>
  9435. * Makefile.in (c-cppbuiltin.o): Depend on debug.h.
  9436. * c-cppbuiltin.c (c_cpp_builtins): Define __GCC_HAVE_DWARF2_CFI_ASM.
  9437. * doc/cpp.texi (__GCC_HAVE_DWARF2_CFI_ASM): Document it.
  9438. * common.opt (fdwarf2-cfi-asm): New.
  9439. * configure.ac (HAVE_GAS_CFI_DIRECTIVE): New.
  9440. * config.in, configure: Rebuild.
  9441. * dwarf2asm.c (dw2_asm_output_data_raw): New.
  9442. (dw2_asm_output_data_uleb128_raw, dw2_asm_output_data_sleb128_raw):
  9443. New.
  9444. (dw2_force_const_mem): Externalize.
  9445. * dwarf2asm.h: Update.
  9446. * dwarf2out.c (dwarf2out_cfi_label): If flag_dwarf2_cfi_asm, don't
  9447. generate a real label.
  9448. (output_cfi_directive): New.
  9449. (add_fde_cfi): If flag_dwarf2_cfi_asm, use it.
  9450. (output_call_frame_info): Do nothing if flag_dwarf2_cfi_asm.
  9451. (dwarf2out_begin_prologue): Emit .cfi_startproc, .cfi_personality,
  9452. and .cfi_lsda.
  9453. (dwarf2out_end_epilogue): Emit .cfi_endproc.
  9454. (output_loc_operands_raw, output_loc_sequence_raw): New.
  9455. (output_cfa_loc_raw): New.
  9456. 2008-08-05 Paul Brook <paul@codesourcery.com>
  9457. * doc/invoke.texi: Document new ARM -mfpu= and -mcpu= options.
  9458. * config/arm/arm.c (all_fpus): Add vfpv3 and vfpv3-d16.
  9459. (fp_model_for_fpu): Add entry for FPUTYPE_VFP3D16.
  9460. (arm_file_start): Add FPUTYPE_VFP3D16. Rename vfp3 to vfpv3.
  9461. * config/arm/arm.h (TARGET_VFPD32): Define.
  9462. (TARGET_VFP3): Use TARGET_VFPD32.
  9463. (fputype): Add FPUTYPE_VFP3D16.
  9464. (LAST_VFP_REGNUM): Use TARGET_VFPD32.
  9465. * config/arm/constraints.md ("w"): Use TARGET_VFPD32.
  9466. * config/arm/arm-cores.def: Add cortex-r4f.
  9467. * config/arm/arm-tune.md: Regenerate.
  9468. 2008-08-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  9469. * config/spu_spu_mfcio.h: Wrap in extern "C" if __cplusplus.
  9470. Reword some comments throughout the file.
  9471. (MFC_MIN_DMA_LIST_ELEMENTS): New define.
  9472. (MFC_MAX_DMA_LIST_ELEMENTS): Likewise.
  9473. (MFC_MIN_DMA_LIST_SIZE): Redefine in terms of
  9474. MFC_MIN_DMA_LIST_ELEMENTS.
  9475. (MFC_MAX_DMA_LIST_SIZE): Redefine in terms of
  9476. MFC_MAX_DMA_LIST_ELEMENTS.
  9477. (MFC_START_ENABLE): Remove PPU-only define.
  9478. (MFC_PUTS_CMD, MFC_PUTFS_CMD, MFC_PUTBS_CMD): Likewise.
  9479. (MFC_GETS_CMD, MFC_GETFS_CMD, MFC_GETBS_CMD): Likewise.
  9480. (MFC_PUTB_CMD, MFC_PUTF_CMD): Reimplement using symbolic constants.
  9481. (MFC_PUTL_CMD, MFC_PUTLB_CMD, MFC_PUTLF_CMD): Likewise.
  9482. (MFC_PUTR_CMD, MFC_PUTRB_CMD, MFC_PUTRF_CMD): Likewise.
  9483. (MFC_PUTRL_CMD, MFC_PUTRLB_CMD, MFC_PUTRLF_CMD): Likewise.
  9484. (MFC_GETB_CMD, MFC_GETF_CMD): Likewise.
  9485. (MFC_GETL_CMD, MFC_GETLB_CMD, MFC_GETLF_CMD): Likewise.
  9486. (MFC_SNDSIGB_CMD, MFC_SNDSIGF_CMD): Likewise.
  9487. (MFC_SDCRT_CMD, MFC_SDCRTST_CMD): New defines.
  9488. (MFC_SDCRZ_CMD, MFC_SDCRST_CMD, MFC_SDCRF_CMD): Likewise.
  9489. (mfc_sdcrt, mfc_sdcrtst): Likewise.
  9490. (mfc_sdcrz, mfc_sdcrst, mfc_sdcrf): Likewise.
  9491. (spu_read_machine_status): Fix typo.
  9492. 2008-08-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  9493. * config/spu/spu.h (CANNOT_CHANGE_MODE_CLASS): Allow (multi)word-sized
  9494. SUBREG of multi-word hard register.
  9495. * config/spu/spu.c (valid_subreg): Likewise.
  9496. (adjust_operand): Handle SUBREGs of multi-word hard registers.
  9497. 2008-08-04 Richard Guenther <rguenther@suse.de>
  9498. * tree-ssa-loop-ivopts.c (add_iv_value_candidates): Also add
  9499. the candidate with the stripped base if that base is different
  9500. from the original base even for offset zero.
  9501. 2008-08-04 Richard Guenther <rguenther@suse.de>
  9502. PR middle-end/36691
  9503. * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Correctly
  9504. check for no_overflow.
  9505. 2008-08-04 Richard Guenther <rguenther@suse.de>
  9506. * tree-vect-transform.c (vectorizable_call): Fix tuplification.
  9507. 2008-08-04 Paul Brook <paul@codesourcery.com>
  9508. * cofig/arm/arm.c (thumb_core_reg_alloc_order): New.
  9509. (arm_order_regs_for_local_alloc): New function.
  9510. * config/arm/arm-protos.h (arm_order_regs_for_local_alloc): Add
  9511. prototype.
  9512. * config/arm/arm.h (ORDER_REGS_FOR_LOCAL_ALLOC): Define.
  9513. 2008-08-04 H.J. Lu <hongjiu.lu@intel.com>
  9514. PR target/37012
  9515. * config/i386/i386.c (ix86_expand_prologue): Use UNITS_PER_WORD
  9516. instead of STACK_BOUNDARY / BITS_PER_UNIT to align stack.
  9517. (ix86_expand_epilogue): Likewise.
  9518. 2008-08-04 H.J. Lu <hongjiu.lu@intel.com>
  9519. * config/i386/i386.c (ix86_compute_frame_layout): Fix a typo
  9520. in comments.
  9521. 2008-08-03 Uros Bizjak <ubizjak@gmail.com>
  9522. * config/i386/mmx.md (*mov<mode>_internal_rex64): Use Yi instead of x
  9523. to avoid inter-unit moves for !TARGET_INTER_UNIT_MOVES.
  9524. (*movv2sf_internal_rex64): Ditto.
  9525. 2008-08-03 Jan Hubicka <jh@suse.cz>
  9526. * optabs.c (expand_binop, expand_builtin_pow, expand_builtin_powi,
  9527. expand_builtin_strcat): Upse optimize_insn_for_speed predicate.
  9528. * expmed.c (expand_smod_pow2): Likewise.
  9529. 2008-08-03 Uros Bizjak <ubizjak@gmail.com>
  9530. PR target/36992
  9531. * config/i386/sse.md (vec_concatv2di): Add Y2 constraint to
  9532. alternative 0 of operand 1.
  9533. (*vec_concatv2di_rex64_sse): Ditto.
  9534. (*vec_concatv2di_rex64_sse4_1): Add x constraint to alternative 0
  9535. of operand 1.
  9536. (*sse2_storeq_rex64): Penalize allocation of "r" registers.
  9537. * config/i386/mmx.md (*mov<mode>_internal_rex64): Penalize allocation
  9538. of "Y2" registers to avoid SSE <-> MMX conversions for DImode moves.
  9539. (*movv2sf_internal_rex64): Ditto.
  9540. 2008-08-02 Richard Guenther <rguenther@suse.de>
  9541. PR target/35252
  9542. * config/i386/sse.md (SSEMODE4S, SSEMODE2D): New mode iterators.
  9543. (ssedoublesizemode): New mode attribute.
  9544. (sse_shufps): Call gen_sse_shufps_v4sf.
  9545. (sse_shufps_1): Macroize.
  9546. (sse2_shufpd): Call gen_Sse_shufpd_v2df.
  9547. (sse2_shufpd_1): Macroize.
  9548. (vec_extract_odd, vec_extract_even): New expanders.
  9549. (vec_interleave_highv4sf, vec_interleave_lowv4sf,
  9550. vec_interleave_highv2df, vec_interleave_lowv2df): Likewise.
  9551. * i386.c (ix86_expand_vector_init_one_nonzero): Call
  9552. gen_sse_shufps_v4sf instead of gen_sse_shufps_1.
  9553. (ix86_expand_vector_set): Likewise.
  9554. (ix86_expand_reduc_v4sf): Likewise.
  9555. 2008-08-01 Doug Kwan <dougkwan@google.com>
  9556. * matrix-reorg.c: Re-enable all code.
  9557. (struct malloc_call_data): Change CALL_STMT to gimple type.
  9558. (collect_data_for_malloc_call): Tuplify.
  9559. (struct access_site_info): Change STMT to gimple type.
  9560. (struct matrix_info): Change MIN_INDIRECT_LEVEL_ESCAPE_STMT,
  9561. and MALLOC_FOR_LEVEL to gimple and gimple pointer type.
  9562. (struct free_info): Change STMT to gimple type.
  9563. (struct matrix_access_phi_node): Change PHI to gimple type.
  9564. (get_inner_of_cast_expr): Remove.
  9565. (may_flatten_matrices_1): Tuplify.
  9566. (may_flatten_matrices): Ditto.
  9567. (mark_min_matrix_escape_level): Ditto.
  9568. (ssa_accessed_in_tree): Refactor statement RHS related code into ...
  9569. (ssa_accessed_in_call_rhs): New
  9570. (ssa_accessed_in_assign_rhs): New
  9571. (record_access_alloc_site_info): Tuplify.
  9572. (add_allocation_site): Ditto.
  9573. (analyze_matrix_allocation_site): Ditto.
  9574. (analyze_transpose): Ditto.
  9575. (get_index_from_offset): Ditto.
  9576. (update_type_size): Ditto.
  9577. (analyze_accesses_for_call_expr): Tuplify and renamed into ...
  9578. (analyze_accesses_for_call_stmt): New. Also handle LHS of a call.
  9579. (analyze_accesses_for_phi_node): Tuplify.
  9580. (analyze_accesses_for_modify_stmt): Tuplify and renamed into ...
  9581. (analyze_accesses_for_assign_stmt): Remove code for handling call LHS.
  9582. (analyze_matrix_accesses): Tuplify.
  9583. (check_var_data): New call-back type for check_var_notmodified_p.
  9584. (check_var_notmodified_p): Tuplify and use call-back struct to
  9585. return statement found.
  9586. (can_calculate_expr_before_stmt): Factor out statement related code
  9587. into ...
  9588. (can_calculate_stmt_before_stmt): New.
  9589. (check_allocation_function): Tuplify.
  9590. (find_sites_in_func): Ditto.
  9591. (record_all_accesses_in_func): Ditto.
  9592. (transform_access_sites): Ditto.
  9593. (transform_allocation_sites): Ditto.
  9594. (matrix_reorg): Re-enable.
  9595. (gate_matrix_reorg): Re-enable.
  9596. 2008-08-01 Jakub Jelinek <jakub@redhat.com>
  9597. * dwarf2out.c (compute_barrier_args_size): Set barrier_args_size
  9598. for labels for which it hasn't been set yet. If it has been set,
  9599. stop walking insns and continue with next worklist item.
  9600. (dwarf2out_stack_adjust): Don't call compute_barrier_args_size
  9601. if the only BARRIER is at the very end of a function.
  9602. 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
  9603. * cfgexpand.c (expand_stack_alignment): Assert that
  9604. stack_realign_drap and drap_rtx must match.
  9605. * function.c (instantiate_new_reg): If DRAP is used to realign
  9606. stack, replace virtual_incoming_args_rtx with internal arg
  9607. pointer.
  9608. 2008-08-01 Richard Guenther <rguenther@suse.de>
  9609. * tree-ssa-pre.c (fini_pre): Take in_fre parameter. Free
  9610. loop information only if we initialized it.
  9611. (execute_pre): Call fini_pre with in_fre.
  9612. * tree-ssa-loop-ivcanon (try_unroll_loop_completely): Dump
  9613. if we do not unroll because we hit max-completely-peeled-insns.
  9614. Use our estimation for consistency, do allow shrinking.
  9615. 2008-08-01 H.J. Lu <hongjiu.lu@intel.com>
  9616. * config/i386/i386.c (override_options): Replace ABI_STACK_BOUNDARY
  9617. with MIN_STACK_BOUNDARY.
  9618. (ix86_update_stack_boundary): Likewise.
  9619. (ix86_expand_prologue): Assert MIN_STACK_BOUNDARY instead of
  9620. STACK_BOUNDARY.
  9621. * config/i386/i386.h (ABI_STACK_BOUNDARY): Renamed to ...
  9622. (MIN_STACK_BOUNDARY): This.
  9623. 2008-08-01 Richard Guenther <rguenther@suse.de>
  9624. PR middle-end/36997
  9625. * gimplify.c (gimplify_call_expr): Set error_mark_node on GS_ERROR.
  9626. 2008-08-01 Richard Guenther <rguenther@suse.de>
  9627. PR tree-optimization/36988
  9628. * tree-ssa-ccp.c (ccp_fold): Conversions of constants only
  9629. do not matter if that doesn't change volatile qualification.
  9630. 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
  9631. * configure.ac: Do not generate libada-mk. Do not subst
  9632. host_cc_for_libada.
  9633. * libada-mk.in: Remove.
  9634. * Makefile.in: Pass TARGET_LIBGCC2_CFLAGS to libgcc.mvars.
  9635. * configure: Regenerate.
  9636. 2008-08-01 Basile Starynkevitch <basile@starynkevitch.net>
  9637. * tree-pass.h: Added comment about not dumping passes with name
  9638. starting with star in struct opt_pass.
  9639. * passes.c (register_dump_files_1): Don't do dump for a pass with
  9640. name starting with star.
  9641. * doc/passes.texi (Pass manager): Mention pass names and special
  9642. meaning of star prefix to avoid dump.
  9643. 2008-07-31 Adam Nemet <anemet@caviumnetworks.com>
  9644. * config.gcc (mipsisa64r2*-*-linux*): New configuration. Set ISA
  9645. to MIPS64r2.
  9646. * config/mips/mips.h (GENERATE_MIPS16E): Update comment.
  9647. (ISA_MIPS64R2): New macro.
  9648. (TARGET_CPU_CPP_BUILTINS, MULTILIB_ISA_DEFAULT): Handle it.
  9649. (ISA_HAS_64BIT_REGS, ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE,
  9650. ISA_HAS_8CC, ISA_HAS_FP4, ISA_HAS_PAIRED_SINGLE,
  9651. ISA_HAS_MADD_MSUB, ISA_HAS_NMADD4_NMSUB4, ISA_HAS_CLZ_CLO,
  9652. ISA_HAS_ROR, ISA_HAS_PREFETCH, ISA_HAS_PREFETCHX, ISA_HAS_SEB_SEH,
  9653. ISA_HAS_EXT_INS, ISA_HAS_MXHC1, ISA_HAS_HILO_INTERLOCKS,
  9654. ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Return true for ISA_MIPS64R2.
  9655. (MIPS_ISA_LEVEL_SPEC, ASM_SPEC, LINK_SPEC): Handle -mips64r2.
  9656. (TARGET_LOONGSON_2E, TARGET_LOONGSON_2F, TARGET_LOONGSON_2EF):
  9657. Move up to keep list alphabetically sorted.
  9658. (TUNE_20KC, TUNE_24K, TUNE_74K, TUNE_LOONGSON_2EF): Likewise.
  9659. * config/mips/mips.c (mips_cpu_info_table): Add default MIPS64r2
  9660. processor.
  9661. * doc/invoke.texi (MIPS Options): Add -mips64r2.
  9662. (-march=@var{arch}): Add mips64r2.
  9663. 2008-07-31 H.J. Lu <hongjiu.lu@intel.com>
  9664. * config/i386/darwin.h (MAIN_STACK_BOUNDARY): Define to 128.
  9665. 2008-07-31 Steve Ellcey <sje@cup.hp.com>
  9666. * expr.c (expand_assignment): Check for complete type.
  9667. 2008-07-31 H.J. Lu <hongjiu.lu@intel.com>
  9668. PR debug/36977
  9669. * cfgexpand.c (expand_stack_alignment): Set stack_realign_tried.
  9670. * dwarf2out.c (based_loc_descr): Check crtl->stack_realign_tried
  9671. for stack alignment.
  9672. * function.h (rtl_data): Add stack_realign_tried. Update comments.
  9673. 2008-07-31 Kaz Kojima <kkojima@gcc.gnu.org>
  9674. * config/sh/sh.c (sh_canonical_va_list_type): Remove.
  9675. (TARGET_CANONICAL_VA_LIST_TYPE): Remove.
  9676. 2008-07-31 Jakub Jelinek <jakub@redhat.com>
  9677. PR rtl-optimization/36419
  9678. * dwarf2out.c (barrier_args_size): New variable.
  9679. (compute_barrier_args_size, compute_barrier_args_size_1): New
  9680. functions.
  9681. (dwarf2out_stack_adjust): For BARRIERs call compute_barrier_args_size
  9682. if not called yet in the current function, use barrier_args_size
  9683. array to find the new args_size value.
  9684. (dwarf2out_frame_debug): Free and clear barrier_args_size.
  9685. 2008-07-31 H.J. Lu <hongjiu.lu@intel.com>
  9686. PR debug/36980
  9687. * dwarf2out.c (dwarf2out_frame_debug_expr): Move rule 17 before
  9688. rule 19.
  9689. 2008-07-31 H.J. Lu <hongjiu.lu@intel.com>
  9690. PR debug/36976
  9691. * dwarf2out.c (dwarf2out_args_size_adjust): New.
  9692. (dwarf2out_stack_adjust): Use it.
  9693. (dwarf2out_frame_debug_expr): Likewise.
  9694. 2008-07-31 Richard Guenther <rguenther@suse.de>
  9695. PR tree-optimization/36978
  9696. * tree-ssa-loop-unswitch.c (tree_may_unswitch_on): Do not fold
  9697. the generated condition.
  9698. 2008-07-31 Richard Guenther <rguenther@suse.de>
  9699. * passes.c (init_optimization_passes): Always call
  9700. pass_early_warn_uninitialized.
  9701. * opts.c (decode_options): Do not warn about -Wuninitialized at -O0.
  9702. * doc/invoke.texi (-Wuninitialized): Correct for enabling at -O0.
  9703. * doc/passes.texi (Warn for uninitialized variables): Adjust.
  9704. 2008-07-31 Jakub Jelinek <jakub@redhat.com>
  9705. PR c/36970
  9706. * builtins.c (maybe_emit_free_warning): New function.
  9707. (expand_builtin): Process BUILT_IN_FREE even at -O0. Call
  9708. maybe_emit_free_warning for BUILT_IN_FREE.
  9709. PR debug/36278
  9710. * dwarf2out.c (get_context_die): New function.
  9711. (force_decl_die, force_type_die): Use it.
  9712. (dwarf2out_imported_module_or_decl): Likewise. If base_type_die
  9713. returns NULL, force generation of DW_TAG_typedef and put that into
  9714. DW_AT_import.
  9715. PR preprocessor/36649
  9716. * c-pch.c (c_common_read_pch): Save and restore
  9717. line_table->trace_includes across PCH restore.
  9718. 2008-07-30 Eric Botcazou <ebotcazou@adacore.com>
  9719. PR ada/36554
  9720. * dwarf2out.c (is_subrange_type): Deal with BOOLEAN_TYPE.
  9721. 2008-07-30 Rafael Ávila de Espíndola <espindola@google.com>
  9722. PR 36974
  9723. * final.c (call_from_call_insn): Handle COND_EXEC.
  9724. 2008-07-30 H.J. Lu <hongjiu.lu@intel.com>
  9725. * builtins.c (std_gimplify_va_arg_expr): Replace
  9726. PREFERRED_STACK_BOUNDARY with MAX_SUPPORTED_STACK_ALIGNMENT.
  9727. * config/i386/i386.c (ix86_gimplify_va_arg): Likewise.
  9728. 2008-07-30 Joey Ye <joey.ye@intel.com>
  9729. H.J. Lu <hongjiu.lu@intel.com>
  9730. * builtins.c (expand_builtin_setjmp_receiver): Replace
  9731. virtual_incoming_args_rtx with crtl->args.internal_arg_pointer.
  9732. (expand_builtin_apply_args_1): Likewise.
  9733. (expand_builtin_longjmp): Need DRAP for stack alignment.
  9734. (expand_builtin_apply): Likewise.
  9735. * caller-save.c (setup_save_areas): Call assign_stack_local_1
  9736. instead of assign_stack_local to allow alignment reduction.
  9737. * calls.c (emit_call_1): Need DRAP for stack alignment if
  9738. return pops.
  9739. (expand_call): Replace virtual_incoming_args_rtx with
  9740. crtl->args.internal_arg_pointer.
  9741. * stmt.c (expand_nl_goto_receiver): Likewise.
  9742. * cfgexpand.c (get_decl_align_unit): Estimate stack variable
  9743. alignment and store to stack_alignment_estimated and
  9744. max_used_stack_slot_alignment.
  9745. (expand_one_var): Likewise.
  9746. (expand_stack_alignment): New function.
  9747. (tree_expand_cfg): Initialize max_used_stack_slot_alignment
  9748. and stack_alignment_estimated fields in rtl_data. Call
  9749. expand_stack_alignment at end.
  9750. * defaults.h (INCOMING_STACK_BOUNDARY): New.
  9751. (MAX_STACK_ALIGNMENT): Likewise.
  9752. (MAX_SUPPORTED_STACK_ALIGNMENT): Likewise.
  9753. (SUPPORTS_STACK_ALIGNMENT): Likewise.
  9754. * emit-rtl.c (gen_reg_rtx): Estimate stack alignment for
  9755. stack alignment when generating virtual registers.
  9756. * function.c (assign_stack_local): Renamed to ...
  9757. (assign_stack_local_1): This. Add a parameter to indicate
  9758. if it is OK to reduce alignment.
  9759. (assign_stack_local): Use it.
  9760. (instantiate_new_reg): Instantiate virtual incoming args rtx
  9761. to vDRAP if stack realignment and DRAP is needed.
  9762. (assign_parms): Collect parameter/return type alignment and
  9763. contribute to stack_alignment_estimated.
  9764. (locate_and_pad_parm): Likewise.
  9765. (get_arg_pointer_save_area): Replace virtual_incoming_args_rtx
  9766. with crtl->args.internal_arg_pointer.
  9767. * function.h (rtl_data): Add new field drap_reg,
  9768. max_used_stack_slot_alignment, stack_alignment_estimated,
  9769. stack_realign_needed, need_drap, stack_realign_processed and
  9770. stack_realign_finalized.
  9771. (stack_realign_fp): New macro.
  9772. (stack_realign_drap): Likewise.
  9773. * global.c (compute_regsets): Frame pointer is needed when
  9774. stack is realigned. Can eliminate frame pointer when stack is
  9775. realigned and dynamic realigned argument pointer isn't used.
  9776. * reload1.c (update_eliminables): Frame pointer is needed
  9777. when stack is realigned.
  9778. (init_elim_table): Can eliminate frame pointer when stack is
  9779. realigned and dynamic realigned argument pointer isn't used.
  9780. * rtl.h (assign_stack_local_1): Declare new funtion.
  9781. * target-def.h (TARGET_UPDATE_STACK_BOUNDARY): New.
  9782. (TARGET_GET_DRAP_RTX): Likewise.
  9783. (TARGET_CALLS): Add TARGET_UPDATE_STACK_BOUNDARY and
  9784. TARGET_GET_DRAP_RTX.
  9785. * target.h (gcc_target): Add update_stack_boundary and get_drap_rtx.
  9786. * tree-vectorizer.c (vect_can_force_dr_alignment_p): Replace
  9787. STACK_BOUNDARY with MAX_STACK_ALIGNMENT.
  9788. 2008-07-30 Xuepeng Guo <xuepeng.guo@intel.com>
  9789. H.J. Lu <hongjiu.lu@intel.com>
  9790. * dwarf2out.c (dw_fde_struct): Add stack_realignment, drap_reg,
  9791. vdrap_reg, stack_realign and drap_reg_saved.
  9792. (add_cfi): Don't allow redefining CFA when DRAP is used.
  9793. (reg_save): Handle stack alignment.
  9794. (dwarf2out_frame_debug_expr): Add rules 16-20 to handle stack
  9795. alignment. Don't generate DWARF information for (set fp sp)
  9796. when DRAP is used.
  9797. (dwarf2out_begin_prologue): Initialize drap_reg and vdrap_reg
  9798. to INVALID_REGNUM.
  9799. (int_loc_descriptor): Move prototype forward. Also define if
  9800. DWARF2_UNWIND_INFO is true.
  9801. (output_cfa_loc): Handle DW_CFA_expression.
  9802. (build_cfa_aligned_loc): New.
  9803. (based_loc_descr): Update assert for stack realign. For local
  9804. variables, use sp+offset when stack is aligned without drap and
  9805. fp+offset when stack is aligned with drap. For arguments, use
  9806. cfa+offset when drap is used to align stack.
  9807. 2008-07-30 Joey Ye <joey.ye@intel.com>
  9808. H.J. Lu <hongjiu.lu@intel.com>
  9809. * config/i386/i386.c (ix86_force_align_arg_pointer_string):
  9810. Break long line.
  9811. (ix86_gen_andsp): New.
  9812. (ix86_user_incoming_stack_boundary): Likewise.
  9813. (ix86_default_incoming_stack_boundary): Likewise.
  9814. (ix86_incoming_stack_boundary): Likewise.
  9815. (ix86_can_eliminate): Likewise.
  9816. (find_drap_reg): Likewise.
  9817. (ix86_update_stack_boundary): Likewise.
  9818. (ix86_get_drap_rtx): Likewise.
  9819. (ix86_finalize_stack_realign_flags): Likewise.
  9820. (TARGET_UPDATE_STACK_BOUNDARY): Likewise.
  9821. (TARGET_GET_DRAP_RTX): Likewise.
  9822. (override_options): Overide option value for new options.
  9823. (ix86_function_ok_for_sibcall): Remove check for
  9824. force_align_arg_pointer.
  9825. (ix86_handle_cconv_attribute): Likewise.
  9826. (ix86_function_regparm): Likewise.
  9827. (setup_incoming_varargs_64): Don't set stack_alignment_needed here.
  9828. (ix86_va_start): Replace virtual_incoming_args_rtx with
  9829. crtl->args.internal_arg_pointer.
  9830. (ix86_select_alt_pic_regnum): Check DRAP register.
  9831. (ix86_save_reg): Replace force_align_arg_pointer with drap_reg.
  9832. (ix86_compute_frame_layout): Compute frame layout wrt stack
  9833. realignment.
  9834. (ix86_internal_arg_pointer): Just return virtual_incoming_args_rtx.
  9835. (ix86_expand_prologue): Decide if stack realignment is needed
  9836. and generate prologue code accordingly.
  9837. (ix86_expand_epilogue): Generate epilogue code wrt stack
  9838. realignment is really needed or not.
  9839. * config/i386/i386.h (MAIN_STACK_BOUNDARY): New.
  9840. (ABI_STACK_BOUNDARY): Likewise.
  9841. (PREFERRED_STACK_BOUNDARY_DEFAULT): Likewise.
  9842. (STACK_REALIGN_DEFAULT): Likewise.
  9843. (INCOMING_STACK_BOUNDARY): Likewise.
  9844. (MAX_STACK_ALIGNMENT): Likewise.
  9845. (ix86_incoming_stack_boundary): Likewise.
  9846. (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Removed.
  9847. (REAL_PIC_OFFSET_TABLE_REGNUM): Updated to use BX_REG.
  9848. (CAN_ELIMINATE): Defined with ix86_can_eliminate.
  9849. (machine_function): Remove force_align_arg_pointer.
  9850. * config/i386/i386.md (BX_REG): New.
  9851. (R13_REG): Likewise.
  9852. * config/i386/i386.opt (mforce_drap): New.
  9853. (mincoming-stack-boundary): Likewise.
  9854. (mstackrealign): Add Init(-1).
  9855. * config/i386/i386-protos.h (ix86_can_eliminate): New
  9856. 2008-07-30 H.J. Lu <hongjiu.lu@intel.com>
  9857. * doc/extend.texi: Update force_align_arg_pointer.
  9858. * doc/invoke.texi: Document -mincoming-stack-boundary. Update
  9859. -mstackrealign.
  9860. * doc/tm.texi (MAX_STACK_ALIGNMENT): Add macro.
  9861. (INCOMING_STACK_BOUNDARY): Likewise.
  9862. (TARGET_UPDATE_STACK_BOUNDARY): New target hook.
  9863. (TARGET_GET_DRAP_RTX): Likewise.
  9864. 2008-07-30 Andreas Schwab <schwab@suse.de>
  9865. PR rtl-optimization/36929
  9866. * dse.c (replace_inc_dec): Use emit_insn_before instead of
  9867. add_insn_before and fix argument order.
  9868. (replace_inc_dec_mem): Handle NULL rtx.
  9869. 2008-07-30 Andrew Jenner <andrew@codesourcery.com>
  9870. * config/arm/arm.c (arm_compute_static_chain_stack_bytes): New
  9871. function.
  9872. (arm_compute_initial_elimination_offset): Use it.
  9873. (arm_compute_save_reg_mask): Include static chain save slot when
  9874. calculating alignment.
  9875. (arm_get_frame_offsets): Ditto.
  9876. (thumb1_compute_save_reg_mask): Ensure we have a low register saved
  9877. that we can use to decrement the stack when the stack decrement
  9878. could be too big for an immediate value in a single insn.
  9879. (thumb1_expand_prologue): Avoid using r12 for stack decrement.
  9880. 2008-07-30 Richard Guenther <rguenther@suse.de>
  9881. PR tree-optimization/36967
  9882. * tree-predcom.c (remove_stmt): Use gimple_assign_ssa_name_copy_p.
  9883. Release defs of statements we remove.
  9884. 2008-07-30 Nathan Froyd <froydnj@codesourcery.com>
  9885. * config/arm/arm.c (arm_expand_prologue): Use 0-length rtvec
  9886. instead of NULL_RTVEC.
  9887. 2008-07-30 Nathan Froyd <froydnj@codesourcery.com>
  9888. PR target/35866
  9889. * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Add clause for
  9890. vector modes.
  9891. 2008-07-30 Rafael Ávila de Espíndola <espindola@google.com>
  9892. * final.c (call_from_call_insn): New.
  9893. (final_scan_insn): Call assemble_external on FUNCTION_DECLs.
  9894. 2008-07-30 Paolo Bonzini <bonzini@gnu.org>
  9895. * configure.ac: Substitute ADA_CFLAGS.
  9896. * configure: Regenerate.
  9897. * config.host: Remove mention of pa/x-ada and pa/x-ada-hpux10 files.
  9898. * Makefile.in: Remove mention of X_* variables.
  9899. * config/pa/x-ada-hpux10: Remove.
  9900. * config/pa/x-ada: Remove.
  9901. * doc/fragments.texi: Update.
  9902. 2008-07-30 Olivier Hainque <hainque@adacore.com>
  9903. * config/mips/irix-crti.asm: .hide __gcc_init and __gcc_fini.
  9904. * config/mips/iris6.h (IRIX_SUBTARGET_LINK_SPEC, irix ld): Hide
  9905. __dso_handle explicitly here.
  9906. 2008-07-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9907. PR 34389
  9908. * c-typeck.c (build_binary_op): Encapsulate code into...
  9909. * c-common.c (shorten_binary_op): ...this new function.
  9910. (conversion_warning): Use the new function. Handle non-negative
  9911. constant in bitwise-and.
  9912. * c-common.h (shorten_binary_op): Declare.
  9913. 2008-07-30 Olivier Hainque <hainque@adacore.com>
  9914. * scan.c (make_sstring_space): Add explicit conversions of
  9915. allocator's return value.
  9916. * fix-header.c (recognized_function): Likewise.
  9917. 2008-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  9918. * doc/cpp.texi: Update to GFDL 1.2.
  9919. * doc/gcc.texi: Do not list GPL as Invariant Section.
  9920. * doc/gccint.texi: Likewise. Update copyright years.
  9921. * doc/install.texi: Update copyright years.
  9922. 2008-07-30 Alan Modra <amodra@bigpond.net.au>
  9923. PR target/36955
  9924. * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Add
  9925. a use of pic_offset_table_rtx for -msecure-plt __tls_get_addr calls.
  9926. 2008-07-29 Jan Hubicka <jh@suse.cz>
  9927. * c-decl.c (merge_decls): Do not handle DECL_INLINE.
  9928. (grokdeclarator): Likewise.
  9929. * langhooks.c (lhd_warn_unused_global_decl): Use
  9930. DECL_DECLARED_INLINE_P.
  9931. * print-tree.c (print_node): Remove DECL_INLINE check.
  9932. 2008-07-29 Richard Guenther <rguenther@suse.de>
  9933. PR tree-optimization/36945
  9934. * tree-ssa-sccvn.h (copy_reference_ops_from_ref): Declare.
  9935. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Export.
  9936. Record invariant addresses un-decomposed.
  9937. (copy_reference_ops_from_call): Record reference call
  9938. arguments properly. Simplify.
  9939. * tree-ssa-pre.c (create_component_ref_by_pieces_1): New
  9940. helper split out from ...
  9941. (create_component_ref_by_pieces): ... here. Simplify.
  9942. Prepare for recursive invocation for call arguments.
  9943. (create_expression_by_pieces): Adjust call to
  9944. create_component_ref_by_pieces.
  9945. (compute_avail): Process operand 2 of reference ops.
  9946. 2008-07-29 Richard Guenther <rguenther@suse.de>
  9947. * gimplify.c (gimplify_expr): Clear TREE_SIDE_EFFECTS for OBJ_TYPE_REF.
  9948. 2008-07-29 Jakub Jelinek <jakub@redhat.com>
  9949. * c-format.c (check_format_types): Revert unwanted checkin.
  9950. 2008-07-29 Jan Hubicka <jh@suse.cz>
  9951. * flags.h (flag_really_no_inline): Remove.
  9952. * cgraph.c (cgraph_function_possibly_inlined_p): Simplify.
  9953. * toplev.c (flag_really_no_inline): Remove.
  9954. * c-cppbuiltin.c (c_cpp_builtins): Use flag_no_inline.
  9955. * ipa-inline.c (cgraph_decide_inlining): Do not check flag_no_inline.
  9956. (cgraph_decide_inlining_incrementally): Likewise.
  9957. (compute_inline_parameters): Likewise.
  9958. * opts.c (decode_options): Simplify.
  9959. * c-opts.c (c_common_post_options): Do not set flag_no_inline.
  9960. * common.opt (finline): Initialize to 1.
  9961. * tree-inline.c (inlinable_function_p): Check flag_no_inline.
  9962. 2008-07-29 Jan Hubicka <jh@suse.cz>
  9963. * predict.c (always_optimize_for_size_p): New function.
  9964. (optimize_bb_for_size_p, optimize_bb_for_speed_p,
  9965. optimize_edge_for_size_p, optimize_edge_for_speed_p,
  9966. optimize_insn_for_size_p, optimize_insn_for_speed_p): New global
  9967. functions.
  9968. (rtl_profile_for_bb, rtl_profile_for_edge, rtl_default_profile): New.
  9969. * function.c (prepare_function_start): Set default profile.
  9970. * function.h (rtl_data): Add maybe_hot_insn_p.
  9971. * cfgexpand.c (expand_gimple_basic_block): Set RTL profile.
  9972. (construct_exit_block): Likewise.
  9973. (tree_expand_cfg): Likewise.
  9974. * basic-block.h
  9975. (optimize_bb_for_size_p, optimize_bb_for_speed_p,
  9976. optimize_edge_for_size_p, optimize_edge_for_speed_p,
  9977. optimize_insn_for_size_p, optimize_insn_for_speed_p): Declare.
  9978. (rtl_profile_for_bb, rtl_profile_for_edge, default_rtl_profile):
  9979. Declare.
  9980. 2008-07-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  9981. PR 34985
  9982. * c-decl.c (merge_decls): Merge USED flags.
  9983. 2008-07-29 Kaz Kojima <kkojima@gcc.gnu.org>
  9984. * config/sh/sh.c (sh_gimplify_va_arg_expr): Unshare the addr,
  9985. valist, next_fp, next_fp_tmp, next_fp_limit, next_o, next_o_limit,
  9986. next_stack, lab_false and lab_over trees.
  9987. 2008-07-28 Richard Guenther <rguenther@suse.de>
  9988. PR tree-optimization/36957
  9989. * tree-flow.h (tree_ssa_useless_type_conversion): Remove.
  9990. (useless_type_conversion_p): Remove.
  9991. (types_compatible_p): Remove.
  9992. * gimple.h (tree_ssa_useless_type_conversion): Declare.
  9993. (useless_type_conversion_p): Declare.
  9994. (types_compatible_p): Declare.
  9995. (gimple_expr_type): Return the base type only if it is
  9996. trivially convertible to the subtype.
  9997. 2008-07-28 Andreas Tobler <a.tobler@schweiz.org>
  9998. * configure.ac: Use the m4_do macro to concatenate the warnings into
  9999. one string in ACX_PROG_CC_WARNING_OPTS,
  10000. ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
  10001. ACX_PROG_CC_WARNINGS_ARE_ERRORS.
  10002. * configure: Regenerate.
  10003. 2008-07-28 Richard Guenther <rguenther@suse.de>
  10004. * tree-ssa-pre.c (insert_into_preds_of_block): Remove dead code.
  10005. (insert_fake_stores): Remove.
  10006. (realify_fake_stores): Likewise.
  10007. (execute_pre): Remove dead code.
  10008. * tree-ssa-structalias.c (get_constraint_for_1): Remove tcc_unary case.
  10009. (find_func_aliases): Deal with it here instead.
  10010. Re-enable gcc_unreachable call.
  10011. 2008-07-28 Richard Guenther <rguenther@suse.de>
  10012. Merge from gimple-tuples-branch.
  10013. * ChangeLog.tuples: ChangeLog from gimple-tuples-branch.
  10014. * gimple.def: New file.
  10015. * gsstruct.def: Likewise.
  10016. * gimple-iterator.c: Likewise.
  10017. * gimple-pretty-print.c: Likewise.
  10018. * tree-gimple.c: Removed. Merged into ...
  10019. * gimple.c: ... here. New file.
  10020. * tree-gimple.h: Removed. Merged into ...
  10021. * gimple.h: ... here. New file.
  10022. * Makefile.in: Add dependencies on GIMPLE_H and tree-iterator.h.
  10023. * configure.ac: Added support for ENABLE_GIMPLE_CHECKING and the
  10024. --enable-checking=gimple flag.
  10025. * config.in: Likewise.
  10026. * configure: Regenerated.
  10027. * tree-ssa-operands.h: Tuplified.
  10028. * tree-vrp.c: Likewise.
  10029. * tree-loop-linear.c: Likewise.
  10030. * tree-into-ssa.c: Likewise.
  10031. * tree-ssa-loop-im.c: Likewise.
  10032. * tree-dump.c: Likewise.
  10033. * tree-complex.c: Likewise.
  10034. * cgraphbuild.c: Likewise.
  10035. * tree-ssa-threadupdate.c: Likewise.
  10036. * tree-ssa-loop-niter.c: Likewise.
  10037. * tree-pretty-print.c: Likewise.
  10038. * tracer.c: Likewise.
  10039. * gengtype.c: Likewise.
  10040. * tree-loop-distribution.c: Likewise.
  10041. * tree-ssa-loop-unswitch.c: Likewise.
  10042. * cgraph.c: Likewise.
  10043. * cgraph.h: Likewise.
  10044. * tree-ssa-loop-manip.c: Likewise.
  10045. * value-prof.c: Likewise.
  10046. * tree-ssa-loop-ch.c: Likewise.
  10047. * tree-tailcall.c: Likewise.
  10048. * value-prof.h: Likewise.
  10049. * tree.c: Likewise.
  10050. * tree.h: Likewise.
  10051. * tree-pass.h: Likewise.
  10052. * ipa-cp.c: Likewise.
  10053. * tree-scalar-evolution.c: Likewise.
  10054. * tree-scalar-evolution.h: Likewise.
  10055. * target.h: Likewise.
  10056. * lambda-mat.c: Likewise.
  10057. * tree-phinodes.c: Likewise.
  10058. * diagnostic.h: Likewise.
  10059. * builtins.c: Likewise.
  10060. * tree-ssa-alias-warnings.c: Likewise.
  10061. * cfghooks.c: Likewise.
  10062. * fold-const.c: Likewise.
  10063. * cfghooks.h: Likewise.
  10064. * omp-low.c: Likewise.
  10065. * tree-ssa-dse.c: Likewise.
  10066. * ipa-reference.c: Likewise.
  10067. * tree-ssa-uncprop.c: Likewise.
  10068. * toplev.c: Likewise.
  10069. * tree-gimple.c: Likewise.
  10070. * tree-gimple.h: Likewise.
  10071. * tree-chrec.c: Likewise.
  10072. * tree-chrec.h: Likewise.
  10073. * tree-ssa-sccvn.c: Likewise.
  10074. * tree-ssa-sccvn.h: Likewise.
  10075. * cgraphunit.c: Likewise.
  10076. * tree-ssa-copyrename.c: Likewise.
  10077. * tree-ssa-ccp.c: Likewise.
  10078. * tree-ssa-loop-ivopts.c: Likewise.
  10079. * tree-nomudflap.c: Likewise.
  10080. * tree-call-cdce.c: Likewise.
  10081. * ipa-pure-const.c: Likewise.
  10082. * c-format.c: Likewise.
  10083. * tree-stdarg.c: Likewise.
  10084. * tree-ssa-math-opts.c: Likewise.
  10085. * tree-ssa-dom.c: Likewise.
  10086. * tree-nrv.c: Likewise.
  10087. * tree-ssa-propagate.c: Likewise.
  10088. * ipa-utils.c: Likewise.
  10089. * tree-ssa-propagate.h: Likewise.
  10090. * tree-ssa-alias.c: Likewise.
  10091. * gimple-low.c: Likewise.
  10092. * tree-ssa-sink.c: Likewise.
  10093. * ipa-inline.c: Likewise.
  10094. * c-semantics.c: Likewise.
  10095. * dwarf2out.c: Likewise.
  10096. * expr.c: Likewise.
  10097. * tree-ssa-loop-ivcanon.c: Likewise.
  10098. * predict.c: Likewise.
  10099. * tree-ssa-loop.c: Likewise.
  10100. * tree-parloops.c: Likewise.
  10101. * tree-ssa-address.c: Likewise.
  10102. * tree-ssa-ifcombine.c: Likewise.
  10103. * matrix-reorg.c: Likewise.
  10104. * c-decl.c: Likewise.
  10105. * tree-eh.c: Likewise.
  10106. * c-pretty-print.c: Likewise.
  10107. * lambda-trans.c: Likewise.
  10108. * function.c: Likewise.
  10109. * langhooks.c: Likewise.
  10110. * ebitmap.h: Likewise.
  10111. * tree-vectorizer.c: Likewise.
  10112. * function.h: Likewise.
  10113. * langhooks.h: Likewise.
  10114. * tree-vectorizer.h: Likewise.
  10115. * ipa-type-escape.c: Likewise.
  10116. * ipa-type-escape.h: Likewise.
  10117. * domwalk.c: Likewise.
  10118. * tree-if-conv.c: Likewise.
  10119. * profile.c: Likewise.
  10120. * domwalk.h: Likewise.
  10121. * tree-data-ref.c: Likewise.
  10122. * tree-data-ref.h: Likewise.
  10123. * tree-flow-inline.h: Likewise.
  10124. * tree-affine.c: Likewise.
  10125. * tree-vect-analyze.c: Likewise.
  10126. * c-typeck.c: Likewise.
  10127. * gimplify.c: Likewise.
  10128. * coretypes.h: Likewise.
  10129. * tree-ssa-phiopt.c: Likewise.
  10130. * calls.c: Likewise.
  10131. * tree-ssa-coalesce.c: Likewise.
  10132. * tree.def: Likewise.
  10133. * tree-dfa.c: Likewise.
  10134. * except.c: Likewise.
  10135. * except.h: Likewise.
  10136. * cfgexpand.c: Likewise.
  10137. * tree-cfgcleanup.c: Likewise.
  10138. * tree-ssa-pre.c: Likewise.
  10139. * tree-ssa-live.c: Likewise.
  10140. * tree-sra.c: Likewise.
  10141. * tree-ssa-live.h: Likewise.
  10142. * tree-predcom.c: Likewise.
  10143. * lambda.h: Likewise.
  10144. * tree-mudflap.c: Likewise.
  10145. * ipa-prop.c: Likewise.
  10146. * print-tree.c: Likewise.
  10147. * tree-ssa-copy.c: Likewise.
  10148. * ipa-prop.h: Likewise.
  10149. * tree-ssa-forwprop.c: Likewise.
  10150. * ggc-page.c: Likewise.
  10151. * c-omp.c: Likewise.
  10152. * tree-ssa-dce.c: Likewise.
  10153. * tree-vect-patterns.c: Likewise.
  10154. * tree-ssa-ter.c: Likewise.
  10155. * tree-nested.c: Likewise.
  10156. * tree-ssa.c: Likewise.
  10157. * lambda-code.c: Likewise.
  10158. * tree-ssa-loop-prefetch.c: Likewise.
  10159. * tree-inline.c: Likewise.
  10160. * tree-inline.h: Likewise.
  10161. * tree-iterator.c: Likewise.
  10162. * tree-optimize.c: Likewise.
  10163. * tree-ssa-phiprop.c: Likewise.
  10164. * tree-vect-transform.c: Likewise.
  10165. * tree-object-size.c: Likewise.
  10166. * tree-outof-ssa.c: Likewise.
  10167. * cfgloop.c: Likewise.
  10168. * system.h: Likewise.
  10169. * tree-profile.c: Likewise.
  10170. * cfgloop.h: Likewise.
  10171. * c-gimplify.c: Likewise.
  10172. * c-common.c: Likewise.
  10173. * tree-vect-generic.c: Likewise.
  10174. * tree-flow.h: Likewise.
  10175. * c-common.h: Likewise.
  10176. * basic-block.h: Likewise.
  10177. * tree-ssa-structalias.c: Likewise.
  10178. * tree-switch-conversion.c: Likewise.
  10179. * tree-ssa-structalias.h: Likewise.
  10180. * tree-cfg.c: Likewise.
  10181. * passes.c: Likewise.
  10182. * ipa-struct-reorg.c: Likewise.
  10183. * ipa-struct-reorg.h: Likewise.
  10184. * tree-ssa-reassoc.c: Likewise.
  10185. * cfgrtl.c: Likewise.
  10186. * varpool.c: Likewise.
  10187. * stmt.c: Likewise.
  10188. * tree-ssanames.c: Likewise.
  10189. * tree-ssa-threadedge.c: Likewise.
  10190. * langhooks-def.h: Likewise.
  10191. * tree-ssa-operands.c: Likewise.
  10192. * config/alpha/alpha.c: Likewise.
  10193. * config/frv/frv.c: Likewise.
  10194. * config/s390/s390.c: Likewise.
  10195. * config/m32c/m32c.c: Likewise.
  10196. * config/m32c/m32c-protos.h: Likewise.
  10197. * config/spu/spu.c: Likewise.
  10198. * config/sparc/sparc.c: Likewise.
  10199. * config/i386/i386.c: Likewise.
  10200. * config/sh/sh.c: Likewise.
  10201. * config/xtensa/xtensa.c: Likewise.
  10202. * config/stormy16/stormy16.c: Likewise.
  10203. * config/ia64/ia64.c: Likewise.
  10204. * config/rs6000/rs6000.c: Likewise.
  10205. * config/pa/pa.c: Likewise.
  10206. * config/mips/mips.c: Likewise.
  10207. 2008-07-28 Simon Baldwin <simonb@google.com>
  10208. * c-pragma.c (handle_pragma_message): New function.
  10209. (init_pragma): Register handle_pragma_message.
  10210. * doc/extend.texi (Diagnostic Pragmas): Added #pragma message
  10211. documentation.
  10212. 2008-07-27 Victor Kaplansky <victork@il.ibm.com>
  10213. PR tree-optimization/35252
  10214. * tree-vect-analyze.c (vect_build_slp_tree): Make IMAGPART_EXPR and
  10215. REALPART_EXPR to be considered as same load operation.
  10216. 2008-07-27 Eric Botcazou <ebotcazou@adacore.com>
  10217. PR tree-optimization/36830
  10218. * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Hash operand #2.
  10219. (expressions_equal_p): Return false if only one operand is null.
  10220. 2008-07-26 Gerald Pfeifer <gerald@pfeifer.com>
  10221. * doc/install.texi (powerpc-*-netbsd*): Remove redundant texinfo
  10222. version requirements.
  10223. 2008-07-26 Olivier Hainque <hainque@adacore.com>
  10224. * collect2.c (symkind): New enum. Symbol kinds we care about.
  10225. (is_ctor_dtor): Return symkind instead of int. Adjust prototype,
  10226. code and head comment accordingly.
  10227. (scan_prog_file): Use symkind names instead of bare integers.
  10228. 2008-07-25 Jan Hubicka <jh@suse.cz>
  10229. * cgraph.c (cgraph_function_possibly_inlined_p): Do not rely on
  10230. DECL_INLINE.
  10231. * cgraphunit.c (record_cdtor_fn): Do not initialize DECL_INLINE
  10232. (cgraph_preserve_function_body_p): Do not rely on DECL_INLINE.
  10233. * dojump.c (clear_pending_stack_adjust): Likewise.
  10234. * print-tree.c (print_node): Ignore DECL_INLINE.
  10235. * tree-inline.c (inlinable_function_p): Likewise.
  10236. 2008-07-25 Michael Meissner <gnu@the-meissners.org>
  10237. * doc/extend.texi (hot attribute): Document that the hot attribute
  10238. turns on -O3 for some ports.
  10239. (cold attribute): Document that the cold attribute turns on -Os
  10240. for some ports
  10241. * doc/tm.texi (OPTIMIZATION_OPTIONS): Update documentation to
  10242. reflect function specific option support.
  10243. * target.h (struct target_option_hooks): Add fields to say whether
  10244. the cold attribute implies -Os and the hot attribute implies -O3.
  10245. * target-def.h (TARGET_OPTION_COLD_ATTRIBUTE_SETS_OPTIMIZATION):
  10246. By default, do not turn on -Os for cold functions.
  10247. (TARGET_OPTION_COLD_ATTRIBUTE_SETS_OPTIMIZATION): By default, do
  10248. not turn on -O3 for hot functions.
  10249. * c-common.c (handle_hot_attribute): Use target hook to determine
  10250. if hot functions should enable -O3.
  10251. (handle_cold_attribute): Use target hook to determine if cold
  10252. functions should enable -Os.
  10253. * config/i386/i386.c (ix86_target_string): Add -m3dnowa support.
  10254. (override_options): Move disable scheduling to
  10255. optimization_options.
  10256. (optimization_options): Disable scheduling here, not
  10257. override_options.
  10258. (TARGET_OPTION_COLD_ATTRIBUTE_SETS_OPTIMIZATION): Define.
  10259. (TARGET_OPTION_HOT_ATTRIBUTE_SETS_OPTIMIZATION): Define.
  10260. * config/ia64/ia64.c (ia64_override_options): Move setting
  10261. scheduling flags to ia64_optimization_options.
  10262. (ia64_optimization_options): Disable scheduling options here, and
  10263. not in ia64_override_options.
  10264. (TARGET_OPTION_COLD_ATTRIBUTE_SETS_OPTIMIZATION): Define.
  10265. (TARGET_OPTION_HOT_ATTRIBUTE_SETS_OPTIMIZATION): Define.
  10266. 2008-07-25 H.J. Lu <hongjiu.lu@intel.com>
  10267. PR target/36936
  10268. * config/i386/i386.c (override_options): Don't clear TARGET_CMOVE.
  10269. 2008-07-25 Martin Jambor <mjambor@suse.cz>
  10270. PR tree-optimization/36926
  10271. * ipa-prop.c (ipa_analyze_call_uses): Call
  10272. ipa_is_ssa_with_stmt_def instead of SSA_NAME_IS_DEFAULT_DEF.
  10273. 2008-07-25 Joseph Myers <joseph@codesourcery.com>
  10274. * config/arm/iwmmxt.md (movv8qi_internal, movv4hi_internal,
  10275. movv2si_internal): Add mem = reg alternative.
  10276. 2008-07-25 Andreas Tobler <a.tobler@schweiz.org>
  10277. PR bootstrap/36918
  10278. * config/sparc/sparc.h (DEFAULT_PCC_STRUCT_RETURN): Define
  10279. DEFAULT_PCC_STRUCT_RETURN to 127.
  10280. 2008-07-24 Jan Hubicka <jh@suse.cz>
  10281. * cgraphbuild.c (record_reference): Drop non-unit-at-a-time code.
  10282. (build_cgraph_edges): Likewise.
  10283. * cgraph.c (cgraph_node): Do not update assembler hash.
  10284. (cgraph_remove_node): Drop non-unit-at-a-time code.
  10285. * tree-pass.h (pass_O0_always_inline): Remove.
  10286. * ipa-reference.c (gate_reference): Remove unit-at-a-time check.
  10287. * toplev.c (process_options): Flag unit-at-a-time does not imply
  10288. no section anchors.
  10289. * cgraphunit.c: Update comments.
  10290. (decide_is_function_needed): Drop non-unit-at-a-time mode.
  10291. (cgraph_assemble_pending_functions): Remove.
  10292. (cgraph_reset_node): Drop non-unit-at-a-time code.
  10293. (cgraph_finalize_function): Likewise.
  10294. (cgraph_analyze_function): Likewise.
  10295. (cgraph_finalize_compilation_unit): Likewise.
  10296. (cgraph_expand_function): Likewise.
  10297. (cgraph_optimize): Likesise.
  10298. (save_inline_function_body): Likewise.
  10299. * ipa-pure-const.c (gate_pure_const): Drop flag_unit_at_a_time check.
  10300. * tree-ssa-alias.c (maybe_be_aliased): Likewise.
  10301. * ipa-inline.c: Update comments.
  10302. (enum inlining_mode): remove INLINE_SPEED.
  10303. (cgraph_clone_inlined_nodes): Drop unit-at-a-time check.
  10304. (cgraph_mark_inline_edge): Likewise.
  10305. (try_inline): Likewise.
  10306. (cgraph_decide_inlining_incrementally): Likewise.
  10307. (cgraph_gate_inlining): Remove.
  10308. (cgraph_early_inlining): Remove flag_unit_at_a_time checks.
  10309. (cgraph_gate_early_inlining): Likewise.
  10310. (gate_inline_passes): Remove.
  10311. (pass_inline_parameters, pass_ipa_inline): Remove gates.
  10312. (cgraph_gate_O0_always_inline, cgraph_O0_always_inline,
  10313. pass_O0_always_inline): Remove.
  10314. * c-pch.c (c_pch_matching): Remove -funit-at-a-time.
  10315. * dwarf2out.c (reference_to_unused): Remove flag_unit_at_a_time check.
  10316. * opts.c (no_unit_at_a_time_default): Remove.
  10317. (decode_options): Remove flag_unit_at_a_time reset and warning.
  10318. * opts.h (no_unit_at_a_time_default): Remove.
  10319. * c-decl.c (diagnose_mismatched_decls): Do not require inline keyword
  10320. early in GNU dialect.
  10321. (merge_decls): Update comment; drop unit-at-a-time check.
  10322. (finish_decl): Likewise.
  10323. (grok_declaration): Remove flag_inline_trees code.
  10324. (finish_functions): Return on function returning non-void on all
  10325. statics.
  10326. * ipa-tye-escape.c (gate_type_escape_vars): Remove.
  10327. * cfgexpand.c (expand_one_static_var): Remove.
  10328. (expand_one_var): Remove expand_one_static_var call.
  10329. (expand_used_vars_for_block): Remove flag_unit_a_time check.
  10330. * c-opts.c (c_common_post_options): Remove flag_inline_trees code
  10331. and flag_unit_at_a-time compatibility checks.
  10332. * varasm.c (assemble_alias): Remove flag_unit_at_a_time check.
  10333. * tree-inline.c (flag_inline_trees): Remove.
  10334. (inlinable_function_p): Don't check it.
  10335. (expand_call_inline): Remove non-unit-at-a-time code.
  10336. * tree-inline.h (flag_inline_trees): Remove.
  10337. * tree-optimize.c (execute_early_local_optimizations): Remove
  10338. unit-at-a-time checks.
  10339. (tree_rest_of_compilation): Likewise.
  10340. * combine.c (setup_incoming_promotions): Likewise.
  10341. * tree-profile.c (tree_gen_ic_func_profiler): Likewise.
  10342. * tree-ssa-structalias.c (delete_points_to_sets): Likewise.
  10343. * passes.c (pass_inline_parameters): Update comments; remove
  10344. O0_alwaysinline pass.
  10345. (execute_one_ipa_transform_pass): Do not reset in_gimple_form.
  10346. (execute_one_pass): Likewise.
  10347. * i386.c (ix86_function_regparm): Remove unit-at-a-time check.
  10348. (ix86_function_sseregparm): Likewise.
  10349. * arm.c (arm_function_in_section_p): Likewise.
  10350. * bfin.c (bfin_load_pic_reg, bfin_function_ok_for_sibcall): Likewise.
  10351. * varpool.c: Update comments.
  10352. (decide_is_variable_needed): Remove unit-at-a-time checks.
  10353. (varpool_finalize_decl): Likewise.
  10354. 2008-07-24 Kaz Kojima <kkojima@gcc.gnu.org>
  10355. * config/sh/sh.h (OPTIMIZATION_OPTIONS): Set flag_omit_frame_pointer
  10356. to 2 instead of -1.
  10357. (OVERRIDE_OPTIONS): Check if flag_omit_frame_pointer is equal to 2.
  10358. 2008-07-24 Kai Tietz <kai.tietz@onevision.com>
  10359. * config/i386/i386.c (get_dllimport_decl): Treat user_label_prefix for
  10360. imp symbol extension.
  10361. 2008-07-23 Ian Lance Taylor <iant@google.com>
  10362. * tree-vrp.c (infer_value_range): Ignore asm statements when
  10363. looking for memory accesses for -fdelete-null-pointer-checks.
  10364. 2008-07-24 Ben Elliston <bje@au.ibm.com>
  10365. * config/spu/spu-c.c (__vector_keyword): New variable.
  10366. (vector_keyword): Likewise.
  10367. (spu_categorize_keyword): New function.
  10368. (spu_macro_to_expand): Likewise.
  10369. (spu_cpu_cpp_builtins): Enable context-sensitive macros if not
  10370. compiling an ISO C dialect.
  10371. 2008-07-24 Ben Elliston <bje@au.ibm.com>
  10372. * config/rs6000/rs6000-c.c: Move GTY(()) markers to match
  10373. conventional usage.
  10374. 2008-07-23 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
  10375. * configure: Regenerate.
  10376. * configure.ac: Require texinfo 4.7.
  10377. * doc/install.texi: Document texinfo 4.7 requirement.
  10378. 2008-07-23 Martin Jambor <mjambor@suse.cz>
  10379. * ipa-cp.c (ipcp_print_edge_profiles): Test for node->analyzed
  10380. rather than for DECL_SAVED_TREE.
  10381. * ipa-prop.c: Include diagnostic.h.
  10382. (ipa_check_stmt_modifications): Check LHS of GIMPLE_MODIFY_EXPRs
  10383. thoroughly.
  10384. (ipa_detect_param_modifications): Function rewritten from scratch.
  10385. (ipa_compute_jump_functions): Changed accesses to modification flags.
  10386. (ipa_free_node_params_substructures): Update flags destruction.
  10387. (ipa_node_duplication_hook): Update flags duplication.
  10388. (ipa_print_all_params_modified): Updated flag access.
  10389. * ipa-prop.h (struct ipa_param_flags): New structure.
  10390. (struct ipa_node_params): New field modification_analysis_done,
  10391. modified_flags changed into param_flags.
  10392. (ipa_is_ith_param_modified): Changed to use new flags.
  10393. * Makefile.in (ipa-prop.o): Add $(DIAGNOSTIC_H) to dependencies.
  10394. * ipa-prop.c (ipa_print_all_jump_functions): Moved here from
  10395. ipa-cp.c and split into two functions.
  10396. (ipa_print_node_jump_functions): New function.
  10397. (compute_scalar_jump_functions): New function.
  10398. (type_like_member_ptr_p): New function.
  10399. (compute_pass_through_member_ptrs): New function.
  10400. (fill_member_ptr_cst_jump_function): New function.
  10401. (determine_cst_member_ptr): New function.
  10402. (compute_cst_member_ptr_arguments): New function.
  10403. (ipa_compute_jump_functions): Complete rewrite.
  10404. * ipa-prop.h (enum jump_func_type): Make explicit that we depend
  10405. on IPA_UNKNOWN being zero. Added value IPA_CONST_MEMBER_PTR.
  10406. (struct ipa_member_ptr_cst): New structure.
  10407. (union jump_func_value): New field member_cst.
  10408. * ipa-cp.c (ipcp_lat_is_insertable): New function.
  10409. (ipcp_lattice_from_jfunc): Produces bottom lattices for unhandled
  10410. jump function types.
  10411. (ipcp_print_all_lattices): Slight fprintf rearrangement.
  10412. (ipcp_print_all_structures): Call ipa_print_all_jump_functions
  10413. instead of ipcp_print_all_jump_functions.
  10414. (ipcp_insert_stage): Use ipcp_lat_is_insertable, create replace maps
  10415. only for replacable scalars.
  10416. * doc/invoke.texi (Optimize options): Add description of
  10417. -findirect-inlining.
  10418. * common.opt (flag_indirect_inlining): New flag.
  10419. * opts.c (decode_options): Set flag_indirect_inlining when
  10420. optimize >= 3.
  10421. * ipa-inline.c: Include ipa-prop.h.
  10422. (inline_indirect_intraprocedural_analysis): New function.
  10423. (inline_generate_summary): Allocate parameter and argument info
  10424. structures, call inline_indirect_intraprocedural_analysis on each
  10425. node when doing indirect inlining and deallocate indirect inlining
  10426. data structures in the end.
  10427. * ipa-prop.c (ipa_create_param_decls_array): Return if already done.
  10428. (free_all_ipa_structures_after_iinln): New function.
  10429. (free_all_ipa_structures_after_ipa_cp): Checks whether iinln will be
  10430. done.
  10431. * Makefile.in (ipa-inline.o): Added $(IPA_PROP_H) to dependencies.
  10432. * cgraphbuild.c (compute_call_stmt_bb_frequency): New function.
  10433. (build_cgraph_edges): Call compute_call_stmt_bb_frequency instead
  10434. of computing the frequency separately.
  10435. (rebuild_cgraph_edges): Call compute_call_stmt_bb_frequency instead
  10436. of computing the frequency separately.
  10437. * ipa-cp.c (ipcp_print_all_structures): Replace a call to
  10438. ipa_print_all_param_modified with a call to ipa_print_all_param_flags.
  10439. * ipa-prop.c (ipa_get_member_ptr_load_param): New function.
  10440. (ipa_get_stmt_member_ptr_load_param): New function.
  10441. (ipa_is_ssa_with_stmt_def): New function.
  10442. (ipa_note_param_call): New function.
  10443. (ipa_analyze_call_uses): New function.
  10444. (ipa_analyze_stmt_uses): New function.
  10445. (ipa_analyze_params_uses): New function.
  10446. (ipa_free_node_params_substructures): Also free the param_calls linked
  10447. list.
  10448. (ipa_node_duplication_hook): Also duplicate the param_calls
  10449. linked list.
  10450. (ipa_print_node_param_flags): New function.
  10451. (ipa_print_all_params_modified): Renamed to ipa_print_all_param_flags.
  10452. (ipa_print_all_param_flags): Calls ipa_print_node_param_flags.
  10453. * ipa-prop.h (struct ipa_param_flags): New field called.
  10454. (struct ipa_param_call_note): New structure.
  10455. (struct ipa_node_params): New fields param_calls and
  10456. uses_analysis_done.
  10457. (ipa_is_ith_param_called): New function.
  10458. * ipa-inline.c (inline_indirect_intraprocedural_analysis): Call
  10459. ipa_analyze_params_uses and dump parameter flags.
  10460. * ipa-inline.c (cgraph_decide_recursive_inlining): Call
  10461. ipa_propagate_indirect_call_infos if performing indirect inlining,
  10462. pass a new parameter new_edges to it.
  10463. (add_new_edges_to_heap): New fucntion.
  10464. (cgraph_decide_inlining_of_small_functions): New vector
  10465. new_indirect_edges for newly found indirect edges , call
  10466. ipa_propagate_indirect_call_infos after inlining.
  10467. (cgraph_decide_inlining): Call ipa_propagate_indirect_call_infos after
  10468. inlining if performing indirect inlining. Call
  10469. free_all_ipa_structures_after_iinln when doing so too.
  10470. (inline_generate_summary): Do not call
  10471. free_all_ipa_structures_after_iinln here.
  10472. * ipa-prop.c (update_jump_functions_after_inlining): New function.
  10473. (print_edge_addition_message): New function.
  10474. (update_call_notes_after_inlining): New function.
  10475. (propagate_info_to_inlined_callees): New function.
  10476. (ipa_propagate_indirect_call_infos): New function.
  10477. * ipa-prop.h: Include cgraph.h
  10478. (struct ipa_param_call_note): Fields reordered, new field processed.
  10479. * cgraph.h (cgraph_edge): Shrink loop_nest field to 31 bits, add a new
  10480. flag indirect_call.
  10481. * cgraphunit.c (verify_cgraph_node): Allow indirect edges not to have
  10482. rediscovered call statements.
  10483. * cgraph.c (cgraph_create_edge): Initialize indirect_call to zero.
  10484. (dump_cgraph_node): Dump also the indirect_call flag.
  10485. (cgraph_clone_edge): Copy also the indirect_call flag.
  10486. * tree-inline.c (copy_bb): Do not check for fndecls from call
  10487. expressions, check for edge availability when moving clones.
  10488. (get_indirect_callee_fndecl): New function.
  10489. (expand_call_inline): If callee declaration is not apprent from
  10490. the statement, try calling get_indirect_callee_fndecl. Do not
  10491. issue warnings or call sorry when not inlinings an indirect edge.
  10492. * Makefile.in (IPA_PROP_H): Added $(CGRAPH_H) to dependencies.
  10493. * ipa-prop.c (ipa_print_node_param_flags): Make the dump format a
  10494. bit more frandly to matching.
  10495. * testsuite/g++.dg/ipa/iinline-1.C: New testcase.
  10496. * testsuite/gcc.dg/ipa/iinline-1.c: New testcase.
  10497. * testsuite/gcc.dg/ipa/modif-1.c: New testcase.
  10498. 2008-07-23 Michael Meissner <gnu@the-meissners.org>
  10499. PR 36907
  10500. * opth-gen.awk: Suppress function specific features when building
  10501. target libraries.
  10502. * optc-gen.awk: Ditto.
  10503. 2008-07-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  10504. PR 35058
  10505. * diagnostic.c (pedwarn): Add opt parameter.
  10506. (pedwarn0): New.
  10507. * c-tree.h (pedwarn_init): Add opt parameter.
  10508. (pedwarn_c90): Likewise.
  10509. (pedwarn_c99): Likewise.
  10510. * c-errors.c (pedwarn_c99): Likewise.
  10511. (pedwarn_c90): Likewise.
  10512. * toplev.h (pedwarn): Update declaration.
  10513. (pedwarn0): Declare.
  10514. * c-lex.c: All calls to pedwarn changed.
  10515. * builtins.c: All calls to pedwarn changed.
  10516. * toplev.c: All calls to pedwarn changed.
  10517. * c-decl.c: All calls to pedwarn changed.
  10518. * c-typeck.c: All calls to pedwarn changed.
  10519. * c-common.c: All calls to pedwarn changed.
  10520. * c-parser.c: All calls to pedwarn changed.
  10521. 2008-07-23 Michael Meissner <gnu@the-meissners.org>
  10522. Karthik Kumar <karthikkumar@gmail.com>
  10523. * attribs.c (file scope): Include c-common.h.
  10524. (decl_attributes): Add support for #pragma GCC optimize and
  10525. #pragma GCC option.
  10526. * targhooks.c (default_can_inline_p): New function that is the
  10527. default for the TARGET_CAN_INLINE_P target hook.
  10528. * targhooks.h (default_can_inline_p): Add declaration.
  10529. * tree.c (cl_optimization_node): New static tree for building
  10530. OPTIMIZATION_NODE tree.
  10531. (cl_target_option_node): New static tree for building
  10532. TARGET_OPTION_NODE tree.
  10533. (cl_option_hash_table): New hash table for hashing
  10534. OPTIMIZATION_NODE and TARGET_OPTION_NODE trees.
  10535. (cl_option_hash_hash): New function to provide the hash value for
  10536. OPTIMIZATION_NODE and TARGET_OPTION_NODE trees.
  10537. (cl_option_hash_eq): New function to provide an equality test for
  10538. OPTIMIZATION_NODE and TARGET_OPTION_NODE trees.
  10539. (tree_code_size): Add support for OPTIMIZATION_NODE and
  10540. TARGET_OPTION_NODE trees.
  10541. (tree_code_structure): Add support for OPTIMIZATION_NODE and
  10542. TARGET_OPTION_NODE trees.
  10543. (build_optimization_node): Build a tree that has all of the
  10544. current optimization options.
  10545. (build_target_option_node): Build a tree that has the target
  10546. options that might be changed on a per function basis.
  10547. * tree.h (file scope): Include options.h.
  10548. (DECL_FUNCTION_SPECIFIC_TARGET): New accessor macro.
  10549. (DECL_FUNCTION_SPECIFIC_OPTIMIZATION): Ditto.
  10550. (TREE_OPTIMIZATION): Ditto.
  10551. (TREE_TARGET_SPECIFIC): Ditto.
  10552. (struct tree_function_decl): Add fields for remembering the
  10553. current optimization options and target specific options.
  10554. (struct tree_optimization_option): New tree variant that remembers
  10555. the optimization options.
  10556. (struct tree_target_option): New tree variant that remembers the
  10557. target specific flags that might change for compiling a particular
  10558. function.
  10559. (union tree_node): Include tree_optimization_option and
  10560. tree_target_option fields.
  10561. (enum tree_index): Add TI_OPTIMIZATION_DEFAULT,
  10562. TI_OPTIMIZATION_CURRENT, TI_OPTIMIZATION_COLD,
  10563. TI_OPTIMIZATION_HOT, TI_TARGET_OPTION_DEFAULT,
  10564. TI_TARGET_OPTION_CURRENT, TI_CURRENT_OPTION_PRAGMA,
  10565. TI_CURRENT_OPTIMIZE_PRAGMA entries for saving function specific
  10566. optimization and target options.
  10567. (optimization_default_node): New macro to refer to global_trees
  10568. field.
  10569. (optimization_current_node): Ditto.
  10570. (optimization_cold_node): Ditto.
  10571. (optimization_hot_node): Ditto.
  10572. (target_option_default_node): Ditto.
  10573. (target_option_current_node): Ditto.
  10574. (current_option_pragma): Ditto.
  10575. (current_optimize_pragma): Ditto.
  10576. * target.h (struct gcc_target): Add valid_option_attribute_p,
  10577. target_option_save, target_option_restore, target_option_print,
  10578. target_option_pragma_parse, and can_inline_p hooks.
  10579. * toplev.h (parse_optimize_options): Add declaration.
  10580. (fast_math_flags_struct_set_p): Ditto.
  10581. * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): New function to
  10582. adjust the current __OPTIMIZE__, etc. macros when #pragma GCC
  10583. optimize is used.
  10584. * ipa-inline.c (cgraph_decide_inlining_of_small_function): Call
  10585. tree_can_inline_p hook to see if one function can inline another.
  10586. (cgraph_decide_inlining): Ditto.
  10587. (cgraph_decide_inlining_incrementally): Ditto.
  10588. * opts.c (decode_options): Add support for running multiple times
  10589. to allow functions with different target or optimization options
  10590. than was specified on the command line.
  10591. (fast_math_flags_struct_set_p): New function that is similar to
  10592. fast_math_flags_set_p, except it uses the values in the
  10593. cl_optimization structure instead of global variables.
  10594. * optc-gen.awk: Add support for TargetSave to allow a back end to
  10595. declare new fields that need to be saved when using function
  10596. specific options. Include flags.h and target.h in the options.c
  10597. source. Add support for Save to indicate which options can be set
  10598. for individual functions. Generate cl_optimize_save,
  10599. cl_optimize_restore, cl_optimize_print, cl_target_option_save,
  10600. cl_target_option_restore, cl_target_option_print functions to
  10601. allow functions to use different optimization or target options.
  10602. * opt-functions.awk (var_type_struct): Return the type used for
  10603. storing the field in a structure.
  10604. * opth-gen.awk: Add support for TargetSave to allow a back end to
  10605. declare new fields that need to be saved when using function
  10606. specific options. Add support for Save to indicate which options
  10607. can be set for individual functions. Only generate one extern for
  10608. Mask fields. Generate cl_optimization and cl_target_option
  10609. structures to remember optimization and target options.
  10610. * treestruct.def (TS_OPTIMIZATION): Add support for garbage
  10611. collecting new tree nodes.
  10612. (TS_TARGET_OPTION): Ditto.
  10613. * c-decl.c (merge_decls): Merge function specific target and
  10614. optimization options.
  10615. * function.c (invoke_set_current_function_hook): If the function
  10616. uses different optimization options, change the global variables
  10617. to reflect this.
  10618. * coretypes.h (struct cl_optimization): Add forward reference.
  10619. (struct cl_target_option): Ditto.
  10620. * c-pragma.c (option_stack): New static vector to remember the
  10621. current #pragma GCC option stack.
  10622. (handle_pragma_option): New function to support #pragma GCC option
  10623. to change target options.
  10624. (optimize_stack): New static vector to remember the current
  10625. #pragma GCC optimize stack.
  10626. (handle_pragma_optimize): New function to support #pragma GCC
  10627. optimize to change optimization options.
  10628. (init_pragma): Add support for #pragma GCC optimize and #pragma
  10629. GCC option.
  10630. * tree.def (OPTIMIZATION_NODE): New tree code for remembering
  10631. optimization options.
  10632. (TARGET_OPTION_NODE): New tree code for remembering certain target
  10633. options.
  10634. * print-tree.c (print_node): Add support for OPTIMIZATION_NODE and
  10635. TARGET_OPTION_NODE trees.
  10636. * common.opt (-O): Add Optimization flag.
  10637. (-Os): Ditto.
  10638. (-fmath-errno): Ditto.
  10639. (-falign-functions): Add UInteger flag to make sure flag gets full
  10640. int in cl_optimization structure.
  10641. (-falign-jumps): Ditto.
  10642. (-falign-labels): Ditto.
  10643. (-falign-loops): Ditto.
  10644. (-fsched-stalled-insns): Ditto.
  10645. (-fsched-stalled-insns-dep): Ditto.
  10646. * target-def.h (TARGET_VALID_OPTION_ATTRIBUTE_P): Add default
  10647. definition.
  10648. (TARGET_OPTION_SAVE): Ditto.
  10649. (TARGET_OPTION_RESTORE): Ditto.
  10650. (TARGET_OPTION_PRINT): Ditto.
  10651. (TARGET_OPTION_PRAGMA_PARSE): Ditto.
  10652. (TARGET_CAN_INLINE_P): Ditto.
  10653. (TARGET_INITIALIZER): Add new hooks.
  10654. * tree-inline.c (tree_can_inline_p): New function to determine
  10655. whether one function can inline another. Check if the functions
  10656. use compatible optimization options, and also call the backend
  10657. can_inline_p hook.
  10658. * tree-inline.h (tree_can_inline_p): Add declaration.
  10659. * c-common.c (c_common_attribute): Add support for option and
  10660. optimize attributes.
  10661. (handle_option_attribute): Add support for the option attribute to
  10662. allow the user to specify different target options for compiling a
  10663. specific function.
  10664. (handle_optimize_attribute): Add support for the optimize
  10665. attribute to allow the user to specify different optimization
  10666. options for compiling a specific function.
  10667. (handle_hot_attribute): Turn on -O3 optimization for this one
  10668. function if it isn't the default optimization level.
  10669. (handle_cold_attribute): Turn on -Os optimization for this one
  10670. function if it insn't the default optimization.
  10671. (const_char_p): New const char * typedef.
  10672. (optimize_args): New static vector to remember the optimization
  10673. arguments.
  10674. (parse_optimize_options): New function to set up the optimization
  10675. arguments from either the optimize attribute or #pragma GCC optimize.
  10676. * c-common.h (c_cpp_builtins_optimize_pragma): Add declaration.
  10677. (builtin_define_std): Ditto.
  10678. * config.gcc (i[3467]86-*-*): Add i386-c.o to C/C++ languages.
  10679. Add t-i386 Makefile fragment to add i386-c.o and i386.o dependencies.
  10680. (x86_64-*-*): Ditto.
  10681. * Makefile.in (TREE_H): Add options.h.
  10682. (options.o): Add $(TARGET_H) $(FLAGS_H) dependencies.
  10683. * doc/extend.texi (option attribute): Document new attribute.
  10684. (optimize attribute): Ditto.
  10685. (hot attribute): Document hot attribute sets -O3.
  10686. (cold attribute): Document cold attribute sets -Os.
  10687. (#pragma GCC option): Document new pragma.
  10688. (#pragma GCC optimize): Ditto.
  10689. * doc/options.texi (TargetSave): Document TargetSave syntax.
  10690. (UInteger): Document UInteger must be used for certain flags.
  10691. (Save): Document Save option to create target specific options
  10692. that can be saved/restored on a function specific context.
  10693. * doc/c-tree.texi (DECL_FUNCTION_SPECIFIC_TARGET): Document new macro.
  10694. (DECL_FUNCTION_SPECIFIC_OPTIMIZATION): Ditto.
  10695. * doc/tm.texi (TARGET_VALID_OPTION_ATTRIBUTE_P): Document new hook.
  10696. (TARGET_OPTION_SAVE): Ditto.
  10697. (TARGET_OPTION_RESTORE): Ditto.
  10698. (TARGET_OPTION_PRINT): Ditto.
  10699. (TARGET_OPTION_PRAGMA_PARSE): Ditto.
  10700. (TARGET_CAN_INLINE_P): Ditto.
  10701. * doc/invoke.texi (-mfpmath=sse+387): Document as an alias for
  10702. -mfpmath=sse,387.
  10703. (-mfpmath=both): Ditto.
  10704. 2008-07-23 Michael Meissner <gnu@the-meissners.org>
  10705. Karthik Kumar <karthikkumar@gmail.com>
  10706. * config/i386/i386.h (TARGET_ABM): Move switch into ix86_isa_flags.
  10707. (TARGET_POPCNT): Ditto.
  10708. (TARGET_SAHF): Ditto.
  10709. (TARGET_AES): Ditto.
  10710. (TARGET_PCLMUL): Ditto.
  10711. (TARGET_CMPXCHG16B): Ditto.
  10712. (TARGET_RECIP): Move switch into target_flags.
  10713. (TARGET_FUSED_MADD): Ditto.
  10714. (ix86_arch_features): Make an unsigned char type.
  10715. (ix86_tune_features): Ditto.
  10716. (OVERRIDE_OPTIONS): Add bool argument to override_options call.
  10717. (TARGET_CPU_CPP_BUILTINS): Move into ix86_target_macros.
  10718. (REGISTER_TARGET_PRAGMAS): Define, call ix86_register_pragmas.
  10719. * config/i386/i386.opt (arch): New TargetSave field to define
  10720. fields that need to be saved for function specific option support.
  10721. (tune): Ditto.
  10722. (fpmath): Ditto.
  10723. (branch_cost): Ditto.
  10724. (ix86_isa_flags_explicit): Ditto.
  10725. (tune_defaulted): Ditto.
  10726. (arch_specified): Ditto.
  10727. (-m128-long-double): Add Save flag to save option for target
  10728. specific option support.
  10729. (-m80387): Ditto.
  10730. (-maccumulate-outgoing-args): Ditto.
  10731. (-malign-double): Ditto.
  10732. (-malign-stringops): Ditto.
  10733. (-mfancy-math-387): Ditto.
  10734. (-mhard-float): Ditto.
  10735. (-mieee-fp): Ditto.
  10736. (-minline-all-stringops): Ditto.
  10737. (-minline-stringops-dynamically): Ditto.
  10738. (-mms-bitfields): Ditto.
  10739. (-mno-align-stringops): Ditto.
  10740. (-mno-fancy-math-387): Ditto.
  10741. (-mno-push-args): Ditto.
  10742. (-mno-red-zone): Ditto.
  10743. (-mpush-args): Ditto.
  10744. (-mred-zone): Ditto.
  10745. (-mrtd): Ditto.
  10746. (-msseregparm): Ditto.
  10747. (-mstack-arg-probe): Ditto.
  10748. (-m32): Ditto.
  10749. (-m64): Ditto.
  10750. (-mmmx): Ditto.
  10751. (-m3dnow): Ditto.
  10752. (-m3dnowa): Ditto.
  10753. (-msse): Ditto.
  10754. (-msse2): Ditto.
  10755. (-msse3): Ditto.
  10756. (-msse4.1): Ditto.
  10757. (-msse4.2): Ditto.
  10758. (-msse4): Ditto.
  10759. (-mno-sse4): Ditto.
  10760. (-msse4a): Ditto.
  10761. (-msse5): Ditto.
  10762. (-mrecip): Move flag into target_flags.
  10763. (-mcld): Ditto.
  10764. (-mno-fused-madd): Ditto.
  10765. (-mfused-madd): Ditto.
  10766. (-mabm): Move flag into ix86_isa_flags.
  10767. (-mcx16): Ditto.
  10768. (-mpopcnt): Ditto.
  10769. (-msahf): Ditto.
  10770. (-maes): Ditto.
  10771. (-mpclmul): Ditto.
  10772. * config/i386/i386-c.c: New file for #pragma support.
  10773. (ix86_target_macros_internal): New function to #define or #undef
  10774. target macros based when the user uses the #pragma GCC option to
  10775. change target options.
  10776. (ix86_pragma_option_parse): New function to add #pragma GCC option
  10777. support.
  10778. (ix86_target_macros): Move defining the target macros here from
  10779. TARGET_CPU_CPP_BUILTINS in i386.h.
  10780. (ix86_register_pragmas): Register the #pragma GCC option hook. If
  10781. defined, initialize any subtarget #pragmas.
  10782. * config/i386/darwin.h (REGISTER_SUBTARGET_PRAGMAS): Rename from
  10783. REGISTER_TARGET_PRAGMAS.
  10784. * config/i386/t-i386: New file for x86 dependencies.
  10785. (i386.o): Make dependencies mirror the include files used.
  10786. (i386-c.o): New file, add dependencies.
  10787. * config/i386/i386-protos.h (override_options): Add bool argument.
  10788. (ix86_valid_option_attribute_tree): Add declaration.
  10789. (ix86_target_macros): Ditto.
  10790. (ix86_register_macros): Ditto.
  10791. * config/i386/i386.c (ix86_tune_features): Move initialization of
  10792. the target masks to initial_ix86_tune_features to allow functions
  10793. to have different target options. Make type unsigned char,
  10794. instead of unsigned int.
  10795. (initial_ix86_tune_features): New static vector to hold processor
  10796. masks for the tune variables.
  10797. (ix86_arch_features): Move initialization of the target masks to
  10798. initial_ix86_arch_features to allow functions to have different
  10799. target options. Make type unsigned char, instead of unsigned int.
  10800. (initial_ix86_arch_features): New static vector to hold processor
  10801. masks for the arch variables.
  10802. (enum ix86_function_specific_strings): New enum to describe the
  10803. string options used for attribute((option(...))).
  10804. (ix86_target_string): New function to return a string that
  10805. describes the target options.
  10806. (ix86_debug_options): New function to print the current options in
  10807. the debugger.
  10808. (ix86_function_specific_save): New function hook to save the
  10809. function specific global variables in the cl_target_option structure.
  10810. (ix86_function_specific_restore): New function hook to restore the
  10811. function specific variables from the cl_target_option structure to
  10812. the global variables.
  10813. (ix86_function_specific_print): New function hook to print the
  10814. target specific options in the cl_target_option structure.
  10815. (ix86_valid_option_attribute_p): New function hook to validate
  10816. attribute((option(...))) arguments.
  10817. (ix86_valid_option_attribute_tree): New function that is common
  10818. code between attribute((option(...))) and #pragma GCC option
  10819. support that parses the options and returns a tree holding the options.
  10820. (ix86_valid_option_attribute_inner_p): New helper function for
  10821. ix86_valid_option_attribute_tree.
  10822. (ix86_can_inline_p): New function hook to decide if one function
  10823. can inline another on a target specific basis.
  10824. (ix86_set_current_function); New function hook to switch target
  10825. options if the user used attribute((option(...))) or #pragma GCC
  10826. option.
  10827. (ix86_tune_defaulted): Move to static file scope from
  10828. override_options.
  10829. (ix86_arch_specified): Ditto.
  10830. (OPTION_MASK_ISA_AES_SET): New macro for moving switches into
  10831. ix86_isa_flags.
  10832. (OPTION_MASK_ISA_PCLMUL_SET): Ditto.
  10833. (OPTION_MASK_ISA_ABM_SET): Ditto.
  10834. (OPTION_MASK_ISA_POPCNT_SET): Ditto.
  10835. (OPTION_MASK_ISA_CX16_SET): Ditto.
  10836. (OPTION_MASK_ISA_SAHF_SET): Ditto.
  10837. (OPTION_MASK_ISA_AES_UNSET): Ditto.
  10838. (OPTION_MASK_ISA_PCLMUL_UNSET): Ditto.
  10839. (OPTION_MASK_ISA_ABM_UNSET): Ditto.
  10840. (OPTION_MASK_ISA_POPCNT_UNSET): Ditto.
  10841. (OPTION_MASK_ISA_CX16_UNSET): Ditto.
  10842. (OPTION_MASK_ISA_SAHF_UNSET): Ditto.
  10843. (struct ptt): Move to static file scope from override_options.
  10844. (processor_target_table): Ditto.
  10845. (cpu_names): Ditto.
  10846. (ix86_handle_option): Add support for options that are now isa options.
  10847. (override_options): Add support for declaring functions that
  10848. support different target options than were specified on the
  10849. command line. Move struct ptt, processor_target_table, cpu_names,
  10850. ix86_tune_defaulted, ix86_arch_specified to static file scope.
  10851. Add bool argument. Fix up error messages so the appropriate error
  10852. is given for either command line or attribute.
  10853. (ix86_previous_fndecl): New static to remember previous function
  10854. declaration to see if we need to change target options.
  10855. (ix86_builtins_isa): New array to record the ISA of each builtin
  10856. function.
  10857. (def_builtin): Always create the builtin function, even if the
  10858. current ISA doesn't support it.
  10859. (ix86_init_mmx_sse_builtins): Remove TARGET_AES and TARGET_PCLMUL
  10860. tests for those builtins.
  10861. (ix86_init_builtins): Remove TARGET_MMX test for calling
  10862. ix86_init_mmx_sse_builtins.
  10863. (ix86_expand_builtin): If the current ISA doesn't support a given
  10864. builtin, signal an error.
  10865. (TARGET_VALID_OPTION_ATTRIBUTE_P): Set target hook.
  10866. (TARGET_SET_CURRENT_FUNCTION): Ditto.
  10867. (TARGET_OPTION_SAVE): Ditto.
  10868. (TARGET_OPTION_RESTORE): Ditto.
  10869. (TARGET_OPTION_PRINT): Ditto.
  10870. (TARGET_CAN_INLINE_P): Ditto.
  10871. 2008-07-22 Rafael Ávila de Espíndola <espindola@google.com>
  10872. * c-typeck.c (build_external_ref): Don't call assemble_external.
  10873. * final.c (output_operand): Call assemble_external.
  10874. 2008-07-21 DJ Delorie <dj@redhat.com>
  10875. * config/h8300/h8300.c (h8300_hard_regno_scratch_ok): New.
  10876. (TARGET_HARD_REGNO_SCRATCH_OK): Define.
  10877. 2008-07-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  10878. * config/spu/spu.md ("div<mode>3"): Convert into expander, move
  10879. original insn and splitter contents into ...
  10880. ("*div<mode>3_fast"): ... this new pattern. Enable only if
  10881. flag_unsafe_math_optimizations. Add dummy scratch register.
  10882. ("*div<mode>3_adjusted"): New insn and splitter. Enable only if
  10883. !flag_unsafe_math_optimizations. Returns number with next
  10884. highest magnitude if this is still less or equal to the true
  10885. quotient in magnitude.
  10886. 2008-07-21 Rafael Ávila de Espíndola <espindola@google.com>
  10887. * Makefile.in: Replace toplev.h with TOPLEV_H.
  10888. * c-decl.c (merge_decls): Don't set DECL_IN_SYSTEM_HEADER.
  10889. * c-lex.c (fe_file_change): Don't set in_system_header.
  10890. * c-parser.c (c_token): Remove in_system_header.
  10891. (c_lex_one_token): Don't set in_system_header.
  10892. (c_parser_set_source_position_from_token): Don't set in_system_header.
  10893. * diagnostic.c (diagnostic_report_diagnostic): Use location from
  10894. diagnostic_info.
  10895. (warning_at): New.
  10896. * diagnostic.h (diagnostic_report_warnings_p): Add LOC argument.
  10897. * flags.h (in_system_header): Remove.
  10898. * function.c (saved_in_system_header): Remove.
  10899. (push_cfun): Don't set in_system_header.
  10900. (pop_cfun): Don't set in_system_header.
  10901. (push_struct_function): Don't set in_system_header.
  10902. * input.h (expanded_location): Add sysp.
  10903. (in_system_header_at): New.
  10904. (in_system_header): New.
  10905. * toplev.c (in_system_header): Remove.
  10906. * toplev.h: Include input.h
  10907. (warning_at): New.
  10908. * tree-cfg.c (execute_warn_function_return): Call warning_at.
  10909. * tree-ssa.c (warn_uninit): Call warning_at.
  10910. (warn_uninitialized_var): Update calls to warn_uninit.
  10911. (warn_uninitialized_phi): Update calls to warn_uninit.
  10912. * tree.c (make_node_stat): Don't set DECL_IN_SYSTEM_HEADER.
  10913. (expand_location): Initialize xloc.sysp.
  10914. * tree.h (DECL_IN_SYSTEM_HEADER): Use in_system_header_at.
  10915. (tree_decl_with_vis): Remove in_system_header_flag.
  10916. 2008-07-21 Andreas Krebbel <krebbel1@de.ibm.com>
  10917. PR target/36822
  10918. * recog.c (asm_operand_ok): Change the order of the extra
  10919. memory constraint checks.
  10920. 2008-07-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
  10921. PR tree-opt/36879
  10922. * tree-switch-conversion.c (build_one_array): Call
  10923. varpool_mark_needed_node and varpool_finalize_decl
  10924. instead of assemble_variable.
  10925. 2008-07-19 Jan Hubicka <jh@suse.cz>
  10926. * cgraph.c (cgraph_add_new_function): Do early local passes.
  10927. * tree-nrv.c (gate_pass_return_slot): New gate.
  10928. (pass_nrv): Add the gate.
  10929. * tree-ssa-coalese.c (hash_ssa_name_by_var, eq_ssa_name_by_var): New
  10930. functions.
  10931. (coalesce_ssa_name): Coalesce SSA names.
  10932. * tree-ssa-live.c (remove_unused_locals): Be more conservative when
  10933. not optimizing so unused user vars remains visible.
  10934. * common.opt (flag_tree_ter): Always enable by default.
  10935. * tree-ssa-ter.c: Include flags.h
  10936. (is_replaceable_p): Check that locations match; when aliasing
  10937. is missing be conservative about loads.
  10938. * tree-optimize.c (gate_init_datastructures): Remove.
  10939. (pass_init_datastructures): New.
  10940. * passes.c: Reorder passes so we always go into SSA.
  10941. 2008-07-19 Jan Hubicka <jh@suse.cz>
  10942. * doc/extend.texi (flatten attribute): Remove note about
  10943. unit-at-a-time.
  10944. * doc/invoke.texi (--combine): Likewise.
  10945. (-finline-functions-called-once): Update levels when enabled.
  10946. (-funit-at-a-time): Document new behaviour.
  10947. (-ftoplevel-reorder): Document that it is enabled -O0 and imply
  10948. -fno-section-anchors when disabled explicitly.
  10949. (inline params): They are not ignored now.
  10950. (precompiled headers): Remove unit-at-a-time as being incompatible.
  10951. * opts.c (decode_options): Handle unit-at-a-time as alias;
  10952. imply -fno-section-anchors when toplevel reorder is disabled
  10953. explicitly.
  10954. * common.opt (ftoplevel-reorder): Set default value to 2.
  10955. (funit-at-a-time): Set default value to 1.
  10956. * config/rs6000/rs6000.c (optimization_options): Set section anchors
  10957. to 2.
  10958. 2008-07-19 Jan Hubicka <jh@suse.cz>
  10959. * builtins.c (expand_builtin_int_roundingfn,
  10960. expand_builtin_int_roundingfn_2): Do not take subtarget argument;
  10961. it is not useful.
  10962. 2008-07-19 Richard Guenther <rguenther@suse.de>
  10963. PR bootstrap/36864
  10964. * tree-ssa-sccvn.h (get_constant_value_id): Declare.
  10965. * tree-ssa-sccvn.c (get_constant_value_id): New function.
  10966. * tree-ssa-pre.c (get_expr_value_id): For newly created
  10967. constant value-ids make sure to add the expression to its
  10968. expression-set.
  10969. 2008-07-19 Jakub Jelinek <jakub@redhat.com>
  10970. PR middle-end/36877
  10971. * omp-low.c (expand_omp_atomic_fetch_op): Make sure the
  10972. return value of the builtin is ignored.
  10973. 2008-07-19 Olivier Hainque <hainque@adacore.com>
  10974. * doc/tm.texi (MALLOC_ABI_ALIGNMENT): New macro. Alignment, in
  10975. bits, a C conformant malloc implementation has to provide.
  10976. * defaults.h (MALLOC_ABI_ALIGNMENT): Default to BITS_PER_WORD.
  10977. 2008-07-19 Joseph Myers <joseph@codesourcery.com>
  10978. PR target/36780
  10979. PR target/36827
  10980. * reload.c (find_reloads_subreg_address): Only reload address if
  10981. reloaded == 0, not for reloaded != 1.
  10982. Revert:
  10983. 2008-07-16 Joseph Myers <joseph@codesourcery.com>
  10984. * config/m32c/m32c.c (BIG_FB_ADJ): Move definition earlier.
  10985. (m32c_legitimate_address_p): Handle "++rii" addresses created by
  10986. m32c_legitimize_reload_address.
  10987. 2008-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
  10988. * config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Allow
  10989. (plus (plus (reg) (const_int)) (const_int)) when reload_in_progress.
  10990. 2008-07-19 Olivier Hainque <hainque@adacore.com>
  10991. * dwarf2out.c (add_subscript_info): New explicit COLLAPSE_P
  10992. argument, saying whether nested array are to be collapsed
  10993. into a single array type DIE with multiple subscripts.
  10994. (gen_array_type_die): Factorize comments about the MIPS_DEBUG_INFO
  10995. issues, centralize the nested array types collapsing control and
  10996. disable the transformation for Ada.
  10997. 2008-07-18 Uros Bizjak <ubizjak@gmail.com>
  10998. PR target/36786
  10999. * config/i386/i386.md (x86_64_shift_adj_1): Rename from
  11000. x86_64_shift_adj.
  11001. (x86_64_shift_adj_2): New expander.
  11002. (x86_64_shift_adj_3): Ditto.
  11003. * config/i386/i386.c (ix86_split_ashr): Use gen_x86_64_shift_adj_3
  11004. to split TImode operands.
  11005. (ix86_split_ashl): Use gen_x86_64_shift_adj_2 to split TImode operands.
  11006. (ix86_split_lshr): Ditto.
  11007. 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
  11008. * c-common.c (c_stddef_cpp_builtins): Define __CHAR16_TYPE__
  11009. and __CHAR32_TYPE__.
  11010. * c-typeck.c (digest_init): Support char16_t and char32_t.
  11011. (set_nonincremental_init_from_string): Idem.
  11012. 2008-07-18 H.J. Lu <hongjiu.lu@intel.com>
  11013. PR middle-end/36859
  11014. * builtins.c (std_gimplify_va_arg_expr): Limit alignment to
  11015. PREFERRED_STACK_BOUNDARY.
  11016. * config/i386/i386.c (ix86_gimplify_va_arg): Likewise.
  11017. 2008-07-18 H.J. Lu <hongjiu.lu@intel.com>
  11018. PR middle-end/36858
  11019. * function.c (locate_and_pad_parm): Cap boundary earlier.
  11020. 2008-07-17 Julian Brown <julian@codesourcery.com>
  11021. * config/arm/arm.c (arm_cxx_determine_class_data_visibility): Make
  11022. no-op for targets which don't use DLLs.
  11023. 2008-07-17 Martin Jambor <mjambor@suse.cz>
  11024. * ipa-cp.c (ipcp_print_all_lattices): New variable info, check
  11025. that nodes are relevant by examining the node->analyzed flag.
  11026. (ipcp_init_stage): Check which nodes are relevant, assert that the
  11027. relevant ones are also required.
  11028. (ipcp_propagate_stage): Check on the side arrays are properly
  11029. allocated.
  11030. (ipcp_print_all_jump_functions): Make sure not to touch any node
  11031. that is not analyzed or an edge that does not have a corresponding
  11032. entry in the on-the-side vectors.
  11033. (ipcp_function_scale_print): Likewise.
  11034. (ipcp_update_callgraph): Check that the node is relevant.
  11035. (ipcp_insert_stage): Check that the node is relevant. Check there is
  11036. an info for every node and edge.
  11037. * ipa-prop.c (ipa_init_func_list): Check the nodes are relevant.
  11038. (ipa_print_all_tree_maps): Likewise and a new variable info.
  11039. (ipa_print_all_params_modified): Likewise.
  11040. * ipa-prop.h (ipa_edge_args_info_available_for_edge_p): New function.
  11041. 2008-07-17 Roman Zippel <zippel@linux-m68k.org>
  11042. PR target/25343
  11043. * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __mc68000__.
  11044. 2008-07-17 Paolo Bonzini <bonzini@gnu.org>
  11045. PR rtl-optimization/36753
  11046. * fwprop.c (use_killed_between): Don't shortcut
  11047. single-definition global registers.
  11048. 2008-07-16 Jan Hubicka <jh@suse.cz>
  11049. * cgraph.h (varpool_empty_needed_queue): Declare.
  11050. * cgraphunit.c (output_in_order): Mark all variables as needed;
  11051. empty the queue.
  11052. * varpool.c (varpool_assemble_node): Update debug queue.
  11053. (varpool_assemble_pending_decls): Don't do it here.
  11054. (varpool_empty_needed_queue): New function.
  11055. 2008-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11056. * recog.c (peephole2_optimize): Fix formatting.
  11057. 2008-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11058. * c-pch.c (get_ident): Avoid C++ keywords.
  11059. * combine-stack-adj.c (single_set_for_csa): Likewise.
  11060. * final.c (asm_insn_count, final_scan_insn, alter_subreg,
  11061. output_asm_insn): Likewise.
  11062. * reload.c (push_secondary_reload, find_reusable_reload,
  11063. push_reload, combine_reloads, find_reloads,
  11064. debug_reload_to_stream): Likewise.
  11065. * reload.h (struct reload): Likewise.
  11066. * reload1.c (reload_reg_class_lower, find_reg, find_reload_regs,
  11067. allocate_reload_reg, choose_reload_regs, emit_input_reload_insns,
  11068. emit_output_reload_insns): Likewise.
  11069. * targhooks.c (default_secondary_reload): Likewise.
  11070. * varasm.c (section_entry_eq, object_block_entry_eq): Likewise.
  11071. 2008-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11072. * recog.c (validate_change_1, validate_change,
  11073. validate_unshare_change, validate_replace_rtx_1, struct
  11074. funny_match, constrain_operands, peephole2_optimize): Avoid C++
  11075. keywords.
  11076. * reload.c (push_secondary_reload, secondary_reload_class,
  11077. scratch_reload_class, find_valid_class, find_reusable_reload,
  11078. push_reload, find_dummy_reload, find_reloads_address_1,
  11079. find_reloads_address_part, find_equiv_reg): Likewise.
  11080. * reload1.c (spill_failure, eliminate_regs_1, allocate_reload_reg,
  11081. choose_reload_regs): Likewise.
  11082. * rtlanal.c (replace_rtx, nonzero_bits1, num_sign_bit_copies1):
  11083. Likewise.
  11084. * rtlhooks.c (gen_lowpart_if_possible): Likewise.
  11085. * sched-ebb.c (add_deps_for_risky_insns): Likewise.
  11086. * sched-rgn.c (concat_INSN_LIST): Likewise.
  11087. * stor-layout.c (mode_for_size, mode_for_size_tree,
  11088. smallest_mode_for_size): Likewise.
  11089. 2008-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11090. * cfg.c (dump_reg_info): Avoid C++ keywords.
  11091. * dwarf2asm.c (dw2_force_const_mem,
  11092. dw2_asm_output_encoded_addr_rtx): Likewise.
  11093. * except.c (gen_eh_region, add_action_record, output_ttype): Likewise.
  11094. * expmed.c (expand_shift): Likewise.
  11095. * global.c (find_reg): Likewise.
  11096. * graph.c (draw_edge): Likewise.
  11097. * local-alloc.c (reg_meets_class_p, find_free_reg): Likewise.
  11098. * optabs.c (expand_binop, expand_twoval_unop, expand_twoval_binop,
  11099. widen_clz, widen_bswap, expand_parity, expand_unop,
  11100. emit_cmp_and_jump_insn_1): Likewise.
  11101. * postreload.c (reload_cse_simplify_operands): Likewise.
  11102. * ra.h (add_neighbor): Likewise.
  11103. * reg-stack.c (remove_regno_note, change_stack): Likewise.
  11104. * regclass.c (memory_move_secondary_cost, dump_regclass, regclass,
  11105. record_reg_classes, copy_cost, record_address_regs,
  11106. invalid_mode_change_p): Likewise.
  11107. * regrename.c (regrename_optimize, scan_rtx_reg,
  11108. dump_def_use_chain, find_oldest_value_reg,
  11109. replace_oldest_value_reg, copyprop_hardreg_forward_1): Likewise.
  11110. 2008-07-16 David Edelsohn <edelsohn@gnu.org>
  11111. * config/rs6000/rs6000.c (processor_target_table): Remove duplicate
  11112. MASK_POWERPC64 for power4 in previous commit.
  11113. 2008-07-16 Olivier Hainque <hainque@adacore.com>
  11114. * collect2.c (scan_prog_file, COFF version): Use CONST_CAST
  11115. instead of bare conversion to cast const-ness away.
  11116. 2008-07-16 Anatoly Sokolov <aesok@post.ru>
  11117. * config/xtensa/xtensa.h (FUNCTION_OUTGOING_VALUE,
  11118. XTENSA_FUNCTION_VALUE, XTENSA_FUNCTION_VALUE): Remove.
  11119. * config/xtensa/xtensa.c (xtensa_function_value): New function.
  11120. (TARGET_FUNCTION_VALUE): Define.
  11121. 2008-07-16 David Edelsohn <edelsohn@gnu.org>
  11122. * config/rs6000/rs6000.c (processor_target_table): Add
  11123. MASK_PPC_GPOPT for power4, power5, power5+, power6, and power6x.
  11124. 2008-07-16 Joseph Myers <joseph@codesourcery.com>
  11125. PR target/36827
  11126. * config/m32c/m32c.c (BIG_FB_ADJ): Move definition earlier.
  11127. (m32c_legitimate_address_p): Handle "++rii" addresses created by
  11128. m32c_legitimize_reload_address.
  11129. 2008-07-16 Rafael Ávila de Espíndola <espindola@google.com>
  11130. * c-decl.c (merge_decls): Keep DECL_SOURCE_LOCATION and
  11131. DECL_IN_SYSTEM_HEADER in sync.
  11132. 2008-07-15 Daniel Berlin <dberlin@dberlin.org>
  11133. * tree-ssa-sccvn.c (expressions_equal_p): Check type equality.
  11134. * tree-ssa-pre.c (pre_expr_eq): Ditto
  11135. (get_constant_for_value_id): Take a type as an argument.
  11136. (fully_constant_expression): Pass in type.
  11137. (find_or_generate_expression): Short circuit constant case.
  11138. (create_expression_by_pieces): Remove special casing of
  11139. pointer_plus.
  11140. (do_regular_insertion): Short circuit constant case.
  11141. (do_partial_partial_insertion): Ditto.
  11142. 2008-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
  11143. PR target/36782
  11144. * config/sh/sh.md (symGOT_load): Don't add REG_EQUAL note.
  11145. 2008-07-15 Bob Wilson <bob.wilson@acm.org>
  11146. * config/xtensa/libgcc-xtensa.ver: New file.
  11147. * config/xtensa/t-linux (SHLIB_MAPFILES): Append libgcc-xtensa.ver.
  11148. 2008-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11149. * df-problems.c (df_set_note): Avoid C++ keywords.
  11150. * df-scan.c (df_ref_change_reg_with_loc_1): Likewise.
  11151. * dse.c (record_store, remove_useless_values): Likewise.
  11152. * emit-rtl.c (gen_reg_rtx, update_reg_offset, gen_rtx_REG_offset,
  11153. gen_reg_rtx_offset, operand_subword, change_address_1,
  11154. change_address, adjust_address_1, offset_address,
  11155. widen_memory_access, emit_copy_of_insn_after): Likewise.
  11156. * explow.c (round_push, allocate_dynamic_stack_space): Likewise.
  11157. * fwprop.c (should_replace_address, propagate_rtx_1,
  11158. propagate_rtx, try_fwprop_subst, forward_propagate_and_simplify):
  11159. Likewise.
  11160. * gcse.c (cprop_jump, find_implicit_sets, bypass_block,
  11161. gcse_emit_move_after, update_ld_motion_stores): Likewise.
  11162. * lcm.c (compute_insert_delete, pre_edge_lcm,
  11163. compute_rev_insert_delete, pre_edge_rev_lcm): Likewise.
  11164. * lower-subreg.c (resolve_reg_notes): Likewise.
  11165. * mode-switching.c (optimize_mode_switching): Likewise.
  11166. 2008-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11167. * bt-load.c (add_btr_def, migrate_btr_def,
  11168. branch_target_load_optimize): Avoid C++ keywords.
  11169. * caller-save.c (insert_restore, insert_save, insert_one_insn):
  11170. Likewise.
  11171. * combine.c (subst, simplify_set, make_extraction,
  11172. make_compound_operation, known_cond, simplify_shift_const_1): Likewise.
  11173. * cse.c (make_regs_eqv, merge_equiv_classes, validate_canon_reg,
  11174. fold_rtx, equiv_constant, cse_insn, cse_process_notes_1): Likewise.
  11175. 2008-07-15 Richard Guenther <rguenther@suse.de>
  11176. PR middle-end/36369
  11177. * c-common.c (strict_aliasing_warning): Do not warn for
  11178. TYPE_REF_CAN_ALIAS_ALL pointers.
  11179. (c_common_get_alias_set): may_alias types are not special.
  11180. * tree.c (build_pointer_type_for_mode): Look up the may_alias
  11181. attribute and set can_ref_all accordingly.
  11182. (build_reference_type_for_mode): Likewise.
  11183. * doc/extend.texi (may_alias): Clarify.
  11184. 2008-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
  11185. PR target/36780
  11186. * config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Allow
  11187. (plus (plus (reg) (const_int)) (const_int)) when reload_in_progress.
  11188. 2008-07-15 Andrew Pinski <andrew_pinski@playstation.sony.com>
  11189. PR target/31568
  11190. * config/rs6000/rs6000.c (print_operand <case 'y'>): Don't use
  11191. gcc_assert, instead call output_operand_lossage.
  11192. 2008-07-15 Kai Tietz <kai.tietz@onevision.com>
  11193. * builtins.c (std_canonical_va_list): Treat structure based
  11194. va_list types.
  11195. 2008-07-15 Ben Elliston <bje@au.ibm.com>
  11196. * emit-rtl.c (set_mem_attributes_minus_bitpos): Improve comment.
  11197. 2008-07-14 Rafael Ávila de Espíndola <espindola@google.com>
  11198. * c-decl.c (diagnose_mismatched_decls): Don't warn if TREE_NO_WARNING
  11199. is set.
  11200. 2008-07-14 Jan Hubicka <jh@suse.cz>
  11201. * i386.md (sse5 cmov pattern): Update call of ix86_sse5_valid_op_p
  11202. * sse.md (sse5 patterns): Update call of ix86_sse5_valid_op_p;
  11203. fix predicates and constraints.
  11204. * i386.c (ix86_sse5_valid_op_p): Add commutative parameter.
  11205. * i386-protos.h (ix86_sse5_valid_op_p): Update declaration.
  11206. 2008-07-14 Doug Kwan <dougkwan@google.com>
  11207. * config.gcc (arm*-*-eabi*): Include arm/eabi.h and use
  11208. additional option file arm/eabi.opt.
  11209. * config/arm/eabi.h (File): New configuration file for EABI targets.
  11210. * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
  11211. SUBSUBTARGET_EXTRA_SPECS.
  11212. (SUBSUBTARGET_EXTRA_SPECS): Provide empty default.
  11213. * config/arm/unknown-elf.h (UNKNOWN_ELF_STARTFILE_SPEC): Renamed
  11214. from STARTFILE_SPEC so that it can be referenced in an override.
  11215. (STARTFILE_SPEC): Use UNKNOWN_ELF_STARTFILE_SPEC.
  11216. (UNKNOWN_ELF_ENDFILE_SPEC): Renamed from ENDFILE_SPEC so that it
  11217. can be referenced in an override.
  11218. (ENDFILE_SPEC): Use UNKNOWN_ELF_ENDFILE_SPEC.
  11219. * config/arm/bpabi.h (BPABI_LINK_SPEC): Renamed from LINK_SPEC
  11220. so that it can be referenced in an override.
  11221. (LINK_SPEC): Use BPABI_LINK_SPEC.
  11222. * config/arm/eabi.opt (File): New.
  11223. 2008-07-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11224. * Makefile.in (TARGET_DEF_H): Add targhooks.h.
  11225. (FIXED_VALUE_H): New variable.
  11226. (RTL_BASE_H): Use $(INPUT_H) and $(FIXED_VALUE_H) instead of
  11227. input.h, fixed-value.h.
  11228. (TREE_H): Use $(INPUT_H), add $(SYMTAB_H).
  11229. (BASIC_BLOCK_H): Use $(BITMAP_H).
  11230. (FUNCTION_H): Add varray.h.
  11231. (IPA_REFERENCE_H): Use $(BITMAP_H).
  11232. (CGRAPH_H): Add $(BASIC_BLOCK_H).
  11233. (DF_H): Use $(BITMAP_H).
  11234. (GGC_H): Add statistics.h.
  11235. (INSN_ADDR_H): New.
  11236. (INSN_ATTR_H): Use it.
  11237. (SYSTEM_H): Add safe-ctype.h, filenames.h.
  11238. (INPUT_H): New.
  11239. (SYMTAB_H): Add $(OBSTACK_H).
  11240. (CPP_INTERNAL_H): New.
  11241. (TREE_DUMP_H): Add tree-pass.h.
  11242. (TREE_FLOW_H): Use $(BITMAP_H)
  11243. (PRETTY_PRINT_H): Use $(INPUT_H).
  11244. (EBITMAP_H): Rename from typo-ed EBIMAP_H.
  11245. (GSTAB_H): New.
  11246. (BITMAP_H): New.
  11247. (many object files): Fix lots of header dependencies throughout.
  11248. 2008-07-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11249. * Makefile.in (write_entries_to_file, write_entries_to_file_split):
  11250. New macros.
  11251. (s-gtyp-input): Use them to write tmp-gi.list.
  11252. (echo_to_gi.list): Remove.
  11253. 2008-07-14 Richard Guenther <rguenther@suse.de>
  11254. * tree-ssa-sccvn.c (pre_info): Remove.
  11255. (switch_to_PRE_table): Likewise.
  11256. (free_scc_vn): Do not clear SSA_NAME_VALUE. Do not free pre_info.
  11257. (set_hashtable_value_ids): Do not create value-ids for the
  11258. optimistic tables.
  11259. (run_scc_vn): Remove double test. Remove bogus special-case
  11260. in value-number printing.
  11261. * tree-ssa-sccvn.h (switch_to_PRE_table): Remove.
  11262. * tree-ssa-ccp.c (get_symbol_constant_value): Do not look at
  11263. SSA_NAME_VALUE.
  11264. * tree-flow-inline.h (get_value_handle): Remove.
  11265. * tree-flow.h (get_value_handle): Remove.
  11266. 2008-07-14 Martin Jambor <mjambor@suse.cz>
  11267. * tree-switch-conversion.c (gen_inbound_check): Make sure the type
  11268. in which we generate arithmetics is not a subrange.
  11269. 2008-07-14 Martin Jambor <mjambor@suse.cz>
  11270. * Makefile.in (IPA_PROP_H): Added ipa-prop.h to IPA_PROP_H variable.
  11271. 2008-07-14 Richard Guenther <rguenther@suse.de>
  11272. * tree-ssa-pre.c (insert_into_preds_of_block): Do not call convert.
  11273. 2008-07-14 Andreas Krebbel <krebbel1@de.ibm.com>
  11274. PR target/36745
  11275. * config/s390/s390.c (s390_secondary_reload): Add a secondary
  11276. reload for symbol refs moved to r0 with -fPIC.
  11277. (legitimize_pic_address): Use the target register as temporary
  11278. reg if possible.
  11279. (emit_symbolic_move): Adjust comment.
  11280. * config/s390/s390.md (reloadsi_PIC_addr, reloaddi_PIC_addr):
  11281. New expanders.
  11282. 2008-07-14 Ben Elliston <bje@au.ibm.com>
  11283. * c-common.h (C_CPP_HASHNODE): New macro.
  11284. * coretypes.h (struct cpp_token): Forward declare.
  11285. * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document
  11286. the context-sensitive keyword method.
  11287. * config/rs6000/rs6000-c.c (__vector_keyword, vector_keyword,
  11288. __pixel_keyword, pixel_keyword, __bool_keyword, bool_keyword,
  11289. expand_bool_pixel): New.
  11290. (altivec_categorize_keyword): New function.
  11291. (init_vector_keywords): New function.
  11292. (rs6000_macro_to_expand): Likewise.
  11293. (rs6000_cpu_cpp_builtins): Enable context-sensitive macros if not
  11294. compiling an ISO C dialect.
  11295. 2008-07-13 Daniel Berlin <dberlin@dberlin.org>
  11296. * tree-ssa-pre.c (fully_constant_expression): Add fold_convert calls.
  11297. (create_expression_by_pieces): Fix typo.
  11298. (do_regular_insertion): Use debug counter here too.
  11299. 2008-07-14 Hans-Peter Nilsson <hp@axis.com>
  11300. PR target/35492.
  11301. * config/cris/cris.h (CRIS_CONST_OK_FOR_LETTER_P): Renamed from
  11302. CONST_OK_FOR_LETTER_P. All port-local users changed.
  11303. (CONST_OK_FOR_CONSTRAINT_P): Define; implement Kc as old K,
  11304. implement Kp matching power-of-two.
  11305. (CONSTRAINT_LEN): Define to match.
  11306. * config/cris/cris.md: Replace all use of constraint K with Kc.
  11307. ("*btst*): Use Kp for operand 0 of last alternative.
  11308. 2008-07-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  11309. PR testsuite/36440
  11310. * tree-call-cdce.c (check_target_format): Accept MIPS single, double
  11311. and quad formats.
  11312. 2008-07-13 Jan Hubicka <jh@suse.cz>
  11313. * tree.c (decl_assembler_name_equal): Expect assembler name of decl
  11314. to be mangled too.
  11315. 2008-07-13 Richard Guenther <rguenther@suse.de>
  11316. PR middle-end/36811
  11317. * langhooks.c (lhd_print_error_function): Deal with recursive
  11318. BLOCK trees.
  11319. 2008-07-12 Jan Hubicka <jh@suse.cz>
  11320. * cgraph.c (assembler_name_hash): New static var.
  11321. (hash_node_by_assembler_name, eq_assembler_name): New.
  11322. (cgraph_node_for_asm): Use hashtable.
  11323. (cgraph_remove_node): Maintain hashtable.
  11324. (change_decl_assembler_name): Sanity check that names are not changing
  11325. after aliasing was processed.
  11326. * cgraph.h (varpoon_node): Add next GGC marker.
  11327. * tree.c (decl_assembler_name_equal): Constify.
  11328. (decl_assembler_name_hash): New.
  11329. * tree.h (decl_assembler_name_equal): Constify.
  11330. (decl_assembler_name_hash): Update.
  11331. 2008-07-12 David Daney <ddaney@avtrex.com>
  11332. * config/mips/driver-native.c (host_detect_local_cpu): Handle
  11333. sb1 and r5000 cpus.
  11334. 2008-07-12 Richard Sandiford <rdsandiford@googlemail.com>
  11335. * doc/md.texi: Document the MIPS "v" constraint.
  11336. * config/mips/mips.h (reg_class): Revert last change.
  11337. (REG_CLASS_NAMES): Likewise.
  11338. (REG_CLASS_CONTENTS): Likewise.
  11339. * config/mips/mips.c (mips_regno_to_class): Likewise.
  11340. * config/mips/constraints.md (v): Likewise, but add documentation.
  11341. Add a comment to say that this constraint should not be used in
  11342. gcc code.
  11343. 2008-07-11 DJ Delorie <dj@redhat.com>
  11344. * config/h8300/h8300.md (length): Fix branch offset limit.
  11345. 2008-07-11 Anatoly Sokolov <aesok@post.ru>
  11346. * config/avr/avr-protos.h (avr_peep2_scratch_safe): Remove prototype.
  11347. * config/avr/avr.c (avr_peep2_scratch_safe): Remove.
  11348. (avr_hard_regno_scratch_ok): New function.
  11349. (TARGET_HARD_REGNO_SCRATCH_OK): Define.
  11350. * config/avr/avr.md (all peepholes that request a scratch register):
  11351. Remove avr_peep2_scratch_safe use.
  11352. 2008-07-11 Tom Tromey <tromey@redhat.com>
  11353. Ian Lance Taylor <iant@google.com>
  11354. * c-common.h (enum rid): Add RID_CXX_COMPAT_WARN.
  11355. (struct c_common_resword): Define.
  11356. (D_CONLY, D_CXXONLY, D_C99, D_CXX0X, D_EXT, D_EXT89): Define.
  11357. (D_ASM, D_OBJC, D_CXX_OBJC, D_CXXWARN): Define.
  11358. (c_common_reswords, num_c_common_reswords): Declare.
  11359. * c-common.c (c_common_reswords): New global const array.
  11360. (num_c_common_reswords): New const int.
  11361. * c-parser.c (struct resword, reswords): Don't define.
  11362. (D_C89, D_EXT, D_EXT89, D_OBJC): Don't define.
  11363. (c_parse_init): Clarify mask code. Use c_common_reswords rather
  11364. than reswords. If warning about C++ keywords, give them a special
  11365. RID code.
  11366. (c_lex_one_token): Warn about C++ keywords. Call
  11367. objc_is_reserved_word rather than OBJC_IS_AT_KEYWORD.
  11368. (c_parser_external_declaration): Look for RID_xxx rather than
  11369. RID_AT_xxx, for ObjC++ keywords which are also C++ keywords.
  11370. (c_parser_statement_after_labels): Likewise.
  11371. (c_parser_objc_class_instance_variables): Likewise.
  11372. (c_parser_objc_class_declaration): Likewise.
  11373. (c_parser_objc_try_catch_statement): Likewise.
  11374. * c-decl.c (c_print_identifier): Ignore RID_CXX_COMPAT_WARN.
  11375. (declspecs_add_type): Likewise.
  11376. 2008-07-11 Angelo Graziosi <angelo.graziosi@alice.it>
  11377. * ggc-page.c (alloc_page):
  11378. Substituting xmalloc, xcalloc with
  11379. XNEWVEC and XCNEWVAR macros which add the
  11380. needed casts.
  11381. 2008-07-11 Richard Guenther <rguenther@suse.de>
  11382. PR tree-optimization/36765
  11383. * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
  11384. aliases from HEAP vars to SMTs.
  11385. 2008-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11386. * Makefile.in (LOOSE_WARN, STRICT_WARN): Update comments.
  11387. * configure.ac (loose_warn): Move -Wc++-compat from here...
  11388. (strict_warn): ...to here.
  11389. * configure: Regenerate.
  11390. 2008-07-10 Joseph Myers <joseph@codesourcery.com>
  11391. * config.gcc (arm-*-coff*, armel-*-coff*, h8300-*-*,
  11392. i[34567]86-*-aout*, i[34567]86-*-coff*, m68k-*-aout*,
  11393. m68k-*-coff*, sh-*-*, mips-sgi-irix[56]*, pdp11-*-bsd,
  11394. rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Deprecate targets,
  11395. excluding more specific h8300-*-* and sh-*-* targets.
  11396. 2008-07-10 Daniel Berlin <dberlin@dberlin.org>
  11397. * tree-ssa-pre.c (create_expression_by_pieces): Add fold_convert calls.
  11398. (eliminate): Ditto.
  11399. (execute_pre): Call loop_optimizer_finalize in early exit.
  11400. 2008-07-10 Jakub Jelinek <jakub@redhat.com>
  11401. PR middle-end/36790
  11402. * omp-low.c (lower_omp_2): If task_shared_vars, test all DECL_P
  11403. uids in the bitmap, not just VAR_DECL uids.
  11404. PR rtl-optimization/36419
  11405. * combine-stack-adj.c (adjust_frame_related_expr): New function.
  11406. (combine_stack_adjustments_for_block): Call it if needed. Delete
  11407. correct insn.
  11408. * dwarf2out.c (dwarf2out_frame_debug_expr): Adjust
  11409. DW_CFA_GNU_args_size if CSA pass merged some adjustments into
  11410. prologue sp adjustment.
  11411. 2008-07-10 Peter Maydell <pmaydell@chiark.greenend.org.uk>
  11412. PR other/28322
  11413. * opts.c (print_ignored_options): Report postponed diagnostics for
  11414. unknown -Wno-* options as warnings, not errors.
  11415. (postpone_unknown_option_error): Renamed to...
  11416. (postpone_unknown_option_warning): ... this.
  11417. 2008-07-09 Doug Kwan <dougkwan@google.com>
  11418. Revert:
  11419. 2008-07-08 Doug Kwan <dougkwan@google.com>
  11420. * config/arm/arm.opt (mandroid): New option.
  11421. * config/arm/bpabi.h (ANDROID_LINK_SPEC): New macro.
  11422. (LINK_SPEC): Enable Android specific behaviour when -mandroid is used.
  11423. (CC1_SPEC): Same.
  11424. (CC1PLUS_SPEC): Same.
  11425. (LIB_SPEC): Same.
  11426. (STARTFILE_SPEC): Same.
  11427. (ENDFILE_SPEC): Same.
  11428. (TARGET_BPABI_CPP_BUILTINS): Define __ANDROID__ when -mandroid is
  11429. used.
  11430. 2008-07-09 Richard Sandiford <rdsandiford@googlemail.com>
  11431. PR target/35802
  11432. * config/mips/mips.h (reg_class): Remove V1_REG.
  11433. (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
  11434. * config/mips/mips.c (mips_regno_to_class): Map $3 to M16_NA_REGS
  11435. instead of V1_REGS.
  11436. (mips_get_tp): New function.
  11437. (mips_legitimize_tls_address): Use it.
  11438. * config/mips/constraints.md (v): Delete.
  11439. * config/mips/mips.md (TLS_GET_TP_REGNUM): New constant.
  11440. (tls_get_tp_<mode>): Allow any GPR destination and clobber $3.
  11441. After reload, split into a move and ...
  11442. (*tls_get_tp_<mode>_split): ...this new instruction.
  11443. 2008-07-09 David Daney <ddaney@avtrex.com>
  11444. * config/mips/driver-native.c: Include coretypes.h and tm.h.
  11445. 2008-07-09 Jakub Jelinek <jakub@redhat.com>
  11446. * gimplify.c (struct gimplify_ctx): Move to tree-gimple.h.
  11447. (push_gimplify_context): Don't allocate temp_htab nor c itself here.
  11448. Add c argument.
  11449. (pop_gimplify_context): Check c->temp_htab instead of optimize whether
  11450. htab_delete should be called. Don't free c.
  11451. (lookup_tmp_var): Create temp_htab lazily.
  11452. (gimplify_scan_omp_clauses, gimplify_omp_parallel, gimplify_omp_task,
  11453. gimplify_body, force_gimple_operand): Adjust push_gimplify_context
  11454. callers.
  11455. * omp-low.c (lower_omp_sections, lower_omp_single, lower_omp_master,
  11456. lower_omp_ordered, lower_omp_critical, lower_omp_for,
  11457. create_task_copyfn, lower_omp_taskreg, execute_lower_omp):
  11458. * tree-ssa-ccp.c (convert_to_gimple_builtin): Likewise.
  11459. * tree-sra.c (generate_element_init): Likewise.
  11460. * tree-mudflap.c (execute_mudflap_function_ops,
  11461. execute_mudflap_function_decls): Likewise.
  11462. * tree-inline.c (setup_one_parameter, optimize_inline_calls): Likewise.
  11463. * tree-gimple.h (struct gimplify_ctx): New type.
  11464. (push_gimplify_context): Adjust prototype.
  11465. 2008-07-09 Daniel Berlin <dberlin@dberlin.org>
  11466. * tree-ssa-pre.c (phi_translate_1): Update placement of
  11467. add_to_value calls.
  11468. 2008-07-09 Anatoly Sokolov <aesok@post.ru>
  11469. * target.h (struct gcc_target): Add hard_regno_scratch_ok field.
  11470. * target-def.h (TARGET_HARD_REGNO_SCRATCH_OK): New.
  11471. (TARGET_INITIALIZER): Use TARGET_HARD_REGNO_SCRATCH_OK.
  11472. * targhooks.c (default_hard_regno_scratch_ok): New function.
  11473. * targhooks.h (default_hard_regno_scratch_ok): Declare function.
  11474. * doc/tm.texi: Document TARGET_HARD_REGNO_SCRATCH_OK hook.
  11475. * recog.c: Include "target.h".
  11476. (peep2_find_free_register): Add check for global regs. Add target
  11477. specific check.
  11478. * Makefile.in (recog.o): Depend on target.h.
  11479. 2008-07-09 Kaz Kojima <kkojima@gcc.gnu.org>
  11480. * config/sh/sh.c (sh_canonical_va_list_type): New.
  11481. (TARGET_CANONICAL_VA_LIST_TYPE): Define.
  11482. 2008-07-09 Raksit Ashok <raksit@google.com>
  11483. * doc/invoke.texi (Option Summary): Mention new option
  11484. -Wdisallowed-function-list=...
  11485. (Warning Options): Document -Wdisallowed-function-list=...
  11486. * common.opt (Wdisallowed-function-list=): New flag.
  11487. * flags.h (warn_disallowed_functions): External definition of new
  11488. boolean warning flag.
  11489. (warn_if_disallowed_function_p): Declare new function.
  11490. * opts.c (warning_disallowed_functions): New static variable.
  11491. (warn_disallowed_functions): New boolean warning flag.
  11492. (warn_if_disallowed_function_p): New function.
  11493. (add_comma_separated_to_vector): Rename
  11494. add_instrument_functions_exclude_list to this.
  11495. (common_handle_option): Handle new option. Rename calls to
  11496. add_instrument_functions_exclude_list into calls to
  11497. add_comma_separated_to_vector.
  11498. * c-parser.c (c_parser_postfix_expression_after_primary): New warning
  11499. based on flag warn_disallowed_functions.
  11500. 2008-07-09 Christian Bruel <christian.bruel@st.com>
  11501. * final.c (get_attr_length_1): Call get_attr_length_1 with fallback_fn
  11502. instead of get_attr_length.
  11503. 2008-07-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11504. * genattrtab.c (insert_right_side, evaluate_eq_attr): Avoid C++
  11505. keywords.
  11506. * genemit.c (gen_insn): Likewise.
  11507. * gengtype.c (note_def_vec): Likewise.
  11508. * gengtype.h (note_def_vec): Likewise.
  11509. * genoutput.c (struct data, output_insn_data, process_template,
  11510. gen_expand, gen_split, note_constraint): Likewise.
  11511. * genrecog.c (new_decision, add_to_sequence, factor_tests,
  11512. make_insn_sequence): Likewise.
  11513. * gensupport.c (record_insn_name): Likewise.
  11514. 2008-07-08 Doug Kwan <dougkwan@google.com>
  11515. * config/arm/arm.opt (mandroid): New option.
  11516. * config/arm/bpabi.h (ANDROID_LINK_SPEC): New macro.
  11517. (LINK_SPEC): Enable Android specific behaviour when -mandroid is used.
  11518. (CC1_SPEC): Same.
  11519. (CC1PLUS_SPEC): Same.
  11520. (LIB_SPEC): Same.
  11521. (STARTFILE_SPEC): Same.
  11522. (ENDFILE_SPEC): Same.
  11523. (TARGET_BPABI_CPP_BUILTINS): Define __ANDROID__ when -mandroid is
  11524. used.
  11525. 2008-07-08 Raksit Ashok <raksit@google.com>
  11526. * expr.c (emit_block_move_via_movmem): Fix expected_align parameter.
  11527. (set_storage_via_setmem): Fix expected_align parameter.
  11528. * doc/invoke.texi (i386 and x86-64 Options): Add a couple of options
  11529. missing from the list.
  11530. * doc/md.texi (movmem): Explicitly state that expected alignment is
  11531. to be expressed in bytes.
  11532. (setmem): Explicitly state that expected alignment is to be expressed
  11533. in bytes.
  11534. 2008-07-08 Joseph Myers <joseph@codesourcery.com>
  11535. * reload.c (find_reloads_subreg_address): Do not require validity
  11536. of address in original mode before reloading address.
  11537. 2008-07-07 Tianwei Sheng <tianweis@google.com>
  11538. * df-core.c (df_remove_problem): Adjust the access to avoid out of
  11539. bounds array access.
  11540. 2008-07-08 Jakub Jelinek <jakub@redhat.com>
  11541. * tree-sra.c (sra_build_assignment): Handle CONVERT_EXPR_P dst.
  11542. 2008-07-05 Daniel Berlin <dberlin@dberlin.org>
  11543. Fix PR tree-optimization/23455
  11544. Fix PR tree-optimization/35286
  11545. Fix PR tree-optimization/35287
  11546. * Makefile.in (OBJS-common): Remove tree-vn.o.
  11547. (tree-vn.o): Remove.
  11548. * dbgcnt.def: Add treepre_insert debug counter.
  11549. * gcc/tree-flow.h (add_to_value): Updated for other changes.
  11550. (debug_value_expressions): Ditto.
  11551. (print_value_expressions): Ditto.
  11552. * tree-pretty-print.c (dump_generic_node): Updated for
  11553. VALUE_HANDLE removal.
  11554. * tree-ssa-dom.c (record_equality): Ditto.
  11555. (cprop_operand): Ditto.
  11556. (lookup_avail_expr): Ditto.
  11557. * tree-ssa-threadedge.c
  11558. (record_temporary_equivalences_from_stmts_at_dest): Ditto.
  11559. (simplify_control_stmt_condition): Ditto.
  11560. * tree.c (tree_code_size): Ditto.
  11561. (tree_node_structure): Ditto.
  11562. (iterative_hash_expr): Ditto.
  11563. * tree.def: Ditto.
  11564. * tree.h (VALUE_HANDLE_ID): Ditto.
  11565. (VALUE_HANDLE_EXPR_SET): Ditto.
  11566. (struct tree_value_handle): Ditto.
  11567. (union tree_node): Ditto.
  11568. * treestruct.def: Ditto.
  11569. * tree-vn.c: Removed.
  11570. * tree-ssa-pre.c: Rewritten entirely.
  11571. * tree-ssa-sccvn.c (constant_to_value_id): New hashtable.
  11572. (constant_value_ids): Ditto.
  11573. (vn_nary_op_t): Moved to header.
  11574. (vn_phi_t): Ditto.
  11575. (vn_reference_op_t): Ditto
  11576. (vn_reference_t): Ditto.
  11577. (next_value_id): New variable.
  11578. (VN_INFO): Add an assert.
  11579. (vn_constant_eq): New function.
  11580. (vn_constant_hash): Ditto.
  11581. (get_or_alloc_constant_value_id): Ditto.
  11582. (value_id_constant_p): Ditto.
  11583. (vn_reference_compute_hash): De-staticify.
  11584. (copy_reference_ops_from_ref): Don't use get_callee_fndecl.
  11585. Disable some code with a FIXME. Remove VALUE_HANDLE use.
  11586. (valueize_refs): Update opcode if it changes from ssa name to constant.
  11587. (vn_reference_lookup_1): Add new argument.
  11588. (vn_reference_lookup): Ditto.
  11589. (vn_reference_lookup_pieces): New function.
  11590. (vn_reference_insert): Add return type. Modify to deal with value ids.
  11591. (vn_reference_insert_pieces): New function.
  11592. (vn_nary_op_compute_hash): De-staticify.
  11593. (vn_nary_op_eq): Ditto.
  11594. (vn_nary_op_lookup_pieces): New function.
  11595. (vn_nary_op_lookup): Add new argument.
  11596. (vn_nary_op_insert_pieces): New function.
  11597. (vn_nary_op_insert): Add return type. Modify to deal with value ids.
  11598. (vn_phi_insert): Ditto.
  11599. (visit_unary_op): Update for callee changes.
  11600. (visit_binary_op): Ditto.
  11601. (visit_reference_op_load): Ditto.
  11602. (visit_reference_op_store): Ditto.
  11603. (init_scc_vn): Init next_value_id, constant_to_value_id and
  11604. constant_value_ids.
  11605. (free_scc_vn): Free them.
  11606. (set_hashtable_value_ids): New function.
  11607. (run_scc_vn): Use it.
  11608. (get_max_value_id): New function.
  11609. (get_next_value_id): Ditto.
  11610. (expressions_equal_p): Moved from tree-vn.c
  11611. (sort_vuses): Ditto.
  11612. (sort_vuses_heap): Ditto.
  11613. * tree-ssa-sccvn.h: Structures moved from tree-ssa-sccvn.c (noted
  11614. above).
  11615. * tree.c (iterative_hash_hashval_t): Made non-static
  11616. * tree.h (iterative_hash_hashval_t): Declare it.
  11617. 2008-07-08 Martin Jambor <mjambor@suse.cz>
  11618. * ipa-cp.c (ipcp_init_cloned_node): Call ipa_check_create_node_params
  11619. instead of ipa_create_node_params.
  11620. (ipcp_driver): Allocate infos with ipa_check_create_node_params and
  11621. ipa_check_create_edge_args, free them with
  11622. free_all_ipa_structures_after_ipa_cp, call ipa_register_cgraph_hooks.
  11623. * ipa-prop.c: Include flags.h and tree-inline.h.
  11624. (ipa_node_params_vector): New variable.
  11625. (ipa_edge_args_vector): New variable.
  11626. (edge_removal_hook_holder): New variable.
  11627. (node_removal_hook_holder): New variable.
  11628. (edge_duplication_hook_holder): New variable.
  11629. (node_duplication_hook_holder): New variable.
  11630. (ipa_detect_param_modifications): Check for presence of modified flags.
  11631. (ipa_compute_jump_functions): Check for presence of jump functions.
  11632. (ipa_free_edge_args_substructures): New function.
  11633. (ipa_create_node_params): Removed.
  11634. (ipa_free_all_edge_args): Changed to deallocate the on-the-side vector.
  11635. (ipa_free_node_params_substructures): New function.
  11636. (ipa_free_all_node_params): Changed to deallocate the on-the-side
  11637. vector.
  11638. (ipa_edge_removal_hook): New function.
  11639. (ipa_node_removal_hook): New function.
  11640. (duplicate_array): New function.
  11641. (ipa_edge_duplication_hook): New function.
  11642. (ipa_node_duplication_hook): New function.
  11643. (ipa_register_cgraph_hooks): New function.
  11644. (ipa_unregister_cgraph_hooks): New function.
  11645. (free_all_ipa_structures_after_ipa_cp): New function.
  11646. * ipa-prop.h: Include vec.h.
  11647. (ipa_node_params_t): New typedef with vector types for it.
  11648. (ipa_edge_args_t): New typedef with vector types for it.
  11649. (IPA_NODE_REF): Changed to access an on-the-side vector.
  11650. (IPA_EDGE_REF): Changed to access an on-the-side vector.
  11651. (ipa_check_create_node_params): New function.
  11652. (ipa_check_create_edge_args): New function.
  11653. * Makefile.in (IPA_PROP_H): New variable for ipa-prop.h. Converted
  11654. all users.
  11655. 2008-07-07 Tom Tromey <tromey@redhat.com>
  11656. * configure, config.in: Rebuilt.
  11657. * configure.ac: Don't check for scandir or alphasort.
  11658. 2008-07-07 Joseph Myers <joseph@codesourcery.com>
  11659. * config/arm/arm.c (arm_init_neon_builtins): Register built-in
  11660. types immediately after creating them.
  11661. 2008-07-07 Joseph Myers <joseph@codesourcery.com>
  11662. * config/arm/aout.h (DOLLARS_IN_IDENTIFIERS): Remove.
  11663. 2008-07-07 Fernando Pereira <fernando@cs.ucla.edu>
  11664. * tree-ssa-structalias.c (compute_points_to_sets): Add call to
  11665. dump_constraint_graph.
  11666. (dump_constraint_edge): New function.
  11667. (dump_constraint_graph): New function.
  11668. (debug_constraint_graph): New function.
  11669. (dump_constraint): Removed useless comparison.
  11670. * tree-ssa-structalias.h (dump_constraint_edge): Declare.
  11671. (dump_constraint_graph): Declare.
  11672. (debug_constraint_graph): Declare.
  11673. * tree-dump.c (struct dump_option_value_info): Declare TDF_GRAPH.
  11674. 2008-07-07 Kai Tietz <kai.tietz@onevision.com>
  11675. * config/i386/i386.c (is_va_list_char_pointer): New.
  11676. (ix86_va_start): Replace compare with ms_va_list_type_node
  11677. by is_va_list_char_pointer.
  11678. (ix86_gimplify_va_arg): Likewise.
  11679. 2008-07-07 Martin Jambor <mjambor@suse.cz>
  11680. * cgraph.c (cgraph_edge_max_uid): New variable.
  11681. (struct cgraph_edge_hook_list): New type.
  11682. (struct cgraph_node_hook_list): New type.
  11683. (struct cgraph_2edge_hook_list): New type.
  11684. (struct cgraph_2node_hook_list): New type.
  11685. (first_cgraph_edge_removal_hook): New variable.
  11686. (first_cgraph_node_removal_hook): New variable.
  11687. (first_cgraph_edge_duplicated_hook): New variable.
  11688. (first_cgraph_node_duplicated_hook): New variable.
  11689. (cgraph_add_edge_removal_hook): New function.
  11690. (cgraph_remove_edge_removal_hook): New function.
  11691. (cgraph_call_edge_removal_hooks): New function.
  11692. (cgraph_add_node_removal_hook): New function.
  11693. (cgraph_remove_node_removal_hook): New function.
  11694. (cgraph_call_node_removal_hooks): New function.
  11695. (cgraph_add_edge_duplication_hook): New function.
  11696. (cgraph_remove_edge_duplication_hook): New function.
  11697. (cgraph_call_edge_duplication_hooks): New function.
  11698. (cgraph_add_node_duplication_hook): New function.
  11699. (cgraph_remove_node_duplication_hook): New function.
  11700. (cgraph_call_node_duplication_hooks): New function.
  11701. (cgraph_create_edge): Assign to edge uid.
  11702. (cgraph_remove_edge): Call edge removal hooks.
  11703. (cgraph_node_remove_callees): Call edge removal hooks.
  11704. (cgraph_node_remove_callers): Call edge removal hooks.
  11705. (cgraph_remove_node): Call node removal hooks.
  11706. (cgraph_clone_edge): Call edge duplication hooks.
  11707. (cgraph_clone_node): Call node duplication hooks.
  11708. * cgraph.h (cgraph_edge): New field uid.
  11709. (cgraph_edge_hook): New type.
  11710. (cgraph_node_hook): New type.
  11711. (cgraph_2edge_hook): New type.
  11712. (cgraph_2node_hook): New type.
  11713. 2008-07-07 Andreas Tobler <a.tobler@schweiz.org>
  11714. * config.in: Regenerate.
  11715. 2008-07-07 Vladimir Prus <vladimir@codesourcery.com>
  11716. * gcc.c (print_sysroot): New.
  11717. (option_map, display_help, process_command): Handle the
  11718. -print-sysroot option.
  11719. (main): Print the sysroot if requested.
  11720. * doc/invoke.texi (Debugging Options): Document -print-sysroot.
  11721. 2008-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  11722. PR target/34780
  11723. * unwind-pe.h (size_of_encoded_value): add attribute unused.
  11724. 2008-07-07 Daniel Jacobowitz <dan@codesourcery.com>
  11725. * function.c (assign_parm_remove_parallels): Check mode of entry_parm.
  11726. (assign_parm_setup_block_p): Also check mode of entry_parm.
  11727. 2008-07-07 Richard Guenther <rguenther@suse.de>
  11728. * tree-ssa-structalias.h (set_used_smts): Remove.
  11729. * tree-ssa-structalias.c (used_smts): Likewise.
  11730. (set_used_smts): Likewise.
  11731. * tree-ssa-alias.c (compute_flow_sensitive_aliasing): Remove
  11732. call to set_used_smts.
  11733. 2008-07-07 Richard Guenther <rguenther@suse.de>
  11734. * tree-ssa-structalias.c (struct variable_info): Add is_full_var flag.
  11735. (new_var_info): Set it to false.
  11736. (solution_set_add): Correctly handle pointers outside a var and
  11737. inside a field.
  11738. (type_safe): Treat variables with is_full_var properly.
  11739. (do_sd_constraint): Likewise.
  11740. (do_ds_constraint): Likewise.
  11741. (process_constraint): Remove zeroing offset for !use_field_sensitive.
  11742. (get_constraint_for_ptr_offset): New function.
  11743. (get_constraint_for_component_ref): For addresses at least include
  11744. the last field of the variable. Handle is_full_vars properly.
  11745. (get_constraint_for_1): Factor common code, handle POINTER_PLUS_EXPR.
  11746. (handle_ptr_arith): Remove.
  11747. (find_func_aliases): Simplify assignment handling.
  11748. (create_function_info_for): For parameter and result varinfos set
  11749. is_full_var flag.
  11750. (create_variable_info_for): Set is_full_var flag whenever we
  11751. just created a single varinfo for a decl.
  11752. (init_alias_vars): Initialize use_field_sensitive from
  11753. max-fields-for-field-sensitive parameter.
  11754. 2008-07-07 Richard Guenther <rguenther@suse.de>
  11755. PR tree-optimization/36713
  11756. * tree-flow-inline.h (is_call_used): New function.
  11757. * tree-nrv.c (dest_safe_for_nrv_p): Use it.
  11758. * tree-tailcall.c (suitable_for_tail_opt_p): Likewise.
  11759. * tree-outof-ssa.c (create_temp): Set call-used flag if required.
  11760. 2008-07-07 Maxim Kuvyrkov <maxim@codesourcery.com>
  11761. * config/m68k/m68k.c (m68k_return_in_memory): Fix arguments types.
  11762. 2008-07-07 Mark Shinwell <shinwell@codesourcery.com>
  11763. * config/m68k/lb1sf68.asm: Add PIC macros for Linux targets.
  11764. 2008-07-07 Maxim Kuvyrkov <maxim@codesourcery.com>
  11765. Nathan Sidwell <nathan@codesourcery.com>
  11766. * config.gcc (m68k-*-linux*): Add with_arch. Add sysroot-suffix.h
  11767. to tm_file. Add m68k/t-floatlib, m68k/t-linux & m68k/t-mlibs to
  11768. tmake_file.
  11769. * config/m68k/t-linux: New.
  11770. * doc/install.texi: Document m68k-*-linux is now multilibbed by
  11771. default.
  11772. 2008-07-07 Nathan Sidwell <nathan@codesourcery.com>
  11773. * config/m68k/t-cf (MULTILIB_EXTRA_OPTS): Add no-mac.
  11774. * config/m68k/m68k-devices.def: Remove multilibs that only differ
  11775. by MAC/EMAC.
  11776. 2008-07-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11777. * gcc.c (execute): Fix -Wc++-compat warning.
  11778. 2008-07-06 H.J. Lu <hongjiu.lu@intel.com>
  11779. PR target/36720
  11780. * config/ia64/ia64.c (ia64_split_tmode): Fix typo in TImode
  11781. constant for little endian.
  11782. 2008-07-06 Richard Sandiford <rdsandiford@googlemail.com>
  11783. * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Check
  11784. mips_base_mips16 instead of TARGET_MIPS16.
  11785. (mips_base_mips16): Declare.
  11786. * config/mips/mips.c (mips_base_mips16): Make global.
  11787. (was_mips16_p): Remove GTY marker.
  11788. (was_mips16_pch_p): New variable.
  11789. (mips_set_mips16_mode): Check both was_mips16_p and was_mips16_pch_p.
  11790. (mips_override_options): Force to non-MIPS16 mode initially.
  11791. Do not complain about MIPS16 PIC incompatibilities here.
  11792. Only allow -mgpopt if -mexplicit-relocs is in force for
  11793. non-MIPS16 code.
  11794. 2008-07-06 Andreas Tobler <a.tobler@schweiz.org>
  11795. * configure.ac: Check for caddr_t, define to char * if not defined.
  11796. * configure: Regenerate.
  11797. * ggc-common.c (mmap_gt_pch_get_address): Fix -Wc++-compat warnings.
  11798. (mmap_gt_pch_use_address): Likewise.
  11799. * config/host-solaris.c (sol_gt_pch_use_address): Likewise.
  11800. 2008-07-06 Richard Guenther <rguenther@suse.de>
  11801. * tree-ssa-structalias.c (struct variable_info): Remove has_union.
  11802. (new_var_info): Deal with it.
  11803. (solution_set_add): Likewise.
  11804. (bitpos_of_field): Make signed, fix.
  11805. (struct fieldoff): Remove type and decl fields. Make size field
  11806. unsigned HOST_WIDE_INT. Add has_unknown_size and may_have_pointers
  11807. flags.
  11808. (fieldoff_compare): Deal with it.
  11809. (push_fields_onto_fieldstack): Remove has_union argument, glob
  11810. adjacent non-pointer fields together.
  11811. (create_function_info_for): Do not set has_union.
  11812. (create_variable_info_for): Simplify.
  11813. 2008-07-06 Kai Tietz <kai.tietz@onevision.com>
  11814. * config.gcc (extra_headers): Add cross-stdarg.h for target
  11815. x86_64-*-* and i?86-*-*.
  11816. * config/i386/cross-stdarg.h: New.
  11817. * builtins.c (std_fn_abi_va_list): New.
  11818. (std_canonical_va_list_type): New.
  11819. (stabilize_va_list): Replace va_list_type_node use by
  11820. mtarget.canonical_va_list_type.
  11821. (gimplify_va_arg_expr): Likewise.
  11822. (expand_builtin_va_copy): Replace va_list_type_node use by
  11823. mtarget.fn_abi_va_list.
  11824. * tree-sra.c (is_va_list_type): New helper.
  11825. (decl_can_be_decomposed_p): Replace
  11826. va_list_type_node use by is_va_list_type.
  11827. * tree-ssa-ccp.c (optimize_stdarg_builtin): Likewise.
  11828. * tree-stdarg.c (execute_optimize_stdarg): Likewise.
  11829. * c-common.c (c_common_nodes_and_builtins): Use TARGET_ENUM_VA_LIST.
  11830. * config/i386/i386-protos.h (ix86_get_valist_type): New.
  11831. (ix86_enum_va_list): New.
  11832. * config/i386/i386.c (sysv_va_list_type_node): New.
  11833. (ms_va_list_type_node): New.
  11834. (ix86_function_type_abi): Remove sorry.
  11835. (ix86_build_builtin_va_list_abi): New.
  11836. (ix86_build_builtin_va_list): Call ix86_build_builtin_va_list_abi
  11837. for 64-bit targets.
  11838. (ix86_va_start): Replace va_list_type_node by sysv_va_list_type_node.
  11839. (ix86_init_builtins_va_builtins_abi): New.
  11840. (ix86_init_builtins): Use ix86_init_builtins_va_builtins_abi
  11841. for 64-bit targets.
  11842. (ix86_handle_abi_attribute): New.
  11843. (attribute_spec): Add sysv_abi and ms_abi.
  11844. (ix86_fn_abi_va_list): New.
  11845. (ix86_canonical_va_list_type): New.
  11846. (ix86_enum_va_list): New.
  11847. (TARGET_FN_ABI_VA_LIST): New.
  11848. (TARGET_CANONICAL_VA_LIST_TYPE): New.
  11849. * config/i386/i386.h (TARGET_ENUM_VA_LIST): New.
  11850. * doc/tm.texi (TARGET_FN_ABI_VA_LIST): New.
  11851. (TARGET_CANONICAL_VA_LIST_TYPE): New.
  11852. (TARGET_ENUM_VA_LIST): New.
  11853. * expr.h (std_fn_abi_va_list): New.
  11854. (std_canonical_va_list_type): New.
  11855. * target-def.h (TARGET_FN_ABI_VA_LIST): New.
  11856. (TARGET_CANONICAL_VA_LIST_TYPE): New.
  11857. (TARGET_INITIALIZER): Add TARGET_FN_ABI_VA_LIST and
  11858. TARGET_CANONICAL_VA_LIST_TYPE.
  11859. * target.h (struct gcc_target): Add fn_abi_va_list hook
  11860. and canonical_va_list_type hook.
  11861. 2008-07-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
  11862. * fold-const.c (fold_convert_const): Treat OFFSET_TYPE the same as
  11863. integral and pointer types.
  11864. 2008-07-04 Roger Sayle <roger@eyesopen.com>
  11865. * config/rs6000/host-darwin.c (darwin_rs6000_extra_signals): Cast
  11866. the "void*" result of xmalloc to "char*" to fix bootstrap breakage.
  11867. 2008-07-04 Kaz Kojima <kkojima@gcc.gnu.org>
  11868. PR target/36684
  11869. * config/sh/sh.h (OVERRIDE_OPTIONS): Disable -fschedule-insns for PIC.
  11870. 2008-07-04 Jakub Jelinek <jakub@redhat.com>
  11871. * tree-switch-conversion.c (build_one_array, gen_def_assigns): Use
  11872. build_gimple_modify_stmt.
  11873. (build_arrays, gen_inbound_check): Likewise. Force RHS to be
  11874. gimple operand. Use fold_build* instead of build*.
  11875. 2008-07-04 Richard Guenther <rguenther@suse.de>
  11876. * tree-ssa-structalias.c (lookup_vi_for_tree): Declare.
  11877. (do_sd_constraint): Handle a dereference of ESCAPED and CALLUSED
  11878. properly to compute the reachability set if we do field-sensitive PTA.
  11879. * invoke.texi (max-fields-for-field-sensitive): Document default.
  11880. * opts.c (decode_options): Set max-fields-for-field-sensitive to
  11881. 100 for optimize >= 2.
  11882. 2008-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11883. * ggc-zone.c (lookup_page_table_if_allocated,
  11884. set_page_table_entry, zone_find_object_size, alloc_small_page,
  11885. alloc_large_page, ggc_free, gt_ggc_m_S, ggc_marked_p, init_ggc,
  11886. new_ggc_zone, init_ggc_pch, ggc_pch_this_base, ggc_pch_read): Fix
  11887. -Wc++-compat and/or -Wcast-qual warnings.
  11888. 2008-07-04 Alan Modra <amodra@bigpond.net.au>
  11889. PR target/36634
  11890. * config/rs6000/rs6000.md (call, call_value): Don't arrange for
  11891. pic_offset_table_rtx to be marked as used here.
  11892. (call_nonlocal_sysv, call_value_nonlocal_sysv): Add split for
  11893. TARGET_SECURE_PLT to "use" pic_offset_table_rtx.
  11894. (call_nonlocal_sysv_secure, call_value_nonlocal_sysv_secure): New insn.
  11895. (sibcall_nonlocal_sysv, sibcall_value_nonlocal_sysv): Assert
  11896. !TARGET_SECURE_PLT.
  11897. 2008-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11898. * alloc-pool.c (hash_descriptor, eq_descriptor,
  11899. alloc_pool_descriptor): Fix -Wc++-compat warnings.
  11900. * bitmap.c (hash_descriptor, eq_descriptor, bitmap_descriptor):
  11901. Likewise.
  11902. * ggc-common.c (hash_descriptor, eq_descriptor, hash_ptr, eq_ptr,
  11903. loc_descriptor, ggc_prune_ptr, ggc_free_overhead,
  11904. final_cmp_statistic, cmp_statistic, dump_ggc_loc_statistics): Likewise.
  11905. * varray.c (hash_descriptor, eq_descriptor, varray_descriptor):
  11906. Likewise.
  11907. 2008-07-03 Eric Botcazou <ebotcazou@adacore.com>
  11908. * tree-flow.h (loop_only_exit_p): Declare.
  11909. * tree-ssa-loop-niter.c (loop_only_exit_p): Make public.
  11910. * tree-ssa-loop-ivopts.c (may_eliminate_iv): Reinstate direct check on
  11911. the number of iterations if it is constant. Otherwise, if this is the
  11912. only possible exit of the loop, use the conservative estimate on the
  11913. number of iterations of the entire loop if available.
  11914. 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
  11915. * Makefile.in (libgcc.mvars): Add LIBGCC_SYNC and LIBGCC_SYNC_CFLAGS.
  11916. * libgcc-std.ver (GCC_4.4.0): New version, inherited from GCC_4.3.0.
  11917. Add synchronization functions.
  11918. * config/sync.c: New file.
  11919. * config/mips/t-libgcc-mips16 (LIBGCC_SYNC): Define.
  11920. (LIBGCC_SYNC_CFLAGS): Likewise.
  11921. 2008-07-03 Uros Bizjak <ubizjak@gmail.com>
  11922. PR target/36710
  11923. * config/i386/i386.md (mode): Add TF to "mode" attribute.
  11924. (*pushtf_sse): New insn pattern.
  11925. (pushtf splitters): New splitters.
  11926. 2008-07-03 Michael Meissner <gnu@the-meissners.org>
  11927. PR middle-end/35736
  11928. * predict.c (build_predict_expr): Use void_type_node for the tree
  11929. type, instead of NULL_TREE.
  11930. 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
  11931. * config/i386/i386.c (contains_aligned_value_p): Return true
  11932. for TCmode.
  11933. (ix86_data_alignment): Align TCmode to 128bits.
  11934. (ix86_local_alignment): Likewise.
  11935. 2008-07-03 Andrew Haley <aph@redhat.com>
  11936. PR bootstrap/33304
  11937. * vec.h (VEC_TA): New.
  11938. (DEF_VEC_I, DEF_VEC_P, DEF_VEC_ALLOC_I, DEF_VEC_ALLOC_P,
  11939. DEF_VEC_O, DEF_VEC_ALLOC_O: Use VEC_TA.
  11940. * c-common.c (C_COMMON_FIXED_TYPES_SAT): New macro.
  11941. (C_COMMON_FIXED_MODE_TYPES_SAT): New macro.
  11942. (C_COMMON_FIXED_TYPES): Remove first arg.
  11943. (C_COMMON_FIXED_MODE_TYPES): Likewise.
  11944. * tree.c (MAKE_FIXED_TYPE_NODE): Break into two macros,
  11945. MAKE_FIXED_TYPE_NODE and MAKE_FIXED_TYPE_NODE_WIDTH in order
  11946. not to use empty macro arguments.
  11947. 2008-07-02 Joseph Myers <joseph@codesourcery.com>
  11948. * config/alpha/vms_tramp.asm, config/arm/crti.asm,
  11949. config/arm/crtn.asm, config/bfin/crti.s, config/bfin/crtlibid.s,
  11950. config/bfin/crtn.s, config/fr30/crti.asm, config/fr30/crtn.asm,
  11951. config/frv/lib1funcs.asm, config/i386/sol2-c1.asm,
  11952. config/i386/sol2-ci.asm, config/i386/sol2-cn.asm,
  11953. config/i386/sol2-gc1.asm, config/ia64/crti.asm,
  11954. config/ia64/crtn.asm, config/m68hc11/larith.asm,
  11955. config/m68hc11/m68hc11-crt0.S, config/m68k/crti.s,
  11956. config/m68k/crtn.s, config/mcore/crti.asm, config/mcore/crtn.asm,
  11957. config/rs6000/crtresfpr.asm, config/rs6000/crtresgpr.asm,
  11958. config/rs6000/crtresxfpr.asm, config/rs6000/crtresxgpr.asm,
  11959. config/rs6000/crtsavfpr.asm, config/rs6000/crtsavgpr.asm,
  11960. config/rs6000/crtsavres.asm, config/rs6000/e500crtres32gpr.asm,
  11961. config/rs6000/e500crtres64gpr.asm,
  11962. config/rs6000/e500crtres64gprctr.asm,
  11963. config/rs6000/e500crtrest32gpr.asm,
  11964. config/rs6000/e500crtrest64gpr.asm,
  11965. config/rs6000/e500crtresx32gpr.asm,
  11966. config/rs6000/e500crtresx64gpr.asm,
  11967. config/rs6000/e500crtsav32gpr.asm,
  11968. config/rs6000/e500crtsav64gpr.asm,
  11969. config/rs6000/e500crtsav64gprctr.asm,
  11970. config/rs6000/e500crtsavg32gpr.asm,
  11971. config/rs6000/e500crtsavg64gpr.asm,
  11972. config/rs6000/e500crtsavg64gprctr.asm, config/rs6000/eabi-ci.asm,
  11973. config/rs6000/eabi-cn.asm, config/rs6000/eabi.asm,
  11974. config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
  11975. config/rs6000/tramp.asm, config/sparc/sol2-ci.asm,
  11976. config/sparc/sol2-cn.asm: Remove .file directives.
  11977. 2008-07-02 Richard Sandiford <rdsandiford@googlemail.com>
  11978. * resource.c (mark_referenced_resources): Look inside
  11979. UNSPEC_VOLATILEs and ASM_INPUTs.
  11980. 2008-07-02 Ian Lance Taylor <iant@google.com>
  11981. * rtlanal.c (add_reg_note): New function.
  11982. * rtl.h (add_reg_note): Declare.
  11983. * auto-inc-dec.c (attempt_change): Use add_reg_note.
  11984. * bb-reorder.c (add_reg_crossing_jump_notes): Likewise.
  11985. * builtins.c (expand_builtin_longjmp): Likewise.
  11986. (expand_builtin_nonlocal_goto): Likewise.
  11987. * calls.c (emit_call_1, expand_call): Likewise.
  11988. * cfgexpand.c (add_reg_br_prob_note): Likewise.
  11989. * cfglayout.c (fixup_reorder_chain): Likewise.
  11990. * cfgrtl.c (force_nonfallthru_and_redirect): Likewise.
  11991. (commit_one_edge_insertion): Likewise.
  11992. * combine.c (move_deaths, distribute_notes): Likewise.
  11993. * df-problems.c (df_set_note): Likewise.
  11994. * emit-rtl.c (link_cc0_insns, try_split): Likewise.
  11995. (set_unique_reg_note): Likewise.
  11996. (emit_copy_of_insn_after): Likewise.
  11997. * expr.c (expand_expr_real): Likewise.
  11998. * gcse.c (add_label_notes): Likewise.
  11999. * haifa-sched.c (create_check_block_twin): Likewise.
  12000. * jump.c (mark_jump_label_1): Likewise.
  12001. * loop-doloop.c (add_test, doloop_modify): Likewise.
  12002. * loop-unswitch.c (compare_and_jump_seq): Likewise.
  12003. * lower-subreg.c (move_eh_region_note): Likewise.
  12004. * optabs.c (emit_libcall_block): Likewise.
  12005. * predict.c (predict_insn): Likewise.
  12006. (combine_predictions_for_insn): Likewise.
  12007. * recog.c (peephole2_optimize): Likewise.
  12008. * regmove.c (try_auto_increment): Likewise.
  12009. * reg-stack.c (emit_pop_insn, move_for_stack_reg): Likewise.
  12010. * reload.c (find_reloads): Likewise.
  12011. * reload1.c (fixup_eh_region_note): Likewise.
  12012. (reload_as_needed, add_auto_inc_notes, copy_eh_notes): Likewise.
  12013. * reorg.c (delete_prior_computation): Likewise.
  12014. (delete_computation, dbr_schedule): Likewise.
  12015. * config/pa/pa.c (legitimize_pic_address): Likewise.
  12016. * config/sh/sh.c (sh_reorg): Likewise.
  12017. 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
  12018. PR target/36669
  12019. * config/libgcc-glibc.ver: Add %exclude.
  12020. * config/m32r/libgcc-glibc.ver: Likwise.
  12021. * config/s390/libgcc-glibc.ver: Likwise.
  12022. * config/sh/libgcc-glibc.ver: Likwise.
  12023. * config/sparc/libgcc-sparc-glibc.ver: Likwise.
  12024. * config/i386/libgcc-glibc.ver: New.
  12025. * config/i386/libgcc-x86_64-glibc.ver: Removed.
  12026. 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
  12027. * config.gcc: Remove i386/t-fprules-softfp64 soft-fp/t-softfp
  12028. from tmake_file from i[34567]86-*-darwin*, x86_64-*-darwin*,
  12029. i[34567]86-*-linux*, x86_64-*-linux*. Add
  12030. i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file for
  12031. i[34567]86-*-darwin*, x86_64-*-darwin*, i[34567]86-*-linux*,
  12032. x86_64-*-linux*. Add i386/t-linux to tmake_file for
  12033. i[34567]86-*-linux*, x86_64-*-linux*.
  12034. * libgcc-std.ver: Add empty GCC_4.4.0.
  12035. * mkmap-symver.awk: Support multiple versions per symbol.
  12036. * config/i386/i386.c (ix86_init_builtins): Always define
  12037. __builtin_fabsq and __builtin_copysignq with fallbacks.
  12038. (ix86_expand_builtin): Emit normal call for __builtin_fabsq
  12039. and __builtin_copysignq if SSE2 isn't available.
  12040. * config/i386/linux.h (LIBGCC2_HAS_TF_MODE): Defined.
  12041. (LIBGCC2_TF_CEXT): Likwise.
  12042. (TF_SIZE): Likwise.
  12043. * config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): Defined as 1.
  12044. * config/i386/sfp-machine.h: Moved to libgcc.
  12045. * config/i386/sfp-machine.h: New.
  12046. * config/i386/t-linux: Likwise.
  12047. * config/i386/t-darwin: Remove softfp_wrap_start and
  12048. softfp_wrap_end.
  12049. * config/i386/t-darwin64: Likewise.
  12050. * config/i386/t-fprules-softfp64: Renamed to ...
  12051. * config/i386/t-fprules-softfp: This.
  12052. * config/i386/t-linux64: Remove SHLIB_MAPFILES, softfp_wrap_start
  12053. and softfp_wrap_end.
  12054. 2008-07-02 Jason Merrill <jason@redhat.com>
  12055. * tree.c (ctor_to_list): Use FOR_EACH_CONSTRUCTOR_ELT.
  12056. * tree.c (ctor_to_list): New fn.
  12057. * tree.h: Declare it.
  12058. (CONSTRUCTOR_ELT): New macro.
  12059. (CONSTRUCTOR_NELTS): New macro.
  12060. 2008-07-02 Richard Guenther <rguenther@suse.de>
  12061. * tree-ssa-structalias.c (struct variable_info): Reorder
  12062. to fill padding on 64bit hosts. Make collapsed_to an int.
  12063. (get_varinfo_fc): Deal with that.
  12064. (new_var_info): Likewise.
  12065. (collapse_rest_of_var): Likewise.
  12066. 2008-07-02 Joshua Sumali <jsumali@redhat.com>
  12067. * doc/install.texi (--enable-java-home): Document.
  12068. (--enable-aot-compile-rpm): Likewise.
  12069. (--with-arch-directory): Likewise.
  12070. (--with-os-directory): Likewise.
  12071. (--with-origin-name): Likewise.
  12072. (--with-arch-suffix): Likewise.
  12073. (--with-jvm-root-dir): Likewise.
  12074. (--with-jvm-jar-dir): Likewise.
  12075. (--with-python-dir): Likewise.
  12076. 2008-07-02 Richard Guenther <rguenther@suse.de>
  12077. * tree-ssa-forwprop.c (can_propagate_from): Exclude loads
  12078. from decls explicitly. Merge operand checking from tuples.
  12079. 2008-07-02 Martin Jambor <mjambor@suse.cz>
  12080. * tree-switch-conversion.c: Included timevar.h which I forgot before.
  12081. 2008-07-02 Martin Jambor <mjambor@suse.cz>
  12082. * tree-switch-conversion.c: Included timevar.h
  12083. (pass_convert_switch): Added a timevar id (TV_TREE_SWITCH_CONVERSION).
  12084. * timevar.def: Added TV_TREE_SWITCH_CONVERSION.
  12085. 2008-07-02 Martin Jambor <mjambor@suse.cz>
  12086. * tree-switch-conversion.c: Corrected various comments and
  12087. whitespace issues
  12088. (build_constructors): Fixed minor formatting mistakes.
  12089. * invoke.texi (Optimize Options): Corrected the
  12090. switch-conversion-max-branch-ratio parameter.
  12091. 2008-07-02 Mark Shinwell <shinwell@codesourcery.com>
  12092. * final.c (asm_insn_count): Return zero for an empty asm body.
  12093. 2008-07-02 Richard Guenther <rguenther@suse.de>
  12094. * bitmap.h (bitmap_set_bit): Return bool.
  12095. (bitmap_clear_bit): Likewise.
  12096. * bitmap.c (bitmap_set_bit): Return if the bit changed. Only
  12097. write to the bitmap if it would.
  12098. (bitmap_clear_bit): Likewise.
  12099. * tree-ssa-structalias.c (add_implicit_graph_edge): Use
  12100. bitmap_set_bit return value.
  12101. (add_pred_graph_edge): Likewise.
  12102. (add_graph_edge): Likewise.
  12103. (do_sd_constraint): Likewise.
  12104. (do_ds_constraint): Likewise.
  12105. 2008-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12106. * config/alpha/alpha.c (alpha_need_linkage, alpha_use_linkage):
  12107. Fix -Wc++-compat and/or -Wcast-qual warnings.
  12108. * config/i386/netware.c (gen_stdcall_or_fastcall_decoration,
  12109. gen_regparm_prefix): Likewise.
  12110. * vmsdbgout.c (write_modbeg, lookup_filename,
  12111. vmsdbgout_source_line, vmsdbgout_init): Likewise.
  12112. 2008-07-02 Danny Smith <dannysmith@users.sourceforge.net>
  12113. * config/i386/mingw32.h (TARGET_USE_JCR_SECTION): Undef to let
  12114. defaults.h definition apply.
  12115. 2008-07-01 Daniel Jacobowitz <dan@codesourcery.com>
  12116. * function.c (assign_parm_remove_parallels): New.
  12117. (assign_parm_setup_block_p): Do not return true for non-BLKmode
  12118. PARALLELs.
  12119. (assign_parm_setup_block): Do not handle them.
  12120. (assign_parm_setup_reg, assign_parm_setup_stack): Call
  12121. assign_parm_remove_parallels.
  12122. 2008-07-01 Daniel Jacobowitz <dan@codesourcery.com>
  12123. * c-typeck.c (convert_for_assignment): Use
  12124. vector_targets_convertible_p.
  12125. * c-common.c (vector_targets_convertible_p): New.
  12126. * c-common.h (vector_targets_convertible_p): New prototype.
  12127. * config/rs6000/rs6000.c (rs6000_is_opaque_type): Do not check
  12128. opaque_p_V2SI_type_node.
  12129. 2008-07-01 Steve Ellcey <sje@cup.hp.com>
  12130. * config/ia64/ia64.c (ia64_cannot_force_const_mem): Do not allow
  12131. RFmode constants.
  12132. 2008-07-01 Uros Bizjak <ubizjak@gmail.com>
  12133. * config/i386/i386.c (ix86_build_signbit_mask): Generate TImode and
  12134. TFmode constants via two element DImode vector for hosts with
  12135. HOST_BITS_PER_WIDE_INT < 64.
  12136. (ix86_init_builtins): Define __builtin_fabsq and __builtin_copysignq
  12137. also for HOST_BITS_PER_WIDE_INT < 64.
  12138. 2008-07-01 Richard Guenther <rguenther@suse.de>
  12139. PR tree-optimization/36666
  12140. * tree-ssa-structalias.c (get_constraint_for_1): Declare.
  12141. (get_constraint_exp_from_ssa_var): Split into ...
  12142. (get_constraint_exp_for_temp): ... this ...
  12143. (get_constraint_for_ssa_var): ... and that.
  12144. Return constraint expressions for all touched sub-fields
  12145. if the results address is not taken.
  12146. (process_constraint): Remove assertion that aggregate
  12147. assignments do not happen at this place.
  12148. (get_constraint_for_component_ref): Add address_p argument.
  12149. Return constraint expressions for all touched sub-fields
  12150. if the results address is not taken.
  12151. (do_deref): Use get_constraint_exp_for_temp.
  12152. (get_constraint_for_1): Rename from ...
  12153. (get_constraint_for): ... this. Add the old function as wrapper.
  12154. (do_structure_copy): Use get_constraint_for_1.
  12155. 2008-07-01 Martin Jambor <mjambor@suse.cz>
  12156. * Makefile.in (tree-switch-conversion.o): Add.
  12157. (OBJS-common): Add tree-swtch-conversion.o.
  12158. * passes.c (init_optimization_passes): Add pass_convert_switch.
  12159. * tree-pass.h (pass_convert_switch): Add.
  12160. * tree-switch-conversion.c: New file.
  12161. * gcc.dg/tree-ssa/cswtch.c: New testcase.
  12162. * common.opt (ftree-cswtch): New option.
  12163. * params.h (PARAM_SWITCH_CONVERSION_BRANCH_RATIO): New parameter.
  12164. * params.def (PARAM_SWITCH_CONVERSION_BRANCH_RATIO): New parameter.
  12165. * opts.c (decode_options): Set flag_tree_switch_conversion when
  12166. optimization level is >= 2.
  12167. * doc/invoke.texi (Optimize Options): Added description of
  12168. -ftree-swtch-conversion and switch-conversion-max-branch-ratio.
  12169. 2008-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12170. * config/darwin-driver.c (darwin_default_min_version): Fix
  12171. -Wc++-compat warnings.
  12172. 2008-06-30 Uros Bizjak <ubizjak@gmail.com>
  12173. * config/i386/i386.md (*movti_rex64): Add "!" to "r" constraint
  12174. of operand 0.
  12175. 2008-06-30 Kenneth Zadeck <zadeck@naturalbridge.com>
  12176. * ifcvt.c (cond_move_process_if_block): Free vectors on false return.
  12177. 2008-06-30 Kenneth Zadeck <zadeck@naturalbridge.com>
  12178. PR rtl-optimization/34744
  12179. * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): New macros.
  12180. (df_scan_free_internal): Free data structures not
  12181. allocated in storage pools.
  12182. (df_mw_hardreg_chain_delete_eq_uses): Use df_scan_free_mws_vec.
  12183. (df_refs_add_to_chains): Use df_scan_free_ref_vec and
  12184. df_scan_free_mws_vec.
  12185. * dse.c (dse_step6): Free offset_map_p and offset_map_n
  12186. unconditionally.
  12187. 2008-06-30 H.J. Lu <hongjiu.lu@intel.com>
  12188. * config/i386/i386.c (contains_aligned_value_p): Return true
  12189. for __float128.
  12190. (ix86_function_arg_boundary): Return its natural boundary
  12191. for __float128.
  12192. (return_in_memory_32): Don't check TDmode.
  12193. (ix86_split_to_parts): Support splitting into 4 parts and
  12194. support TFmode for 32bit target.
  12195. (ix86_split_long_move): Support splitting into 4 parts.
  12196. (bdesc_args): Enable IX86_BUILTIN_FABSQ and IX86_BUILTIN_COPYSIGNQ
  12197. for SSE2.
  12198. (ix86_init_mmx_sse_builtins): Move __float80 and __float128 to ...
  12199. (ix86_init_builtins): Here.
  12200. (ix86_scalar_mode_supported_p): Always return true for TFmode.
  12201. (ix86_c_mode_for_suffix): Always return TFmode and XFmode for
  12202. 'q' and 'w', respectively.
  12203. * config/i386/i386.md (movtf): Check TARGET_SSE2 instead of
  12204. TARGET_64BIT.
  12205. (movtf_internal): Likewise.
  12206. (<code>tf2): Likewise.
  12207. (*absnegtf2_sse): Likewise.
  12208. (copysign<mode>3): Likewise.
  12209. (copysign<mode>3_const): Likewise.
  12210. (copysign<mode>3_var): Likewise.
  12211. (define_split UNSPEC_COPYSIGN): Likewise.
  12212. * config/i386/sse.md (*nandtf3): Likewise.
  12213. (<code>tf3): Likewise.
  12214. (*<code>tf3): Likewise.
  12215. 2008-06-30 Joey Ye <joey.ye@intel.com>
  12216. H.J. Lu <hongjiu.lu@intel.com>
  12217. * global.c (compute_regsets): Set frame_pointer_needed here.
  12218. * reload1.c (init_elim_table): Don't set frame_pointer_needed here.
  12219. 2008-06-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
  12220. * doc/install.texi (specific): Expand Windows build notes.
  12221. 2008-06-30 Ira Rosen <irar@il.ibm.com>
  12222. PR tree-optimization/36648
  12223. * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Divide
  12224. number of prolog iterations by step. Fix the comment.
  12225. 2008-06-30 Richard Guenther <rguenther@suse.de>
  12226. PR middle-end/36671
  12227. * tree-ssa-structalias.c (handle_lhs_call): Add flags argument,
  12228. handle calls from ECF_MALLOC functions.
  12229. (handle_pure_call): ECF_MALLOC functions do not return
  12230. call-used memory.
  12231. (find_func_aliases): Handle all calls, adjust calls to handle_lhs_call.
  12232. 2008-06-29 Andreas Schwab <schwab@suse.de>
  12233. * config/m68k/m68k.c (print_operand): Always print a float
  12234. constant in hex.
  12235. * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND)
  12236. (ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND):
  12237. Remove macros.
  12238. * config/rs6000/x-linux64: Remove never used file.
  12239. 2008-06-29 Richard Guenther <rguenther@suse.de>
  12240. * tree-ssa-structalias.h (compute_points_to_sets): Adjust
  12241. prototype.
  12242. (struct alias_info): Move ...
  12243. * tree-ssa-alias.c: ... here.
  12244. (update_alias_info): Declare.
  12245. (compute_may_aliases): Call it.
  12246. (update_alias_info): New function.
  12247. * tree-ssa-structalias.c (update_alias_info): Move ...
  12248. * tree-ssa-alias.c (update_alias_info_1): ... here.
  12249. * tree-ssa-structalias.c (process_constraint_1): Remove
  12250. unused from_call argument. Rename to ...
  12251. (process_constraint): ... this. Delete old wrapper.
  12252. (make_constraint_to): Adjust callers.
  12253. (handle_const_call): Likewise.
  12254. (handle_pure_call): Likewise.
  12255. (init_base_vars): Likewise.
  12256. (handle_lhs_call): Likewise. Remove unnecessary constraint.
  12257. (find_func_aliases): We don't need structure copies for
  12258. complex types.
  12259. (make_constraint_from_anything): Remove.
  12260. (create_variable_info_for): For globals make constraints
  12261. from escaped, not from anything.
  12262. (compute_points_to_sets): Do not call update_alias_info.
  12263. (ipa_pta_execute): Use make_constraint_from.
  12264. 2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12265. * Makefile.in (CXX_COMPAT_WARN, cxx_compat_warn): Delete.
  12266. (bitmap.o-warn, dominance.o-warn): New.
  12267. * configure.ac (cxx_compat_warn): Delete.
  12268. (loose_warn): Add -Wcast-qual and -Wc++-compat.
  12269. * system.h: Remove #pragma diagnostic for -Wcast-qual and
  12270. -Wc++-compat.
  12271. * configure: Regenerate.
  12272. * optabs.c (libfunc_decl_hash, libfunc_decl_eq): Fix -Wcast-qual
  12273. warnings.
  12274. 2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12275. * alloc-pool.c (create_alloc_pool): Fix -Wc++-compat warnings.
  12276. * df-scan.c (df_notes_rescan): Likewise.
  12277. * ggc-page.c (set_page_table_entry): Likewise.
  12278. * intl.c (gcc_gettext_width): Likewise.
  12279. * varasm.c (get_unnamed_section, get_noswitch_section,
  12280. get_section): Likewise.
  12281. 2008-06-28 Andrew Jenner <andrew@codesourcery.com>
  12282. * regrename.c (build_def_use): Don't copy RTX.
  12283. 2008-06-28 Sandra Loosemore <sandra@codesourcery.com>
  12284. * doc/extend.texi (Variable Attributes): Use @ref instead of @xref.
  12285. (Type Attributes): Fix nesting of @table and @subsection. Adjust
  12286. punctuation. Use @ref instead of @xref.
  12287. (Function Names): Remove stray @display/@end display.
  12288. (C++ Attributes): Use @ref instead of @xref.
  12289. (Deprecated Features): Fix punctuation around @xref.
  12290. (Backwards Compatibility): Likewise.
  12291. * doc/rtl.texi (Incdec): Remove stray @table/@end table.
  12292. 2008-06-28 Joseph Myers <joseph@codesourcery.com>
  12293. * config/rs6000/predicates.md (easy_fp_constant): Reject TFmode
  12294. constants for E500 double.
  12295. 2008-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  12296. * doc/rtl.texi (const_vector): Document const_fixed as legitimate
  12297. element type of const_vector.
  12298. 2008-06-28 Uros Bizjak <ubizjak@gmail.com>
  12299. * config/i386/i386.md (addti3, adddi3, addsi3, addhi3, addqi3):
  12300. Remove FLAGS_REG clobber from expander pattern.
  12301. (subti3, subdi3, subsi3, subhi3, subqi3): Ditto.
  12302. (anddi3, andsi3, andhi3, andqi3): Ditto.
  12303. (iordi3, iorsi3, iorhi3, iorqi3): Ditto.
  12304. (xordi3, xorsi3, xorhi3, xorqi3): Ditto.
  12305. (negti2, negdi2, negsi2, neghi2, negqi2): Ditto.
  12306. (ashlsi3, ashlhi3, ashlqi3): Ditto.
  12307. (ashrsi3, ashrhi3, ashrqi3): Ditto.
  12308. (lshrsi3, lshrhi3, lshrqi3): Ditto.
  12309. (rotldi3, rotlsi3, rotlhi3, rotlqi3): Ditto.
  12310. (rotrdi3, rotrsi3, rotrhi3, rotrqi3): Ditto.
  12311. 2008-06-28 Richard Guenther <rguenther@suse.de>
  12312. * tree-ssa-structalias.c (callused_id, var_callused,
  12313. callused_tree): Add.
  12314. (handle_pure_call): New function.
  12315. (find_func_aliases): Call it.
  12316. (find_what_p_points_to): Handle the call-used set.
  12317. (clobber_what_escaped): Likewise.
  12318. (compute_call_used_vars): New function.
  12319. (init_base_vars): Init the call-used variable.
  12320. (do_sd_constraint): Do not propagate the solution from CALLUSED
  12321. but use CALLUSED as a placeholder.
  12322. (solve_graph): Likewise.
  12323. * tree-flow-inline.h (gimple_call_used_vars): New function.
  12324. * tree-flow.h (struct gimple_df): Add call_used_vars bitmap.
  12325. (compute_call_used_vars): Declare.
  12326. * tree-ssa-alias.c (set_initial_properties): Call
  12327. compute_call_used_vars.
  12328. (reset_alias_info): Clear call-used variables.
  12329. (add_call_clobber_ops): Assert we are not called for const/pure
  12330. functions. Remove handling of them.
  12331. (add_call_read_ops): Handle pure functions by adding the
  12332. call-used set of variables as VUSEs.
  12333. * tree-ssa.c (init_tree_ssa): Allocate call-used bitmap.
  12334. (delete_tree_ssa): Free it.
  12335. * tree-dfa.c (remove_referenced_var): Clear the var from the
  12336. call-used bitmap.
  12337. 2008-06-28 Kai Tietz <kai.tietz@onevision.com>
  12338. * tree.c (build_varargs_function_type_list): New.
  12339. (build_function_type_list_1): New.
  12340. (build_function_type_list): Use build_function_type_list_1.
  12341. * tree.h (build_varargs_function_type_list): New.
  12342. 2008-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  12343. PR target/34856
  12344. * config/spu/spu.c (spu_builtin_splats): Do not generate
  12345. invalid CONST_VECTOR expressions.
  12346. (spu_expand_vector_init): Likewise.
  12347. 2008-06-28 Richard Sandiford <rdsandiford@googlemail.com>
  12348. * optabs.c (libfunc_decls): New variable.
  12349. (libfunc_decl_hash, libfunc_decl_eq): New functions.
  12350. (init_one_libfunc): Reuse decls and SYMBOL_REFs when asked
  12351. for the same function twice.
  12352. 2008-06-27 Uros Bizjak <ubizjak@gmail.com>
  12353. * config/i386/i386.md (ashlti3, ashrti3, lshrti3): Expand using
  12354. ix86_expand_binary_operator directly.
  12355. (*ashlti3_1): Rename from ashlti3_1. Use nonmemory_operand predicate
  12356. for operand 2.
  12357. (*ashrti3_1): Ditto.
  12358. (*lshrti3_1): Ditto.
  12359. (*ashlti3_2, *ashrti3_2, *lshrti3_2): Remove insn patterns.
  12360. (ashlti, ashrti and lshrti splitters): Handle nonmemory operand 2
  12361. using only one splitter. Conditionaly execute splitter before or
  12362. after peephole2 pass.
  12363. (ashlti, ashrti and lshrti peephole2): Define peephole2 patterns.
  12364. (x86_shld): Rename from x86_shld_1. Compress operand 2 constraints.
  12365. Use only one alternative in asm template.
  12366. (x86_64_shld): Compress operand 2 constraints. Use only one alternative
  12367. in asm template.
  12368. (*ashldi3_cmp_rex64): Use const_1_to_63_operand operand predicate and
  12369. "J" operand constraint for operand 2.
  12370. (*ashldi3_cconly_rex64): Ditto.
  12371. (*ashrdi3_cmp_rex64): Ditto.
  12372. (*ashrdi3_cconly_rex64): Ditto.
  12373. (*lshrdi3_cmp_rex64): Ditto.
  12374. (*lshrdi3_cconly_rex64): Ditto.
  12375. * config/i386/predicates.md (const_1_to_63_operand): New predicate.
  12376. * config/i386/i386.md (print_operand) ['s']: Print ", " using fputs.
  12377. (split_ashr, split_ashl, split_lshr): Use gen_x86_shrd instead of
  12378. gen_x86_shrd_1.
  12379. 2008-06-27 Jakub Jelinek <jakub@redhat.com>
  12380. * gimplify.c (omp_is_private): Don't return true if decl is not
  12381. already private on #pragma omp for or #pragma omp parallel for.
  12382. PR debug/36617
  12383. * tree-cfg.c (struct move_stmt_d): Replace block field with
  12384. orig_block and new_block fields.
  12385. (move_stmt_r): Only set TREE_BLOCK to p->new_block if
  12386. if it used to be NULL, p->orig_block or if p->orig_block is NULL.
  12387. (move_block_to_fn): Replace vars_map and new_label_map arguments
  12388. with struct move_stmt_d pointer.
  12389. (replace_block_vars_by_duplicates): New function.
  12390. (move_sese_region_to_fn): Add ORIG_BLOCK argument. Adjust
  12391. move_block_to_fn caller. If ORIG_BLOCK is non-NULL, move over
  12392. all subblocks of ORIG_BLOCK to the new function. Call
  12393. replace_block_vars_by_duplicates.
  12394. * tree-flow.h (move_sese_region_to_fn): Adjust prototype.
  12395. * omp-low.c (expand_omp_taskreg): Set TREE_USED on DECL_INITIAL
  12396. BLOCK of the new function. Adjust move_sese_region_to_fn caller.
  12397. Prune vars with original DECL_CONTEXT from child_cfun->local_decls.
  12398. (expand_omp): Temporarily set input_location to the location of
  12399. region's controlling stmt.
  12400. (lower_omp_sections, lower_omp_for): Add a BLOCK into outermost
  12401. BIND_EXPR, push ctx->block_vars and gimplification vars into
  12402. the BIND_EXPR and its block's BLOCK_VARS instead of directly
  12403. into dest function.
  12404. (lower_omp_single): Set TREE_USED on the BIND_EXPR's BLOCK if
  12405. there are any BLOCK_VARS.
  12406. (lower_omp_taskreg): Set BLOCK on a BIND_EXPR containing the
  12407. OMP_PARALLEL or OMP_TASK stmt.
  12408. (lower_omp): Save and restore input_location around the lower_omp_1
  12409. call.
  12410. 2008-06-27 Richard Guenther <rguenther@suse.de>
  12411. PR tree-optimization/36400
  12412. PR tree-optimization/36373
  12413. PR tree-optimization/36344
  12414. * tree-ssa-structalias.c (var_escaped, escaped_tree, escaped_id,
  12415. var_nonlocal, nonlocal_tree, nonlocal_id): New globals
  12416. (update_alias_info): Remove call clobbering code.
  12417. (make_constraint_to): New helper function.
  12418. (make_escape_constraint): Likewise.
  12419. (handle_rhs_call): Use it on all pointer containing arguments.
  12420. Also mark the static chain escaped.
  12421. (handle_lhs_call): Make constraints from NONLOCAL and ESCAPED
  12422. instead of ANYTHING.
  12423. (make_constraint_from): New helper split out from ...
  12424. (make_constraint_from_anything): ... here.
  12425. (find_func_aliases): Add constraints for escape sites.
  12426. (intra_create_variable_infos): Make constraints from NONLOCAL
  12427. for parameters.
  12428. (find_what_p_points_to): Interpret NONLOCAL and ESCAPED the same
  12429. as ANYTHING.
  12430. (clobber_what_p_points_to): Remove.
  12431. (clobber_what_escaped): New function.
  12432. (init_base_vars): Init NONLOCAL and ESCAPED.
  12433. (do_sd_constraint): Do not propagate the solution from ESCAPED
  12434. but use ESCAPED as a placeholder.
  12435. (solve_graph): Likewise.
  12436. * tree-flow.h (clobber_what_p_points_to): Remove.
  12437. (clobber_what_escaped): Declare.
  12438. * tree-ssa-alias.c (set_initial_properties): Call it.
  12439. Remove code clobbering escaped pointers.
  12440. 2008-06-27 Richard Sandiford <rdsandiford@googlemail.com>
  12441. * function.c (allocate_struct_function): Only allocate a unique
  12442. funcdef_no if the decl is nonzero.
  12443. 2008-06-27 Richard Sandiford <rdsandiford@googlemail.com>
  12444. * config/mips/mips-protos.h (mips_split_const_insns): Declare.
  12445. * config/mips/mips.c (mips_split_const_insns): New function.
  12446. * config/mips/mips.md (move_type): New attribute.
  12447. (mode): Move attribute definition earlier in file. Add "TI" and "TF".
  12448. (dword_mode): New attribute.
  12449. (type): Avoid long line. Map "move_type"s to "type"s,
  12450. choosing "multi" for doubleword moves if appropriate.
  12451. Swap MTC/MFC comments to match their declaration order.
  12452. (extended_mips16): Default to "yes" if "move_type" is "sll0",
  12453. "type" is "branch" or "jal" is "direct".
  12454. (length): Handle "extended_mips16" first. Make the default
  12455. "0" for "ghost" instructions. Set the length from "move_type".
  12456. (truncdisi2, truncdihi2, truncdiqi2): Use "move_type" instead
  12457. of "type", with "sll0" for the register alternative. Remove the
  12458. "extended_mips16" attribute.
  12459. (zero_extendsidi2, *clear_upper32): Use "move_type" instead
  12460. of "type", with "shift_shift" for the register alternative.
  12461. Remove the "length" attribute.
  12462. (*extend<SHORT:mode><GPR:mode>2, *extendqihi2): Likewise.
  12463. (*zero_extend<SHORT:mode><GPR:mode>2): Use "move_type" instead
  12464. of "type", with "andi" for the register alternative.
  12465. (*zero_extendqihi2): Likewise.
  12466. (*zero_extend<SHORT:mode><GPR:mode>2_mips16e): Use a "move_type"
  12467. of "andi" instead of a "type" of "arith".
  12468. (*zero_extend<SHORT:mode><GPR:mode>2_mips16): Use "move_type"
  12469. instead of "type".
  12470. (*zero_extendqihi2_mips16, mov_<load>l, mov_<load>r, mov_<store>l)
  12471. (mov_<store>r, *mov<mode>_ra): Likewise.
  12472. (extendsidi2): Use "move_type" instead of "type", with "move"
  12473. for the register alternative.
  12474. (*extend<SHORT:mode><GPR:mode>2_mips16e): Use "move_type" instead
  12475. of "type", with "signext" for the register alternative.
  12476. (*extend<SHORT:mode><GPR:mode>2_se<SHORT:size>): Likewise.
  12477. (*extendqihi2_mips16e, *extendqihi2_seb): Likewise.
  12478. (fix_truncdfsi2_insn, fix_truncsfsi2_insn, fix_truncdfdi2)
  12479. (fix_truncsfdi2, floatsidf2, floatdidf2, floatsisf2, floatdisf2)
  12480. (floatdisf2, *branch_equality<mode>_mips16): Likewise.
  12481. (unnamed branch insn): Likewise.
  12482. (*movdi_gp32_fp64): Fold into...
  12483. (*movdi_32bit): ...here.
  12484. (*movdf_hardfloat_64bit, *movdf_hardfloat_32bit): Combine into...
  12485. (*movdf_hardfloat): ...this new pattern.
  12486. (*movdf_softfloat): Remove redundant FPR alternatives.
  12487. (*movti, *movti_mips16, *movtf, *movtf_mips16): Add "mode" attributes.
  12488. (*movv2sf_hardfloat_64bit, *movv2sf_hardfloat_32bit): Combine into...
  12489. (*movv2sf): ...this new pattern. Use "DF" rather than "SF" for
  12490. the "move" attribute.
  12491. (*movdi_32bit): Use "move_type" instead of "type" and remove the
  12492. "length" attribute. Use "fpload" and "fpstore" instead of "load"
  12493. and "store" for COP loads and stores.
  12494. (*movdi_32bit_mips16, *movdi_64bit, *movsi_internal, movcc)
  12495. (*movhi_internal, *movhi_mips16, *movqi_internal, *movqi_mips16)
  12496. (*movsf_hardfloat, *movsf_softfloat, *movsi_mips16, *movdf_hardfloat)
  12497. (*movdf_softfloat, *movdf_mips16, *movti, *movti_mips16, *movtf)
  12498. (*movtf_mips16, *movv2sf): Likewise.
  12499. (mfhi<GPR:mode>_<HILO:mode>, mflo<GPR:mode>_<HILO:mode>)
  12500. (load_low<mode>, load_high<mode>, store_word<mode>, mthc1<mode>)
  12501. (mfhc1<mode>): Use "move_type" instead of "move".
  12502. (*low<mode>_mips16): Use "extended_mips16" instead of "length".
  12503. (loadgp_blockage): Remove the "length" attribute.
  12504. (blockage, set_got_version, update_got_version): Likewise.
  12505. (call_internal): Remove the "extended_mips16" attribute.
  12506. (call_value_internal, call_value_multiple_internal): Likewise.
  12507. * config/mips/loongson.md (mov<mode>_internal): Use "move_type"
  12508. instead of "move".
  12509. * config/mips/mips-dsp.md (mips_lbux, mips_lhx, mips_lwx): Remove
  12510. the "length" attribute.
  12511. 2008-06-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12512. * c-format.c (handle_format_attribute): Fix -Wc++-compat and/or
  12513. -Wcast-qual warnings.
  12514. * c-pragma.c (dpm_eq, handle_pragma_push_macro,
  12515. handle_pragma_pop_macro): Likewise.
  12516. * collect2.c (resolve_lib_name): Likewise.
  12517. * config/arc/arc.c (arc_init): Likewise.
  12518. * config/arm/arm.c (neon_builtin_compare,
  12519. locate_neon_builtin_icode): Likewise.
  12520. * config/arm/pe.c (arm_mark_dllexport, arm_pe_unique_section): Likewise.
  12521. * config/bfin/bfin.c (bfin_init_machine_status,
  12522. bfin_optimize_loop): Likewise.
  12523. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Likewise.
  12524. * config/cris/cris.c (cris_init_expanders): Likewise.
  12525. * config/darwin-c.c (frameworks_in_use, add_framework): Likewise.
  12526. * config/darwin.c (machopic_indirection_eq,
  12527. machopic_indirection_name, machopic_output_indirection): Likewise.
  12528. * config/frv/frv.c (frv_init_machine_status, frv_compare_insns,
  12529. frv_io_check_address, frv_io_handle_set, frv_io_handle_use_1,
  12530. frv_optimize_membar): Likewise.
  12531. * config/i386/cygwin.h (mingw_scan,
  12532. GCC_DRIVER_HOST_INITIALIZATION): Likewise.
  12533. * config/i386/cygwin1.c (mingw_scan): Likewise.
  12534. * config/i386/i386.c (machopic_output_stub): Likewise.
  12535. * config/i386/winnt.c (gen_stdcall_or_fastcall_suffix,
  12536. i386_pe_unique_section): Likewise.
  12537. * config/ia64/ia64.c (ia64_init_machine_status,
  12538. ia64_h_i_d_extended, get_free_bundle_state, bundling, ia64_reorg):
  12539. Likewise.
  12540. * config/iq2000/iq2000.c, iq2000_init_machine_status): Likewise.
  12541. * config/m68hc11/m68hc11.c (m68hc11_encode_label): Likewise.
  12542. * config/m68k/m68k.c (m68k_handle_option,
  12543. m68k_sched_md_init_global): Likewise.
  12544. * config/mcore/mcore.c (mcore_mark_dllexport, mcore_mark_dllimport,
  12545. mcore_unique_section): Likewise.
  12546. * config/mips/mips.c (mips_block_move_straight,
  12547. mips16_rewrite_pool_refs, mips_sim_wait_regs_2, mips_sim_record_set):
  12548. Likewise.
  12549. * config/mmix/mmix.c (mmix_init_machine_status,
  12550. mmix_encode_section_info): Likewise.
  12551. * config/pa/pa.c (pa_init_machine_status, hppa_encode_label): Likewise.
  12552. * config/rs6000/rs6000.c (rs6000_init_machine_status,
  12553. print_operand_address, output_toc, redefine_groups,
  12554. rs6000_elf_encode_section_info, machopic_output_stub): Likewise.
  12555. * config/s390/s390.c (s390_init_machine_status): Likewise.
  12556. * config/score/score.c (score_block_move_straight,
  12557. score_block_move_loop_body): Likewise.
  12558. * config/sparc/sparc.c (sparc_init_machine_status): Likewise.
  12559. * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
  12560. * emit-rtl.c (find_auto_inc): Likewise.
  12561. * gcc.c (translate_options, process_command): Likewise.
  12562. * reorg.c (dbr_schedule): Likewise.
  12563. * sdbout.c (sdbout_start_source_file, sdbout_init): Likewise.
  12564. * xcoffout.c (xcoffout_declare_function): Likewise.
  12565. 2008-06-27 Daniel Berlin <dberlin@dberlin.org>
  12566. * tree-ssa-structalias.c (find_func_aliases): Trivial fix to get
  12567. ipa-pta working again.
  12568. 2008-06-27 David Edelsohn <edelsohn@gnu.org>
  12569. * config/rs6000/t-aix52: Append large data option to LDFLAGS for
  12570. genautomata.
  12571. 2008-06-27 Edmar Wienskoski <edmar@freescale.com>
  12572. * config.gcc (powerpc*-*-*): Add new core e500mc.
  12573. * config/rs6000/e500mc.md: New file.
  12574. * config/rs6000/rs6000.c (processor_costs): Add new costs for
  12575. e500mc.
  12576. (rs6000_override_options): Add e500mc case to
  12577. processor_target_table. Altivec and Spe options not allowed
  12578. with e500mc. Add isel instruction to e500mc by
  12579. default. Initialize rs6000_cost for e500mc.
  12580. (rs6000_issue_rate): Set issue rate for e500mc.
  12581. * config/rs6000/rs6000.h (processor_type): Add
  12582. PROCESSOR_PPCE500MC.
  12583. (ASM_CPU_SPEC): Add e500mc.
  12584. Set TARGET_ISEL to rs6000_isel.
  12585. * config/rs6000/e500.h: Remove redefinition of TARGET_ISEL.
  12586. (CHECK_E500_OPTIONS): Remove TARGET_ISEL.
  12587. * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce500mc.
  12588. Include e500mc.md.
  12589. * doc/invoke.texi: Add e500mc to list of cpus.
  12590. 2008-06-27 Laurynas Biveinis <laurynas.biveinis@gmail.com>
  12591. PR c/34867
  12592. * c-lex.c (lex_charconst): Initialize unsignedp.
  12593. 2008-06-27 Olivier Hainque <hainque@adacore.com>
  12594. * gimplify.c (gimplify_modify_expr_to_memset): Assert our
  12595. documented assumptions.
  12596. 2008-06-26 H.J. Lu <hongjiu.lu@intel.com>
  12597. * dwarf2out.c: Remove trailing white spaces. Break long line
  12598. in comments.
  12599. 2008-06-26 Richard Sandiford <rdsandiford@googlemail.com>
  12600. * libfuncs.h (LTI_synchronize): New libfunc_index.
  12601. (synchronize_libfunc): Declare.
  12602. * builtins.c (expand_builtin_synchronize): Consider using
  12603. synchronize_libfunc before falling back on an asm blockage.
  12604. * config/mips/mips.c: Include libfuncs.h
  12605. (mips_init_libfuncs): Initialize synchronize_libfunc for TARGET_MIPS16.
  12606. 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
  12607. * config/rs6000/rs6000.c (emit_allocate_stack): Add copy_r11
  12608. parameter. Copy stack_reg to r11 where appropriate.
  12609. (no_global_regs_above): Add gpr parameter.
  12610. (rs6000_stack_info): Only add padding for SPE save area if we
  12611. are saving SPE GPRs and CR.
  12612. (saveres_routine_syms): New variable.
  12613. (FIRST_SAVRES_REGISTER, LAST_SAVRES_REGISTER, N_SAVRES_REGISTERS):
  12614. Define.
  12615. (rs6000_savres_routine_sym): New function.
  12616. (rs6000_emit_stack_reset, rs6000_restore_saved_cr): New functions,
  12617. split out of...
  12618. (rs6000_emit_epilogue): ...here. Use rs6000_use_multiple_p and
  12619. rs6000_savres_strategy. Restore GPRs out-of-line if appropriate.
  12620. Tweak FPR out-of-line saving.
  12621. (rs6000_make_savres_rtx): New function.
  12622. (rs6000_use_multiple_p): New function.
  12623. (rs6000_savres_strategy): New function.
  12624. (rs6000_emit_prologue): Use rs6000_savres_strategy. Save GPRs
  12625. out-of-line if appropriate.
  12626. * config/rs6000/sysv4.h (FP_SAVE_INLINE): Save FPRs out-of-line
  12627. if we are optimizing for size.
  12628. (GP_SAVE_INLINE): Define.
  12629. (SAVE_FP_SUFFIX, RESTORE_FP_SUFFIX): Only use _l on 64-bit targets.
  12630. * config/rs6000/darwin.h (GP_SAVE_INLINE): Define.
  12631. * config/rs6000/aix.h (GP_SAVE_INLINE): Define.
  12632. * config/rs6000/rs6000.md (*save_gpregs_<mode>): New insn.
  12633. (*save_fpregs_<mode>): Add use of r11.
  12634. (*restore_gpregs_<mode>): New insn.
  12635. (*return_and_restore_gpregs_<mode>): New insn.
  12636. (*return_and_restore_fpregs_<mode>): Adjust to clobber LR and
  12637. use r11.
  12638. * config/rs6000/spe.md (*save_gpregs_spe): New insn.
  12639. (*restore_gpregs_spe): New insn.
  12640. (*return_and_restore_gpregs_spe): New insn.
  12641. * config/rs6000/predicates.md (save_world_operation): Fix check.
  12642. 2008-06-26 Steven Bosscher <steven@gcc.gnu.org>
  12643. * tree-into-ssa (insert_phi_nodes_for): 'var' must be a DECL at
  12644. this point, so assert that.
  12645. 2008-06-26 Steven Bosscher <steven@gcc.gnu.org>
  12646. * cfganal.c: Include vec.h and vecprim.h.
  12647. (compute_idf): Import from...
  12648. * tree-into-ssa (compute_idf): ...here.
  12649. * basic-block.h (compute_idf): Export.
  12650. 2008-06-26 Joseph Myers <joseph@codesourcery.com>
  12651. * c-decl.c (merge_decls): Use !current_function_decl to check for
  12652. extern declaration of C99 inline function being at file scope.
  12653. 2008-06-25 John David Anglin <dave.anglin@gcc-cnrc.gc.ca>
  12654. * config.gcc (hppa[12]*-*-hpux10*): Don't use fixproto.
  12655. 2008-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12656. * alias.c (record_alias_subset, init_alias_analysis): Fix
  12657. -Wc++-compat and/or -Wcast-qual warnings.
  12658. * attribs.c (lookup_attribute_spec): Likewise.
  12659. * bb-reorder.c (find_traces, rotate_loop, find_traces_1_round,
  12660. copy_bb, connect_traces,
  12661. find_rarely_executed_basic_blocks_and_cr): Likewise.
  12662. * bt-load.c (find_btr_def_group, add_btr_def, new_btr_user,
  12663. note_btr_set, migrate_btr_defs): Likewise.
  12664. * builtins.c (result_vector, expand_builtin_memcpy,
  12665. expand_builtin_mempcpy_args, expand_builtin_strncpy,
  12666. builtin_memset_read_str, expand_builtin_printf,
  12667. fold_builtin_memchr, rewrite_call_expr, fold_builtin_printf):
  12668. Likewise.
  12669. * caller-save.c (mark_set_regs): Likewise.
  12670. * calls.c (expand_call, emit_library_call_value_1): Likewise.
  12671. * cgraph.c (cgraph_edge): Likewise.
  12672. * combine.c (likely_spilled_retval_1): Likewise.
  12673. * coverage.c (htab_counts_entry_hash, htab_counts_entry_eq,
  12674. htab_counts_entry_del, get_coverage_counts): Likewise.
  12675. * cselib.c (new_elt_list, new_elt_loc_list, entry_and_rtx_equal_p,
  12676. new_cselib_val): Likewise.
  12677. * dbgcnt.c (dbg_cnt_process_opt): Likewise.
  12678. * dbxout.c (dbxout_init, dbxout_type, output_used_types_helper):
  12679. Likewise.
  12680. * df-core.c (df_compact_blocks): Likewise.
  12681. * df-problems.c (df_grow_bb_info, df_chain_create): Likewise.
  12682. * df-scan.c (df_grow_reg_info, df_ref_create,
  12683. df_insn_create_insn_record, df_insn_rescan, df_notes_rescan,
  12684. df_ref_compare, df_ref_create_structure, df_bb_refs_record,
  12685. df_record_entry_block_defs, df_record_exit_block_uses,
  12686. df_bb_verify): Likewise.
  12687. * df.h (DF_REF_EXTRACT_WIDTH_CONST, DF_REF_EXTRACT_OFFSET_CONST,
  12688. DF_REF_EXTRACT_MODE_CONST): New.
  12689. * dominance.c (get_immediate_dominator, get_dominated_by,
  12690. nearest_common_dominator, root_of_dom_tree,
  12691. iterate_fix_dominators, first_dom_son, next_dom_son): Fix
  12692. -Wc++-compat and/or -Wcast-qual warnings.
  12693. * dse.c (clear_alias_set_lookup, get_group_info, gen_rtx_MEM,
  12694. record_store, replace_read, check_mem_read_rtx, scan_insn,
  12695. dse_step1, dse_record_singleton_alias_set): Likewise.
  12696. * dwarf2asm.c (dw2_force_const_mem): Likewise.
  12697. 2008-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12698. * dwarf2out.c (new_cfi, queue_reg_save, dwarf2out_begin_prologue,
  12699. dwarf2out_frame_init, new_loc_descr, new_die, lookup_decl_die,
  12700. lookup_decl_loc, add_var_loc_to_decl, compute_section_prefix,
  12701. assign_symbol_names, htab_cu_hash, htab_cu_eq, htab_cu_del,
  12702. build_abbrev_table, new_loc_list, output_comp_unit, add_arange,
  12703. add_ranges_num, add_ranges_by_labels, file_info_cmp,
  12704. file_name_acquire, output_file_names, add_const_value_attribute,
  12705. premark_used_types_helper, file_table_eq, file_table_hash,
  12706. lookup_filename, dwarf2out_var_location, dwarf2out_source_line,
  12707. dwarf2out_init, file_table_relative_p): Fix -Wc++-compat and/or
  12708. -Wcast-qual warnings.
  12709. * ebitmap.c (ebitmap_array_grow, ebitmap_array_init,
  12710. ebitmap_alloc, ebitmap_ior, ebitmap_and_compl): Likewise.
  12711. * emit-rtl.c (get_mem_attrs, get_reg_attrs, gen_rtvec,
  12712. gen_reg_rtx, start_sequence, init_emit): Likewise.
  12713. * et-forest.c (et_new_occ, et_new_tree): Likewise.
  12714. * except.c (init_eh_for_function, gen_eh_region,
  12715. remove_unreachable_regions, add_ehl_entry, duplicate_eh_regions_1,
  12716. arh_to_landing_pad, arh_to_label, add_action_record,
  12717. add_call_site, switch_to_exception_section): Likewise.
  12718. * expmed.c (synth_mult): Likewise.
  12719. * expr.c (gen_group_rtx, emit_group_load, emit_group_store,
  12720. store_expr): Likewise.
  12721. * final.c (shorten_branches, final_scan_insn, debug_queue_symbol):
  12722. Likewise.
  12723. * function.c (assign_stack_temp_for_type,
  12724. allocate_struct_function, match_asm_constraints_1): Likewise.
  12725. * gcov-io.c (gcov_allocate): Likewise.
  12726. * gcse.c (GNEW, GCNEW, GNEWVEC, GCNEWVEC, GRESIZEVEC, GNEWVAR,
  12727. GCNEWVAR, GRESIZEVAR, GOBNEW, GOBNEWVAR): New.
  12728. (gcse_main, alloc_gcse_mem, alloc_gcse_mem, alloc_reg_set_mem,
  12729. record_one_set, insert_expr_in_table, insert_set_in_table,
  12730. dump_hash_table, compute_hash_table_work, alloc_hash_table,
  12731. pre_ldst_expr_hash, pre_ldst_expr_eq, find_rtx_in_ldst,
  12732. reg_set_info, reg_clear_last_set): Fix -Wc++-compat and/or
  12733. -Wcast-qual warnings.
  12734. 2008-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12735. * cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or
  12736. -Wcast-qual warnings.
  12737. * gcc.c (process_command): Likewise.
  12738. * genattrtab.c (oballoc): Use XOBNEW.
  12739. (oballocvec): Define.
  12740. (attr_hash_add_rtx, attr_hash_add_string, attr_string,
  12741. get_attr_value, fill_attr, make_length_attrs, gen_attr, gen_insn,
  12742. gen_delay, find_attr, gen_insn_reserv, gen_bypass_1): Fix
  12743. -Wc++-compat and/or -Wcast-qual warnings.
  12744. * genautomata.c (XCREATENODE, XCREATENODEVEC, XCREATENODEVAR,
  12745. XCOPYNODE, XCOPYNODEVEC, XCOPYNODEVAR): New.
  12746. (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
  12747. gen_presence_absence_set, gen_automaton, gen_regexp_el,
  12748. gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof,
  12749. gen_regexp_sequence, gen_reserv, gen_insn_reserv, process_excls,
  12750. add_excls, process_presence_absence_names,
  12751. process_presence_absence_patterns, add_presence_absence,
  12752. process_regexp, add_advance_cycle_insn_decl, get_free_alt_state,
  12753. get_free_state, add_arc, get_free_automata_list_el,
  12754. form_reserv_sets_list, copy_insn_regexp, transform_1, transform_2,
  12755. transform_3, cache_presence, create_ainsns, create_automata,
  12756. create_state_ainsn_table, dfa_insn_code_enlarge,
  12757. output_trans_func, output_min_issue_delay_func,
  12758. output_dead_lock_func, output_reset_func,
  12759. output_get_cpu_unit_code_func, output_dfa_start_func,
  12760. expand_automata): Likewise.
  12761. * genextract.c (gen_insn): Likewise.
  12762. * gengtype-lex.l: Likewise.
  12763. * gengtype.c (read_input_list, adjust_field_type,
  12764. process_gc_options): Likewise.
  12765. * genoutput.c (note_constraint): Likewise.
  12766. * genpreds.c (mangle, add_constraint): Likewise.
  12767. * genrecog.c (process_define_predicate, new_decision,
  12768. add_to_sequence): Likewise.
  12769. * gensupport.c (record_insn_name): Likewise.
  12770. 2008-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12771. * config/i386/driver-i386.c (detect_caches_amd,
  12772. detect_caches_intel, host_detect_local_cpu): Fix -Wc++-compat
  12773. and/or -Wcast-qual warnings.
  12774. *ggc-common.c (ggc_mark_roots, gt_pch_note_object,
  12775. gt_pch_note_reorder, relocate_ptrs, write_pch_globals,
  12776. gt_pch_save): Likewise.
  12777. * ggc-page.c (push_depth, push_by_depth, alloc_anon, alloc_page,
  12778. gt_ggc_m_S, clear_marks, ggc_pch_read): Likewise.
  12779. * global.c (compute_regsets): Likewise.
  12780. * graph.c (print_rtl_graph_with_bb, clean_graph_dump_file,
  12781. finish_graph_dump_file): Likewise.
  12782. * haifa-sched.c (schedule_block, extend_h_i_d, extend_ready,
  12783. unlink_bb_notes): Likewise.
  12784. * integrate.c (get_hard_reg_initial_val): Likewise.
  12785. * ipa-prop.c (ipa_push_func_to_list): Likewise.
  12786. * ipa-struct-reorg.c (gen_var_name, gen_cluster_name): Likewise.
  12787. * local-alloc.c (update_equiv_regs): Likewise.
  12788. * loop-invariant.c (check_invariant_table_size,
  12789. hash_invariant_expr, eq_invariant_expr, find_or_insert_inv):
  12790. Likewise.
  12791. * loop-iv.c (check_iv_ref_table_size, analyzed_for_bivness_p,
  12792. altered_reg_used, mark_altered): Likewise.
  12793. * loop-unroll.c (si_info_eq, ve_info_eq, allocate_basic_variable,
  12794. insert_var_expansion_initialization,
  12795. combine_var_copies_in_loop_exit, apply_opt_in_copies,
  12796. release_var_copies): Likewise.
  12797. * matrix-reorg.c (mat_acc_phi_hash, mat_acc_phi_eq, mtt_info_eq,
  12798. analyze_matrix_decl, add_allocation_site, analyze_transpose,
  12799. analyze_accesses_for_phi_node, check_var_notmodified_p,
  12800. check_allocation_function, find_sites_in_func,
  12801. record_all_accesses_in_func, transform_access_sites,
  12802. transform_allocation_sites): Likewise.
  12803. * omp-low.c (new_omp_region, create_omp_child_function_name,
  12804. check_omp_nesting_restrictions, check_combined_parallel,
  12805. lower_omp_2, diagnose_sb_1, diagnose_sb_2): Likewise.
  12806. * optabs.c (no_conflict_move_test, gen_libfunc, gen_fp_libfunc,
  12807. gen_intv_fp_libfunc, gen_interclass_conv_libfunc,
  12808. gen_intraclass_conv_libfunc, set_optab_libfunc, set_conv_libfunc):
  12809. Likewise.
  12810. * opts-common.c (prune_options): Likewise.
  12811. * opts.c (add_input_filename, print_filtered_help,
  12812. get_option_state): Likewise.
  12813. * params.c (add_params): Likewise.
  12814. * passes.c (set_pass_for_id, next_pass_1,
  12815. do_per_function_toporder, pass_fini_dump_file): Likewise.
  12816. * postreload.c (reload_cse_simplify_operands): Likewise.
  12817. * predict.c (tree_predicted_by_p, tree_predict_edge,
  12818. clear_bb_predictions, combine_predictions_for_bb): Likewise.
  12819. 2008-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12820. * ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual
  12821. warnings.
  12822. * recog.c (check_asm_operands, validate_change_1): Likewise.
  12823. * reg-stack.c (check_asm_stack_operands, subst_asm_stack_regs,
  12824. subst_asm_stack_regs): Likewise.
  12825. * regclass.c (regclass, som_hash, som_eq, record_subregs_of_mode,
  12826. cannot_change_mode_set_regs, invalid_mode_change_p): Likewise.
  12827. * regmove.c (reg_is_remote_constant_p): Likewise.
  12828. * regrename.c (regrename_optimize, scan_rtx_reg,
  12829. kill_clobbered_value, kill_set_value, kill_autoinc_value):
  12830. Likewise.
  12831. * regstat.c (regstat_init_n_sets_and_refs, regstat_compute_ri,
  12832. regstat_compute_calls_crossed): Likewise.
  12833. * reload1.c (init_reload, new_insn_chain,
  12834. has_nonexceptional_receiver, reload, copy_reloads,
  12835. calculate_needs_all_insns, init_elim_table): Likewise.
  12836. * rtl-factoring.c (compute_rtx_cost, fill_hash_bucket): Likewise.
  12837. * rtl.c (shallow_copy_rtx_stat): Likewise.
  12838. * rtlanal.c (parms_set): Likewise.
  12839. * sbitmap.c (sbitmap_alloc, sbitmap_alloc_with_popcount,
  12840. sbitmap_resize, sbitmap_vector_alloc): Likewise.
  12841. * sched-ebb.c (earliest_block_with_similiar_load,
  12842. add_deps_for_risky_insns): Likewise.
  12843. * sched-rgn.c (find_rgns, gather_region_statistics, extend_rgns,
  12844. schedule_region): Likewise.
  12845. * see.c (eq_descriptor_pre_extension,
  12846. hash_descriptor_pre_extension, hash_del_pre_extension,
  12847. eq_descriptor_properties, hash_descriptor_properties,
  12848. hash_del_properties, see_seek_pre_extension_expr,
  12849. see_initialize_data_structures, see_print_register_properties,
  12850. see_print_pre_extension_expr, see_delete_merged_def_extension,
  12851. see_delete_unmerged_def_extension, see_emit_use_extension,
  12852. see_pre_delete_extension, see_map_extension, see_commit_changes,
  12853. see_analyze_merged_def_local_prop,
  12854. see_analyze_merged_def_local_prop,
  12855. see_analyze_unmerged_def_local_prop, see_analyze_use_local_prop,
  12856. see_set_prop_merged_def, see_set_prop_unmerged_def,
  12857. see_set_prop_unmerged_use, see_print_one_extension,
  12858. see_merge_one_use_extension, see_merge_one_def_extension,
  12859. see_store_reference_and_extension, see_update_uses_relevancy,
  12860. see_update_defs_relevancy): Likewise.
  12861. * statistics.c (hash_statistics_hash, hash_statistics_eq,
  12862. hash_statistics_free, curr_statistics_hash): Likewise.
  12863. * stmt.c (parse_output_constraint, decl_overlaps_hard_reg_set_p,
  12864. expand_asm_operands, expand_return, case_bit_test_cmp,
  12865. expand_case): Likewise.
  12866. * stor-layout.c (start_record_layout): Likewise.
  12867. * stringpool.c (ggc_alloc_string, gt_pch_n_S,
  12868. gt_pch_save_stringpool): Likewise.
  12869. * tree-data-ref.c (hash_stmt_vertex_info,
  12870. have_similar_memory_accesses_1, ref_base_address_1): Likewise.
  12871. * tree-ssa-phiopt.c (name_to_bb_hash): Likewise.
  12872. 2008-06-25 Uros Bizjak <ubizjak@gmail.com>
  12873. PR target/36627
  12874. * config/i386/i386.md: Change constraints of HImode and QImode
  12875. immediate operands from "i" to "n". Change SImode "ni" constraint to
  12876. "i" and SImode "rmi" constraint to "g". Remove all constraints
  12877. from const0_operand and const1_operand predicated operands.
  12878. (i): Change QImode and HImode attribute from "i" to "n".
  12879. (*subqi_2): Change HImode operands to QImode.
  12880. (*subqi_3): Ditto.
  12881. 2008-06-25 Olivier Hainque <hainque@adacore.com>
  12882. * Makefile.in (GTFILES_H): Use | instead of ; as separator in
  12883. sed substitutions.
  12884. 2008-06-25 Richard Guenther <rguenther@suse.de>
  12885. * tree-ssa-structalias.c (fieldoff_compare): Make sure to
  12886. not overflow the result type.
  12887. 2008-06-25 Richard Guenther <rguenther@suse.de>
  12888. * tree-vn.c (vn_add): Handle TRUTH_*_EXPR.
  12889. (vn_lookup): Likewise.
  12890. 2008-06-25 Richard Guenther <rguenther@suse.de>
  12891. PR tree-optimization/35518
  12892. * fold-const.c (fold_ternary): Strip trivial BIT_FIELD_REFs.
  12893. * tree-sra.c (instantiate_element): Use fold_build3 to build
  12894. BIT_FIELD_REFs.
  12895. (try_instantiate_multiple_fields): Likewise.
  12896. 2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
  12897. * config/rs6000/rs6000.md: Change all string instruction's clobber to
  12898. be early clobbers.
  12899. 2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
  12900. * config/rs6000/rs6000.c (rs6000_emit_epilogue): Set
  12901. use_backchain_to_restore_sp to true
  12902. if the offset of the link register save area would go over the 32k - 1
  12903. offset limit of the load
  12904. instructions.
  12905. 2008-06-25 Hans-Peter Nilsson <hp@axis.com>
  12906. * doc/invoke.texi (Optimize Options) <fstrict-aliasing>: Add
  12907. anchor for the type-punning blurb. Cross-reference "Structures
  12908. unions enumerations and bit-fields implementation". Provide a
  12909. cast-through-pointer example. Make final sentence self-contained.
  12910. * doc/implement-c.texi (Structures unions enumerations and
  12911. bit-fields implementation): Cross-reference the type-punning blurb
  12912. in the -fstrict-aliasing documentation.
  12913. 2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
  12914. PR middle-end/36594
  12915. * builtins.c (expand_builtin_nonlocal_goto): Stabilize the address of
  12916. the memory instead of the memory itself for the save area.
  12917. 2008-06-24 Olivier Hainque <hainque@adacore.com>
  12918. Nicolas Roche <roche@adacore.com>
  12919. * gengtype.c (srcdir_len): size_t instead of int.
  12920. (get_file_realbasename): New function. For F a filename, the real
  12921. basename of F, with all the path components stripped.
  12922. (get_file_srcdir_relative_path): New function. For F a filename, the
  12923. relative path to F from $(srcdir).
  12924. (get_file_basename): Rewrite using get_file_srcdir_relative_path and
  12925. get_file_realbasename. Adjust the head comment.
  12926. (get_prefix_langdir_index): New function. For F a filename, return the
  12927. lang_dir_names[] relative index of the language directory that is
  12928. a prefix in F.
  12929. (get_file_langdir): For F a filename, return the name of the language
  12930. directory where F is located.
  12931. (get_file_gtfilename): New function. The gt- output file name for an
  12932. input filename F.
  12933. (get_output_file_with_visibility): Replace in-line computations with
  12934. uses of get_file_gtfilename and get_prefix_langdir_index.
  12935. * Makefile.in (GTFILES_H): Adjust to match what gengtype generates.
  12936. 2008-06-24 Jakub Jelinek <jakub@redhat.com>
  12937. PR tree-optimization/36504
  12938. * tree-ssa-loop-prefetch.c (gather_memory_references_ref): Skip
  12939. references without base address.
  12940. 2008-06-23 Uros Bizjak <ubizjak@gmail.com>
  12941. PR middle-end/36584
  12942. * calls.c (expand_call): Increase alignment for recursive functions.
  12943. 2008-06-23 Anatoly Sokolov <aesok@post.ru>
  12944. * config/avr/avr.c (avr_function_value): Add new 'outgoing' argument.
  12945. (TARGET_FUNCTION_VALUE): New define.
  12946. * config/avr/avr-protos.h (avr_function_value): Remove declaration.
  12947. * config/avr/avr.h (FUNCTION_VALUE): Remove.
  12948. 2008-06-23 Uros Bizjak <ubizjak@gmail.com>
  12949. * config/i386/i386.md (fmodxf3): Change sequence of move instructions.
  12950. (fmod<mode>3): Ditto.
  12951. (remainderxf3): Ditto.
  12952. (remainder<mode>3): Ditto.
  12953. 2008-06-23 Jakub Jelinek <jakub@redhat.com>
  12954. PR target/36533
  12955. * emit-rtl.c (set_reg_attrs_from_value): Do nothing if
  12956. REG is a hard register.
  12957. PR tree-optimization/36508
  12958. * tree-ssa-pre.c (compute_antic): Allow num_iterations up to
  12959. 499, don't check it at all in release compilers.
  12960. 2008-06-23 Uros Bizjak <ubizjak@gmail.com>
  12961. * config/i386/i386.md (*fop_<mode>_1_i387): Use SSE_FLOAT_MODE_P
  12962. together with SSE_TARGET_MATH to disable insn pattern.
  12963. (*fop_<MODEF:mode>_2_i387): Ditto.
  12964. (*fop_<MODEF:mode>_3_i387): Ditto.
  12965. 2008-06-22 Andy Hutchinson <hutchinsonandy@aim.com>
  12966. * config/avr/avr.h (SUPPORTS_INIT_PRIORITY): Define.
  12967. 2008-06-22 Laurynas Biveinis <laurynas.biveinis@gmail.com>
  12968. PR middle-end/34906
  12969. * gimplify.c (gimplify_asm_expr): Check the return code of
  12970. parse_output_constraint call, set function return and is_inout
  12971. value if it failed.
  12972. 2008-06-22 Ian Lance Taylor <iant@google.com>
  12973. * c-lex.c (narrowest_unsigned_type): Change itk to int.
  12974. (narrowest_signed_type): Likewise.
  12975. * c-typeck.c (c_common_type): Change local variable mclass to enum
  12976. mode_class, twice.
  12977. (parser_build_binary_op): Compare the TREE_CODE_CLASS with
  12978. tcc_comparison, not the tree code itself.
  12979. * c-common.c (def_fn_type): Pass int, not an enum, to va_arg.
  12980. (c_expand_expr): Cast modifier to enum expand_modifier.
  12981. * c-common.h (C_RID_CODE): Add casts.
  12982. (C_SET_RID_CODE): Define.
  12983. * c-parser.c (c_parse_init): Use C_SET_RID_CODE.
  12984. (c_lex_one_token): Add cast to avoid warning.
  12985. (c_parser_objc_type_name): Rename local typename to type_name.
  12986. (check_no_duplicate_clause): Change code parameter to enum
  12987. omp_clause_code.
  12988. (c_parser_omp_var_list_parens): Change kind parameter to enum
  12989. omp_clause_code.
  12990. (c_parser_omp_flush): Pass OMP_CLAUSE_ERROR, not 0, to
  12991. c_parser_omp_list_var_parens.
  12992. (c_parser_omp_threadprivate): Likewise.
  12993. * cp/lex.c (init_reswords): Use C_SET_RID_CODE.
  12994. * cp/parser.c (cp_lexer_get_preprocessor_token): Likewise.
  12995. * c-format.c (NO_FMT): Define.
  12996. (printf_length_specs): Use NO_FMT.
  12997. (asm_fprintf_length_specs): Likewise.
  12998. (gcc_diag_length_specs): Likewise.
  12999. (scanf_length_specs): Likewise.
  13000. (strfmon_length_specs): Likewise.
  13001. (gcc_gfc_length_specs): Likewise.
  13002. (printf_flag_specs): Change 0 to STD_C89.
  13003. (asm_fprintf_flag_specs): Likewise.
  13004. (gcc_diag_flag_specs): Likewise.
  13005. (gcc_cxxdiag_flag_specs): Likewise.
  13006. (scanf_flag_specs): Likewise.
  13007. (strftime_flag_specs): Likewise.
  13008. (strfmon_flag_specs): Likewise.
  13009. (print_char_table): Likewise.
  13010. (asm_fprintf_char_table): Likewise.
  13011. (gcc_diag_char_table): Likewise.
  13012. (gcc_tdiag_char_table): Likewise.
  13013. (gcc_cdiag_char_table): Likewise.
  13014. (gcc_cxxdiag_char_table): Likewise.
  13015. (gcc_gfc_char_table): Likewise.
  13016. (scan_char_table): Likewise.
  13017. (time_char_table): Likewis.
  13018. (monetary_char_table): Likewise.
  13019. * c-format.h (BADLEN): Likewise.
  13020. 2008-06-21 Ian Lance Taylor <iant@google.com>
  13021. * tree.h (enum tree_code): Include all-tree.def, not tree.def.
  13022. Define END_OF_BASE_TREE_CODES around inclusion.
  13023. * tree.c (tree_code_type): New global array.
  13024. (tree_code_length, tree_code_name): Likewise.
  13025. * Makefile.in (TREE_H): Add all-tree.def, c-common.def, and
  13026. $(lang_tree_files).
  13027. (all-tree.def, s-alltree): New targets.
  13028. (gencheck.h, s-gencheck): Remove.
  13029. (tree.o): Depend upon all-tree.def.
  13030. (build/gencheck.o): Remove gencheck.h dependency.
  13031. (mostlyclean): Don't remove gencheck.h.
  13032. * c-common.h (enum c_tree_code): Remove.
  13033. * c-lang.c (tree_code_type): Remove.
  13034. (tree_code_length, tree_code_name): Remove.
  13035. * gencheck.c (tree_codes): Include all-tree.def, rather than
  13036. tree.def, c-common.def, and gencheck.h. Undefined DEFTREECODE
  13037. after it is used.
  13038. * tree-browser.c (tb_tree_codes): Include all-tree.def, rather
  13039. than tree.def.
  13040. * cp/cp-tree.h (enum cplus_tree_code): Remove.
  13041. (operator_name_info): Size to MAX_TREE_CODES.
  13042. (assignment_operator_name_info): Likewise.
  13043. * cp/cp-lang.c (tree_code_type): Remove.
  13044. (tree_code_length, tree_code_name): Remove.
  13045. * cp/lex.c (operator_name_info): Size to MAX_TREE_CODES.
  13046. (assignment_operator_name_info): Likewise.
  13047. * cp/decl.c (grok_op_properties): Change LAST_CPLUS_TREE_CODE to
  13048. MAX_TREE_CODES.
  13049. * cp/mangle.c (write_expression): Likewise.
  13050. * cp/Make-lang.in (CXX_TREE_H): Remove cp/cp-tree.def.
  13051. * fortran/f95-lang.c (tree_code_type): Remove.
  13052. (tree_code_length, tree_code_name): Remove.
  13053. * java/java-tree.h (enum java_tree_code): Remove.
  13054. * java/lang.c (tree_code_type): Remove.
  13055. (tree_code_length, tree_code_name): Remove.
  13056. * java/Make-lang.in (JAVA_TREE_H): Remove java/java-tree.def.
  13057. * objc/objc-act.h (enum objc_tree_code): Remove.
  13058. * objc/objc-lang.c (tree_code_type): Remove.
  13059. (tree_code_length, tree_code_name): Remove.
  13060. * objcp/objcp-lang.c (tree_code_type): Remove.
  13061. (tree_code_length, tree_code_name): Remove.
  13062. * ada/ada-tree.h (enum gnat_tree_code): Remove.
  13063. * ada/Make-lang.in (ADA_TREE_H): Remove ada/ada-tre.def.
  13064. * ada/misc.c (tree_code_type): Remove.
  13065. (tree_code_length, tree_code_name): Remove.
  13066. 2008-06-21 Bernhard Fischer <aldot@gcc.gnu.org>
  13067. * tree-ssa-pre.c (fini_antic): Bitmap_sets have to be freed before
  13068. the grand_bitmap_obstack.
  13069. 2008-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  13070. * ggc.h (GGC_RESIZEVAR): New, reorder macros.
  13071. * tracer.c (tail_duplicate): Fix for -Wc++-compat.
  13072. * tree-affine.c (aff_combination_expand, free_name_expansion): Likewise.
  13073. * tree-cfg.c (replace_by_duplicate_decl, replace_ssa_name,
  13074. move_stmt_r, new_label_mapper): Likewise.
  13075. * tree-complex.c (cvc_lookup): Likewise.
  13076. * tree-dfa.c (create_function_ann): Likewise.
  13077. * tree-dump.c (dump_register): Likewise.
  13078. * tree-if-conv.c (tree_if_conversion, add_to_predicate_list,
  13079. find_phi_replacement_condition): Likewise.
  13080. * tree-inline.c (copy_phis_for_bb, estimate_num_insns_1,
  13081. tree_function_versioning): Likewise.
  13082. * tree-into-ssa.c (cmp_dfsnum): Likewise.
  13083. * tree-iterator.c (tsi_link_before, tsi_link_after): Likewise.
  13084. * tree-nested.c (lookup_field_for_decl, lookup_tramp_for_decl,
  13085. get_nonlocal_debug_decl, convert_nonlocal_reference,
  13086. convert_nonlocal_omp_clauses, get_local_debug_decl,
  13087. convert_local_reference, convert_local_omp_clauses,
  13088. convert_nl_goto_reference, convert_nl_goto_receiver,
  13089. convert_tramp_reference, convert_call_expr): Likewise.
  13090. * tree-outof-ssa.c (contains_tree_r): Likewise.
  13091. * tree-parloops.c (reduction_phi, initialize_reductions,
  13092. eliminate_local_variables_1, add_field_for_reduction,
  13093. add_field_for_name, create_phi_for_local_result,
  13094. create_call_for_reduction_1, create_loads_for_reductions,
  13095. create_stores_for_reduction, create_loads_and_stores_for_name):
  13096. Likewise.
  13097. * tree-phinodes.c (allocate_phi_node): Likewise.
  13098. * tree-predcom.c (order_drefs, execute_pred_commoning_cbck): Likewise.
  13099. * tree-sra.c (sra_elt_hash, sra_elt_eq, lookup_element): Likewise.
  13100. * tree-ssa-alias.c (get_mem_sym_stats_for): Likewise.
  13101. * tree-ssa-coalesce.c (compare_pairs): Likewise.
  13102. * tree-ssa-loop-im.c (mem_ref_in_stmt, memref_hash, memref_eq,
  13103. memref_free, gather_mem_refs_stmt, vtoe_hash, vtoe_eq, vtoe_free,
  13104. record_vop_access, get_vop_accesses, get_vop_stores): Likewise.
  13105. * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Likewise.
  13106. * tree-ssa-sccvn.c (VN_INFO_GET, free_phi, free_reference,
  13107. vn_nary_op_insert): Likewise.
  13108. * tree-ssa.c (redirect_edge_var_map_add,
  13109. redirect_edge_var_map_clear, redirect_edge_var_map_dup): Likewise.
  13110. * tree-vectorizer.c (vectorize_loops): Likewise.
  13111. * tree.c (make_node_stat, copy_node_stat, build_int_cst_wide,
  13112. build_fixed, build_real, make_tree_binfo_stat, make_tree_vec_stat,
  13113. tree_cons_stat, build1_stat, build_variant_type_copy,
  13114. decl_init_priority_lookup, decl_fini_priority_lookup,
  13115. decl_priority_info, decl_restrict_base_lookup,
  13116. decl_restrict_base_insert, decl_debug_expr_lookup,
  13117. decl_debug_expr_insert, decl_value_expr_lookup,
  13118. decl_value_expr_insert, type_hash_eq, type_hash_lookup,
  13119. type_hash_add, get_file_function_name, tree_check_failed,
  13120. tree_not_check_failed, tree_range_check_failed,
  13121. omp_clause_range_check_failed, build_omp_clause,
  13122. build_vl_exp_stat): Likewise.
  13123. * value-prof.c (gimple_histogram_value,
  13124. gimple_duplicate_stmt_histograms): Likewise.
  13125. * var-tracking.c (attrs_list_insert, attrs_list_copy,
  13126. unshare_variable, variable_union_info_cmp_pos, variable_union,
  13127. dataflow_set_different_1, dataflow_set_different_2,
  13128. vt_find_locations, variable_was_changed, set_variable_part,
  13129. emit_notes_for_differences_1, emit_notes_for_differences_2): Likewise.
  13130. * varasm.c (prefix_name, emutls_decl, section_entry_eq,
  13131. section_entry_hash, object_block_entry_eq,
  13132. object_block_entry_hash, create_block_symbol,
  13133. initialize_cold_section_name, default_function_rodata_section,
  13134. strip_reg_name, set_user_assembler_name, const_desc_eq,
  13135. build_constant_desc, output_constant_def, lookup_constant_def,
  13136. const_desc_rtx_hash, const_desc_rtx_eq, const_rtx_hash_1,
  13137. create_constant_pool, force_const_mem, compute_reloc_for_rtx_1,
  13138. default_internal_label): Likewise.
  13139. * varray.c (varray_init, varray_grow): Likewise.
  13140. * vec.c (vec_gc_o_reserve_1, vec_heap_o_reserve_1): Likewise.
  13141. 2008-06-20 Uros Bizjak <ubizjak@gmail.com>
  13142. * config/i386/i386.md (*jcc_fused_1): Handle all valid compare
  13143. operators for "test" insn. Macroize insn using SWI mode macro.
  13144. (*jcc_fused_2): Ditto.
  13145. (*jcc_fused_3): Macroize insn using SWI mode macro.
  13146. (*jcc_fused_4): Ditto.
  13147. 2008-06-20 Bernhard Fischer <aldot@gcc.gnu.org>
  13148. * tree-ssa-pre.c: Fix typo in comment.
  13149. (init_antic, fini_antic): Add explicit funtions for
  13150. initializing and deinitializing ANTIC and AVAIL sets.
  13151. (create_expression_by_pieces): Fix typo in comment.
  13152. Remove redundant set of new_stuff and use NULL_TREE instead of NULL.
  13153. (execute_pre): Eventually dump details about ANTIC_IN.
  13154. 2008-06-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  13155. * collect2.c (main, add_to_list): Fix for -Wc++-compat.
  13156. * gcc.c (translate_options, init_spec, store_arg, read_specs,
  13157. add_to_obstack, file_at_path, find_a_file, execute,
  13158. add_preprocessor_option, add_assembler_option, add_linker_option,
  13159. process_command, insert_wrapper, do_option_spec, do_self_spec,
  13160. spec_path, do_spec_1, is_directory, main, used_arg,
  13161. getenv_spec_function): Likewise.
  13162. * tlink.c (symbol_hash_lookup, file_hash_lookup,
  13163. demangled_hash_lookup, symbol_push, file_push, frob_extension):
  13164. Likewise.
  13165. 2008-06-19 Kenneth Zadeck <zadeck@naturalbridge.com>
  13166. * doc/rtl.texi: Updated subreg section.
  13167. 2008-06-19 Jakub Jelinek <jakub@redhat.com>
  13168. PR c++/36523
  13169. * cgraphunit.c (cgraph_process_new_functions): Don't clear
  13170. node->needed and node->reachable.
  13171. * cgraphbuild.c (record_reference): Handle OMP_PARALLEL and OMP_TASK.
  13172. * omp-low.c (delete_omp_context): Call finalize_task_copyfn.
  13173. (expand_task_call): Don't call expand_task_copyfn.
  13174. (expand_task_copyfn): Renamed to...
  13175. (finalize_task_copyfn): ... this.
  13176. 2008-06-19 Jan Hubicka <jh@suse.cz>
  13177. * builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before
  13178. clobbering framepointer.
  13179. 2008-06-19 Jan Hubicka <jh@suse.cz>
  13180. * tree-optimize.c (execute_early_local_optimizations): Set
  13181. cgraph_state only at first invocation.
  13182. 2008-06-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  13183. * system.h (-Wc++-compat): Activate as a warning, no an error.
  13184. 2008-06-19 Uros Bizjak <ubizjak@gmail.com>
  13185. * config/i386/i386.md (*jcc_fused_1): Use ASM_COMMENT_START
  13186. instead of "#" in insn asm template.
  13187. (*jcc_fused_2): Ditto.
  13188. 2008-06-19 Uros Bizjak <ubizjak@gmail.com>
  13189. * config/i386/i386.h (ix86_tune_indices)
  13190. [X86_TUNE_FUSE_CMP_AND_BRANCH]: New.
  13191. (TARGET_FUSE_CMP_AND_BRANCH): New define.
  13192. * config/i386/i386.md (*jcc_fused_1): New insn pattern
  13193. (*jcc_fused_2): Ditto.
  13194. * config/i386/i386.c (ix86_tune_features): Add m_CORE2 to
  13195. X86_TUNE_FUSE_CMP_AND_BRANCH targets.
  13196. (print operand): Handle 'E' and 'e' code.
  13197. 2008-06-19 Anatoly Sokolov <aesok@post.ru>
  13198. * config/avr/avr.c (avr_mcu_t): Add attiny13a.
  13199. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
  13200. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
  13201. 2008-06-19 Bernhard Fischer <aldot@gcc.gnu.org>
  13202. * cgraphunit.c (cgraph_finalize_function): Remove redundant setting of
  13203. node->decl.
  13204. (cgraph_expand_function): Use local copy of decl.
  13205. (cgraph_expand_all_functions): Remove redundant initialization of
  13206. order_pos.
  13207. (cgraph_optimize): Reword internal_error message.
  13208. 2008-06-19 Chung-Lin Tang <ctang@marvell.com>
  13209. * arm-protos.h (arm_return_in_memory): Remove public
  13210. arm_return_in_memory() prototype.
  13211. * arm.c (arm_return_in_memory): Add static prototype, add target
  13212. hook macro, change definition and comments.
  13213. * arm.h (TARGET_RETURN_IN_MEMORY): Remove.
  13214. 2008-06-19 Ben Elliston <bje@au.ibm.com>
  13215. * dfp.h, dfp.c, config/dfp-bit.h, config/dfp-bit.c, real.h,
  13216. real.c: Remove references to IEEE 754R.
  13217. * doc/install.texi (Configuration): IEEE 754R -> IEEE 754-2008.
  13218. * doc/libgcc.texi (Decimal float library routines): Likewise.
  13219. 2008-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  13220. * targhooks.h (struct gcc_target): New member unwind_word_mode.
  13221. (default_unwind_word_mode): Add prototype.
  13222. * targhooks.c (default_unwind_word_mode): New function.
  13223. (default_eh_return_filter_mode): Return targetm.unwind_word_mode ()
  13224. instead of word_mode.
  13225. * target-def.h (TARGET_UNWIND_WORD_MODE): New macro.
  13226. (TARGET_INITIALIZER): Use it.
  13227. * c-common.c (handle_mode_attribute): Support "unwind_word"
  13228. mode attribute.
  13229. * unwind-generic.h (_Unwind_Word, _Unwind_Sword): Use it.
  13230. * except.c (init_eh): Use targetm.unwind_word_mode () instead of
  13231. word_mode to access SjLj_Function_Context member "data".
  13232. (sjlj_emit_dispatch_table): Likewise. Also, perform type
  13233. conversion from targetm.eh_return_filter_mode () to
  13234. targetm.unwind_word_mode () if they differ.
  13235. * builtin-types.def (BT_UNWINDWORD): New primitive type.
  13236. (BT_FN_UNWINDWORD_PTR): New function type.
  13237. (BT_FN_WORD_PTR): Remove.
  13238. * builtins.def (BUILT_IN_EXTEND_POINTER): Use BT_FN_UNWINDWORD_PTR.
  13239. * except.c (expand_builtin_extend_pointer): Convert pointer to
  13240. targetm.unwind_word_mode () instead of word_mode.
  13241. * config/spu/spu-protos.h (spu_eh_return_filter_mode): Remove.
  13242. * config/spu/spu.c (spu_eh_return_filter_mode): Remove.
  13243. (spu_unwind_word_mode): New function.
  13244. (TARGET_EH_RETURN_FILTER_MODE): Do not define.
  13245. (TARGET_UNWIND_WORD_MODE): Define.
  13246. * config/spu/t-spu-elf (TARGET_LIBGCC2_CFLAGS): Remove -D__word__=SI.
  13247. 2008-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  13248. * config/spu/spu.c (reg_align): Remove.
  13249. (regno_aligned_for_load): Also accept ARG_POINTER_REGNUM.
  13250. (spu_split_load): Use regno_aligned_for_load instead of reg_align.
  13251. (spu_split_store): Likewise.
  13252. 2008-06-18 Bernhard Fischer <aldot@gcc.gnu.org>
  13253. * gcc/tree-vn.c: Fix typo in comment.
  13254. 2008-06-18 Jan Hubicka <jh@suse.cz>
  13255. * cgraphunit.c (cgraph_optimize): Output debug info when doing
  13256. toplevel reorder too.
  13257. 2008-06-18 Jan Hubicka <jh@suse.cz>
  13258. * c-opts.c (c_common_post_options): PCH is not compatible with
  13259. no-unit-at-a-time.
  13260. * opts.c (handle_options): Enable unit-at-a-time at O0 along with
  13261. -fno-toplevel-reorder by default now.
  13262. 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  13263. PR documentation/30739
  13264. * doc/install.texi (Prerequisites): Document dependency on awk.
  13265. 2008-06-18 Uros Bizjak <ubizjak@gmail.com>
  13266. Ian Lance Taylor <iant@google.com>
  13267. PR rtl-optimization/35604
  13268. * jump.c (redirect_exp_1): Skip the condition of an IF_THEN_ELSE. We
  13269. only want to change jump destinations, not eventual label comparisons.
  13270. 2008-06-16 Jan Hubicka <jh@suse.cz>
  13271. * cgraphunit.c (cgraph_expand_pending_functions): Give up at
  13272. syntax errors.
  13273. (cgraph_analyze_function): Likewise.
  13274. 2008-06-16 Jan Hubicka <jh@suse.cz>
  13275. * cgraph.h (cgraph_mark_if_needed): New function.
  13276. * cgraphunit.c (cgraph_mark_if_needed): New function.
  13277. * c-decl.c (duplicate_decl): Use it.
  13278. 2008-06-16 Jan Hubicka <jh@suse.cz>
  13279. * cgraph.c (cgraph_add_new_function): When in expansion state, do
  13280. lowering.
  13281. 2008-06-16 Jan Hubicka <jh@suse.cz>
  13282. * tree-outof-ssa.c (pass_out_of_ssa): Do not depend on PROP_alias.
  13283. 2008-06-16 Daniel Jacobowitz <dan@codesourcery.com>
  13284. Kazu Hirata <kazu@codesourcery.com>
  13285. Maxim Kuvyrkov <maxim@codesourcery.com
  13286. * config.gcc (mips64el-st-linux-gnu): Use mips/st.h and mips/t-st.
  13287. * config.host: Use driver-native.o and mips/x-native for mips*-linux*.
  13288. * config/mips/linux.h (host_detect_local_cpu): Declare, add to
  13289. EXTRA_SPEC_FUNCTIONS.
  13290. (MARCH_MTUNE_NATIVE_SPECS, BASE_DRIVER_SELF_SPECS): New macros.
  13291. (DRIVER_SELF_SPECS): Adjust.
  13292. * config/mips/linux64.h (DRIVER_SELF_SPECS): Update.
  13293. * config/mips/st.h, config/mips/t-st: New.
  13294. * config/mips/driver-native.c, config/mips/x-native: New.
  13295. * doc/invoke.texi (MIPS): Document 'native' value for -march and
  13296. -mtune options.
  13297. 2008-06-18 Maxim Kuvyrkov <maxim@codesourcery.com>
  13298. * config/mips/mips.h (ISA_HAS_CONDMOVE): Slice ISA_HAS_FP_CONDMOVE
  13299. from it.
  13300. (ISA_HAS_FP_CONDMOVE): New macro.
  13301. (ISA_HAS_FP_MADD4_MSUB4, ISA_HAS_FP_MADD3_MSUB3): New macros.
  13302. (ISA_HAS_NMADD_NMSUB): Rename to ISA_HAS_NMADD4_NMSUB4.
  13303. (ISA_HAS_NMADD3_NMSUB3): New macro.
  13304. * config/mips/mips.c (mips_rtx_costs): Update.
  13305. * config/mips/mips.md (MOVECC): Don't use FP conditional moves when
  13306. compiling for ST Loongson 2E/2F.
  13307. (madd<mode>): Rename to madd4<mode>. Update.
  13308. (madd3<mode>): New pattern.
  13309. (msub<mode>): Rename to msub4<mode>. Update.
  13310. (msub3<mode>): New pattern.
  13311. (nmadd<mode>): Rename to nmadd4<mode>. Update.
  13312. (nmadd3<mode>): New pattern.
  13313. (nmadd<mode>_fastmath): Rename to nmadd4<mode>_fastmath. Update.
  13314. (nmadd3<mode>_fastmath): New pattern.
  13315. (nmsub<mode>): Rename to nmsub4<mode>. Update.
  13316. (nmsub3<mode>): New pattern.
  13317. (nmsub<mode>_fastmath): Rename to nmsub4<mode>_fastmath. Update.
  13318. (nmsub3<mode>_fastmath): New pattern.
  13319. (mov<SCALARF:mode>_on_<MOVECC:mode>, mov<mode>cc): Update.
  13320. 2008-06-18 Steven Bosscher <steven@gcc.gnu.org>
  13321. * df.h (struct df_ref): Replace 'insn' field with 'insn_info' field.
  13322. (DF_REF_INSN_INFO): New.
  13323. (DF_REF_INSN, DF_REF_INSN_UID): Rewrite macros using DF_REF_INSN_INFO.
  13324. (DF_REF_IS_ARTIFICIAL): Artificial refs are now identified as refs
  13325. with a NULL DF_REF_INSN_INFO.
  13326. (DF_INSN_INFO_GET, DF_INSN_INFO_SET): Renamed from DF_INSN_GET and
  13327. DF_INSN_SET.
  13328. (DF_INSN_INFO_LUID, DF_INSN_INFO_DEFS, DF_INSN_INFO_USES,
  13329. DF_INSN_INFO_EQ_USES): New.
  13330. (DF_INSN_LUID, DF_INSN_DEFS, DF_INSN_USES, DF_INSN_EQ_USES,
  13331. DF_INSN_UID_LUID, DF_INSN_UID_DEFS, DF_INSN_UID_USES,
  13332. DF_INSN_UID_EQ_USES): Rewrite using DF_INSN_INFO_* macros.
  13333. * df-core.c: Update comment for above changes.
  13334. (df_insn_debug_regno): Use DF_INSN_INFO_GET instead of INSN_UID and
  13335. DF_INSN_UID_* macros.
  13336. (df_ref_debug): Check for NULL DF_REF_INSN_INFO.
  13337. * df-scan.c (df_ref_record): Take a df_insn_info instead of an
  13338. insn rtx. Update all callers.
  13339. (df_def_record_1, df_defs_record, df_uses_record, df_get_call_refs,
  13340. df_ref_create_structure, df_insn_refs_collect): Likewise.
  13341. (df_ref_equal_p): Compare DF_REF_INSN_INFO pointers for the refs.
  13342. * df-problems.c (df_chain_dump): Test for non-NULL DF_REF_INSN_INFO.
  13343. (df_live_bb_local_compute): Retrieve DF_INSN_INFO, use DF_INSN_INFO_*
  13344. macros to access the insn refs.
  13345. (df_chain_top_dump, df_chain_bottom_dump, df_byte_lr_alloc): Likewise.
  13346. * fwprop.c (use_killed_between): Use DF_REF_INSN accessor macro.
  13347. (all_uses_available): Retrieve DF_INSN_INFO for def_insn, and use it
  13348. for accessing the refs.
  13349. (try_fwprop_subst): Likewise.
  13350. * ddg.c (add_cross_iteration_register_deps): Use DF_REF_INSN macro.
  13351. * web.c (union_defs): Retrieve DF_INSN_INFO for def_insn, and use it
  13352. for accessing the refs.
  13353. * loop-invariant.c (invariant_for_use): Use DF_REF_BB macro.
  13354. (check_dependencies): Use DF_INSN_INFO_GET, use DF_INSN_INFO_* macros
  13355. to look at the insn refs.
  13356. (record_uses): Likewise.
  13357. * dce.c (deletable_insn_p): Don't tolerate artificial DEFs in this
  13358. function anymore.
  13359. (mark_artificial_uses): Don't mark_insn for artificial refs.
  13360. (mark_reg_rependencies): Likewise.
  13361. * doc/rtl.texi: Remove documentation of ADDRESSOF.
  13362. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  13363. * configure: Regenerate.
  13364. 2008-06-17 Eric B. Weddington <eric.weddington@atmel.com>
  13365. * config/avr/avr.c (avr_mcu_t): Remove atmega32hvb.
  13366. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
  13367. * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
  13368. 2008-06-17 Eric B. Weddington <eric.weddington@atmel.com>
  13369. * config/avr/avr.c (avr_mcu_t): Add attiny167.
  13370. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
  13371. * gcc/config/avr/t-avr (MULTILIB_MATCHES): Likewise.
  13372. 2008-06-17 Eric B. Weddington <eric.weddington@atmel.com>
  13373. * config/avr/avr.c (avr_mcu_t): Add atmega32u4.
  13374. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
  13375. * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
  13376. 2008-06-17 Bernhard Fischer <aldot@gcc.gnu.org>
  13377. * tree-ssa-sccvn.c: Fix format of comments.
  13378. 2008-06-17 Bernhard Fischer <aldot@gcc.gnu.org>
  13379. * cgraph.c: Remove unneeded forward declarations of eq_node()
  13380. and hash_node().
  13381. 2008-06-17 Steven Bosscher <steven@gcc.gnu.org>
  13382. * see.c (see_analyse_one_def): Do not look for REG_LIBCALL and
  13383. REG_RETVAL notes.
  13384. (see_update_relevancy): Likewise.
  13385. * fwprop.c (try_fwprop_subst): Likewise.
  13386. * rtlanal.c (noop_move_p): Likewise.
  13387. * builtins.c (expand_buitlin_mathfn): Don't try to add REG_EQUAL
  13388. notes to non-existing libcall blocks.
  13389. * cse.c (cse_insn): Change prototype. Don't update libcall notes.
  13390. Remove orig_set.
  13391. (cse_extended_basic_block): Don't track libcall and no-conflict notes.
  13392. (dead_libcall_p): Remove.
  13393. (delete_trivially_dead_insns): Don't use it.
  13394. * web.c (union_defs): Remove comment about keeping nops.
  13395. * gcse.c (hash_scan_insn): Don't take libcall pointers.
  13396. (compute_hash_table_work): Don't track libcall notes.
  13397. (do_local_cprop): Don't take libcall pointers. Don't update
  13398. libcall notes.
  13399. (adjust_libcall_notes): Deleted.
  13400. (local_cprop_pass): Remove stack for nested libcalls (which shouldn't
  13401. ever have existed in the first place).
  13402. (replace_store_insn): Don't try to remove libcall notes.
  13403. * lower-subreg.c (move_libcall_note, move_retval_note): Deleted.
  13404. (resolve_reg_notes): Don't call them.
  13405. (resolve_simple_move): Likewise.
  13406. (decompose_multiword_subregs): Remove block handling REG_RETVAL notes.
  13407. Don't remove REG_RETVAL notes.
  13408. * emit-rtl.c (try_split): Don't update libcall notes.
  13409. (emit_copy_of_insn_after): Dito.
  13410. * cselib.c (cselib_current_insn_in_libcall): Remove.
  13411. (cselib_process_insn): Don't set/clear it.
  13412. (new_elt_loc_list): Don't record it.
  13413. (cselib_init): Don't initialize it.
  13414. * cselib.c (struct elt_loc_list): Remove in_libcall field.
  13415. * loop-invariant.c (find_invariant_insn): Don't look for libcall
  13416. notes.
  13417. * sched-deps.c (sched_analyze_insn): Don't group libcall blocks.
  13418. (sched_analyze): Don't set up deps->libcall_block_tail_insn.
  13419. (init_deps): Don't initialize it.
  13420. * sched-int.h (struct deps): Rremove libcall_block_tail_insn field.
  13421. * combine.c (delete_noop_moves): Don't update libcall notes.
  13422. (can_combine_p): Remove now pointless #if 0 block.
  13423. (try_combine): Remove another obsolete #if 0 block.
  13424. (distribute_notes): Don't distribute libcall notes.
  13425. * reg-notes.def (REG_LIBCALL, REG_RETVAL): Remove.
  13426. * dce.c (libcall_dead_p): Remove.
  13427. (delete_unmarked_insns): Don't handle libcall blocks.
  13428. (preserve_libcall_for_dce): Remove.
  13429. (prescan_insns_for_dce): Don't special-case libcall block insns.
  13430. * reload1 (reload): Don't handle libcall notes.
  13431. * doc/rtl.texi (REG_LIBCALL, REG_RETVAL, REG_LIBCALL_ID): Remove
  13432. documentation.
  13433. 2008-06-16 Eric B. Weddington <eric.weddington@atmel.com>
  13434. * config/avr/avr.c (avr_mcu_t): Add atmega32c1.
  13435. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
  13436. * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
  13437. 2008-06-16 Eric B. Weddington <eric.weddington@atmel.com>
  13438. * config/avr/avr.c (avr_mcu_t): Add atmega32m1.
  13439. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
  13440. * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
  13441. 2008-06-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  13442. * Makefile.in (FLAGS_TO_PASS): Add $(datarootdir).
  13443. 2008-06-16 Ira Rosen <irar@il.ibm.com>
  13444. PR tree-optimization/36493
  13445. * tree-vect-transform.c (vect_create_data_ref_ptr): Remove TYPE from
  13446. the arguments list. Use VECTYPE to create vector pointer.
  13447. (vectorizable_store): Fail if accesses through a pointer to vectype
  13448. do not alias the original memory reference operands.
  13449. Call vect_create_data_ref_ptr without the removed argument.
  13450. (vectorizable_load): Likewise.
  13451. (vect_setup_realignment): Call vect_create_data_ref_ptr without the
  13452. removed argument.
  13453. 2008-06-015 Andy Hutchinson <hutchinsonandy@aim.com>
  13454. PR target/36336
  13455. * config/avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Add check for
  13456. reg_equiv_constant.
  13457. 2008-06-15 Maxim Kuvyrkov <maxim@codesourcery.com>
  13458. * config/mips/loongson2ef.md: New file.
  13459. * config/mips/mips.md (UNSPEC_LOONGSON_ALU1_TURN_ENABLED_INSN)
  13460. (UNSPEC_LOONGSON_ALU2_TURN_ENABLED_INSN)
  13461. (UNSPEC_LOONGSON_FALU1_TURN_ENABLED_INSN)
  13462. (UNSPEC_LOONGSON_FALU2_TURN_ENABLED_INSN): New constants.
  13463. (define_attr "cpu"): Rename loongson2e and loongson2f to loongson_2e
  13464. and loongson_2f.
  13465. (loongson2ef.md): New include.
  13466. * config/mips/loongson.md (vec_pack_ssat_<mode>, vec_pack_usat_<mode>)
  13467. (add<mode>3, paddd, ssadd<mode>3, usadd<mode>3)
  13468. (loongson_and_not_<mode>, loongson_average_<mode>, loongson_eq_<mode>)
  13469. (loongson_gt_<mode>, loongson_extract_halfword)
  13470. (loongson_insert_halfword_0, loongson_insert_halfword_2)
  13471. (loongson_insert_halfword_3, loongson_mult_add, smax<mode>3)
  13472. (umax<mode>3, smin<mode>3, umin<mode>3, loongson_move_byte_mask)
  13473. (umul<mode>3_highpart, smul<mode>3_highpart, loongson_smul_lowpart)
  13474. (loongson_umul_word, loongson_pasubub, reduc_uplus_<mode>)
  13475. (loongson_psadbh, loongson_pshufh, loongson_psll<mode>)
  13476. (loongson_psra<mode>, loongson_psrl<mode>, sub<mode>3, psubd)
  13477. (sssub<mode>3, ussub<mode>3, vec_interleave_high<mode>)
  13478. (vec_interleave_low<mode>): Define type attribute.
  13479. * config/mips/mips.c (mips_ls2): New static variable.
  13480. (mips_issue_rate): Update to handle tuning for Loongson 2E/2F.
  13481. (mips_ls2_init_dfa_post_cycle_insn, mips_init_dfa_post_cycle_insn)
  13482. (sched_ls2_dfa_post_advance_cycle, mips_dfa_post_advance_cycle):
  13483. Implement target scheduling hooks.
  13484. (mips_multipass_dfa_lookahead): Update to handle tuning for
  13485. Loongson 2E/2F.
  13486. (mips_sched_init): Initialize data for Loongson scheduling.
  13487. (mips_ls2_variable_issue): New static function.
  13488. (mips_variable_issue): Update to handle tuning for Loongson 2E/2F.
  13489. Add sanity check.
  13490. (TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN)
  13491. (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Override target hooks.
  13492. * config/mips/mips.h (TUNE_LOONGSON_2EF): New macros.
  13493. (ISA_HAS_XFER_DELAY, ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS):
  13494. Handle ST Loongson 2E/2F cores.
  13495. (CPU_UNITS_QUERY): Define macro to enable querying of DFA units.
  13496. 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  13497. * omp-low.c (extract_omp_for_data): Fix comment typo.
  13498. * c.opt: Fix typo.
  13499. 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  13500. * doc/sourcebuild.texi (Config Fragments): Remove obsolete
  13501. FIXME note about gcc/config.guess.
  13502. * doc/options.texi (Option file format): Remove non-ASCII bytes.
  13503. * doc/cpp.texi: Expand TABs, drop indentation outside examples.
  13504. * doc/cppopts.texi: Likewise.
  13505. * doc/extend.texi: Likewise.
  13506. * doc/gcc.texi: Likewise.
  13507. * doc/gccint.texi: Likewise.
  13508. * doc/gcov.texi: Likewise.
  13509. * doc/gty.texi: Likewise.
  13510. * doc/hostconfig.texi: Likewise.
  13511. * doc/install.texi: Likewise.
  13512. * doc/invoke.texi: Likewise.
  13513. * doc/loop.texi: Likewise.
  13514. * doc/makefile.texi: Likewise.
  13515. * doc/md.texi: Likewise.
  13516. * doc/passes.texi: Likewise.
  13517. * doc/tm.texi: Likewise.
  13518. * doc/tree-ssa.texi: Likewise.
  13519. * doc/trouble.texi: Likewise.
  13520. 2008-06-15 Mark Shinwell <shinwell@codesourcery.com>
  13521. Nathan Sidwell <nathan@codesourcery.com>
  13522. Maxim Kuvyrkov <maxim@codesourcery.com>
  13523. Richard Sandiford <rdsandiford@googlemail.com>
  13524. * config/mips/mips-modes.def: Add V8QI, V4HI and V2SI modes.
  13525. * config/mips/mips-protos.h (mips_expand_vector_init): New.
  13526. * config/mips/mips-ftypes.def: Add function types for Loongson-2E/2F
  13527. builtins.
  13528. * config/mips/mips.c (mips_split_doubleword_move): Handle new modes.
  13529. (mips_hard_regno_mode_ok_p): Allow 64-bit vector modes for Loongson.
  13530. (mips_vector_mode_supported_p): Add V2SImode, V4HImode and
  13531. V8QImode cases.
  13532. (LOONGSON_BUILTIN, LOONGSON_BUILTIN_ALIAS): New.
  13533. (CODE_FOR_loongson_packsswh, CODE_FOR_loongson_packsshb,
  13534. (CODE_FOR_loongson_packushb, CODE_FOR_loongson_paddw,
  13535. (CODE_FOR_loongson_paddh, CODE_FOR_loongson_paddb,
  13536. (CODE_FOR_loongson_paddsh, CODE_FOR_loongson_paddsb)
  13537. (CODE_FOR_loongson_paddush, CODE_FOR_loongson_paddusb)
  13538. (CODE_FOR_loongson_pmaxsh, CODE_FOR_loongson_pmaxub)
  13539. (CODE_FOR_loongson_pminsh, CODE_FOR_loongson_pminub)
  13540. (CODE_FOR_loongson_pmulhuh, CODE_FOR_loongson_pmulhh)
  13541. (CODE_FOR_loongson_biadd, CODE_FOR_loongson_psubw)
  13542. (CODE_FOR_loongson_psubh, CODE_FOR_loongson_psubb)
  13543. (CODE_FOR_loongson_psubsh, CODE_FOR_loongson_psubsb)
  13544. (CODE_FOR_loongson_psubush, CODE_FOR_loongson_psubusb)
  13545. (CODE_FOR_loongson_punpckhbh, CODE_FOR_loongson_punpckhhw)
  13546. (CODE_FOR_loongson_punpckhwd, CODE_FOR_loongson_punpcklbh)
  13547. (CODE_FOR_loongson_punpcklhw, CODE_FOR_loongson_punpcklwd): New.
  13548. (mips_builtins): Add Loongson builtins.
  13549. (mips_loongson_2ef_bdesc): New.
  13550. (mips_bdesc_arrays): Add mips_loongson_2ef_bdesc.
  13551. (mips_builtin_vector_type): Handle unsigned versions of vector modes.
  13552. (MIPS_ATYPE_UQI, MIPS_ATYPE_UDI, MIPS_ATYPE_V2SI, MIPS_ATYPE_UV2SI)
  13553. (MIPS_ATYPE_V4HI, MIPS_ATYPE_UV4HI, MIPS_ATYPE_V8QI, MIPS_ATYPE_UV8QI):
  13554. New.
  13555. (mips_expand_vector_init): New.
  13556. * config/mips/mips.h (HAVE_LOONGSON_VECTOR_MODES): New.
  13557. (TARGET_CPU_CPP_BUILTINS): Define __mips_loongson_vector_rev
  13558. if appropriate.
  13559. * config/mips/mips.md: Add unspec numbers for Loongson
  13560. builtins. Include loongson.md.
  13561. (MOVE64): Include Loongson vector modes.
  13562. (SPLITF): Include Loongson vector modes.
  13563. (HALFMODE): Handle Loongson vector modes.
  13564. * config/mips/loongson.md: New.
  13565. * config/mips/loongson.h: New.
  13566. * config.gcc: Add loongson.h header for mips*-*-* targets.
  13567. * doc/extend.texi (MIPS Loongson Built-in Functions): New.
  13568. 2008-06-14 Joseph Myers <joseph@codesourcery.com>
  13569. * config.gcc (arc-*-elf*, avr-*-*, fr30-*-elf, frv-*-elf,
  13570. h8300-*-elf*, h8300-*-*, i[34567]86-*-elf*, x86_64-*-elf*,
  13571. i[34567]86-*-aout*, i[34567]86-*-coff*, ia64*-*-elf*,
  13572. iq2000*-*-elf*, m32r-*-elf*, m32rle-*-elf*, m32r-*-linux*,
  13573. m32rle-*-linux*, m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*,
  13574. m68k-*-coff*, mcore-*-elf, mcore-*-pe*, mipsisa64sr71k-*-elf*,
  13575. mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*, mips-*-elf* |
  13576. mipsel-*-elf*, mips64-*-elf* | mips64el-*-elf*, mips64vr-*-elf* |
  13577. mips64vrel-*-elf*, mips64orion-*-elf* | mips64orionel-*-elf*,
  13578. mipstx39-*-elf* | mipstx39el-*-elf*, mn10300-*-*, pdp11-*-,
  13579. powerpc-*-elf*, powerpcle-*-elf*, sh-*-elf* | sh[12346l]*-*-elf* |
  13580. sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | sh-*-linux* |
  13581. sh[2346lbe]*-*-linux* | sh-*-netbsdelf* | shl*-*-netbsdelf* |
  13582. sh5-*-netbsd* | sh5l*-*-netbsd* | sh64-*-netbsd* |
  13583. sh64l*-*-netbsd*, sh-*-*, sparc-*-elf*, sparc64-*-elf*,
  13584. v850e1-*-*, v850e-*-*, v850-*-*, xstormy16-*-elf, m32c-*-elf*):
  13585. Remove use_fixproto=yes.
  13586. (ia64*-*-hpux*): Remove comment about using fixproto.
  13587. (m68k-*-uclinuxoldabi*, m68k-*-uclinux*): Remove use_fixproto=no.
  13588. 2008-06-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  13589. * configure.ac: Update gthr-default.h lazily, to avoid unneeded
  13590. library rebuilds.
  13591. * configure: Regenerate.
  13592. 2008-06-13 Eric Botcazou <ebotcazou@adacore.com>
  13593. PR middle-end/36520
  13594. * builtins.c (get_memory_rtx): Test for the presence of DECL_SIZE_UNIT
  13595. before evaluating it.
  13596. 2008-06-13 Jakub Jelinek <jakub@redhat.com>
  13597. PR c/36507
  13598. * c-decl.c (merge_decls): Don't clear DECL_EXTERNAL for
  13599. nested inline functions.
  13600. (start_decl, start_function): Don't invert DECL_EXTERNAL
  13601. for nested inline functions.
  13602. 2008-06-13 Richard Sandiford <rdsandiford@googlemail.com>
  13603. * config/mips/mips.md: Remove TARGET_DEBUG_D_MODE conditions from
  13604. splits that must be made for correctness.
  13605. 2008-06-13 Richard Sandiford <rdsandiford@googlemail.com>
  13606. * config/mips/mips.c (BUILTIN_AVAIL_NON_MIPS16): New macro.
  13607. (AVAIL_NON_MIPS16): Likewise.
  13608. (mips_builtin_description): Replace target_flags with a predicate.
  13609. (paired_single, sb1_paired_single, mips3d, dsp, dspr2, dsp_32)
  13610. (dspr2_32): New availability predicates.
  13611. (MIPS_BUILTIN): New macro.
  13612. (DIRECT_BUILTIN, CMP_SCALAR_BUILTINS, CMP_PS_BUILTINS)
  13613. (CMP_4S_BUILTINS, MOVTF_BUILTINS, CMP_BUILTINS)
  13614. (DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): Use it.
  13615. Replace the TARGET_FLAGS parameters with AVAIL parameters.
  13616. (mips_ps_bdesc, mips_sb1_bdesc, mips_dsp_bdesc)
  13617. (mips_dsp_32only_bdesc): Merge into...
  13618. (mips_builtins): ...this new array.
  13619. (mips_bdesc_map, mips_bdesc_arrays): Delete.
  13620. (mips_init_builtins): Update after above changes.
  13621. (mips_expand_builtin_1): Merge into...
  13622. (mips_expand_builtin): ...here and update after above changes.
  13623. 2008-06-12 Paul Brook <paul@codesourcery.com>
  13624. * longlong.h (__arm__): Define count_leading_zeros.
  13625. * config/arm/lib1funcs.asm (xxh, xxl, yyh, yyl): Define.
  13626. (clzsi2, clzdi2): New functions.
  13627. * config/arm/bpabi-v6m.S (xxh, xxl, yyh, yyl): Remove.
  13628. * config/arm/bpabi.S (xxh, xxl, yyh, yyl): Remove.
  13629. * config/arm/t-strongarm-elf (LIB1ASMFUNCS): Ditto.
  13630. * config/arm/t-vxworks (LIB1ASMFUNCS): Ditto.
  13631. * config/arm/t-pe (LIB1ASMFUNCS): Ditto.
  13632. * config/arm/t-arm-elf (LIB1ASMFUNCS): Ditto.
  13633. * config/arm/t-arm-coff (LIB1ASMFUNCS): Ditto.
  13634. * config/arm/t-linux (LIB1ASMFUNCS): Ditto.
  13635. * config/arm/t-symbian (LIB1ASMFUNCS): Ditto.
  13636. * config/arm/t-wince-pe (LIB1ASMFUNCS): Ditto.
  13637. 2008-06-12 Kazu Hirata <kazu@codesourcery.com>
  13638. * config/m68k/m68k.c (m68k_tune_flags): New.
  13639. (override_options): Compute m68k_tune_flags.
  13640. (MULL_COST, MULW_COST): Update for various variants of CFV2.
  13641. * config/m68k/m68k.h (TUNE_MAC, TUNE_EMAC): New.
  13642. 2008-06-12 Jakub Jelinek <jakub@redhat.com>
  13643. PR middle-end/36506
  13644. * omp-low.c (expand_omp_sections): Initialize l2 to avoid bogus warning.
  13645. 2008-06-12 Eric Botcazou <ebotcazou@adacore.com>
  13646. * tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with
  13647. TREE_THIS_VOLATILE on INDIRECT_REF nodes.
  13648. 2008-06-12 Eric Botcazou <ebotcazou@adacore.com>
  13649. * expr.c (store_field): Do a block copy from BLKmode to BLKmode-like.
  13650. (get_inner_reference): Use BLKmode for byte-aligned BLKmode bitfields.
  13651. 2008-06-12 Jakub Jelinek <jakub@redhat.com>
  13652. PR middle-end/36506
  13653. * omp-low.c (expand_omp_sections): Handle #pragma omp sections with
  13654. reductions.
  13655. 2008-06-12 Richard Guenther <rguenther@suse.de>
  13656. PR tree-optimization/36345
  13657. * tree-flow.h (struct ptr_info_def): Align escape_mask,
  13658. add memory_tag_needed flag.
  13659. (may_alias_p): Declare.
  13660. * tree-ssa-alias.c (may_alias_p): Export.
  13661. (set_initial_properties): Use memory_tag_needed flag.
  13662. (update_reference_counts): Likewise.
  13663. (reset_alias_info): Reset memory_tag_needed flag.
  13664. (create_name_tags): Check memory_tag_needed flag.
  13665. (dump_points_to_info_for): Dump it.
  13666. * tree-ssa-structalias.c (struct variable_info): Remove
  13667. directly_dereferenced flag.
  13668. (new_var_info): Do not initialize it.
  13669. (process_constraint_1): Do not set it.
  13670. (update_alias_info): Set is_dereferenced flag.
  13671. (set_uids_in_ptset): Use may_alias_p.
  13672. (set_used_smts): Check memory_tag_needed flag.
  13673. (find_what_p_points_to): Likewise. Pass is_dereferenced flag.
  13674. * tree-ssa-alias.c (verify_flow_sensitive_alias_info): Check
  13675. memory_tag_needed flag.
  13676. * tree-ssa-alias-warnings.c (dsa_named_for): Try to recover
  13677. from broken design.
  13678. 2008-06-12 Kai Tietz <kai.tietz@onevision.com>
  13679. * config/i386/i386.c (ix86_compute_frame_layout): Disable
  13680. red zone for w64 abi.
  13681. (ix86_expand_prologue): Likewise.
  13682. (ix86_force_to_memory): Likewise.
  13683. (ix86_free_from_memory): Likewise.
  13684. 2008-06-11 Edmar Wienskoski <edmar@freescale.com>
  13685. PR target/36425
  13686. * config/rs6000/rs6000.c (rs6000_override_options): Set
  13687. rs6000_isel conditionally to the absence of comand line override.
  13688. * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
  13689. Remove duplicate rs6000_isel setting.
  13690. * config/rs6000/eabispe.h: Ditto.
  13691. 2008-06-11 Richard Guenther <rguenther@suse.de>
  13692. * alias.c (get_alias_set): Use the element alias-set for arrays.
  13693. (record_component_aliases): For arrays and vectors do nothing.
  13694. * c-common.c (strict_aliasing_warning): Handle the cases
  13695. of alias set zero explicitly.
  13696. * Makefile.in (dfp.o-warn): Add -Wno-error.
  13697. 2008-06-11 Joseph Myers <joseph@codesourcery.com>
  13698. * config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64
  13699. tune_32 tune_64.
  13700. (i[34567]86-*-* | x86_64-*-*): Add arch_32 arch_64 cpu_32 cpu_64
  13701. tune_32 tune_64 to supported_defaults. Allow values not
  13702. supporting 64-bit mode for arch_32, cpu_32 and tune_32 for
  13703. x86_64. Do not override cpu_32 or cpu_64 values from target name.
  13704. (i[34567]86-*-linux*, i[34567]86-*-solaris2.1[0-9]*): Only default
  13705. with_cpu_64 to generic for 64-bit-supporting configurations, not
  13706. with_cpu. Remove FIXMEs.
  13707. * doc/install.texi (--with-cpu-32, --with-cpu-64, --with-arch-32,
  13708. --with-arch-64, --with-tune-32, --with-tune-64): Document.
  13709. * config/i386/i386.h (OPT_ARCH32, OPT_ARCH64): Define.
  13710. (OPTION_DEFAULT_SPECS): Add tune_32, tune_64, cpu_32, cpu_64,
  13711. arch_32 and arch_64.
  13712. 2008-06-11 Eric Botcazou <ebotcazou@adacore.com>
  13713. Olivier Hainque <hainque@adacore.com>
  13714. * builtins.c (get_memory_rtx): Accept byte-addressable bitfields.
  13715. Use DECL_SIZE_UNIT to retrieve the size of the field.
  13716. 2008-06-11 Joseph Myers <joseph@codesourcery.com>
  13717. * config/arm/arm.c (arm_init_neon_builtins): Move initialization
  13718. with function calls after declarations. Lay out
  13719. neon_float_type_node before further use.
  13720. 2008-06-11 Richard Guenther <rguenther@suse.de>
  13721. * tree-flow.h (may_point_to_global_var): Declare.
  13722. * tree-ssa-alias.c (may_point_to_global_var): New function.
  13723. * tree-ssa-sink.c (is_hidden_global_store): Use it.
  13724. 2008-06-10 Kazu Hirata <kazu@codesourcery.com>
  13725. * configure.ac: Teach that fido supports .debug_line.
  13726. * configure: Regenerate.
  13727. 2008-06-10 Tom Tromey <tromey@redhat.com>
  13728. * c-lex.c (fe_file_change): Pass SOURCE_LINE to start_source_file
  13729. debug hook.
  13730. 2008-06-10 Joseph Myers <joseph@codesourcery.com>
  13731. * dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined.
  13732. (encode_decimal64, decode_decimal64, encode_decimal128,
  13733. decode_decimal128): Reverse order of 32-bit parts of value if host
  13734. and target endianness differ.
  13735. 2008-06-10 Vinodha Ramasamy <vinodha@google.com>
  13736. * value_prob.c (tree_divmod_fixed_value_transform): Use gcov_type.
  13737. Avoid division by 0.
  13738. (tree_mod_pow2_value_transform): Likewise.
  13739. (tree_ic_transform): Likewise.
  13740. (tree_stringops_transform): Likewise.
  13741. (tree_mod_subtract_transform): Likewise.
  13742. * tree-inline-c (copy_bb): Corrected int type to gcov_type.
  13743. (copy_edges_for_bb): Likewise.
  13744. (initialize_cfun): Likewise.
  13745. 2008-06-10 Uros Bizjak <ubizjak@gmail.com>
  13746. * config/i386/i386.md (*btdi_rex64): Change operand 1 predicate to
  13747. nonmemory_operand. Add "N" operand constraint.
  13748. (*btsi): Ditto.
  13749. (*jcc_btdi_mask_rex64): New instruction and split pattern.
  13750. (*jcc_btsi_mask): Ditto.
  13751. (*jcc_btsi_mask_1): Ditto.
  13752. 2008-06-10 Joseph Myers <joseph@codesourcery.com>
  13753. * config/rs6000/rs6000.c (build_opaque_vector_type): Set
  13754. TYPE_CANONICAL for copied element type.
  13755. 2008-06-10 Uros Bizjak <ubizjak@gmail.com>
  13756. PR target/36473
  13757. * config/i386/i386.c (ix86_tune_features) [TUNE_USE_BT]:
  13758. Add m_CORE2 and m_GENERIC.
  13759. * config/i386/predicates.md (bt_comparison_operator): New predicate.
  13760. * config/i386/i386.md (*btdi_rex64): New instruction pattern.
  13761. (*btsi): Ditto.
  13762. (*jcc_btdi_rex64): New instruction and split pattern.
  13763. (*jcc_btsi): Ditto.
  13764. (*jcc_btsi_1): Ditto.
  13765. (*btsq): Fix Intel asm dialect operand order.
  13766. (*btrq): Ditto.
  13767. (*btcq): Ditto.
  13768. 2008-06-09 Andy Hutchinson <hutchinsonandy@aim.com>
  13769. PR middle-end/36447
  13770. * simplify-rtx.c (simplify_subreg): Add check for shift count
  13771. greater than size.
  13772. 2008-06-09 Richard Sandiford <rdsandiford@googlemail.com>
  13773. * doc/md.texi: Synchronize with later constraints.md change.
  13774. * longlong.h (umul_ppmm): Replace the MIPS asm implementation
  13775. with a C implementation.
  13776. * config/mips/mips.c (mips_legitimize_move): Remove MFHI and
  13777. MFLO handling.
  13778. (mips_subword): Assume TImode for CONST_INTs if TARGET_64BIT.
  13779. (mips_split_doubleword_move): Use special MTHI and MFHI instructions
  13780. when moving to and from MD_REGNUM.
  13781. (mips_output_move): Don't handle moves from GPRs to HI_REGNUM.
  13782. Handle moves from LO_REGNUM to GPRs using MFLO, MACC or DMACC.
  13783. Handle byte and halfword moves.
  13784. (mips_hard_regno_mode_ok_p): Handle MD_REGS and DSP_ACC_REGS
  13785. separately.
  13786. * config/mips/constraints.md (h): Turn into NO_REGS.
  13787. (l, x): Update documentation.
  13788. * config/mips/mips.md (UNSPEC_MFHILO): Delete.
  13789. (UNSPEC_MFHI, UNSPEC_MTHI, UNSPEC_SET_HILO): New.
  13790. (UNSPEC_TLS_LDM, UNSPEC_TLS_GET_TP): Renumber.
  13791. (HILO): New mode iterator.
  13792. (MOVE128): Add TI.
  13793. (any_div): New code iterator.
  13794. (u): Extend code attribute to div and udiv.
  13795. (*add<mode>3_mips16, *movdi_64bit_mips16, *movsi_mips16): Use
  13796. d_operand in the splitters. Remove redundant CONST_INT checks.
  13797. (mulsi3_mult3, mul<mode>3_internal, mul<mode>3_r4000, *mul_acc_si)
  13798. (*macc, *msac, *msac_using_macc, *macc2, *msac2, *mul_sub_si)
  13799. (*muls): Remove "=h" clobbers. Adjust peephole2s and define_splits
  13800. accordingly, using normal moves instead of unspecs to move LO into
  13801. a GPR. Use d_operand and lo_operand instead of *_REG_P checks.
  13802. (<u>mulsidi3): Handle expansion in C code.
  13803. (<u>mulsidi3_32bit_internal): Rename to...
  13804. (<u>mulsidi3_32bit): ...this.
  13805. (<u>mulsidi3_32bit_r4000): Fix insn separator.
  13806. (*<u>mulsidi3_64bit): Rename to...
  13807. (<u>mulsidi3_64bit): ...this. Combine DImode "=h" and "=l" clobbers
  13808. into a TImode "=x" clobber. In the split, use an UNSPEC_SET_HILO
  13809. to set LO and HI to the multiplication result. Use a normal move
  13810. for MFLO and an unspec for MFHI.
  13811. (*<u>mulsidi3_64bit_parts): Replace with...
  13812. (<u>mulsidi3_64bit_hilo): ...this new instruction.
  13813. (<su>mulsi3_highpart): Extend to TARGET_FIX_R4000.
  13814. (<su>mulsi3_highpart_internal): Turn into a define_insn_and_split
  13815. and extend it to TARGET_FIX_R4000. Store the destination in a GPR
  13816. instead of HI. Split the instruction into a separate multiplication
  13817. and MFHI if !TARGET_FIX_R4000.
  13818. (<su>muldi3_highpart): Likewise.
  13819. (<su>mulsi3_highpart_mulhi_internal): Remove the first alternative
  13820. and the "=h" clobber.
  13821. (*<su>mulsi3_highpart_neg_mulhi_internal): Likewise.
  13822. (<u>mulditi3): New expander.
  13823. (<u>mulditi3_internal, <u>mulditi3_r4000): New patterns.
  13824. (madsi): Remove "=h" clobber.
  13825. (divmod<mode>4, udivmod<mode>4): Turn into define_insn_and_splits.
  13826. Force the modulus result to be a GPR and split the instruction into
  13827. a division followed by an MFHI after reload.
  13828. (<u>divmod<GPR:mode>4_hilo_<HILO:mode>): New instruction.
  13829. (*lea_high64): Use d_operand in the define_peephole2. Likewise
  13830. the MIPS16 HIGH define_split.
  13831. (*movdi_32bit, *movdi_gp32_fp64, *movdi_32bit_mips16): Change type
  13832. of acc<->gpr moves to "multi".
  13833. (*movdi_64bit): Replace the single "x" alternative with
  13834. alternatives for moving into and out of "a".
  13835. (*movhi_internal, *movqi_internal): Likewise. Use mips_output_move.
  13836. (*movsi_internal): Extend the "d<-A" alternative to "d<-a".
  13837. (*movdi_64bit_mips16, *movsi_mips16): Add d<-a alternatives.
  13838. Use d_operand in the splitters. Remove redundant CONST_INT checks.
  13839. (*movhi_mips16, *movqi_mips16): Likewise. Use mips_output_move.
  13840. (movti): New expander.
  13841. (*movti, *movti_mips16): New insns.
  13842. (mfhilo_<mode>, *mfhilo_<mode>, *mfhilo_<mode>_macc): Delete.
  13843. (mfhi<GPR:mode>_<HILO:mode>): New pattern.
  13844. (mthi<GPR:mode>_<HILO:mode>): Likewise.
  13845. * config/mips/predicates.md (fpr_operand): Delete.
  13846. (d_operand): New predicate.
  13847. 2008-06-09 Michael Meissner <michael.meissner@amd.com>
  13848. * config.gcc (i[34567]86-*-*): Put test in quotes to prevent
  13849. failure on some Bourne shells.
  13850. (x86_64-*-*): Ditto.
  13851. 2008-06-09 Kai Tietz <kai.tietz@onevision.com>
  13852. * config/i386/cygming.h (TARGET_SUBTARGET64_DEFAULT): New.
  13853. 2008-06-09 Eric Botcazou <ebotcazou@libertysurf.fr>
  13854. * doc/install.texi (*-*-solaris2*): Remove obsolete contents.
  13855. (sparc-sun-solaris2*): Likewise.
  13856. 2008-06-09 Arnaud Charlet <charlet@adacore.com
  13857. * doc/install.texi: Update requirements to build the Ada compiler.
  13858. 2008-06-08 Steven Bosscher <stevenb.gcc@gmail.com>
  13859. * df-scan.c (struct df_scan_problem_data): Remove the
  13860. mw_link_pool alloc pool.
  13861. (df_scan_free_internal): Don't free it.
  13862. (df_scan_alloc): Don't allocate it.
  13863. * df.h (struct df_link): Update comment.
  13864. 2008-06-08 Nathan Sidwell <nathan@codesourcery.com>
  13865. * except.h: Correct checks for when SJLJ exceptions must be used.
  13866. 2008-06-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  13867. * doc/invoke.texi (Wenum-compare): Mention that it is enabled by
  13868. default.
  13869. 2008-06-08 Joseph Myers <joseph@codesourcery.com>
  13870. PR tree-optimization/36218
  13871. * configure.ac: Use LDFLAGS="${LDFLAGS_FOR_BUILD}" when running
  13872. configure for the build system.
  13873. (BUILD_LDFLAGS): Define.
  13874. * configure: Regenerate.
  13875. * Makefile.in (BUILD_LDFLAGS): Define to @BUILD_LDFLAGS@.
  13876. 2008-07-08 Anatoly Sokolov <aesok@post.ru>
  13877. PR target/36424
  13878. * config/avr/avr.h (HARD_REGNO_RENAME_OK): Define.
  13879. * config/avr/avr.c (avr_hard_regno_rename_ok): New function.
  13880. * config/avr/avr-protos.h (avr_hard_regno_rename_ok): New prototype.
  13881. 2008-06-07 Danny Smith <dannysmith@users.sourceforge.net>
  13882. * config/i386/cygming.h (MAYBE_UWIN_CPP_BUILTINS): Remove.
  13883. 2008-06-07 Joseph Myers <joseph@codesourcery.com>
  13884. * config.gcc (Obsolete configurations): Remove list of
  13885. configurations.
  13886. (Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
  13887. *-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
  13888. targets matched by those patterns.
  13889. (strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
  13890. m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
  13891. alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
  13892. arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
  13893. hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
  13894. i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
  13895. i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
  13896. i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
  13897. i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
  13898. mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
  13899. powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
  13900. powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
  13901. strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
  13902. vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
  13903. i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
  13904. Make code for Solaris 7 and greater unconditional for Solaris.
  13905. (ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
  13906. Remove --with-* handling.
  13907. * config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
  13908. (LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
  13909. ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
  13910. LINK_OS_WINDISS_SPEC): Remove.
  13911. * config/rs6000/sysv4.opt (mwindiss): Remove.
  13912. * configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
  13913. * configure: Regenerate.
  13914. * doc/cpp.texi: Don't mention BeOS.
  13915. * doc/extend.texi (interrupt): Don't mention MS1.
  13916. * doc/install.texi (i386-@var{any}-sysv, m68k-bull-sysv,
  13917. m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
  13918. alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
  13919. i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
  13920. powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
  13921. Remove.
  13922. * doc/invoke.texi (MT Options): Remove.
  13923. (-mwindiss): Remove.
  13924. (CRIS Options): Remove cris-axis-aout references.
  13925. (HPPA Options): Don't mention hppa1.1-*-pro.
  13926. * doc/md.texi (MorphoTech family): Remove.
  13927. * libgcc2.c: Don't handle UWIN.
  13928. * config/alpha/t-unicosmk: Remove.
  13929. * config/alpha/unicosmk.h: Remove.
  13930. * config/arm/kaos-arm.h: Remove.
  13931. * config/arm/kaos-strongarm.h: Remove.
  13932. * config/arm/strongarm-coff.h: Remove.
  13933. * config/arm/strongarm-elf.h: Remove.
  13934. * config/arm/strongarm-pe.h: Remove.
  13935. * config/arm/t-strongarm-pe: Remove.
  13936. * config/arm/t-xscale-coff: Remove.
  13937. * config/arm/t-xscale-elf: Remove.
  13938. * config/arm/xscale-coff.h: Remove.
  13939. * config/arm/xscale-elf.h: Remove.
  13940. * config/chorus.h: Remove.
  13941. * config/cris/aout.h: Remove.
  13942. * config/cris/aout.opt: Remove.
  13943. * config/cris/t-aout: Remove.
  13944. * config/i386/beos-elf.h: Remove.
  13945. * config/i386/kaos-i386.h: Remove.
  13946. * config/i386/ptx4-i.h: Remove.
  13947. * config/i386/sco5.h: Remove.
  13948. * config/i386/sco5.opt: Remove.
  13949. * config/i386/sysv4-cpp.h: Remove.
  13950. * config/i386/sysv5.h: Remove.
  13951. * config/i386/t-beos: Remove.
  13952. * config/i386/t-sco5: Remove.
  13953. * config/i386/t-uwin: Remove.
  13954. * config/i386/uwin.asm: Remove.
  13955. * config/i386/uwin.h: Remove.
  13956. * config/kaos.h: Remove.
  13957. * config/mips/windiss.h: Remove.
  13958. * config/mt: Remove directory.
  13959. * config/pa/pa-osf.h: Remove.
  13960. * config/pa/pa-pro-end.h: Remove.
  13961. * config/pa/t-pro: Remove.
  13962. * config/ptx4.h: Remove.
  13963. * config/rs6000/beos.h: Remove.
  13964. * config/rs6000/kaos-ppc.h: Remove.
  13965. * config/rs6000/t-beos: Remove.
  13966. * config/rs6000/windiss.h: Remove.
  13967. * config/sh/kaos-sh.h: Remove.
  13968. * config/sol2-6.h: Remove.
  13969. * config/sparc/sol26-sld.h: Remove.
  13970. * config/sparc/sysv4-only.h: Remove.
  13971. * config/vax/bsd.h: Remove.
  13972. * config/vax/t-memfuncs: Remove.
  13973. * config/vax/ultrix.h: Remove.
  13974. * config/vax/vaxv.h: Remove.
  13975. * config/windiss.h: Remove.
  13976. 2008-06-06 Uros Bizjak <ubizjak@gmail.com>
  13977. PR rtl-optimization/36438
  13978. * cse.c (fold_rtx) [ASHIFT, LSHIFTRT, ASHIFTRT]: Break out early
  13979. for vector shifts with constant scalar shift operands.
  13980. 2008-06-06 Sandip Matte <sandip@rmicorp.com>
  13981. * doc/invoke.texi: Document -march=xlr.
  13982. * config/mips/xlr.md: New file.
  13983. * config/mips/mips.md: Include it.
  13984. (cpu): Add "xlr".
  13985. * config/mips/mips.h (PROCESSOR_XLR): New processor_type.
  13986. * config/mips/mips.c (mips_cpu_info_table): Add an XLR entry.
  13987. (mips_rtx_cost_data): Likewise.
  13988. 2008-06-06 Nathan Froyd <froydnj@codesourcery.com>
  13989. * config/rs6000/rs6000.c (rs6000_mode_dependent_address): Remove
  13990. PRE_INC and PRE_DEC cases.
  13991. 2008-06-06 Jakub Jelinek <jakub@redhat.com>
  13992. PR rtl-optimization/36419
  13993. * except.c (expand_resx_expr): Call do_pending_stack_adjust () before
  13994. the emitting jump insn.
  13995. PR target/36362
  13996. * gimplify.c (gimplify_expr) <case TRUTH_NOT_EXPR>: If *expr_p type
  13997. is not bool, boolify the whole *expr_p and convert to the desired type.
  13998. 2008-06-06 Jakub Jelinek <jakub@redhat.com>
  13999. * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805.
  14000. * langhooks.h (struct lang_hooks_for_decls): Add omp_finish_clause.
  14001. Add omp_private_outer_ref hook, add another argument to
  14002. omp_clause_default_ctor hook.
  14003. * langhooks-def.h (LANG_HOOKS_OMP_FINISH_CLAUSE): Define.
  14004. (LANG_HOOKS_OMP_PRIVATE_OUTER_REF): Define.
  14005. (LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR): Change to
  14006. hook_tree_tree_tree_tree_null.
  14007. (LANG_HOOKS_DECLS): Add LANG_HOOKS_OMP_FINISH_CLAUSE and
  14008. LANG_HOOKS_OMP_PRIVATE_OUTER_REF.
  14009. * hooks.c (hook_tree_tree_tree_tree_null): New function.
  14010. * hooks.h (hook_tree_tree_tree_tree_null): New prototype.
  14011. * tree.def (OMP_TASK): New tree code.
  14012. * tree.h (OMP_TASK_COPYFN, OMP_TASK_ARG_SIZE, OMP_TASK_ARG_ALIGN,
  14013. OMP_CLAUSE_PRIVATE_OUTER_REF, OMP_CLAUSE_LASTPRIVATE_STMT,
  14014. OMP_CLAUSE_COLLAPSE_ITERVAR, OMP_CLAUSE_COLLAPSE_COUNT,
  14015. OMP_TASKREG_CHECK, OMP_TASKREG_BODY, OMP_TASKREG_CLAUSES,
  14016. OMP_TASKREG_FN, OMP_TASKREG_DATA_ARG, OMP_TASK_BODY,
  14017. OMP_TASK_CLAUSES, OMP_TASK_FN, OMP_TASK_DATA_ARG,
  14018. OMP_CLAUSE_COLLAPSE_EXPR): Define.
  14019. (enum omp_clause_default_kind): Add OMP_CLAUSE_DEFAULT_FIRSTPRIVATE.
  14020. (OMP_DIRECTIVE_P): Add OMP_TASK.
  14021. (OMP_CLAUSE_COLLAPSE, OMP_CLAUSE_UNTIED): New clause codes.
  14022. (OMP_CLAUSE_SCHEDULE_AUTO): New schedule kind.
  14023. * tree.c (omp_clause_code_name): Add OMP_CLAUSE_COLLAPSE
  14024. and OMP_CLAUSE_UNTIED entries.
  14025. (omp_clause_num_ops): Likewise. Increase OMP_CLAUSE_LASTPRIVATE
  14026. num_ops to 2.
  14027. (walk_tree_1): Handle OMP_CLAUSE_COLLAPSE and OMP_CLAUSE_UNTIED.
  14028. Walk OMP_CLAUSE_LASTPRIVATE_STMT.
  14029. * tree-pretty-print.c (dump_omp_clause): Handle
  14030. OMP_CLAUSE_SCHEDULE_AUTO, OMP_CLAUSE_UNTIED, OMP_CLAUSE_COLLAPSE,
  14031. OMP_CLAUSE_DEFAULT_FIRSTPRIVATE.
  14032. (dump_generic_node): Handle OMP_TASK and collapsed OMP_FOR loops.
  14033. * c-omp.c (c_finish_omp_for): Allow pointer iterators. Remove
  14034. warning about unsigned iterators. Change decl/init/cond/incr
  14035. arguments to TREE_VECs, check arguments for all collapsed loops.
  14036. (c_finish_omp_taskwait): New function.
  14037. (c_split_parallel_clauses): Put OMP_CLAUSE_COLLAPSE clause to
  14038. ws_clauses.
  14039. * c-parser.c (c_parser_omp_for_loop): Parse collapsed loops. Call
  14040. default_function_array_conversion on init. Add par_clauses argument.
  14041. If decl is present in parallel's lastprivate clause, change it to
  14042. shared and add lastprivate clause for decl to OMP_FOR_CLAUSES.
  14043. Add clauses argument, on success set OMP_FOR_CLAUSES to it. Look up
  14044. collapse count in clauses.
  14045. (c_parser_omp_for, c_parser_omp_parallel): Adjust
  14046. c_parser_omp_for_loop callers.
  14047. (OMP_FOR_CLAUSE_MASK): Add 1 << PRAGMA_OMP_CLAUSE_COLLAPSE.
  14048. (c_parser_pragma): Handle PRAGMA_OMP_TASKWAIT.
  14049. (c_parser_omp_clause_name): Handle collapse and untied clauses.
  14050. (c_parser_omp_clause_collapse, c_parser_omp_clause_untied): New
  14051. functions.
  14052. (c_parser_omp_clause_schedule): Handle schedule(auto).
  14053. Include correct location in the error message.
  14054. (c_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_COLLAPSE
  14055. and PRAGMA_OMP_CLAUSE_UNTIED.
  14056. (OMP_TASK_CLAUSE_MASK): Define.
  14057. (c_parser_omp_task, c_parser_omp_taskwait): New functions.
  14058. (c_parser_omp_construct): Handle PRAGMA_OMP_TASK.
  14059. * tree-nested.c (convert_nonlocal_omp_clauses,
  14060. convert_local_omp_clauses): Handle OMP_CLAUSE_LASTPRIVATE_STMT,
  14061. OMP_CLAUSE_REDUCTION_INIT, OMP_CLAUSE_REDUCTION_MERGE,
  14062. OMP_CLAUSE_COLLAPSE and OMP_CLAUSE_UNTIED.
  14063. Don't handle TREE_STATIC or DECL_EXTERNAL VAR_DECLs in
  14064. OMP_CLAUSE_DECL.
  14065. (conver_nonlocal_reference, convert_local_reference,
  14066. convert_call_expr): Handle OMP_TASK the same as OMP_PARALLEL. Use
  14067. OMP_TASKREG_* macros rather than OMP_PARALLEL_*.
  14068. (walk_omp_for): Adjust for OMP_FOR_{INIT,COND,INCR} changes.
  14069. * tree-gimple.c (is_gimple_stmt): Handle OMP_TASK.
  14070. * c-tree.h (c_begin_omp_task, c_finish_omp_task): New prototypes.
  14071. * c-pragma.h (PRAGMA_OMP_TASK, PRAGMA_OMP_TASKWAIT): New.
  14072. (PRAGMA_OMP_CLAUSE_COLLAPSE, PRAGMA_OMP_CLAUSE_UNTIED): New.
  14073. * c-typeck.c (c_begin_omp_task, c_finish_omp_task): New functions.
  14074. (c_finish_omp_clauses): Handle OMP_CLAUSE_COLLAPSE and
  14075. OMP_CLAUSE_UNTIED.
  14076. * c-pragma.c (init_pragma): Init omp task and omp taskwait pragmas.
  14077. * c-common.h (c_finish_omp_taskwait): New prototype.
  14078. * gimple-low.c (lower_stmt): Handle OMP_TASK.
  14079. * tree-parloops.c (create_parallel_loop): Create 1 entry
  14080. vectors for OMP_FOR_{INIT,COND,INCR}.
  14081. * tree-cfg.c (remove_useless_stmts_1): Handle OMP_* containers.
  14082. (make_edges): Handle OMP_TASK.
  14083. * tree-ssa-operands.c (get_expr_operands): Handle collapsed OMP_FOR
  14084. loops, adjust for OMP_FOR_{INIT,COND,INCR} changes.
  14085. * tree-inline.c (estimate_num_insns_1): Handle OMP_TASK.
  14086. * builtin-types.def (BT_PTR_ULONGLONG, BT_PTR_FN_VOID_PTR_PTR,
  14087. BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR,
  14088. BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR,
  14089. BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
  14090. BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT): New.
  14091. * omp-builtins.def (BUILT_IN_GOMP_TASK, BUILT_IN_GOMP_TASKWAIT,
  14092. BUILT_IN_GOMP_LOOP_ULL_STATIC_START,
  14093. BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_START,
  14094. BUILT_IN_GOMP_LOOP_ULL_GUIDED_START,
  14095. BUILT_IN_GOMP_LOOP_ULL_RUNTIME_START,
  14096. BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_START,
  14097. BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_START,
  14098. BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_START,
  14099. BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_START,
  14100. BUILT_IN_GOMP_LOOP_ULL_STATIC_NEXT,
  14101. BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_NEXT,
  14102. BUILT_IN_GOMP_LOOP_ULL_GUIDED_NEXT,
  14103. BUILT_IN_GOMP_LOOP_ULL_RUNTIME_NEXT,
  14104. BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_NEXT,
  14105. BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_NEXT,
  14106. BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_NEXT,
  14107. BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_NEXT): New builtins.
  14108. * gimplify.c (gimplify_omp_for): Allow pointer type for decl,
  14109. handle POINTER_PLUS_EXPR. If loop counter has been replaced and
  14110. original iterator is present in lastprivate clause or if
  14111. collapse > 1, set OMP_CLAUSE_LASTPRIVATE_STMT. Handle collapsed
  14112. OMP_FOR loops, adjust for OMP_FOR_{INIT,COND,INCR} changes.
  14113. (gimplify_expr): Handle OMP_SECTIONS_SWITCH and OMP_TASK.
  14114. (enum gimplify_omp_var_data): Add GOVD_PRIVATE_OUTER_REF.
  14115. (omp_notice_variable): Set GOVD_PRIVATE_OUTER_REF if needed,
  14116. if it is set, lookup var in outer contexts too. Handle
  14117. OMP_CLAUSE_DEFAULT_FIRSTPRIVATE. Handle vars that are supposed
  14118. to be implicitly determined firstprivate for task regions.
  14119. (gimplify_scan_omp_clauses): Set GOVD_PRIVATE_OUTER_REF if needed,
  14120. if it is set, lookup var in outer contexts too. Set
  14121. OMP_CLAUSE_PRIVATE_OUTER_REF if GOVD_PRIVATE_OUTER_REF is set.
  14122. Handle OMP_CLAUSE_LASTPRIVATE_STMT, OMP_CLAUSE_COLLAPSE and
  14123. OMP_CLAUSE_UNTIED. Take region_type as last argument
  14124. instead of in_parallel and in_combined_parallel.
  14125. (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
  14126. Adjust callers.
  14127. (gimplify_adjust_omp_clauses_1): Set OMP_CLAUSE_PRIVATE_OUTER_REF if
  14128. GOVD_PRIVATE_OUTER_REF is set. Call omp_finish_clause langhook.
  14129. (new_omp_context): Set default_kind to
  14130. OMP_CLAUSE_DEFAULT_UNSPECIFIED for OMP_TASK regions.
  14131. (omp_region_type): New enum.
  14132. (struct gimplify_omp_ctx): Remove is_parallel and is_combined_parallel
  14133. fields, add region_type.
  14134. (new_omp_context): Take region_type as argument instead of is_parallel
  14135. and is_combined_parallel.
  14136. (gimple_add_tmp_var, omp_firstprivatize_variable, omp_notice_variable,
  14137. omp_is_private, omp_check_private): Adjust ctx->is_parallel and
  14138. ctx->is_combined_parallel checks.
  14139. (gimplify_omp_task): New function.
  14140. (gimplify_adjust_omp_clauses): Handle OMP_CLAUSE_COLLAPSE and
  14141. OMP_CLAUSE_UNTIED.
  14142. * omp-low.c (extract_omp_for_data): Use schedule(static)
  14143. for schedule(auto). Handle pointer and unsigned iterators.
  14144. Compute fd->iter_type. Handle POINTER_PLUS_EXPR increments.
  14145. Add loops argument. Extract data for collapsed OMP_FOR loops.
  14146. (expand_parallel_call): Assert sched_kind isn't auto,
  14147. map runtime schedule to index 3.
  14148. (struct omp_for_data_loop): New type.
  14149. (struct omp_for_data): Remove v, n1, n2, step, cond_code fields.
  14150. Add loop, loops, collapse and iter_type fields.
  14151. (workshare_safe_to_combine_p): Disallow combined for if
  14152. iter_type is unsigned long long. Don't combine collapse > 1 loops
  14153. unless all bounds and steps are constant. Adjust extract_omp_for_data
  14154. caller.
  14155. (expand_omp_for_generic): Handle pointer, unsigned and long long
  14156. iterators. Handle collapsed OMP_FOR loops. Adjust
  14157. for struct omp_for_data changes. If libgomp function doesn't return
  14158. boolean_type_node, add comparison of the return value with 0.
  14159. (expand_omp_for_static_nochunk, expand_omp_for_static_chunk): Handle
  14160. pointer, unsigned and long long iterators. Adjust for struct
  14161. omp_for_data changes.
  14162. (expand_omp_for): Assert sched_kind isn't auto, map runtime schedule
  14163. to index 3. Use GOMP_loop_ull*{start,next} if iter_type is
  14164. unsigned long long. Allocate loops array, pass it to
  14165. extract_omp_for_data. For collapse > 1 loops use always
  14166. expand_omp_for_generic.
  14167. (omp_context): Add sfield_map and srecord_type fields.
  14168. (is_task_ctx, lookup_sfield): New functions.
  14169. (use_pointer_for_field): Use is_task_ctx helper. Change first
  14170. argument's type from const_tree to tree. Clarify comment.
  14171. In OMP_TASK disallow copy-in/out sharing.
  14172. (build_sender_ref): Call lookup_sfield instead of lookup_field.
  14173. (install_var_field): Add mask argument. Populate both record_type
  14174. and srecord_type if needed.
  14175. (delete_omp_context): Destroy sfield_map, clear DECL_ABSTRACT_ORIGIN
  14176. in srecord_type.
  14177. (fixup_child_record_type): Also remap FIELD_DECL's DECL_SIZE{,_UNIT}
  14178. and DECL_FIELD_OFFSET.
  14179. (scan_sharing_clauses): Adjust install_var_field callers. For
  14180. firstprivate clauses on explicit tasks allocate the var by value in
  14181. record_type unconditionally, rather than by reference.
  14182. Handle OMP_CLAUSE_PRIVATE_OUTER_REF. Scan OMP_CLAUSE_LASTPRIVATE_STMT.
  14183. Use is_taskreg_ctx instead of is_parallel_ctx.
  14184. Handle OMP_CLAUSE_COLLAPSE and OMP_CLAUSE_UNTIED.
  14185. (create_omp_child_function_name): Add task_copy argument, use
  14186. *_omp_cpyfn* names if it is true.
  14187. (create_omp_child_function): Add task_copy argument, if true create
  14188. *_omp_cpyfn* helper function.
  14189. (scan_omp_parallel): Adjust create_omp_child_function callers.
  14190. Rename parallel_nesting_level to taskreg_nesting_level.
  14191. (scan_omp_task): New function.
  14192. (lower_rec_input_clauses): Don't run constructors for firstprivate
  14193. explicit task vars which are initialized by *_omp_cpyfn*.
  14194. Pass outer var ref to omp_clause_default_ctor hook if
  14195. OMP_CLAUSE_PRIVATE_OUTER_REF or OMP_CLAUSE_LASTPRIVATE.
  14196. Replace OMP_CLAUSE_REDUCTION_PLACEHOLDER decls in
  14197. OMP_CLAUSE_REDUCTION_INIT.
  14198. (lower_send_clauses): Clear DECL_ABSTRACT_ORIGIN if in task to
  14199. avoid duplicate setting of fields. Handle
  14200. OMP_CLAUSE_PRIVATE_OUTER_REF.
  14201. (lower_send_shared_vars): Use srecord_type if non-NULL. Don't
  14202. copy-out if TREE_READONLY, only copy-in.
  14203. (expand_task_copyfn): New function.
  14204. (expand_task_call): New function.
  14205. (struct omp_taskcopy_context): New type.
  14206. (task_copyfn_copy_decl, task_copyfn_remap_type, create_task_copyfn):
  14207. New functions.
  14208. (lower_omp_parallel): Rename to...
  14209. (lower_omp_taskreg): ... this. Use OMP_TASKREG_* macros where needed.
  14210. Call create_task_copyfn if srecord_type is needed. Adjust
  14211. sender_decl type.
  14212. (task_shared_vars): New variable.
  14213. (check_omp_nesting_restrictions): Warn if work-sharing,
  14214. barrier, master or ordered region is closely nested inside OMP_TASK.
  14215. Add warnings for barrier if closely nested inside of work-sharing,
  14216. ordered, or master region.
  14217. (scan_omp_1): Call check_omp_nesting_restrictions even for
  14218. GOMP_barrier calls. Rename parallel_nesting_level to
  14219. taskreg_nesting_level. Handle OMP_TASK.
  14220. (lower_lastprivate_clauses): Even if some lastprivate is found on a
  14221. work-sharing construct, continue looking for them on parent parallel
  14222. construct.
  14223. (lower_omp_for_lastprivate): Add lastprivate clauses
  14224. to the beginning of dlist rather than end. Adjust for struct
  14225. omp_for_data changes.
  14226. (lower_omp_for): Add rec input clauses before OMP_FOR_PRE_BODY,
  14227. not after it. Handle collapsed OMP_FOR loops, adjust for
  14228. OMP_FOR_{INIT,COND,INCR} changes, adjust extract_omp_for_data caller.
  14229. (get_ws_args_for): Adjust extract_omp_for_data caller.
  14230. (scan_omp_for): Handle collapsed OMP_FOR
  14231. loops, adjust for OMP_FOR_{INIT,COND,INCR} changes.
  14232. (lower_omp_single_simple): If libgomp function doesn't return
  14233. boolean_type_node, add comparison of the return value with 0.
  14234. (diagnose_sb_1, diagnose_sb_2): Handle collapsed OMP_FOR
  14235. loops, adjust for OMP_FOR_{INIT,COND,INCR} changes. Handle OMP_TASK.
  14236. (parallel_nesting_level): Rename to...
  14237. (taskreg_nesting_level): ... this.
  14238. (is_taskreg_ctx): New function.
  14239. (build_outer_var_ref, omp_copy_decl): Use is_taskreg_ctx instead
  14240. of is_parallel_ctx.
  14241. (execute_lower_omp): Rename parallel_nesting_level to
  14242. taskreg_nesting_level.
  14243. (expand_omp_parallel): Rename to...
  14244. (expand_omp_taskreg): ... this. Use OMP_TASKREG_* macros where needed.
  14245. Call omp_task_call for OMP_TASK regions.
  14246. (expand_omp): Adjust caller, handle OMP_TASK.
  14247. (lower_omp_1): Adjust lower_omp_taskreg caller, handle OMP_TASK.
  14248. * bitmap.c (bitmap_default_obstack_depth): New variable.
  14249. (bitmap_obstack_initialize, bitmap_obstack_release): Do nothing
  14250. if argument is NULL and bitmap_default_obstack is already initialized.
  14251. * ipa-struct-reorg.c (do_reorg_1): Call bitmap_obstack_release
  14252. at the end.
  14253. * matrix-reorg.c (matrix_reorg): Likewise.
  14254. 2008-06-06 Uros Bizjak <ubizjak@gmail.com>
  14255. * config/i386/i386.md (*indirect_jump): Macroize using P
  14256. mode iterator. Remove !TARGET_64BIT from insn constraints.
  14257. (*tablejump_1): Ditto.
  14258. (*indirect_jump_rex64): Remove insn pattern.
  14259. (*tablejump_1_rex64): Ditto.
  14260. (eh_return_<mode>): Macroize using P mode iterator from eh_return_di
  14261. and eh_return_si insn patterns.
  14262. 2008-06-06 Richard Guenther <rguenther@suse.de>
  14263. * tree-ssa-structalias.c (merge_smts_into): Remove.
  14264. (find_what_p_points_to): Do not bother to compute the
  14265. points-to set for pt_anything pointers.
  14266. * tree-ssa-operands.c (get_addr_dereference_operands): No NMT
  14267. for pt_anything pointers is ok.
  14268. 2008-06-06 Jan Hubicka <jh@suse.cz>
  14269. * passes.c (execute_ipa_pass_list): Do not regenerate summaries.
  14270. 2008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  14271. * cgraph.c: Fix typos in comments.
  14272. (cgraph_availability_names): Fix string typo.
  14273. * fold-const.c: Fix typos in comments.
  14274. (fold_binary): Fix typo in warning.
  14275. * genautomata.c: Fix typos in comments.
  14276. (check_presence_pattern_sets): Fix typo in local variable.
  14277. (output_description): Fix typo in output.
  14278. * ggc-zone.c (ggc_pch_finish): Fix typo in error message.
  14279. * hwint.h: Likewise.
  14280. * matrix-reorg.c (check_allocation_function): Likewise.
  14281. * omega.c (smooth_weird_equations): Likewise.
  14282. * auto-inc-dec.c: Fix typos in comments.
  14283. * bb-reorder.c: Likewise.
  14284. * builtins.c: Likewise.
  14285. * c-common.c: Likewise.
  14286. * c-cppbuiltin.c: Likewise.
  14287. * c-parser.c: Likewise.
  14288. * c-pretty-print.c: Likewise.
  14289. * cfgcleanup.c: Likewise.
  14290. * cfgexpand.c: Likewise.
  14291. * cfghooks.c: Likewise.
  14292. * cfglayout.c: Likewise.
  14293. * cfgloopmanip.c: Likewise.
  14294. * cgraphunit.c: Likewise.
  14295. * coverage.c: Likewise.
  14296. * dbxout.c: Likewise.
  14297. * df-byte-scan.c: Likewise.
  14298. * df-core.c: Likewise.
  14299. * df-problems.c: Likewise.
  14300. * df-scan.c: Likewise.
  14301. * dfp.c: Likewise.
  14302. * dominance.c: Likewise.
  14303. * domwalk.c: Likewise.
  14304. * dse.c: Likewise.
  14305. * dwarf2out.c: Likewise.
  14306. * emit-rtl.c: Likewise.
  14307. * et-forest.c: Likewise.
  14308. * function.c: Likewise.
  14309. * function.h: Likewise.
  14310. * gcc.c: Likewise.
  14311. * gcov-io.c: Likewise.
  14312. * gcov.c: Likewise.
  14313. * gcse.c: Likewise.
  14314. * genattrtab.c: Likewise.
  14315. * ggc-page.c: Likewise.
  14316. * gimplify.c: Likewise.
  14317. * gthr-lynx.h: Likewise.
  14318. * haifa-sched.c: Likewise.
  14319. * ipa-cp.c: Likewise.
  14320. * ipa-inline.c: Likewise.
  14321. * ipa-prop.h: Likewise.
  14322. * ipa-pure-const.c: Likewise.
  14323. * ipa-struct-reorg.c: Likewise.
  14324. * ipa-struct-reorg.h: Likewise.
  14325. * ipa-type-escape.c: Likewise.
  14326. * ipa.c: Likewise.
  14327. * loop-doloop.c: Likewise.
  14328. * mips-tfile.c: Likewise.
  14329. * mkmap-flat.awk: Likewise.
  14330. * mkmap-symver.awk: Likewise.
  14331. * modulo-sched.c: Likewise.
  14332. * omp-low.c: Likewise.
  14333. * optabs.c: Likewise.
  14334. * optabs.h: Likewise.
  14335. * opts.c: Likewise.
  14336. * passes.c: Likewise.
  14337. * postreload-gcse.c: Likewise.
  14338. * postreload.c: Likewise.
  14339. * predict.c: Likewise.
  14340. * pretty-print.h: Likewise.
  14341. * profile.c: Likewise.
  14342. * protoize.c: Likewise.
  14343. * ra-conflict.c: Likewise.
  14344. * real.c: Likewise.
  14345. * recog.c: Likewise.
  14346. * regclass.c: Likewise.
  14347. * regs.h: Likewise.
  14348. * reload.c: Likewise.
  14349. * rtl-error.c: Likewise.
  14350. * rtlanal.c: Likewise.
  14351. * scan.h: Likewise.
  14352. * sched-rgn.c: Likewise.
  14353. * see.c: Likewise.
  14354. * stmt.c: Likewise.
  14355. * target.h: Likewise.
  14356. * tree-dfa.c: Likewise.
  14357. * tree-eh.c: Likewise.
  14358. * tree-flow-inline.h: Likewise.
  14359. * tree-inline.c: Likewise.
  14360. * tree-into-ssa.c: Likewise.
  14361. * tree-loop-distribution.c: Likewise.
  14362. * tree-nested.c: Likewise.
  14363. * tree-parloops.c: Likewise.
  14364. * tree-pass.h: Likewise.
  14365. * tree-pretty-print.c: Likewise.
  14366. * tree-profile.c: Likewise.
  14367. * tree-scalar-evolution.c: Likewise.
  14368. * tree-sra.c: Likewise.
  14369. * tree-ssa-alias-warnings.c: Likewise.
  14370. * tree-ssa-ccp.c: Likewise.
  14371. * tree-ssa-coalesce.c: Likewise.
  14372. * tree-ssa-dom.c: Likewise.
  14373. * tree-ssa-dse.c: Likewise.
  14374. * tree-ssa-forwprop.c: Likewise.
  14375. * tree-ssa-live.c: Likewise.
  14376. * tree-ssa-live.h: Likewise.
  14377. * tree-ssa-loop-im.c: Likewise.
  14378. * tree-ssa-loop-ivopts.c: Likewise.
  14379. * tree-ssa-loop-niter.c: Likewise.
  14380. * tree-ssa-loop-prefetch.c: Likewise.
  14381. * tree-ssa-phiopt.c: Likewise.
  14382. * tree-ssa-phiprop.c: Likewise.
  14383. * tree-ssa-sccvn.c: Likewise.
  14384. * tree-ssa-ter.c: Likewise.
  14385. * tree-ssa-threadupdate.c: Likewise.
  14386. * tree-ssa.c: Likewise.
  14387. * tree-vect-analyze.c: Likewise.
  14388. * tree-vect-transform.c: Likewise.
  14389. * tree-vectorizer.c: Likewise.
  14390. * tree-vn.c: Likewise.
  14391. * tree-vrp.c: Likewise.
  14392. * tree.c: Likewise.
  14393. * tree.def: Likewise.
  14394. * tree.h: Likewise.
  14395. * unwind-dw2-fde.c: Likewise.
  14396. * unwind.inc: Likewise.
  14397. * value-prof.c: Likewise.
  14398. * vmsdbgout.c: Likewise.
  14399. 2008-06-05 David Edelsohn <edelsohn@gnu.org>
  14400. * config/rs6000/xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not
  14401. always place FP constants in the TOC for TARGET_POWERPC64.
  14402. * config/rs6000/linux64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Same.
  14403. 2008-06-05 Joseph Myers <joseph@codesourcery.com>
  14404. * config.gcc (powerpc-*-linux*spe*): Use t-dfprules.
  14405. * config/rs6000/dfp.md (negdd2, absdd2, negtd2, abstd2): Do not
  14406. enable for TARGET_E500_DOUBLE.
  14407. (*movdd_softfloat32): Also enable for !TARGET_FPRS.
  14408. * config/rs6000/rs6000.c (invalid_e500_subreg): Treat decimal
  14409. floating-point modes like integer modes for E500 double.
  14410. (rs6000_legitimate_offset_address_p): Likewise.
  14411. (rs6000_legitimize_address): Likewise. Do not allow REG+REG
  14412. addressing for DDmode for E500 double.
  14413. (rs6000_hard_regno_nregs): Do not treat decimal floating-point
  14414. modes as using 64-bits of registers for E500 double.
  14415. (spe_build_register_parallel): Do not handle DDmode or TDmode.
  14416. (rs6000_spe_function_arg): Do not handle DDmode or TDmode
  14417. specially for E500 double.
  14418. (function_arg): Do not call rs6000_spe_function_arg for DDmode or
  14419. TDmode for E500 double.
  14420. (rs6000_gimplify_va_arg): Only handle SDmode in registers
  14421. specially if TARGET_HARD_FLOAT && TARGET_FPRS.
  14422. (rs6000_split_multireg_move): Do not handle TDmode specially for
  14423. E500 double.
  14424. (spe_func_has_64bit_regs_p): Do not treat DDmode or TDmode as
  14425. using 64-bit registers for E500 double.
  14426. (emit_frame_save): Do not handle DDmode specially for E500 double.
  14427. (gen_frame_mem_offset): Likewise.
  14428. (rs6000_function_value): Do not call spe_build_register_parallel
  14429. for DDmode or TDmode.
  14430. (rs6000_libcall_value): Likewise.
  14431. * config/rs6000/rs6000.h (LOCAL_ALIGNMENT, MEMBER_TYPE_FORCES_BLK,
  14432. DATA_ALIGNMENT, CLASS_MAX_NREGS): Do not handle DDmode specially
  14433. for E500 double.
  14434. 2008-06-04 H.J. Lu <hongjiu.lu@intel.com>
  14435. * config/i386/i386.c (setup_incoming_varargs_64): Fix a typo
  14436. in comments.
  14437. 2008-06-04 Junjie Gu <jgu@tensilica.com>
  14438. * config/xtensa/lib2funcs.S (__xtensa_nonlocal_goto): Use unsigned
  14439. comparison for frame pointers.
  14440. 2008-06-04 Andy Hutchinson <hutchinsonandy@aim.com>
  14441. PR target/27386
  14442. * config/avr/avr.h (PUSH_ROUNDING): Remove.
  14443. 2008-06-04 Andy Hutchinson <hutchinsonandy@aim.com>
  14444. PR target/30243
  14445. * builtins.c (expand_builtin_signbit): Don't take lowpart when
  14446. register is already smaller or equal to required mode.
  14447. 2008-06-04 Xinliang David Li <davidxl@google.com>
  14448. * tree-call-cdce.c: New file.
  14449. (cond_dead_built_in_calls): New static variable.
  14450. (input_domain): New struct.
  14451. (check_pow): New function.
  14452. (check_builtin_call): Ditto.
  14453. (check_target_format): Ditto.
  14454. (is_call_dce_candidate): Ditto.
  14455. (gen_one_condition): Ditto.
  14456. (gen_conditions_for_domain): Ditto.
  14457. (get_domain): Ditto.
  14458. (gen_conditions_for_pow_cst_base): Ditto.
  14459. (gen_conditions_for_pow_int_base): Ditto.
  14460. (gen_conditions_for_pow): Ditto.
  14461. (get_no_error_domain): Ditto.
  14462. (gen_shrink_wrap_conditions): Ditto.
  14463. (shrink_wrap_one_built_in_call): Ditto.
  14464. (shink_wrap_conditional_dead_built_in_calls): Ditto.
  14465. (tree_call_cdce): Ditto.
  14466. (gate_call_cdce): Ditto.
  14467. (pass_call_cdce): New gimple pass.
  14468. * passes.c (init_optimization_passes): New pass.
  14469. * tree-pass.h: New pass declaration.
  14470. * opts.c (decode_options): New flag setting.
  14471. * common.opt: Add -ftree-builtin-call-dce flag.
  14472. * Makefile.in: Add new source file.
  14473. * tempvar.def: New tv_id.
  14474. * doc/invoke.texi (-ftree-builtin-call-dce): New flag.
  14475. 2008-06-04 Richard Guenther <rguenther@suse.de>
  14476. * tree-flow-inline.h (is_global_var): Do not check TREE_STATIC on MTAGs.
  14477. (is_call_clobbered): Always check var_ann->call_clobbered.
  14478. (mark_call_clobbered): Always set var_ann->call_clobbered.
  14479. (clear_call_clobbered): Always clear var_ann->call_clobbered.
  14480. * tree-ssa-alias.c (mark_non_addressable): Use clear_call_clobbered.
  14481. (reset_alias_info): Clear call clobbering info on MTAGs and
  14482. globals as well.
  14483. (set_pt_anything): Set pt_global_mem.
  14484. (create_tag_raw): Adjust comment.
  14485. (may_be_aliased): Do not check TREE_PUBLIC on MTAGs.
  14486. 2008-06-04 Joseph Myers <joseph@codesourcery.com>
  14487. Maxim Kuvyrkov <maxim@codesourcery.com>
  14488. * config/m68k/m68k.opt (mxgot): New option.
  14489. * config/m68k/m68k.c (legitimize_pic_address): Handle -mxgot.
  14490. (m68k_output_addr_const_extra): New.
  14491. * config/m68k/m68k.h (OUTPUT_ADDR_CONST_EXTRA): New.
  14492. * config/m68k/m68k-protos.h (m68k_output_addr_const_extra): Declare.
  14493. * config/m68k/m68k.md (UNSPEC_GOTOFF): Define.
  14494. * doc/invoke.texi (M680x0 Options): Document -mxgot.
  14495. 2008-06-04 Richard Guenther <rguenther@suse.de>
  14496. * tree-ssa-structalias.c (handle_ptr_arith): Correctly handle
  14497. negative or non-representable offsets.
  14498. 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
  14499. * config/i386/i386.c (ix86_gen_leave): New.
  14500. (ix86_gen_pop1): Likewise.
  14501. (ix86_gen_add3): Likewise.
  14502. (ix86_gen_sub3): Likewise.
  14503. (ix86_gen_sub3_carry): Likewise.
  14504. (ix86_gen_one_cmpl2): Likewise.
  14505. (ix86_gen_monitor): Likewise.
  14506. (override_options): Initialize ix86_gen_leave, ix86_gen_pop1,
  14507. ix86_gen_add3, ix86_gen_sub3, ix86_gen_sub3_carry,
  14508. ix86_gen_one_cmpl2 and ix86_gen_monitor.
  14509. (ix86_file_end): Use mov%z0 instead of mov{q}/mov{l}.
  14510. (output_set_got): Use mov%z0, pop%z0 and add%z0 instead of
  14511. mov{q}/mov{l}, pop{q}/pop{l} and add{q}/add{l}.
  14512. (ix86_expand_epilogue): Updated.
  14513. (print_operand): Handle integer register operand for 'z'.
  14514. (ix86_expand_strlensi_unroll_1): Likewise.
  14515. (ix86_expand_strlen): Likewise.
  14516. (ix86_expand_builtin): Likewise.
  14517. (x86_output_mi_thunk): Use mov%z1 and add%z1 instead of
  14518. mov{q}/mov{l} and add{q}/add{l}.
  14519. 2008-06-03 Kai Tietz <kai.tietz@onevision.com>
  14520. * config/i386/i386.md (P): New mode iterator.
  14521. (SFmode push_operand splitter): Macroize DImode and SImode pushes
  14522. using P mode iterator.
  14523. (DFmode push_operand splitter): Ditto.
  14524. (XFmode push_operand splitter): Ditto.
  14525. (DFmode float_extend SFmode push_operand splitter): Ditto.
  14526. (XFmode float_extend SFmode push_operand splitter): Do not generate
  14527. SImode pushes for 64bit target. Macroize Dimode and SImode
  14528. pushes using P mode iterator.
  14529. (XFmode float_extend DFmode push_operand splitter): Ditto.
  14530. 2008-06-03 Kai Tietz <kai.tietz@onevision.com>
  14531. * config/i386/i386-protos.h (ix86_reg_parm_stack_space): New.
  14532. * config/i386/i386.h (ix86_reg_parm_stack_space): Removed prototype.
  14533. * config/i386/i386.c (ix86_reg_parm_stack_space): Changed
  14534. return type to int.
  14535. (ix86_call_abi_override): Remove check for call_used_regs.
  14536. 2008-06-03 Richard Guenther <rguenther@suse.de>
  14537. * tree-ssa-structalias.c (find_func_aliases): Add constraints
  14538. for the lhs of calls if the return type contains pointers.
  14539. 2008-06-03 Kai Tietz <kai.tietz@onevision.com>
  14540. * doc/tm.texi (OVERRIDE_ABI_FORMAT): New.
  14541. * doc/extend.texi (ms_abi,sysv_abi): New attribute description.
  14542. * function.c (allocate_struct_function): Use of OVERRIDE_ABI_FORMAT.
  14543. * config/i386/cygming.h (TARGET_64BIT_MS_ABI): Make use
  14544. of cfun and DEFAULT_ABI to deceide abi mode.
  14545. (DEFAULT_ABI): New.
  14546. (REG_PARM_STACK_SPACE): Removed.
  14547. (OUTGOING_REG_PARM_STACK_SPACE): Removed.
  14548. (STACK_BOUNDARY): Use default target to deceide stack boundary.
  14549. * config/i386/i386-protos.h (ix86_cfun_abi): New.
  14550. (ix86_function_abi): Likewise.
  14551. (ix86_function_type_abi): Likewise.
  14552. (ix86_call_abi_override): Likewise.
  14553. * confid/i386/i386.md (SSE_REGPARM_MAX): Replaced by abi
  14554. specific define X86_64_SSE_REGPARM_MAX/X64_SSE_REGPARM_MAX.
  14555. * config/i386/i386.c (override_options): Replace TARGET_64BIT_MS_ABI.
  14556. (X86_64_VARARGS_SIZE): Replace REGPARM_MAX and SSE_REGPARM_MAX by abi
  14557. specific defines.
  14558. (ix86_handle_cconv_attribute): Replace TARGET_64BIT_MS_ABI.
  14559. (ix86_function_regparm): Handle user calling abi.
  14560. (ix86_function_arg_regno_p): Replace TARGET_64BIT_MS_ABI
  14561. by DEFAULT_ABI versus SYSV_ABI check.
  14562. (ix86_reg_parm_stack_space): New.
  14563. (ix86_function_type_abi): New.
  14564. (ix86_call_abi_override): New.
  14565. (ix86_function_abi): New.
  14566. (ix86_cfun_abi): New.
  14567. (init_cumulative_args): Call abi specific initialization.
  14568. (function_arg_advance): Remove TARGET_64BIT_MS_ABI.
  14569. (function_arg_64): Extend SSE_REGPARM_MAX check.
  14570. (function_arg (): Remove TARGET_64BIT_MS_ABI.
  14571. (ix86_pass_by_reference): Likewise.
  14572. (ix86_function_value_regno_p): Likewise.
  14573. (function_value_64): Replace REGPARM_MAX, and SSE_REGPARM_MAX.
  14574. (ix86_function_value_1): Replace TARGET_64BIT_MS_ABI.
  14575. (return_in_memory_ms_64): Replace TARGET_64BIT_MS_ABI.
  14576. (ix86_build_builtin_va_list): Replace TARGET_64BIT_MS_ABI.
  14577. (setup_incoming_varargs_64): Adjust regparm for call abi.
  14578. (ix86_setup_incoming_varargs): Replace TARGET_64BIT_MS_ABI.
  14579. (ix86_va_start): Likewise.
  14580. (ix86_gimplify_va_arg): Likewise.
  14581. (ix86_expand_prologue): Likewise.
  14582. (output_pic_addr_const): Likewise.
  14583. (ix86_init_machine_status): Initialize call_abi by DEFAULT_ABI.
  14584. (x86_this_parameter): Replace TARGET_64BIT_MS_ABI.
  14585. (x86_output_mi_thunk): Likewise.
  14586. (x86_function_profiler): Likewise.
  14587. * config/i386/i386.h (TARGET_64BIT_MS_ABI): Use ix64_cfun_abi.
  14588. (SYSV_ABI, MS_ABI): New constants.
  14589. (DEFAULT_ABI): New.
  14590. (init_regs): Add prototype of function in regclass.c file.
  14591. (OVERRIDE_ABI_FORMAT): New.
  14592. (CONDITIONAL_REGISTER_USAGE): Remove TARGET_64BIT_MS_ABI part.
  14593. (REG_PARM_STACK_SPACE): Use ix86_reg_parm_stack_space.
  14594. (OUTGOING_REG_PARM_STACK_SPACE): New.
  14595. (ix86_reg_parm_stack_space): New prototype.
  14596. (CUMULATIVE_ARGS): Add call_abi member.
  14597. (X86_64_REGPARM_MAX): New.
  14598. (X86_64_SSE_REGPARM_MAX): New.
  14599. (X64_REGPARM_MAX): New.
  14600. (X64_SSE_REGPARM_MAX): New.
  14601. (X86_32_REGPARM_MAX): New.
  14602. (X86_32_SSE_REGPARM_MAX): New.
  14603. (REGPARM_MAX): Updated.
  14604. (SSE_REGPARM_MAX): Updated.
  14605. (machine_function): Add call_abi member.
  14606. * config/i386/mingw32.h (EXTRA_OS_CPP_BUILTINS): Replace
  14607. TARGET_64BIT_MS_ABI by DEFAULT_ABI compare to MS_ABI.
  14608. 2008-06-02 Andy Hutchinson <hutchinsonandy@aim.com>
  14609. PR target/34879
  14610. * config/avr/avr.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Redefine.
  14611. (avr_builtin_setjmp_frame_value): New function.
  14612. * config/avr/avr.md (nonlocal_goto_receiver): Define.
  14613. (nonlocal_goto): Define.
  14614. 2008-06-02 Richard Sandiford <rdsandiford@googlemail.com>
  14615. * config/mips/mips.c (mips_emit_loadgp): Return early if
  14616. there is nothing do to, otherwise emit a blockage if
  14617. !TARGET_EXPLICIT_RELOCS || crtl->profile.
  14618. * config/mips/mips.md (loadgp_blockage): Use SI rather than DI.
  14619. 2008-06-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  14620. * configure.ac: Drop unneeded backslash ending up in config.in.
  14621. * acinclude.m4: Likewise.
  14622. * config.in: Regenerate.
  14623. 2008-05-26 Jan Hubicka <jh@suse.cz>
  14624. * predict.c (maybe_hot_frequency_p): Break out of...
  14625. (maybe_hot_bb_p): ... here.
  14626. (maybe_hot_edge_p): New.
  14627. * tree-ssa-coalesce.c (coalesce_cost_edge): Compute cost based on edge.
  14628. * basic-block.h (maybe_hot_edge_p): Declare.
  14629. 2008-05-31 Uros Bizjak <ubizjak@gmail.com>
  14630. * config/i386/i386.md (*cmpfp_<mode>): Enable for optimize_size.
  14631. (*cmpfp_<mode>_cc): Ditto.
  14632. (*fp_jcc_8<mode>_387): Ditto.
  14633. (*fop_<MODEF:mode>_2_i387): Ditto.
  14634. (*fop_<MODEF:mode>_3_i387): Ditto.
  14635. (*fop_xf_2_i387): Ditto.
  14636. (*fop_xf_3_i387): Ditto.
  14637. 2008-06-02 Tomas Bily <tbily@suse.cz>
  14638. * tree-ssa-ifcombine.c (get_name_for_bit_test): Use CONVERT_EXPR_P.
  14639. 2008-06-01 Richard Sandiford <rdsandiford@googlemail.com>
  14640. * config/mips/mips.c (mips_valid_offset_p): New function.
  14641. (mips_valid_lo_sum_p): Likewise.
  14642. (mips_classify_address): Use them.
  14643. (mips_force_address): New function.
  14644. (mips_legitimize_address): Use it.
  14645. * config/mips/mips.md (MOVE128): New mode iterator.
  14646. (movtf): Require TARGET_64BIT. Remove empty strings.
  14647. (*movtf_internal): Rename to...
  14648. (*movtf): ...this and require !TARGET_MIPS16. Use "m" instead
  14649. of "R" and use {,fp}{load,store} attributes instead of "multi".
  14650. Use a separate define_split.
  14651. (*movtf_mips16): New pattern.
  14652. 2008-06-01 Richard Sandiford <rdsandiford@googlemail.com>
  14653. * config/mips/mips-protos.h (mips_expand_before_return): Declare.
  14654. * config/mips/mips.c (mips_expand_before_return): New function.
  14655. (mips_expand_epilogue): Call it.
  14656. * config/mips/mips.md (return): Turn into a define_expand.
  14657. (*return): New insn.
  14658. 2008-06-01 Richard Sandiford <rdsandiford@googlemail.com>
  14659. * rtl.h (emit_clobber, gen_clobber, emit_use, gen_use): Declare.
  14660. * emit-rtl.c (emit_clobber, gen_clobber, emit_use, gen_use): New
  14661. functions. Do not emit uses and clobbers of CONCATs; individually
  14662. use and clobber their operands.
  14663. * builtins.c (expand_builtin_setjmp_receiver): Use emit_clobber,
  14664. gen_clobber, emit_use and gen_use.
  14665. (expand_builtin_longjmp, expand_builtin_nonlocal_goto): Likewise.
  14666. (expand_builtin_return): Likewise.
  14667. * cfgbuild.c (count_basic_blocks): Likewise.
  14668. * cfgrtl.c (rtl_flow_call_edges_add): Likewise.
  14669. * explow.c (emit_stack_restore): Likewise.
  14670. * expmed.c (extract_bit_field_1): Likewise.
  14671. * expr.c (convert_move, emit_move_complex_parts): Likewise.
  14672. (emit_move_multi_word, store_constructor): Likewise.
  14673. * function.c (do_clobber_return_reg, do_use_return_reg): Likewise.
  14674. (thread_prologue_and_epilogue_insns): Likewise.
  14675. * lower-subreg.c (resolve_simple_move): Likewise.
  14676. * optabs.c (widen_operand, expand_binop): Likewise.
  14677. (expand_doubleword_bswap, emit_no_conflict_block): Likewise.
  14678. * reload.c (find_reloads): Likewise.
  14679. * reload1.c (eliminate_regs_in_insn): Likewise.
  14680. * stmt.c (expand_nl_goto_receiver): Likewise.
  14681. * config/alpha/alpha.md (builtin_longjmp): Likewise.
  14682. * config/arc/arc.md (*movdi_insn, *movdf_insn): Likewise.
  14683. * config/arm/arm.c (arm_load_pic_register): Likewise.
  14684. (thumb1_expand_epilogue, thumb_set_return_address): Likewise.
  14685. * config/arm/arm.md (untyped_return): Likewise.
  14686. * config/arm/linux-elf.h (PROFILE_HOOK): Likewise.
  14687. * config/avr/avr.c (expand_prologue): Likewise.
  14688. * config/bfin/bfin.c (do_unlink): Likewise.
  14689. * config/bfin/bfin.md (<optab>di3, adddi3, subdi3): Likewise.
  14690. * config/cris/cris.c (cris_expand_prologue): Likewise.
  14691. * config/darwin.c (machopic_indirect_data_reference): Likewise.
  14692. (machopic_legitimize_pic_address): Likewise.
  14693. * config/frv/frv.c (frv_frame_access, frv_expand_epilogue): Likewise.
  14694. (frv_ifcvt_modify_insn, frv_expand_mdpackh_builtin): Likewise.
  14695. * config/i386/i386.c (ix86_expand_vector_move_misalign): Likewise.
  14696. (ix86_expand_convert_uns_didf_sse): Likewise.
  14697. (ix86_expand_vector_init_general): Likewise.
  14698. * config/ia64/ia64.md (eh_epilogue): Likewise.
  14699. * config/iq2000/iq2000.c (iq2000_expand_epilogue): Likewise.
  14700. * config/m32c/m32c.c (m32c_emit_eh_epilogue): Likewise.
  14701. * config/m32r/m32r.c (m32r_reload_lr): Likewise.
  14702. (config/iq2000/iq2000.c): Likewise.
  14703. * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
  14704. (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
  14705. (builtin_longjmp): Likewise.
  14706. * config/mn10300/mn10300.md (call, call_value): Likewise.
  14707. * config/pa/pa.md (nonlocal_goto, nonlocal_longjmp): Likewise.
  14708. * config/pdp11/pdp11.md (abshi2): Likewise.
  14709. * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
  14710. * config/s390/s390.c (s390_emit_prologue): Likewise.
  14711. * config/s390/s390.md (movmem_long, setmem_long): Likewise.
  14712. (cmpmem_long, extendsidi2, zero_extendsidi2, udivmoddi4): Likewise.
  14713. (builtin_setjmp_receiver, restore_stack_nonlocal): Likewise.
  14714. * config/sh/sh.c (prepare_move_operands): Likewise.
  14715. (output_stack_adjust, sh_expand_epilogue): Likewise.
  14716. (sh_set_return_address, sh_expand_t_scc): Likewise.
  14717. * config/sparc/sparc.c (load_pic_register): Likewise.
  14718. * config/sparc/sparc.md (untyped_return, nonlocal_goto): Likewise.
  14719. * config/spu/spu.c (spu_expand_epilogue): Likewise.
  14720. * config/v850/v850.c (expand_epilogue): Likewise.
  14721. 2008-05-31 Anatoly Sokolov <aesok@post.ru>
  14722. * config/avr/avr.md (UNSPECV_WRITE_SP_IRQ_ON): New constants.
  14723. (UNSPECV_WRITE_SP_IRQ_OFF): (Ditto.).
  14724. (movhi_sp_r_irq_off, movhi_sp_r_irq_on): New insn.
  14725. * config/avr/avr.c (expand_prologue, expand_epilogue): Use
  14726. movhi_sp_r_irq_off and movhi_sp_r_irq_on insns for writing to the
  14727. stack pointer register.
  14728. (output_movhi): Remove code for interrupt specific writing to the
  14729. stack pointer register.
  14730. 2008-05-31 Richard Guenther <rguenther@suse.de>
  14731. PR tree-optimization/34244
  14732. * fold-const.c (tree_expr_nonnegative_warnv_p): Do not ask VRP.
  14733. (tree_expr_nonzero_warnv_p): Likewise.
  14734. * tree-vrp.c (vrp_expr_computes_nonnegative): Call
  14735. ssa_name_nonnegative_p.
  14736. (vrp_expr_computes_nonzero): Call ssa_name_nonzero_p.
  14737. (extract_range_from_unary_expr): Use vrp_expr_computes_nonzero,
  14738. not tree_expr_nonzero_warnv_p.
  14739. PR tree-optimization/36262
  14740. Revert
  14741. 2007-11-29 Zdenek Dvorak <ook@ucw.cz>
  14742. PR tree-optimization/34244
  14743. * tree-vrp.c (adjust_range_with_scev): Clear scev cache.
  14744. (record_numbers_of_iterations): New function.
  14745. (execute_vrp): Cache the numbers of iterations of loops.
  14746. * tree-scalar-evolution.c (scev_reset_except_niters):
  14747. New function.
  14748. (scev_reset): Use scev_reset_except_niters.
  14749. * tree-scalar-evolution.h (scev_reset_except_niters): Declare.
  14750. 2008-05-31 Bernd Schmidt <bernd.schmidt@analog.com>
  14751. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
  14752. __WORKAROUND_RETS when appropriate.
  14753. 2008-05-31 Uros Bizjak <ubizjak@gmail.com>
  14754. * config/i386/i386.md (*fop_<mode>_comm_mixed): Macroize from
  14755. *fop_sf_comm_mixed and *fop_df_comm_mixed insn patterns using MODEF
  14756. mode iterator.
  14757. (*fop_<mode>_comm_sse): Macroize from *fop_sf_comm_sse and
  14758. *fop_df_comm_sse insn patterns using MODEF mode iterator.
  14759. (*fop_<mode>_comm_i387): Macroize from *fop_sf_comm_i387 and
  14760. *fop_df_comm_i387 insn patterns using MODEF mode iterator.
  14761. (*fop_<mode>_1_mixed): Macroize from *fop_sf_1_mixed and
  14762. *fop_df_1_mixed insn patterns using MODEF mode iterator.
  14763. (*fop_<mode>_1_sse): Macroize from *fop_sf_1_sse and
  14764. *fop_df_1_sse insn patterns using MODEF mode iterator.
  14765. (*fop_<mode>_1_i387): Macroize from *fop_sf_1_i387 and
  14766. *fop_df_1_i387 insn patterns using MODEF mode iterator.
  14767. (*fop_<MODEF:mode>_2_i387): Macroize from *fop_sf_2<mode>_i387 and
  14768. *fop_df_2<mode>_i387 insn patterns using MODEF mode iterator.
  14769. (*fop_<MODEF:mode>_3_i387): Macroize from *fop_sf_3<mode>_i387 and
  14770. *fop_df_3<mode>_i387 insn patterns using MODEF mode iterator.
  14771. (*fop_xf_2_i387): Rename from *fop_xf_2<mode>_i387.
  14772. (*fop_xf_3_i387): Rename from *fop_xf_3<mode>_i387.
  14773. (*fop_xf_4_i387): Use <MODE> for mode attribute.
  14774. (*fop_xf_5_i387): Ditto.
  14775. (*fop_xf_6_i387): Ditto.
  14776. 2008-05-30 Richard Guenther <rguenther@suse.de>
  14777. * builtins.c (build_string_literal): Avoid generating
  14778. a non-gimple_val result.
  14779. 2008-05-30 DJ Delorie <dj@redhat.com>
  14780. * exec-tool.in: Use an environment variable (private) instead of a
  14781. file (shared) as a semaphore, so as to not break parallel builds.
  14782. 2008-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
  14783. * optabs.c (maybe_encapsulate_block): Remove.
  14784. (emit_libcall_block): Adjust accordingly.
  14785. * optabs.h (maybe_encapsulate_block): Remove prototype.
  14786. * config/rs6000/rs6000.c (rs6000_legitimize_tls_address):
  14787. Don't use maybe_encapsulate_block.
  14788. 2008-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
  14789. * config/rs6000/rs6000.c (rs6000_legitimize_address,
  14790. rs6000_legitimize_reload_address, rs6000_emit_move): Make sure an
  14791. rtx is a SYMBOL_REF before calling get_pool_constant.
  14792. 2008-05-30 Eric Botcazou <ebotcazou@adacore.com>
  14793. * fold-const.c (fold_unary) <CASE_CONVERT>: Add ??? comment.
  14794. 2008-05-30 Danny Smith <dannysmith@users.sourceforge.net>
  14795. * incpath.c: Use HOST_LACKS_INODE_NUMBERS conditional
  14796. rather than OS names to choose INO_T_EQ definition.
  14797. (DIRS_EQ) [!INO_T_EQ]: Don't worry about case in comparison.
  14798. (add_path) [!INO_T_EQ]: Use lrealpath to fill canonical_name field.
  14799. 2008-05-29 Daniel Franke <franke.daniel@gmail.com>
  14800. PR target/36348
  14801. * config/darwin-f.c: New.
  14802. * config/t-darwin: Added rule to build darwin-f.o.
  14803. * config.gcc: Defined new variable, fortran_target_objs.
  14804. (*-*-darwin*): Set fortran_target_objs.
  14805. * Makefile.in: Defined new variable FORTRAN_TARGET_OBJS.
  14806. * configure.ac: Substitute fortran_target_objs, set FORTRAN_TARGET_OBJS.
  14807. * configure: Regenerated.
  14808. 2008-05-29 H.J. Lu <hongjiu.lu@intel.com>
  14809. PR target/35771
  14810. * config/i386/i386.c (ix86_function_arg_boundary): Convert to
  14811. canonical type if needed.
  14812. 2008-05-29 Eric Botcazou <ebotcazou@adacore.com>
  14813. * tree-nested.c (check_for_nested_with_variably_modified): Fix typo.
  14814. 2008-05-29 Richard Guenther <rguenther@suse.de>
  14815. PR tree-optimization/36343
  14816. PR tree-optimization/36346
  14817. PR tree-optimization/36347
  14818. * tree-flow.h (clobber_what_p_points_to): Declare.
  14819. * tree-ssa-structalias.c (set_uids_in_ptset): Whether the
  14820. pointed-to variable is dereferenced is irrelevant to whether
  14821. the pointer can access the pointed-to variable.
  14822. (clobber_what_p_points_to): New function.
  14823. * tree-ssa-alias.c (set_initial_properties): Use it.
  14824. * tree-ssa.c (verify_flow_sensitive_alias_info): Adjust
  14825. call clobber check for NMTs.
  14826. 2008-05-28 Seongbae Park <seongbae.park@gmail.com>
  14827. * value-prof.c (tree_ic_transform): Use HOST_WIDEST_INT_PRINT_DEC
  14828. for printing gcov_type.
  14829. 2008-05-28 Seongbae Park <seongbae.park@gmail.com>
  14830. * tree-ssa-propagate.c (set_rhs): Preserve the histogram
  14831. and the eh region information.
  14832. * value-prof.c (gimple_move_stmt_histograms): New function.
  14833. * value-prof.h (gimple_move_stmt_histograms): New function declaration.
  14834. 2008-05-28 Andreas Tobler <a.tobler@schweiz.org>
  14835. * config/pa/pa.md: Remove extern frame_pointer_needed declaration.
  14836. 2008-05-28 Seongbae Park <seongbae.park@gmail.com>
  14837. * value-prof.c (tree_ic_transform): Print counts.
  14838. * tree-profile.c (tree_gen_ic_func_profiler):
  14839. Clear __gcov_indreict_call_callee variable to avoid misattribution
  14840. of the profile.
  14841. 2008-05-28 Rafael Espíndola <espindola@google.com>
  14842. * see.c (see_def_extension_not_merged): Use copy_rtx_if_shared to avoid
  14843. invalid sharing.
  14844. 2008-05-28 Richard Guenther <rguenther@suse.de>
  14845. PR tree-optimization/36339
  14846. * tree-ssa-alias.c (set_initial_properties): Move pt_anything
  14847. and clobbering code out of the loop.
  14848. 2008-05-28 Andreas Krebbel <krebbel1@de.ibm.com>
  14849. * config/s390/constraints.md ('b', 'C', 'D', 'e'): New constraint
  14850. letters defined.
  14851. * config/s390/s390.c (s390_compare_and_branch_condition_mask,
  14852. s390_contiguous_bitmask_p, s390_symref_operand_p,
  14853. s390_check_symref_alignment, s390_reload_larl_operand,
  14854. s390_reload_symref_address): New functions.
  14855. (s390_branch_condition_mnemonic): Support compare and branch
  14856. instructions.
  14857. (s390_mem_constraint): Avoid symrefs to accepted by the 'T'
  14858. and 'W' constraints.
  14859. (s390_secondary_reload): Add secondary reloads for unaligned
  14860. symbol refs or symbol refs to floating point or QI/TI mode
  14861. integer values.
  14862. (legitimate_address_p): Accept symbol references as addresses.
  14863. (s390_expand_insv): Use rotate and insert selected bits
  14864. instruction for insv when building for z10.
  14865. (print_operand_address): Handle symbol ref addresses.
  14866. (print_operand): Output modifier 'c' added for signed byte values.
  14867. (s390_encode_section_info): Mark symbol refs with
  14868. SYMBOL_FLAG_NOT_NATURALLY_ALIGNED if appropriate.
  14869. * config/s390/s390.md (SIL,RRS,RIS): New instruction formats added.
  14870. (length attribute): RRF, RRR have 4 byte length.
  14871. (FPALL, INTALL): New mode iterators added.
  14872. (*tstdi_sign, *cmpdi_ccs_sign, *cmpsi_ccs_sign,
  14873. *cmp<mode>_ccs, *cmpdi_ccu_zero, *cmpdi_ccu, *cmpsi_ccu, *cmphi_ccu,
  14874. *movdi_64, *movsi_zarch, *movhi, movmem<mode>, *movmem_short,
  14875. *extendsidi2, *extendhidi2_extimm, *extendhisi2_extimm,
  14876. *zero_extendsidi2, adddi3, *adddi3_31z, *adddi3_31, addsi3,
  14877. *add<mode>3, *add<mode>3_carry1_cc, *add<mode>3_carry2_cc,
  14878. *add<mode>3_cc, *add<mode>3_imm_cc, *muldi3_sign, muldi3,
  14879. *mulsi3_sign, mulsi3, mulsidi3): Patterns enhanced with z10
  14880. instructions.
  14881. (*cmphi_ccs_z10, *cmpdi_ccs_signhi_rl, *cmpsi_ccu_zerohi_rlsi,
  14882. *cmp<GPR:mode>_ccu_zerohi_rldi, *cmp_and_br_signed_<mode>,
  14883. *cmp_and_br_unsigned_<mode>, reload<INTALL:mode><P:mode>_tomem_z10,
  14884. reload<INTALL:mode><P:mode>_toreg_z10,
  14885. reload<FPALL:mode><P:mode>_tomem_z10,
  14886. reload<FPALL:mode><P:mode>_toreg_z10,
  14887. reload<P:mode>_larl_odd_addend_z10, *execute_rl, *insv<mode>_z10,
  14888. *insv<mode>_z10_noshift, *insv<mode>_or_z10_noshift,
  14889. *zero_extendhi<mode>2_z10, *cmp_and_trap_signed_int<mode>,
  14890. *cmp_and_trap_unsigned_int<mode>, prefetch): New pattern or expander
  14891. definition.
  14892. (movmem, clrmem, cmpmem): New splitters added.
  14893. * config/s390/predicates.md (larl_operand): Use
  14894. SYMBOL_REF_FLAGS (op) & SYMBOL_FLAG_ALIGN1 replaced with
  14895. SYMBOL_REF_ALIGN1_P.
  14896. (s390_signed_integer_comparison,
  14897. s390_unsigned_integer_comparison): New predicates.
  14898. * config/s390/s390-protos.h (s390_check_symref_alignment,
  14899. s390_contiguous_bitmask_p, s390_reload_larl_operand,
  14900. s390_reload_symref_address,
  14901. s390_compare_and_branch_condition_mask): Prototypes added.
  14902. * config/s390/s390.h (TARGET_MEM_CONSTRAINT,
  14903. SYMBOL_REF_ALIGN1_P, SYMBOL_FLAG_NOT_NATURALLY_ALIGNED,
  14904. SYMBOL_REF_NOT_NATURALLY_ALIGNED_P): Macro definition added.
  14905. 2008-05-28 Andreas Krebbel <krebbel1@de.ibm.com>
  14906. * config/s390/s390.c (z10_cost): New cost function for z10.
  14907. (s390_handle_arch_option, override_options): Support -march=z10 switch.
  14908. (s390_issue_rate): Adjust issue rate for z10.
  14909. * config/s390/s390.h (processor_type): Add PROCESSOR_2097_Z10.
  14910. (processor_flags): Add PF_Z10.
  14911. (TARGET_CPU_Z10, TARGET_Z10): New macro definitions.
  14912. * config/s390/s390.md (cpu, cpu_facility attributes): Add z10.
  14913. * gcc/config.gcc: Add z10.
  14914. 2008-05-28 Richard Guenther <rguenther@suse.de>
  14915. PR tree-optimization/36291
  14916. * tree-flow. h (struct gimple_df): Remove var_anns member.
  14917. * tree-flow-inline.h (gimple_var_anns): Remove.
  14918. (var_ann): Simplify.
  14919. * tree-dfa.c (create_var_ann): Simplify.
  14920. (remove_referenced_var): Clear alias info from var_anns of globals.
  14921. * tree-ssa.c (init_tree_ssa): Do not allocate var_anns.
  14922. (delete_tree_ssa): Clear alias info from var_anns of globals.
  14923. Do not free var_anns.
  14924. (var_ann_eq): Remove.
  14925. (var_ann_hash): Likewise.
  14926. 2008-05-28 Mark Shinwell <shinwell@codesourcery.com>
  14927. * config/mips/mips.c (mips_cpu_info_table): Add loongson2e
  14928. and loongson2f entries.
  14929. (mips_rtx_cost_data): Add entries for Loongson-2E/2F.
  14930. * config/mips/mips.h (processor_type): Add Loongson-2E
  14931. and Loongson-2F entries.
  14932. (TARGET_LOONGSON_2E, TARGET_LOONGSON_2F, TARGET_LOONGSON_2EF): New.
  14933. (MIPS_ISA_LEVEL_SPEC): Handle Loongson-2E/2F.
  14934. * config/mips/mips.md (define_attr cpu): Add loongson2e and loongson2f.
  14935. * doc/invoke.texi (MIPS Options): Document loongson2e
  14936. and loongson2f processor names.
  14937. 2008-05-27 H.J. Lu <hongjiu.lu@intel.com>
  14938. PR target/35767
  14939. PR target/35771
  14940. * config/i386/i386.c (ix86_function_arg_boundary): Use
  14941. alignment of canonical type.
  14942. (ix86_expand_vector_move): Check unaligned memory access for
  14943. all SSE modes.
  14944. 2008-05-27 H.J. Lu <hongjiu.lu@intel.com>
  14945. * dwarf2out.c (current_fde): Change return type to dw_fde_ref.
  14946. Moved to the front of file.
  14947. 2008-05-27 Xuepeng Guo <xuepeng.guo@intel.com>
  14948. H.J. Lu <hongjiu.lu@intel.com>
  14949. * dwarf2out.c (current_fde): New.
  14950. (add_cfi): Use it.
  14951. (lookup_cfa:): Likewise.
  14952. (dwarf2out_end_epilogue): Likewise.
  14953. (dwarf2out_note_section_used): Likewise.
  14954. 2008-05-27 Michael Matz <matz@suse.de>
  14955. PR c++/27975
  14956. * c.opt (Wenum-compare): New warning option.
  14957. * doc/invoke.texi (Warning Options): Document -Wenum-compare.
  14958. 2008-05-27 Michael Matz <matz@suse.de>
  14959. PR middle-end/36326
  14960. * tree-gimple.c (is_gimple_mem_rhs): Remove work-around for
  14961. non-BLKmode types.
  14962. * tree-tailcall.c (find_tail_calls): Don't mark calls storing
  14963. into memory as tail calls.
  14964. 2008-05-27 Richard Guenther <rguenther@suse.de>
  14965. PR tree-optimization/36339
  14966. * tree-ssa-alias.c (set_initial_properties): Escaped pt_anything
  14967. pointers cause all addressable variables to be call clobbered.
  14968. 2008-05-27 Richard Guenther <rguenther@suse.de>
  14969. PR tree-optimization/36245
  14970. * tree-ssa-address.c (add_to_parts): Deal with non-pointer bases.
  14971. 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>
  14972. * config/s390/s390.md: Replace all occurences of the 'm'
  14973. constraint with 'RT'.
  14974. 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>
  14975. * config/s390/s390.md ("cpu_facility", "enabled"): Attribute
  14976. definitions added.
  14977. ("*movdi_64dfp", "*movdi_64extimm", "*movdi_64"): Merged into
  14978. "*movdi_64".
  14979. ("*anddi3_extimm", "*anddi3"): Merged into "*anddi3".
  14980. ("*iordi3_extimm", "*iordi3"): Merged into "*iordi3".
  14981. ("*xordi3_extimm", "*xordi3"): Merged into "*xordi3".
  14982. 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>
  14983. * reload.c (find_reloads): Skip alternatives according to the
  14984. "enabled" attribute. Constify the constraint variable.
  14985. * recog.c (get_attr_enabled): Add default implementation.
  14986. (extract_insn): Set the alternative_enabled_p array
  14987. in the recog_data struct.
  14988. (preprocess_constraints, constrain_operands): Skip
  14989. alternatives according to the "enabled" attribute
  14990. * recog.h (struct recog_data): New field alternative_enabled_p.
  14991. (skip_alternative): New inline function.
  14992. * regclass.c (record_operand_costs): Check the "enabled" attribute.
  14993. (record_reg_classes): Skip alternative according to the
  14994. "enabled" attribute.
  14995. * doc/md.texi: Add documention for the "enabled" attribute.
  14996. 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>
  14997. * defaults.h (TARGET_MEM_CONSTRAINT): New target macro added.
  14998. * postreload.c (reload_cse_simplify_operands): Replace 'm'
  14999. constraint with TARGET_MEM_CONSTRAINT.
  15000. * recog.c (asm_operand_ok, preprocess_constraints,
  15001. constrain_operands): Likewise.
  15002. * regclass.c (record_reg_classes): Likewise.
  15003. * reload.c (find_reloads, alternative_allows_const_pool_ref): Likewise.
  15004. * reload1.c (maybe_fix_stack_asms): Likewise.
  15005. * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
  15006. * recog.h: Adjust comment.
  15007. * genpreds.c (generic_constraint_letters): Remove 'm' constraint.
  15008. * genoutput.c (note_constraint): Don't emit error for 'm' constraint.
  15009. * doc/md.texi: Add a note to description of 'm' constraint.
  15010. * doc/tm.texi: Document the new TARGET_MEM_CONSTRAINT macro.
  15011. 2008-05-27 Eric Botcazou <ebotcazou@adacore.com>
  15012. * tree-sra.c (sra_type_can_be_decomposed_p) <RECORD_TYPE>: Make sure
  15013. that the bitfield is of integral type before testing its precision.
  15014. 2008-05-27 Trevor Smigiel <trevor_smigiel@playstation.sony.com>
  15015. Sa Liu <saliu@de.ibm.com>
  15016. * config/spu/spu.c (spu_init_libfuncs): Add __multi3, __divti3,
  15017. __modti3, __udivti3, __umodti3 and __udivmodti4.
  15018. * config/spu/t-spu-elf (LIB2FUNCS_STATIC_EXTRA): Add files
  15019. that implement TImode mul and div functions.
  15020. * config/spu/multi3.c: New. Implement __multi3.
  15021. * config/spu/divmodti4.c: New. Implement _udivmodti4 and others.
  15022. * testsuite/gcc.target/spu/muldivti3.c: New. Test TImode mul and div
  15023. functions on SPU.
  15024. 2008-05-26 Steven Bosscher <stevenb.gcc@gmail.com>
  15025. * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Generate
  15026. new tls_gd_* and tls_ld_* insns instead of an insn sequence.
  15027. * config/rs6000/rs6000.md (TLSmode, tls_abi_suffix, tls_insn_suffix,
  15028. tls_sysv_suffix): New mode and mode attribute iterators.
  15029. (tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64): Remove.
  15030. (lts_gd_aix*, tls_gd_sysv*, tls_ld_aix*, tls_ld_sysv*): New patterns.
  15031. (tls_dtprel_*, tls_dtprel_ha_*, tls_dtprel_lo_*, tls_got_dtprel_*,
  15032. tls_tprel_*, tls_tprel_ha_*, tls_tprel_lo_*, tls_got_tprel_*,
  15033. tls_tls_*): Merge 32 bit and 64 bit variants using aforementioned
  15034. iterators.
  15035. 2008-05-26 Eric Botcazou <ebotcazou@adacore.com>
  15036. PR tree-optimization/36329
  15037. * tree.h (CALL_CANNOT_INLINE_P): Add access check.
  15038. * tree-gimple.h (CALL_STMT_CANNOT_INLINE_P): New macro.
  15039. * cgraphbuild.c (initialize_inline_failed): Use the latter
  15040. macro in lieu of the former.
  15041. * ipa-inline.c (cgraph_mark_inline): Likewise.
  15042. (cgraph_decide_inlining_of_small_function): Likewise.
  15043. (cgraph_decide_inlining): Likewise.
  15044. (cgraph_decide_inlining_incrementally): Likewise.
  15045. 2008-05-26 Tristan Gingold <gingold@adacore.com>
  15046. Anatoly Sokolov <aesok@post.ru>
  15047. * config/avr/avr.md ("call_prologue_saves"): Use hi8(gs())/lo8(gs())
  15048. instead of pm_lo8/pm_hi8 to makes this call working on avr6.
  15049. * config/avr/avr.c (expand_prologue): Tune "call_prologue"
  15050. optimization for 'avr6' architecture.
  15051. 2008-05-26 Andy Hutchinson <hutchinsonandy@aim.com>
  15052. PR target/34932
  15053. * config/avr/avr.md (*addhi3_zero_extend2): Remove.
  15054. 2008-05-26 Richard Guenther <rguenther@suse.de>
  15055. * tree-ssa-sccvn.c (expr_has_constants): Declare.
  15056. (visit_reference_op_load): Initialize VN_INFO->has_constants properly.
  15057. 2008-05-26 H.J. Lu <hongjiu.lu@intel.com>
  15058. PR middle-end/36253
  15059. * caller-save.c (insert_restore): Verify alignment of spill space.
  15060. (insert_save): Likewise.
  15061. * cfgexpand.c (LOCAL_ALIGNMENT): Removed.
  15062. * defaults.h (LOCAL_ALIGNMENT): New. Provide default.
  15063. (STACK_SLOT_ALIGNMENT): Likewise.
  15064. * function.c (LOCAL_ALIGNMENT): Removed.
  15065. (get_stack_local_alignment): New.
  15066. (assign_stack_local): Use it. Set alignment on stack slot.
  15067. (assign_stack_temp_for_type): Use get_stack_local_alignment.
  15068. * config/i386/i386.h (LOCAL_ALIGNMENT): Updated.
  15069. (STACK_SLOT_ALIGNMENT): New.
  15070. * config/i386/i386.c (ix86_local_alignment): Handle caller-save
  15071. stack slot in XFmode.
  15072. * doc/tm.texi (STACK_SLOT_ALIGNMENT): New.
  15073. 2008-05-26 Kai Tietz <kai.tietz@onevision.com>
  15074. PR/36321
  15075. * config/i386/i386.md (allocate_stack_worker_64): Make sure
  15076. argument operand in rax isn't removed.
  15077. 2008-05-26 Richard Guenther <rguenther@suse.de>
  15078. PR middle-end/36300
  15079. * fold-const.c (extract_muldiv_1): Use TYPE_OVERFLOW_WRAPS,
  15080. not TYPE_UNSIGNED. Use TYPE_PRECISION instead of GET_MODE_SIZE.
  15081. 2008-05-26 Daniel Franke <franke.daniel@gmail.com>
  15082. PR bootstrap/36331
  15083. * c-cppbuiltin.c (define__GNUC__): Re-add definition of __GNUG__.
  15084. 2008-05-26 Dominique Dhumieres <dominiq@lps.ens.fr>
  15085. * config/darwin-c.c: Include "incpath.h" instead of "c-incpath.h".
  15086. * config/t-darwin: Use "incpath.h" instead of "c-incpath.h".
  15087. 2008-05-25 Eric Botcazou <ebotcazou@adacore.com>
  15088. * tree-nested.c (convert_tramp_reference) <ADDR_EXPR>: Do not
  15089. build a trampoline if we don't want one.
  15090. * varasm.c (initializer_constant_valid_p) <ADDR_EXPR>: Do not
  15091. return zero for nested functions if we don't want a trampoline.
  15092. 2008-05-26 Daniel Franke <franke.daniel@gmail.com>
  15093. * doc/invoke.texi: Added f77, f77-cpp-input to list of file types.
  15094. 2008-05-26 Daniel Franke <franke.daniel@gmail.com>
  15095. PR fortran/18428
  15096. * c.opt: Removed undocumented option '-lang-fortran'.
  15097. * c-common.h: Removed global variable 'lang_fortran'.
  15098. * c-opts.c (c_common_handle_option): Removed code to handle
  15099. option '-lang-fortran'. Updated includes.
  15100. * c-cppbuiltin.c (c_cpp_builtins): Removed conditional
  15101. definition of '__GFORTRAN__'.
  15102. (define__GNUC__): Reimplemented to use BASEVER and
  15103. cpp_define_formatted.
  15104. (builtin_define_with_value_n): Removed.
  15105. * c-incpath.h: Renamed to ...
  15106. * incpath.h: ... this.
  15107. * c-incpath.c: Renamed to ...
  15108. * incpath.c: ... this. Updated includes.
  15109. * fix-header.c: Updated includes.
  15110. * Makefile.in: Replaced c-incpath.[ch] by incpath.[ch].
  15111. (c-cppbuiltin.o): Added dependency on and definition of BASEVER.
  15112. (OBJ-archive): Added cppdefault.o, incpath.o and prefix.o.
  15113. 2008-05-25 Eric Botcazou <ebotcazou@adacore.com>
  15114. * tree.h: Update the table of flags used on tree nodes.
  15115. (TREE_NO_TRAMPOLINE): New accessor for static_flag.
  15116. (SAVE_EXPR_RESOLVED_P): Use automatically-built access check.
  15117. (FORCED_LABEL): Add access check.
  15118. (CALL_EXPR_RETURN_SLOT_OPT): Likewise.
  15119. (ASM_INPUT_P): Likewise.
  15120. (ASM_VOLATILE_P): Likewise.
  15121. (EH_FILTER_MUST_NOT_THROW): Access static_flag directly.
  15122. (OMP_SECTION_LAST): Access private_flag directly.
  15123. (OMP_RETURN_NOWAIT): Likewise.
  15124. (OMP_PARALLEL_COMBINED): Likewise.
  15125. (OMP_CLAUSE_PRIVATE_DEBUG): Access public_flag directly.
  15126. (OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE): Likewise.
  15127. * tree-ssa-propagate.c (STMT_IN_SSA_EDGE_WORKLIST): Access
  15128. deprecated_flag directly.
  15129. 2008-05-25 H.J. Lu <hongjiu.lu@intel.com>
  15130. * final.c (frame_pointer_needed): Removed.
  15131. * flags.h (frame_pointer_needed): Likewise.
  15132. * function.h (rtl_data): Add frame_pointer_needed.
  15133. (frame_pointer_needed): New.
  15134. 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
  15135. * config.gcc (sh2[lbe]*-*-linux*): Allow target.
  15136. 2008-05-25 Steven Bosscher <stevenb.gcc@gmail.com>
  15137. * gcse.c (hash_scan_set): Do not pick up a REG_EQUAL value if
  15138. SRC is a REG.
  15139. 2008-05-25 Alan Modra <amodra@bigpond.net.au>
  15140. * c-common.c (strip_array_types): Move function to..
  15141. * tree.c: ..here.
  15142. (get_inner_array_type): Delete.
  15143. * c-common.h (strip_array_types): Move declaration to..
  15144. * tree.h: ..here.
  15145. (get_inner_array_type): Delete.
  15146. * config/i386/i386.c (x86_field_alignment): Use strip_array_types.
  15147. * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Likewise.
  15148. * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
  15149. * config/pa/pa.c (emit_move_sequence): Likewise.
  15150. 2008-05-24 H.J. Lu <hongjiu.lu@intel.com>
  15151. * config/i386/i386.md (*sse_prologue_save_insn): Set length
  15152. attribute to 34.
  15153. 2008-05-24 Andy Hutchinson <hutchinsonandy@aim.com>
  15154. * function.c: Include target hook for nonlocal_goto frame value.
  15155. 2008-05-24 Richard Guenther <rguenther@suse.de>
  15156. * tree-dfa.c (refs_may_alias_p): Re-instantiate case that a scalar
  15157. variable can be only accessed through a pointer or a union.
  15158. 2008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15159. * builtins.c (fold_builtin_fpclassify): Fix spelling of FP_INFINITE.
  15160. * doc/extend.texi: Likewise.
  15161. 2008-05-23 DJ Delorie <dj@redhat.com>
  15162. * config/m32c/jump.md (untyped_call): Add.
  15163. * config/m32c/m32c.c (m32c_return_addr_rtx): Change pointer type
  15164. for A24 to PSImode.
  15165. (m32c_address_cost): Detail costs for indirect offsets.
  15166. 2008-05-23 Rafael Espíndola <espindola@google.com>
  15167. * see.c (see_get_extension_data): Don't use SUBREG_REG to test
  15168. if a node is a SUBREG.
  15169. (see_analyze_one_def): Don't use SUBREG_REG to test if a node
  15170. is a SUBREG.
  15171. 2008-05-23 Paul Brook <paul@codesourcery.com>
  15172. Carlos O'Donell <carlos@codesourcery.com>
  15173. * doc/extend.texi: Clarify use of __attribute__((naked)).
  15174. * doc/tm.texi: Document TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS.
  15175. * target.h (gcc_target): Add allocate_stack_slots_for_args.
  15176. * function.c (use_register_for_decl): Use
  15177. targetm.calls.allocate_stack_slots_for_args.
  15178. * target-def.h (TARGET_CALLS): Add TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS.
  15179. * config/arm/arm.c (arm_allocate_stack_slots_for_args): New function.
  15180. (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Define.
  15181. 2008-05-23 Eric Botcazou <ebotcazou@adacore.com>
  15182. * expr.c (highest_pow2_factor) <BIT_AND_EXPR>: New case.
  15183. 2008-05-23 Steven Munroe <sjmunroe@us.ibm.com>
  15184. * config/rs6000/darwin-ldouble.c (fmsub): Eliminate the full
  15185. PACK/UNPACK between FP_SUB_Q and FD_TRUNC so that the result
  15186. is only rounded once.
  15187. 2008-05-23 Richard Guenther <rguenther@suse.de>
  15188. * tree-ssa-operands.c (mark_difference_for_renaming): Use bitmap_xor.
  15189. 2008-05-23 Uros Bizjak <ubizjak@gmail.com>
  15190. Jakub Jelinek <jakub@redhat.com>
  15191. PR target/36079
  15192. * configure.ac: Handle --enable-cld.
  15193. * configure: Regenerated.
  15194. * config.gcc: Add USE_IX86_CLD to tm_defines for x86 targets.
  15195. * config/i386/i386.h (struct machine_function): Add needs_cld field.
  15196. (ix86_current_function_needs_cld): New define.
  15197. * config/i386/i386.md (UNSPEC_CLD): New unspec volatile constant.
  15198. (cld): New isns pattern.
  15199. (strmov_singleop, rep_mov, strset_singleop, rep_stos, cmpstrnqi_nz_1,
  15200. cmpstrnqi_1, strlenqi_1): Set ix86_current_function_needs_cld flag.
  15201. * config/i386/i386.opt (mcld): New option.
  15202. * config/i386/i386.c (ix86_expand_prologue): Emit cld insn if
  15203. TARGET_CLD and ix86_current_function_needs_cld.
  15204. (override_options): Use -mcld by default for 32-bit code if
  15205. USE_IX86_CLD.
  15206. * doc/install.texi (Options specification): Document --enable-cld.
  15207. * doc/invoke.texi (Machine Dependent Options)
  15208. [i386 and x86-64 Options]: Add -mcld option.
  15209. (Intel 386 and AMD x86-64 Options): Document -mcld option.
  15210. 2008-05-23 Kai Tietz <kai.tietz@onevison.com>
  15211. * config/i386/i386.c (return_in_memory_32): Add ATTRIBUTE_UNUSED.
  15212. (return_in_memory_64): Likewise.
  15213. (return_in_memory_ms_64): Likewise.
  15214. 2008-05-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15215. * builtin-types.def (BT_FN_INT_INT_INT_INT_INT_INT_VAR): New.
  15216. * builtins.c (fold_builtin_fpclassify): New.
  15217. (fold_builtin_varargs): Handle BUILT_IN_FPCLASSIFY.
  15218. * builtins.def (BUILT_IN_FPCLASSIFY): New.
  15219. * c-common.c (handle_type_generic_attribute): Adjust to accept
  15220. fixed arguments before an elipsis.
  15221. (check_builtin_function_arguments): Handle BUILT_IN_FPCLASSIFY.
  15222. * doc/extend.texi: Document __builtin_fpclassify.
  15223. 2008-05-22 Aldy Hernandez <aldyh@redhat.com>
  15224. * omp-low.c (gate_expand_omp_ssa): Remove.
  15225. (pass_expand_omp_ssa): Remove.
  15226. (gate_expand_omp): Do not check for flag_openmp_ssa.
  15227. * common.opt (-fopenmp-ssa): Remove.
  15228. * passes.c (init_optimization_passes): Remove pass_expand_omp_ssa.
  15229. 2008-05-22 Kaz Kojima <kkojima@gcc.gnu.org>
  15230. * config/sh/sh.opt (mfixed-range): New option.
  15231. * config/sh/sh-protos.h (sh_fix_range): Declare.
  15232. * config/sh/sh.c (sh_fix_range): New function.
  15233. * config/sh/sh.h (sh_fixed_range_str): Declare.
  15234. (OVERRIDE_OPTIONS): Call sh_fix_range if sh_fixed_range_str
  15235. is not empty.
  15236. * doc/invoke.texi (SH Options): Document -mfixed-range.
  15237. 2008-05-22 Kai Tietz <kai.tietz@onevision.com>
  15238. * config/i386/sol2-10.h (SUBTARGET_RETURN_IN_MEMORY): Undefine
  15239. it before the redeclaration.
  15240. 2008-05-22 Anatoly Sokolov <aesok@post.ru>
  15241. * config/avr/avr.c (get_sequence_length): Add new function.
  15242. (expand_prologue, expand_epilogue): Remove duplicate code.
  15243. 2008-05-22 Rafael Espíndola <espindola@google.com>
  15244. * see.c (see_pre_insert_extensions): Use copy_rtx to avoid invalid rtx
  15245. sharing.
  15246. 2008-05-22 H.J. Lu <hongjiu.lu@intel.com>
  15247. * defaults.h (UNITS_PER_SIMD_WORD): Add scalar mode as argument.
  15248. * doc/tm.texi (UNITS_PER_SIMD_WORD): Likewise.
  15249. * tree-vect-analyze.c (vect_compute_data_ref_alignment): Replace
  15250. UNITS_PER_SIMD_WORD with GET_MODE_SIZE (TYPE_MODE (vectype)).
  15251. (vect_update_misalignment_for_peel): Likewise.
  15252. (vector_alignment_reachable_p): Likewise.
  15253. * tree-vect-transform.c (vectorizable_load): Likewise.
  15254. * tree-vectorizer.c (vect_supportable_dr_alignment): Likewise.
  15255. (get_vectype_for_scalar_type): Pass mode of scalar_type
  15256. to UNITS_PER_SIMD_WORD.
  15257. * config/arm/arm.h (UNITS_PER_SIMD_WORD): Updated.
  15258. * config/i386/i386.h (UNITS_PER_SIMD_WORD): Likewise.
  15259. * config/mips/mips.h (UNITS_PER_SIMD_WORD): Likewise.
  15260. * config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Likewise.
  15261. * config/sparc/sparc.h (UNITS_PER_SIMD_WORD): Likewise.
  15262. 2008-05-22 Ira Rosen <irar@il.ibm.com>
  15263. PR tree-optimization/36293
  15264. * tree-vect-transform.c (vect_transform_strided_load): Don't check
  15265. if the first load must be skipped because of a gap.
  15266. 2008-05-22 Richard Guenther <rguenther@suse.de>
  15267. * tree-dfa.c (refs_may_alias_p): Exit early if possible. Handle
  15268. more cases of offset disambiguation that is possible if
  15269. strict-aliasing rules apply.
  15270. * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use refs_may_alias_p
  15271. for basic offset and type-based disambiguation.
  15272. 2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
  15273. * config/i386/i386.c (ix86_expand_vector_init_one_var): Use
  15274. ix86_expand_vector_set on V16QImode for SSE4.1.
  15275. 2008-05-21 Tom Tromey <tromey@redhat.com>
  15276. * c.opt (Wimport): Mark as undocumented.
  15277. * doc/invoke.texi (Option Summary): Don't mention -Wimport or
  15278. -Wno-import.
  15279. (Warning Options): Likewise.
  15280. * doc/cppopts.texi: Don't mention -Wimport.
  15281. 2008-05-21 Sebastian Pop <sebastian.pop@amd.com>
  15282. PR tree-optimization/36287
  15283. PR tree-optimization/36286
  15284. * lambda-code.c (build_access_matrix): Do not use the loop->num
  15285. for computing the number of induction variables: use the loop depth
  15286. instead.
  15287. 2008-05-21 Kai Tietz <kai.tietz@onevision.com>
  15288. PR/36280
  15289. * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Honor
  15290. option -f(no-)leading-underscore.
  15291. 2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
  15292. * config/i386/i386.c (ix86_expand_vector_init_general): Use
  15293. GET_MODE_NUNITS (mode).
  15294. 2008-05-21 Peter Bergner <bergner@vnet.ibm.com>
  15295. * doc/invoke.texi: Add cpu_type's 464 and 464fp.
  15296. (-mmulhw): Add 464 to description.
  15297. (-mdlmzb): Likewise.
  15298. * config.gcc: Handle --with-cpu=464 and --with-cpu=464fp.
  15299. * config/rs6000/rs6000.c (processor_target_table): Add 464 and
  15300. 464fp entries.
  15301. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 464 and 464fp support.
  15302. * config/rs6000/t-fprules (MULTILIB_MATCHES_FLOAT): Include -mcpu=464.
  15303. * config/rs6000/rs6000.md: Update comments for 464.
  15304. 2008-05-21 Janis Johnson <janis187@us.ibm.com>
  15305. * doc/sourcebuild.texi (Test Directives): Add dg-xfail-run-if.
  15306. 2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
  15307. * config/i386/sse.md (vec_extractv4sf): Removed.
  15308. (vec_extractv2df): Likewise.
  15309. (vec_extractv2di): Likewise.
  15310. (vec_extractv4si): Likewise.
  15311. (vec_extractv8hi): Likewise.
  15312. (vec_extractv16qi): Likewise.
  15313. (vec_extract<mode>): New.
  15314. 2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
  15315. * config/i386/sse.md (vec_setv4sf): Removed.
  15316. (vec_setv2df): Likewise.
  15317. (vec_setv2di): Likewise.
  15318. (vec_setv4si): Likewise.
  15319. (vec_setv8hi): Likewise.
  15320. (vec_setv16qi): Likewise.
  15321. (vec_set<mode>): New.
  15322. 2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
  15323. * config/i386/i386.c (ix86_expand_vector_init_general): Remove
  15324. goto for vec_concat and vec_interleave.
  15325. 2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
  15326. * config/i386/sse.md (vec_initv4sf): Removed.
  15327. (vec_initv2df): Likewise.
  15328. (vec_initv2di): Likewise.
  15329. (vec_initv4si): Likewise.
  15330. (vec_initv8hi): Likewise.
  15331. (vec_initv16qi): Likewise.
  15332. (vec_init<mode>): New.
  15333. 2008-05-21 Joseph Myers <joseph@codesourcery.com>
  15334. * collect2.c (find_a_file): Use IS_ABSOLUTE_PATH.
  15335. 2008-05-21 Tom Tromey <tromey@redhat.com>
  15336. * ggc-zone.c (lookup_page_table_if_allocated): New function.
  15337. (zone_find_object_offset): Likewise.
  15338. (gt_ggc_m_S): Likewise.
  15339. (highest_bit): Likewise.
  15340. * ggc-page.c (gt_ggc_m_S): New function.
  15341. * stringpool.c (string_stack): Remove.
  15342. (init_stringpool): Update.
  15343. (ggc_alloc_string): Use ggc_alloc.
  15344. (maybe_delete_ident): New function.
  15345. (ggc_purge_stringpool): Likewise.
  15346. (gt_ggc_m_S): Remove.
  15347. * ggc-common.c (ggc_protect_identifiers): New global.
  15348. (ggc_mark_roots): Call ggc_purge_stringpool. Use
  15349. ggc_protect_identifiers.
  15350. * ggc.h (ggc_protect_identifiers): Declare.
  15351. (gt_ggc_m_S): Update.
  15352. (ggc_purge_stringpool): Declare.
  15353. * toplev.c (compile_file): Set and reset ggc_protect_identifiers.
  15354. * gengtype.c (write_types_process_field) <TYPE_STRING>: Remove
  15355. special case.
  15356. (write_root): Cast gt_ggc_m_S to gt_pointer_walker.
  15357. 2008-05-21 David S. Miller <davem@davemloft.net>
  15358. * config.gcc (sparc-*-linux*): Always include sparc/t-linux in
  15359. tmake_file.
  15360. 2008-05-21 Eric Botcazou <ebotcazou@adacore.com>
  15361. * cfgexpand.c (tree_expand_cfg): Zap the EH throw statement table
  15362. once finished.
  15363. 2008-05-20 David Daney <ddaney@avtrex.com>
  15364. * config/mips/mips.md (UNSPEC_SYNC_NEW_OP_12,
  15365. UNSPEC_SYNC_OLD_OP_12, UNSPEC_SYNC_EXCHANGE_12): New define_constants.
  15366. (UNSPEC_SYNC_EXCHANGE, UNSPEC_MEMORY_BARRIER, UNSPEC_SET_GOT_VERSION,
  15367. UNSPEC_UPDATE_GOT_VERSION): Renumber.
  15368. (optab, insn): Add 'plus' and 'minus' to define_code_attr.
  15369. (atomic_hiqi_op): New define_code_iterator.
  15370. (sync_compare_and_swap<mode>): Call mips_expand_atomic_qihi instead of
  15371. mips_expand_compare_and_swap_12.
  15372. (compare_and_swap_12): Use MIPS_COMPARE_AND_SWAP_12 instead of
  15373. MIPS_COMPARE_AND_SWAP_12_0. Pass argument to MIPS_COMPARE_AND_SWAP_12.
  15374. (sync_<optab><mode>, sync_old_<optab><mode>,
  15375. sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
  15376. sync_new_nand<mode>): New define_expands for HI and QI mode operands.
  15377. (sync_<optab>_12, sync_old_<optab>_12, sync_new_<optab>_12,
  15378. sync_nand_12, sync_old_nand_12, sync_new_nand_12): New insns.
  15379. (sync_lock_test_and_set<mode>): New define_expand for HI and QI modes.
  15380. (test_and_set_12): New insn.
  15381. (sync_old_add<mode>, sync_new_add<mode>, sync_old_<optab><mode>,
  15382. sync_new_<optab><mode>, sync_old_nand<mode>,
  15383. sync_new_nand<mode>, sync_lock_test_and_set<mode>): Add early
  15384. clobber to operand 0 for SI and DI mode insns.
  15385. * config/mips/mips-protos.h (mips_gen_fn_6, mips_gen_fn_5,
  15386. mips_gen_fn_4): New typedefs.
  15387. (mips_gen_fn_ptrs): Define new union type.
  15388. (mips_expand_compare_and_swap_12): Remove declaration.
  15389. (mips_expand_atomic_qihi): Declare function.
  15390. * config/mips/mips.c (mips_expand_compare_and_swap_12): Rename to...
  15391. (mips_expand_atomic_qihi): ... this. Use new generator function
  15392. parameter.
  15393. * config/mips/mips.h (MIPS_COMPARE_AND_SWAP_12): Add OPS parameter.
  15394. (MIPS_COMPARE_AND_SWAP_12_0): Delete macro.
  15395. (MIPS_COMPARE_AND_SWAP_12_ZERO_OP, MIPS_COMPARE_AND_SWAP_12_NONZERO_OP,
  15396. MIPS_SYNC_OP_12, MIPS_SYNC_OP_12_NOT_NOP,
  15397. MIPS_SYNC_OP_12_NOT_NOT, MIPS_SYNC_OLD_OP_12,
  15398. MIPS_SYNC_OLD_OP_12_NOT_NOP, MIPS_SYNC_OLD_OP_12_NOT_NOP_REG,
  15399. MIPS_SYNC_OLD_OP_12_NOT_NOT, MIPS_SYNC_OLD_OP_12_NOT_NOT_REG,
  15400. MIPS_SYNC_NEW_OP_12, MIPS_SYNC_NEW_OP_12_NOT_NOP,
  15401. MIPS_SYNC_NEW_OP_12_NOT_NOT, MIPS_SYNC_EXCHANGE_12,
  15402. MIPS_SYNC_EXCHANGE_12_ZERO_OP, MIPS_SYNC_EXCHANGE_12_NONZERO_OP):
  15403. New macros.
  15404. 2008-05-20 H.J. Lu <hongjiu.lu@intel.com>
  15405. * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Add
  15406. the missing break.
  15407. 2008-05-20 Anatoly Sokolov <aesok@post.ru>
  15408. * config/avr/avr.h (machine_function): Add 'is_OS_main' field.
  15409. * config/avr/avr.c (avr_OS_main_function_p): Add new function.
  15410. (avr_attribute_table): Add 'OS_main' function attribute.
  15411. (avr_regs_to_save, expand_prologue, expand_epilogue): Handle
  15412. functions with 'OS_main' attribute.
  15413. 2008-05-20 Richard Guenther <rguenther@suse.de>
  15414. PR tree-optimization/35204
  15415. * tree-ssa-sccvn.c (extract_and_process_scc_for_name): New
  15416. helper, split out from ...
  15417. (DFS): ... here. Make the DFS walk non-recursive.
  15418. 2008-05-20 Sebastian Pop <sebastian.pop@amd.com>
  15419. Jan Sjodin <jan.sjodin@amd.com>
  15420. PR tree-optimization/36181
  15421. * tree-parloops.c (loop_has_vector_phi_nodes): New.
  15422. (parallelize_loops): Don't parallelize when the loop has vector
  15423. phi nodes.
  15424. 2008-05-20 Jan Sjodin <jan.sjodin@amd.com>
  15425. Sebastian Pop <sebastian.pop@amd.com>
  15426. * tree-loop-linear.c (gather_interchange_stats): Look in the access
  15427. matrix, and never look at the tree representation of the memory
  15428. accesses.
  15429. (linear_transform_loops): Computes parameters and access matrices.
  15430. * tree-data-ref.c (compute_data_dependences_for_loop): Returns false
  15431. when fails.
  15432. (access_matrix_get_index_for_parameter): New.
  15433. * tree-data-ref.h (struct access_matrix): New.
  15434. (AM_LOOP_NEST_NUM, AM_NB_INDUCTION_VARS, AM_PARAMETERS, AM_MATRIX,
  15435. AM_NB_PARAMETERS, AM_CONST_COLUMN_INDEX, AM_NB_COLUMNS,
  15436. AM_GET_SUBSCRIPT_ACCESS_VECTOR, AM_GET_ACCESS_MATRIX_ELEMENT,
  15437. am_vector_index_for_loop): New.
  15438. (struct data_reference): Add field access_matrix.
  15439. (DR_ACCESS_MATRIX): New.
  15440. (compute_data_dependences_for_loop): Update declaration.
  15441. (lambda_collect_parameters, lambda_compute_access_matrices): Declared.
  15442. * lambda.h (lambda_vector_vec_p): Declared.
  15443. * lambda-code.c: Depend on pointer-set.h.
  15444. (lambda_collect_parameters_from_af, lambda_collect_parameters,
  15445. av_for_af_base, av_for_af, build_access_matrix,
  15446. lambda_compute_access_matrices): New.
  15447. * Makefile.in (lambda-code.o): Depend on pointer-set.h.
  15448. 2008-05-20 Joseph Myers <joseph@codesourcery.com>
  15449. * doc/install.texi2html: Generate gcc-vers.texi in $DESTDIR not
  15450. $SOURCEDIR/include.
  15451. 2008-05-20 Jan Sjodin <jan.sjodin@amd.com>
  15452. Sebastian Pop <sebastian.pop@amd.com>
  15453. PR tree-optimization/36206
  15454. * tree-scalar-evolution.c: Remove enum INSERT_SUPERLOOP_CHRECS,
  15455. FOLD_CONVERSIONS.
  15456. (instantiate_scev_1): Rename flags to fold_conversions.
  15457. Do not check for INSERT_SUPERLOOP_CHRECS, keep SSA_NAMEs defined
  15458. outeside instantiation_loop.
  15459. * tree-chrec.h (evolution_function_is_affine_in_loop): New.
  15460. (evolution_function_is_affine_or_constant_p): Removed.
  15461. * tree-data-ref.c (dr_analyze_indices): Replace resolve_mixers with
  15462. instantiate_scev.
  15463. (analyze_siv_subscript): Pass in the loop nest number.
  15464. Call evolution_function_is_affine_in_loop instead of
  15465. evolution_function_is_affine_p.
  15466. (analyze_overlapping_iterations): Pass in the loop nest number.
  15467. 2008-05-20 Jan Sjodin <jan.sjodin@amd.com>
  15468. Sebastian Pop <sebastian.pop@amd.com>
  15469. PR tree-optimization/36206
  15470. * tree-chrec.h (chrec_fold_op): New.
  15471. * tree-data-ref.c (initialize_matrix_A): Traverse NOP_EXPR, PLUS_EXPR,
  15472. and other trees.
  15473. 2008-05-20 Nathan Sidwell <nathan@codesourcery.com>
  15474. * c-incpath.c (INO_T_EQ): Do not define on non-inode systems.
  15475. (DIRS_EQ): New.
  15476. (remove_duplicates): Do not set inode on non-inode systems.
  15477. Use DIRS_EQ.
  15478. 2008-05-20 Sandra Loosemore <sandra@codesourcery.com>
  15479. * config.gcc (tm_file): Update comments about relative pathnames.
  15480. 2008-05-20 Richard Guenther <rguenther@suse.de>
  15481. * tree-ssa-reassoc.c (fini_reassoc): Use the statistics infrastructure.
  15482. * tree-ssa-sccvn.c (process_scc): Likewise.
  15483. * tree-ssa-sink.c (execute_sink_code): Likewise.
  15484. * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
  15485. * tree-vrp.c (process_assert_insertions): Likewise.
  15486. * tree-ssa-dce.c (eliminate_unnecessary_stmts): Likewise.
  15487. (perform_tree_ssa_dce): Likewise.
  15488. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
  15489. (dump_dominator_optimization_stats): Likewise.
  15490. * tree-vectorizer.c (vectorize_loops): Likewise.
  15491. 2008-05-20 Richard Guenther <rguenther@suse.de>
  15492. * tree-vn.c (vn_lookup_with_vuses): Do not use the alias oracle.
  15493. 2008-05-20 Kai Tietz <kai.tietz@onevision.com>
  15494. * config/i386/i386-protos.h (ix86_return_in_memory): Removed.
  15495. (ix86_i386elf_return_in_memory): Likewise.
  15496. (ix86_i386interix_return_in_memory): Likewise.
  15497. * config/i386/i386-interix.h (TARGET_RETURN_IN_MEMORY): Removed.
  15498. (SUBTARGET_RETURN_IN_MEMORY): New.
  15499. * config/i386/i386elf.h: Likewise.
  15500. * config/i386/ptx4-i.h: Likewise.
  15501. * config/i386/sol2-10.h: Likewise.
  15502. * config/i386/sysv4.h: Likewise.
  15503. * config/i386/vx-common.h: Likewise.
  15504. * config/i386/i386.h (TARGET_RETURN_IN_MEMORY): Removed.
  15505. * config/i386/i386.c (ix86_return_in_memory): Made static and
  15506. make use of optional SUBTARGET_RETURN_IN_MEMORY macro.
  15507. (ix86_i386elf_return_in_memory): Removed.
  15508. (ix86_i386interix_return_in_memory): Removed.
  15509. (TARGET_RETURN_IN_MEMORY): Declared within i386.c only.
  15510. * target-def.h (TARGET_RETURN_IN_MEMORY): Remove protection #ifdef.
  15511. 2008-05-20 Alexandre Oliva <aoliva@redhat.com>
  15512. * cselib.c (cselib_record_sets): Use correct mode for IF_THEN_ELSE.
  15513. 2008-05-19 Xinliang David Li <davidxl@google.com>
  15514. * tree-ssa-dce.c: Revert patches of 2008-05-17 and 2008-05-18.
  15515. * opts.c: Ditto.
  15516. * common.opt: Ditto.
  15517. * doc/invoke.texi: Ditto.
  15518. 2008-05-19 Eric Botcazou <ebotcazou@adacore.com>
  15519. * tree.c (substitute_in_expr) <tcc_vl_exp>: Fix thinko.
  15520. (substitute_placeholder_in_expr) <tcc_vl_exp>: Minor tweak.
  15521. 2008-05-19 H.J. Lu <hongjiu.lu@intel.com>
  15522. * config/i386/i386.c (ix86_expand_vector_init_concat): Change
  15523. sizes of operand array from 8/4 to 4/2.
  15524. (ix86_expand_vector_init_general): Change size of operand array
  15525. from 32 to 16. Remove op0, op1 and half_mode.
  15526. 2008-05-19 H.J. Lu <hongjiu.lu@intel.com>
  15527. * config/i386/i386.c (ix86_expand_vector_init_concat): New.
  15528. (ix86_expand_vector_init_interleave): Likewise.
  15529. (ix86_expand_vector_init_general): Use them. Assert
  15530. word_mode == SImode when n_words == 4.
  15531. 2008-05-19 Uros Bizjak <ubizjak@gmail.com>
  15532. * config/i386/i386.c (ix86_secondary_reload): New static function.
  15533. (TARGET_SECONDARY_RELOAD): New define.
  15534. * config/i386/i386.h (SECONDARY_OUTPUT_RELOAD_CLASS): Remove.
  15535. * config/i386/i386.md (reload_outqi): Remove.
  15536. 2008-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15537. PR middle-end/35509
  15538. * builtins.c (mathfn_built_in_1): Renamed from mathfn_built_in.
  15539. Add `implicit' parameter. Handle BUILT_IN_SIGNBIT.
  15540. (mathfn_built_in): Rewrite in terms of mathfn_built_in_1.
  15541. (fold_builtin_classify): Handle BUILT_IN_ISINF_SIGN.
  15542. (fold_builtin_1): Likewise.
  15543. * builtins.def (BUILT_IN_ISINF_SIGN): New.
  15544. c-common.c (check_builtin_function_arguments): Handle
  15545. BUILT_IN_ISINF_SIGN.
  15546. * doc/extend.texi: Document __builtin_isinf_sign.
  15547. * fold-const.c (operand_equal_p): Handle COND_EXPR.
  15548. 2008-05-18 Eric Botcazou <ebotcazou@adacore.com>
  15549. * tree-ssa-dom.c (tree_ssa_dominator_optimize): If some blocks need
  15550. EH cleanup at the end of the pass, search for those that have been
  15551. turned into forwarder blocks and do the cleanup on their successor.
  15552. 2008-05-18 Richard Guenther <rguenther@suse.de>
  15553. * tree-cfg.c (verify_gimple_expr): Allow conversions from
  15554. pointers to sizetype and vice versa.
  15555. 2008-05-18 Xinliang David Li <davidxl@google.com>
  15556. * gcc/tree-ssa-dce.c: Coding style fix.
  15557. (check_pow): Documentation comment.
  15558. (check_log): Documenation comment. Coding style fix.
  15559. (is_unnecessary_except_errno_call): Ditto.
  15560. (gen_conditions_for_pow): Ditto.
  15561. (gen_conditions_for_log): Ditto.
  15562. (gen_shrink_wrap_conditions): Ditto.
  15563. (shrink_wrap_one_built_in_calls): Ditto.
  15564. * gcc/doc/invoke.texi: Better documentation string.
  15565. * ChangeLog: Fix wrong change log entries from
  15566. May 17 checkin on function call DCE.
  15567. 2008-05-17 Kaz Kojima <kkojima@gcc.gnu.org>
  15568. * config/sh/sh.c (sh_output_mi_thunk): Update the use of init_flow.
  15569. 2008-05-17 Kenneth Zadeck <zadeck@naturalbridge.com>
  15570. * doc/rtl.texi (RTL_CONST_CALL_P, RTL_PURE_CALL_P): Fixed typos.
  15571. * df-problems.c (simulation routines): Fixed block comment to
  15572. properly say how to add forwards scanning functions.
  15573. 2008-05-17 Eric Botcazou <ebotcazou@adacore.com>
  15574. * tree-inline.c (setup_one_parameter): Remove dead code.
  15575. 2008-05-17 Eric Botcazou <ebotcazou@adacore.com>
  15576. * fold-const.c (fold_unary) <CASE_CONVERT>: Fold the cast into
  15577. a BIT_AND_EXPR only for an INTEGER_TYPE.
  15578. 2008-05-17 Xinliang David Li <davidxl@google.com>
  15579. * gcc/tree-ssa-dce.c (cond_dead_built_in_calls): New static variable.
  15580. (check_pow, check_log, is_unnecessary_except_errno_call): New
  15581. functions to check for eliminating math functions that are pure
  15582. except for setting errno.
  15583. (gen_conditions_for_pow, gen_conditionas_for_log): New functions to
  15584. general condition expressions for shrink-wrapping pow/log calls.
  15585. (gen_shrink_wrap_conditions): Ditto.
  15586. (shrink_wrap_one_built_in_call): Ditto.
  15587. (shrink_wrap_conditional_dead_built_in_calls): Ditto.
  15588. (mark_operand_necessary): If debugging, output if OP is necessary.
  15589. (eliminate_unnecessary_stmts): Eliminate pow, log calls that are
  15590. unnecessary.
  15591. * gcc/opts.c (decode_options): set flag_tree_builtin_dce to 1 when
  15592. opt level >= 2.
  15593. * gcc/common.opt: New user flag -ftree-builtin-dce.
  15594. * gcc/doc/invoke.texi (-ftree-builtin-dce): New option.
  15595. 2008-05-16 David S. Miller <davem@davemloft.net>
  15596. * config/sparc/linux.h (NO_PROFILE_COUNTERS): Undef before overriding.
  15597. * config/sparc/linux64.h (NO_PROFILE_COUNTERS): Likewise.
  15598. 2008-05-16 Uros Bizjak <ubizjak@gmail.com>
  15599. PR target/36246
  15600. * config/i386/i386.h (SECONDARY_MEMORY_NEEDED_MODE): New define.
  15601. 2008-05-16 Kenneth Zadeck <zadeck@naturalbridge.com>
  15602. * ifcvt.c (dead_or_predicable): Rename
  15603. df_simulate_one_insn_backwards to df_simulate_one_insn.
  15604. * recog.c (peephole2_optimize): Ditto.
  15605. * rtl-factoring.c (collect_pattern_seqs, clear_regs_live_in_seq):
  15606. Ditto.
  15607. * df.h: Rename df_simulate_one_insn_backwards to
  15608. df_simulate_one_insn. and delete df_simulate_one_insn_forwards.
  15609. * df-problems.c (df_simulate_artificial_refs_at_top) Reversed
  15610. scanning of defs and uses.
  15611. (df_simulate_one_insn_backwards): Renamed to df_simulate_one_insn.
  15612. (df_simulate_one_insn_forwards): Removed.
  15613. 2008-05-16 Doug Kwan <dougkwan@google.com>
  15614. * real.c (real_to_decimal, real_to_hexadecimal): Distinguish
  15615. QNaN & SNaN.
  15616. (real_from_string): Handle NaNs and Inf as approriate.
  15617. 2008-05-16 Nathan Froyd <froydnj@codesourcery.com>
  15618. * doc/gty.texi (Source Files Containing Type Information): Note
  15619. that headers should appear first in the gtfiles list.
  15620. 2008-05-16 Kenneth Zadeck <zadeck@naturalbridge.com>
  15621. * tree.def (COND_EXEC): Properly documented this code.
  15622. 2008-05-16 Diego Novillo <dnovillo@google.com>
  15623. * dwarf2asm.c (dw2_assemble_integer): Clarify comment.
  15624. * tree-nested.c (get_trampoline_type): Set DECL_CONTEXT for
  15625. the new field.
  15626. 2008-05-16 Kenneth Zadeck <zadeck@naturalbridge.com>
  15627. * tree-ssa-dse (max_stmt_uid): Removed.
  15628. (get_stmt_uid, dse_possible_dead_store_p, dse_optimize_stmt,
  15629. tree_ssa_dse): Encapsulate all uses of stmt_ann->uid.
  15630. * tree-ssa-sccvn.c (compare_ops, init_scc_vn): Ditto.
  15631. * function.h (cfun.last_stmt_uid): New field.
  15632. * tree-flow-inline.h (set_gimple_stmt_uid, gimple_stmt_uid,
  15633. gimple_stmt_max_uid, set_gimple_stmt_max_uid, inc_gimple_stmt_max_uid):
  15634. New functions.
  15635. * tree-dfa.c (renumber_gimple_stmt_uids): New function.
  15636. (create_stmt_ann): Initialize the ann->uid field.
  15637. * tree-ssa-pre.c (compute_avail): Encapsulate the stmt_ann->uid
  15638. with new calls.
  15639. * tree-flow.h (renumber_gimple_stmt_uids): New function.
  15640. 2008-05-16 Nathan Froyd <froydnj@codesourcery.com>
  15641. * tree-flow.h (init_empty_tree_cfg_for_function): Declare.
  15642. * tree-cfg.c (init_empty_tree_cfg_for_function): Define.
  15643. (init_empty_tree_cfg): Call it.
  15644. 2008-05-16 Kenneth Zadeck <zadeck@naturalbridge.com>
  15645. * cfg.c (init_flow): Add argument THE_FUN. Use it instead of cfun.
  15646. Update all users.
  15647. 2008-05-16 Kenneth Zadeck <zadeck@naturalbridge.com>
  15648. * doc/invoke.text (-fdump-tree-*-verbose): New option.
  15649. * tree-dump.c (dump_options): New verbose option.
  15650. * tree-pretty-print.c (dump_phi_nodes, dump_generic_bb_buff):
  15651. Add verbose dump.
  15652. * tree-pass.h (TDF_VERBOSE): New dump flag.
  15653. * print-tree.c (print_node): Added code to be able to print PHI_NODES.
  15654. (tree-flow.h): Added include.
  15655. * Makefile.in (print-tree.o): Added TREE_FLOW_H.
  15656. 2008-05-16 Bernd Schmidt <bernd.schmidt@analog.com>
  15657. * config/bfin/bfin.c (bfin_discover_loops): Delete empty loops.
  15658. From Jie Zhang <jie.zhang@analog.com>
  15659. * config/bfin/t-bfin-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
  15660. MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Remove mcpu=bf532-0.3,
  15661. mcpu=bf561-none and mcpu=bf561-0.2.
  15662. * config/bfin/t-bfin-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
  15663. MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Likewise.
  15664. * config/bfin/t-bfin-linux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
  15665. MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Likewise.
  15666. * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add BFIN_CPU_UNKNOWN.
  15667. * config/bfin/elf.h (STARTFILE_SPEC): Use specific CRT for BF561.
  15668. (LIB_SPEC): Use proper linker script for bf561. Error if no mcpu
  15669. option.
  15670. * config/bfin/bfin.c (bfin_cpu_type): Set to BFIN_CPU_UNKNOWN.
  15671. (cputype_selected): Remove.
  15672. (bfin_handle_option): Don't use cputype_selected.
  15673. (override_options): When no mcpu option, enable all workarounds.
  15674. Don't use bfin_workarounds.
  15675. * config/bfin/bfin.h (DRIVER_SELF_SPECS): Don't set default
  15676. processor type.
  15677. (DEFAULT_CPU_TYPE): Don't define.
  15678. 2008-05-16 Richard Guenther <rguenther@suse.de>
  15679. * tree-ssa-propagate.c (substitute_and_fold): Fix stmt walking
  15680. on deletion of the last stmt.
  15681. 2008-05-15 H.J. Lu <hongjiu.lu@intel.com>
  15682. * config/i386/i386.c (ix86_expand_vector_init_general): Optimize
  15683. V8HImode for SSE2 and V16QImode for SSE4.1.
  15684. 2008-05-15 Kenneth Zadeck <zadeck@naturalbridge.com>
  15685. * cgraph.h (compute_inline_parameters): Made public.
  15686. * tree-pass.h (ipa_opt_pass): Removed function_generate_summary,
  15687. variable_generate_summary, function_write_summary,
  15688. variable_write_summary, variable_read_summary. Added generate_summary,
  15689. write_summary, read_summary.
  15690. * cgraphunit.c (cgraph_process_new_functions): Changed call from
  15691. pass_ipa_inline.function_generate_summary, to
  15692. compute_inline_parameters.
  15693. * ipa-inline.c (compute_inline_parameters): Made public and added
  15694. node parameter.
  15695. (compute_inline_parameters_for_current): New function.
  15696. (pass_inline_param): Now calls compute_inline_parameters_for_current.
  15697. (inline_generate_summary): Removed parameter and made to loop over
  15698. all cgraph nodes.
  15699. (pass_ipa_inline): Updated for new IPA_PASS structure.
  15700. * passes.c (execute_ipa_summary_passes): Now is called once per
  15701. pass rather than once per node*pass.
  15702. 2008-05-15 Anatoly Sokolov <aesok@post.ru>
  15703. * config/avr/avr.c (avr_base_arch_macro, avr_have_movw_lpmx_p,
  15704. avr_have_mul_p, avr_asm_only_p): Remove variables.
  15705. (avr_override_options): Remove initialization of removed variables.
  15706. (avr_file_start): Convert removed variables to fields of
  15707. 'struct base_arch_s *avr_current_arch'.
  15708. * config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): (Ditto.).
  15709. (AVR_HAVE_MUL): (Ditto.).
  15710. (AVR_HAVE_MOVW): (Ditto.).
  15711. (AVR_HAVE_LPMX): (Ditto.).
  15712. (avr_base_arch_macro, avr_have_movw_lpmx_p, avr_have_mul_p,
  15713. avr_asm_only_p): Remove declaration.
  15714. 2008-05-15 Diego Novillo <dnovillo@google.com>
  15715. * config/arm/arm.c (arm_return_in_memory): Fix return type.
  15716. * config/arm/arm-protos.h (arm_return_in_memory): Likewise.
  15717. 2008-05-15 Adam Nemet <anemet@caviumnetworks.com>
  15718. PR middle-end/36194
  15719. * combine.c (check_conversion): Rename back to check_promoted_subreg.
  15720. Don't call record_truncated_value from here.
  15721. (record_truncated_value): Turn it into a for_each_rtx callback.
  15722. (record_truncated_values): New function.
  15723. (combine_instructions): Call note_uses with record_truncated_values.
  15724. Change name of check_conversion to check_promoted_subreg.
  15725. 2008-05-15 Janis Johnson <janis187@us.ibm.com>
  15726. * doc/sourcebuild.texi: Document support for torture tests.
  15727. 2008-05-15 Uros Bizjak <ubizjak@gmail.com>
  15728. * config/i386/sse.md (*vec_concatv2sf_sse4_1): Add "m" constraint
  15729. to alternative 4 of operand 2.
  15730. 2008-05-15 Richard Guenther <rguenther@suse.de>
  15731. * tree-pass.h (current_pass): Declare.
  15732. (get_pass_for_id): Likewise.
  15733. * passes.c (passes_by_id, passes_by_id_size): New globals.
  15734. (set_pass_for_id): New function.
  15735. (get_pass_for_id): Likewise.
  15736. (register_one_dump_file): Use set_pass_for_id to populate passes_by_id.
  15737. (execute_function_todo): Flush per function statistics.
  15738. * toplev.c (compile_file): Init statistics.
  15739. (general_init): Do early statistics initialization.
  15740. (finalize): Finish statistics.
  15741. * statistics.h (statistics_early_init): Declare.
  15742. (statistics_init): Likewise.
  15743. (statistics_fini): Likewise.
  15744. (statistics_fini_pass): Likewise.
  15745. (statistics_counter_event): Likewise.
  15746. (statistics_histogram_event): Likewise.
  15747. * statistics.c: New file.
  15748. * Makefile.in (OBJS-common): Add statistics.o.
  15749. (statistics.o): Add dependencies.
  15750. * doc/invoke.texi (-fdump-statistics): Document.
  15751. * tree-ssa-pre.c (compute_antic): Use statistics_histogram_event.
  15752. (insert): Likewise.
  15753. (execute_pre): Use statistics_counter_event.
  15754. * tree-ssa-propagate.c (struct prop_stats_d): Add num_dce field.
  15755. (substitute_and_fold): Increment it. Use statistics_counter_event.
  15756. 2008-05-15 Diego Novillo <dnovillo@google.com>
  15757. http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00893.html
  15758. * treestruct.def (TS_STRUCT_FIELD_TAG): Remove.
  15759. * tree-ssa-alias.c (new_type_alias): Remove references to
  15760. sub-variables from comment.
  15761. * tree-ssa-operands.c (swap_tree_operands): Likewise.
  15762. 2008-05-15 H.J. Lu <hongjiu.lu@intel.com>
  15763. * config/i386/sse.md (*vec_concatv2sf_sse4_1): Set prefix_extra
  15764. attribute to 1 only for insertps alternative.
  15765. 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
  15766. * config/bfin/bfin.md (loadbytes): New pattern.
  15767. * config/bfin/bfin.c (enum bfin_builtins): Add BFIN_BUILTIN_LOADBYTES.
  15768. (bfin_init_builtins): Initialize it.
  15769. (bdesc_1arg): Add it.
  15770. 2008-05-15 Sa Liu <saliu@de.ibm.com>
  15771. * testsuite/gfortran.dg/c_kind_int128_test1.f03: New.
  15772. * testsuite/gfortran.dg/c_kind_int128_test2.f03: New.
  15773. * testsuite/lib/target-supports.exp: Add
  15774. check_effective_target_fortran_integer_16.
  15775. 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
  15776. * config/bfin/bfin.h (TARGET_RETURN_IN_MEMORY): Don't define here.
  15777. * config/bfin/bfin-protos.h (bfin_return_in_memory): Don't declare.
  15778. * config/bfin/bfin.c (bfin_return_in_memory): Now static. Return bool.
  15779. (TARGET_RETURN_IN_MEMORY): Define.
  15780. 2008-05-15 Richard Guenther <rguenther@suse.de>
  15781. PR middle-end/36244
  15782. * tree-ssa-alias.c (new_type_alias): Do not set TREE_READONLY.
  15783. * tree-flow-inline.h (unmodifiable_var_p): Memory tags never
  15784. represent unmodifiable vars.
  15785. 2008-05-15 Richard Guenther <rguenther@suse.de>
  15786. * tree-dfa.c (refs_may_alias_p): Allow all kinds of
  15787. INDIRECT_REF and TARGET_MEM_REF.
  15788. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle
  15789. TARGET_MEM_REF.
  15790. 2008-05-15 Uros Bizjak <ubizjak@gmail.com>
  15791. H.J. Lu <hongjiu.lu@intel.com>
  15792. * config/i386/sse.md (*vec_concatv2sf_sse4_1): New insn pattern.
  15793. (*vec_concatv2si_sse4_1): Use vector_move_operand predicate
  15794. for operand 2. Remove pinsr{q,d} with 0x0 immediate operand from
  15795. insn alternatives. Add missing alternatives.
  15796. (*vec_concatv2di_rex64_sse4_1): Likewise.
  15797. (*vec_concatv2si_sse2): Use "x" register constraint instead of "Y2".
  15798. (*vec_concatv2di_rex64_sse): Rename from *vec_concatv2di_rex64.
  15799. Require TARGET_SSE.
  15800. 2008-05-15 Richard Guenther <rguenther@suse.de>
  15801. PR tree-optimization/36009
  15802. PR tree-optimization/36204
  15803. * tree-ssa-loop-im.c (tree-ssa-propagate.h): Include.
  15804. (determine_invariantness_stmt): Record the loop a store is
  15805. always executed in.
  15806. * Makefile.in (tree-ssa-loop-im.o): Add tree-ssa-propagate.h
  15807. dependency.
  15808. 2008-05-15 Richard Guenther <rguenther@suse.de>
  15809. PR tree-optimization/34330
  15810. * tree-ssa-alias.c (get_smt_for): Only assert that accesses
  15811. through the pointer will alias the SMT.
  15812. 2008-05-14 Andreas Tobler <a.tobler@schweiz.org>
  15813. * config/sparc/sparc.h (NO_PROFILE_COUNTERS): Define as 0.
  15814. 2008-05-14 H.J. Lu <hongjiu.lu@intel.com>
  15815. * config/i386/sse.md (*sse4_1_pinsrq): Make it 64bit only.
  15816. 2008-05-14 Michael Meissner <michael.meissner@amd.com>
  15817. Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
  15818. * optabs.h (optab_index): Add OTI_vashl, OTI_vlshr, OTI_vashr,
  15819. OTI_vrotl, OTI_vrotr to support vector/vector shifts.
  15820. (vashl_optab): New optab for vector/vector shifts.
  15821. (vashr_optab): Ditto.
  15822. (vlshr_optab): Ditto.
  15823. (vrotl_optab): Ditto.
  15824. (vrotr_optab): Ditto.
  15825. (optab_subtype): New enum for optab_for_tree_code call.
  15826. (optab_for_tree_code): Add enum optab_subtype argument.
  15827. * optabs.c (optab_for_tree_code): Take an additional argument to
  15828. distinguish between a vector shift by a scalar and vector shift by
  15829. a vector. Make lshr/ashr/ashl/rotl/rotr optabs just vector
  15830. shifted by a scalar. Use vlshr/vashr/vashl/vrotl/vrotr for the
  15831. vector shift by a vector.
  15832. (expand_widen_pattern_expr): Pass additional argument to
  15833. optab_for_tree_code.
  15834. * genopinit.c (optabs): Add vashr_optab, vashl_optab, vlshr_optab,
  15835. vrotl_optab, vrotr_optab.
  15836. * expr.c (expand_expr_real_1): Update calls to
  15837. optab_for_tree_code to distinguish between vector shifted by a
  15838. scalar and vector shifted by a vector.
  15839. * tree-vectorizer.c (supportable_widening_operation): Ditto.
  15840. (supportable_narrowing_operation): Ditto.
  15841. * tree-vect-analyze.c (vect_build_slp_tree): Ditto.
  15842. * tree-vect-patterns.c (vect_pattern_recog_1): Ditto.
  15843. * tree-vect-transform.c (vect_model_reduction_cost): Ditto.
  15844. (vect_create_epilog_for_reduction): Ditto.
  15845. (vectorizable_reduction): Ditto.
  15846. (vectorizable_operation): Ditto.
  15847. (vect_strided_store_supported): Ditto.
  15848. (vect_strided_load_supported): Ditto.
  15849. * tree-vect-generic.c (expand_vector_operations_1): Ditto.
  15850. * expmed.c (expand_shift): Ditto.
  15851. * doc/md.texi (ashl@var{m}3): Document that operand 2 is always a
  15852. scalar type.
  15853. (ashr@var{m}3): Ditto.
  15854. (vashl@var{m}3): Document new vector/vector shift standard name.
  15855. (vashr@var{m}3): Ditto.
  15856. (vlshr@var{m}3): Ditto.
  15857. (vrotl@var{m}3): Ditto.
  15858. (vrotr@var{m}3): Ditto.
  15859. * config/i386/i386.md (PPERM_SRC): Move PPERM masks here from i386.c.
  15860. (PPERM_INVERT): Ditto.
  15861. (PPERM_REVERSE): Ditto.
  15862. (PPERM_REV_INV): Ditto.
  15863. (PPERM_ZERO): Ditto.
  15864. (PPERM_ONES): Ditto.
  15865. (PPERM_SIGN): Ditto.
  15866. (PPERM_INV_SIGN): Ditto.
  15867. (PPERM_SRC1): Ditto.
  15868. (PPERM_SRC2): Ditto.
  15869. * config/i386/sse.md (mulv2di3): Add SSE5 support.
  15870. (sse5_pmacsdql_mem): New SSE5 define_and_split that temporarily
  15871. allows a memory operand to be the value being added, and split it
  15872. to improve vectorization.
  15873. (sse5_pmacsdqh_mem): Ditto.
  15874. (sse5_mulv2div2di3_low): SSE5 32-bit multiply and extend function.
  15875. (sse5_mulv2div2di3_high): Ditto.
  15876. (vec_pack_trunc_v8hi): Add SSE5 pperm support.
  15877. (vec_pack_trunc_v4si): Ditto.
  15878. (vec_pack_trunc_v2di): Ditto.
  15879. (sse5_pcmov_<mode>): Remove code that tried to use use
  15880. andps/andnps instead of pcmov.
  15881. (vec_widen_smult_hi_v4si): If we have SSE5, use the pmacsdql and
  15882. pmacsdqh instructions.
  15883. (vec_widen_smult_lo_v4si): Ditto.
  15884. * config/i386/i386.c (PPERM_SRC): Move PPERM masks to i386.md.
  15885. (PPERM_INVERT): Ditto.
  15886. (PPERM_REVERSE): Ditto.
  15887. (PPERM_REV_INV): Ditto.
  15888. (PPERM_ZERO): Ditto.
  15889. (PPERM_ONES): Ditto.
  15890. (PPERM_SIGN): Ditto.
  15891. (PPERM_INV_SIGN): Ditto.
  15892. (PPERM_SRC1): Ditto.
  15893. (PPERM_SRC2): Ditto.
  15894. (ix86_expand_sse_movcc): Move the SSE5 test after the if
  15895. true/false tests.
  15896. (ix86_expand_int_vcond): If SSE5 generate all possible integer
  15897. comparisons.
  15898. (ix86_sse5_valid_op_p): Allow num_memory to be negative, which
  15899. says ignore whether the last reference is a memory operand.
  15900. 2008-05-14 Michael Meissner <michael.meissner@amd.com>
  15901. Paolo Bonzini <bonzini at gnu dot org>
  15902. * config/rs6000/rs6000.c (bdesc_2arg): Change the names of vector
  15903. shift patterns.
  15904. * config/rs6000/altivec.md (vashl<mode>3): Rename from ashl<mode>3.
  15905. (vlshr<mode>3): Rename from vlshr<mode>3.
  15906. (vashr<mode>3): Rename from vashr<mode>3.
  15907. (mulv4sf3): Change the names of vector shift patterns.
  15908. (mulv4si3): Ditto.
  15909. (negv4sf2): Ditt.
  15910. * config/spu/spu.c (spu_initialize_trampoline): Rename vector
  15911. shift insns.
  15912. * config/spu/spu-builtins.def (SI_SHLH): Rename vector shift insns.
  15913. (SI_SHLHI): Ditto.
  15914. (SI_SHL): Ditto.
  15915. (SI_SHLI): Ditto.
  15916. (SI_ROTH): Ditto.
  15917. (SI_ROTHI): Ditto.
  15918. (SI_ROT): Ditto.
  15919. (SI_ROTI): Ditto.
  15920. (SPU_RL_0): Ditto.
  15921. (SPU_RL_1): Ditto.
  15922. (SPU_RL_2): Ditto.
  15923. (SPU_RL_3): Ditto.
  15924. (SPU_RL_4): Ditto.
  15925. (SPU_RL_5): Ditto.
  15926. (SPU_RL_6): Ditto.
  15927. (SPU_RL_7): Ditto.
  15928. (SPU_SL_0): Ditto.
  15929. (SPU_SL_1): Ditto.
  15930. (SPU_SL_2): Ditto.
  15931. (SPU_SL_3): Ditto.
  15932. (SPU_SL_4): Ditto.
  15933. (SPU_SL_5): Ditto.
  15934. (SPU_SL_6): Ditto.
  15935. (SPU_SL_7): Ditto.
  15936. * config/spu/spu.md (v): New iterator macro to add v for vector types.
  15937. (floatunssidf2_internal): Change vector/vector shift names.
  15938. (floatunsdidf2_internal): Ditto.
  15939. (mulv8hi3): Ditto.
  15940. (ashrdi3): Ditto.
  15941. (ashrti3): Ditto.
  15942. (cgt_df): Ditto.
  15943. (cgt_v2df): Ditto.
  15944. (dftsv): Ditto.
  15945. (vashl<mode>3): Rename from ashl<mode>3.
  15946. (vashr<mode>3): Rename from ashr<mode>3.
  15947. (vlshr<mode>3): Rename from lshr<mode>3.
  15948. (vrotl<mode>3): Rename from rotl<mode>3.
  15949. 2008-05-14 Michael Meissner <michael.meissner@amd.com>
  15950. PR target/36224
  15951. * config/i386/sse.md (vec_widen_smult_hi_v4si): Delete, using unsigned
  15952. multiply gives the wrong value when doing widening multiplies.
  15953. (vec_widen_smult_lo_v4si): Ditto.
  15954. 2008-05-14 Kenneth Zadeck <zadeck@naturalbridge.com>
  15955. * optabs.c (prepare_cmp_insn): Changed LCT_PURE_MAKE_BLOCK to
  15956. LCT_PURE and LCT_CONST_MAKE_BLOCK to LCT_CONST in calls to
  15957. emit_library_call_value.
  15958. * builtins.c (expand_builtin_powi, expand_builtin_memcmp): Ditto.
  15959. * tree.h (ECF_LIBCALL_BLOCK): Removed.
  15960. * calls.c (initialize_argument_information, precompute_arguments,
  15961. expand_call, emit_library_call_value_1): Remove ECF_LIBCALL_BLOCK.
  15962. (precompute_arguments): Removed flags parameter.
  15963. * rtl.h (LCT_CONST_MAKE_BLOCK, LCT_PURE_MAKE_BLOCK): Removed.
  15964. 2008-05-14 Richard Guenther <rguenther@suse.de>
  15965. * tree-ssa-dse.c (dse_possible_dead_store_p): Remove dead code.
  15966. Make sure to register the store if the use is a PHI_NODE.
  15967. 2008-05-14 Olivier Hainque <hainque@adacore.com>
  15968. * expr.c (expand_expr_real_1) <normal_inner_ref>: Force op0 to
  15969. memory if the component is to be referenced in BLKmode according
  15970. to get_inner_reference.
  15971. 2008-05-14 Adam Nemet <anemet@caviumnetworks.com>
  15972. * calls.c (emit_library_call_value_1): Restore code clearing
  15973. ECF_LIBCALL_BLOCK to ensure that we only call end_sequence once.
  15974. 2008-05-14 Olivier Hainque <hainque@adacore.com>
  15975. Nicolas Roche <roche@adacore.com>
  15976. * configure.ac: Add support for a "gcc_subdir" variable in
  15977. config-lang.in, to denote a subdirectory where the language/GCC
  15978. integration files are to be found.
  15979. * configure: Regenerate.
  15980. 2008-05-14 Ira Rosen <irar@il.ibm.com>
  15981. PR tree-optimization/36098
  15982. * tree-vect-analyze.c (vect_analyze_group_access): Set the gap
  15983. value for the first load in the group in case of a gap.
  15984. (vect_build_slp_tree): Check that there are no gaps in loads.
  15985. 2008-05-14 Kenneth Zadeck <zadeck@naturalbridge.com>
  15986. * doc/rtl.texi: Removed reference to REG_NO_CONFLICT notes.
  15987. * optabs.c (expand_binop, expand_absneg_bit, expand_unop,
  15988. expand_copysign_bit): Change call to emit_no_conflict_block to
  15989. emit_insn and remove unneeded code to construct extra args.
  15990. (emit_no_conflict_block): Removed.
  15991. * optabls.h (emit_no_conflict_block): Removed.
  15992. * cse.c (cse_extended_basic_block): Remove search for
  15993. REG_NO_CONFLICT note.
  15994. * global.c: Removed incorrect comment added in revision 117.
  15995. * expr.c (convert_move): Change call to emit_no_conflict_block to
  15996. emit_insn.
  15997. * recog.c: Change comments so that they do not mention
  15998. REG_NO_CONFLICT.
  15999. * local_alloc.c (combine_regs): Removed last parameter.
  16000. (no_conflict_p): Removed.
  16001. (block_alloc): Removed note, no_conflict_combined_regno and set
  16002. local vars. Removed all code to process REG_NO_CONFLICT blocks.
  16003. (combine_regs): Removed already_dead and code to look for
  16004. REG_NO_CONFLICT notes.
  16005. * lower_subreg (remove_retval_note): Removed code to look for
  16006. REG_NO_CONFLICT block.
  16007. (resolve_reg_notes): Removed REG_NO_CONFLICT case.
  16008. (resolve_clobber): Remove code to process libcalls that have
  16009. REG_NO_CONFLICT notes.
  16010. * loop_invariant.c (find_invariant_insn): Removed REG_NO_CONFLICT
  16011. case.
  16012. * combine.c (can_combine_p, distribute_notes): Removed
  16013. REG_NO_CONFLICT case.
  16014. * config/cris/cris.md (movdi pattern): Changed emit_no_conflict_block
  16015. to emit_insns.
  16016. * config/mn10300/mn10300.md (absdf2, negdf2 patterns): Ditto.
  16017. * config/m68k/m68k.md (negdf2, negxf2, absdf2, absxf2 patterns):
  16018. Ditto.
  16019. * reg-notes.def (NO_CONFLICT): Removed.
  16020. 2008-05-14 David S. Miller <davem@davemloft.net>
  16021. * config/sparc/sparc.c (sparc_profile_hook): If
  16022. NO_PROFILE_COUNTERS, don't generate and pass a label into mcount.
  16023. * config/sparc/linux.h (NO_PROFILE_COUNTERS): Define as 1.
  16024. * config/sparc/linux64.h (NO_PROFILE_COUNTERS): Likewise.
  16025. 2008-05-14 Andreas Krebbel <krebbel1@de.ibm.com>
  16026. * cse.c (cse_cc_succs): Invoke delete_insn_and_edges.
  16027. 2008-05-13 Uros Bizjak <ubizjak@gmail.com>
  16028. PR target/36222
  16029. * config/i386/i386.c (ix86_expand_vector_init_general): Rearrange op0
  16030. and op1 expansion before vector concat to have less live pseudos.
  16031. 2008-05-13 H.J. Lu <hongjiu.lu@intel.com>
  16032. * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
  16033. ix86_expand_vector_set if supported.
  16034. 2008-05-13 Diego Novillo <dnovillo@google.com>
  16035. Kenneth Zadeck <zadeck@naturalbridge.com>
  16036. http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00748.html
  16037. * tree.h (init_phinodes, fini_phinodes, release_phi_node,
  16038. phinodes_print_statistics, init_ssanames, fini_ssanames,
  16039. make_ssa_name, duplicate_ssa_name, duplicate_ssa_name_ptr_info,
  16040. release_ssa_name, release_defs, replace_ssa_name_symbol,
  16041. ssanames_print_statistics): Move ...
  16042. * tree-flow.h: ... here.
  16043. * tree-ssanames.c (init_ssanames): Add arguments FN and SIZE.
  16044. Use FN instead of cfun.
  16045. (make_ssa_name_fn): Rename from make_ssa_name.
  16046. (pass_release_ssa_names): Add TODO_dump_func to finish flags.
  16047. * tree-flow-inline.h (make_ssa_name): Move from
  16048. tree-ssanames.c. Convert to static inline. Call make_ssa_name_fn.
  16049. * omp-low.c (expand_omp_parallel):
  16050. * tree-flow-inline.h (redirect_edge_var_map_result):
  16051. * tree-ssa.c (init_tree_ssa): Add argument FN.
  16052. Use it instead of cfun. Update all users.
  16053. 2008-05-13 Tom Tromey <tromey@redhat.com>
  16054. PR preprocessor/22168:
  16055. * doc/cpp.texi (Top): Update menu.
  16056. (Alternatives to Wrapper #ifndef): New node.
  16057. (Other Directives): Document deprecation.
  16058. (Obsolete Features): Remove menu.
  16059. (Assertions): Merge node into Obsolete Features.
  16060. (Obsolete once-only headers): Move earlier; rename to Alternatives
  16061. to Wrapper #ifndef.
  16062. * doc/cppopts.texi: Update.
  16063. * c.opt (Wdeprecated): Enable for C and ObjC.
  16064. * doc/invoke.texi (Option Summary): Move -Wno-deprecated.
  16065. (C++ Dialect Options): Move -Wno-deprecated from here to...
  16066. (Warning Options): ... here.
  16067. 2008-05-13 Richard Guenther <rguenther@suse.de>
  16068. PR middle-end/36227
  16069. * fold-const.c (fold_sign_changed_comparison): Do not allow
  16070. changes in pointer-ness.
  16071. 2008-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
  16072. PR target/24713
  16073. * config/sh/sh.c (sh_expand_prologue): Don't clear
  16074. RTX_FRAME_RELATED_P for push insns.
  16075. 2008-05-12 Andy Hutchinson <hutchinsonandy@aim.com>
  16076. * config/avr/avr.h (MAX_OFILE_ALIGNMENT): Define.
  16077. 2008-05-12 Anatoly Sokolov <aesok@post.ru>
  16078. * config/avr/avr.h (machine_function): Add 'is_leaf' field.
  16079. * config/avr/avr.c (avr_regs_to_save): Compute 'machine->is_leaf'.
  16080. Use 'machine->is_leaf' instead of 'leaf_func_p'.
  16081. 2008-05-12 H.J. Lu <hongjiu.lu@intel.com>
  16082. * config/i386/sse.md (*sse_concatv4sf): Renamed to ...
  16083. (*vec_concatv4sf_sse): This.
  16084. (*sse2_concatv2si): Renamed to ...
  16085. (*vec_concatv2si_sse2): This.
  16086. (*sse1_concatv2si): Renamed to ...
  16087. (*vec_concatv2si_sse): This.
  16088. (*vec_concatv2di_rex): Renamed to ...
  16089. (*vec_concatv2di_rex64): This.
  16090. (*vec_concatv2si_sse4_1): New.
  16091. (*vec_concatv2di_rex64_sse4_1): Likewise.
  16092. 2008-05-12 Uros Bizjak <ubizjak@gmail.com>
  16093. PR rtl-optimization/36111
  16094. * recog.c (validate_replace_rtx_1): Unshare new RTL expression
  16095. that was created for swappable operands.
  16096. 2008-05-12 Samuel Tardieu <sam@rfc1149.net>
  16097. PR ada/36001
  16098. * Makefile.in: Substitute GNATMAKE and GNATBIND.
  16099. * configure.ac: Add call to ACX_PROG_GNAT.
  16100. 2008-05-11 Volker Reichelt <v.reichelt@netcologne.de>
  16101. * optc-gen.awk: Fix comment typo.
  16102. 2008-05-11 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
  16103. * pretty-print.c (pp_integer_with_precision): Use
  16104. HOST_LONG_LONG_FORMAT.
  16105. 2008-05-10 Kenneth Zadeck <zadeck@naturalbridge.com>
  16106. * gcse.c (store_killed_in_insn): Negated call to RTL_CONST_CALL_P.
  16107. 2008-05-10 H.J. Lu <hongjiu.lu@intel.com>
  16108. * config/i386/i386.c (bdesc_ptest): Removed.
  16109. (ix86_builtin_type): Add INT_FTYPE_V2DI_V2DI_PTEST.
  16110. (bdesc_args): Add __builtin_ia32_ptestz128,
  16111. __builtin_ia32_ptestc128 and __builtin_ia32_ptestnzc128.
  16112. (ix86_init_mmx_sse_builtins): Updated.
  16113. (ix86_expand_args_builtin): Handle INT_FTYPE_V2DI_V2DI_PTEST.
  16114. (ix86_expand_builtin): Updated.
  16115. 2008-05-10 Richard Sandiford <rdsandiford@googlemail.com>
  16116. * tree-cfg.c (valid_fixed_convert_types_p): New function.
  16117. (verify_gimple_expr): Handle FIXED_CONVERT_EXPR.
  16118. 2008-05-10 Uros Bizjak <ubizjak@gmail.com>
  16119. * value-prof.c (interesting_stringop_to_profile): Do not
  16120. return early for BUILT_IN_MEMPCPY.
  16121. 2008-05-09 H.J. Lu <hongjiu.lu@intel.com>
  16122. * calls.c (expand_call): Don't use callgraph to increase
  16123. preferred_stack_boundary.
  16124. * cgraph.h (cgraph_rtl_info): Use unsigned on
  16125. preferred_incoming_stack_boundary.
  16126. * final.c (rest_of_clean_state): Use unsigned on
  16127. preferred_stack_boundary.
  16128. 2008-05-09 Tom Tromey <tromey@redhat.com>
  16129. PR preprocessor/22231:
  16130. * c-opts.c (sanitize_cpp_opts): Disallow -MG if compilation is
  16131. proceeding.
  16132. 2008-05-09 Uros Bizjak <ubizjak@gmail.com>
  16133. PR tree-optimization/36129
  16134. * tree-ssa-ccp.c: Include value-prof.h.
  16135. (execute_fold_all_builtins): Call gimple_remove_stmt_histograms if
  16136. built-in function was folded to a constant.
  16137. * Makefile.in (tree-ssa-ccp.c): Depend on value-prof.h
  16138. 2008-05-09 Jan Sjodin <jan.sjodin@amd.com>
  16139. Sebastian Pop <sebastian.pop@amd.com>
  16140. * tree-scalar-evolution.c: Document instantiate_scev.
  16141. (instantiate_parameters_1): Renamed instantiate_scev_1.
  16142. Don't use the same loop for instantiation_loop and evolution_loop.
  16143. (instantiate_scev): New.
  16144. (instantiate_parameters): Moved...
  16145. (resolve_mixers): Update call to instantiate_scev_1 to pass the
  16146. same loop twice. Maintains the semantics for this function.
  16147. * tree-scalar-evolution.h (instantiate_scev): Declare.
  16148. (instantiate_parameters): ...here. Now static inline.
  16149. * tree-data-ref.c (dr_analyze_indices): Call instantiate_scev
  16150. instead of resolve_mixers.
  16151. 2008-05-09 Maxim Kuvyrkov <maxim@codesourcery.com>
  16152. * rtl-factoring.c (collect_pattern_seqs): Fix typo.
  16153. 2008-05-09 Tomas Bily <tbily@suse.cz>
  16154. * config/pa/pa.c (reloc_needed): Use CASE_CONVERT.
  16155. * tree-cfg.c (verify_expr, verify_gimple_expr): Likewise.
  16156. * tree-ssa-structalias.c (get_constraint_for): Likewise.
  16157. * c-common.c (c_common_truthvalue_conversion): Likewise.
  16158. * tree-object-size.c (compute_object_offset): Likewise.
  16159. * tree-inline.c (estimate_num_insns_1): Likewise.
  16160. * varasm.c (const_hash_1, compare_constant, copy_constant)
  16161. (compute_reloc_for_constant, output_addressed_constants)
  16162. (initializer_constant_valid_p): Likewise.
  16163. * c-omp.c (check_omp_for_incr_expr): Likewise.
  16164. * gimplify.c (gimplify_expr): Likewise.
  16165. * c-typeck.c (c_finish_return): Likewise.
  16166. * tree-vectorizer.c (supportable_widening_operation)
  16167. (supportable_narrowing_operation): Likewise.
  16168. * c-pretty-print.c (pp_c_cast_expression, pp_c_expression): Likewise.
  16169. * matrix-reorg.c (can_calculate_expr_before_stmt): Likewise.
  16170. * expr.c (highest_pow2_factor, expand_expr_real_1): Likewise.
  16171. * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info)
  16172. (descr_info_loc): Likewise.
  16173. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise.
  16174. * fold-const.c (operand_equal_p, make_range, extract_muldiv_1)
  16175. (fold_unary): Likewise.
  16176. * builtins.c (get_pointer_alignment): Likewise.
  16177. * tree-scalar-evolution.c (interpret_rhs_modify_stmt)
  16178. (instantiate_parameters_1): Likewise.
  16179. * tree.c (expr_align, stabilize_reference): Likewise.
  16180. * tree-pretty-print.c (dump_generic_node, op_prio): Likewise.
  16181. * tree-ssa-loop-niter.c (derive_constant_upper_bound): Likewise.
  16182. * convert.c (strip_float_extensions): Use CONVERT_EXPR_P.
  16183. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise.
  16184. * config/alpha/alpha.c (va_list_skip_additions): Likewise.
  16185. * c-common.c (c_alignof_expr, check_function_arguments_recurse):
  16186. Likewise.
  16187. * tree-ssa.c (tree_ssa_useless_type_conversion): Likewise.
  16188. * varasm.c (initializer_constant_valid_p, output_constant): Likewise.
  16189. * tree-ssa-forwprop.c (get_prop_source_stmt, can_propagate_from)
  16190. (forward_propagate_addr_expr_1, forward_propagate_addr_expr)
  16191. (forward_propagate_comparison)
  16192. (tree_ssa_forward_propagate_single_use_vars): Likewise.
  16193. * cfgexpand.c (discover_nonconstant_array_refs_r): Likewise.
  16194. * emit-rtl.c (component_ref_for_mem_expr)
  16195. (set_mem_attributes_minus_bitpos): Likewise.
  16196. * tree-ssa-phiopt.c (conditional_replacement): Likewise.
  16197. * gimplify.c (gimplify_conversion, goa_lhs_expr_p, gimplify_expr):
  16198. Likewise.
  16199. * c-typeck.c (default_function_array_conversion, build_indirect_ref)
  16200. (build_function_call, pointer_diff, build_compound_expr)
  16201. (c_finish_return): Likewise.
  16202. * tree-vect-analyze.c (vect_determine_vectorization_factor): Likewise.
  16203. * matrix-reorg.c (get_inner_of_cast_expr, may_flatten_matrices_1):
  16204. Likewise.
  16205. * tree-ssa-ifcombine.c (recognize_single_bit_test): Likewise.
  16206. * expr.c (is_aligning_offset): Likewise.
  16207. * tree-ssa-alias.c (is_escape_site): Likewise.
  16208. * tree-stdarg.c (va_list_counter_bump, check_va_list_escapes)
  16209. (check_all_va_list_escapes): Likewise.
  16210. * tree-ssa-loop-ivopts.c (determine_base_object)
  16211. (determine_common_wider_type): Likewise.
  16212. * dojump.c (do_jump): Likewise.
  16213. * tree-ssa-sccvn.c (simplify_unary_expression): Likewise.
  16214. * tree-gimple.c (is_gimple_cast): Likewise.
  16215. * fold-const.c (decode_field_reference)
  16216. (fold_sign_changed_comparison, fold_unary, fold_comparison)
  16217. (fold_binary): Likewise.
  16218. * tree-ssa-alias-warnings.c (find_alias_site_helper)
  16219. (already_warned_in_frontend_p): Likewise.
  16220. * builtins.c (get_memory_rtx, fold_builtin_next_arg): Likewise.
  16221. * tree.c (really_constant_p, get_unwidened): Likewise.
  16222. * tree-ssa-loop-niter.c (expand_simple_operations): Likewise.
  16223. * tree-ssa-loop-im.c (rewrite_bittest): Likewise.
  16224. * tree-vrp.c (register_edge_assert_for_2, register_edge_assert_for_1):
  16225. Likewise.
  16226. * tree.h (STRIP_NOPS, STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Use
  16227. CONVERT_EXPR_P.
  16228. (CONVERT_EXPR_P): Define.
  16229. (CASE_CONVERT): Define.
  16230. 2008-05-08 Kenneth Zadeck <zadeck@naturalbridge.com>
  16231. PR middle-end/36117
  16232. * dce.c (deletable_insn_p): Do not delete calls if df_in_progress.
  16233. (delete_unmarked_insns): When deleting a call, call
  16234. delete_unreachable_blocks.
  16235. * rtl.texi (RTL_CONST_CALL_P, RTL_PURE_CALL_P,
  16236. RTL_CONST_OR_PURE_CALL_P, RTL_LOOPING_CONST_OR_PURE_CALL_P): Fixed doc.
  16237. 2008-05-08 Richard Guenther <rguenther@suse.de>
  16238. * doc/invoke.texi (-fdump-tree-salias): Remove documentation.
  16239. (-ftree-salias): Likewise.
  16240. (salias-max-implicit-fields): Remove param documentation.
  16241. (salias-max-array-elements): Likewise.
  16242. * tree-pass.h (pass_create_structure_vars): Remove.
  16243. * params.h (SALIAS_MAX_IMPLICIT_FIELDS): Remove.
  16244. (SALIAS_MAX_ARRAY_ELEMENTS): Likewise.
  16245. * tree-ssa-alias.c (create_structure_vars): Remove.
  16246. (gate_structure_vars): Likewise.
  16247. (pass_create_structure_vars): Likewise.
  16248. (gate_build_alias): Likewise.
  16249. (pass_build_alias): Adjust to run always and dump the function.
  16250. * common.opt (ftree-salias): Hide.
  16251. * passes.c (init_optimization_passes): Remove
  16252. pass_create_structure_vars, adjust comment.
  16253. * params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): Remove.
  16254. (PARAM_SALIAS_MAX_ARRAY_ELEMENTS): Likewise.
  16255. * opts.c (decode_options): Do not set flag_tree_salias.
  16256. (common_handle_option): Add OPT_ftree_salias to the backward
  16257. compatibility section.
  16258. 2008-05-08 Richard Guenther <rguenther@suse.de>
  16259. * tree-flow-inline.h (var_can_have_subvars): Move ...
  16260. * tree-ssa-structalias.c (var_can_have_subvars): ... here.
  16261. * tree-flow.h (var_can_have_subvars): Remove.
  16262. (push_fields_onto_fieldstack): Remove.
  16263. (sort_fieldstack): Likewise.
  16264. (struct fieldoff): Move ...
  16265. * tree-ssa-structalias.c (struct fieldoff): ... here. Remove
  16266. alias_set and base_for_components fields.
  16267. (sort_fieldstack): Make static.
  16268. (push_fields_onto_fieldstack): Likewise. Remove code that
  16269. handles anything but RECORD_TYPEs. Remove alias_set and
  16270. base_for_components handling.
  16271. (create_variable_info_for): Adjust.
  16272. 2008-05-08 Seongbae Park <seongbae.park@gmail.com>
  16273. * common.opt (Wframe-larger-than=): Shorten the help message
  16274. to one line.
  16275. * doc/invoke.texi (Wframe-larger-than=): Add more description.
  16276. 2008-05-08 Rafael Espíndola <espindola@google.com>
  16277. * tree-complex.c (expand_complex_div_wide): Don't create CONDs that
  16278. trap.
  16279. * tree-gimple.c (is_gimple_condexpr): Check that the expression doesn't
  16280. trap and that both operands are gimple values.
  16281. (canonicalize_cond_expr_cond): Use is_gimple_condexpr.
  16282. * gcc/tree-eh.c (tree_could_trap_p): Correctly detect if a comparison
  16283. is a fp operation.
  16284. 2008-05-08 Richard Sandiford <rsandifo@nildram.co.uk>
  16285. * read-rtl.c (join_c_conditions): Return the first string if the
  16286. two strings are equal.
  16287. 2008-05-08 Richard Sandiford <rsandifo@nildram.co.uk>
  16288. * gensupport.h (pred_data): Add a "num_codes" field.
  16289. (add_predicate_code): Declare.
  16290. * gensupport.c (add_predicate_code): New function.
  16291. (std_pred_table): Add an "allows_const_p" field.
  16292. (std_preds): Set this field for predicates that allow RTX_CONST_OBJs.
  16293. Remove the (incomplete) list of such codes from the codes field.
  16294. (init_predicate_table): Use add_predicate_code. Add all
  16295. RTX_CONST_OBJs if allows_const_p is true.
  16296. * genrecog.c (process_define_predicate): Use add_predicate_code.
  16297. 2008-05-08 David Daney <ddaney@avtrex.com>
  16298. Richard Sandiford <rsandifo@nildram.co.uk>
  16299. * config/mips/mips.md (mips_expand_compare_and_swap_12): Handle
  16300. special case of constant zero operands.
  16301. * config/mips/mips.c (mips_expand_compare_and_swap_12): Zero extend
  16302. old and new values. Special case constant zero values.
  16303. * config/mips/mips.h (MIPS_COMPARE_AND_SWAP): Skip 'sync' if compare
  16304. fails.
  16305. (MIPS_COMPARE_AND_SWAP_12): Handle constant zero operands.
  16306. (MIPS_COMPARE_AND_SWAP_12_0): New macro.
  16307. 2008-05-08 Paolo Bonzini <bonzini@gnu.org>
  16308. PR target/36090
  16309. * simplify-rtx.c (simplify_plus_minus): Create CONST of
  16310. similar RTX_CONST_OBJ before CONST_INT.
  16311. 2008-05-08 Steve Ellcey <sje@cup.hp.com>
  16312. * stmt.c (expand_stack_restore): Change sa mode if needed.
  16313. 2008-05-08 Richard Guenther <rguenther@suse.de>
  16314. * config/i386/i386-protos.h (ix86_return_in_memory): Adjust
  16315. return type to bool.
  16316. (ix86_sol10_return_in_memory): Likewise.
  16317. (ix86_i386elf_return_in_memory): Likewise.
  16318. (ix86_i386interix_return_in_memory): Likewise.
  16319. * config/i386/i386.c (ix86_return_in_memory): Likewise.
  16320. (ix86_sol10_return_in_memory): Likewise.
  16321. (ix86_i386elf_return_in_memory): Likewise.
  16322. (ix86_i386interix_return_in_memory): Likewise.
  16323. 2008-05-08 Kai Tietz <kai.tietz@onevision.com>
  16324. PR bootstrap/36180
  16325. * calls.c (compute_argument_block_size ): Add ATTRIBUTE_UNUSED to
  16326. fndecl argument.
  16327. (emit_library_call_value_1): Add ATTRIBUTE_UNUSED to variable fndecl.
  16328. * target-def.h: Check that TARGET_RETURN_IN_MEMORY isn't
  16329. declared in front.
  16330. 2008-05-08 Richard Guenther <rguenther@suse.de>
  16331. * tree-data-ref.c (dr_analyze_alias): Do not set DR_SUBVARS.
  16332. * tree-data-ref.h (struct dr_alias): Remove subvars field.
  16333. (DR_SUBVARS): Remove.
  16334. * tree-dfa.c (dump_subvars_for): Remove.
  16335. (debug_subvars_for): Likewise.
  16336. (dump_variable): Do not dump subvars.
  16337. (remove_referenced_var): Do not remove subvars.
  16338. * tree-flow-inline.h (clear_call_clobbered): SFTs no longer exist.
  16339. (lookup_subvars_for_var): Remove.
  16340. (get_subvars_for_var): Likewise.
  16341. (get_subvars_at): Likewise.
  16342. (get_first_overlapping_subvar): Likewise.
  16343. (overlap_subvar): Likewise.
  16344. * tree-flow.h (subvar_t): Remove.
  16345. (struct var_ann_d): Remove subvars field.
  16346. * tree-ssa-alias.c (mark_aliases_call_clobbered): Remove queued
  16347. argument. Remove special handling of SFTs.
  16348. (compute_tag_properties): Likewise.
  16349. (set_initial_properties): Likewise.
  16350. (compute_call_clobbered): Likewise.
  16351. (count_mem_refs): Likewise.
  16352. (compute_memory_partitions): Likewise.
  16353. (compute_flow_insensitive_aliasing): Likewise.
  16354. (setup_pointers_and_addressables): Likewise.
  16355. (new_type_alias): Likewise.
  16356. (struct used_part): Remove.
  16357. (used_portions): Likewise.
  16358. (struct used_part_map): Likewise.
  16359. (used_part_map_eq): Likewise.
  16360. (used_part_map_hash): Likewise.
  16361. (free_used_part_map): Likewise.
  16362. (up_lookup): Likewise.
  16363. (up_insert): Likewise.
  16364. (get_or_create_used_part_for): Likewise.
  16365. (create_sft): Likewise.
  16366. (create_overlap_variables_for): Likewise.
  16367. (find_used_portions): Likewise.
  16368. (create_structure_vars): Likewise.
  16369. * tree.def (STRUCT_FIELD_TAG): Remove.
  16370. * tree.h (MTAG_P): Adjust.
  16371. (struct tree_memory_tag): Remove base_for_components and
  16372. unpartitionable flags.
  16373. (struct tree_struct_field_tag): Remove.
  16374. (SFT_PARENT_VAR): Likewise.
  16375. (SFT_OFFSET): Likewise.
  16376. (SFT_SIZE): Likewise.
  16377. (SFT_NONADDRESSABLE_P): Likewise.
  16378. (SFT_ALIAS_SET): Likewise.
  16379. (SFT_UNPARTITIONABLE_P): Likewise.
  16380. (SFT_BASE_FOR_COMPONENTS_P): Likewise.
  16381. (union tree_node): Remove sft field.
  16382. * alias.c (get_alias_set): Remove special handling of SFTs.
  16383. * print-tree.c (print_node): Remove handling of SFTs.
  16384. * tree-dump.c (dequeue_and_dump): Likewise.
  16385. * tree-into-ssa.c (mark_sym_for_renaming): Likewise.
  16386. * tree-nrv.c (dest_safe_for_nrv_p): Remove special handling of SFTs.
  16387. * tree-predcom.c (set_alias_info): Do not set subvars.
  16388. * tree-pretty-print.c (dump_generic_node): Do not handle SFTs.
  16389. * tree-ssa-loop-ivopts.c (get_ref_tag): Likewise.
  16390. * tree-ssa-operands.c (access_can_touch_variable): Likewise.
  16391. (add_vars_for_offset): Remove.
  16392. (add_virtual_operand): Remove special handling of SFTs.
  16393. (add_call_clobber_ops): Likewise.
  16394. (add_call_read_ops): Likewise.
  16395. (get_asm_expr_operands): Likewise.
  16396. (get_modify_stmt_operands): Likewise.
  16397. (get_expr_operands): Likewise.
  16398. (add_to_addressable_set): Likewise.
  16399. * tree-ssa.c (verify_ssa_name): Do not handle SFTs.
  16400. * tree-tailcall.c (suitable_for_tail_opt_p): Likewise.
  16401. * tree-vect-transform.c (vect_create_data_ref_ptr): Do not set subvars.
  16402. * tree.c (init_ttree): Remove STRUCT_FIELD_TAG initialization.
  16403. (tree_code_size): Remove STRUCT_FIELD_TAG handling.
  16404. (tree_node_structure): Likewise.
  16405. * tree-ssa-structalias.c (set_uids_in_ptset): Remove special
  16406. handling of SFTs.
  16407. (find_what_p_points_to): Likewise.
  16408. 2008-05-08 Sa Liu <saliu@de.ibm.com>
  16409. * config/spu/spu.md: Fixed subti3 pattern.
  16410. 2008-05-08 Richard Guenther <rguenther@suse.de>
  16411. PR middle-end/36154
  16412. * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
  16413. sure to create a representative for trailing arrays for PTA.
  16414. 2008-05-08 Richard Guenther <rguenther@suse.de>
  16415. PR middle-end/36172
  16416. * fold-const.c (operand_equal_p): Two objects which types
  16417. differ in pointerness are not equal.
  16418. 2008-05-08 Kai Tietz <kai.tietz@onevision.com>
  16419. * calls.c (compute_argument_block_size): Add argument tree fndecl.
  16420. (OUTGOING_REG_PARM_STACK_SPACE): Add function type argument.
  16421. (emit_library_call_value_1): Add new variable fndecl initialized by
  16422. NULL_TREE. It should be the decl type of orgfun, but this information
  16423. seems not to be available here, so it uses the default calling abi.
  16424. * config/arm/arm.c (arm_return_in_memory): Add fntype argumen.
  16425. * config/arm/arm.h (RETURN_IN_MEMORY): Replace RETURN_IN_MEMORY
  16426. by TARGET_RETURN_IN_MEMORY.
  16427. * config/i386/i386-interix.h: Likewise.
  16428. * config/i386/i386.h: Likewise.
  16429. * config/i386/i386elf.h: Likewise.
  16430. * config/i386/ptx4-i.h: Likewise.
  16431. * config/i386/sol2-10.h: Likewise.
  16432. * config/i386/sysv4.h: Likewise.
  16433. * config/i386/vx-common.h: Likewise.
  16434. * config/cris/cris.h: Removed #if 0 clause.
  16435. * config/arm/arm-protos.h (arm_return_in_memory): Add fntype argument.
  16436. * config/i386/i386-protos.h (ix86_return_in_memory): Add fntype
  16437. argument.
  16438. (ix86_sol10_return_in_memory): Likewise.
  16439. (ix86_i386elf_return_in_memory): New.
  16440. (ix86_i386interix_return_in_memory): New.
  16441. * config/mt/mt-protos.h (mt_return_in_memory): New.
  16442. * config/mt/mt.c: Likewise.
  16443. * config/mt/mt.h (OUTGOING_REG_PARM_STACK_SPACE): Add FNTYPE argument.
  16444. (RETURN_IN_MEMORY): Replace by TARGET_RETURN_IN_MEMORY.
  16445. * config/bfin/bfin.h: Likewise.
  16446. * config/bfin/bfin-protos.h (bfin_return_in_memory): Add fntype
  16447. argument.
  16448. * config/bfin/bfin.c: Likewise.
  16449. * config/pa/pa.h (OUTGOING_REG_PARM_STACK_SPACE): Add FNTYPE argument.
  16450. * config/alpha/unicosmk.h: Likewise.
  16451. * config/i386/cygming.h: Likewise.
  16452. * config/iq2000/iq2000.h: Likewise.
  16453. * config/mips/mips.h: Likewise.
  16454. * config/mn10300/mn10300.h: Likewise.
  16455. * config/rs6000/rs6000.h: Likewise.
  16456. * config/score/score.h: Likewise.
  16457. * config/spu/spu.h: Likewise.
  16458. * config/v850/v850.h: Likewise.
  16459. * defaults.h: Likewise.
  16460. * doc/tm.texi (OUTGOING_REG_PARM_STACK_SPACE): Adjust documentation.
  16461. * expr.c (emit_block_move): Adjust use of
  16462. OUTGOING_REG_PARM_STACK_SPACE.
  16463. * function.c (STACK_DYNAMIC_OFFSET): Adjust use of
  16464. OUTGOING_REG_PARM_STACK_SPACE.
  16465. * targhooks.c (default_return_in_memory): Remove RETURN_IN_MEMORY.
  16466. 2008-05-08 Jakub Jelinek <jakub@redhat.com>
  16467. * tree-parloops.c (create_parallel_loop): Set OMP_RETURN_NOWAIT
  16468. on OMP_RETURN for OMP_FOR.
  16469. PR debug/35896
  16470. * dwarf2out.c (dw_expand_expr, common_check): Removed.
  16471. (fortran_common): New function.
  16472. (gen_variable_die): Call fortran_common instead of common_check,
  16473. adjust for it returning tree instead of rtx. Formatting.
  16474. 2008-05-07 Kenneth Zadeck <zadeck@naturalbridge.com>
  16475. PR rtl/7335
  16476. PR rtl/33826
  16477. * see.c (see_copy_insn): Copy new pure const attributes for new call.
  16478. * c-decl.c (merge_decls): Ditto.
  16479. * postreload.c (record_opr_changes): Change CONST_OR_PURE_CALL_P
  16480. to RTL_CONST_OR_PURE_CALL_P.
  16481. * tree.c (define_local_buitin): Rename DECL_IS_PURE to DECL_PURE_P.
  16482. Initialized DECL_LOOPING_CONST_PURE.
  16483. (process_call_operands): Set tree_side_effects properly.
  16484. * tree.h (TREE_READONLY_DECL_P): Removed.
  16485. (DECL_IS_PURE): Renamed to DECL_PURE_P.
  16486. (DECL_LOOPING_OR_CONST_P): New macro.
  16487. (struct tree_function_decl): Added looping_const_or_pure_p.
  16488. (ECF_*) Renumbered.
  16489. (ECF_LOOPING_OR_CONST_P): New macro.
  16490. * rtlanal.c (pure_const_p): Removed.
  16491. * builtins.c (expand_builtin): Rename DECL_IS_PURE to DECL_PURE_P.
  16492. * reorg.c (delete_prior_computation) Changed CONST_OR_PURE_CALL_P
  16493. to RTL_CONST_CALL_P.
  16494. * ipa-pure-const.c (pure_const_state_e): Added looping field.
  16495. (check_decl, check_tree, check_call, scan_function): Initialize
  16496. looping.
  16497. (analyze_function): Rename DECL_IS_PURE to DECL_PURE_P.
  16498. (static_execute): Set looping true for recursive functions.
  16499. Undo setting state to IPA_NEITHER for recursive functions.
  16500. * cse.c (cse_insn):
  16501. * ifcvt.c (noce_can_store_speculate_p): Changed
  16502. CONST_OR_PURE_CALL_P and pure_call_p to RTL_CONST_CALL_P or
  16503. RTL_CONST_OR_PURE_CALL_P.
  16504. * dse.c (scan_insn): Ditto.
  16505. * local-alloc.c (validate_equiv_mem, memref_used_between_p): Ditto.
  16506. * gcse.c (oprs_not_seen_p) Changed CONST_OR_PURE_CALL_P to
  16507. RTL_CONST_OR_PURE_CALL_P.
  16508. (store_killed_in_insn): Changed CONST_OR_PURE_CALL_P and
  16509. pure_call_p to RTL_CONST_CALL_P.
  16510. * gimplify.c (gimplify_call_expr): Clear side effects for
  16511. non-looping pure and constant calls.
  16512. * calls.c (emit_call_1): Set rtl flags from ecf flags.
  16513. (flags_from_decl_or_type): Set ecf flags from decl flags.
  16514. (initialize_argument_information): Turn off
  16515. ECF_LOOPING_CONST_OR_PURE when turning off ECF_CONST.
  16516. Change const to pure if callee_copies is true rather than just
  16517. turning off const.
  16518. (expand_call): Turn off ECF_LOOPING_PURE_CONST_CALL and remove old
  16519. way of marking pure calls.
  16520. (emit_library_call_value_1): Turn off ECF_LOOPING_PURE_CONST_CALL.
  16521. Remove hack that was supposed to fix pr7335 and remove old
  16522. way of marking pure calls.
  16523. * emit-rtl.c (emit_copy_of_insn_after): Copy RTL_CONST_CALL_P,
  16524. RTL_PURE_CALL_P, RTL_LOOPING_CONST_OR_PURE_CALL_P.
  16525. * cselib.c (cselib_process_insn): Changed CONST_OR_PURE_CALL_P to
  16526. RTL_CONST_OR_PURE_CALL_P.
  16527. * tree-ssa-pre.c (can_value_number_call): Fixed spacing.
  16528. * loop-invariant.c (find_exits, find_invariant_bb): Changed
  16529. CONST_OR_PURE_CALL_P to RTL_CONST_OR_PURE_CALL_P.
  16530. * sched-deps.c (schedule_analyze): Ditto.
  16531. * rtl.h (struct rtx_def): Use call field, unchanging field, and
  16532. return_val field of calls to represent pure and const function info.
  16533. (CONST_OR_PURE_CALL_P): Deleted macro.
  16534. (RTL_CONST_CALL_P, RTL_PURE_CALL_P,
  16535. RTL_LOOPING_CONST_OR_PURE_CALL_P, RTL_CONST_OR_PURE_P): New macros.
  16536. * tree-inline.c (copy_body_r): Changed TREE_READONLY_DECL_P to
  16537. TREE_READONLY.
  16538. * tree-optimize.c (execute_fixup_cfg): Added test for
  16539. ECF_LOOPING_CONST_OR_PURE.
  16540. * c-common.c (handle_pure_attribute): Changed DECL_IS_PURE to
  16541. DECL_PURE_P.
  16542. * tree-cfg.c (update_call_expr_flags): Do not clear tree side
  16543. effects for looping pure or const calls.
  16544. (verify_gimple_expr): Added verification code.
  16545. * config/alpha/alpha.c (alpha_legitimize_address,
  16546. alpha_emit_xfloating_libcall): Changed CONST_OR_PURE_CALL_P to
  16547. RTL_CONST_CALL_P.
  16548. * config/s390/s390.c (s390_emit_tls_call_insn): Ditto.
  16549. * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Ditto.
  16550. * config/mips/mips.c (mips_call_tls_get_addr): Ditto.
  16551. * cfgrtl.c (need_fake_edge_p): Changed CONST_OR_PURE_CALL_P to
  16552. RTL_CONST_OR_PURE_CALL_P.
  16553. * dce.c (deletable_insn_p): Allow non looping, non sibling, pure
  16554. and const calls to be deleted.
  16555. 2008-05-07 Uros Bizjak <ubizjak@gmail.com>
  16556. PR target/35714
  16557. * config/i386/mmx.md (mmx_subv2sf3): New expander.
  16558. (*mmx_subv2sf3): Rename from mmx_subv2sf3 insn pattern.
  16559. (*mmx_eqv2sf3): Rename from mmx_eqv2sf3 insn pattern.
  16560. (mmx_eqv2sf3): New expander. Use ix86_fixup_binary_operands_no_copy
  16561. to handle nonimmediate operands.
  16562. (*mmx_paddwd): Rename from mmx_paddwd insn pattern.
  16563. (mmx_paddwd): New expander. Use ix86_fixup_binary_operands_no_copy
  16564. to handle nonimmediate operands.
  16565. (*mmx_pmulhrwv4hi3): Rename from mmx_pmulhrwv4hi3 insn pattern.
  16566. (mmx_pmulhrwv4hi3): New expander. Use
  16567. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16568. (*sse2_umulv1siv1di3): Rename from sse2_umulv1siv1di3 insn pattern.
  16569. (sse2_umulv1siv1di3): New expander. Use
  16570. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16571. (*mmx_eq<mode>3): Rename from mmx_eq<mode>3 insn pattern.
  16572. (mmx_eq<mode>3): New expander. Use
  16573. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16574. (*mmx_uavgv8qi3): Rename from mmx_uavgv8qi3 insn pattern.
  16575. (mmx_uavgv8qi3): New expander. Use
  16576. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16577. (*mmx_uavgv4hi3): Rename from mmx_uavgv4hi3 insn pattern.
  16578. (mmx_uavgv4hi3): New expander. Use
  16579. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16580. * config/i386/sse.md
  16581. (sse_movhlps_exp): New expander. Use ix86_fixup_binary_operands
  16582. to handle nonimmediate operands.
  16583. (sse_movlhps_exp): New expander. Use ix86_fixup_binary_operands
  16584. to handle nonimmediate operands.
  16585. (sse_loadhps_exp): New expander. Use ix86_fixup_binary_operands
  16586. to handle nonimmediate operands.
  16587. (sse_loadlps_exp): New expander. Use ix86_fixup_binary_operands
  16588. to handle nonimmediate operands.
  16589. (sse2_unpckhpd_exp): New expander. Use
  16590. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16591. (sse2_unpcklpd_exp): New expander. Use
  16592. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16593. (sse_loadhpd_exp): New expander. Use ix86_fixup_binary_operands
  16594. to handle nonimmediate operands.
  16595. (sse_loadlpd): New expander. Use ix86_fixup_binary_operands
  16596. to handle nonimmediate operands.
  16597. (*sse2_<plusminus_insn><mode>3): Rename from
  16598. sse2_<plusminus_insn><mode>3 insn pattern.
  16599. (sse2_<plusminus_insn><mode>3): New expander. Use
  16600. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16601. (*sse2_umulv2siv2di3): Rename from sse2_umulv2siv2di3 insn pattern.
  16602. (sse2_umulv2siv2di3): New expander. Use
  16603. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16604. (*sse4_1_mulv2siv2di3): Rename from sse4_1_mulv2siv2di3 insn pattern.
  16605. (sse4_1_mulv2siv2di3): New expander. Use
  16606. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16607. (*sse2_pmaddwd): Rename from sse2_pmaddwd insn pattern.
  16608. (sse2_pmaddwd): New expander. Use
  16609. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16610. (*sse2_eq<mode>3): Rename from sse2_eq<mode>3 insn pattern.
  16611. (sse2_eq<mode>3): New expander. Use
  16612. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16613. (*sse4_1_eqv2di3): Rename from sse4_1_eqv2di3 insn pattern.
  16614. (sse4_1_eqv2di3): New expander. Use
  16615. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16616. (*sse2_uavgv16qi3): Rename from sse2_uavgv16qi3 insn pattern.
  16617. (sse2_uavgv16qi3): New expander. Use
  16618. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16619. (*sse2_uavgv16qi3): Rename from sse2_uavgv16qi3 insn pattern.
  16620. (sse2_uavgv16qi3): New expander. Use
  16621. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16622. (*sse2_uavgv8hi3): Rename from sse2_uavgv8hi3 insn pattern.
  16623. (sse2_uavgv8hi3): New expander. Use
  16624. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16625. (*ssse3_pmulhrswv8hi3): Rename from ssse3_pmulhrswv8hi3 insn pattern.
  16626. (ssse3_pmulhrswv8hi3): New expander. Use
  16627. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16628. (*ssse3_pmulhrswv4hi3): Rename from ssse3_pmulhrswv4hi3 insn pattern.
  16629. (ssse3_pmulhrswv4hi3): New expander. Use
  16630. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16631. (<sse>_vm<plusminus_insn><mode>3): Do not use ix86_binary_operator_ok.
  16632. (<sse>_vmmul<mode>3): Ditto.
  16633. (divv4sf3): Do not use ix86_fixup_binary_operands_no_copy.
  16634. (divv2df3): Ditto.
  16635. (ssse3_pmaddubsw128): Use register_operand for operand 1.
  16636. (ssse3_pmaddubsw): Ditto.
  16637. * config/i386/i386.c (struct_builtin_description)
  16638. [IX86_BUILTIN_LOADHPS]: Use CODE_FOR_sse_loadhps_exp.
  16639. [IX86_BUILTIN_STOREHPS]: Use CODE_FOR_sse_loadlps_exp.
  16640. [IX86_BUILTIN_LOADHPD]: Use CODE_FOR_sse2_loadhpd_exp.
  16641. [IX86_BUILTIN_LOADLPD]: Use CODE_FOR_sse2_loadlpd_exp.
  16642. [IX86_BUILTIN_MOVHLPS]: Use CODE_FOR_sse_movhlps_exp.
  16643. [IX86_BUILTIN_MOVLHPS]: Use CODE_FOR_sse_movlhps_exp.
  16644. [IX86_BUILTIN_UNPCKHPD]: Use FOR_sse2_unpckhpd_exp.
  16645. [IX86_BUILTIN_UNPCKLPD]: Use FOR_sse2_unpcklpd_exp.
  16646. (ix86_fixup_binary_operands): Assert that src1
  16647. and src2 must have the same mode when swapped.
  16648. (ix86_expand_binop_builtin): Do not use ix86_fixup_binary_operands
  16649. and ix86_binary_operator_ok. Do not force operands in registers
  16650. when optimizing.
  16651. 2008-05-07 Jan Hubicka <jh@suse.cz>
  16652. * cgraph.c (dump_cgraph_node): Update.
  16653. * cgraph.h (cgraph_local_info): Break out inline summary.
  16654. * cgraphunit.c (cgraph_process_new_functions): Use inliner analysis
  16655. hook.
  16656. * ipa-inline (inline_summary): New accestor function.
  16657. (cgraph_clone_inlined_nodes, cgraph_check_inline_limits,
  16658. cgraph_decide_inlining, compute_inline_parameters): Update.
  16659. * ipa.c (cgraph_remove_unreachable_nodes): Remove statistics.
  16660. 2008-05-07 Maxim Kuvyrkov <maxim@codesourcery.com>
  16661. Cleanup ColdFire scheduling support and add V4 pipeline model.
  16662. * config/m68k/m68k.md (UNSPEC_TIE): New constant.
  16663. (define_attr cpu): Add cfv4 value.
  16664. (define_attr type, define_attr type1): Merge into a single 'type'
  16665. attribute. Update all uses.
  16666. (define_attr opx_type, define_attr opy_type, define_attr opx_access):
  16667. Rearrange and update. Rename value 'reg' to 'Rn', add value 'FPn'.
  16668. Update all uses.
  16669. (define_attr opx_mem, define_attr opy_mem): Remove.
  16670. (define_attr op_mem): Clean up, update comment.
  16671. (define_attr size): Use specific values instead of general int.
  16672. (define_attr guess, define_attr split): Remove. Update all uses.
  16673. (movdf_internal, tstsi_internal, tsthi_internal, tstqi_internal,
  16674. tst<mode>_68881, pushexthisi_const, movsi_const0_68000_10,
  16675. movsi_const0_68040_60, movsi_const0, movsi_cf, movstrictqi_cf,
  16676. zero_extendhisi2_cf, zero_extendqisi2_cfv4, cfv4_extendhisi2,
  16677. 68k_extendhisi2, extendqihi2, cfv4_extendqisi2, 68k_extendqisi2,
  16678. floatsi<mode>2_68881, ftrunc<mode>2_68881, ftrunc<mode>2_cf,
  16679. fix<mode>qi2_68881, fix<mode>hi2_68881, fix<mode>si2_68881,
  16680. adddi_dishl32, addsi3_5200, add<mode>3_floatsi_68881,
  16681. add<mode>3_floathi_68881, add<mode>3_floatqi_68881,
  16682. add<mode>3_68881, add<mode>3_cf, subdi_dishl32, subsi3,
  16683. sub<mode>3_floatsi_68881, sub<mode>3_floathi_68881,
  16684. sub<mode>3_floatqi_68881, sub<mode>3_68881, sub<mode>3_cf,
  16685. mulhi3, mulhisi3, mulhisisi3_s, mulsi3_68020, mulsi3_cf,
  16686. umulhisi3, mulhisisi3_z, mul<mode>3_floatsi_68881,
  16687. mul<mode>3_floathi_68881, mul<mode>3_floatqi_68881, fmul<mode>3_cf,
  16688. div<mode>3_cf, sqrt<mode>2_cf, abs<mode>2_cf, clzsi2,
  16689. one_cmplsi2_5200, subreghi1ashrdi_const32, ashrsi3, lshrsi3,
  16690. bsetmemqi, bsetmemqi_ext, bclrmemqi, bclrmemqi_ext,
  16691. beq, bne, bgt, blt, bordered, bunordered, buneq, bunge, bungt, bunle,
  16692. bunlt, bltgt, tablejump_internal, call, non_symbolic_call_value,
  16693. symbolic_call_value_jsr, symbolic_call_value_bsr, link):
  16694. Update or set attributes.
  16695. (stack_tie): New fake instruction.
  16696. * config/m68k/m68k.h (TUNE_CFV4): New macro.
  16697. (m68k_sched_attr_size): Update declaration.
  16698. (m68k_sched_attr_type2): Remove.
  16699. (m68k_sched_address_bypass_p, m68k_sched_indexed_address_bypass_p):
  16700. Declare new bypass predicates.
  16701. * config/m68k/m68k.c (m68k_sched_issue_rate,
  16702. m68k_sched_first_cycle_multipass_dfa_lookahead): Declare hook
  16703. implementations.
  16704. (TARGET_SCHED_ISSUE_RATE,
  16705. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Override hooks.
  16706. (override_options): Handle scheduling for ColdFire V4 core.
  16707. (m68k_expand_prologue): Emit stack_tie.
  16708. (enum attr_op_type): Split value 'OP_TYPE_REG' to 'OP_TYPE_RN' and
  16709. 'OP_TYPE_FPN'. Update all uses.
  16710. (sched_guess_p): Remove.
  16711. (sched_address_type): Handle symbolic addresses.
  16712. (sched_get_operand): New static function.
  16713. (sched_operand_type): Merge into sched_attr_op_type.
  16714. (sched_attr_op_type): Handle FP registers, handle quick constants,
  16715. update.
  16716. (m68k_sched_attr_opx_type, m68k_sched_attr_opy_type): Update.
  16717. (m68k_sched_attr_size): Update. Move logic to ...
  16718. (sched_get_attr_size_int): New static function.
  16719. (sched_get_opxy_mem_type): New static function.
  16720. (m68k_sched_attr_op_mem): Update.
  16721. (m68k_sched_attr_type2): Remove.
  16722. (sched_cfv4_bypass_data): New static variable.
  16723. (m68k_sched_adjust_cost): Handle ColdFire V4 bypass.
  16724. (m68k_sched_issue_rate): Implement scheduler hook.
  16725. (struct _sched_ib: enabled_p): New field.
  16726. (m68k_sched_variable_issue): Update. Handle V4.
  16727. (SCHED_DUMP_TODO, SCHED_DUMP_DONE, SCHED_DUMP_NOTHING,
  16728. sched_dump_class_func_t, sched_dump_split_class,
  16729. sched_dump_dfa_guess_unit_code, sched_dump_dfa_state,
  16730. sched_dump_dfa_class, m68k_sched_dump): Remove.
  16731. (m68k_sched_first_cycle_multipass_dfa_lookahead): Implement scheduler
  16732. hook.
  16733. (m68k_sched_init_global): Remove statisctics dumping, introduce
  16734. sanity check that all instructions have pipeline reservations. Handle
  16735. ColdFire V4 core.
  16736. (m68k_sched_dfa_pre_advance_cycle, m68k_sched_dfa_post_advance_cycle):
  16737. Handle ColdFire V4 core.
  16738. (sched_mem_operand_p, sched_get_reg_operand, sched_get_mem_operand):
  16739. New static functions.
  16740. (m68k_sched_address_bypass_p): New bypass predicate.
  16741. (sched_get_indexed_address_scale): New static function.
  16742. (m68k_sched_indexed_address_bypass_p): New bypass predicate.
  16743. * cf.md: Update comments.
  16744. (define_attr type2): Remove. Use 'type' attribute instead.
  16745. Update all uses.
  16746. (cf_ib): Rename to cfv123_ib. Update all uses.
  16747. (cf_oep): Rename to cfv123_oep. Update all uses.
  16748. (cf_chr): Rename to cfv123_chr. Update all uses.
  16749. (cf_mem): Rename to cfv123_mem. Update all uses.
  16750. (cf_mac): Move to more appropriate place.
  16751. (cfv123_guess): New automaton and cpu_unit.
  16752. (cfv123_*, cfv12_*, cfv1_*, cfv2_*, cfv3_*): Use type attribute.
  16753. Update uses of 'size' attribute. Handle before reload scheduling.
  16754. (cfv123_guess): New dummy reservation for unhandled instructions.
  16755. (cfv4_*): Pipeline description of ColdFire V4 core.
  16756. (ignore): New reservation to handle 'ignore' type.
  16757. 2008-05-07 Ian Lance Taylor <iant@google.com>
  16758. PR middle-end/36013
  16759. * gimplify.c (find_single_pointer_decl_1): Don't look through
  16760. indirections.
  16761. (find_single_pointer_decl): Adjust comments.
  16762. 2008-05-07 Jakub Jelinek <jakub@redhat.com>
  16763. PR middle-end/36137
  16764. * fold-const.c (fold_binary): Use STRIP_SIGN_NOPS instead of
  16765. STRIP_NOPS on arguments even for MIN_EXPR and MAX_EXPR.
  16766. PR middle-end/36106
  16767. * omp-low.c (expand_omp_atomic_pipeline): Load value using the
  16768. integral type rather than floating point, then VIEW_CONVERT_EXPR
  16769. to the floating point type.
  16770. 2008-05-07 Uros Bizjak <ubizjak@gmail.com>
  16771. * config/i386/i386.c (ix86_expand_copysign): Force non-zero constant
  16772. TFmode op0 to register.
  16773. 2008-05-07 Alan Modra <amodra@bigpond.net.au>
  16774. * c-decl.c (grokdeclarator): Comment typo.
  16775. 2008-05-06 Aldy Hernandez <aldyh@redhat.com>
  16776. * tree-flow.h: Remove prototype for computed_goto_p.
  16777. * tree-cfg.c (computed_goto_p): Make static.
  16778. 2008-05-06 H.J. Lu <hongjiu.lu@intel.com>
  16779. PR target/35657
  16780. * config/i386/i386.c (contains_128bit_aligned_vector_p): Renamed to ...
  16781. (contains_aligned_value_p): This. Handle _Decimal128.
  16782. (ix86_function_arg_boundary): Only align _Decimal128 to its
  16783. natural boundary and handle it properly.
  16784. 2008-05-06 Martin Jambor <mjambor@suse.cz>
  16785. * ipa-cp.c (ipcp_method_orig_node): Renamed to ipcp_get_orig_node.
  16786. (ipcp_method_is_cloned): Renamed to ipcp_node_is_clone
  16787. (ipcp_method_set_orig_node): Removed.
  16788. (ipcp_cval_get_cvalue_type): Removed.
  16789. (ipcp_method_get_scale): Renamed to ipcp_get_node_scale.
  16790. (ipcp_method_set_scale): Renamed to ipcp_set_node_scale.
  16791. (ipcp_cval_set_cvalue_type): Removed.
  16792. (ipcp_cval_get_cvalue): Removed.
  16793. (ipcp_cval_set_cvalue): Removed.
  16794. (ipcp_type_is_const): Renamed to ipcp_lat_is_const.
  16795. (ipcp_cval_equal_cvalues): Renamed to ipcp_lats_are_equal
  16796. (ipcp_lats_are_equal): Changed parameters to two ipcp_lattice's
  16797. (ipcp_cval_meet): Renamed to ipa_lattice_meet
  16798. (ipcp_cval_changed): Changed to use ipcp_lat_is_const
  16799. (ipcp_method_cval): Renamed to ipcp_get_ith_lattice
  16800. (ipcp_get_ith_lattice): Changed parameters.
  16801. (ipcp_cval_compute): Renamed to ipcp_lattice_from_jfunc
  16802. (ipcp_lattice_from_jfunc): Changed parameters.
  16803. (ipcp_redirect): Local lattice pointer instead of lattice type variable.
  16804. (ipcp_method_cval_print): Added temporary variable info.
  16805. (ipcp_redirect): Removed already unused local variable caller.
  16806. (ipcp_redirect): New temporary variable orig_callee_info
  16807. (ipcp_redirect): Removed newly unused local variable callee.
  16808. (ipcp_redirect): Removed (a bit confusing) local variable type.
  16809. (ipcp_insert_stage): Added local variable info.
  16810. (ipcp_cval_changed): Renamed to ipcp_lattice_changed, parameters
  16811. renamed too
  16812. (ipcp_formal_create): Removed.
  16813. (ipcp_method_cval_set): Removed.
  16814. (ipcp_propagate_stage): Renamed lattice variables.
  16815. (ipcp_method_cval_set_cvalue_type): Removed.
  16816. (ipcp_method_cval_print): Renamed to ipcp_print_all_lattices
  16817. (ipcp_print_all_lattices): Changed printed strings to refer to
  16818. lattices rather than cvals.
  16819. (ipcp_method_cval_init): Renamed to ipcp_initialize_node_lattices
  16820. (ipcp_propagate_const): Changed formal parameters.
  16821. (build_const_val): Changed formal parameters.
  16822. (ipcp_insert_stage): Removed useless variable cvalue
  16823. (build_const_val): Changed formal parameters.
  16824. (ipcp_method_compute_scale): Renamed to ipcp_compute_node_scale
  16825. (ipcp_after_propagate): Renamed to ipcp_change_tops_to_bottom
  16826. (ipcp_callsite_param_print): Renamed to ipcp_print_all_jump_functions
  16827. (ipcp_profile_mt_count_print): Renamed to ipcp_print_func_profile_counts
  16828. (ipcp_print_func_profile_counts): Changed string from "method" to
  16829. "function"
  16830. (ipcp_profile_cs_count_print): Renamed to ipcp_print_call_profile_counts
  16831. (ipcp_profile_edge_print): Renamed to ipcp_print_edge_profiles
  16832. (ipcp_profile_bb_print): Renamed to ipcp_print_bb_profiles
  16833. (ipcp_structures_print): Renamed to ipcp_print_all_structures
  16834. (ipcp_profile_print): Renamed to ipcp_print_profile_data
  16835. (ipcp_lat_is_const): Changed parameters and made inline.
  16836. (ipcp_replace_map_create): Renamed to ipcp_create_replace_map
  16837. (ipcp_redirect): Renamed to ipcp_need_redirect_p
  16838. (ipcp_need_redirect_p): Calls ipcp_lat_is_const instead of using
  16839. the predicate condition directly
  16840. (ipcp_propagate_stage): Added local variable args. Removed local
  16841. variable callee. (Both are mere code simplifications.)
  16842. (ipcp_method_dont_insert_const): Renamed to
  16843. ipcp_node_not_modifiable_p.
  16844. (ipcp_node_not_modifiable_p): Made inline.
  16845. (ipcp_cloned_create): Renamed to ipcp_init_cloned_node
  16846. (ipcp_propagate_const): Renamed to ipcp_propagate_one_const
  16847. (ipcp_print_all_lattices): Removed variable cvalue
  16848. (ipcp_method_scale_print): Renamed to ipcp_function_scale_print
  16849. Updated comments.
  16850. 2008-05-06 Olivier Hainque <hainque@adacore.com>
  16851. * tree-sra.c (try_instantiate_multiple_fields): Early return
  16852. if field has POINTER_TYPE.
  16853. 2008-05-06 Kai Tietz <kai.tietz@onevision.com>
  16854. * config/i386/i386.c (output_set_got): Fix for x86_64 output_emit_asm
  16855. by using 'q' specifier for instruction.
  16856. (ix86_file_end): Replaced case TARGET_64BIT_MS_ABI by TARGET_64BIT.
  16857. 2008-05-06 Anatoly Sokolov <aesok@post.ru>
  16858. * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
  16859. Change mode of zero_extract from QImode to HImode.
  16860. (sign bit tests peepholes): (Ditto.).
  16861. 2008-05-06 Uros Bizjak <ubizjak@gmail.com>
  16862. * config/i386/mmx.md: Remove double backslashes from asm templates.
  16863. (*mmx_addv2sf3): Rename from mmx_addv2sf3 insn pattern.
  16864. (mmx_addv2sf3): New expander. Use ix86_fixup_binary_operands_no_copy
  16865. to handle nonimmediate operands.
  16866. (*mmx_mulv2sf3): Rename from mmx_mulv2sf3 insn pattern.
  16867. (mmx_mulv2sf3): New expander. Use ix86_fixup_binary_operands_no_copy
  16868. to handle nonimmediate operands.
  16869. (*mmx_<code>v2sf3_finite): New insn pattern.
  16870. (*mmx_<code>v2sf3): Rename from mmx_<code>v2sf3 insn pattern.
  16871. (mmx_<code>v2sf3): New expander. Use
  16872. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16873. (mmx_<plusminus_insn><mode>3): New expander. Use
  16874. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16875. (*mmx_<plusminus_insn><mode>3): New insn pattern.
  16876. (mmx_add<mode>3): Removed.
  16877. (mmx_ssadd<mode>3): Ditto.
  16878. (mmx_usadd<mode>3): Ditto.
  16879. (mmx_sub<mode>3): Ditto.
  16880. (mmx_sssub<mode>3): Ditto.
  16881. (mmx_ussub<mode>3): Ditto.
  16882. (*mmx_mulv4hi3): Rename from mmx_mulv4hi3 insn pattern.
  16883. (mmx_mulv4hi3): New expander. Use ix86_fixup_binary_operands_no_copy
  16884. to handle nonimmediate operands.
  16885. (*mmx_smulv4hi3_highpart): Rename from mmx_smulv4hi3_highpart
  16886. insn pattern.
  16887. (mmx_smulv4hi3_highpart): New expander. Use
  16888. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16889. (*mmx_umulv4hi3_highpart): Rename from mmx_umulv4hi3_highpart
  16890. insn pattern.
  16891. (mmx_umulv4hi3_highpart): New expander. Use
  16892. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16893. (*mmx_<code>v4hi3): Rename from mmx_<code>v4hi3 insn pattern.
  16894. (mmx_<code>v4hi3): New expander. Use
  16895. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16896. (*mmx_<code>v8qi3): Rename from mmx_<code>v8qi3 insn pattern.
  16897. (mmx_<code>v8qi3): New expander. Use
  16898. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16899. (*mmx_<code><mode>3): Rename from mmx_<code><mode>3 insn pattern.
  16900. (mmx_<code><mode>3): New expander. Use
  16901. ix86_fixup_binary_operands_no_copy to handle nonimmediate operands.
  16902. 2008-05-05 Jan Hubicka <jh@suse.cz>
  16903. PR tree-optimization/36118
  16904. * passes.c (pass_init_dump_file): Fix dump header.
  16905. 2008-05-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
  16906. PR middle-end/36141
  16907. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't create
  16908. VCE for function decls.
  16909. 2008-05-05 H.J. Lu <hongjiu.lu@intel.com>
  16910. * config/i386/sse.md (sse2_<plusminus_insn><mode>3): Fix a typo.
  16911. 2008-05-05 H.J. Lu <hongjiu.lu@intel.com>
  16912. * config/i386/i386.md (sat_plusminus): New.
  16913. (plusminus_insn): Likewise.
  16914. (plusminus_mnemonic): Likewise.
  16915. (addsub): Removed.
  16916. (comm): Add ss_plus, us_plus, ss_minus and us_minus.
  16917. (*<addsub><mode>3_cc_overflow): Renamed to ...
  16918. (*<plusminus_insn><mode>3_cc_overflow): This.
  16919. (*<addsub>si3_zext_cc_overflow): Renamed to ...
  16920. (*<plusminus_insn>si3_zext_cc_overflow): This.
  16921. * config/i386/sse.md (<addsub><mode>3): Renamed to ...
  16922. (<plusminus_insn><mode>3): This.
  16923. (*<addsub><mode>3): Renamed to ...
  16924. (*<plusminus_insn><mode>3): This.
  16925. (<sse>_vm<addsub><mode>3): Renamed to ...
  16926. (<sse>_vm<plusminus_insn><mode>3): This.
  16927. (sse3_h<addsub>v4sf3): Renamed to ...
  16928. (sse3_h<plusminus_insn>v4sf3): This.
  16929. (sse3_h<addsub>v2df3): Renamed to ...
  16930. (sse3_h<plusminus_insn>v2df3): This.
  16931. (<plusminus_insn><mode>3): New.
  16932. (*<plusminus_insn><mode>3): Likewise.
  16933. (sse2_<plusminus_insn><mode>3): Likewise.
  16934. (add<mode>): Removed.
  16935. (*add<mode>3): Likewise.
  16936. (sse2_ssadd<mode>3): Likewise.
  16937. (sse2_usadd<mode>3): Likewise.
  16938. (sub<mode>3): Likewise.
  16939. (*sub<mode>3): Likewise.
  16940. (sse2_sssub<mode>3): Likewise.
  16941. (sse2_ussub<mode>3): Likewise.
  16942. 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
  16943. * gthr-single.h: Add in required interface elements as per gthr.h.
  16944. Add stub types for __gthread_key_t, __gthread_once_t. Add defines
  16945. for __GTHREAD_ONCE_INIT, __GTHREAD_RECURSIVE_MUTEX_INIT.
  16946. Generalize UNUSED macro.
  16947. (__gthread_once): Add.
  16948. (__gthread_key_create): Add.
  16949. (__gthread_key_delete): Add.
  16950. (__gthread_getspecific): Add.
  16951. (__gthread_setspecific): Add.
  16952. 2008-05-05 Andrew Pinski <Andrew.Pinski@playstation.sony.com>
  16953. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): If we have
  16954. the same size types for the indirect reference on the rhs, then
  16955. create a VCE.
  16956. 2008-05-05 Uros Bizjak <ubizjak@gmail.com>
  16957. * config/i386/i386.md
  16958. (*float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit): Use only
  16959. one insn template instead of template series.
  16960. (*xordi_1_rex64): Ditto.
  16961. (*xordi_2_rex64): Ditto.
  16962. 2008-05-05 Ira Rosen <irar@il.ibm.com>
  16963. PR tree-optimization/36119
  16964. * tree-vect-transform.c (vectorizable_assignment): Set NCOPIES to 1
  16965. in case of SLP.
  16966. 2008-06-04 Jan Hubicka <jh@suse.cz>
  16967. tree-optimization/36100
  16968. * tree-pass.h (pass_O0_always_inline): Declare.
  16969. * ipa-inline.c (inline_transform): Remove dead code.
  16970. (cgraph_gate_O0_always_inline, cgraph_O0_always_inline,
  16971. pass_O0_always_inline): New.
  16972. * passes.c (init_optimization_passes): Add pass_O0_always_inline.
  16973. 2008-05-04 Kai Tietz <kai.tietz@onevision.com>
  16974. * config/i386/i386.c (x86_output_mi_thunk): Use movq alternative
  16975. mnemonic in this_param move for TARGET_64BIT.
  16976. 2008-05-04 Uros Bizjak <ubizjak@gmail.com>
  16977. * config/i386/i386.md (*strmovsi_1): Simplify asm alternatives.
  16978. (*strmovsi_rex_1): Ditto.
  16979. (*strsetsi_1): Ditto.
  16980. (*strsetsi_rex_1): Ditto.
  16981. (add<mode>cc): Macroize expander from addqicc, addhicc, addsicc and
  16982. adddicc expanders using SWI mode iterator.
  16983. 2008-05-04 H.J. Lu <hongjiu.lu@intel.com>
  16984. PR target/36121
  16985. * config/i386/i386.c (ix86_expand_special_args_builtin): Remove three
  16986. argument handling.
  16987. 2008-05-04 David S. Miller <davem@davemloft.net>
  16988. * config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes.
  16989. (sparc*-*-linux*): Use linux.h in tm_file.
  16990. (sparc-*-linux*): If 'enabled_targets' is 'all', build a bi-arch
  16991. compiler defaulting to 32-bit.
  16992. (sparc*-*-*): Remove explicit target settings of need_64bit_hwint,
  16993. no longer needed.
  16994. * config/sparc/linux.h: Remove definitions now obtained
  16995. properly from linux.h
  16996. * config/sparc/linux64.h: Likewise.
  16997. (ASM_CPU_DEFAULT_SPEC): Change this to ASM_CPU64_DEFAULT_SPEC, we
  16998. don't want this setting for 32-bit builds in a biarch compiler.
  16999. * doc/install.texi: Add sparc-linux to list of targets
  17000. supporting --enable-targets=all.
  17001. 2008-05-03 Andrew Pinski <pinskia@gmail.com>
  17002. * Makefile.in (tree-ssa-phiprop.o): Fix dependencies.
  17003. 2008-05-03 H.J. Lu <hongjiu.lu@intel.com>
  17004. * config/i386/i386.c (ix86_builtin_type): Move V4SI_FTYPE_V4SF
  17005. after V4SI_FTYPE_V8HI.
  17006. (ix86_init_mmx_sse_builtins): Move case V4HI_FTYPE_V4HI after
  17007. case V4SI_FTYPE_V2DF.
  17008. 2008-05-03 Kenneth Zadeck <zadeck@naturalbridge.com>
  17009. * doc/invoke.texi (max-flow-memory-locations): Removed.
  17010. * params.def (PARAM_MAX_FLOW_MEMORY_LOCATIONS): Removed.
  17011. 2008-05-03 Richard Guenther <rguenther@suse.de>
  17012. PR middle-end/34973
  17013. * opts.c (set_Wstrict_aliasing): Handle the turn-off case.
  17014. 2008-05-02 David S. Miller <davem@davemloft.net>
  17015. * config.gcc (need_64bit_hwint): Document libcpp dependency.
  17016. 2008-05-02 Simon Baldwin <simonb@google.com>
  17017. PR bootstrap/36108
  17018. * c-common.h (warn_array_subscript_range): Removed.
  17019. * c-common.c (warn_array_subscript_range): Ditto.
  17020. * tree-vrp.c (check_array_ref): Revert to ignoring arrays with size 2.
  17021. * c-typeck.c (build_array_ref): Remove warn_array_subscript_range.
  17022. 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
  17023. * config/i386/i386.c (ix86_special_builtin_type): New.
  17024. (bdesc_special_args): Likewise.
  17025. (ix86_expand_special_args_builtin): Likewise.
  17026. (ix86_init_mmx_sse_builtins): Updated.
  17027. (ix86_expand_builtin): Updated.
  17028. (ix86_expand_store_builtin): Removed.
  17029. (ix86_expand_unop_builtin): Likewise.
  17030. * config/i386/mm3dnow.h (__v2sf): Moved to ...
  17031. * config/i386/mmintrin.h (__v2sf): Here.
  17032. * config/i386/xmmintrin.h (_mm_loadh_pi): Replace __v2si with
  17033. const __v2sf.
  17034. (_mm_loadl_pi): Likewise.
  17035. (_mm_storeh_pi): Replace __v2si with __v2sf.
  17036. (_mm_storel_pi): Likewise.
  17037. * doc/extend.texi: Correct __builtin_ia32_loadhps,
  17038. __builtin_ia32_loadlps, __builtin_ia32_storehps,
  17039. __builtin_ia32_storelps, __builtin_ia32_loadhpd and
  17040. __builtin_ia32_loadlpd.
  17041. 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
  17042. * config/i386/i386.c (ix86_builtin_type): Add FLOAT_FTYPE_FLOAT,
  17043. V4SF_FTYPE_V4SF_VEC_MERGE and V2DF_FTYPE_V2DF_VEC_MERGE.
  17044. (bdesc_args): Updated. Add scalar SSE builtins with vec_merge.
  17045. (ix86_init_mmx_sse_builtins): Updated.
  17046. (ix86_expand_args_builtin): Likewise.
  17047. (ix86_expand_builtin): Likewise.
  17048. (ix86_expand_unop1_builtin): Renamed to ...
  17049. (ix86_expand_unop_vec_merge_builtin): This.
  17050. 2008-05-01 Jan Hubicka <jh@suse.cz>
  17051. PR bootstrap/36100
  17052. * ipa-inline.c (inline_generate_summary): Make static.
  17053. (inline_transform): Do not call inlining at -O0; make static.
  17054. * passes.c (execute_todo): Add sanity check.
  17055. (execute_one_ipa_transform_pass): Execute proper flags.
  17056. 2008-05-01 Eric Botcazou <ebotcazou@adacore.com>
  17057. * tree.h (TYPE_NONALIASED_COMPONENT): Expand comment.
  17058. (DECL_NONADDRESSABLE_P): Likewise.
  17059. * alias.c (record_component_aliases): Fix comment.
  17060. 2008-05-01 Simon Baldwin <simonb@google.com>
  17061. * c-common.h (warn_array_subscript_range): New function.
  17062. * c-common.c (warn_array_subscript_range): Ditto.
  17063. * tree-vrp.c (check_array_ref): Corrected code to agree with
  17064. comment, ignoring only arrays of size 0 or size 1.
  17065. * c-typeck.c (build_array_ref): Call warn_array_subscript_range.
  17066. 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
  17067. * config/i386/i386.c (ix86_builtin_type): Replace
  17068. DI_FTYPE_DI_DI_INT with V1DI2DI_FTYPE_V1DI_V1DI_INT.
  17069. (bdesc_args): Updated.
  17070. (ix86_init_mmx_sse_builtins): Likewise.
  17071. (ix86_expand_args_builtin): Likewise.
  17072. * config/i386/tmmintrin.h (_mm_alignr_pi8): Replace long long
  17073. with __v1di.
  17074. * doc/extend.texi: Correct __builtin_ia32_palignr.
  17075. 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
  17076. PR target/36095
  17077. * config/i386/i386.c (bdesc_crc32): Removed.
  17078. (ix86_expand_crc32): Likewise.
  17079. (ix86_builtin_type): Replace V2DI2TI_FTYPE_V2DI2TI_INT with
  17080. V2DI2TI_FTYPE_V2DI_INT, V2DI2TI_FTYPE_V2DI2TI_V2DI2TI_INT with
  17081. V2DI2TI_FTYPE_V2DI_V2DI_INT. Add UINT64_FTYPE_UINT64_UINT64,
  17082. UINT_FTYPE_UINT_UINT, UINT_FTYPE_UINT_USHORT and
  17083. UINT_FTYPE_UINT_UCHAR.
  17084. (bdesc_args): Updated. Add crc32 builtins.
  17085. (ix86_init_mmx_sse_builtins): Updated.
  17086. (ix86_expand_args_builtin): Updated to support subreg.
  17087. * doc/extend.texi: Correct __builtin_ia32_crc32di.
  17088. 2008-05-01 Jan Hubicka <jh@suse.cz>
  17089. * tree-pass.h (opt_pass): Add IPA_PASS.
  17090. (varpool_node, cgraph_node): Forward declare.
  17091. (ipa_opt_pass): Define.
  17092. (pass_ipa_inline): Turn into ipa_opt_pass.
  17093. (pass_apply_inline): Remove.
  17094. * ipa-inline.c (pass_ipa_inline): Turn into ipa_opt_pass.
  17095. (apply_inline): Turn into ....
  17096. (inline_transform): ... this one.
  17097. (inline_generate_summary): New function.
  17098. (pass_apply_inline): Remove.
  17099. * function.h (ipa_opt_pass): Forward declare structure; typedef;
  17100. vector.
  17101. (struct function): Add ipa_transforms_to_apply.
  17102. * passes.c (register_one_dump_file): Work on IPA_PASS.
  17103. (init_optimization_passes): Remove pass_inline_parameters and
  17104. pass_apply_inline.
  17105. (pass_init_dump_file, pass_fini_dump_file): Break out from ....
  17106. (execute_one_pass) ... here; apply transforms when possible.
  17107. (add_ipa_transform_pass, execute_ipa_summary_asses,
  17108. execute_one_ipa_transform_pass): New.
  17109. (execute_ipa_pass_list): Update for IPA_PASS type.
  17110. 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
  17111. * config/i386/i386.c (ix86_builtin_type): Add
  17112. V2DI_FTYPE_V2DI_V16QI, V2DI_FTYPE_V2DI_UINT_UINT and
  17113. V2DI_FTYPE_V2DI_V2DI_UINT_UINT.
  17114. (bdesc_args): Add SSE4a builtins.
  17115. (ix86_init_mmx_sse_builtins): Updated.
  17116. (ix86_expand_args_builtin): Likewise.
  17117. (ix86_expand_builtin): Likewise.
  17118. 2008-05-01 H.J. Lu <hongjiu.lu@intel.com>
  17119. * config/i386/i386.c (ix86_builtin_type): Add
  17120. V8HI_FTYPE_V8HI_V8HI_COUNT, V8HI_FTYPE_V8HI_SI_COUNT,
  17121. V4SI_FTYPE_V4SI_V4SI_COUNT, V4SI_FTYPE_V4SI_SI_COUNT,
  17122. V4HI_FTYPE_V4HI_V4HI_COUNT, V4HI_FTYPE_V4HI_SI_COUNT,
  17123. V2DI_FTYPE_V2DI_V2DI_COUNT, V2DI_FTYPE_V2DI_SI_COUNT,
  17124. V2SI_FTYPE_V2SI_V2SI_COUNT, V2SI_FTYPE_V2SI_SI_COUNT,
  17125. V1DI_FTYPE_V1DI_V1DI_COUNT, V1DI_FTYPE_V1DI_SI_COUNT,
  17126. V8HI_FTYPE_V8HI_INT, V4SI_FTYPE_V4SI_INT, V4HI_FTYPE_V4HI_INT,
  17127. V2DI2TI_FTYPE_V2DI2TI_INT, V2DI2TI_FTYPE_V2DI2TI_V2DI2TI_INT
  17128. and DI_FTYPE_DI_DI_INT.
  17129. (bdesc_args): Add MMX/SSE shift, shuffle and palignr builtins.
  17130. (ix86_init_mmx_sse_builtins): Updated.
  17131. (ix86_expand_args_builtin): Likewise.
  17132. (ix86_expand_builtin): Likewise.
  17133. (ix86_expand_binop_imm_builtin): Removed.
  17134. * doc/extend.texi: Correct __builtin_ia32_palignr128.
  17135. 2008-04-30 Richard Guenther <rguenther@suse.de>
  17136. PR tree-optimization/32921
  17137. * tree-ssa-loop-im.c (mem_refs_may_alias_p): Disambiguate with TBAA.
  17138. 2008-04-30 Richard Sandiford <rsandifo@nildram.co.uk>
  17139. * config/arm/arm.c (arm_unwind_emit): Use
  17140. crtl->all_throwers_are_sibcalls instead of
  17141. cfun->all_throwers_are_sibcalls.
  17142. (arm_output_fn_unwind): Likewise.
  17143. * config/frv/frv.c (frv_stack_info): Use crtl->uses_pic_offset_table
  17144. instead of cfun->uses_pic_offset_table.
  17145. (frv_expand_prologue): Likewise.
  17146. (frv_frame_pointer_required): Likewise.
  17147. (frv_expand_fdpic_call): Likewise.
  17148. (frv_emit_movsi): Likewise.
  17149. * config/iq2000/iq2000.c (iq2000_expand_prologue): Use
  17150. cfun->returns_pcc_struct instead of
  17151. current_function_returns_pcc_struct.
  17152. * config/m32c/m32c.c (need_to_save): Use crtl->calls_eh_return
  17153. instead of cfun->calls_eh_return.
  17154. (m32c_pushm_popm): Likewise.
  17155. * config/xtensa/xtensa.h (cfun->calls_alloca): Remove bogus
  17156. "extern" declaration.
  17157. 2008-04-30 Richard Guenther <rguenther@suse.de>
  17158. PR tree-optimization/21636
  17159. * tree-ssa-ccp.c (ccp_fold): Handle &p->x with p being a
  17160. constant address.
  17161. (evaluate_stmt): Print the likely value.
  17162. (ccp_visit_stmt): Avoid excessive vertical spacing.
  17163. 2008-04-30 Rafael Espíndola <espindola@google.com>
  17164. * builtins.c (fold_call_expr): Return realret.
  17165. * tree-ssa-threadedge.c
  17166. (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
  17167. __builtin_object_size.
  17168. 2008-04-30 Seongbae Park <seongbae.park@gmail.com>
  17169. * gcc.c (wrapper_string): New variable.
  17170. (insert_wrapper): New function.
  17171. (execute): New option -wrapper.
  17172. * doc/invoke.texi (Overall Options): New driver option -wrapper.
  17173. 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
  17174. * config/rs6000/crtresgpr.asm, config/rs6000/crtresxgpr.asm,
  17175. config/rs6000/crtsavgpr.asm, config/rs6000/crtresfpr.asm,
  17176. config/rs6000/crtresxfpr.asm, config/rs6000/crtsavfpr.asm: Break out
  17177. from...
  17178. * config/rs6000/crtsavres.asm: ...here. Remove unneeded file.
  17179. * config/rs6000/e500crtres32gpr.asm, config/rs6000/e500crtres64gpr.asm,
  17180. config/rs6000/e500crtres64gprctr.asm,
  17181. config/rs6000/e500crtrest32gpr.asm, config/rs6000/e500crtrest64gpr.asm,
  17182. config/rs6000/e500crtresx32gpr.asm, config/rs6000/e500crtresx64gpr.asm,
  17183. config/rs6000/e500crtsav32gpr.asm, config/rs6000/e500crtsav64gpr.asm,
  17184. config/rs6000/e500crtsav64gprctr.asm,
  17185. config/rs6000/e500crtsavg32gpr.asm, config/rs6000/e500crtsavg64gpr.asm,
  17186. config/rs6000/e500crtsavg64gprctr.asm: New files.
  17187. * config/rs6000/t-ppccomm: Add build rules for new files.
  17188. (LIB2FUNCS_STATIC_EXTRA): Add new files.
  17189. * config/rs6000/t-netbsd: Add build rules for new files.
  17190. (LIB2FUNCS_STATIC_EXTRA): New variable.
  17191. * config/rs6000/sysv4.h (ENDFILE_SPEC): Don't include crtsavres.o
  17192. (CRTSAVRES_DEFAULT_SPEC): Likewise.
  17193. * config/rs6000/netbsd.h (ENDFILE_SPEC): Likewise.
  17194. 2008-04-30 H.J. Lu <hongjiu.lu@intel.com>
  17195. * config/i386/i386.c (ix86_builtin_type): Add
  17196. FLOAT128_FTYPE_FLOAT128_FLOAT128, V16QI_FTYPE_V16QI_V16QI,
  17197. V16QI_FTYPE_V8HI_V8HI, V8QI_FTYPE_V8QI_V8QI,
  17198. V8QI_FTYPE_V4HI_V4HI, V8HI_FTYPE_V8HI_V8HI,
  17199. V8HI_FTYPE_V16QI_V16QI, V8HI_FTYPE_V4SI_V4SI,
  17200. V4SI_FTYPE_V4SI_V4SI, V4SI_FTYPE_V8HI_V8HI,
  17201. V4SI_FTYPE_V4SF_V4SF, V4SI_FTYPE_V2DF_V2DF,
  17202. V4HI_FTYPE_V4HI_V4HI, V4HI_FTYPE_V8QI_V8QI,
  17203. V4HI_FTYPE_V2SI_V2SI, V4SF_FTYPE_V4SF_V4SF,
  17204. V4SF_FTYPE_V4SF_V4SF_SWAP, V4SF_FTYPE_V4SF_V2SI,
  17205. V4SF_FTYPE_V4SF_V2DF, V4SF_FTYPE_V4SF_DI,
  17206. V4SF_FTYPE_V4SF_SI, V2DI_FTYPE_V2DI_V2DI,
  17207. V2DI_FTYPE_V16QI_V16QI, V2DI_FTYPE_V4SI_V4SI,
  17208. V2DI_FTYPE_V2DF_V2DF, V2SI_FTYPE_V2SI_V2SI,
  17209. V2SI_FTYPE_V4HI_V4HI, V2SI_FTYPE_V2SF_V2SF,
  17210. V2DF_FTYPE_V2DF_V2DF, V2DF_FTYPE_V2DF_V2DF_SWAP,
  17211. V2DF_FTYPE_V2DF_V4SF, V2DF_FTYPE_V2DF_DI,
  17212. V2DF_FTYPE_V2DF_SI, V2SF_FTYPE_V2SF_V2SF,
  17213. V1DI_FTYPE_V1DI_V1DI, V1DI_FTYPE_V8QI_V8QI and
  17214. V1DI_FTYPE_V2SI_V2SI.
  17215. (bdesc_2arg): Moved to ...
  17216. (bdesc_args): Here.
  17217. (ix86_init_mmx_sse_builtins): Updated.
  17218. (ix86_expand_args_builtin): Updated. Take a pointer
  17219. to const struct builtin_description. Handle comparison
  17220. builtin functions.
  17221. (ix86_expand_sse_compare): Take a new argument for swapping operands.
  17222. (ix86_expand_builtin): Updated.
  17223. * config/i386/sse.md (ssse3_pmaddubswv8hi3): Renamed to ...
  17224. (ssse3_pmaddubsw128): This.
  17225. (ssse3_pmaddubswv4hi3): Renamed to ...
  17226. (ssse3_pmaddubsw): This.
  17227. * doc/extend.texi (__builtin_ia32_packsswb128): Correct prototype.
  17228. (__builtin_ia32_packssdw128): Likewise.
  17229. (__builtin_ia32_packuswb128): Likewise.
  17230. (__builtin_ia32_pmaddubsw): Likewise.
  17231. (__builtin_ia32_pmaddubsw128): Likewise.
  17232. 2008-04-30 Richard Guenther <rguenther@suse.de>
  17233. PR tree-optimization/14847
  17234. * tree-ssa-ifcombine.c (get_name_for_bit_test): New helper function.
  17235. (recognize_bits_test): Use it.
  17236. (recognize_single_bit_test): Likewise.
  17237. 2008-04-30 Martin Jambor <mjambor@suse.cz>
  17238. * ipa-cp.c (ipcp_init_stage): Calls ipa_set_called_with_variable_arg
  17239. instead of setting number of formal parameters to zero.
  17240. (ipcp_init_stage): Do not set the number of actual parameters to zero
  17241. either.
  17242. (ipcp_propagate_stage): Explicitly skipping all calls to nodes
  17243. which are called with variable number of arguments.
  17244. (ipcp_insert_stage): Explicitely skipping all nodes which are
  17245. called with variable number of arguments.
  17246. (ipcp_callsite_param_print): Skipps callsites to nodes with varaible
  17247. number of parameters.
  17248. * ipa-prop.h (struct ipa_node_params): Added flag
  17249. called_with_var_arguments
  17250. (ipa_set_param_count): Added. Changed sole setter to use it.
  17251. (ipa_get_param_count): Added. All readers of param_count
  17252. converted to use it instead.
  17253. (ipa_set_called_with_variable_arg): Added.
  17254. (ipa_is_called_with_var_arguments): Added.
  17255. (ipa_get_ith_param): Added. All readers of param_decls converted
  17256. to use it instead.
  17257. (ipa_set_cs_argument_count): Added, sole writer to argument_count
  17258. changed to use it.
  17259. (ipa_get_cs_argument_count): Added, all readers of argument_count
  17260. changed to cal it.
  17261. (ipa_get_ith_jump_func): Added. Accessors of jump values changed
  17262. to use it.
  17263. * ipa-prop.h (struct ipcp_formal): Renamed to ipcp_lattice
  17264. (struct ipcp_lattice): Renamed cval_type to type
  17265. (struct ipa_node_params): ipcp_cval renamed to ipcp_lattices
  17266. * ipa-cp.c (ipcp_cval_get_cvalue): Changed return value to tree
  17267. (ipcp_cval_set_cvalue): Changed type of parameter value to tree
  17268. (ipcp_insert_stage): Changed the type of variable cvalue to tree
  17269. (ipcp_replace_map_create): Changed the type of parameter cvalue to tree
  17270. (build_const_val): Changed the type of parameter cvalue to tree
  17271. (ipcp_propagate_const): Changed the type of parameter cvalue to tree
  17272. (ipcp_method_cval_set_cvalue_type): Renamed parameter cval_type1 to type
  17273. * ipa-prop.h (struct ipcp_formal): Replaced cvalue with tree called
  17274. constant
  17275. * ipa-prop.c (ipa_methodlist_init): Renamed to ipa_init_func_list
  17276. (ipa_methodlist_not_empty): Removed, the sole user now checks directly
  17277. (ipa_add_method): Renamed to ipa_push_func_to_list
  17278. (ipa_remove_method): Renamed to ipa_pop_func_from_list
  17279. (ipa_callsite_param_count): Removed.
  17280. (ipa_callsite_param_count_set): Removed.
  17281. (ipa_callsite_param): Removed.
  17282. (ipa_callsite_callee): Removed.
  17283. (ipa_callsite_compute_param): Renamed to ipa_compute_jump_functions
  17284. (ipa_callsite_compute_count): Renamed to ipa_count_arguments
  17285. (ipa_method_formal_count): Removed.
  17286. (ipa_method_formal_count_set): Removed.
  17287. (ipa_method_get_tree): Removed.
  17288. (ipa_method_tree_map_create): Removed.
  17289. (ipa_method_compute_tree_map): Renamed to ipa_create_param_decls_array
  17290. (ipa_create_param_decls_array): Creates the array itself
  17291. (ipa_create_param_decls_array): Temporary variable info instead of
  17292. a few dereferences.
  17293. (ipa_method_formal_compute_count): Renamed to ipa_count_formal_params
  17294. (ipa_method_compute_modify): Renamed to ipa_detect_param_modifications
  17295. (get_type): Removed.
  17296. (ipa_jf_get_info_type): Removed.
  17297. (ipa_node_create): Renamed to ipa_create_node_params
  17298. (ipa_free): Renamed to ipa_free_all_node_params
  17299. (ipa_nodes_create): Renamed to ipa_create_all_node_params
  17300. (ipa_edges_create): Renamed to ipa_create_all_edge_args
  17301. (ipa_edges_free): Renamed to ipa_free_all_edge_args
  17302. (ipa_nodes_free): Integrated into ipa_free_all_node_params and removed
  17303. (ipa_free_all_node_params): Deallocation to jump_functions moved to
  17304. ipa_free_all_edge_args
  17305. (ipa_method_tree_print): Renamed to ipa_print_all_tree_maps
  17306. (ipa_method_modify_print): Renamed to ipa_print_all_params_modified
  17307. (ipa_create_methodlist_node): Removed.
  17308. (ipa_methodlist_method): Removed.
  17309. (ipa_methodlist_method_set): Removed.
  17310. (ipa_methodlist_next_method): Removed.
  17311. (ipa_methodlist_next_method_set): Removed.
  17312. (ipa_method_is_modified): Removed.
  17313. (ipa_method_modify_create): Removed.
  17314. (ipa_method_modify_init): Temporary variable info instead of a few
  17315. dereferences.
  17316. (ipa_detect_param_modifications): Temporary variable info instead of
  17317. a few dereferences.
  17318. (ipa_compute_jump_functions): Temporary variable info instead of
  17319. a few dereferences.
  17320. (ipa_method_modify_set): Removed.
  17321. (ipa_method_tree_map): Renamed to ipa_get_param_decl_index
  17322. (ipa_get_param_decl_index): Now accepts struct ipa_node_params rather
  17323. than craph_node as the first parameter.
  17324. (ipa_method_modify_stmt): Renamed to ipa_check_stmt_modifications
  17325. (ipa_method_modify_init): Removed.
  17326. (ipa_compute_jump_functions): Added a temp variable instead of
  17327. repeatadly dereferencing the cgraph_edge.aux pointer
  17328. (ipa_callsite_param_set_type): Removed.
  17329. (ipa_compute_jump_functions): i renamed to index and moved to
  17330. an inner block
  17331. (ipa_callsite_param_set_info_type_formal): Removed.
  17332. (ipa_callsite_param_set_info_type): Removed.
  17333. (ipa_callsite_param_map_create): Removed.
  17334. (ipa_callsite_tree): Removed.
  17335. (ipa_callsite_caller): Removed.
  17336. (ipa_pop_func_from_list): return_method removed to return_func
  17337. * ipa-prop.h (enum cvalue_type): Renamed to ipa_lattice_type,
  17338. prefixed all values with IPA_. Changed all users.
  17339. (enum jump_func_type): Rnamed UNKNOWN_IPATYPE to IPA_UNKNOWN,
  17340. CONST_IPATYPE to IPA_CONST, CONST_IPATYPE_REF to IPA_CONST_REF
  17341. and FORMAL_IPATYPE IPA_PASS_THROUGH.
  17342. (union parameter_info): Renamed to jump_func_value.
  17343. (union jump_func_value): Renamed value to constant
  17344. (struct ipa_jump_func): Renamed info_type to value
  17345. (struct ipa_node): Renamed to ipa_node_params
  17346. (struct ipa_node_params): Renamed ipa_arg_num to param_count
  17347. (struct ipa_node_params): Renamed ipa_param_tree to param_decls
  17348. (struct ipa_node_params): Renamed ipa_mod to modified_flags
  17349. (struct ipa_edge): Renamed to ipa_edge_args
  17350. (struct ipa_edge_args): Renamed ipa_param_num to argument_count
  17351. (struct ipa_edge_args): Renamed ipa_param_map to jump_functions
  17352. (struct ipa_methodlist): Renamed to ipa_func_list
  17353. (struct ipa_func_list): method_p renamed to node, next_method
  17354. renamed to next
  17355. (ipa_methodlist_p): Removed, switched all users to struct pointer
  17356. (IS_VALID_TREE_MAP_INDEX): Renamed to IS_VALID_JUMP_FUNC_INDEX
  17357. 2008-04-30 Alan Modra <amodra@bigpond.net.au>
  17358. * config/rs6000/rs6000.c (ALWAYS_RESTORE_ALTIVEC_BEFORE_POP): Define.
  17359. (rs6000_emit_epilogue): Use backchain to restore only when we
  17360. have a large frame. Make use of frame pointer to restore if we
  17361. have one. Handle ALWAYS_RESTORE_ALTIVEC_BEFORE_POP.
  17362. 2008-04-29 Paolo Bonzini <bonzini@gnu.org>
  17363. * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
  17364. Add mode to zero_extract.
  17365. (sign bit tests peepholes): (Ditto.).
  17366. 2008-04-29 H.J. Lu <hongjiu.lu@intel.com>
  17367. * config/i386/i386.c (ix86_builtins): Replace Prescott New
  17368. Instructions in comments with SSE3.
  17369. (ix86_builtin_type): This. Add FLOAT128_FTYPE_FLOAT128,
  17370. INT64_FTYPE_V4SF, INT64_FTYPE_V2DF, INT_FTYPE_V16QI,
  17371. INT_FTYPE_V8QI, INT_FTYPE_V4SF, INT_FTYPE_V2DF,
  17372. V16QI_FTYPE_V16QI, V8HI_FTYPE_V8HI, V8HI_FTYPE_V16QI,
  17373. V8QI_FTYPE_V8QI, V4SI_FTYPE_V4SI, V4SI_FTYPE_V16QI,
  17374. V4SI_FTYPE_V4SF, V4SI_FTYPE_V8HI, V4SI_FTYPE_V2DF,
  17375. V4HI_FTYPE_V4HI, V4SF_FTYPE_V4SF, V4SF_FTYPE_V4SI,
  17376. V4SF_FTYPE_V2DF, V2DI_FTYPE_V2DI, V2DI_FTYPE_V16QI,
  17377. V2DI_FTYPE_V8HI, V2DI_FTYPE_V4SI, V2DF_FTYPE_V2DF,
  17378. V2DF_FTYPE_V4SI, V2DF_FTYPE_V4SF, V2DF_FTYPE_V2SI,
  17379. V2SI_FTYPE_V2SI, V2SI_FTYPE_V4SF, V2SI_FTYPE_V2SF,
  17380. V2SI_FTYPE_V2DF, V2SF_FTYPE_V2SF and V2SF_FTYPE_V2SI.
  17381. (bdesc_sse_args): Renamed to ...
  17382. (bdesc_args): This. Add IX86_BUILTIN_PF2ID, IX86_BUILTIN_PFRCP,
  17383. IX86_BUILTIN_PFRSQRT, IX86_BUILTIN_PI2FD, IX86_BUILTIN_PF2IW,
  17384. IX86_BUILTIN_PSWAPDSI, IX86_BUILTIN_PSWAPDSF and
  17385. IX86_BUILTIN_FABSQ.
  17386. (bdesc_1arg): Moved to ...
  17387. (bdesc_args): Here.
  17388. (ix86_init_mmx_sse_builtins): Updated. Replace Prescott New
  17389. Instructions in comments with SSE3.
  17390. (ix86_expand_sse_operands_builtin): Renamed to ...
  17391. (ix86_expand_args_builtin): This. Updated.
  17392. (ix86_expand_unop1_builtin): Update comments.
  17393. (ix86_expand_builtin): Updated.
  17394. 2008-04-29 Richard Guenther <rguenther@suse.de>
  17395. PR tree-optimization/36078
  17396. * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely):
  17397. Update virtual SSA form after cleaning up the CFG.
  17398. 2008-04-29 Richard Guenther <rguenther@suse.de>
  17399. PR middle-end/15255
  17400. * fold-const.c (fold_binary): Fold (A + A) * C to A * 2*C.
  17401. 2008-04-29 Richard Guenther <rguenther@suse.de>
  17402. * tree-ssa-alias.c (finalize_ref_all_pointers): Remove.
  17403. (compute_may_aliases): Do not call finalize_ref_all_pointers.
  17404. (compute_flow_insensitive_aliasing): Do not treat
  17405. PTR_IS_REF_ALL pointers special.
  17406. (get_smt_for): Likewise.
  17407. (may_alias_p): Re-structure.
  17408. (is_escape_site): A ref-all pointer conversion is not an escape site.
  17409. * tree-ssa-structalias.c (find_what_p_points_to): Do not treat
  17410. PTR_IS_REF_ALL pointers special.
  17411. * tree-ssa-structalias.h (struct alias_info): Remove
  17412. ref_all_symbol_mem_tag field.
  17413. (PTR_IS_REF_ALL): Remove.
  17414. 2008-04-29 Richard Guenther <rguenther@suse.de>
  17415. PR middle-end/36077
  17416. * fold-const.c (extract_muldiv_1): In combining division constants
  17417. make sure to never overflow.
  17418. 2008-04-29 Nick Clifton <nickc@redhat.com>
  17419. * doc/tm.texi (RETURN_ADDR_RTX): Fix typo.
  17420. 2008-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  17421. PR bootstrap/35169
  17422. * optc-gen.awk: Work around HP-UX/IA awk bug.
  17423. 2008-04-28 Danny Smith <dannysmith@users.sourceforge.net>
  17424. * config/i386/cygming-crtend.c (register_frame_ctor): Revert my
  17425. 2008-04-25 commit.
  17426. 2008-04-28 Uros Bizjak <ubizjak@gmail.com>
  17427. PR target/36073
  17428. * config/i386/i386.md
  17429. (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit):
  17430. Change operand 1 predicate to nonimmediate_operand.
  17431. 2008-04-28 Jakub Jelinek <jakub@redhat.com>
  17432. PR debug/36060
  17433. * dwarf2out.c (struct die_struct): Mark as chain_circular through
  17434. die_sub field.
  17435. * gengtype.c (walk_type, write_func_for_structure): Handle
  17436. chain_circular.
  17437. * doc/gty.texi: Document chain_circular.
  17438. 2008-04-28 Richard Guenther <rguenther@suse.de>
  17439. PR tree-optimization/36066
  17440. * tree-vrp.c (execute_vrp): Cleanup the CFG only after finalizing
  17441. SCEV and loop.
  17442. 2008-04-28 Uros Bizjak <ubizjak@gmail.com>
  17443. PR target/36064
  17444. * config/i386/i386.md
  17445. (floatdi<X87MODEF:mode>2_i387_with_xmm splitters):
  17446. Use match_scratch instead of match_operand for operands 3 and 4.
  17447. 2008-04-27 Richard Guenther <rguenther@suse.de>
  17448. PR tree-optimization/18754
  17449. PR tree-optimization/34223
  17450. * tree-pass.h (pass_complete_unrolli): Declare.
  17451. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Print
  17452. loop size before and after unconditionally of UL_NO_GROWTH in effect.
  17453. Rewrite loop into loop closed SSA form if it is not already.
  17454. (tree_unroll_loops_completely): Re-structure to iterate over
  17455. innermost loops with intermediate CFG cleanups.
  17456. Unroll outermost loops only if requested or the code does not grow
  17457. doing so.
  17458. * tree-ssa-loop.c (gate_tree_vectorize): Don't shortcut if no
  17459. loops are available.
  17460. (tree_vectorize): Instead do so here.
  17461. (tree_complete_unroll): Also unroll outermost loops.
  17462. (tree_complete_unroll_inner): New function.
  17463. (gate_tree_complete_unroll_inner): Likewise.
  17464. (pass_complete_unrolli): New pass.
  17465. * tree-ssa-loop-manip.c (find_uses_to_rename_use): Only record
  17466. uses outside of the loop.
  17467. (tree_duplicate_loop_to_header_edge): Only verify loop-closed SSA
  17468. form if it is available.
  17469. * tree-flow.h (tree_unroll_loops_completely): Add extra parameter.
  17470. * passes.c (init_optimization_passes): Schedule complete inner
  17471. loop unrolling pass before the first CCP pass after final inlining.
  17472. 2008-04-27 Nathan Sidwell <nathan@codesourcery.com>
  17473. * targhooks.h (default_emutls_var_fields,
  17474. default_emutls_var_init): Declare.
  17475. * tree.h (DECL_THREAD_LOCAL): Compare against TLS_MODEL_REAL.
  17476. * target.h (struct gcc_target): Add struct emutls member.
  17477. * target-def.h (TARGET_EMUTLS_GET_ADDRESS,
  17478. TARGET_EMUTLS_REGISTER_COMMON, TARGET_EMUTLS_VAR_SECTION,
  17479. TARGET_EMUTLS_TMPL_SECTION, TARGET_EMUTLS_VAR_PREFIX,
  17480. TARGET_EMUTLS_TMPL_PREFIX, TARGET_EMUTLS_VAR_FIELDS,
  17481. TARGET_EMUTLS_VAR_INIT, TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS,
  17482. TARGET_EMUTLS_VAR_ALIGN_FIXED, TARGET_EMUTLS): New.
  17483. (TARGET_INITIALIZER): Add TARGET_EMUTLS.
  17484. * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS,
  17485. BUILT_IN_EMUTLS_REGISTER_COMMON): Get name from targetm structure.
  17486. * dwarf2out.c (loc_descriptor_from_tree_1): Check if emutls can
  17487. emit debug information.
  17488. * coretypes.h (tls_model): Add TLS_MODEL_EMULATED, TLS_MODEL_REAL.
  17489. * varasm.c: Include targhooks.h.
  17490. (emutls_object_section, emutls_tmpl_section): New.
  17491. (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): Remove.
  17492. (EMUTLS_SEPARATOR): New.
  17493. (prefix_name): New.
  17494. (get_emutls_object_name): New.
  17495. (default_emutls_var_fields): New, broken out of ...
  17496. (get_emutls_object_type): ... here. Adjust to use target hooks.
  17497. (get_emutls_init_templ_addr): Adjust to use target hooks.
  17498. (emutls_decl): Adjust to use target hooks.
  17499. (emutls_finish): Likewise.
  17500. (default_emutls_var_init): New, broken out of ...
  17501. (assemble_variable): ... here. Adjust to use target hooks.
  17502. * output.h (enum section_category): Add SECCAT_EMUTLS_VAR,
  17503. SECCAT_EMUTLS_TMPL.
  17504. * c-common.c (handle_section_attribute): Prevent overriding
  17505. sections for emulated tls with special sections.
  17506. * config/i386/i386.c (x86_64_elf_select_section): Add
  17507. SECCAT_EMUTLS_VAR and SECCAT_EMUTLS_TMPL.
  17508. (x86_64_elf_unique_section): Likewise.
  17509. * config/vxworks.c: Include tree.h.
  17510. (vxworks_emutls_var_fields, vxworks_emutls_var_init): New.
  17511. (vxworks_override_options): Set TLS scheme.
  17512. * doc/tm.texi (Emulated TLS): New node.
  17513. 2008-04-26 Simon Baldwin <simonb@google.com>
  17514. PR c/35652
  17515. * builtins.c (c_strlen): Suppressed multiple warnings that can occur
  17516. with propagated string constants.
  17517. 2008-04-26 Uros Bizjak <ubizjak@gmail.com>
  17518. * config/i386/i386.md (fix_trunc<mode>_i387_fisttp_with_temp): Use 'X'
  17519. constraint for operand 2 when operand 0 is memory operand.
  17520. (fix_truncdi_i387_with_temp): Use 'X' constraint for operand 4 when
  17521. operand 0 is memory operand.
  17522. (fix_trunc<mode>_i387_with_temp): Ditto.
  17523. (*floatsi<mode>2_vector_mixed_with_temp): Use 'X' constraint for
  17524. operand 2 when operand 1 is memory operand.
  17525. (*float<SSEMODEI24:mode><MODEF:mode>2_mixed_with_temp): Ditto.
  17526. (*floatsi<mode>2_vector_sse_with_temp): Ditto.
  17527. (*float<SSEMODEI24:mode><MODEF:mode>2_sse_with_temp): Ditto.
  17528. (*float<SSEMODEI24:mode><X87MODEF:mode>2_i387_with_temp): Ditto.
  17529. (floatdi<X87MODEF:mode>2_i387_with_xmm): Use 'X' constraint for
  17530. operands 2,3 and 4 when operand 1 is memory operand.
  17531. (fistdi2_with_temp): Use 'X' constraint for operand 2 when operand 0
  17532. is memory operand.
  17533. (fistdi2_floor_with_temp): Ditto.
  17534. (fist<mode>2_floor_with_temp): Ditto.
  17535. (fistdi2_ceil_with_temp): Ditto.
  17536. (fist<mode>2_ceil_with_temp): Ditto.
  17537. (*truncdfsf_fast_mixed): Merge alternatives 0 and 1.
  17538. 2008-04-26 David Daney <ddaney@avtrex.com>
  17539. * config/mips/mips.md (UNSPEC_COMPARE_AND_SWAP_12): New
  17540. unspec_volitile.
  17541. (UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP, UNSPEC_SYNC_EXCHANGE,
  17542. UNSPEC_MEMORY_BARRIER, UNSPEC_SET_GOT_VERSION,
  17543. UNSPEC_UPDATE_GOT_VERSION): Renumber.
  17544. (sync_compare_and_swap<mode>): New expand for QI and HI modes.
  17545. (compare_and_swap_12): New insn.
  17546. * config/mips/mips-protos.h (mips_expand_compare_and_swap_12): Declare.
  17547. * config/mips/mips.c (mips_force_binary): New function.
  17548. (mips_emit_int_order_test, mips_expand_synci_loop): Use it.
  17549. (mips_expand_compare_and_swap_12): New function.
  17550. * config/mips/mips.h (MIPS_COMPARE_AND_SWAP_12): New macro.
  17551. 2008-04-25 Jan Hubicka <jh@suse.cz>
  17552. PR testsuite/35843
  17553. * cfgexpand.c (pass_expand): Turn into RTL pass.
  17554. * passes.c (execute_one_pass): Do pass typechecking after execution.
  17555. * tree-pass.h (pass_expand): Turn into RTL pass.
  17556. * function.h (struct rtl_data): Move here fields
  17557. accesses_prior_frames, calls_eh_return, saves_all_registers,
  17558. has_nonlocal_goto, has_asm_statement, is_thunk,
  17559. all_throwers_are_sibcalls, limit_stack, profile, uses_const_pool,
  17560. uses_pic_offset_table, uses_eh_lsda, tail_call_emit,
  17561. arg_pointer_save_area_init from struct function; turn into bool.
  17562. (struct function): Move
  17563. calls_eh_return, saves_all_registers, has_nonlocal_goto,
  17564. has_asm_statement, is_thunk, all_throwers_are_sibcalls, limit_stack,
  17565. profile, uses_const_pool, uses_pic_offset_table, uses_eh_lsda,
  17566. tail_call_emit, arg_pointer_save_area_init
  17567. into struct rtl_data. Remove recursive_call_emit and gimplified flags.
  17568. (current_function_returns_struct, current_function_returns_pcc_struct,
  17569. current_function_calls_setjmp, current_function_calls_alloca,
  17570. current_function_accesses_prior_frames,
  17571. current_function_calls_eh_return, current_function_is_thunk,
  17572. current_function_stdarg, current_function_profile,
  17573. current_function_limit_stack, current_function_uses_pic_offset_table,
  17574. current_function_uses_const_pool, current_function_has_nonlocal_label,
  17575. current_function_saves_all_registers,
  17576. current_function_has_nonlocal_goto,
  17577. current_function_has_asm_statement): Remove accesor macros.
  17578. * ra-conflict.c (global_conflicts): Update.
  17579. * tree-tailcall.c (suitable_for_tail_opt_p): Update.
  17580. (suitable_for_tail_call_opt_p): Update.
  17581. * builtins.c (expand_builtin_return_addr): Update.
  17582. (expand_builtin_setjmp_setup): Update.
  17583. (expand_builtin_nonlocal_goto): Update.
  17584. * final.c (final_start_function): Update.
  17585. (profile_function): Update.
  17586. (leaf_function_p): Update.
  17587. (only_leaf_regs_used): Update.
  17588. * df-scan.c (df_get_exit_block_use_set): Update.
  17589. * dojump.c (clear_pending_stack_adjust): Update.
  17590. * tree-stdarg.c (gate_optimize_stdarg): Update.
  17591. * gimple-low.c (lower_function_body): Update.
  17592. * global.c (compute_regsets): Update.
  17593. (global_alloc): Update.
  17594. * dwarf2out.c (dwarf2out_begin_prologue): Update.
  17595. * expr.c (expand_assignment): Update.
  17596. * dse.c (dse_step0): Update.
  17597. (dse_step1): Update.
  17598. * c-decl.c (store_parm_decls): Update.
  17599. * local-alloc.c (combine_regs): Update.
  17600. (find_free_reg): Update.
  17601. * function.c (assign_parms_augmented_arg_list): Update.
  17602. (assign_parm_find_data_types): Update.
  17603. (assign_parms): Update.
  17604. (allocate_struct_function): Update.
  17605. (expand_function_start): Update.
  17606. (expand_function_end): Update.
  17607. (get_arg_pointer_save_area): Update.
  17608. (thread_prologue_and_epilogue_insns): Update.
  17609. (rest_of_match_asm_constraints): Update.
  17610. * stor-layout.c (variable_size): Update.
  17611. * gcse.c (gcse_main): Update.
  17612. (bypass_jumps): Update.
  17613. * gimplify.c (gimplify_function_tree): Update.
  17614. * calls.c (emit_call_1): Update.
  17615. (expand_call): Update.
  17616. * bt-load.c (compute_defs_uses_and_gen): Update.
  17617. * except.c (sjlj_assign_call_site_values): Update.
  17618. (sjlj_emit_function_enter): Update.
  17619. (can_throw_external): Update.
  17620. (set_nothrow_function_flags): Update.
  17621. (expand_builtin_unwind_init): Update.
  17622. (expand_eh_return): Update.
  17623. (convert_to_eh_region_ranges): Update.
  17624. (output_function_exception_table): Update.
  17625. * emit-rtl.c (gen_tmp_stack_mem): Update.
  17626. * cfgexpand.c (expand_used_vars): Update.
  17627. (tree_expand_cfg): Update.
  17628. * cfgcleanup.c (rest_of_handle_jump): Update.
  17629. * explow.c (allocate_dynamic_stack_space): Update.
  17630. * varasm.c (assemble_start_function): Update.
  17631. (force_const_mem): Update.
  17632. (mark_constant_pool): Update.
  17633. * tree-optimize.c (tree_rest_of_compilation): Update.
  17634. * stack-ptr-mod.c (notice_stack_pointer_modification): Update.
  17635. * tree-cfg.c (notice_special_calls): Update.
  17636. (is_ctrl_altering_stmt): Update.
  17637. (tree_can_make_abnormal_goto): Update.
  17638. (tree_purge_dead_abnormal_call_edges): Update.
  17639. * config/alpha/predicates.md: Update.
  17640. * config/alpha/alpha.c (alpha_sa_mask): Update.
  17641. (alpha_sa_size): Update.
  17642. (alpha_does_function_need_gp): Update.
  17643. (alpha_expand_prologue): Update.
  17644. (alpha_start_function): Update.
  17645. (alpha_output_function_end_prologue): Update.
  17646. (alpha_expand_epilogue): Update.
  17647. * config/frv/frv.c (frv_stack_info): Update.
  17648. (frv_expand_epilogue): Update.
  17649. * config/s390/s390.c (s390_regs_ever_clobbered): Update.
  17650. (s390_register_info): Update.
  17651. (s390_frame_info): Update.
  17652. (s390_init_frame_layout): Update.
  17653. (s390_can_eliminate): Update.
  17654. (save_gprs): Update.
  17655. * config/spu/spu.c (spu_split_immediate): Update.
  17656. (need_to_save_reg): Update.
  17657. (spu_expand_prologue): Update.
  17658. (spu_expand_epilogue): Update.
  17659. * config/sparc/sparc.md: Update.
  17660. * config/sparc/sparc.c (eligible_for_return_delay): Update.
  17661. (sparc_tls_got): Update.
  17662. (legitimize_pic_address): Update.
  17663. (sparc_emit_call_insn): Update.
  17664. (sparc_expand_prologue): Update.
  17665. (output_return): Update.
  17666. (print_operand): Update.
  17667. (sparc_function_ok_for_sibcall): Update.
  17668. * config/sparc/sparc.h (EXIT_IGNORE_STACK): Update.
  17669. * config/m32r/m32r.md: Update.
  17670. * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Update.
  17671. (m32r_compute_frame_size): Update.
  17672. (m32r_expand_prologue): Update.
  17673. (m32r_expand_epilogue): Update.
  17674. (m32r_legitimize_pic_address): Update.
  17675. * config/m32r/m32r.h (FRAME_POINTER_REQUIRED): Update.
  17676. * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): Update.
  17677. * config/i386/i386.c (ix86_frame_pointer_required): Update.
  17678. (gen_push): Update.
  17679. (ix86_save_reg): Update.
  17680. (ix86_compute_frame_layout): Update.
  17681. (ix86_expand_prologue): Update.
  17682. (ix86_expand_epilogue): Update.
  17683. * config/sh/sh.c (output_stack_adjust): Update.
  17684. (calc_live_regs): Update.
  17685. (sh5_schedule_saves): Update.
  17686. (sh_expand_prologue): Update.
  17687. (sh_expand_epilogue): Update.
  17688. (sh_setup_incoming_varargs): Update.
  17689. (sh_allocate_initial_value): Update.
  17690. (sh_get_pr_initial_val): Update.
  17691. * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): Update.
  17692. * config/sh/sh.md (label:): Update.
  17693. * config/avr/avr.c (out_movhi_mr_r): Update.
  17694. * config/crx/crx.h (enum): Update.
  17695. * config/xtensa/xtensa.h (along): Update.
  17696. * config/stormy16/stormy16.c Update.
  17697. (xstormy16_compute_stack_layout): Update.
  17698. * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Update.
  17699. (fr30_expand_prologue): Update.
  17700. * config/cris/cris.c (cris_conditional_register_usage): Update.
  17701. (cris_reg_saved_in_regsave_area): Update.
  17702. (cris_initial_frame_pointer_offset): Update.
  17703. (cris_simple_epilogue): Update.
  17704. (cris_expand_prologue): Update.
  17705. (cris_expand_epilogue): Update.
  17706. (cris_expand_pic_call_address): Update.
  17707. (cris_asm_output_symbol_ref): Update.
  17708. (cris_asm_output_label_ref): Update.
  17709. * config/cris/cris.md Update.
  17710. * config/iq2000/iq2000.c (compute_frame_size): Update.
  17711. (iq2000_expand_epilogue): Update.
  17712. * config/mt/mt.h (save_direction): Update.
  17713. * config/mn10300/mn10300.c (mn10300_function_value): Update.
  17714. * config/ia64/ia64.c (ia64_compute_frame_size): Update.
  17715. (ia64_secondary_reload_class): Update.
  17716. * config/m68k/m68k.c (m68k_save_reg): Update.
  17717. (m68k_expand_prologue): Update.
  17718. (m68k_expand_epilogue): Update.
  17719. (legitimize_pic_address): Update.
  17720. * config/rs6000/rs6000.c (rs6000_got_register): Update.
  17721. (first_reg_to_save): Update.
  17722. (first_altivec_reg_to_save): Update.
  17723. (compute_vrsave_mask): Update.
  17724. (compute_save_world_info): Update.
  17725. (rs6000_stack_info): Update.
  17726. (spe_func_has_64bit_regs_p): Update.
  17727. (rs6000_ra_ever_killed): Update.
  17728. (rs6000_emit_eh_reg_restore): Update.
  17729. (rs6000_emit_allocate_stack): Update.
  17730. (rs6000_emit_prologue): Update.
  17731. (rs6000_emit_epilogue): Update.
  17732. (rs6000_output_function_epilogue): Update.
  17733. (output_profile_hook): Update.
  17734. (rs6000_elf_declare_function_name): Update.
  17735. * config/rs6000/rs6000.h (rs6000_args): Update.
  17736. * config/rs6000/rs6000.md: Update.
  17737. * config/mcore/mcore.c (mcore_expand_prolog): Update.
  17738. * config/arc/arc.c (arc_output_function_epilogue): Update.
  17739. * config/arc/arc.h (FRAME_POINTER_REQUIRED): Update.
  17740. * config/darwin.c (machopic_function_base_name): Update.
  17741. * config/score/score3.c (score3_compute_frame_size): Update.
  17742. (rpush): Update.
  17743. (rpop): Update.
  17744. (score3_epilogue): Update.
  17745. * config/score/score7.c (score7_compute_frame_size): Update.
  17746. (score7_prologue): Update.
  17747. (score7_epilogue): Update.
  17748. * config/score/score.h (FRAME_POINTER_REQUIRED): Update.
  17749. * config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Update.
  17750. * config/arm/arm.c (use_return_insn): Update.
  17751. (require_pic_register): Update.
  17752. (arm_load_pic_register): Update.
  17753. (arm_compute_save_reg0_reg12_mask): Update.
  17754. (arm_compute_save_reg_mask): Update.
  17755. (thumb1_compute_save_reg_mask): Update.
  17756. (output_return_instruction): Update.
  17757. (arm_output_function_prologue): Update.
  17758. (arm_output_epilogue): Update.
  17759. (arm_get_frame_offsets): Update.
  17760. (arm_expand_prologue): Update.
  17761. (thumb_pushpop): Update.
  17762. (thumb_exit): Update.
  17763. (thumb1_expand_prologue): Update.
  17764. (thumb1_expand_epilogue): Update.
  17765. (arm_unwind_emit): Update.
  17766. (arm_output_fn_unwind): Update.
  17767. * config/arm/arm.h (FRAME_POINTER_REQUIRED): Update.
  17768. * config/arm/arm.md: Update.
  17769. * config/pa/pa.md: Update.
  17770. * config/pa/pa.c (legitimize_pic_address): Update.
  17771. (compute_frame_size): Update.
  17772. (hppa_expand_prologue): Update.
  17773. (hppa_expand_epilogue): Update.
  17774. (borx_reg_operand): Update.
  17775. * config/pa/pa.h (FRAME_POINTER_REQUIRED): Update.
  17776. (HARD_REGNO_RENAME_OK): Update.
  17777. * config/mips/mips.c (mips_global_pointer): Update.
  17778. (mips_save_reg_p): Update.
  17779. (mips_compute_frame_info): Update.
  17780. (mips_frame_pointer_required): Update.
  17781. (mips_expand_prologue): Update.
  17782. (mips_expand_epilogue): Update.
  17783. (mips_can_use_return_insn): Update.
  17784. (mips_reorg_process_insns): Update.
  17785. * config/v850/v850.c (compute_register_save_size): Update.
  17786. * config/mmix/mmix.h (FRAME_POINTER_REQUIRED): Update.
  17787. * config/mmix/mmix.c (along): Update.
  17788. (mmix_expand_epilogue): Update.
  17789. * config/bfin/bfin.c (legitimize_pic_address): Update.
  17790. (must_save_p): Update.
  17791. (stack_frame_needed_p): Update.
  17792. (add_to_reg): Update.
  17793. (bfin_expand_prologue): Update.
  17794. * stmt.c (expand_asm_operands): Update.
  17795. * reload1.c (reload): Update.
  17796. (init_elim_table): Update.
  17797. 2008-04-25 Bob Wilson <bob.wilson@acm.org>
  17798. * optabs.c (expand_float): Fix REG_EQUAL for UNSIGNED_FLOAT libcall.
  17799. 2008-04-25 H.J. Lu <hongjiu.lu@intel.com>
  17800. * config/i386/sse.md (mov<mode>): Replace SSEMODEI with SSEMODE.
  17801. (*mov<mode>_internal): Likewise. Support V4SF and V2DF.
  17802. (mov<mode>): Removed.
  17803. (*movv4sf_internal): Likewise.
  17804. (*movv2df_internal): Likewise.
  17805. 2008-04-25 Pompapathi V Gadad <Pompapathi.V.Gadad@nsc.com>
  17806. * config.gcc (crx-*-elf): Remove deprecation.
  17807. 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
  17808. * config/i386/cygming-crtend.c (register_frame_ctor): Register
  17809. __gcc_deregister_frame with atexit.
  17810. (deregister_frame_dtor): Remove.
  17811. 2008-04-24 Nathan Froyd <froydnj@codesourcery.com>
  17812. Nathan Sidwell <nathan@codesourcery.com>
  17813. * config/rs6000/rs6000.opt (mspe): Remove Var property.
  17814. (misel): Likewise.
  17815. * config/rs6000/rs6000.h (rs6000_spe): Declare.
  17816. (rs6000_isel): Likewise.
  17817. * config/rs6000/rs6000.c (rs6000_spe): New variable.
  17818. (rs6000_isel): New variable.
  17819. (rs6000_handle_option): Handle OPT_mspe and OPT_misel.
  17820. 2008-04-24 Jakub Jelinek <jakub@redhat.com>
  17821. PR c++/35758
  17822. * c-common.c (handle_vector_size_attribute): Call
  17823. lang_hooks.types.reconstruct_complex_type instead of
  17824. reconstruct_complex_type.
  17825. * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): Likewise.
  17826. * config/spu/spu.c (spu_handle_vector_attribute): Likewise.
  17827. * langhooks.h (struct lang_hooks_for_types): Add
  17828. reconstruct_complex_type hook.
  17829. * langhooks-def.h (LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE): Define.
  17830. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add it.
  17831. 2008-04-24 Richard Guenther <rguenther@suse.de>
  17832. * c-common.h (check_builtin_function_arguments): Declare.
  17833. * c-common.c (validate_nargs): New function.
  17834. (check_builtin_function_arguments): Likewise.
  17835. * c-typeck.c (build_function_call): Call
  17836. check_builtin_function_arguments.
  17837. * builtins.c (fold_builtin_classify): Remove error reporting code.
  17838. (fold_builtin_unordered_cmp): Likewise.
  17839. (fold_builtin_1): Likewise.
  17840. (fold_builtin_n): Likewise.
  17841. 2008-04-24 Jakub Jelinek <jakub@redhat.com>
  17842. PR tree-optimization/36008
  17843. * fold-const.c (try_move_mult_to_index): If s == NULL, divide
  17844. the original op1, rather than delta by step.
  17845. 2008-04-22 Antoniu Pop <antoniu.pop@gmail.com>
  17846. Sebastian Pop <sebastian.pop@amd.com>
  17847. * tree-parloops.c (take_address_of, eliminate_local_variables_1,
  17848. eliminate_local_variables_stmt, eliminate_local_variables,
  17849. separate_decls_in_loop_name, separate_decls_in_loop_stmt,
  17850. separate_decls_in_loop, gen_parallel_loop): Make them work on a region
  17851. of code delimited by two edges in the CFG.
  17852. (separate_decls_in_loop_name): Renamed separate_decls_in_region_name.
  17853. (separate_decls_in_loop_stmt): Renamed separate_decls_in_region_stmt.
  17854. (separate_decls_in_loop): Renamed separate_decls_in_region. Isolate
  17855. the case of parallelisation of reductions.
  17856. (expr_invariant_in_region_p): New.
  17857. * tree-flow.h (gather_blocks_in_sese_region): Declared.
  17858. * tree-cfg.c (gather_blocks_in_sese_region): Extern.
  17859. 2008-04-24 Ira Rosen <irar@il.ibm.com>
  17860. Richard Guenther <rguenther@suse.de>
  17861. PR tree-optimization/36034
  17862. * tree-vect-analyze.c (vect_analyze_group_access): SLP is
  17863. incapable of dealing with loads with gaps.
  17864. 2008-04-24 Rafael Espíndola <espindola@google.com>
  17865. * tree-flow.h (vrp_evaluate_conditional): Change signature.
  17866. * tree-ssa-propagate.c (fold_predicate_in): Update call to
  17867. vrp_evaluate_conditional.
  17868. * tree-vrp.c (vrp_evaluate_conditional_warnv): Remove.
  17869. (vrp_evaluate_conditional): Split the cond argument.
  17870. (vrp_visit_cond_stmt): Use vrp_evaluate_conditional_warnv_with_ops.
  17871. (simplify_stmt_for_jump_threading): Update call to
  17872. vrp_evaluate_conditional.
  17873. 2008-04-24 Ira Rosen <irar@il.ibm.com>
  17874. PR tree-optimization/35982
  17875. * tree-vect-analyze.c (vect_check_interleaving): Check that the
  17876. interleaved data-refs are of the same type.
  17877. 2008-04-24 Danny Smith <dannysmith@users.net>
  17878. * c-format.c (check_format_info_main): Use strncmp rather than a
  17879. magic prefix to handle multichar length specs.
  17880. * config/i386/msformat-c.c (format_length_info ms_printf_length_specs):
  17881. Don't prefix "I64" and "I32" with '\0'.
  17882. 2008-04-24 Jakub Jelinek <jakub@redhat.com>
  17883. PR target/36015
  17884. * config/i386/i386.c (init_cumulative_args): Don't pass anything
  17885. in registers for -m32 only if stdarg_p (fntype).
  17886. 2008-04-24 Uros Bizjak <ubizjak@gmail.com>
  17887. PR rtl-optimization/36006
  17888. * expmed.c (store_fixed_bit_field): Copy op0 rtx before moving
  17889. temp to op0 in order to avoid invalid rtx sharing.
  17890. 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
  17891. * tree-cfg.c (verify_expr): Check with is_gimple_address. Don't
  17892. check TREE_INVARIANT.
  17893. * tree-gimple.c (is_gimple_address): New.
  17894. (is_gimple_invariant_address): Simplify using decl_address_invariant_p.
  17895. * tree-gimple.h (is_gimple_address): New.
  17896. * tree.h (decl_address_invariant_p): New.
  17897. * tree.c (make_node_stat): Don't set TREE_INVARIANT.
  17898. (build_string): Likewise.
  17899. (decl_address_invariant_p): New, from is_gimple_invariant_address.
  17900. (tree_invariant_p_1): Likewise.
  17901. (save_expr): Use it.
  17902. (tree_invariant_p): New.
  17903. (skip_simple_arithmetic): Use it.
  17904. (stabilize_reference_1): Use it.
  17905. (recompute_tree_invariant_for_addr_expr): Don't update TREE_INVARIANT,
  17906. simplify.
  17907. (build1_stat): Drop code to compute TREE_INVARIANT.
  17908. (build2_stat): Drop code to compute TREE_INVARIANT.
  17909. (build3_stat): Drop code to compute TREE_INVARIANT.
  17910. (build4_stat): Drop code to compute TREE_INVARIANT.
  17911. (build5_stat): Drop code to compute TREE_INVARIANT.
  17912. (build7_stat): Drop code to compute TREE_INVARIANT.
  17913. (merge_dllimport_decl_attributes): Don't mention TREE_INVARIANT.
  17914. * tree.h (struct tree_base): Remove invariant_flag.
  17915. (TREE_INVARIANT): Remove.
  17916. * builtins.c (build_string_literal): Don't set TREE_INVARIANT.
  17917. (fold_builtin_expect): Check TREE_CONSTANT.
  17918. * tree-ssa-ccp.c (fold_stmt_r): Adjust comment.
  17919. * c-tree.h (c_expr_to_decl): Drop third parameter.
  17920. * c-typeck.c (build_external_ref): Don't set TREE_INVARIANT.
  17921. (build_c_cast): Don't set TREE_INVARIANT.
  17922. (pop_init_level): Don't set TREE_INVARIANT.
  17923. (c_objc_common_truthvalue_conversion): Don't set TREE_INVARIANT.
  17924. * gimplify.c (gimplify_init_ctor_preeval): Add assertion, test
  17925. TREE_CONSTANT.
  17926. (gimplify_init_constructor): Don't set TREE_INVARIANT.
  17927. (gimplify_addr_expr): Adjust comment.
  17928. * tree-mudflap.c (mf_build_string):
  17929. * print-tree.c (print_node): Don't print TREE_INVARIANT.
  17930. * tree-nested.c (convert_nonlocal_reference): Adjust comment.
  17931. * c-common.c (fix_string_type): Don't set TREE_INVARIANT.
  17932. * langhooks-def.h (lhd_expr_to_decl): Drop third parameter.
  17933. * langhooks.c (lhd_expr_to_decl): Drop third parameter.
  17934. * langhooks.h (struct lang_hooks): Drop third parameter from
  17935. expr_to_decl.
  17936. 2008-04-23 Richard Guenther <rguenther@suse.de>
  17937. PR tree-optimization/27799
  17938. PR tree-optimization/32921
  17939. PR tree-optimization/32624
  17940. * tree-ssa-structalias.c (merge_smts_into): Only merge the
  17941. SMTs aliases and the tag itself into the solution.
  17942. * tree-ssa-alias.c (compute_flow_sensitive_aliasing): Do not
  17943. merge the points-to solution back into the SMT aliases.
  17944. (may_alias_p): Use alias_set_subset_of instead of
  17945. aliases_conflict_p. A pointer which points to
  17946. memory with alias set zero may access any variable.
  17947. 2008-04-23 Richard Guenther <rguenther@suse.de>
  17948. * alias.c (alias_set_subset_of): Correctly handle asking
  17949. if zero is a subset of an alias set with zero child.
  17950. * tree-ssa-alias.c (have_common_aliases_p): Simplify logic.
  17951. (compute_flow_insensitive_aliasing): Correctly walk all
  17952. pointers. Do not unnecessarily union sets.
  17953. 2008-04-23 Richard Guenther <rguenther@suse.de>
  17954. PR middle-end/36021
  17955. * c-common.c (handle_alloc_size_attribute): Use type_num_arguments.
  17956. 2008-04-22 Tomas Bily <tbily@suse.cz>
  17957. * tree-cfg.c (verify_expr): Check for NON_LVALUE_EXPR as
  17958. unreachable case.
  17959. * tree-vrp.c (extract_range_from_unary_expr): Removed unused
  17960. NON_LVALUE_EXPR.
  17961. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise.
  17962. * tree-ssa-structalias.c (get_constraint_for): Likewise.
  17963. * tree-inline.c (estimate_num_insns_1): Likewise.
  17964. * varasm.c (const_hash_1, compare_constant, copy_constant)
  17965. (compute_reloc_for_constant, output_addressed_constants): Likewise.
  17966. * emit-rtl.c (component_ref_for_mem_expr)
  17967. (set_mem_attributes_minus_bitpos): Likewise.
  17968. * expr.c (highest_pow2_factor, expand_expr_real_1)
  17969. (is_aligning_offset): Likewise.
  17970. * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info): Likewise.
  17971. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise.
  17972. * dojump.c (do_jump): Likewise.
  17973. * builtins.c (get_pointer_alignment, get_memory_rtx)
  17974. (integer_valued_real_p, fold_builtin_next_arg): Likewise.
  17975. * tree-scalar-evolution.c (instantiate_parameters_1): Likewise.
  17976. 2008-04-23 Jakub Jelinek <jakub@redhat.com>
  17977. PR rtl-optimization/36017
  17978. * builtins.c (expand_errno_check): Clear CALL_EXPR_TAILCALL before
  17979. expanding the library call.
  17980. 2008-04-22 Ian Lance Taylor <iant@google.com>
  17981. * fold-const.c (pointer_may_wrap_p): Call int_size_in_bytes rather
  17982. than size_in_bytes.
  17983. 2008-04-22 Pat Haugen <pthaugen@us.ibm.com>
  17984. * config/rs6000/rs6000.c (rs6000_register_move_cost): Increase cost
  17985. of LR/CTR moves for Power6.
  17986. 2008-04-22 Kenneth Zadeck <zadeck@naturalbridge.com>
  17987. PR middle-end/36003
  17988. * passes.c (init_optimization_passes): Remove
  17989. pass_fast_rtl_byte_dce.
  17990. 2008-04-22 Uros Bizjak <ubizjak@gmail.com>
  17991. PR target/29096
  17992. * config/i386/xmmintrin.h (_mm_cvtpi16_ps): Rearrange calls to
  17993. builtin functions to generate faster code.
  17994. (_mm_cvtpu16_ps): Ditto.
  17995. (_mm_cvtpi32x2_ps): Ditto.
  17996. 2008-04-22 Nick Clifton <nickc@redhat.com>
  17997. * common.opt (ftree-loop-distribution): Add Optimization
  17998. attribute.
  17999. * config/frv/frv.c (frv_stack_info): Use crtl instead of cfun.
  18000. (frv_expand_builtin_va_start): Likewise.
  18001. * config/arm/arm.c (thumb_find_work_register): Fix location of
  18002. argument register count.
  18003. 2008-04-22 Maxim Kuvyrkov <maxim@codesourcery.com>
  18004. Support scheduling for ColdFire V1 and V3 microarchitecture.
  18005. Improve scheduling of multiplication instructions.
  18006. * config/m68k/m68k.md (cpu): Add cfv1 and cfv3. Rename cf_v2 to cfv1.
  18007. (mac): New instruction attribute.
  18008. * config/m68k/m68k.c (override_options): Handle cfv1, cfv3 and mac.
  18009. (m68k_sched_mac): New variable.
  18010. (m68k_sched_attr_type2, m68k_sched_md_init_global): Update.
  18011. Handle cfv1 and cfv3.
  18012. (max_insn_size): New static variable.
  18013. (struct _sched_ib): New type.
  18014. (sched_ib): New static variable.
  18015. (sched_ib_size, sched_ib_filled, sched_ib_insn): Convert variables
  18016. to fields of 'struct _sched_ib sched_ib'. Update all uses.
  18017. (m68k_sched_variable_issue): Add modeling of cfv3 instruction buffer.
  18018. Update.
  18019. (m68k_sched_md_init_global, m68k_sched_md_finish_global,
  18020. m68k_sched_md_init, m68k_sched_md_finish): Handle cfv1 and cfv3. Init
  18021. new variables. Update.
  18022. (m68k_sched_dfa_pre_advance_cycle, m68k_sched_dfa_post_advance_cycle):
  18023. Add modeling of cfv3 instruction buffer. Update.
  18024. * config/m68k/m68k-protos.h (m68k_sched_mac): Declare.
  18025. * config/m68k/m68k.h (TUNE_CFV3): New macro.
  18026. * config/m68k/cf.md: Change substrings 'cf_v2' to 'cfv12' or 'cfv123'.
  18027. (cf_* reservations): Rename to cfv12 or cfv123 to indicate cores
  18028. a particular reservation applies to.
  18029. (type2): Reorganize attribute values. Rename alu to alu_reg,
  18030. alu_l to alu, move_l to omove. Join move to alu. Split mul
  18031. to mul_l and mul_w.
  18032. (cf_ib_*): Simplify description of instruction buffer.
  18033. (cf_ib_w0, cf_ib_w4, cf_ib_w5, cf_ib_w6): Remove.
  18034. (cf_mem): Split into cf_mem1 and cf_mem2.
  18035. (cf_v2_move_??): Rename to cfv12_alu_??.
  18036. (cf_v2_move_l_??): Rename to cfv12_omove_??.
  18037. (cf_v2_mul_??): Remove reservations.
  18038. (cfv12_mul_l_??, cfv12_mul_w_??, cfv12_mac_w_??, cfv12_mac_l_??,
  18039. cfv12_emac_??, cfv12_emac_w_i0): New reservations.
  18040. (cfv12_rts, cfv12_call, cfv12_bcc, cfv12_bra, cfv12_jmp): Move to
  18041. appropriate place.
  18042. (cfv3_alu_10, cfv3_omove_10, cfv3_alu_i0, cfv3_omove_i0, cfv3_alu_01,
  18043. cfv3_alu_0i, cfv3_alu_11, cfv3_omove_11, cfv3_alu_i1, cfv3_omove_i1,
  18044. cfv3_alu_1i, cfv3_omove_1i, cfv3_pea_11, cfv3_pea_i1, cfv3_mul_w_10,
  18045. cfv3_mul_l_10, cfv3_mul_w_i0, cfv3_mac_w_10, cfv3_mac_l_10,
  18046. cfv3_mac_w_i0, cfv3_emac_10, cfv3_emac_w_i0, cfv3_rts, cfv3_call,
  18047. cfv3_bcc, cfv3_bra, cfv3_jmp): New reservations.
  18048. (cfv3_*_1, cfv3_*_2, cfv3_*_3): New instruction reservations that are
  18049. expansions of the above reservations for instructions of sizes
  18050. 1, 2 and 3 words.
  18051. 2008-04-22 Maxim Kuvyrkov <maxim@codesourcery.com>
  18052. * rtl-factoring.c (collect_patterns_seqs): Handle CC0 targets.
  18053. 2008-04-21 Adam Nemet <anemet@caviumnetworks.com>
  18054. * coverage.c: Include tree-pass.h.
  18055. (coverage_counter_alloc): Print da_file_name to the dump file.
  18056. 2008-04-21 Kenneth Zadeck <zadeck@naturalbridge.com>
  18057. * sbitmap.c (sbitmap_range_empty_p): New function.
  18058. * sbitmap.h (sbitmap_range_empty_p): New function.
  18059. * bitmap.h: Now includes obstack.h.
  18060. 2008-04-21 Richard Sandiford <rsandifo@nildram.co.uk>
  18061. Kenneth Zadeck <zadeck@naturalbridge.com>
  18062. * dbgcnt.def (ra_byte_scan): Added.
  18063. * dbgcnt.c (dbg_cnt): Added code to print message to dump_file
  18064. when the last hit happens for a counter.
  18065. * timevar.def (TV_DF_BYTE_LR): New variable.
  18066. * tree-pass.h (pass_fast_rtl_byte_dce): New pass.
  18067. * passes.c (pass_fast_rtl_byte_dce): New pass.
  18068. * fwprop.c (update_df): Added mode to call df_ref_create.
  18069. Renamed DF_REF_WIDTH and DF_REF_OFFSET to DF_REF_EXTRACT_WIDTH and
  18070. DF_REF_EXTRACT_OFFSET.
  18071. * df.h (DF_BYTE_LR, DF_BYTE_LR_BB_INFO, DF_BYTE_LR_IN,
  18072. DF_BYTE_LR_OUT, df_byte_lr): New macro.
  18073. (df_mm): New enum.
  18074. (df_ref_extract): Added mode field.
  18075. (DF_REF_WIDTH, DF_REF_OFFSET) Renamed to DF_REF_EXTRACT_WIDTH and
  18076. DF_REF_EXTRACT_OFFSET.
  18077. (DF_REF_EXTRACT_MODE): New macro.
  18078. (df_byte_lr_bb_info): New structure.
  18079. (df_print_byte_regset, df_compute_accessed_bytes,
  18080. df_byte_lr_add_problem, df_byte_lr_get_regno_start,
  18081. df_byte_lr_get_regno_len, df_byte_lr_simulate_defs,
  18082. df_byte_lr_simulate_uses,
  18083. df_byte_lr_simulate_artificial_refs_at_top,
  18084. df_byte_lr_simulate_artificial_refs_at_end,
  18085. df_compute_accessed_bytes): New function.
  18086. (df_ref_create): Add parameter.
  18087. (df_byte_lr_get_bb_info): New inline function.
  18088. * df-scan.c (df_ref_record, df_uses_record,
  18089. df_ref_create_structure): Added mode parameter.
  18090. (df_ref_create, df_notes_rescan, df_ref_record, df_def_record_1,
  18091. df_defs_record, df_uses_record, df_get_conditional_uses,
  18092. df_get_call_refs, df_insn_refs_collect, df_bb_refs_collect,
  18093. df_entry_block_defs_collect, df_exit_block_uses_collect):
  18094. Added mode parameter to calls to df_ref_record, df_uses_record,
  18095. df_ref_create_structure.
  18096. (df_ref_equal_p, df_ref_compare): Added test for modes.
  18097. (df_ref_create_structure): Added code to set mode. Renamed
  18098. DF_REF_WIDTH and DF_REF_OFFSET to DF_REF_EXTRACT_WIDTH and
  18099. DF_REF_EXTRACT_OFFSET.
  18100. * df-core.c (df_print_byte_regset): New function.
  18101. * df-byte-scan.c: New file.
  18102. * df-problems.c (df_rd_transfer_function): Removed unnecessary
  18103. calls to BITMAP_FREE.
  18104. (df_byte_lr_problem_data, df_problem problem_BYTE_LR): New structure.
  18105. (df_byte_lr_get_regno_start, df_byte_lr_get_regno_len,
  18106. df_byte_lr_set_bb_info, df_byte_lr_free_bb_info,
  18107. df_byte_lr_check_regs, df_byte_lr_expand_bitmap,
  18108. df_byte_lr_alloc, df_byte_lr_reset, df_byte_lr_bb_local_compute,
  18109. df_byte_lr_local_compute, df_byte_lr_init,
  18110. df_byte_lr_confluence_0, df_byte_lr_confluence_n,
  18111. df_byte_lr_transfer_function, df_byte_lr_free,
  18112. df_byte_lr_top_dump, df_byte_lr_bottom_dump,
  18113. df_byte_lr_add_problem, df_byte_lr_simulate_defs,
  18114. df_byte_lr_simulate_uses,
  18115. df_byte_lr_simulate_artificial_refs_at_top,
  18116. df_byte_lr_simulate_artificial_refs_at_end): New function.
  18117. * dce.c (byte_dce_process_block): New function.
  18118. (dce_process_block): au is now passed in rather than computed
  18119. locally. Changed loops that look at artificial defs to not look
  18120. for conditional or partial ones, because there never are any.
  18121. (fast_dce): Now is able to drive byte_dce_process_block or
  18122. dce_process_block depending on the kind of dce being done.
  18123. (rest_of_handle_fast_dce): Add parameter to fast_dce.
  18124. (rest_of_handle_fast_byte_dce): New function.
  18125. (rtl_opt_pass pass_fast_rtl_byte_dce): New pass.
  18126. * Makefile.in (df-byte-scan.o, debugcnt.o): Added dependencies.
  18127. 2008-04-21 Daniel Franke <franke.daniel@gmail.com>
  18128. PR fortran/35019
  18129. * gcc.h: Added fortran options that take arguments to
  18130. DEFAULT_SWITCH_TAKES_ARG and DEFAULT_WORD_SWITCH_TAKES_ARG
  18131. macros.
  18132. 2008-04-20 Eric Botcazou <ebotcazou@adacore.com>
  18133. * tree-sra.c (sra_walk_expr) <VIEW_CONVERT_EXPR>: Disable
  18134. scalarization if on the LHS and not a full access.
  18135. 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  18136. * Makefile.in (s-gtyp-input): Remove tmp-gi.list before writing it.
  18137. 2008-04-18 Rafael Espíndola <espindola@google.com>
  18138. * tree-vrp.c (find_case_label_index): Fix the binary search.
  18139. (find_case_label_range): New.
  18140. (vrp_visit_switch_stmt): Use find_case_label_range.
  18141. (simplify_switch_using_ranges): Use find_case_label_range.
  18142. 2008-04-18 Eric Botcazou <ebotcazou@adacore.com>
  18143. * gimplify.c (gimplify_modify_expr_rhs) <COND_EXPR>: Gimplify the LHS
  18144. using the is_gimple_lvalue predicate instead of is_gimple_min_lval.
  18145. 2008-04-18 Tom Tromey <tromey@redhat.com>
  18146. PR libcpp/15500:
  18147. * doc/cpp.texi (Implementation-defined behavior): Mention
  18148. -finput-charset.
  18149. 2008-04-18 Ian Lance Taylor <iant@google.com>
  18150. * fold-const.c (pointer_may_wrap_p): New static function.
  18151. (fold_comparison): Add another test for pointer overflow. Use
  18152. pointer_may_wrap_p to disable some false positives.
  18153. 2008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
  18154. * c-common.c (CHAR16_TYPE, CHAR32_TYPE): New macros.
  18155. (fname_as_string): Match updated cpp_interpret_string prototype.
  18156. (fix_string_type): Support char16_t* and char32_t*.
  18157. (c_common_nodes_and_builtins): Add char16_t and char32_t (and
  18158. derivative) nodes. Register as builtin if C++0x.
  18159. (c_parse_error): Support CPP_CHAR{16,32}.
  18160. * c-common.h (RID_CHAR16, RID_CHAR32): New elements.
  18161. (enum c_tree_index) <CTI_CHAR16_TYPE, CTI_SIGNED_CHAR16_TYPE,
  18162. CTI_UNSIGNED_CHAR16_TYPE, CTI_CHAR32_TYPE, CTI_SIGNED_CHAR32_TYPE,
  18163. CTI_UNSIGNED_CHAR32_TYPE, CTI_CHAR16_ARRAY_TYPE,
  18164. CTI_CHAR32_ARRAY_TYPE>: New elements.
  18165. (char16_type_node, signed_char16_type_node, unsigned_char16_type_node,
  18166. char32_type_node, signed_char32_type_node, char16_array_type_node,
  18167. char32_array_type_node): New defines.
  18168. * c-lex.c (cb_ident): Match updated cpp_interpret_string prototype.
  18169. (c_lex_with_flags): Support CPP_CHAR{16,32} and CPP_STRING{16,32}.
  18170. (lex_string): Support CPP_STRING{16,32}, match updated
  18171. cpp_interpret_string and cpp_interpret_string_notranslate prototypes.
  18172. (lex_charconst): Support CPP_CHAR{16,32}.
  18173. * c-parser.c (c_parser_postfix_expression): Support CPP_CHAR{16,32}
  18174. and CPP_STRING{16,32}.
  18175. 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
  18176. PR bootstrap/35457
  18177. * aclocal.m4: Regenerate.
  18178. * configure: Regenerate.
  18179. 2008-04-18 Jan Hubicka <jh@suse.cz>
  18180. * except.c (dw2_size_of_call_site_table,
  18181. sjlj_size_of_call_site_table): Use vector API for call_site_record.
  18182. * cgraphbuild.c (build_cgraph_edges): Update.
  18183. * tree-pass.h: Update comment.
  18184. * final.c (leaf_function_p): Update.
  18185. (leaf_renumber_regs): Update.
  18186. (rest_of_clean_state): Update.
  18187. * omp-low.c (expand_omp_parallel): Update.
  18188. * ipa-reference.c (analyze_function): Update.
  18189. * reorg.c (find_end_label): Update.
  18190. (optimize_skip): Update.
  18191. (fill_simple_delay_slots): Update.
  18192. (fill_simple_delay_slots): Update.
  18193. (make_return_insns): Update.
  18194. (dbr_schedule): Update.
  18195. * gimple-low.c (record_vars_into): Update.
  18196. * cfgbuild.c (make_edges): Update.
  18197. * function.c (assign_stack_local): Update.
  18198. (assign_parm_adjust_stack_rtl): Update.
  18199. (locate_and_pad_parm): Update.
  18200. (allocate_struct_function): Do not initialize stack_alignment_needed
  18201. and preferred_stack_boundary here.
  18202. (stack_protect_prologue): Update.
  18203. (stack_protect_epilogue): Update.
  18204. (expand_function_start): Initialize stack_alignment_needed,
  18205. preferred_stack_boundary and max_jumptable_ents.
  18206. (expand_function_end): Update.
  18207. (free_after_compilation): Do not NULLify epilogue_delay_list.
  18208. * function.h (struct rtl_data): Add stack_protect_guard,
  18209. stack_alignment_needed,
  18210. preferred_stack_boundary, epilogue_delay_list.
  18211. (struct function): Remove value_histograms, stack_alignment_needed,
  18212. preferred_stack_boundary, epilogue_delay_list, max_jumptable_ents,
  18213. last_label_uid,
  18214. unexpanded_var_list, stack_protect_guard.
  18215. (current_function_epilogue_delay_list): Remove.
  18216. * ipa-type-escape.c (analyze_function): Update.
  18217. * gimplify.c (pop_gimplify_context): Update comment.
  18218. * calls.c (expand_call): Update.
  18219. (emit_library_call_value_1): Update.
  18220. * except.c (set_nothrow_function_flags): Update.
  18221. * cfgexpand.c (get_decl_align_unit): Update.
  18222. (create_stack_guard): Update.
  18223. (estimated_stack_frame_size): Update.
  18224. (expand_used_vars): Update.
  18225. (tree_expand_cfg): Free histogram earliers, init expansion variables.
  18226. * explow.c (allocate_dynamic_stack_space): Update.
  18227. * tree-ssa-live.c (remove_unused_locals): Update.
  18228. * varasm.c (mark_constant_pool): Update.
  18229. * tree-inline.c (remap_decls): Update.
  18230. (initialize_cfun): Update.
  18231. (declare_return_variable): Update.
  18232. (inline_forbidden_p): Update.
  18233. (expand_call_inline): Update.
  18234. (declare_inline_vars): Update.
  18235. (tree_function_versioning): Update.
  18236. * tree-flow.h (value_histograms): New.
  18237. (VALUE_HISTOGRAMS): New macro.
  18238. * basic-block.h (control_flow_graph): Add max_jumptable_ents,
  18239. last_label_uid.
  18240. * tree-cfg.c (set_bb_for_stmt): Update.
  18241. (replace_by_duplicate_decl): Update.
  18242. (move_block_to_fn): Update.
  18243. (new_label_mapper): Update.
  18244. (dump_function_to_file): Update.
  18245. * ipa-struct-reorg.c (build_data_structure): Update.
  18246. * cfgrtl.c (print_rtl_with_bb): Update.
  18247. * reload1.c (reload): Update.
  18248. (reload): Update.
  18249. * config/i386/i386.c (setup_incoming_varargs_64,
  18250. ix86_compute_frame_layout): Update.
  18251. * config/arc/arc.c (arc_output_function_epilogue): Update.
  18252. 2008-04-18 Marius Strobl <marius@FreeBSD.org>
  18253. * gthr-posix.h (__gthread_active_p): Use the Solaris implementation
  18254. for FreeBSD as well.
  18255. * gthr-posix95.h: Likewise.
  18256. 2008-04-17 Richard Sandiford <rsandifo@nildram.co.uk>
  18257. PR rtl-optimization/35838
  18258. * dse.c (find_shift_sequence): Use subreg_lowpart_offset to work
  18259. out the byte offset of the first subreg.
  18260. 2008-04-17 Uros Bizjak <ubizjak@gmail.com>
  18261. * config/i386/i386.md (addti3 splitter): Pass arrays of 3 operands
  18262. to split_ti instead of three separate calls with single member arrays.
  18263. (subti3 splitter): Ditto.
  18264. (adddi3 splitter): Ditto with split_di.
  18265. (subdi3 splitter): Ditto.
  18266. (negti2 splitter): Pass arrays of 2 operands to split_ti instead of
  18267. two separate calls with single member arrays. Swap match_dup
  18268. operands 1 and 2 to better fit into the array.
  18269. (negdi2 splitter): Ditto with split_di.
  18270. (movdfcc splitter): Pass arrays of 2 operands to split_di instead of
  18271. two separate calls with single member arrays. Swap match_dup operands
  18272. 6 and 7 to better fit into the array.
  18273. 2008-04-17 H.J. Lu <hongjiu.lu@intel.com>
  18274. * config/i386/i386.c (sse_builtin_type): New.
  18275. (bdesc_sse_args): Likewise.
  18276. (bdesc_sse_3arg): Removed.
  18277. (bdesc_2arg): Remove IX86_BUILTIN_AESKEYGENASSIST128.
  18278. (bdesc_1arg): Remove IX86_BUILTIN_ROUNDPD and
  18279. IX86_BUILTIN_ROUNDPS.
  18280. (ix86_init_mmx_sse_builtins): Handle bdesc_sse_args. Remove
  18281. bdesc_sse_3arg. Remove IX86_BUILTIN_ROUNDPD and
  18282. IX86_BUILTIN_ROUNDPS.
  18283. (ix86_expand_sse_4_operands_builtin): Removed.
  18284. (ix86_expand_sse_operands_builtin): New.
  18285. (ix86_expand_unop_builtin): Remove CODE_FOR_sse4_1_roundpd
  18286. and CODE_FOR_sse4_1_roundps.
  18287. (ix86_expand_builtin): Remove IX86_BUILTIN_AESKEYGENASSIST128.
  18288. Handle bdesc_sse_args. Remove bdesc_sse_3arg.
  18289. 2008-04-17 Alan Modra <amodra@bigpond.net.au>
  18290. PR target/35907
  18291. * config/rs6000/rs6000.c (rs6000_emit_epilogue): Restore vr and vrsave
  18292. regs before frame pop when needed. If use_backchain_to_restore_sp
  18293. then load backchain into a temp reg to restore vr and vrsave. Add
  18294. code to restore vr after frame pop if possible.
  18295. 2008-04-17 Richard Guenther <rguenther@suse.de>
  18296. * tree-vn.c (expressions_equal_p): Do not check type
  18297. equality or compatibility before calling operand_equal_p.
  18298. * fold-const.c (operand_equal_p): Check equivalence of
  18299. integer constants before bailing out due to signedness or
  18300. precision differences.
  18301. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Ignore
  18302. spurious differences in type qualification. Ignore types
  18303. for COMPONENT_REFs at all.
  18304. 2008-04-17 Christian Bruel <christian.bruel@st.com>
  18305. * config/sh/sh.c (expand_cbranchdi4): Use original operands for
  18306. msw_skip comparison.
  18307. 2008-04-16 Jakub Jelinek <jakub@redhat.com>
  18308. PR c/35739
  18309. * tree-nrv.c (tree_nrv): Don't optimize if result_type is GIMPLE
  18310. reg type.
  18311. PR tree-optimization/35899
  18312. * tree-inline.c (expand_call_inline): Use GIMPLE_STMT_OPERAND
  18313. rather than TREE_OPERAND.
  18314. 2008-04-16 Uros Bizjak <ubizjak@gmail.com>
  18315. PR target/35944
  18316. * config/i386/i386.md (fmodxf3): Copy operand 1 and operand 2 into
  18317. temporary registers. Change operand predicate to general_operand.
  18318. (remainderxf3): Ditto.
  18319. 2008-04-16 Richard Guenther <rguenther@suse.de>
  18320. * Makefile.in (tree-affine.o): Add $(FLAGS_H) dependency.
  18321. * tree-affine.c (aff_combination_expand): Look through some
  18322. conversions.
  18323. 2008-04-15 Doug Kwan <dougkwan@google.com>
  18324. * dwarf2asm.c (dw2_assemble_integer): Cast to unsigned HOST_WIDE_INT
  18325. for hex printing.
  18326. * tree-pretty-print.c (dump_generic_node): Ditto.
  18327. * final.c (output_addr_const): Ditto.
  18328. * dwarf2out.c (output_cfi): Ditto.
  18329. * c-pretty-print.c (pp_c_integer_constant): Ditto.
  18330. * print-rtl.c (print_rtx): Ditto.
  18331. * print-tree.c (print_node_brief, print_node): Ditto.
  18332. * c-common.c (match_case_to_enum_1): Ditto.
  18333. * sched-vis.c (print_value): Ditto.
  18334. * config/i386/i386.c (print_operand): Cast to long unsigned int
  18335. for hex printing.
  18336. 2008-04-15 Danny Smith <dannysmith@users.sourceforge.net>
  18337. * libgcc2.c [L_trampoline]: Remove unnecessary prototype for
  18338. MS Windows VirtualProtect function.
  18339. 2008-04-15 Jan Hubicka <jh@suse.cz>
  18340. * gengtype.c (write_root): Param_is argument is OK.
  18341. * expr.c (expand_expr_real_1): Update call of get_exception_*.
  18342. * function.h: Include varray.h
  18343. (rtl_eh): New stucture based on except.c one.
  18344. (call_site_record): New forward declaration and vector type.
  18345. * calls.c (emit_call_1): Do not call
  18346. note_current_region_may_contain_throw.
  18347. * except.c (eh_status): Remove cur_region, try_region since they are
  18348. unused.
  18349. Move filter, exc_ptr, ttype_data, ehspec_data, action_record_data and
  18350. exception_handler_label_map, ehr_stackadj, ehr_handler, ehr_label,
  18351. sjlj_fc, sjlj_exit_after to rth_eh in function.h.
  18352. Remove call_site_data_used, call_site_data_size.
  18353. Turn call_site_record into vector in function.h.
  18354. (note_current_region_may_contain_throw): Remove.
  18355. (get_exception_pointer, get_exception_filter): Do not take struct
  18356. function argument; update.
  18357. (add_ehl_entry, find_exception_handler_labels, ehspec_filter_hash,
  18358. add_ttypes_entry, add_ehspec_entry, assign_filter_values,
  18359. build_post_landing_pads, dw2_build_landing_pads,
  18360. sjlj_assign_call_site_values, sjlj_mark_call_sites,
  18361. sjlj_emit_function_enter, sjlj_emit_function_enter,
  18362. sjlj_emit_function_exit, sjlj_emit_dispatch_table,
  18363. sjlj_build_landing_pads, finish_eh_generation,
  18364. remove_exception_handler_label, remove_eh_handler,
  18365. maybe_remove_eh_handler, add_reachable_handler,
  18366. reachable_handlers, expand_builtin_eh_return, expand_eh_return,
  18367. add_action_record, collect_one_action_chain, add_call_site,
  18368. convert_to_eh_region_ranges, sjlj_size_of_call_site_table,
  18369. sjlj_output_call_site_table, output_function_exception_table,
  18370. * except.h (note_current_region_may_contain_throw): Remove
  18371. (get_exception_pointer, get_exception_filter): Do not take struct
  18372. function argument.
  18373. * Makefile.in (GTFILES): Put varargs before struct function.
  18374. 2008-04-15 Eric Botcazou <ebotcazou@adacore.com>
  18375. * tree-ssa-structalias.c (get_constraint_for_component_ref): Do not
  18376. punt for STRING_CST.
  18377. (get_constraint_for): Deal with STRING_CST here instead.
  18378. 2008-04-15 Richard Guenther <rguenther@suse.de>
  18379. * tree-ssa-propagate.c (substitute_and_fold): Substitute
  18380. statements in a basic-block with a backward walk. Do not
  18381. substitute into dead statements but instead remove those.
  18382. 2008-04-15 Richard Guenther <rguenther@suse.de>
  18383. * params.def (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE): Set default
  18384. to zero, thus disable creation of SFTs.
  18385. 2008-04-15 Eric Botcazou <ebotcazou@adacore.com>
  18386. * tree-predcom.c (suitable_reference_p): Return false if the
  18387. reference can throw.
  18388. 2008-04-15 Jakub Jelinek <jakub@redhat.com>
  18389. PR c/35751
  18390. * c-decl.c (finish_decl): If extern or static var has variable
  18391. size, set TREE_TYPE (decl) to error_mark_node.
  18392. 2008-04-15 Rafael Espíndola <espindola@google.com>
  18393. * fold-const.c (tree_call_nonnegative_warnv_p): Remove local
  18394. variable arg1.
  18395. 2008-04-15 Richard Guenther <rguenther@suse.de>
  18396. * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
  18397. * tree-ssa-sccvn.c (vn_reference_lookup): New parameter maywalk.
  18398. (visit_reference_op_load): Do walk vuse-vdef chains on
  18399. vn_reference_lookup.
  18400. (visit_reference_op_store): But do not here.
  18401. * tree-vn.c (vn_lookup): Do not walk vuse-vdef chains on
  18402. vn_reference_lookup.
  18403. (vn_lookup_with_vuses): But do so here.
  18404. 2008-04-14 Ian Lance Taylor <iant@google.com>
  18405. * fold-const.c (fold_overflow_warning): Remove assertion.
  18406. 2008-04-15 Ben Elliston <bje@au.ibm.com>
  18407. * config/alpha/alpha.c (alpha_initialize_trampoline): Remove temp,
  18408. temp1 local variables.
  18409. 2008-04-15 Zuxy Meng <zuxy.meng@gmail.com>
  18410. PR target/35661
  18411. * config/i386/winnt.c (i386_pe_section_type_flags): Mark
  18412. ".text.unlikely" section as executable.
  18413. 2008-04-14 James E. Wilson <wilson@tuliptree.org>
  18414. * config/ia64/ia64.c (rtx_needs_barrier): Handle
  18415. UNSPEC_FR_SQRT_RECIP_APPROX_RES.
  18416. * config/ia64/ia64.c (UNSPEC_FR_SQRT_RECIP_APPROX_RES): Define.
  18417. (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr,
  18418. divsf3_internal_lat, sqrt_approx, sqrtsf2_internal_thr,
  18419. divdf3_internal_lat, sqrtdf2_internal_thr, divxf3_internal_lat,
  18420. divxf3_internal_thr, sqrtxf2_internal_thr, recip_approx): Use it.
  18421. 2008-04-14 Ian Lance Taylor <iant@google.com>
  18422. * flags.h (POINTER_TYPE_OVERFLOW_UNDEFINED): Define.
  18423. * fold-const.c (fold_comparison): If appropriate, test
  18424. POINTER_TYPE_OVERFLOW_UNDEFINED, and issue an overflow warning.
  18425. (fold_binary): Test POINTER_TYPE_OVERFLOW_UNDEFINED when
  18426. reassociating a pointer type.
  18427. * doc/invoke.texi (Optimize Options): Document that
  18428. -fstrict-overflow applies to pointer wraparound.
  18429. 2008-04-13 Jan Hubicka <jh@suse.cz>
  18430. * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx.
  18431. 2008-04-12 Andrew Pinski <pinskia@gmail.com>
  18432. * config/rs6000/rs6000.c (compute_save_world_info): Set lr_save_p if
  18433. we are going to "save the world".
  18434. 2008-04-13 Hans-Peter Nilsson <hp@axis.com>
  18435. * config/cris/cris.md ("*andhi_lowpart_non_v32", "*andhi_lowpart_v32")
  18436. ("*andqi_lowpart_non_v32", "*andqi_lowpart_v32"): Use "+" for the
  18437. operand 0 constraint, not "=".
  18438. 2008-04-11 James E. Wilson <wilson@tuliptree.org>
  18439. * system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING.
  18440. 2008-04-11 H.J. Lu <hongjiu.lu@intel.com>
  18441. * dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead
  18442. of size of positions_needed * CHAR_BIT.
  18443. 2008-04-11 H.J. Lu <hongjiu.lu@intel.com>
  18444. PR middle-end/35897
  18445. * dse.c (store_info): Change positions_needed to unsigned
  18446. HOST_WIDE_INT.
  18447. (lowpart_bitmask): New.
  18448. (record_store): Cast to unsigned HOST_WIDE_INT for
  18449. positions_needed. Assert width <= size of positions_needed *
  18450. CHAR_BIT. Call lowpart_bitmask to initialize positions_needed.
  18451. (check_mem_read_rtx): Use unsigned HOST_WIDE_INT on mask. Call
  18452. lowpart_bitmask to set mask.
  18453. 2008-04-11 Bernd Schmidt <bernd.schmidt@analog.com>
  18454. * config/bfin/constraints.md: New file.
  18455. * config/bfin/bfin.md: Include it.
  18456. (adddi3): Use satisfies_constraint functions instead of the old macros.
  18457. * config/bfin/bfin.h (REG_CLASS_FROM_LETTER, CONSTRAINT_LEN,
  18458. CONST_18UBIT_IMM_P, CONST_16BIT_IMM_P, CONST_16UBIT_IMM_P,
  18459. CONST_7BIT_IMM_P, CONST_7NBIT_IMM_P, CONST_5UBIT_IMM_P,
  18460. CONST_4BIT_IMM_P, CONST_4UBIT_IMM_P, CONST_3BIT_IMM_P,
  18461. CONST_3UBIT_IMM_P, CONST_OK_FOR_K, CONST_OK_FOR_P, CONST_OK_FOR_M,
  18462. CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER,
  18463. EXTRA_CONSTRAINT): Delete.
  18464. * config/bfin/predicates.md (highbits_operand, reg_or_7bit_operand,
  18465. reg_or_neg7bit_operand): Use satisfies_constraint functions instead
  18466. of the old macros.
  18467. * config/bfin/bfin.c: Include "tm-constrs.h".
  18468. (bfin_secondary_reload, split_load_immediate, bfin_rtx_costs):
  18469. Use satisfies_constraint functions instead of the old macros.
  18470. * doc/md.texi (Blackfin Constraints): Update file name reference.
  18471. 2008-04-11 Richard Guenther <rguenther@suse.de>
  18472. PR tree-optimization/35869
  18473. * tree-vrp.c (execute_vrp): Move switch statement update after
  18474. jump threading. Schedule another cfg cleanup run.
  18475. 2008-04-11 Volker Reichelt <v.reichelt@netcologne.de>
  18476. PR c/35744
  18477. * attribs.c (decl_attributes): Return early on errorneous node.
  18478. 2008-04-10 Oleg Ryjkov <olegr@google.com>
  18479. * tree.h (struct tree_base): Added a new flag default_def_flag.
  18480. (SSA_NAME_IS_DEFAULT_DEF): Changed to use the new flag.
  18481. 2008-04-11 Kaz Kojima <kkojima@gcc.gnu.org>
  18482. * config.gcc (need_64bit_hwint): Need 64bit hwint for sh-*-*.
  18483. 2008-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  18484. PR target/35768
  18485. * pa.md: Define mode iterator P. Define mode attribute dwc.
  18486. (dcacheflush): Update pattern to use iterator P and attribute dwc.
  18487. (icacheflush): Likewise.
  18488. * pa.h (INITIALIZE_TRAMPOLINE): Use dcacheflushsi/icacheflushsi if
  18489. !TARGET_64BIT, and dcacheflushdi/icacheflushdi if TARGET_64BIT.
  18490. 2008-04-11 Ben Elliston <bje@au.ibm.com>
  18491. * config/spu/spu.c (spu_init_builtins): Mark builtins as nothrow.
  18492. 2008-04-10 Rafael Espíndola <espindola@google.com>
  18493. * tree-vrp.c (extract_range_from_binary_expr): Don't handle
  18494. TRUTH_ANDIF_EXPR or TRUTH_ORIF_EXPR.
  18495. (extract_range_from_expr): The same.
  18496. 2008-04-10 Adam Nemet <anemet@caviumnetworks.com>
  18497. * config/mips/mips.md (GPR2): New mode iterator.
  18498. (seq): Add comment.
  18499. (*seq_<mode>, *seq_<mode>_mips16, *sne_<mode>, *sgt<u>_<mode>,
  18500. *sgt<u>_<mode>_mips16, *sge<u>_<mode>, *slt<u>_<mode>,
  18501. *slt<u>_<mode>_mips16 *sle<u>_<mode>, *sle<u>_<mode>_mips16):
  18502. Rewrite these to take two modes, the mode of comparison and the
  18503. mode of the destination.
  18504. * config/mips/mips.c (mips_expand_scc): Instead of having
  18505. paradoxical subreg as destination, expand "narrowing" scc if mode
  18506. of comparison is SI and target is requested in DI mode.
  18507. (mips_emit_int_order_test): Update comment. Make mode of
  18508. comparison match CMP0 rather than TARGET. When creating inverse
  18509. target use mode of TARGET.
  18510. 2008-04-10 Adam Nemet <anemet@caviumnetworks.com>
  18511. * gcov-dump.c (tag_summary): Only print summaries for the first
  18512. GCOV_COUNTERS_SUMMABLE counters.
  18513. 2008-04-10 Uros Bizjak <ubizjak@gmail.com>
  18514. * config/i386/i386.md (absneg): New code iterator.
  18515. (absnegprefix): New code attribute.
  18516. (<code><mode>2): Macroize expander from abs<mode>2 and neg<mode>2
  18517. patterns using absneg code iterator.
  18518. (<code>tf2): Macroize expander from abstf2 and negtf2 patterns
  18519. using absneg code iterator.
  18520. (*<code><mode>2_1): Macroize insn pattern from *abs<mode>2_1 and
  18521. *neg<mode>2 patterns using absneg code iterator.
  18522. (*<code>extendsfdf2): Macroize insn pattern from *absextendsfdf2 and
  18523. *negextendsfdf2 patterns using absneg code iterator.
  18524. (*<code>extendsfxf2): Macroize insn pattern from *absextendsfxf2 and
  18525. *negextendsfxf2 patterns using absneg code iterator.
  18526. (*<code>extendsfdf2): Macroize insn pattern from *absextendsfdf2 and
  18527. *negextendsfdf2 patterns using absneg code iterator.
  18528. * config/i386/sse.md (<code><mode>2): Macroize expander from
  18529. abs<mode>2 and neg<mode>2 patterns using absneg code iterator.
  18530. 2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
  18531. * config/s390/s390.h: Remove the remains of the recent search
  18532. & replace action of current_function_outgoing_args_size.
  18533. 2008-04-10 Ira Rosen <irar@il.ibm.com>
  18534. PR tree-optimization/35821
  18535. * tree-vect-transform.c (vect_create_data_ref_ptr): Add check that
  18536. NEW_STMT_LIST is not NULL.
  18537. 2008-04-09 David Edelsohn <edelsohn@gnu.org>
  18538. PR libstdc++/35597
  18539. * toplev.c (process_options): Remove -ffunction-sections debugging
  18540. warning.
  18541. 2008-04-09 Peter Bergner <bergner@vnet.ibm.com>
  18542. PR middle-end/PR28690
  18543. * explow.c (break_out_memory_refs): Use simplify_gen_binary rather
  18544. than gen_rtx_fmt_ee to perform more canonicalizations.
  18545. 2008-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  18546. PR driver/35665
  18547. * collect2.c (write_c_file): Don't wrap in "#ifdef __cplusplus".
  18548. 2008-04-09 Richard Guenther <rguenther@suse.de>
  18549. * tree-cfg.c (verify_stmt): Print complete bogus stmt.
  18550. (dump_function_to_file): Dump function arguments with types.
  18551. 2008-04-08 Richard Guenther <rguenther@suse.de>
  18552. * fold-const.c (fold_widened_comparison): Do not allow
  18553. sign-changes that change the result.
  18554. 2008-04-08 Janis Johnson <janis187@us.ibm.com>
  18555. PR target/35839
  18556. * config/rs6000/rs6000.c (rs6000_check_sdmode): Handle additional
  18557. kinds of indirect references.
  18558. 2008-04-08 David Edelsohn <edelsohn@gnu.org>
  18559. * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Update
  18560. GNU Fortran language string.
  18561. 2008-04-08 Rafael Espíndola <espindola@google.com>
  18562. * fold-canst.c (tree_call_nonnegative_warnv_p): New.
  18563. (tree_invalid_nonnegative_warnv_p): Use tree_call_nonnegative_warnv_p.
  18564. * tree.h (tree_call_nonnegative_warnv_p): New.
  18565. 2008-04-08 Jan Hubicka <jh@suse.cz>
  18566. * function.c (free_after_compilation): Clear out regno_reg_rtx
  18567. pointer.
  18568. 2008-04-08 Peter Bergner <bergner@vnet.ibm.com>
  18569. Revert
  18570. 2008-04-07 Peter Bergner <bergner@vnet.ibm.com>
  18571. PR middle-end/PR28690
  18572. * rtlanal.c (commutative_operand_precedence): Give SYMBOL_REF's the
  18573. same precedence as REG_POINTER and MEM_POINTER operands.
  18574. 2008-04-08 Richard Guenther <rguenther@suse.de>
  18575. PR middle-end/35834
  18576. * tree-ssa-address.c (create_mem_ref): Use POINTER_PLUS_EXPR
  18577. for adding index to base.
  18578. 2008-04-08 Kai Tietz <kai.tietz@onevision.com>
  18579. * config/i386/mingw32.h (ENABLE_EXECUTE_STACK): New.
  18580. (MINGW_ENABLE_EXECUTE_STACK): New.
  18581. (IN_LIBGCC2): For libgcc include windows.h file for
  18582. function declarations.
  18583. 2008-04-08 Hans-Peter Nilsson <hp@axis.com>
  18584. * config/cris/cris.c (cris_address_cost): For a PLUS, swap tem1
  18585. and tem2 if tem1 is not a REG or MULT.
  18586. 2008-04-08 Jan Hubicka <jh@suse.cz>
  18587. * function.h (incomming_args): Break out of struct function.
  18588. (function_subsections): Break out of struct function.
  18589. (rtl_data): Add args, subsections fields. Break out outgoing_args_size,
  18590. return_rtx and hard_reg_initial_vals from struct function.
  18591. Kill inl_max_label_num.
  18592. (current_function_pops_args, current_function_args_info,
  18593. current_function_args_size, current_function_args_size,
  18594. current_function_pretend_args_size,
  18595. current_function_outgoing_args_size,
  18596. current_function_internal_arg_pointer, current_function_return_rtx):
  18597. Kill compatibility accestor macros.
  18598. * builtins.c (expand_builtin_apply_args_1): Update.
  18599. (expand_builtin_next_arg): Update.
  18600. * df-scan.c (df_get_call_refs): Update.
  18601. * dbxout.c (dbxout_function_end): Update.
  18602. * dwarf2out.c (dwarf2out_switch_text_section): Update.
  18603. (output_line_info): Update.
  18604. (secname_for_decl): Update.
  18605. (dwarf2out_var_location): Update.
  18606. * function.c (free_after_compilation): Update.
  18607. (assign_parm_find_stack_rtl): Update.
  18608. (assign_parms): Update.
  18609. (expand_dummy_function_end): Update.
  18610. (expand_function_end): Update.
  18611. * calls.c (mem_overlaps_already_clobbered_arg_p): Update.
  18612. (expand_call): Update.
  18613. (emit_library_call_value_1): Update.
  18614. (store_one_arg): Update.
  18615. * varasm.c (initialize_cold_section_name): Update.
  18616. (unlikely_text_section): Update.
  18617. (unlikely_text_section_p): Update.
  18618. (assemble_start_function): Update.
  18619. (assemble_end_function): Update.
  18620. (default_section_type_flags): Update.
  18621. (switch_to_section): Update.
  18622. * integrate.c (set_decl_abstract_flags): Update.
  18623. (get_hard_reg_initial_val): Update.
  18624. (has_hard_reg_initial_val): Update.
  18625. (allocate_initial_values): Update.
  18626. * resource.c (init_resource_info): Update.
  18627. * config/alpha/alpha.c (NUM_ARGS): Update.
  18628. (direct_return): Update.
  18629. (alpha_va_start): Update.
  18630. (alpha_sa_size): Update.
  18631. (alpha_initial_elimination_offset): Update.
  18632. (alpha_expand_prologue): Update.
  18633. (alpha_start_function): Update.
  18634. (alpha_expand_epilogue): Update.
  18635. (unicosmk_initial_elimination_offset):
  18636. * config/alpha/alpha.md (call expander): Update.
  18637. * config/s390/s390.c (s390_register_info): Update.
  18638. (s390_register_info): Update.
  18639. (s390_frame_info): Update.
  18640. (s390_initial_elimination_offset): Update.
  18641. (s390_build_builtin_va_list): Update.
  18642. (s390_va_start): Update.
  18643. * config/spu/spu.c (direct_return): Update.
  18644. (spu_expand_prologue): Update.
  18645. (spu_initial_elimination_offset): Update.
  18646. (spu_build_builtin_va_list): Update.
  18647. (spu_va_start): Update.
  18648. * config/sparc/sparc.c (sparc_init_modes): Update.
  18649. (sparc_compute_frame_size): Update.
  18650. (function_value): Update.
  18651. * config/m32r/m32r.c (m32r_compute_frame_size): Update.
  18652. * config/i386/i386.md (return expander): Update.
  18653. * config/i386/i386.c (ix86_va_start): Update.
  18654. (ix86_can_use_return_insn_p): Update.
  18655. (ix86_compute_frame_layout): Update.
  18656. (ix86_expand_epilogue): Update.
  18657. * config/sh/sh.c (output_stack_adjust): Update.
  18658. (calc_live_regs): Update.
  18659. (sh_expand_prologue): Update.
  18660. (sh_builtin_saveregs): Update.
  18661. (sh_va_start): Update.
  18662. (initial_elimination_offset): Update.
  18663. (sh_allocate_initial_value): Update.
  18664. (sh_function_ok_for_sibcall): Update.
  18665. (sh_get_pr_initial_val): Update.
  18666. * config/sh/sh.md (return expander): Update.
  18667. * config/avr/avr.c (frame_pointer_required_p): UPdate.
  18668. * config/crx/crx.c (crx_compute_frame): UPdate.
  18669. (crx_initial_elimination_offset): UPdate.
  18670. * config/xtensa/xtensa.c (compute_frame_size): Update
  18671. (xtensa_builtin_saveregs): Update.
  18672. (xtensa_va_start): Update.
  18673. (order_regs_for_local_alloc): Update.
  18674. * config/stormy16/stormy16.c (xstormy16_compute_stack_layout): Update.
  18675. (xstormy16_expand_builtin_va_start): Update.
  18676. * config/fr30/fr30.c (fr30_compute_frame_size): Update.
  18677. * config/m68hc11/m68hc11.md (return expanders): Update.
  18678. * config/m68hc11/m68hc11.c (expand_prologue): Update.
  18679. (expand_epilogue): Update.
  18680. * config/cris/cris.c (cris_initial_frame_pointer_offset): Update.
  18681. (cris_simple_epilogue): Update.
  18682. (cris_expand_prologue): Update.
  18683. (cris_expand_epilogue): Update.
  18684. * config/iq2000/iq2000.c (iq2000_va_start): Update.
  18685. (compute_frame_size): Update.
  18686. * config/mt/mt.c (mt_compute_frame_size): Update.
  18687. * config/mn10300/mn10300.c (expand_prologue): Update.
  18688. (expand_epilogue): Update.
  18689. (initial_offset): Update.
  18690. (mn10300_builtin_saveregs):
  18691. * config/mn10300/mn10300.md (return expander): Update.
  18692. * config/ia64/ia64.c (ia64_compute_frame_size): Update.
  18693. (ia64_initial_elimination_offset): Update.
  18694. (ia64_initial_elimination_offset): Update.
  18695. (ia64_expand_prologue): Update.
  18696. * config/m68k/m68k.md (return expander): Update.
  18697. * config/rs6000/rs6000.c (rs6000_va_start): Update.
  18698. (rs6000_stack_info): Update.
  18699. * config/mcore/mcore.c (layout_mcore_frame): Update.
  18700. (mcore_expand_prolog): Update.
  18701. * config/arc/arc.c (arc_compute_frame_size): Update.
  18702. * config/score/score3.c (score3_compute_frame_size): Update.
  18703. * config/score/score7.c (score7_compute_frame_size): Update.
  18704. * config/arm/arm.c (use_return_insn): Update.
  18705. (thumb_find_work_register): Update.
  18706. (arm_compute_save_reg_mask): Update.
  18707. (arm_output_function_prologue): Update.
  18708. (arm_output_epilogue): Update.
  18709. (arm_size_return_regs): Update.
  18710. (arm_get_frame_offsets): Update.
  18711. (arm_expand_prologue): Update.
  18712. (thumb_exit): Update.
  18713. (thumb_unexpanded_epilogue): Update.
  18714. (thumb1_output_function_prologue): Update.
  18715. * config/pa/pa.md (return expander): Update.
  18716. * config/pa/pa.c (compute_frame_size): Update.
  18717. (hppa_builtin_saveregs): Update.
  18718. * config/mips/mips.c (mips_va_start): Update.
  18719. (mips16_build_function_stub): Update.
  18720. (mips_compute_frame_info): Update.
  18721. (mips_restore_gp): Update.
  18722. (mips_output_function_prologue): Update.
  18723. (mips_expand_prologue): Update.
  18724. * config/v850/v850.c (compute_frame_size): Update.
  18725. (expand_prologue): * config/mmix/mmix.c (along): update.
  18726. (mmix_initial_elimination_offset): update.
  18727. (mmix_reorg): update.
  18728. (mmix_use_simple_return): update.
  18729. (mmix_expand_prologue): update.
  18730. (mmix_expand_epilogue): Update.
  18731. * config/bfin/bfin.c (bfin_initial_elimination_offset): Update.
  18732. (emit_link_insn): Update.
  18733. 2008-04-08 Anatoly Sokolov <aesok@post.ru>
  18734. * config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Define
  18735. __AVR_HAVE_EIJMP_EICALL__ macro if device have EIJMP and EICALL
  18736. instructions.
  18737. * config/avr/avr.c (avr_mcu_types): Set AVR31 architecture for
  18738. atmega103 device.
  18739. 2008-04-07 Jan Hubicka <jh@suse.cz>
  18740. * function.h (rtl): Rename to x_rtl.
  18741. (crtl): New define.
  18742. (return_label, naked_return_label, stack_slot_list, parm_birth_insn,
  18743. frame_offset, stack_check_probe_note, arg_pointer_save_area,
  18744. used_temp_slots avail_temp_slots, temp_slot_level,
  18745. nonlocal_goto_handler_labels): Update accesstors.
  18746. (rtl): New global variable.
  18747. (struct function): Move some fileds to rtl_data.
  18748. (get_arg_pointer_save_area): Update prototype.
  18749. * builtins.c (expand_builtin_setjmp_receiver): Update call of
  18750. get_arg_pointer_save_area.
  18751. * expr.c (init_expr): Update
  18752. * function.c (get_frame_size): Update
  18753. (assign_stack_local): Update
  18754. (expand_function_end): Update.
  18755. (get_art_pointer_save_area): Update
  18756. * function.h
  18757. * emit-rtl.c (rtl): Declare.
  18758. (regno_reg_rtx): Declare.
  18759. (first_insn, last_insn, cur_insn_uid, last_location, first_label_num):
  18760. Update.
  18761. (gen_reg_rtx): Update.
  18762. * varasm.c (n_deferred_constatns): Update accestor.
  18763. (init_varasm_status): Do not allocate varasm_status.
  18764. (force_const_mem, get_pool_size, output_constant_pool): Update.
  18765. * stmt.c (force_label_rtx): Do not use x_ prefixes.
  18766. (expand_nl_goto_receiver): Update get_arg_pointer_save_area.
  18767. * m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Update.
  18768. * sparc/sparc.h (INIT_EXPANDERS): Update.
  18769. * ia64/ia64.h (INIT_EXPANDERS): Update.
  18770. 2008-04-07 James E. Wilson <wilson@tuliptree.org>
  18771. * reload.c (push_secondary_reload): Add missing break to for loop.
  18772. 2008-04-07 Peter Bergner <bergner@vnet.ibm.com>
  18773. PR middle-end/PR28690
  18774. * rtlanal.c: Update copyright years.
  18775. (commutative_operand_precedence): Give SYMBOL_REF's the same precedence
  18776. as REG_POINTER and MEM_POINTER operands.
  18777. * emit-rtl.c (gen_reg_rtx_and_attrs): New function.
  18778. (set_reg_attrs_from_value): Call mark_reg_pointer as appropriate.
  18779. * rtl.h (gen_reg_rtx_and_attrs): Add prototype for new function.
  18780. * gcse.c: Update copyright years.
  18781. (pre_delete): Call gen_reg_rtx_and_attrs.
  18782. (hoist_code): Likewise.
  18783. (build_store_vectors): Likewise.
  18784. (delete_store): Likewise.
  18785. * loop-invariant.c (move_invariant_reg): Likewise.
  18786. Update copyright years.
  18787. 2008-04-07 Uros Bizjak <ubizjak@gmail.com>
  18788. * config/i386/i386.md ("*sse_prologue_save_insn"): Use braced output
  18789. control string instead of quoted.
  18790. 2008-04-07 Kenneth Zadeck <zadeck@naturalbridge.com>
  18791. * doc/rtl.texi: Rewrite of subreg section.
  18792. 2008-04-07 Kai Tietz <kai.tietz@onevision.com>
  18793. PR/35842
  18794. * config/i386/i386.c (legitimize_pic_address): Add treating
  18795. of dllimport SYM_REF's.
  18796. (legitimize_dllimport_symbol): Add prototype.
  18797. 2008-04-07 Eric Botcazou <ebotcazou@adacore.com>
  18798. * fold-const.c (fold) <ARRAY_REF>: New case. Try to fold constant
  18799. reference in constructor with non self-referential type.
  18800. 2008-04-07 Eric Botcazou <ebotcazou@adacore.com>
  18801. Removal of Return with Depressed Stack Pointer support
  18802. * tree.h (TYPE_RETURNS_STACK_DEPRESSED): Delete.
  18803. (ECF_SP_DEPRESSED): Likewise.
  18804. (ECF_LIBCALL_BLOCK, ECF_NOVOPS): Adjust.
  18805. * calls.c (emit_call_1): Do not test ECF_SP_DEPRESSED.
  18806. (flags_from_decl_or_type): Do not test TYPE_RETURNS_STACK_DEPRESSED.
  18807. (expand_call): Do not test ECF_SP_DEPRESSED.
  18808. * dse.c (dse_step0): Do not test TYPE_RETURNS_STACK_DEPRESSED.
  18809. * function.c (keep_stack_depressed): Delete.
  18810. (handle_epilogue_set): Likewise.
  18811. (update_epilogue_consts): Likewise.
  18812. (emit_equiv_load): Likewise.
  18813. (thread_prologue_and_epilogue_insns): Remove support for Return with
  18814. Depressed Stack Pointer.
  18815. * print-tree.c (print_node): Do not test TYPE_RETURNS_STACK_DEPRESSED.
  18816. 2008-04-06 Richard Guenther <rguenther@suse.de>
  18817. PR tree-optimization/35400
  18818. * tree-vrp.c (vrp_evaluate_conditional): Only query value-range
  18819. information from SSA_NAMEs.
  18820. 2008-04-06 Anatoly Sokolov <aesok@post.ru>
  18821. * config/avr/avr.h (avr_mega_p): Remove declaration.
  18822. (AVR_MEGA): Remove macro.
  18823. * config/avr/avr.c (avr_mega_p): Remove variable.
  18824. (avr_override_options): Remove inicializion of avr_mega_p.
  18825. Use AVR_HAVE_JMP_CALL instead of AVR_MEGA.
  18826. (print_operand): Use AVR_HAVE_JMP_CALL instead of AVR_MEGA.
  18827. (avr_jump_mode): (Ditto.).
  18828. (avr_output_progmem_section_asm_op): (Ditto.).
  18829. (avr_asm_init_sections): (Ditto.).
  18830. (avr_asm_init_sections): (Ditto.).
  18831. (avr_rtx_costs): (Ditto.).
  18832. * config/avr/avr.md: (Ditto.).
  18833. * config/avr/avr.h: Use '__AVR_HAVE_JMP_CALL__' instead of
  18834. '__AVR_MEGA__'.
  18835. 2008-04-06 Richard Guenther <rguenther@suse.de>
  18836. PR tree-optimization/35842
  18837. * tree-ssa-address.c (fixed_address_object_p): Adjust to match
  18838. is_gimple_invariant_address.
  18839. 2008-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  18840. * gcc.c (default_compilers): Sync Fortran extensions list with
  18841. that in fortran/lang-specs.h.
  18842. * doc/invoke.texi: Likewise.
  18843. * dbxout.c (get_lang_number): Use "GNU Fortran" in "GNU F95".
  18844. * dwarf2out.c (gen_compile_unit_die): Likewise.
  18845. 2008-04-06 Tom G. Christensen <tgc@jupiterrise.com>
  18846. * gthr-posix95.h (__gthread_cond_wait_recursive): Add missing &.
  18847. 2008-04-05 Uros Bizjak <ubizjak@gmail.com>
  18848. PR target/12329
  18849. * config/i386/i386.c (ix86_function_regparm): Error if regparm(3)
  18850. attribute is used for nested functions.
  18851. 2008-04-05 Jan Hubicka <jh@suse.cz>
  18852. * emit-rtl.c (init_emit): xcalloc regno_pointer_align.
  18853. * tree-dump.c (dump_enable_all): Remove prototype; do not accept
  18854. letter argument.
  18855. (dump_files): Update.
  18856. (enable_rtl_dump_file): Do not accept letter argument.
  18857. * tree-pass.h (dump_file_info): Remove letter argument.
  18858. * toplev.c (decode_d_option): Update -da handling.
  18859. * toplev.h (enable_rtl_dump_file): Update prototype.
  18860. * passes.c (register_one_dump_file): Do not accept IPA argument; work
  18861. it out based on pass type.
  18862. (register_dump_files_1): Likewise.
  18863. (init_optimization_passes): Update register_one_dump_file calls.
  18864. (execute_one_pass): Sanity check that IPA passes are called at IPA
  18865. level and RTL passes at RTL level.
  18866. (execute_pass_list): IPA pass can not be after or subpass of
  18867. GIMPLE/RTL pass.
  18868. (execute_ipa_pass_list): Handle IPA subpasses of IPA subpasses and
  18869. disallov RTL subpasses of IPA subpasses.
  18870. 2008-04-05 Ben Elliston <bje@au.ibm.com>
  18871. * tree-cfg.c (need_fake_edge_p): Return false for calls to
  18872. builtins that return exactly once and do not throw. Cache call to
  18873. call_expr_flags.
  18874. 2008-04-04 Andy Hutchinson <hutchinsonandy@aim.com>
  18875. PR rtl-optimization/34916
  18876. PR middle-end/35519
  18877. * combine.c (create_log_links): Do not create duplicate LOG_LINKS
  18878. between instruction pairs.
  18879. 2008-04-04 Naveen.H.S <naveen.hs@kpitcummins.com>
  18880. * doc/invoke.texi: Document -mbitops for SH.
  18881. * config/sh/constraints.md (K03, K12, Sbv, Sbw): New constraints.
  18882. * config/sh/predicates.md (bitwise_memory_operand): New predicate.
  18883. * config/sh/sh.c (print_operand): Add %t operand code.
  18884. * config/sh/sh.h (GO_IF_LEGITIMATE_INDEX): Add condition for SH2A.
  18885. * config/sh/sh.md (*iorsi3_compact): Fix condition for SH2A.
  18886. (extendqisi2_compact): Add the alternative for SH2A 4-byte mov.b.
  18887. (extendqihi2): Likewise.
  18888. (movqi_i): Likewise.
  18889. (insv): Use bset, bclr and bst instructions for SH2A if possible.
  18890. (extv): Use bld instruction for SH2A if possible.
  18891. (extzv): Likewise.
  18892. (bclr_m2a, bclrmem_m2a, bset_m2a, bsetmem_m2a, bst_m2a, bld_m2a,
  18893. bldsign_m2a, bld_reg, *bld_regqi, band_m2a, bandreg_m2a,
  18894. bor_m2a, borreg_m2a, bxor_m2a, bxorreg_m2a): New insns.
  18895. (bset.b, bclr.b): Define peepholes.
  18896. * config/sh/sh.opt (mbitops): New option.
  18897. 2008-04-04 Janis Johnson <janis187@us.ibm.com>
  18898. PR target/35620
  18899. * config/rs6000/rs6000.c (rs6000_check_sdmode): Handle indirect ref
  18900. and view convert expression.
  18901. 2008-04-04 Jakub Jelinek <jakub@redhat.com>
  18902. PR target/35364
  18903. * tree-cfg.c (remove_useless_stmts_1): Handle OMP_* containers.
  18904. 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
  18905. * config.gcc (extra_headers): Add wmmintrin.h for x86 and x86-64.
  18906. * config/i386/cpuid.h (bit_AES): New.
  18907. (bit_PCLMUL): Likewise.
  18908. * config/i386/i386.c (pta_flags): Add PTA_AES and PTA_PCLMUL.
  18909. (override_options): Handle PTA_AES and PTA_PCLMUL. Enable
  18910. SSE2 if AES or PCLMUL is enabled.
  18911. (ix86_builtins): Add IX86_BUILTIN_AESENC128,
  18912. IX86_BUILTIN_AESENCLAST128, IX86_BUILTIN_AESDEC128,
  18913. IX86_BUILTIN_AESDECLAST128, IX86_BUILTIN_AESIMC128,
  18914. IX86_BUILTIN_AESKEYGENASSIST128 and IX86_BUILTIN_PCLMULQDQ128.
  18915. (bdesc_sse_3arg): Add IX86_BUILTIN_PCLMULQDQ128.
  18916. (bdesc_2arg): Add IX86_BUILTIN_AESENC128,
  18917. IX86_BUILTIN_AESENCLAST128, IX86_BUILTIN_AESDEC128,
  18918. IX86_BUILTIN_AESDECLAST128 and IX86_BUILTIN_AESKEYGENASSIST128.
  18919. (bdesc_1arg): Add IX86_BUILTIN_AESIMC128.
  18920. (ix86_init_mmx_sse_builtins): Define __builtin_ia32_aesenc128,
  18921. __builtin_ia32_aesenclast128, __builtin_ia32_aesdec128,
  18922. __builtin_ia32_aesdeclast128,__builtin_ia32_aesimc128,
  18923. __builtin_ia32_aeskeygenassist128 and
  18924. __builtin_ia32_pclmulqdq128.
  18925. * config/i386/i386.c (ix86_expand_binop_imm_builtin): New.
  18926. (ix86_expand_builtin): Use it for IX86_BUILTIN_PSLLDQI128 and
  18927. IX86_BUILTIN_PSRLDQI128. Handle IX86_BUILTIN_AESKEYGENASSIST128.
  18928. * config/i386/i386.h (TARGET_AES): New.
  18929. (TARGET_PCLMUL): Likewise.
  18930. (TARGET_CPU_CPP_BUILTINS): Handle TARGET_AES and TARGET_PCLMUL.
  18931. * config/i386/i386.md (UNSPEC_AESENC): New.
  18932. (UNSPEC_AESENCLAST): Likewise.
  18933. (UNSPEC_AESDEC): Likewise.
  18934. (UNSPEC_AESDECLAST): Likewise.
  18935. (UNSPEC_AESIMC): Likewise.
  18936. (UNSPEC_AESKEYGENASSIST): Likewise.
  18937. (UNSPEC_PCLMUL): Likewise.
  18938. * config/i386/i386.opt (maes): New.
  18939. (mpclmul): Likewise.
  18940. * config/i386/sse.md (aesenc): New pattern.
  18941. (aesenclast): Likewise.
  18942. (aesdec): Likewise.
  18943. (aesdeclast): Likewise.
  18944. (aesimc): Likewise.
  18945. (aeskeygenassist): Likewise.
  18946. (pclmulqdq): Likewise.
  18947. * config/i386/wmmintrin.h: New.
  18948. * doc/extend.texi: Document AES and PCLMUL built-in function.
  18949. * doc/invoke.texi: Document -maes and -mpclmul.
  18950. 2008-04-04 Paolo Bonzini <bonzini@gnu.org>
  18951. * function.c (free_after_parsing): Replace with
  18952. cxx_push_function_context from C++ front-end.
  18953. (allocate_struct_function): Don't call langhook.
  18954. * langhooks.h (struct lang_hooks_for_functions): Delete.
  18955. (struct lang_hooks): Add back missing_noreturn_ok_p here, delete
  18956. member "function".
  18957. * langhooks-def.h (LANG_HOOKS_MISSING_NORETURN_OK_P): Add.
  18958. (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FINAL,
  18959. LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P,
  18960. LANG_HOOKS_FUNCTION_INITIALIZER): Delete.
  18961. (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_MISSING_NORETURN_OK_P,
  18962. remove LANG_HOOKS_FUNCTION_INITIALIZER.
  18963. * tree-cfg.c: Adjust call to missing_noreturn_ok_p langhook.
  18964. * c-objc-common.h (LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P):
  18965. Rename to LANG_HOOKS_MISSING_NORETURN_OK_P.
  18966. 2008-04-04 Jakub Jelinek <jakub@redhat.com>
  18967. PR c/35440
  18968. * c-pretty-print.c (pp_c_initializer_list): Handle CONSTRUCTOR
  18969. for all types.
  18970. 2008-04-04 Richard Guenther <rguenther@suse.de>
  18971. PR middle-end/35823
  18972. * fold-const.c (optimize_minmax_comparison): Use the correct
  18973. type for the constant in the simplified comparison.
  18974. 2008-04-04 Zuxy Meng <zuxy.meng@gmail.com>
  18975. * config/i386/driver-i386.c (describe_cache): Add l2_sizekb argument.
  18976. Pass L2 size as "--param l2-cache-size" to the compiler.
  18977. (decode_l2_cache): New function to decode L2 cache parameters using
  18978. 0x8000006 extended cpuid function.
  18979. (detect_caches_amd): Determine parameters of L2 cache using
  18980. decode_l2_caches function.
  18981. (decode_caches_intel): Decode L2 cache parameters.
  18982. (detect_caches_intel): Determine L2 cache parameters using
  18983. decode_caches_intel and decode_l2_caches functions.
  18984. 2008-04-03 Bob Wilson <bob.wilson@acm.org>
  18985. * config/xtensa/xtensa.c (xtensa_secondary_reload_class): Use a
  18986. secondary input reload for subword loads from the constant pool.
  18987. 2008-04-03 Janis Johnson <janis187@us.ibm.com>
  18988. PR target/35713
  18989. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use integer
  18990. constants of the appropriate size for runtime calculations.
  18991. PR c/35712
  18992. * dfp.c (decimal_from_decnumber): Retain trailing zeroes for
  18993. decimal-float literal constant zero.
  18994. 2008-04-03 Jakub Jelinek <jakub@redhat.com>
  18995. PR c/35738
  18996. * c-parser.c (c_parser_omp_atomic): Call
  18997. default_function_array_conversion on the RHS.
  18998. PR middle-end/35818
  18999. * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: Don't
  19000. call is_variable_sized if decl has incomplete type.
  19001. 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
  19002. * config/i386/i386-protos.h (ix86_aligned_p): Removed.
  19003. 2008-04-03 Adam Nemet <anemet@caviumnetworks.com>
  19004. * config/mips/mips.md (any_gt, any_ge, any_lt, any_le): New code
  19005. iterators.
  19006. (u): Add attribute values for gt, gtu, ge, geu, lt, ltu, le and leu.
  19007. (sgt<u>): Merge sgt and sgtu into new expander.
  19008. (sgt, sgtu): Remove expanders.
  19009. (*sgt<u>_<mode>): Merge *sgt_<mode> and *sgtu_<mode> into new pattern.
  19010. (*sgt_<mode>, *sgtu_<mode>): Remove patterns.
  19011. (*sgt<u>_<mode>_mips16): Merge *sgt_<mode>_mips16 and
  19012. *sgtu_<mode>_mips16 into new pattern.
  19013. (*sgt_<mode>_mips16, *sgtu_<mode>_mips16): Remove patterns.
  19014. (sge<u>): Merge sge and sgeu into new expander.
  19015. (sge, sgeu): Remove expanders.
  19016. (*sge<u>_<mode>): Merge *sge_<mode> and second *sge_<mode> into
  19017. new pattern.
  19018. (*sge_<mode>, second *sge_<mode>): Remove patterns.
  19019. (slt<u>): Merge slt and sltu into new expander.
  19020. (slt, sltu): Remove expanders.
  19021. (*slt<u>_<mode>): Merge *slt_<mode> and *sltu_<mode> into new pattern.
  19022. (*slt_<mode>, *sltu_<mode>): Remove patterns.
  19023. (*slt<u>_<mode>_mips16): Merge *slt_<mode>_mips16 and
  19024. *sltu_<mode>_mips16 into new pattern.
  19025. (*slt_<mode>_mips16, *sltu_<mode>_mips16): Remove patterns.
  19026. (sle<u>): Merge sle and sleu into new expander.
  19027. (sle, sleu): Remove expanders.
  19028. (*sle<u>_<mode>): Merge *sle_<mode> and *sleu_<mode> into new pattern.
  19029. (*sle_<mode>, *sleu_<mode>): Remove patterns.
  19030. (*sle<u>_<mode>_mips16): Merge *sle_<mode>_mips16 and
  19031. *sleu_<mode>_mips16 into new pattern.
  19032. (*sle_<mode>_mips16, *sleu_<mode>_mips16): Remove patterns.
  19033. 2008-04-03 Jan Hubicka <jh@suse.cz>
  19034. PR tree-optimization/35795
  19035. * alpha/alpha.c (alpha_output_mi_thunk_osf): Free after compilation.
  19036. * sparc/sparc.c (sparc_output_mi_thunk): Likewise.
  19037. * ia64/ia64.c (ia64_output_mi_thunk): Likewise.
  19038. * m68k/m68k.c (m68k_output_mi_thunk): Likewise.
  19039. * score/score3.c (score3_output_mi_thunk): Likewise.
  19040. * score/score7.c (score7_output_mi_thunk): Likewise.
  19041. * mips/mips.c (mips_output_mi_thunk): Likewise.
  19042. 2008-04-03 Richard Guenther <rguenther@suse.de>
  19043. * tree-vrp.c (extract_range_from_unary_expr): Handle all
  19044. conversions. Simplify code.
  19045. 2008-04-03 Kaz Kojima <kkojima@gcc.gnu.org>
  19046. * config/sh/sh.c (sh_output_mi_thunk): Free cfun.
  19047. 2008-04-03 Tom Tromey <tromey@redhat.com>
  19048. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  19049. * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h.
  19050. * config/bfin/t-bfin-linux (generated_files): Add
  19051. linux-sysroot-suffix.h.
  19052. * doc/install.texi (Prerequisites): Require make 3.80.
  19053. * doc/sourcebuild.texi (Front End Directory): Document new
  19054. variable.
  19055. * Makefile.in (generated_files): New variable.
  19056. (ALL_HOST_OBJS): New variable.
  19057. ($(ALL_HOST_OBJS)): New target.
  19058. 2008-04-03 Paolo Bonzini <bonzini@gnu.org>
  19059. * tree-inline.c (copy_generic_body, copy_decl_no_change): Export.
  19060. (remap_block): Call id->transform_lang_insert_block instead
  19061. of langhook.
  19062. (optimize_inline_calls, unsave_expr_now, tree_function_versioning):
  19063. Set id.transform_lang_insert_block to NULL.
  19064. (clone_body): Move to cp/optimize.c
  19065. * tree-inline.h (struct copy_body_data): Change
  19066. transform_lang_insert_block to function pointer.
  19067. (copy_generic_body, copy_decl_no_change): Export.
  19068. * langhooks.h (struct lang_hooks_for_decls): Kill insert_block.
  19069. * langhooks-def.h (LANG_HOOKS_INSERT_BLOCK): Kill.
  19070. (LANG_HOOKS_DECLS): Remove LANG_HOOKS_INSERT_BLOCK.
  19071. * c-tree.h (insert_block): Kill.
  19072. * c-decl.c (insert_block): Kill.
  19073. 2008-04-03 Paolo Bonzini <bonzini@gnu.org>
  19074. * c-objc-common.h (LANG_HOOKS_FUNCTION_ENTER_NESTED,
  19075. LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete.
  19076. * c-tree.h (c_push_function_context, c_pop_function_context): Remove
  19077. argument.
  19078. * c-decl.c (c_push_function_context, c_pop_function_context): Remove
  19079. argument, call {push,pop}_function_context from here.
  19080. * c-parser.c: Use c_{push,pop}_function_context.
  19081. * function.c (push_function_context_to): Move meat ...
  19082. (push_function_context): ... here. Simplify.
  19083. * function.c (pop_function_context_from): Move meat ...
  19084. (pop_function_context): ... here. Simplify.
  19085. * langhooks.h (struct lang_hooks_for_functions): Remove enter_nested,
  19086. leave_nested).
  19087. * langhooks-def.h (LANG_HOOKS_FUNCTION_ENTER_NESTED,
  19088. LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete.
  19089. (LANG_HOOKS_FUNCTION_INITIALIZER): Delete them from here.
  19090. * tree.h (push_function_context_to, pop_function_context_from): Remove.
  19091. 2008-04-03 Ben Elliston <bje@au.ibm.com>
  19092. * expmed.c (extract_force_align_mem_bit_field): Remove.
  19093. 2008-04-03 Richard Guenther <rguenther@suse.de>
  19094. PR middle-end/35800
  19095. * expr.h (try_casesi): Adjust prototype.
  19096. * expr.c (try_casesi): Take fallback label as extra parameter.
  19097. Use that for gen_casesi if default_label is NULL.
  19098. * stmt.c (expand_case): Pass fallback label to try_casesi,
  19099. make sure to fill gaps with a fallback label if default_label
  19100. is not present.
  19101. 2008-04-03 Dominique d'Humières <dominiq@lps.ens.fr>
  19102. PR target/35801
  19103. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Free cfun.
  19104. 2008-04-03 Ben Elliston <bje@au.ibm.com>
  19105. * expmed.c (extract_split_bit_field): Remove if (0) code.
  19106. * tree-ssa-structalias.c (do_sd_constraint): Likewise.
  19107. (do_ds_constraint): Likewise.
  19108. 2008-04-02 Joseph Myers <joseph@codesourcery.com>
  19109. * doc/cppopts.texi (-dU): Document.
  19110. * c-common.h (flag_dump_macros): Update comment.
  19111. * c-opts.c (handle_OPT_d): Handle -dU.
  19112. * c-ppoutput.c (macro_queue, define_queue, undef_queue,
  19113. dump_queued_macros, cb_used_define, cb_used_undef): New.
  19114. (init_pp_output): Handle -dU.
  19115. (cb_line_change): Call dump_queued_macros.
  19116. * toplev.c (decode_d_option): Accept -dU as preprocessor option.
  19117. 2008-04-02 Anatoly Sokolov <aesok@post.ru>
  19118. * config/avr/predicates.md (io_address_operand): New predicate.
  19119. * config/avr/avr-protos.h (avr_io_address_p): Remove declaration.
  19120. * config/avr/avr.c (avr_io_address_p): Remove function.
  19121. (out_movqi_r_mr): Use 'io_address_operand' predicate instead of
  19122. 'avr_io_address_p' function.
  19123. (out_movhi_r_mr): (Ditto.).
  19124. (out_movqi_mr_r): (Ditto.).
  19125. (out_movhi_mr_r): (Ditto.).
  19126. (avr_address_cost): (Ditto.).
  19127. 2008-04-02 Uros Bizjak <ubizjak@gmail.com>
  19128. * config/i386/i386.md (*float<SSEMODEI24:mode><X87MODEF:mode>2_1):
  19129. Emit gen_floatdi<X87MODEF:mode>2_i387_with_xmm for DImode values
  19130. in 32bit mode when XMM registers are available to avoid store
  19131. forwarding stalls.
  19132. (floatdi<X87MODEF:mode>2_i387_with_xmm): New insn pattern and
  19133. corresponding post-reload splitters.
  19134. 2008-04-02 H.J. Lu <hongjiu.lu@intel.com>
  19135. * config/i386/i386.c (bdesc_sse_3arg): Add __builtin_ia32_shufps
  19136. and __builtin_ia32_shufpd. Provide __builtin_ia32_roundsd and
  19137. __builtin_ia32_roundss.
  19138. (ix86_init_mmx_sse_builtins): Remove __builtin_ia32_shufps,
  19139. __builtin_ia32_shufpd, __builtin_ia32_roundsd and
  19140. __builtin_ia32_roundss.
  19141. (ix86_expand_builtin): Don't handle IX86_BUILTIN_SHUFPS and
  19142. IX86_BUILTIN_SHUFPD here.
  19143. 2008-04-02 H.J. Lu <hongjiu.lu@intel.com>
  19144. * config/i386/i386.md (plogic): New.
  19145. (plogicprefix): Likewise.
  19146. * config/i386/mmx.md (mmx_<code><mode>3): New.
  19147. (mmx_and<mode>3): Removed.
  19148. (mmx_ior<mode>3): Likewise.
  19149. (mmx_xor<mode>3): Likewise.
  19150. * config/i386/sse.md (<code><mode>3): New.
  19151. (*<code><mode>3): Likewise.
  19152. (*<code><mode>3): Likewise.
  19153. (<code><mode>3): Likewise.
  19154. (*sse_<code><mode>3): Likewise.
  19155. (*sse2_<code><mode>3): Likewise.
  19156. (<code>tf3): Likewise.
  19157. (*<code>tf3): Likewise.
  19158. (and<mode>3): Likewise.
  19159. (*and<mode>3): Likewise.
  19160. (ior<mode>3): Removed.
  19161. (*ior<mode>3): Likewise.
  19162. (xor<mode>3): Likewise.
  19163. (*xor<mode>3): Likewise.
  19164. (*and<mode>3): Likewise.
  19165. (*ior<mode>3): Likewise.
  19166. (*xor<mode>3): Likewise.
  19167. (and<mode>3): Likewise.
  19168. (*sse_and<mode>3): Likewise.
  19169. (*sse2_and<mode>3): Likewise.
  19170. (andtf3): Likewise.
  19171. (*andtf3): Likewise.
  19172. (ior<mode>3): Likewise.
  19173. (*sse_ior<mode>3): Likewise.
  19174. (*sse2_ior<mode>3): Likewise.
  19175. (iortf3): Likewise.
  19176. (*iortf3): Likewise.
  19177. (xor<mode>3): Likewise.
  19178. (*sse_xor<mode>3): Likewise.
  19179. (*sse2_xor<mode>3): Likewise.
  19180. (xortf3): Likewise.
  19181. (*xortf3): Likewise.
  19182. 2008-04-02 Richard Guenther <rguenther@suse.de>
  19183. PR tree-optimization/14495
  19184. PR tree-optimization/34793
  19185. * tree-vrp.c (struct switch_update): New structure.
  19186. (to_remove_edges, to_update_switch_stmts): New VECs.
  19187. (simplify_switch_using_ranges): New function. Remove not taken
  19188. case labels and edges.
  19189. (simplify_stmt_using_ranges): Call it.
  19190. (identify_jump_threads): Mark edges we have queued for removal
  19191. so we don't thread them.
  19192. (execute_vrp): Remove edges queued for removal, update SWITCH_STMT
  19193. case label vector.
  19194. * tree-cfg.c (group_case_labels): Deal with missing default label.
  19195. (tree_verify_flow_info): Allow missing default label.
  19196. * stmt.c (emit_case_bit_tests): Deal with NULL default_label.
  19197. (emit_case_nodes): Likewise.
  19198. (expand_case): Do not rely on the default label to be present.
  19199. * expr.c (try_casesi): Deal with NULL default_label.
  19200. (do_tablejump): Likewise.
  19201. 2008-04-02 Richard Guenther <rguenther@suse.de>
  19202. PR tree-optimization/14495
  19203. * tree-vrp.c (vrp_visit_cond_stmt): Do not handle
  19204. SWITCH_EXPR here ...
  19205. (vrp_visit_switch_stmt): ... but here (new function).
  19206. (find_case_label_index): New helper function.
  19207. (vrp_visit_stmt): Dispatch to vrp_visit_switch_stmt.
  19208. 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
  19209. * fwprop.c: Fix ISO-C99ism.
  19210. 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
  19211. PR bootstrap/35752
  19212. * Makefile.in (objdir): Set it here.
  19213. * configure.ac: Not here. Find dynamic linker characteristics.
  19214. * exec-tool.in: Use them.
  19215. * aclocal.m4: Regenerate.
  19216. * configure: Regenerate.
  19217. 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
  19218. * expr.c (expand_var): Delete it.
  19219. * expr.h (expand_var): Delete prototype.
  19220. * function.c (expand_function_start): Use expand_decl instead.
  19221. * cfgexpand.c (expand_one_static_var, expand_one_var): Don't call
  19222. langhook.
  19223. 2008-04-02 Andy Hutchinson <hutchinsonamdy@aim.com>
  19224. PR rtl-optimization/35542
  19225. * fwprop.c (forward_propagate_and_simplify): Replace
  19226. loc_reg_mentioned_in_p with reg_mentioned_p.
  19227. 2008-04-02 Paolo Bonzini <bonzini@gnu.org>
  19228. PR rtl-optimization/35281
  19229. * fwprop.c (PR_CAN_APPEAR, PR_HANDLE_MEM): New.
  19230. (propagate_rtx_1): Handle PR_HANDLE_MEM.
  19231. (propagate_rtx): Pass PR_HANDLE_MEM if appropriate.
  19232. (varying_mem_p): Move above propagate_rtx.
  19233. (all_uses_available_at): Do not check MEMs.
  19234. 2008-04-02 Rafael Espíndola <espindola@google.com>
  19235. * tree-vrp.c (extract_code_and_val_from_cond): Remove.
  19236. (register_edge_assert_for_2): Split the cond argument.
  19237. (register_edge_assert_for_1): Adjust for the change in
  19238. register_edge_assert_for_2.
  19239. (register_edge_assert_for): Split the cond argument.
  19240. (find_switch_asserts): Adjust for the change in
  19241. register_edge_assert_for.
  19242. 2008-04-02 Kai Tietz <kai.tietz@onevision.com>
  19243. * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild.
  19244. * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Add 8 byte
  19245. offsets for 64-bit mingw.
  19246. * config/i386/i386.c (ix86_pass_by_reference): Correct calling
  19247. abi for x86_64-pc-mingw.
  19248. 2008-04-02 Richard Guenther <rguenther@suse.de>
  19249. * tree-vrp.c (extract_range_from_assert): Make sure to not
  19250. produce range min/max with TREE_OVERFOW set.
  19251. If merging a anti-range and a range keep the anti-range if
  19252. the range covers all values of the type.
  19253. (register_edge_assert_for_2): Only allow sign-changing
  19254. conversions in detecting canonical range checks. Also
  19255. register an assert for the unsigned name if useful.
  19256. PR tree-optimization/35787
  19257. * tree-vrp.c (vrp_val_max): New function.
  19258. (vrp_val_min): Likewise.
  19259. (vrp_val_is_max): Move earlier, use vrp_val_{min,max}.
  19260. (vrp_val_is_min): Likewise.
  19261. (supports_overflow_infinity): Use vrp_val_{min,max}.
  19262. (negative_overflow_infinity): Likewise.
  19263. (positive_overflow_infinity): Likewise.
  19264. (is_negative_overflow_infinity): Use vrp_val_is_{min,max}.
  19265. (is_positive_overflow_infinity): Likewise.
  19266. (is_overflow_infinity): Likewise.
  19267. (avoid_overflow_infinity): Use vrp_val_{min,max} and
  19268. vrp_val_is_{min,max}.
  19269. (set_and_canonicalize_value_range): Canonicalize anti-ranges
  19270. to ranges if possible. Avoid empty ranges.
  19271. 2008-04-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  19272. PR middle-end/35705
  19273. * fold-const.c (get_pointer_modulus_and_residue): Return modulus 1 if
  19274. the expression is a function address.
  19275. 2008-04-01 George Helffrich <george@gcc.gnu.org>
  19276. PR fortran/35154, fortran/23057
  19277. * dbxout.c: Emit .stabs debug info for Fortran COMMON block
  19278. variables as base symbol name + offset using N_BCOMM/N_ECOMM.
  19279. (is_fortran, dbxout_common_name, dbxout_common_check): New functions.
  19280. (dbxout_symbol_location): Transform N_LCSYM to N_GSYM for storage
  19281. in common.
  19282. (dbxout_syms): Check for COMMON-based symbol and wrap in
  19283. N_BCOMM/N_ECOMM stab bracket, including as many symbols as possible
  19284. in bracket for efficiency.
  19285. * dwarf2out.c: Emit DWARF debug info for Fortran COMMON block
  19286. using DW_TAG_common_block + member offset.
  19287. (add_pubname_string): New function.
  19288. (dw_expand_expr): New function to find block name and offset for
  19289. COMMON var.
  19290. (common_check): New function to check whether symbol in Fortran COMMON.
  19291. (gen_variable_die): If COMMON, use DW_TAG_common_block.
  19292. 2008-04-01 Volker Reichelt <v.reichelt@netcologne.de>
  19293. PR c/35436
  19294. * c-format.c (init_dynamic_gfc_info): Ignore invalid locus type.
  19295. 2008-04-02 Ben Elliston <bje@au.ibm.com>
  19296. * config/v850/v850.md (casesi): Remove if (0) code.
  19297. * config/i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
  19298. * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
  19299. 2008-04-01 Uros Bizjak <ubizjak@gmail.com>
  19300. * config/i386/i386.md (rex64suffix): New mode attribute.
  19301. (floathi<mode>2): Disable expander for SSE math.
  19302. (*floathi<mode>2_1): New insn insn_and_split pattern.
  19303. (*floathi<mode>2_i387_with_temp): New macroized instruction pattern and
  19304. corresponding post-reload splitters.
  19305. (*floathi<mode>2_i387): New macroized insn pattern.
  19306. (float<SSEMODEI24:mode><X87MODEF:mode>2): New macroized expander.
  19307. (*float<SSEMODEI24:mode><X87MODEF:mode>2_1): New macroized
  19308. insn_and_split pattern.
  19309. (*floatsi<mode>2_vector_mixed_with_temp, *floatsi<mode>2_vector_mixed):
  19310. New macroized instruction patterns and corresponding post-reload
  19311. splitters.
  19312. (*floatsi<mode>2_mixed_with_temp): New macroized instruction pattern
  19313. and corresponding post-reload splitters.
  19314. (*floatsi<mode>2_mixed_interunit, *floatsi<mode>2_mixed_nointerunit):
  19315. New macroized instruction patterns.
  19316. (*floatsi<mode>2_vector_sse_with_temp, *floatsi<mode>2_vector_sse): New
  19317. macroized instruction patterns and corresponding post-reload splitters.
  19318. (*floatsi<mode>2_sse_with_temp): New macroized instruction pattern and
  19319. corresponding post-reload splitters.
  19320. (*floatsi<mode>2_sse_interunit, *floatsi<mode>2_mixed_nointerunit):
  19321. New macroized instruction patterns.
  19322. (*floatsi<mode>2_i387_with_temp): New macroized instruction pattern and
  19323. corresponding post-reload splitters.
  19324. (*floatsi<mode>2_i387): New macroized instruction patterns.
  19325. 2008-04-01 H.J. Lu <hongjiu.lu@intel.com>
  19326. * config/i386/i386.md (smaxmin): New.
  19327. (umaxmin): Likewise.
  19328. (maxminiprefix): Likewise.
  19329. (maxminfprefix): Likewise.
  19330. (<code><mode>3): Likewise.
  19331. (smin<mode>3): Removed.
  19332. (smax<mode>3): Likewise.
  19333. * config/i386/mmx.md (mmx_<code>v2sf3): New.
  19334. (mmx_<code>v4hi3): Likewise.
  19335. (mmx_<code>v8qi3): Likewise.
  19336. (mmx_smaxv2sf3): Removed.
  19337. (mmx_sminv2sf3): Likewise.
  19338. (mmx_umaxv8qi3): Likewise.
  19339. (mmx_smaxv4hi3): Likewise.
  19340. (mmx_uminv8qi3): Likewise.
  19341. (mmx_sminv4hi3): Likewise.
  19342. * config/i386/sse.md (<addsub><mode>3): New.
  19343. (*<addsub><mode>3): Likewise.
  19344. (<sse>_vm<addsub><mode>3): Likewise.
  19345. (<maxmin><mode>3): Likewise.
  19346. (*<maxmin><mode>3_finite): Likewise.
  19347. (*<maxmin><mode>3): Likewise.
  19348. (<sse>_vm<maxmin><mode>3): Likewise.
  19349. (sse3_h<addsub>v4sf3): Likewise.
  19350. (sse3_h<addsub>v2df3): Likewise.
  19351. (<maxmin>v16qi3): Likewise.
  19352. (*<maxmin>v16qi3): Likewise.
  19353. (<maxmin>v8hi3): Likewise.
  19354. (*<maxmin>v8hi3): Likewise.
  19355. (*sse4_1_<maxmin><mode>3): Likewise.
  19356. (*sse4_1_<maxmin><mode>3): Likewise.
  19357. (add<mode>3): Removed.
  19358. (*add<mode>3): Likewise.
  19359. (<sse>_vmadd<mode>3): Likewise.
  19360. (sub<mode>3): Likewise.
  19361. (*sub<mode>3): Likewise.
  19362. (<sse>_vmsub<mode>3): Likewise.
  19363. (smin<mode>3): Likewise.
  19364. (*smin<mode>3_finite): Likewise.
  19365. (*smin<mode>3): Likewise.
  19366. (<sse>_vmsmin<mode>3): Likewise.
  19367. (smax<mode>3): Likewise.
  19368. (*smax<mode>3_finite): Likewise.
  19369. (*smax<mode>3): Likewise.
  19370. (<sse>_vmsmax<mode>3): Likewise.
  19371. (sse3_haddv4sf3): Likewise.
  19372. (sse3_haddv2df3): Likewise.
  19373. (sse3_hsubv4sf3): Likewise.
  19374. (sse3_hsubv2df3): Likewise.
  19375. (umaxv16qi3): Likewise.
  19376. (*umaxv16qi3): Likewise.
  19377. (smaxv8hi3): Likewise.
  19378. (*smaxv8hi3): Likewise.
  19379. (*sse4_1_smax<mode>3): Likewise.
  19380. (*sse4_1_umax<mode>3): Likewise.
  19381. (uminv16qi3): Likewise.
  19382. (*uminv16qi3): Likewise.
  19383. (sminv8hi3): Likewise.
  19384. (*sminv8hi3): Likewise.
  19385. (*sse4_1_smin<mode>3): Likewise.
  19386. (*sse4_1_umin<mode>3): Likewise.
  19387. 2008-04-01 Rafael Espíndola <espindola@google.com>
  19388. * tree-cfg.c (verify_expr): remove in_phi.
  19389. (verify_stmt): Don't call walk_tree with verify_expr. Use
  19390. is_gimple_min_invariant instead of is_gimple_val.
  19391. 2008-04-01 Joseph Myers <joseph@codesourcery.com>
  19392. * doc/include/gpl_v3.texi: Update for manpage generation.
  19393. * doc/gcc.texi, doc/gccint.texi: Include gpl_v3.texi instead of
  19394. gpl.texi.
  19395. * doc/sourcebuild.texi: Document gpl_v3.texi as well as gpl.texi.
  19396. * Makefile.in (TEXI_GCC_FILES, TEXI_GCCINT_FILES): Include
  19397. gpl_v3.texi instead of gpl.texi.
  19398. (gpl.pod): New.
  19399. 2008-04-01 Jakub Jelinek <jakub@redhat.com>
  19400. PR pch/13675
  19401. * c-pch.c (c_common_read_pch): On error close (fd) resp. fclose (f).
  19402. 2008-04-01 Rafael Espíndola <espindola@google.com>
  19403. * tree-vrp.c (extract_code_and_val_from_cond_with_ops): New.
  19404. (extract_code_and_val_from_cond): Use
  19405. extract_code_and_val_from_cond_with_ops.
  19406. 2008-04-01 Jan Hubicka <jh@suse.cz>
  19407. * function.c (free_after_compilation): Free epilogue_delay_list.
  19408. (prepare_function_start): Assert that previous compilation was freed.
  19409. 2008-04-01 Jan Hubicka <jh@suse.cz>
  19410. Jim Wilson <wilson@tuliptree.org>
  19411. Andreas Tobler <andreast@gcc.gnu.org>
  19412. PR middle-end/35781
  19413. * m32c/m32.c (m32c_leaf_function_p, m32c_function_needs_enter): Use
  19414. rtl.emit instead cfun->emit.
  19415. * sparc/sparc.h (INIT_EXPANDERS): Likewise.
  19416. * ia64/ia64.h (INIT_EXPANDERS): Likewise.
  19417. 2008-04-01 Ben Elliston <bje@au.ibm.com>
  19418. * doc/c-tree.texi (Function Basics): Fix grammatical error.
  19419. 2008-03-31 Seongbae Park <seongbae.park@gmail.com>
  19420. * common.opt (fprofile-dir=, fprofile-use=, fprofile-generate=):
  19421. New options
  19422. (fprofile-use): Add var flag_profile_use
  19423. * coverage.c (coverage_begin_output): Do not open a gcno file for
  19424. output only if -ftest-coverage is set.
  19425. Do not add getpwd() to gcda file path.
  19426. (build_gcov_info): Check the new flag
  19427. flag_profile_datafile_relative_path.
  19428. (coverage_init): Use profile_data_prefix.
  19429. Read profile counter only if flag_profile_use is set.
  19430. * opts.c (common_handle_option): New option fprofile-use=,
  19431. fprofile-dir=, fprofile-generate=.
  19432. * toplev.c (profile_data_prefix): New variable definition.
  19433. * toplev.h (profile_data_prefix): New declaration.
  19434. * doc/invoke.tex (Option Summary, Optimization Options):
  19435. Add new options.
  19436. 2008-03-31 James E. Wilson <wilson@tuliptree.org>
  19437. * varasm.c (output_constant_pool_1): In LABEL_REF check,
  19438. use tmp consistently.
  19439. PR target/35695
  19440. * config/ia64/div.md (recip_approx_rf): Use UNSPEC not DIV.
  19441. * config/ia64/ia64.c (rtx_needs_barrier): Handle
  19442. UNSPEC_FR_RECIP_APPROX_RES.
  19443. * config/ia64/ia64.md (UNSPEC_FR_RECIP_APPROX_RES): Define.
  19444. 2008-03-31 Volker Reichelt <v.reichelt@netcologne.de>
  19445. PR c/35750
  19446. * c-decl.c (store_parm_decls_oldstyle): Skip invalid parameters.
  19447. 2008-03-31 Andrew Pinski <andrew_pinski@playstation.sony.com>
  19448. PR middle-end/30186
  19449. * fold-const.c (fold_indirect_ref_1): Support accessing non first
  19450. element of the vector via a pointer.
  19451. 2008-03-31 Ian Lance Taylor <iant@google.com>
  19452. * tlink.c (scan_linker_output): Look for symbol name in single quotes.
  19453. 2008-03-31 Jan Hubicka <jh@suse.cz>
  19454. * builtins.c (expand_builtin_setjmp_receiver): Update call of
  19455. get_arg_pointer_save_area.
  19456. * expr.c (init_expr): Just clear out rtl.expr.
  19457. * function.c (free_after_compilation): Clear out whole RTL structure.
  19458. (get_func_frame_size): Merge into ...
  19459. (get_frame_size): ... this one.
  19460. (assign_stack_local_1): Merge into ...
  19461. (assign_stack_local): ... this one.
  19462. (expand_function_end): Update call of get_arg_pointer_save_area.
  19463. (get_art_pointer_save_area): Remove cfun argument.
  19464. * function.h (emit_status): regno_pointer_align does not need length
  19465. attribute. Move x_regno_reg_rtx to ...
  19466. (regno_reg_rtx): ... new global array.
  19467. (reg_rtx_no, seq_stack, REGNO_POINTER_ALIGN): Update accestors.
  19468. (pending_stack_adjust, inhibit_defer_pop, saveregs_value,
  19469. apply_args_value, forced_labels, stack_pointer_delta):
  19470. Update accestors.
  19471. (struct varasm_status): Move here from varasm.c
  19472. (struct rtl_data): New. Move here some fields from struct function.
  19473. (return_label, naked_return_label, stack_slot_list, parm_birth_insn,
  19474. frame_offset, stack_check_probe_note, arg_pointer_save_area,
  19475. used_temp_slots avail_temp_slots, temp_slot_level,
  19476. nonlocal_goto_handler_labels): Update accesstors.
  19477. (rtl): New global variable.
  19478. (struct function): Move some fileds to rtl_data.
  19479. (get_arg_pointer_save_area): Update prototype.
  19480. * emit-rtl.c (rtl): Declare.
  19481. (regno_reg_rtx): Declare.
  19482. (first_insn, last_insn, cur_insn_uid, last_location, first_label_num):
  19483. Update.
  19484. (gen_reg_rtx): Update.
  19485. (init_virtual_regs): Do not tate emit_status argument.
  19486. (init_emit): Do not allocate emit.
  19487. * varasm.c (varasm_statuc): Move to function.h.
  19488. (n_deferred_constatns): Update accestor.
  19489. (init_varasm_status): Do not allocate varasm_status.
  19490. (force_const_mem, get_pool_size, output_constant_pool): Update.
  19491. * stmt.c (force_label_rtx): Do not use x_ prefixes.
  19492. (expand_nl_goto_receiver): Update get_arg_pointer_save_area.
  19493. 2008-03-31 Zdenek Dvorak <ook@ucw.cz>
  19494. PR rtl-optimization/35729
  19495. * loop-invariant.c (check_maybe_invariant): Disallow volatile memory
  19496. references.
  19497. 2008-03-31 H.J. Lu <hongjiu.lu@intel.com>
  19498. PR target/32000
  19499. * config/i386/i386.md (*movti_internal): Emit unaligned SSE
  19500. load/store if memory is unaligned.
  19501. (*movti_rex64): Likewise.
  19502. * config/i386/predicates.md (misaligned_operand): New.
  19503. 2008-03-31 Andrew Pinski <pinskia@gmail.com>
  19504. PR tree-opt/35431
  19505. * tree-ssa-phiopt.c (conditional_replacement): Return early for
  19506. complex types.
  19507. 2008-03-31 Jan Beulich <jbeulich@novell.com>
  19508. * config/ia64/constraints.md: Add 'j' constraint.
  19509. * config/ia64/ia64.md (movsi_internal): Add addp4 case.
  19510. (movdi_internal): Likewise.
  19511. 2008-03-30 Volker Reichelt <v.reichelt@netcologne.de>
  19512. PR c/35748
  19513. * c-typeck.c (build_c_cast): Skip invalid fields in unions.
  19514. 2008-03-30 H.J. Lu <hongjiu.lu@intel.com>
  19515. PR target/35757
  19516. * config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Issue
  19517. proper error message for the third argument on blendpd and
  19518. blendps.
  19519. * config/i386/sse.md (blendbits): New.
  19520. (sse4_1_blendp<ssemodesuffixf2c>): Use it.
  19521. 2008-03-30 Eric Botcazou <ebotcazou@adacore.com>
  19522. * fold-const.c (fold_binary) <BIT_IOR_EXPR>: Add missing conversions.
  19523. 2008-03-30 Richard Guenther <rguenther@suse.de>
  19524. PR middle-end/31023
  19525. * fold-const.c (fold_sign_changed_comparison): Do leave
  19526. conversions to base-types alone.
  19527. 2008-03-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
  19528. * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of
  19529. the link register if one altivec register is be saved.
  19530. 2008-03-30 Ben Elliston <bje@au.ibm.com>
  19531. * final.c (final_scan_insn): Remove if (0) code.
  19532. 2008-03-28 Volker Reichelt <v.reichelt@netcologne.de>
  19533. * c-parser.c (c_parser_next_token_is_keyword): Simplify.
  19534. 2008-03-28 H.J. Lu <hongjiu.lu@intel.com>
  19535. * config/i386/sse.md (*and<mode>3): Pass <MODE>mode instead
  19536. of V4SFmode to ix86_binary_operator_ok.
  19537. 2008-03-28 Uros Bizjak <ubizjak@gmail.com>
  19538. * config/i386/i386.c (override_options): Initialize
  19539. ix86_veclib_handler to ix86_veclibabi_svml when
  19540. -mveclibabi=svml is used.
  19541. (ix86_veclibabi_svml): New function for SVML ABI style
  19542. vectorization support.
  19543. * doc/invoke.texi (-mveclibabi) [svml]: Document new target option.
  19544. 2008-03-28 Rafael Espíndola <espindola@google.com>
  19545. * fold-const.c (tree_unary_nonnegative_warnv_p): Make it public.
  19546. (tree_binary_nonnegative_warnv_p): Make it public.
  19547. (tree_single_nonnegative_warnv_p): Make it public.
  19548. (tree_invalid_nonnegative_warnv_p): Make it public.
  19549. (tree_unary_nonzero_warnv_p): Make it public.
  19550. (tree_binary_nonzero_warnv_p): Make it public
  19551. (tree_single_nonzero_warnv_p): Make it public.
  19552. * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops): New function.
  19553. (extract_range_from_binary_expr): Split the expr argument.
  19554. (extract_range_from_unary_expr): Split the expr argument.
  19555. (extract_range_from_comparison): Split the expr argument.
  19556. (extract_range_from_expr): Use the new aux functions.
  19557. (vrp_evaluate_conditional_warnv): Use
  19558. vrp_evaluate_conditional_warnv_with_ops.
  19559. * tree.h (tree_unary_nonzero_warnv_p): Declare.
  19560. (tree_binary_nonzero_warnv_p): Declare.
  19561. (tree_single_nonzero_warnv_p): Declare.
  19562. (tree_expr_nonzero_warnv_p): Declare.
  19563. (tree_unary_nonnegative_warnv_p): Declare.
  19564. (tree_binary_nonnegative_warnv_p): Declare.
  19565. (tree_single_nonnegative_warnv_p): Declare.
  19566. (tree_invalid_nonnegative_warnv_p): Declare.
  19567. 2008-03-28 Richard Guenther <rguenther@suse.de>
  19568. PR tree-optimization/30317
  19569. PR tree-optimization/30911
  19570. PR tree-optimization/34793
  19571. * tree-vrp.c (set_and_canonicalize_value_range): New function.
  19572. (struct assert_locus_d): New member EXPR.
  19573. (register_new_assert_for): Add EXPR parameter to support
  19574. ASSERT_EXPR <name, expr OP limit>.
  19575. (register_edge_assert_for_1): Adjust callers.
  19576. (find_assert_locations): Likewise.
  19577. (process_assert_insertions_for): Build condition from expression.
  19578. (extract_range_from_assert): Handle ASSERT_EXPRs
  19579. of the form ASSERT_EXPR <name, expr OP limit>.
  19580. (register_edge_assert_for_2): New helper registering
  19581. asserts for comparisons. Recognize range tests of the form
  19582. (unsigned)i - CST1 OP CST2.
  19583. (register_edge_assert_for_1): Use it.
  19584. (register_edge_assert_for): Likewise.
  19585. (needs_overflow_infinity): Integer sub-types
  19586. do not need overflow infinities.
  19587. (vrp_val_is_max): The extreme values of integer sub-types
  19588. are those of the base type.
  19589. (vrp_val_is_min): Likewise.
  19590. * tree.def (ASSERT_EXPR): Document extra allowed conditional
  19591. expressions.
  19592. 2008-03-28 Nick Clifton <nickc@redhat.com>
  19593. PR target/31110
  19594. * config/mn10300/mn10300.c (mn10300_secondary_reload_class):
  19595. Return GENERAL_REGS for stack adjustment reloads.
  19596. 2008-03-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
  19597. PR target/31334
  19598. * config/rs6000/rs6000.c (rs6000_expand_vector_init): Create a
  19599. const_vector when all the vectors are constant.
  19600. 2008-03-27 Bob Wilson <bob.wilson@acm.org>
  19601. * config/xtensa/xtensa.c (gen_float_relational): Handle unordered
  19602. comparisons.
  19603. * config/xtensa/xtensa.md (any_cond): Add unordered comparisons.
  19604. (any_scc_sf): Add uneq, unlt, unle and unordered operators.
  19605. (scc_sf): New.
  19606. (s<code>_sf): Use new scc_sf attribute for opcode names.
  19607. 2008-03-27 Tom Tromey <tromey@redhat.com>
  19608. * doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
  19609. configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
  19610. config/spu/t-spu-elf, config/i386/t-interix,
  19611. config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
  19612. config/i386/x-darwin, config/i386/x-mingw32,
  19613. config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
  19614. config/sh/t-sh, config/sh/t-symbian, config/x-linux,
  19615. config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
  19616. config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
  19617. config/rs6000/x-rs6000, config/rs6000/x-darwin64,
  19618. config/rs6000/x-darwin, config/rs6000/t-rs6000,
  19619. config/score/t-score-elf, config/arm/t-strongarm-pe,
  19620. config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
  19621. config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
  19622. Revert automatic dependency patch.
  19623. 2008-03-27 H.J. Lu <hongjiu.lu@intel.com>
  19624. PR target/35657
  19625. * config/i386/i386.c (ix86_function_arg_boundary): Align
  19626. decimal floating point to its natural boundary.
  19627. 2008-03-27 Richard Guenther <rguenther@suse.de>
  19628. PR middle-end/35716
  19629. * fold-const.c (fold_comparison): Restrict distinct decl
  19630. comparison folding to VAR_DECLs and PARM_DECLs. Do not
  19631. solely rely on operand_equal_p.
  19632. 2008-03-27 Richard Guenther <rguenther@suse.de>
  19633. PR c/32511
  19634. * c-common.c (handle_weak_attribute): Reject combination of
  19635. weak and inline.
  19636. 2008-03-27 Richard Guenther <rguenther@suse.de>
  19637. PR tree-optimization/32810
  19638. * tree-ssa-ccp.c (get_symbol_constant_value): Strip useless
  19639. conversions from DECL_INITIAL.
  19640. (fold_const_aggregate_ref): Likewise from constructor elements.
  19641. 2008-03-27 Zdenek Dvorak <ook@ucw.cz>
  19642. * tree-affine.h (aff_combination_expand): Declare.
  19643. (get_inner_reference_aff): Likewise.
  19644. * tree-affine.c (aff_combination_expand): Split out from
  19645. tree_to_aff_combination_expand.
  19646. (get_inner_reference_aff): New function.
  19647. * tree-parloops.c (loop_parallel_p): Free vectorizer info.
  19648. * tree-ssa-loop-im.c: Include tree-affine.h and pointer-set.h.
  19649. (struct lim_aux_data): sm_done field removed.
  19650. (mem_ref_loc_p, mem_ref_locs_p): New types.
  19651. (struct mem_ref): Added id, stored, accesses_in_loop,
  19652. indep_loop, dep_loop, indep_ref, dep_ref fields.
  19653. Removed is_stored, locs and next fields.
  19654. (memory_accesses): New variable.
  19655. (movement_possibility): Do not allow moving statements
  19656. that store to memory.
  19657. (outermost_indep_loop, simple_mem_ref_in_stmt, mem_ref_in_stmt):
  19658. New functions.
  19659. (determine_max_movement): For statements with memory references,
  19660. find the outermost loop in that the reference is independent.
  19661. (move_computations_stmt): Mark the virtual operands for renaming.
  19662. (memref_free, mem_ref_alloc, mem_ref_locs_alloc, mark_ref_stored,
  19663. gather_mem_refs_stmt, gather_mem_refs_in_loops, vtoe_hash, vtoe_eq,
  19664. vtoe_free, record_vop_access, get_vop_accesses, get_vop_stores,
  19665. add_vop_ref_mapping, create_vop_ref_mapping_loop,
  19666. create_vop_ref_mapping, analyze_memory_references,
  19667. cannot_overlap_p, mem_refs_may_alias_p, rewrite_mem_ref_loc,
  19668. get_all_locs_in_loop, ref_always_accessed_p,
  19669. refs_independent_p, record_indep_loop, ref_indep_loop_p_1,
  19670. ref_indep_loop_p, can_sm_ref_p, find_refs_for_sm,
  19671. store_motion_loop, store_motion): New functions.
  19672. (struct vop_to_refs_elt): New type.
  19673. (record_mem_ref_loc, free_mem_ref_locs, rewrite_mem_refs,
  19674. memref_hash, memref_eq, hoist_memory_references): Rewritten.
  19675. (schedule_sm): Replaced by...
  19676. (execute_sm): ... this.
  19677. (determine_lsm_ref, hoist_memory_references,
  19678. loop_suitable_for_sm, gather_mem_refs_stmt, gather_mem_refs,
  19679. find_more_ref_vops, free_mem_ref, free_mem_refs,
  19680. determine_lsm_loop, determine_lsm): Removed.
  19681. (tree_ssa_lim_finalize): Free data structures used by store motion.
  19682. (tree_ssa_lim): Call analyze_memory_references. Use
  19683. store_motion instead of determine_lsm.
  19684. 2008-03-27 Paolo Bonzini <bonzini@gnu.org>
  19685. * config.cc (m68hc11, m6811, m68hc12, m6812): Add usegas.h,
  19686. rename tmake_file to m68hc11/t-m68hc11.
  19687. (mcore): Set inhibit_libc to true.
  19688. * config.host (alpha*-dec-*vms*): Set extra_programs.
  19689. (interix3*): Don't use host_xmake_file.
  19690. * configure.ac: Let config.gcc override inhibit_libc.
  19691. * configure: Regenerate.
  19692. * config/alpha/x-vms (EXTRA_PROGRAMS): Remove.
  19693. * config/t-openbsd-thread: Remove commented out lines.
  19694. * config/x-interix: Remove.
  19695. * config/m68hc11/t-m68hc11-gas: Rename to...
  19696. * config/m68hc11/t-m68hc11: ... this. Remove T_CPPFLAGS.
  19697. * config/mcore/t-mcore: Remove T_CFLAGS.
  19698. * config/mcore/t-mcore-pe: Likewise.
  19699. 2008-03-27 Paolo Bonzini <bonzini@gnu.org>
  19700. * configure.ac: Replace custom __GNU_SOURCE test with
  19701. AC_USE_SYSTEM_EXTENSIONS. Move it earlier.
  19702. * aclocal.m4: Regenerate.
  19703. * configure: Regenerate.
  19704. * config.in: Regenerate.
  19705. 2008-03-27 Richard Guenther <rguenther@suse.de>
  19706. * fold-const.c (target.h): Include.
  19707. (fold_comparison): Fold comparison of addresses of decls
  19708. that bind locally or of constants. Consolidate address folding code.
  19709. * tree-vrp.c (operand_less_p): Deal with non-INTEGER_CST
  19710. results from fold_binary_to_constant.
  19711. (compare_values_warnv): Likewise.
  19712. 2008-03-27 Andrew Pinski <pinskia@gmail.com>
  19713. PR middle-end/35429
  19714. * fold-const.c (fold_truthop): Check for integeral types when folding
  19715. a == 0 && b == 0 and a != 0 || b != 0 .
  19716. 2008-03-26 Eric Botcazou <ebotcazou@adacore.com>
  19717. * tree.c (get_unwidened): Remove code fiddling with COMPONENT_REF.
  19718. 2008-03-26 Andreas Schwab <schwab@suse.de>
  19719. * doc/invoke.texi: Fix use of @item vs. @itemx.
  19720. 2008-03-26 Tom Tromey <tromey@redhat.com>
  19721. * Makefile.in (build/gensupport.o, build/print-rtl.o,
  19722. build/read-rtl.o, build/rtl.o, build/gencondmd.o, build/genattr.o,
  19723. build/genattrtab.o, build/genautomata.o, build/gencheck.o,
  19724. build/gencodes.o, build/genconditions.o, build/genconfig.o,
  19725. build/genconstants.o, build/genemit.o, build/genextract.o,
  19726. build/genflags.o, build/genmddeps.o, build/genopinit.o,
  19727. build/genoutput.o, build/genpeep.o, build/genrecog.o): Depend on
  19728. options.h.
  19729. 2008-03-26 Richard Guenther <rguenther@suse.de>
  19730. Revert
  19731. 2008-03-26 Richard Guenther <rguenther@suse.de>
  19732. * fold-const.c (target.h): Include.
  19733. (fold_comparison): Fold comparison of addresses of two decls
  19734. that bind locally. Consolidate address folding code.
  19735. 2008-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  19736. * builtins.c (expand_builtin_pow, fold_builtin_cabs,
  19737. fold_builtin_sqrt, fold_builtin_cbrt, fold_builtin_logarithm,
  19738. fold_builtin_hypot, fold_builtin_pow): Remove uses of dconst3,
  19739. dconstsqrt2, dconstthird, dconste and/or dconst10.
  19740. * config/i386/i386.c (ix86_emit_swsqrtsf): Likewise.
  19741. * emit-rtl.c (dconst3, dconst10, dconstm2, dconstthird,
  19742. dconstsqrt2, dconste): Delete.
  19743. (init_emit_once): Likewise. Simplify initializing dconstm1.
  19744. Constify variable.
  19745. * real.c (get_real_const): New.
  19746. * real.h (dconst3, dconst10, dconstm2, dconstthird,
  19747. dconstsqrt2, dconste): Delete.
  19748. (real_value_const, get_real_const): New.
  19749. 2008-03-26 H.J. Lu <hongjiu.lu@intel.com>
  19750. * config/i386/cygming.h (BIGGEST_ALIGNMENT): Removed.
  19751. * config/i386/i386.c (ix86_function_arg_boundary): Check
  19752. BIGGEST_ALIGNMENT instead of 128.
  19753. (setup_incoming_varargs_64): Likewise.
  19754. 2008-03-26 Tom Tromey <tromey@redhat.com>
  19755. * Makefile.in (DEPFILES): Add missing '/'.
  19756. 2008-03-26 Richard Guenther <rguenther@suse.de>
  19757. * fold-const.c (target.h): Include.
  19758. (fold_comparison): Fold comparison of addresses of two decls
  19759. that bind locally. Consolidate address folding code.
  19760. 2008-03-26 Nick Clifton <nickc@redhat.com>
  19761. PR target/31232
  19762. * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): Do
  19763. not allow INT+INT as a legitimate addressing mode.
  19764. 2008-03-26 Richard Guenther <rguenther@suse.de>
  19765. * tree-flow.h (widen_bitfield): Remove declaration.
  19766. * tree-ssa-ccp.c (visit_assignment): Remove unneeded code.
  19767. (widen_bitfield): Remove function.
  19768. * tree-ssa-dom.c (record_equivalences_from_stmt): Remove unneeded
  19769. code.
  19770. 2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com>
  19771. PR target/31558
  19772. * config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle
  19773. error_mark_node's.
  19774. 2008-03-25 Richard Sandiford <rsandifo@nildram.co.uk>
  19775. PR rtl-optimization/35232
  19776. * reload1.c (reg_reloaded_call_part_clobbered): Clarify comment.
  19777. (forget_old_reloads_1, forget_marked_reloads): Don't clear
  19778. reg_reloaded_call_part_clobbered here.
  19779. (reload_regs_reach_end_p): New function.
  19780. (reload_reg_rtx_for_input): New variable.
  19781. (reload_reg_rtx_for_output): Likewise.
  19782. (emit_input_reload_insns): Use reloadreg rather than rl->reg_rtx
  19783. when reassigning a pseudo register. Load reloadreg from
  19784. reload_reg_rtx_for_input, moving the mode and register
  19785. calculation to...
  19786. (do_input_reload): ...here. Use the mode-adjusted reg_rtx
  19787. instead of the original when deciding whether an input reload
  19788. would be a no-op or whether an output reload can be deleted.
  19789. (emit_output_reload_insns): Use the mode-adjusted reg_rtx
  19790. when setting up new_spill_reg_store. Load it from
  19791. reload_reg_rtx_for_output, moving the mode and register
  19792. calculation to...
  19793. (do_output_reload): ...here. Use the mode-adjusted reg_rtx
  19794. instead of the original when deciding whether an output reload
  19795. would be a no-op. Do the same when modifying insn notes.
  19796. Use rtx_equal_p instead of == to compare the registers.
  19797. (inherit_piecemeal_p): Take a mode and two register numbers
  19798. as argument.
  19799. (emit_reload_insns): Clear new_spill_reg_store for every hard
  19800. register in the reload register. Remove spill registers
  19801. from reg_reloaded_valid before considering whether to record
  19802. inheritance information for them. Use reload_reg_rtx_for_output
  19803. instead of reg_rtx when recording output reloads. Use
  19804. reload_reg_rtx_for_input instead of reg_rtx when recording
  19805. input reloads. Set or clear reg_reloaded_call_part_clobbered
  19806. at the same time as setting reg_reloaded_valid.
  19807. (delete_output_reload): Add a new_reload_reg parameter and use it
  19808. instead of rld[j].reg_rtx.
  19809. (emit_input_reload_insns, do_input_reload, do_output_reload): Adjust
  19810. calls accordingly.
  19811. 2008-03-25 Tom Tromey <tromey@redhat.com>
  19812. * Makefile.in (build/gensupport.o): Depend on insn-modes.h.
  19813. (build/genattr.o): Likewise.
  19814. (build/genattrtab.o): Likewise.
  19815. (build/gencodes.o): Likewise.
  19816. (build/genconfig.o): Likewise.
  19817. (build/genconstants.o): Likewise.
  19818. (build/genemit.o): Likewise.
  19819. (build/genextract.o): Likewise.
  19820. (build/genflags.o): Likewise.
  19821. 2008-03-25 Bob Wilson <bob.wilson@acm.org>
  19822. * config/xtensa/xtensa.c (xtensa_va_start): Use build_int_cst
  19823. instead of size_int for integer types.
  19824. (xtensa_gimplify_va_arg_expr): Likewise. Convert index to sizetype
  19825. to match type of MINUS_EXPR.
  19826. 2008-03-25 Tom Tromey <tromey@redhat.com>
  19827. * configure: Rebuilt.
  19828. * configure.ac (BUILD_DEPMODE): Extract CCDEPMODE from temporary
  19829. Makefile.
  19830. 2008-03-25 Tom Tromey <tromey@redhat.com>
  19831. * config/x-solaris (host-solaris.o): Update.
  19832. * config/x-linux (host-linux.o): Update.
  19833. * config/x-hpux (host-hpux.o): Update.
  19834. * config/x-darwin (host-darwin.o): Update.
  19835. * config/v850/t-v850e (v850-c.o): Update.
  19836. * config/v850/t-v850 (v850-c.o): Update.
  19837. * config/t-vxworks (vxworks.o): Update.
  19838. * config/t-sol2 (sol2-c.o, sol2.o): Update.
  19839. * config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o): Update.
  19840. * config/spu/t-spu-elf (spu-c.o): Update.
  19841. (spu.o): Remove.
  19842. * config/sh/t-symbian (sh-c.o): Update.
  19843. (symbian.o): Update.
  19844. * config/sh/t-sh (sh-c.o): Update.
  19845. * config/score/t-score-elf (score7.o, score3.o): Update.
  19846. * config/rs6000/x-rs6000 (driver-rs6000.o): Update.
  19847. * config/rs6000/x-darwin64 (host-ppc64-darwin.o): Update.
  19848. * config/rs6000/x-darwin (host-ppc-darwin.o): Update.
  19849. * config/rs6000/t-rs6000 (rs6000-c.o): Update.
  19850. (rs6000.o): Remove.
  19851. * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h.
  19852. * config/m32c/t-m32c (m32c-pragma.o): Update.
  19853. * config/ia64/t-ia64 (ia64-c.o): Update.
  19854. * config/i386/x-mingw32 (host-mingw32.o): Update.
  19855. * config/i386/x-i386 (driver-i386.o): Update.
  19856. * config/i386/x-darwin (host-i386-darwin.o): Update.
  19857. * config/i386/x-cygwin (host-cygwin.o): Update.
  19858. * config/i386/t-nwld (nwld.o): Update.
  19859. * config/i386/t-netware (netware.o): Update.
  19860. * config/i386/t-interix (winnt.o): Update.
  19861. * config/i386/t-cygwin (cygwin1.o, cygwin2.o): Update.
  19862. * config/i386/t-cygming (winnt.o, winnt-cxx.o, winnt-stubs.o,
  19863. msformat-c.o): Update.
  19864. * config/bfin/t-bfin-linux (generated_files): Add
  19865. linux-sysroot-suffix.h.
  19866. * config/arm/t-wince-pe (pe.o): Update.
  19867. * config/arm/t-strongarm-pe (pe.o): Update.
  19868. * config/arm/t-pe (pe.o): Update.
  19869. * config/arm/t-arm (arm-c.o): Update.
  19870. * doc/install.texi (Prerequisites): Require make 3.80.
  19871. * Makefile.in: Remove .o targets.
  19872. (CCDEPMODE, DEPDIR, depcomp, BUILD_DEPMODE): New variables.
  19873. (OBSTACK_H, FIBHEAP_H, PARTITION_H, MD5_H, BCONFIG_H): Remove.
  19874. (simple_generated_h, simple_generated_c): Move earlier.
  19875. (generated_files): New variable.
  19876. (TARGET_H, MACHMODE_H, HOOKS_H, HOSTHOOKS_DEF_H, LANGHOOKS_DEF_H,
  19877. TARGET_DEF_H, RTL_BASE_H, RTL_H, PARAMS_H, BUILTINS_DEF, TREE_H,
  19878. BASIC_BLOCK_H, GCOV_IO_H, COVERAGE_H, DEMANGLE_H, RECOG_H,
  19879. ALIAS_H, EMIT_RTL_H, FLAGS_H, FUNCTION_H, EXPR_H, OPTABS_H,
  19880. REGS_H, RA_H, RESOURCE_H, SCHED_INT_H, INTEGRATE_H, CFGLAYOUT_H,
  19881. CFGLOOP_H, IPA_UTILS_H, IPA_REFERENCE_H, IPA_TYPE_ESCAPE_H,
  19882. CGRAPH_H, DF_H, RESOURCE_H, DDG_H, GCC_H, GGC_H, TIMEVAR_H,
  19883. INSN_ATTR_H, C_COMMON_H, C_PRAGMA_H, C_TREE_H, SYSTEM_H,
  19884. PREDICT_H, DECNUM_H, MKDEPS_H, SYMTAB_H, TREE_DUMP_H,
  19885. TREE_GIMPLE_H, TREE_FLOW_H, TREE_SSA_LIVE_H, PRETTY_PRINT_H,
  19886. DIAGNOSTIC_H, C_PRETTY_PRINT_H, SCEV_H, LAMBDA_H, TREE_DATA_REF_H,
  19887. VARRAY_H, TREE_INLINE_H, REAL_H, DBGCNT_H, EBIMAP_H): Remove.
  19888. (.c.o): Remove.
  19889. (COMPILE.base, COMPILE): New variables.
  19890. (%.o): New pattern rule.
  19891. (ALL_HOST_OBJS): New variable.
  19892. (xgcc$(exeext), cpp$(exeext)): Remove extra version.o.
  19893. (dummy-checksum.o, cc1-checksum.o): Remove.
  19894. (DRIVER_SHLIB): New variable.
  19895. (DRIVER_DEFINES): Use it.
  19896. (gencondmd.c): Move out of build/.
  19897. (s-conditions): Update.
  19898. (BUILDCOMPILE.base, BUILDCOMPILE): New variables.
  19899. (ALL_BUILD_OBJS): Likewise.
  19900. (build/%.o): Use BUILDCOMPILE.
  19901. (build/ggc-none.o, build/ggc-none.o, build/min-insn-modes.o,
  19902. build/print-rtl.o, build/read-rtl.o, build/rtl.o, build/vec.o,
  19903. build/gencondmd.o, build/genattrtab.o, build/genautomata.o,
  19904. build/gencheck.o, build/gencodes.o, build/genconditions.o,
  19905. build/genconfig.o, build/genconstants.o, build/genemit.o,
  19906. build/genextract.o, build/genflags.o, build/genmddeps.o,
  19907. build/genopinit.o, build/genoutput.o, build/genpeep.o,
  19908. build/genpreds.o, build/genrecog.o, build/gcov-iov.o,
  19909. build/gen-protos.o, build/scan.o, build/fix-header.o,
  19910. build/scan-decls.o): Simplify.
  19911. (collect2.o, c-opts.o, gcc.o, gccspec.o, gcc-options.o,
  19912. cppdefault.o, protoize.o, unprotoize.o, intl.o, version.o,
  19913. prefix.o, toplev.o): Reduce to variable setting.
  19914. (libbackend.o): Use COMPILE. Remove most dependencies. Move later.
  19915. ($(out_object_file), gcc-options.o): New targets.
  19916. ($(ALL_HOST_OBJS)): New target. Include dependency files.
  19917. * configure: Rebuilt.
  19918. * configure.ac: Call ZW_CREATE_DEPDIR, ZW_PROG_COMPILER_DEPENDENCIES.
  19919. * doc/sourcebuild.texi (Front End Directory): Document new variable.
  19920. 2008-03-25 Douglas Gregor <doug.gregor@gmail.com>
  19921. * c-common.c (c_sizeof_or_alignof_type): If we're not allowed to
  19922. complain when we hit an error, return ERROR_MARK_NODE.
  19923. 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com>
  19924. * config/sh/constraints.md (Pso, Psz): New constraints.
  19925. * config/sh/sh.c (print_operand): Add %V and %W operand codes.
  19926. * config/sh/sh.md (*andsi3_bclr, *iorsi3_bset): New insns.
  19927. 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com>
  19928. * config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible.
  19929. * config/sh/sh.md (xorsi3_movrt, movrt): New insns.
  19930. 2008-03-25 Naveen.H.S <naveen.hs@kpitcummins.com>
  19931. * config/sh/sh.md (prefetch): Add condition for SH2A target.
  19932. (prefetch_sh2a): New.
  19933. 2008-03-25 Jayant Sonar <Jayant.sonar@kpitcummins.com>
  19934. Naveen.H.S <naveen.hs@kpitcummins.com>
  19935. * config/sh/constraints.md (I28): New constraint.
  19936. * config/sh/sh.c (broken_move): Add support for movi20s.
  19937. * config/sh/sh.md (movsi_ie): Add the alternative for movi20s.
  19938. 2008-03-25 Anil Paranjape <anil.paranjape@kpitcummins.com>
  19939. Jayant Sonar <Jayant.sonar@kpitcummins.com>
  19940. Naveen.H.S <naveen.hs@kpitcummins.com>
  19941. * config/sh/sh.c (SH_ATTRIBUTES): Define.
  19942. (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define.
  19943. (print_operand): Handle resbank in %@ operand code.
  19944. (sh_encode_section_info): New.
  19945. (push_regs): Add conditions for resbank.
  19946. (sh_expand_epilogue): Likewise.
  19947. (sh_insert_attributes): Likewise.
  19948. (sh_attribute_table): Likewise.
  19949. (sh_handle_resbank_handler_attribute): New.
  19950. (sh2a_handle_function_vector_handler_attribute): New.
  19951. (sh2a_is_function_vector_call): New.
  19952. (sh2a_get_function_vector_number): New.
  19953. (sh2a_function_vector_p): New.
  19954. (sh_cfun_resbank_handler_p): New.
  19955. * config/sh/sh.md (calli): Emit jsr/n if possible.
  19956. (calli_tbr_rel): New.
  19957. (calli_pcrel): Emit jsr/n if possible.
  19958. (return_i): Emit rts/n if possible.
  19959. (call_valuei_tbr_rel): New.
  19960. (call_valuei_pcrel): Add condition for SH2A target.
  19961. (call_value): Likewise.
  19962. * config/sh/sh-protos.h (sh_cfun_resbank_handler_p): Declare.
  19963. (sh2a_get_function_vector_number): Likewise.
  19964. (sh2a_is_function_vector_call): Likewise.
  19965. * doc/extend.texi: Document TBR relative addressing of SH2A.
  19966. (resbank): Add description for SH2A.
  19967. 2008-03-24 Richard Guenther <rguenther@suse.de>
  19968. PR c/22371
  19969. * gimplify.c (gimplify_modify_expr): For frontend type-correct
  19970. pointer assignments change conversions according to middle-end rules.
  19971. (gimplify_modify_expr_rhs): Deal with NULL TARGET_EXPR_INITIAL.
  19972. * configure.ac: Include type checking in yes.
  19973. * configure: Regenerate.
  19974. 2008-03-24 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  19975. * diagnostic.c (diagnostic_count_diagnostic): Delete.
  19976. (diagnostic_report_diagnostic): Update. Handle ICEs here.
  19977. 2008-03-24 Nathan Sidwell <nathan@codesourcery.com>
  19978. * gthr-vxworks.h (UNUSED): Define.
  19979. 2008-03-23 H.J. Lu <hongjiu.lu@intel.com>
  19980. * config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and CX_REG.
  19981. 2008-03-23 Zuxy Meng <zuxy.meng@gmail.com>
  19982. * doc/extend.texi (Function Attributes): Add missing comma in the
  19983. example of the "alloc_size" attribute.
  19984. 2008-03-23 Uros Bizjak <ubizjak@gmail.com>
  19985. Revert:
  19986. 2008-03-05 H.J. Lu <hongjiu.lu@intel.com>
  19987. * config/i386/i386-modes.def: Use 4 byte alignment on DI for
  19988. 32bit host.
  19989. 2008-03-19 Uros Bizjak <ubizjak@gmail.com>
  19990. PR target/35496
  19991. * stor-layout.c (update_alignment_for_field): Set minimum alignment
  19992. of the underlying type of a MS bitfield layout to the natural
  19993. alignment of the type.
  19994. 2008-03-22 Uros Bizjak <ubizjak@gmail.com>
  19995. * config/i386/i386.c (assign_386_stack_local): Align DImode slots
  19996. to their natural alignment to avoid store forwarding stalls.
  19997. 2008-03-22 Richard Guenther <rguenther@suse.de>
  19998. * tree-cfg.c (verify_expr): Recurse again for invariant addresses.
  19999. For PHI nodes verify the address is invariant.
  20000. * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): Remove.
  20001. (get_symbol_constant_value): Use is_gimple_min_invariant.
  20002. (maybe_fold_stmt_indirect): Likewise.
  20003. 2008-03-22 Richard Sandiford <rsandifo@nildram.co.uk>
  20004. PR rtl-optimization/33927
  20005. * Makefile.in (dse.o): Depend on $(TM_P_H).
  20006. * expr.h (extract_low_bits): Declare.
  20007. * expmed.c (extract_low_bits): New function.
  20008. * rtlhooks.c (gen_lowpart_general): Generalize SUBREG handling.
  20009. * dse.c: Include tm_p.h.
  20010. (find_shift_sequence): Remove the read_reg argument and return the
  20011. read value. Emit the instructions instead of returning them.
  20012. Iterate on new_mode rather than calculating it each time.
  20013. Check MODES_TIEABLE_P. Use simplify_gen_subreg to convert the
  20014. source to NEW_MODE and extract_low_bits to convert the shifted
  20015. value to READ_MODE.
  20016. (replace_read): Allow the load and store to have different mode
  20017. classes. Use extract_low_bits when SHIFT == 0. Create the shift
  20018. or extraction instructions before trying the replacement. Update
  20019. dump-file code accordingly, avoiding use of REGNO (store_info->rhs).
  20020. 2008-03-22 Uros Bizjak <ubizjak@gmail.com>
  20021. * config/i386/i386.c (assign_386_stack_local): Align DImode slots
  20022. to their natural alignment to avoid store forwarding stalls.
  20023. 2008-03-21 Andrew Pinski <andrew_pinski@playstation.sony.com>
  20024. PR target/27946
  20025. * config/rs6000/rs6000.md (floatdidf2): Discouraging fprs and
  20026. encouraging but not allowing gprs for input;
  20027. change the input constraint to !f#r.
  20028. (fix_truncdfdi2): Discouraging fprs and encouraging but not allowing
  20029. gprs for output;
  20030. change the output constraint to !f#r.
  20031. 2008-03-21 Uros Bizjak <ubizjak@gmail.com>
  20032. PR target/13958
  20033. * config/i386/i386.md ("*floatunssi<mode2>_1"): New pattern with
  20034. corresponding post-reload splitters.
  20035. ("floatunssi<mode>2"): Expand to unsigned_float x87 insn pattern
  20036. when x87 FP math is selected.
  20037. * config/i386/i386-protos.h (ix86_expand_convert_uns_sixf_sse):
  20038. New function prototype.
  20039. * config/i386/i386.c (ix86_expand_convert_uns_sixf_sse): New
  20040. unreachable function to ease macroization of insn patterns.
  20041. 2008-03-21 Martin Jambor <mjambor@suse.cz>
  20042. * tree-data-ref.c (dump_data_dependence_relation): Avoid data
  20043. reference dumps if ddr is NULL or dependence is unknown.
  20044. 2008-03-20 Kaz Kojima <kkojima@gcc.gnu.org>
  20045. * config/sh/linux-atomic.asm (ATOMIC_TEST_AND_SET): Take
  20046. unsigned extension into account.
  20047. (ATOMIC_COMPARE_AND_SWAP): Likewise.
  20048. (ATOMIC_FETCH_AND_OP, ATOMIC_FETCH_AND_COMBOP): Likewise.
  20049. Do computations on a scratch register.
  20050. 2008-03-21 Richard Guenther <rguenther@suse.de>
  20051. * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop):
  20052. Use is_gimple_min_invariant instead of TREE_INVARIANT.
  20053. * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise.
  20054. * tree-ssa-dom.c (record_equality): Likewise.
  20055. * tree-inline.c (copy_body_r): Likewise.
  20056. * tree-ssa-pre.c (make_values_for_stmt): Remove test for
  20057. TREE_INVARIANT.
  20058. 2008-03-20 Kaz Kojima <kkojima@gcc.gnu.org>
  20059. * config/sh/sh.c (split_branches): Pass zero to redirect_jump
  20060. as 'delete_unused' argument.
  20061. 2008-03-20 Richard Guenther <rguenther@suse.de>
  20062. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Remove
  20063. special casing of constant qualifiers.
  20064. * tree-ssa.c (useless_type_conversion_p_1): Instead do not
  20065. care about them in general.
  20066. * tree-ssa-ccp.c (ccp_fold): Addresses are constant or not
  20067. regardless of their type.
  20068. (fold_stmt_r): Forcefully fold *& if we end up with that.
  20069. 2008-03-20 Paul Brook <paul@codesourcery.com>
  20070. * config.gcc (arm*-*-uclinux*): Remove duplicate arm/uclinux-elf.h.
  20071. * config/arm/uclinux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Add extra
  20072. linker flags.
  20073. * config/arm/bpabi.h (SUBTARGET_EXTRA_LINK_SPEC): Provide default
  20074. definition.
  20075. (LINK_SPEC): Use SUBTARGET_EXTRA_LINK_SPEC.
  20076. * config/arm/unwind-arm.h (_Unwind_decode_target2): Add uClinux.
  20077. 2008-03-20 Volker Reichelt <v.reichelt@netcologne.de>
  20078. * common.opt (Wmudflap): New option.
  20079. * tree-mudflap.c (mf_xform_derefs_1): Guard warning by OPT_Wmudflap.
  20080. (mx_register_decls): Likewise.
  20081. (mudflap_finish_file): Likewise.
  20082. * doc/invoke.texi: Document -Wno-mudflap.
  20083. 2008-03-20 Kai Tietz <kai.tietz@onevision.com>
  20084. * c-format.c (replace_format_name_to_system_name): New.
  20085. (cmp_attribs): New.
  20086. (convert_format_name_to_system_name): New.
  20087. (decode_format_attr): Add use of convert_format_name_to_system_name.
  20088. (format_types_orig): Add gnu_ prefix to names.
  20089. (check_format_info_main): Special treating of \0 escaped names for
  20090. supporting multi-character format specifiers as I32, I64.
  20091. (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): Use of user defined attributes.
  20092. (gnu_target_overrides_format_attributes): New.
  20093. * c-format.h: Add structure target_ovr_attr to hold
  20094. system specific formatter names.
  20095. * config.gcc: Add for x86&x86_64 cygwin and mingw32 targets the
  20096. msformat-c.o file to c_target_objs and cxx_target_objs.
  20097. * config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New.
  20098. (TARGET_OVERRIDES_FORMAT_ATTRIBUTES_COUNT): New.
  20099. (TARGET_N_FORMAT_TYPES): New.
  20100. * config/i386/msformat-c.c: New.
  20101. * config/i386/t-cygming: Add build rule for msformat-c.o.
  20102. * doc/extend.texi: Add new format names gnu_* and ms_* and
  20103. further details.
  20104. * doc/tm.texi (TARGET_OVERRIDES_FORMAT_ATTRIBUTES): New.
  20105. 2008-03-20 Ira Rosen <irar@il.ibm.com>
  20106. * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of
  20107. optimizations turned on under -O3.
  20108. (ftree-vectorize): Add that the flag is turned on with -O3.
  20109. 2008-03-20 Ben Elliston <bje@au.ibm.com>
  20110. * regmove.c (try_auto_increment): Fix spelling error in comment.
  20111. * final.c (final_scan_insn): Likewise.
  20112. 2008-03-20 Uros Bizjak <ubizjak@gmail.com>
  20113. PR target/14552
  20114. * config/i386/mmx.md (*mov<mode>_internal_rex64"): Adjust register
  20115. allocator preferences for "y" and "r" class registers.
  20116. ("*mov<mode>_internal"): Ditto.
  20117. ("*movv2sf_internal_rex64"): Ditto.
  20118. ("*movv2sf_internal"): Ditto.
  20119. 2008-03-19 Michael Matz <matz@suse.de>
  20120. PR middle-end/35616
  20121. * calls.c (expand_call): Check overlap of arguments with call
  20122. address for sibcalls.
  20123. 2008-03-19 Uros Bizjak <ubizjak@gmail.com>
  20124. PR target/35496
  20125. * stor-layout.c (update_alignment_for_field): Set minimum alignment
  20126. of the underlying type of a MS bitfield layout to the natural
  20127. alignment of the type.
  20128. 2008-03-19 Jan Hubicka <jh@suse.cz>
  20129. PR other/35094
  20130. * toplev.c (decode_d_option): Handle all CPP flags.
  20131. * tree-vrp.c: Update tree_pass descriptors.
  20132. * regrename.c: Update tree_pass descriptors.
  20133. * fwprop.c: Update tree_pass descriptors.
  20134. * doc/invoke.texi: Remove documentation of dropped -d? flags.
  20135. * tree-into-ssa.c: Update tree_pass descriptors.
  20136. * tree-dump.c: Update tree_pass descriptors.
  20137. * tree-complex.c: Update tree_pass descriptors.
  20138. * tree-dump.h: Update tree_pass descriptors.
  20139. * see.c: Update tree_pass descriptors.
  20140. * cgraphbuild.c: Update tree_pass descriptors.
  20141. * tracer.c: Update tree_pass descriptors.
  20142. * tree-loop-distribution.c: Update tree_pass descriptors.
  20143. * cgraph.c: Update tree_pass descriptors.
  20144. * postreload-gcse.c: Update tree_pass descriptors.
  20145. * postreload.c: Update tree_pass descriptors.
  20146. * tree-ssa-loop-ch.c: Update tree_pass descriptors.
  20147. * tree-tailcall.c: Update tree_pass descriptors.
  20148. * tree-pass.h (tree_opt_pass): Rename to ...
  20149. (opt_pass) ... this one; add "type" field and remove letter field.
  20150. (gimple_opt_pass, rtl_opt_pass, simple_ipa_opt_pass): New.
  20151. (execute_pass_list, execute_ipa_pass_list, all_passes, all_ipa_passes,
  20152. all_lowering_passes): Update declaration.
  20153. * ipa-cp.c: Update tree_pass descriptors.
  20154. * final.c: Update tree_pass descriptors.
  20155. * omp-low.c: Update tree_pass descriptors.
  20156. * tree-ssa-dse.c: Update tree_pass descriptors.
  20157. * ipa-reference.c: Update tree_pass descriptors.
  20158. * tree-ssa-uncprop.c: Update tree_pass descriptors.
  20159. * auto-inc-dec.c: Update tree_pass descriptors.
  20160. * reorg.c: Update tree_pass descriptors.
  20161. * cgraphunit.c: Update tree_pass descriptors.
  20162. * tree-ssa-copyrename.c: Update tree_pass descriptors.
  20163. * tree-ssa-ccp.c: Update tree_pass descriptors.
  20164. * df-core.c: Update tree_pass descriptors.
  20165. * mode-switching.c: Update tree_pass descriptors.
  20166. * tree-nomudflap.c: Update tree_pass descriptors.
  20167. * modulo-sched.c: Update tree_pass descriptors.
  20168. * ipa-pure-const.c: Update tree_pass descriptors.
  20169. * cse.c: Update tree_pass descriptors.
  20170. * web.c: Update tree_pass descriptors.
  20171. * tree-stdarg.c: Update tree_pass descriptors.
  20172. * tree-ssa-math-opts.c: Update tree_pass descriptors.
  20173. * tree-ssa-dom.c: Update tree_pass descriptors.
  20174. * tree-nrv.c: Update tree_pass descriptors.
  20175. * tree-ssa-alias.c: Update tree_pass descriptors.
  20176. * loop-init.c: Update tree_pass descriptors.
  20177. * gimple-low.c: Update tree_pass descriptors.
  20178. * ipa-inline.c: Update tree_pass descriptors.
  20179. * tree-ssa-sink.c: Update tree_pass descriptors.
  20180. * global.c: Update tree_pass descriptors.
  20181. * ifcvt.c: Update tree_pass descriptors.
  20182. * jump.c: Update tree_pass descriptors.
  20183. * predict.c: Update tree_pass descriptors.
  20184. * tree-ssa-loop.c: Update tree_pass descriptors.
  20185. * recog.c: Update tree_pass descriptors.
  20186. * dse.c: Update tree_pass descriptors.
  20187. * tree-ssa-ifcombine.c: Update tree_pass descriptors.
  20188. * tree-eh.c: Update tree_pass descriptors.
  20189. * regmove.c: Update tree_pass descriptors.
  20190. * local-alloc.c
  20191. * function.c: Update tree_pass descriptors.
  20192. * tree-vectorizer.c: Update tree_pass descriptors.
  20193. * gcse.c: Update tree_pass descriptors.
  20194. * ipa-type-escape.c: Update tree_pass descriptors.
  20195. * tree-if-conv.c: Update tree_pass descriptors.
  20196. * init-regs.c: Update tree_pass descriptors.
  20197. * ipa.c: Update tree_pass descriptors.
  20198. * tree-ssa-phiopt.c: Update tree_pass descriptors.
  20199. * rtl-factoring.c: Update tree_pass descriptors.
  20200. * lower-subreg.c: Update tree_pass descriptors.
  20201. * bt-load.c: Update tree_pass descriptors.
  20202. * tree-dfa.c: Update tree_pass descriptors.
  20203. * except.c: Update tree_pass descriptors.
  20204. * emit-rtl.c: Update tree_pass descriptors.
  20205. * cfgexpand.c: Update tree_pass descriptors.
  20206. * tree-cfgcleanup.c: Update tree_pass descriptors.
  20207. * cfgcleanup.c: Update tree_pass descriptors.
  20208. * tree-ssa-pre.c: Update tree_pass descriptors.
  20209. * tree-sra.c: Update tree_pass descriptors.
  20210. * tree-mudflap.c: Update tree_pass descriptors.
  20211. * tree-ssa-copy.c: Update tree_pass descriptors.
  20212. * cfglayout.c: Update tree_pass descriptors.
  20213. * tree-ssa-forwprop.c: Update tree_pass descriptors.
  20214. * tree-ssa-dce.c: Update tree_pass descriptors.
  20215. * tree-ssa.c: Update tree_pass descriptors.
  20216. * regclass.c: Update tree_pass descriptors.
  20217. * integrate.c: Update tree_pass descriptors.
  20218. * tree-optimize.c: Update tree_pass descriptors.
  20219. * tree-ssa-phiprop.c: Update tree_pass descriptors.
  20220. * tree-object-size.c: Update tree_pass descriptors.
  20221. * combine.c: Update tree_pass descriptors.
  20222. * tree-outof-ssa.c: Update tree_pass descriptors.
  20223. * bb-reorder.c: Update tree_pass descriptors.
  20224. * stack-ptr-mod.c: Update tree_pass descriptors.
  20225. * var-tracking.c: Update tree_pass descriptors.
  20226. * tree-profile.c: Update tree_pass descriptors.
  20227. * tree-vect-generic.c: Update tree_pass descriptors.
  20228. * reg-stack.c: Update tree_pass descriptors.
  20229. * sched-rgn.c: Update tree_pass descriptors.
  20230. * tree-ssa-structalias.c: Update tree_pass descriptors.
  20231. * tree-cfg.c: Update tree_pass descriptors.
  20232. * passes.c (current_pass): Update declaration.
  20233. (finish_optimization_passes): Update.
  20234. (all_passes, all_ipa_passes, all_lowering_passes): Update declaration.
  20235. (register_one_dump_file, register_dump_files_1, next_pass_1):
  20236. Update arguments.
  20237. (init_optimization_passes): Update handling of new types.
  20238. (execute_one_pass, execute_pass_list, execute_ipa_pass_list): Update.
  20239. * ipa-struct-reorg.c: Update tree_pass descriptors.
  20240. * tree-ssa-reassoc.c: Update tree_pass descriptors.
  20241. * combine-stack-adj.c: Update tree_pass descriptors.
  20242. * cfgrtl.c: Update tree_pass descriptors.
  20243. * dce.c: Update tree_pass descriptors.
  20244. * tree-ssanames.c: Update tree_pass descriptors.
  20245. 2008-03-19 Richard Guenther <rguenther@suse.de>
  20246. PR middle-end/35609
  20247. * tree-ssa.c (walk_data): New structure.
  20248. (warn_uninitialized_var): If not always_executed warn with "maybe"
  20249. instead of "is".
  20250. (execute_early_warn_uninitialized): Compute post-dominators.
  20251. Initialize always_executed before processing each basic block.
  20252. 2008-03-18 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
  20253. PR target/35504
  20254. * config/i386/i386.c (x86_this_parameter): Calculate correct location
  20255. of "this" pointer when "regparm = N" or "fastcall" is in effect.
  20256. 2008-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  20257. * doc/include/texinfo.tex: Update to version 2008-03-17.10.
  20258. 2008-03-18 Paolo Bonzini <bonzini@gnu.org>
  20259. * expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations
  20260. is true.
  20261. (expand_expr_real_1) <REDUCE_BIT_FIELD>: Don't look at ignore.
  20262. (expand_expr_real_1): Assume lang_hooks.reduce_bit_field_operations
  20263. is true. Add "&& !ignore" condition to reduce_bit_field. Modify
  20264. target after ignore has been set, and move there also the commputation
  20265. of subtarget and original_target.
  20266. * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete.
  20267. (LANG_HOOKS_INITIALIZER): Remove it.
  20268. * langhooks.h (struct lang_hooks): Remove reduce_bit_field_operations.
  20269. 2008-03-18 Richard Guenther <rguenther@suse.de>
  20270. * tree-ssa-sccvn.c (visit_reference_op_load): If the lookup
  20271. found an expression with constants, note that in the VN for the lhs.
  20272. * tree-ssa-pre.c (eliminate): Visit COND_EXPR statements and
  20273. fold them to constants if possible. Run cleanup_cfg if done so.
  20274. (execute_pre): Return todo.
  20275. (do_pre): Likewise.
  20276. (execute_fre): Likewise.
  20277. * tree-ssa-forwprop.c (can_propagate_from): Allow propagation
  20278. of constants.
  20279. (get_prop_source_stmt): Look through pointer conversions.
  20280. 2008-03-18 Jan Hubicka <jh@suse.cz>
  20281. * tree-pretty-print.c: Include predict.h.
  20282. (dump_generic_node): Dump predictor.
  20283. * tree.h (PREDICT_EXPR_OUTCOME, PREDICT_EXPR_PREDICTION): Update.
  20284. * tree-gimple.c (is_gimple_stmt): Add PREDICT_EXPR.
  20285. * gimple-low.c (lower_stmt): Likewise.
  20286. * expr.c (expand_expr_real): Likewise.
  20287. * predict.c (tree_bb_level_predictions): Use PREDICT_EXPRs and remove
  20288. them.
  20289. (build_predict_expr, build_predict_expr): New.
  20290. * predict.h (predictor_name, build_predict_expr): Update.
  20291. * c-typeck.c (c_finish_bc_stmt): Add prediction.
  20292. * gimplify.c (gimplify_expr): Add PREDICT_EXPR.
  20293. * predict.def (PRED_CONTINUE): Update hitrate.
  20294. * tree.def (PREDICT_EXPR): Define.
  20295. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Mark PREDICT_EXPR;
  20296. do not handle BIND_EXPR.
  20297. * tree-inline.c (estimate_num_insns_1): PREDICT_EXPR is free.
  20298. * tree-cfg.c (verify_gimple_stmt): PREDICT_EXPR is valid.
  20299. * tree-ssa-operands.c (get_expr_operands): PREDICT_EXPR takes no
  20300. operands.
  20301. 2008-03-18 Michael Matz <matz@suse.de>
  20302. * gcov-io.h (__gcov_merge_ior, __gcov_fork): Mark hidden.
  20303. 2008-03-18 Richard Guenther <rguenther@suse.de>
  20304. * tree-gimple.h (is_gimple_invariant_address): Declare.
  20305. (is_gimple_constant): Likewise.
  20306. * tree-gimple.c (is_gimple_constant): New function.
  20307. (is_gimple_invariant_address): Likewise.
  20308. (is_gimple_min_invariant): Implement in terms of is_gimple_constant
  20309. and is_gimple_invariant_address.
  20310. * tree-ssa-loop-niter.c (expand_simple_operations): Revert
  20311. previous change.
  20312. * tree-data-ref.c (get_references_in_stmt): A SSA_NAME is not
  20313. an addressable base.
  20314. 2008-03-18 Jakub Jelinek <jakub@redhat.com>
  20315. PR middle-end/35611
  20316. * gimplify.c (gimplify_expr): Gimplify second operand of
  20317. OMP_ATOMIC_LOAD.
  20318. 2008-03-17 Richard Guenther <rguenther@suse.de>
  20319. PR tree-optimization/19637
  20320. * fold-const.c (fold_unary): Remove restrictions of removing
  20321. intermediate pointer-conversions (P2)(P1)P0.
  20322. * tree-ssa-ccp.c (maybe_fold_stmt_addition): Recover from
  20323. conversion to void pointer.
  20324. (get_maxval_strlen): Handle addresses of the form &(*p)[0].
  20325. 2008-03-16 James E. Wilson <wilson@tuliptree.org>
  20326. PR debug/31510
  20327. * dbxout.c (dbxout_expand_expr, case VAR_DECL): Return NULL for
  20328. emulated thread local variables.
  20329. 2008-03-16 Richard Guenther <rguenther@suse.de>
  20330. PR middle-end/35607
  20331. * tree-ssa-loop-niter.c (expand_simple_operations): Do not
  20332. expand TREE_INVARIANT operations that are not gimple invariant.
  20333. 2008-03-16 Hans-Peter Nilsson <hp@axis.com>
  20334. * doc/extend.texi (Alignment): Say that the ABI controls
  20335. the __alignof__ for non-strict-alignment targets rather
  20336. than being a recommendation.
  20337. 2008-03-15 Paul Brook <paul@codesourcery.com>
  20338. * config/arm/arm.c (arm_unwind_emit): Suppress unused unwinding
  20339. annotations.
  20340. (arm_output_fn_unwind): Mark functions that can not be unwound.
  20341. 2008-03-15 Paul Brook <paul@codesourcery.com>
  20342. * config/arm/arm.c (arm_rtx_costs_1): Add costs for ARMv6 value
  20343. extension instructions.
  20344. 2008-03-15 Richard Guenther <rguenther@suse.de>
  20345. * tree-ssa-ccp.c (ccp_fold): Also read from constant values
  20346. and fold constant aggregate refs.
  20347. (fold_const_aggregate_ref): Handle string constants
  20348. and constructors in ARRAY_REFs. Handle INDIRECT_REF.
  20349. (evaluate_stmt): Simplify now that ccp_fold folds constant
  20350. aggregate refs.
  20351. 2008-03-15 Paul Brook <paul@codesourcery.com>
  20352. * config/arm/arm.md (insv): Use gen_insv_t2 and gen_insv_zero.
  20353. (extzv): Use gen_extzv_t2.
  20354. (insv_t2, insv_zero, extv, extzv_t2): New patterns.
  20355. 2008-03-15 Richard Guenther <rguenther@suse.de>
  20356. * tree-ssa-ccp.c (get_symbol_constant_value): Export.
  20357. (fold_const_aggregate_ref): Likewise.
  20358. (get_value): Return NULL if we don't have any values.
  20359. (ccp_finalize): Set const_val to NULL after freeing it.
  20360. * tree-flow.h (get_symbol_constant_value): Declare.
  20361. (fold_const_aggregate_ref): Likewise.
  20362. * tree-ssa-sccvn.c (try_to_simplify): Use them.
  20363. 2008-03-15 Richard Guenther <rguenther@suse.de>
  20364. PR middle-end/35593
  20365. * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make sure
  20366. to not produce negative array indices if not allowed. Add
  20367. parameter to indicate that.
  20368. (maybe_fold_offset_to_component_ref): Allow negative array
  20369. indices only for the first member of a structure.
  20370. (maybe_fold_offset_to_reference): Allow negative array indices.
  20371. (maybe_fold_stmt_addition): Likewise.
  20372. 2008-03-15 Bjoern Haase <bjoern.m.haase@web.de>
  20373. Anatoly Sokolov <aesok@post.ru>
  20374. * config/avr/avr.c (avr_arch_types): Add avr6 entry.
  20375. (avr_arch): Add ARCH_AVR6.
  20376. (avr_mcu_types): Add 'atmega2560' and 'atmega2561' entry.
  20377. (initial_elimination_offset): Initialize and use 'avr_pc_size'
  20378. instead of fixed value 2.
  20379. (print_operand_address): Use gs() asm specifier instead of pm().
  20380. (avr_assemble_integer): (Ditto.).
  20381. (avr_output_addr_vec_elt): (Ditto.).
  20382. (print_operand): Handle "!" code.
  20383. * config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Add
  20384. __AVR_3_BYTE_PC__, __AVR_2_BYTE_PC__ and __AVR_HAVE_JMP_CALL__.
  20385. (AVR_HAVE_EIJMP_EICALL): Define.
  20386. (AVR_3_BYTE_PC): Redefine.
  20387. (AVR_2_BYTE_PC): (Ditto.).
  20388. (PRINT_OPERAND_PUNCT_VALID_P): Add '!' code.
  20389. (LINK_SPEC): Add atmega2560 and atmega2561.
  20390. (CRT_BINUTILS_SPEC): Add atmega2560 (crtm2560.o) and atmega2561
  20391. (crtm2561.o).
  20392. * config/avr/avr.md (call_insn): Use eicall instead of icall
  20393. for 3 byte PC devices.
  20394. (call_value_insn): (Ditto.).
  20395. (*tablejump_enh): Use eijmp instead of ijmp for 3 byte PC devices.
  20396. (indirect_jump): Use only for for 2 byte PC devices.
  20397. (*tablejump): (Ditto.).
  20398. (*indirect_jump_avr6): Add insn.
  20399. (*tablejump_rjmp): Don't use for 3 byte PC devices.
  20400. * config/avr/libgcc.S (__prologue_saves__): Use eijmp
  20401. instead of ijmp for 3 byte PC devices.
  20402. (__tablejump2__): (Ditto.).
  20403. * config/avr/t-avr (MULITLIB_OPTIONS): Add avr6 architecture.
  20404. (MULITLIB_DIRNAMES): (Ditto.).
  20405. (MULTILIB_MATCHES): Add atmega2560 and atmega2561 to list.
  20406. 2008-03-15 Uros Bizjak <ubizjak@gmail.com>
  20407. * config/i386/mmx.md ("sse2_umulv1siv2di3"): Rename from
  20408. "sse2_umulsidi3". Use V1DI mode for operand 0.
  20409. ("mmx_psadbw"): Use V1DI mode for operand 0.
  20410. * config/i386/i386-modes.def (V1SI): New vector mode.
  20411. * config/i386/i386.c (struct builtin_description)
  20412. [IX86_BUILTIN_PMULUDQ]: Use CODE_FOR_sse2_umulv1siv1di3.
  20413. (v1di_ftype_v8qi_v8qi): Rename from di_ftype_v8qi_v8qi.
  20414. (v1di_ftype_v2si_v2si): Rename from di_ftype_v2si_v2si.
  20415. (ix86_init_mmx_sse_builtins) [__builtin_ia32_psadbw]: Use
  20416. v1di_ftype_v8qi_v8qi type.
  20417. [__builtin_ia32_pmuludq]: Use v1di_ftype_v2si_v2si type.
  20418. * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psadbw,
  20419. __builtin_ia32_pmuludq]: Fix the mode of return value.
  20420. 2008-03-15 Richard Guenther <rguenther@suse.de>
  20421. PR middle-end/35595
  20422. * tree-ssa-pre.c (bitmap_find_leader): Handle expression
  20423. being a PHI_NODE.
  20424. 2008-03-14 Bob Wilson <bob.wilson@acm.org>
  20425. * doc/invoke.texi (Option Summary, Xtensa Options): Document
  20426. -mserialize-volatile and -mno-serialize-volatile Xtensa options.
  20427. * config/xtensa/xtensa.c (print_operand): Do not emit MEMW instructions
  20428. unless TARGET_SERIALIZE_VOLATILE is enabled.
  20429. * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
  20430. * config/xtensa/xtensa.h (TARGET_DEFAULT): Add MASK_SERIALIZE_VOLATILE.
  20431. * config/xtensa/xtensa.opt (mserialize_volatile): New option.
  20432. 2008-03-14 Richard Guenther <rguenther@suse.de>
  20433. PR tree-optimization/34172
  20434. * tree-flow.h (refs_may_alias_p): Declare.
  20435. (get_single_def_stmt): Likewise.
  20436. (get_single_def_stmt_from_phi): Likewise.
  20437. (get_single_def_stmt_with_phi): Likewise.
  20438. * tree-dfa.c (refs_may_alias_p): New function.
  20439. (get_single_def_stmt): Likewise.
  20440. (get_single_def_stmt_from_phi): Likewise.
  20441. (get_single_def_stmt_with_phi): Likewise.
  20442. * tree-ssa-sccvn.c (get_def_ref_stmt_vuses): New function.
  20443. (vn_reference_lookup_1): New helper function.
  20444. (vn_reference_lookup): Walk the virtual use-def chain to
  20445. continue searching for a match if the def does not alias the
  20446. reference we are looking for.
  20447. 2008-03-14 David Edelsohn <edelsohn@gnu.org>
  20448. * doc/install.texi (Binaries): Remove UCLA archive. Add HVCC
  20449. archive and Perzl. Update The Written Word listing.
  20450. 2008-03-14 Richard Guenther <rguenther@suse.de>
  20451. PR tree-optimization/34043
  20452. PR tree-optimization/33989
  20453. * tree-ssa-pre.c (execute_pre): Allow SCCVN to do insertion
  20454. when doing FRE.
  20455. (bitmap_find_leader): Use extra argument to verify dominance
  20456. relationship inside a basic-block.
  20457. (can_PRE_operation): Add VIEW_CONVERT_EXPR.
  20458. (find_leader_in_sets): Adjust.
  20459. (create_component_ref_by_pieces): Take extra argument for
  20460. dominance check, handle lookup failures.
  20461. (find_or_generate_expression): Likewise.
  20462. (create_expression_by_pieces): Likewise.
  20463. (insert_into_preds_of_block): Adjust.
  20464. (create_value_expr_from): If asked for, verify all operands
  20465. are in the blocks AVAIL_OUT set.
  20466. (make_values_for_stmt): Check for SSA_NAMEs that are life
  20467. over an abnormal edge.
  20468. (compute_avail): Remove such check.
  20469. (do_SCCVN_insertion): New function.
  20470. (eliminate): If we do not find a leader suitable for replacement
  20471. insert a replacement expression from SCCVN if available.
  20472. * tree-ssa-sccvn.h (run_scc_vn): Update prototype.
  20473. (struct vn_ssa_aux): Add needs_insertion flag.
  20474. * tree-ssa-sccvn.c (may_insert): New global flag.
  20475. (copy_reference_ops_from_ref): Value-number union member access
  20476. based on its size, not type and member if insertion is allowed.
  20477. (visit_reference_op_load): For a weak match from union type
  20478. punning lookup a view-converted value and insert a SSA_NAME
  20479. for that value if that is not found.
  20480. (visit_use): Make dumps shorter. Do not disallow value numbering
  20481. SSA_NAMEs that are life over an abnormal edge to constants.
  20482. (free_scc_vn): Release inserted SSA_NAMEs.
  20483. (run_scc_vn): New flag to specify whether insertion is allowed.
  20484. Process SSA_NAMEs in forward order.
  20485. * tree-ssa-loop-im.c (for_each_index): Handle invariant
  20486. ADDR_EXPRs inside VIEW_CONVERT_EXPR.
  20487. * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPRs from/to
  20488. pointer type to/from integral types that do not change the
  20489. precision to regular conversions.
  20490. 2008-03-13 Uros Bizjak <ubizjak@gmail.com>
  20491. * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?,
  20492. __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i,
  20493. __builtin_ia32_psrl?i, __builtin_ia32_psra?i, __builtin_ia32_psll?128,
  20494. __builtin_ia32_psrl?128, __builtin_ia32_psra?128]: Fix the mode of
  20495. input arguments and the mode of return value. Built-in functions
  20496. that operate on whole 64-bit MMX register now use V1DI mode.
  20497. 2008-03-13 Alon Dayan <alond@il.ibm.com>
  20498. Olga Golovanevsky <olga@il.ibm.com>
  20499. PR tree-optimization/35041
  20500. * ipa-struct-reorg.c (find_pos_in_stmt_1): Add another option
  20501. to locate the right position in a statement.
  20502. 2008-03-13 Uros Bizjak <ubizjak@gmail.com>
  20503. PR target/34000
  20504. PR target/35553
  20505. * config/i386/xmmintrin.h: Change all static inline functions to
  20506. extern inline and add __gnu_inline__ attribute.
  20507. * config/i386/bmintrin.h: Ditto.
  20508. * config/i386/smmintrin.h: Ditto.
  20509. * config/i386/tmmintrin.h: Ditto.
  20510. * config/i386/mmintrin-common.h: Ditto.
  20511. * config/i386/ammintrin.h: Ditto.
  20512. * config/i386/emmintrin.h: Ditto.
  20513. * config/i386/pmmintrin.h: Ditto.
  20514. * config/i386/mmintrin.h: Ditto.
  20515. * config/i386/mm3dnow.h: Ditto.
  20516. 2008-03-13 Jakub Jelinek <jakub@redhat.com>
  20517. PR middle-end/35185
  20518. * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed.
  20519. (lower_omp_2): New function.
  20520. (lower_omp_1, lower_omp): Rewritten.
  20521. 2008-03-13 Danny Smith <dannysmith@users.sourceforge.net>
  20522. PR 35054
  20523. * doc/extend.texi (Structure-Packing Pragmas): Replace "Win32"
  20524. with the phrase "Microsoft Windows compilers".
  20525. (Push/Pop Macro Pragmas): New subsection. Document
  20526. #pragma push_macro and pragma pop_macro.
  20527. 2008-03-12 Paul Brook <paul@codesourcery.com>
  20528. * config/arm/arm.c (output_move_double): Prefer LDRD to LDM.
  20529. 2008-03-12 Paul Brook <paul@codesourcery.com>
  20530. * config/arm/thumb2.md: Extend peephole to cover 3-arg subs.
  20531. (thumb2_alusi3_short): Exclude PLUS and MINUS.
  20532. (thumb2_addsi_shortim): Rename ...
  20533. (thumb2_addsi_short): ... to this. Allow register operands.
  20534. (thumb2_subsi_short): New pattern.
  20535. (thumb2_one_cmplsi2_short,
  20536. thumb2_negsi2_short): New patterns and peepholes.
  20537. 2008-03-12 Paul Brook <paul@codesourcery.com>
  20538. * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2.
  20539. 2008-03-12 Uros Bizjak <ubizjak@gmail.com>
  20540. * config/i386/i386.md (int_cond): New code iterator.
  20541. (fp_cond): Ditto.
  20542. ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu,
  20543. sge, sgeu, sle and sleu expanders usign int_cond code iterator.
  20544. ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge,
  20545. sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator.
  20546. ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu,
  20547. bge, bgeu, ble and bleu expanders usign int_cond code iterator.
  20548. ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge,
  20549. bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator.
  20550. 2008-03-12 Paul Brook <paul@codesourcery.com>
  20551. * config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask
  20552. instead of {arm,thumb}_compute_save_reg_mask.
  20553. (output_return_instruction): Ditto.
  20554. (thumb_unexpanded_epilogue): Ditto.
  20555. (thumb1_expand_prologue): Ditto.
  20556. (thumb1_output_function_prologue): Ditto.
  20557. (arm_set_return_address): Ditto.
  20558. (thumb_set_return_address): Ditto.
  20559. (arm_get_frame_offsets): Set offsets->saved_regs_mask. Push extra
  20560. regs to achieve stack alignment.
  20561. (thumb1_compute_save_reg_mask): Fix compiler warning.
  20562. (arm_output_epilogue): Use offsets->saved_regs_mask.
  20563. Adjust stack pointer by poping call clobered registers.
  20564. (arm_expand_prologue): Use offsets->saved_regs_mask.
  20565. Adjust stack pointer by pushing extra registers.
  20566. * config/arm.h (arm_stack_offsets): Add saved_regs_mask.
  20567. 2008-03-12 Paolo Bonzini <bonzini@gnu.org>
  20568. PR tree-opt/35422
  20569. * fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing
  20570. conversion to the operands of a multiplication.
  20571. 2008-03-12 Richard Guenther <rguenther@suse.de>
  20572. * Makefile.in (OBJS-common): Add tree-ssa-phiprop.o
  20573. (tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o.
  20574. * timevar.def (TV_TREE_PHIPROP): Add.
  20575. * tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added
  20576. pass description. Use TV_TREE_PHIPROP.
  20577. * tree-ssa-forwprop.c: Remove phiprop code.
  20578. 2008-03-12 Jakub Jelinek <jakub@redhat.com>
  20579. PR middle-end/35549
  20580. * omp-low.c (maybe_lookup_decl): Constify first argument.
  20581. (use_pointer_for_field): Change last argument from bool to
  20582. omp_context *. Disallow shared copy-in/out in nested
  20583. parallel if decl is shared in outer parallel too.
  20584. (build_outer_var_ref, scan_sharing_clauses,
  20585. lower_rec_input_clauses, lower_copyprivate_clauses,
  20586. lower_send_clauses, lower_send_shared_vars): Adjust callers.
  20587. 2008-03-12 Victor Kaplansky <victork@il.ibm.com>
  20588. Ira Rosen <irar@il.ibm.com>
  20589. * tree-vectorizer.c (free_stmt_vec_info): New function.
  20590. (destroy_loop_vec_info): Move code to free_stmt_vec_info().
  20591. Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES..
  20592. * tree-vectorizer.h (free_stmt_vec_info): Declare.
  20593. * tree-vect-transform.c (vectorizable_conversion): Free
  20594. vec_oprnds0 if it was allocated.
  20595. (vect_permute_store_chain): Remove unused VECs.
  20596. (vectorizable_store): Free VECs that are allocated in the..
  20597. function.
  20598. (vect_transform_strided_load, vectorizable_load): Likewise.
  20599. (vect_remove_stores): Simplify the code.
  20600. (vect_transform_loop): Move code to vect_remove_stores().
  20601. Call vect_remove_stores() and free_stmt_vec_info().
  20602. 2008-03-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  20603. * pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on
  20604. TARGET_HPUX. Revise comment.
  20605. (TARGET_LONG_PIC_PCREL_CALL): Revise comment.
  20606. * pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL.
  20607. Use sr4 variant of `be' instruction when not generating PIC code.
  20608. (attr_length_call): Adjust for above change.
  20609. 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com>
  20610. * ipa-reference.c (static_execute): Remove module_statics_const and
  20611. associated setting code.
  20612. 2008-03-11 Uros Bizjak <ubizjak@gmail.com>
  20613. PR target/35540
  20614. * config/i386/i386.md (paritysi2, paritydi2): Use register_operand
  20615. predicate for operand 1.
  20616. (paritysi2_cmp): Use register_operand predicate for operand 2.
  20617. Use earlyclobber modifier for operand 1. Remove support for
  20618. memory operands.
  20619. (paritydi2_cmp): Use register_operand predicate for operand 3.
  20620. Use earlyclobber modifier for operand 1. Remove support for
  20621. memory operands.
  20622. 2008-03-11 Paul Brook <paul@codesourcery.com>
  20623. Vladimir Prus <vladimir@codesourcery.com>
  20624. * config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME.
  20625. (arm_compute_save_reg0_reg12_mask): Always
  20626. check if register 11 must be saved. Always safe hard frame pointer
  20627. when frame_pointer_needeed.
  20628. (arm_compute_save_reg_mask): Save IP and PC
  20629. only with apcs frames.
  20630. (arm_output_epilogue): Adjust Thumb2 codepath to
  20631. be also invoked and work for ARM non-apcs frames.
  20632. (arm_expand_prologue): Don't bother saving IP
  20633. for non-apcs frame, since it's not clobbered by
  20634. prologue code. Implement non-apcs frame
  20635. layout.
  20636. 2008-03-11 Paolo Bonzini <bonzini@gnu.org>
  20637. PR rtl-optimization/35281
  20638. * expr.c (convert_move): Use a new pseudo for the intermediate
  20639. from_mode->word_mode result.
  20640. 2008-03-11 Paolo Bonzini <bonzini@gnu.org>
  20641. * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
  20642. * langhooks.h (struct lang_hooks): Delete clear_binding_stack member.
  20643. * toplev.c (compile_file): Don't call it.
  20644. 2008-03-11 Uros Bizjak <ubizjak@gmail.com>
  20645. PR middle-end/35526
  20646. * expr.c (store_expr): Call emit_block_move if the mode
  20647. of "temp" RTX is BLKmode.
  20648. 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com>
  20649. Richard Guenther <rguenther@suse.de>
  20650. PR tree-optimization/31358
  20651. * tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for
  20652. the step with a NULL_TREE.
  20653. * tree-ssa-loop-ivopts.c (find_bivs): Convert the step
  20654. to sizetype if type is a pointer type.
  20655. (add_candidate_1): Don't convert the base and step to
  20656. the generic type if the orginal type is a pointer type.
  20657. (add_iv_value_candidates): Use sizetype for the step
  20658. if type is a pointer type.
  20659. (cand_value_at): Likewise.
  20660. * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
  20661. for pointer types.
  20662. * tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>):
  20663. Don't convert the tem affine to the type.
  20664. (add_elt_to_tree): Use sizetype for the step if a pointer.
  20665. Use POINTER_PLUS_EXPR for pointers.
  20666. (aff_combination_to_tree): Use sizetype for the step if a
  20667. pointer.
  20668. 2008-03-10 Vladimir Makarov <vmakarov@redhat.com>
  20669. * config/i386/sse.md (ssse3_pmaddubswv8hi3, ssse3_pmaddubswv4hi3):
  20670. Remove commutativity hint.
  20671. 2008-03-10 Jakub Jelinek <jakub@redhat.com>
  20672. PR c/35438
  20673. PR c/35439
  20674. * c-parser.c (c_parser_omp_threadprivate): Don't add vars with
  20675. errorneous type. Check that v is a VAR_DECL.
  20676. PR middle-end/35099
  20677. * tree-cfg.c (new_label_mapper): Update cfun->last_label_uid.
  20678. 2008-03-10 H.J. Lu <hongjiu.lu@intel.com>
  20679. PR tree-optimization/35494
  20680. * tree-ssa-ccp.c (get_symbol_constant_value): Check if value
  20681. may be overriden at link and run time.
  20682. 2008-03-10 Richard Guenther <rguenther@suse.de>
  20683. PR tree-optimization/34677
  20684. * tree-ssa-pre.c (modify_expr_node_pool): Remove.
  20685. (poolify_tree): Likewise.
  20686. (modify_expr_template): Likewise.
  20687. (poolify_modify_stmt): Likewise.
  20688. (insert_fake_stores): Handle all component-ref style stores
  20689. in addition to INDIRECT_REF. Also handle complex types.
  20690. Do not poolify the inserted load.
  20691. (realify_fake_stores): Do not rebuild the tree but only
  20692. make it a SSA_NAME copy.
  20693. (init_pre): Remove initialzation of modify_expr_template.
  20694. Do not allocate modify_expr_node_pool.
  20695. (fini_pre): Do not free modify_expr_node_pool.
  20696. 2008-03-10 Paul Brook <paul@codesourcery.com>
  20697. * config/arm/arm.md (UNSPEC_STACK_ALIGN, UNSPEC_PIC_OFFSET): Renumber
  20698. to avoid conflicts.
  20699. 2008-03-10 Paul Brook <paul@codesourcery.com>
  20700. Mark Shinwell <shinwell@codesourcery.com>
  20701. * config/arm/cortex-r4.md: New.
  20702. * config/arm/thumb2.md (divsi3, udivsi3): Annotate with
  20703. insn attributes.
  20704. * config/arm/arm.md: Include cortex-r4.md.
  20705. (insn): Add smmls, sdiv and udiv values.
  20706. (generic_sched): Don't use generic scheduling for Cortex-R4.
  20707. (arm_issue_rate): New function.
  20708. (TARGET_SCHED_ISSUE_RATE): Define.
  20709. 2008-03-10 Sebastian Pop <sebastian.pop@amd.com>
  20710. * doc/invoke.texi (-ftree-loop-distribution): Add an example.
  20711. 2008-03-10 Richard Guenther <rguenther@suse.de>
  20712. * tree-ssa-pre.c (get_sccvn_value): Simplify.
  20713. (compute_avail): Do not add stmt uses to AVAIL_OUT.
  20714. 2008-03-10 Paolo Bonzini <bonzini@gnu.org>
  20715. * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS):
  20716. Set default to true.
  20717. 2008-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  20718. * c.opt (Wsynth): Deprecate.
  20719. * doc/invoke.texi (Option Summary, Warning Options): Document
  20720. -Wno-format-contains-nul.
  20721. 2008-03-09 Uros Bizjak <ubizjak@gmail.com>
  20722. PR target/35496
  20723. * config/i386/i386.c (ix86_constant_alignment): Compute alignment using
  20724. ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST.
  20725. 2008-03-09 Ira Rosen <irar@il.ibm.com>
  20726. * config/rs6000/rs6000.c (builtin_description): Rename vector
  20727. left shift operations.
  20728. * config/rs6000/altivec.md (UNSPEC_VSL): Remove.
  20729. (altivec_vsl<VI_char>): Rename to ...
  20730. (ashl<mode>3): ... new name.
  20731. (mulv4sf3, mulv4si3, negv4sf2): Replace gen_altivec_vslw with
  20732. gen_ashlv4si3.
  20733. (absv4sf2): Convert to use ashift:V4SI instead of UNSPEC_VSL.
  20734. 2008-03-08 Richard Guenther <rguenther@suse.de>
  20735. * coverage.h (tree_coverage_counter_addr): Declare.
  20736. * coverage.c (tree_coverage_counter_addr): New function.
  20737. * tree-profile.c (tree_gen_edge_profiler): Unshare counter
  20738. before using again.
  20739. (tree_gen_pow2_profiler): Use tree_coverage_counter_addr.
  20740. (tree_gen_one_value_profiler): Likewise.
  20741. (tree_gen_ic_profiler): Likewise.
  20742. (tree_gen_average_profiler): Likewise.
  20743. (tree_gen_ior_profiler): Likewise.
  20744. 2008-03-08 Richard Guenther <rguenther@suse.de>
  20745. * tree-ssa-sccvn.h (vn_binary_op_lookup): Remove.
  20746. (vn_binary_op_insert): Likewise.
  20747. (vn_unary_op_lookup): Likewise.
  20748. (vn_unary_op_insert): Likewise.
  20749. (vn_nary_op_lookup): Declare.
  20750. (vn_nary_op_insert): Likewise.
  20751. * tree-ssa-sccvn.c (struct vn_tables_s): Merge unary
  20752. and binary hashes, use a single obstack for unary_op_pool
  20753. and binary_op_pool.
  20754. (struct vn_binary_op_s, struct vn_unary_op_s): Replace with
  20755. a single struct vn_nary_op_s. Store tree code length and
  20756. a variable number of operands.
  20757. (struct vn_reference_op_struct): Remove unused op2.
  20758. (vn_reference_op_eq): Do not compare op2.
  20759. (vn_reference_op_compute_hash): Do not compute hash of op2.
  20760. (vn_unary_op_hash, vn_binary_op_hash): Replace with vn_nary_op_hash.
  20761. (vn_unary_op_compute_hash, vn_binary_op_compute_hash): Replace
  20762. with vn_nary_op_compute_hash.
  20763. (vn_unary_op_eq, vn_binary_op_eq): Replace with vn_nary_op_eq.
  20764. (vn_unary_op_lookup, vn_binary_op_lookup): Replace with
  20765. vn_nary_op_lookup.
  20766. (vn_unary_op_insert, vn_binary_op_insert): Replace with
  20767. vn_nary_op_insert.
  20768. (visit_unary_op): Call nary functions.
  20769. (visit_binary_op): Likewise.
  20770. (process_scc): Adjust for struct vn_tables_s changes.
  20771. (allocate_vn_table): Likewise.
  20772. (free_vn_table): Likewise.
  20773. * tree-vn.c (vn_add): Call nary functions.
  20774. (vn_lookup): Likewise.
  20775. 2008-03-08 Jakub Jelinek <jakub@redhat.com>
  20776. PR target/35498
  20777. * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Shift
  20778. wdst back after sync_compare_and_swapqhi_internal.
  20779. 2008-03-08 Uros Bizjak <ubizjak@gmail.com>
  20780. PR target/22152
  20781. * config/i386/i386-modes.def (V1DI): New vector mode.
  20782. * config/i386/i386.h (VALID_MMX_REG_MODE): Add V1DImode.
  20783. * config/i386/mmx.md (MMXMODEI8): New mode iterator.
  20784. (MMXMODE248): Ditto.
  20785. (MMXMODE): Add V1DI mode.
  20786. (mmxvecsize): Change DI mode to V1DI mode.
  20787. ("mov<mode>): Use MMXMODEI8 mode iterator.
  20788. ("*mov<mode>_internal_rex64"): Ditto.
  20789. ("*mov<mode>_internal"): Ditto.
  20790. ("mmx_add<mode>3"): Ditto. Handle V1DImode for TARGET_SSE2.
  20791. ("mmx_sub<mode>3"): Ditto.
  20792. ("mmx_adddi3"): Remove insn pattern.
  20793. ("mmx_subdi3"): Ditto.
  20794. ("mmx_ashr<mode>3"): Use SImode and "yN" constraint for operand 2.
  20795. ("mmx_lshr<mode>3"): Ditto. Use MMXMODE248 mode iterator.
  20796. ("mmx_ashl<mode>3"): Ditto.
  20797. ("mmx_lshrdi3"): Remove insn pattern.
  20798. ("mmx_ashldi3"): Ditto.
  20799. * config/i386/i386.c (classify_argument): Handle V1DImode.
  20800. (function_arg_advance_32): Ditto.
  20801. (function_arg_32): Ditto.
  20802. (struct builtin_description) [IX86_BUILTIN_PADDQ]: Use
  20803. mmx_addv1di3 insn pattern.
  20804. [IX86_BUILTIN_PSUBQ]: Use mmx_subv1di3 insn pattern.
  20805. [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, IX86_BUILTIN_PSRA?,
  20806. IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, IX86_BUILTIN_PSRA?I,
  20807. IX86_BUILTIN_PSLL?I128, IX86_BUILTIN_PSRL?I128, IX86_BUILTIN_PSRA?I128]:
  20808. Remove definitions of built-in functions.
  20809. (V1DI_type_node): New node.
  20810. (v1di_ftype_v1di_int): Ditto.
  20811. (v1di_ftype_v1di_v1di): Ditto.
  20812. (v2si_ftype_v2si_si): Ditto.
  20813. (v4hi_ftype_v4hi_di): Remove node.
  20814. (v2si_ftype_v2si_di): Ditto.
  20815. (ix86_init_mmx_sse_builtins): Handle V1DImode.
  20816. (__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?):
  20817. Redefine builtins using def_builtin_const with *_ftype_*_int node.
  20818. (__builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i):
  20819. Add new builtins using def_builtin_const.
  20820. (ix86_expand_builtin) [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?,
  20821. IX86_BUILTIN_PSRA?, IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I,
  20822. IX86_BUILTIN_PSRA?I]: Handle builtin definitions.
  20823. * config/i386/mmintrin.h (__v1di): New typedef.
  20824. (_mm_add_si64): Cast arguments to __v1di type.
  20825. (_mm_sub_si64): Ditto.
  20826. (_mm_sll_pi16): Cast __count to __v4hi type.
  20827. (_mm_sll_pi32): Cast __count to __v2si type.
  20828. (_mm_sll_si64): Cast arguments to __v1di type.
  20829. (_mm_srl_pi16): Cast __count to __v4hi type.
  20830. (_mm_srl_pi32): Cast __count to __v2si type.
  20831. (_mm_srl_si64): Cast arguments to __v1di type.
  20832. (_mm_sra_pi16): Cast __count to __v4hi type.
  20833. (_mm_sra_pi32): Cast __count to __v2si type.
  20834. (_mm_slli_pi16): Use __builtin_ia32_psllwi.
  20835. (_mm_slli_pi32): Use __builtin_ia32_pslldi.
  20836. (_mm_slli_si64): Use __builtin_ia32_psllqi. Cast __m to __v1di type.
  20837. (_mm_srli_pi16): Use __builtin_ia32_psrlwi.
  20838. (_mm_srli_pi32): Use __builtin_ia32_psrldi.
  20839. (_mm_srli_si64): Use __builtin_ia32_psrlqi. Cast __m to __v1di type.
  20840. (_mm_srai_pi16): Use __builtin_ia32_psrawi.
  20841. (_mm_srai_pi32): Use __builtin_ia32_psradi.
  20842. * config/i386/i386.md (UNSPEC_NOP): Remove unspec definition.
  20843. * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?,
  20844. __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i,
  20845. __builtin_ia32_psrl?i, __builtin_ia32_psra?i]: Add new builtins.
  20846. 2008-03-07 Joseph Myers <joseph@codesourcery.com>
  20847. * doc/include/texinfo.tex: Update to version 2008-03-07.10.
  20848. 2008-03-07 Peter Bergner <bergner@vnet.ibm.com>
  20849. PR target/35373
  20850. * config/rs6000/rs6000.c (rs6000_legitimize_address): Don't generate
  20851. reg+const addressing for Altivec modes. Don't generate reg+reg
  20852. addressing for TFmode or TDmode quantities.
  20853. 2008-03-07 Paolo Bonzini <bonzini@gnu.org>
  20854. * c-common.c (vector_types_convertible_p): Call langhook
  20855. instead of comptypes.
  20856. 2008-03-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
  20857. PR tree-opt/35402
  20858. * tree-ssa-ccp.c (get_symbol_constant_value): Handle
  20859. integral and scalar float variables which have a
  20860. NULL DECL_INITIAL.
  20861. 2008-03-06 Nathan Froyd <froydnj@codesourcery.com>
  20862. * dwarf2out.c (dwarf2out_frame_debug_expr): Consult the
  20863. dwarf_register_span hook when emitting unwind information for
  20864. register-to-memory saves.
  20865. * config/rs6000/rs6000.c (spe_synthesize_frame): Delete.
  20866. (rs6000_frame_related): Remove call to spe_synthesize_frame.
  20867. 2008-03-06 Jakub Jelinek <jakub@redhat.com>
  20868. * gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes
  20869. for the same VAR_DECL.
  20870. 2008-03-06 Tom Tromey <tromey@redhat.com>
  20871. * treelang: Delete.
  20872. * doc/standards.texi (Standards): Don't mention treelang.
  20873. * doc/invoke.texi (Overall Options): Don't mention treelang.
  20874. * doc/install.texi (Prerequisites): Don't mention bison or
  20875. treelang.
  20876. (Configuration): Don't mention treelang.
  20877. (Building): Likewise.
  20878. * doc/frontends.texi (G++ and GCC): Don't mention treelang.
  20879. 2008-03-06 Paolo Bonzini <bonzini@gnu.org>
  20880. * simplify-rtx.c (simplify_subreg): Remove useless shifts from
  20881. word-extractions out of a multi-word object.
  20882. 2008-03-06 Richard Guenther <rguenther@suse.de>
  20883. * tree.def (BIT_FIELD_REF): Constrain result type and its precision.
  20884. * tree-cfg.c (verify_expr): Verify BIT_FIELD_REF constraints on
  20885. result type and precision.
  20886. * expr.c (get_inner_reference): Set unsignedp based on the result
  20887. type of BIT_FIELD_REF.
  20888. * tree.h (BIT_FIELD_REF_UNSIGNED): Remove.
  20889. * tree-sra.c (instantiate_element): Do not set BIT_FIELD_REF_UNSIGNED.
  20890. (try_instantiate_multiple_fields): Likewise. Use the correct type
  20891. for BIT_FIELD_REF.
  20892. (sra_build_assignment): Likewise.
  20893. (sra_build_elt_assignment): Likewise.
  20894. (sra_explode_bitfield_assignment): Likewise.
  20895. * print-tree.c (print_node): Do not check BIT_FIELD_REF_UNSIGNED.
  20896. * tree-vect-transform.c (vect_create_epilog_for_reduction): Do not
  20897. set BIT_FIELD_REF_UNSIGNED.
  20898. (vectorizable_load): Likewise.
  20899. 2008-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
  20900. * cse.c (cse_extended_basic_block): Invalidate artificial defs
  20901. at bb start.
  20902. 2008-03-06 Richard Guenther <rguenther@suse.de>
  20903. * alias.c (struct alias_set_entry): Move has_zero_child field
  20904. to pack with alias_set.
  20905. 2008-03-05 H.J. Lu <hongjiu.lu@intel.com>
  20906. * config/i386/i386-modes.def: Use 4 byte alignment on DI for
  20907. 32bit host.
  20908. 2008-03-05 Ian Lance Taylor <iant@google.com>
  20909. * alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
  20910. 2008-03-05 Kenneth Zadeck <zadeck@naturalbridge.com>
  20911. * fwprop.c (update_df): Support width and offset parameters of
  20912. df_ref_create.
  20913. * ra-conflict.c (mark_reg_store, clear_reg_in_live,
  20914. global_conflicts): Change DF_REF_EXTRACT to either
  20915. DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change
  20916. DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
  20917. * df-scan.c (df_ref_record, df_defs_record,
  20918. df_ref_create_structure, df_def_record_1, df_uses_record,
  20919. df_get_conditional_uses, df_get_call_refs, df_insn_refs_collect,
  20920. df_bb_refs_collect, df_entry_block_defs_collect,
  20921. df_exit_block_uses_collect): Support new width and offset fields.
  20922. (ref_extract_pool): New storage pool.
  20923. (df_free_ref): New function.
  20924. (df_reg_chain_unlink, df_free_collection_rec,
  20925. df_sort_and_compress_refs): Call df_free_ref.
  20926. (df_ref_equal_p, df_ref_compare): Compare offset and width fields
  20927. of df_ref_extract.
  20928. (df_ref_create_structure): Allocate df_ref_extract if offset and
  20929. width fields are used.
  20930. (df_def_record_1): Get offset and width from ZERO_EXTRACT.
  20931. (df_uses_record): Get offset and width from ZERO_EXTRACT
  20932. and SIGN_EXTRACT.
  20933. * global.c (build_insn_chain): Change DF_REF_EXTRACT to either
  20934. DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change
  20935. DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
  20936. * df.h (df_ref_flags): Change DF_REF_EXTRACT to either
  20937. DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change
  20938. DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART.
  20939. (df_ref_extract): New structure.
  20940. (DF_REF_WIDTH, DF_REF_OFFSET): New macros.
  20941. (df_ref_create): Add width and offset parameters.
  20942. 2008-03-05 Richard Guenther <rguenther@suse.de>
  20943. * tree-ssa-structalias.c (get_constraint_for_component_ref):
  20944. Use ranges_overlap_p.
  20945. (offset_overlaps_with_access): Rename
  20946. to ranges_overlap_p and move ...
  20947. * tree-flow-inline.h (ranges_overlap_p): ... here.
  20948. * tree.h (get_inner_reference, handled_component_p): Update
  20949. comments.
  20950. * tree.h (record_component_aliases, get_alias_set,
  20951. alias_sets_conflict_p, alias_sets_must_conflict_p,
  20952. objects_must_conflict_p): Move declarations ...
  20953. * alias.h (record_component_aliases, get_alias_set,
  20954. alias_sets_conflict_p, alias_sets_must_conflict_p,
  20955. objects_must_conflict_p): ... here.
  20956. Include coretypes.h.
  20957. * Makefile.in (ALIAS_H): Add coretypes.h dependency.
  20958. 2008-03-05 Aldy Hernandez <aldyh@redhat.com>
  20959. * cfg.c: Include tree-flow.h.
  20960. (remove_edge_raw): Call redirect_edge_var_map_clear.
  20961. (redirect_edge_succ_nodup): Call redirect_edge_var_map_dup.
  20962. * tree-flow-inline.h (redirect_edge_var_map_def): New.
  20963. (redirect_edge_var_map_result): New.
  20964. * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Replace
  20965. PENDING_STMT use with redirect_edge_var_map_*.
  20966. * tree-ssa.c (edge_var_maps): New definition.
  20967. (redirect_edge_var_map_add): New.
  20968. (redirect_edge_var_map_clear): New.
  20969. (redirect_edge_var_map_dup): New.
  20970. (redirect_edge_var_map_vector): New.
  20971. (redirect_edge_var_map_destroy): New.
  20972. (ssa_redirect_edge): Replace PENDING_STMT use with
  20973. redirect_edge_var_map_*.
  20974. (flush_pending_stmts): Same.
  20975. (delete_tree_ssa): Destroy edge var map.
  20976. * tree-flow.h (struct _edge_var_map): New.
  20977. Define edge_var_map vector type.
  20978. Declare redirect_edge_var_map_* prototypes.
  20979. * Makefile.in (cfg.o): Depend on TREE_FLOW_H.
  20980. * tree-cfg.c (reinstall_phi_args): Replace
  20981. PENDING_STMT use with redirect_edge_var_map_*.
  20982. 2008-03-05 Richard Guenther <rguenther@suse.de>
  20983. PR tree-optimization/35472
  20984. * tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store
  20985. whose single use_stmt has a overlapping set of loaded and
  20986. stored symbols as that use_stmt might be a noop assignment then.
  20987. 2008-03-05 Joel Sherrill <joel.sherrill@oarcorp.com>
  20988. * gthr-rtems.h: Implement __gthread_mutex_destroy.
  20989. 2008-03-05 Richard Guenther <rguenther@suse.de>
  20990. PR c++/35336
  20991. * tree.def (BIT_FIELD_REF): Document that operands 1 and 2
  20992. should be constants.
  20993. * tree-cfg.c (verify_expr): Verify it.
  20994. * fold-const.c (fold_truthop): Remove code generating
  20995. BIT_FIELD_REFs of structure bases.
  20996. (fold_binary): Likewise.
  20997. (fold_ternary): Position and size of BIT_FIELD_REFs are
  20998. always host integers.
  20999. (make_bit_field_ref): Remove.
  21000. (optimize_bit_field_compare): Remove.
  21001. (all_ones_mask_p): Remove.
  21002. 2008-03-05 Gabor Loki <loki@gcc.gnu.org>
  21003. PR gcc/33009
  21004. * rtl-factoring.c (clear_regs_live_in_seq): Fix backward steps.
  21005. (split_block_and_df_analyze): New. Split basic block and rebuild
  21006. dataflow.
  21007. (block_label_after): Use SPLIT_BLOCK_AND_DF_ANALYZE instead of
  21008. SPLIT_BLOCK.
  21009. (split_pattern_seq): Likewise.
  21010. (erase_matching_seqs): Likewise.
  21011. (split_pattern_seq): Skip return insn in case of REG_NORETURN note.
  21012. 2008-03-04 Geoff Keating <geoffk@apple.com>
  21013. * fold-const.c (tree_single_nonnegative_warnv_p): Fix mixed
  21014. declaration and code.
  21015. (tree_invalid_nonnegative_warnv_p): Likewise.
  21016. 2008-03-05 Serge Belyshev <belyshev@depni.sinp.msu.ru>
  21017. * doc/install.texi (Testing): Correct quoting for the RUNTESTFLAGS
  21018. examples. Truncate option-names then causing overfull hbox.
  21019. 2008-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  21020. PR target/35222
  21021. * configure.ac (CONFIG_SJLJ_EXCEPTIONS): Force SJLJ exceptions
  21022. on hpux10.
  21023. * configure: Rebuilt.
  21024. 2008-03-04 Rafael Espíndola <espindola@google.com>
  21025. * fold-const.c (tree_simple_nonnegative_warnv_p): New.
  21026. (tree_unary_nonnegative_warnv_p): New.
  21027. (tree_binary_nonnegative_warnv_p): New.
  21028. (tree_single_nonnegative_warnv_p): New.
  21029. (tree_invalid_nonnegative_warnv_p): New.
  21030. (tree_expr_nonnegative_warnv_p): Redefine in term of the new functions.
  21031. 2008-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  21032. PR 28322
  21033. * opts.c (handle_option): Postpone 'unknown option' errors only for
  21034. warning options.
  21035. 2008-03-04 H.J. Lu <hongjiu.lu@intel.com>
  21036. PR target/35453
  21037. * config/i386/smmintrin.h (SIDD_XXX): Renamed to ...
  21038. (_SIDD_XXX): This.
  21039. 2008-03-04 Rafael Espíndola <espindola@google.com>
  21040. * fold-const.c (tree_unary_nonzero_warnv_p): New.
  21041. (tree_binary_nonzero_warnv_p): New.
  21042. (tree_single_nonzero_warnv_p): New.
  21043. (tree_expr_nonzero_warnv_p): Redefine using the new functions.
  21044. 2008-03-04 Uros Bizjak <ubizjak@gmail.com>
  21045. PR middle-end/35456
  21046. * fold-const.c (fold_cond_expr_with_comparison): Prevent
  21047. transformations for modes that have signed zeros.
  21048. * ifcvt.c (noce_try_abs): Ditto.
  21049. 2008-03-04 Joseph Myers <joseph@codesourcery.com>
  21050. * config/i386/i386.c (override_options): Force
  21051. -maccumulate-outgoing-args on if TARGET_STACK_PROBE.
  21052. 2008-03-04 Jan Hubicka <jh@suse.cz>
  21053. PR c++/35262
  21054. * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo
  21055. in last commit.
  21056. 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net>
  21057. * config/i386/i386.md (allocate_stack_worker_32): Use __chkstk
  21058. label to probe the stack.
  21059. 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net>
  21060. * gthr-win32.h [__GTHREAD_HIDE_WIN32API]
  21061. (__gthr_win32_mutex_destroy): Declare.
  21062. [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use
  21063. __gthr_win32_mutex_destroy.
  21064. * config/i386/gthr-win32.c (__gthr_win32_mutex_destroy): Define.
  21065. 2008-03-03 Jan Hubicka <jh@suse.cz>
  21066. PR c++/35262
  21067. * ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more
  21068. aggressive on inlining cold calls.
  21069. 2008-03-03 Richard Guenther <rguenther@suse.de>
  21070. * tree-ssa-sccvn.c (visit_reference_op_store): Do not insert
  21071. struct copies into the expression table.
  21072. (simplify_unary_expression): Handle VIEW_CONVERT_EXPR.
  21073. (try_to_simplify): Likewise.
  21074. * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPR of
  21075. integral and pointer arguments which do not change the
  21076. precision to NOP_EXPRs.
  21077. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Adjust
  21078. VIEW_CONVERT_EXPR case.
  21079. 2008-03-02 Sebastian Pop <sebastian.pop@amd.com>
  21080. * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME
  21081. defined in a loop at depth 0 is invariant.
  21082. * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto.
  21083. * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never
  21084. be called at loop depth 0.
  21085. 2008-03-02 Jakub Jelinek <jakub@redhat.com>
  21086. PR driver/35420
  21087. * gcc.c (process_command): Update copyright notice dates.
  21088. * gcov.c (print_version): Likewise.
  21089. * gcov-dump.c (print_version): Likewise.
  21090. * mips-tfile.c (main): Likewise.
  21091. * mips-tdump.c (main): Likewise.
  21092. 2008-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  21093. PR 24924
  21094. * c-common.c (flag_permissive): Delete.
  21095. (constant_expression_warnings): Check flags first.
  21096. (constant_expression_error): New.
  21097. * c-common.h (flag_permissive): Delete.
  21098. (constant_expression_error): Declare.
  21099. * flags.h (flag_permissive): Declare. Update description.
  21100. * diagnostic.c (pedwarn): Update.
  21101. (permerror): New.
  21102. * diagnostic.h (pedantic_error_kind): Rename as pedantic_warning_kind.
  21103. (permissive_error_kind): New.
  21104. * toplev.c (flag_permissive): Define. Update description.
  21105. * toplev.h (permissive_error_kind): Declare.
  21106. * c-errors.c (pedwarn_c99): Use pedantic_warning_kind.
  21107. (pedwarn_c90): Use pedantic_warning_kind.
  21108. * c-opts.c (c_common_post_options): flag_permissive does not affect
  21109. flag_pedantic_errors.
  21110. 2008-03-02 Joseph Myers <joseph@codesourcery.com>
  21111. * libgcc2.c (__addvSI3, __addvsi3, __addvDI3, __subvSI3,
  21112. __subvsi3, __subvDI3, __negvSI2, __negvsi2, __negvDI2, __absvSI2,
  21113. __absvsi2, __absvDI2): Use unsigned arithmetic.
  21114. 2008-03-02 Andi Kleen <ak@suse.de>
  21115. Richard Guenther <rguenther@suse.de>
  21116. * struct-equiv.c: Remove file.
  21117. * cfg_cleanup.c (condjump_equiv_p): Remove.
  21118. * Makefile.in (OBJS-common): Remove struct-equiv.o.
  21119. (struct-equiv.o): Remove rule.
  21120. * basic-block.h (struct_equiv_checkpoint, STRUCT_EQUIV_*,
  21121. insns_match_p, struct_equiv_block_eq, struct_equiv_init,
  21122. rtx_equiv_p, condjump_equiv_p): Remove prototypes.
  21123. 2008-03-01 Alexandre Oliva <aoliva@redhat.com>
  21124. * ifcvt.c (noce_process_if_block): Try to handle only the then
  21125. block if the else block exists but isn't suitable.
  21126. 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org>
  21127. PR gcc/35063
  21128. * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations.
  21129. * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes
  21130. regression from previous patch.
  21131. 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org>
  21132. PR gcc/35063
  21133. * gthr.h: Add __gthread_mutex_destroy as a function that must be
  21134. implemented.
  21135. * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation.
  21136. * gthr-single.h (__gthread_mutex_destroy): Likewise.
  21137. * gthr-rtems.h (__gthread_mutex_destroy): Likewise.
  21138. * gthr-mipssde.h (__gthread_mutex_destroy): Likewise.
  21139. * gthr-nks.h (__gthread_mutex_destroy): Likewise.
  21140. * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy.
  21141. * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove.
  21142. (__gthread_mutex_destroy_function): Rename to
  21143. __gthread_mutex_destroy.
  21144. * gthr-dce.h (__gthread_mutex_destroy): Call
  21145. pthread_mutex_destroy.
  21146. * gthr-tpf.h (__gthread_mutex_destroy): Likewise.
  21147. * gthr-posix.h (__gthread_mutex_destroy): Likewise.
  21148. * gthr-posix95.h (__gthread_mutex_destroy): Likewise.
  21149. 2008-03-01 Alexandre Oliva <aoliva@redhat.com>
  21150. * df-scan.c (df_ref_chain_change_bb): Simplify.
  21151. (df_insn_change_bb): Add new_bb argument. Simplify. Call
  21152. set_block_for_insn if there's any change.
  21153. * df.h ((df_insn_change_bb): Fix prototype.
  21154. * cfgrtl.c (update_bb_for_insn_chain): Pass bb to
  21155. df_insn_change_bb, don't call set_block_for_insn.
  21156. * emit-rtl.c (reorder_insns): Likewise.
  21157. * haifa-sched.c (move_insn): Likewise.
  21158. 2008-03-01 Alexandre Oliva <aoliva@redhat.com>
  21159. * rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly.
  21160. 2008-03-01 Alexandre Oliva <aoliva@redhat.com>
  21161. * tree-flow-inline.h (next_readonly_imm_use): Return
  21162. NULL_USE_OPERAND_P after the end.
  21163. 2008-03-01 Richard Guenther <rguenther@suse.de>
  21164. PR tree-optimization/35411
  21165. * tree-sra.c (sra_build_assignment): Split conversion to
  21166. final type to a separate statement if we are not assigning
  21167. to a register.
  21168. 2008-02-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  21169. * fold-const.c (fold_convertible_p): Correct the logic to follow
  21170. that in fold_convert().
  21171. 2008-02-29 Douglas Gregor <doug.gregor@gmail.com>
  21172. PR c++/35315
  21173. * tree-inline.c (build_duplicate_type): When we make a
  21174. duplicate type, make it unique in the canonical types system.
  21175. 2008-02-29 Tom Tromey <tromey@redhat.com>
  21176. * toplev.c (input_file_stack, input_file_stack_tick, fs_p,
  21177. input_file_stack_history, input_file_stack_restored): Remove.
  21178. (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
  21179. * input.h (struct file_stack): Remove.
  21180. (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise.
  21181. (input_file_stack, input_file_stack_tick, INPUT_FILE_STACK_BITS):
  21182. Likewise.
  21183. * diagnostic.h (struct diagnostic_context) <last_module>: Change
  21184. type.
  21185. (diagnostic_last_module_changed): Add 'map' argument.
  21186. (diagnostic_set_last_function): Likewise.
  21187. * diagnostic.c (undiagnostic_report_current_module): Iterate using
  21188. line map, not input_file_stack.
  21189. * c-lex.c (fe_file_change): Don't use push_srcloc or pop_srcloc.
  21190. 2008-02-29 Paul Brook <paul@codesourcery.com>
  21191. * config/arm/arm.md (arm_addsi3): Add r/k/n alternative.
  21192. 2008-02-29 Paul Brook <paul@codesourcery.com>
  21193. * config/arm/ieee754-df.S (muldf3): Use RET macros.
  21194. 2008-02-29 Richard Guenther <rguenther@suse.de>
  21195. * tree-ssa-pre.c (get_sccvn_value): Create missing VNs via
  21196. vn_lookup_or_add.
  21197. * tree-ssa-sccnv.c (visit_reference_op_store): Use the rhs
  21198. value for comparing for a store match.
  21199. (simplify_unary_expression): Do nothing for SSA_NAMEs.
  21200. (try_to_simplify): Do not do a full-blown reference lookup.
  21201. 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org>
  21202. * config/sh/sh.c (sh_scalar_mode_supported_p): New function.
  21203. (TARGET_SCALAR_MODE_SUPPORTED_P): Define.
  21204. * config/sh/sh.h (OVERRIDE_OPTIONS): Don't warn for profiling.
  21205. 2008-02-29 Sebastian Pop <sebastian.pop@amd.com>
  21206. * tree-loop-linear.c (try_interchange_loops): Compare memory access
  21207. strides against cache sizes.
  21208. 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org>
  21209. * config/sh/sh.c (sh_secondary_reload): Handle loading a float
  21210. constant to fpul.
  21211. 2008-02-28 Richard Sandiford <rsandifo@nildram.co.uk>
  21212. * simplify-rtx.c (simplify_unary_operation_1): Extend the handling
  21213. of SUBREG_PROMOTED_VAR_P to cope with cases where the extended value
  21214. is smaller than the original promoted value.
  21215. (simplify_subreg): If OP is a SUBREG, try to preserve its
  21216. SUBREG_PROMOTED_VAR_P information.
  21217. 2008-02-28 Steven Bosscher <stevenb.gcc@gmail.com>
  21218. * tree-ssa-sccvn (vn_ssa_aux_obstack): New obstack.
  21219. (VN_INFO_GET): Allocate new objects on the obstack.
  21220. (init_scc_vn): Initialize the obstack. Use XDELETE instead of free
  21221. for rpo_numbers_temp, for consistency.
  21222. (free_scc_vn): Free the obstack.
  21223. 2008-02-28 Sebastian Pop <sebastian.pop@amd.com>
  21224. * doc/invoke.texi: Document -ftree-loop-distribution.
  21225. * tree-loop-distribution.c: New.
  21226. * tree-pass.h (pass_loop_distribution): New.
  21227. * graphds.h (struct graph): Add htab_t indices.
  21228. * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New.
  21229. * tree-vectorizer.c (rename_variables_in_loop): Extern.
  21230. (slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL.
  21231. * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared.
  21232. * tree-data-ref.c (debug_data_dependence_relations): New.
  21233. (dump_data_dependence_relation): Also print data references.
  21234. (free_data_ref): Extern.
  21235. (same_access_functions): Moved...
  21236. (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt.
  21237. (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
  21238. debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg,
  21239. struct rdg_vertex_info, rdg_vertex_for_stmt): New.
  21240. (create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up.
  21241. (stmts_from_loop): Skip LABEL_EXPR.
  21242. (hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del):
  21243. New.
  21244. (build_rdg): Initialize rdg->indices htab.
  21245. (free_rdg, stores_from_loop, ref_base_address,
  21246. rdg_defs_used_in_other_loops_p, have_similar_memory_accesses,
  21247. have_similar_memory_accesses_1, ref_base_address_1,
  21248. remove_similar_memory_refs): New.
  21249. * tree-data-ref.h: Depend on tree-chrec.h.
  21250. (debug_data_dependence_relations, free_data_ref): Declared.
  21251. (same_access_functions): ... here.
  21252. (ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level):
  21253. New.
  21254. (struct rdg_vertex): Add has_mem_write and has_mem_reads.
  21255. (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT,
  21256. RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New.
  21257. (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
  21258. debug_rdg_component, dump_rdg, debug_rdg, dot_rdg,
  21259. rdg_vertex_for_stmt): Declared.
  21260. (struct rdg_edge): Add level.
  21261. (RDGE_LEVEL): New.
  21262. (free_rdg, stores_from_loop, remove_similar_memory_refs,
  21263. rdg_defs_used_in_other_loops_p, have_similar_memory_accesses):
  21264. Declared.
  21265. (rdg_has_similar_memory_accesses): New.
  21266. * tree-vect-analyze.c: Remove unused static decls.
  21267. * lambda.h (dependence_level): New.
  21268. * common.opt (ftree-loop-distribution): New.
  21269. * tree-flow.h (mark_virtual_ops_in_bb,
  21270. slpeel_tree_duplicate_loop_to_edge_cfg,
  21271. rename_variables_in_loop): Declared.
  21272. * Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h.
  21273. (OBJS-common): Add tree-loop-distribution.o.
  21274. (tree-loop-distribution.o): New rule.
  21275. * tree-cfg.c (mark_virtual_ops_in_bb): New.
  21276. (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb.
  21277. * passes.c (init_optimization_passes): Schedule pass_loop_distribution.
  21278. 2008-02-28 Joseph Myers <joseph@codesourcery.com>
  21279. PR target/33963
  21280. * tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types
  21281. other than structures and unions.
  21282. 2008-02-28 Richard Guenther <rguenther@suse.de>
  21283. Revert:
  21284. 2008-02-26 Richard Guenther <rguenther@suse.de>
  21285. * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
  21286. * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
  21287. (lookup_decl_from_uid): Declare.
  21288. (remove_decl_from_map): Likewise.
  21289. * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
  21290. * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
  21291. (decl_for_uid_map): New global hashtable mapping DECL_UID
  21292. to the decl tree.
  21293. (init_ttree): Allocate it.
  21294. (insert_decl_to_uid_decl_map): New helper function.
  21295. (make_node_stat): Insert new decls into the map.
  21296. (copy_node_stat): Likewise.
  21297. (lookup_decl_from_uid): New function.
  21298. (remove_decl_from_map): Likewise.
  21299. (print_decl_for_uid_map_statistics): New helper.
  21300. (dump_tree_statistics): Call it.
  21301. * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
  21302. (referenced_var_iterator): Adjust.
  21303. (FOR_EACH_REFERENCED_VAR): Adjust.
  21304. (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
  21305. (num_referenced_vars): Adjust.
  21306. * tree-flow-inline.h (gimple_referenced_vars): Adjust.
  21307. (first_referenced_var): Remove.
  21308. (end_referenced_vars_p): Likewise.
  21309. (next_referenced_var): Likewise.
  21310. (referenced_var_iterator_set): New helper function.
  21311. * tree-dfa.c (referenced_var_lookup): Adjust.
  21312. (referenced_var_check_and_insert): Likewise.
  21313. (remove_referenced_var): Likewise.
  21314. * tree-ssa.c (verify_flow_insensitive_alias_info): Use
  21315. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21316. (verify_call_clobbering): Likewise.
  21317. (verify_memory_partitions): Likewise.
  21318. (init_tree_ssa): Allocate bitmap instead of hashtable for
  21319. referenced_vars.
  21320. (delete_tree_ssa): Adjust.
  21321. * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
  21322. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21323. (compute_tag_properties): Likewise.
  21324. (set_initial_properties): Likewise.
  21325. (find_partition_for): Likewise.
  21326. (update_reference_counts): Likewise.
  21327. (dump_may_aliases_for): Likewise.
  21328. * tree-ssa-operands.c (add_virtual_operand): Likewise.
  21329. (add_call_clobber_ops): Likewise.
  21330. (add_call_read_ops): Likewise.
  21331. (get_asm_expr_operands): Likewise.
  21332. * tree-into-ssa.c (dump_decl_set): Likewise.
  21333. (update_ssa): Likewise.
  21334. * tree-sra.c (scan_function): Likewise.
  21335. (decide_instantiations): Likewise.
  21336. (scalarize_parms): Likewise.
  21337. * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
  21338. (dsa_named_for): Likewise.
  21339. * tree-ssa-structalias.c (update_alias_info): Likewise.
  21340. (merge_smts_into): Likewise.
  21341. 2008-02-27 David Daney <ddaney@avtrex.com>
  21342. PR target/34409
  21343. * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define.
  21344. * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same.
  21345. * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef.
  21346. * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same.
  21347. * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define.
  21348. 2008-02-27 Uros Bizjak <ubizjak@gmail.com>
  21349. PR target/25477
  21350. * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add.
  21351. (BUILT_IN_NEXTTOWARD): Remove.
  21352. (BUILT_IN_NEXTTOWARDF): Ditto.
  21353. * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of
  21354. alloca/strcpy/strcat. Remove commented-out code. Fix whitespace.
  21355. 2008-02-27 Tom Tromey <tromey@redhat.com>
  21356. * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
  21357. DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.
  21358. 2008-02-27 Jan Beulich <jbeulich@novell.com>
  21359. * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to
  21360. update the respective field on newdecl.
  21361. 2008-02-27 Revital Eres <eres@il.ibm.com>
  21362. PR rtl-optimization/34999
  21363. * bb-reorder.c (add_labels_and_missing_jumps): Do not handle
  21364. crossing edges that ends with a call insn.
  21365. (fix_up_fall_thru_edges): Handle crossing edges that ends with a
  21366. call insn and clear the EDGE_CROSSING flag of the crossing edge
  21367. when fixing fallthru edges.
  21368. 2008-02-27 Richard Guenther <rguenther@suse.de>
  21369. PR middle-end/35390
  21370. * fold-const.c (fold_unary): Return the correct argument,
  21371. converted to the result type.
  21372. 2008-02-27 Richard Guenther <rguenther@suse.de>
  21373. PR middle-end/34971
  21374. * expr.c (expand_expr_real_1): Assert on rotates that operate
  21375. on partial modes.
  21376. * fold-const.c (fold_binary): Use the types precision, not the
  21377. bitsize of the mode if folding rotate expressions. Build rotates
  21378. only for full modes.
  21379. 2008-02-27 Jakub Jelinek <jakub@redhat.com>
  21380. * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA
  21381. and CPP_PRAGMA_EOL.
  21382. * c-pragma.c (pragma_ns_name): New typedef.
  21383. (registered_pp_pragmas): New variable.
  21384. (c_pp_lookup_pragma): New function.
  21385. (c_register_pragma_1): If flag_preprocess_only, do nothing
  21386. for non-expanded pragmas, for expanded ones push pragma's
  21387. namespace and name into registered_pp_pragmas vector.
  21388. (c_invoke_pragma_handler): Register OpenMP pragmas even when
  21389. flag_preprocess_only, don't register GCC pch_preprocess
  21390. pragma if flag_preprocess_only.
  21391. * c-opts.c (c_common_init): Call init_pragma even if
  21392. flag_preprocess_only.
  21393. * c-pragma.c (c_pp_lookup_pragma): New prototype.
  21394. * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call
  21395. cpp_register_pragma if flag_preprocess_only.
  21396. 2008-02-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  21397. PR c/28800
  21398. * c-parser.c (c_parser_translation_unit): Warn for empty
  21399. translation unit, not empty source file.
  21400. 2008-02-26 Paul Brook <paul@codesourcery.com>
  21401. * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first
  21402. operand for Thumb-2.
  21403. * config/arm/arm.h (reg_class): Add CORE_REGS.
  21404. (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto.
  21405. (BASE_REG_CLASS): Use CORE_REGS.
  21406. (PREFERRED_RELOAD_CLASS): Add STACK_REG.
  21407. (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P.
  21408. (REGNO_OK_FOR_INDEX_P): Exclude SP.
  21409. (ARM_REG_OK_FOR_INDEX_P): Always define. Use
  21410. ARM_REGNO_OK_FOR_INDEX_P.
  21411. (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp].
  21412. * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn,
  21413. arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives.
  21414. (ldm/stm peepholes): Ditto.
  21415. * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives.
  21416. * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto.
  21417. * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto.
  21418. * config/arm/constraints.md: Enable "k" constraint on ARM.
  21419. 2008-02-27 Ben Elliston <bje@au.ibm.com>
  21420. * config/rs6000/rs6000.c: Annotate cache line size field in all
  21421. instances of struct processor_costs.
  21422. 2008-02-26 David Edelsohn <edelsohn@gnu.org>
  21423. * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1,
  21424. dse2, gcse, if_conversion, if_after_combine, if_after_reload,
  21425. jump_bypass): New counters.
  21426. * cfgcleanup.c (cleanup_cfg): Add dbg_cnt.
  21427. * dce.c (gate_ud_dce): Same.
  21428. (gate_fast_dce): Same.
  21429. * dse.c (gate_dse1): New function.
  21430. (gate_dse2): New function.
  21431. (gate_dse): Merge results of new gate functions.
  21432. * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt.
  21433. (gate_handle_jump_bypass): Add dbg_cnt.
  21434. (gate_handle_gcse): Add dbg_cnt.
  21435. * ifcvt.c (gate_handle_if_conversion): Same.
  21436. (gate_handle_if_after_combine): Same.
  21437. (gate_handle_if_after_reload): Same.
  21438. * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o.
  21439. 2008-02-26 Edmar Wienskoski <edmar@freescale.com>
  21440. * config/rs6000/rs6000.c (processor_costs): Update e300 cache
  21441. line sizes.
  21442. * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus.
  21443. 2008-02-26 Jason Merrill <jason@redhat.com>
  21444. PR c++/35315
  21445. * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE
  21446. alone if it's the naming decl for the type's main variant.
  21447. 2008-02-26 Tom Tromey <tromey@redhat.com>
  21448. * system.h (USE_MAPPED_LOCATION): Poison.
  21449. * Makefile.in (GTFILES): Put CPP_ID_DATA_H first.
  21450. * tree-cfg.c (make_cond_expr_edges): Remove old location code.
  21451. (make_goto_expr_edges): Likewise.
  21452. (remove_bb): Likewise.
  21453. (execute_warn_function_return): Likewise.
  21454. * basic-block.h (struct edge_def) <goto_locus>: Change type to
  21455. location_t.
  21456. * c-common.c (fname_decl): Remove old location code.
  21457. * tree-vect-transform.c (vect_finish_stmt_generation): Remove old
  21458. location code.
  21459. * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location
  21460. variant.
  21461. (ASM_INPUT_SOURCE_LOCATION): Likewise.
  21462. (gen_rtx_ASM_INPUT): Likewise.
  21463. (gen_rtx_ASM_INPUT_loc): Likewise.
  21464. (get_rtx_asm_OPERANDS): Remove.
  21465. * cfglayout.c (insn_locators_alloc): Remove old location code.
  21466. (set_curr_insn_source_location): Likewise.
  21467. (curr_insn_locator): Likewise.
  21468. * print-tree.c (print_node): Remove old location code.
  21469. * tree-mudflap.c (mf_varname_tree): Remove old location code.
  21470. (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION.
  21471. * cfgexpand.c (expand_gimple_cond_expr): Don't use
  21472. location_from_locus.
  21473. (construct_exit_block): Remove old location code.
  21474. * emit-rtl.c (force_next_line_note): Remove old location code.
  21475. * profile.c (branch_prob): Remove old location code.
  21476. * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
  21477. LOC_LINE): Remove old-location variants.
  21478. * langhooks.c (lhd_print_error_function): Remove old location
  21479. code.
  21480. * configure, config.in: Rebuilt.
  21481. * configure.ac (--enable-mapped-location): Remove.
  21482. * c-decl.c (c_init_decl_processing): Remove old location code.
  21483. (finish_function): Likewise.
  21484. * recog.c (decode_asm_operands): Remove old location code.
  21485. * c-pch.c (c_common_read_pch): Remove old location code.
  21486. * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location
  21487. variants.
  21488. * gimple-low.c (lower_function_body): Remove old location code.
  21489. * toplev.c (unknown_location): Remove.
  21490. (push_srcloc): Remove old-location variant.
  21491. (process_options): Remove old location code.
  21492. (lang_dependent_init): Likewise.
  21493. * input.h (UNKNOWN_LOCATION): Move definition.
  21494. (location_t): Undeprecate.
  21495. (source_locus): Remove.
  21496. (location_from_locus): Remove.
  21497. (struct location_s): Remove.
  21498. Remove all old-location code.
  21499. (input_line, input_filename): Remove.
  21500. * final.c (final_scan_insn): Remove old location code.
  21501. * diagnostic.c (diagnostic_build_prefix): Remove
  21502. USE_MAPPED_LOCATION test.
  21503. * tree.h (gimple_stmt) <locus>: Now a location_t.
  21504. (tree_exp) <locus>: Likewise.
  21505. (DECL_IS_BUILTIN): Remove old-location variant.
  21506. (annotate_with_file_line, annotate_with_locus): Likewise.
  21507. (expr_locus, set_expr_locus): Update.
  21508. * tree.c (build1_stat): Remove old location code.
  21509. (last_annotated_node): Remove.
  21510. (annotate_with_file_line): Remove old-location variant.
  21511. (annotate_with_locus): Likewise.
  21512. (expr_location): Remove old location code.
  21513. (set_expr_location): Likewise.
  21514. (expr_has_location): Likewise.
  21515. (expr_locus): Likewise.
  21516. (set_expr_locus): Likewise.
  21517. (expr_filename): Don't use location_from_locus.
  21518. (expr_lineno): Likewise.
  21519. * rtl-error.c (location_for_asm): Remove old location code.
  21520. * c-lex.c (cb_line_change): Remove old location code.
  21521. (fe_file_change): Likewise.
  21522. (cb_def_pragma): Likewise.
  21523. (c_lex_with_flags): Likewise.
  21524. * gengtype.c (do_typedef): Don't special-case location types.
  21525. (define_location_structures): Remove.
  21526. (main): Don't call define_location_structures.
  21527. * tree-pretty-print.c (dump_implicit_edges): Remove old location
  21528. code.
  21529. 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  21530. PR 26264
  21531. * builtins.def (BUILT_IN_STDARG_START): Remove.
  21532. * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START.
  21533. * tree-stdarg.c (execute_optimize_stdarg): Likewise.
  21534. * tree-inline.c (inline_forbidden_p_1): Likewise.
  21535. 2008-02-26 Richard Guenther <rguenther@suse.de>
  21536. * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
  21537. * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
  21538. (lookup_decl_from_uid): Declare.
  21539. (remove_decl_from_map): Likewise.
  21540. * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
  21541. * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
  21542. (decl_for_uid_map): New global hashtable mapping DECL_UID
  21543. to the decl tree.
  21544. (init_ttree): Allocate it.
  21545. (insert_decl_to_uid_decl_map): New helper function.
  21546. (make_node_stat): Insert new decls into the map.
  21547. (copy_node_stat): Likewise.
  21548. (lookup_decl_from_uid): New function.
  21549. (remove_decl_from_map): Likewise.
  21550. (print_decl_for_uid_map_statistics): New helper.
  21551. (dump_tree_statistics): Call it.
  21552. * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
  21553. (referenced_var_iterator): Adjust.
  21554. (FOR_EACH_REFERENCED_VAR): Adjust.
  21555. (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
  21556. (num_referenced_vars): Adjust.
  21557. * tree-flow-inline.h (gimple_referenced_vars): Adjust.
  21558. (first_referenced_var): Remove.
  21559. (end_referenced_vars_p): Likewise.
  21560. (next_referenced_var): Likewise.
  21561. (referenced_var_iterator_set): New helper function.
  21562. * tree-dfa.c (referenced_var_lookup): Adjust.
  21563. (referenced_var_check_and_insert): Likewise.
  21564. (remove_referenced_var): Likewise.
  21565. * tree-ssa.c (verify_flow_insensitive_alias_info): Use
  21566. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21567. (verify_call_clobbering): Likewise.
  21568. (verify_memory_partitions): Likewise.
  21569. (init_tree_ssa): Allocate bitmap instead of hashtable for
  21570. referenced_vars.
  21571. (delete_tree_ssa): Adjust.
  21572. * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
  21573. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21574. (compute_tag_properties): Likewise.
  21575. (set_initial_properties): Likewise.
  21576. (find_partition_for): Likewise.
  21577. (update_reference_counts): Likewise.
  21578. (dump_may_aliases_for): Likewise.
  21579. * tree-ssa-operands.c (add_virtual_operand): Likewise.
  21580. (add_call_clobber_ops): Likewise.
  21581. (add_call_read_ops): Likewise.
  21582. (get_asm_expr_operands): Likewise.
  21583. * tree-into-ssa.c (dump_decl_set): Likewise.
  21584. (update_ssa): Likewise.
  21585. * tree-sra.c (scan_function): Likewise.
  21586. (decide_instantiations): Likewise.
  21587. (scalarize_parms): Likewise.
  21588. * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
  21589. (dsa_named_for): Likewise.
  21590. * tree-ssa-structalias.c (update_alias_info): Likewise.
  21591. (merge_smts_into): Likewise.
  21592. 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  21593. PR 34351
  21594. * doc/invoke.texi (-Wall): Add -Wvolatile-register-var.
  21595. * c-opts.c (c_common_handle_option): Wall enables
  21596. Wvolatile-register-var.
  21597. * common.opt: Move Wvolatile-register-var to...
  21598. * c.opt: ...here.
  21599. 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  21600. * common.opt (Wlarger-than=): New.
  21601. * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with
  21602. -Wlarger-than=.
  21603. * opts.c (common_handle_option): Handle -Wlarger-than=.
  21604. * optc-gen.awk: Likewise.
  21605. * opth-gen.awk: Likewise.
  21606. * stor-layout.c (layout_decl): Use -Wlarger-than= for warning.
  21607. * tree-optimize.c (tree_rest_of_compilation): Likewise.
  21608. 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  21609. * c-common.c (match_case_to_enum_1): Add appropriate
  21610. OPT_W* parameter to warning.
  21611. (c_do_switch_warnings): Likewise.
  21612. * c-typeck.c (warning_init): Add one more parameter following
  21613. 'warning' function.
  21614. (push_init_level): Update call to warning_init.
  21615. (pop_init_level): Likewise.
  21616. (add_pending_init): Likewise.
  21617. (output_init_element: Likewise.
  21618. 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  21619. PR 28322
  21620. * toplev.c (toplev_main): If there are warnings or error, print
  21621. errors for ignored options.
  21622. * opts.c (ignored_options): New static variable.
  21623. (postpone_unknown_option_error): New.
  21624. (print_ignored_options): New.
  21625. (handle_option): Postpone errors for unknown -Wno-* options.
  21626. * opts.h (print_ignored_options): Declare.
  21627. 2008-02-25 Richard Sandiford <rsandifo@nildram.co.uk>
  21628. * config/mips/mips.md (loadgp_blockage, blockage): Change type
  21629. to "ghost".
  21630. 2008-02-25 Richard Guenther <rguenther@suse.de>
  21631. Revert:
  21632. 2008-02-25 Richard Guenther <rguenther@suse.de>
  21633. * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
  21634. * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
  21635. (lookup_decl_from_uid): Declare.
  21636. * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
  21637. * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
  21638. (decl_for_uid_map): New global hashtable mapping DECL_UID
  21639. to the decl tree.
  21640. (init_ttree): Allocate it.
  21641. (insert_decl_to_uid_decl_map): New helper function.
  21642. (make_node_stat): Insert new decls into the map.
  21643. (copy_node_stat): Likewise.
  21644. (lookup_decl_from_uid): New function.
  21645. (print_decl_for_uid_map_statistics): New helper.
  21646. (dump_tree_statistics): Call it.
  21647. * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
  21648. (referenced_var_iterator): Adjust.
  21649. (FOR_EACH_REFERENCED_VAR): Adjust.
  21650. (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
  21651. (num_referenced_vars): Adjust.
  21652. * tree-flow-inline.h (gimple_referenced_vars): Adjust.
  21653. (first_referenced_var): Remove.
  21654. (end_referenced_vars_p): Likewise.
  21655. (next_referenced_var): Likewise.
  21656. (referenced_var_iterator_set): New helper function.
  21657. * tree-dfa.c (referenced_var_lookup): Adjust.
  21658. (referenced_var_check_and_insert): Likewise.
  21659. (remove_referenced_var): Likewise.
  21660. * tree-ssa.c (verify_flow_insensitive_alias_info): Use
  21661. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21662. (verify_call_clobbering): Likewise.
  21663. (verify_memory_partitions): Likewise.
  21664. (init_tree_ssa): Allocate bitmap instead of hashtable for
  21665. referenced_vars.
  21666. (delete_tree_ssa): Adjust.
  21667. * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
  21668. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21669. (compute_tag_properties): Likewise.
  21670. (set_initial_properties): Likewise.
  21671. (find_partition_for): Likewise.
  21672. (update_reference_counts): Likewise.
  21673. (dump_may_aliases_for): Likewise.
  21674. * tree-ssa-operands.c (add_virtual_operand): Likewise.
  21675. (add_call_clobber_ops): Likewise.
  21676. (add_call_read_ops): Likewise.
  21677. (get_asm_expr_operands): Likewise.
  21678. * tree-into-ssa.c (dump_decl_set): Likewise.
  21679. (update_ssa): Likewise.
  21680. * tree-sra.c (scan_function): Likewise.
  21681. (decide_instantiations): Likewise.
  21682. (scalarize_parms): Likewise.
  21683. * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
  21684. (dsa_named_for): Likewise.
  21685. * tree-ssa-structalias.c (update_alias_info): Likewise.
  21686. (merge_smts_into): Likewise.
  21687. 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org>
  21688. PR fortran/29549
  21689. * doc/invoke.texi (-fcx-limited-range): Document new option.
  21690. * toplev.c (process_options): Handle -fcx-fortran-rules.
  21691. * common.opt: Add documentation for -fcx-fortran-rules.
  21692. 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org>
  21693. PR c/35162
  21694. * doc/invoke.texi (-fcx-limited-range): Correct to be in line with
  21695. actual behaviour and C99.
  21696. 2008-02-26 Ben Elliston <bje@au.ibm.com>
  21697. * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define.
  21698. (ASM_CPU_POWER6_SPEC): Likewise.
  21699. (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5.
  21700. Likewise, pass %(asm_cpu_power6) for -mcpu=power6.
  21701. (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings.
  21702. 2008-02-25 Richard Guenther <rguenther@suse.de>
  21703. * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ...
  21704. * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here.
  21705. (lookup_decl_from_uid): Declare.
  21706. * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ...
  21707. * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here.
  21708. (decl_for_uid_map): New global hashtable mapping DECL_UID
  21709. to the decl tree.
  21710. (init_ttree): Allocate it.
  21711. (insert_decl_to_uid_decl_map): New helper function.
  21712. (make_node_stat): Insert new decls into the map.
  21713. (copy_node_stat): Likewise.
  21714. (lookup_decl_from_uid): New function.
  21715. (print_decl_for_uid_map_statistics): New helper.
  21716. (dump_tree_statistics): Call it.
  21717. * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap.
  21718. (referenced_var_iterator): Adjust.
  21719. (FOR_EACH_REFERENCED_VAR): Adjust.
  21720. (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator.
  21721. (num_referenced_vars): Adjust.
  21722. * tree-flow-inline.h (gimple_referenced_vars): Adjust.
  21723. (first_referenced_var): Remove.
  21724. (end_referenced_vars_p): Likewise.
  21725. (next_referenced_var): Likewise.
  21726. (referenced_var_iterator_set): New helper function.
  21727. * tree-dfa.c (referenced_var_lookup): Adjust.
  21728. (referenced_var_check_and_insert): Likewise.
  21729. (remove_referenced_var): Likewise.
  21730. * tree-ssa.c (verify_flow_insensitive_alias_info): Use
  21731. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21732. (verify_call_clobbering): Likewise.
  21733. (verify_memory_partitions): Likewise.
  21734. (init_tree_ssa): Allocate bitmap instead of hashtable for
  21735. referenced_vars.
  21736. (delete_tree_ssa): Adjust.
  21737. * tree-ssa-alias.c (mark_aliases_call_clobbered): Use
  21738. FOR_EACH_REFERENCED_VAR_IN_BITMAP.
  21739. (compute_tag_properties): Likewise.
  21740. (set_initial_properties): Likewise.
  21741. (find_partition_for): Likewise.
  21742. (update_reference_counts): Likewise.
  21743. (dump_may_aliases_for): Likewise.
  21744. * tree-ssa-operands.c (add_virtual_operand): Likewise.
  21745. (add_call_clobber_ops): Likewise.
  21746. (add_call_read_ops): Likewise.
  21747. (get_asm_expr_operands): Likewise.
  21748. * tree-into-ssa.c (dump_decl_set): Likewise.
  21749. (update_ssa): Likewise.
  21750. * tree-sra.c (scan_function): Likewise.
  21751. (decide_instantiations): Likewise.
  21752. (scalarize_parms): Likewise.
  21753. * tree-ssa-alias-warnings.c (build_reference_table): Likewise.
  21754. (dsa_named_for): Likewise.
  21755. * tree-ssa-structalias.c (update_alias_info): Likewise.
  21756. (merge_smts_into): Likewise.
  21757. 2008-02-25 Andreas Krebbel <krebbel1@de.ibm.com>
  21758. PR target/35258
  21759. * cse.c (cse_insn): Avoid creation of overlapping MEMs.
  21760. * alias.c (nonoverlapping_memrefs_p): Export for use in other modules.
  21761. * alias.h (nonoverlapping_memrefs_p): Likewise.
  21762. 2008-02-25 Jan Beulich <jbeulich@novell.com>
  21763. * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T).
  21764. * config/i386/netware-libgcc.exp: Add __bswap?i2,
  21765. __emultls_get_address, __emultls_register_common,
  21766. __floatundi?f, and _Unwind_GetIPInfo.
  21767. * config/i386/netware.c (gen_stdcall_or_fastcall_decoration):
  21768. Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix().
  21769. (gen_regparm_prefix): Likewise.
  21770. (i386_nlm_encode_section_info): Sync with
  21771. config/i386/winnt.c:i386_pe_encode_section_info().
  21772. (i386_nlm_maybe_mangle_decl_assembler_name): New.
  21773. i386_nlm_mangle_decl_assembler_name): New.
  21774. (netware_override_options): New.
  21775. * config/i386/netware.h (netware_override_options): Declare.
  21776. (OVERRIDE_OPTIONS): Re-define to netware_override_options.
  21777. (i386_nlm_mangle_decl_assembler_name): Declare.
  21778. (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define.
  21779. 2008-02-25 Ben Elliston <bje@au.ibm.com>
  21780. PR other/32948
  21781. * c-decl.c (grokdeclarator): Remove unused local variables
  21782. `typedef_type' and `type_as_written'.
  21783. * bb-reorder.c
  21784. (find_rarely_executed_basic_blocks_and_crossing_edges): Remove
  21785. unused local variable `has_hot_blocks'.
  21786. (fix_crossing_conditional_branches): Remove unused local variable
  21787. `prev_bb'.
  21788. 2008-02-25 Uros Bizjak <ubizjak@gmail.com>
  21789. PR middle-end/19984
  21790. * builtins.def (BUILT_IN_NAN): Define as c99 builtin
  21791. using DEF_C99_BUILTIN.
  21792. (BUILT_IN_NANF): Ditto.
  21793. (BUILT_IN_NANL): Ditto.
  21794. 2008-02-25 Ayal Zaks <zaks@il.ibm.com>
  21795. Revital Eres <eres@il.ibm.com>
  21796. * modulo-sched.c (calculate_must_precede_follow): Address TODO
  21797. regarding the order of two dependent insns in the same row.
  21798. 2008-02-25 Eric Botcazou <ebotcazou@adacore.com>
  21799. * stor-layout.c (layout_decl): Do not bump the alignment of a
  21800. bit-field to more than byte alignment if it is packed.
  21801. 2008-02-24 David Edelsohn <edelsohn@gnu.org>
  21802. * config/rs6000/rs6000.c (processor_costs): Add cache costs for
  21803. e300c2 and e300c3.
  21804. 2008-02-24 Diego Novillo <dnovillo@google.com>
  21805. http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
  21806. PR 33738
  21807. * tree-vrp.c (vrp_evaluate_conditional): With
  21808. -Wtype-limits, emit a warning when comparing against a
  21809. constant outside the natural range of OP0's type.
  21810. * c.opt (Wtype-limits): Move ...
  21811. * common.opt (Wtype-limits): ... here.
  21812. 2008-02-24 Edmar Wienskoski <edmar@freescale.com>
  21813. * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
  21814. * config/rs6000/e300c2c3.md: New file.
  21815. * config/rs6000/rs6000.c (processor_costs): Add new costs for
  21816. e300c2 and e300c3.
  21817. (rs6000_override_options): Add e300c2 and e300c3 cases to
  21818. processor_target_table. Do not allow usage of Altivec or Spe
  21819. with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
  21820. (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
  21821. * config/rs6000/rs6000.h (processor_type): Add
  21822. PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
  21823. (ASM_CPU_SPEC): Add e300c2 and e300c3.
  21824. * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
  21825. and ppce300c3. Include e300c2c3.md.
  21826. 2008-02-23 David Edelsohn <edelsohn@gnu.org>
  21827. * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT
  21828. instead of TARGET_STRICT_ALIGN.
  21829. 2008-02-23 Joseph Myers <joseph@codesourcery.com>
  21830. * explow.c (memory_address): Assert that the generated address is
  21831. valid.
  21832. 2008-02-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  21833. PR target/25477
  21834. * config/darwin-protos.h: Add darwin_patch_builtins prototype.
  21835. * config/darwin-ppc-ldouble-patch.def: New file.
  21836. * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro.
  21837. * config/rs6000/rs6000.c (rs6000_init_builtins): Call
  21838. SUBTARGET_INIT_BUILTINS if defined.
  21839. * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins):
  21840. New functions.
  21841. 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
  21842. PR rtl-opt/33512
  21843. * simplify-rtx.c (simplify_binary_operation_1): Add simplification
  21844. of (and X (ior (not X) Y) and (and (ior (not X) Y) X).
  21845. 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
  21846. PR pch/35027
  21847. * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH
  21848. file" warning condtional on -Winvalid-PCH.
  21849. 2008-02-23 Daniel Jacobowitz <dan@codesourcery.com>
  21850. * expmed.c (extract_bit_field): Always use adjust_address for MEM.
  21851. 2008-02-23 Uros Bizjak <ubizjak@gmail.com>
  21852. PR target/22076
  21853. PR target/34256
  21854. * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to
  21855. prevent reload from using MMX registers.
  21856. (*mov<mode>_internal): Ditto.
  21857. (*movv2sf_internal_rex64): Ditto.
  21858. (*movv2sf_internal): Ditto.
  21859. 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  21860. PR documentation/31569
  21861. * doc/install.texi2html: Use makeinfo --no-number-sections.
  21862. 2008-02-22 Nathan Froyd <froydnj@codesourcery.com>
  21863. * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to
  21864. ensure that we can address an entire entity > 8 bytes. Don't
  21865. generate reg+reg addressing for such data.
  21866. 2008-02-22 Nathan Froyd <froydnj@codesourcery.com>
  21867. * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign
  21868. strings when optimizing for size, unless the target cares about
  21869. alignment.
  21870. 2008-02-22 Tom Tromey <tromey@redhat.com>
  21871. * regclass.c (current_pass): Remove declaration.
  21872. 2008-02-22 Anatoly Sokolov <aesok@post.ru>
  21873. * config/avr/libgcc.S (__RAMPZ__): Define.
  21874. (__do_copy_data): Add for devices with 128KB code memory.
  21875. 2008-02-22 Nathan Froyd <froydnj@codesourcery.com>
  21876. * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
  21877. Use spe_abi.
  21878. * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise.
  21879. 2008-02-22 Hans-Peter Nilsson <hp@axis.com>
  21880. * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
  21881. GENNONACR_REGS.
  21882. 2008-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  21883. PR c/19999
  21884. * c-typeck.c (build_binary_op): Warn about floating point
  21885. comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.
  21886. 2008-02-21 Janis Johnson <janis187@us.ibm.com>
  21887. PR target/34526
  21888. * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
  21889. (rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
  21890. add vrsave.
  21891. (rs6000_override_options): Set altivec_abi as default, not override,
  21892. for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
  21893. TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
  21894. is used; use new member spe_abi.
  21895. (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
  21896. spe_abi and altivec_abi.
  21897. 2008-02-22 Tomas Bily <tbily@suse.cz>
  21898. * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.
  21899. 2008-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  21900. PR bootstrap/35273
  21901. * config.build (build_file_translate): Set to `CMD //c' only if
  21902. it works.
  21903. * Makefile.in (build_file_translate): Improve comment.
  21904. 2008-02-21 Jan Hubicka <jh@suse.cz>
  21905. * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
  21906. PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
  21907. PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.
  21908. 2008-02-21 Michael Matz <matz@suse.de>
  21909. PR target/35264
  21910. * config/i386/i386.c (ix86_expand_branch): Add missing breaks.
  21911. 2008-02-21 Uros Bizjak <ubizjak@gmail.com>
  21912. * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
  21913. movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
  21914. as insn constraint.
  21915. * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
  21916. from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
  21917. SSE_VEC_FLOAT_MODE_P as insn constraint.
  21918. (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
  21919. (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
  21920. sse4a_movntdf using MODEF mode iterator.
  21921. (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
  21922. sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
  21923. (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
  21924. (sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
  21925. (sse4_1_dpp<ssemodesuffixf2c>): Ditto.
  21926. (sse4_1_roundp<ssemodesuffixf2c>): Ditto.
  21927. (sse4_1_rounds<ssemodesuffixf2c>): Ditto.
  21928. 2008-02-21 Richard Guenther <rguenther@suse.de>
  21929. * tree.def (PAREN_EXPR): New tree code.
  21930. * fold-const.c (fold_unary): Remove PAREN_EXPR around constants
  21931. and PAREN_EXPR.
  21932. * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
  21933. * expr.c (expand_expr_real_1): Likewise.
  21934. * tree-inline.c (estimate_num_insns_1): Likewise.
  21935. * tree-complex.c (expand_complex_move): Likewise.
  21936. * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
  21937. as plain x.
  21938. 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org>
  21939. PR target/35225
  21940. * config/sh/sh.c (find_barrier): Don't go past 'from' argument.
  21941. 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org>
  21942. PR target/35190
  21943. * config/sh/sh.md (jump_compact): Disable for crossing jumps.
  21944. * config/sh/sh.c (find_barrier): Don't go past
  21945. NOTE_INSN_SWITCH_TEXT_SECTIONS note.
  21946. 2008-02-20 DJ Delorie <dj@redhat.com>
  21947. * config/h8300/h8300.md (insv): Force source operand to be a register.
  21948. * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn
  21949. as a jump, not as a plain insn.
  21950. 2008-02-20 Seongbae Park <seongbae.park@gmail.com>
  21951. * doc/invoke.texi (Warning Options): Add new option
  21952. -Wframe-larger-than=.
  21953. (-Wframe-larger-than): Document.
  21954. * flags.h (warn_frame_larger_than, frame_larger_than_size):
  21955. Add declarations for new option variables.
  21956. * final.c (final_start_function): Check the frame size
  21957. before emission and issue a Wframe-larger-than warning.
  21958. * opts.c (warn_frame_larger_than, frame_larger_than_size):
  21959. Add definitions for new option variables.
  21960. (common_handle_option): Handle new option OPT_Wframe_larger_than_.
  21961. * common.opt (Wframe-larger-than=): New option.
  21962. 2008-02-20 Uros Bizjak <ubizjak@gmail.com>
  21963. * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
  21964. (<sse>_div<mode>3): Ditto.
  21965. (<sse>_vmdiv<mode>3): Ditto.
  21966. (<sse>_vmsqrt<mode>2): Ditto.
  21967. (*smax<mode>3): Ditto.
  21968. (sse5_frcz<mode>2): Ditto.
  21969. (sse5_vmfrcz<mode>2): Ditto. Use TARGET_SSE5 instead of TARGET_ROUND
  21970. as insn constraint.
  21971. 2008-02-20 Richard Guenther <rguenther@suse.de>
  21972. PR middle-end/35265
  21973. * builtins.c (validate_arg): If we want an INTEGER_TYPE,
  21974. be happy with INTEGRAL_TYPE_P.
  21975. 2008-02-20 Richard Guenther <rguenther@suse.de>
  21976. * fold-const.c (split_tree): Associate floatig-point expressions
  21977. if flag_associative_math is set.
  21978. 2008-02-20 Richard Guenther <rguenther@suse.de>
  21979. * tree.h (fold_real_zero_addition_p): Declare.
  21980. * fold-const.c (fold_real_zero_addition_p): Export.
  21981. * tree-ssa-reassoc.c (eliminate_using_constants): Also handle
  21982. floating-point operations with zero and one.
  21983. 2008-02-20 Paolo Bonzini <bonzini@gnu.org>
  21984. * doc/install.texi: Correct references to CFLAGS, replacing them
  21985. with BOOT_CFLAGS. Document flags used during bootstrap for
  21986. target libraries.
  21987. 2008-02-20 Uros Bizjak <ubizjak@gmail.com>
  21988. * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
  21989. * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
  21990. and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
  21991. insn constraint.
  21992. (smin<mode>3): Ditto from similar patterns.
  21993. (smax<mode>3): Ditto.
  21994. (*ieee_smin<mode>3): Ditto.
  21995. (*ieee_smax<mode>3): Ditto.
  21996. * config/i386/sse.md (sse): New mode attribute.
  21997. (mov<mode>): Macroize expander from movv4sf and movv2df using
  21998. SSEMODEF2P mode iterator.
  21999. (<sse>_movnt<mode>): Ditto from similar patterns. Use
  22000. SSE_VEC_FLOAT_MODE_P as insn constraint.
  22001. (storent<mode>): Ditto.
  22002. (storent<mode>): Macroize expander from storentsf and storentdf using
  22003. MODEF mode iterator.
  22004. (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
  22005. mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
  22006. (abs<mode>2): Ditto from similar patterns.
  22007. (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
  22008. (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
  22009. (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
  22010. (<sse>_vmsqrt<mode>2): Ditto.
  22011. (smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
  22012. (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
  22013. (smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
  22014. (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
  22015. (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
  22016. sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
  22017. mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
  22018. insn constraint.
  22019. (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
  22020. iterator and SSE_FLOAT_MODE_P as insn constraint.
  22021. (<sse>_ucomi): Ditto from similar patterns.
  22022. (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
  22023. sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
  22024. SSE_VEC_FLOAT_MODE_P as insn constraint.
  22025. (vcond<mode>): Ditto from similar patterns.
  22026. (and<mode>3, *and<mode>3): Ditto.
  22027. (<sse>_nand<mode>3): Ditto.
  22028. (ior<mode>3, *ior<mode>3): Ditto.
  22029. (xor<mode>3, *xor<mode>3): Ditto.
  22030. (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
  22031. iterator and SSE_FLOAT_MODE_P as insn constraint.
  22032. (*nand<mode>3): Ditto from similar patterns.
  22033. (*ior<mode>3): Ditto.
  22034. (*xor<mode>3): Ditto.
  22035. 2008-02-20 Ira Rosen <irar@il.ibm.com>
  22036. * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
  22037. vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
  22038. vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.
  22039. 2008-02-19 Jan Hubicka <jh@suse.cz>
  22040. * predict.c (tree_bb_level_predictions): Remove variable next
  22041. mistakely introduced by previous commit.
  22042. 2008-02-19 Jan Hubicka <jh@suse.cz>
  22043. * predict.c (predict_paths_leading_to): Rewrite.
  22044. (predict_paths_for_bb): New.
  22045. (tree_bb_level_predictions): Update call of predict_paths_leading_to.
  22046. 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22047. PR bootstrap/35218
  22048. * Makefile.in (build_file_translate): New.
  22049. (gcc-vers.texi): Use it for translating $(abs_srcdir).
  22050. * config.build (build_file_translate): Set to `CMD //c' on MinGW.
  22051. * configure.ac (build_file_translate): Substitute it.
  22052. * configure: Regenerate.
  22053. 2008-02-19 Jan Hubicka <jh@suse.cz>
  22054. PR rtl-optimization/34408
  22055. * see.c (see_def_extension_not_merged): Copy subreg so we don't have
  22056. invalid sharing.
  22057. 2008-02-19 Jan Hubicka <jh@suse.cz>
  22058. PR middle-end/28779
  22059. * tree-inline.c (estimate_num_insns_1): Fix counting of cost of
  22060. call_expr.
  22061. 2008-02-19 H.J. Lu <hongjiu.lu@intel.com>
  22062. PR Ada/35186
  22063. * config/i386/i386-modes.def: Revert the last DI alignment
  22064. change until Ada people can look into it.
  22065. 2008-02-19 Nick Clifton <nickc@redhat.com>
  22066. * opts.c (print_specific_help): Fix typo in --help text.
  22067. 2008-02-19 Jakub Jelinek <jakub@redhat.com>
  22068. PR target/35239
  22069. * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special
  22070. 32-bit inline asm without asm alternatives for host GCC < 3.0.
  22071. 2008-02-19 Richard Guenther <rguenther@suse.de>
  22072. PR tree-optimization/34989
  22073. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
  22074. Allow propagation to INDIRECT_REF if we can simplify only.
  22075. 2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  22076. * c-common.c (warn_for_collisions_1): Use appropriate option when
  22077. warning.
  22078. 2008-02-19 Nick Clifton <nickc@redhat.com>
  22079. PR other/31349
  22080. * opts.c (undocumented_msg): Leave blank unless checking is enabled.
  22081. (handle_options): Fix indentation.
  22082. (print_filtered_help): If no language-specific options were
  22083. displayed tell the user how to list all the options supported by
  22084. the language's front-end.
  22085. (print_specific_help): Fix indentation and remove duplicate line.
  22086. (common_handle_option): Handle the -v option.
  22087. For --help enable the display of undocumented options if the -v
  22088. switch has been included on the command line.
  22089. For --help= check for overlaps in the arguments between the option
  22090. classes and the language names and issue a warning when they
  22091. cannot be disambiguated.
  22092. * c.opt (v): Pass on to the common option handler.
  22093. 2008-02-19 Revital Eres <eres@il.ibm.com>
  22094. * modulo-sched.c (sms_schedule): Change dump message when
  22095. create_ddg function fails.
  22096. (try_scheduling_node_in_cycle): Rename row to cycle.
  22097. (print_partial_schedule): Rename CYCLE to ROW.
  22098. 2008-02-19 Christian Bruel <christian.bruel@st.com>
  22099. Zdenek Dvorak <ook@ucw.cz>
  22100. * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment.
  22101. 2008-02-19 Uros Bizjak <ubizjak@gmail.com>
  22102. PR target/33555
  22103. * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern.
  22104. (*x86_movdicc_0_m1_se): Ditto.
  22105. 2008-02-19 Uros Bizjak <ubizjak@gmail.com>
  22106. * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
  22107. (CMPtype): Define as __gcc_CMPtype.
  22108. * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
  22109. (CMPtype): Define as __gcc_CMPtype.
  22110. 2008-02-19 Hans-Peter Nilsson <hp@axis.com>
  22111. Support valgrind 3.3 for --enable-checking=valgrind.
  22112. * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines
  22113. here.
  22114. [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS.
  22115. [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE.
  22116. [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE.
  22117. * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines.
  22118. Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and
  22119. VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED,
  22120. VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS
  22121. respectively.
  22122. * ggc-zone.c: Similar.
  22123. * ggc-page.c: Similar.
  22124. 2008-02-19 Paul Brook <paul@codesourcery.com>
  22125. PR target/35071
  22126. * config/arm/ieee754-df.S: Fix do_it typo.
  22127. * config/arm/ieee754-sf.S: Fix do_it typo.
  22128. 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
  22129. PR target/35189
  22130. * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
  22131. (OPTION_MASK_ISA_3DNOW_SET): Likewise.
  22132. (OPTION_MASK_ISA_SSE_SET): Likewise.
  22133. (OPTION_MASK_ISA_SSE2_SET): Likewise.
  22134. (OPTION_MASK_ISA_SSE3_SET): Likewise.
  22135. (OPTION_MASK_ISA_SSSE3_SET): Likewise.
  22136. (OPTION_MASK_ISA_SSE4_1_SET): Likewise.
  22137. (OPTION_MASK_ISA_SSE4_2_SET): Likewise.
  22138. (OPTION_MASK_ISA_SSE4_SET): Likewise.
  22139. (OPTION_MASK_ISA_SSE4A_SET): Likewise.
  22140. (OPTION_MASK_ISA_SSE5_SET): Likewise.
  22141. (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
  22142. (OPTION_MASK_ISA_MMX_UNSET): Updated.
  22143. (OPTION_MASK_ISA_3DNOW_UNSET): Updated.
  22144. (OPTION_MASK_ISA_SSE_UNSET): Likewise.
  22145. (OPTION_MASK_ISA_SSE3_UNSET): Likewise.
  22146. (OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
  22147. (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
  22148. (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
  22149. (OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
  22150. (OPTION_MASK_ISA_SSE5_UNSET): Likewise.
  22151. (OPTION_MASK_ISA_SSE4): Removed.
  22152. (ix86_handle_option): Turn on bits in ix86_isa_flags and
  22153. ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for -mXXX.
  22154. (override_options): Don't turn on implied SSE/MMX bits in
  22155. ix86_isa_flags.
  22156. 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
  22157. * config/i386/i386-modes.def: Use 4 byte alignment on DI for
  22158. 32bit host.
  22159. 2008-02-18 Joey Ye <joey.ye@intel.com>
  22160. PR middle-end/34921
  22161. * tree-nested.c (insert_field_into_struct): Set type alignment
  22162. to field alignment if the former is less than the latter.
  22163. 2008-02-18 Jakub Jelinek <jakub@redhat.com>
  22164. * BASE-VER: Set to 4.4.0.
  22165. 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22166. * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
  22167. * doc/cfg.texi: Likewise.
  22168. * doc/extend.texi: Likewise.
  22169. * doc/gty.texi: Likewise.
  22170. * doc/invoke.texi: Likewise.
  22171. * doc/loop.texi: Likewise.
  22172. * doc/md.texi: Likewise.
  22173. * doc/passes.texi: Likewise.
  22174. * doc/rtl.texi: Likewise.
  22175. * doc/sourcebuild.texi: Likewise.
  22176. * doc/tm.texi: Likewise.
  22177. * doc/tree-ssa.texi: Likewise.
  22178. 2008-02-17 Richard Guenther <rguenther@suse.de>
  22179. PR middle-end/35227
  22180. * tree-complex.c (init_parameter_lattice_values): Handle parameters
  22181. without default definition.
  22182. 2008-02-17 Richard Guenther <rguenther@suse.de>
  22183. PR tree-optimization/35231
  22184. * tree-vrp.c (register_edge_assert_for): Do not assume A == 0
  22185. if A | B != 1.
  22186. 2008-02-17 Uros Bizjak <ubizjak@gmail.com>
  22187. Revert:
  22188. 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
  22189. * config/i386/sfp-machine.h (CMPtype): Define as typedef using
  22190. libgcc_cmp_return mode.
  22191. 2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  22192. PR c/28368
  22193. * doc/invoke.texi (-std): Clarify description of -std= and -ansi.
  22194. 2008-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
  22195. * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475
  22196. multilibs.
  22197. 2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22198. * doc/c-tree.texi: Use `@.' where appropriate.
  22199. * doc/extend.texi: Likewise.
  22200. * doc/install.texi: Likewise.
  22201. * doc/invoke.texi: Likewise.
  22202. * doc/loop.texi: Likewise.
  22203. * doc/makefile.texi: Likewise.
  22204. * doc/md.texi: Likewise.
  22205. * doc/passes.texi: Likewise.
  22206. * doc/standards.texi: Likewise.
  22207. * doc/tm.texi: Likewise.
  22208. 2008-02-15 Jakub Jelinek <jakub@redhat.com>
  22209. PR middle-end/35196
  22210. * omp-low.c (expand_omp_for_generic): Don't initialize fd->v
  22211. in entry_bb.
  22212. (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb
  22213. rather than in entry_bb.
  22214. 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
  22215. * config/i386/sfp-machine.h (CMPtype): Define as typedef using
  22216. libgcc_cmp_return mode.
  22217. 2008-02-15 Jakub Jelinek <jakub@redhat.com>
  22218. PR middle-end/35130
  22219. * tree-nested.c (convert_call_expr): Put FRAME.* vars into
  22220. OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.
  22221. 2008-02-15 Richard Guenther <rguenther@suse.de>
  22222. Zdenek Dvorak <ook@ucw.cz>
  22223. PR tree-optimization/35164
  22224. * tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
  22225. * tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
  22226. * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
  22227. Only propagate addresses which do not have abnormal SSA_NAMEs
  22228. in their operands.
  22229. 2008-02-15 Joseph Myers <joseph@codesourcery.com>
  22230. PR target/35088
  22231. * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.
  22232. 2008-02-15 Jan Hubicka <jh@suse.cz>
  22233. PR middle-end/35149
  22234. * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag.
  22235. 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
  22236. PR middle-end/34621
  22237. * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY
  22238. when calculating alignment_pad.
  22239. 2008-02-15 Uros Bizjak <ubizjak@gmail.com>
  22240. * config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
  22241. (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define.
  22242. * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro
  22243. and STACK_BOUNDARY define.
  22244. 2008-02-14 Danny Smith <dannysmith@users.sourceforge.net>
  22245. PR preprocessor/35061
  22246. * c-pragma.c (handle_pragma_pop_macro): Check that
  22247. pushed_macro_table has been allocated.
  22248. 2008-02-14 Eric Botcazou <ebotcazou@adacore.com>
  22249. PR middle-end/35136
  22250. * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
  22251. (force_gimple_operand): Likewise.
  22252. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
  22253. for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
  22254. Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
  22255. (find_interesting_uses_address): Check addressability and alignment
  22256. of the base expression only after substituting bases of IVs into it.
  22257. 2008-02-14 Michael Matz <matz@suse.de>
  22258. PR target/34930
  22259. * function.c (instantiate_virtual_regs_in_insn): Reload address
  22260. before falling back to reloading the whole operand.
  22261. 2008-02-14 Andreas Krebbel <krebbel1@de.ibm.com>
  22262. * config/s390/s390.c (s390_mainpool_start): Emit the pool
  22263. before the first section switch note.
  22264. 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22265. * doc/bugreport.texi: Update copyright years.
  22266. * doc/c-tree.texi: Likewise.
  22267. * doc/cfg.texi: Likewise.
  22268. * doc/cpp.texi: Likewise.
  22269. * doc/cppinternals.texi: Likewise.
  22270. * doc/fragments.texi: Likewise.
  22271. * doc/frontends.texi: Likewise.
  22272. * doc/gcc.texi: Likewise.
  22273. * doc/gty.texi: Likewise.
  22274. * doc/hostconfig.texi: Likewise.
  22275. * doc/implement-c.texi: Likewise.
  22276. * doc/libgcc.texi: Likewise.
  22277. * doc/loop.texi: Likewise.
  22278. * doc/makefile.texi: Likewise.
  22279. * doc/options.texi: Likewise.
  22280. * doc/passes.texi: Likewise.
  22281. * doc/rtl.texi: Likewise.
  22282. * doc/sourcebuild.texi: Likewise.
  22283. * doc/standards.texi: Likewise.
  22284. * doc/tree-ssa.texi: Likewise.
  22285. * doc/trouble.texi: Likewise.
  22286. * doc/extend.texi: Use @: or add comma where appropriate.
  22287. * doc/invoke.texi: Likewise.
  22288. * doc/tm.texi: Likewise.
  22289. 2008-02-14 Alan Modra <amodra@bigpond.net.au>
  22290. PR target/34393
  22291. * config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
  22292. to a reg.
  22293. 2008-02-14 Jesper Nilsson <jesper.nilsson@axis.com>
  22294. * doc/md.texi (clz, ctz): Add reference.
  22295. * doc/rtl.texi (clz, ctz): Likewise.
  22296. 2008-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22297. PR other/35148
  22298. * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
  22299. srcdir.
  22300. 2008-02-13 Andreas Krebbel <krebbel1@de.ibm.com>
  22301. * config/s390/s390.c (struct constant_pool): New field
  22302. emit_pool_after added.
  22303. (s390_mainpool_start): Set the emit_pool_after flag according
  22304. to the section switch notes.
  22305. (s390_mainpool_finish): Consider emit_pool_after when emitting
  22306. the literal pool at the end of the function.
  22307. (s390_chunkify_start): Force literal pool splits at section
  22308. switch notes.
  22309. 2008-02-13 Michael Matz <matz@suse.de>
  22310. PR debug/35065
  22311. * var-tracking.c (clobber_variable_part): Correctly traverse the
  22312. list.
  22313. 2008-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  22314. PR 29673
  22315. * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined.
  22316. Add -fdump-ipa-inline.
  22317. * tree-dump.c (dump_files): Remove tree-inlined dump.
  22318. * tree-pass.h (tree_dump_index): Remove TDI_inlined.
  22319. 2008-02-12 Richard Guenther <rguenther@suse.de>
  22320. PR tree-optimization/35171
  22321. * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with
  22322. default defs.
  22323. 2008-02-12 Richard Guenther <rguenther@suse.de>
  22324. PR middle-end/35163
  22325. * fold-const.c (fold_widened_comparison): Use get_unwidened in
  22326. value-preserving mode. Disallow final truncation.
  22327. 2008-02-12 Eric Botcazou <ebotcazou@adacore.com>
  22328. PR middle-end/35136
  22329. * gimplify.c (force_gimple_operand_bsi): Move SSA renaming
  22330. code from here to...
  22331. (force_gimple_operand): ...here.
  22332. 2008-02-12 Jakub Jelinek <jakub@redhat.com>
  22333. PR c++/35144
  22334. * tree-sra.c (sra_build_assignment): fold_convert SRC if copying
  22335. non-compatible pointers.
  22336. (generate_element_copy): If SRC and DST are RECORD_TYPEs with
  22337. different FIELD_DECLs, try harder by comparing field offsets, sizes
  22338. and types.
  22339. PR inline-asm/35160
  22340. * function.c (match_asm_constraints_1): Don't replace the same input
  22341. multiple times.
  22342. 2008-02-12 Anatoly Sokolov <aesok@post.ru>
  22343. * config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
  22344. * config/avr/avr.c (expand_prologue): Save RAMPZ register.
  22345. (expand_epilogue): Restore RAMPZ register.
  22346. * config/avr/avr.md (RAMPZ_ADDR): New constant.
  22347. 2008-02-11 Kai Tietz <kai.tietz@onevision.com>
  22348. * config/i386/cygwin.asm (__alloca): Correct calling
  22349. convention and alignment.
  22350. (__chkstk): Force 8 byte stack alignment.
  22351. 2008-02-11 Uros Bizjak <ubizjak@gmail.com>
  22352. Richard Guenther <rguenther@suse.de>
  22353. PR tree-optimization/33992
  22354. * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
  22355. the zero we compare against.
  22356. 2008-02-10 Danny Smith <dannysmith@users.sourceforge.net>
  22357. PR libfortran/35063
  22358. * gthr-win32.h (__gthread_mutex_destroy_function): New function
  22359. to CloseHandle after unlocking to prevent accumulation of handle
  22360. count.
  22361. 2008-02-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  22362. PR middle_end/34150
  22363. * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
  22364. pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note
  22365. and update LABEL_NUSES during and after reload.
  22366. 2008-02-08 Steven Bosscher <stevenb.gcc@gmail.com>
  22367. PR middle-end/34627
  22368. * combine.c (simplify_if_then_else): Make sure the comparison is
  22369. against const0_rtx when simplifying to (abs x) or (neg (abs X)).
  22370. 2008-02-08 Richard Sandiford <rsandifo@nildram.co.uk>
  22371. PR bootstrap/35051
  22372. * double-int.h: Don't include gmp.h for GENERATOR_FILEs.
  22373. (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs.
  22374. * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs.
  22375. (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs.
  22376. * tree.h (get_type_static_bounds): Likewise.
  22377. 2008-02-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22378. * doc/invoke.texi (Option Summary, C++ Dialect Options)
  22379. (Objective-C and Objective-C++ Dialect Options, Warning Options):
  22380. Make -Wfoo language annotations match what the compiler outputs.
  22381. 2008-02-08 Sa Liu <saliu@de.ibm.com>
  22382. * config/spu/spu-builtins.def: Fixed wrong parameter type in spu
  22383. intrinsics spu_convts, spu_convtu, spu_convtf.
  22384. 2008-02-08 Hans-Peter Nilsson <hp@axis.com>
  22385. * doc/extend.texi (Function Attributes) <noinline>: Mention
  22386. asm ("") as method to keep calls.
  22387. 2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  22388. PR other/32754
  22389. * doc/options.texi (Options): Replace references to opts.sh with
  22390. optc-gen.awk.
  22391. * opts-common.c: Likewise.
  22392. * optc-gen.awk: Likewise.
  22393. 2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com>
  22394. * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.
  22395. 2008-02-07 Richard Henderson <rth@redhat.com>
  22396. PR rtl-opt/33410
  22397. * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an
  22398. EXPR_LIST for the REG_EQUAL instead of a comparison with a
  22399. funny mode.
  22400. 2008-02-07 Uros Bizjak <ubizjak@gmail.com>
  22401. PR tree-optimization/35085
  22402. * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update
  22403. for operand entry oe2 in addition to operand entry oe3 in order to
  22404. expose more opportunities for vectorizer sum reduction.
  22405. 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22406. PR other/35107
  22407. * Makefile.in (LIBS): Remove $(GMPLIBS).
  22408. (cc1-dummy, cc1): Add $(GMPLIBS).
  22409. 2008-02-06 Jan Hubicka <jh@suse.cz>
  22410. PR target/23322
  22411. * i386.md (moddf_integer): Do not produce partial memory stalls for
  22412. targets where it hurts.
  22413. 2008-02-06 Uros Bizjak <ubizjak@gmail.com>
  22414. PR target/35083
  22415. * optabs.c (expand_float): Do not check for decimal modes when
  22416. expanding unsigned integer through signed conversion.
  22417. 2008-02-06 Nick Clifton <nickc@redhat.com>
  22418. * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup
  22419. inside the clobber with a match_operand and duplicated operand
  22420. number in the constraint.
  22421. (ineqbranchsi): Delete redundant comment.
  22422. 2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org>
  22423. * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add
  22424. builtin_define ("__USE_INIT_FINI__").
  22425. * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add
  22426. -msx multilibs.
  22427. * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.
  22428. 2008-02-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22429. PR documentation/30330
  22430. * doc/invoke.texi (C++ Dialect Options)
  22431. (Objective-C and Objective-C++ Dialect Options, Warning Options):
  22432. For each warning option -Wfoo that allows -Wno-foo, ensure both
  22433. -Wfoo and -Wno-foo are listed in the option index. Fix index
  22434. entry of -Wswitch-default, index -Wnormalized= including the
  22435. `=', and -Wlarger-than-@var{len} including @var{len}.
  22436. 2008-02-05 Uros Bizjak <ubizjak@gmail.com>
  22437. * config/i386/i386.md (floatunssisf2): Use
  22438. ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
  22439. (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
  22440. Macroize expander using MODEF mode iterator.
  22441. 2008-02-05 Diego Novillo <dnovillo@google.com>
  22442. http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
  22443. PR 33738
  22444. * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738.
  22445. 2008-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22446. PR other/35070
  22447. * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
  22448. 2008-02-05 H.J. Lu <hongjiu.lu@intel.com>
  22449. PR target/35084
  22450. * config/i386/i386.c (ix86_function_sseregparm): Add an arg
  22451. to indicate if a message should be generated.
  22452. (init_cumulative_args): Updated.
  22453. (function_value_32): Likewise.
  22454. 2008-02-05 Joseph Myers <joseph@codesourcery.com>
  22455. * doc/include/texinfo.tex: Update to version 2008-02-04.16.
  22456. 2008-02-05 Uros Bizjak <ubizjak@gmail.com>
  22457. PR target/35083
  22458. * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
  22459. Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.
  22460. 2008-02-04 Diego Novillo <dnovillo@google.com>
  22461. http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
  22462. PR 33738
  22463. * tree-vrp.c (vrp_evaluate_conditional): With
  22464. -Wtype-limits, emit a warning when comparing against a
  22465. constant outside the natural range of OP0's type.
  22466. 2008-02-04 Richard Guenther <rguenther@suse.de>
  22467. PR middle-end/33631
  22468. * expr.c (count_type_elements): Give for unions instead of
  22469. guessing.
  22470. 2008-02-04 Richard Guenther <rguenther@suse.de>
  22471. PR middle-end/35043
  22472. * gimplify.c (gimplify_init_ctor_eval): Convert array indices
  22473. to TYPE_DOMAINs base type instead of using bitsizetype here.
  22474. 2008-02-03 Jason Merrill <jason@redhat.com>
  22475. * print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
  22476. 2008-02-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  22477. PR other/29972
  22478. * doc/invoke.texi (C++ Dialect Options, Optimize Options)
  22479. (HPPA Options, i386 and x86-64 Options, IA-64 Options)
  22480. (RS/6000 and PowerPC Options): Fix typos and markup.
  22481. * doc/passes.texi (Tree-SSA passes): Likewise.
  22482. 2008-02-02 Michael Matz <matz@suse.de>
  22483. PR target/35045
  22484. * postreload-gcse.c (record_last_reg_set_info_regno): Renamed
  22485. from record_last_reg_set_info.
  22486. (record_last_reg_set_info): Take an RTX argument, iterate over all
  22487. constituent hardregs.
  22488. (record_last_set_info, record_opr_changes): Change calls to
  22489. new signature or to record_last_reg_set_info_regno.
  22490. 2008-02-02 Gerald Pfeifer <gerald@pfeifer.com>
  22491. * doc/extend.texi (X86 Built-in Functions): Fix grammar.
  22492. 2008-02-01 Hans-Peter Nilsson <hp@axis.com>
  22493. PR rtl-optimization/34773
  22494. * reg-notes.def (EQUAL): Mention significance of combination of
  22495. REG_EQUAL and REG_RETVAL.
  22496. * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
  22497. insn that has a REG_RETVAL.
  22498. 2008-02-01 Roger Sayle <roger@eyesopen.com>
  22499. PR bootstrap/33781
  22500. * configure.ac (--enable-fixed-point): Disable unless explicitly
  22501. requested on IRIX.
  22502. * configure: Regenerate.
  22503. 2008-02-01 Richard Guenther <rguenther@suse.de>
  22504. PR other/35042
  22505. * invoke.texi (-finline-limit): Remove no longer true parts
  22506. of the documentation. Note that there is no default value.
  22507. 2008-02-01 Andrew Pinski <pinskia@gmail.com>
  22508. Mark Mitchell <mark@codesourcery.com>
  22509. Ben Elliston <bje@au.ibm.com>
  22510. PR c/29326
  22511. * doc/extend.texi (Other Builtins): Document.
  22512. 2008-01-31 Tom Browder <tom.browder@gmail.com>
  22513. * doc/c-tree.texi (Types): Fix grammar.
  22514. (Expression trees): Ditto.
  22515. * doc/passes.texi (Tree-SSA passes): Ditto.
  22516. * doc/configterms.texi (Configure Terms): Fix typo.
  22517. * doc/cpp.texi (Common Predefined Macros): Ditto.
  22518. * doc/md.texi (Machine Constraints): Ditto.
  22519. * doc/makefile.texi (Makefile): Add comma.
  22520. 2008-01-31 Tom Browder <tom.browder@gmail.com>
  22521. Gerald Pfeifer <gerald@pfeifer.com>
  22522. * doc/sourcebuild.texi (Front End): Remove references to CVS
  22523. and CVSROOT/modules.
  22524. (Texinfo Manuals): Replace reference to CVS by one to SVN.
  22525. (Back End): Remove reference to CVS.
  22526. 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk>
  22527. PR target/34900
  22528. * config/mips/mips.c (gen_load_const_gp): New function, taking a
  22529. comment from...
  22530. (mips16_gp_pseudo_reg): ...here.
  22531. * config/mips/mips.md (load_const_gp): Replace with...
  22532. (load_const_gp_<mode>): ...this :P-based insn.
  22533. 2008-01-31 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  22534. * doc/invoke.texi (-ansi): Mention explicitly corresponding -std=
  22535. options. Minor fixes.
  22536. (-std): Move reference to standards closer to where language
  22537. standards are first mentioned.
  22538. 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk>
  22539. PR rtl-optimization/34995
  22540. * reload.c (alternative_allows_const_pool_ref): Take an rtx
  22541. parameter and return a bool. If the rtx parameter is nonnull,
  22542. check that it satisfies an EXTRA_MEMORY_CONSTRAINT.
  22543. (find_reloads): Update call accordingly. Pass the new operand
  22544. if it needed no address reloads, otherwise pass null.
  22545. 2008-01-30 Richard Henderson <rth@redhat.com>
  22546. PR c/34993
  22547. * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
  22548. for unbounded arrays.
  22549. 2008-01-30 Silvius Rus <rus@google.com>
  22550. * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg.
  22551. 2008-01-30 Jan Hubicka <jh@suse.cz>
  22552. PR target/34982
  22553. * i386.c (init_cumulative_args): Use real function declaration when
  22554. calling locally.
  22555. 2008-01-30 Richard Sandiford <rsandifo@nildram.co.uk>
  22556. PR rtl-optimization/34998
  22557. * global.c (build_insn_chain): Treat non-subreg_lowpart
  22558. SUBREGs of pseudos as clobbering all the words covered by the
  22559. SUBREG, not just all the bytes.
  22560. * ra-conflict.c (clear_reg_in_live): Likewise. Take the
  22561. original df_ref rather than an extract parameter.
  22562. (global_conflicts): Update call accordingly.
  22563. 2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com>
  22564. * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange
  22565. the overflow check to make it easier to read.
  22566. (__fixtfdi): Change the type of the ll member in union
  22567. long_double to UDItype_x.
  22568. 2008-01-30 Jakub Jelinek <jakub@redhat.com>
  22569. PR middle-end/34969
  22570. * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
  22571. * cgraph.c (cgraph_update_edges_for_call_stmt): New function.
  22572. * tree-inline.c (fold_marked_statements): Call
  22573. cgraph_update_edges_for_call_stmt if folding a call statement.
  22574. * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
  22575. debug_generic_stmt calls, reset it back afterwards.
  22576. PR c/35017
  22577. * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
  22578. static decls.
  22579. * c-typeck.c (build_external_ref): Don't pedwarn about
  22580. static vars in current function's scope.
  22581. 2008-01-29 Joseph Myers <joseph@codesourcery.com>
  22582. * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.
  22583. 2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org>
  22584. PR c/35002
  22585. * ipa-struct-reorg.c: Fix spelling.
  22586. * params.def: Ditto.
  22587. 2008-01-29 Richard Guenther <rguenther@suse.de>
  22588. PR middle-end/35006
  22589. * tree-inline.h (struct copy_body_data): Add remapping_type_depth
  22590. field.
  22591. * tree-inline.c (remap_type): Increment remapping_type_depth
  22592. around remapping types.
  22593. (copy_body_r): Only add referenced variables if they are referenced
  22594. from code, not types.
  22595. 2008-01-29 Douglas Gregor <doug.gregor@gmail.com>
  22596. PR c++/34055
  22597. PR c++/34103
  22598. PR c++/34219
  22599. PR c++/34606
  22600. PR c++/34753
  22601. PR c++/34754
  22602. PR c++/34755
  22603. PR c++/34919
  22604. PR c++/34961
  22605. * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
  22606. qualifiers for an ERROR_MARK_NODE or a NULL_TREE.
  22607. 2008-01-28 Andy Hutchinson <hutchinsonandy@netscape.net>
  22608. PR target/34412
  22609. * config/avr/avr.c (expand_prologue): Use correct QI mode frame
  22610. pointer for tiny stack.
  22611. 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org>
  22612. * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.
  22613. 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org>
  22614. * config/vx-common.h: Fix typo in comment.
  22615. 2008-01-28 Ian Lance Taylor <iant@google.com>
  22616. PR c++/34862
  22617. PR c++/33407
  22618. * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
  22619. coalesce pointers if they have different DECL_NO_TBAA_P values.
  22620. * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
  22621. between variables with different DECL_NO_TBAA_P values.
  22622. 2008-01-28 Nathan Froyd <froydnj@codesourcery.com>
  22623. PR 31535
  22624. * config/rs6000/rs6000.c (small_data_operand): Vectors and floats
  22625. are not legitimate small data references on SPE targets.
  22626. 2008-01-28 David Daney <ddaney@avtrex.com>
  22627. * doc/install.texi (mips-*-*): Recommend binutils 2.18.
  22628. 2008-01-28 David Daney <ddaney@avtrex.com>
  22629. * doc/install.texi (--disable-libgcj-bc): Reword documentation.
  22630. 2008-01-27 Joseph Myers <joseph@codesourcery.com>
  22631. * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
  22632. m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
  22633. *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
  22634. *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
  22635. hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
  22636. i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
  22637. i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
  22638. vax-*-bsd*, vax-*-ultrix*): Mark obsolete.
  22639. 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
  22640. * basic-block.h (condjump_equiv_p): Fix comment.
  22641. 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
  22642. * tree-pretty-print.c (print_generic_decl, print_generic_stmt,
  22643. print_generic_stmt_indented): Fix comment.
  22644. 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
  22645. * configure.ac (__stack_chk_fail): Add detecion for availability
  22646. of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
  22647. * configure: Regenerate.
  22648. 2008-01-26 Maxim Kuvyrkov <maxim@codesourcery.com>
  22649. PR middle-end/34688
  22650. * final.c (output_addr_const): Handle TRUNCATE.
  22651. 2008-01-26 Zdenek Dvorak <ook@ucw.cz>
  22652. PR target/34711
  22653. * tree-ssa-loop-ivopts.c (comp_cost): New type.
  22654. (zero_cost, infinite_cost): New constants.
  22655. (struct cost_pair): Change type of cost to comp_cost.
  22656. (struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
  22657. (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
  22658. New functions.
  22659. (set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
  22660. split_address_cost, ptr_difference_cost, difference_cost,
  22661. get_computation_cost_at, get_computation_cost,
  22662. determine_use_iv_cost_generic, determine_use_iv_cost_address,
  22663. determine_use_iv_cost_condition, determine_use_iv_costs,
  22664. cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
  22665. iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
  22666. iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
  22667. Change type of cost to comp_cost.
  22668. (determine_iv_cost): Increase cost of non-original ivs, instead
  22669. of decreasing the cost of original ones.
  22670. (get_address_cost): Indicate the complexity of the addressing mode
  22671. in comp_cost.
  22672. (try_add_cand_for): Prefer using ivs not specific to some object.
  22673. * tree-flow.h (force_expr_to_var_cost): Declaration removed.
  22674. 2008-01-26 Peter Bergner <bergner@vnet.ibm.com>
  22675. Janis Johnson <janis187@us.ibm.com>
  22676. PR target/34814
  22677. * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
  22678. (TARGET_INSTANTIATE_DECLS): Likewise.
  22679. * target.h (expand_to_rtl_hook): New target hook.
  22680. (instantiate_decls): Likewise.
  22681. * function.c (instantiate_decl): Make non-static. Rename to...
  22682. (instantiate_decl_rtl): ... this.
  22683. (instantiate_expr): Use instantiate_decl_rtl.
  22684. (instantiate_decls_1): Likewise.
  22685. (instantiate_decls): Likewise.
  22686. (instantiate_virtual_regs: Call new instantiate_decls taget hook.
  22687. * function.h (instantiate_decl_rtl): Add prototype.
  22688. * cfgexpand.c (target.h): New include.
  22689. (tree_expand_cfg): Call new expand_to_rtl_hook target hook.
  22690. * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
  22691. (TARGET_INSTANTIATE_DECLS): Likewise.
  22692. (TARGET_INITIALIZER): New target hooks added.
  22693. * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
  22694. New prototype.
  22695. * config/rs6000/rs6000.c (tree-flow.h): New include.
  22696. (machine_function): Add sdmode_stack_slot field.
  22697. (rs6000_alloc_sdmode_stack_slot): New function.
  22698. (rs6000_instantiate_decls): Likewise.
  22699. (rs6000_secondary_memory_needed_rtx): Likewise.
  22700. (rs6000_check_sdmode): Likewise.
  22701. (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
  22702. (TARGET_INSTANTIATE_DECLS): Likewise.
  22703. (rs6000_hard_regno_mode_ok): Allow SDmode.
  22704. (num_insns_constant): Likewise. Handle _Decimal32 constants.
  22705. (rs6000_emit_move): Handle SDmode.
  22706. (function_arg_advance): Likewise.
  22707. (function_arg): Likewise.
  22708. (rs6000_gimplify_va_arg): Likewise. Add special handling of
  22709. SDmode var args for 32-bit compiles.
  22710. (rs6000_secondary_reload_class): Handle SDmode.
  22711. (rs6000_output_function_epilogue): Likewise.
  22712. (rs6000_function_value): Simplify if statement.
  22713. (rs6000_libcall_value): Likewise.
  22714. * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
  22715. (SECONDARY_MEMORY_NEEDED_RTX): Add define.
  22716. * config/rs6000/dfp.md (movsd): New define_expand and splitter.
  22717. (movsd_hardfloat): New define_insn.
  22718. (movsd_softfloat): Likewise.
  22719. (movsd_store): Likewise.
  22720. (movsd_load): Likewise.
  22721. (extendsddd2): Likewise.
  22722. (extendsdtd2): Likewise.
  22723. (truncddsd2): Likewise.
  22724. (movdd_hardfloat64): Fixup comment.
  22725. (UNSPEC_MOVSD_LOAD): New constant.
  22726. (UNSPEC_MOVSD_STORE): Likewise.
  22727. 2008-01-26 Jakub Jelinek <jakub@redhat.com>
  22728. PR c++/34965
  22729. * c-pretty-print.c (pp_c_exclusive_or_expression): Handle
  22730. TRUTH_XOR_EXPR.
  22731. (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
  22732. (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
  22733. (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
  22734. and TRUTH_XOR_EXPR.
  22735. 2008-01-26 David Edelsohn <edelsohn@gnu.org>
  22736. PR target/34794
  22737. * config.gcc: Separate AIX 5.3 from AIX 6.1.
  22738. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
  22739. __LONGDOUBLE128 too.
  22740. * config/rs6000/aix61.h: New file.
  22741. 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
  22742. PR rtl-optimization/34959
  22743. * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
  22744. popcount and parity rtxes the same mode as their operand.
  22745. Truncate or extend the result to the return value's mode
  22746. if necessary.
  22747. 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
  22748. PR target/34981
  22749. * config/mips/mips-protos.h (mips_expand_call): Return an rtx.
  22750. * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO
  22751. to GOT_VERSION_REGNUM.
  22752. (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0.
  22753. (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT.
  22754. * config/mips/mips.c (mips_emit_call_insn): New function.
  22755. (mips_call_tls_get_addr): Call mips_expand_call directly.
  22756. (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than
  22757. emit_call_insn.
  22758. (mips16_build_call_stub): Likewise. Return the call insn or null.
  22759. (mips_expand_call): Update the call to mips16_build_call_stub
  22760. accordingly and a remove redundant condition. Assert that MIPS16
  22761. stubs do not use lazy binding. Use mips_emit_call_insn and return
  22762. the call insn.
  22763. (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if
  22764. TARGET_USE_GOT.
  22765. (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM.
  22766. (mips_avoid_hazard): Remove hazard_set handling.
  22767. * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to...
  22768. (UNSPEC_RESTORE_GP): ...this.
  22769. (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants.
  22770. (FAKE_CALL_REGNO): Rename to...
  22771. (GOT_VERSION_REGNUM): ...this.
  22772. (type): Add "ghost" value. Add an associated insn reservation.
  22773. (hazard_set): Remove.
  22774. (exception_receiver): Rename to...
  22775. (restore_gp): ...this and update the unspec identifier accordingly.
  22776. (exception_receiver, nonlocal_got_receiver): New expanders.
  22777. (load_call<mode>): Use GOT_VERSION_REGNUM. Don't set
  22778. FAKE_CALL_REGNO. Remove hazard_set attribute.
  22779. (set_got_version, update_got_version): New patterns.
  22780. 2008-01-26 Danny Smith <dannysmith@users.sourceforge.net>
  22781. PR target/34970
  22782. * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define.
  22783. 2008-01-25 Joseph Myers <joseph@codesourcery.com>
  22784. PR other/31955
  22785. * doc/install.texi2html: Generate gcc-vers.texi.
  22786. 2008-01-25 DJ Delorie <dj@redhat.com>
  22787. * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
  22788. 2008-01-25 Joseph Myers <joseph@codesourcery.com>
  22789. * config/c4x: Remove directory.
  22790. * config.gcc (crx-*, mt-*): Mark obsolete.
  22791. (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
  22792. h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
  22793. sh-*-rtemscoff*): Remove cases.
  22794. * defaults.h (C4X_FLOAT_FORMAT): Remove.
  22795. * real.c (encode_c4x_single, decode_c4x_single,
  22796. encode_c4x_extended, decode_c4x_extended, c4x_single_format,
  22797. c4x_extended_format): Remove.
  22798. * real.h (c4x_single_format, c4x_extended_format): Remove.
  22799. * doc/extend.texi (interrupt, naked): Remove mention of attributes
  22800. on C4x.
  22801. (Pragmas): Remove comment about c4x pragmas.
  22802. * doc/install.texi (c4x): Remove target-specific instructions.
  22803. * doc/invoke.texi (TMS320C3x/C4x Options): Remove.
  22804. * doc/md.texi (Machine Constraints): Remove C4x documentation.
  22805. * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
  22806. refer to C4x source files as examples.
  22807. (C4X_FLOAT_FORMAT): Remove documentation.
  22808. 2008-01-25 Bernd Schmidt <bernd.schmidt@analog.com>
  22809. * config/bfin/bfin.c (override_options): Reorder tests so that
  22810. flag_pic gets enabled for -msep-data.
  22811. 2008-01-25 Richard Guenther <rguenther@suse.de>
  22812. PR middle-end/32244
  22813. * expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR
  22814. to its bitfield precision if required.
  22815. 2008-01-25 Jakub Jelinek <jakub@redhat.com>
  22816. PR middle-end/33880
  22817. * tree-nested.c (walk_omp_for): New function.
  22818. (convert_nonlocal_reference, convert_local_reference): Call
  22819. walk_omp_for on OMP_FOR.
  22820. (convert_call_expr): Call walk_body on OMP_FOR's
  22821. OMP_FOR_PRE_INIT_BODY.
  22822. 2008-01-25 Richard Guenther <rguenther@suse.de>
  22823. PR tree-optimization/34966
  22824. * tree-ssa-math-opts.c (execute_cse_sincos_1): For all but
  22825. default defs and PHI_NODEs we have to insert after the
  22826. defining statement.
  22827. 2008-01-24 Nick Clifton <nickc@redhat.com>
  22828. * config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD):
  22829. Provide a default definition.
  22830. (LIBGCC2_UNITS_PER_WORD): Likewise.
  22831. * config/stormy16/stormy16.c: Include df.h for the prototype
  22832. for df_regs_ever_live_p.
  22833. (xstormy16_expand_builtin_va_start): Convert the stack offset
  22834. into a component_ref and then use POINTER_PLUS_EXPR to add it
  22835. to the incoming_virtual_args_rtx.
  22836. (xstormy16_gimplify_va_arg_expr): Rename to
  22837. xstormy16_gimplify_va_arg_expr.
  22838. Use POINTER_PLUS_EXPR when performing pointer arithmetic.
  22839. (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed
  22840. xstormy16_gimplify_va_arg_expr.
  22841. Fix up some formatting issues.
  22842. * config/stormy16/stormy16.c (xstormy16_carry_plus_operand):
  22843. Move to predicates.md.
  22844. (xs_hi_general_operand): Likewise.
  22845. (xs_hi_nonmemory_operand): Likewise.
  22846. * config/stormy16/predicates.md:
  22847. (xstormy16_carry_plus_operand): New predicate.
  22848. (xs_hi_general_operand): New predicate.
  22849. (xs_hi_nonmemory_operand): New predicate.
  22850. * config/stormy16/stormy16-protos.h:
  22851. (xstormy16_carry_plus_operand): Delete prototype.
  22852. (xs_hi_general_operand): Likewise.
  22853. (xs_hi_nonmemory_operand): Likewise.
  22854. * config/storm16/stormy16.md (addhi3): Remove earlyclobber
  22855. modifiers as they are no longer needed and they can trigger
  22856. reload spill failures.
  22857. * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup
  22858. with a match_operand in order to help reload.
  22859. * config/storm16/stormy16.md (movhi_internal): Replace 'r'
  22860. constraint with 'e' for the 8th alternative as this version of
  22861. the mov.w instruction only accepts the lower 8 registers.
  22862. 2008-01-25 Uros Bizjak <ubizjak@gmail.com>
  22863. PR target/34856
  22864. * simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]:
  22865. Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant
  22866. vector elements.
  22867. 2008-01-25 Jakub Jelinek <jakub@redhat.com>
  22868. PR middle-end/33333
  22869. * gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY.
  22870. 2008-01-25 Golovanevsky Olga <olga@il.ibm.com>
  22871. * ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs):
  22872. New functions.
  22873. (remove_structure): Update allocations list before removing structure.
  22874. 2008-01-25 Golovanevsky Olga <olga@il.ibm.com>
  22875. * ipa-struct-reorg.c (is_safe_cond_expr,
  22876. create_new_stmts_for_cond_expr): Use integer_zerop function,
  22877. that recognize not only zero-pointer, but zero-integer too.
  22878. 2008-01-25 Ben Elliston <bje@au.ibm.com>
  22879. PR other/22232
  22880. * fixproto: Escape "." in sed expression that strips leading "./".
  22881. 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
  22882. PR driver/34904
  22883. * gcc.c (SWITCH_OK): Removed.
  22884. (SWITCH_LIVE): Changed to bit.
  22885. (SWITCH_FALSE): Likewise.
  22886. (SWITCH_IGNORE): Likewise.
  22887. (switchstr): Change live_cond to unsigned int.
  22888. (process_command): Replace SWITCH_OK with 0.
  22889. (do_self_spec): Likewise.
  22890. (set_collect_gcc_options): Check the SWITCH_IGNORE bit.
  22891. (give_switch): Likewise.
  22892. (used_arg): Likewise.
  22893. (do_spec_1): Set the SWITCH_IGNORE bit.
  22894. (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
  22895. bits. Set the SWITCH_LIVE bit.
  22896. 2008-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
  22897. * config/s390/s390.h (MOVE_RATIO): Define new target macro.
  22898. 2008-01-24 Richard Sandiford <rsandifo@nildram.co.uk>
  22899. PR tree-optimization/34472
  22900. * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA
  22901. parameter to a "bool *" and set *DATA to false if there is
  22902. an unsafe access. Do not delete the structure here.
  22903. (check_cond_exprs): Delete it here instead.
  22904. (check_cond_exprs, exclude_cold_structs): Do not increase
  22905. I when removing a structure.
  22906. 2008-01-24 Uros Bizjak <ubizjak@gmail.com>
  22907. PR target/34856
  22908. * config/i386/i386.c (ix86_expand_vector_init): Consider only
  22909. CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements.
  22910. 2008-01-24 Jakub Jakub Jelinek <jakub@redhat.com>
  22911. PR middle-end/34934
  22912. * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of
  22913. a fixed vector for stack.
  22914. 2008-01-24 Ben Elliston <bje@au.ibm.com>
  22915. PR c++/25701
  22916. * doc/gcc.texi (Software development): Add a direntry for g++.
  22917. 2008-01-23 Hans-Peter Nilsson <hp@axis.com>
  22918. * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop
  22919. stale and straggling -fforce-addr comments above.
  22920. * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't
  22921. define.
  22922. * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define.
  22923. * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define.
  22924. 2008-01-23 Michael Matz <matz@suse.de>
  22925. PR debug/34895
  22926. * dwarf2out.c (force_type_die): Use modified_type_die instead of
  22927. gen_type_die.
  22928. 2008-01-23 Andreas Krebbel <krebbel1@de.ibm.com>
  22929. * ipa-struct-reorg.c (create_new_malloc): Use pointer type as
  22930. malloc result type.
  22931. 2008-01-23 Anatoly Sokolov <aesok@post.ru>
  22932. * config/avr/avr.c (avr_current_arch): New variable.
  22933. (avr_arch_types): Add 'avr31' and 'avr51' entries.
  22934. (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'.
  22935. (avr_mcu_types): Add 'avr31' and 'avr51' architectures.
  22936. (avr_override_options): Init 'avr_current_arch'.
  22937. (base_arch_s): Move from here...
  22938. * config/avr/avr.h (base_arch_s): ... here. Add new members
  22939. 'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename
  22940. 'mega' to 'have_jmp_call'.
  22941. (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__",
  22942. "__AVR_HAVE_RAMPZ__", "__AVR_HAVE_ELPM__" and "__AVR_HAVE_ELPMX__"
  22943. macros.
  22944. (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51'
  22945. architectures.
  22946. * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
  22947. MULTILIB_MATCHES): Ditto.
  22948. 2008-01-23 Richard Guenther <rguenther@suse.de>
  22949. PR middle-end/31529
  22950. * cgraphunit.c (cgraph_reset_node): Always mark the node
  22951. not reachable if it is not queued already.
  22952. 2008-01-23 Bernd Schmidt <bernd.schmidt@analog.com>
  22953. * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
  22954. * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere.
  22955. (cputype_selected): New static variable.
  22956. (bfin_handle_option): Set it if -mcpu is used.
  22957. (override_option): Select default set of workarounds if no cpu type
  22958. selected on the command line.
  22959. (workaround_rts_anomaly): Only run if ENABLE_WA_RETS.
  22960. From Michael Frysinger <michael.frysinger@analog.com>
  22961. * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add
  22962. BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526.
  22963. * config/bfin/elf.h (LIB_SPEC): Use proper linker script
  22964. for bf547, bf523, bf524, and bf526.
  22965. * config/bfin/bfin.c (bfin_cpus[]): Add bf547, bf523, bf524, and
  22966. bf526.
  22967. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
  22968. __ADSPBF523__ for bf523, __ADSPBF524__ for bf524,
  22969. __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as
  22970. __ADSPBF547__ and __ADSPBF54x__ for bf547.
  22971. * doc/invoke.texi (Blackfin Options): Document that
  22972. -mcpu now accept bf547, bf523, bf524, and bf526.
  22973. 2008-01-22 Eric Botcazou <ebotcazou@adacore.com>
  22974. PR rtl-optimization/34628
  22975. * combine.c (try_combine): Stop and undo after the first combination
  22976. if an autoincrement side-effect on the first insn has effectively
  22977. been lost.
  22978. 2008-01-22 David Edelsohn <edelsohn@gnu.org>
  22979. PR target/34529
  22980. * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
  22981. Offset addresses are not valid for Altivec or paired float modes.
  22982. 2008-01-22 Jakub Jelinek <jakub@redhat.com>
  22983. PR c++/34607
  22984. * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for
  22985. if DECL_INITIAL (decl) is error_mark_node.
  22986. PR c++/34914
  22987. * c-common.c (handle_vector_size_attribute): Only allow
  22988. integral, scalar float and fixed point types. Handle OFFSET_TYPE
  22989. the same way as pointer, array etc. types.
  22990. * tree.c (reconstruct_complex_type): Handle OFFSET_TYPE.
  22991. PR c++/34917
  22992. * tree.c (build_type_attribute_qual_variant): Call
  22993. build_qualified_type if attributes are equal, but quals are not.
  22994. 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  22995. PR 32102
  22996. * doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1.
  22997. * flags.h (warn_strict_aliasing): Remove.
  22998. (warn_strict_overflow): Remove.
  22999. * opts.c (warn_strict_aliasing): Remove.
  23000. (warn_strict_overflow): Remove.
  23001. * c-opts.c (c_common_handle_option): -Wall only sets
  23002. -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized.
  23003. (c_common_post_options): Give default values to -Wstrict-aliasing
  23004. and -Wstrict-overflow if they are uninitialized.
  23005. * common.opt (Wstrict-aliasing): Specify Var and Init.
  23006. (Wstrict-overflow): Likewise.
  23007. 2008-01-22 Kenneth Zadeck <zadeck@naturalbridge.com>
  23008. PR rtl-optimization/26854
  23009. PR rtl-optimization/34400
  23010. PR rtl-optimization/34884
  23011. * ddg.c (create_ddg_dep_from_intra_loop_link): Use
  23012. DF_RD->gen.
  23013. * df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted
  23014. (df_rd_bb_info.expanded_lr_out): Deleted
  23015. * loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag.
  23016. * loop_iv.c (iv_analysis_loop_init): Ditto. * df-problems.c
  23017. (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
  23018. df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
  23019. Removed code to allocate, initialize or free expanded_lr_out.
  23020. (df_rd_bb_local_compute_process_def): Restructured to make more
  23021. understandable.
  23022. (df_rd_confluence_n): Removed code to no apply invalidate_by_call
  23023. sets if the sets are being trimmed.
  23024. 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
  23025. PR bootstrap/32287
  23026. * configure.ac (ld_vers): Support GNU linker version xx.xx.*
  23027. (as_vers): Likewise.
  23028. * configure: Regenerated.
  23029. 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  23030. PR middle-end/33092
  23031. * tree-pass.h (pass_build_alias): New pass.
  23032. * tree-ssa-alias.c (gate_build_alias): New.
  23033. (pass_build_alias): New.
  23034. * passes.c (init_optimization_passes): Add pass_build_alias after
  23035. pass_create_structure_vars.
  23036. 2008-01-22 Wolfgang Gellerich <gellerich@de.ibm.com>
  23037. * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER):
  23038. Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER.
  23039. (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to
  23040. S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER.
  23041. (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to
  23042. S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER.
  23043. (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to
  23044. S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER.
  23045. (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant.
  23046. (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant.
  23047. (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant.
  23048. (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant.
  23049. * config/s390/s390.md (FP_ALL): New mode iterator.
  23050. (_d): New mode attribute.
  23051. ("*signbit<mode>2>"): Changed mode of first operand.
  23052. ("isinf<mode>2"): Changed mode of first operand.
  23053. ("*TDC_insn"): Adaptation for DFP modes.
  23054. 2008-01-22 Ben Elliston <bje@au.ibm.com>
  23055. * tree.c (check_qualified_type): Improve function description.
  23056. 2008-01-21 Jason Merrill <jason@redhat.com>
  23057. PR c++/34196
  23058. * tree.h (TRY_CATCH_IS_CLEANUP): New macro.
  23059. * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR
  23060. if it is set.
  23061. 2008-01-21 DJ Delorie <dj@redhat.com>
  23062. * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not
  23063. return zero.
  23064. 2008-01-21 Richard Guenther <rguenther@suse.de>
  23065. PR middle-end/34856
  23066. * tree-cfg.c (verify_expr): Allow all invariant expressions
  23067. instead of just constant class ones as reference argument.
  23068. * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR
  23069. like any other constant.
  23070. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
  23071. 2008-01-21 H.J. Lu <hongjiu.lu@intel.com>
  23072. * regmove.c (fixup_match_1): Update call crossed frequencies.
  23073. 2008-01-21 Richard Guenther <rguenther@suse.de>
  23074. PR c/34885
  23075. * tree-inline.c (setup_one_parameter): Deal with mismatched
  23076. types using a VIEW_CONVERT_EXPR.
  23077. 2008-01-21 Alon Dayan <alond@il.ibm.com>
  23078. Olga Golovanevsky <olga@il.ibm.com>
  23079. PR tree-optimization/34701
  23080. * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
  23081. when the structure size is not a power of 2.
  23082. 2008-01-20 Kenneth Zadeck <zadeck@naturalbridge.com>
  23083. * doc/install.texi: Add doc for --enable-checking=df.
  23084. 2008-01-20 Kaz Kojima <kkojima@gcc.gnu.org>
  23085. PR rtl-optimization/34808
  23086. * emit-rtl.c (try_split): Handle REG_RETVAL notes.
  23087. 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk>
  23088. * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
  23089. input.
  23090. 2008-01-19 Kenneth Zadeck <zadeck@naturalbridge.com>
  23091. PR rtl-optimization/26854
  23092. PR rtl-optimization/34400
  23093. * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use
  23094. DF_RD->gen.
  23095. * df.h (df_changeable_flags.DF_RD_NO_TRIM): New.
  23096. (df_rd_bb_info.expanded_lr_out): New.
  23097. * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag.
  23098. * loop_iv.c (iv_analysis_loop_init): Ditto.
  23099. * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
  23100. df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
  23101. Added code to allocate, initialize or free expanded_lr_out.
  23102. (df_rd_bb_local_compute_process_def): Restructured to make
  23103. more understandable.
  23104. (df_rd_confluence_n): Add code to do nothing with fake edges and
  23105. code to no apply invalidate_by_call sets if the sets are being trimmed.
  23106. (df_lr_local_finalize): Renamed to df_lr_finalize.
  23107. (df_live_local_finalize): Renamed to df_live_finalize.
  23108. 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk>
  23109. PR target/34831
  23110. * config/mips/mips.md (div<mode>3): Use <recip_condition> when
  23111. deciding whether to use reciprocal instructions.
  23112. 2008-01-19 Uros Bizjak <ubizjak@gmail.com>
  23113. * dwarf2out.c (dwarf2out_switch_text_section): Do not call
  23114. dwarf2out_note_section_used if cold_text_section is NULL.
  23115. 2008-01-19 Jakub Jelinek <jakub@redhat.com>
  23116. PR gcov-profile/34610
  23117. * tree-cfg.c (make_edges): Mark both outgoing edges from
  23118. OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
  23119. * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
  23120. from OMP_FOR and OMP_CONTINUE outgoing edges.
  23121. * tree-profile.c (tree_profiling): Return early if
  23122. cfun->after_tree_profile != 0. Set cfun->after_tree_profile
  23123. at the end.
  23124. * omp-low.c (expand_omp_parallel): Copy after_tree_profile
  23125. from cfun to child_cfun.
  23126. * function.h (struct function): Add after_tree_profile bit.
  23127. 2008-01-19 Anatoly Sokolov <aesok@post.ru>
  23128. * config/avr/avr.S (_exit): Disable interrupt.
  23129. 2008-01-18 Kenneth Zadeck <zadeck@naturalbridge.com>
  23130. Steven Bosscher <stevenb.gcc@gmail.com>
  23131. PR rtl-optimization/26854
  23132. PR rtl-optimization/34400
  23133. * df-problems.c (df_live_scratch): New scratch bitmap.
  23134. (df_live_alloc): Allocate df_live_scratch when doing df_live.
  23135. (df_live_reset): Clear the proper bitmaps.
  23136. (df_live_bb_local_compute): Only process the artificial defs once
  23137. since the order is not important.
  23138. (df_live_init): Init the df_live sets only with the variables
  23139. found live by df_lr.
  23140. (df_live_transfer_function): Use the df_lr sets to prune the
  23141. df_live sets as they are being computed.
  23142. (df_live_free): Free df_live_scratch.
  23143. 2008-01-18 Ian Lance Taylor <iant@google.com>
  23144. * common.opt: Add fmerge-debug-strings.
  23145. * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test
  23146. flag_merge_debug_strings rather than flag_merge_constants.
  23147. * doc/invoke.texi (Option Summary): Mention
  23148. -fmerge-debug-strings.
  23149. (Debugging Options): Document -fmerge-debug-strings.
  23150. 2008-01-18 Ian Lance Taylor <iant@google.com>
  23151. PR c++/33407
  23152. * tree.h (DECL_IS_OPERATOR_NEW): Define.
  23153. (struct tree_function_decl): Add new field operator_new_flag.
  23154. * tree-inline.c (expand_call_inline): When inlining a call to
  23155. operator new, force the return value to go into a variable, and
  23156. set DECL_NO_TBAA_P on that variable.
  23157. * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag.
  23158. 2008-01-18 Uros Bizjak <ubizjak@gmail.com>
  23159. PR debug/34484
  23160. * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
  23161. DWARF2_DEBUGGING_INFO.
  23162. (dwarf2out_note_section_used): Ditto. Add prototype.
  23163. (have_multiple_function_sections, text_section_used,
  23164. cold_text_section_used, *cold_text_sections): Move declarations
  23165. before their uses.
  23166. 2008-01-17 Bob Wilson <bob.wilson@acm.org>
  23167. * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
  23168. field and add signal_ra.
  23169. * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
  23170. assignments to frame state pc. Move end of stack check after
  23171. MD_FALLBACK_FRAME_STATE_FOR.
  23172. (uw_update_context_1): Use frame state signal_regs if set, instead
  23173. of checking signal_frame flag.
  23174. (uw_update_context): Use frame state signal_ra if set.
  23175. * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
  23176. * config/xtensa/linux-unwind.h: New file.
  23177. 2008-01-18 Bernhard Fischer <aldot@gcc.gnu.org>
  23178. * modulo-sched.c (get_sched_window): Fix comment typo.
  23179. 2008-01-17 Andrew MacLeod <amacleod@redhat.com>
  23180. PR tree-optimization/34648
  23181. * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying.
  23182. 2008-01-17 Anatoly Sokolov <aesok@post.ru>
  23183. * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
  23184. * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add.
  23185. 2008-01-17 Seongbae Park <seongbae.park@gmail.com>
  23186. PR rtl-optimization/34400
  23187. * df-core.c (df_worklist_dataflow_overeager,
  23188. df_worklist_dataflow_doublequeue): New functions.
  23189. (df_worklist_dataflow): Two different worklist solvers.
  23190. * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR):
  23191. New param.
  23192. 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
  23193. PR testsuite/34821
  23194. * doc/invoke.texi: Document the dependence on pthread for fopenmp
  23195. and ftree-parallelize-loops.
  23196. 2008-01-17 Mircea Namolaru <namolaru@il.ibm.com>
  23197. PR rtl-optimization/34826
  23198. * loop-doloop (doloop_modify): Update the REG_BR_PROB note.
  23199. 2008-01-17 Andreas Krebbel <krebbel1@de.ibm.com>
  23200. * global.c (find_reg): Mark the eh regs as used if necessary.
  23201. * ra-conflict.c (global_conflicts): Set no_eh_reg flag.
  23202. * ra.h (struct allocno): no_eh_reg field added. Changed
  23203. no_stack_reg type to bitfield.
  23204. 2008-01-17 Eric Botcazou <ebotcazou@adacore.com>
  23205. * tree.c (substitute_in_expr): Add missing 'break'.
  23206. 2008-01-17 Richard Guenther <rguenther@suse.de>
  23207. PR tree-optimization/34825
  23208. * tree-ssa-math-opts.c (is_division_by): Do not recognize
  23209. x / x as division to handle.
  23210. 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  23211. * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or
  23212. "-pthread" is specified.
  23213. * pa-hpux11.h (LIB_SPEC): Likewise.
  23214. 2008-01-16 Janis Johnson <janis187@us.ibm.com>
  23215. Peter Bergner <bergner@vnet.ibm.com>
  23216. PR rtl-optimization/33796
  23217. * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc.
  23218. 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  23219. PR libgfortran/34699
  23220. * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
  23221. static links.
  23222. * pa-hpux10.h (LINK_SPEC): Likewise.
  23223. * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.
  23224. 2008-01-16 Richard Guenther <rguenther@suse.de>
  23225. PR middle-end/32628
  23226. * fold-const.c (fold_convert_const_int_from_int): Do not
  23227. set overflow if that occured only because of a sign extension
  23228. change when converting from/to a sizetype with the same
  23229. precision and signedness.
  23230. 2008-01-16 Uros Bizjak <ubizjak@gmail.com>
  23231. PR debug/34249
  23232. * dwarf2out.c (output_call_frame_info): Move output of FDE initial
  23233. location address to the correct place. Update copyright year.
  23234. 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
  23235. * lambda-code.c (lambda_transform_legal_p): Handle the case of
  23236. no dependences in the dependence_relations vector.
  23237. 2008-01-16 Jan Hubicka <jh@suse.cz>
  23238. PR rtl-optimization/31396
  23239. * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED.
  23240. * cfg.c (dump_reg_info): Print it.
  23241. * regs.h (struct reg_info_t): add freq_calls_crossed.
  23242. (REG_FREQ_CALLS_CROSSED): New macro.
  23243. * global.c (global_alloc): Compute freq_calls_crossed for allocno.
  23244. (find_reg): Update call of CALLER_SAVE_PROFITABLE.
  23245. * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
  23246. regmove_optimize): Update call crossed frequencies.
  23247. * local-alloc.c (struct qty): Add freq_calls_crossed.
  23248. (alloc_qty): Copute freq_calls_crossed.
  23249. (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED.
  23250. (find_free_reg): Update call of CALLER_SAVE_PROFITABLE.
  23251. * ra.h (struct allocno): Add freq_calls_crossed.
  23252. 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
  23253. * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for
  23254. libgomp when compiling with ftree-parallelize-loops.
  23255. (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops.
  23256. 2008-01-16 Richard Guenther <rguenther@suse.de>
  23257. PR tree-optimization/34769
  23258. * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458.
  23259. * tree.c (int_cst_value): Instead make this function more
  23260. permissive in what it accepts as valid input. Document this
  23261. function always sign-extends the value.
  23262. 2008-01-16 Jakub Jelinek <jakub@redhat.com>
  23263. Richard Guenther <rguenther@suse.de>
  23264. PR c/34668
  23265. * gimplify.c (fold_indirect_ref_rhs): Rename to ...
  23266. (gimple_fold_indirect_ref_rhs): ... this.
  23267. (gimple_fold_indirect_ref): New function with foldings
  23268. that preserve lvalueness.
  23269. (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs.
  23270. * tree-flow.h (gimple_fold_indirect_ref): Declare.
  23271. * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref
  23272. to fold an INDIRECT_REF, fall back to the old use of
  23273. fold_indirect_ref_1.
  23274. 2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
  23275. * tree-data-ref.c (subscript_dependence_tester_1): Call
  23276. free_conflict_function.
  23277. (compute_self_dependence): Same.
  23278. 2008-01-16 Uros Bizjak <ubizjak@gmail.com>
  23279. PR debug/34249
  23280. * debug.h (dwarf2out_switch_text_section): Move declaration from ...
  23281. * dwarf2out.c (dwarf2out_switch_text_section): ... here. Make
  23282. function global.
  23283. * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]:
  23284. Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section
  23285. for DWARF2_UNWIND_INFO targets.
  23286. 2008-01-16 Richard Guenther <rguenther@suse.de>
  23287. PR c/34768
  23288. * c-typeck.c (common_pointer_type): Do not merge inconsistent
  23289. type qualifiers for function types.
  23290. 2008-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  23291. * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for
  23292. loop_iterator li from previous commit.
  23293. 2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
  23294. * tree-parloops.c (gen_parallel_loop): Free loop bound estimations.
  23295. 2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
  23296. * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New.
  23297. (parallelize_loops): Don't parallelize irreducible components.
  23298. 2008-01-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  23299. PR c++/24924
  23300. * c-opts (c_common_post_options): Do not enable CPP
  23301. flag_pedantic_errors by default.
  23302. 2008-01-14 Eric Botcazou <ebotcazou@adacore.com>
  23303. PR rtl-optimization/31944
  23304. * cse.c (remove_pseudo_from_table): New function.
  23305. (merge_equiv_classes): Use above function to remove pseudo-registers.
  23306. (invalidate): Likewise.
  23307. 2008-01-13 Richard Guenther <rguenther@suse.de>
  23308. PR middle-end/34601
  23309. * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
  23310. instead of TYPE_MODE to deal with calls from expand_one_error_var.
  23311. 2008-01-13 Uros Bizjak <ubizjak@gmail.com>
  23312. * gcse.c (cprop_jump): Call validate_unshare_change instead of
  23313. validate_change to unshare the source of the PC set.
  23314. 2008-01-12 Jan Hubicka <jh@suse.cz>
  23315. PR middle-end/32135
  23316. * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct
  23317. references above array bounds. This might trigger bounds checks for
  23318. pointers to arrays.
  23319. 2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
  23320. * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and
  23321. new_replaceable_dependencies.
  23322. 2008-01-12 Doug Kwan <dougkwan@google.com>
  23323. * c-decl.c (grokdeclarator): Use OPT_Wignored_qualifiers
  23324. instead of OPT_Wreturn_type in warning due to ignored return type
  23325. qualifiers.
  23326. * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to
  23327. options included in -Wextra.
  23328. * c.opt: New option -Wignored_qualifiers.
  23329. * doc/invoke.texi (Warning Options, -Wextra): Add new option
  23330. -Wignore_qualifiers.
  23331. (-Wignored-qualifiers): Document.
  23332. (-Wreturn-type): Remove description of functionality now handled
  23333. by -Wignored-qualifiers.
  23334. 2008-01-12 Eric Botcazou <ebotcazou@adacore.com>
  23335. PR ada/33788
  23336. * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
  23337. NOP_EXPR if it is between integral types with the same precision.
  23338. 2008-01-12 Jan Hubicka <jh@suse.cz>
  23339. PR other/28023
  23340. * invoke.texi (max-inline-recursive-depth): Fix default value.
  23341. 2008-01-12 Zdenek Dvorak <ook@ucw.cz>
  23342. * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
  23343. correct type.
  23344. 2008-01-11 Bob Wilson <bob.wilson@acm.org>
  23345. * config/xtensa/xtensa.c (override_options): Set flag_shlib.
  23346. 2008-01-11 James E. Wilson <wilson@specifix.com>
  23347. PR target/26015
  23348. * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.
  23349. 2008-01-11 Anatoly Sokolov <aesok@post.ru>
  23350. * config/avr/avr.c (expand_prologue, expand_epilogue): Don't
  23351. save/restore frame pointer register and don't use 'call-prologues'
  23352. optimization in function with "OS_task" attribute.
  23353. 2008-01-11 Eric Botcazou <ebotcazou@adacore.com>
  23354. PR middle-end/31309
  23355. * expr.c (copy_blkmode_from_reg): Use a mode suited to the size
  23356. when copying to memory.
  23357. 2008-01-11 Steven Bosscher <stevenb.gcc@gmail.com>
  23358. PR rtl-optimization/30905
  23359. * cfgcleanup.c: Include dce.h
  23360. (crossjumps_occured): New global variable.
  23361. (try_crossjump_bb): Exit loop after finding a fallthru edge.
  23362. If something changed, set crossjumps_occured to true.
  23363. (try_optimize_cfg): Clear crossjumps_occured at the beginning.
  23364. Don't add/remove fake edges to exit here...
  23365. (cleanup_cfg): ...but do it here, when crossjumping.
  23366. Run a fast DCE when successful crossjumps occured in the latest
  23367. iteration of try_optimize_cfg.
  23368. 2008-01-11 Richard Guenther <rguenther@suse.de>
  23369. * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode.
  23370. (struct vn_unary_op_s): Likewise.
  23371. (vn_reference_insert): Free old reference on hash collision.
  23372. 2008-01-10 Raksit Ashok <raksit@google.com>
  23373. PR rtl-optimization/27971
  23374. * combine.c (find_split_point): Split PLUS expressions which are
  23375. inside a MEM rtx, and whose first operand is complex.
  23376. 2008-01-10 DJ Delorie <dj@redhat.com>
  23377. * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from...
  23378. (m32c_hard_regno_nregs): ...this, which is now a wrapper.
  23379. (m32c_hard_regno_ok): Call the underlying function.
  23380. 2008-01-10 Richard Guenther <rguenther@suse.de>
  23381. PR middle-end/34683
  23382. * tree-cfg.c (tree_merge_blocks): Do not go through the
  23383. full-blown folding and stmt updating path if we just deal
  23384. with virtual operands.
  23385. * tree-ssa-copy.c (may_propagate_copy): Do not short-cut
  23386. test for abnormal SSA_NAMEs.
  23387. 2008-01-10 Andreas Krebbel <krebbel1@de.ibm.com>
  23388. PR middle-end/34641
  23389. * reload.c (push_reload): Add assertions. All constants from
  23390. reg_equiv_constant should have been used for replacing the respective
  23391. pseudo earlier.
  23392. (find_reloads_address): Invoke find_reloads_address_part for
  23393. constant taken from the reg_equiv_constant array.
  23394. 2008-01-10 Steven Bosscher <stevenb.gcc@gmail.com>
  23395. * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed
  23396. field (valnum) the first in the struct. Replace bools with
  23397. unit bit fields.
  23398. 2008-01-10 Richard Guenther <rguenther@suse.de>
  23399. PR tree-optimization/34651
  23400. * tree-sra.c (sra_build_assignment): Sanitize. Use the correct
  23401. types and ordering for masking and converting.
  23402. 2008-01-09 Sebastian Pop <sebastian.pop@amd.com>
  23403. PR tree-optimization/34017
  23404. * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code
  23405. also for PHI_NODE expressions.
  23406. 2008-01-09 Jan Hubicka <jh@suse.cz>
  23407. PR tree-optimization/34708
  23408. * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR
  23409. based on number of case labels.
  23410. (init_inline_once): Remove switch_cost.
  23411. * tree-inline.h (eni_weights_d): Remove switch_cost.
  23412. 2008-01-09 Richard Guenther <rguenther@suse.de>
  23413. Andrew Pinski <andrew_pinski@playstation.sony.com>
  23414. PR middle-end/30132
  23415. * gimplify.c (gimplify_cond_expr): Do not create an addressable
  23416. temporary if an rvalue is ok or an lvalue is not required.
  23417. 2008-01-09 Richard Guenther <rguenther@suse.de>
  23418. PR middle-end/34458
  23419. * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst,
  23420. adjust return type.
  23421. 2008-01-09 Richard Guenther <rguenther@suse.de>
  23422. PR middle-end/34679
  23423. * tree.c (host_integerp): Check for sizetype only if the
  23424. type is an integer type.
  23425. 2008-01-09 Steven Bosscher <stevenb.gcc@gmail.com>
  23426. PR debug/26364
  23427. * opts.c (decode_options): Disable inlining of functions called
  23428. once if not in unit-at-a-time mode.
  23429. 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
  23430. * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency.
  23431. 2008-01-08 Richard Guenther <rguenther@suse.de>
  23432. PR middle-end/31863
  23433. * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
  23434. out early if the result will be unused.
  23435. 2008-01-08 Uros Bizjak <ubizjak@gmail.com>
  23436. PR target/34709
  23437. Revert:
  23438. 2008-01-05 Uros Bizjak <ubizjak@gmail.com>
  23439. * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
  23440. for TARGET_RECIP.
  23441. 2008-01-08 Jan Sjodin <jan.sjodin@amd.com>
  23442. * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs
  23443. for vectorization tuned.
  23444. 2008-01-08 Richard Guenther <rguenther@suse.de>
  23445. PR tree-optimization/34683
  23446. * tree-ssa-operands.c (operand_build_cmp): Export.
  23447. * tree-ssa-operands.h (operand_build_cmp): Declare.
  23448. * tree-vn.c (vuses_compare): Remove.
  23449. (sort_vuses): Use operand_build_cmp.
  23450. (sort_vuses_heap): Likewise.
  23451. * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
  23452. to re-use old VEC if available. Do not sort already sorted VUSEs.
  23453. (vdefs_to_vec): Do not sort already sorted VDEFs.
  23454. 2008-01-08 Jakub Jelinek <jakub@redhat.com>
  23455. PR middle-end/34694
  23456. * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
  23457. 2008-01-08 Uros Bizjak <ubizjak@gmail.com>
  23458. PR target/34702
  23459. * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document
  23460. limitations of reciprocal sequences on x86 targets.
  23461. 2008-01-08 Richard Guenther <rguenther@suse.de>
  23462. PR tree-optimization/34683
  23463. * tree-flow-inline.h (var_ann): Remove overzealous asserts.
  23464. 2008-01-07 Jakub Jelinek <jakub@redhat.com>
  23465. PR target/34622
  23466. * config/darwin.c (darwin_mergeable_string_section): Don't use
  23467. .cstring if int_size_in_bytes != TREE_STRING_LENGTH.
  23468. 2008-01-07 Uros Bizjak <ubizjak@gmail.com>
  23469. PR target/34682
  23470. * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and
  23471. negxf2. Macroize expander using X87MODEF mode iterator. Change
  23472. predicates of op0 and op1 to register_operand.
  23473. (abs<mode>2): Rename from abssf2, absdf2 and negxf2. Macroize
  23474. expander using X87MODEF mode iterator. Change predicates of
  23475. op0 and op1 to register_operand.
  23476. ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from
  23477. corresponding patterns and macroize using MODEF macro. Change
  23478. predicates of op0 and op1 to register_operand and remove
  23479. "m" constraint. Disparage "r" alternative with "!".
  23480. ("*absneg<mode>2_i387"): Rename from corresponding patterns and
  23481. macroize using X87MODEF macro. Change predicates of op0 and op1
  23482. to register_operand and remove "m" constraint. Disparage "r"
  23483. alternative with "!".
  23484. (absneg splitter with memory operands): Remove.
  23485. ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding
  23486. patterns and macroize using X87MODEF mode iterator.
  23487. * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2):
  23488. Change predicate of op1 to register_operand.
  23489. * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support
  23490. for memory operands.
  23491. 2008-01-07 Nathan Froyd <froydnj@codesourcery.com>
  23492. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.
  23493. 2008-01-07 Richard Guenther <rguenther@suse.de>
  23494. * basic-block.h (struct edge_def): Pair dest_idx with goto_locus
  23495. fields.
  23496. 2008-01-07 Richard Guenther <rguenther@suse.de>
  23497. PR tree-optimization/34683
  23498. * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
  23499. VOPs of the needed size to save memory. Use VEC_quick_push
  23500. to save compile-time.
  23501. (vdefs_to_vec): Likewise.
  23502. 2008-01-07 Sa Liu <saliu@de.ibm.com>
  23503. * config/spu/spu.md (divdf3): Genetate inline code for double
  23504. division. The implementation doesn't handle INF or NAN, therefore it
  23505. only applies when -ffinite-math-only is given.
  23506. 2008-01-06 Paolo Carlini <pcarlini@suse.de>
  23507. PR libstdc++/34680
  23508. * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
  23509. * doc/cpp.texi ([Common Predefined Macros]): Document.
  23510. 2008-01-06 Uros Bizjak <ubizjak@gmail.com>
  23511. * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in
  23512. order to use commutative addition instead of subtraction.
  23513. 2008-01-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
  23514. Mircea Namolaru <namolaru@il.ibm.com>
  23515. Vladimir Yanovsky <yanov@il.ibm.com>
  23516. Revital Eres <eres@il.ibm.com>
  23517. PR tree-optimization/34263
  23518. * tree-outof-ssa.c (process_single_block_loop_latch,
  23519. contains_tree_r): New functions.
  23520. (analyze_edges_for_bb): Call process_single_block_loop_latch
  23521. function to empty single-basic-block latch block if possible.
  23522. 2008-01-05 Uros Bizjak <ubizjak@gmail.com>
  23523. * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
  23524. for TARGET_RECIP.
  23525. (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion.
  23526. 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk>
  23527. * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
  23528. 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk>
  23529. * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check.
  23530. 2008-01-05 Jakub Jelinek <jakub@redhat.com>
  23531. PR tree-optimization/34618
  23532. * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
  23533. flag from T.
  23534. 2008-01-05 Uros Bizjak <ubizjak@gmail.com>
  23535. PR target/34673
  23536. * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands
  23537. in the call to gen_rtx_NE. Remove unneeded VECTOR_MODE_P check.
  23538. Update copyright year.
  23539. * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH.
  23540. Update copyright year.
  23541. * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand
  23542. using NR fixup.
  23543. 2008-01-05 Zhouyi Zhou <zhouzhouyi@FreeBSD.org>
  23544. * tree-vrp.c (find_conditional_asserts): Remove redundant check that
  23545. edge does not point to current bb before changing need_assert.
  23546. 2008-01-04 Richard Guenther <rguenther@suse.de>
  23547. PR middle-end/34029
  23548. * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs
  23549. for verifying purposes if they are is_gimple_min_invariant.
  23550. 2008-01-04 Aldy Hernandez <aldyh@redhat.com>
  23551. PR tree-optimization/34448
  23552. PR tree-optimization/34465
  23553. * gimplify.c (gimplify_init_constructor): Add new parameter
  23554. notify_temp_creation. Use it.
  23555. (gimplify_modify_expr_rhs): Take volatiles into account when
  23556. optimizing constructors.
  23557. Do not optimize constructors if gimplify_init_constructor will dump to
  23558. memory.
  23559. * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
  23560. * gcc.c-torture/compile/pr34448.c: New.
  23561. 2008-01-04 Jakub Jelinek <jakub@redhat.com>
  23562. PR gcov-profile/34609
  23563. * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on
  23564. return_slot if result is TREE_ADDRESSABLE.
  23565. 2008-01-04 Richard Sandiford <rsandifo@nildram.co.uk>
  23566. * config/mips/mips.md (sqrt_condition): Tweak comment.
  23567. (recip_condition): Likewise. Require TARGET_FLOAT64 for DFmode.
  23568. 2008-01-03 Tom Tromey <tromey@redhat.com>
  23569. PR c/34457
  23570. * c-common.c (c_type_hash): Handle VLAs.
  23571. 2008-01-03 Jan Hubicka <jh@suse.cz>
  23572. PR tree-optimization/31081
  23573. * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to
  23574. 0 when inlining and not inlining to first basic block.
  23575. (remap_decl): When var is initialized to 0, don't set default_def.
  23576. (expand_call_inline): Set entry_bb.
  23577. * tree-inline.h (copy_body_data): Add entry_bb.
  23578. 2008-01-03 Jakub Jelinek <jakub@redhat.com>
  23579. PR c++/34619
  23580. * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL
  23581. before returning.
  23582. PR tree-optimization/29484
  23583. * tree-inline.c (inline_forbidden_p_2): New function.
  23584. (inline_forbidden_p): Disallow inlining if some static var
  23585. has an address of a local LABEL_DECL in its initializer.
  23586. * doc/extend.texi (Labels as Values): Document &&foo behaviour
  23587. vs. inlining.
  23588. 2008-01-03 Sebastian Pop <sebastian.pop@amd.com>
  23589. PR tree-optimization/34635
  23590. * tree-data-ref.c (add_other_self_distances): Make sure that the
  23591. evolution step is constant.
  23592. 2008-01-03 Jakub Jelinek <jakub@redhat.com>
  23593. PR middle-end/34608
  23594. * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn.
  23595. 2008-01-02 Richard Sandiford <rsandifo@nildram.co.uk>
  23596. * tree-sra.c (scalarize_init): Insert the generate_element_init
  23597. statements after the generate_element_zero statements.
  23598. 2008-01-02 Richard Guenther <rguenther@suse.de>
  23599. PR middle-end/34093
  23600. PR middle-end/31976
  23601. * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer
  23602. for very large number of operands instead of ICEing.
  23603. 2008-01-02 Arthur Norman <acn1@cam.ac.uk>
  23604. PR target/34013
  23605. * config/i386/i386.c (ix86_expand_prologue): Save red-zone
  23606. while stack probing.
  23607. 2008-01-01 Douglas Gregor <doug.gregor@gmail.com>
  23608. * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when
  23609. in C++0x mode.
  23610. 2008-01-01 Volker Reichelt <v.reichelt@netcologne.de>
  23611. PR libmudflap/26442
  23612. * tree-mudflap.c (mx_register_decls): Guard warning by
  23613. !DECL_ARTIFICIAL check.
  23614. 2008-01-01 Jakub Jelinek <jakub@redhat.com>
  23615. * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si,
  23616. sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi,
  23617. sse5_perm<mode>): Fix constraints.
  23618. Copyright (C) 2008 Free Software Foundation, Inc.
  23619. Copying and distribution of this file, with or without modification,
  23620. are permitted in any medium without royalty provided the copyright
  23621. notice and this notice are preserved.