ChangeLog-2003 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870
  1. 2003-12-31 Jan Hubicka <jh@suse.cz>
  2. PR opt/13473
  3. * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
  4. ASM input operands
  5. PR opt/12617
  6. * toplev.c (dump_file_index): Reorder ce3 and bbro.
  7. (dump_file): Likewise.
  8. (rest_of_compilation): Likewise.
  9. PR debug/13367
  10. * cgraph.c (cgraph_function_possibly_inlined): Even with
  11. flag_really_no_inline we inline always_inline functions.
  12. * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
  13. for non-always_inline functions when there is flag_really_no_inline.
  14. (cgraph_decide_inlining): Limit work done when not inlining.
  15. (cgraph_decide_inlining_incrementally): Likewise.
  16. (cgraph_optimize_function): Check whether something got inlined.
  17. * c-objc-common.c (c_disregard_inline_limits): Do not always inline
  18. extern inline functions when not inlining.
  19. * opts.c (decode_options): Disable crossjumping at -O1
  20. * invoke.texi (-O1): Document change.
  21. 2003-12-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  22. * print-rtl.c (print_rtx): For hard register, write out register
  23. number and register name instead of calling PRINT_REG.
  24. * defaults.h (PRINT_REG): Deleted.
  25. * config/i386/i386.c (print_reg): Remove handling of CODE of -1.
  26. Move comments here from i386.h.
  27. (print_operand, print_operand_address): Call print_reg directly.
  28. * config/i386/i386.h (PRINT_REG): Deleted.
  29. 2003-12-31 Roger Sayle <roger@eyesopen.com>
  30. * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define
  31. _INCLUDE_LONGLONG.
  32. 2003-12-31 Zack Weinberg <zack@codesourcery.com>
  33. * gcc.c (init_spec): Add -lunwind to shared case too if
  34. USE_LIBUNWIND_EXCEPTIONS.
  35. 2003-12-31 Joseph S. Myers <jsm@polyomino.org.uk>
  36. * doc/include/texinfo.tex: Update to version 2003-12-21.10.
  37. * doc/gcc.texi, doc/gccint.texi: Don't set font for
  38. @def... commands.
  39. * doc/invoke.texi: Don't use empty @opindex.
  40. 2003-12-31 Mark Mitchell <mark@codesourcery.com>
  41. * c-common.c (c_expand_expr): Remove code to return a value
  42. different from that returned by expand_expr.
  43. * expr.c (store_expr): Use the validity of a target MEM, rather
  44. than checking DECL_RTL (exp), to figure out if a copy is
  45. required.
  46. 2003-12-31 Kazu Hirata <kazu@cs.umass.edu>
  47. * config/v850/lib1funcs.asm: Fix comment formatting.
  48. * config/v850/v850.c: Likewise.
  49. * config/v850/v850.h: Likewise.
  50. * config/v850/v850.md: Likewise.
  51. 2003-12-31 Kazu Hirata <kazu@cs.umass.edu>
  52. * config/i386/i386.md (*movqi_insv_2): Remove AND in the
  53. set source.
  54. 2003-12-31 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  55. * config.gcc: Added m32r-linux m32rle-elf and m32le-linux targets.
  56. * doc/invoke.texi: Document -mflush-func, -mflush-trap options.
  57. Also add documentation for -mdebug, -malign-loops, -missue-rate,
  58. and -mbranch-cost options.
  59. * config/m32r/t-linux: New file: m32r-linux support.
  60. * config/m32r/xm-linux.h: Likewise.
  61. * config/m32r/xm-m32r.h: Likewise.
  62. * config/m32r/linux.h: Likewise.
  63. * config/m32r/little.h: New file: Little endian code generation
  64. support.
  65. * config/m32r/m32r-protos.h (m32r_legitimize_pic_address,
  66. m32r_legitimate_pic_operand_p, load_pic_register): Add
  67. prototypes.
  68. * config/m32r/m32r.c (m32r_init): Add options for cache-flush.
  69. (addr24_operand): Changes for PIC code generation.
  70. * config/m32r/m32r.h (LABEL_ALIGN): Define to calculate PNOP
  71. length at labels.
  72. (ASM_SPEC): Add PIC support.
  73. (FUNCTION_PROFILER): New define.
  74. (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Changed to support
  75. trampoline.
  76. (CONDITIONAL_REGISTER_USAGE, CONSTANT_ADDRESS_P,
  77. LEGITIMIZE_ADDRESS, JUMP_TABLES_IN_TEXT_SECTION,
  78. PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC, LEGITIMATE_PIC_OPERAND_P,
  79. ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE): Define for PIC.
  80. (move_src_operand, m32r_compute_frame_size, m32r_expand_prologue,
  81. m32r_finalize_pic): Changes for PIC and profile support.
  82. (global_offset_table, load_pic_register, m32r_legitimate_pic_operand_p,
  83. m32r_legitimize_pic_address): Add for PIC support.
  84. (m32r_file_start): Changed for little-endian-target.
  85. * config/m32r/m32r.md (mvqi, movhi, movsi, movdi, movsf, movdf,
  86. tablejump, tablejump_insn, call, call_value, call_value_via_label):
  87. Changes for PIC.
  88. (pic_load_addr, get_pc, builtin_setjmp_receiver): Added for PIC.
  89. (flush_icache): Changes for cache-flush trap.
  90. 2003-12-30 Kazu Hirata <kazu@cs.umass.edu>
  91. * config/i386/i386.h: Remove an unnecessary #undef.
  92. 2003-12-30 Roger Sayle <roger@eyesopen.com>
  93. * cppfiles.c (pch_open_file): Minor tweak to work-around native
  94. HPPA compiler bug.
  95. 2003-12-30 Kazu Hirata <kazu@cs.umass.edu>
  96. * config/rs6000/aix.h: Fix comment formatting.
  97. * config/rs6000/rs6000-modes.def: Likewise.
  98. * config/rs6000/rs6000.c: Likewise.
  99. * config/rs6000/rs6000.h: Likewise.
  100. * config/rs6000/rs6000.md: Likewise.
  101. 2003-12-30 Kazu Hirata <kazu@cs.umass.edu>
  102. * config/i386/i386-protos.h: Remove prototype for
  103. const_int_1_operand.
  104. * config/i386/i386.c (const_int_1_operand): Remove.
  105. * config/i386/i386.h (PREDICATE_CODES): Remove
  106. const_int_1_operand.
  107. * config/i386/i386.md: Replace all uses of const_int_1_operand
  108. with const1_operand.
  109. * config/i386/pentium.md: Likewise.
  110. 2003-12-30 Geoffrey Keating <geoffk@greed.local>
  111. * doc/tm.texi (PREFERRED_RELOAD_CLASS): Describe use of NO_REGS
  112. with constants.
  113. 2003-12-30 Mark Mitchell <mark@codesourcery.com>
  114. * stor-layout.c (layout_decl): Turn bitfields into ordinary
  115. fields, even if they are the first field in a structure.
  116. 2003-12-30 Roger Sayle <roger@eyesopen.com>
  117. * fold-const.c (fold) <COND_EXPR>: Don't require strict type
  118. equality, instead just prevent replacing a COND_EXPR of non-void
  119. type by one of its operands of void type.
  120. 2003-12-30 Andreas Schwab <schwab@suse.de>
  121. * doc/c-tree.texi: Fix @item vs. @itemx.
  122. * doc/cpp.texi: Likewise.
  123. * doc/install.texi: Likewise.
  124. * doc/invoke.texi: Likewise.
  125. 2003-12-30 Nathan Sidwell <nathan@codesourcery.com>
  126. * builtins.c (expand_builtin_apply_args_1): Fix typo in previous
  127. change.
  128. 2003-12-30 Jan Hubicka <jh@suse.cz>
  129. PR target/11936
  130. * i386.h (CLASS_LIKELY_SPILLED_P): Return true for
  131. FP_TOP_REG/FP_SECOND_REG.
  132. 2003-12-30 Steven Bosscher <steven@gcc.gnu.org>
  133. Backport from tree-ssa (relevant changes only):
  134. 2003-12-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  135. * et-forest.h (et_forest_create, et_forest_delete,
  136. et_forest_add_node, et_forest_add_edge, et_forest_remove_node,
  137. et_forest_remove_edge, et_forest_parent,
  138. et_forest_common_ancestor, et_forest_node_value,
  139. et_forest_enumerate_sons): Declarations removed.
  140. (struct et_node): New.
  141. (et_new_tree, et_free_tree, et_set_father, et_split, et_nca,
  142. et_below): Declare.
  143. * et-forest.c (struct et_forest_occurrence, struct et_forest,
  144. struct et_forest_node): Removed.
  145. (et_forest_create, et_forest_delete,
  146. et_forest_add_node, et_forest_add_edge, et_forest_remove_node,
  147. et_forest_remove_edge, et_forest_parent,
  148. et_forest_common_ancestor, et_forest_node_value,
  149. et_forest_enumerate_sons, splay, remove_all_occurrences,
  150. find_leftmost_node, find_rightmost_node, calculate_value): Removed.
  151. (struct et_occ): New.
  152. (et_nodes, et_occurences): New.
  153. (set_depth, set_depth_add, set_prev, set_next, et_recomp_min,
  154. et_check_occ_sanity, et_check_sanity, et_check_tree_sanity,
  155. record_path_before_1, record_path_before, check_path_after_1,
  156. check_path_after, et_splay, et_new_occ, et_new_tree,
  157. et_free_tree, et_set_father, et_split, et_nca, et_below): New.
  158. * basic-block.h (struct basic_block_def): New field dom.
  159. (struct dominance_info): Type removed.
  160. (calculate_dominance_info, free_dominance_info,
  161. nearest_common_dominator, set_immediate_dominator,
  162. get_immediate_dominator, dominated_by_p, get_dominated_by,
  163. add_to_dominance_info, delete_from_dominance_info,
  164. recount_dominator, redirect_immediate_dominators,
  165. iterate_fix_dominators, verify_dominators): Declarations
  166. changed.
  167. (enum dom_state): New.
  168. (dom_computed): New variable.
  169. (first_dom_son, next_dom_son): Declare.
  170. * dominance.c (struct dominance_info): Removed.
  171. (BB_NODE, SET_BB_NODE): Removed.
  172. (calculate_dominance_info, free_dominance_info,
  173. nearest_common_dominator, set_immediate_dominator,
  174. get_immediate_dominator, dominated_by_p, get_dominated_by,
  175. add_to_dominance_info, delete_from_dominance_info,
  176. recount_dominator, redirect_immediate_dominators,
  177. iterate_fix_dominators, verify_dominators,
  178. debug_dominance_info): Work over new datastructure. Access
  179. dominance datastructures through CFG.
  180. (assign_dfs_numbers, compute_dom_fast_query, first_dom_son,
  181. next_dom_son): New.
  182. * bt-load.c (dom): Variable removed.
  183. (augment_live_range, combine_btr_defs, migrate_btr_def,
  184. migrate_btr_defs, branch_target_load_optimize): Updated for the
  185. new interface for dominance information.
  186. * cfg.c {exit_entry_blocks): Update initializer.
  187. * cfglayout.c (copy_bbs): Removed loops argument. Updated for
  188. the new interface for dominance information.
  189. * cfglayout.h (copy_bbs): Declaration changed.
  190. * cfgloop.c (flow_loop_pre_header_find, flow_loops_cfg_dump,
  191. flow_loop_scan, canonicalize_loop_headers, flow_loops_find): Updated
  192. for the new interface for dominance information.
  193. (flow_loop_scan): Loops argument removed.
  194. (flow_loops_free): Don't release dominators.
  195. * cfgloop.h (struct cfg): Dom field removed.
  196. (flow_loop_scan, loop_split_edge_with, simple_loop_p,
  197. just_once_each_iteration_p, split_loop_bb): Declaration changed.
  198. * cfgloopanal.c (simple_loop_exit_p, simple_increment,
  199. just_once_each_iteration_p, simple_loop_p): Remove loops argument.
  200. Updated for the new interface for dominance information.
  201. * cfgloopmanip.c (remove_bbs, find_path, create_preheader,
  202. split_loop_bb, loopify, duplicate_loop_to_header_edge,
  203. force_single_succ_latches, loop_split_edge_with): Ditto.
  204. * gcse.c (dominators): Variable removed.
  205. (free_code_hoist_mem, compute_code_hoist_data, hoist_code):
  206. Updated for the new interface for dominance information.
  207. * ifcvt.c (post_dominators): Variable removed.
  208. (mark_loop_exit_edges, merge_if_block, find_if_header,
  209. find_cond_trap, find_if_case_1, find_if_case_2, if_convert):
  210. Updated for the new interface for dominance information.
  211. * loop-init.c (rtl_loop_optimizer_init,
  212. rtl_loop_optimizer_finalize): Ditto.
  213. * loop-unroll.c (decide_peel_simple, decide_peel_once_rolling,
  214. decide_peel_completely, decide_unroll_stupid,
  215. decide_unroll_constant_iterations,
  216. decide_unroll_runtime_iterations): Loops argument removed.
  217. Updated for the new interface for dominance information.
  218. (unroll_and_peel_loops, peel_loops_completely,
  219. unroll_loop_runtime_iterations): Updated for the new interface for
  220. dominance information.
  221. * loop-unswitch.c (may_unswitch_on_p, unswitch_loops,
  222. unswitch_single_loop, unswitch_loop): Updated for the new
  223. interface for dominance information.
  224. * predict.c (process_note_predictions, process_note_prediction,
  225. estimate_probability, note_prediction_to_br_prob): Ditto.
  226. * sched-rgn.c (find_rgns, init_regions): Ditto.
  227. * toplev.c (rest_of_handle_branch_prob): Free the dominators.
  228. 2003-12-30 Jan Hubicka <jh@suse.cz>
  229. PR target/13456
  230. * i386.md (allocate_stack_worker): Use different pattern for pre and
  231. post reload expansion.
  232. (allocate_stack_worker_1, allocate_stack_worker_rex64): Use
  233. match_scratch.
  234. (allocate_stack_worder_1_postreload,
  235. allocate_stack_worker_rex64_postreload): New.
  236. 2003-12-29 Nathan Sidwell <nathan@codesourcery.com>
  237. * builtins.c (expand_builtin_apply_args_1): Add pretend args size
  238. to the virtual incoming args pointer for downward stacks.
  239. 2003-12-29 Roger Sayle <roger@eyesopen.com>
  240. PR fortran/12632
  241. * fold-const.c (fold) <COND_EXPR>: Don't fold a constant condition,
  242. if the type of the selected branch doesn't match its' parent.
  243. 2003-12-29 Jan Hubicka <jh@suse.cz>
  244. * coverage.c (read_counts_file): Better error messages; cause corrupted
  245. profiles to produce hard errors, not just warnings
  246. (get_coverage_counts): Similarly.
  247. * toplev.c (rest_of_handle_loop_optimize): Enable LOOP_AUTO_UNROLL.
  248. 2003-12-29 Phil Edwards <phil@codesourcery.com>
  249. * doc/cppopts.texi: Use of -idirafter, -iprefix, -iwithprefix, and
  250. -iwithprefixbefore is not discouraged.
  251. 2003-12-28 Mostafa Hagog <mustafa@il.ibm.com>
  252. * sbitmap.c (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg,
  253. sbitmap_a_xor_b_cg): Accumulate "changed" properly.
  254. (sbitmap_not): Zero all bits past n_bit.
  255. 2003-12-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  256. PR opt/13159
  257. * cfgloopanal.c (mark_irreducible_loops): Fix the strongly connected
  258. components detection.
  259. * loop-unswitch.c (unswitch_loop): Preserve simple preheaders.
  260. 2003-12-27 Bernardo Innocenti <bernie@develer.com>
  261. * config/m68k/uclinux.h (LIB_SPEC): Add elf2flt magic required for
  262. correct linking of executables using id-based shared libraries.
  263. 2003-12-27 Kazu Hirata <kazu@cs.umass.edu>
  264. * config/i386/i386-interix.h: Remove uses of "register"
  265. specifier in declarations of arguments and local variables.
  266. * config/i386/i386.c: Likewise.
  267. * config/i386/i386elf.h: Likewise.
  268. * config/i386/ptx4-i.h: Likewise.
  269. * config/i386/sysv4.h: Likewise.
  270. 2003-12-26 Fariborz Jahanian <fjahanian@apple.com>
  271. Geoffrey Keating <geoffk@apple.com>
  272. David Edelsohn <edelsohn@gnu.org>
  273. * config/rs6000/rs6000.c (legitimate_offset_address_p): Do not
  274. restrict DFmode and TFmode to word alignment.
  275. * config/rs6000/rs6000.md (movdf_hardfloat64): Use 'o' constraint
  276. for ld/std and order before mr.
  277. 2003-12-26 Andrew Pinski <pinskia@physics.uc.edu>
  278. * config/darwin.h (LINK_COMMAND_SPEC): Arrange
  279. -fprofile-generate to imply -lgcov.
  280. 2003-12-26 Kazu Hirata <kazu@cs.umass.edu>
  281. * config/h8300/h8300.md (ldm_h8300s_2_normal): Use HImode for
  282. addresses.
  283. 2003-12-25 Kazu Hirata <kazu@cs.umass.edu>
  284. * config/m32r/m32r.md: Remove a constraint from a splitter.
  285. 2003-12-25 Andrew Pinski <pinskia@physics.uc.edu>
  286. PR C++/13429, C/11944
  287. * c-common.c (c_build_qualified_type): Return early when type is
  288. error_mark_node.
  289. (c_apply_type_quals_to_decl): Likewise.
  290. 2003-12-25 Kazu Hirata <kazu@cs.umass.edu>
  291. * config/alpha/alpha-modes.def: Fix comment formatting.
  292. * config/alpha/alpha.c: Likewise.
  293. * config/alpha/alpha.h: Likewise.
  294. * config/alpha/elf.h: Likewise.
  295. * config/alpha/lib1funcs.asm: Likewise.
  296. * config/alpha/openbsd.h: Likewise.
  297. * config/alpha/vms-cc.c: Likewise.
  298. * config/alpha/vms-crt0-64.c: Likewise.
  299. * config/alpha/vms-crt0.c: Likewise.
  300. * config/alpha/vms-ld.c: Likewise.
  301. * config/alpha/vms-psxcrt0-64.c: Likewise.
  302. * config/alpha/vms-psxcrt0.c: Likewise.
  303. * config/alpha/vms.h: Likewise.
  304. * config/arc/arc.c: Likewise.
  305. * config/arm/aof.h: Likewise.
  306. * config/arm/arm-modes.def: Likewise.
  307. * config/arm/arm.c: Likewise.
  308. * config/arm/arm.h: Likewise.
  309. * config/arm/arm.md: Likewise.
  310. * config/arm/linux-elf.h: Likewise.
  311. * config/arm/vxworks.h: Likewise.
  312. * config/avr/avr.c: Likewise.
  313. * config/avr/avr.h: Likewise.
  314. 2003-12-24 Kazu Hirata <kazu@cs.umass.edu>
  315. * config/xtensa/elf.h: Fix comment formatting.
  316. * config/xtensa/xtensa-protos.h: Likewise.
  317. * config/xtensa/xtensa.c: Likewise.
  318. * config/xtensa/xtensa.h: Likewise.
  319. 2003-12-24 Kazu Hirata <kazu@cs.umass.edu>
  320. * config/avr/avr.c: Fix comment formatting.
  321. * config/avr/avr.md: Likewise.
  322. 2003-12-24 Kazu Hirata <kazu@cs.umass.edu>
  323. PR target/12721.
  324. * config/avr/avr.c: Include ggc.h.
  325. (tmp_reg_rtx): Declare with GTY.
  326. (zero_reg_rtx): Likewise.
  327. (ldi_reg_rtx): Remove.
  328. (avr_override_options): Initialize zero_reg_rtx and
  329. ldi_reg_rtx.
  330. (avr_init): Remove.
  331. Include gt-avr.h.
  332. * config/avr/avr.h (LDI_REG_REGNO): Remove.
  333. Remove externs for tmp_reg_rtx, zero_reg_rtx, and ldi_reg_rtx.
  334. 2003-12-24 David Edelsohn <edelsohn@gnu.org>
  335. * doc/md.texi: Document PowerPC vector register constraint letter.
  336. 2003-12-23 Mark Mitchell <mark@codesourcery.com>
  337. * calls.c (expand_call): Recognize calls to "sqrt" and create
  338. corresponding notes.
  339. 2003-12-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  340. * config/mips/mips.c (override_options): Use `inform' instead
  341. of `warning' for -g -mabi=32 and native assembler.
  342. * config/mips/t-iris6 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
  343. Don't pass -Wno-error.
  344. 2003-12-23 David Edelsohn <edelsohn@gnu.org>
  345. * function.c (assign_parms): Update max_parm_reg and
  346. parm_reg_stack_loc when adding new parm reg.
  347. 2003-12-23 Kazu Hirata <kazu@cs.umass.edu>
  348. * config/ns32k/ns32k.c: Convert to ISO-C.
  349. 2003-12-23 Zack Weinberg <zack@codesourcery.com>
  350. * config/ia64/ia64.c (ia64_va_arg): Pass pointer for
  351. variable-sized type through convert_memory_address.
  352. (ia64_in_small_data_p): Always return false for FUNCTION_DECLs.
  353. 2003-12-23 Jan Hubicka <jh@suse.cz>
  354. * common.opt (fprofile-generate,fprofile-use): Add.
  355. * gcc.c (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov
  356. * opts.c (profile_arc_flag_set, flag_profile_values_set,
  357. flag_unroll_loops_set, flag_tracer_set,
  358. flag_value_profile_transformations_set,
  359. flag_peel_loops_set): New static variables.
  360. (common_handle_option): Deal with -fprofile-generate/-fprofile-use
  361. * invoke.texi (-fprofile-generate, -fprofile-use): Describe.
  362. 2003-12-23 Mark Mitchell <mark@codesourcery.com>
  363. * Makefile.in (OBJS-common): Remove dwarfout.o.
  364. (dwarfout.o): Remove.
  365. * common.opt: Remove -gdwarf, -gdwarf+.
  366. * defaults.h (PREFERRED_DEBUGGING_TYPE): Do not check for
  367. DWARF_DEBUGGING_INFO.
  368. * dwarf2out.c: Fix typo in comment.
  369. * dwarfout.c: Remove.
  370. * opts.c (common_handle_option): Remove OPT_gdwarf, OPT_gdwarf_.
  371. * toplev.c (process_options): Remove check for
  372. DWARF_DEBUGGING_INFO.
  373. * config/elfos.h (DWARF_DEBUGGING_INFO): Do not #define it or
  374. #undef it.
  375. * config/netware.h (DWARF_DEBUGGING_INFO): Likewise.
  376. * config/ptx4.h (DWARF_DEBUGGING_INFO): Likewise.
  377. * config/vxworks.h (DWARF_DEBUGGING_INFO): Likewise.
  378. * config/alpha/unicosmk.h (DWARF_DEBUGGING_INFO): Likewise.
  379. * config/arc/arc.h (DWARF_DEBUGGING_INFO): Likewise.
  380. * config/i386/sco5.h (DWARF_DEBUGGING_INFO): Likewise.
  381. * config/i386/x86-64.h (DWARF_DEBUGGING_INFO): Likewise.
  382. * config/m32r/m32r.h (DWARF_DEBUGGING_INFO): Likewise.
  383. * config/mcore/mcore-elf.h (DWARF_DEBUGGING_INFO): Likewise.
  384. * config/sparc/linux64.h (DWARF_DEBUGGING_INFO): Likewise.
  385. * config/sparc/liteelf.h (DWARF_DEBUGGING_INFO): Likewise.
  386. * config/sparc/sol26-sld.h (DWARF_DEBUGGING_INFO): Likewise.
  387. * config/sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO): Likewise.
  388. * doc/invoke.texi: Do not mention -gdwarf, -gdwarf-1, -gdwarf-1+,
  389. or -gdwarf+.
  390. * doc/tm.texi: Likewise.
  391. * c-common.c (flag_abi_version): Default to 2.
  392. * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_ABI_VERSION
  393. uniformly for versions above 2.
  394. * doc/invoke.texi: Update documentation for -fabi-version.
  395. 2003-12-22 Geoffrey Keating <geoffk@apple.com>
  396. * config/rs6000/rs6000.md: Change many instances of '!
  397. TARGET_POWERPC64' to 'TARGET_32BIT' when the pattern being guarded
  398. was guarded only because it changed CR0 or the carry bit in XER.
  399. 2003-12-23 Eric Botcazou <ebotcazou@libertysurf.fr>
  400. PR optimization/13394
  401. * toplev.c (rest_of_compilation): Move call to
  402. check_function_return_warnings right after the sibcall
  403. optimization pass.
  404. 2003-12-23 Eric Botcazou <ebotcazou@libertysurf.fr>
  405. PR c/13382
  406. * c-typeck.c (convert_for_assignment): When converting from
  407. integral type to pointer type, always call convert.
  408. 2003-12-22 Mark Mitchell <mark@codesourcery.com>
  409. * doc/invoke.texi: Deprecate -fwritable-strings.
  410. * c-common.c (flag_external_templates): Remove.
  411. (flag_alt_external_templates): Likewise.
  412. * c-common.h (flag_external_templates): Remove.
  413. (flag_alt_external_templates): Likewise.
  414. * c-opts.c (c_common_handle_option): Unsupport
  415. -falt-external-templates and -ftemplates.
  416. * doc/invoke.texi: Remove mention of -fexternal-templates and
  417. -falt-external-templates.
  418. 2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
  419. PR target/13466
  420. * config.gcc (powerpc-*-darwin): Remove overridden value of need_64bit_hwint.
  421. * emit-rtl.c (copy_rtx_if_shared): Add comment about its use of
  422. copy_rtx_if_shared_1.
  423. (copy_rtx_if_shared_1): Add comment about what the function does.
  424. * c-decl.c (finish_function): Change order of checks.
  425. (c_expand_body): Likewise.
  426. 2003-12-22 Fariborz Jahanian <fjahanian@apple.com>
  427. * config/rs6000/rs6000.c (legitimate_offset_address_p): Correct
  428. check for the legitimate offset when memory of
  429. DImode/DFmode/TFmode/TImode mode is being referenced and target
  430. is TARGET_POWERPC64.
  431. 2003-12-22 Dale Johannesen <dalej@apple.com>
  432. * reload1.c: Add reg_reloaded_call_part_clobbered.
  433. (reload_as_needed): Use it.
  434. (forget_old_reloads_1): Ditto.
  435. (emit_reload_insns): Ditto.
  436. 2003-12-22 Dale Johannesen <dalej@apple.com>
  437. PR optimization/12828
  438. * loop.c: Add find_regs_nested to look inside CLOBBER(MEM).
  439. (scan_loop): Call it.
  440. * regclass.c (reg_scan_mark_regs): Look inside CLOBBER(MEM).
  441. 2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
  442. PR c/9163
  443. * c-decl.c (poplevel): Only set DECL_INITIAL of a current function
  444. if it is non-null.
  445. (finish_function): Check for error_mark_node or null on DECL_RESULT and
  446. DECL_RESULT of fndecl.
  447. (c_expand_body): Only expand when DECL_INITIAL of fndecl is not
  448. error_mark_node and not null.
  449. 2003-12-21 Dan Nicolaescu <dann@ics.uci.edu>
  450. * rtl.h (dump_rtx_statistics): Declare it.
  451. * rtl.c (rtx_alloc_counts, rtx_alloc_sizes, rtvec_alloc_counts,
  452. rtx_alloc_sizes): New static vars.
  453. (rtx_alloc, rtvec_alloc): Update them.
  454. (dump_rtx_statistics): New function.
  455. * toplev.c (finalize): Call it.
  456. * ggc-page.c (struct globals): Fix comments. Add new member
  457. total_allocated_per_order.
  458. (ggc_alloc): Keep track of the total allocated memory.
  459. (ggc_print_statistics): Clarify message. Print total allocated
  460. memory stats.
  461. * configure.in (gather-detailed-mem-stats): New flag.
  462. * configure: Regenerate.
  463. * config.in: Regenerate.
  464. * doc/install.texi (Configuration): Document
  465. --enable-gather-detailed-mem-stats.
  466. 2003-12-22 Kazu Hirata <kazu@cs.umass.edu>
  467. * system.h (CONVERT_HARD_REGISTER_TO_SSA_P): Poison.
  468. * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Remove.
  469. 2003-12-21 Roger Sayle <roger@eyesopen.com>
  470. * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
  471. when compiling in ILP32 mode.
  472. 2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
  473. * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if
  474. TARGET_HAVE_TLS is false.
  475. 2003-12-21 Kazu Hirata <kazu@cs.umass.edu>
  476. * config/ip2k/ip2k-protos.h: Remove the prototype for
  477. asm_output_section_name.
  478. * config/ip2k/ip2k.c (asm_output_section_name): Remove.
  479. 2003-12-21 Kazu Hirata <kazu@cs.umass.edu>
  480. * alias.c: Fix comment formatting.
  481. * alloc-pool.c: Likewise.
  482. * bitmap.c: Likewise.
  483. * bitmap.h: Likewise.
  484. * bt-load.c: Likewise.
  485. * c-common.c: Likewise.
  486. * c-common.h: Likewise.
  487. * c-decl.c: Likewise.
  488. * c-opts.c: Likewise.
  489. * c-pretty-print.c: Likewise.
  490. * caller-save.c: Likewise.
  491. * cfghooks.h: Likewise.
  492. * cgraph.c: Likewise.
  493. * collect2.c: Likewise.
  494. * cppfiles.c: Likewise.
  495. * cpplib.h: Likewise.
  496. * dwarf2out.c: Likewise.
  497. * dwarfout.c: Likewise.
  498. * emit-rtl.c: Likewise.
  499. * final.c: Likewise.
  500. * function.c: Likewise.
  501. * gcov.c: Likewise.
  502. * gcse.c: Likewise.
  503. * genemit.c: Likewise.
  504. * ggc.h: Likewise.
  505. * haifa-sched.c: Likewise.
  506. * ifcvt.c: Likewise.
  507. * libgcc2.h: Likewise.
  508. * loop.c: Likewise.
  509. * predict.h: Likewise.
  510. * unwind-libunwind.c: Likewise.
  511. * varasm.c: Likewise.
  512. 2003-12-21 Kazu Hirata <kazu@cs.umass.edu>
  513. * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
  514. a warning.
  515. 2003-12-21 Kazu Hirata <kazu@cs.umass.edu>
  516. * config/arm/arm.c: Convert to ISO-C.
  517. * config/avr/avr.h: Likewise.
  518. * config/fr30/fr30.c: Likewise.
  519. * config/ip2k/ip2k.c: Likewise.
  520. * config/mn10300/mn10300.c: Likewise.
  521. 2003-12-20 Andrew Pinski <pinskia@gcc.gnu.org>
  522. Matt Thomas <matt@3am-software.com>
  523. PR target/12749
  524. * config/i386/i386.c (print_operand): Print only the first
  525. 8 characters of the float in hex.
  526. 2003-12-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  527. * pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA
  528. 2.0 code.
  529. (TRAMPOLINE_CODE_SIZE, MIN_CACHELINE_SIZE): New defines.
  530. (INITIALIZE_TRAMPOLINE): Rework to pass line length, and aligned start
  531. and end addresses to I and D cache instruction patterns.
  532. * pa.md (anddi3, iordi3): Change predicates of operands 1 and 2 to
  533. and_operand and ior_operand, respectively. When generating 64-bit
  534. code, only one operand needs to be a register operand.
  535. (xordi3): Change predicates of operands 1 and 2 to register_operand.
  536. (one_cmpldi2): Change predicate of operand 1 to register_operand.
  537. (dcacheflush, icacheflush): Revise to flush an arbitrary number of
  538. cache lines.
  539. 2003-12-20 Josef Zlomek <zlomekj@suse.cz>
  540. PR optimization/13430, PR optimization/12322
  541. * bb-reorder.c (copy_bb_p): Do not allow block with many successors to
  542. be copied.
  543. (find_traces_1_round): Surround check for fake edges by
  544. #ifdef ENABLE_CHECKING #endif.
  545. 2003-12-20 Eric Botcazou <ebotcazou@libertysurf.fr>
  546. PR other/7956
  547. * genmultilib: New variable disable_multilib. Set it to 'yes'
  548. if enable_multilib was set to 'no'. Emit DISABLE_MULTILIB
  549. if disable_multilib was set to 'yes'.
  550. * gcc.c: Include multilib.h before tm.h.
  551. * config/sparc/sol2-bi.h (LINK_ARCH_SPEC): Emit an error
  552. message for multiarch options if DISABLE_MULTILIB is set.
  553. * config/sparc/sol2-gld-bi.h (LINK_ARCH_SPEC): Likewise.
  554. 2003-12-20 Eric Botcazou <ebotcazou@libertysurf.fr>
  555. PR c/12085
  556. * c-typeck.c (build_function_call): Issue a warning if a
  557. function is called through an incompatible prototype and
  558. replace the call by a trap in this case.
  559. 2003-12-19 James E Wilson <wilson@specifixinc.com>
  560. * install.texi (ia64-*-linux): Document minimum libunwind version
  561. number.
  562. 2003-12-19 Per Bothner <per@bothner.com>
  563. * langhooks.c (lhd_print_error_function): Fix for PR c/13110.
  564. Don't do pp_newline; it causes an extra blank line.
  565. * pretty-print.c (pp_base_flush): Clear pp_needs_newline.
  566. 2003-12-19 Jason Merrill <jason@redhat.com>
  567. * tree.c (get_unwidened): Decide whether to narrow a bitfield
  568. reference based on TYPE_SIZE, not TYPE_PRECISION.
  569. * stmt.c (parse_output_constraint): Warn about in-out constraint
  570. that doesn't allow a register.
  571. (parse_input_constraint): Warn about matching constraint that
  572. doesn't allow a register.
  573. 2003-12-19 James E Wilson <wilson@specifixinc.com>
  574. * flow.c (mark_set_regs, case PARALLEL): Scan loop forwards.
  575. Add case for ASM_OPERANDS.
  576. * global.c (global_alloc): Set regs_ever_live for regs_asm_clobbered
  577. registers.
  578. 2003-12-19 Kazu Hirata <kazu@cs.umass.edu>
  579. * expr.c (check_max_integer_computation_mode): Remove.
  580. * dojump.c (do_jump): Don't use MAX_INTEGER_COMPUTATION_MODE.
  581. * fold-const.c (fold): Likewise.
  582. * system.h (MAX_INTEGER_COMPUTATION_MODE): Poison.
  583. * doc/tm.texi (MAX_INTEGER_COMPUTATION_MODE): Remove.
  584. 2003-12-19 James E Wilson <wilson@specifixinc.com>
  585. * configure.in: Delete libunwind_has_eh_support test.
  586. * configure: Regenerate.
  587. * config.gcc (ia64*-*-linux*): Delete reference to t-libunwind-no-eh
  588. and libunwind_has_eh_support check.
  589. * config/t-libunwind-no-eh: Delete.
  590. 2003-12-19 Joseph S. Myers <jsm@polyomino.org.uk>
  591. * c-format.c (print_char_table): Allow 'I' flag on floating point
  592. decimal formats.
  593. 2003-12-19 Stuart Hastings <stuart@apple.com>
  594. * gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk):
  595. Trivial fixes for i386.c on Darwin/x86.
  596. 2003-12-19 Fariborz Jahanian <fjahanian@apple.com>
  597. * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Add code to
  598. recognize macho-style lo_sum adrress patterns.
  599. 2003-12-19 Kazu Hirata <kazu@cs.umass.edu>
  600. * dwarfout.c: Remove uses of "register" specifier in
  601. declarations of arguments and local variables.
  602. * gensupport.c: Likewise.
  603. * local-alloc.c: Likewise.
  604. * regclass.c: Likewise.
  605. 2003-12-19 Kelley Cook <kelleycook@wideopenwest.com>
  606. * config.guess: Remove.
  607. 2003-12-19 Jakub Jelinek <jakub@redhat.com>
  608. * config/ia64/unwind-ia64.c (ia64_copy_rbs): New function.
  609. (unw_access_gr): Only call ia64_rse_rnat_addr if addr is above
  610. regstk_top.
  611. (uw_frame_state_for): Handle locations inside bundles.
  612. (uw_init_context_1): Initialize context->rnat.
  613. Set context->regstk_top to lowest rbs address which has nat collection
  614. in context->rnat.
  615. (uw_install_context): Fix rnat restoring.
  616. Restore ar.rsc to previous state.
  617. * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR,
  618. MD_HANDLE_UNWABI): Handle unwinding through SA_ONSTACK frames.
  619. 2003-12-19 Jakub Jelinek <jakub@redhat.com>
  620. PR c++/13239
  621. * builtins.c (expand_builtin_expect_jump): Update
  622. TREE_VALUE (arglist) if unsave_expr_now langhook
  623. created a new tree.
  624. 2003-12-19 Richard Earnshaw <rearnsha@arm.com>
  625. * arm.c (thumb_base_register_rtx_p): Use regno in comparison against
  626. FIRST_PSEUDO_REGISTER.
  627. 2003-12-18 Hartmut Penner <hpenner@de.ibm.com>
  628. * gcc/config/rs6000/rs6000.c (USE_ALTIVEC_FOR_ARG_P): Don't check
  629. for SVR4 ABI.
  630. 2003-12-18 Geoffrey Keating <geoffk@apple.com>
  631. * config/rs6000/aix.h (OS_MISSING_POWERPC64): Define.
  632. (OS_MISSING_ALTIVEC): Define.
  633. * config/rs6000/darwin.h (ASM_SPEC): Be generous about supplying
  634. -force_cpusubtype_ALL.
  635. * config/rs6000/rs6000.c (rs6000_override_options): Rearrange
  636. CPU information table; now always set all CPU-specific values.
  637. Also, use Altivec and powerpc64 when chip and OS supports them.
  638. 2003-12-18 Geoffrey Keating <geoffk@apple.com>
  639. * fixinc/inclhack.def (darwin_macho_dyldh): New.
  640. * fixinc/fixincl.x: Regenerate.
  641. 2003-12-18 Dara Hazeghi <dhazeghi@yahoo.com>
  642. * version.c (version_string): Renumber as 3.4.0
  643. * doc/include/gcc-common.texi: Likewise
  644. 2003-12-18 Richard Henderson <rth@redhat.com>
  645. * genrecog.c (print_host_wide_int): New.
  646. (write_switch, write_cond): Use it.
  647. 2003-12-18 Richard Henderson <rth@redhat.com>
  648. * c-decl.c (check_bitfield_type_and_width): Remove enum special
  649. case suppression of pedwarn.
  650. * system.h (ENUM_BITFIELD): Use __extension__.
  651. (CHAR_BITFIELD): Likewise.
  652. 2003-12-18 Ulrich Weigand <uweigand@de.ibm.com>
  653. Mark Dettinger <dettinge@de.ibm.com>
  654. * config/s390/s390.md (UNSPEC_SRST): New constant.
  655. ("strlendi", "strlensi"): New expanders.
  656. ("*strlendi", "*strlensi"): New insns.
  657. 2003-12-18 Mark Mitchell <mark@codesourcery.com>
  658. * config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
  659. (LINK_ARCH32_SPEC_BASE): ... this new macro.
  660. * config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of
  661. ...
  662. (LINK_ARCH64_SPEC_BASE): ... this new macro.
  663. * config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro.
  664. (LINK_ARCH64_SPEC): Likewise.
  665. 2003-12-18 Jason Merrill <jason@redhat.com>
  666. PR middle-end/13234
  667. * tree-dump.c (dequeue_and_dump): Handle 'r' and 's' code
  668. classes.
  669. 2003-12-18 Steven Bosscher <stevenb@suse.de>
  670. * Makefile.in (tracer.o, bb-reorder.o): Depend on timevar.h
  671. * toplev.c (rest_of_handle_reorder_blocks, rest_of_handle_tracer):
  672. Don't push and pop TV_REORDER_BLOCKS timevars, do it...
  673. * bb-reorder.c (reorder_basic_blocks): ...here, and...
  674. * tracer.c (tracer): here.
  675. 2003-12-18 Ulrich Weigand <uweigand@de.ibm.com>
  676. * loop.c (move_movables): Handle combination of m->consec,
  677. m->move_insn_first, and m->insert_temp all nonzero correctly.
  678. 2003-12-18 Kazu Hirata <kazu@cs.umass.edu>
  679. * calls.c (load_register_parameters): Don't use
  680. LOAD_ARGS_REVERSED.
  681. * system.h (LOAD_ARGS_REVERSED): Poison.
  682. * doc/tm.texi (LOAD_ARGS_REVERSED): Remove.
  683. 2003-12-17 Per Bothner <per@bothner.com>
  684. * emit-rtl.c (set_new_first_and_last_label_num): Remove function.
  685. * rtl.h (set_new_first_and_last_label_num): Remove declaration.
  686. 2003-12-17 Alexandre Oliva <aoliva@redhat.com>
  687. * config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
  688. scratch insns of the then branch that clobber regs needed by the
  689. else branch.
  690. 2003-12-17 Kazu Hirata <kazu@cs.umass.edu>
  691. * calls.c (expand_call): Update comments.
  692. * system.h (PRETEND_OUTGOING_VARARGS_NAMED): Poison.
  693. * targhooks.c: Do not refer to PRETEND_OUTGOING_VARARGS_NAMED.
  694. 2003-12-17 James E Wilson <wilson@specifixinc.com>
  695. Roger Sayle <roger@eyesopen.com>
  696. * Makefile.in (gcse.o): Add $(TREE_H) to dependencies.
  697. * gcse.c: Include tree.h.
  698. (implicit_set_cond_p): New.
  699. (find_implicit_sets): Call it.
  700. 2003-12-17 Santiago Vila <sanvila@unex.es>
  701. * config/kfreebsdgnu.h (TARGET_OS_CPP_BUILTINS): Rename from
  702. TARET_OS_CPP_BUILTINS.
  703. 2003-12-16 Kazu Hirata <kazu@cs.umass.edu>
  704. * emit-rtl.c: Fix signed/unsigned comparison warnings.
  705. 2003-12-17 Joseph S. Myers <jsm@polyomino.org.uk>
  706. * predict.c (struct block_info_def, struct edge_info_def): Change
  707. bit-fields of width 1 to unsigned int.
  708. 2003-12-16 Geoffrey Keating <geoffk@apple.com>
  709. PR 12480
  710. * c-pch.c (pch_init): Improve error message when precompiled
  711. header can't be written.
  712. PR 12606
  713. * c-pch.c (pch_init): Make a PCH file appear invalid while it's
  714. being written.
  715. (c_common_write_pch): Make it valid once it's done.
  716. 2003-12-17 Ulrich Weigand <uweigand@de.ibm.com>
  717. PR target/11992
  718. * config/s390/s390.md ("*cmpmem_long_64"): Use CLCLE instruction
  719. instead of CLCL.
  720. ("*cmpmem_long_31"): Likewise.
  721. 2003-12-17 Vladimir Makarov <vmakarov@redhat.com>
  722. * config/ia64/ia64.c: Add more comments about insn bundling.
  723. 2003-12-17 Richard Earnshaw <rearnsha@arm.com>
  724. PR optimization/10592
  725. * caller-save.c (mark_referenced_regs): Don't short-circuit a reg
  726. or subreg in SET_DEST if it isn't a hard register.
  727. 2003-12-17 David Edelsohn <edelsohn@gnu.org>
  728. * collect2.c (main): Add -fno-profile-arcs -fno-test-coverage
  729. -fno-branch-probabilities to arguments when compiling ctors and
  730. dtors.
  731. 2003-12-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  732. * config/sparc/sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.
  733. * config/sparc/sol2-gld.h: Set SUPPORTS_INIT_PRIORITY to 1.
  734. 2003-12-17 Richard Earnshaw <rearnsha@arm.com>
  735. * arm.c (thumb_base_register_rtx_p): Don't allow virtual registers
  736. as base registers for sub-word operations.
  737. (thumb_legitimate_address_p): Simplify REG+REG test.
  738. 2003-12-17 Segher Boessenkool <boessen@de.ibm.com>
  739. * opts.c (wrap_help): Fix overflow.
  740. 2003-12-17 Fred Fish <fnf@redhat.com>
  741. * configure.in: Remove code to examine linker scripts and set
  742. HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES.
  743. * configure, config.in: Regenerate.
  744. 2003-12-16 Mark Mitchell <mark@codesourcery.com>
  745. PR c++/12218
  746. * varasm.c (initializer_constant_valid_p): Allow a conversion from
  747. an integral constant to an OFFSET_TYPE.
  748. 2003-12-16 Kazu Hirata <kazu@cs.umass.edu>
  749. PR target/11012
  750. * config/m32r/m32r.c (gen_compare): Call gen_addsi3 instead of
  751. gen_cmp_ne_small_const_insn.
  752. * config/m32r/m32r.md (cmp_ne_small_const_insn): Remove.
  753. 2003-12-17 Neil Booth <neil@daikokuya.co.uk>
  754. Joseph S. Myers <jsm@polyomino.org.uk>
  755. PR c/3347
  756. * c-decl.c (enum_decl_context): Remove BITFIELD.
  757. (grokdeclarator): Take bit-field width as an input.
  758. Perform bit-field width validation with
  759. check_bitfield_type_and_width rather than waiting for
  760. finish_struct.
  761. (groktypename, groktypename_in_parm_context, start_decl,
  762. push_parm_decl, grokfield, start_function): Update calls to
  763. grokdeclarator.
  764. (check_bitfield_type_and_width): New function.
  765. (finish_struct): Move bit-field validation to grokdeclarator
  766. and check_bitfield_type_and_width.
  767. 2003-12-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  768. PR bootstrap/13386
  769. * configure.in (gcc_cv_ld_hidden): Set to yes on hppa64*-*-hpux* when
  770. using HP native linker.
  771. * configure: Rebuilt.
  772. 2003-12-16 Mark Mitchell <mark@codesourcery.com>
  773. PR c++/13275
  774. * c-common.h (enum rid): Add RID_OFFSETOF.
  775. * c-parser.in (rid_to_yy): Ignore RID_OFFSETOF.
  776. * ginclude/stddef.h (offsetof): Reimplement for C++, using
  777. __offsetof__.
  778. * doc/extend.texi: Document __offsetof__.
  779. 2003-12-16 Stan Cox <scox@redhat.com>
  780. * config/iq2000/iq2000.h: Formatting.
  781. (MAX_INT_TYPE_SIZE, MAX_INT_TYPE_SIZE, CONST_COSTS, RTX_COSTS)
  782. (ADDRESS_COST, ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL)
  783. (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR, SLOW_ZERO_EXTEND): Remove
  784. * config/iq2000/iq2000.c: Formatting.
  785. (iq2000_rtx_costs): New.
  786. 2003-12-16 Richard Earnshaw <rearnsha@arm.com>
  787. * arm.md (addsi3_carryin_shift): Add missing register constraints.
  788. 2003-12-16 Loren James Rittle <ljrittle@acm.org>
  789. * testsuite/g++.old-deja/g++.eh/badalloc1.C: Tweak to
  790. pass with -pthread on FreeBSD systems.
  791. 2003-12-16 Richard Sandiford <rsandifo@redhat.com>
  792. * config/mips/mips.c (mips_file_end): Only write symbols that have
  793. been referenced at some point.
  794. 2003-12-16 Richard Sandiford <rsandifo@redhat.com>
  795. * config/mips/mips.c: Include langhooks.h
  796. (mips_build_builtin_va_list): Use lang_hooks.types.make_type.
  797. 2003-12-16 Eric Botcazou <ebotcazou@libertysurf.fr>
  798. PR optimization/13313
  799. * combine.c (make_extraction) [REG]: Do not use
  800. gen_lowpart_for_combine when POS is non-zero.
  801. 2003-12-16 Hartmut Penner <hpenner@de.ibm.com>
  802. * altivec.h (vec_cmple, vec_all_numeric): Fix typo.
  803. * testsuite/gcc.dg/altivec-10.c: Test for above.
  804. 2003-12-15 David O'Brien <obrien@FreeBSD.org>
  805. * Makefile.in (CPPFLAGS): Initialize from configure.
  806. 2003-12-15 Roger Sayle <roger@eyesopen.com>
  807. PR middle-end/13400
  808. * ifcvt.c (noce_process_if_block): Disable unconditional write
  809. optimizations if we could introduce a store to trapping memory
  810. that wasn't present previously.
  811. 2003-12-15 Kazu Hirata <kazu@cs.umass.edu>
  812. * system.h (DEFAULT_CALLER_SAVES): Poison.
  813. * toplev.c (flag_caller_saves): Always initialize with 0.
  814. * doc/tm.texi (DEFAULT_CALLER_SAVES): Remove.
  815. 2003-12-15 Kazu Hirata <kazu@cs.umass.edu>
  816. * flow.c (EXIT_IGNORE_STACK): Move to ...
  817. * defaults.h (EXIT_IGNORE_STACK): ... here.
  818. * dojump.c (clear_pending_stack_adjust): Don't use #ifdef
  819. EXIT_IGNORE_STACK.
  820. * function.c (expand_function_end): Likewise.
  821. * global.c (global_alloc): Likewise.
  822. * ra.c (init_ra): Likewise.
  823. * reload1.c (init_elim_table): Likewise.
  824. * reorg.c (fill_simple_delay_slots): Likewise.
  825. * resource.c (init_resource_info): Likewise.
  826. * doc/tm.texi (EXIT_IGNORE_STACK): Document that the default
  827. is 0.
  828. 2003-12-15 J"orn Rennecke <joern.rennecke@superh.com>
  829. * reload.c (reg_overlap_mentioned_for_reload_p):
  830. When looking at a PLUS in X, avoid spuriously returning nonzero
  831. when IN is a REG or another simple PLUS, or a MEM containing one.
  832. * loop.c (loop_invariant_p): Amend comment about where new registers
  833. might come from.
  834. 2003-12-15 Andreas Jaeger <aj@suse.de>
  835. * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Remove
  836. handling of obsolete language CHILL.
  837. 2003-12-15 Waldek Hebisch <hebisch@math.uni.wroc.pl>
  838. * tree.c (initializer_zerop): Add test for empty set.
  839. * integrate.c (function_cannot_inline_p): Forbid inlining
  840. functions calling `longjmp'.
  841. 2003-12-15 Nathan Sidwell <nathan@codesourcery.com>
  842. PR c++/11773
  843. * doc/gcov.texi (Gcov and Optimization): Document inline function
  844. behaviour. Fix some file suffixes.
  845. 2003-12-14 David O'Brien <obrien@FreeBSD.org>
  846. * config/i386/i386.h (__amd64, __amd64__): Remove duplicates.
  847. 2003-12-14 Mark Mitchell <mark@codesourcery.com>
  848. * c-common.h (c_parse_error): Declare it.
  849. * c-common.c (c_parse_error): New function.
  850. * c-parse.y (yyerror): Use it.
  851. 2003-12-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  852. PR target/13054
  853. * pa-protos.h (indexed_memory_operand, borx_reg_operand,
  854. move_dest_operand, move_src_operand): New protypes.
  855. (basereg_operand, move_operand, reg_or_nonsymb_mem_operand): Deleted.
  856. * pa.c (copy_reg_pointer, indexed_memory_operand, move_dest_operand,
  857. move_src_operand): New functions.
  858. (basereg_operand, reg_or_nonsymb_mem_operand, move_operand): Delete.
  859. (reg_or_0_or_nonsymb_mem_operand): Return false for unscaled indexed
  860. address until cse is not expected on targets with non-equivalent
  861. space registers.
  862. (hppa_legitimize_address): Canonicalize unscaled indexed addresses
  863. on targets non-equivalent space registers.
  864. (emit_move_sequence): Break out indexed addresses from destination
  865. operand. Similarly, break out unscaled indexed addresses from
  866. source operand on targets with non-equivalent space registers. Fix
  867. REG_POINTER flag when possible. Mark register pointer when creating
  868. new pointers.
  869. (print_operand): Handle unscaled index addresses.
  870. * pa.h (IS_INDEX_ADDR_P, IS_LO_SUM_DLT_ADDR_P): New macro subroutines
  871. for EXTRA_CONSTRAINT.
  872. (EXTRA_CONSTRAINT): Rework to make more readable.
  873. (MODE_OK_FOR_SCALED_INDEXING_P, MODE_OK_FOR_UNSCALED_INDEXING_P): New
  874. subroutines for GO_IF_LEGITIMATE_ADDRESS.
  875. (GO_IF_LEGITIMATE_ADDRESS): Rework using new subroutines. Allow scaled
  876. and unscaled addresses. Canonicalize unscaled indexed addresses on
  877. targets with non-equivalent space registers. Document issues in
  878. handling indexed address modes on PA-RISC.
  879. (PREDICATE_CODES): Update for new and deleted predicates.
  880. * pa.md (move_dest_operand, move_src_operand, indexed_memory_operand):
  881. Use new predicates in move patterns.
  882. Add peephole2 patterns to optimize floating point stores. Fix
  883. constrain preferencing in move patterns. Delete patterns for handling
  884. unscaled indexed memory loads. Add missing load and store with
  885. base-register modification patterns. Correct SFmode floating point
  886. store pattern. Add missing zero extension loads.
  887. 2003-12-13 Steven Bosscher <stevenb@suse.de>
  888. * ggc-zone.c (struct alloc_zone): Don't pre-declare, it already
  889. comes in with ggc.h. Add a new bool field `dead'.
  890. (destroy_ggc_zone): Don't destroy a zone at once. Instead, only
  891. set the `dead' flag for the dead zone. Wrap a sanity check in
  892. ENABLE_CHECKING.
  893. (ggc_collect_1): Always mark and sweep if a zone has the `dead'
  894. flag set.
  895. (ggc_collect): Free dead zones after collecting.
  896. 2003-12-13 Jan Hubicka <jh@suse.cz>
  897. * coverage.c (get_coverage_counts): Use inform instead of warning
  898. about missing profile.
  899. 2003-12-12 Steven Bosscher <stevenb@suse.de>
  900. * Makefile.in (opts.o, explow.o): Depend on langhooks.h
  901. 2003-12-12 Geoffrey Keating <geoffk@apple.com>
  902. * config.gcc <i[34567]86-*-darwin*>: Don't use fixproto.
  903. <powerpc-*-darwin*>: Likewise.
  904. 2003-12-12 Jakub Jelinek <jakub@redhat.com>
  905. * config/ia64/linux.h (IA64_GATE_AREA_END): Increase by 64K.
  906. (MD_FALLBACK_FRAME_STATE_FOR): Set fpsr_loc, br_loc[6] and
  907. br_loc[7]. Update comment.
  908. (MD_HANDLE_UNWABI): Define.
  909. * config/ia64/unwind-ia64.c (struct unw_state_record): Add
  910. unwabi field.
  911. (struct _Unwind_Context): Increase br_loc array size to 8 entries.
  912. (desc_abi): Set unwabi.
  913. (uw_update_reg_address): Allow br up to 7.
  914. (uw_update_context): Invoke MD_HANDLE_UNWABI if defined.
  915. (uw_install_context): Load b1..b5 from correct locations.
  916. Fix insn loading ar.fpsr.
  917. * doc/tm.texi: Document MD_HANDLE_UNWABI.
  918. 2003-12-12 Roger Sayle <roger@eyesopen.com>
  919. PR optimization/13037
  920. * loop.c (update_giv_derive): Ignore redundant sets of a biv when
  921. calculating how to derive a giv from a biv.
  922. 2003-12-12 Neil Booth <neil@daikokuya.co.uk>
  923. PR preprocessor/12935 preprocessor/12952 preprocessor/13046
  924. * cpplib.c (prepare_directive_trad): Clear skipping only in
  925. #if and #elif directives.
  926. (do_undef): Call the handler even if the identifier is not a macro.
  927. * cpptrad.c (scan_parameters): Emit an error message.
  928. (_cpp_create_trad_definition): Remember the params list even on
  929. failure.
  930. 2003-12-11 Zack Weinberg <zack@codesourcery.com>
  931. * arm.c (ARM_ADDRESS_COST, THUMB_ADDRESS_COST): Convert macros
  932. to inline functions: arm_arm_address_cost, arm_thumb_address_cost
  933. respectively.
  934. (arm_address_cost): Use 'em.
  935. 2003-12-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  936. * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define
  937. __STDC_VERSION__ to ISO C94 for C++.
  938. * fixinc/inclhack.def (alpha_wchar): New fix.
  939. * fixinc/fixincl.x: Regenerate.
  940. * fixinc/tests/base/wchar.h: New file.
  941. 2003-12-11 David Mosberger <davidm@hpl.hp.com>
  942. * unwind-libunwind.c (_Unwind_SetGR): Clear the NaT bit as
  943. required by C++ ABI for Itanium.
  944. * config/t-libunwind (LIB2ADDEH): Remove unwind-libunwind.c.
  945. * config/t-libunwind-no-eh: New file.
  946. * configure.in: Check libunwind for _Unwind_Resume() and if it's
  947. present, set libunwind_has_eh_support to "yes".
  948. * configure: Regenerate.
  949. * config.gcc (ia64*-*-linux*): If $libunwind_has_eh_support is
  950. set to yes, use t-libunwind, otherwise, use t-libunwind-no-eh.
  951. 2003-12-11 Richard Sandiford <rsandifo@redhat.com>
  952. * config/mips/mips.c (mips_global_pointer): Force functions with
  953. a nonlocal goto to set up $gp.
  954. 2003-12-11 James E Wilson <wilson@specifixinc.com>
  955. PR target/13132
  956. * function.c (gen_mem_addressof): When no decl, explicitly clear flag
  957. bits.
  958. 2003-12-12 Nick Clifton <nickc@redhat.com>
  959. * config/m32r/m32r.c: Convert to ISO-C
  960. 2003-12-12 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  961. * doc/invoke.texi: Replace Mitsubishi with Renesas.
  962. * config/m32r/m32r.h: Ditto.
  963. * config/m32r/m32r.c: Ditto.
  964. * config/m32r/m32r.md: Ditto.
  965. 2003-12-11 Steven Bosscher <steven@gcc.gnu.org>
  966. * basic-block.h (BLOCK_HEAD, BLOCK_END): Remove.
  967. (BLOCK_HEAD_TREE, BLOCK_END_TREE): Remove.
  968. (basic_block_def): Rename `head' to `head_' and `end' to `end_'.
  969. (BB_HEAD, BB_END): New accessor macros for the `head_' and `end_'
  970. fields of a basic block.
  971. * bb-reorder.c, bt-load.c, caller-save.c, cfg.c, cfganal.c,
  972. cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgloopanal.c,
  973. cfgloopmanip.c, cfgrtl.c, combine.c, conflict.c, df.c, emit-rtl.c,
  974. final.c, flow.c, function.c, gcse.c, global.c, graph.c,
  975. haifa-sched.c, ifcvt.c, lcm.c, local-alloc.c, loop-unswitch.c,
  976. loop.c, postreload.c, predict.c, profile.c, ra-build.c, ra-debug.c,
  977. ra-rewrite.c, ra.c, recog.c, reg-stack.c, regclass.c, regmove.c,
  978. regrename.c, reload1.c, resource.c, sched-ebb.c, sched-rgn.c,
  979. sibcall.c, tracer.c, config/frv/frv.c, config/i386/i386.c,
  980. config/ia64/ia64.c: Use the BB_HEAD and BB_END macros instead of
  981. accessing the `head' and `end' fields of a basic block directly.
  982. * gengtype.c: Teach about "void**" pointers and "void *" function
  983. types. Fixes earlier commit.
  984. 2003-12-10 Geoffrey Keating <geoffk@apple.com>
  985. * doc/extend.texi (Vector Extensions): Document that bitwise
  986. operations also work on vectors.
  987. 2003-12-10 Richard Earnshaw <rearnsha@arm.com>
  988. * arm.md: New split patterns for optimizing bitfield accesses.
  989. 2003-12-10 Steven Bosscher <stevenb@suse.de>
  990. * README.Portability: Remove K+R section.
  991. * gengtype-lex.l: Teach about "void**" pointers and
  992. "void*" function types.
  993. 2003-12-10 Eric Botcazou <ebotcazou@libertysurf.fr>
  994. PR target/13354
  995. * config/sparc/sparc.c (sparc_output_mi_thunk): Load DELTA
  996. manually if one can do that with only one instruction.
  997. 2003-12-10 Nick Clifton <nickc@redhat.com>
  998. * config.gcc (arm-linux): Include linux.h in tm_file so that
  999. LINUX_TARGET_OS_CPP_BUILTINS is defined.
  1000. * config/arm/linux-elf.h (LIB_SPEC): Protect the definition.
  1001. 2003-12-09 James E Wilson <wilson@specifixinc.com>
  1002. * rtl.def (CODE_LABEL, NOTE): Correct operand numbers in comments.
  1003. 2003-12-09 Matt Austern <austern@apple.com>
  1004. PR c/13134
  1005. * c-decl.c (duplicate_decls): Copy visibility flag when appropriate.
  1006. 2003-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  1007. * config/m32r/m32r.h: Add support for m32r2 processor. Including
  1008. a new command line option -m32r2 to select it.
  1009. * config/m32r/m32r.c: Add support for the new processor variant.
  1010. * config/m32r/m32r.md: Likewise.
  1011. * config/m32r/t-m32r: Add m32r2 multilibs.
  1012. * doc/invoke.texi: Document the new command line switch.
  1013. 2003-12-08 Kazu Hirata <kazu@cs.umass.edu>
  1014. * defaults.h (LOCAL_REGNO): Give the default definition.
  1015. * flow.c (LOCAL_REGNO): Remove.
  1016. * reload1.c (LOCAL_REGNO): Likewise.
  1017. 2003-12-08 Geoffrey Keating <geoffk@apple.com>
  1018. PR target/11848
  1019. * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Allow change of mode
  1020. in floating-point registers between TFmode and DImode.
  1021. * rs6000.c (rs6000_emit_move): Split moves early.
  1022. (secondary_reload_class): Random Whitespace Change.
  1023. (rs6000_split_multireg_move): Support moves involving FP registers.
  1024. Emit instructions directly.
  1025. * rs6000-protos.h (rs6000_split_multireg_move): Update prototype.
  1026. * altivec.md: Update for changes to rs6000_split_multireg_move.
  1027. * rs6000.md: Update for changes to rs6000_split_multireg_move.
  1028. (movtf_internal): Support moves to/from GPRs.
  1029. 2003-12-08 Stuart Hastings <stuart@apple.com>
  1030. * config/i386/i386.md: Typo in split of fp-valued if_then_else.
  1031. 2003-12-08 James E Wilson <wilson@specifixinc.com>
  1032. PR target/13132
  1033. * expmed.c (extract_bit_field): Only call mode_for_size for scalar
  1034. integer modes.
  1035. 2003-12-08 Nathanael Nerode <neroden@gcc.gnu.org>
  1036. * doc/install.texi: Revert change of Dec 7; gcc is still a 2.13
  1037. directory.
  1038. 2003-12-08 Alexandre Oliva <aoliva@redhat.com>
  1039. * config/frv/frv.md (subdi2): Merge with _internal insn_and_split,
  1040. by using match_scratch.
  1041. (negdi2): New.
  1042. 2003-12-08 Jason Merrill <jason@redhat.com>
  1043. Daniel Berlin <dberlin@dberlin.org>
  1044. PR debug/11114
  1045. Support namespaces in DWARF 2 output.
  1046. * dwarf2out.c (gen_namespace_die): New function.
  1047. (force_namespace_die, setup_namespace_context): New fns.
  1048. (declare_in_namespace): New fn.
  1049. (gen_decl_die): Call declare_in_namespace. Handle namespaces.
  1050. (dwarf2out_decl): Handle namespaces.
  1051. (scope_die_for): Pass through a namespace scope.
  1052. (class_scope_p): Rename to class_or_namespace_scope_p.
  1053. (gen_subprogram_die, gen_variable_die): Adjust.
  1054. (gen_struct_or_union_die): Always emit a declaration
  1055. if context_die is a namespace.
  1056. 2003-12-08 Jan Hubicka <jh@suse.cz>
  1057. * unwind-pe.h (read_uleb128): Fix handling of large values
  1058. (read_sleb128): Fix handling of large values
  1059. 2003-12-08 Andrew Pinski <pinskia@physics.uc.edu>
  1060. PR middle-end/10060
  1061. * emit-rtl.c (copy_rtx_if_shared): Split out into ...
  1062. (copy_rtx_if_shared_1): here and optimize the last one
  1063. in the sequence into tail-recursion.
  1064. (reset_used_flags): Optimize the last one
  1065. in the sequence into tail-recursion.
  1066. 2003-12-08 Richard Earnshaw <rearnsha@arm.com>
  1067. * arm.md: New split to transform ((X << y) - 1) into ~(~(X-1) << y)
  1068. for constant X.
  1069. 2003-12-08 Richard Sandiford <rsandifo@redhat.com>
  1070. * calls.c (expand_call): Don't try using tail or recursive calls
  1071. after the function body has been expanded.
  1072. 2003-12-08 Jan Hubicka <jh@suse.cz>
  1073. * i386.md (cmpstr expander): Obey TARGET_INLINE_ALL_STRINGOPS
  1074. 2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
  1075. PR ada/13324, PR ada/12614
  1076. * doc/install.texi: Update requirements for building Ada.
  1077. 2003-12-07 David Edelsohn <edelsohn@gnu.org>
  1078. Graham Reed <greed@pobox.com>
  1079. * collect2.c (GCC_OK_SYMBOL): Add support for AIX C_WEAKEXT.
  1080. (GCC_UNDEF_SYMBOL): Same.
  1081. 2003-12-07 Kazu Hirata <kazu@cs.umass.edu>
  1082. * final.c (final_scan_insn): Don't use FINAL_PRESCAN_LABEL.
  1083. * system.h (FINAL_PRESCAN_LABEL): Poison.
  1084. * doc/tm.texi (FINAL_PRESCAN_LABEL): Remove.
  1085. 2003-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1086. * Makefile.in (compare): Combine toplevel and $(SUBDIRS) cases.
  1087. 2003-12-07 Nathanael Nerode <neroden@gcc.gnu.org>
  1088. * configure.in, aclocal.m4: Revert to pre-2.5x conversion status.
  1089. * configure: Regenerate with autoconf 2.13.
  1090. * configure.in: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
  1091. with modern equivalents.
  1092. * configure: Regenerate.
  1093. * configure.in: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
  1094. * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
  1095. * configure: Regenerate.
  1096. * configure: Regenerate with (preferred) autoconf 2.57.
  1097. * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
  1098. 2003-12-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  1099. PR optimization/12965
  1100. * caller-save.c (save_call_clobbered_regs): Do not save/restore
  1101. registers around no-return calls.
  1102. 2003-12-07 Nathanael Nerode <neroden@gcc.gnu.org>
  1103. * configure.in: Make minimum necessary changes for autoconf 2.5x.
  1104. * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
  1105. * configure: Regenerate with autoconf 2.58.
  1106. 2003-12-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  1107. PR optimization/13318
  1108. * loop.c (express_from): Protect integer division from overflow.
  1109. 2003-12-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  1110. PR optimization/13060
  1111. * function.c (fixup_var_refs_1) [SUBREG]: Recognize even if a
  1112. replacement already exists. Fix again the whole insn if that fails.
  1113. 2003-12-06 Andrew Pinski <pinskia@physics.uc.edu>
  1114. * config/rs6000/rs6000.c (macho_branch_islands): Use
  1115. HOST_WIDE_INT_PRINT_UNSIGNED.
  1116. 2003-12-06 Richard Sandiford <rsandifo@redhat.com>
  1117. * varasm.c (incorporeal_function_p): New.
  1118. (assemble_external): Use it as a filter.
  1119. * config/mips/mips.c (mips_output_external): Don't check for builtin
  1120. functions here.
  1121. 2003-12-06 Richard Earnshaw <reanrsha@arm.com>
  1122. * arm.md (IOR (COMPARISON) (AND)): New define_splits.
  1123. 2003-12-06 Kelley Cook <kcook@gcc.gnu.org>
  1124. * Makefile.in (program_transform_cross_name): Delete.
  1125. (GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
  1126. (PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
  1127. (AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
  1128. (install_cpp, install_driver, install-man, uninstall): Likewise.
  1129. 2003-12-06 Alan Modra <amodra@bigpond.net.au>
  1130. PR 13169
  1131. * basic-block.h (PROP_ASM_SCAN): Define.
  1132. * final.c (regs_asm_clobbered): New array.
  1133. * regs.h (regs_asm_clobbered): Declare.
  1134. * flow.c (life_analysis): Init it.
  1135. (mark_set_regs): Set PROP_ASM_SCAN for asms.
  1136. (mark_set_1): Set regs_asm_clobbered.
  1137. * global.c (global_alloc): Don't set eliminable_regset when
  1138. regs_asm_clobbered.
  1139. 2003-12-05 Mark Mitchell <mark@codesourcery.com>
  1140. * config/ia64/ia64.h (MUST_PASS_IN_STACK): Define.
  1141. PR c++/13314
  1142. * emit-rtl.c (set_mem_attributes_minus_bitpos): Robustify.
  1143. 2003-12-05 Andrew Pinski <pinskia@physics.uc.edu>
  1144. PR driver/13211
  1145. * gcc.c (execute) Increment execution_count when returning
  1146. early because verbose_only_flag is true.
  1147. 2003-12-05 Per Bothner <pbothner@apple.com>
  1148. * cppfiles.c (file_hash_hash): New static function.
  1149. (hash_string_eq): Renamed static function to file_hash_eq.
  1150. (_cpp_init_files): Create file_hash table with above callbacks.
  1151. (cpp_included): Must use htab_find_with_hash insead of htab_find.
  1152. (_cpp_find_find, make_cpp_dir): Must use htab_find_slot_with_hash.
  1153. 2003-12-05 Per Bothner <pbothner@apple.com>
  1154. * line-map.h (source_location): New typedef.
  1155. (fileline): Redefined as source_location.
  1156. (struct line_map, linemap_add, linemap_lookup): Replace filefile
  1157. by source_location.
  1158. * line-map.c (linemap_add, linemap_lookup): Use source_location.
  1159. 2003-12-05 Richard Henderson <rth@redhat.com>
  1160. * config/alpha/alpha.c (alpha_build_builtin_va_list): Add dummy
  1161. field to suppress -Wpadded warnings.
  1162. 2003-12-05 Stuart Hastings <stuart@apple.com>
  1163. * config/rs6000/rs6000.md: Correct macro test of TARGET_MACHO.
  1164. 2003-12-05 Stuart Menefy <stuart.menefy@st.com>
  1165. J"orn Rennecke <joern.rennecke@superh.com>
  1166. PR target/13302
  1167. * sh.c (sh_build_builtin_va_list): Use (*lang_hooks.types.make_type).
  1168. 2003-12-05 Roger Sayle <roger@eyesopen.com>
  1169. * dojump.c (do_jump): If the expression being compared against
  1170. zero, is the subreg of a promoted variable, perform the comparison
  1171. in the promoted mode.
  1172. * simplify-rtx.c (simplify_unary_operation): Optimize sign and
  1173. zero-extensions of subregs of promoted variables where the
  1174. extension is identical to that used to promote the variable.
  1175. 2003-12-05 Hans-Peter Nilsson <hp@axis.com>
  1176. PR target/13256
  1177. * resource.h (enum mark_resource_type): Remove member MARK_DEST.
  1178. The only user changed as follows:
  1179. * resource.c (mark_set_resources) <case SET>: Always recurse for
  1180. SET_SRC (x).
  1181. <case SIGN_EXTRACT, case ZERO_EXTRACT>: Always recurse on
  1182. operands.
  1183. <case STRICT_LOW_PART>: Delete, deferring to default code.
  1184. 2003-12-05 Waldek Hebisch <hebisch@math.uni.wroc.pl>
  1185. * stmt.c (expand_nl_goto_receiver): Copy hard register clobbers
  1186. and ASM_INPUT barrier from expand_builtin_setjmp_receiver.
  1187. 2003-12-05 Richard Sandiford <rsandifo@redhat.com>
  1188. * config/mips/mips.c (mips_expand_call): Don't allow laziy binding
  1189. for n32 & n64 abicalls.
  1190. 2003-12-05 Richard Sandiford <rsandifo@redhat.com>
  1191. PR bootstrap/13145
  1192. * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Adjust comment.
  1193. * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Add $fcall.
  1194. (mips_load_got): Always create a constant MEM.
  1195. (mips_expand_call): Use load_callsi and load_calldi.
  1196. * config/mips/mips.md (UNSPEC_LOAD_CALL, FAKE_CALL_REGNO): New consts.
  1197. (load_callsi, load_calldi): New patterns.
  1198. 2003-12-05 Peter Gerwinski <peter@gerwinski.de>
  1199. * tree.def (PLACEHOLDER_EXPR): Clarify commentary.
  1200. 2003-12-05 Steven Bosscher <stevenb@suse.de>
  1201. * config/d30v/d30v-protos.h , config/d30v/d30v.c,
  1202. config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
  1203. config/fr30/fr30-protos.h, config/fr30/fr30.c,
  1204. config/i370/i370-protos.h, config/i370/i370.c,
  1205. config/i960/i960-protos.h, config/i960/i960.c,
  1206. config/ip2k/ip2k-protos.h, config/ip2k/ip2k.c,
  1207. config/m32r/m32r-protos.h, config/m32r/m32r.c,
  1208. config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
  1209. config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c:
  1210. Convert to ISO C90 function declarations and definitions.
  1211. 2003-12-05 Eric Botcazou <ebotcazou@libertysurf.fr>
  1212. * doc/extend.texi (Constructing Calls): Add warning about
  1213. the limitations of the functions.
  1214. 2003-12-05 Eric Botcazou <ebotcazou@libertysurf.fr>
  1215. PR middle-end/11151
  1216. * function.h (struct function): New field 'x_naked_return_label'.
  1217. * function.c (free_after_compilation): Set it to NULL.
  1218. (expand_function_end): Emit 'naked_return_label' if it exists.
  1219. * rtl.h (expand_naked_return): Declare.
  1220. * stmt.c (expand_naked_return): New function to generate a
  1221. jump to 'naked_return_label'.
  1222. * builtins.c (expand_builtin_return): Call expand_naked_return
  1223. instead of expand_null_return.
  1224. * config/sparc/sparc.md (untyped_return): Likewise.
  1225. 2003-12-04 Andrew Pinski <pinskia@physics.uc.edu>
  1226. PR target/11322
  1227. * config/sh/netbsd-elf.h (NO_PROFILE_COUNTERS): Define.
  1228. PR target/12467
  1229. * config/rs6000/altivec.md (altivec_vmsummbm): Fix typo.
  1230. 2003-12-04 Stuart Hastings <stuart@apple.com>
  1231. * rs6000.c (output_call, macho_branch_islands,
  1232. add_compiler_branch_island, no_previous_def, get_previous_label)
  1233. Revisions of xx_stub functions for branch islands,
  1234. add -fPIC support for Darwin.
  1235. * rs6000-protos.h (output_call) Prototype.
  1236. * rs6000.md Use output_call.
  1237. * invoke.texi Explain Darwin semantics of -longcall.
  1238. * testsuite/gcc.dg/darwin-abi-1.c Revise testcase for -longcall/jbsr.
  1239. 2003-12-04 Richard Henderson <rth@redhat.com>
  1240. * config/i386/i386.md (addqi3_carry): Use q not r constraints.
  1241. (subqi3_carry): Likewise.
  1242. 2003-12-04 J"orn Rennecke <joern.rennecke@superh.com>
  1243. PR optimization/13260
  1244. * sh-protos.h (sh_expand_t_scc): Declare.
  1245. * sh.h (PREDICATE_CODES): Add cmpsi_operand.
  1246. * sh.c (cmpsi_operand, sh_expand_t_scc): New functions.
  1247. * sh.md (cmpsi): Use cmpsi_operand. If T_REG is compared to
  1248. something that is not a CONST_INT, copy it into a pseudo register.
  1249. (subc): Fix description of new T value.
  1250. (slt, sgt, sge, sgtu): Don't clobber T after rtl generation is over.
  1251. (sltu, sleu, sgeu): Likewise.
  1252. (seq, sne): Likewise. Use sh_expand_t_scc.
  1253. 2003-12-04 Nathanael Nerode <neroden@gcc.gnu.org>
  1254. * configure.in: Generalize the CONFIG_HEADERS pattern under which
  1255. we stamp cstamp-h.
  1256. * configure: Regenerate.
  1257. * configure.in: Pull AC_CHECK_HEADER call out of shell if statement
  1258. to avoid trouble when updating to autoconf 2.5x.
  1259. * configure: Regenerate (with autoconf 2.13 still).
  1260. 2003-12-04 J"orn Rennecke <joern.rennecke@superh.com>
  1261. * sh.md (truncdiqi2): Use andi opcode for immediate.
  1262. (reload_outdf+1,reload_outdf+2): Remove constraints.
  1263. (movv16sf_i): Fxi multiplier for SUBREG_BYTE.
  1264. (movv8qi_i+2): Zero-extend low byte before adding it to high byte.
  1265. (fipr, ftrv): Add .s suffix to opcode.
  1266. 2003-12-04 Richard Sandiford <rsandifo@redhat.com>
  1267. PR target/13186
  1268. Revert all of the following patch, except the addition of
  1269. hook_bool_machine_mode_true:
  1270. 2003-11-02 Richard Sandiford <rsandifo@redhat.com>
  1271. * Makefile.in (targhooks.o, reload.o): Update dependencies.
  1272. (GTFILES): Add targhooks.c.
  1273. (gt-targhooks.h): New rule; depend on s-gtype.
  1274. * target.h (direct_pool_load_p): New hook.
  1275. * target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
  1276. (TARGET_INITIALIZER): Include it.
  1277. * targhooks.h (default_direct_pool_load_p): Declare.
  1278. (hook_bool_machine_mode_true): Declare.
  1279. * targhooks.c: Include insn-config.h, recog.h, ggc.h and
  1280. gt-targhooks.h.
  1281. (pool_symbol): New variable.
  1282. (default_direct_pool_load_p): New function.
  1283. (hook_bool_machine_mode_true): New function.
  1284. * reload.c: Include target.h.
  1285. (find_reloads): If an alternative will force a constant into memory,
  1286. count an extra reload if constant pool symbols are not valid
  1287. addresses. If an alternative uses memory to move values between
  1288. registers, count the move as two reloads rather than one.
  1289. * config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
  1290. * doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.
  1291. 2003-12-03 Mark Mitchell <mark@codesourcery.com>
  1292. * config/ia64/hpux.h (TARGET_HAVE_TLS): Define it to false.
  1293. * config/ia64/ia64.h (TARGET_HAVE_TLS): Define it to true if
  1294. HAVE_AS_TLS is true.
  1295. * config/ia64/ia64.c (TARGET_HAVE_TLS): Do not define it.
  1296. 2003-12-03 James E Wilson <wilson@specifixinc.com>
  1297. * gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name.
  1298. * gcc-page.c (extra_order_size_tab): Correct comment.
  1299. 2003-12-03 Kazu Hirata <kazu@cs.umass.edu>
  1300. * config/h8300/h8300.c (push): Call gen_push_h8300hs_advanced
  1301. instead of gen_push_h8300hs.
  1302. (pop): Call gen_pop_h8300hs_advanced instead of
  1303. gen_pop_h8300hs.
  1304. * config/h8300/h8300.h (TRAMPOLINE_SIZE): Use Pmode.
  1305. * config/h8300/h8300.md (*tablejump_h8300hs_advanced):
  1306. Tighten the predicate.
  1307. (*tablejump_h8300hs_normal): Tighten the predicate.
  1308. (push_h8300hs): Change to
  1309. push_h8300hs_advanced.
  1310. (pop_h8300hs): Change to pop_h8300hs_advanced.
  1311. 2003-12-03 Eric Christopher <echristo@redhat.com>
  1312. * rtl.c: Fix typo.
  1313. * config/mips/mips.h: Ditto. Fix formatting.
  1314. 2003-12-04 Ben Elliston <bje@wasabisystems.com>
  1315. * future.options: Remove. Move to gnu.org web pages.
  1316. 2003-12-03 Eric Christopher <echristo@redhat.com>
  1317. * c-parse.in (c_in_iteration_stmt, c_in_case_stmt): Move
  1318. from here...
  1319. * c-tree.h: to here.
  1320. 2003-12-03 Jan Hubicka <jh@suse.cz>
  1321. PR optimization/12324
  1322. * toplev.c (rest_of_decl_compilation): Do not deffer when compiling
  1323. in unit-at-a-time mode.
  1324. 2003-12-03 Jakub Jelinek <jakub@redhat.com>
  1325. * expr.c (store_constructor): Only set RTX_UNCHANGING_P for
  1326. read-only field if cleared is 0.
  1327. 2003-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
  1328. * config.gcc: Mark obsolete targets for GCC 3.4.
  1329. 2003-12-03 Zack Weinberg <zack@codesourcery.com>
  1330. * aclocal.m4 (AM_ICONV): Add explicit check for iconv.h.
  1331. * config.in, configure.in: Regenerate.
  1332. * cpphash.h: Check both HAVE_ICONV and HAVE_ICONV_H before
  1333. including iconv.h.
  1334. 2003-12-03 Alan Modra <amodra@bigpond.net.au>
  1335. PR target/11229
  1336. * cse.c (cse_insn): Set classp using src_const_elt if
  1337. src_eqv_elt is NULL.
  1338. 2003-12-03 Richard Earnshaw <rearnsha@arm.com>
  1339. * gcse.c (reg_clear_last_set): New function.
  1340. (reg_set_info): If data is non-null, treat it as an sbitmap of
  1341. registers, set the bit for the register being set.
  1342. (compute_store_table): Allocate last_set_in with xcalloc. Do not
  1343. memset this array on each iteration. Pass reg_set_in_block[bb->index]
  1344. to note_stores while computing last_set_in instead of scanning
  1345. last_set_in after the first pass through the insns.
  1346. Clear last_set_in using reg_clear_last_set instead of explicitly
  1347. rescanning after each insn. If checking is enabled, assert that
  1348. last_set_in is completely zeroed after each bb has been processed.
  1349. 2003-12-02 Geoffrey Keating <geoffk@geoffk.org>
  1350. * df.c (df_uses_record) <MEM>: The argument of a MEM is read-only,
  1351. never read-write.
  1352. <REG>: Delete incorrect comment.
  1353. <SET>: Remove 'use_flags' variable.
  1354. 2003-12-03 David Edelsohn <edelsohn@gnu.org>
  1355. * function.c (assign_parms): Make sure parm PARALLEL combined
  1356. in reg is composed of more than one object and the mode really
  1357. produces a reg.
  1358. 2003-12-03 Jan Hubicka <jh@suse.cz>
  1359. * i386.c (classify_argument): Make it 64bit clean.
  1360. 2003-12-02 Richard Sandiford <rsandifo@redhat.com>
  1361. * config/mips/mips.c (mips_output_external): Replace checks for
  1362. specific builtin-in functions with a check for DECL_BUILTIN_IN.
  1363. 2003-12-02 Richard Henderson <rth@redhat.com>
  1364. * rtl.h (PUT_CODE, PUT_MODE): Remove ENUM_BITFIELD cast.
  1365. * tree.h (TREE_SET_CODE): Likewise.
  1366. * recog.h (struct insn_operand_data): Move const after ENUM_BITFIELD.
  1367. 2003-12-02 Ben Elliston <bje@wasabisystems.com>
  1368. * dbxstclass.h: Rename from this ..
  1369. * xcoff.h: .. to this.
  1370. * xcoffout.c: Include xcoff.h.
  1371. 2003-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1372. * Makefile.in (GCC_CFLAGS): Add -Wold-style-definition.
  1373. 2003-12-01 James Lemke <jim@wasabisystems.com>
  1374. * config/arm/arm.c (arm_rtx_costs): Improve for xscale multiply.
  1375. 2003-12-01 Roger Sayle <roger@eyesopen.com>
  1376. PR optimization/11634
  1377. * recog.c (split_insn): Factor test of INSN_P and handling of
  1378. set_noop_p out of here into the two callers.
  1379. (split_all_insns): Add INSN_P test and set_noop_p handling here.
  1380. If deleting a no-op set after reload that has a REG_UNUSED note,
  1381. mark the basic block as changed and recalculate life information.
  1382. (split_all_insns_noflow): Add INSN_P test and set_noop_p handling
  1383. here.
  1384. 2003-12-01 Roger Sayle <roger@eyesopen.com>
  1385. PR optimization/12322
  1386. * gcse.c (struct ls_expr): Change type of hash_index from int to
  1387. unsigned int.
  1388. (hash_expr): Document hash_table_size parameter and wrap long line.
  1389. (ldst_entry): Calculate expression's hash_index and record in ptr.
  1390. (trim_ld_motion_mems): Use hash_index to search a single bucket
  1391. instead of scanning the entire hash_table. Remove the "del" local
  1392. variable and use the equivalent "expr == 0" instead. Change last
  1393. to be a pointer to the pointer to the current element, to simplify
  1394. and speed-up deleting from a linked list.
  1395. 2003-12-01 James E Wilson <wilson@specifixinc.com>
  1396. * doc/contrib.texi: Update David Mosberger.
  1397. * doc/c-tree.texi (CONSTRUCTOR): Clarify element order and handling
  1398. of missing fields.
  1399. PR target/8407
  1400. * config/ia64/ia64.c (ia64_function_arg): For single-reg HFA, call
  1401. gen_rtx_REG to create new reg with argument mode.
  1402. 2003-12-01 Steven Bosscher <stevenb@suse.de>
  1403. * ggc.h (struct alloc_zone): Move forward declaration up.
  1404. (new_ggc_zone): New function prototype.
  1405. (destroy_ggc_zone): Ditto.
  1406. * ggc-simple.c (new_ggc_zone): New function, does nothing.
  1407. (destroy_ggc_zone): Ditto.
  1408. * ggc-page.c (new_ggc_zone): New function, does nothing.
  1409. (destroy_ggc_zone): Ditto.
  1410. * ggc-zone.c (struct page_entry): Fix comment.
  1411. (ggc_alloc_typed): Use a switch statement instead of ifs.
  1412. (new_ggc_zone): New function to set up a new GC zone.
  1413. (destroy_ggc_zone): New function to remove a GC zone.
  1414. init_ggc): Use new_ggc_zone to set up the default zones.
  1415. (ggc_collect): Walk a list of zones, instead of just the
  1416. default zones. Report statistics using the zone name.
  1417. 2003-12-01 Ulrich Weigand <uweigand@de.ibm.com>
  1418. * unroll.c (find_splittable_givs): Add missing extend_value_for_giv.
  1419. 2003-12-01 Roger Sayle <roger@eyesopen.com>
  1420. PR optimization/12628
  1421. * toplev.c (rest_of_handle_jump_bypass): Call reg_scan.
  1422. * regclass.c (reg_scan): Include allocate_reg_info time in
  1423. TV_REG_SCAN. Minor clean-ups.
  1424. (reg_scan_update): Minor clean-ups.
  1425. 2003-12-01 Ulrich Weigand <uweigand@de.ibm.com>
  1426. * config.gcc (s390x-ibm-tpf*): Add extra_parts.
  1427. 2003-12-01 James E Wilson <wilson@specifixinc.com>
  1428. * config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not
  1429. GR_ARG_FIRST.
  1430. 2003-12-01 Zack Weinberg <zack@codesourcery.com>
  1431. * common.opt: Remove -fgnu-linker.
  1432. * flags.h: Remove flag_gnu_linker.
  1433. * opts.c: Don't handle OPT_fgnu_linker.
  1434. * toplev.c: Don't initialize flag_gnu_linker.
  1435. Remove gnu-linker entry from f_options.
  1436. * config/dsp16xx/dsp16xx.h (OPTIMIZATION_OPTIONS):
  1437. Don't reset flag_gnu_linker.
  1438. * config/mips/mips.c (override_options): Likewise.
  1439. * doc/invoke.texi: Remove all mention of -fgnu-linker.
  1440. 2003-12-01 Daniel Berlin <dberlin@dberlin.org>
  1441. * ggc-zone.c (ggc_pch_write_object): Calculate object size using
  1442. ggc_get_size (which accounts for large objects properly).
  1443. 2003-12-01 Jeff Sturm <jsturm@one-point.com>
  1444. PR optimization/13024
  1445. * toplev.c (rest_of_handle_new_regalloc): Remove rebuild_notes
  1446. parameter.
  1447. (rest_of_handle_old_regalloc): Likewise. Add rebuild_notes
  1448. declaration. Rebuild jump labels following local_alloc if necessary.
  1449. (rest_of_compilation): Remove rebuild_label_notes_after_reload
  1450. declaration. Don't pass rebuild_notes parameter to
  1451. rest_of_handle_new_regalloc and rest_of_handle_old_regalloc.
  1452. Don't rebuild jump labels.
  1453. 2003-12-01 Jeff Law <law@redhat.com>
  1454. * flow.c (count_or_remove_death_notes_bb): New. Extracted from
  1455. count_or_remove_death_notes.
  1456. (count_or_remove_death_notes): Use EXECUTE_IF_SET_IN_SBITMAP.
  1457. 2003-12-01 Andreas Krebbel <krebbel1@de.ibm.com>
  1458. * builtins.c (expand_builtin_longjmp): Added two memory clobbers.
  1459. 2003-12-01 Ulrich Weigand <uweigand@de.ibm.com>
  1460. * reload.c (find_reloads_address): Split addresses of type
  1461. (plus (plus (reg) (reg)) (const_int)) only if one register
  1462. is either a valid base register or else one of the stack
  1463. frame related registers (sp/fp/ap).
  1464. 2003-12-01 Steven Bosscher <stevenb@suse.de>
  1465. * function.c (update_epilogue_consts): Don't use PARAMS.
  1466. * rtl.h (web_main): Ditto.
  1467. * target.h (is_costly_dependence): Ditto
  1468. 2003-12-01 Eric Botcazou <ebotcazou@libertysurf.fr>
  1469. PR middle-end/7847
  1470. * expr.c (expand_expr) [normal_inner_ref]: When 'offset' is non-zero,
  1471. do not recheck that 'op0' is a MEM. Move comment. When testing for
  1472. unaligned objects, take also into account the alignment of 'op0' and
  1473. 'mode1' if 'op0' is a MEM.
  1474. 2003-12-01 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1475. * doc/c-tree.texi (Function Bodies): Update HANDLER documentation.
  1476. 2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
  1477. * doc/install.texi: Note that fastjar is built with automake 1.7.x
  1478. and autoconf 2.57.
  1479. 2003-12-01 Alan Modra <amodra@bigpond.net.au>
  1480. * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test
  1481. target_flags directly rather than using TARGET_* defines.
  1482. 2003-11-30 Ben Elliston <bje@wasabisystems.com>
  1483. * doschk.c: Remove.
  1484. 2003-11-30 Richard Sandiford <rsandifo@redhat.com>
  1485. PR target/12727
  1486. * config/mips/mips.c (mips_save_reg): Fix frame information for sdc1
  1487. on 32-bit big-endian targets.
  1488. 2003-11-30 Kazu Hirata <kazu@cs.umass.edu>
  1489. * genemit.c (register_constraints): Remove.
  1490. 2003-11-30 Andreas Krebbel <krebbel1@de.ibm.com>
  1491. * config/s390/s390.md ("tmdi_reg", "tmsi_reg", "*movdi_64", "*movdi_31",
  1492. "iordi3"): Insns now use multiple letter constraints.
  1493. ("*movdi_lhi", "*movdi_lli", "*movdi_lay"): Insns deleted. They are now
  1494. covered by "*movdi_64".
  1495. ("*movsi_lhi", "*movsi_lli", "*movsi_lay"): Insns deleted. They are now
  1496. covered by "*movsi_zarch" and "*movsi_esa".
  1497. ("*movsi_zarch", "*movsi_!zarch"): New insns.
  1498. ("*llgt_sisi_split", "*llgt_didi_split"): Insns deleted. Now covered
  1499. by "*andsi3_zarch" and "anddi3".
  1500. ("*anddi3_ni"): Insn merged with "anddi3".
  1501. ("*andsi3_ni"): Insn merged with "*andsi3_zarch".
  1502. ("*andsi3_zarch", "*andsi3_esa"): New insns.
  1503. ("*iordi3_oi"): Insn merged with "iordi3".
  1504. ("*iorsi3_oi"): Insn merged with "*iorsi3_zarch".
  1505. ("*iorsi3_zarch", "*iorsi3_esa"): New insns.
  1506. * config/s390/s390.c (s390_single_qi, s390_single_hi): Functions
  1507. merged to s390_single_part.
  1508. (s390_single_part): New function.
  1509. NOTE: Semantics have changed a bit. Now the value of the part must
  1510. be different from the others to get a non-negative return value.
  1511. (s390_extract_qi, s390_extract_hi): Functions merged to
  1512. s390_extract_part.
  1513. (s390_extract_part, s390_extra_constraint_str,
  1514. s390_const_ok_for_constraint_p): New functions. The L constraint got a
  1515. new meaning and the N constraint was added as a multiple letter
  1516. constraint.
  1517. (s390_extra_constraint): Function deleted.
  1518. (print_operand): New output modifier 'i' and 'j' added.
  1519. All uses of CONST_OK_FOR_LETTER_P were replaced by
  1520. CONST_OK_FOR_CONSTRAINT_P.
  1521. * config/s390/s390-protos.h: Function prototypes adapted.
  1522. * doc/md.texi: Documentation for new constraint letters added.
  1523. 2003-11-30 Andreas Schwab <schwab@suse.de>
  1524. * Makefile.in ($(DESTDIR)$(infodir)/%.info): Fix missing semicolon.
  1525. 2003-11-29 James E Wilson <wilson@specifixinc.com>
  1526. * gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name
  1527. instead of in shared_name.
  1528. * final.c (final_start_function): Delete code for NON_SAVING_SETJMP.
  1529. * reload1.c (reload): Re-add it here.
  1530. 2003-11-30 Alan Modra <amodra@bigpond.net.au>
  1531. * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
  1532. set SECTION_WRITE on TARGET_RELOCATABLE.
  1533. 2003-11-29 Kazu Hirata <kazu@cs.umass.edu>
  1534. * config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG.
  1535. 2003-11-28 Gunther Nikl <gni@gecko.de>
  1536. * config/m68k/m68k.c (MOTOROLA): Move from here...
  1537. * config/m68k/m68k.h (MOTOROLA): ... to here.
  1538. (OUTPUT_JUMP): Use do {...} while (0).
  1539. * config/m68k/m68k.md: Replace #ifdef MOTOROLA with C statements.
  1540. 2003-11-28 Gunther Nikl <gni@gecko.de>
  1541. * config.gcc (m68020-*-elf*, m68k-*-elf*, m68010-*-netbsdelf*,
  1542. m68k*-*-netbsdelf*, m68k-*-rtems*): Add tm_defines containing
  1543. MOTOROLA and USE_GAS.
  1544. * config/m68k/rtemself.h (MOTOROLA): Delete.
  1545. * config/m68k/netbsd-elf.h (MOTOROLA, USE_GAS): Delete.
  1546. * config/m68k/m68kelf.h (MOTOROLA, USE_GAS, SGS_CMP_ORDER): Delete.
  1547. 2003-11-29 Kazu Hirata <kazu@cs.umass.edu>
  1548. * config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.
  1549. 2003-11-29 Kelley Cook <kcook@gcc.gnu.org>
  1550. * Makefile.in (install-info): Install gccinstall.info too.
  1551. 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
  1552. * config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.
  1553. 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
  1554. * config/s390/s390.md ("movhi"): Do not emit extender pattern
  1555. when loading from a (MEM (ADDRESSOF ...)).
  1556. ("movqi"): Likewise.
  1557. 2003-11-29 Joseph S. Myers <jsm@polyomino.org.uk>
  1558. PR c/10333
  1559. * c-parse.in (typespec_reserved_nonattr): Reject typeof on
  1560. bit-fields.
  1561. 2003-11-29 Richard Sandiford <rsandifo@redhat.com>
  1562. * stmt.c (expand_asm_operands): Check whether force_const_mem
  1563. succeeded.
  1564. 2003-11-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1565. * config/gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
  1566. * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): New.
  1567. * config/alpha/gnu.h, config/alpha/linux.h,
  1568. config/arm/linux-elf.h, config/cris/cris.h, config/cris/linux.h,
  1569. config/i370/linux.h, config/i386/gnu.h, config/i386/i386.h,
  1570. config/i386/linux-aout.h, config/i386/linux.h,
  1571. config/i386/linux64.h, config/ia64/linux.h, config/m68k/linux.h,
  1572. config/m68k/uclinux.h, config/mips/linux.h,
  1573. config/mn10300/linux.h, config/pa/pa-linux.h,
  1574. config/rs6000/sysv4.h, config/s390/linux.h, config/sh/linux.h,
  1575. config/sparc/linux.h, config/sparc/linux64.h,
  1576. config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Use
  1577. HURD_TARGET_OS_CPP_BUILTINS/LINUX_TARGET_OS_CPP_BUILTINS or ensure
  1578. all necessary assertions are included.
  1579. 2003-11-28 Jan Hubicka <jh@suse.cz>
  1580. * emit-rtl.c (set_used_flags): New.
  1581. (verify_rtx_sharing, verify_rtl_sharing): New.
  1582. (unshare_all_rtl_1): Rename to....
  1583. (unshare_all_rtl_in_chain): ... this one; make static.
  1584. (copy_rtx_if_shared): LABEL_REF chan be shared.
  1585. * ifcvt.c (unshare_ifcvt_sequence): New.
  1586. (noce_try_move, noce_try_store_flag, noce_try_store_flag_constants,
  1587. noce_try_addcc, noce_try_addcc, noce_try_store_flag_mask,
  1588. noce_try_cmove, noce_try_store_flag_mask, noce_try_minmax,
  1589. noce_try_abs, noce_process_if_block, find_cond_trap
  1590. * rtl.h (verify_rtl_sharing, set_used_flags, unshare_all_rtl_in_chain):
  1591. Declare.
  1592. 2003-11-28 Kazu Hirata <kazu@cs.umass.edu>
  1593. * config/h8300/h8300.md: Fix a comment typo.
  1594. 2003-11-28 Kazu Hirata <kazu@cs.umass.edu>
  1595. * config/h8300/h8300.md (*movsf_h8300h): Change to
  1596. *movsf_h8300hs.
  1597. (addsi_h8300): Change to *addsi_h8300.
  1598. (addsi_h8300h): Change to *addsi_h8300hs.
  1599. (subsi3_h8300): Change to *subsi3_h8300.
  1600. (subsi3_h8300h): Change to *subsi3_h8300hs.
  1601. (neghi2_h8300h): Change to *neghi2_h8300hs.
  1602. (negsi2_h8300h): Change to *negsi2_h8300hs.
  1603. 2003-11-28 Kazu Hirata <kazu@cs.umass.edu>
  1604. * config/h8300/h8300.md (*subhi3_h8300): Remove '&' from the
  1605. constraint.
  1606. (*subhi3_h8300hs): Likewise.
  1607. 2003-11-28 David Edelsohn <edelsohn@gnu.org>
  1608. * config/rs6000/rs6000.h (MASK_MFCRF): New.
  1609. (TARGET_MFCRF): Test target_flags, not processor type.
  1610. (TARGET_SWITCHES): Add mfcrf and no-mfcrf.
  1611. Change Don't to Do not.
  1612. * config/rs6000/rs6000.c (processors_target_table): Add MASK_MFCRF
  1613. to power4, 970, G5.
  1614. 2003-11-27 J"orn Rennecke <joern.rennecke@superh.com>
  1615. * cse.c (cse_set_around_loop): When changing a constant load
  1616. to a register -register copy, add a REG_EQUAL note.
  1617. 2003-11-27 Randolph Chung <tausq@debian.org>
  1618. John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1619. * pa.c (hppa_profile_hook): Split gen_call_profiler into separate
  1620. insns. Use the regular call expander for the call to the profiler.
  1621. * pa.md (call_profiler): Delete.
  1622. (load_offset_label_address): New insn to load the address of the
  1623. current function for the profiler.
  1624. (lcla1, lcla2): New insns to output a code label and load its address.
  1625. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1626. * final.c (final_scan_insn): Remove commented-out code.
  1627. 2003-11-27 Nathanael Nerode <neroden@gcc.gnu.org>
  1628. * doc/install.texi: Remove ADAC reference and make accurate.
  1629. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1630. * config/h8300/h8300.h (FUNCTION_VALUE): Use R0_REG.
  1631. (FUNCTION_VALUE_REGNO_P): Likewise.
  1632. * config/h8300/h8300.md: Define R0_REG.
  1633. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1634. * config/h8300/h8300.c: Fix formatting.
  1635. * config/h8300/h8300.md: Likewise.
  1636. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1637. * config/h8300/h8300.h (ELIMINABLE_REGS): Update a comment.
  1638. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1639. * config/h8300/h8300.md: Give names to anonymous insns.
  1640. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1641. * config/h8300/h8300.md (extendqisi2): Remove constraints.
  1642. 2003-11-27 Gunther Nikl <gni@gecko.de>
  1643. * doc/tm.texi (SYSROOT_HEADERS_SUFFIX_SPEC): Fix typo.
  1644. 2003-11-27 Eric Botcazou <ebotcazou@libertysurf.fr>
  1645. PR optimization/13041
  1646. * final.c (frame_pointer_needed): Fix comment.
  1647. * reload1.c (reload): Decrease alignment of the frame
  1648. pointer if it was used for register allocation.
  1649. 2003-11-27 Eric Botcazou <ebotcazou@libertysurf.fr>
  1650. PR target/12900
  1651. * reg-stack (move_for_stack_reg): New prototype. Return
  1652. whether a control flow insn was deleted.
  1653. (subst_stack_regs_pat): Likewise, using the information provided
  1654. by move_for_stack_reg.
  1655. (subst_stack_regs): Likewise, using the information provided
  1656. by subst_stack_regs_pat.
  1657. (convert_regs_1): Record whether a control flow insn was deleted,
  1658. using the information provided by subst_stack_regs. Purge dead
  1659. edges only if a control flow insn was deleted.
  1660. 2003-11-27 Eric Botcazou <ebotcazou@libertysurf.fr>
  1661. PR middle-end/8028
  1662. PR middle-end/9890
  1663. PR middle-end/11151
  1664. PR middle-end/12210
  1665. PR middle-end/12503
  1666. PR middle-end/12692
  1667. * builtins.c (expand_builtin_apply): Use virtual_outgoing_args_rtx
  1668. as the base address to copy the memory arguments to.
  1669. 2003-11-26 Danny Smith <dannysmith@users.sourceforge.net>
  1670. * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Declare
  1671. function aliases as functions.
  1672. 2003-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
  1673. * aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal
  1674. of ADAC.
  1675. * configure: Regenerate.
  1676. * Makefile.in: Remove references to ADAC.
  1677. * configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
  1678. * configure: Regenerate.
  1679. 2003-11-26 Eric Botcazou <ebotcazou@libertysurf.fr>
  1680. Olivier Hainque <hainque@act-europe.fr>
  1681. PR target/6466
  1682. * config/sparc/sparc-protos.h (compute_frame_size): New prototype.
  1683. (sparc_flat_compute_frame_size): Likewise.
  1684. (sparc_flat_save_restore): Move prototype...
  1685. * config/sparc/sparc.c (sparc_flat_save_restore): ...here.
  1686. (save_regs): New prototype.
  1687. (build_big_number): Likewise.
  1688. (apparent_fsize): Change type to HOST_WIDE_INT.
  1689. (actual_fsize): Likewise.
  1690. (frame_base_offset): Likewise.
  1691. (build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64.
  1692. Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
  1693. [TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway
  1694. to load a 64-bit constant.
  1695. (sparc_nonflat_function_prologue): Change string descriptor to
  1696. HOST_WIDE_INT_PRINT_DEC. Change offset type to HOST_WIDE_INT.
  1697. (output_restore_regs): Change offset type to HOST_WIDE_INT.
  1698. (sparc_nonflat_function_epilogue): Change string descriptor to
  1699. HOST_WIDE_INT_PRINT_DEC. Use build_big_number.
  1700. (output_sibcall): Change size type to HOST_WIDE_INT. Use
  1701. build_big_number. Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
  1702. (sparc_frame_info): Change types for several components.
  1703. (sparc_flat_compute_frame_size): Update types according to previous
  1704. change.
  1705. (sparc_flat_function_prologue): Change string descriptor to
  1706. HOST_WIDE_INT_PRINT_DEC. Change offset type to int. Use
  1707. build_big_number.
  1708. (sparc_flat_function_epilogue): Change offset type to int.
  1709. Rename 'size1' into 'reg_offset1'. Change string descriptor to
  1710. HOST_WIDE_INT_PRINT_DEC. Use build_big_number. Change big number
  1711. limit to 4096 instead of 4095.
  1712. * config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to
  1713. HOST_WIDE_INT.
  1714. 2003-11-24 Waldek Hebisch <hebisch@math.uni.wroc.pl>
  1715. * function.c: Make outer_function-chain external.
  1716. * function.h: Likewise.
  1717. 2003-11-24 Richard Sandiford <rsandifo@redhat.com>
  1718. * config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when
  1719. using GNU ld.
  1720. * config/mips/iris6.h (IRIX6_STARTFILE_SPEC): New, taking the
  1721. whole of the previous STARTFILE_SPEC except crtbegin.o%s.
  1722. (IRIX6_ENDFILE_SPEC): Likewise ENDFILE_SPEC and crtend.o%s.
  1723. (STARTFILE_SPEC, ENDFILE_SPEC): Define in terms of the above.
  1724. (SUBTARGET_EXTRA_SPECS): Define.
  1725. * config/mips/iris6gld.h (LINK_SPEC): Change -init function
  1726. to __gcc_init and -fini function to __gcc_fini.
  1727. (STARTFILE_SPEC): Redefine, including irix6-crti.o before crtbegin.o.
  1728. (ENDFILE_SPEC): Likewise, including irix6-crtn.o after crtend.o.
  1729. (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Define.
  1730. * config/mips/t-iris6gld,
  1731. * config/mips/irix6-crti.asm,
  1732. * config/mips/irix6-crtn.asm: New files.
  1733. 2003-11-24 Eric Christopher <echristo@redhat.com>
  1734. PR C/13014
  1735. * c-decl.c (c_in_iteration_stmt, c_in_case_stmt): New.
  1736. (start_function): Use.
  1737. (c_push_function_context): Ditto.
  1738. (c-pop_function_context): Ditto.
  1739. (language_function): Move...
  1740. * c-tree.h: ... here. Add x_in_iteration_stmt, and
  1741. x_in_case_stmt.
  1742. * c-parse.in (do_stmt_start, select_or_iter_stmt, stmt): Use
  1743. c_in_iteration_stmt, c_in_case_stmt for parser state. Move
  1744. check for valid break or continue statment here...
  1745. * c-semantics.c (genrtl_break_stmt, genrtl_continue_stmt): From
  1746. here. Change original errors to abort.
  1747. 2003-11-24 Jan Hubicka <jh@suse.cz>
  1748. * fold-const.c (fold): Do not return early when optimizing
  1749. COMPONENT_REF and constant.
  1750. 2003-11-24 Kazu Hirata <kazu@cs.umass.edu>
  1751. * config/h8300/h8300.md (tablejump_h8300): Change to
  1752. *tablejump_h8300.
  1753. (tablejump_h8300h): Change to *tablejump_h8300hs_advanced.
  1754. (tablejump_normal_mode): Change to *tablejump_h8300hs_normal.
  1755. (indirect_jump_h8300): Change to *indirect_jump_h8300.
  1756. (indirect_jump_h8300h): Change to
  1757. *indirect_jump_h8300hs_advanced.
  1758. (indirect_jump_normal_mode): Change to
  1759. *indirect_jump_h8300hs_normal.
  1760. 2003-11-24 Kazu Hirata <kazu@cs.umass.edu>
  1761. * config/h8300/h8300.md: Remove constraints from expanders.
  1762. 2003-11-24 Kazu Hirata <kazu@cs.umass.edu>
  1763. * config/h8300/h8300.md: (stm_h8300s_2): Change the name to
  1764. stm_h8300s_2_advanced.
  1765. (stm_h8300s_2_normal): New.
  1766. (stm_h8300s_2): Likewise.
  1767. (stm_h8300s_3): Change the name to stm_h8300s_3_advanced.
  1768. (stm_h8300s_3_normal): New.
  1769. (stm_h8300s_3): Likewise.
  1770. (stm_h8300s_4): Change the name to stm_h8300s_4_advanced.
  1771. (stm_h8300s_4_normal): New.
  1772. (stm_h8300s_4): Likewise.
  1773. (ldm_h8300s_2): Change the name to ldm_h8300s_2_advanced.
  1774. (ldm_h8300s_2_normal): New.
  1775. (ldm_h8300s_2): Likewise.
  1776. (ldm_h8300s_3): Change the name to ldm_h8300s_3_advanced.
  1777. (ldm_h8300s_3_normal): New.
  1778. (ldm_h8300s_3): Likewise.
  1779. (ldm_h8300s_4): Change the name to ldm_h8300s_4_advanced.
  1780. (ldm_h8300s_4_normal): New.
  1781. (ldm_h8300s_4): Likewise.
  1782. (two peephole2's): Enable only with !TARGET_NORMAL_MODE.
  1783. (two peephole2's): New.
  1784. 2003-11-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  1785. * genattrtab.c (simplify_cond): Update indices correctly.
  1786. (attr_alt_subset_p, attr_alt_subset_of_compl_p, attr_alt_intersection,
  1787. attr_alt_union, attr_alt_complement, attr_alt_bit_p, mk_attr_alt): New.
  1788. (check_attr_test, encode_units_mask, compute_alternative_mask,
  1789. make_alternative_compare, simplify_and_tree,
  1790. attr_rtx_cost, simplify_test_exp, gen_attr,
  1791. write_test_expr, walk_attr_value): Handle EQ_ATTR_ALT.
  1792. * rtl.def (EQ_ATTR_ALT): New.
  1793. 2003-11-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  1794. * genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros.
  1795. (length_str, delay_type_str, delay_1_0_str, num_delay_slots_str):
  1796. New variables.
  1797. (main): Initialize them.
  1798. (find_attr): Canonicalize the attribute name string.
  1799. (attr_rtx_1, copy_boolean, expand_delays, gen_unit): Always canonicalize
  1800. string arguments.
  1801. (attr_printf, attr_eq): Use DEF_ATTR_STRING.
  1802. (check_attr_test, check_attr_value, make_length_attrs,
  1803. write_length_unit_log, simplify_by_exploding, gen_attr,
  1804. write_test_expr, write_attr_value, write_eligible_delay,
  1805. write_complex_function, make_internal_attr,
  1806. write_const_num_delay_slots): Changed due to change of type of
  1807. find_attr.
  1808. (fill_attr, evaluate_eq_attr, simplify_and_tree,
  1809. attr_rtx_cost, simplify_by_exploding, walk_attr_value): Use
  1810. strcmp_check.
  1811. 2003-11-23 Kazu Hirata <kazu@cs.umass.edu>
  1812. PR target/13122
  1813. * config/h8300/h8300.c (push): Call push_h8300hs_normal in
  1814. normal mode.
  1815. (pop): Call pop_h8300hs_normal in normal mode.
  1816. * config/h8300/h8300.md: Likewise.
  1817. (pushqi1_h8300hs_normal): New.
  1818. (pushqi1): Call pushqi1_h8300hs_normal in normal mode.
  1819. (pushhi1_h8300hs_normal): New.
  1820. (pushhi1): Call pushhi1_h8300hs_normal in normal mode.
  1821. (push_h8300hs_normal): New.
  1822. (pop_h8300hs_normal): Likewise.
  1823. 2003-11-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  1824. * genattrtab.c (count_sub_rtxs): Removed.
  1825. 2003-11-23 Richard Earnshaw <rearnsha@arm.com>
  1826. * recog.c (preprocess_constraints): Only zero those elements of
  1827. recog_op_alt that are needed for this insn.
  1828. * arm.c (note_invalid_constants): A function can't contain invalid
  1829. constants if it has no constraints.
  1830. 2003-11-22 Jan Hubicka <jh@suse.cz>
  1831. * i386.c (classify_argument): Pass __float128 in memory.
  1832. (ix86_return_in_memory): Likewise.
  1833. (ix86_libcall_value): Likewsie.
  1834. 2003-11-22 Kazu Hirata <kazu@cs.umass.edu>
  1835. * config/h8300/h8300.c (dosize): Convert to ISO-C.
  1836. 2003-11-22 J"orn Rennecke <joern.rennecke@superh.com>
  1837. * flow.c (update_life_info): Amend comment about when a register
  1838. can become dead.
  1839. 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
  1840. * doc/.cvsignore: Delete.
  1841. 2003-11-21 Daniel Berlin <dberlin@dberlin.org>
  1842. David Edelsohn <edelsohn@gnu.org>
  1843. * dwarf2out.c (add_location_or_const_value_attribute): Add support
  1844. for PARALLEL.
  1845. 2003-11-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1846. * config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
  1847. (TARGET_LIBGCC2_CFLAGS): Define.
  1848. * crtstuff.c [HAS_INIT_SECTION] (__do_global_dtors): Declare.
  1849. (__do_global_ctors): Likewise.
  1850. 2003-11-21 Mark Wielaard <mark@klomp.org>
  1851. * doc/invoke.texi (-O2): Doesn't enable -fweb.
  1852. 2003-11-21 Kazu Hirata <kazu@cs.umass.edu>
  1853. * doc/invoke.texi: Mention dV and dZ.
  1854. 2003-11-21 Kazu Hirata <kazu@cs.umass.edu>
  1855. * doc/invoke.texi: Update dump file names.
  1856. Remove de, dW, and dX.
  1857. 2003-11-20 James E Wilson <wilson@specifixinc.com>
  1858. PR c/13133
  1859. * reload1.c (reload): Delete special handling for setjmp.
  1860. 2003-11-21 Andreas Tobler <a.tobler@schweiz.ch>
  1861. * mklibgcc.in: Evaluate shlib_slibdir_qual during link
  1862. step too.
  1863. * config/t-slibgcc-darwin: Adjust install path.
  1864. * config/rs6000/t-darwin: Revert multilib matches since
  1865. it is not used on darwin.
  1866. 2003-11-20 Richard Henderson <rth@redhat.com>
  1867. * ssa.c, ssa-dce.c, ssa-ccp.c: Remove files.
  1868. * Makefile.in (OBJS-common, GTFILES): Don't reference them.
  1869. (gtype-desc.o, toplev.o, flow.o): Remove ssa.h.
  1870. (ssa.o, ssa-dce.o, ssa-ccp.o): Remove.
  1871. * flow.c: Don't include ssa.h.
  1872. (set_phi_alternative_reg): Remove.
  1873. (calculate_global_regs_live): Don't call it.
  1874. (mark_used_regs): Don't handle PHI.
  1875. * gengtype.c (open_base_files): Don't reference ssa.h.
  1876. * rtl.def (PHI): Remove.
  1877. * timevar.def (TV_TO_SSA, TV_SSA_CCP, TV_SSA_DCE, TV_FROM_SSA): Kill.
  1878. * common.opt: Remove -fssa, -fssa-ccp, -fssa-dce.
  1879. * opts.c (common_handle_option): Likewise.
  1880. * toplev.c (f_options): Likewise.
  1881. (DFI_ssa, DFI_ssa_ccp, DFI_ssa_dce, DFI_ussa): Remove.
  1882. (dump_file): Update to match.
  1883. (flag_ssa, flag_ssa_ccp, flag_ssa_dce): Remove.
  1884. (rest_of_handle_ssa): Remove.
  1885. (rest_of_compilation): Don't call it.
  1886. * toplev.h (flag_ssa, flag_ssa_dce, flag_ssa_ccp): Remove.
  1887. * doc/invoke.texi: Remove -fssa, -fssa-ccp, -fssa-dce.
  1888. * doc/passes.texi (SSA optimizations): Remove.
  1889. 2003-11-20 Bob Wilson <bob.wilson@acm.org>
  1890. * configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
  1891. * configure: Regenerate.
  1892. 2003-11-20 Kelley Cook <kcook@gcc.gnu.org>
  1893. * Makefile.in (Makefile): Pass along CONFIG_SHELL.
  1894. 2003-11-20 David Mosberger <davidm@hpl.hp.com>
  1895. * config/t-libunwind (LIB2ADDEH): Add unwind-c.c.
  1896. (SHLIB_LC): Define.
  1897. * unwind-libunwind.c (_Unwind_GetCFA): Implement.
  1898. (_Unwind_GetBSP) [UNW_TARGET_IA64]: New function.
  1899. 2003-11-20 Fariborz Jahanian <fjahanian@apple.com>
  1900. David Edelsohn <edelsohn@gnu.org>
  1901. * calls.c (expand_call): Allocate new temp in pass1.
  1902. (store_one_arg): If PARALLEL, calculate excess using mode size of
  1903. rtvec elt.
  1904. * expr.c (emit_push_insn): If PARALLEL, calculate offset using
  1905. mode size of rtvec elt.
  1906. * function.c (assign_parms): Use parm in register, if available.
  1907. 2003-11-20 Kazu Hirata <kazu@cs.umass.edu>
  1908. * config/h8300/lib1funcs.asm (MOVP): Remove.
  1909. (ADDP): Likewise.
  1910. (CMPP): Likewise.
  1911. 2003-11-20 Richard Earnshaw <rearnsha@arm.com>
  1912. * arm.c (use_return_insn): New argument, SIBLING. Support returning
  1913. with a single instruction if the stack has been decremented by 4
  1914. and we have a frame pointer. Update all callers.
  1915. (output_return_instruction): Likewise.
  1916. (arm_output_epilogue): Change argument to SIBLING. Calculate
  1917. really_return from the new argument. Update all callers.
  1918. * arm.h (USE_RETURN_INSN): Pass NULL for the sibling.
  1919. * arm.md (sibcall_epilogue): Call use_return_insn directly, and
  1920. pass the sibling call.
  1921. * arm-protos.h (use_return_insn, arm_output_epilogue): Update
  1922. prototypes.
  1923. 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
  1924. * Makefile.in (extraclean): Delete.
  1925. * configure.in (target_list): Remove extraclean.
  1926. * configure: Regenerate.
  1927. * doc/makefile.texi, doc/sourcebuild.texi: Update.
  1928. * objc/Make-lang.in (objc.extraclean): Delete.
  1929. 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
  1930. * Makefile.in (lang_checks): Add.
  1931. (check-c++, check-f77, check-java, check-g++, check-g77,
  1932. check-objc): Remove hardcoded targets.
  1933. * doc/sourcebuild.texi: Document testsuite hooks.
  1934. * objc/Make-lang.in (check-objc, lang_checks): Add.
  1935. 2003-11-19 Scott Snyder <snyder@fnal.gov>
  1936. PR target/13131
  1937. * dwarf2out.c (gen_array_type_die): DW_AT_declaration should be a
  1938. flag, not a constant.
  1939. 2003-11-19 Kelley Cook <kcook@gcc.gnu.org>
  1940. * config/arc/arc-protos.h: Update to C90 prototypes.
  1941. * config/arc/arc.c: Likewise.
  1942. * config/arc/initfini.c: Likewise.
  1943. 2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
  1944. * stmt.c (expand_goto): Memory clobbers added.
  1945. 2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
  1946. * reload.c (find_reloads): Added missing type casts.
  1947. 2003-11-19 James E Wilson <wilson@specifixinc.com>
  1948. * combine.c (sets_function_arg_p): Delete unused function.
  1949. 2003-11-19 Eric Christopher <echristo@redhat.com>
  1950. * reload1.c (reload): Revert 2 previous checkins.
  1951. 2003-11-19 Nathanael Nerode <neroden@gcc.gnu.org>
  1952. * cpptrad.c (_cpp_scan_out_logical_line): Improve test for
  1953. whether directive begins at the beginning of a line.
  1954. 2003-11-19 Richard Sandiford <rsandifo@redhat.com>
  1955. * config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.
  1956. 2003-11-19 Gerald Pfeifer <gp@suse.de>
  1957. * doc/install.texi (Specific): Remove information on old versions
  1958. of glibc versus old versions of GCC.
  1959. 2003-11-19 Richard SAndiford <rsandifo@redhat.com>
  1960. * emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless
  1961. the register lowpart is a TRULY_NOOP_TRUNCATION.
  1962. 2003-11-19 Richard Henderson <rth@redhat.com>
  1963. * config/i386/i386.c (print_reg): Handle QI and HI modes for
  1964. non Q regs.
  1965. 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
  1966. * config/config.gcc (powerpc-*-darwin*): Add libgcc build
  1967. specification file.
  1968. * config/t-slibgcc-darwin: New file, libgcc build specification.
  1969. * config/t-darwin: Add libgcc2 flag -fPIC.
  1970. * config/rs6000/t-darwin: Multilib matches float.
  1971. * libgcc-darwin.ver: New file, contains libgcc symbols.
  1972. 2003-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
  1973. * config/ns32k/ns32k.h: Remove obsolete comment.
  1974. 2003-11-18 Roger Sayle <roger@eyesopen.com>
  1975. PR middle-end/11821
  1976. * config/arm/arm.c (arm_rtx_costs_1): Improve estimate of the code
  1977. size for calls to libgcc's div & mod subroutines when using -Os.
  1978. 2003-11-18 Jan Hubicka <jh@suse.cz>
  1979. * cgraph.c (change_decl_assembler_name): Avoid bogus warnings.
  1980. 2003-11-18 Marc Espie <espie@openbsd.org>
  1981. * config/rs6000/sysv4.h: OpenBSD hooks.
  1982. 2003-11-18 Richard Henderson <rth@redhat.com>
  1983. * expr.c (expand_expr): Don't look through constant arrays if
  1984. they don't bind locally.
  1985. 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  1986. * expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize
  1987. when seeing if truncation or extension.
  1988. 2003-11-17 Eric Christopher <echristo@redhat.com>
  1989. * reload1.c (reload): Fix previous change.
  1990. 2003-11-17 Scott Snyder <snyder@fnal.gov>
  1991. PR debug/11325
  1992. * dwarf2out.c (struct die_struct): Add die_definition field.
  1993. (add_AT_specification): New.
  1994. (gen_subprogram_die, gen_variable_die,
  1995. gen_struct_or_union_type_die): Use it.
  1996. (prune_unused_types_mark): If we're marking a forward declaration,
  1997. also mark the full definition, if it exists.
  1998. 2003-11-16 Nick Clifton <nickc@redhat.com>
  1999. * config/stormy16/stormy16.h (BUILD_VA_LIST_TYPE): Delete.
  2000. * config/stormy16/stormy16-protos.h (xstormy16_build_va_list):
  2001. Remove prototype.
  2002. * config/stormy16/stormy16.c (xstormy16_build_va_list): Rename
  2003. to xstormy16_build_builtin_va_list and make static.
  2004. (TARGET_BUILD_BUILTIN_VA_LIST): Define.
  2005. 2003-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2006. * config/h8300/h8300-protos.h: Add the prototype for
  2007. same_cmp_following_p.
  2008. * config/h8300/h8300.c (same_cmp_following_p): New.
  2009. * config/h8300/h8300.md (peephole2): Use it.
  2010. 2003-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2011. * config/h8300/h8300.md: Don't use REGNO when its operand is
  2012. not guaranteed to be a REG.
  2013. 2003-11-16 Richard Sandiford <rsandifo@redhat.com>
  2014. * Makefile.in (expr.o): Depend on $(TARGET_H).
  2015. * target.h (return_in_msb): New target hook.
  2016. * target-def.h (TARGET_RETURN_IN_MSB): New macro.
  2017. (TARGET_CALLS): Include it.
  2018. * calls.c (shift_returned_value): New function.
  2019. (expand_call): Use it.
  2020. * expr.c: Include target.h.
  2021. (copy_blkmode_from_reg): Check targetm.calls.return_in_msb when
  2022. deciding what padding is needed. Change the name of the local
  2023. padding variable from big_endian_correction to padding_correction.
  2024. * stmt.c (shift_return_value): New function.
  2025. (expand_return): Use it. Adjust memory->register copy in the same
  2026. way as copy_blkmode_from_reg. Only change the return register's
  2027. mode if it was originally BLKmode.
  2028. * doc/tm.texi (TARGET_RETURN_IN_MSB): Document.
  2029. * config/mips/mips.c (TARGET_RETURN_IN_MSB): Define.
  2030. (mips_fpr_return_fields): New, split out from mips_function_value.
  2031. (mips_return_in_msb, mips_return_fpr_pair): New functions.
  2032. (mips_function_value): Rework to use the functions above.
  2033. * config/mips/irix6-libc-compat.c: Delete.
  2034. * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Undefine.
  2035. 2003-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2036. * doc/install.texi (--enable-checking): Update valgrind's URL.
  2037. 2003-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2038. * config/h8300/h8300.md: Fix warnings by replacing -2147483648
  2039. with -2147483647 - 1.
  2040. 2003-11-16 Gerald Pfeifer <gerald@pfeifer.com>
  2041. Fix links in online manuals.
  2042. * doc/invoke.texi (H8/300 Options): @xref to ld, not ld.info.
  2043. (Precompiled Headers): @pxref to cpp, not cpp.info.
  2044. 2003-11-16 Jason Merrill <jason@redhat.com>
  2045. * Makefile.in, objc/Make-lang.in (objc.tags): Create TAGS.sub
  2046. files in each directory and TAGS files that include them for each
  2047. front end.
  2048. 2003-11-15 Kazu Hirata <kazu@cs.umass.edu>
  2049. * config/h8300/lib1funcs.asm (divnorm): Store the sign in bit
  2050. 3 of S2L.
  2051. (modnorm): Likewise.
  2052. (exitdiv): Look at bit 3 of S2L only.
  2053. 2003-11-15 Kazu Hirata <kazu@cs.umass.edu>
  2054. * config/h8300/h8300.h (DO_GLOBAL_CTORS_BODY): Fix warnings.
  2055. (DO_GLOBAL_DTORS_BODY): Likewise.
  2056. 2003-11-15 Joseph S. Myers <jsm@polyomino.org.uk>
  2057. * doc/install.texi (Prerequisites): Refine documentation of
  2058. autoconf, automake and perl requirements. Document required
  2059. gettext version.
  2060. <2003-11-14 Jason Merrill <jason@redhat.com>
  2061. * function.c (assign_parms): Use TREE_TYPE to determine the real
  2062. type of the argument object.
  2063. 2003-11-14 Kazu Hirata <kazu@cs.umass.edu>
  2064. * config/h8300/lib1funcs.asm (___udivsi3): Peel off the first
  2065. iteration.
  2066. 2003-11-14 Fariborz Jahanian <fjahanian@apple.com>
  2067. * config/rs6000/rs6000.c (rs6000_move_block_from_reg):
  2068. New routine to save vararg registers on stack. Support for
  2069. -mpowerpc64 in mixed mode.
  2070. 2003-11-14 Bernardo Innocenti <bernie@develer.com>
  2071. * config/m68k/m68k.c: Use C statements instead of #ifdef's when testing
  2072. for MOTOROLA versus MIT syntax. Improves readability and provides
  2073. better compile-time error checking for both code paths.
  2074. 2003-11-14 Kelley Cook <kcook@gcc.gnu.org>
  2075. * config/frv/frv-protos.h: Update for C90.
  2076. * config/frv/frv.h: Likewise.
  2077. * config/frv/frvbegin.c: Likewise.
  2078. * config/frv/frv.c: Likewise.
  2079. (frv_adjust_field_align): Delete unused variable.
  2080. 2003-11-14 Geoffrey Keating <geoffk@apple.com>
  2081. * config/rs6000/rs6000.md: Add 'DEFAULT_ABI == ABI_DARWIN'
  2082. to each place where TARGET_LONG_DOUBLE_128 is used with
  2083. DEFAULT_ABI == ABI_AIX.
  2084. * cppfiles.c (_cpp_find_file): Make 'one or more PCH files were found'
  2085. message comply with GNU standards.
  2086. 2003-11-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  2087. PR/6552
  2088. * function.c (struct epi_info): New field const_equiv.
  2089. (update_epilogue_consts): New function.
  2090. (keep_stack_depressed): Clear new field and verify scratch register
  2091. doesn't have it set.
  2092. Call new function via note_stores.
  2093. (handle_epilogue_set): Allow setting SP equiv reg in different mode.
  2094. Allow PLUS where second operand is register known set to constant.
  2095. (emit_equiv_load): Write load using proper mode if source different.
  2096. * config/mips/mips.md (return_internal): Put (return) first.
  2097. 2003-11-14 Kazu Hirata <kazu@cs.umass.edu>
  2098. * config/h8300/lib1funcs.asm (___udivsi3): Add a comment.
  2099. 2003-11-14 Kazu Hirata <kazu@cs.umass.edu>
  2100. * config/h8300/lib1funcs.asm (modsi3): Don't save unused
  2101. registers.
  2102. (divsi3): Likewise.
  2103. (reti): Don't restore unused registers.
  2104. 2003-11-14 Nick Clifton <nickc@redhat.com>
  2105. * config/fr30/fr30.c: Include toplev.h
  2106. 2003-11-14 Richard Earnshaw <rearnsha@arm.com>
  2107. * except.c (sjlj_emit_function_enter): Mark internal label as LOCAL.
  2108. 2003-11-14 Richard Earnshaw <rearnsha@arm.com>
  2109. * arm.c (arm_emit_vector_const, arm_output_load_gr): Use ISO C
  2110. function definition syntax.
  2111. 2003-11-14 Eric Christopher <echristo@redhat.com>
  2112. * reload1.c (reload): Revert previous patch. Make
  2113. check for assignment into reg_equiv_address stricter.
  2114. 2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
  2115. * Makefile.in (POSTSTAGE1_FLAGS_TO_PASS): Pass ADAFLAGS.
  2116. 2003-11-14 Richard Sandiford <rsandifo@redhat.com>
  2117. * config/frv/frv.c (frv_in_small_data_p): Return false for unknown
  2118. section names.
  2119. 2003-11-14 Jason Merrill <jason@redhat.com>
  2120. PR middle-end/12526
  2121. * tree.c (build): A CALL_EXPR has side-effects if its arguments do.
  2122. * calls.c (call_expr_flags): New fn.
  2123. * tree.h: Declare it.
  2124. 2003-11-13 Kazu Hirata <kazu@cs.umass.edu>
  2125. * config/h8300/lib1funcs.asm (__udivsi3): Remove.
  2126. (divmodsi3): Change the name to ___udivsi3.
  2127. Update all callers.
  2128. 2003-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2129. * libgcc2.c (__negdi2, __addvsi3, __addvdi3, __subvsi3, __subvdi3,
  2130. __mulvsi3, __negvsi2, __negvdi2, __mulvdi3, __lshrdi3, __ashldi3,
  2131. __ashrdi3, __ffsDI2, __muldi3, __clzDI2, __ctzDI2, __parityDI2,
  2132. __udivmoddi4, __divdi3, __moddi3, __cmpdi2, __ucmpdi2,
  2133. __fixunstfDI, __fixunsxfDI, __fixunsdfDI, __fixunssfDI,
  2134. __floatdixf, __floatditf, __floatdidf, __floatdisf, __gcc_bcmp):
  2135. Const-ify and/or initialize automatic variables at declaration.
  2136. 2003-11-13 Kazu Hirata <kazu@cs.umass.edu>
  2137. * config/h8300/lib1funcs.asm (divmodsi4): Replace all the uses
  2138. of er4 with er3. Adjust all callers.
  2139. 2003-11-13 Andrew Pinski <apinski@apple.com>
  2140. * config/darwin.c (machopic_output_possible_stub_label):
  2141. Allow stub symbol be not defined when outputting possible
  2142. stub label.
  2143. 2003-11-13 Kazu Hirata <kazu@cs.umass.edu>
  2144. * config/h8300/lib1funcs.asm (___udivsi3): Jump to reti
  2145. instead of exitdiv.
  2146. (___umodsi3): Likewise.
  2147. (exitdiv): Do not restore any register.
  2148. (reti): Restore registers.
  2149. 2003-11-13 Steven Bosscher <stevenb@suse.de>
  2150. * tree-inline.c (walk_tree): Handle PLACEHOLDER_EXPR.
  2151. 2003-11-13 Kazu Hirata <kazu@cs.umass.edu>
  2152. * config/h8300/lib1funcs.asm: Fix comment typos.
  2153. 2003-11-13 Kazu Hirata <kazu@cs.umass.edu>
  2154. * config/h8300/lib1funcs.asm (udivsi3): Don't save/restore
  2155. unused registers. Don't jump to exitdiv.
  2156. (umodsi3): Likewise.
  2157. 2003-11-13 Mark Mitchell <mark@codesourcery.com>
  2158. Kean Johnston <jkj@sco.com>
  2159. PR c/13029
  2160. * toplev.c (check_global_declarations): Do not warn about unused
  2161. static consts.
  2162. 2003-11-13 Pavel Pisa <pisa@cmp.felk.cvut.cz>
  2163. Kazu Hirata <kazu@cs.umass.edu>
  2164. * config/h8300/lib1funcs.asm (DenHighNonZero): Optimize using
  2165. the approximate quotient method.
  2166. 2003-11-13 Richard Earnshaw <rearnsha@arm.com>
  2167. * combine.c (distribute_notes): When re-distributing the notes from
  2168. an insn we are about to delete, ensure we can't end up with a cyclic
  2169. list of notes.
  2170. 2003-11-13 Eric Botcazou <ebotcazou@libertysurf.fr>
  2171. PR optimization/12926
  2172. * expr.c (expand_assignment) [COMPONENT_REF]: Don't put
  2173. the UNCHANGING_RTX_P flag on memory references to read-only
  2174. components that are not addressable.
  2175. 2003-11-12 Kazu Hirata <kazu@cs.umass.edu>
  2176. * config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in
  2177. DenHighNonZero.
  2178. 2003-11-13 Jan Hubicka <jh@suse.cz>
  2179. PR opt/12275
  2180. * c-decl.c (finish_decl): Use change_decl_assembler_name.
  2181. * c-pragma.c (handle_pragma_redefine_extname): Likewise.
  2182. * varasm.c (make_decl_rtl): Likewise.
  2183. * cgraph.c (change_decl_assembler_name): New function.
  2184. * tree.h (set_decl_assembler_name): Kill dead declaration.
  2185. (change_decl_assembler_name): Declare.
  2186. * decl.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
  2187. * decl2.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
  2188. 2003-11-12 Kazu Hirata <kazu@cs.umass.edu>
  2189. * config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore
  2190. an unused register.
  2191. 2003-11-12 Richard Sandiford <rsandifo@redhat.com>
  2192. PR bootstrap/12752
  2193. * config/mips/t-iris6 (MULTILIB_OPTIONS): Put -mabi=n32 first.
  2194. (MULTILIB_OSDIRNAMES): Reorder accordingly.
  2195. 2003-11-12 Janis Johnson <janis187@us.ibm.com>
  2196. * rs6000-protos.h (rs6000_initial_elimination_offset): Add.
  2197. (rs6000_stack_info): Remove. (debug_stack_info): Remove.
  2198. (rs6000_emit_eh_reg_restore): Add
  2199. * rs6000.c (rs6000_stack_t): Move from rs6000.h, change data type
  2200. of vars_size and total_size to HOST_WIDE_INT.
  2201. (emit_frame_save): Change parameter size to HOST_WIDE_INT.
  2202. (rs6000_stack_info): Make static; change data size to HOST_WIDE_INT.
  2203. (debug_stack_info): Make static; change output format of HOST_WIDE_INT
  2204. values.
  2205. (rs6000_emit_eh_reg_restore): New, with code formerly in rs6000.md.
  2206. (rs6000_initial_elimination_offset): New, with code formerly in
  2207. INITIAL_ELIMINATION_OFFSET.
  2208. * rs6000.h (rs6000_stack_t): Remove.
  2209. (INITIAL_ELIMINATION_OFFSET): Replace code with call to function
  2210. rs6000_initial_elimination_offset.
  2211. * rs6000.md (UNSPECV_EH_RR split): Replace code with call to
  2212. rs6000_emit_eh_reg_restore.
  2213. 2003-11-12 Mike Stump <mrs@apple.com>
  2214. * c-typeck.c (c_convert_parm_for_inlining): Add argnum, which
  2215. is the argumnt we are processing so that warnings and errors
  2216. will have that information.
  2217. * c-tree.h (c_convert_parm_for_inlining): Add argnum.
  2218. * lang-hooks-def.h
  2219. (lhd_tree_inlining_convert_parm_for_inlining): Likewse.
  2220. * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): Likewise.
  2221. * langhooks.h (convert_parm_for_inlining): Likewise.
  2222. * tree-inline.c (initialize_inlined_parameters): Compute and
  2223. pass argnum down.
  2224. 2003-11-12 Alexey Starovoytov <alexey.starovoytov@sun.com>
  2225. Roger Sayle <roger@eyesopen.com>
  2226. PR optimization/12953
  2227. * tree-inline.c (inline_forbidden_p_1): Added check for BUILT_IN
  2228. before switch by FUNCTION_CODE.
  2229. 2003-11-12 Richard Earnshaw <rearnsha@arm.com>
  2230. * arm.md (storehi): Avoid use of explicit subreg.
  2231. (storehi_bigend, storeinthi, movhi_bigend): Likewise.
  2232. 2003-11-12 J"orn Rennecke <joern.rennecke@superh.com>
  2233. * config/sh/sh.md (prefetch): New pattern.
  2234. 2003-11-11 Eric Christopher <echristo@redhat.com>
  2235. * reload1.c (reload): Verify that addresses for
  2236. reg_equiv_* are valid for the architecture.
  2237. 2003-11-11 Eric Christopher <echristo@redhat.com>
  2238. * function.c (purge_addressof_1): Add libcall check.
  2239. Remove test for cached replacements on fallback case.
  2240. Simplify mode comparisons. Add libcall test for
  2241. paradoxical subregs.
  2242. 2003-11-11 Kazu Hirata <kazu@cs.umass.edu>
  2243. * config/h8300/t-h8300: Fix an obsolete comment.
  2244. 2003-11-11 James E Wilson <wilson@specifixinc.com>
  2245. * expmed.c (store_bit_field, extract_bit_field): Revert last two
  2246. changes.
  2247. 2003-11-11 Kazu Hirata <kazu@cs.umass.edu>
  2248. * config/h8300/lib1funcs.asm: Replace DenHighZero with
  2249. DenHighNonZero.
  2250. 2003-11-11 Jan Hubicka <jh@suse.cz>
  2251. * cgraphunit.c (cgraph_function_possibly_inlined_p): Use
  2252. really_no_inline.
  2253. 2003-11-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2254. * pa.h (TRAMPOLINE_TEMPLATE): Fix flushing of cache lines when
  2255. generating 64-bit code.
  2256. 2003-11-10 David Edelsohn <edelsohn@gnu.org>
  2257. * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove
  2258. accidental commit in previous change.
  2259. 2003-11-10 Fariborz Jahanian <fjahanian@apple.com>
  2260. * config/rs6000/rs6000.h (STACK_SIZE_MODE): Add definition.
  2261. * config/rs6000/rs6000.c (reg_or_mem_operand): Add macho-style
  2262. address recognition.
  2263. (macho_lo_sum_memory_operand): Routine to recognize macho-style
  2264. address recognition.
  2265. 2003-11-10 Richard Henderson <rth@redhat.com>
  2266. * dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.
  2267. 2003-11-10 Matt Austern <austern@apple.com>
  2268. * config/darwin-protos.h (darwin_assemble_visibility): Declare.
  2269. * config/darwin.c (darwin_assemble_visibility): Define. Warn for
  2270. anything other than VISIBILITY_DEFAULT and VISIBILITY_HIDDEN.
  2271. * config/darwin.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Use
  2272. darwin_assemble_visibility instead of default.
  2273. 2003-11-10 Waldek Hebisch <hebisch@math.uni.wroc.pl>
  2274. PR target/12865
  2275. * config/sparc/sparc.c (sparc_initialize_trampoline): Call
  2276. __enable_execute_stack only after writing onto the stack.
  2277. (sparc64_initialize_trampoline): Likewise.
  2278. 2003-11-09 Roger Sayle <roger@eyesopen.com>
  2279. * loop.c (check_dbra_loop): Try swapping the comparison operands
  2280. of the loop condition to identify a suitable induction variable.
  2281. * unroll.c (loop_iterations): Likewise.
  2282. 2003-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2283. * config/sparc/sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs
  2284. sparc64 #cpu and #machine assertions.
  2285. 2003-11-09 Richard Henderson <rth@redhat.com>
  2286. * Makefile.in (rtlanal.o): Depend on BASIC_BLOCK_H.
  2287. 2003-11-09 Jan Hubicka <jh@suse.cz>
  2288. * tree-optimize.c (tree_rest_of_compilation): Fix warning.
  2289. * cgraphunit.c (cgraph_expand_function): Use
  2290. cgraph_possibly_inlined_p.
  2291. * tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree.
  2292. * opts.c (common_handle_option): Do not set max-inline-insns.
  2293. * params.def: Update comments.
  2294. (PARAM_MAX_INLINE_INSNS): Kill.
  2295. * invoke.texi (max-inline-insns): Kill.
  2296. 2003-11-08 Joseph S. Myers <jsm@polyomino.org.uk>
  2297. PR c/3190
  2298. PR c/8714
  2299. * c-format.c (set_Wformat): Do not enable -Wformat-y2k by default.
  2300. * invoke.texi: Update.
  2301. 2003-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2302. PR optimization/12630
  2303. * pa.c (compute_movstrsi_length): Rename to compute_movstr_length.
  2304. Handle length computation 64-bit moves.
  2305. (compute_clrstr_length, output_block_clear): Implement block clear.
  2306. (output_block_move): Handle 64-bit moves.
  2307. (pa_adjust_insn_length): Use compute_movstr_length and
  2308. compute_clrstr_length.
  2309. * pa.md (movstrsi): Revise operand order and comments. Don't use
  2310. match_scratch.
  2311. (movstrsi_internal): Delete.
  2312. (movstrsi_prereload, movstrsi_postreload): New insns. Define splitter
  2313. and peephole2 patterns to transform prereload to postreload form.
  2314. (movstrdi, movstrdi_prereload, movstrdi_postreload, clrstrsi,
  2315. clrstrsi_prereload, clrstrsi_postreload, clrstrdi, clrstrdi_prereload,
  2316. clrstrdi_postreload): New patterns for 64-bit block move, and block
  2317. clear.
  2318. * pa-protos.h (output_block_clear): New prototype.
  2319. 2003-11-08 Andreas Schwab <schwab@suse.de>
  2320. * dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO ||
  2321. XCOFF_DEBUGGING_INFO.
  2322. 2003-11-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2323. * dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL.
  2324. 2003-11-07 Geoffrey Keating <geoffk@apple.com>
  2325. * config/rs6000/rs6000.c (rs6000_legitimize_address): Remove
  2326. redundant parens.
  2327. * cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.
  2328. (find_file_in_dir): Likewise.
  2329. (_cpp_find_file): Print message if no header file is found
  2330. but an invalid PCH file was.
  2331. 2003-11-08 Joseph S. Myers <jsm@polyomino.org.uk>
  2332. * c-typeck.c (pedantic_lvalue_warning): Deprecate compound
  2333. expressions as lvalues.
  2334. (internal_build_compound_expr): Remove special handling for
  2335. non-pedantic case.
  2336. * doc/extend.texi: Document that all extended lvalues are now
  2337. deprecated.
  2338. 2003-11-07 Geoffrey Keating <geoffk@apple.com>
  2339. PR 11654
  2340. * dbxout.c (struct dbx_file): Do not save for PCH.
  2341. (current_file): Likewise.
  2342. (dbxout_init): Don't allocate struct dbx_file using GC.
  2343. (dbxout_start_source_file): Likewise.
  2344. 2003-11-07 Falk Hueffner <falk@debian.org>
  2345. * config/alpha/elf.h, config/alpha/unicosmk.h,
  2346. config/alpha/vms.h: Convert to ISO C90.
  2347. 2003-11-07 Nathanael Nerode <neroden@gcc.gnu.org>
  2348. * config/arm/pe.h: Convert to ISO C90.
  2349. 2003-11-07 J"orn Rennecke <joern.rennecke@superh.com>
  2350. * sh-protos.h (sh_pch_valid_p): Declare.
  2351. * sh.c ("intl.h"): Include.
  2352. (TARGET_PCH_VALID_P): Override.
  2353. (sh_target_switches): New variable.
  2354. (target_switches): Define.
  2355. (sh_pch_valid_p): New function.
  2356. * sh.h (MODE_AFTER): Don't change mode unless TARGET_HITACHI.
  2357. 2003-11-07 Jan Hubicka <jh@suse.cz>
  2358. * i386.c (x86_64_sign_extended_value): Return false from tls variables.
  2359. (x86_64_zero_extended_value): likewise.
  2360. 2003-11-07 Richard Sandiford <rsandifo@redhat.com>
  2361. * config/mips/mips.md (loadgp): Take $25 as a second operand.
  2362. * config/mips/mips.c (mips_expand_prologue): Modify accordingly.
  2363. 2003-11-06 Matt Austern <austern@apple.com>
  2364. * c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY
  2365. field instead of hanging an attribute object off the decl.
  2366. * tree.h (DECL_VISIBLITY): New accessor macro for
  2367. symbol_visibility field in struct tree_decl.
  2368. (enum symbol_visibility): Move definition to before tree_decl.
  2369. (struct tree_decl): Define new two-bit field, symbol_visibility.
  2370. (decl_visibility): Remove declaration.
  2371. * varasm.c (maybe_assemble_visibility): Use DECL_VISIBILITY
  2372. instead of decl_visibility.
  2373. (default_binds_local_p_1): Use DECL_VISIBILITY instead of
  2374. decl_visibility.
  2375. (decl_visibility): Remove.
  2376. 2003-11-06 Ulrich Weigand <uweigand@de.ibm.com>
  2377. * config/s390/s390.c (s390_emit_epilogue): Recognize more cases
  2378. where register 14 will be saved.
  2379. 2003-11-06 Geoffrey Keating <geoffk@apple.com>
  2380. * config/rs6000/rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
  2381. (USE_ALTIVEC_FOR_ARG_P): Likewise.
  2382. * config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Move from rs6000.h.
  2383. Take a pointer as the CUM parameter. Update callers.
  2384. (USE_ALTIVEC_FOR_ARG_P): Likewise. Also correct for Darwin/AIX
  2385. 32-bit ABIs.
  2386. (function_arg_advance): Use USE_ALTIVEC_FOR_ARG_P. Correct case
  2387. of vector parameters as named arguments of stdarg function.
  2388. (function_arg): Likewise.
  2389. * config/rs6000/darwin.h (ASM_SPEC): Use -force_cpusubtype_ALL when
  2390. -maltivec is specified, not the non-existent -faltivec.
  2391. 2003-11-06 Ulrich Weigand <uweigand@de.ibm.com>
  2392. * config/s390/s390-protos.h (s390_function_value): Declare.
  2393. * config/s390/s390.c (TARGET_RETURN_IN_MEMORY): Define.
  2394. (s390_return_in_memory): New function.
  2395. (s390_function_value): New function.
  2396. (s390_function_arg_float): Return false for all arguments larger
  2397. than 8 bytes.
  2398. (s390_function_arg_pass_by_reference): Likewise. Return true for
  2399. all vector arguments.
  2400. (s390_function_arg_integer): New function.
  2401. (s390_function_arg_advance): Call it. Add sanity checks.
  2402. (s390_function_arg): Likewise.
  2403. * config/s390/s390.h (FUNCTION_VALUE): Call s390_function_value.
  2404. (LIBCALL_VALUE): Likewise.
  2405. (RET_REG): Remove.
  2406. (RETURN_IN_MEMORY): Remove.
  2407. 2003-11-06 Richard Sandiford <rsandifo@redhat.com>
  2408. * config/mips/mips-protos.h (mips_initial_elimination_offset): Change
  2409. return type to HOST_WIDE_INT.
  2410. * config/mips/mips.c (mips_frame_info): Give sizes type HOST_WIDE_INT.
  2411. Make initialized a bool. Make register masks unsigned ints.
  2412. (compute_frame_size): Make same mask change here. Use HOST_WIDE_INT
  2413. where appropriate.
  2414. (mips_initial_elimination_offset): Return a HOST_WIDE_INT.
  2415. (mips_output_function_prologue): Print sizes as HOST_WIDE_INTs.
  2416. 2003-11-06 Richard Sandiford <rsandifo@redhat.com>
  2417. * config/frv/frv.c (frv_initial_elimination_offset): Remove bogus
  2418. negation.
  2419. 2003-11-06 Richard Sandiford <rsandifo@redhat.com>
  2420. * config/frv/frv.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define.
  2421. 2003-11-06 Momchil Velikov <velco@fadata.bg>
  2422. * config/mips/mips.c (override_options): Set MASK_SOFT_FLOAT
  2423. for VR4111 too.
  2424. 2003-11-06 Jan Hubicka <jh@suse.cz>
  2425. * builtins.c (simplify_builtin_strrchr, simplify_builtin_strpbrk): Add
  2426. missing casts.
  2427. 2003-11-06 Zack Weinberg <zack@codesourcery.com>
  2428. * genmodes.c: Change the word "bitsize" to "precision" throughout.
  2429. * machmode.def: Likewise.
  2430. * machmode.h (GET_MODE_SIZE): Cast value to unsigned short.
  2431. (GET_MODE_BITSIZE): Define as GET_MODE_SIZE * BITS_PER_UNIT.
  2432. (GET_MODE_PRECISION): New macro.
  2433. (mode_bitsize): Renamed mode_precision.
  2434. * stor-layout.c (mode_for_size, smallest_mode_for_size):
  2435. Use GET_MODE_PRECISION; clarify comments.
  2436. 2003-11-05 Joseph S. Myers <jsm@polyomino.org.uk>
  2437. * doc/install-old.texi: Remove old documentation of building
  2438. cross-compilers.
  2439. * doc/install.texi: Move some of it to here.
  2440. 2003-11-05 Per Bothner <pbothner@apple.com>
  2441. PR preprocessor/12891
  2442. * c-opts.c (finish_options): Set include_cursor to disable premature
  2443. calls to push_command_line_include from cpp_scan_nooutput.
  2444. Fixes bug reported by DJ Delorie.
  2445. 2003-11-05 Geoffrey Keating <geoffk@apple.com>
  2446. * config/rs6000/rs6000.c (setup_incoming_varargs): Remove
  2447. code supporting old-style varargs.
  2448. * config/rs6000/rs6000.c (rs6000_machopic_legitimize_pic_address): Use
  2449. an intermediate register for better optimisation.
  2450. 2003-11-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  2451. PR optimization/10080
  2452. * cfgloopanal.c (variable_initial_value, variable_initial_values,
  2453. simple_loop_exit_p): Record the fact that initial value is extended
  2454. from inner mode.
  2455. (count_strange_loop_iterations, count_loop_iterations): Handle
  2456. ivs that iterate in a narrower mode. Fix handling of overflows.
  2457. Improve handling of NE conditions.
  2458. (inverse, fits_in_mode_p): New static functions.
  2459. (simple_increment): Detect variables that iterate in a narrower mode.
  2460. * cfgloop.h (struct loop_desc): Fields inner_mode and extend added.
  2461. 2003-11-05 Geoffrey Keating <geoffk@apple.com>
  2462. * config/rs6000/rs6000.c (compute_vrsave_mask): Correct off-by-one
  2463. error.
  2464. * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Darwin
  2465. needs VRSAVE.
  2466. 2003-11-05 Joseph S. Myers <jsm@polyomino.org.uk>
  2467. * c-typeck.c (pedantic_lvalue_warning): Deprecate use of
  2468. conditional expressions as lvalues.
  2469. 2003-11-05 Kazu Hirata <kazu@cs.umass.edu>
  2470. * tsystem.h: Add the prototype of strlen.
  2471. * unwind-pe.h (read_encoded_value_with_base): Add an
  2472. appropriate cast to handle a case where the pointer size is
  2473. smaller than sizeof (int).
  2474. 2003-11-04 Richard Sandiford <rsandifo@redhat.com>
  2475. * config/mips/mips-protos.h (mips_global_pic_constant_p): Delete.
  2476. (mips_delegitimize_address): Delete.
  2477. (mips_gotoff_global, mips_load_got_page): Declare.
  2478. (mips_load_got_global, mips_rewrite_small_data): Declare.
  2479. * config/mips/mips.h (FIND_BASE_TERM): Remove definition.
  2480. (DANGEROUS_FOR_LA25_P): Use global_got_operand.
  2481. (PREDICATE_CODES): Add global_got_operand, local_got_operand and
  2482. small_data_pattern. Remove CONST from const_arith_operand's entry.
  2483. * config/mips/mips.c (UNSPEC_ADDRESS_P, CONST_GP_P): New macros.
  2484. (UNSPEC_ADDRESS, UNSPEC_ADDRESS_TYPE): Likewise.
  2485. (mips_constant_type): Delete.
  2486. (mips_symbol_type): Add SYMBOL_GOTOFF_PAGE, SYMBOL_GOTOFF_GLOBAL,
  2487. SYMBOL_GOTOFF_CALL and SYMBOL_GOTOFF_LOADGP.
  2488. (NUM_SYMBOL_TYPES): New macro.
  2489. (mips_address_type): Remove ADDRESS_INVALID.
  2490. (machine_function): Add has_gp_insn_p.
  2491. (mips_constant_info): Delete.
  2492. (mips_address_info): Add the address type as an extra field. Replace
  2493. the c field with symbol_type.
  2494. (mips_split_p, mips_lo_relocs, mips_hi_relocs): New arrays.
  2495. (TARGET_DELEGITIMIZE_ADDRESS): Remove definition.
  2496. (mips_reloc_offset_ok_p, mips_classify_constant): Delete.
  2497. (mips_split_const, mips_symbolic_constant_p): New functions.
  2498. (mips_symbolic_address_p): Take the symbol type and mode as arguments.
  2499. (mips_classify_address): Return true if the address is valid, storing
  2500. its type in INFO. Use mips_symbolic_constant_p. Use mips_lo_relocs[]
  2501. to test whether a LO_SUM address is allowed.
  2502. (mips_symbol_insns): Return 0 for general mips16 symbols.
  2503. Reorder SYMBOL_GOT_GLOBAL case to match mips_symbol_type definition.
  2504. Handle the new SYMBOL_GOTOFF_*s.
  2505. (mips_address_insns): Update call to mips_classify_address.
  2506. (mips_const_insns): Be more fussy about HIGH constants. Remove use
  2507. of mips_classify_constant. Be more accurate about CONSTs.
  2508. (mips_global_pic_constant_p): Delete.
  2509. (const_arith_operand): Only accept CONST_INTs.
  2510. (call_insn_operand): Remove call to mips_classify_constant.
  2511. Let mips_symbolic_constant_p check for invalid offsets.
  2512. (move_operand): Check for general_operands first. Only accept symbolic
  2513. constants if they satisfy mips_symbolic_constant_p and cannot be split.
  2514. (symbolic_constant): Use mips_symbolic_constant_p.
  2515. (global_got_operand, local_got_operand): New predicates.
  2516. (stack_operand): Update call to mips_classify_address.
  2517. (mips_legitimate_address_p): Likewise.
  2518. (mips_reloc, mips_lui_reloc): Delete.
  2519. (mips_force_temporary): Only use the given temporary if no_new_pseudos.
  2520. Use emit_move_insn.
  2521. (mips_split_symbol, mips_unspec_address): New functions.
  2522. (mips_unspec_offset_high): New function.
  2523. (mips_load_got): Replace reloc argument with a symbol_type.
  2524. Use mips_unspec_address to create the address and put it in a
  2525. LO_SUM with the base register.
  2526. (mips_load_got16, mips_load_got32): Delete.
  2527. (mips_emit_high, mips_legitimize_symbol): Delete.
  2528. (mips_gotoff_global): New function.
  2529. (mips_load_got_page, mips_load_got_global): New functions.
  2530. (mips_legitimize_symbol): Inline handling of LO_SUM splits.
  2531. (mips_legitimize_const_move): Likewise. Remove HIGH handling.
  2532. Inline code to handle constants plus invalid offsets. Use
  2533. mips_split_symbol to legitimize constant pool addresses.
  2534. (mips_delegitimize_address): Delete.
  2535. (mips_rtx_costs): Give legitimate symbolic constants and CONST_DOUBLEs
  2536. a cost of 1 insn. Give the rest a cost of CONSTANT_POOL_ADDRESS.
  2537. (mips_subword): Pass memrefs through mips_rewrite_small_data.
  2538. (mips_output_move): Remove use of mips_classify_constant.
  2539. (mips_expand_call): Use mips_unspec_offset_high to calculate the
  2540. high part of the GOT address for calls to global functions.
  2541. (override_options): Initialize mips_split_p[], mips_lo_relocs[]
  2542. and mips_hi_relocs[].
  2543. (print_operand): Use print_operand_reloc to handle '%h' and '%R'.
  2544. Remove use of mips_classify_constant.
  2545. (mips_reloc_string): Delete.
  2546. (print_operand_reloc): New function.
  2547. (print_operand_address): Update call to mips_classify_address.
  2548. (mips_rewrite_small_data_p, small_data_pattern_1): New functions.
  2549. (small_data_pattern): New predicate.
  2550. (mips_rewrite_small_data_1, mips_rewrite_small_data): New functions.
  2551. (mips_function_has_gp_insn): New function.
  2552. (mips_global_pointer): Use it.
  2553. (mips_gp_insn): Delete.
  2554. (mips_expand_prologue): When compiling for n32/n64 abicalls, use a
  2555. single loadgp pattern to initialize $gp. Pass it the offset of _gp
  2556. from the start of the current function.
  2557. (mips16_gp_pseudo_reg): Revert last patch.
  2558. * config/mips/mips.md (RELOC_*): Delete.
  2559. (UNSPEC_LOADGP, UNSPEC_FIRST_ADDRESS): New constants.
  2560. (got): New insn attribute.
  2561. (type): Set to "load" if got == load.
  2562. (length): Set to 4 if got == load, 8 if got == xgot_high.
  2563. (lui[sd]i): Delete.
  2564. (*xgot_hi[sd]i, *xgot_lo[sd]i): New patterns.
  2565. (*got_disp[sd]i, *got_page[sd]i): Likewise.
  2566. (*low[sd]i): Change constraints to "d". Add a new define_split to
  2567. rewrite small data constants into LO_SUMs.
  2568. (loadgp): New insns.
  2569. 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2570. * config/mips/_tilib.c: Use _ABI* in _MIPS_SIM tests.
  2571. 2003-11-04 DJ Delorie <dj@redhat.com>
  2572. * config/v850/v850.md (mulhisi3): Expand the const_int case
  2573. separately to avoid trying to sign extend the const.
  2574. 2003-11-04 Richard Sandiford <rsandifo@redhat.com>
  2575. * emit-rtl.c (copy_rtx_if_shared): Don't allow MEMs with constant
  2576. addresses to be shared.
  2577. (force_const_mem): Return a copy of the pool entry.
  2578. 2003-11-03 Andreas Jaeger <aj@suse.de>
  2579. * Makefile.in (GCC_CFLAGS): Remove @WERROR@ again.
  2580. 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
  2581. * Makefile.in (cpp.dvi): New target split from cpp.info.
  2582. (gcc.dvi): New target split from gcc.info.
  2583. (gccint.dvi): New target split from gccint.info.
  2584. (cppinternals.dvi): New target split from cppinternals.info
  2585. (gccinstall.info): New specific rule.
  2586. (gccinstall.dvi): Likewise.
  2587. (dvi): Move targets to $(docobjdir).
  2588. ($(docobjdir)/%.dvi): New implicit rule.
  2589. 2003-11-03 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  2590. * doc/gty.texi (tag, desc): Say more about role of desc values in
  2591. selecting between tags.
  2592. 2003-11-03 Alexander Kabaev <ak03@gte.com>
  2593. * real.c (encode_ieee_single): Ensure proper promotion.
  2594. 2003-11-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  2595. * doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
  2596. and Andrew Pinski.
  2597. 2003-11-03 Syd Polk <spolk@apple.com>
  2598. * config/rs6000/rs6000.c (rs6000_override_options): Add G3, G4, and G5
  2599. marketing names to the list of supported processors.
  2600. * config/rs6000/rs6000.h: Ditto.
  2601. * doc/invoke.texi: Ditto.
  2602. * config.gcc: Ditto.
  2603. 2003-11-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2604. * fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
  2605. Merge two substitutions.
  2606. * fixinc/fixincl.x: Regenerate.
  2607. Fixes PR bootstrap/12666.
  2608. 2003-11-03 Joseph S. Myers <jsm@polyomino.org.uk>
  2609. * doc/install-old.texi: Remove VMS documentation.
  2610. 2003-11-03 Jan Hubicka <jh@suse.cz>
  2611. * i386.c (override_options): Remove hack enabling 128bit long double
  2612. commited by accident.
  2613. 2003-11-02 Per Bothner <per@bothner.com>
  2614. * c-opts.c (needValue): Do cpp_find_main_file before processing
  2615. any imacros flags, so pfile->main_file is set for the latter.
  2616. 2003-11-03 Andreas Jaeger <aj@suse.de>
  2617. Zack Weinberg <zack@codesourcery.com>
  2618. * Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
  2619. (SYSCALLS.c.X-warn): Suppress warnings.
  2620. 2003-11-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2621. PR optimization/12845
  2622. * pa.c (output_cbranch): Use cmpb for DImode comparisons with 0.
  2623. 2003-11-02 Zack Weinberg <zack@codesourcery.com>
  2624. * print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
  2625. * config/i386/i386.c (print_reg): Abort on a virtual register
  2626. if code != -1; not if file == asm_out_file.
  2627. * config/i386/i386.h (PRINT_REG): Document meaning of CODE == -1.
  2628. (DEBUG_PRINT_REG): Delete, unused.
  2629. 2003-11-02 Andreas Schwab <schwab@suse.de>
  2630. * config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
  2631. empty to avoid conflict with the definition from configure.
  2632. 2003-11-02 Roger Sayle <roger@eyesopen.com>
  2633. PR optimization/10817
  2634. * ifcvt.c (noce_emit_move_insn): Improve documentation comment.
  2635. (noce_try_move): New function to optimize an if-the-else into an
  2636. unconditional move, i.e. "if (a!=b) x=a; else x=b" into "x=a".
  2637. (noce_process_if_block): Attempt simplification with noce_try_move.
  2638. * simplify-rtx.c (simplify_ternary_operation): Some minor fixes
  2639. and improvements to the optimizations of IF_THEN_ELSE expressions.
  2640. (simplify_subreg): Silence signed/unsigned comparison warning.
  2641. 2003-11-02 Richard Sandiford <rsandifo@redhat.com>
  2642. * Makefile.in (targhooks.o, reload.o): Update dependencies.
  2643. (GTFILES): Add targhooks.c.
  2644. (gt-targhooks.h): New rule; depend on s-gtype.
  2645. * target.h (direct_pool_load_p): New hook.
  2646. * target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
  2647. (TARGET_INITIALIZER): Include it.
  2648. * targhooks.h (default_direct_pool_load_p): Declare.
  2649. (hook_bool_machine_mode_true): Declare.
  2650. * targhooks.c: Include insn-config.h, recog.h, ggc.h and
  2651. gt-targhooks.h.
  2652. (pool_symbol): New variable.
  2653. (default_direct_pool_load_p): New function.
  2654. (hook_bool_machine_mode_true): New function.
  2655. * reload.c: Include target.h.
  2656. (find_reloads): If an alternative will force a constant into memory,
  2657. count an extra reload if constant pool symbols are not valid
  2658. addresses. If an alternative uses memory to move values between
  2659. registers, count the move as two reloads rather than one.
  2660. * config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
  2661. * doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.
  2662. 2003-11-02 Eric Botcazou <ebotcazou@libertysurf.fr>
  2663. PR optimization/12799
  2664. * postreload.c (reload_cse_move2add): Generate the add2
  2665. patterns manually.
  2666. 2003-11-02 Eric Botcazou <ebotcazou@libertysurf.fr>
  2667. * config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
  2668. Return 0 for all complex modes whose size is lesser or equal to
  2669. a word. Add a ??? comment for the condition used with 16-byte
  2670. aligned modes.
  2671. 2003-11-01 Kelley Cook <kcook@gcc.gnu.org>
  2672. * .cvsignore: Remove c-parse* and tradcif.c.
  2673. * objc/.cvsignore: Delete.
  2674. 2003-11-01 Roger Sayle <roger@eyesopen.com>
  2675. * unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
  2676. of NULL.
  2677. 2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2678. * som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
  2679. * libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
  2680. * collect2.c (scan_libraries): Fix typos.
  2681. PR preprocessor/12847
  2682. * cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
  2683. cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
  2684. c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
  2685. DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
  2686. "CPP_".
  2687. 2003-11-01 Fariborz Jahanian <fjahanian@apple.com>
  2688. * config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct
  2689. no_units calculation.
  2690. 2003-11-01 Andreas Jaeger <aj@suse.de>
  2691. * unwind-dw2.c (_Unwind_FrameState): Remove commas at end of
  2692. enumeration list.
  2693. 2003-11-01 Andreas Schwab <schwab@suse.de>
  2694. * config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
  2695. prototypes.
  2696. (SBSS_SECTION_FUNCTION): Likewise.
  2697. 2003-11-01 Andreas Jaeger <aj@suse.de>
  2698. * Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
  2699. 2003-11-01 Andreas Tobler <a.tobler@schweiz.ch>
  2700. * config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
  2701. prototypes.
  2702. 2003-11-01 Andreas Jaeger <aj@suse.de>
  2703. * unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
  2704. (uw_frame_state_for): Constify variables.
  2705. (extract_cie_info): Constify first argument.
  2706. * unwind-dw2-fde-darwin.c: Adjust prototype of
  2707. _Unwind_Find_registered_FDE for recent changes.
  2708. (examine_objects): Constify return value and local variable result.
  2709. (_Unwind_Find_FDE): Constify return value and local variable ret.
  2710. 2003-10-31 Per Bothner <pbothner@apple.com>
  2711. * c-opts.c (finish_options): Change to returns boolean - false iff
  2712. the call to cpp_find_main_file fails.
  2713. (c_common_init): Skip preprocess_file if finish_options failed.
  2714. (c_common_parse_file): Break if finish_options failed.
  2715. Fixes PR preprocessor/12545.
  2716. 2003-10-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2717. * aclocal.m4: Blacklist ultrix* for mmap file.
  2718. * configure: Rebuilt.
  2719. * function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
  2720. reg_parm_stack_space.
  2721. * toplev.c (default_get_pch_validity): Fix warning.
  2722. * vax.c: Include toplev.h.
  2723. (vax_init_libfuncs): Fix typo (umod).
  2724. * vax.h (ASM_COMMENT_START): Define.
  2725. (PRINT_OPERAND): Fix warning when HOST_WIDE_INT is a long long.
  2726. 2003-10-31 Roger Sayle <roger@eyesopen.com>
  2727. PR middle-end/11968
  2728. * expr.c (expand_expr <MULT_EXPR>): Remove inappropriate and
  2729. confusing comment; distributivity isn't handled in expand_expr.
  2730. * fold-const.c (extract_muldiv_1 <PLUS_EXPR>): Allow overflow
  2731. in distributivity, if wrap-around semantics are specified with
  2732. -fwrapv.
  2733. 2003-11-01 Alan Modra <amodra@bigpond.net.au>
  2734. PR 12315
  2735. * final.c (profile_function): Allow for NULL svrtx.
  2736. 2003-10-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2737. * pa.c (pa_select_section): Use new style declaration.
  2738. * som.h (readonly_data): Likewise.
  2739. 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
  2740. * config/rs6000/rs6000.c: Update to C90 prototypes.
  2741. 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
  2742. PR target/7513
  2743. * arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
  2744. code.
  2745. 2003-10-31 Andreas Jaeger <aj@suse.de>,
  2746. Zack Weinberg <zack@codesourcery.com>
  2747. * crtstuff.c (__register_frame_info, __register_frame_info_bases)
  2748. (__deregister_frame_info, __deregister_frame_info_bases):
  2749. Constify void * argument.
  2750. * unwind-dw2-fde.h (struct fde_vector):
  2751. Constify 'orig_data' and 'array' fields.
  2752. (__register_frame_info, __register_frame_info_bases)
  2753. (__deregister_frame_info, __deregister_frame_info_bases):
  2754. Constify void * argument.
  2755. (get_cie, next_fde, _Unwind_Find_FDE): Constify arguments,
  2756. return values, and casts of type fde *, struct dwarf_fde *,
  2757. and struct dwarf_cie *.
  2758. * unwind-dw2-fde.c (__register_frame_info, __register_frame_info_bases)
  2759. (__deregister_frame_info, __deregister_frame_info_bases):
  2760. Constify void * argument.
  2761. (get_cie_encoding, ): Constify struct dwarf_cie * argument.
  2762. (get_fde_encoding, fde_unencoded_compare, fde_single_encoding_compare)
  2763. (fde_mixed_encoding_compare, fde_compare_t, start_fde_sort, fde_insert)
  2764. fde_split, SWAP, frame_downheap, frame_heapsort)
  2765. (classify_object_over_fdes, add_fdes, linear_search_fdes,
  2766. binary_search_unencoded_fdes, binary_search_single_encoding_fdes,
  2767. binary_search_mixed_encoding_fdes, search_object, _Unwind_Find_FDE):
  2768. Constify arguments, local variables, return values, and casts
  2769. of type fde *, fde **, struct dwarf_fde *, and struct dwarf_cie *.
  2770. Use const pointer types in sizeof expressions, for clarity.
  2771. * unwind-dw2-fde-glibc.c
  2772. (_Unwind_find_registered_FDE, _Unwind_find_FDE): Constify return value.
  2773. (struct unw_eh_callback_data): Constify 'ret' field.
  2774. 2003-10-31 Fariborz Jahanian <fjahanian@apple.com>
  2775. David Edelsohn <edelsohn@gnu.org>
  2776. * config/rs6000/rs6000.c (rs6000_mixed_function_arg): New.
  2777. (function_arg): Call it.
  2778. (rs6000_function_value): Widen integral return value to mode based
  2779. on TARGET_32BIT, not word_mode.
  2780. * config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.
  2781. (UNITS_PER_ARG): New.
  2782. (RS6000_ARG_SIZE): Use it.
  2783. 2003-10-31 Gerald Pfeifer <gerald@pfeifer.com>
  2784. * .cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c,
  2785. and gengtype-yacc.h.
  2786. 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
  2787. PR optimization/8896
  2788. * postreload.c (reload_combine): Check that REGY doesn't die in an
  2789. insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.
  2790. 2003-10-31 Josef Zlomek <zlomekj@suse.cz>
  2791. PR/10239
  2792. * cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.
  2793. 2003-10-31 Josef Zlomek <zlomekj@suse.cz>
  2794. PR/11640
  2795. * cfgrtl.c (try_redirect_by_replacing_jump): Move jump
  2796. immediatelly before BARRIER.
  2797. 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
  2798. * Makefile.in (STRICT2_WARN): Add -Wold-style-definition.
  2799. 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
  2800. PR target/11271
  2801. * reload.c (find_reloads_address): Handle any register in
  2802. (PLUS (PLUS (REG) (REG)) (CONST_INT).
  2803. 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
  2804. * ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
  2805. ENABLE_GC_CHECKING not in GGC_POISON.
  2806. 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
  2807. PR bootstrap/9863
  2808. * configure.in: Bail out if awk is missing.
  2809. * configure: Regenerate.
  2810. PR ada/12761
  2811. * Makefile.in: Move default definitions of X_ADA_CFLAGS,
  2812. T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from ada/Make-lang.in to here.
  2813. 2003-10-30 Richard Henderson <rth@redhat.com>
  2814. * c-objc-common.c (c_tree_printer): Handle types correctly.
  2815. Factor code a bit.
  2816. 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
  2817. * value-prof.c, web.c: Update to C90.
  2818. 2003-10-30 Eric Christopher <echristo@redhat.com>
  2819. * function.c (purge_addressof_1): Add case for REG_RETVAL
  2820. notes when modes are unequal.
  2821. 2003-10-31 Jan Hubicka <jh@suse.cz>
  2822. * i386-modes.def: Add XFmode format adjustment.
  2823. 2003-10-30 Jan Hubicka <jh@suse.cz>
  2824. * real.c (encode_ieee_extended): Back out previous patch.
  2825. 2003-10-30 Jan Hubicka <jh@suse.cz>
  2826. * real.c (encode_ieee_extended): Initialize whole array.
  2827. * reg-stack.c (move_for_stack_reg0: Use always XFmode.
  2828. * i386-modes.def: Change definitions of TFmode and XFmode.
  2829. * i386.c (classify_argument): Rename TFmodes to XFmodes; add new TFmode
  2830. code.
  2831. (construct_container): Allow constructing of TFmode integer containers.
  2832. (ix86_return_in_memory): XFmode is not returned in memory.
  2833. (init_ext_80387_constants): Always use XFmode.
  2834. (print_operand): Likewise.
  2835. (ix86_prepare_fp_compare_regs): Likewise.
  2836. (split_to_parts): Deal with TFmode.
  2837. (split_long_move): Simplify.
  2838. (ix86_init_mmx_sse_builtins): Add __float80, __float128.
  2839. (ix86_memory_move_cost): Do not confuse TFmode.
  2840. * i386.h (LONG_DOUBLE_TYPE_SIZE): Set to 96.
  2841. (IS_STACK_MODE): TFmode is not stack mode.
  2842. (HARD_REGNO_NREGS, CLASS_MAX_NREGS): Deal nicely with XFmode.
  2843. (VALID_SSE_REG_MODE): Allow TFmode.
  2844. (VALID_FP_MODE_P): Disallow TFmode.
  2845. (VALID_INT_MODE_P): Allow TFmode in 64bit mode.
  2846. * i386.md (TFmode patterns): Kill.
  2847. (movtf, motf_rex64): New patterns.
  2848. 2003-10-30 Richard Sandiford <rsandifo@redhat.com>
  2849. * config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.
  2850. 2003-10-30 Richard Sandiford <rsandifo@redhat.com>
  2851. * config/mips/mips.md (mov_lwl): Use memory_operand where appropriate.
  2852. (mov_lwr, mov_swl, mov_swr): Likewise.
  2853. (mov_ldl, mov_ldr, mov_sdl, mov_sdr): Likewise.
  2854. 2003-10-30 Richard Sandiford <rsandifo@redhat.com>
  2855. * config/mips/mips.c (mips_global_pointer): Don't try to use $25.
  2856. 2003-10-30 Richard Henderson <rth@redhat.com>
  2857. * config/mips/mips.c (mips_build_builtin_va_list): Use runtime
  2858. test for irix6 rather than preprocessor test.
  2859. 2003-10-30 Richard Henderson <rth@redhat.com>
  2860. * cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.
  2861. 2003-10-30 Ulrich Weigand <uweigand@de.ibm.com>
  2862. * config/s390/s390.c (struct machine_function): Use save_return_addr_p
  2863. as a general flag that the return address register needs to be saved,
  2864. not necessarily because of __builtin_return_addr (0).
  2865. (s390_split_branches): Remove TEMP_REG and TEMP_USED arguments,
  2866. remove special handling of zSeries machines.
  2867. (s390_optimize_prolog): Remove TEMP_USED argument, treat the return
  2868. register as a regular register on zSeries machines.
  2869. (s390_reorg): Adjust calls to s390_split_branches and
  2870. s390_optimize_prolog.
  2871. (s390_frame_info): On zSeries machines, do not assume the return
  2872. register is always used. Update regs_ever_live with current data
  2873. for the special registers.
  2874. (s390_emit_epilogue): Use save_return_addr_p to determine whether
  2875. the return register was saved.
  2876. * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Do not mark
  2877. RETURN_REGNUM fixed on zSeries machines.
  2878. (REG_ALLOC_ORDER): Use RETURN_REGNUM last.
  2879. * config/s390/s390.md ("*doloop_si"): Handle branch overflow
  2880. via ahi-jgne pair on zSeries machines.
  2881. ("*doloop_di"): Likewise.
  2882. ("*doloop_di_long"): Remove.
  2883. 2003-10-30 Richard Earnshaw <rearnsha@arm.com>
  2884. * arm.c (arm_override_options): Revert change of arm_constant_limit
  2885. when optimizing for size.
  2886. 2003-10-29 Richard Henderson <rth@redhat.com>
  2887. * fold-const.c (fold_single_bit_test): Convert the input to the
  2888. operational intermediate type.
  2889. 2003-10-29 Richard Henderson <rth@redhat.com>
  2890. * builtins.c (std_build_builtin_va_list): New.
  2891. * expr.h (std_build_builtin_va_list): Declare.
  2892. * defaults.h (BUILD_VA_LIST_TYPE): New.
  2893. * system.h (BUILD_VA_LIST_TYPE): Poison.
  2894. * target-def.h (TARGET_BUILD_BUILTIN_VA_LIST): New.
  2895. * target.h (struct gcc_target): Add build_builtin_va_list.
  2896. * tree.c (build_common_tree_nodes_2): Use it.
  2897. * config/alpha/alpha-protos.h, config/alpha/alpha.c,
  2898. config/alpha/alpha.h, config/alpha/unicosmk.h,
  2899. config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h,
  2900. config/i386/i386-protos.h, config/i386/i386.c, config/i386/i386.h,
  2901. config/i860/i860-protos.h, config/i860/i860.c, config/i860/i860.h,
  2902. config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h,
  2903. config/mips/iris6.h, config/mips/mips-protos.h, config/mips/mips.c,
  2904. config/mips/mips.h, config/rs6000/rs6000-protos.h,
  2905. config/rs6000/rs6000.c, config/rs6000/rs6000.h,
  2906. config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
  2907. config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
  2908. config/xtensa/xtensa-protos.h, config/xtensa/xtensa.c,
  2909. config/xtensa/xtensa.h: Rename foo_build_va_list to
  2910. foo_build_builtin_va_list; make it static. Define
  2911. TARGET_BUILD_BUILTIN_VA_LIST. Remove BUILD_VA_LIST_TYPE.
  2912. Update protos.
  2913. * config/i386/i386.c (ix86_expand_carry_flag_compare): Make static.
  2914. * config/iq2000/iq2000.h (BUILD_VA_LIST_TYPE): Remove.
  2915. 2003-10-29 James E Wilson <wilson@specifixinc.com>
  2916. * recog.c (asm_operand_ok): Add missing break after case 'X'.
  2917. Change if statements to else if statements in default case.
  2918. (extract_constrain_insn_cached): Fix misspelling of constrain_operands
  2919. in comment.
  2920. (constrain_operands_cached): Likewise.
  2921. (constrain_operands): Change if statements to else if statements in
  2922. default case.
  2923. * reload.c (find_reloads): Likewise.
  2924. 2003-10-29 Richard Henderson <rth@redhat.com>
  2925. * config/m68k/m68k.c (notice_update_cc): Clear cc status for
  2926. shifts and rotates.
  2927. 2003-10-30 Alan Modra <amodra@bigpond.net.au>
  2928. * config/rs6000/rs6000.md: Remove duplicate pattern.
  2929. 2003-10-29 Hans-Peter Nilsson <hp@axis.com>
  2930. * real.c (do_divide): Initialize result with a 0.
  2931. * configure.in <enable-checking for valgrind>: Look for
  2932. <valgrind/memcheck.h> first. AC_DEFINE HAVE_VALGRIND_MEMCHECK_H
  2933. if it exists.
  2934. * configure, config.in: Regenerate.
  2935. * ggc-common.c [ENABLE_VALGRIND_CHECKING &&
  2936. HAVE_VALGRIND_MEMCHECK_H]: Include <valgrind/memcheck.h>. Use
  2937. #elif for other alternatives.
  2938. * ggc-page.c: Ditto.
  2939. * ggc-zone.c: Don't assume <valgrind/memcheck.h>; instead copy
  2940. include structure from ggc-common.c.
  2941. 2003-10-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2942. * pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.
  2943. (ASM_OUTPUT_ADDR_DIFF_ELT): Use label difference in big switch ELTs.
  2944. * pa.c (pa_adjust_insn_length): Check for btable branches using
  2945. attribute TYPE_BTABLE_BRANCH.
  2946. (pa_reorg): Simplify.
  2947. * pa.h (CASE_VECTOR_MODE): Change big switch mode to SImode.
  2948. (ASM_OUTPUT_ADDR_VEC_ELT): As above.
  2949. (ASM_OUTPUT_ADDR_DIFF_ELT): As above.
  2950. * pa.md (btable_branch): New instruction type.
  2951. (in_branch_delay, in_nullified_branch_delay, in_call_delay): Disallow
  2952. btable branches.
  2953. (define_delay): Add btable branches to insn types that may have an
  2954. insn in the delay position.
  2955. (Z2, Z3): Add btable branch to list.
  2956. Simplify unamed pattern set copy pic_label_operand to register. Add
  2957. PA 2.0 variant.
  2958. (short_jump): New jump for use in branch tables.
  2959. (casesi, casesi0): Revise for new branch table formats.
  2960. (casesi32, casesi32p, casesi64p): New casesi patterns.
  2961. (indirect_jump): Move.
  2962. 2003-10-29 David Edelsohn <edelsohn@gnu.org>
  2963. * config/rs6000/rs6000.h (UNITS_PER_WORD): Revert to
  2964. !TARGET_POWERPC64.
  2965. (UNITS_PER_GPR_WORD): Delete.
  2966. (HARD_REGNO_NREGS): Revert to UNITS_PER_WORD.
  2967. (HARD_REGNO_MODE_OK): Same.
  2968. (CLASS_MAX_NREGS): Same.
  2969. 2003-10-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2970. * pa.h (ASM_COMMENT_START): Define.
  2971. 2003-10-29 Zack Weinberg <zack@codesourcery.com>
  2972. * genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
  2973. MODE_FLOAT, and MODE_PARTIAL_INT modes as having one
  2974. component, not zero.
  2975. 2003-10-29 Andreas Schwab <schwab@suse.de>
  2976. * config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c.
  2977. 2003-10-29 Eric Botcazou <ebotcazou@libertysurf.fr>
  2978. * config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
  2979. Never return 1 for complex integral modes whose size is lesser or
  2980. equal to a word.
  2981. (function_arg_pass_by_reference) [TARGET_ARCH64]: Mention CTImode
  2982. in the comment.
  2983. (function_arg_advance) [TARGET_ARCH64]: Don't special-case complex
  2984. modes.
  2985. (sparc_va_arg) [TARGET_ARCH64]: Handle any types whose size is
  2986. greater than 16 bytes by reference.
  2987. 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  2988. * config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE,
  2989. not TARGET_ILP32.
  2990. (ia64_initialize_trampoline): Use globalize_label target call.
  2991. 2003-10-29 Andreas Schwab <schwab@suse.de>
  2992. * doc/install.texi (Building): Add a sentence about building Ada
  2993. for a canadian cross.
  2994. 2003-10-28 Zack Weinberg <zack@codesourcery.com>
  2995. * config/ia64/ia64.c (cmptf_libfunc): New static.
  2996. (ia64_expand_compare): Add logic to open-code calls to
  2997. _U_Qfcmp for TFmode comparisons.
  2998. (ia64_hpux_init_libfuncs): Initialize cmptf_libfunc.
  2999. Set libfuncs for TFmode eq/ne/gt/ge/lt/gt to 0; these should
  3000. never be generated anymore.
  3001. * config/ia64/ia64.md (cmptf): New expander.
  3002. 2003-10-28 Zack Weinberg <zack@codesourcery.com>
  3003. * ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants.
  3004. (*sqrt_approx): New instruction pattern for approximate square roots.
  3005. (*setf_exp_xf): New instruction pattern for exponentiation.
  3006. (*maddxf4_alts_truncsf): New instruction pattern for truncation.
  3007. (sqrtsf2_internal_thr): New define_and_split implementing
  3008. throughput-optimized inline calculation of SFmode square root.
  3009. (sqrtdf2_internal_thr): Likewise for DFmode.
  3010. (sqrtxf2_internal_thr): Likewise for XFmode.
  3011. (sqrtsf2, sqrtdf2, sqrtxf2): New expanders to choose between
  3012. latency- and throughput-optimized square root algorithms.
  3013. * ia64.h (MASK_INLINE_SQRT_LAT, MASK_INLINE_SQRT_THR,
  3014. TARGET_INLINE_SQRT_LAT, TARGET_INLINE_SQRT_THR, TARGET_INLINE_SQRT):
  3015. New macros.
  3016. (TARGET_SWITCHES): Add -minline-sqrt-min-latency and
  3017. -minline-sqrt-max-throughput.
  3018. * ia64.c (ia64_override_options): If both -minline-sqrt-min-latency
  3019. and -minline-sqrt-max-throughput are given, notify the user
  3020. that both options cannot be used simultaneously.
  3021. If -minline-sqrt-min-latency is given, notify the user that
  3022. this mode is not yet implemented.
  3023. (rtx_needs_barrier): Reformat initial comment to obey
  3024. 72-character width limit. Support UNSPEC_SETF_EXP and
  3025. UNSPEC_FR_SQRT_RECIP_APPROX.
  3026. 2003-10-29 Alan Modra <amodra@bigpond.net.au>
  3027. * config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr
  3028. moves.
  3029. 2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  3030. PR target/11598
  3031. PR libgcj/10610
  3032. * config/rs6000/sysv4.h (PREFERRED_STACK_BOUNDARY): New macro.
  3033. 2003-10-28 Richard Earnshaw <rearnsha@arm.com>
  3034. * arm.c (arm_output_epilogue): When using a frame pointer, don't emit
  3035. an extra stack adjustment insn if the stack pointer is already
  3036. pointing at the right place.
  3037. (use_return_insn): Allow a return insn to be used when we have a
  3038. frame pointer if the stack pointer is in the right place.
  3039. (output_return_instruction): Handle it.
  3040. 2003-10-28 Andreas Jaeger <aj@suse.de>
  3041. * ggc-zone.c (check_cookies): Add missing variable.
  3042. Add void to prototypes.
  3043. 2003-10-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3044. * config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
  3045. * crtstuff.c (__do_global_ctors_1): Move prototype.
  3046. * unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when
  3047. appropriate.
  3048. * unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction):
  3049. Mark parameter with __attribute__((unused)).
  3050. 2003-10-27 Zack Weinberg <zack@codesourcery.com>
  3051. * c-decl.c (pushdecl): Clarify comment.
  3052. 2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
  3053. * doc/install.texi: Update instructions for Ada cross builds
  3054. PR ada/5909:
  3055. * doc/sourcebuild.texi: Document Ada test suite.
  3056. 2003-10-27 Stephane Carrez <stcarrez@nerim.fr>
  3057. * config/m68hc11/m68hc11.c: Convert to ISO C90.
  3058. * config/m68hc11/m68hc11-protos.h: Likewise.
  3059. 2003-10-27 Jan Hubicka <jh@suse.cz>
  3060. Eric Botcazou <ebotcazou@libertysurf.fr>
  3061. * toplev.c (enum dump_file_index, dump_file): Fix ordering of
  3062. webizer pass dump.
  3063. 2003-10-27 Jakub Jelinek <jakub@redhat.com>
  3064. Jan Hubicka <jh@suse.cz>
  3065. * reload1.c (struct elim_table): Change offset, initial_offset and
  3066. previous_offset fields to HOST_WIDE_INT.
  3067. (offsets_at): Change from int to HOST_WIDE_INT.
  3068. (reload): Adjust offsets_at initialization.
  3069. (eliminate_regs_in_insn): Change type of offset to HOST_WIDE_INT.
  3070. (verify_initial_elim_offsets): Change type of t to HOST_WIDE_INT.
  3071. * config/i386/i386.c (ix86_compute_frame_layout): Change offset type
  3072. to HOST_WIDE_INT. Don't save regs using mov for huge frame sizes
  3073. if TARGET_64BIT.
  3074. (pro_epilogue_adjust_stack): New function.
  3075. (ix86_expand_prologue, ix86_expand_epilogue): Use it.
  3076. * config/i386/i386.md (pro_epilogue_adjust_stack): Remove.
  3077. (pro_epilogue_adjust_stack_1): Remove * in front of name.
  3078. (pro_epilogue_adjust_stack_rex64): Handle -2147483648 properly.
  3079. (pro_epilogue_adjust_stack_rex64_2): New insn.
  3080. * config/i386/i386.c (ix86_expand_epilogue): Fix comment typo.
  3081. * config/i386/i386.c (ix86_expand_call): Replace 40 with
  3082. FIRST_REX_INT_REG + 3 /* R11 */.
  3083. 2003-10-26 Richard Henderson <rth@redhat.com>
  3084. * config/alpha/alpha.md (attr cannot_copy): New.
  3085. (call_osf_2_er, call_value_osf_2_er, ldgp_er_1, ldgp_er_2,
  3086. prologue_ldgp_er_2, prologue_ldgp_1): Set it.
  3087. * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Test it.
  3088. 2003-10-26 Daniel Berlin <dberlin@dberlin.org>
  3089. * ggc-zone.c: New file, zone allocating collector.
  3090. * configure: Accept zone option for --with-gc
  3091. * configure.in: Ditto.
  3092. * ggc.h (ggc_pch_count_object): Pass bool indicating
  3093. stringiness. Update all callers.
  3094. (ggc_pch_alloc_object): Ditto.
  3095. (ggc_pch_write_object): Ditto.
  3096. (ggc_alloc_rtx): Use typed allocation, since all RTX's are of a single
  3097. type.
  3098. (ggc_alloc_rtvec): Ditto.
  3099. (ggc_alloc_tree): Use zone allocation, since some things using this macro
  3100. aren't a single typecode.
  3101. * ggc-none.c (ggc_alloc_typed): New function.
  3102. (ggc_alloc_zone): Ditto.
  3103. * ggc-page.c: Ditto on both functions.
  3104. 2003-10-26 Gunther Nikl <gni@gecko.de>
  3105. * config/m68k/m68k.c (m68k_compute_frame_layout): Ensure FPU related
  3106. frame information is always valid.
  3107. (m68k_output_function_prologue): Remove superfluous TARGET_68881
  3108. test; fix formatting.
  3109. 2003-10-26 Gunther Nikl <gni@gecko.de>
  3110. * config/m68k/m68k.c (m68k_compute_frame_layout): Swap reg_mask and
  3111. reg_rev_mask computation.
  3112. (m68k_output_function_prologue): Fix usage of current_frame (one typo
  3113. and one missing); use reg_rev_mask not reg_mask.
  3114. (m68k_output_function_epilogue): Fix usage of current_frame;
  3115. use fpu_rev_mask not fpu_mask.
  3116. 2003-10-26 Bernardo Innocenti <bernie@develer.com>
  3117. * config/m68k/m68k.c (m68k_output_function_prologue): Eliminate
  3118. num_saved_regs, use current_frame.reg_no instead.
  3119. 2003-10-26 Bernardo Innocenti <bernie@develer.com>
  3120. Paul Dale <pauli@snapgear.com>
  3121. * doc/extend.texi (interrupt_handler): Add m68k to the
  3122. list of processors implementing it.
  3123. * doc/invoke.texi (-msep-data): Document new m68k option.
  3124. (-mno-sep-data): Likewise.
  3125. (-mid-shared-library): Likewise.
  3126. (-mno-id-shared-library): Likewise.
  3127. (-mshared-library-id): Likewise.
  3128. 2003-10-26 Andreas Jaeger <aj@suse.de>
  3129. * unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
  3130. comparison.
  3131. (_Unwind_SetGR): Likewise.
  3132. 2003-10-26 Ottavio Campana <ottavio@campana.vi.it>
  3133. PR target/12690
  3134. * config/i386/mmintrin.h (_mm_set1_pi8): Fix comment.
  3135. 2003-10-26 Gunther Nikl <gni@gecko.de>
  3136. * config/m68k/m68k.c (m68k_output_function_prologue): Move front
  3137. comment from here to...
  3138. (m68k_save_reg): ...here. Fix comment formatting.
  3139. (m68k_output_function_prologue): Fix comment formatting.
  3140. (m68k_output_function_epilogue): Likewise.
  3141. (const_method): Likewise.
  3142. 2003-10-26 Kazu Hirata <kazu@cs.umass.edu>
  3143. * toplev.c (default_get_pch_validity): Guard the use of
  3144. target_options with #ifdef TARGET_OPTIONS.
  3145. (default_pch_valid_p): Likewise.
  3146. 2003-10-26 Andreas Jaeger <aj@suse.de>
  3147. Zack Weinberg <zack@codesourcery.com>
  3148. Andreas Tobler <toa@pop.agri.ch>
  3149. * dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT.
  3150. (output_die): Likewise.
  3151. (print_die): Likewise.
  3152. 2003-10-26 Andreas Jaeger <aj@suse.de>
  3153. * tree.h (dwarf2out_def_cfa, dwarf2out_args_size,
  3154. dwarf2out_reg_save, new_loc_descr): Update prototypes for recent
  3155. dwarf2out.c change.
  3156. * toplev.c (default_pch_valid_p): Fix warning.
  3157. 2003-10-25 Roger Sayle <roger@eyesopen.com>
  3158. * simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate
  3159. RTL nodes. If an operator's operands are unchanged, return the
  3160. original argument unchanged.
  3161. 2003-10-26 Graham Stott <graham.stott@btinternet.com>
  3162. Fix bootstrap failure.
  3163. * expmed.c (store_bit_field): Don't compare bitsize against
  3164. modes with zero bit-size.
  3165. (extract_bit_field): Likewise
  3166. 2003-10-25 Jan Hubicka <jh@suse.cz>
  3167. * dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.
  3168. (cfa_loc): Likewise.
  3169. (reg_save, stack_adjust_offset, queue_reg_save): Replace long by
  3170. HOST_WIDE_INT.
  3171. (args_size, old_args_size): change type to HOST_WIDE_INT.
  3172. (dwarf2out_def_cfa, dwarf2out_args_size,
  3173. dwarf2out_reg_save, new_loc_descr): offset is HOST_WIDE_INT.
  3174. (dw_val_struct): integers, unsigneds and offsets are HOST_WIDE_INT.
  3175. (add_AT_int, add_AT_unsigned, att_AT_offset, AT_int, AT_unsigned,
  3176. AT_offset): Use HOST_WIDE_INT.
  3177. (based_loc_descr): offset is HOST_WIDE_INT.
  3178. (add_data_member): Likewise.
  3179. (add_const_value_attribute): Simplify.
  3180. 2003-10-25 Richard Henderson <rth@redhat.com>
  3181. * config/i386/i386.c (ix86_eax_live_at_start_p): New.
  3182. (ix86_expand_prologue): Save and restore eax around stack probe
  3183. if it's live.
  3184. 2003-10-25 Jan Hubicka <jh@suse.cz>
  3185. * cppcharset.c (one_utf8_to_utf32): Initialize 's' to silence warning.
  3186. 2003-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
  3187. PR target/12712
  3188. * reg-stack.c (convert_regs_1): Create an arbitrary input stack
  3189. if the block has no predecessors.
  3190. (convert_regs_2): Document the problem with successors whose
  3191. only predecessor is the block to be processed.
  3192. (convert_regs): Don't create the arbitrary input stack here.
  3193. 2003-10-24 Zack Weinberg <zack@codesourcery.com>
  3194. * genmodes.c (struct mode_data): Add contained and next_cont
  3195. fields.
  3196. (complete_mode): Maintain linked list of modes that have a
  3197. given component.
  3198. (emit_mode_unit_size): Delete.
  3199. (emit_mode_nunits): New.
  3200. (emit_insn_modes_c): Update to match.
  3201. (emit_mode_adjustments): Propagate size and alignment
  3202. adjustments from component modes to their containers.
  3203. * machmode.h (mode_unit_size): Delete.
  3204. (mode_nunits): New.
  3205. (GET_MODE_NUNITS): Just return the value in the table.
  3206. (GET_MODE_UNIT_SIZE): Compute using GET_MODE_INNER and
  3207. GET_MODE_SIZE.
  3208. * expmed.c (store_bit_field, extract_bit_field): Can use a
  3209. plain move instruction if bitsize >= GET_MODE_BITSIZE of
  3210. destination/source mode, respectively.
  3211. * varasm.c (assemble_real): Write out the full size of the
  3212. constant, not just its bitsize.
  3213. (output_constant): Honor TYPE_MODE of TREE_REAL_CSTs.
  3214. * config/ia64/ia64-modes.def: Define XFmode as well as TFmode.
  3215. Use ADJUST_BYTESIZE and ADJUST_ALIGNMENT to set size and
  3216. alignment of XF and TF modes in compliance with ia64 ABIs.
  3217. Can now hardwire the format of both modes.
  3218. * config/ia64/ia64.c: Change TFmode to XFmode wherever appropriate.
  3219. (general_tfmode_operand, destination_tfmode_operand)
  3220. (tfreg_or_fp01_operand, spill_tfmode_operand): Rename to
  3221. general_xfmode_operand, destination_xfmode_operand,
  3222. xfreg_or_fp01_operand, spill_xfmode_operand respectively.
  3223. (ia64_init_builtins): Make TYPE_PRECISION of fpreg_type
  3224. and float80_type be 96 so they get XFmode. Use !TARGET_HPUX,
  3225. not INTEL_EXTENDED_IEEE_FORMAT, to decide how to define
  3226. __float128.
  3227. * config/ia64/ia64.h: Default TARGET_HPUX to 0.
  3228. Change TFmode to XFmode wherever appropriate. Remove all
  3229. references to INTEL_EXTENDED_IEEE_FORMAT.
  3230. (LONG_DOUBLE_TYPE_SIZE): Varies with TARGET_HPUX.
  3231. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define (always 96).
  3232. (PREDICATE_CODES): Update to match function renames.
  3233. * config/ia64/ia64.md: Change TF to XF throughout; rename all
  3234. patterns to match. Remove all references to
  3235. INTEL_EXTENDED_IEEE_FORMAT. Update predicate calls to match
  3236. function renames.
  3237. * config/ia64/ia64-protos.c: Update all prototypes to match
  3238. renamed functions.
  3239. * config/ia64/hpux.h: Redefine TARGET_HPUX to 1.
  3240. Remove all references to INTEL_EXTENDED_IEEE_FORMAT.
  3241. * config/ia64/lib1funcs.asm: Add __divxf3 as new name for
  3242. __divtf3; keep old name for backward compatibility.
  3243. (L__compat): New section providing forwarding stubs for
  3244. __fixtfti, __fixunstfti, __floattitf.
  3245. * config/ia64/t-ia64: Add __compat to LIB1ASMFUNCS.
  3246. 2003-10-24 Geoffrey Keating <geoffk@apple.com>
  3247. PR 10757
  3248. * c-pch.c: Include target.h. Improve comments.
  3249. (struct c_pch_validity): Add target_data_length.
  3250. (pch_init): Add target's validity data.
  3251. (c_common_valid_pch): Check target's validity data.
  3252. * target-def.h (TARGET_GET_PCH_VALIDITY): New.
  3253. (TARGET_PCH_VALID_P): New.
  3254. (TARGET_INITIALIZER): Add new fields.
  3255. * target.h: Include tm.h.
  3256. (struct gcc_target): Add get_pch_validity, pch_valid_p.
  3257. * toplev.h (default_get_pch_validity): New prototype.
  3258. (default_pch_valid_p): New prototype.
  3259. * toplev.c (default_get_pch_validity): New routine.
  3260. (default_pch_valid_p): New routine.
  3261. * Makefile.in (TARGET_H): Add TM_H. Replace all users of
  3262. target.h with $(TARGET_H).
  3263. (c-pch.o): Add TARGET_H.
  3264. * doc/tm.texi (PCH Target): New node.
  3265. (TARGET_GET_PCH_VALIDITY): Document.
  3266. (TARGET_PCH_VALID_P): Document.
  3267. 2003-10-24 Kelley Cook <kcook@gcc.gnu.org>
  3268. * Makefile.in: Define a vpath for %.texi. Remove explicit $(docdir)
  3269. and $(docdir)/include from any *.texi dependencies.
  3270. ($(docobjdir)/%.dvi): Depend on stmp-docobjdir.
  3271. ($(docobjdir)/%.1): Depend on .pod instead of .texi.
  3272. ($(docobjdir)/%.7): Likewise.
  3273. (%.pod): New implicit rule.
  3274. (cpp.pod): New dependency only rule.
  3275. (gcc.pod): New intermediate rule with dependencies and commands.
  3276. (gfdl.pod): Likewise.
  3277. (fsf-funding.pod): Likewise.
  3278. 2003-10-24 Nathanael Nerode <neroden@gcc.gnu.org>
  3279. * fixinc/mkfixinc.sh: Remove special cases for svr4 and ptx, and
  3280. related code.
  3281. * fixinc/fixinc.ptx: Remove.
  3282. * fixinc/fixinc.svr4: Remove.
  3283. 2003-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  3284. * config/s390/s390.c (load_multiple_operation): Allow both SImode
  3285. and DImode if word_mode is DImode.
  3286. (store_multiple_operation): Likewise.
  3287. * config/s390/s390.md ("load_multiple", "store_multiple"): Likewise.
  3288. ("*load_multiple_di"): Allow only if word_mode == DImode.
  3289. ("movqi"): Use LLGC whenever TARGET_ZARCH.
  3290. ("fix_truncdfsi2"): Fix incorrect temporary size.
  3291. ("fix_truncsfsi2"): Likewise.
  3292. ("*bras_r", "*brasl_r", "*basr_r"): Remove predicate and constraint
  3293. string for function return value operand.
  3294. ("*bras_tls", "*brasl_tls", "*basr_tls"): Likewise.
  3295. 2003-10-24 Joseph S. Myers <jsm@polyomino.org.uk>
  3296. * c-parse.in (array_declarator): Use expr_no_commas.
  3297. Fixes PR c/11943.
  3298. 2003-10-24 Richard Sandiford <rsandifo@redhat.com>
  3299. * config/mips/linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and
  3300. associated includes in #ifndef inhibit_libc.
  3301. 2003-10-24 Roger Sayle <roger@eyesopen.com>
  3302. * doc/libgcc.texi: Document some more of the libgcc API.
  3303. 2003-10-24 Richard Earnshaw <rearnsha@arm.com>
  3304. * arm.c (arm_rtx_costs_1, case TARGET_THUMB): Adjust costs for
  3305. comparing a constant with small negative numbers and add costing
  3306. for constants in conjunction with AND.
  3307. (note_invalid_constants): Tidy previous change.
  3308. (thumb_cmp_operand): Tidy.
  3309. (thumb_cmpneg_operand): New function.
  3310. * arm.h (CONDITIONAL_REGISTER_USAGE): Don't use HI regs if optimizing
  3311. for size.
  3312. (FIRST_LO_REGNUM, FIRST_HI_REGNUM, LAST_HI_REGNUM): Define.
  3313. (PREDICATE_CODES): Add thumb_cmpneg_operand.
  3314. * arm.md (cbranchsi4): Convert to define_expand. Handle comparison
  3315. with a negative constant.
  3316. (cbranchsi4_insn): Matcher for cbranchsi4.
  3317. (cbranchsi4_scratch): Similar, but a scratch is available for
  3318. handling negative constants.
  3319. (movsi_cbranchsi4): New pattern.
  3320. (tstsi3_cbranch): Renamed from andsi3_cbranch_scratch, remove scratch
  3321. and use the TST instruction.
  3322. (andsi3_cbranch, orrsi3_cbranch, xorsi3_cbranch, cbranchne_decr1)
  3323. (addsi3_cbranch, subsi3_cbranch): Ensure that register preferencing
  3324. cannot see high regs or memory alternatives.
  3325. (bicsi3_cbranch_scratch, bicsi3_cbranch): New patterns.
  3326. 2003-10-24 Richard Earnshaw <rearnsha@arm.com>
  3327. * arm.c (note_invalid_constants): Try to extract the constant
  3328. pool value using avoid_constant_pool_reference; only use
  3329. get_pool_constant if that returns the original reference.
  3330. 2003-10-24 Jan Hubicka <jh@suse.cz>
  3331. PR c++/12624
  3332. * varasm.c (notice_global_symbol): Disqualify global registers.
  3333. 2003-10-23 Roger Sayle <roger@eyesopen.com>
  3334. PR middle-end/11414
  3335. * loop.c (load_mems): Use redirect_jump to forward jumps from
  3336. the original loop end label to the new "loop sink" block's label.
  3337. 2003-10-23 Roger Sayle <roger@eyesopen.com>
  3338. PR middle-end/12705
  3339. * optabs.c (expand_binop): When expanding complex operations
  3340. inline, always calculate result into a new temporary register.
  3341. Minor code clean-ups.
  3342. 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  3343. * objc/lang-specs.h: Handle -print-objc-runtime-info.
  3344. * doc/invoke.texi (Objective-C Dialect Options): Document it.
  3345. 2003-10-24 Danny Smith <dannysmith@users.sourceforge.net>
  3346. * config/i386/cygwin.asm: Add copyright notice. Add comment
  3347. on why this code is needed.
  3348. 2003-10-23 Kazu Hirata <kazu@cs.umass.edu>
  3349. * config/h8300/clzhi2.c: Fix warnings.
  3350. * config/h8300/ctzhi2.c: Likewise.
  3351. * config/h8300/fixunssfsi.c: Likewise.
  3352. * config/h8300/parityhi2.c: Likewise.
  3353. * config/h8300/popcounthi2.c: Likewise.
  3354. 2003-10-23 James E Wilson <wilson@specifixinc.com>
  3355. * gcc.c (option_map): Delete --target and --use-version.
  3356. 2003-10-23 Fariborz Jahanian <fjahanian@apple.com>
  3357. David Edelsohn <edelsohn@gnu.org>
  3358. * config/rs6000/rs6000.h (UNITS_PER_WORD): Use TARGET_32BIT, not
  3359. TARGET_POWREPC64.
  3360. (UNITS_PER_GPR_WORD): Define.
  3361. (HARD_REGNO_NREGS): Use UNITS_PER_GPR_WORD.
  3362. (HARD_REGNO_CALL_PART_CLOBBERED): Define.
  3363. (HARD_REGNO_MODE_OK): Use UNITS_PER_GPR_WORD.
  3364. (CLASS_MAX_NREGS): Use UNITS_PER_GPR_WORD.
  3365. * config/rs6000/rs6000.c (function_arg): Generate PARALLEL for
  3366. DFmode and DImode in 32-bit ABI / 64-bit computation mode.
  3367. (rs6000_emit_prologue): Select reg_mode and reg_size using
  3368. TARGET_32BIT, not TARGET_POWERPC64.
  3369. (rs6000_function_value): Generate PARALLEL for DImode in 32-bit
  3370. ABI / 64-bit computation mode
  3371. 2003-10-22 Andrew Haley <aph@redhat.com>
  3372. * toplev.c (output_file_directive): Allow for null input_name.
  3373. 2003-10-22 Waldek Hebisch <hebisch@math.uni.wroc.pl>
  3374. * config/i386/i386.c (classify_argument): Handle SET_TYPE.
  3375. 2003-10-22 Chris Demetriou <cgd@broadcom.com>
  3376. * configure.in: In --enable-generated-files-in-srcdir option
  3377. handling, fix default case handling.
  3378. * configure: Regenerate.
  3379. 2003-10-22 Phil Edwards <phil@codesourcery.com>
  3380. * config.gcc: Update *-*-vxworks* generic hook and comments.
  3381. (arm-wrs-vxworks, i[4567]86-wrs-vxworks, mips-wrs-vxworks,
  3382. mips-wrs-windiss, sh-wrs-vxworks): New stanzas.
  3383. * genmultilib: Allow the MULTILIB_OSDIRNAMES to be mapped directly.
  3384. * config/svr4.h (SWITCH_TAKES_ARG): Undefine it before redefining it.
  3385. * config/windiss.h: New file.
  3386. * config/arm/t-vxworks: New file.
  3387. * config/arm/vxworks.h: New file.
  3388. * config/i386/t-vxworks: New file.
  3389. * config/i386/vxworks.h: New file.
  3390. * config/mips/t-vxworks: New file.
  3391. * config/mips/vxworks.h: New file.
  3392. * config/mips/windiss.h: New file.
  3393. * config/sh/t-vxworks: New file.
  3394. * config/sh/vxworks.h: New file.
  3395. 2003-10-22 Kazu Hirata <kazu@cs.umass.edu>
  3396. * config/h8300/h8300.c (h8300_output_function_epilogue): Remove.
  3397. (h8300_saveall_function_p): New.
  3398. (h8300_insert_attributes): Insert the saveall attribute if
  3399. #pragma saveall is specified.
  3400. (h8300_attribute_table): Add saveall.
  3401. (TARGET_ASM_FUNCTION_EPILOGUE): Remove.
  3402. * doc/extend.texi: Mention the saveall attribute.
  3403. 2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
  3404. * c-typeck.c (pedantic_lvalue_warning): Unconditionally warn of
  3405. deprecation of casts as lvalues.
  3406. * fixinc/inclhack.def (obstack_lvalue_cast): New fix.
  3407. * fixinc/fixincl.x: Regenerate.
  3408. * fixinc/tests/base/obstack.h: New test.
  3409. 2003-10-22 Andreas Schwab <schwab@suse.de>
  3410. PR target/12676
  3411. * config/m68k/m68k.c (output_addsi3): Fix range check to work on
  3412. LP64 platforms.
  3413. 2003-10-22 Jan Hubicka <jh@suse.cz>
  3414. * dwarf2out.c (dwarf2out_abstract_function): Use DW_AT to check
  3415. presence of DW_AT_inline.
  3416. (gen_subprogram_die): Likewise; do not abort instead of emitting
  3417. DW_AT_not_inline.
  3418. 2003-10-22 Jan Hubicka <jh@suse.cz>
  3419. * cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when
  3420. global info is not ready.
  3421. 2003-10-22 Kazu Hirata <kazu@cs.umass.edu>
  3422. * doc/extend.texi: Mention H8S wherever H8/300H is mentioned.
  3423. 2003-10-22 Ulrich Weigand <uweigand@de.ibm.com>
  3424. * config/s390/s390.md ("movstr_short_64", "movstr_short_31"): Merge ...
  3425. ("*movstr_short"): ... into this insn pattern.
  3426. ("movstr_short"): New expander.
  3427. ("*movstr_long_64"): Rename from "movstr_long_64", simplify.
  3428. ("*movstr_long_31"): Rename from "movstr_long_31", simplify.
  3429. ("movstr_long"): New expander.
  3430. ("clrstr_short_64", "clrstr_short_31"): Merge ...
  3431. ("*clrstr_short"): ... into this insn pattern.
  3432. ("clrstr_short"): New expander.
  3433. ("*clrstr_long_64"): Rename from "clrstr_long_64", simplify.
  3434. ("*clrstr_long_31"): Rename from "clrstr_long_31", simplify.
  3435. ("clrstr_long"): New expander.
  3436. ("cmpmem_short_64", "cmpmem_short_31"): Merge ...
  3437. ("*cmpmem_short"): ... into this insn pattern.
  3438. ("cmpmem_short"): New expander.
  3439. ("*cmpmem_long_64"): Rename from "cmpmem_long_64".
  3440. ("*cmpmem_long_31"): Rename from "cmpmem_long_31".
  3441. ("cmpmem_long"): New expander.
  3442. * config/s390/s390.c (s390_expand_movstr): Use new expanders.
  3443. (s390_expand_clrstr): Likewise.
  3444. (s390_expand_cmpmem): Likewise.
  3445. 2003-10-22 Mark Mitchell <mark@codesourcery.com>
  3446. * c-pch.c (struct c_pch_validity): Add pch_init field.
  3447. (pch_init): Set it.
  3448. (c_common_valid_pch): Check it.
  3449. 2003-10-22 David Taylor <dtaylor@emc.com>
  3450. PR debug/12500
  3451. * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.
  3452. 2003-10-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  3453. * config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
  3454. alpha_return_in_memory if no VALTYPE specified.
  3455. 2003-10-22 Jan Hubicka <jh@suse.cz>
  3456. PR debug/12389
  3457. * Makefile.in (dwarf2out.o): Depend on cgraph.h.
  3458. * cgraph.c (cgraph_function_possibly_inlined_p): New function.
  3459. * cgraph.h (cgraph_function_possibly_inlined_p): Declare.
  3460. (cgraph_global_info): Add flag inlined
  3461. * dwarf2out.c (gen_subprogram_die, gen_decl_die): Use
  3462. cgraph_function_possibly_inded_p
  3463. * cgraphunit.c (mark_inline): Set inlined flag.
  3464. * toplev.c (rest_of_decl_compilation): Call outlining_inline_function
  3465. only for possibly inlined functions.
  3466. * c-decl.c (duplicate_decls): Never output abstract DIE representing old
  3467. body of function.
  3468. 2003-10-22 Andrew Haley <aph@redhat.com>
  3469. * varasm.c (output_constructor): Make constructor annotation
  3470. conditional on ASM_COMMENT_START.
  3471. 2003-10-21 Jason Merrill <jason@redhat.com>
  3472. * tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.
  3473. (get_narrower): Likewise.
  3474. * stor-layout.c (layout_decl): Do packed field alignment for
  3475. bit-fields, too.
  3476. 2003-10-21 Eric Christopher <echristo@redhat.com>
  3477. * expr.c (convert_move): Use FLOAT_EXTEND for extensions.
  3478. 2003-10-21 Geoffrey Keating <geoffk@apple.com>
  3479. * c-pch.c: Add comments in various places.
  3480. (struct c_pch_validity): Add the lengths of various strings.
  3481. (host_machine): New static.
  3482. (target_machine): New static.
  3483. (get_ident): Bump version number.
  3484. (pch_init): Write out version, host, target validity data.
  3485. (c_common_valid_pch): Check version, host, target.
  3486. * Makefile.in (c-pch.o): Add version.h; define HOST_MACHINE and
  3487. TARGET_MACHINE.
  3488. 2003-10-21 Jason Merrill <jason@redhat.com>
  3489. * tree.h (IS_EXPR_CODE_CLASS): Use strchr.
  3490. (EXPR_P): New macro.
  3491. 2003-10-21 Zack Weinberg <zack@codesourcery.com>
  3492. * config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
  3493. * config/ia64/ia64.c (ia64_expand_fetch_and_op,
  3494. ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
  3495. DImode. Use convert_move to load ar.ccv.
  3496. (ia64_expand_compare_and_swap): Likewise.
  3497. If expand_expr doesn't put 'old' and 'new' in the proper
  3498. modes, run them through convert_to_mode.
  3499. 2003-10-21 Eric Christopher <echristo@redhat.com>
  3500. * config/frv/frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL
  3501. for too large bitfields.
  3502. 2003-10-21 Mark Mitchell <mark@codesourcery.com>
  3503. * Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.
  3504. 2003-10-21 Andrew Haley <aph@redhat.com>
  3505. * varasm.c (output_constructor): Annotate constructor.
  3506. 2003-10-21 Mark Mitchell <mark@codesourcery.com>
  3507. * Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
  3508. on existence of destination file.
  3509. 2003-10-21 Jan Hubicka <jh@suse.cz>
  3510. * haifa-sched.c (choose_ready): Initialize index.
  3511. 2003-10-21 Jason Merrill <jason@redhat.com>
  3512. * tree.c (build1): Fix off-by-one error.
  3513. 2003-10-21 Robert Millan <robertmh@gnu.org>
  3514. * config/i386/kfreebsdgnu.h: New. i386-*-kfreebsd-gnu definitions.
  3515. * config/kfreebsdgnu.h: New. *-*-kfreebsd-gnu definitions.
  3516. * config/t-kfreebsd-gnu: New. *-*-kfreebsd-gnu tmake_file.
  3517. * config.gcc: Add *-*-kfreebsd*-gnu and i[34567]86-*-kfreebsd*-gnu.
  3518. 2003-10-21 Eric Botcazou <ebotcazou@libertysurf.fr>
  3519. * web.c: Fix various comments.
  3520. 2003-10-20 Nicolas Pitre <nico@cam.org>
  3521. * config/arm/arm.c (arm_override_options): Set arm_constant_limit
  3522. to 2 instead of 1 when optimize_size is true. Gather code based on
  3523. optimize_size together. Add comment about XScale load latency.
  3524. 2003-10-21 Gunther Nikl <gni@gecko.de>
  3525. * config/m68k/m68k.c (m68k_output_function_prologue): Remove
  3526. obsolete comments.
  3527. 2003-10-20 Kelley Cook <kcook@gcc.gnu.org>
  3528. * Makefile.in: Get parsedir and docobjdir from configure.
  3529. * configure.in: Recogonize --enable-generated-files-in-srcdir.
  3530. Pass along parsedir and docobjdir.
  3531. * configure: Regenerate.
  3532. * doc/install.texi: Document --enable-generated-files-in-srcdir.
  3533. 2003-10-20 Kelley Cook <kcook@gcc.gnu.org>
  3534. * Makefile.in: Define $(docdir) before the Make-lang.in fragments are
  3535. included.
  3536. 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
  3537. * c-common.c (expand_tree_builtin): Ensure creal and cimag
  3538. functions do not return lvalues.
  3539. 2003-10-20 Jason Merrill <jason@redhat.com>
  3540. PR c/12553
  3541. * tree.c (build1) <ADDR_EXPR>: Set TREE_SIDE_EFFECTS
  3542. appropriately.
  3543. PR c/11446
  3544. * stor-layout.c (layout_decl): Fix alignment handling.
  3545. 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
  3546. * doc/extend.texi: Deprecate casts as lvalues.
  3547. 2003-10-20 Jan Hubicka <jh@suse.cz>
  3548. * toplev.c (rest_of_compilation): Fix webizer pass ordering.
  3549. * cgraphunit.c (decide_is_function_needed): Fix test dealing
  3550. with functions implicitly made inline.
  3551. * cgraphunit.c (cgraph_decide_inlining_incrementally): New function.
  3552. (cgraph_finalize_function): Use it.
  3553. (cgraph_mark_inline): Allow incrmental decisions
  3554. * invoke.texi (max-inline-slope, min-inline-insns): Kill.
  3555. * params.def (PARAM_MAX_INLINE_SLOPE, PARAM_MIN_INLINE_INSNS): Kill.
  3556. * tree-inline.c (limits_allow_inlining): Kill.
  3557. (expand_call_inline): Always use unit-at-a-time path.
  3558. 2003-10-20 Zack Weinberg <zack@codesourcery.com>
  3559. * fixinc/inclhack.def (hpux11_snprintf): New edit.
  3560. * fixinc/fixincl.x: Regenerate.
  3561. * fixinc/tests/base/stdio.h: Add test for hpux11_snprintf.
  3562. 2003-10-20 Mark Mitchell <mark@codesourcery.com>
  3563. * Makefile.in (install-info): Simplify.
  3564. ($(DESTDIR)$(infodir)/%.info): New rule.
  3565. * configure.in (target_list): Remove install-info.
  3566. * doc/.cvsignore (gcc.info*): Remove.
  3567. (gccint.info*): Likewise.
  3568. (gccinstall.info*): Likewise.
  3569. (cpp.info*): Likewise.
  3570. (cppinternals.info*): Likewise.
  3571. (*.info*): Add it.
  3572. * doc/sourcebuild.texi: Update description of install-info.
  3573. * objc/Make-lang.in (objc.install-info): Remove.
  3574. 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  3575. * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Define _ABIO32.
  3576. Use it in _MIPS_SIM definition.
  3577. * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Likewise.
  3578. 2003-10-20 Zack Weinberg <zack@codesourcery.com>
  3579. * config/i386/i386.c (print_reg): Abort if REGNO (x) is a
  3580. virtual register, but only if file == asm_out_file.
  3581. * config/i386/i386.h (HI_REGISTER_NAMES): Use "argp", not "",
  3582. for ARG_POINTER_REGNUM.
  3583. 2003-10-20 Zack Weinberg <zack@codesourcery.com>
  3584. * c-common.c (registered_builtin_types): New static.
  3585. (c_common_type_for_mode): Consult registered_builtin_types.
  3586. (c_register_builtin_type): Add type to registered_builtin_types.
  3587. * optabs.c (init_floating_libfuncs): Initialize libfuncs for
  3588. all MODE_FLOAT modes, not just the ones corresponding to
  3589. float_type_node, double_type_node, and long_double_type_node.
  3590. 2003-10-20 Richard Henderson <rth@redhat.com>
  3591. * config/alpha/alpha.h (PREDICATE_CODES): Add normal_memory_operand.
  3592. * config/alpha/alpha-protos.h: Remove PREDICATE_CODES prototypes.
  3593. 2003-10-20 Dorit Naishlos <dorit@il.ibm.com>
  3594. * config/rs6000/rs6000.h: (rs6000_sched_insert_nops):
  3595. support new flag -minsert-sched-nops.
  3596. (DEFAULT_SCHED_FINISH_NOP_INSERTION_SCHEME): Define.
  3597. * config/rs6000/rs6000.c: (rs6000_sched_insert_nops):
  3598. support new flag -minsert-sched-nops.
  3599. (is_cracked_insn, is_microcoded_insn): New functions.
  3600. (rs6000_sched_finish): New function.
  3601. (rs6000_issue_rate): Return 5 for power4.
  3602. (get_next_active_insn, insn_terminates_group_p): New
  3603. functions.
  3604. (is_costly_group, force_new_group): New functions.
  3605. (redefine_groups, pad_groups): New functions.
  3606. (rs6000_variable_issue): Use new functions.
  3607. * doc/invoke.texi (-minsert-sched-nops): Document new
  3608. option.
  3609. 2003-10-20 David S. Miller <davem@redhat.com>
  3610. * config/sparc/sparc.md (type attribute): Add new insn types
  3611. fpa, fpm_pack, fgm_mul, fgm_pdist, and fgm_cmp for VIS.
  3612. (patterns emitting VIS insns): Use them.
  3613. * config/sparc/ultra1_2.md: Add VIS scheduling rules.
  3614. * config/sparc/ultra3.md: Likewise.
  3615. 2003-10-20 Falk Hueffner <falk@debian.org>
  3616. PR target/12654
  3617. * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't do
  3618. comparison against constant by adjusting the argument except for
  3619. EQ and NE.
  3620. 2003-10-19 Mark Mitchell <mark@codesourcery.com>
  3621. * config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
  3622. arm1136jfs, and armv6j.
  3623. * config/arm/arm.c (FL_ARCH6J): New macro.
  3624. (FL_VFPV2): Likewise.
  3625. (all_cores): Add entries for arm926ejs, arm1026ejs, arm1136js,
  3626. and arm1136jfs.
  3627. (all_architectures): Add entry for armv6j.
  3628. (arm_override_options): Add entries for arm926ejs, arm1026ejs,
  3629. arm1136js, and arm1136jfs.
  3630. * config/arm/arm.h (TARGET_CPU_arm926ej_s): New macro.
  3631. (TARGET_CPU_arm1026ej_s): Likewise.
  3632. (TARGET_CPU_arm1136j_s): Likewise.
  3633. (TARGET_CPU_arm1136jf_s): Likewise.
  3634. * doc/invoke.texi: Document new ARM cores and architecture
  3635. variants.
  3636. 2003-10-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  3637. * Makefile.in (toplev.o): Add value-prof.h dependency.
  3638. (value-prof.o): Add REGS_H dependency.
  3639. * common.opt (fprofile-values, fvpt): New.
  3640. * flags.h (flag_value_profile_transformations): Declare.
  3641. * opts.c (common_handle_option): Handle -fprofile_values and
  3642. -fvpt.
  3643. * profile.c (branch_prob): Don't remove death notes here.
  3644. * timevar.def (TV_VPT): New.
  3645. * value-prof.c: Include regs.h.
  3646. (insn_divmod_values_to_profile, gen_divmod_fixed_value, gen_mod_pow2,
  3647. gen_mod_subtract, divmod_fixed_value_transform,mod_pow2_value_transform,
  3648. mod_subtract_transform, value_profile_transformations): New.
  3649. (insn_values_to_profile): Call insn_divmod_values_to_profile.
  3650. (find_values_to_profile): Add dumps.
  3651. * value-prof.h (value_profile_transformations): Declare.
  3652. * toplev.c: Include value-prof.h.
  3653. (rest_of_handle_value_profile_transformations): New.
  3654. (enum dump_file_index): Add DFI_vpt.
  3655. (dump_file): Add vpt dump.
  3656. (flag_value_profile_transformations): New.
  3657. (lang_independent_options): Add flag_profile_values and
  3658. flag_value_profile_transformations.
  3659. (rest_of_compilation): Call
  3660. rest_of_handle_value_profile_transformations.
  3661. (process_options): Let -fvpt imply -fprofile-values.
  3662. * doc/invoke.texi (-fvpt): Document.
  3663. 2003-10-19 Jan Hubicka <jh@suse.cz>
  3664. * i386.c (print_reg): Do not abort on certain registers.
  3665. PR optimization/12612
  3666. * reg-stack.c (subst_stack_regs_pat): Use st(1) for clobbers.
  3667. * i386.md (fpatan, fyl2x, fscale patterns and expanders): Use
  3668. match_scratch; avoid bogus paralles.
  3669. PR target/12674
  3670. * i386.c (ix86_function_regparm): Disable implicit register passing
  3671. conventions when profiling.
  3672. 2003-10-19 Eric Botcazou <ebotcazou@libertysurf.fr>
  3673. Richard Henderson <rth@redhat.com>
  3674. PR optimization/8178
  3675. * config/i386/i386.md (*movsi_zero): Delete.
  3676. (*ffs_no_cmove): Use ix86_expand_clear to zero the third operand.
  3677. 2003-10-19 Richard Henderson <rth@redhat.com>
  3678. * config/alpha/alpha.c (fix_operator): New.
  3679. (divmod_operator): Tidy.
  3680. (alpha_emit_xfloating_cvt): Handle UNSIGNED_FIX.
  3681. * config/alpha/alpha.h (FIXUNS_TRUNC_LIKE_FIX_TRUNC): Remove.
  3682. (PREDICATE_CODES): Update.
  3683. * config/alpha/alpha.md (fix_truncdfsi_ieee): Use match_operator.
  3684. (fix_truncdfsi_internal, fix_truncdfdi_ieee): Likewise.
  3685. (fix_truncsfsi_ieee, fix_truncsfsi_internal): Likewise.
  3686. (fix_truncsfdi_ieee): Likewise.
  3687. (fix_truncdfdi2, fix_truncsfdi2): Turn into define_expand.
  3688. (fixuns_truncdfdi2, fixuns_truncsfdi2, fixuns_trunctfdi2): New.
  3689. * config/alpha/alpha-protos.h: Update.
  3690. 2003-10-19 Richard Sandiford <rsandifo@redhat.com>
  3691. * config/mips/mips.h (INITIALIZE_TRAMPOLINE): Simplify.
  3692. * config/mips/mips.c (mips_load_got): Assume Pmode == ptr_mode.
  3693. * config/mips/mips.md (extendsidi2, *extendsidi2): Merge. Don't accept
  3694. constant operands.
  3695. 2003-10-18 Kazu Hirata <kazu@cs.umass.edu>
  3696. * doc/extend.texi: Fix typos.
  3697. * doc/invoke.texi: Likewise.
  3698. 2003-10-18 Nicolas Pitre <nico@cam.org>
  3699. * config/arm/arm.c (arm_override_options): Use arm_tune_xscale for
  3700. XScale optimizations not arm_arch_xscale.
  3701. * config/arm/arm.h (CONSTANT_ALIGNMENT_FACTOR, MOVE_RATIO): Likewise.
  3702. 2003-10-18 Ulrich Weigand <uweigand@de.ibm.com>
  3703. * config/s390/s390-protos.h (shift_count_operand): Add prototype.
  3704. * config/s390/s390.c (shift_count_operand): New function.
  3705. (s390_extra_constraint): Use it to implement 'Y' constraint.
  3706. (print_shift_count_operand): New function.
  3707. (print_operand): Use it to implement '%Y'.
  3708. * config/s390/s390.h (EXTRA_ADDRESS_CONSTRAINT): Add 'Y' constraint.
  3709. (PREDICATE_CODES): Add shift_count_operand.
  3710. * config/s390/s390.md ("rotldi3"): Merge alternatives,
  3711. using "shift_count_operand" predicate and "Y" constraint,
  3712. and "%Y" to output the combined shift count.
  3713. ("rotlsi3"): Likewise.
  3714. ("ashldi3", "*ashldi3_31", "*ashldi3_64"): Likewise.
  3715. ("ashrdi3", "*ashrdi3_31", "*ashrdi3_64", "*ashrdi3_cc_31",
  3716. "*ashrdi3_cc_64", "*ashrdi3_cconly_31", "*ashrdi3_cconly_64"): Likewise.
  3717. ("ashlsi3", "ashrsi3", "*ashrsi3_cc", "*ashrsi3_cconly"): Likewise.
  3718. ("lshrdi3", "*lshrdi3_31", "*lshrdi3_64"): Likewise.
  3719. ("lshrsi3"): Likewise.
  3720. 2003-10-18 Gunther Nikl <gni@gecko.de>
  3721. * config/m68k/m68k.c (m68k_output_function_epilogue): Add missing
  3722. argument to asm_fprintf statement.
  3723. 2003-10-18 Fariborz Jahanian <fjahanian@apple.com>
  3724. * rs6000.md: Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
  3725. (ashrdisi3_noppc64) Generate more efficient code for 32-bit right-shift of
  3726. a "long long" argument.
  3727. 2003-10-18 Alexandre Oliva <aoliva@redhat.com>
  3728. * final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
  3729. as well.
  3730. 2003-10-18 Richard Sandiford <rsandifo@redhat.com>
  3731. * rtl.h (rtl_size): Declare.
  3732. (rtunion): Remove rtwint.
  3733. (rtx_def): Replace 'fld' with a union of an rtunion or a HOST_WIDE_INT.
  3734. (RTX_HDR_SIZE, RTX_SIZE): New macros.
  3735. (RTL_CHECK1): Adjust for new rtx_def layout.
  3736. (RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2): Likewise.
  3737. (XWINT, XCWINT): Likewise. Access the rtx structure directly.
  3738. (X0WINT): Remove.
  3739. (X0ANY): New macro.
  3740. * rtl.def: Adjust comments for new rtx_def layout.
  3741. * ggc.h (ggc_alloc_rtx): Take the rtx code as argument, not the
  3742. number of slots.
  3743. * rtl.c (rtx_size): New array.
  3744. (rtx_alloc): Adjust call to ggc_alloc_rtx. Use RTX_HDR_SIZE.
  3745. (copy_rtx): Use RTX_HDR_SIZE. Adjust for new rtx_def layout.
  3746. (shallow_copy_rtx): Adjust call to ggc_alloc_rtx. Use RTX_SIZE.
  3747. * integrate.c (copy_rtx_and_substitute): Use X0ANY to copy '0' fields.
  3748. * emit-rtl.c (copy_most_rtx): Likewise.
  3749. (copy_rtx_if_shared): Use RTX_SIZE.
  3750. (copy_insn_1): Use RTX_HDR_SIZE. Adjust for new rtx_def layout.
  3751. * gengenrtl.c (gendef): Adjust ggc_alloc_rtx call. Use RTX_HDR_SIZE.
  3752. * gengtype.c (write_rtx_next): Use RTX_HDR_SIZE.
  3753. (adjust_field_rtx_def): Expect "rtx_def" to be a union rather than
  3754. an array. Adjust output for new rtx_def layout.
  3755. * ggc-page.c (RTL_SIZE): Use RTX_HDR_SIZE.
  3756. * reload1.c (eliminate_regs): Use RTX_SIZE.
  3757. * rtlanal.c (loc_mentioned_in_p): Adjust for new rtx_def layout.
  3758. * gdbinit.in (pi): Likewise.
  3759. 2003-10-18 Jan Hubicka <jh@suse.cz>
  3760. * integrate.c (copy_decl_for_inlining): Revert previous patch.
  3761. 2003-10-18 Jan Hubicka <jh@suse.cz>
  3762. * integrate.c (copy_decl_for_inlining): Fix copying of copies.
  3763. 2003-10-18 Roger Sayle <roger@eyesopen.com>
  3764. * libgcc.texi: Group multi-word types, such as "long double" and
  3765. "unsigned int", using braces in @deftypefn and @deftypefnx nodes.
  3766. Document __unord?f2 as returning a non-zero value, not just one.
  3767. 2003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
  3768. * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Define.
  3769. ($(T)crti.o, $(T)crtn.o): Pass CRTSTUFF_T_CFLAGS here too.
  3770. 2003-10-18 Eric Botcazou <ebotcazou@libertysurf.fr>
  3771. * config/i386/k6.md (k6_alux): Use the 'mode' attribute instead of
  3772. match_operand.
  3773. 2003-10-18 Eric Botcazou <ebotcazou@libertysurf.fr>
  3774. * config/sparc/sparc.c (function_arg_record_value_1): New fourth
  3775. parameter packed_p. Search for a DECL_PACKED field only if
  3776. packed_p is false. Pass packed_p recursively.
  3777. (function_arg_record_value_2): Likewise.
  3778. (function_arg_record_value): Update calls to
  3779. function_arg_record_value_1 and function_arg_record_value_2.
  3780. 2003-10-18 Eric Botcazou <ebotcazou@libertysurf.fr>
  3781. * cse.c (cse_insn) [src_folded]: Check that the tentative replacement
  3782. was successfully forced to memory before using the result.
  3783. 2003-10-18 Eric Botcazou <ebotcazou@libertysurf.fr>
  3784. PR optimization/8178
  3785. * config/i386/i386.md (*movsi_zero): New insn to set
  3786. a register to zero on TARGET_USE_MOV0 targets.
  3787. 2003-10-18 Kelley Cook <kcook@gcc.gnu.org>
  3788. * Makefile.in (Makefile): Depend on the all Make-lang.in fragments.
  3789. (POSTSTAGE1_FLAGS_TO_PASS): Pass down MAKEINFO and MAKEINFOFLAGS.
  3790. 2003-10-17 David Edelsohn <edelsohn@gnu.org>
  3791. * doc/invoke.texi (gcse-las): Fix typo.
  3792. 2003-10-17 Andrew Pinski <pinskia@physics.uc.edu>
  3793. * doc/install.texi: Remove first part of the sentence for
  3794. zsh not working. Change gcc to GCC.
  3795. PR bootstrap/12546
  3796. * doc/install.texi: Document that zsh does not work when
  3797. configuring gcc.
  3798. 2003-10-17 Nathanael Nerode <neroden@gcc.gnu.org>
  3799. * config/ptx4.h: Switch to DWARF 2; update comments.
  3800. 2003-10-17 Segher Boessenkool <boessen@de.ibm.com>
  3801. Hartmut Penner <hpenner@de.ibm.com>
  3802. PR 10404, partial 11591, partial 11601
  3803. * config/rs6000/altivec.md ("altivec_dst", "altivec_dstt",
  3804. "altivec_dstst", "altivec_dststt", "altivec_lvsl", "altivec_lvsr",
  3805. "altivec_lvebx", "altivec_lvehx", "altivec_lvewx", "altivec_lvxl",
  3806. "altivec_lvx", "altivec_stvx", "altivec_stvxl", "altivec_stvebx",
  3807. "altivec_stvehx", "altivec_stvewx"): Use a memory_operand.
  3808. * config/rs6000/rs6000.c (altivec_expand_lv_builtin): New function.
  3809. (altivec_expand_stv_builtin): Adjust for the memory_operand.
  3810. (altivec_expand_builtin): Call altivec_expand_lv_builtin.
  3811. (altivec_init_builtins): Use `long int' for memory offsets.
  3812. 2003-10-17 Jan Hubicka <jh@suse.cz>
  3813. * opts.c (common_handle_option): Handle OPT_fweb
  3814. * invoke.texi (-fweb): Add missing parts of documentation.
  3815. 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  3816. * config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef
  3817. before redefinition.
  3818. 2003-10-17 Mostafa Hagog <mustafa@il.ibm.com>
  3819. * common.opt: Add description of the new -fgcse-las flag.
  3820. * flags.h (flag_gcse_las): Declaration of global flag_gcse_las.
  3821. * gcse.c (hash_scan_set): Handle the case of store expression and
  3822. insert the memory expression to the hash table, this way we make it
  3823. possible to discover redundant loads after stores and remove them.
  3824. (pre_insert_copy_insn): moved the call to update_ld_motion_stores,
  3825. to pre_insert_copies, it is not the correct place to call it after
  3826. adding stores to be in the available expression hash table.
  3827. (pre_insert_copies): Added the call to update_ld_motion_stores when
  3828. one or more copies were inserted.
  3829. * opts.c (common_handle_option): Handle the -fgcse-las flag.
  3830. * toplev.c (flag_gcse_las): Initialization of flag_gcse_las.
  3831. * doc/invoke.tex: Document new -fgcse-las flag.
  3832. 2003-10-18 Alan Modra <amodra@bigpond.net.au>
  3833. * config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code
  3834. for posterity, then remove it.
  3835. 2003-10-17 Richard Earnshaw <rearnsha@arm.com>
  3836. Nathan Sidwell <nathan@codesourcery.com>
  3837. * config/arm/arm.c (use_return_insn): Not a single instruction, if
  3838. there's a frame pointer.
  3839. (arm_output_epilogue): Protect stack pointer from being corrupted
  3840. on interrupt.
  3841. 2003-10-17 Ulrich Weigand <uweigand@de.ibm.com>
  3842. * ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.
  3843. 2003-10-17 Ulrich Weigand <uweigand@de.ibm.com>
  3844. * combine.c (simplify_set): Do not clear out undobuf.other_insn
  3845. already set elsewhere.
  3846. 2003-10-17 Kelley Cook <kcook@gcc.gnu.org>
  3847. * config/i386/i386.c (ix86_expand_prologue): Use
  3848. gen_allocate_stack_worker.
  3849. 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  3850. * config.gcc (mips-sgi-irix6*o32): Only enable use_collect2
  3851. without gas.
  3852. (mips-sgi-irix6*): Likewise.
  3853. * config/mips/iris6gas.h: New file.
  3854. * gcc/config.gcc (mips-sgi-irix6*): Use it.
  3855. * config/mips/mips.h (TARGET_IRIX): Provide default.
  3856. (TARGET_IRIX5): Likewise.
  3857. (TARGET_SGI_O32_AS): Likewise.
  3858. * config/mips/iris5.h (TARGET_IRIX): Redefine as 1.
  3859. (TARGET_IRIX5): Likewise.
  3860. * config/mips/iris6.h (TARGET_IRIX6): Remove.
  3861. (TARGET_IRIX5): Redefine as 0.
  3862. * config/mips/mips.c (mips_output_external): Test for IRIX 6 O32
  3863. linker workaround with TARGET_IRIX and mips_abi instead of
  3864. ASM_OUTPUT_UNDEF_FUNCTION.
  3865. (mips_file_end): Inline old ASM_OUTPUT_UNDEF_FUNCTION definition,
  3866. testing TARGET_IRIX and mips_abi explicitly.
  3867. * config/mips/iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove.
  3868. * config/mips/iris6.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove undef.
  3869. * config/mips/mips.c (irix_output_external_libcall): Renamed from
  3870. mips_output_external_libcall.
  3871. Use new TARGET_IRIX in guard.
  3872. * config/mips/mips-protos.h (irix_output_external_libcall): Match
  3873. this.
  3874. * config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Likewise.
  3875. * config/mips/iris5gas.h (HAVE_GAS_SHF_MERGE): Update comment.
  3876. Define as 0.
  3877. * config/mips/iris6.h (FUNCTION_NAME_ALREADY_DECLARED): Define
  3878. depending on mips_abi.
  3879. * config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Define as 1.
  3880. * config/mips/mips.c (mips_output_function_prologue): Test
  3881. FUNCTION_NAME_ALREADY_DECLARED at runtime.
  3882. (mips_output_function_epilogue): Likewise.
  3883. (build_mips16_function_stub): Likewise.
  3884. (build_mips16_call_stub): Likewise.
  3885. * config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Provide
  3886. default.
  3887. * config/mips/iris6.h (DWARF2_UNWIND_INFO): Don't define for native
  3888. IRIX 6 O32 assembler.
  3889. (SUBTARGET_CC1_SPEC): Enforce mips2 ISA with O32 ABI.
  3890. (TARGET_OS_CPP_BUILTINS): Define _ABIO32, use it to define
  3891. _MIPS_SIM for O32 ABI.
  3892. (DWARF2_FRAME_INFO): Don't define for native IRIX 6 O32 assembler.
  3893. (ASM_DECLARE_FUNCTION_NAME): Integrate mips.h version.
  3894. (ASM_DECLARE_FUNCTION_SIZE): Move undef before redefinition.
  3895. Integrate O32 version.
  3896. (SUBTARGET_ASM_SPEC): Handle -mabi=32.
  3897. (SUBTARGET_ASM_DEBUGGING_SPEC): Add mdebug_asm_spec for gas with
  3898. O32 ABI.
  3899. (BSS_SECTION_ASM_OP_32): Define.
  3900. (BSS_SECTION_ASM_OP_64): Likewise.
  3901. (BSS_SECTION_ASM_OP): Define differently for O32 and N32/N64 ABIs
  3902. using them.
  3903. (TARGET_ASM_NAMED_SECTION): Reflect renaming.
  3904. Move up to allow override for O32 ABI without GNU as.
  3905. (EH_FRAME_SECTION_NAME): Define explicitly.
  3906. (MUST_USE_SJLJ_EXCEPTIONS): Define.
  3907. [_MIPS_SIM == _ABIO32 && !GAS] (CTORS_SECTION_ASM_OP,
  3908. DTORS_SECTION_ASM_OP): Dummy definitions.
  3909. (TARGET_ASM_NAMED_SECTION): Undef statically.
  3910. (EH_FRAME_SECTION_NAME): Likewise.
  3911. (ASM_OUTPUT_FILENAME): Integrate mips.h version.
  3912. (LINK_SPEC): Only use default options -call_shared -no_unresolved
  3913. without -r.
  3914. Don't pass -init, -fini with -mabi=32.
  3915. (COLLECT_PARSE_FLAG): Define.
  3916. * config/mips/mips.c (iris6_asm_named_section_1): Changed guard to
  3917. TARGET_IRIX.
  3918. Renamed to use irix_ prefix.
  3919. (iris6_asm_named_section): Likewise.
  3920. (iris_section_align_entry_eq): Likewise.
  3921. (iris_section_align_entry_hash): Likewise.
  3922. (iris6_file_start): Likewise.
  3923. (iris6_section_align_1): Likewise.
  3924. (iris6_file_end): Likewise.
  3925. (iris6_section_type_flags): Likewise.
  3926. (iris_section_align_htab): Likewise.
  3927. (iris_orig_asm_out_file): Likewise.
  3928. [TARGET_IRIX] (TARGET_ASM_FILE_START): Reflect rename.
  3929. (TARGET_ASM_FILE_END): Likewise.
  3930. (TARGET_SECTION_TYPE_FLAGS): Likewise.
  3931. * config/mips/mips.c [TARGET_IRIX5 && !TARGET_IRIX6]
  3932. (TARGET_ASM_UNALIGNED_HI_OP): Use runtime initialization in
  3933. override_options instead.
  3934. (TARGET_ASM_UNALIGNED_SI_OP): Likewise.
  3935. (TARGET_ASM_UNALIGNED_DI_OP): Likewise.
  3936. * config/mips/mips.c (override_options) [USE_COLLECT2]: Restore
  3937. flag_gnu_linker to defaults without USE_COLLECT2 for non-IRIX O32
  3938. assemblers.
  3939. Likewise for constructor/destructor handling.
  3940. (override_options): Handle IRIX O32 assembler quirks.
  3941. [TARGET_IRIX] (irix_asm_named_section): Handle O32 ABI with and
  3942. without gas.
  3943. (mips_file_start): Use new TARGET_IRIX.
  3944. (mips_declare_object_name): No special processing for IRIX O32
  3945. assembler.
  3946. (mips_finish_declare_object): Likewise.
  3947. (irix_asm_output_align): Renamed from iris6_asm_output_align.
  3948. Don't record alignment for O32 ABI.
  3949. (irix_file_start): Renamed from iris6_file_start.
  3950. Return early for O32 ABI.
  3951. (irix_file_end): Renamed from iris6_file_end.
  3952. Don't emit .section directives for O32 ABI.
  3953. * config/mips/iris6.h (ASM_OUTPUT_ALIGN): Reflect renaming.
  3954. * config/mips/mips-protos.h (irix_asm_output_align): Likewise.
  3955. * config/mips/t-iris6 (MULTILIB_OPTIONS): Add mabi=32.
  3956. (MULTILIB_OSDIRNAMES): Likewise.
  3957. 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  3958. * collect2.c (COLLECT_PARSE_FLAG): Provide default.
  3959. (main): Use it.
  3960. * doc/tm.texi (COLLECT_PARSE_FLAG): Document it.
  3961. 2003-10-17 Richard Earnshaw <rearnsha@arm.com>
  3962. * arm-modes.def (CC_Nmode): New condition code mode.
  3963. * arm.c (thumb_condition_code): Delete.
  3964. (arm_select_cc_mode): Handle single-bit test for Thumb.
  3965. (arm_print_operand, cases 'd' and 'D'): Don't special case the
  3966. condition code logic for Thumb.
  3967. (get_arm_condition_code): Handle CC_Nmode.
  3968. (thumb_cbrch_target_operand): New function.
  3969. * arm.h (PREDICATE_CODES): Add thumb_cbrch_target_operand.
  3970. * arm-protos.h (thumb_cbrch_target_operand): Add prototype.
  3971. * arm.md: Add Thumb split patterns for zero_extract and
  3972. sign_extract.
  3973. (tbit_cbranch, andsi3_cbranch_scratch, andsi3_cbranch)
  3974. (orrsi3_cbranch_scratch, orrsi3_cbranch, xorsi3_cbranch_scratch)
  3975. (xorsi3_cbranch, addsi3_cbranch, addsi3_cbranch_scratch)
  3976. (subsi3_cbranch, subsi3_cbranch_scratch): New Thumb patterns.
  3977. (cbranchne_decr1): Re-work to use CC_Nmode.
  3978. * arm.c (thumb_expand_epilogue): Add clobbers of registers restored
  3979. by the return instruction. Add a use of the link register if it
  3980. wasn't stored.
  3981. 2003-10-17 Richard Earnshaw <rearnsha@arm.com>
  3982. * flow.c (init_propagate_block_info): Don't abort if a conditional
  3983. jump is not a comparison of a register. Instead, just don't record
  3984. conditional life information.
  3985. 2003-10-16 Jan Hubicka <jh@suse.cz>
  3986. PR optimization/12630
  3987. * pa.md (movstrsi, movstrsi_internal): Use match_scratch in clobbers
  3988. for operands 7 and 8.
  3989. 2003-10-16 Kelley Cook <kcook@gcc.gnu.org>
  3990. * objc/Make-lang.in (objc-parse.o): Honor $(parsedir) for objc-parse.c.
  3991. 2003-10-16 Danny Smith <dannysmith@users.sourceforge.net>
  3992. * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.
  3993. * config/i386/winnt.c (gen_stdcall_suffix): Make static
  3994. (gen_fastcall_suffix): Likewise.
  3995. (i386_pe_dllexport_p): Likewise.
  3996. (i386_pe_dllimport_p): Likewise.
  3997. (i386_pe_mark_dllexport): Likewise.
  3998. (i386_pe_mark_dllimport): Likewise.
  3999. (i386_pe_asm_named_section): Fix formatting.
  4000. 2003-10-16 Zack Weinberg <zack@codesourcery.com>
  4001. * configure.in: Add snprintf to gcc_AC_CHECK_DECLS list.
  4002. * system.h: Declare snprintf if necessary.
  4003. * configure, config.in: Regenerate.
  4004. 2003-10-15 David Edelsohn <edelsohn@gnu.org>
  4005. * config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
  4006. arguments if TARGET_ALTIVEC_ABI.
  4007. 2003-10-15 Roger Sayle <roger@eyesopen.com>
  4008. * builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
  4009. fold_builtin_memmove, fold_builtin_strcpy, fold_builtin_strncpy,
  4010. fold_builtin_memcmp, fold_builtin_strcmp, fold_builtin_strncmp):
  4011. New functions.
  4012. (expand_builtin_memcpy): Use integer_zerop instead of testing
  4013. host_integerp and tree_low_cst directly. Move misapplied hunk
  4014. for optimization wher SRC and DEST point to the same location.
  4015. (expand_builtin_mempcpy): From here.
  4016. (expand_builtin_memmove): Use integer_zerop instead of testing
  4017. host_integerp and tree_low_cst_directly.
  4018. (expand_builtin_memset): Likewise.
  4019. (expand_builtin_memcmp): Likewise (and for integer_onep).
  4020. (expand_builtin_strncmp): Likewise.
  4021. (fold_builtin): Call the appropriate fold_builtin_foo functions
  4022. to optimize memcpy, mempcpy, memmove, strcpy, strncpy, memcmp,
  4023. strcmp and strncmp.
  4024. 2003-10-15 Geoffrey Keating <geoffk@apple.com>
  4025. * config/darwin-protos.h (machopic_non_lazy_ptr_name): Delete
  4026. prototype. Clean up some whitespace.
  4027. * config/darwin.c: Use gen_rtx_FOO (...) rather than
  4028. gen_rtx (FOO, ...).
  4029. (machopic_non_lazy_ptr_name): Make static.
  4030. (name_needs_quotes): Allow '.' and '$' unquoted.
  4031. (machopic_legitimize_pic_address): Improve codegen in dynamic-no-pic
  4032. case.
  4033. 2003-10-15 Gábor Lóki <alga@rgai.hu>
  4034. * fold-const.c (tree_swap_operands_p): Disable some features
  4035. when optimizing for size.
  4036. 2003-10-15 David Daney <ddaney@avtrex.com>
  4037. * config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
  4038. * config/mips/mips.h (DWARF_FRAME_REGNUM): Fixed to allow unwind
  4039. from leaf functions.
  4040. (DWARF_FRAME_RETURN_COLUMN): Ditto.
  4041. (SIGNAL_UNWIND_RETURN_COLUMN): New, used
  4042. by MD_FALLBACK_FRAME_STATE_FOR.
  4043. * testsuite/gcc.dg/cleanup-9.c: Added mips*-*-linux* target.
  4044. 2003-10-15 Zack Weinberg <zack@codesourcery.com>
  4045. * genmodes.c: Include hashtab.h.
  4046. (modes_by_name, hash_mode, eq_mode, struct mode_adjust)
  4047. (adj_bytesize, adj_alignment, adj_format, new_adjust)
  4048. (_ADD_ADJUST, ADJUST_BYTESIZE, ADJUST_ALIGNMENT, ADJUST_FORMAT)
  4049. (print_maybe_const_decl, emit_mode_adjustments): New.
  4050. (known_modes): Rename to modes.
  4051. (find_mode): Kill class argument; look up in hash table.
  4052. (new_mode): Insert into hash table also.
  4053. (new_adjust): New.
  4054. (reset_float_format, make_partial_integer_mode)
  4055. (make_vector_mode): Tweak error reporting.
  4056. (reset_float_format): Correct type of fourth argument.
  4057. (emit_insn_modes_h): Add #defines to help make mode_size,
  4058. mode_base_align, and real_format_for_mode conditionally const.
  4059. (emit_mode_size, emit_mode_base_align): Use print_maybe_const_decl.
  4060. (emit_real_format_for_mode): Likewise, but temporarily disabled.
  4061. (emit_insn_modes_c): Call emit_mode_adjustments.
  4062. (main): Initialize modes_by_name.
  4063. * Makefile.in: Update dependencies.
  4064. * machmode.def: Document EXPR arguments and new ADJUST_* statements.
  4065. * machmode.h: Use CONST_MODE_SIZE and CONST_MODE_BASE_ALIGN in
  4066. declarations of mode_size and mode_base_align. Declare
  4067. init_adjust_machine_modes.
  4068. * toplev.c (backend_init): Call init_adjust_machine_modes.
  4069. 2003-10-15 Olivier Hainque <hainque@act-europe.fr>
  4070. * genmodes.c (calc_wider_mode): Allocate enough room for all the
  4071. entries we'll possibly assign in the sort buffer.
  4072. 2003-10-15 Ulrich Weigand <uweigand@de.ibm.com>
  4073. * config.gcc (s390x-ibm-tpf*): New target.
  4074. * doc/install.texi: Document it.
  4075. * config/s390/t-tpf: New file.
  4076. * config/s390/tpf.h: New file.
  4077. 2003-10-15 Hans-Peter Nilsson <hp@axis.com>
  4078. PR target/12598
  4079. * config/cris/cris.md (define_split "*mov_sidesi_biap_mem"+1)
  4080. (define_splits "*mov_sidesi_mem"+1, "casesi"+9, +10, +11, +12):
  4081. Use cris_mem_op and replace_equiv_address, not gen_rtx_MEM.
  4082. ("call", "call_value", define_split "*mov_sidesi_mem"+19, +20)
  4083. (define_split "*mov_sidesi_mem"+21, +22, +23, +24, +25, +26, +27)
  4084. (define_split "*mov_sidesi_mem"+28, +29, +30): Use
  4085. replace_equiv_address, not gen_rtx_MEM.
  4086. * config/cris/cris.c (cris_mem_op): New match_operator function.
  4087. (cris_notice_update_cc): Use replace_equiv_address, not
  4088. gen_rtx_MEM.
  4089. * config/cris/cris.h (PREDICATE_CODES): Add cris_mem_op.
  4090. 2003-10-15 Bernardo Innocenti <bernie@develer.com>
  4091. * config/m68k/m68k.h (MASK_SEP_DATA, TARGET_SEP_DATA,
  4092. MASK_ID_SHARED_LIBRARY, TARGET_ID_SHARED_LIBRARY): Move
  4093. definitions after the other flags.
  4094. 2003-10-14 Ziemowit Laski <zlaski@apple.com>
  4095. * c-parse.in (methoddef, methodproto): Call objc_add_method()
  4096. instead of add_method().
  4097. * objc/objc-act.c (objc_check_decl): Do not check for
  4098. constant_string_type.
  4099. (add_method): Rename to objc_add_method().
  4100. (really_start_method): Call objc_add_method() instead of
  4101. add_method().
  4102. * objc/objc-act.h (add_method): Rename to objc_add_method().
  4103. 2003-10-14 Ulrich Weigand <uweigand@de.ibm.com>
  4104. * config/s390/s390-protos.h (s390_alc_comparison): Add prototype.
  4105. (s390_slb_comparison): Likewise.
  4106. * config/s390/s390.c (s390_alc_comparison, s390_slb_comparison):
  4107. New functions.
  4108. * config/s390/s390.h (PREDICATE_CODES): Add s390_alc_comparison
  4109. and s390_slb_comparison.
  4110. * config/s390/s390.md ("*adddi3_31", "*subdi3_31"): Do not use on
  4111. zSeries machines.
  4112. ("*adddi3_31z", "*subdi3_31z"): New insns.
  4113. ("*adddi3_alc_cc", "*adddi3_alc", "*subdi3_slb_cc", "*subdi3_slb",
  4114. "*addsi3_alc_cc", "*addsi3_alc", "*subsi3_slb_cc", "*subsi3_slb"):
  4115. New insns.
  4116. 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
  4117. * configure.in: Clean up some feedback echoes.
  4118. * configure: Regenerate.
  4119. * aclocal.m4: Properly quote names of macros being defined.
  4120. * config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver.
  4121. 2003-10-14 Steve Ellcey <sje@cup.hp.com>
  4122. * config/ia64/ia64.c (ia64_expand_call): Force function address
  4123. to DImode.
  4124. * config/ia64/ia64.md (call_gp): Put DImode on operand 0.
  4125. 2003-10-14 Ulrich Weigand <uweigand@de.ibm.com>
  4126. * config/s390/s390.md ("muldf3", "*muldf3", "*muldf3_ibm",
  4127. "mulsf3", "*mulsf3", "*mulsf3_ibm"): Do not clobber CC.
  4128. ("divdf3", "*divdf3", "*divdf3_ibm", "divsf3", "*divsf3",
  4129. "*divsf3_ibm"): Likewise.
  4130. 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
  4131. * config.gcc, config/m68hc11/t-m68hc11-gas: Replace uses of
  4132. target_alias with target_noncanonical.
  4133. 2003-10-14 Geoffrey Keating <geoffk@apple.com>
  4134. * expr.c (block_move_libcall_safe_for_call_parm): Clean up,
  4135. and add case for machines where outgoing register parameters
  4136. get stack space.
  4137. * config/darwin.c (machopic_indirect_data_reference): Use a scratch
  4138. register when generating indirect address.
  4139. 2003-10-14 Richard Earnshaw <rearnsha@arm.com>
  4140. * arm.c (arm_addimm_operand): MODE arguemnt is unused.
  4141. * arm.md (cbranchne_decr1): Fix bootstrap warning.
  4142. 2003-10-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4143. * fixinc/inclhack.def (alpha_pthread_gcc): New fix.
  4144. * fixinc/fixincl.x: Regenerate.
  4145. * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_GCC_CHECK]: New
  4146. testcase.
  4147. Fixes PR bootstrap/9330.
  4148. 2003-10-13 Eric Christopher <echristo@redhat.com>
  4149. * config/frv/frv.c (frv_adjust_field_align): Redo check for
  4150. too wide bitfields.
  4151. (frv_hard_regno_mode_ok): Add SPR_P and AP_FIRST.
  4152. * config/frv/frv.h (FUNCTION_PROFILER): Remove abort call.
  4153. (SBSS_SECTION_ASM_OP): Remove.
  4154. (EXTRA_SECTIONS): Remove in_sbss.
  4155. (EXTRA_SECTION_FUNCTIONS): Remove SBSS_SECTION_FUNCTION.
  4156. (SBSS_SECTION_FUNCTION, sbss_section): Remove.
  4157. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Change sbss_section to
  4158. named_section.
  4159. 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
  4160. * Makefile.in, configure.in, config.host, mkheaders.in: Replace
  4161. uses of ${target_alias} for directory names (and other places which
  4162. won't like the empty string) with ${target_noncanonical}. Introduce
  4163. call early in configure.in to _GCC_TOPLEV_NONCANONICAL_TARGET so it's
  4164. available.
  4165. * configure: Regenerate.
  4166. 2003-10-13 Ian Lance Taylor <ian@wasabisystems.com>
  4167. * config/arm/iwmmxt.md (cond_iwmmxt_movsi_insn): New pattern.
  4168. * config/arm/arm.md: For splits which rely on conditional moves,
  4169. remove ! TARGET_IWMMXT condition.
  4170. 2003-10-13 David S. Miller <davem@redhat.com>
  4171. * ifcvt.c (num_removed_blocks): Rename to num_true_changes.
  4172. (find_cond_trap): Always increment if we emit a conditional
  4173. trap insn.
  4174. 2003-10-13 Zack Weinberg <zack@codesourcery.com>
  4175. * Makefile.in (BUILD_RTL): Replace $(BUILD_PREFIX)insn-modes.o
  4176. with min-insn-modes.o.
  4177. (STAGESTUFF): Add min-insn-modes.c.
  4178. (genobjs): Add genmodes.o.
  4179. (print-rtl.o, print-rtl1.o): Depend on $(TM_P_H).
  4180. (insn-modes.o): Depend on $(TM_H) not $(GTM_H); also real.h.
  4181. (min-insn-modes.c, min-insn-modes.o): New rules.
  4182. (s-modes): Also generate min-insn-modes.c.
  4183. ($(BUILD_PREFIX_1)insn-modes.o): Kill.
  4184. * genmodes.c (struct mode_data): Add format field.
  4185. (blank_mode, validate_mode, complete_mode): Update to match.
  4186. (make_scalar_mode): Separate into make_int_mode and make_float_mode.
  4187. (_SCALAR_MODE): Kill.
  4188. (FLOAT_MODE, FRACTIONAL_FLOAT_MODE): Add format argument.
  4189. (emit_insn_modes_c_header): Adjust.
  4190. (emit_min_insn_modes_c_header, emit_real_format_for_mode)
  4191. (emit_min_insn_modes_c): New functions.
  4192. (emit_insn_modes_c): Call emit_real_format_for_mode.
  4193. (main): Add -m option to generate min-insn-modes.c.
  4194. * machmode.h: Update documentation. Add format argument to
  4195. all uses of FLOAT_MODE.
  4196. * real.c: Don't define real_format_for_mode here.
  4197. * dwarfout.c: Move default definition of PRINT_REG...
  4198. * defaults.h: ...here.
  4199. * print-rtl.c: Include tm_p.h.
  4200. (DEBUG_PRINT_REG, DEBUG_REGISTER_NAMES, debug_reg_names, reg_names):
  4201. Kill.
  4202. (print_rtx): Use PRINT_REG, not DEBUG_PRINT_REG. But surround
  4203. this entire block with #ifndef GENERATOR_FILE.
  4204. * regclass.c: Unconditionally define reg_names.
  4205. * config/mips/mips.h, config/rs6000/rs6000.h, config/sh/sh.h
  4206. Don't define DEBUG_REGISTER_NAMES.
  4207. * config/rs6000/darwin.h: Don't use DEBUG_REGISTER_NAMES in
  4208. redefinition of REGISTER_NAMES.
  4209. * config/i386/i386.h: Don't define DEBUG_PRINT_REG.
  4210. * combine.c: Change all preprocessor conditionals on
  4211. EXTRA_CC_MODES to use SELECT_CC_MODE instead; rearrange a bit
  4212. for clarity.
  4213. * genopinit.c: Remove mention of EXTRA_CC_MODES in comment.
  4214. * configure.in: Don't define EXTRA_CC_MODES.
  4215. * configure, config.in: Regenerate.
  4216. * doc/tm.texi: Remove documentation of EXTRA_CC_MODES.
  4217. * config/arc/arc.c, config/m32r/m32r.c, config/sparc/sparc.c:
  4218. May assume that GET_MODE_CLASS is accurate for extra CC modes
  4219. at all times.
  4220. * config/i860/i860.h (INIT_CUMULATIVE_ARGS): Pass correct
  4221. number of arguments to aggregate_value_p.
  4222. * genmodes.c (RESET_FLOAT_FORMAT, reset_float_format): New.
  4223. * machmode.def: Explain ARCH-modes.def. Document
  4224. RESET_FLOAT_FORMAT. Improve commentary on various mode
  4225. clusters. Do not define OI, PQI, PHI, PSI, PDI, QF, HF, TQF,
  4226. XF, or TF modes here. Remove backward-compatibility
  4227. definition of CC.
  4228. * config/alpha/alpha-modes.def: New file; define TF mode.
  4229. * config/arc/arm-modes.def: Define XF mode.
  4230. * config/c4x/c4x-modes.def: Define QF and HF modes. Unset
  4231. float format for SF and DF modes.
  4232. * config/dsp16xx/dsp16xx-modes.def: New file; define HF mode.
  4233. * config/i386/i386-modes.def: Define XF and TF modes.
  4234. * config/i960/i960-modes.def: Define TF mode.
  4235. * config/ia64/ia64-modes.def: Define TF and OI modes.
  4236. * config/m68k/m68k-modes.def: New file; define XF mode.
  4237. * config/mips/mips-modes.def: New file; define TF mode, reset
  4238. formats for SF and DF modes.
  4239. * config/pa/pa-modes.def: Define TF mode.
  4240. * config/rs6000/rs6000.c: Define TF and PSI modes.
  4241. * config/s390/s390-modes.def: Define OI mode.
  4242. * config/sh/sh-modes.def: New file; define PSI mode.
  4243. * config/sparc/sparc-modes.def: Define TF mode.
  4244. * config/vax/vax-modes.def: New file; reset formats for SF and
  4245. DF modes.
  4246. * config/c4x/c4x.c (c4x_override_options): No need to mess
  4247. with real_format_for_mode or set REAL_MODE_FORMATs.
  4248. (c4x_immed_int_constant): Don't apply GET_MODE_CLASS to rtx
  4249. variable.
  4250. * config/i386/i386.c (override_options): No need to set
  4251. REAL_MODE_FORMATs here.
  4252. * config/i960/i960.c (i960_initialize): Likewise.
  4253. * config/m68k/m68k.c (m68k_override_options): Likewise.
  4254. * config/ia64/ia64.c (ia64_override_options): Set REAL_MODE_FORMAT
  4255. for TFmode only if not the default.
  4256. * config/mips/mips.c (override_options): Likewise.
  4257. * config/vax/vax.c (override_optionms): Set REAL_MODE_FORMAT for
  4258. DFmode only if not the default.
  4259. * config/i370/i370.h (RET_REG): Don't consider TFmode.
  4260. * config/m68hc11/m68hc11.c (print_operand): Don't consider XFmode.
  4261. * config/dsp16xx/dsp16xx.c (hard_regno_mode_ok): #if 0 out use
  4262. of modes that don't appear anywhere in the machine description.
  4263. * config/arc/arc-modes.def, config/arm/arm-modes.def
  4264. * config/c4x/c4x-modes.def, config/frv/frv-modes.def
  4265. * config/i386/i386-modes.def, config/i960/i960-modes.def
  4266. * config/ia64/ia64-modes.def, config/mmix/mmix-modes.def
  4267. * config/pa/pa-modes.def, config/pdp11/pdp11-modes.def
  4268. * config/rs6000/rs6000-modes.def, config/s390/s390-modes.def
  4269. * config/sparc/sparc-modes.def: Convert to new style for
  4270. declaring extra CC modes.
  4271. 2003-10-13 Zack Weinberg <zack@codesourcery.com>
  4272. * cpplex.c (_cpp_clean_line): In the common case of a line
  4273. with no trigraphs and no \-newline, avoid writing to memory.
  4274. (_cpp_skip_block_comment): Use a local 'cur' pointer instead
  4275. of the buffer member. Make c an uchar to avoid unnecessary
  4276. sign extensions.
  4277. 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
  4278. * configure.in: Remove unnecessary test.
  4279. * configure: Regenerate.
  4280. * configure.in: Fix grammatical error. Move UWIN host error to...
  4281. * config.host: Here.
  4282. * configure: Regenerate.
  4283. 2003-10-13 Andreas Krebbel <krebbel1@de.ibm.com>
  4284. * config/s390/s390.md ("*fmadddf4", "*fmsubdf4", "*fmaddsf4",
  4285. "*fmsubsf4"): Insns are now dependent on TARGET_FUSED_MADD instead
  4286. of flag_unsafe_math_optimizations.
  4287. * config/s390/s390.h ("MASK_NO_FUSED_MADD", "TARGET_NO_FUSED_MADD",
  4288. "TARGET_FUSED_MADD", "TARGET_SWITCHES"): Introduced new target flags
  4289. fused-madd and no-fused-madd.
  4290. * doc/invoke.texi: Documented the new options fused-madd and
  4291. no-fused-madd for S/390.
  4292. 2003-10-14 Alan Modra <amodra@bigpond.net.au>
  4293. * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Choose
  4294. MASK_ALIGN_NATURAL if rs6000_alignment_string not given. Don't
  4295. assign DEFAULT_ABI.
  4296. (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Update comment.
  4297. * config/rs6000/rs6000.c: Formatting.
  4298. (rs6000_parse_alignment_option): Only set rs6000_alignment_flags
  4299. when rs6000_alignment_string given.
  4300. 2003-10-13 Eric Botcazou <ebotcazou@libertysurf.fr>
  4301. PR target/12538
  4302. * config/sparc/sparc.c (MUST_SAVE_REGISTER): Delete.
  4303. (sparc_flat_must_save_register_p): New function to decide whether
  4304. a register must be saved/restored in the function prologue/epilogue.
  4305. (sparc_flat_compute_frame_size): Use it instead of MUST_SAVE_REGISTER.
  4306. 2003-10-12 Steven Bosscher <steven@gcc.gnu.org>
  4307. * config/avr/avr.c, config/avr/avr-protos.h: Convert to
  4308. ISO C90 function declarations and definitions.
  4309. * config/sh/sh.c, config/sh/sh-protos.h: Likewise.
  4310. 2003-10-12 Nathanael Nerode <neroden@gcc.gnu.org>
  4311. * config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
  4312. config files which do the same thing.
  4313. * config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
  4314. config/freebsd6.h: Remove now unnecessary files.
  4315. 2003-10-12 Steven Bosscher <steven@gcc.gnu.org>
  4316. * c-common.c (c_common_truthvalue_conversion): Warn if the
  4317. address of a non-weak function is used as a truth value.
  4318. 2003-10-12 Kazu Hirata <kazu@cs.umass.edu>
  4319. * config/h8300/h8300.c (WORD_REG_USED): Use SP_REG instead of
  4320. a literal.
  4321. * config/h8300/h8300.h (REGNO_OK_FOR_BASE_P): Use MAC_REG
  4322. instead of a literal.
  4323. 2003-10-12 Hans-Peter Nilsson <hp@bitrange.com>
  4324. * doc/extend.texi (Function Attributes): Mention the exceptional
  4325. path for noreturn-marked functions.
  4326. 2003-10-12 Jan Hubicka <jh@suse.cz>
  4327. * cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
  4328. warning.
  4329. 2003-10-12 Danny Smith <dannysmith@users.sourceforge.net>
  4330. * config/i386/i386.c (x86_this_parameter): Fix typo.
  4331. 2003-10-11 Jan Hubicka <jh@suse.cz>
  4332. * Makefile.in (web.o): New.
  4333. * web.c: New file.
  4334. * rtl.h (web_main): Declare.
  4335. * timervar.def (TV_WEB): New.
  4336. * toplev.c (dump_file_index, dump_file_info): Add DFI_web.
  4337. (rest_of_hanle_web): New.
  4338. (flag_web): New static variable.
  4339. (lang_independent_options): Add "web".
  4340. (rest_of_compilation): Call rest_of_handle_web.
  4341. * invoke.texi (-fweb): Document.
  4342. * common.opt (fweb): New.
  4343. * flags.h (flag_web): New.
  4344. * opts.c (decode_options): Set flag_web at -O3.
  4345. * passes.texi (web construction): Document.
  4346. * invoke.texi (-O3): Document that -fweb is enabled.
  4347. * regrename.c (regrename_optimize): Deal better with situation when
  4348. replacement failed.
  4349. * sched-ebb.c: Include params.h and profile.h
  4350. (schedule_ebbs): Use tracer parameters to discover superblocks
  4351. * Makefile.in (sched-ebb.o): Add dependencies.
  4352. 2003-10-11 Roger Sayle <roger@eyesopen.com>
  4353. * fold-const.c (negate_mathfn_p): New function to determine whether
  4354. a built-in mathematical function is sign preserving, f(-x) == -f(x).
  4355. Add support for BUILT_IN_ASIN, BUILT_IN_ASINF and BUILT_IN_ASINL.
  4356. (tree_swap_operands_p): Change API to take an additional argument
  4357. indicating that the swapped operands evaluate in reverse order.
  4358. Canonicalize VAR_DECLs and PARM_DECLs last if we can, i.e. neither
  4359. operand side-effects or we don't care about flag_evaluation_order.
  4360. (reorder_operands_p): New function to check whether its safe to
  4361. evaluate the given operands in reverse order.
  4362. (negate_expr_p): We can always negate integer constants unless
  4363. we honor -ftrapv and the signed type would overflow. Only allow
  4364. -(A-B) into B-A if reorder_operands_p says that its OK. Allow
  4365. negation of COMPLEX_CST if both real and imaginary parts can be
  4366. negated. Allow negation through floating point extensions and
  4367. sign-preserving built-in functions.
  4368. (negate_expr): Move the code to negate integers from "fold" to
  4369. here. Always negate integer constants unless we honor -ftrapv
  4370. and the signed type would overflow. Always negate real constants
  4371. unless we honor -ftrapping-math. Only convert -(A-B) into B-A
  4372. if allowed by reorder_operands_p. Add support for COMPLEX_CST.
  4373. Optimize negation through floating point extensions and
  4374. sign-preserving built-in functions (as defined by negate_mathfn_p).
  4375. (fold): Adjust calls to tree_swap_operands_p.
  4376. (fold <NEGATE_EXPR>): Move the remaining negation optimizations
  4377. to negate_expr_p/negate_expr.
  4378. (fold <MINUS_EXPR>): Use reorder_operands_p to check whether we're
  4379. allowed to convert (-A) - B into (-B) - A.
  4380. 2003-10-11 Roger Sayle <roger@eyesopen.com>
  4381. * builtins.c (expand_builtin_strcmp): Defend against the possibility
  4382. that gen_cmpstrsi may fail: Stabilize the argument list against
  4383. re-evaluation and expand the library call directly using this saved
  4384. argument list if a cmpstrsi sequence can't be generated.
  4385. (expand_builtin_strncmp): Likewise.
  4386. * config/i386/i386.md (cmpstrsi, movstrsi): Disable with -Os.
  4387. 2003-10-11 Roger Sayle <roger@eyesopen.com>
  4388. PR optimization/12260
  4389. * simplify-rtx.c (simplify_unary_operation): Simplify all unary
  4390. operations through CONST nodes. Optimize (neg (plus X C)) as
  4391. (minus -C X) for constant values C.
  4392. (simplify_binary_operation): Optimize (minus (neg X) C) as
  4393. (minus -C X) for constant values C.
  4394. (simplify_plus_minus): Avoid creating (neg (const (plus X C)),
  4395. instead create (minus -C X).
  4396. 2003-10-11 Roger Sayle <roger@eyesopen.com>
  4397. * expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call
  4398. safe_from_p for us, once it chooses an evaluation order.
  4399. (expand_expr <MULT_EXPR>): Likewise.
  4400. (expand_expr <MIN_EXPR> <MAX_EXPR>): Likewise. If expand_operands
  4401. places the second operand in "target", swap the operands.
  4402. (do_store_flag): Let expand_operands call safe_from_p for us.
  4403. 2003-10-11 Eric Botcazou <ebotcazou@libertysurf.fr>
  4404. PR optimization/12544
  4405. * function.c (put_var_into_stack): Don't generate ADDRESSOFs
  4406. for DECL_NONLOCAL decls.
  4407. 2003-10-11 Kazu Hirata <kazu@cs.umass.edu>
  4408. * expr.c: Follow spelling conventions.
  4409. * final.c: Likewise.
  4410. * optabs.c: Likewise.
  4411. * sched-deps.c: Likewise.
  4412. * sdbout.c: Likewise.
  4413. Sat Oct 11 12:24:23 CEST 2003 Jan Hubicka <jh@suse.cz>
  4414. * varasm.c (notice_global_symbol): Fix handling of variables; avoid
  4415. re-computing of variable.
  4416. 2003-10-11 Richard Henderson <rth@redhat.com>
  4417. * config/alpha/alpha.c (alpha_return_in_memory): Rename from
  4418. return_in_memory, make static, change signature to match target hook.
  4419. (alpha_setup_incoming_varargs): Make static, change signature to
  4420. match target hook, add code for vms and unicos.
  4421. (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN,
  4422. TARGET_PROMOTE_PROTOTYPES, TARGET_STRUCT_VALUE_RTX,
  4423. TARGET_RETURN_IN_MEMORY, TARGET_SETUP_INCOMING_VARARGS,
  4424. TARGET_STRICT_ARGUMENT_NAMING,
  4425. TARGET_PRETEND_OUTGOING_VARARGS_NAMED): New.
  4426. * config/alpha/alpha-protos.h: Update.
  4427. * config/alpha/alpha.h (PROMOTE_FUNCTION_ARGS,
  4428. PROMOTE_FUNCTION_RETURN, RETURN_IN_MEMORY,
  4429. SETUP_INCOMING_VARARGS): Remove.
  4430. * config/alpha/unicosmk.h (SETUP_INCOMING_VARARGS): Remove.
  4431. * config/alpha/vms.h (SETUP_INCOMING_VARARGS): Remove.
  4432. 2003-10-11 Ian Lance Taylor <ian@wasabisystems.com>
  4433. * config/arm/arm.c (arm_regno_class): Handle IWMMXT_GR_REGS.
  4434. 2003-10-11 Kazu Hirata <kazu@cs.umass.edu>
  4435. * config/m68k/lb1sf68.asm: Follow spelling conventions.
  4436. * config/m68k/m68k.c: Likewise.
  4437. * config/m68k/m68k.h: Likewise.
  4438. * config/m68k/m68k.md: Likewise.
  4439. 2003-10-11 Roger Sayle <roger@eyesopen.com>
  4440. * builtins.c (expand_builtin_memcpy): Optimize case when the two
  4441. pointer arguments are the equal, non-volatile and side-effect free.
  4442. (expand_builtin_mempcpy): Likewise.
  4443. (expand_builtin_memmove): Likewise.
  4444. (expand_builtin_strcpy): Likewise.
  4445. (expand_builtin_memcmp): Likewise.
  4446. (expand_builtin_strcmp): Likewise.
  4447. (expand_builtin_strncmp): Likewise.
  4448. 2003-10-11 Roger Sayle <roger@eyesopen.com>
  4449. * combine.c (apply_distributive_law): Enable "distributive" floating
  4450. point optimizations with -funsafe-math-optimizations.
  4451. 2003-10-11 Andrew Pinski <pinskia@physics.uc.edu>
  4452. * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK.
  4453. 2003-10-11 Kazu Hirata <kazu@cs.umass.edu>
  4454. * config/m68k/m68k-protos.h: Remove the prototype for
  4455. finalize_pic.
  4456. 2003-10-11 Kazu Hirata <kazu@cs.umass.edu>
  4457. * config/m68k/m68k.c: Fix comment typos.
  4458. 2003-10-11 Bernardo Innocenti <bernie@develer.com>
  4459. * config/m68k/m68k-protos.h (use_return_insn): Change return type from
  4460. int to bool.
  4461. * config/m68k/m68k.c (struct m68k_frame): Add funcdef_no member.
  4462. (current_frame): New global var.
  4463. (m68k_compute_frame_layout): Cache computations in current_frame.
  4464. (m68k_initial_elimination_offset): Use values from current_frame
  4465. instead of recomputing them.
  4466. (use_return_insn): Likewise.
  4467. (m68k_output_function_prologue): Likewise.
  4468. (m68k_output_function_epilogue): Likewise.
  4469. * config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Fold __PIC__ handling
  4470. inside the block for __pic__.
  4471. 2003-10-11 Peter Barada <peter@baradas.org>
  4472. Bernardo Innocenti <bernie@develer.com>
  4473. * config/m68k/m68k.c (m68k_frame): Move before protos referencing it.
  4474. (m68k_save_reg): Add boolean parameter `interrupt_handler'.
  4475. (m68k_interrupt_function_p): New function.
  4476. (m68k_handle_fndecl_attribute): Ditto.
  4477. (m68k_compute_frame_layout): Ditto.
  4478. (m68k_attribute_table): Define back-end specific attributes.
  4479. (m68k_output_function_epilogue): Emit RTE instruction for interrupt
  4480. functions.
  4481. 2003-10-11 Bernardo Innocenti <bernie@develer.com>
  4482. * config/m68k/t-uclinux: New target Makefile fragment.
  4483. * config/m68k/uclinux.h: New target macro file.
  4484. * config.gcc (m68k-*-uclinux): New target definition.
  4485. 2003-10-10 Roger Sayle <roger@eyesopen.com>
  4486. * builtins.c (builtin_mathfn_code): Generalize to check whether
  4487. the call is to any built-in function by comparing the call's
  4488. argument list against the builtin decl's function type.
  4489. 2003-10-10 Roger Sayle <roger@eyesopen.com>
  4490. * cse.c (constant_pool_entries_regcost): New global variable to
  4491. hold the register cost component of constant_pool_entries_cost.
  4492. (fold_rtx): Calculate constant_pool_entries_regcost at the same
  4493. time as constant_pool_entries_cost.
  4494. (cse_insn): Set both src_folded_cost and src_folded_regcost from
  4495. constant_pool_entries_cost and constant_pool_entries_regcost.
  4496. (cse_main): Initialize constant_pool_entries_regcost to zero.
  4497. * optabs.c (expand_unop): Attach a REG_EQUAL note describing
  4498. the semantics of the sequence of bit operations used to negate
  4499. a floating-point value.
  4500. (expand_abs_nojump): Likewise attach a REG_EQUAL note describing
  4501. the semantics of the bit operations used to abs a floating point
  4502. value.
  4503. 2003-10-11 Bernardo Innocenti <bernie@develer.com>
  4504. Paul Dale <pauli@snapgear.com>
  4505. * config/m68k/lb1sf68.asm: Add __PIC__ and __ID_SHARED_LIBRARY__
  4506. support.
  4507. * config/m68k/m68k-none.h (ASM_SPEC): Pass --pcrel to assembler on
  4508. -fpic, -fPIC, -msep-data and -mid-shared-library.
  4509. * config/m68k/m68k.c (m68k_library_id_string): New global variable.
  4510. (override_options): Add -msep-data and -mshared-library-id support.
  4511. (m68k_output_function_prologue): Generate code to load A5 for
  4512. TARGET_ID_SHARED_LIBRARY and TARGET_SEP_DATA.
  4513. (m68k_output_mi_thunk): Emit indirect jump on TARGET_ID_SHARED_LIBRARY.
  4514. (m68k_output_pic_call): New function.
  4515. * gcc/config/m68k/m68k.h (TARGET_SEP_DATA): New target flag.
  4516. (TARGET_ID_SHARED_LIBRARY): Ditto.
  4517. (TARGET_SWITCHES): Add switches for -mid-shared-library and -msep-data.
  4518. * gcc/config/m68k/m68k.md (call): Call m68k_output_pic_call().
  4519. (call_value): Likewise.
  4520. 2003-10-10 Zack Weinberg <zack@codesourcery.com>
  4521. * gengenrtl.c (find_formats, genheader): Make i an unsigned
  4522. int, remove cast of NUM_RTX_CODE.
  4523. * machmode.h: Make the HAVE_MACHINE_MODES #ifdef encompass the
  4524. entire file. Remove the #ifs on GET_MODE_MASK etc and
  4525. GET_MODE_WIDER_MODE etc.
  4526. 2003-10-10 Eric Christopher <echristo@redhat.com>
  4527. * lcm.c (optimize_mode_switching): Change NORMAL_MODE
  4528. to MODE_ENTRY and MODE_EXIT. Add MODE_AFTER for insns
  4529. that set mode.
  4530. * config/sh/sh.h (MODE_ENTRY): New macro.
  4531. (MODE_EXIT): Ditto.
  4532. (MODE_AFTER): Ditto.
  4533. * config/sh/sh.md: Change for MODE_AFTER. Add
  4534. fp_set attribute.
  4535. * doc/tm.texi: Document MODE_AFTER, MODE_ENTRY, and MODE_EXIT.
  4536. 2003-10-10 Zack Weinberg <zack@codesourcery.com>
  4537. * genmodes.c, mode-classes.def: New files.
  4538. * machmode.def: Rewritten to genmodes.c interface.
  4539. * Makefile.in (extra_modes_file): New substitution variable.
  4540. (MACHMODE_H): No longer includes machmode.def or
  4541. @extra_modes_file@; instead, mode-classes.def and insn-modes.h.
  4542. (BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
  4543. (OBJS-common): Add insn-modes.o.
  4544. (STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
  4545. genmodes$(build_exeext).
  4546. (insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
  4547. genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
  4548. (s-genrtl): Don't depend on $(RTL_BASE_H).
  4549. (gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
  4550. or $(RTL_BASE_H); just rtl.def.
  4551. * gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
  4552. real.h. Give fake definition of CONST_DOUBLE_FORMAT and
  4553. substitute definition of NUM_RTX_CODE. Add casts to avoid
  4554. warnings.
  4555. * machmode.h: Include insn-modes.h, not machmode.def. Include
  4556. mode-classes.def to define enum mode_class. Tweak definitions
  4557. of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
  4558. GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
  4559. (inner_mode_array): Renamed mode_inner.
  4560. (mode_base_align): New.
  4561. * rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
  4562. mode_unit_size, mode_wider_mode, mode_mask_array,
  4563. inner_mode_array, class_narrowest_mode): Delete definitions.
  4564. * stor-layout.c (get_mode_alignment): Use mode_base_align.
  4565. * real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
  4566. and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
  4567. * config/ip2k/ip2k.h, config/iq2000/iq2000.h:
  4568. No need to define BITS_PER_UNIT.
  4569. 2003-10-10 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  4570. * config/ia64/ia64.c (ia64_vms_init_libfuncs): New function.
  4571. (ia64_output_function_prologue): Only write .prologue if --with-gnu-as.
  4572. (ia64_initialize_trampoline): If not using GAS, declare trampoline
  4573. as global.
  4574. * config/ia64/ia64.h (ASM_APP_ON, ASM_APP_OFF): Add vers for not GAS.
  4575. (ASM_OUTPUT_DEBUG_LABEL): Likewise.
  4576. * stor-layout.c (compute_record_mode): Don't force BLKmode if
  4577. field is zero-length BLKmode.
  4578. * expr.c (expand_expr, case COMPONENT_REF): Handle case of BLKmode
  4579. zero-size references.
  4580. * combine.c (distribute_links): Properly test for REG being set.
  4581. * config/alpha/alpha.c (alpha_expand_block_mode): Don't use
  4582. gen_lowpart and company except for REG.
  4583. 2003-10-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  4584. * pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld.
  4585. 2003-10-10 Nathanael Nerode <neroden@gcc.gnu.org>
  4586. * config.gcc (mips*-*-netbsd*): Remove content-free line.
  4587. 2003-10-10 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
  4588. * gcov-io.h: Check BITS_PER_UNIT when defining gcov_unsigned_t,
  4589. gcov_position_t and gcov_type.
  4590. 2003-10-09 Kaz Kojima <kkojima@gcc.gnu.org>
  4591. * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
  4592. * configure: Regenerate.
  4593. 2003-10-09 Kazu Hirata <kazu@cs.umass.edu>
  4594. * config/h8300/h8300.md (define_asm_attributes): Specify
  4595. the length of an asm insn more precisely.
  4596. 2003-10-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4597. * config/mips/iris6.h (SUBTARGET_CPP_SPEC): Define.
  4598. 2003-10-09 Bob Wilson <bob.wilson@acm.org>
  4599. * config/xtensa/xtensa.c (xtensa_dbx_register_number): Change first
  4600. FP register number to 48 and MAC16 accumulator to 0x210.
  4601. 2003-10-09 Nathanael Nerode <neroden@gcc.gnu.org>
  4602. * config.gcc: Remove redundant thread_file setting clauses for
  4603. various *-*-linux* targets.
  4604. 2003-10-09 Kazu Hirata <kazu@cs.umass.edu>
  4605. * config/h8300/h8300.md (define_asm_attributes): New.
  4606. 2003-10-09 Roger Sayle <roger@eyesopen.com>
  4607. * optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note
  4608. to the comparison, as emit_libcall_block calls copy_rtx on equiv.
  4609. 2003-10-09 Dorit Naishlos <dorit@il.ibm.com>
  4610. * haifa-sched.c (ok_for_early_schedule): New function.
  4611. (early_queue_to_ready): New function.
  4612. (schedule_block): Allow early removal of insns from Q.
  4613. (schedule_insn): Update INSN_TICK in case of premature
  4614. issue.
  4615. * common.opt (sched_stalled_insns): New flag.
  4616. (sched_stalled_insns_dep): New flag.
  4617. * flags.h: Same above flags.
  4618. * opts.c: Same as above.
  4619. * toplev.c: Same as above.
  4620. * target.h (targetm.sched.is_costly_dependence): New
  4621. hook.
  4622. * target-def.h: Same as above.
  4623. * config/rs6000/rs6000.h: (rs6000_sched_costly_dep):
  4624. Support new flag -msched-costly-dep.
  4625. (DEFAULT_SCHED_COSTLY_DEP): Define.
  4626. * config/rs6000/rs6000.c:
  4627. (rs6000_is_costly_dependence): New function.
  4628. (is_load_insn, is_store_insn): New functions.
  4629. (is_load_insn1, is_store_insn1, is_mem_ref): New
  4630. functions.
  4631. * doc/invoke.texi (-fsched-stalled-insns-dep)
  4632. (-fsched-stalled-insns, -msched-costly-dep): Document
  4633. options.
  4634. * doc/tm.texi (is_costly_dependence): Define new
  4635. scheduler target hook.
  4636. 2003-10-09 Jason Merrill <jason@redhat.com>
  4637. PR c++/6392
  4638. * c-common.c (c_build_qualified_type): Look through arrays first.
  4639. (c_apply_type_quals_to_decl): Look through arrays.
  4640. * c-common.c (c_apply_type_quals_to_decl): Unset TREE_READONLY for
  4641. types with constructors.
  4642. * coverage.c (build_ctr_info_value): Use build_decl to make a
  4643. VAR_DECL.
  4644. (create_coverage): Likewise.
  4645. * stmt.c (resolve_asm_operand_names): Call check_unique_operand_names
  4646. here.
  4647. (expand_asm_operands): Not here.
  4648. (parse_input_constraint): No longer static.
  4649. * tree.h: Declare it.
  4650. 2003-10-08 Kaz Kojima <kkojima@gcc.gnu.org>
  4651. * config/sh/t-linux (SHLIB_LINK): Override to use a linker script
  4652. libgcc_s.so.
  4653. (SHLIB_INSTALL): Likewise.
  4654. 2003-10-08 Nathanael Nerode <neroden@gcc.gnu.org>
  4655. * doc/install.texi: Remove reference to removed 'pthreads' thread
  4656. option.
  4657. 2003-10-08 Aldy Hernandez <aldyh@redhat.com>
  4658. * config/rs6000/rs6000.md ("abssi2_isel"): Add early clobber to
  4659. operand 2.
  4660. 2003-10-08 Nathanael Nerode <neroden@gcc.gnu.org>
  4661. * config.gcc: Don't accept --enable-threads=pthreads. Clean
  4662. up related case statements.
  4663. * configure.in: Don't accept --enable-threads=pthreads,
  4664. decosf1, mach, or os2 (none of which work anyway). Alphabetize
  4665. supported thread files in case clause.
  4666. * configure: Regenerate.
  4667. 2003-10-08 Geoffrey Keating <geoffk@apple.com>
  4668. * function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'
  4669. definition to above SPARC_STACK_BOUNDARY_HACK.
  4670. 2003-10-08 Jason Merrill <jason@redhat.com>
  4671. * c-pretty-print.c (pp_c_postfix_expression)
  4672. <COMPOUND_LITERAL_EXPR>: Fix thinko.
  4673. 2003-10-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4674. * mklibgcc.in: Don't hide undefined or typeless symbols.
  4675. 2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  4676. PR optimization/12142
  4677. * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
  4678. uses of the register in the SET_SRC. Remove unnecessary argument.
  4679. * pa.c (legitimize_pic_address): Before reload, use a scratch register
  4680. for the intermediate result in loading the address of a SYMBOL_REF.
  4681. Set the MEM_NOTRAP_P flag for the MEM. Add a REG_EQUAL to the insn
  4682. which loads the SYMBOL_REF address.
  4683. 2003-10-08 Timo Kokkonen <tjko@iki.fi>
  4684. Eric Botcazou <ebotcazou@libertysurf.fr>
  4685. PR bootstrap/12490
  4686. * scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant
  4687. to define the size of the extern_C_braces array. Set it to 200.
  4688. (scan_decls): Abort when extern_C_braces_length is out-of-bounds.
  4689. 2003-10-08 Carlo Wood <carlo@alinoe.com>
  4690. * Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand
  4691. a space after the -o option. flex 2.5.31 understands both, with
  4692. and without the space. Removed that space.
  4693. 2003-10-08 Richard Sandiford <rsandifo@redhat.com>
  4694. * config/mips/mips.c (mips_frame_info): Add cprestore_size field.
  4695. (compute_frame_size): Initialize it. Remove the .cprestore slot
  4696. from args_size.
  4697. (mips_output_function_prologue): Simplify accordingly.
  4698. (mips_debugger_offset): Change the mips16 frame pointer offset from
  4699. current_function_outgoing_args to cfun->machine->frame.args_size.
  4700. (mips_initial_elimination_offset): Likewise.
  4701. (mips_expand_prologue): Likewise.
  4702. (mips_expand_epilogue): Likewise.
  4703. 2003-10-08 Richard Sandiford <rsandifo@redhat.com>
  4704. * config/mips/mips.h (EXTRA_CONSTRAINT): Add 'W' constraint.
  4705. (EXTRA_MEMORY_CONSTRAINT): Define.
  4706. (CAN_ELIMINATE): Remove lwu workaround.
  4707. * config/mips/mips.md (*zero_extendsidi2_mem): Enable for mips16 too.
  4708. Use a 'W' constraint for the source operand.
  4709. 2003-10-08 Kazu Hirata <kazu@cs.umass.edu>
  4710. * genopinit.c (main): Output code to declare undefined
  4711. variables.
  4712. 2003-10-07 Kelley Cook <kcook@gcc.gnu.org>
  4713. * gengtype-lex.l: Remove -Wtraditional cruft.
  4714. * Makefile.in (gengtype-lex.c): Likewise.
  4715. 2003-10-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  4716. * cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.
  4717. 2003-10-07 Jason Merrill <jason@redhat.com>
  4718. PR c++/12519
  4719. * c-semantics.c (genrtl_cleanup_stmt): Ignore the CLEANUP_DECL if
  4720. it isn't a decl.
  4721. 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
  4722. * gcc.c (cpp_options): Only pass -fworking-directory for -g* if
  4723. not overridden.
  4724. Fixes PR bootstrap/12173.
  4725. 2003-10-07 Zack Weinberg <zack@codesourcery.com>
  4726. * errors.c: Don't include coretypes.h or tm.h.
  4727. (trim_filename): Use IS_DIR_SEPARATOR.
  4728. * Makefile.in: Update dependencies of errors.o and
  4729. $(BUILD_PREFIX_1)errors.o.
  4730. 2003-10-07 Geoffrey Keating <geoffk@apple.com>
  4731. * function.c (pad_to_arg_alignment): Take STACK_POINTER_OFFSET into
  4732. account when aligning arguments.
  4733. * calls.c (STACK_POINTER_OFFSET): Move default from here ...
  4734. * defaults.h (STACK_POINTER_OFFSET): ... to here.
  4735. * config/sparc/sparc.h (STACK_BOUNDARY): Add comment about how
  4736. it's wrong when TARGET_ARCH64 && TARGET_STACK_BIAS.
  4737. (SPARC_STACK_BOUNDARY_HACK): Define.
  4738. * config/rs6000/rs6000.c (function_arg): On non-SVR4 systems,
  4739. arrange for vector parameters to varargs functions to be passed
  4740. in both memory and GPRs when appropriate.
  4741. (rs6000_va_arg): Vector arguments passed in memory are 16-byte
  4742. aligned.
  4743. * hooks.c (hook_bool_tree_true): New.
  4744. (hook_rtx_tree_int_null): New.
  4745. (hook_rtx_rtx_null): Use NULL, not 0.
  4746. * hooks.h: Add 'extern' to everything.
  4747. (hook_bool_tree_true): New.
  4748. (hook_rtx_tree_int_null): New.
  4749. * targhooks.c (hook_bool_CUMULATIVE_ARGS_true): New.
  4750. * targhooks.h (hook_bool_CUMULATIVE_ARGS_true): New.
  4751. * config/rs6000/rs6000-protos.h (setup_incoming_varargs): Remove
  4752. prototype.
  4753. * config/rs6000/rs6000.c (rs6000_return_in_memory): New.
  4754. (setup_incoming_varargs): Prototype.
  4755. (TARGET_PROMOTE_FUNCTION_ARGS): Define.
  4756. (TARGET_PROMOTE_FUNCTION_RETURN): Define.
  4757. (TARGET_STRUCT_VALUE_RTX): Define.
  4758. (TARGET_RETURN_IN_MEMORY): Define.
  4759. (TARGET_SETUP_INCOMING_VARARGS): Define.
  4760. (TARGET_STRICT_ARGUMENT_NAMING): Define.
  4761. (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Define.
  4762. (init_cumulative_args): Use rs6000_return_in_memory.
  4763. (setup_incoming_varargs): Make 'static'.
  4764. * config/rs6000/rs6000.h (PROMOTE_FUNCTION_ARGS): Delete.
  4765. (PROMOTE_FUNCTION_RETURN): Delete.
  4766. (STRUCT_VALUE): Delete.
  4767. (RETURN_IN_MEMORY): Delete.
  4768. (SETUP_INCOMING_VARARGS): Delete.
  4769. 2003-10-07 Gerald Pfeifer <gerald@pfeifer.com>
  4770. * doc/invoke.texi (Warning Options): Simplify and clarify the
  4771. descriptions of -Wnonnull and -Winit-self.
  4772. 2003-10-07 Richard Earnshaw <rearnsha@arm.com>
  4773. * optabs.c (init_intraclass_conv_libfuncs): Fix order of array
  4774. indicees for floating-point conversersion libcalls.
  4775. 2003-10-07 Nathanael Nerode <neroden@gcc.gnu.org>
  4776. * Makefile.in: Add more comments separating large conceptually
  4777. separate sections.
  4778. * configure.in: Clean up thread file logic.
  4779. * configure: Regenerate.
  4780. 2003-10-07 Danny Smith <dannysmith@users.sourceforge.net>
  4781. * config/i386/cygming.h (READONLY_DATA_SECTION_ASM_OP): Define.
  4782. (switch_to_section): Handle in_readonly_data.
  4783. * config/i386/winnt.c (i386_pe_asm_named_section): Handle
  4784. readonly data.
  4785. 2003-10-07 Richard Earnshaw <rearnsha@arm.com>
  4786. * arm.md (cmpsi2_addneg): New ARM pattern. Add peephole2 to generate
  4787. it.
  4788. (cbranchne_decr1): New Thumb pattern.
  4789. * arm.c (arm_addimm_operand): New insn predicate.
  4790. * arm-protos.h: Add a prototype for it.
  4791. * arm.h (PREDICATE_CODES): Add it.
  4792. 2003-10-07 Dorit Naishlos <dorit@il.ibm.com>
  4793. * sched-int.h (sched_info): New field
  4794. sched_max_insns_priority.
  4795. * sched-rgn.c (init_ready_list): Add invocations to
  4796. targetm.sched.adjust_priority.
  4797. (sched_max_insns_priority): Init new field.
  4798. * sched-ebb.c (sched_max_insns_priority): Init new field.
  4799. * haifa-sched.c (set_priorities): Set
  4800. sched_info->sched_max_insns_priority.
  4801. * config/rs6000/rs6000.h:
  4802. (rs6000_sched_restricted_insns_priority_str): Support new
  4803. flag -mprioritize-restricted-insns.
  4804. (DEFAULT_RESTRICTED_INSNS_PRIORITY): Define.
  4805. * config/rs6000/rs6000.c (is_dispatch_slot_restricted): New
  4806. function.
  4807. (rs6000_adjust_priority): Change priority of restricted
  4808. insns, using above new function and new flag.
  4809. * doc/invoke.texi (-mprioritize-restricted-insns): Document
  4810. new option.
  4811. 2003-10-07 Zack Weinberg <zack@codesourcery.com>
  4812. * expr.c (cmpstr_optab, cmpmem_optab): New.
  4813. * genopinit.c: Initialize them.
  4814. * optabs.h: Declare them.
  4815. * optabs.c (init_optabs): Clear them.
  4816. (prepare_cmp_insn): Use cmpstr_optab and cmpmem_optab to find
  4817. block memory compare insns, not conditional chains. Restructure
  4818. the fallback generation of a call to memcmp/bcmp for better
  4819. readability.
  4820. 2003-10-07 Richard Sandiford <rsandifo@redhat.com>
  4821. * config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.
  4822. (mips_save_restore_fn): New typedef.
  4823. (mips_add_large_offset_to_sp, mips_emit_frame_related_store): Remove.
  4824. (mips_set_frame_expr, mips_frame_set): Move above prologue code.
  4825. (save_restore_insns): Remove, replacing with...
  4826. (mips_save_restore_reg, mips_for_each_saved_reg): ...these new fns.
  4827. (mips_save_reg, mips_restore_reg): New function.
  4828. (mips_expand_prologue, mips_expand_epilogue): Rework.
  4829. * config/mips/mips.h (MIPS_TEMP1_REGNUM, MIPS_TEMP2_REGNUM): Remove.
  4830. (MIPS_PROLOGUE_TEMP_REGNUM, MIPS_EPILOGUE_TEMP_REGNUM): New macros.
  4831. (MIPS_PROLOGUE_TEMP, MIPS_EPILOGUE_TEMP): New macros.
  4832. 2003-10-07 Richard Sandiford <rsandifo@redhat.com>
  4833. * config/mips/mips.c (mips_expand_prologue): Remove unused
  4834. traversal of function arguments.
  4835. 2003-10-07 Richard Sandiford <rsandifo@redhat.com>
  4836. * doc/invoke.texi: Remove documentation of -mentry.
  4837. * config/mips/mips.c (mips_entry_string, mips_entry): Remove.
  4838. (override_options, mips_save_reg_p): Remove handling.
  4839. (compute_frame_size, mips_output_function_prologue): Likewise.
  4840. (mips_expand_prologue, mips_expand_epilogue): Likewise.
  4841. * config/mips/mips.h (mips_entry_string): Remove declaration.
  4842. (TARGET_OPTIONS): Remove -mentry.
  4843. * config/mips/mips16.S: Remove mention of -mentry.
  4844. 2003-10-06 Zack Weinberg <zack@codesourcery.com>
  4845. * libfuncs.h (LTI_extendsfdf2, LTI_extendsfxf2, LTI_extendsftf2)
  4846. (LTI_extenddfxf2, LTI_extenddftf2, LTI_truncdfsf2, LTI_truncxfsf2)
  4847. (LTI_trunctfsf2, LTI_truncxfdf2, LTI_trunctfdf2, LTI_floatsisf)
  4848. (LTI_floatdisf, LTI_floattisf, LTI_floatsidf, LTI_floatdidf)
  4849. (LTI_floattidf, LTI_floatsixf, LTI_floatdixf, LTI_floattixf)
  4850. (LTI_floatsitf, LTI_floatditf, LTI_floattitf, LTI_fixsfsi, LTI_fixsfdi)
  4851. (LTI_fixsfti, LTI_fixdfsi, LTI_fixdfdi, LTI_fixdfti, LTI_fixxfsi)
  4852. (LTI_fixxfdi, LTI_fixxfti, LTI_fixtfsi, LTI_fixtfdi, LTI_fixtfti)
  4853. (LTI_fixunssfsi, LTI_fixunssfdi, LTI_fixunssfti, LTI_fixunsdfsi)
  4854. (LTI_fixunsdfdi, LTI_fixunsdfti, LTI_fixunsxfsi, LTI_fixunsxfdi)
  4855. (LTI_fixunsxfti, LTI_fixunstfsi, LTI_fixunstfdi, LTI_fixunstfti)
  4856. (extendsfdf2_libfunc, extendsfxf2_libfunc, extendsftf2_libfunc)
  4857. (extenddfxf2_libfunc, extenddftf2_libfunc, truncdfsf2_libfunc)
  4858. (truncxfsf2_libfunc, trunctfsf2_libfunc, truncxfdf2_libfunc)
  4859. (trunctfdf2_libfunc, floatsisf_libfunc, floatdisf_libfunc)
  4860. (floattisf_libfunc, floatsidf_libfunc, floatdidf_libfunc)
  4861. (floattidf_libfunc, floatsixf_libfunc, floatdixf_libfunc)
  4862. (floattixf_libfunc, floatsitf_libfunc, floatditf_libfunc)
  4863. (floattitf_libfunc, fixsfsi_libfunc, fixsfdi_libfunc, fixsfti_libfunc)
  4864. (fixdfsi_libfunc, fixdfdi_libfunc, fixdfti_libfunc, fixxfsi_libfunc)
  4865. (fixxfdi_libfunc, fixxfti_libfunc, fixtfsi_libfunc, fixtfdi_libfunc)
  4866. (fixtfti_libfunc, fixunssfsi_libfunc, fixunssfdi_libfunc)
  4867. (fixunssfti_libfunc, fixunsdfsi_libfunc, fixunsdfdi_libfunc)
  4868. (fixunsdfti_libfunc, fixunsxfsi_libfunc, fixunsxfdi_libfunc)
  4869. (fixunsxfti_libfunc, fixunstfsi_libfunc, fixunstfdi_libfunc)
  4870. (fixunstfti_libfunc): Delete.
  4871. * optabs.h (struct optab_handlers): Break out of struct optab.
  4872. (struct convert_optab, convert_optab, enum convert_optab_index,
  4873. convert_optab_table, sext_optab, zext_optab, trunc_optab,
  4874. sfix_optab, ufix_optab, sfixtrunc_optab, ufixtrunc_optab,
  4875. sfloat_optab, ufloat_optab): New.
  4876. (set_conv_libfunc): Prototype.
  4877. (GEN_FCN): Use C90 indirect call syntax, remove unnecessary cast.
  4878. (trunc_optab): Renamed btrunc_optab.
  4879. * builtins.c (expand_builtin_mathfn): Update to match.
  4880. * optabs.c (extendtab, fixtab, fixtrunctab, floattab): Delete.
  4881. (convert_optab_table, new_convert_optab, init_convert_optab)
  4882. (init_interclass_conv_libfuncs, init_intraclass_conv_libfuncs)
  4883. (set_conv_libfunc): New.
  4884. (can_extend_p, gen_extend_insn, can_fix_p, can_float_p)
  4885. (expand_float, expand_fix): Use new conversion optabs,
  4886. not old insn code tables or long chains of ifs.
  4887. (init_optabs): No need to clear old insn code tables.
  4888. Initialize the new optabs, not the old libfunc array entries.
  4889. Don't handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
  4890. * genopinit.c: Initialize conversion optabs, not the
  4891. former insn code tables. Remove unnecessary casts.
  4892. Handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
  4893. * expr.c (convert_move): Remove redundant check that
  4894. to_real==from_real. Use the conversion optabs instead
  4895. of long chains of tests of modes. Move partial-integer-mode
  4896. interconversion above all integer conversion. Do not recurse
  4897. on a value forced into a register in the original mode.
  4898. * config/gofast.h, config/frv/frv.c, config/ia64/ia64.c
  4899. * config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
  4900. * config/sparc/sparc.c: Use set_conv_libfunc to adjust entries
  4901. in new conversion optabs; do not reference the old libfunc
  4902. array entries. No need to include libfuncs.h.
  4903. 2003-10-06 Roger Sayle <roger@eyesopen.com>
  4904. * config/i386/i386.c (ix86_expand_setcc): Annotate the floating
  4905. point comparison sequence with a REG_EQUAL note that describes
  4906. the comparison's semantics.
  4907. 2003-10-06 Roger Sayle <roger@eyesopen.com>
  4908. * expr.c (expand_expr <COND_EXPR>): Handle the void type semantics
  4909. of COND_EXPR when expanding the "A op 0 ? FOO : A" optimizations.
  4910. 2003-10-06 Roger Sayle <roger@eyesopen.com>
  4911. Zack Weinberg <zack@codesourcery.com>
  4912. * optabs.c (prepare_float_lib_cmp): Avoid searching for REG_RETVAL
  4913. instruction by using LCT_CONST and then calling emit_libcall_block
  4914. ourselves.
  4915. 2003-10-06 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  4916. PR optimization/11974
  4917. * optabs.c (expand_unop): Promote libcall outmode according to
  4918. hard_libcall_value.
  4919. 2003-10-06 Zack Weinberg <zack@codesourcery.com>
  4920. * real.h (REAL_MODE_FORMAT): New macro.
  4921. * c-cppbuiltin.c, optabs.c, real.c, config/alpha/alpha.c
  4922. * config/c4x/c4x.c, config/i370/i370.c, config/i386/freebsd.h
  4923. * config/i386/i386.c, config/i960/i960.c, config/ia64/ia64.c
  4924. * config/m68k/m68k.c, config/mips/mips.c, config/rs6000/rs6000.c
  4925. * config/vax/vax.c: Use REAL_MODE_FORMAT instead of referring
  4926. directly to real_format_for_mode array, wherever possible.
  4927. 2003-10-06 Devang Patel <dpatel@apple.com>
  4928. * dwarf2out.c (is_main_source): Remove variable.
  4929. (dwarf2out_start_source_file): Do not check is_main_source.
  4930. Do not reset is_main_source.
  4931. (dwarf2out_init): Do not initialize is_main_source.
  4932. 2003-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4933. * fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
  4934. (irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
  4935. introduced some multi-line prototypes.
  4936. * fixinc/fixincl.x: Regenerate.
  4937. 2003-10-06 Richard Sandiford <rsandifo@redhat.com>
  4938. * config/mips/mips.h (PREDICATE_CODES): Add stack_operand.
  4939. * config/mips/mips.c (stack_operand): New predicate.
  4940. * config/mips/mips.md: Use it for the destination of mips16 insns
  4941. that store $31.
  4942. 2003-10-06 Richard Sandiford <rsandifo@redhat.com>
  4943. * config/mips/mips.md (*lowsi): Renamed from lowsi.
  4944. (*lowdi): Likewise lowdi.
  4945. (*lowsi_mips16, *lowdi_mips16): New patterns.
  4946. * config/mips/mips.c (mips_const_insns, mips_output_move): Remove
  4947. mips16 CONSTANT_RELOC handling.
  4948. (mips_delegitimize_address): Adjust for new sdata representation.
  4949. 2003-10-06 Richard Sandiford <rsandifo@redhat.com>
  4950. * config/mips/mips.c (mips_arg_info): If MUST_PASS_IN_STACK,
  4951. skip any remaining register arguments.
  4952. 2003-10-06 Ulrich Weigand <uweigand@de.ibm.com>
  4953. * reload.c (find_reloads_subreg_address): Use correct offset for
  4954. paradoxical MEM subregs on big-endian targets.
  4955. 2003-10-06 Andrew Haley <aph@redhat.com>
  4956. * tree.c (get_callee_fndecl): Call
  4957. lang_hooks.lang_get_callee_fndecl.
  4958. * langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): New.
  4959. (lhd_get_callee_fndecl): New.
  4960. 2003-10-06 Andrew Pinski <apinski@apple.com>
  4961. * config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
  4962. error in calculating the length of the string.
  4963. (machopic_stub_name): Likewise.
  4964. 2003-10-06 Roger Sayle <roger@eyesopen.com>
  4965. * optabs.c (prepare_float_lib_cmp): Attach a REG_EQUAL note
  4966. describing the return value of the comparison libcall to the
  4967. REG_RETVAL instruction of the emitted sequence.
  4968. 2003-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
  4969. PR optimization/12215
  4970. * cse.c (cse_set_around_loop): Emit the move at the beginning
  4971. of the next basic block for trapping sets.
  4972. 2003-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
  4973. PR optimization/11637
  4974. * combine.c (adjust_for_new_dest): New function to adjust the
  4975. notes and LOG_LINKS when the dest of an insn has changed.
  4976. (try_combine): Use it when deleting the first insn of a two-insn
  4977. parallel or splitting a two-load parallel.
  4978. 2003-10-06 Richard Sandiford <rsandifo@redhat.com>
  4979. * config/mips/mips.c (mips_classify_constant): Only allow UNSPECs
  4980. if TARGET_EXPLICIT_RELOCS.
  4981. 2003-10-06 Mark Mitchell <mark@codesourcery.com>
  4982. PR bootstrap/12512
  4983. * Makefile.in (info): Use double-colon rules.
  4984. (dvi): Likewise.
  4985. (generated-manpages): Likewise.
  4986. * configure.in: Do not create lang.info, lang.dvi, or
  4987. lang.generated-manpages hooks.
  4988. * configure: Regenerated.
  4989. * objc/Make-lang.in (objc.info): Remove.
  4990. (objc.dvi): Remove.
  4991. (objc.generated-manpages): Remove.
  4992. * doc/sourcebuild.texi: Update description of info, dvi, and
  4993. generated-manpages hooks.
  4994. 2003-10-06 Richard Sandiford <rsandifo@redhat.com>
  4995. * config/mips/mips.md: Merge mips16 lw/srl pattern with its splitter.
  4996. 2003-10-05 Andrew Pinski <apinski@apple.com>
  4997. * config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
  4998. errors in memcpy destinations.
  4999. (machopic_stub_name): Likewise.
  5000. 2003-10-05 Andrew Pinski <apinski@apple.com>
  5001. * config/darwin.c (machopic_non_lazy_ptr_name):
  5002. Change strcat to memcpy and add length together.
  5003. (machopic_stub_name): Likewise.
  5004. 2003-10-05 Kaz Kojima <kkojima@gcc.gnu.org>
  5005. * config/sh/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Handle new
  5006. signal trampoline codes.
  5007. 2003-10-05 Chris Demetriou <cgd@broadcom.com>
  5008. * config/mips/mips.md (*divsf3): Move description of
  5009. SB-1 F2 erratum from here to...
  5010. (divsf3): Here. Disable if TARGET_FIX_SB1 is set and
  5011. flag_unsafe_math_optimizations is not.
  5012. 2003-10-05 Aldy Hernandez <aldyh@redhat.com>
  5013. * config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE,
  5014. TARGET_E500, TARGET_ISEL, and TARGET_FPRS.
  5015. 2003-10-05 Kazu Hirata <kazu@cs.umass.edu>
  5016. * c-pretty-print.c: Fix comment typos.
  5017. * c-pretty-print.h: Likewise.
  5018. * calls.c: Likewise.
  5019. * cfgloopmanip.c: Likewise.
  5020. * cgraphunit.c: Likewise.
  5021. * cppfiles.c: Likewise.
  5022. * final.c: Likewise.
  5023. * function.c: Likewise.
  5024. * gcov-io.h: Likewise.
  5025. * gcse.c: Likewise.
  5026. * genoutput.c: Likewise.
  5027. * loop.c: Likewise.
  5028. * postreload.c: Likewise.
  5029. * reg-stack.c: Likewise.
  5030. * regmove.c: Likewise.
  5031. * sched-int.h: Likewise.
  5032. * sched-rgn.c: Likewise.
  5033. * simplify-rtx.c: Likewise.
  5034. * tree-inline.c: Likewise.
  5035. * config/m68hc11/m68hc11.h: Likewise.
  5036. * config/mmix/mmix.c: Likewise.
  5037. * config/mn10300/mn10300.md: Likewise.
  5038. * config/sh/sh.h: Likewise.
  5039. 2003-10-05 Richard Henderson <rth@redhat.com>
  5040. * tree-inline.c (remap_type): New.
  5041. (remap_decl): Use it. Remap DECL_SIZE*.
  5042. (copy_body_r): Use it.
  5043. (walk_tree): Walk TREE_TYPE too.
  5044. (copy_tree_r): Don't walk subtrees of types.
  5045. * tree.c (variably_modified_type_p): Restructure. Consider integer
  5046. types with non-const bounds variably modified.
  5047. 2003-10-05 Kazu Hirata <kazu@cs.umass.edu>
  5048. * doc/invoke.texi: Fix typos.
  5049. 2003-10-05 Kazu Hirata <kazu@cs.umass.edu>
  5050. * fold-const.c: Follow spelling conventions.
  5051. * function.c: Likewise.
  5052. * config/c4x/c4x.h: Likewise.
  5053. * config/c4x/c4x.md: Likewise.
  5054. * config/frv/frv.md: Likewise.
  5055. * config/rs6000/aix.h: Likewise.
  5056. * config/rs6000/linux64.h: Likewise.
  5057. * config/xtensa/xtensa.c: Likewise.
  5058. 2003-10-05 Kazu Hirata <kazu@cs.umass.edu>
  5059. * c-pretty-print.c: Fix comment formatting.
  5060. * cfglayout.c: Likewise.
  5061. * cfgloopanal.c: Likewise.
  5062. * cppcharset.c: Likewise.
  5063. * dbxout.c: Likewise.
  5064. * ggc-page.c: Likewise.
  5065. * ggc.h: Likewise.
  5066. * target.h: Likewise.
  5067. 2003-10-04 Kelley Cook <kelleycook@wideopenwest.com>
  5068. * gengtype-lex.l: Recognize typedef of functions without PARAMS macro.
  5069. 2003-10-04 Nathanael Nerode <neroden@gcc.gnu.org>
  5070. * config/v850/v850-c.c, config/v850/v850-protos.h, config/v850/v850.c:
  5071. Convert to ISO C90 function declarations and definitions.
  5072. 2003-10-04 Zack Weinberg <zack@codesourcery.com>
  5073. * libfuncs.h
  5074. (LTI_eqhf2, LTI_nehf2, LTI_gthf2, LTI_gehf2, LTI_lthf2)
  5075. (LTI_lehf2, LTI_unordhf2, LTI_eqsf2, LTI_nesf2, LTI_gtsf2)
  5076. (LTI_gesf2, LTI_ltsf2, LTI_lesf2, LTI_unordsf2, LTI_eqdf2)
  5077. (LTI_nedf2, LTI_gtdf2, LTI_gedf2, LTI_ltdf2, LTI_ledf2)
  5078. (LTI_unorddf2, LTI_eqxf2, LTI_nexf2, LTI_gtxf2, LTI_gexf2)
  5079. (LTI_ltxf2, LTI_lexf2, LTI_unordxf2, LTI_eqtf2, LTI_netf2)
  5080. (LTI_gttf2, LTI_getf2, LTI_lttf2, LTI_letf2, LTI_unordtf2)
  5081. (eqhf2_libfunc, nehf2_libfunc, gthf2_libfunc, gehf2_libfunc)
  5082. (lthf2_libfunc, lehf2_libfunc, unordhf2_libfunc, eqsf2_libfunc)
  5083. (nesf2_libfunc, gtsf2_libfunc, gesf2_libfunc, ltsf2_libfunc)
  5084. (lesf2_libfunc, unordsf2_libfunc eqdf2_libfunc, nedf2_libfunc)
  5085. (gtdf2_libfunc, gedf2_libfunc, ltdf2_libfunc, ledf2_libfunc)
  5086. (unorddf2_libfunc eqxf2_libfunc, nexf2_libfunc, gtxf2_libfunc)
  5087. (gexf2_libfunc, ltxf2_libfunc, lexf2_libfunc, unordxf2_libfunc
  5088. (eqtf2_libfunc, netf2_libfunc, gttf2_libfunc, getf2_libfunc)
  5089. (lttf2_libfunc, letf2_libfunc, unordtf2_libfunc):
  5090. Delete.
  5091. * optabs.h (OTI_eq, OTI_ne, OTI_gt, OTI_ge, OTI_lt, OTI_le)
  5092. (OTI_unord, eq_optab, ne_optab, gt_optab, ge_optab, lt_optab)
  5093. (le_optab, unord_optab): New.
  5094. * optabs.c (prepare_float_lib_cmp): Rewrite. Get the libfuncs
  5095. from the code_to_optab table, not a giant switch; use
  5096. swap_condition; do widening only if a comparison function that
  5097. we can call exists in a wider mode, not if a cmp_optab insn or
  5098. libfunc exists in a wider mode; call protect_from_queue
  5099. exactly once on each operand.
  5100. (init_optabs): Initialize the new optabs, not the deleted libfuncs.
  5101. * config/gofast.h, config/ia64/ia64.c, config/mips/mips.c
  5102. * config/pa/pa.c, config/rs6000/rs6000.c, config/sparc/sparc.c:
  5103. Set floating point comparison libfuncs using set_optab_libfunc
  5104. on the appropriate optab.
  5105. * config/ia64/ia64.c (ia64_hpux_init_libfuncs): Fix typo.
  5106. * config/rs6000/rs6000.c (rs6000_init_libfuncs): Correct ABI
  5107. selector conditionals.
  5108. 2003-10-04 Stephane Carrez <stcarrez@nerim.fr>
  5109. * config/m68hc11/t-m68hc11-gas (MULTILIB_MATCHES): m68hcs12 is
  5110. identical to m68hc12 as far as libraries are concerned.
  5111. 2003-10-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  5112. PR c/12446
  5113. * c-typeck.c (convert_for_assignment): Issue an error for
  5114. array to pointer assignment after default conversion.
  5115. (digest_init): Likewise.
  5116. 2003-10-04 Fariborz Jahanian <fjahanian@apple.com>
  5117. * c-decl.c (duplicate_decls): retain DECL_COMMON of old declaration
  5118. 2003-10-03 Gerald Pfeifer <gerald@pfeifer.com>
  5119. * doc/extend.texi (Function Attributes): Fix title of GNU C
  5120. Preprocessor manual.
  5121. (C++ Extensions): Fix reference to "Predefined Macros" in the
  5122. GNU C Preprocessor manual.
  5123. 2003-10-04 Richard Earnshaw <reanrsha@arm.com>
  5124. * doc/extend.texi: Document how GCC estimates and relies on the size
  5125. of an asm.
  5126. 2003-10-04 Richard Sandiford <rsandifo@redhat.com>
  5127. * config/mips/mips.c (mips_pad_arg_upward): Pad floating-point
  5128. arguments downward for big-endian o64.
  5129. 2003-10-03 Robert Bowdidge <bowdidge@apple.com>
  5130. * ggc-page.c (ggc_pch_write_object): Replace fseek() with fwrite() in
  5131. PCH generation, avoiding too-frequent flushes when writing to NFS
  5132. file system.
  5133. 2003-10-03 Ziemowit Laski <zlaski@apple.com>
  5134. * objc/objc-act.c (lookup_category): Mark as 'inline'.
  5135. 2003-10-03 Alexander Malmberg <alexander@malmberg.org>
  5136. Ziemowit Laski <zlaski@apple.com>
  5137. * objc/objc-act.c (add_method_to_hash_list, lookup_category):
  5138. New functions.
  5139. (lookup_method_in_hash_lists): New parameter indicating whether
  5140. we are messaging 'Class' or 'id'.
  5141. (check_duplicates): Likewise; do not assume all methods will
  5142. be either class or instance methods.
  5143. (generate_category, finish_class): Use lookup_category().
  5144. (add_method): Use add_method_to_hash_list(); insert instance
  5145. methods of root classes into the global class method hash table.
  5146. (add_category): Use lookup_category(); avoid constructing
  5147. duplicate categories.
  5148. (really_start_method): Add method to corresponding @interface,
  5149. if not already there (and if the @interface exists).
  5150. (finish_message_expr, finish_objc): Adjust calls to
  5151. check_duplicates().
  5152. 2003-10-03 Roger Sayle <roger@eyesopen.com>
  5153. PR optimization/9325, PR java/6391
  5154. * fold-const.c (fold_convert): For floating point to integer
  5155. conversions, return the maximum/minimum representable integer
  5156. value if the real constant overflows the destination type.
  5157. * tree.c (real_value_from_int_cst): Allow the type to be NULL,
  5158. meaning don't truncate the result to a floating point mode.
  5159. Simplify the logic by calling real_from_integer directly.
  5160. * simplify-rtx.c (simplify_unary_operation): Implement the
  5161. same semantics for folding floating point to integer conversions
  5162. in RTL.
  5163. 2003-10-03 Chris Demetriou <cgd@broadcom.com>
  5164. * config/mips/mips.c (mips_emit_prefetch): Restructure
  5165. to avoid use of arrays, handle indexed prefetch.
  5166. * config/mips/mips.h (ISA_HAS_FP4, ISA_HAS_PREFETCH): Update comments.
  5167. (ISA_HAS_PREFETCHX): New deffine.
  5168. * config/mips/mips.md ("type" attr): Add new "prefetchx" value,
  5169. update comments.
  5170. (prefetch_indexed_di, prefetch_indexed_si): New insns.
  5171. 2003-10-03 Jeff Sturm <jsturm@one-point.com>
  5172. Roger Sayle <roger@eyesopen.com>
  5173. PR optimization/12289
  5174. * calls.c (emit_call_1): Pretend to have popped the arguments
  5175. to noreturn and longjmp functions instead of ignoring them.
  5176. (expand_call): Don't adjust stack_pointer_dela while
  5177. inhibit_defer_pop is set.
  5178. 2003-10-03 Andreas Schwab <schwab@suse.de>
  5179. PR bootstrap/12276
  5180. * configure.in: Check for libunwind on the host only if building
  5181. a native compiler.
  5182. * configure: Regenerated.
  5183. 2003-10-03 Paolo Carlini <pcarlini@unitus.it>
  5184. * unwind-pe.h (read_encoded_value_with_base): Constify u and
  5185. its inizialization cast.
  5186. 2003-10-03 Richard Sandiford <rsandifo@redhat.com>
  5187. PR target/12485
  5188. * config/mips/mips.c (mips_load_got): GOT accesses can't trap.
  5189. 2003-10-02 Mark Mitchell <mark@codesourcery.com>
  5190. PR optimization/12180
  5191. * tree-inline.c (inline_forbidden_p_1): Do not permit inlining of
  5192. functions containing calls to __builtin_next_arg.
  5193. 2003-10-02 Chris Demetriou <cgd@broadcom.com>
  5194. * config/mips/mips.c (mips_emit_prefetch): Use operand 3
  5195. in instructions being output.
  5196. * config/mips/mips.md (prefetch_si_address): Change third
  5197. operand's constraint letter to 'I'.
  5198. (prefetch_di_address): Likewise.
  5199. (prefetch_si, prefetch_di): Set third operand to const0_rtx.
  5200. 2003-10-02 Zack Weinberg <zack@codesourcery.com>
  5201. * system.h: Poison macros obsoleted by earlier patch.
  5202. * config/cris/cris.c: C90-ify a function definition.
  5203. 2003-10-02 Josef Zlomek <zlomekj@suse.cz>
  5204. PR/12292
  5205. * combine.c (make_field_assignment): Check whether rtx's code
  5206. is CONST_INT before using INTVAL.
  5207. 2003-10-02 Josef Zlomek <zlomekj@suse.cz>
  5208. * cgraph.c (cgraph_node): Use INSERT instead of 1 in
  5209. htab_find_slot_with_hash.
  5210. (cgraph_node_for_identifier): Use NO_INSERT.
  5211. (cgraph_remove_node): Use NO_INSERT.
  5212. (cgraph_varpool_node): Use INSERT.
  5213. (cgraph_varpool_node_for_identifier): Use NO_INSERT.
  5214. 2003-10-02 Josef Zlomek <zlomekj@suse.cz>
  5215. Waldek Hebisch <hebisch@math.uni.wroc.pl>
  5216. PR/12072
  5217. * varasm.c (compare_constant): Fix thinko.
  5218. 2003-10-02 Richard Sandiford <rsandifo@redhat.com>
  5219. * config/frv/frv.c (frv_issue_rate): New function.
  5220. (frv_pack_insns): Use it.
  5221. (TARGET_SCHED_ISSUE_RATE): Define.
  5222. 2003-10-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
  5223. * config/mcore/mcore.c: Convert to ISO C90 function declarations
  5224. and definitions.
  5225. * config/mcore/mcore.h: Likewise.
  5226. * config/mcore/mcore-protos.h: Likewise.
  5227. 2003-10-02 Richard Sandiford <rsandifo@redhat.com>
  5228. * config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
  5229. (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
  5230. 2003-10-01 Per Bothner <pbothner@apple.com>
  5231. * c-lex.c (src_line): Remove unneeded static variable.
  5232. (cb_line_change): Set input_line directly, instead of src_line.
  5233. (get_non_padding_token): We no longer need to compensate for the
  5234. "horrible things" the C++ front-end does with the current line number,
  5235. * cpplib.c (_cpp_pop_buffer): Do generate a _cpp_do_file_change
  5236. callback even when popping the main file.
  5237. * c-lex.c (fe_file_change): Handle a NULL new_map.
  5238. * fix-header.c (cb_file_change): Likewise.
  5239. * c-ppoutput.c (pp_file_change): Likewise.
  5240. * cppinit.c (cpp_read_main_file): Split into two functions:
  5241. Distribute _cpp_stack_file call over the two functions.
  5242. (cpp_find_main_file): New function.
  5243. Don't call _cpp_do_file_change even if working_directory flag set.
  5244. (cpp_push_main_file): New function.
  5245. * cppfiles.c (_cpp_find_failed): New helper function.
  5246. (find_file): Made non-static and renamed to _cpp_find_file.
  5247. (_cpp_stack_file): No longer needed. But note the following.
  5248. (stack_file): Made non-static and renamed to _cpp_stack_file.
  5249. * fix-header.c (cpp_read_main_file): Replace cpp_read_main_file
  5250. call with calls to cpp_find_main_file and cpp_push_main_file.
  5251. (search_path_head): If there is no current buffer, use main_file.
  5252. * cpphash.h: Update function declarations.
  5253. * cpplib.h: Update function declarations.
  5254. * c-opts.c (c_common_post_options): Don't call cpp_find_main_file yet.
  5255. (c_common_parse_file): No longer need to call cpp_read_main_file
  5256. when file_index > 0 (as in multi-file or server compiation).
  5257. (finish_options): Change to <built-in> is an LC_ENTER, not LC_RENAME
  5258. as this now happens before cpp_push_main_file.
  5259. (push_command_line_include): When done with options, pass LC_LEAVE
  5260. instead of LC_RENAME to cpp_change_file and finally cpp_push_main_file.
  5261. (fe_file_change): Handle NULL new_map, and simplify.
  5262. * cpplex.c (_cpp_get_fresh_line): Revert my no-longer-needed
  5263. 08-28 change, since we're never called with a NULL buffer.
  5264. (_cpp_lex_direct): Likewise.
  5265. * cpptrad.c (_cpp_read_logical_line_trad): Likewise.
  5266. Return false if buffer is NULL at end.
  5267. * cpplex.c (_cpp_get_fresh_line): Return value now just depends on
  5268. whether pfile->buffer is NULL after pop, ignoring return_at_eof.
  5269. * cpphash.h (struct cpp_buffer): Remove unused return_at_eof field.
  5270. * cpplib.c (cpp_push_buffer): Since we no longer set return_at_eof,
  5271. remove the unused return_at_eof parameter.
  5272. * cppfiles.c, cpplib.c, cppmacro.c, cpppch.c, fix-header.c:
  5273. Update callers of cpp_push_buffer.
  5274. 2003-10-01 Zack Weinberg <zack@codesourcery.com>
  5275. * target.h (init_libfuncs): New hook.
  5276. * target-def.h: Default TARGET_INIT_BUILTINS and
  5277. TARGET_INIT_LIBFUNCS to hook_void_void. Add
  5278. TARGET_INIT_LIBFUNCS to TARGET_INITIALIZER.
  5279. * builtins.c (default_init_builtins): Delete.
  5280. * expr.h (default_init_builtins): Delete prototype.
  5281. * doc/tm.texi: Document TARGET_INIT_LIBFUNCS and US_SOFTWARE_GOFAST.
  5282. Tweak documentation of TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL.
  5283. Remove documentation of INIT_TARGET_OPTABS, MULSI3_LIBCALL,
  5284. DIVSI3_LIBCALL, UDIVSI3_LIBCALL, MODSI3_LIBCALL, UMODSI3_LIBCALL,
  5285. MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL, MODDI3_LIBCALL,
  5286. and UMODDI3_LIBCALL,
  5287. * Makefile.in (optabs.o): Depends on target.h.
  5288. * defaults.h: Provide default for FLOAT_LIB_COMPARE_RETURNS_BOOL.
  5289. * optabs.c: Include target.h.
  5290. (prepare_float_lib_cmp): No need for #ifdef around use of
  5291. FLOAT_LIB_COMPARE_RETURNS_BOOL.
  5292. (set_optab_libfunc): New function.
  5293. (init_optabs): Delete use of all *_LIBCALL defines.
  5294. Call targetm.init_libfuncs not INIT_TARGET_OPTABS.
  5295. * optabs.h: Prototype set_optab_libfunc.
  5296. * config.gcc: Remove all references to pa/long_double.h,
  5297. ia64/hpux_longdouble.h, and gofast.h.
  5298. (mips-*-*): When --enable-gofast, just add US_SOFTWARE_GOFAST
  5299. to tm_defines; don't set INIT_SUBTARGET_OPTABS or change tm_file.
  5300. * config/alpha/alpha.c, config/c4x/c4x.c, config/cris/cris.c
  5301. * config/frv/frv.c, config/h8300/h8300.c, config/i860/i860.c
  5302. * config/ia64/ia64.c, config/ip2k/ip2k.c, config/m68hc11/m68hc11.c
  5303. * config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
  5304. * config/sparc/sparc.c, config/vax/vax.c:
  5305. Provide a definition for TARGET_INIT_LIBFUNCS. Where
  5306. necessary, include optabs.h, libfuncs.h, and/or config/gofast.h.
  5307. * config/alpha/unicosmk.h, config/alpha/vms.h, config/c4x/c4x.h
  5308. * config/avr/avr.h, config/cris/cris.h, config/frv/frv.h
  5309. * config/h8300/h8300.h, config/i860/i860.h, config/ip2k/ip2k.h
  5310. * config/iq2000/iq2000.h, config/m68hc11/m68hc11.h, config/mips/mips.h
  5311. * config/rs6000/aix.h, config/rs6000/sysv4.h, config/sparc/elf.h
  5312. * config/sparc/lite.h, config/sparc/netbsd-elf.h, config/sparc/sol2.h
  5313. * config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h
  5314. * config/vax/elf.h: Don't define or use INIT_TARGET_OPTABS,
  5315. INIT_SUBTARGET_OPTABS, or any *_LIBCALL macros.
  5316. * config/ia64/hpux.h: Redefine INTEL_EXTENDED_IEEE_FORMAT to 0.
  5317. Set TARGET_INIT_LIBFUNCS and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
  5318. * config/pa/pa-hpux.h: Define LONG_DOUBLE_TYPE_SIZE,
  5319. HPUX_LONG_DOUBLE_LIBRARY, and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
  5320. * config/ia64/hpux_longdouble.h, config/pa/long_double.h: Delete.
  5321. * config/rs6000/xcoff.h: Don't define RS6000_ITRUNC nor RS6000_UITRUNC.
  5322. * config/sparc/sparc.h: Default SUN_CONVERSION_LIBFUNCS and
  5323. SUN_INTEGER_MULTIPLY_64 to 0.
  5324. * config/sparc/sol2.h: Redefine SUN_CONVERSION_LIBFUNCS and
  5325. SUN_INTEGER_MULTIPLY_64 to 1.
  5326. * config/sparc/elf.h: Redefine SUN_CONVERSION_LIBFUNCS and
  5327. SUN_INTEGER_MULTIPLY_64 to 0.
  5328. * config/sparc/lite.h, config/sparc/liteelf.h, config/sparc/sp86x-elf.h:
  5329. Define US_SOFTWARE_GOFAST.
  5330. * config/vax/vax.h: Default TARGET_ELF to 0.
  5331. * config/vax/elf.h: Redefine TARGET_ELF to 1.
  5332. * config/gofast.h: Don't define any macros here. Provide one
  5333. static function, gofast_maybe_init_libfuncs, which does what
  5334. INIT_GOFAST_LIBFUNCS used to do but only if US_SOFTWARE_GOFAST
  5335. is already defined. Do not clear negation libfuncs. Do
  5336. not mess with HFmode, XFmode, or TFmode libfuncs.
  5337. * config/avr/avr.c (avr_init_once): #if 0 out; mark FIXME.
  5338. 2003-10-01 Kelley Cook <kelleycook@wideopenwest.com>
  5339. PR C/12466
  5340. * c-parse.in (parmlist_2): Mark declaration with an ellipsis as ISO C.
  5341. 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  5342. * config/mips/xm-iris5.h: Remove, unnecessary.
  5343. * config.build (mips-sgi-irix5*): Remove.
  5344. (mips-sgi-irix6*o32): Likewise.
  5345. * config.gcc (mips-sgi-irix6*o32): Remove xm_file.
  5346. (mips-sgi-irix5cross64): Likewise.
  5347. (mips-sgi-irix5*): Likewise.
  5348. * config.host (mips-sgi-irix5*): Remove.
  5349. (mips-sgi-irix6*o32): Likewise.
  5350. 2003-10-01 Zack Weinberg <zack@codesourcery.com>
  5351. * dbxout.c (dbxout_fptype_value): Delete.
  5352. (dbxout_type): Emit R3 for all COMPLEX_TYPEs.
  5353. 2003-10-01 Alexandre Oliva <aoliva@redhat.com>
  5354. * output.h (compute_reloc_for_constant): Declare.
  5355. * varasm.c (compute_reloc_for_constant): Extract from...
  5356. (output_addressed_constants): ... here. Adjust all callers.
  5357. 2003-10-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  5358. * aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.
  5359. * configure: Rebuilt.
  5360. 2003-10-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  5361. * fold-const.c (make_range): When handling unsigned, don't reverse
  5362. range if high bound is zero.
  5363. 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
  5364. * config/frv/frv.h (PREDICATE_CODES): Added
  5365. condexec_si_media_operator, condexec_sf_add_operator and
  5366. condexec_sf_conv_operator. Removed condexec_sf_binary_operator
  5367. and condexec_sf_unary_operator.
  5368. 2003-10-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  5369. * aclocal.m4: Add ultrix* to /dev/zero blacklist.
  5370. * configure: Rebuilt.
  5371. 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  5372. * except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
  5373. Allow override.
  5374. * doc/tm.texi (MUST_USE_SJLJ_EXCEPTIONS): Document.
  5375. 2003-09-23 David S. Miller <davem@redhat.com>
  5376. * config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine
  5377. before redefining.
  5378. * config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
  5379. 2003-10-01 Steven Bosscher <steven@gcc.gnu.org>
  5380. * config/cris/cris-protos.h, config/cris/cris.c: Convert to ISO
  5381. C90 function declarations and definitions.
  5382. 2003-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
  5383. * config.gcc (cris-*-linux*): Revert mistaken commit.
  5384. 2003-10-01 Eric Botcazou <ebotcazou@libertysurf.fr>
  5385. PR optimization/11753
  5386. * config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
  5387. the length in the non-V9 case.
  5388. 2003-09-30 Richard Henderson <rth@redhat.com>
  5389. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
  5390. DWARF_ALT_FRAME_RETURN_COLUMN.
  5391. * unwind-dw2.c (dwarf_reg_size_table): Expand by one.
  5392. (_Unwind_GetGR, _Unwind_SetGR): Validate lookup column.
  5393. (uw_frame_state_for): Return end-of-stack for null return address.
  5394. * doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Add.
  5395. * config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return.
  5396. (alpha_expand_prologue): Store a zero for it.
  5397. (alpha_expand_epilogue): Don't reload it.
  5398. * config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New.
  5399. * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64
  5400. for the sigframe return address.
  5401. 2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
  5402. * sdbout.c: Convert to ISO C90 prototypes.
  5403. * objc/objc-act.c: Likewise.
  5404. 2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
  5405. * config/i386/cygwin1.c: Convert to ISO C90 prototypes.
  5406. * config/i386/winnt.c: Likewise.
  5407. * config/i386/cygming.h: Likewise.
  5408. 2003-09-30 Kazu Hirata <kazu@cs.umass.edu>
  5409. * fold-const.c (fold): Fold (A & ~B) - (A & B) into
  5410. (A ^ B) - B for any B.
  5411. 2003-09-30 Nathanael Nerode <neroden@gcc.gnu.org>
  5412. * config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
  5413. powerpcle-*-kaos*, strongarm-*-kaos*): Disable fixproto.
  5414. 2003-09-30 Richard Earnshaw <rearnsha@arm.com>
  5415. * arm/ieee754-sf.S: Tidy formatting.
  5416. 2003-09-30 Nicolas Pitre <nico@cam.org>
  5417. * arm/lib1funcs.asm (ARM_DIV_MOD_BODY): Split into ARM_DIV_BODY
  5418. and ARM_MOD_BODY.
  5419. (ARM_MOD_BODY): Rewritten. added clz insns for __ARM_ARCH__ >= 5.
  5420. (ARM_DIV_BODY): Added clz insns for __ARM_ARCH__ >= 5,
  5421. added better divisor alignment in the other case.
  5422. (ARM_DIV2_ORDER): Added, finds the order of a single bit divisor.
  5423. (__divsi3, __udivsi3, __modsi3, __umodsi3): rewritten using the
  5424. macros above, add fast exits for divisor >= dividend, etc.
  5425. 2003-09-30 Nicolas Pitre <nico@cam.org>
  5426. * arm/ieee754-df.S: Split compilation of fixunsdfsi from
  5427. L_fixdfsi target.
  5428. * arm/t-arm-elf (LIB1ASMFUNCS): Add _fixunsdfsi.
  5429. 2003-09-30 Nathanael Nerode <neroden@gcc.gnu.org>
  5430. * config.gcc: Default use_fixproto to 'no'.
  5431. 2003-09-30 Richard Sandiford <rsandifo@redhat.com>
  5432. PR optimization/12345
  5433. * config/mips/mips-protos.h (mips_restore_gp): Remove.
  5434. (mips_gp_save_slot): Declare.
  5435. * config/mips/mips.c (mips_restore_gp): Remove in favor of...
  5436. (mips_gp_save_slot): ...this new function.
  5437. * config/mips/mips.md (exception_receiver): Use mips_gp_save_slot
  5438. and mips_output_move to generate the output template.
  5439. (call_internal): Force splitting if TARGET_SPLIT_CALLS. Don't emit
  5440. a gp load after a noreturn call. Load the gp using a move rather
  5441. than an exception_receiver pattern.
  5442. (call_value_internal, call_value_multiple_internal): Likewise.
  5443. (call_split, call_value_split, call_value_multiple_split): Clobber $28.
  5444. 2003-09-30 Carlo Wood <carlo@alinoe.com>
  5445. PR debug/12319
  5446. * cfglayout.c (insn_scope): Use prologue_locator and
  5447. epilogue_locator; return the outer function scope for
  5448. pro- and epilogue insns.
  5449. 2003-09-29 Zack Weinberg <zack@codesourcery.com>
  5450. * objc/objc-act.c (encode_type): Encode INTEGER_TYPEs and
  5451. REAL_TYPEs based on the bitsize of the type's mode, not the
  5452. mode directly.
  5453. 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  5454. * dwarf2out.c (default_eh_frame_section): Split into ...
  5455. (named_section_eh_frame_section, collect2_eh_frame_section): ... new
  5456. functions.
  5457. * output.h (named_section_eh_frame_section): Declare.
  5458. (collect2_eh_frame_section): Likewise.
  5459. 2003-09-29 Zack Weinberg <zack@codesourcery.com>
  5460. * real.c (real_sqrt): Use get_canonical_qnan directly.
  5461. * dwarf2out.c (add_const_value_attribute): Use real_to_target.
  5462. * varasm.c (assemble_real): Use real_to_target directly,
  5463. calculate the number of significant elements of the result
  5464. array and write them out in a loop, instead of using a giant
  5465. switch statement to pick the correct REAL_VALUE_TO_TARGET_*
  5466. macro.
  5467. 2003-09-29 Jan Hubicka <jh@suse.cz>
  5468. PR c++/12175
  5469. * varasm.c (notice_global_symbol): Discard external symbols.
  5470. PR optimization/12286
  5471. * gcov-io.c (gcov_read_words): Fix memmove call.
  5472. * profile.c (compute_branch_probabilities): Add extra sanity checks.
  5473. 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  5474. * config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like
  5475. Solaris 7-9.
  5476. * fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by
  5477. wildcards which explicitly match micro versions.
  5478. * fixinc/fixincl.x: Regenerate.
  5479. 2003-09-29 Kazu Hirata <kazu@cs.umass.edu>
  5480. * fold-const.c (fold): Fold (A & ~B) - (A & B) into
  5481. (A ^ B) - B, where B is any power of 2 minus 1.
  5482. 2003-09-29 Jan Hubicka <jh@suse.cz>
  5483. * libgcov.c (gcov_exit): Fix two pastos.
  5484. 2003-09-29 Kazu Hirata <kazu@cs.umass.edu>
  5485. * config/h8300/h8300.md (*tst_extzv_1_n): Combine with the
  5486. define_split immediately below to form define_insn_and_split.
  5487. 2003-09-29 Kazu Hirata <kazu@cs.umass.edu>
  5488. * config/h8300/h8300.md (*tstsi_variable_bit): New.
  5489. (*tstsi_variable_bit_qi): Likewise.
  5490. 2003-09-28 Phil Edwards <phil@codesourcery.com>
  5491. * doc/cppopts.texi: Use 'dashMP' instead of '-MP' as a cross-
  5492. reference name.
  5493. 2003-09-28 Richard Henderson <rth@redhat.com>
  5494. * c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
  5495. file and line separately.
  5496. 2003-09-28 Ulrich Weigand <uweigand@de.ibm.com>
  5497. * config/s390/s390.md ("*adddi3_carry1_cc", "*adddi3_carry1_cconly",
  5498. "*adddi3_carry2_cc", "*adddi3_carry2_cconly", "*subdi3_borrow_cc",
  5499. "*subdi3_borrow_cconly"): New insns.
  5500. ("*addsi3_sub", "*subsi3_sub"): Remove.
  5501. ("*subdi3_cc", *subdi3_cconly"): Use only if TARGET_64BIT.
  5502. ("*subsi3_cc"): Fix op_type attribute.
  5503. 2003-09-28 Richard Henderson <rth@redhat.com>
  5504. * stmt.c (expand_asm_operands): Take a location_t, instead of
  5505. individual file and line.
  5506. * c-typeck.c (c_expand_asm_operands): Likewise.
  5507. * tree.h (expand_asm_operands): Update decl.
  5508. * c-common.h (c_expand_asm_operands): Likewise.
  5509. * c-semantics (genrtl_asm_stmt): Update call.
  5510. 2003-09-28 Philip Blundell <philb@gnu.org>
  5511. * config/arm/arm.c (legitimize_pic_address): Check
  5512. SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P.
  5513. (arm_assemble_integer): Likewise.
  5514. 2003-09-28 Steven Bosscher <steven@gcc.gnu.org>
  5515. * config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c,
  5516. config/c4x/c4x-c.c, config/c4x/c4x-protos.h, config/c4x/c4x.c,
  5517. config/c4x/c4x.h:
  5518. Convert to ISO C90 function declarations and definitions.
  5519. 2003-09-28 Steven Bosscher <steven@gcc.gnu.org>
  5520. * config/stormy16/stormy16.c, config/stormy16/stormy16-protos.h:
  5521. Convert to ISO C90 function declarations and definitions.
  5522. 2003-09-28 Richard Sandiford <rsandifo@redhat.com>
  5523. * config/mips/mips.c (mips_constant_info): Add reloc field.
  5524. (mips_classify_constant): Initialize it. Always set SYMBOL to the
  5525. underlying symbol, not to an unspec.
  5526. (mips_delegitimize_address, print_operand): Clean up accordingly.
  5527. 2003-09-28 Richard Sandiford <rsandifo@redhat.com>
  5528. * config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove.
  5529. * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Remove orphaned comment.
  5530. * config/mips/mips.c (mips_reloc_offset_ok_p): New function.
  5531. (mips_classify_constant): Use it.
  5532. (mips_splittable_symbol_p): Add an offset argument.
  5533. (mips_classify_address): Adjust call accordingly.
  5534. (mips_legitimize_symbol): Handle sdata references with LO_SUM rather
  5535. than a relocation unspec. Update call to mips_splittable_symbol_p.
  5536. Generalize the code that copes with symbols + invalid offsets.
  5537. (print_operand): Allow '%R' to be applied to small data addresses.
  5538. (mips_reloc_string): Remove RELOC_GPREL16.
  5539. (mips_sdata_pointer): Renamed from mips16_gp_pseudo_reg. Return $gp
  5540. for TARGET_EXPLICIT_RELOCS. Return null if we can't use gp-relative
  5541. relocation operators.
  5542. * config/mips/mips.md (RELOC_GPREL16): Remove. Shuffle other reloc
  5543. constants accordingly.
  5544. 2003-09-27 Roger Sayle <roger@eyesopen.com>
  5545. * toplev.c (flag_evaluation_order): New global variable.
  5546. * flags.h (flag_evaluation_order): Prototype here.
  5547. * expr.c (expand_operands): If we need to preserve observable
  5548. evaluation order, protect exp1 from clobbering exp0's result.
  5549. 2003-09-28 Andreas Jaeger <aj@suse.de>
  5550. * c-decl.c (finish_function): Convert definition to ISO C90.
  5551. * ifcvt.c (mark_loop_exit_edges): Likewise.
  5552. * ra-rewrite.c (emit_colors): Likewise.
  5553. 2003-09-27 Nathanael Nerode <neroden@gcc.gnu.org>
  5554. * config.gcc (alpha*-dec-osf[45]*): Disable fixproto.
  5555. * config.gcc (arm*-*-uclinux*): Disable fixproto.
  5556. * config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
  5557. powerpc-*-eabialtivec*): Disable fixproto.
  5558. 2003-09-27 Eric Botcazou <ebotcazou@libertysurf.fr>
  5559. PR optimization/12340
  5560. * loop.h (struct induction): Document the new semantics
  5561. of the 'same' field for bivs.
  5562. * unroll.c (biv_total_increment): Don't count the same
  5563. biv increment several times.
  5564. (loop_iterations) [GENERAL_INDUCT]: Likewise.
  5565. 2003-09-27 Graham Stott <graham.stott@btinternet.com>
  5566. * unroll.c (loop_interations)[GT]: Add missing break.
  5567. 2003-09-27 Kelley Cook <kcook@gcc.gnu.org>
  5568. * config/chorus.h, config/darwin-c.c, config/darwin-protos.h,
  5569. config/darwin.c, config/darwin.h, config/dbx.h, config/dbxcoff.h,
  5570. config/dbxelf.h, config/elfos.h, config/fp-bit.h,
  5571. config/freebsd-nthr.h, config/freebsd-spec.h, config/freebsd.h,
  5572. config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
  5573. config/freebsd6.h, config/netbsd-aout.h, config/netbsd-elf.h,
  5574. config/netbsd.h, config/netware.h, config/openbsd-oldgas.h,
  5575. config/openbsd.h, config/ptx4.h, config/alpha/alpha-protos.h,
  5576. config/alpha/alpha.c, config/alpha/alpha.h, config/alpha/alpha.md,
  5577. config/alpha/elf.h, config/alpha/ev4.md, config/alpha/ev5.md,
  5578. config/alpha/ev6.md, config/alpha/freebsd.h, config/alpha/linux-elf.h,
  5579. config/alpha/linux.h, config/alpha/netbsd.h, config/alpha/openbsd.h,
  5580. config/alpha/osf.h, config/alpha/osf5.h, config/alpha/unicosmk.h,
  5581. config/alpha/vms-cc.c, config/alpha/vms-crt0-64.c,
  5582. config/alpha/vms-crt0.c, config/alpha/vms-dwarf2.asm,
  5583. config/alpha/vms-dwarf2eh.asm, config/alpha/vms-ld.c,
  5584. config/alpha/vms-psxcrt0-64.c, config/alpha/vms-psxcrt0.c,
  5585. config/alpha/vms.h, config/alpha/vms64.h, config/alpha/vms_tramp.asm,
  5586. config/alpha/xm-vms.h, config/arc/arc-modes.def,
  5587. config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
  5588. config/arc/arc.md, config/arc/initfini.c, config/arc/lib1funcs.asm,
  5589. config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
  5590. config/avr/avr.md, config/d30v/d30v-protos.h, config/d30v/d30v.h,
  5591. config/d30v/d30v.md, config/fr30/fr30-protos.h, config/fr30/fr30.c,
  5592. config/fr30/fr30.h, config/fr30/fr30.md, config/fr30/lib1funcs.asm,
  5593. config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
  5594. config/frv/frv-abi.h, config/frv/frv-asm.h, config/frv/frv-modes.def,
  5595. config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
  5596. config/frv/frv.md, config/frv/frvbegin.c, config/frv/frvend.c,
  5597. config/frv/lib1funcs.asm, config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
  5598. config/h8300/parityhi2.c, config/h8300/popcounthi2.c,
  5599. config/i370/i370-c.c, config/i370/i370-protos.h, config/i370/i370.c,
  5600. config/i370/i370.h, config/i370/i370.md, config/i370/linux.h,
  5601. config/i370/mvs.h, config/i370/oe.h, config/i386/darwin.h,
  5602. config/i960/i960-c.c, config/i960/i960-coff.h,
  5603. config/i960/i960-modes.def, config/i960/i960-protos.h,
  5604. config/i960/i960.c, config/i960/i960.h, config/i960/i960.md,
  5605. config/i960/rtems.h, config/ia64/elf.h, config/ia64/ia64.h,
  5606. config/m32r/initfini.c, config/m32r/m32r-protos.h, config/m32r/m32r.c,
  5607. config/m32r/m32r.h, config/m32r/m32r.md, config/m68hc11/larith.asm,
  5608. config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
  5609. config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md,
  5610. config/m68hc11/m68hc12.h, config/m68k/coff.h, config/m68k/crti.s,
  5611. config/m68k/crtn.s, config/m68k/hp320.h, config/m68k/hp320base.h,
  5612. config/m68k/lb1sf68.asm, config/m68k/linux.h, config/m68k/m68020-elf.h,
  5613. config/m68k/m68k-aout.h, config/m68k/m68k-none.h,
  5614. config/m68k/m68k-protos.h, config/m68k/m68k.c, config/m68k/m68k.h,
  5615. config/m68k/m68k.md, config/m68k/m68kelf.h, config/m68k/m68kv4.h,
  5616. config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
  5617. config/m68k/rtemself.h, config/m68k/sgs.h, config/mcore/lib1.asm,
  5618. config/mcore/mcore-elf.h, config/mcore/mcore-pe.h,
  5619. config/mcore/mcore-protos.h, config/mcore/mcore.c,
  5620. config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h,
  5621. config/mips/elforion.h, config/mips/iris5.h, config/mips/iris6.h,
  5622. config/mips/iris6gld.h, config/mips/irix6-libc-compat.c,
  5623. config/mips/linux.h, config/mips/mips-protos.h, config/mips/mips.c,
  5624. config/mips/mips.h, config/mips/mips.md, config/mips/netbsd.h,
  5625. config/mips/openbsd.h, config/mips/r3900.h, config/mips/rtems.h,
  5626. config/mips/vr.h, config/mn10300/linux.h,
  5627. config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
  5628. config/mn10300/mn10300.h, config/mn10300/mn10300.md,
  5629. config/ns32k/__unorddf2.c, config/ns32k/__unordsf2.c,
  5630. config/ns32k/netbsd.h, config/ns32k/ns32k-protos.h,
  5631. config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/ns32k/ns32k.md,
  5632. config/pdp11/2bsd.h, config/pdp11/pdp11-modes.def,
  5633. config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c,
  5634. config/pdp11/pdp11.h, config/pdp11/pdp11.md, config/rs6000/biarch64.h,
  5635. config/rs6000/default64.h, config/sh/coff.h, config/sh/crt1.asm,
  5636. config/sh/crti.asm, config/sh/crtn.asm, config/sh/elf.h,
  5637. config/sh/embed-elf.h, config/sh/linux.h, config/sh/little.h,
  5638. config/sh/netbsd-elf.h, config/sh/rtems.h, config/sh/rtemself.h,
  5639. config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
  5640. config/sh/sh.md, config/sh/sh64.h, config/sh/shmedia.h,
  5641. config/sh/sshmedia.h, config/sh/ushmedia.h, config/sparc/pbd.h,
  5642. config/sparc/sparc.h, doc/install-old.texi, fixinc/fixinc.ptx,
  5643. fixinc/fixinc.svr4: GNU CC -> GCC.
  5644. 2003-09-26 Loren James Rittle <ljrittle@acm.org>
  5645. * objc/objc-act.c (tm_p.h): Tweak order.
  5646. * objc/Make-lang.in (objc/objc-act.o): Add $(TM_P_H).
  5647. 2003-09-26 Nathanael Nerode <neroden@gcc.gnu.org>
  5648. * config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*):
  5649. Include t-slibgcc-elf-ver and t-linux in tmake_file.
  5650. * config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*):
  5651. Disable fixproto.
  5652. * config.gcc (i960-*-coff*, m68k-*-aout*, sparclite-*-coff*):
  5653. Disable fixproto.
  5654. * config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*,
  5655. sparcv9-*-solaris2*, sparc-*-solaris2*): Disable fixproto.
  5656. * config/i386/unix.h: Remove (unused) DEFAULT_ASSEMBLER_DIALECT.
  5657. 2003-09-26 Loren James Rittle <ljrittle@acm.org>
  5658. * config/i386/i386.h (ix86_return_in_memory): Revert my last patch.
  5659. * objc/objc-act.c (tm_p.h): Include.
  5660. 2003-09-26 Per Bothner <pbothner@apple.com>
  5661. * dbxout.c (dbxout_typedefs): Output typedefs in forward order.
  5662. No longer any need to reverse by recursion.
  5663. 2003-09-26 Roger Sayle <roger@eyesopen.com>
  5664. Richard Henderson <rth@redhat.com>
  5665. PR optimization/11741
  5666. * gcse.c (pre_insert_copy_insn): Tweak the logic for finding the
  5667. appropriate set to match that in hash_scan_insn. Fall back to
  5668. the original copy method, if we can't validate changing insn.
  5669. (pre_delete): Only delete instructions that have a single_set,
  5670. instead of aborting when we encounter an PARALLEL insn with more
  5671. then one SET.
  5672. 2003-09-26 Andreas Krebbel <krebbel1@de.ibm.com>
  5673. * config/s390/s390.md ("builtin_setjmp_setup"): Insn deleted.
  5674. ("builtin_longjmp"): Insn deleted.
  5675. ("save_stack_nonlocal"): Save literal pool base pointer behind
  5676. backchain and stack pointer.
  5677. ("restore_stack_nonlocal"): Restore literal pool base pointer.
  5678. * config/s390/s390.h (STACK_SAVEAREA_MODE): Double size of
  5679. the stack save area for the nonlocal goto case.
  5680. 2003-09-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  5681. PR bootstrap/12358
  5682. * pa.c (output_bvb): Fix typo.
  5683. 2003-09-26 Richard Sandiford <rsandifo@redhat.com>
  5684. * expmed.c (store_bit_field): Don't search for an integer mode
  5685. unless we need the result.
  5686. 2003-09-26 Richard Sandiford <rsandifo@redhat.com>
  5687. * expr.c (emit_move_insn_1): If there is no move pattern for the
  5688. original mode, try using a pattern for the corresponding integer mode.
  5689. 2003-09-26 Richard Sandiford <rsandifo@redhat.com>
  5690. PR middle-end/9200
  5691. * combine.c (if_then_else_cond): Tighten mode check.
  5692. 2003-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
  5693. * cppcharset.c, cpphash.h: Rename 'struct strbuf' to
  5694. 'struct _cpp_strbuf'.
  5695. * config/i386/netbsd-elf.h, config/i386/netbsd64.h,
  5696. config/i386/netware.h, config/i386/nto.h, config/i386/openbsd.h,
  5697. config/i386/pentium.md, config/i386/pmmintrin.h, config/i386/ppro.md,
  5698. config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h,
  5699. config/i386/sol2.h, config/i386/svr3gas.h, config/i386/sysv3.h,
  5700. config/i386/sysv4-cpp.h, config/i386/sysv4.h, config/i386/sysv5.h,
  5701. config/i386/unix.h, config/i386/uwin.h, config/i386/vsta.h,
  5702. config/i386/xm-cygwin.h, config/i386/xm-djgpp.h,
  5703. config/i386/xm-mingw32.h, config/i386/xmmintrin.h: Replace
  5704. "GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".
  5705. * config/i386/i386-aout.h, config/i386/i386-coff.h,
  5706. config/i386/i386-interix.h, config/i386/i386-interix3.h,
  5707. config/i386/i386-modes.def, config/i386/i386-protos.h,
  5708. config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
  5709. config/i386/i386elf.h, config/i386/k6.md, config/i386/kaos-i386.h,
  5710. config/i386/linux-aout.h, config/i386/linux.h, config/i386/linux64.h,
  5711. config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
  5712. config/i386/mmintrin.h, config/i386/moss.h: GNU CC -> GCC.
  5713. "GNU compiler" -> GCC.
  5714. * config/i386/att.h, config/i386/beos-elf.h, config/i386/biarch64.h,
  5715. config/i386/bsd.h, config/i386/crtdll.h, config/i386/cygming.h,
  5716. config/i386/cygwin.h, config/i386/cygwin1.c, config/i386/cygwin2.c,
  5717. config/i386/darwin.h, config/i386/djgpp.h, config/i386/emmintrin.h,
  5718. config/i386/freebsd-aout.h, config/i386/freebsd.h,
  5719. config/i386/freebsd64.h, config/i386/gas.h: GNU CC -> GCC.
  5720. 2003-09-25 Kelley Cook <kelleycook@wideopenwest.com>
  5721. * cgraph.c (dump_cgraph): Don't output newline before dump. Add in
  5722. "local" to the callgraph dump. Output "after inlining" earlier.
  5723. * cgraphunit.c: Fix dumpfile whitespace and commonize headers of the
  5724. callgraph dumps. Correct misspellings.
  5725. (cgraph_decide_inlining): Output number of insns before inlining.
  5726. Output the calling function into which a function is inlined.
  5727. (cgraph_decide_small_functions): Format dump file like always_inline.
  5728. 2003-09-25 Loren James Rittle <ljrittle@acm.org>
  5729. * config/i386/i386.h (ix86_return_in_memory): Add prototype.
  5730. 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
  5731. * config/s390/s390.c (s390_emit_prologue): Simplify accesses to
  5732. FPR slots in the save area.
  5733. (s390_emit_epilogue): Likewise.
  5734. 2003-09-25 Richard Sandiford <rsandifo@redhat.com>
  5735. * cgraph.h (cgraph_remove_edge): Declare.
  5736. * cgraph.c (cgraph_remove_edge): Make extern.
  5737. * cgraphunit.c (cgraph_finalize_function): Call cgraph_remove_edge
  5738. instead of cgraph_remove_call.
  5739. 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
  5740. * objc/objc-act.c (gen_declaration_1): Fix printf format.
  5741. 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
  5742. * arm.c (all_cores): arm710t, arm720t and arm740t are all based on the
  5743. arm7tdmi core.
  5744. 2003-09-25 Ziemowit Laski <zlaski@apple.com>
  5745. * config/darwin-protos.h (objc_image_info_section):
  5746. New prototype.
  5747. 2003-09-25 Ziemowit Laski <zlaski@apple.com>
  5748. * Makefile.in (stub-objc.o): Depend on $(GGC_H).
  5749. 2003-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
  5750. * config.gcc: Get rid of more gratuitious 'x'es. Actually allow
  5751. tsc701 as a --with-cpu, --with-tune setting for sparc.
  5752. 2003-09-25 Ziemowit Laski <zlaski@apple.com>
  5753. * c-parse.in (objc_try_stmt): Do not specify a %type.
  5754. 2003-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
  5755. * config.gcc: New 'widely ported system' clause for rtems.
  5756. Set thread file there, not in individual clauses.
  5757. 2003-09-25 Richard Sandiford <rsandifo@redhat.com>
  5758. PR target/6222
  5759. * config/mips/mips.c (mips_va_arg): Handle arguments that must be
  5760. passed on the stack.
  5761. 2003-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
  5762. * config.gcc (widely ported systems section): Mostly alphabetize
  5763. by system. Comment the case where we can't.
  5764. * config.gcc (widely ported systems section): Reindent and clean up.
  5765. * config.gcc: Remove some unnecessary uses of 'x' in case statements.
  5766. Actually allow ep9312 as an arm --with-arch setting.
  5767. * config.gcc (*-hpux11): Disable fixproto.
  5768. 2003-09-24 Phil Edwards <phil@codesourcery.com>
  5769. PR pch/12112
  5770. * gcc/cppfiles.c (pch_open_file): Return based on combined
  5771. result of all files.
  5772. (validate_pch): Return validate flag for current file.
  5773. 2003-09-24 Roger Sayle <roger@eyesopen.com>
  5774. PR bootstrap/12358
  5775. * fold-const.c (tree_swap_operands_p): Only reorder operands when
  5776. one of the operands is constant.
  5777. 2003-09-24 Ziemowit Laski <zlaski@apple.com>
  5778. MERGE OF objc-improvements-branch into MAINLINE:
  5779. * Makefile.in (C_OBJS): Add in stub-objc.o.
  5780. (c-parse.y): Change sed demarcations to begin with '@@'.
  5781. (stub-objc.o): New rule.
  5782. * c-common.c (flag_nil_receivers, flag_objc_exceptions, flag_zero_link,
  5783. flag_replace_objc_classes): New flags.
  5784. * c-common.h (RID_AT_THROW, RID_AT_TRY, RID_AT_CATCH, RID_AT_FINALLY,
  5785. RID_AT_SYNCHRONIZED): New keywords.
  5786. (flag_nil_receivers, flag_objc_exceptions, flag_zero_link,
  5787. flag_replace_objc_classes): New flags.
  5788. (lookup_interface, is_class_name, objc_is_object_ptr, objc_check_decl,
  5789. objc_comptypes, objc_message_selector, lookup_objc_ivar,
  5790. get_current_scope, objc_mark_locals_volatile): New prototypes,
  5791. some moved from c-tree.h.
  5792. * c-decl.c (get_current_scope, objc_mark_locals_volatile): New functions.
  5793. (finish_decl): Adjust where objc_check_decl() gets called.
  5794. * c-lang.c (lookup_interface, is_class_name, objc_is_id, objc_check_decl,
  5795. objc_comptypes, objc_message_selector, lookup_objc_ivar): Remove stubs.
  5796. * c-opts.c (c_common_handle_option): Add handling for flag_nil_receivers,
  5797. flag_objc_exceptions, flag_replace_objc_classes and flag_zero_link.
  5798. * c-parse.in: Replace 'ifc' and 'end ifc' sed markers with '@@ifc' and
  5799. '@@end_ifc', respectively.
  5800. (AT_THROW, AT_TRY, AT_CATCH, AT_FINALLY, AT_SYNCHRONIZED): New %tokens.
  5801. (objc_try_stmt, superclass, class_ivars, objc_try_catch-stmt,
  5802. objc_finally_block): New rules.
  5803. (component_decl_list2): Clean up semantic action for @defs construct.
  5804. (component_decl, c99_block_start): Remove call to add_objc_decls().
  5805. (poplevel): Add call to objc_clear_super_receiver().
  5806. (stmt): Add rules for @throw, @try..@catch..@finally and @synchronized
  5807. constructs.
  5808. (classdef, methodprotolist): Clean up/simplify.
  5809. (methodprotolist2): Eliminate.
  5810. (methodproto): Call add_method() instead of add_class_method() and
  5811. add_instance_method().
  5812. (receiver): Add TYPENAME production.
  5813. (reswords): Add "throw", "try", "catch", "finally" and "synchronized".
  5814. (rid_to_yy): Add AT_THROW, AT_TRY, AT_CATCH, AT_FINALLY and
  5815. AT_SYNCHRONIZED.
  5816. * c-tree.h (lookup_interface, is_class_name, objc_is_id, objc_check_decl,
  5817. objc_comptypes, objc_message_selector)
  5818. * c-typeck.c (comptypes): In ObjC mode, call objc_comptypes() for
  5819. struct and pointer types.
  5820. (build_c_cast): Do not discard ObjC protocol qualifiers.
  5821. (convert_for_assignment): Cache result of comp_target_types() instead
  5822. of calling it more than once.
  5823. * c.opt (fnext-runtime): Update description string.
  5824. (fnil-receivers, fobjc-exceptions, freplace-objc-classes, fzero-link):
  5825. New ObjC/ObjC++-specific flags.
  5826. * function.h (GCC_FUNCTION_H): Header guard.
  5827. * gengtype-lex.l: Teach lexer about new @@... sed demarcations.
  5828. * stub-objc.c: New file, to be used to satisfy references to ObjC
  5829. functions by the C and C++ front-ends.
  5830. * config/darwin.c (_OBJC_IMAGE_INFO): New global metadata.
  5831. * config/darwin.h (FUNCTION): Add in_objc_image_info.
  5832. (SECTION_FUNCTION): Add objc_image_info_section.
  5833. * doc/invoke.texi: Link to GCC web site for Objective-C information.
  5834. (-fconstant-string-class): Update documentation.
  5835. (-fno-nil-receivers, -fobjc-exceptions, -freplace-objc-classes,
  5836. -fzero-link): New documentation.
  5837. * objc/Make-lang.in (objc-parse.y): Change sed demarcations to begin
  5838. with '@@'.
  5839. * objc/lang-specs.h (@objective-c-header): Fix -E spec.
  5840. * objc/objc/objc-act.c: Replace TYPE_NAME with OBJC_TYPE_NAME
  5841. throughout; provide casts for return values from memory allocation
  5842. functions (xmalloc, alloca, ggc_alloc, etc.).
  5843. (OBJC_VOID_AT_END): New macro.
  5844. (rtl.h): Do not #include any more.
  5845. (STRING_OBJECT_GLOBAL_NAME): Replaced with STRING_OBJECT_GLOBAL_FORMAT.
  5846. (TAG_MSGSEND_STRET, TAG_MSGSENDSUPER_STRET, TAG_MSGSEND_NONNIL,
  5847. TAG_MSGSEND_NONNIL_STRET, TAG_EXCEPTIONEXTRACT, TAG_EXCEPTIONTRYENTER,
  5848. TAG_EXCEPTIONTRYEXIT, TAG_EXCEPTIONMATCH, TAG_EXCEPTIONTHROW,
  5849. TAG_SYNCENTER, TAG_SYNCEXIT): New NeXT runtime entry points.
  5850. (struct val_stack, catch_count_stack, exc_binding_stack, val_stack_push,
  5851. val_stack_pop): New.
  5852. (objc_check_decl): Fix precondition for error message, along with
  5853. the message itself.
  5854. (lookup_and_install_protocols): Remove nonexistent protocols from
  5855. protocol list instead of returning error_mark_node.
  5856. (create_builtin_decl): Use DECL_ARTIFICIAL only for VAR_DECLs.
  5857. (setup_string_decl): Generalize to use STRING_OBJECT_GLOBAL_FORMAT.
  5858. (synth_module_prologue): General clean-up; construct NeXT-specific
  5859. runtime API prototypes if needed.
  5860. (build_string_class_template): Remove.
  5861. (check_string_class_template, string_layout_checked): New.
  5862. (build_objc_string_object): Generalize to work with
  5863. -fconstant-string-class.
  5864. (build_objc_symtab_template): Fix layout for the NeXT runtime.
  5865. (build_metadata_decl): New.
  5866. (forward_declare_categories): Call build_metadata_decl() instead of
  5867. create_builtin_decl() et al.
  5868. (build_module_descriptor): Use OBJC_VOID_AT_END instead of
  5869. void_list_node_1.
  5870. (build_selector_reference_decl, build_class_reference_decl,
  5871. build_objc_string_decl): Do not set TREE_READONLY.
  5872. (get_proto_encoding): Do not call hack_method_prototype().
  5873. (get_class_reference): Add failure mode for invalid class names;
  5874. support -fzero-link; defer if in an ObjC++ template declaration.
  5875. (objc_declare_alias, objc_declare_class): Fix up duplicate name
  5876. lookup; check for global scope if in ObjC++.
  5877. (is_class_name): Generalize to work with various tree nodes (TYPE_DECL,
  5878. RECORD_TYPE, IDENTIFIER_NODE, etc.)
  5879. (objc_is_id): Removed.
  5880. (objc_is_object_ptr): New function.
  5881. (get_class_ivars_from_name): New function, used for @defs construct.
  5882. (get_class_ivars): Add option to return raw ivars; create a
  5883. ClASS_OWN_IVARS list for each class as needed.
  5884. (objc_enter_block, objc_exit_block, objc_declare_variable,
  5885. objc_build_throw_stmt, val_stack_push, val_stack_pop,
  5886. objc_build_try_enter_fragment, objc_build_extract_expr,
  5887. objc_build_try_exit_fragment, objc_build_extract_fragment,
  5888. objc_build_try_prologue, objc_build_try_epilogue,
  5889. objc_build_catch_stmt, objc_build_catch_epilogue,
  5890. objc_build_finally_prologue, objc_build_finally_epilogue,
  5891. objc_build_try_catch_finally_stmt, objc_build_synchronized_prologue,
  5892. objc_build_synchronized_epilogue, build_objc_exception_stuff):
  5893. New functions.
  5894. (_JBLEN): _setjmp jmpbuf size (needs to be made a target hook in
  5895. the future).
  5896. (build_private_template): Fix up calls to get_class_ivars().
  5897. (offset_is_register, forwarding_offset): Remove.
  5898. (objc_method_parm_type, objc_encoded_type_size): New functions.
  5899. (encode_method_prototype): Simplify to no longer depend on
  5900. back-end information.
  5901. (build_tmp_function_decl_xxx, build_tmp_function_decl,
  5902. hack_method_prototype): Removed.
  5903. (generate_protocol_references): Remove calls to
  5904. build_tmp_function_decl().
  5905. (generate_protocols): Adjust calls to encode_method_prototype().
  5906. (build_class_template): Generate sel_id' and 'gc_object_type' fields
  5907. for the NeXT runtime.
  5908. (synth_forward_declarations): Call build_metadata_decl().
  5909. (check_ivars): Check that the number of ivars matches also.
  5910. (build_super_template): Modify super_type directly; disable debugging
  5911. output while generating decl.
  5912. (build_ivar_list_initializer): Skip list elements that are not
  5913. FIELD_DECLs.
  5914. (ivar_list_length): New function.
  5915. (generate_ivar_lists): Call ivar_list_length() instead of list_length()
  5916. and encode_method_prototype() instead of encode_method_def().
  5917. (build_shared_structure_initializer): Generate 'sel_id' field for
  5918. the NeXT runtime.
  5919. (generate_category): Do not set TREE_USED.
  5920. (build_keyword_selector): Ditto; transform into a function argument
  5921. chain.
  5922. (get_arg_type_list): If there are no user-specified arguments, use
  5923. '...'; use OBJC_VOID_AT_END.
  5924. (check_duplicates): Add a parameter indicating whether methods or
  5925. selectors are being checked.
  5926. (receiver_is_class_object): Add parameters indicating whether
  5927. receiver is 'self' or 'super'; robustify.
  5928. (build_message_expr): Defer call to finish_message_expr() if
  5929. inside an ObjC++ template.
  5930. (lookup_method_in_hash_lists): New function.
  5931. (finish_message_expr): Complete rewrite/fix.
  5932. (build_objc_method_call): Ditto; factor out commonalities between
  5933. the GNU and NeXT runtimes; acccommodate ..._stret and ...NonNil
  5934. messenger variants on the NeXT.
  5935. (lookup_instance_method_static, lookup_class_method_static):
  5936. Fold into a single lookup_method_static() function with an
  5937. additional parameter.
  5938. (add_class_method, add_instance_method): Fold into a single
  5939. add_method() function with an additional parameter.
  5940. (add_category): Make duplicate categories a hard error in ObjC++.
  5941. (add_instance_variable): Properly handle unnamed ivars, arrays of
  5942. zero or no size and bitfields. In ObjC++, check for nontrivial
  5943. C++ class instances.
  5944. (is_public): Allow C functions to access non-@public ivars, with
  5945. a warning.
  5946. (start_class): Move common initializations to
  5947. synth_module_prologue(); check for global scope if in ObjC++.
  5948. (continue_class): Fix calls to finish_struct().
  5949. (objc_declare_protocols, start_protocol): Check for global scope
  5950. if in ObjC++.
  5951. (encode_pointer): Encode 'BOOL *' specially on the NeXT.
  5952. (encode_aggregate_within): Rewrite to properly distinguish
  5953. struct tags from typedefs in both ObjC and ObjC++.
  5954. (encode_bitfield, encode_complete_bitfield): Remove.
  5955. (encode_next_bitfield, encode_gnu_bitfield): New functions.
  5956. (encode_field_decl): Call encode_next_bitfield() or
  5957. encode_gnu_bitfield() as needed.
  5958. (synth_self_and_ucmd_args): New function.
  5959. (start_method_def): Use it.
  5960. (objc_types_are_equivalent): New function.
  5961. (comp_proto_with_proto): Use it instead of comptypes(), since
  5962. we need symmetry.
  5963. (really_start_method): Use lookup_method_static() instead of
  5964. lookup_class_method_static() and lookup_instance_method_static();
  5965. Emit 'extern "C"' if in ObjC++ mode.
  5966. (add_objc_decls): Removed.
  5967. (UOBJC_SUPER_scope): New variable.
  5968. (get_super_receiver): Move construction of 'super' from
  5969. add_objc_decls(); remove dependency on struct objc_class.
  5970. (encode_method_def): Removed; encode_method_prototype() is
  5971. used instead.
  5972. (objc_clear_super_receiver): New function.
  5973. (objc_expand_function_end): Do not do anything for ordinary
  5974. C functions.
  5975. (finish_method_def): Mark ObjC methods as un-inlinable.
  5976. (gen_declaration_1): Emit widths of bitfields.
  5977. (finish_objc): Call generate_objc_image_info() if needed;
  5978. use check_duplicates() when checking for selector duplicates.
  5979. (generate_objc_image_info): New function.
  5980. * objc/objc-act.h (add_instance_method, add_class_method,
  5981. get_class_ivars): Remove prototypes.
  5982. (objc_build_throw_stmt, objc_build_try_catch_finally_stmt,
  5983. objc_build_synchronized_prologue, objc_build_synchronized_epilogue,
  5984. objc_build_catch_stmt, objc_build_catch_epilogue,
  5985. objc_build_finally_prologue, objc_build_finally_epilogue,
  5986. add_method, get_class_ivars_from_name): New prototypes.
  5987. (CLASS_BINFO_ELTS, PROTOCOL_BINFO_ELTS): New.
  5988. (TYPE_PROTOCOL_LIST): Robustify to distinguish from
  5989. TRANSLATION_UNIT_DECLs.
  5990. (OBJC_TYPE_NAME): New.
  5991. (objc_tree_code): Ensure that either <c-tree.h> or <cp/cp-tree.h>
  5992. got included.
  5993. (IS_SUPER): Robustify.
  5994. (umsg_stret_decl, umsg_super_stret_decl, umsg_nonnil_decl,
  5995. umsg_nonnil_stret_decl, objc_storage_class, objc_exception_extract_decl,
  5996. objc_exception_try_enter_decl, objc_exception_try_exit_decl,
  5997. objc_exception_match_decl, objc_exception_throw_decl,
  5998. objc_sync_enter_decl, objc_sync_exit_decl, objc_exception_data_template,
  5999. objc_setjmp_decl, objc_stack_exception_data, objc_caught_exception,
  6000. objc_rethrow_exception, objc_eval_once, objc_exception_block_stack,
  6001. objc_catch_type): New ObjC/ObjC++ roots.
  6002. * objc/objc-tree.def (MESSAGE_SEND_EXPR, CLASS_REFERENCE_EXPR): New
  6003. ObjC/ObjC++ tree node codes.
  6004. 2003-09-24 Alexandre Oliva <aoliva@redhat.com>
  6005. * cpplib.c (do_pragma): Reintroduce cb_line_change call in the
  6006. code path that calls a handler.
  6007. 2003-09-24 Nathanael Nerode <neroden@gcc.gnu.org>
  6008. * config.gcc (c4x-*, tic4x-*, d30v-*, mmix-knuth-mmixware):
  6009. Disable fixproto.
  6010. * config.gcc: Clean up and reindent $with_cpu=yes|no clause and
  6011. the section giving $with_cpu defaults by target.
  6012. * config.gcc (arm-*-coff*, armel-*-coff*, arm*-*-ecos-elf,
  6013. arm*-*-elf, ep9312-*-elf, arm*-wince-pe*, arm*-*-pe*, arm*-*-pe*,
  6014. rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*,
  6015. rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*,
  6016. rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*,
  6017. i[34567]86-pc-msdosdjgpp*): Disable fixproto.
  6018. 2003-09-24 David Edelsohn <edelsohn@gnu.org>
  6019. * config/rs6000/rs6000.md (movti_power): Collapse case 1 and 2
  6020. together. Protect load string instruction with TARGET_STRING.
  6021. (movti_string): Collapse case 1 and 2 together.
  6022. 2003-09-24 Nathan Sidwell <nathan@codesourcery.com>
  6023. * c-common.c (c_common_type_for_mode): Check for VOIDmode.
  6024. 2003-09-24 Richard Earnshaw <rearnsha@arm.com>
  6025. * arm.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Wrap in
  6026. do...while(0)
  6027. 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
  6028. * config.gcc: Move use_fixproto=no from generic vxworks clause to
  6029. specific one.
  6030. * config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto
  6031. (accidentally missed in last pass).
  6032. 2003-09-23 Andrew Pinski <apinski@apple.com>
  6033. PR bootstrap/12383
  6034. * configure: Regenerate.
  6035. 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
  6036. * config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally
  6037. missed in last pass).
  6038. 2003-09-23 Alexandre Oliva <aoliva@redhat.com>
  6039. * config/mn10300/mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe
  6040. constant.
  6041. 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
  6042. * config.gcc: Move vax-*-vms* unsupported notice up with the rest.
  6043. * config.gcc (alpha64*-dec-*vms*, alpha*-dec-*vms*,
  6044. powerpc-*-eabisim*, powerpc-*-eabi*, powerpcle-*-eabisim*,
  6045. powerpcle-*-eabi*): Disable fixproto.
  6046. * config.gcc: Move use_fixproto=no from generic FreeBSD clause to
  6047. specific FreeBSD clauses.
  6048. * config.gcc: Move use_fixproto=no from generic NetBSD clause to
  6049. specific NetBSD clauses.
  6050. * config.gcc: Move use_fixproto=no from generic OpenBSD clause
  6051. to specific OpenBSD clauses.
  6052. 2003-09-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  6053. * pa.c (hppa_expand_prologue): Do pic register save in frame marker
  6054. without adding a frame note.
  6055. * pa.md (allocate_stack): Save pic register in new frame marker when
  6056. generating pic code.
  6057. 2003-09-23 Kelley Cook <kelleycook@wideopenwest.com>
  6058. * cgraphunit.c (cgraph_expand_all_functions): Renamed from
  6059. cgraph_expand_functions.
  6060. 2003-09-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6061. * Makefile.in (gnucompare*): Merge into ...
  6062. (slowcompare*): ... here.
  6063. (fastcompare*): New targets.
  6064. * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): Add checks for
  6065. other "fast" cmp programs.
  6066. * configure: Regenerate.
  6067. 2003-09-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6068. * targhooks.c: Include output.h.
  6069. * Makefile.in (targhooks.o): Add output.h to dependency list.
  6070. 2003-09-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6071. * config.host: Removed superfluous newline.
  6072. 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
  6073. * config.gcc: Use ${target}, not $machine.
  6074. * configure.in: Don't set $machine.
  6075. * configure: Regenerate.
  6076. 2003-09-23 Geoffrey Keating <geoffk@apple.com>
  6077. * config/t-darwin (crt2.o): Add stmp-int-hdrs to dependencies.
  6078. * config/rs6000/rs6000.c (function_arg_pass_by_reference): Don't
  6079. pass zero-size arrays by reference.
  6080. (rs6000_va_arg): Likewise.
  6081. 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
  6082. * config.gcc: Set use_fixproto=no in each specific *-gnu*
  6083. configuration, rather than the generic one.
  6084. 2003-09-23 Richard Henderson <rth@redhat.com>
  6085. * tree-inline.c (remap_save_expr): Map new save_expr to identity
  6086. rather than to error_mark_node.
  6087. 2003-09-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6088. * configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
  6089. Update description.
  6090. * configure: Regenerate.
  6091. * config.in: Likewise.
  6092. * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for
  6093. HAVE_GAS_SHF_MERGE value.
  6094. * varasm.c (mergeable_string_section): Likewise.
  6095. (mergeable_constant_section): Likewise.
  6096. 2003-09-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6097. * except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
  6098. value.
  6099. 2003-09-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6100. * target.h (struct gcc_target): New member external_libcall.
  6101. * target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default.
  6102. (TARGET_ASM_OUT): Use it.
  6103. * doc/tm.texi (TARGET_ASM_EXTERNAL_LIBCALL): Document.
  6104. * targhooks.c: Convert to ISO C 90.
  6105. (default_external_libcall): New function.
  6106. * targhooks.h (default_external_libcall): Declare.
  6107. * varasm.c (assemble_external_libcall): Use
  6108. targetm.asm_out.external_libcall instead of
  6109. ASM_OUTPUT_EXTERNAL_LIBCALL.
  6110. * config/mips/mips-protos.h [TARGET_IRIX5 || TARGET_IRIX 6]
  6111. (mips_output_external_libcall): Declare.
  6112. * config/mips/mips.c (mips_output_external_libcall): Change
  6113. definition guard.
  6114. Change to match TARGET_ASM_EXTERNAL_LIBCALL.
  6115. Only operate for O32 ABI.
  6116. * config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Define
  6117. instead of ASM_OUTPUT_EXTERNAL_LIBCALL.
  6118. * config/mips/iris6.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Don't undef,
  6119. superceded by TARGET_ASM_EXTERNAL_LIBCALL.
  6120. 2003-09-22 Nathnael Nerode <neroden@gcc.gnu.org>
  6121. * config.gcc: Do per-target disabling of fixproto here in clauses,
  6122. not in t- fragments.
  6123. * configure.in: Adjust to set STMP_FIXPROTO correctly.
  6124. * configure: Regenerate.
  6125. * config/arm/t-semi, config/cris/t-cris, config/i386/t-beos,
  6126. config/i386/t-cygming, config/i386/t-nto, config/ia64/t-hpux,
  6127. t-freebsd, t-linux, t-netbsd, t-openbsd, t-rtems, t-vxworks,
  6128. xtensa/t-xtensa: Remove setting of STMP_FIXPROTO.
  6129. * config/i370/t-oe, config/i386/t-netware, config/pa/t-bsd,
  6130. t-interix, t-linux-aout: Delete files consisting only of
  6131. setting of STMP_FIXPROTO.
  6132. * config.host: Allow unknown hosts (not targets). Allow
  6133. ns32k-*-netbsdelf* as a host (not a target). Remove redundant
  6134. empty clauses. Remove useless obsolete-configuration clause.
  6135. Prune unsupported configuration list. Collapse identical
  6136. clauses for closely related systems. Rewrite comment for
  6137. unsupported hosts list. Reorganize a little.
  6138. 2003-09-22 Richard Henderson <rth@redhat.com>
  6139. * c-common.c (c_common_signed_or_unsigned_type): Examine mode,
  6140. not precision.
  6141. 2003-09-22 David Edelsohn <edelsohn@gnu.org>
  6142. Hartmut Penner <hpenner@de.ibm.com>
  6143. Segher Boessenkool <boessen@de.ibm.com>
  6144. * config/rs6000/rs6000.c (altivec_in_gprs_p): Rename to ...
  6145. (gpr_or_gpr_p): Test INT_REGNO_P and convert to boolean.
  6146. (rs6000_split_altivec_in_gprs): Rename to ...
  6147. (rs6000_split_multireg_move): Add support for update addressing.
  6148. * config/rs6000/rs6000-protos.h: Same.
  6149. * config/rs6000/altivec.md: Same.
  6150. * config/rs6000/rs6000.md (movdi_internal32): Use new splitter for
  6151. multiple GPRs.
  6152. (movti): Remove TARGET_STRING || TARGET_POWERPC64 final condition.
  6153. (movti_power): Use new splitter for multiple GPRs.
  6154. (movti_string): Same.
  6155. (movti_ppc64): Same.
  6156. 2003-09-22 Bob Wilson <bob.wilson@acm.org>
  6157. * config/xtensa/xtensa-protos.h: Convert to ISO C90.
  6158. * config/xtensa/xtensa.c: Convert to ISO C90. Minor formatting fixes.
  6159. 2003-09-22 Alexandre Oliva <aoliva@redhat.com>
  6160. * config/mn10300/mn10300.md: Revert 2003-09-17's patch.
  6161. (andsi3): Set attr cc to set_zn when using shifts or adds.
  6162. 2003-09-22 Bernardo Innocenti <bernie@develer.com>
  6163. * doc/contrib.texi: Add Peter Barada, Paul Dale and myself.
  6164. 2003-09-22 Bernardo Innocenti <bernie@develer.com>
  6165. * config/m68k/m68k.h (MASK_RTD, TARGET_RTD, RETURN_POPS_ARGS):
  6166. Resurrect -mrtd option.
  6167. 2003-09-21 Andrew Pinski <pinskia@physics.uc.edu>
  6168. PR target/12281
  6169. * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Call
  6170. mark_referenced instead of setting TREE_SYMBOL_REFERENCED.
  6171. 2003-09-22 Olivier Hainque <hainque@act-europe.fr>
  6172. PR target/9786
  6173. * reg-stack.c (convert_regs_1): Purge possible dead eh edges
  6174. after potential deletion of trapping insn. Avoids later ICE
  6175. from call to fixup_abnormal_edges.
  6176. (convert_regs_2): Stack the current block successors before
  6177. processing this block, that is, before the potential deletion of
  6178. dead edges by convert_regs_1, because these edges have been used
  6179. to initialize the predecessors count.
  6180. 2003-09-22 Eric Botcazou <ebotcazou@libertysurf.fr>
  6181. * real.c: Fix several nits in the head comment.
  6182. 2003-09-21 Richard Henderson <rth@redhat.com>
  6183. * tree.h c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
  6184. diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
  6185. print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
  6186. tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
  6187. config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Revert.
  6188. 2003-09-21 Richard Henderson <rth@redhat.com>
  6189. * tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
  6190. (TREE_FILENAME, TREE_LINENO): Likewise.
  6191. (set_tree_locus, copy_tree_locus, set_tree_file_line): New.
  6192. (TREE_LOCUS_SET_P): New.
  6193. * c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
  6194. diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
  6195. print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
  6196. tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
  6197. config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match.
  6198. 2003-09-21 Nathanael Nerode <neroden@gcc.gnu.org>
  6199. * config/vax/vax-protos.h: Convert to ISO C90.
  6200. * config/vax/vax.c: Convert to ISO C90.
  6201. 2003-09-21 Graham Stott <grahams@btinternet.com>
  6202. PR target/12353
  6203. * config/i386/i386.md(ffs_no_cmove): Fix operand 2 constraint.
  6204. 2003-09-21 Eric Botcazou <ebotcazou@libertysurf.fr>
  6205. PR target/12301
  6206. * reorg.c (stop_search_p): Return 1 for insns that can
  6207. throw internally.
  6208. 2003-09-20 Richard Henderson <rth@redhat.com>
  6209. * c-format.c (gcc_diag_char_table): Add %J.
  6210. (gcc_cdiag_char_table, gcc_cxxdiag_char_table): Likewise.
  6211. (check_format_types): Fix wanted_type name lookup.
  6212. (init_dynamic_diag_info): Setup %J.
  6213. * diagnostic.c (text_specifies_location): Implement %J.
  6214. * c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, calls.c,
  6215. dwarfout.c, expr.c, function.c, stmt.c, stor-layout.c, toplev.c,
  6216. tree-inline.c, tree-optimize.c, varasm.c, config/arm/pe.c,
  6217. config/i386/winnt.c, config/ia64/ia64.c, config/mcore/mcore.c,
  6218. config/v850/v850.c, objc/objc-act.c: Use %J in diagnostics.
  6219. * tree-inline.c: Include intl.h
  6220. (inline_forbidden_p_1): Fix i18n of inline_forbidden_reason.
  6221. * Makefile.in (tree-inline.o): Update.
  6222. 2003-09-20 Roger Sayle <roger@eyesopen.com>
  6223. * config/i386/i386.c (ix86_expand_carry_flag_compare): Fix
  6224. transformation of a>=0 into (unsigned)a<0x80000000.
  6225. 2003-09-20 Andrew Pinski <apinski@apple.com>
  6226. * config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
  6227. 2003-09-20 Nathanael Nerode <neroden@gcc.gnu.org>
  6228. * Makefile.in: Don't set (unused) DLLTOOL.
  6229. * config/arm/t-linux, config/arm/t-netbsd, config/arm-t-semi:
  6230. Remove obsolete references to ENQUIRE.
  6231. 2003-09-19 Nathanael Nerode <neroden@gcc.gnu.org>
  6232. * configure.in: Remove --with-elf, which doesn't work.
  6233. * configure: Regenerate.
  6234. * config.gcc: Remove references to $elf, which does nothing.
  6235. * config/i386/xm-vsta.h: Remove xm-file believed useless.
  6236. * config.build (i386-vsta): Remove reference to it.
  6237. * config.host (i386-vsta): Remove reference to it.
  6238. 2003-09-19 Phil Edwards <phil@codesourcery.com>
  6239. * doc/install.texi: Document the multiple testsuite options.
  6240. 2003-09-19 Gerald Pfeifer <gerald@pfeifer.com>
  6241. * doc/install.texi (Specific): Add the specific versions of GCC
  6242. where support for FreeBSD 1, HP-UX version 9 and older, and AIX
  6243. version 3 and older was discontinued.
  6244. 2003-09-19 Joel Sherrill <joel@oarcorp.com>
  6245. * config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to
  6246. 68881.
  6247. 2003-09-19 Bernardo Innocenti <bernie@develer.com>
  6248. * config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines
  6249. for -m68030, -m68020-60 and -m68020-40.
  6250. * config/m68k/m68k.h (TARGET_68030): New target flag.
  6251. * config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM,
  6252. TARGET_REGPARM): Remove.
  6253. * config/m68k/m68k.h: Regroup and renumber target flags.
  6254. * config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations.
  6255. * config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0.
  6256. * config/m68k/m68k.h (FUNCTION_ARG): Likewise.
  6257. * config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
  6258. * config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros.
  6259. 2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  6260. * config/m68k/t-rtems (m68k-*-rtems*): New.
  6261. * config.gcc: Use config/m68k/t-rtems.
  6262. 2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  6263. * config/mips/t-rtems: New.
  6264. * config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.
  6265. 2003-09-19 Kelley Cook <kelleycook@wideopenwest.com>
  6266. * cgraph.c: Fix typo in debugging output.
  6267. 2003-09-19 T. Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
  6268. Eric Botcazou <ebotcazou@libertysurf.fr>
  6269. PR target/12166
  6270. * config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.
  6271. 2003-09-18 Mike Stump <mrs@apple.com>
  6272. * c-ppoutput.c (print): Use fileline typedef for field 'line'.
  6273. (print_line, maybe_print_line, cb_define, cb_undef, cb_include,
  6274. cb_ident, cb_def_pragma): Use fileline typedef.
  6275. * cpphash.h (struct cpp_reader): Likewise for field out.first_line.
  6276. 2003-09-18 Danny Smith <dannysmith@users.sourceforge.net>
  6277. * config/i386/winnt.c (gen_stdcall_suffix): Quit summation of
  6278. total parm size if a parm has incomplete type.
  6279. (gen_fastcall_suffix): Likewise.
  6280. 2003-09-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  6281. * except.c (output_function_exception_table): Adjust last change
  6282. to handle TYPE of INTEGER_CST.
  6283. 2003-09-18 Mark Mitchell <mark@codesourcery.com>
  6284. PR target/11184
  6285. * builtins.c (expand_builtin_apply): Use convert_memory_address
  6286. before returning the value.
  6287. * alias.c (find_base_value): Simplify use of
  6288. convert_memory_address.
  6289. (find_base_term): Likewise.
  6290. * builtins.c (expand_builtin_stejmp_setup): Likewise.
  6291. (expand_builtin_longjmp): Likewise.
  6292. (expand_builtin_prefetch): Likewise.
  6293. (get_memory_rtx): Likewise.
  6294. (expand_builtin_return): Likewise.
  6295. (expand_builtin_memcpy): Likewise.
  6296. (expand_builtin_strncpy): Likewise.
  6297. (expand_builtin_memset): Likewise.
  6298. (expand_builtin_va_arg): Likewise.
  6299. (expand_builtin_va_copy): Likewise.
  6300. (expand_builtin_alloca): Likewise.
  6301. * calls.c (expand_call): Likewise.
  6302. * except.c (expand_builtin_extract_return_addr): Likewise.
  6303. (expand_builtin_eh_return): Likewise.
  6304. * explow.c (convert_memory_address): Define even when
  6305. POINTER_EXTEND_UNSIGNED is not defined. Do nothing if the address
  6306. is already in the right mode.
  6307. * explow.c (memory_address): Simplify use of convert_memory_address.
  6308. (probe_stack_range): Likewise.
  6309. * expmed.c (make_tree): Likewise.
  6310. * expr.c (emit_block_move_in_libcall): Likewise.
  6311. (expand_assignment): Likewise.
  6312. (expand_expr): Likewise.
  6313. * function.c (assign_parms): Likewise.
  6314. (expand_function_end): Likewise.
  6315. * integrate.c (copy_rtx_and_substitute): Likewise.
  6316. * stmt.c (expand_computed_goto): Likewise.
  6317. 2003-09-18 Roger Sayle <roger@eyesopen.com>
  6318. * simplify-rtx.c (simplify_unary_operation): Only transform
  6319. (not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE
  6320. is -1. RTL "not" is a bit-wise not, "~", not a logical not "!".
  6321. 2003-09-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  6322. PR target/11674
  6323. * config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
  6324. 2003-09-18 Roger Sayle <roger@eyesopen.com>
  6325. * tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
  6326. PARITY_EXPR): Delete unused tree codes.
  6327. * c-common.c (c_common_truthvalue_conversion): Delete references
  6328. to FFS_EXPR and POPCOUNT_EXPR.
  6329. * c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR.
  6330. (pp_c_expression): Likewise.
  6331. * expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR,
  6332. CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.
  6333. * fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
  6334. CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR. Add support for calls to
  6335. BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long
  6336. and long long variants.
  6337. 2003-09-18 Gabriel Dos Reis <gdr@integrable-solutions.net>
  6338. * c-pretty-print.h (pp_type_specifier_seq): Fix thinko.
  6339. * c-pretty-print.c: Fix formatting.
  6340. (pp_c_integer_constant): Append type annotation to literals. Tidy.
  6341. (pp_c_type_specifier): Tidy.
  6342. (pp_c_compound_literal): New function.
  6343. (pp_c_initializer): Simplify..
  6344. (pp_c_initializer_list): Likewise.
  6345. (pp_c_brace_enclosed_initializer_list): New function.
  6346. (pp_c_postfix_expression): Simplify.
  6347. 2003-09-17 Alexandre Oliva <aoliva@redhat.com>
  6348. * config/mn10300/mn10300.md (andsi3, iorsi3, xorsi3,
  6349. one_complsi2, bit-clear, bit-set, iorqi3): Make them set_zn.
  6350. 2003-09-17 Richard Henderson <rth@redhat.com>
  6351. * tree-optimize.c (tree_rest_of_compilation): Save and restore
  6352. input_location.
  6353. 2003-09-17 Daniel Jacobowitz <drow@mvista.com>
  6354. * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc.
  6355. 2003-09-17 Richard Henderson <rth@redhat.com>
  6356. * cfg.c (dump_flow_info): Skip register dump if reg_n_info null.
  6357. 2003-09-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6358. * configure.in (gcc_cv_ld_hidden): Don't test gnu_ld_flag.
  6359. * configure: Regenerate.
  6360. 2003-09-17 Mark Mitchell <mark@codesourcery.com>
  6361. PR debug/12066
  6362. * dbxout.c (dbxout_init): Use a langhook to find builtin types.
  6363. * langhooks-def.h (lhd_return_null_tree_v): New function.
  6364. (LANG_HOOKS_BUILTIN_TYPE_DECLS): New macro.
  6365. (LANG_HOOKS_DECLS): Add it to the intializer.
  6366. * langhooks.c (lhd_return_null_tree_v): New function.
  6367. * langhooks.h (lang_hooks_for_decls): Add builtin_type_decls.
  6368. 2003-09-17 Daniel Jacobowitz <drow@mvista.com>
  6369. * configure.in: Quote gcc_config_arguments for configargs.h.
  6370. * configure: Regenerated.
  6371. * gccbug.in: Don't shell-expand gcc_config_arguments.
  6372. 2003-09-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
  6373. PR c++/11357
  6374. * c-pretty-print.c (pp_c_floating_constant): Append
  6375. type-annotation to floating constants.
  6376. 2003-09-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6377. * config/mips/iris5.h (TARGET_OS_CPP_BUILTINS): Define _LONGLONG.
  6378. Define _ABIO32.
  6379. Use it for _MIPS_SIM.
  6380. * config/mips/iris6-o32.h (TARGET_OS_CPP_BUILTINS): Removed.
  6381. * config/mips/iris6-o32-as.h (SUBTARGET_ASM_OPTIMIZING_SPEC):
  6382. Moved ...
  6383. * config/mips/iris5.h (SUBTARGET_ASM_OPTIMIZING_SPEC): ... here,
  6384. updating comment.
  6385. Fixes PR target/10190.
  6386. 2003-09-17 Daniel Jacobowitz <drow@mvista.com>
  6387. * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply
  6388. to shared libraries.
  6389. 2003-09-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  6390. PR optimization/11646
  6391. * cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the
  6392. EDGE_ABNORMAL flag for EH edges.
  6393. * toplev.c (rest_of_handle_cse): Delete unreachable blocks
  6394. if dead edges were purged.
  6395. 2003-09-16 Bernardo Innocenti <bernie@develer.com>
  6396. * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Add target predefines.
  6397. * config/m68k/m68k-none.h (CPP_CPU_DEFAULT_SPEC): Kill all definitions.
  6398. * config/m68k/m68k-none.h (CPP_FPU_SPEC): Remove.
  6399. * config/m68k/m68k-none.h (CPP_SPEC): Likewise.
  6400. 2003-09-16 Ian Lance Taylor <ian@wasabisystems.com>
  6401. * cfgcleanup.c (label_is_jump_target_p): Correct use of table
  6402. returned by tablejump_p.
  6403. 2003-09-16 Joel Brobecker <brobecker@gnat.com>
  6404. * dwarf2asm.c (dw2_asm_output_nstring): Add comment.
  6405. 2003-09-16 Roger Sayle <roger@eyesopen.com>
  6406. PR bootstrap/12269
  6407. * simplify-rtx.c (simplify_gen_relational): Allow the cmp_mode
  6408. argument to be VOIDmode, taking the mode of the comparison from
  6409. the operands. Only call simplify_relational_operation if we
  6410. know the mode of the comparison. Honor FLOAT_STORE_FLAG_VALUE
  6411. if comparison has a floating point result. Ensure that the
  6412. result is always of the specified mode.
  6413. (simplify_replace_rtx): Simplify call to simplify_gen_relational.
  6414. (simplify_unary_operation): Ensure the correct mode and cmp_mode
  6415. are always passed to simplify_gen_relational. Simplify NOT of
  6416. comparison operator in any mode, not just BImode.
  6417. (simplify_ternary_operation): Correct tests on the return value
  6418. of simplify_relational_operation to use const_true_rtx, not
  6419. const1_rtx. Abort if it ever returns a non-constant result.
  6420. * cfgloopanal.c (count_strange_loop_iterations): Use the function
  6421. simplify_relational_operation, not simplify_gen_relational, if
  6422. we're only interested in constant comparisons and will ignore
  6423. non-constant results.
  6424. 2003-09-16 Roger Sayle <roger@eyesopen.com>
  6425. * fold-const.c (tree_swap_operands_p): New function to determine
  6426. the prefered ordering of operands.
  6427. (fold): Numerous clean-ups. Use tree_swap_operands_p when swapping
  6428. operands to commutative, comparison or ternary operators. Replace
  6429. uses of TREE_SET_CODE with recursive call to fold. Remove duplicate
  6430. transformation of A ? B : C into !A ? C : B.
  6431. 2003-09-16 Jakub Jelinek <jakub@redhat.com>
  6432. * config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6433. * config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6434. * config/arm/linux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6435. * config/rs6000/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6436. * config/rs6000/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6437. * config/sh/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6438. * config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6439. * config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  6440. 2003-09-16 Jason Merrill <jason@redhat.com>
  6441. Jakub Jelinek <jakub@redhat.com>
  6442. * c-common.c (handle_warn_unused_result_attribute): New function.
  6443. (c_common_attribute_table): Add warn_unused_result.
  6444. (c_expand_expr): Issue warning when result of inlined function
  6445. with warn_unused_result attribute is ignored.
  6446. * calls.c (expand_call): Issue warning when result of function
  6447. with warn_unused_result attribute is ignored.
  6448. * c-common.h (STMT_EXPR_WARN_UNUSED_RESULT): Define.
  6449. * expr.c (expr_wfl_stack): Define.
  6450. (expand_expr) <case EXPR_WITH_FILE_LOCATION>: If ignore,
  6451. pass const0_rtx as target. Chain locations into expr_wfl_stack.
  6452. * tree-inline.c (expand_call_inline): Set STMT_EXPR_WARN_UNUSED_RESULT
  6453. bit if inlined function has warn_unused_result attribute.
  6454. * input.h (expr_wfl_stack): Declare.
  6455. * doc/extend.texi: Document warn_unused_result attribute.
  6456. 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
  6457. * cpplib.c (do_pragma): Remove unnecessary cb_line_change.
  6458. 2003-09-15 Bob Wilson <bob.wilson@acm.org>
  6459. * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add
  6460. ATTRIBUTE_UNUSED.
  6461. (call_insn_operand): For PIC, don't allow a direct call to a
  6462. function in a different section than the current one.
  6463. 2003-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  6464. * doc/invoke.texi (Warning Options): Add missing hyphen before
  6465. "Wimport". Change "-Wno-endif-labels" to "-Wendif-labels".
  6466. Move "-Wold-style-definition" to the C-only section.
  6467. Fix the ordering of the warning options.
  6468. 2003-09-15 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  6469. Jeff Law <law@redhat.com>
  6470. * gcse.c (remove_reachable_equiv_notes): New.
  6471. replace_store_insn): Call it. Update antic list.
  6472. (store_killed_in_insn): Take REG_EQUAL notes into account.
  6473. (build_store_vectors, delete_store): Add parameter to
  6474. replace_store_insn call.
  6475. 2003-09-15 Bob Wilson <bob.wilson@acm.org>
  6476. * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
  6477. SYMBOL_REF_LOCAL_P.
  6478. 2003-09-15 Kazu Hirata <kazu@cs.umass.edu>
  6479. * expr.h (DEFAULT_FUNCTION_ARG_PADDING): New.
  6480. (FUNCTION_ARG_PADDING): Use DEFAULT_FUNCTION_ARG_PADDING.
  6481. * config/ia64/ia64.c (ia64_hpux_function_arg_padding):
  6482. Likewise.
  6483. * config/m68hc11/m68hc11.c (m68hc11_function_arg_padding):
  6484. Likewise.
  6485. * config/rs6000/rs6000.c (function_arg_padding): Likewise.
  6486. * config/sparc/sparc.c (function_arg_padding): Likewise.
  6487. 2003-09-15 Vladimir Makarov <vmakarov@redhat.com>
  6488. * haifa-sched.c (schedule_block): Use ready_remove_first instead
  6489. of choose_ready for non-dfa insn scheduling.
  6490. 2003-09-15 Andreas Jaeger <aj@suse.de>
  6491. Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6492. * doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
  6493. * c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
  6494. * c-parse.in: Warn about old-style parameter definition.
  6495. * c-common.c: Define warn_old_style_defintion.
  6496. * c-common.h: Declare it.
  6497. * c.opt: Add Wold-style-defintion.
  6498. 2003-09-15 Andreas Jaeger <aj@suse.de>
  6499. * config/rs6000/altivec.h: Convert () prototypes to ISO C90.
  6500. * config/rs6000/rs6000.c: Likewise.
  6501. 2003-09-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  6502. PR optimization/10914
  6503. * expr.h (get_condition, canonicalize_condition): Declaration changed.
  6504. * cfgloopanal.c (simple_loop_exit_p): Add parameter to a get_condition
  6505. and canonicalize_condition calls.
  6506. * gcse.c (fis_get_condition, delete_null_pointer_checks_1,
  6507. delete_null_pointer_checks): Ditto.
  6508. * ifcvt.c (noce_get_alt_condition, noce_get_condition): Ditto.
  6509. * predict.c (estimate_probability, expected_value_to_br_prob): Ditto.
  6510. * loop.c (check_dbra_loop, get_condition_for_loop): Ditto.
  6511. (canonicalize_condition, get_condition): Allow to return comparisons
  6512. of cc mode registers.
  6513. * loop-unswitch.c (may_unswitch_on_p, unswitch_single_loop): Allow
  6514. cc mode registers comparison in condition.
  6515. 2003-09-12 Mark Mitchell <mark@codesourcery.com>
  6516. * coverage.c (create_coverage): Do not call pushlevel/poplevel.
  6517. * langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New
  6518. function.
  6519. * langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it.
  6520. 2003-09-14 Kazu Hirata <kazu@cs.umass.edu>
  6521. * combine.c (simplify_comparison): Convert
  6522. (ne (and (lshiftrt (xor X CST) Y) 1) 0) into
  6523. (eq (and (lshiftrt X Y) 1) 0).
  6524. 2003-09-14 Kazu Hirata <kazu@cs.umass.edu>
  6525. * alias.c: Follow spelling conventions.
  6526. * cpphash.h: Likewise.
  6527. * fold-const.c: Likewise.
  6528. 2003-09-14 Alexandre Oliva <aoliva@redhat.com>
  6529. * c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
  6530. * c-lex.c (cb_line_change): Skip line changing whenever
  6531. c-ppoutput.c would.
  6532. 2003-09-14 Steven Bosscher <steven@gcc.gnu.org>
  6533. * ra.c: Convert to ISO C90 prototypes.
  6534. * ra-build.c: Likewise.
  6535. * ra-colorize.c: Likewise.
  6536. * ra-debug.c: Likewise.
  6537. * ra-rewrite.c: Likewise.
  6538. 2003-09-14 Richard Sandiford <rsandifo@redhat.com>
  6539. * Makefile.in (%.dvi): Remove excess $(docdir).
  6540. 2003-09-14 Richard Sandiford <rsandifo@redhat.com>
  6541. * function.c (STACK_BYTES): Move definition to head of file.
  6542. (assign_parms): Don't pass current_function_pretend_args_size
  6543. directly to SETUP_INCOMING_VARARGS. For partial register arguments,
  6544. round current_function_pretend_args_size up to STACK_BYTES. Skip any
  6545. excess before laying out the argument.
  6546. 2003-09-14 Andreas Jaeger <aj@suse.de>
  6547. * objc/objc-act.c: Convert to ISO C90 prototypes.
  6548. * objc/objc-act.h: Likewise.
  6549. 2003-09-14 Olaf Hering <olh@suse.de>
  6550. * config/rs6000/rs6000.c: Fix typo: Remove extra ')'.
  6551. 2003-09-13 Andrew Pinski <pinskia@physics.uc.edu>
  6552. PR target/12021
  6553. * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Remove the asserts
  6554. as they already are done in config/m68k/m68k.h.
  6555. * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Likewise
  6556. * config/rs6000/rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.
  6557. (machopic_output_stub): Only generate pic base symbols when using pic
  6558. and generate them in the form L00000000$spb.
  6559. 2003-09-13 Richard Henderson <rth@redhat.com>
  6560. * cgraphunit.c (cgraph_assemble_pending_functions): Export.
  6561. (cgraph_finalize_function): Revert TREE_ASM_WRITTEN check.
  6562. * cgraph.h: Update.
  6563. 2003-09-12 Dale Johannesen <dalej@apple.com>
  6564. * config/rs6000/rs6000.c: Fix typos in previous.
  6565. 2003-09-12 Ziemowit Laski <zlaski@apple.com>
  6566. * pretty-print.c (pp_construct): Use xcalloc instead of xmalloc
  6567. when allocating pp->buffer.
  6568. 2003-09-12 Geoffrey Keating <geoffk@apple.com>
  6569. * config/darwin.c (machopic_select_rtx_section): Use
  6570. const_data_section for things that might require relocation.
  6571. 2003-09-12 H.J. Lu <hongjiu.lu@intel.com>
  6572. PR bootstrap/12264
  6573. * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree.
  6574. 2003-09-12 Bob Wilson <bob.wilson@acm.org>
  6575. * config/xtensa/elf.h (ASM_SPEC): Remove no-density option. Reformat.
  6576. * config/xtensa/linux.h (ASM_SPEC): Likewise.
  6577. * config/xtensa/xtensa.h (TARGET_SWITCHES): Remove -mbig-endian,
  6578. -mlittle-endian, -m[no-]density, -m[no-]abs, -m[no-]addx, -m[no-]mac16,
  6579. -m[no-]mul16, -m[no-]mul32, -m[no-]nsa, -m[no-]minmax, -m[no-]sext,
  6580. -m[no-]booleans, -mhard-float, -msoft-float, -m[no-]hard-float-div,
  6581. -m[no-]hard-float-recip, -m[no-]hard-float-sqrt, and
  6582. -m[no-]hard-float-rsqrt options. Delete corresponding MASK_* macros
  6583. and redefine corresponding TARGET_* macros with constants from the
  6584. xtensa-config.h header.
  6585. * doc/invoke.texi (Option Summary, Xtensa Options): Remove documention
  6586. for the options listed above.
  6587. 2003-09-12 Dale Johannesen <dalej@apple.com>
  6588. * config/rs6000/rs6000-protos.h: Use C90 prototypes.
  6589. * config/rs6000/rs6000-c.c: Ditto.
  6590. * config/rs6000/rs6000.c: Ditto.
  6591. * config/rs6000/ sysv4.h: Ditto.
  6592. 2003-09-12 Chris Lattner <sabre@nondot.org>
  6593. * loop.c: Move comments describing BIV's and GIV's to top of file
  6594. 2003-09-12 Roger Sayle <roger@eyesopen.com>
  6595. PR optimization/8967
  6596. * alias.c (write_dependence_p): Modify to take an additional constp
  6597. argument that controls whether the UNCHANGING_RTX_P flags are used.
  6598. (anti_dependence, output_dependence): Adjust write_dependence_p
  6599. callers to pass this additional argument, to return the same result.
  6600. (unchanging_anti_dependence): New variant of anti_dependence that
  6601. ignores the UNCHANGING_RTX_P property on memory references.
  6602. * rtl.h (unchaning_anti_dependence): Prototype here.
  6603. * flow.c (init_propagate_block): Place fake constant mem writes on
  6604. the mem_set_list so that dead writes to const variables are deleted.
  6605. (insn_dead_p): Change anti_dependence to unchanging_anti_dependence.
  6606. (mark_used_regs): Likewise.
  6607. 2003-09-12 Richard Sandiford <rsandifo@redhat.com>
  6608. * config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
  6609. (mcore_secondary_reload_class): Declare.
  6610. (mcore_output_inline_const_forced): Remove.
  6611. * config/mcore/mcore.md (movsi): Remove the code that forced
  6612. non-inlineable constants into a register if the target was r15
  6613. or the stack pointer. Remove constant restrictions from the main
  6614. define_insn. Remove r <- I, r <- M and r <- N alternatives in favor
  6615. of an r <- P alternative. Remove fallback define_insn for reload.
  6616. (movhi, movqi): Use gen_lowpart rather than gen_SUBREG. Remove reload
  6617. define_insn. Use mcore_output_move in the remaining define_insn.
  6618. Adjust condition and constraints in the way as for movsi.
  6619. (movdi): Always split unacceptable constants into two. Use
  6620. simplify_gen_subreg instead of operand_subword{,_force}.
  6621. * config/mcore/mcore.c (mcore_output_inline_const_forced): Remove.
  6622. (mcore_output_move): Support HImode and QImode moves as well.
  6623. (mcore_m15_operand_p): New function.
  6624. (mcore_reload_class): Use it to detect cases where LRW_REGS are better.
  6625. (mcore_secondary_reload_class): New function.
  6626. * config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in
  6627. terms of mcore_secondary_reload_class.
  6628. 2003-09-11 Mike Stump <mrs@apple.com>
  6629. * c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.
  6630. 2003-09-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6631. * builtins.c (fold_builtin_logarithm): if N can't be truncated to
  6632. MODE exactly, then only convert logN(N) -> 1.0 if
  6633. flag_unsafe_math_optimizations is set.
  6634. * builtins.c (builtin_dconsts_init, dconstpi, dconste,
  6635. init_builtin_dconsts): Delete.
  6636. * emit-rtl.c (dconstpi, dconste): Define.
  6637. (init_emit_once): Initialize dconstpi & dconste.
  6638. * real.h (dconstpi, dconste): Declare.
  6639. 2003-09-11 Alexandre Oliva <aoliva@redhat.com>
  6640. PR fortran/11522
  6641. * dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function
  6642. for ultimate origin even if block is abstract.
  6643. 2003-09-11 Roger Sayle <roger@eyesopen.com>
  6644. * combine.c (combine_simplify_rtx): Move several NOT and NEG
  6645. optimizations from here...
  6646. * simplify-rtx.c (simplify_unary_operation): to here. Recursively
  6647. simplify expressions using simplify_gen_*ary instead of gen_rtx_*.
  6648. 2003-09-11 Richard Henderson <rth@redhat.com>
  6649. * cgraphunit.c (cgraph_finalize_function): Add nested arg.
  6650. Tweek tests for function already generated.
  6651. (cgraph_expand_function): Don't double announce in !unit-at-a-time.
  6652. * cgraph.h (cgraph_finalize_function): Update for extra arg.
  6653. * c-decl.c (finish_function): Likewise.
  6654. 2003-09-10 Joe Buck <jbuck@welsh-buck.org>
  6655. * c-decl.c (poplevel): Eliminate use of |= in function_body assignment.
  6656. 2003-09-10 Jerry Quinn <jlquinn@optonline.net>
  6657. * real.c: Update URL to VAX floating point docs.
  6658. (decode_vax_d): Extract 8 exponent bits instead of 7.
  6659. 2003-09-10 Ian Lance Taylor <ian@wasabisystems.com>
  6660. * combine.c (force_to_mode): Set fuller_mask based only on mask,
  6661. not op_mode.
  6662. 2003-09-11 Jan Hubicka <jh@suse.cz>
  6663. * c-objc-common.c (c_cannot_inline_tree_fn): Warn
  6664. on why function is not inlinable; do not check
  6665. the body.
  6666. (inline_forbidden_p): Move to...
  6667. * tree-inline.c (inline_forbidden_p_1): ... here; Add warnings;
  6668. deal with alloca, longjmp.
  6669. (inline_forbidden_p): New static function.
  6670. (find_alloca_call_1, find_alloca_call, find_builtin_longjmp_call_1,
  6671. find_builtin_longjmp_call): Kill.
  6672. 2003-09-10 Richard Henderson <rth@redhat.com>
  6673. * cgraph.h (struct cgraph_node): Rename lowered to analyzed.
  6674. * cgraphunit.c: Update to match.
  6675. (record_call_1): Rearrange. Call lang hook for language nodes.
  6676. (cgraph_analyze_function): Don't call lower_function.
  6677. * langhooks.h (struct lang_hooks_for_callgraph): Replace
  6678. lower_function with analyze_expr.
  6679. * langhooks-def.h: Update to match.
  6680. * langhooks.c (lhd_callgraph_analyze_expr): New.
  6681. 2003-09-10 Martin Husemann <martin@duskware.de>
  6682. PR target/11965
  6683. * config/sparc/sparc.c (sparc_v8plus_shift): Protect against
  6684. constants greater than 63.
  6685. * config/sparc/sparc.md (ashlsi3, ashrsi3, lshrsi3): Protect
  6686. against constants greater than 31.
  6687. (*ashldi3_sp64, *ashrdi3_sp64, *lshrdi3_sp64): Protect against
  6688. constants greater than 63.
  6689. 2003-09-09 Richard Henderson <rth@redhat.com>
  6690. * cgraphunit.c (cgraph_finalize_function): Remove unused argument.
  6691. * cgraph.h (cgraph_finalize_function): Update.
  6692. * c-decl.c (finish_function): Update.
  6693. 2003-09-09 Devang Patel <dpatel@apple.com>
  6694. * config/darwin.h (LINK_SPEC): Pass -nofixprebinding to linker.
  6695. * doc/invoke.texi: Document new Darwin linker option -nofixprebinding.
  6696. 2003-09-09 Eric Christopher <echristo@redhat.com>
  6697. * configure.in: Change usage of 'head' to 'sed 1q'.
  6698. * configure: Regenerate.
  6699. 2003-09-09 Richard Henderson <rth@redhat.com>
  6700. * except.c: Include cgraph.h.
  6701. (output_function_exception_table): Invoke
  6702. cgraph_varpool_mark_needed_node.
  6703. * Makefile.in (except.o): Update.
  6704. 2003-09-07 Kelley Cook <kelleycook@wideopenwest.com>
  6705. * Makefile.in: Define REMAKEFLAGS for LANGUAGES & BOOT_CFLAGS
  6706. and use it throughout.
  6707. 2003-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6708. * builtins.c (real_dconstp, fold_builtin_logarithm,
  6709. fold_builtin_exponent): New, split out from fold_builtin. Also
  6710. generalize to add log2, log10, exp2 and exp10/pow10 equivalents.
  6711. * emit-rtl.c (dconst3, dconst10, dconstthird): New.
  6712. (init_emit_once): Initialize new dconsts, use ARRAY_SIZE in lieu
  6713. of hardcoded array size.
  6714. * fold-const.c (fold): Add cases for exp2, exp10 and pow10.
  6715. (tree_expr_nonnegative_p): Likewise.
  6716. * real.h (dconst3, dconst10, dconstthird): New.
  6717. 2003-09-09 Jan Hubicka <jh@suse.cz>
  6718. * cgraphunit.c (cgraph_finalize_function): Fix handling of extern
  6719. inline functions.
  6720. (cgraph_finalize_compilation_unit): Fix crash when dealing with lost
  6721. DECL_SAVED_TREE.
  6722. 2003-09-09 Roger Sayle <roger@eyesopen.com>
  6723. * builtins.c (fold_builtin_cabs): Protect the complex argument
  6724. against multiple evaluation when optimizing cabs* into sqrt*.
  6725. 2003-09-09 Jan Hubicka <jh@suse.cz>
  6726. * varasm.c (notice_global_symbol): Properly deal with weak symbols.
  6727. 2003-09-08 Kelley Cook <kelleycook@wideopenwest.com>
  6728. * Makefile.in: Revert yesterday's change.
  6729. 2003-09-08 Bernardo Innocenti <bernie@develer.com>
  6730. Peter Barada <peter@baradas.org>
  6731. * config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr'
  6732. * config/m68k/hp320.h (REGISTER_NAMES): Likewise.
  6733. * config/m68k/linux.h (REGISTER_NAMES): Likewise.
  6734. * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
  6735. * gcc/config/m68k/sgs.h (REGISTER_NAMES): Likewise.
  6736. * config/m68k/m68k-protos.h (m68k_initial_elimination_offset): Add prototype.
  6737. * config/m68k/m68k.c (m68k_frame): New struct, simular to ix86 back-end.
  6738. (m68k_compute_frame_layout): New function.
  6739. (m68k_initial_elimination_offset): New function.
  6740. (m68k_output_function_prologue): ColdFire-specific movem handling.
  6741. (m68k_output_function_epilogue): Likewise.
  6742. * config/m68k/m68k.h (FIRST_PSEUDO_REGISTER): Make room for argptr reg.
  6743. (ARG_POINTER_REGNUM): Add new definition.
  6744. (INITIAL_FRAME_POINTER_OFFSET): Remove macro.
  6745. (ELIMINABLE_REGS): Define new macro, like in ix86 back-end.
  6746. (CAN_ELIMINATE): Likewise.
  6747. (INITIAL_ELIMINATION_OFFSET): Likewise.
  6748. 2003-09-08 Bernardo Innocenti <bernie@develer.com>
  6749. * config/m68k/m68k.c (m68k_output_function_prologue): Simplify
  6750. by removing redundant variable cfa_store_offset.
  6751. 2003-09-08 Mark Mitchell <mark@codesourcery.com>
  6752. * langhooks-def.h (lhd_register_builtin_type): New function.
  6753. (LANG_HOOKS_REGISTER_BUILTIN_TYPE): New macro.
  6754. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
  6755. * langhooks.h (lang_hooks_for_types): Add register_builtin_type.
  6756. * langhooks.c (lhd_register_builtin_type): New function.
  6757. * c-common.h (c_register_builtin_type): Declare.
  6758. * c-common.c (c_register_builtin_type): New function.
  6759. * c-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
  6760. c_register_builtin_type.
  6761. * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Remove __fpreg,
  6762. __float80, and __float128 macros.
  6763. * config/ia64/ia64.c (ia64_init_builtins): Create __fpreg,
  6764. __float80, and __float128 types.
  6765. 2003-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6766. * builtin-types.def
  6767. (BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE,
  6768. BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE_COMPLEX_DOUBLE,
  6769. BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT_COMPLEX_FLOAT): New.
  6770. * builtins.def (BUILT_IN_CACOS, BUILT_IN_CACOSF, BUILT_IN_CACOSH,
  6771. BUILT_IN_CACOSHF, BUILT_IN_CACOSHL, BUILT_IN_CACOSL,
  6772. BUILT_IN_CARG, BUILT_IN_CARGF, BUILT_IN_CARGL, BUILT_IN_CASIN,
  6773. BUILT_IN_CASINF, BUILT_IN_CASINH, BUILT_IN_CASINHF,
  6774. BUILT_IN_CASINHL, BUILT_IN_CASINL, BUILT_IN_CATAN,
  6775. BUILT_IN_CATANF, BUILT_IN_CATANH, BUILT_IN_CATANHF,
  6776. BUILT_IN_CATANHL, BUILT_IN_CATANL, BUILT_IN_CCOS, BUILT_IN_CCOSF,
  6777. BUILT_IN_CCOSH, BUILT_IN_CCOSHF, BUILT_IN_CCOSHL, BUILT_IN_CCOSL,
  6778. BUILT_IN_CEXP, BUILT_IN_CEXPF, BUILT_IN_CEXPL, BUILT_IN_CPOW,
  6779. BUILT_IN_CPOWF, BUILT_IN_CPOWL, BUILT_IN_CPROJ, BUILT_IN_CPROJF,
  6780. BUILT_IN_CPROJL, BUILT_IN_CSIN, BUILT_IN_CSINF, BUILT_IN_CSINH,
  6781. BUILT_IN_CSINHF, BUILT_IN_CSINHL, BUILT_IN_CSINL, BUILT_IN_CSQRT,
  6782. BUILT_IN_CSQRTF, BUILT_IN_CSQRTL, BUILT_IN_CTAN, BUILT_IN_CTANF,
  6783. BUILT_IN_CTANH, BUILT_IN_CTANHF, BUILT_IN_CTANHL, BUILT_IN_CTANL):
  6784. New.
  6785. * doc/extend.texi: Document new builtins.
  6786. 2003-09-09 Jan Hubicka <jh@suse.cz>
  6787. * cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated
  6788. finalization.
  6789. * cgraphunit.c (decide_is_fnction_needed): Avoid special case of nested
  6790. functions, check for COMDAT.
  6791. (cgraph_assemble_pending_functions): Break out from...
  6792. (cgraph_finalize_function): ... here; allow redefinig of extern inline
  6793. functions.
  6794. (record_call_1): Record function references only in non-unit-at-a-time
  6795. mode.
  6796. (cgraph_analyze_function): Reset current_function_decl.
  6797. (cgraph_finalize_compilation_unit): Assemble pending functions.
  6798. 2003-09-08 Mark Mitchell <mark@codesourcery.com>
  6799. * mklibgcc.in (libcc.a): Depend on stmp-dirs.
  6800. (libgov.a): Likewise.
  6801. (libgcc_eh.a): Likewise.
  6802. 2003-09-08 Roger Sayle <roger@eyesopen.com>
  6803. * fold-const.c (operand_equal_p): Clarify documentation.
  6804. 2003-09-08 Richard Henderson <rth@redhat.com>
  6805. * c-decl.c (c_expand_body_1): Push and pop function context here.
  6806. * tree-optimize.c (tree_rest_of_compilation): ... not here. Take
  6807. nested argument instead of computing nesting ourselves.
  6808. 2003-09-08 Jakub Jelinek <jakub@redhat.com>
  6809. * toplev.c (rest_of_handle_stack_regs): Call split_all_insns before
  6810. regstack if optimizing but not scheduling after reload.
  6811. 2003-09-08 Jakub Jelinek <jakub@redhat.com>
  6812. * config/sparc/sparc.c (struct machine_function): New type.
  6813. (TARGET_HAVE_TLS, TARGET_CANNOT_FORCE_CONST_MEM): Define.
  6814. (sparc_override_options): Initialize init_machine_status.
  6815. (tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand,
  6816. tie_symbolic_operand, tle_symbolic_operand): New functions.
  6817. (symbolic_operand): Disallow tls_symbolic_operand.
  6818. (symbolic_memory_operand): Likewise.
  6819. (tls_call_delay, sparc_cannot_force_const_mem, legitimate_constant_p,
  6820. constant_address_p, legitimate_pic_operand_p, legitimate_address_p):
  6821. New functions.
  6822. (sparc_tls_symbol): New variable.
  6823. (sparc_tls_get_addr, sparc_tls_got, legitimize_tls_address,
  6824. legitimize_address): New functions.
  6825. (print_operand): Handle %&.
  6826. (sparc_init_machine_status, get_some_local_dynamic_name,
  6827. get_some_local_dynamic_name_1): New functions.
  6828. (sparc_output_dwarf_dtprel): New function.
  6829. * config/sparc/sparc.h (CONSTANT_ADDRESS_P): Moved into
  6830. constant_address_p.
  6831. (LEGITIMATE_PIC_OPERAND_P): Moved into legitimate_pic_operand_p.
  6832. (LEGITIMATE_CONSTANT_P): Moved into legitimate_constant_p.
  6833. (GO_IF_LEGITIMATE_ADDRESS): Moved into legitimate_address_p.
  6834. (LEGITIMIZE_ADDRESS): Moved into legitimize_address.
  6835. (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
  6836. (TARGET_TLS, TARGET_SUN_TLS, TARGET_GNU_TLS): Define.
  6837. (ASM_OUTPUT_DWARF_DTPREL): Define.
  6838. (PREDICATE_CODES): Add tgd_symbolic_operand, tld_symbolic_operand,
  6839. tie_symbolic_operand, tle_symbolic_operand.
  6840. * config/sparc/sparc.md (UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_TLSLDO,
  6841. UNSPEC_TLSIE, UNSPEC_TLSLE, UNSPEC_TLSLD_BASE): New constants.
  6842. (tls_call_delay): New attribute.
  6843. (in_call_delay): Use it.
  6844. (movqi, movhi, movsi, movdi): Call legitimize_tls_address if needed.
  6845. (tgd_hi22, tgd_lo10, tgd_add32, tgd_add64, tgd_call32, tgd_call64,
  6846. tldm_hi22, tldm_lo10, tldm_add32, tldm_add64, tldm_call32, tldm_call64,
  6847. tldo_hix22, tldo_lox10, tldo_add32, tldo_add64, tie_hi22, tie_lo10,
  6848. tie_ld32, tie_ld64, tie_add32, tie_add64, tle_hix22_sp32,
  6849. tle_lox10_sp32, tle_hix22_sp64, tle_lox10_sp64): New insns.
  6850. (tldo_ldub_sp32, tldo_ldub1_sp32, tldo_ldub2_sp32, tldo_ldsb1_sp32,
  6851. tldo_ldsb2_sp32, tldo_ldub_sp64, tldo_ldub1_sp64, tldo_ldub2_sp64,
  6852. tldo_ldub3_sp64, tldo_ldsb1_sp64, tldo_ldsb2_sp64, tldo_ldsb3_sp64,
  6853. tldo_lduh_sp32, tldo_lduh1_sp32, tldo_ldsh1_sp32, tldo_lduh_sp64,
  6854. tldo_lduh1_sp64, tldo_lduh2_sp64, tldo_ldsh1_sp64, tldo_ldsh2_sp64,
  6855. tldo_lduw_sp32, tldo_lduw_sp64, tldo_lduw1_sp64, tldo_ldsw1_sp64,
  6856. tldo_ldx_sp64, tldo_stb_sp32, tldo_stb_sp64, tldo_sth_sp32,
  6857. tldo_sth_sp64, tldo_stw_sp32, tldo_stw_sp64, tldo_stx_sp64): New
  6858. insns.
  6859. * config/sparc/sparc-protos.h (legitimate_constant_p,
  6860. constant_address_p, legitimate_pic_operand_p, legitimate_address_p,
  6861. legitimize_tls_address, legitimize_address, tls_symbolic_operand,
  6862. tls_call_delay, sparc_output_dwarf_dtprel): New prototypes.
  6863. * config/sparc/linux.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Define.
  6864. * config/sparc/linux64.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Likewise.
  6865. * configure.in (sparc*-*-*): Add TLS check.
  6866. * configure: Rebuilt.
  6867. 2003-09-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  6868. PR target/11689
  6869. * config/i386/i386.c (memory_address_length): Fix computation when
  6870. the base is esp or ebp.
  6871. 2003-09-07 Mark Mitchell <mark@codesourcery.com>
  6872. PR c++/11852
  6873. * varasm.c (initializer_constant_valid_p): Correct logic for
  6874. CONSTRUCTORs.
  6875. 2003-09-07 Roger Sayle <roger@eyesopen.com>
  6876. * expr.c (expand_operands): New function to expand an operand pair.
  6877. (expand_expr): Call expand_operands whenever we need to expand both
  6878. operands of a binary operator.
  6879. (do_store_flag): Likewise for operands of comparison operations.
  6880. 2003-09-07 Roger Sayle <roger@eyesopen.com>
  6881. * combine.c (combine_simplify_rtx): Don't convert -(A*B) into
  6882. (-A)*B if we care about sign-dependent rounding.
  6883. 2003-09-07 Gabriel Dos Reis <gcc@integrable-solutions.net>
  6884. * c-pretty-print.h (pp_c_left_brace): Declare.
  6885. (pp_c_right_brace): Likewise.
  6886. * c-pretty-print.c (pp_c_left_brace): Now a function
  6887. (pp_c_right_brace): Likewise.
  6888. 2003-09-07 Jan Hubicka <jh@suse.cz>
  6889. * cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.
  6890. 2003-09-07 Gabriel Dos Reis <gdr@integrable-solutions.net>
  6891. * diagnostic.c (warn_deprecated_use): Move to toplev.c
  6892. 2003-09-07 Gabriel Dos Reis <gdr@integrable-solutions.net>
  6893. * langhooks.c (lhd_print_error_function): Move from diagnostic.c.
  6894. * Makefile.in (langhooks.o): Depend on diagnostic.h
  6895. 2003-09-06 James E Wilson <wilson@tuliptree.org>
  6896. * loop.c (loop_regs_update): Delete else clause for PATTERN rtx and
  6897. simplify.
  6898. 2003-09-07 Kelley Cook <kelleycook@wideopenwest.com>
  6899. * Makefile.in: Define $REMAKE to be $MAKE with LANGUAGES & BOOT_CFLAGS
  6900. and use it throughout.
  6901. 2003-09-07 Jan Hubicka <jh@suse.cz>
  6902. * cfgcleanup.c (try_simplify_condjump): Fix my previous patch.
  6903. * toplev.c (rest_of_decl_compilation): Do not finalize external
  6904. virables.
  6905. * cgraph.c (cgraph_mark_reachable_node): Only enqueue finalized
  6906. functions.
  6907. (cgraph_varpool_finalize_decl): Notice global symbol when needed.
  6908. 2003-09-06 Jan Hubicka <jh@suse.cz>
  6909. PR target/12070
  6910. * calls.c (emit_library_call_value_1): Fix saving of BLKmode arguments.
  6911. PR opt/12082
  6912. * cfgcleanup.c (try_simplify_condjump): Avoid unreachable code warning.
  6913. 2003-09-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
  6914. * diagnostic.c (announce_function): Move to toplev.c.
  6915. 2003-09-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  6916. * gcse.c (expr_equiv_p): Don't consider anything to be equal to
  6917. volatile mem.
  6918. 2003-09-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6919. * ggc-common.c (init_ggc_heuristics): Don't use the heuristics
  6920. when gc checking is enabled.
  6921. 2003-09-06 Steven Bosscher <steven@gcc.gnu.org>
  6922. PR c/9862
  6923. * c-decl.c (c_expand_body_1): Move return warning from here...
  6924. (finish_function): ...to here.
  6925. 2003-09-05 Geoffrey Keating <geoffk@apple.com>
  6926. * config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Always return
  6927. a subset of the input class.
  6928. 2003-09-05 Kazu Hirata <kazu@cs.umass.edu>
  6929. * config/i860/i860.c: Follow spelling conventions.
  6930. * config/i860/i860.h: Likewise.
  6931. * config/sh/sh.h: Likewise.
  6932. 2003-09-05 Nitin Yewale <NitinY@KPITCummins.com>
  6933. * config/h8300/h8300-protos.h: Declare h8300_hard_regno_rename_ok
  6934. * config/h8300/h8300.h (HARD_REGNO_RENAME_OK): New.
  6935. * config/h8300/h8300.c (h8300_hard_regno_rename_ok): New.
  6936. 2003-09-05 Roger Sayle <roger@eyesopen.com>
  6937. Richard Henderson <rth@redhat.com>
  6938. PR optimization/1823
  6939. * expmed.c (expand_divmod <EXACT_DIV_EXPR>): Use an unsigned
  6940. multiplication to implement division by constant integer.
  6941. 2003-09-05 Jan Hubicka <jh@suse.cz>
  6942. * opts.c (decode_options): Enable unit-at-a-time at -O2.
  6943. * params.def (max-inline-insns-single): Set to 500
  6944. (max-inline-insns-auto): Set to 150
  6945. * invoke.texi (max-inline-insns-single, max-inline-insns-auto): Update.
  6946. 2003-09-04 Richard Henderson <rth@redhat.com>
  6947. * cgraph.c (cgraph_mark_reachable_node): Split out from ...
  6948. (cgraph_mark_needed_node): Remove needed argument.
  6949. * cgraph.h: Update to match.
  6950. * cgraphunit.c (decide_is_function_needed): Split out from ...
  6951. (cgraph_finalize_function): Reorg. Avoid deferred_inline_function
  6952. if we generated the function.
  6953. (record_call_1): Update for cgraph_mark_reachable_node.
  6954. * varasm.c (mark_referenced): Likewise.
  6955. * objc/objc-act.c (mark_referenced_methods): Likewise.
  6956. 2003-09-04 DJ Delorie <dj@redhat.com>
  6957. * targhooks.c: Add comment explaining the migration process.
  6958. 2003-09-04 Eric Christopher <echristo@redhat.com>
  6959. * config/frv/t-frv: Fix path for frv-abi.h.
  6960. * config/frv/frv-asm.h: Fix string concatenation.
  6961. 2003-09-04 DJ Delorie <dj@redhat.com>
  6962. * builtins.c (apply_args_size): Guard against a NULL cfun.
  6963. (expand_builtin_apply_args_1): Likewise.
  6964. (expand_builtin_apply): Likewise.
  6965. Fixes PR bootstrap/12172.
  6966. 2003-09-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  6967. * configure.in (gcc_cv_as_ix86_cmov_sun_syntax): Check if
  6968. assembler supports Sun syntax for cmov.
  6969. * configure: Regenerate.
  6970. * config.in: Likewise.
  6971. * config/i386/i386.c: Rename CMOV_SUN_AS_SYNTAX to
  6972. HAVE_AS_IX86_CMOV_SUN_SYNTAX.
  6973. * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Remove.
  6974. Fixes PR target/12101.
  6975. 2003-09-04 Matt Austern <austern@apple.com>
  6976. * c-common.c (fname_as_string): Use lang_hooks.decl_printable_name
  6977. with verbosity 0, instead of DECL_NAME, for human-readable string.
  6978. 2003-09-04 Eric Christopher <echristo@redhat.com>
  6979. * targhooks.c (default_return_in_memory): Allow
  6980. unconverted ports.
  6981. 2003-09-04 Eric Christopher <echristo@redhat.com>
  6982. * targhooks.c (default_return_in_memory): Fix typo
  6983. in last checkin.
  6984. 2003-09-04 Eric Christopher <echristo@redhat.com>
  6985. * targhooks.c (default_return_in_memory): Fix default
  6986. definition.
  6987. 2003-09-04 Bernardo Innocenti <bernie@develer.com>
  6988. * config/m68k/m68k.c (m68k_coff_asm_named_section): Restore
  6989. deleted function.
  6990. * config/m68k/coff.h (M68K_TARGET_COFF): Add flag used to
  6991. enable coff-only code in m68k.c.
  6992. 2003-09-04 Nick Clifton <nickc@redhat.com>
  6993. * config.gcc: Add v850e1 target. Allow --with-cpu to accept
  6994. v850e1.
  6995. * config/v850/v850.h: Accept v850e1 as a default CPU.
  6996. Accept -mv850e1 as a command line option.
  6997. * doc/invoke.texi: Document new -mv850e1 command line switch.
  6998. * config/v850/t-v850: Treat -mv850e1 as a multilib alias for
  6999. -mv850e.
  7000. 2003-09-04 Nick Clifton <nickc@redhat.com>
  7001. * config.gcc (v850e-*-*): Use t-v850e makefile fragment.
  7002. * config/v850/t-v850: Only produce one extra multilib - for
  7003. the v850e.
  7004. * config/v850/t-v850e: New file: Only produce one extra
  7005. multilib - for the v850.
  7006. 2003-09-04 Jakub Jelinek <jakub@redhat.com>
  7007. * config/ia64/libgcc-ia64.ver: Export _Unwind_GetBSP@@GCC_3.3.2.
  7008. * config/ia64/unwind-ia64.c (_Unwind_GetBSP): New function.
  7009. * unwind.h (_Unwind_GetBSP): New prototype.
  7010. * libgcc-std.ver: Add empty GCC_3.3.2 version.
  7011. * mkmap-symver.awk: For symbol versions with no exported symbols,
  7012. don't put anything into version script, just change all symbol
  7013. versions which inherit from it to inherit from its ancestor.
  7014. 2003-09-04 Eric Christopher <echristo@redhat.com>
  7015. * config/mips/mips.c (mips_expand_prologue): Convert to
  7016. calls.struct_value_rtx hook.
  7017. (reg_or_const_float_1_operand): New.
  7018. * config/mips/mips.h: Update Comments.
  7019. (mips_arg): Add reg_or_const_float_1_operand.
  7020. * config/mips/mips.md (divdf3); Convert to expander.
  7021. (divsf3): Ditto.
  7022. (*divdf3): New pattern.
  7023. (*divsf3): Ditto.
  7024. 2003-09-04 Jan Hubicka <jh@suse.cz>
  7025. * toplev.c (wrapup_global_declarations): Fix final pass in
  7026. unit-at-atime mode.
  7027. 2003-09-04 Mark Mitchell <mark@codesourcery.com>
  7028. * doc/extend.texi: Document removal of cast-as-lvalue extension in
  7029. C++.
  7030. 2003-09-04 Nicolas Roche <roche@act-europe.fr>
  7031. * gcc.c (process_command): Fix typo.
  7032. 2003-09-03 David O'Brien <obrien@FreeBSD.org>
  7033. optimization/11980
  7034. * config/i386/freebsd.h (SIZE_TYPE): Support TARGET_64BIT.
  7035. (PTRDIFF_TYPE): Likewise.
  7036. (WCHAR_TYPE_SIZE): Likewise.
  7037. 2003-09-03 DJ Delorie <dj@redhat.com>
  7038. * targhooks.c: New file.
  7039. * targhooks.h: New file.
  7040. * Makefile.in: Add targhooks.o support.
  7041. (function.o): Depend on$(TARGET_H).
  7042. (stmt.o): Likewise.
  7043. (combine.o): Depend on $(TREE_H) and $(TARGET_H).
  7044. * builtins.c (apply_args_size, expand_builtin_apply_args_1,
  7045. expand_builtin_apply): Convert to calls.struct_value_rtx hook.
  7046. (expand_builtin_saveregs): Convert to
  7047. calls.expand_builtin_saveregs hook.
  7048. * c-decl.c (start_decl): Handle new calls.promote_prototypes hook
  7049. here, instead of ...
  7050. (get_parm_info) ... here.
  7051. (store_parm_decls_oldstyle): Convert to calls.promote_prototypes
  7052. hook.
  7053. (finish_function): Handle calls.promote_prototypes hook here too.
  7054. * c-typeck.c (convert_arguments): Convert to
  7055. calls.promote_prototypes hook.
  7056. (c_convert_parm_for_inlining): Likewise.
  7057. * calls.c (initialize_argument_information): Convert to
  7058. calls.promote_function_args hook.
  7059. (expand_call): Convert to calls.struct_value_rtx,
  7060. calls.strict_argument_naming,
  7061. calls.pretend_outgoing_varargs_named, and
  7062. calls.promote_function_return hooks. Pass fndecl to
  7063. aggregate_value_p. Initialize CUMULATIVE_ARGS before calling
  7064. hooks, so they can use that.
  7065. (emit_library_call_value_1): Likewise.
  7066. * combine.c (setup_incoming_promotions): Convert to
  7067. calls.promote_function_args hook.
  7068. * emit-rtl.c: Convert to calls.struct_value_rtx hook.
  7069. * expr.c (expand_assignment): Pass call to aggregate_value_p.
  7070. (expand_expr): Likewise.
  7071. * expr.h: Remove support for SETUP_INCOMING_VARARGS,
  7072. STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
  7073. RETURN_IN_MEMORY macro defaults.
  7074. * final.c (profile_function): Convert to calls.struct_value_rtx
  7075. hook.
  7076. * function.c (aggregate_value_p): Accept function type tree as
  7077. second parameter; try to deduce fntype from it. Convert to
  7078. calls.return_in_memory hook.
  7079. (assign_parms): Convert to calls.setup_incoming_varargs,
  7080. calls.strict_argument_naming, calls.promote_function_args,
  7081. calls.pretend_outgoing_varargs_named hooks. Pass fndecl to
  7082. aggregate_value_p.
  7083. (expand_function_start): Likewise. Convert to
  7084. calls.struct_value_rtx hook.
  7085. (expand_function_end): Convert to calls.promote_function_return hook.
  7086. (allocate_struct_function): Pass fndecl to aggregate_value_p.
  7087. * hard-reg-set.h: Update comments to new hook names.
  7088. * integrate.c (expand_inline_function): Pass fndecl to aggregate_value_p.
  7089. * reg-stack.c (stack_result): Likewise.
  7090. * rtl.h (struct_value_rtx, struct_value_incoming_rtx): Delete.
  7091. * stmt.c (expand_value_return): Convert to
  7092. calls.promote_function_return hook.
  7093. * target-def.h: Add TARGET_PROMOTE_FUNCTION_ARGS,
  7094. TARGET_PROMOTE_FUNCTION_RETURN, TARGET_PROMOTE_PROTOTYPES,
  7095. TARGET_STRUCT_VALUE_RTX, TARGET_RETURN_IN_MEMORY,
  7096. TARGET_EXPAND_BUILTIN_SAVEREGS, TARGET_SETUP_INCOMING_VARARGS,
  7097. TARGET_STRICT_ARGUMENT_NAMING,
  7098. TARGET_PRETEND_OUTGOING_VARARGS_NAMED, and TARGET_CALLS.
  7099. * target.h: Likewise.
  7100. * tree.h (aggregate_value_p): Also takes a tree to deduce function
  7101. attributes from (for target hooks).
  7102. * doc/tm.texi (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN,
  7103. PROMOTE_PROTOTYPES, RETURN_IN_MEMORY, STRUCT_VALUE_REGNUM,
  7104. STRUCT_VALUE, STRUCT_VALUE_INCOMING_REGNUM, STRUCT_VALUE_INCOMING,
  7105. EXPAND_BUILTIN_SAVEREGS, SETUP_INCOMING_VARARGS,
  7106. STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED): Convert
  7107. to hooks.
  7108. * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Pass function
  7109. to aggregate_value_p.
  7110. * config/arm/arm.c (arm_init_cumulative_args,
  7111. arm_output_mi_thunk): Likewise.
  7112. * config/i386/i386.c (ix86_return_pops_args, x86_this_parameter):
  7113. Likewise.
  7114. * config/mips/mips.c (mips_save_reg_p, mips_expand_prologue,
  7115. mips_can_use_return_insn): Likewise.
  7116. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
  7117. * config/s390/s390.c (s390_output_mi_thunk): Likewise.
  7118. * config/sparc/sparc.c (sparc_output_mi_thunk): Pass function to
  7119. aggregate_value_p.
  7120. * config/story16/stormy16.c (xstormy16_asm_output_mi_thunk): Pass
  7121. function to aggregate_value_p.
  7122. * objc/objc-act.c (generate_struct_by_value_array): Pass NULL to
  7123. aggregate_value_p.
  7124. * config/sh/sh-protos.h (sh_builtin_saveregs): Remove.
  7125. (sh_attr_renesas_p, sh_cfun_attr_renesas_p, sh_function_arg,
  7126. sh_function_arg_advance, sh_pass_in_reg_p): New. * config/sh/sh.c
  7127. (sh_handle_renesas_attribute, sh_promote_prototypes,
  7128. sh_struct_value_rtx, sh_return_in_memory, sh_builtin_saveregs,
  7129. sh_setup_incoming_varargs, sh_strict_argument_naming,
  7130. sh_pretend_outgoing_varargs_named): New decls.
  7131. (targetm): Add new hooks.
  7132. (calc_live_regs): Save MACL and MACH if the function has the
  7133. renesas attribute.
  7134. (sh_expand_prologue): Support renesas attribute.
  7135. (sh_builtin_saveregs): Make static.
  7136. (sh_build_va_list): Support renesas attribute.
  7137. (sh_va_start): Likewise.
  7138. (sh_va_arg): Likewise.
  7139. (sh_promote_prototypes): New.
  7140. (sh_function_arg): New, moved from sh.h. Support renesas
  7141. attribute.
  7142. (sh_function_arg_advance): Likewise.
  7143. (sh_return_in_memory): Likewise.
  7144. (sh_strict_argument_naming): Likewise.
  7145. (sh_pretend_outgoing_varargs_named): Likewise.
  7146. (sh_struct_value_rtx): New.
  7147. (sh_attribute): Add renesas attribute.
  7148. (sh_handle_renesas_attribute): New.
  7149. (sh_attr_renesas_p, sh_cfun_attr_renesas_p): New.
  7150. (sh_ms_bitfield_layout_p): Support renesas attribute also.
  7151. (sh_output_mi_thunk): Pass function to aggregate_value_p. *
  7152. config/sh/sh.h (TARGET_SWITCHES): Add -mrenesas as an alias for
  7153. -mhitachi.
  7154. (STRUCT_VALUE_REGNUM, STRUCT_VALUE, RETURN_IN_MEMORY): Moved to
  7155. target hooks.
  7156. (sh_args): Add renesas_abi flag.
  7157. (INIT_CUMULATIVE_ARGS): Set it. Pass fndecl to aggregate_value_p.
  7158. (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Move to sh.c.
  7159. (PASS_IN_REG_P): Support renesas attribute. Pass DF and TF on the
  7160. stack for the renesas abi.
  7161. (STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
  7162. SETUP_INCOMING_VARARGS, EXPAND_BUILTIN_SAVEREGS,
  7163. PROMOTE_PROTOTYPES): Moved to sh.c. * config/sh/sh.md (call): Set
  7164. call cookie to indicate renesas calls.
  7165. 2003-09-03 Mostafa Hagog <mustafa@il.ibm.com>
  7166. * gcse.c (replace_one_set): New function.
  7167. (pre_insert_copy_insn): Change the order of copying
  7168. to make copy propagation discover additional PRE opportunities.
  7169. 2003-09-03 Roger Sayle <roger@eyesopen.com>
  7170. PR optimization/11700.
  7171. * simplify-rtx.c (simplify_subreg): Check that the subreg offset
  7172. of a hard register is representable before trying to simplify it
  7173. using subreg_hard_regno.
  7174. 2003-09-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  7175. * configure.in (gcc_cv_ld_hidden): Disable unless using GNU ld.
  7176. * configure: Regenerate.
  7177. 2003-09-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  7178. * intl.h (N_): Remove parentheses.
  7179. 2003-09-03 Bernardo Innocenti <bernie@develer.com>
  7180. * config.gcc (m68k-*-linux*): Remove definition of LINUX_DEFAULT_ELF.
  7181. * config/i370/linux.h (LINUX_DEFAULT_ELF): Remove unconditional
  7182. definition and code blocks compiled when not defined.
  7183. * config/i386/linux.h (LINUX_DEFAULT_ELF): Likewise.
  7184. * config/i386/linux64.h (LINUX_DEFAULT_ELF): Likewise.
  7185. * config/sparc/linux.h: (LINUX_DEFAULT_ELF): Likewise.
  7186. * config/sparc/linux64.h: (LINUX_DEFAULT_ELF): Likewise.
  7187. 2003-09-03 Jeff Sturm <jsturm@one-point.com>
  7188. * cgraphunit.c (visited_nodes): New static variable.
  7189. (record_call_1): Use walk_tree with visited_nodes.
  7190. (cgraph_create_edges): Use walk_tree with visited_nodes.
  7191. Setup/teardown visited_nodes hashtable.
  7192. 2003-09-03 Roger Sayle <roger@eyesopen.com>
  7193. * toplev.c (flag_rounding_math): New global variable.
  7194. (f_options): Add to the list of language independent options.
  7195. * flags.h (flag_rounding_math): Prototype here.
  7196. (HONOR_SIGN_DEPENDENT_ROUNDING): Use flag_rounding_math instead.
  7197. * common.opt (frounding-math): New common command line option.
  7198. * opts.c (common_handle_option): Handle OPT_frounding_math.
  7199. (set_fast_math_flags): -ffast-math clears flag_rounding_math.
  7200. * doc/invoke.texi: Document this new command line option.
  7201. 2003-09-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  7202. * config/sol2.h (NO_IMPLICIT_EXTERN_C): Update comment.
  7203. 2003-09-03 Jan Hubicka <jh@suse.cz>
  7204. * Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency.
  7205. * c-decl.c (finish_function): Kill arguments, always use cgraph path.
  7206. * c-objc-common.c: Kill include of gt-c-objc-common.h
  7207. (expand_deferred_fns, deffer_fn): Kill function.
  7208. (deferred_fns): Kill variable.
  7209. (finish_cdtor): Update finish_function call.
  7210. (c_objc_common_finish_file): Always call cgraph code.
  7211. * c-parse.c: Regenerate.
  7212. * c-parse.y: Regenerate.
  7213. * c-tree.h (finish_function): Update prototype.
  7214. * objc-acct.c (build_module_descriptor, finish_method_def):
  7215. Update call of finish_function.
  7216. * cgraphunit.c (cgraph_default_inline_p, cgraph_analyze_function): Add
  7217. forward prototype.
  7218. (cgraph_finalize_function): In non-unit-at-a-time mode analyze the
  7219. function and assemble it if needed.
  7220. (cgraph_finalize_compilation_unit): Do nothing in non-unit-at-a-time
  7221. mode.
  7222. (cgraph_optimize): Likewise.
  7223. (cgraph_expand_function): In non-unit-at-a-time mode keep function body
  7224. even when it has no inline callees.
  7225. * c-parse.in: Update calls to finish_function.
  7226. 2003-09-03 Nick Clifton <nickc@redhat.com>
  7227. * config/arm/arm.h: Handle TARGET_CPU_iwmmxt.
  7228. Use #error to generate the message if TARGET_DEFAULT is not
  7229. recognised.
  7230. 2003-09-03 Richard Sandiford <rsandifo@redhat.com>
  7231. * config/mips/mips.h (MASK_UNUSED1): Remove.
  7232. (MASK_XGOT, TARGET_XGOT): Define.
  7233. (TARGET_SWITCHES): Add an entry for -mxgot.
  7234. (ASM_SPEC): Map -mxgot to -xgot.
  7235. * config/mips/mips.c (mips_symbol_insns): Use TARGET_XGOT to decide
  7236. whether we're using a big-GOT sequences.
  7237. (mips_legitimize_const_move, mips_expand_call): Likewise.
  7238. (override_options): Revert 2003-01-09 change.
  7239. * doc/invoke.texi: Document -mxgot.
  7240. 2003-09-02 Jason Merrill <jason@redhat.com>
  7241. * config/sol2.h (NO_IMPLICIT_EXTERN_C): Define here.
  7242. * config/sparc/sol2.h: Not here.
  7243. 2003-09-02 Roger Sayle <roger@eyesopen.com>
  7244. * expr.c (expand_expr): The code following both_summands performs
  7245. the same task as simplify_gen_binary. Replace all gotos to
  7246. both_summands with a call to simplify_gen_binary and delete the
  7247. now unused label.
  7248. 2003-09-02 Jason Merrill <jason@redhat.com>
  7249. PR c++/7327
  7250. * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.
  7251. 2003-09-02 Jeff Sturm <jsturm@one-point.com>
  7252. * cgraphunit.c (record_call_1): Use walk_tree_without_duplicates.
  7253. (cgraph_optimize_function): Set current_function_decl to the
  7254. fndecl we're integrating from.
  7255. 2003-09-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7256. * builtins.def: Break out _Complex math functions into their
  7257. own category.
  7258. 2003-09-02 Andreas Jaeger <aj@suse.de>
  7259. * langhooks-def.h (LANG_HOOKS_RTL_EXPAND_STMT): Cast properly.
  7260. 2003-09-02 Josef Zlomek <zlomekj@suse.cz>
  7261. * cfgbuild.c (compute_outgoing_frequencies): Use NOTE instead of
  7262. finding the note again.
  7263. 2003-09-02 Nathanael Nerode <neroden@gcc.gnu.org>
  7264. * config.gcc: Remove host-specific rewrites of target_alias.
  7265. 2003-09-01 Mark Mitchell <mark@codesourcery.com>
  7266. * Makefile.in (genprogs): Fix typo.
  7267. * Makefile.in (gencheck.o): Remove build commands.
  7268. (dummy-conditions.o): Likewise.
  7269. (read-rtl.o): Likewise.
  7270. (gensupport.o): Likewise.
  7271. (genconfig$(build_exeext)): Remove rule.
  7272. (genconfig.o): Remove build commands.
  7273. (genflags$(build_exeext)): Remove rule.
  7274. (genflags.o): Remove build commands.
  7275. (gencodes$(build_exeext)): Remove rule.
  7276. (gencodes.o): Remove build commands.
  7277. (genconstants.o): Remove build commands.
  7278. (genemit$(build_exeext)): Remove rule.
  7279. (genemit.o): Remove build commands.
  7280. (genrecog$(build_exeext)): Remove rule.
  7281. (genrecog.o): Remove build commands.
  7282. (genextract$(build_exeext)): Remove rule.
  7283. (genextract.o): Remove build commands.
  7284. (genpeep$(build_exeext)): Remove rule.
  7285. (genpeep.o): Remove build commands.
  7286. (genattr$(build_exeext)): Remove rule.
  7287. (genattr.o): Remove build commands.
  7288. (genprognames): New variable.
  7289. (genprogs): Likewise.
  7290. (genobjs): Likewise.
  7291. (genprogs): New rule.
  7292. (genobjs): Likewise.
  7293. (genattrtab.o): Remove build commands.
  7294. (genautomata.o): Likewise.
  7295. (genoutput$(build_exeext)): Remove rule.
  7296. (genoutput.o): Remove build commands.
  7297. (gengenrtl.o): Likewise.
  7298. (genpreds.o): Likewise.
  7299. (gengtype.o): Likewise.
  7300. (genconditions.o): Likewise.
  7301. (gen-protos.o): Likewise.
  7302. (scan.o): Likewise.
  7303. (fix-header.o): Likewise.
  7304. (scan-decls.o): Likewise.
  7305. (check-g++): Combine with other check targets.
  7306. (check-gcc): Likewise.
  7307. (check-g77): Likewise.
  7308. (check-objc): Likewise.
  7309. 2003-09-01 Nathanael Nerode <neroden@gcc.gnu.org>
  7310. * config.gcc: Remove host-specific stuff which is unused here
  7311. since the introduction of config.host.
  7312. * doc/fragments.texi: Mention config.host.
  7313. * doc/sourcebuild.texi: Mention config.host. Give brief descriptions
  7314. of config.build, config.host, and config.gcc.
  7315. 2003-09-01 Zack Weinberg <zack@codesourcery.com>
  7316. * c-decl.c (pushdecl): Don't put variables on
  7317. C_TYPE_INCOMPLETE_VARS of a type unless that type is itself
  7318. incomplete.
  7319. 2003-09-01 Nathanael Nerode <neroden@gcc.gnu.org>
  7320. * config.host: New file.
  7321. * config.gcc: Remove some host-specific stuff and some
  7322. logic needed only for repeated invocation.
  7323. * configure.in: Use config.host.
  7324. * configure: Regenerate.
  7325. 2003-09-01 Josef Zlomek <zlomekj@suse.cz>
  7326. * c-typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR.
  7327. * convert.c (convert_to_integer): Kill BIT_ANDTC_EXPR.
  7328. * fold-const.c (int_const_binop): Kill BIT_ANDTC_EXPR.
  7329. (fold): Kill BIT_ANDTC_EXPR and label bit_and.
  7330. * tree.def (BIT_ANDTC_EXPR): Kill.
  7331. 2003-08-31 Nathanael Nerode <neroden@gcc.gnu.org>
  7332. * configure.in: Remove uses of "for x in .. ${foo}" idiom.
  7333. * configure: Regenerate.
  7334. * config.gcc: Remove references to install_headers_dir, now unused
  7335. since introduction of config.build.
  7336. * config.gcc (i860-*-sysv4*): Don't set unused USG, SVR3 defines.
  7337. * doc/fragments.texi, doc/sourcebuild.texi: Mention new file
  7338. config.build.
  7339. * config.build: New file.
  7340. * config.gcc: Remove some build-specific stuff.
  7341. * configure.in: Use config.build.
  7342. * configure: Regnerate.
  7343. 2003-08-31 Steven Bosscher <steven@gcc.gnu.org>
  7344. Roger Sayle <roger@eyesopen.com>
  7345. PR middle-end/11823
  7346. * stmt.c (expand_end_case_type): Only use jump tables for dense
  7347. switch statements when optimizing for size.
  7348. 2003-08-31 Olivier Hainque <hainque@act-europe.fr>
  7349. * builtins.c (expand_builtin_setjmp): Use emit_jump to jump around
  7350. the != 0 case, which ensures pending stack adjustments are flushed.
  7351. 2003-08-30 Zack Weinberg <zack@codesourcery.com>
  7352. * configure.frag: Delete file.
  7353. * configure.in: Rename the substitution variables
  7354. dep_host_xmake_file and dep_tmake_file to xmake_file and
  7355. tmake_file respectively. Do not expand $srcdir in the
  7356. value of these; leave that for Make. Introduce a new
  7357. substitution varaible, all_lang_makefrags, which lists
  7358. subdirectory Make-lang.in files; exclude these from
  7359. all_lang_makefiles, which is now only for subdirectory
  7360. outputs. Do not invoke configure.frag. Do not set nor
  7361. AC_SUBST_FILE target_overrides, host_overrides, or
  7362. language_fragments. Create build subdirectories in
  7363. config.status extra commands.
  7364. * configure: Regenerate.
  7365. * Makefile.in: Update substitutions to match changes to
  7366. configure. Use include directives instead of @-insertions
  7367. to read in host, target, and language fragments.
  7368. (Makefile rule): Do not invoke configure.frag. Do not copy
  7369. config.status to config.run before executing it. Set
  7370. CONFIG_HEADERS and CONFIG_FILES so that only Makefile gets
  7371. regenerated.
  7372. (cstamp-h rule): Set CONFIG_FILES as well as CONFIG_HEADERS.
  7373. 2003-08-30 Zack Weinberg <zack@codesourcery.com>
  7374. * c-tree.h: Delete COMPARE_DIFFERENT_TU from enumeration.
  7375. * c-typeck.c (same_translation_unit_p): New function.
  7376. (comptypes): Use it instead of flags parameter to identify
  7377. structure types from different translation units.
  7378. * c-decl.c (duplicate_decls): Always call comptypes with
  7379. COMPTYPE_STRICT flags argument.
  7380. (c_reset_state): Set BLOCK_SUPERCONTEXT of the block formed
  7381. to file_scope_decl.
  7382. 2003-08-30 Zack Weinberg <zack@codesourcery.com>
  7383. * c-tree.h (C_TYPE_INCOMPLETE_VARS): New macro.
  7384. * c-decl.c (struct c_scope): Remove "incomplete" field.
  7385. (pushdecl): Attach variables with incomplete types to
  7386. the TYPE_MAIN_VARIANT of the incomplete type in question.
  7387. (finish_struct): Look at C_TYPE_INCOMPLETE_VARS for variables
  7388. to complete, not at current_scope->incomplete. All such
  7389. variables do need completion.
  7390. 2003-08-30 Richard Earnshaw <rearnsha@arm.com>
  7391. Nicolas Pitre <nico@cam.org>
  7392. * arm/lib1funcs.asm (RETCOND): Delete.
  7393. (RETLDM): New assembler macro. Use it for returning with ldm/ldr.
  7394. (ARM_LDIV0, THUMB_LDIV0): Collapse multiple definitions.
  7395. (__ARM_ARCH__): Move here from ieee754-?f.S.
  7396. (RET, RETc): Clean up definitions.
  7397. (DIV_FUNC_END): Renamed from FUNC_END. All uses changed.
  7398. (FUNC_END): New macro that marks the end of any function.
  7399. (ARM_FUNC_START): New macro that allows an assembler routine to be
  7400. implemented in ARM code even if a Thumb-only build.
  7401. Unconditionally include ieee754-?f.S.
  7402. * arm/ieee754-df.S: Delete macros moved to lib1funcs.asm.
  7403. Mark ends of functions.
  7404. Split into separate conditionally-compiled units.
  7405. Use RETLDM to return from routines.
  7406. * arm/ieee754-sf.S: Similarly.
  7407. * t-arm-elf (LIB1ASMFUNCS): Remove _ieee754_dp and _ieee754_sp.
  7408. Add _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi
  7409. _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2
  7410. _fixsfsi and _fixunssfsi.
  7411. * arm/ieee754-df.S (__muldf3): Fix bug when result of a
  7412. multiplication underflows to zero.
  7413. (__adddf3): Fix bug when using VFP ordering on little-endian
  7414. processors.
  7415. (__fixdfsi): Use rrx to extract the carry into a register instead of
  7416. MRS instruction. Optimize later use of result.
  7417. * arm/ieee754-sf.S (__fixsfsi): Likewise.
  7418. (__fixunssfsi): Use a better sequence for handling negative-or-zero.
  7419. 2003-08-29 Richard Henderson <rth@redhat.com>
  7420. * tree-optimize.c: New file.
  7421. * Makefile.in (OBJS-archive): Add tree-optimize.o.
  7422. (tree-optimize.o): New.
  7423. * c-decl.c (store_parm_decls): Use allocate_struct_function.
  7424. (finish_function): Don't free_after_parsing or free_after_compilation.
  7425. (set_save_expr_context): Move to tree-optimize.c.
  7426. (c_expand_body_1): Use tree_rest_of_compilation.
  7427. * c-lang.c (LANG_HOOKS_RTL_EXPAND_STMT): New.
  7428. * objc/objc-lang.c (LANG_HOOKS_RTL_EXPAND_STMT): New.
  7429. * c-objc-common.c (expand_deferred_fns): Don't emit unused inlines;
  7430. iterate until closure.
  7431. * langhooks-def.h (LANG_HOOKS_RTL_EXPAND_START,
  7432. LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_RTL_EXPAND_END): New.
  7433. (LANG_HOOKS_RTL_EXPAND_INITIALIZER): New.
  7434. * langhooks.h (struct lang_hooks_for_rtl_expansion): New.
  7435. * toplev.h (tree_rest_of_compilation): Declare it.
  7436. 2003-08-29 Richard Henderson <rth@redhat.com>
  7437. * function.h (struct function): Add rtl_inline_init, saved_for_inline.
  7438. * integrate.c (save_for_inline): Set saved_for_inline.
  7439. * c-semantics.c (genrtl_scope_stmt): Check it.
  7440. * toplev.c (wrapup_global_declarations): Check it.
  7441. (rest_of_handle_inlining): Set and check rtl_inline_init.
  7442. (rest_of_compilation): Remove out of date comment.
  7443. 2003-08-29 Richard Henderson <rth@redhat.com>
  7444. * function.c (allocate_struct_function): New, split out of ...
  7445. (prepare_function_start, init_function_start): ... here.
  7446. * expr.c (init_expr): Use ggc_alloc_cleared.
  7447. * stmt.c (init_stmt_for_function): Likewise.
  7448. * tree.h (allocate_struct_function): Declare.
  7449. 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
  7450. * config.gcc: Don't use negated character class in shell case
  7451. clause.
  7452. 2003-08-29 Richard Henderson <rth@redhat.com>
  7453. * function.h (struct function): Move function_frequency and
  7454. max_jumptable_ents before start of bit field members.
  7455. 2003-08-29 Richard Henderson <rth@redhat.com>
  7456. * builtins.c (expand_builtin_constant_p): Check cse_not_expected here,
  7457. (fold_builtin_constant_p) ... not here.
  7458. 2003-08-29 Richard Henderson <rth@redhat.com>
  7459. * c-tree.h (C_DECL_FILE_SCOPE): Move ...
  7460. * tree.h (DECL_FILE_SCOPE_P): ... here, and rename.
  7461. * c-decl.c, c-objc-common.c, c-typeck.c: Update to match.
  7462. 2003-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7463. * builtins.def: Fix typos.
  7464. (ATTR_MATHFN_FPROUNDING_STORE): New macro.
  7465. (BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL, BUILT_IN_MODF,
  7466. BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO, BUILT_IN_REMQUOF,
  7467. BUILT_IN_REMQUOL, BUILT_IN_SINCOS, BUILT_IN_SINCOSF,
  7468. BUILT_IN_SINCOSL): Use ATTR_MATHFN_FPROUNDING_STORE.
  7469. * builtins.def (BUILT_IN_ERFC, BUILT_IN_ERFCF, BUILT_IN_ERFCL):
  7470. Use ATTR_MATHFN_FPROUNDING_ERRNO.
  7471. 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
  7472. * config.gcc (i386-*-vsta): Fix obvious bogosity.
  7473. * fixinc/inclhack.def: Remove special cases for unsupported
  7474. PTX 1 and PTX 2 (including i[34567]86-sequent-sysv3).
  7475. * fixinc/fixincl.x: Regenerate.
  7476. 2003-08-29 Mark Mitchell <mark@codesourcery.com>
  7477. * Makefile.in (cpp.info): Just state dependencies.
  7478. (gcc.info): Likewise.
  7479. (gccint.info): Likewise.
  7480. (gccinstall.info): Likewise.
  7481. (cppinternals.info): Likewise.
  7482. (cpp.dvi): Likewise.
  7483. (gcc.dvi): Likewise.
  7484. (gccint.dvi): Likewise.
  7485. (gccinstall.dvi): Likewise.
  7486. (cppinternals.dvi): Likewise.
  7487. (gcov.1): Likewise.
  7488. (cpp.1): Likewise.
  7489. (gcc.1): Likewise.
  7490. (gfdl.7): Likewise.
  7491. (gpl.7): Likewise.
  7492. (fsf-funding.7): Likewise.
  7493. ($(objdir)/%.info): New pattern rule.
  7494. (%.dvi): Likewise.
  7495. 2003-08-29 Kelley Cook <kelleycook@wideopenwest.com>
  7496. * Makefile.in (restage1): Pass BOOT_CFLAGS to recursive make.
  7497. (restage2): Likewise.
  7498. (restage3): Likewise.
  7499. (restage4): Likewise.
  7500. (restageprofile): Likewise.
  7501. (restagefeedback): Likewise.
  7502. (bubblestrap): Likewise.
  7503. 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
  7504. * config.gcc: Narrow unsupported target match to avoid clobbering
  7505. i?86-sequent-sysv4*.
  7506. 2003-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7507. * builtins.c (mathfn_built_in): Handle new math builtins.
  7508. 2003-08-28 Per Bothner <per@bothner.com>
  7509. Fix (hopefully temporary) for breakage caused by my 08-21 patch.
  7510. * cpplex.c (_cpp_get_fresh_line): Check for null buffer.
  7511. (_cpp_lex_buffer): Likewise.
  7512. * cpptrad.c (_cpp_read_logical_line_trad): Likewise.
  7513. 2003-08-28 Ulrich Weigand <uweigand@de.ibm.com>
  7514. * config/s390/s390.md ("*mulsi3_sign"): New insn.
  7515. ("mulsidi3" expander, "mulsi_6432" insn): Remove, replace by ...
  7516. ("mulsidi3"): ... this new insn.
  7517. ("umulsidi3"): New insn.
  7518. ("divmoddi3", "divmodtidi3", "divmodtisi3"): Simplify by using
  7519. mixed-mode matching constraints.
  7520. ("udivmodsi4", "udivmoddisi3"): New insns.
  7521. ("udivsi3", "umodsi3"): Use only in ESA/390 mode.
  7522. 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7523. * builtin-types.def (BT_INT_PTR, BT_FLOAT_PTR, BT_DOUBLE_PTR,
  7524. BT_LONGDOUBLE_PTR, BT_FN_FLOAT_FLOAT_FLOATPTR,
  7525. BT_FN_DOUBLE_DOUBLE_DOUBLEPTR,
  7526. BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLEPTR,
  7527. BT_FN_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_INTPTR,
  7528. BT_FN_LONGDOUBLE_LONGDOUBLE_INTPTR,
  7529. BT_FN_FLOAT_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_DOUBLE_INTPTR,
  7530. BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_INTPTR,
  7531. BT_FN_VOID_FLOAT_FLOATPTR_FLOATPTR,
  7532. BT_FN_VOID_DOUBLE_DOUBLEPTR_DOUBLEPTR,
  7533. BT_FN_VOID_LONGDOUBLE_LONGDOUBLEPTR_LONGDOUBLEPTR): New.
  7534. * builtins.def (BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL,
  7535. BUILT_IN_MODF, BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO,
  7536. BUILT_IN_REMQUOF, BUILT_IN_REMQUOL, BUILT_IN_SINCOS,
  7537. BUILT_IN_SINCOSF, BUILT_IN_SINCOSL): New.
  7538. * tree.c: Assign new type_nodes.
  7539. * tree.h (tree_index): Add TI_FLOAT_PTR_TYPE, TI_DOUBLE_PTR_TYPE,
  7540. TI_LONG_DOUBLE_PTR_TYPE, TI_INTEGER_PTR_TYPE.
  7541. (float_ptr_type_node, double_ptr_type_node,
  7542. long_double_ptr_type_node, integer_ptr_type_node): New type_nodes.
  7543. * doc/extend.texi: Document new builtins.
  7544. 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7545. * builtin-types.def (BT_FN_FLOAT_INT_FLOAT,
  7546. BT_FN_DOUBLE_INT_DOUBLE, BT_FN_LONGDOUBLE_INT_LONGDOUBLE): New.
  7547. * builtins.def (BUILT_IN_ERF, BUILT_IN_ERFC, BUILT_IN_ERFCF,
  7548. BUILT_IN_ERFCL, BUILT_IN_ERFF, BUILT_IN_ERFL, BUILT_IN_GAMMA,
  7549. BUILT_IN_GAMMAF, BUILT_IN_GAMMAL, BUILT_IN_J0, BUILT_IN_J0F,
  7550. BUILT_IN_J0L, BUILT_IN_J1, BUILT_IN_J1F, BUILT_IN_J1L,
  7551. BUILT_IN_JN, BUILT_IN_JNF, BUILT_IN_JNL, BUILT_IN_LGAMMA,
  7552. BUILT_IN_LGAMMAF, BUILT_IN_LGAMMAL, BUILT_IN_SIGNIFICAND,
  7553. BUILT_IN_SIGNIFICANDF, BUILT_IN_SIGNIFICANDL, BUILT_IN_TGAMMA,
  7554. BUILT_IN_TGAMMAF, BUILT_IN_TGAMMAL, BUILT_IN_Y0, BUILT_IN_Y0F,
  7555. BUILT_IN_Y0L, BUILT_IN_Y1, BUILT_IN_Y1F, BUILT_IN_Y1L,
  7556. BUILT_IN_YN, BUILT_IN_YNF, BUILT_IN_YNL): New.
  7557. * doc/extend.texi: Document new builtins.
  7558. 2003-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
  7559. * fixinc/mkfixinc.sh: Remove special case code for unsupported
  7560. variants of i?86, powerpcle, and thumb.
  7561. * fixinc/mkfixinc.sh: Remove special case code for unsupported
  7562. arm and hppa variants.
  7563. 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7564. * builtin-types.def (BT_FN_INT_FLOAT, BT_FN_INT_DOUBLE,
  7565. BT_FN_INT_LONGDOUBLE, BT_FN_LONG_FLOAT, BT_FN_LONG_DOUBLE,
  7566. BT_FN_LONG_LONGDOUBLE, BT_FN_LONGLONG_FLOAT,
  7567. BT_FN_LONGLONG_DOUBLE, BT_FN_LONGLONG_LONGDOUBLE,
  7568. BT_FN_FLOAT_FLOAT_LONGDOUBLE, BT_FN_DOUBLE_DOUBLE_LONGDOUBLE,
  7569. BT_FN_FLOAT_FLOAT_INT, BT_FN_DOUBLE_DOUBLE_INT,
  7570. BT_FN_LONGDOUBLE_LONGDOUBLE_INT, BT_FN_FLOAT_FLOAT_LONG,
  7571. BT_FN_DOUBLE_DOUBLE_LONG, BT_FN_LONGDOUBLE_LONGDOUBLE_LONG,
  7572. BT_FN_FLOAT_FLOAT_FLOAT_FLOAT, BT_FN_DOUBLE_DOUBLE_DOUBLE_DOUBLE,
  7573. BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE): New.
  7574. * builtins.def (BUILT_IN_ACOS, BUILT_IN_ACOSF, BUILT_IN_ACOSH,
  7575. BUILT_IN_ACOSHF, BUILT_IN_ACOSHL, BUILT_IN_ACOSL, BUILT_IN_ASIN,
  7576. BUILT_IN_ASINF, BUILT_IN_ASINH, BUILT_IN_ASINHF, BUILT_IN_ASINHL,
  7577. BUILT_IN_ASINL, BUILT_IN_ATANH, BUILT_IN_ATANHF, BUILT_IN_ATANHL,
  7578. BUILT_IN_CBRT, BUILT_IN_CBRTF, BUILT_IN_CBRTL, BUILT_IN_COPYSIGN,
  7579. BUILT_IN_COPYSIGNF, BUILT_IN_COPYSIGNL, BUILT_IN_COSH,
  7580. BUILT_IN_COSHF, BUILT_IN_COSHL, BUILT_IN_DREM, BUILT_IN_DREMF,
  7581. BUILT_IN_DREML, BUILT_IN_EXP10, BUILT_IN_EXP10F, BUILT_IN_EXP10L,
  7582. BUILT_IN_EXP2, BUILT_IN_EXP2F, BUILT_IN_EXP2L, BUILT_IN_EXPM1,
  7583. BUILT_IN_EXPM1F, BUILT_IN_EXPM1L, BUILT_IN_FDIM, BUILT_IN_FDIMF,
  7584. BUILT_IN_FDIML, BUILT_IN_FMA, BUILT_IN_FMAF, BUILT_IN_FMAL,
  7585. BUILT_IN_FMAX, BUILT_IN_FMAXF, BUILT_IN_FMAXL, BUILT_IN_FMIN,
  7586. BUILT_IN_FMINF, BUILT_IN_FMINL, BUILT_IN_HYPOT, BUILT_IN_HYPOTF,
  7587. BUILT_IN_HYPOTL, BUILT_IN_ILOGB, BUILT_IN_ILOGBF, BUILT_IN_ILOGBL,
  7588. BUILT_IN_LDEXP, BUILT_IN_LDEXPF, BUILT_IN_LDEXPL, BUILT_IN_LLRINT,
  7589. BUILT_IN_LLRINTF, BUILT_IN_LLRINTL, BUILT_IN_LLROUND,
  7590. BUILT_IN_LLROUNDF, BUILT_IN_LLROUNDL, BUILT_IN_LOG10,
  7591. BUILT_IN_LOG10F, BUILT_IN_LOG10L, BUILT_IN_LOG1P, BUILT_IN_LOG1PF,
  7592. BUILT_IN_LOG1PL, BUILT_IN_LOG2, BUILT_IN_LOG2F, BUILT_IN_LOG2L,
  7593. BUILT_IN_LOGB, BUILT_IN_LOGBF, BUILT_IN_LOGBL, BUILT_IN_LRINT,
  7594. BUILT_IN_LRINTF, BUILT_IN_LRINTL, BUILT_IN_LROUND,
  7595. BUILT_IN_LROUNDF, BUILT_IN_LROUNDL, BUILT_IN_NEXTAFTER,
  7596. BUILT_IN_NEXTAFTERF, BUILT_IN_NEXTAFTERL, BUILT_IN_NEXTTOWARD,
  7597. BUILT_IN_NEXTTOWARDF, BUILT_IN_NEXTTOWARDL, BUILT_IN_POW10,
  7598. BUILT_IN_POW10F, BUILT_IN_POW10L, BUILT_IN_REMAINDER,
  7599. BUILT_IN_REMAINDERF, BUILT_IN_REMAINDERL, BUILT_IN_RINT,
  7600. BUILT_IN_RINTF, BUILT_IN_RINTL, BUILT_IN_SCALB, BUILT_IN_SCALBF,
  7601. BUILT_IN_SCALBL, BUILT_IN_SCALBLN, BUILT_IN_SCALBLNF,
  7602. BUILT_IN_SCALBLNL, BUILT_IN_SCALBN, BUILT_IN_SCALBNF,
  7603. BUILT_IN_SCALBNL, BUILT_IN_SINH, BUILT_IN_SINHF, BUILT_IN_SINHL,
  7604. BUILT_IN_TANH, BUILT_IN_TANHF, BUILT_IN_TANHL): New.
  7605. * doc/extend.texi: Document new builtins.
  7606. 2003-08-28 Ulrich Weigand <uweigand@de.ibm.com>
  7607. * config/s390/s390.c (legitmate_constant_p): Use LARL on
  7608. zSeries machines even in 31-bit addressing mode.
  7609. (legitimate_reload_constant_p): Likewise.
  7610. (legitimize_pic_address): Likewise.
  7611. (legitimize_tls_address): Likewise.
  7612. (s390_split_branches): Likewise.
  7613. (s390_dump_pool): Likewise.
  7614. (s390_mainpool_finish): Likewise.
  7615. (s390_chunkify_start): Likewise.
  7616. (s390_select_rtx_section): Likewise.
  7617. * config/s390/s390.md ("doloop_si"): Likewise.
  7618. ("pool_start_31", "pool_end_31"): Likewise.
  7619. ("pool_start_64", "pool_end_64"): Likewise.
  7620. ("main_base_31_small", "main_base_31_large"): Likewise.
  7621. ("main_base_64"): Likewise.
  7622. ("reload_base_31", "reload_base_64"): Likewise.
  7623. ("*movsi_larl"): New insn.
  7624. ("cjump", "icjump"): Use long branches on zSeries machines.
  7625. ("jump"): Likewise.
  7626. ("call"): Use BRASL on zSeries machines.
  7627. ("call_value", "call_value_tls"): Likewise.
  7628. ("brasl", "bras", "basr_64", "basr_31", "bas_64", "bas_31"): Remove
  7629. and replace by ...
  7630. ("*bras", "*brasl", "*basr") ... these new insns.
  7631. ("brasl_r", "bras_r", "basr_64_r", "basr_31_r", "bas_64_r",
  7632. "bas_31_r"): Remove and replace by ...
  7633. ("*bras_r", "*brasl_r", "*basr_r") ... these new insns.
  7634. ("brasl_tls", "bras_tls", "basr_64_tls", "basr_31_tls",
  7635. "bas_64_tls", "bas_31_tls"): Remove and replace by ...
  7636. ("*bras_tls", "*brasl_tls", "*basr_tls") ... these new insns.
  7637. ("*return_si", "*return_di"): Remove and replace by ...
  7638. ("*return"): ... this new insn.
  7639. ("rotlsi3"): Allow on zSeries machines.
  7640. * config/s390/s390.c (legitimize_reload_constant_p): Use
  7641. LL/LH type instructions in z/Architecture mode.
  7642. * config/s390/s390.md ("*movsi_lli"): Likewise.
  7643. ("*andsi3_ni", "*andhi3_ni", "*andqi3_ni"): Likewise.
  7644. ("*iorsi3_ni", "*iorhi3_ni", "*iorqi3_ni"): Likewise.
  7645. ("*extendqisi2"): Use LB in z/Architecture mode.
  7646. ("*zero_extendqisi2_64", "*zero_extendqisi2_31"): Use LLGC in
  7647. z/Architecture mode.
  7648. ("zero_extendqihi2", "*zero_extendqihi2_64", "*zero_extendqihi2_31"):
  7649. Likewise.
  7650. * config/s390/s390.md ("*tmdi_ext"): Allow in both 64-bit
  7651. and 31-bit mode.
  7652. ("ptr_extend"): Allow only in 64-bit mode.
  7653. 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
  7654. * gcc.c (STANDARD_EXEC_PREFIX, STANDARD_STARTFILE_PREFIX)
  7655. (TOOLDIR_BASE_PREFIX, STANDARD_BINDIR_PREFIX): Remove unnecessary
  7656. definitions.
  7657. (main): Only use standard_startfile_prefix if native.
  7658. * doc/tm.texi (STANDARD_STARTFILE_PREFIX): Update.
  7659. 2003-08-27 Per Bothner <pbothner@apple.com>
  7660. * cpperror.c (print_location): Don't check for !pfile->buffer. That
  7661. test fails following my 08-21 change, and it seems unnecessary anyway.
  7662. (cpp_error): Likewise.
  7663. 2003-08-27 Jason Merrill <jason@redhat.com>
  7664. * real.c (do_multiply): Initialize with memset.
  7665. 2003-08-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  7666. * gcov.c (typedef struct arc_info): New field cs_count.
  7667. (accumulate_line_counts): Find cycles correctly.
  7668. 2003-08-27 Ulrich Weigand <uweigand@de.ibm.com>
  7669. * config/s390/s390.c (struct machine_function): Remove member
  7670. literal_pool_label.
  7671. (s390_optimize_prolog): Replace TEMP_REG argument with
  7672. TEMP_USED and BASE_USED. Do not check get_pool_size ().
  7673. (general_s_operand): Accept all immediates before reload if
  7674. ALLOW_IMMEDIATE. If not ALLOW_IMMEDIATE, reject literal pool
  7675. references.
  7676. (s390_output_symbolic_const): Remove UNSPEC_LTREL_OFFSET handling.
  7677. (find_constant_pool_ref): Ignore UNSPECV_POOL_ENTRY insns.
  7678. (s390_alloc_pool): New function.
  7679. (s390_new_pool): Call it.
  7680. (s390_dump_pool): Add REMOTE_LABEL argument.
  7681. (s390_chunkify_start): Add BASE_REG argument. Do not check
  7682. get_pool_size ().
  7683. (s390_chunkify_finish): Add BASE_REG argument. Adapt
  7684. s390_dump_pool call.
  7685. (s390_pool_count, s390_nr_constants): Remove.
  7686. (s390_output_constant_pool): Remove.
  7687. (s390_mainpool_start): New function.
  7688. (s390_mainpool_finish): New function.
  7689. (s390_mainpool_cancel): New function.
  7690. (s390_reorg): Implement main literal pool handling.
  7691. (s390_emit_prologue): Emit main_pool placeholder instead of
  7692. literal_pool_31 / literal_pool_64 insns.
  7693. * config/s390/s390.h (s390_pool_count, s390_nr_constants): Remove.
  7694. (ASM_OUTPUT_POOL_PROLOGUE, ASM_OUTPUT_SPECIAL_POOL_ENTRY): Remove.
  7695. * config/s390/s390.md (UNSPEC_MAIN_BASE): New symbolic constant.
  7696. ("main_base_31_small", "main_base_31_large"): New insns.
  7697. ("main_base_64", "main_pool"): New insns.
  7698. ("literal_pool_31", "literal_pool_64"): Remove.
  7699. 2003-08-27 Nathanael Nerode <neroden@gcc.gnu.org>
  7700. * fixinc/inclhack.def (ptx_netswap): New disabled fix, ported from
  7701. fixinc.ptx.
  7702. * fixinc/inclhack.def (undefine_null): Don't generate \r characters.
  7703. Prettify a little.
  7704. * fixinc/fixincl.x: Regenerate.
  7705. 2003-08-27 Richard Earnshaw <rearnsha@arm.com>
  7706. * lib1funcs.asm (L_ieee754_sp): New. Include ieee754-sf.S.
  7707. (L_ieee754_dp): New. Include ieee754-df.S.
  7708. * arm/ieee754-sf.S: Rework to allow interworking, calling from Thumb,
  7709. and compilation in apcs-26 mode.
  7710. * arm/ieee754-df.S: Likewise.
  7711. * t-arm-elf (DPBIT, FPBIT, fp-bit.c dp-bit.c): Delete rules
  7712. (LIB1ASMFUNCS): Add _ieee754_sp and _ieee754_dp targets.
  7713. 2003-08-27 Nicolas Pitre <nico@cam.org>
  7714. * arm/ieee754-sf.S: New.
  7715. * arm/ieee754-df.S: New.
  7716. 2003-08-27 Jakub Jelinek <jakub@redhat.com>
  7717. * builtins.c (expand_builtin_expect_jump): Save pending_stack_adjust
  7718. and restore it if returning NULL.
  7719. 2003-08-27 Richard Sandiford <rsandifo@redhat.com>
  7720. * calls.c (initialize_argument_information): If an argument has no
  7721. stack space associated with it, and BLOCK_REG_PADDING is defined,
  7722. use it to decide at which end the argument should be padded.
  7723. * function.c (assign_parms): Allocate BLKmode stack slots.
  7724. * config/mips/mips-protos.h (mips_pad_arg_upward): Declare.
  7725. (mips_pad_reg_upward): Declare.
  7726. * config/mips/mips.h (PAD_VARARGS_DOWN): Use FUNCTION_ARG_PADDING.
  7727. (CUMULATIVE_ARGS): Remove num_adjusts and adjusts.
  7728. (FUNCTION_ARG_PADDING): Use mips_pad_arg_upward.
  7729. (BLOCK_REG_PADDING): Use mips_pad_reg_upward.
  7730. * config/mips/mips.c (struct mips_arg_info): Remove struct_p.
  7731. (mips_expand_call): Remove code for generating structure shifts.
  7732. (mips_arg_info): Don't set struct_p. Don't set fpr_p for non-float
  7733. types unless using the EABI.
  7734. (function_arg_advance): Don't generate shift instructions.
  7735. (function_arg): Don't return them. Don't short-circuit the
  7736. check for double structure chunks for DFmode arguments.
  7737. (mips_pad_arg_upward, mips_pad_reg_upward): New functions.
  7738. (mips_expand_prologue): Remove code to emit structure shifts.
  7739. * config/mips/irix6-libc-compat.c: Remove workarounds for buggy
  7740. structure passing (inet_ntoa, inet_lnaof, inet_netof). Update
  7741. comments to say that only structure returns are a problem.
  7742. 2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
  7743. * fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
  7744. Fix to match produced versions.
  7745. * fixinc/inclhack.def (longlong_t): New disabled test, ported
  7746. from fixinc.svr4.
  7747. * fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported
  7748. from fixinc.ptx.
  7749. * fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix,
  7750. ported from fixinc.ptx.
  7751. 2003-08-26 Per Bothner <pbothner@apple.com>
  7752. * cpplib.h (struct cpp_token): Change type of field line to fileline.
  7753. (cpp_error_with_line): Use fileline for appropriate parameter.
  7754. * cpphash.h (struct cpp_macro): Change type of field line to fileline.
  7755. (struct cpp_reader): Likewise for fields line and directive_line.
  7756. (_cpp_begin_message): Use fileline for appropriate parameter.
  7757. * cpperror.c (print_location, _cpp_begin_message, cpp_error_with_line,
  7758. cpp_error): Use fileline for appropriate parameters and variables.
  7759. (print_location): New local lin, since it is not a fileline.
  7760. 2003-08-26 Roger Sayle <roger@eyesopen.com>
  7761. PR middle-end/12002
  7762. * tree.h (SCALAR_FLOAT_TYPE_P, COMPLEX_FLOAT_TYPE_P): New macros.
  7763. (FLOAT_TYPE_P): Define in terms of these two new macros.
  7764. * fold-const.c (fold <PLUS_EXPR>): Don't convert x+x into x*2.0
  7765. for complex floating point types.
  7766. 2003-08-26 Ulrich Weigand <uweigand@de.ibm.com>
  7767. * config/s390/s390.c (emit_prologue): Don't check literal pool size.
  7768. * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Call
  7769. s390_output_pool_entry.
  7770. 2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
  7771. * fixinc/inclhack.def (svr4_preproc_lint_on,
  7772. svr4_preproc_lint_off, svr4_preproc_machine): New disabled
  7773. fixes, ported from fixinc.svr4.
  7774. 2003-08-26 Mark Mitchell <mark@codesourcery.com>
  7775. * doc/install.texi (Prerequisites): Mention GNU make requirement.
  7776. * Makefile.in (AR_FOR_TARGET): Export it.
  7777. (AR_CREATE_FOR_TARGET): Likewise.
  7778. (AR_FLAGS_FOR_TARGET): Likewise.
  7779. (AR_EXTRACT_FOR_TARGET): Likewise.
  7780. (AWK): Likewise.
  7781. (BUILD_PREFIX): Likewise.
  7782. (BUILD_PREFIX_1): Likewise.
  7783. (DESTDIR): Likewise.
  7784. (GCC_FOR_TARGET): Likewise.
  7785. (INCLUDES): Likewise.
  7786. (INSTALL_DATA): Likewise.
  7787. (LIB1ASMSRC): Likewise.
  7788. (LIBGCC2_CFLAGS): Likewise.
  7789. (MACHMODE_H): Likewise.
  7790. (NM_FOR_TARGET): Likewise.
  7791. (RANLIB_FOR_TARGET): Likewise.
  7792. (libsubdir): Likewise.
  7793. (slibdir): Likewise.
  7794. (ORDINARY_FLAGS_TO_PASS): Remove stuff that we're
  7795. exporting.
  7796. (libgcc.a): Don't pass them here.
  7797. (stmp-multilib): Or here.
  7798. (install-libgcc): Or here.
  7799. (install-multilib): Or here.
  7800. (POSTSTAGE1_FLAGS_TO_PASS): Or here.
  7801. (stage1_build): Or here.
  7802. 2003-08-26 Andreas Krebbel <krebbel1@de.ibm.com>
  7803. * config/s390/s390.md ("*llgt_sisi", "*llgt_sisi_split", "*llgt_didi",
  7804. "*llgt_didi_split", "*llgt_sidi", "*llgt_sidi_split"): New insns.
  7805. 2003-08-26 Andreas Krebbel <krebbel1@de.ibm.com>
  7806. * config/s390/s390.md ("*fmadddf", "*fmsubdf",
  7807. "*fmaddsf", "*fmsubsf"): New insns.
  7808. 2003-08-26 Roger Sayle <roger@eyesopen.com>
  7809. * fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into
  7810. (C1*C2)/X when unsafe math optimizations are allowed.
  7811. (fold <RDIV_EXPR>): Optimize C1/(X*C2) into (C1/C2)/X with unsafe
  7812. math optimizations. Minor code clean-ups. Recursively call
  7813. fold when constructing sub-expressions.
  7814. 2003-08-26 Roger Sayle <roger@eyesopen.com>
  7815. * builtins.c (fold_builtin_bitop): New function to perform constant
  7816. folding of ffs, clz, ctz, popcount and parity builtin functions
  7817. and their long and long long variants (such as ffsl and ffsll).
  7818. (fold_builtin): fold_builtin_bitop when appropriate.
  7819. * simplify-rtx.c (simplify_unary_operation): Honor both
  7820. CLZ_DEFINED_VALUE_AT_ZERO and CTZ_DEFINED_VALUE_AT_ZERO when
  7821. evaluating clz and ctz at compile-time, for operands wider
  7822. than HOST_WIDE_INT.
  7823. 2003-08-26 Nathan Sidwell <nathan@codesourcery.com>
  7824. * builtins.c (build_function_call_expr): Don't set
  7825. TREE_SIDE_EFFECTS here.
  7826. * expr.c (emit_block_move_via_libcall): Likewise.
  7827. (clear_storage_via_libcall): Likewise.
  7828. * tree.c (build): Set TREE_SIDE_EFFECTS for non-const, non-pure
  7829. CALL_EXPRs.
  7830. * gcse.c (is_too_expensive): New function.
  7831. (gcse_main, delete_null_pointer_checks, bypass_jumps): Use it.
  7832. 2003-08-25 Zack Weinberg <zack@codesourcery.com>
  7833. * config.gcc (hppa*-*-hpux11*, ia64*-*-hpux*): Remove
  7834. commented-out logic to use DCE threads (if present), add
  7835. support for POSIX threads.
  7836. * config/ia64/hpux.h: Define CPP_SPEC to set appropriate
  7837. #defines for -pthread. Add -lpthread to LIB_SPEC when
  7838. -pthread. In both cases take -mt as a synonym for -pthread
  7839. for acc compatibility.
  7840. Define GTHREAD_USE_WEAK to 0.
  7841. * config/pa/pa-hpux11.h: Likewise for CPP_SPEC and LIB_SPEC.
  7842. Remove old logic for DCE threads from LIB_SPEC.
  7843. * config/pa/pa64-hpux.h: Define GTHREAD_USE_WEAK to 0.
  7844. 2003-08-25 Roger Sayle <roger@eyesopen.com>
  7845. * builtins.c (expand_builtin_mathfn): Rearrange so that we only
  7846. return 0 for invalid argument types. Instead drop through to a
  7847. call of expand_call at the bottom of function. If op is SQRT,
  7848. try attaching a SQRT rtx as the REQ_EQUAL note of the libcall.
  7849. 2003-08-25 Richard Henderson <rth@redhat.com>
  7850. * config/ia64/ia64.c (ia64_expand_tls_address): Properly truncate
  7851. result when op0 is SImode.
  7852. 2003-08-25 Nathanael Nerode <neroden@twcny.rr.com>
  7853. * fixinc/inclhack.def (svr4_sighandler_type): New fix, ported
  7854. from fixinc.svr4.
  7855. * fixinc/fixincl.x: Regenerate.
  7856. * fixinc/tests/base/sys/signal.h: Regenerate.
  7857. 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
  7858. * combine.c (simplify_comparison): Re-enable widening of comparisons
  7859. with non-paradoxical subregs of non-REG expressions.
  7860. 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
  7861. * combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
  7862. 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
  7863. * combine.c (combine_simplify_rtx): Fix RTL sharing bug.
  7864. 2003-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
  7865. * pretty-print.h (pp_maybe_newline_and_indent): New macro.
  7866. * c-pretty-print.h (c_pretty_printer): Now typedef to the
  7867. structure. Be consistent with pretty-print.h abd cxx-pretty-print.h
  7868. (struct c_pretty_print_info): Document. Add new fields.
  7869. (pp_type_specifier_seq): Rename from pp_c_type_specifier.
  7870. (pp_direct_abstract_declarator): New macro.
  7871. (pp_ptr_operator): Likewise.
  7872. (pp_simple_type_specifier): Likewise.
  7873. (pp_expression): Likewise.
  7874. (pp_parameter_list): Rename from pp_parameter_declaration.
  7875. * c-pretty-print.c (pp_c_whitespace): Now a function.
  7876. (pp_c_left_paren): Likewise.
  7877. (pp_c_right_paren): Likewise.
  7878. (pp_c_dot): Likewise.
  7879. (pp_c_ampersand): Likewise.
  7880. (pp_c_arrow): Likewise.
  7881. (pp_c_semicolon): Likewise.
  7882. (pp_c_type_cast): New function.
  7883. (pp_c_space_for_pointer_operator): Likewise.
  7884. (pp_c_call_argument_list): Likewise.
  7885. (pp_c_cv_qualifier): Adjust prototype.
  7886. (pp_c_type_qualifier_list): Likewise.
  7887. (pp_c_pointer): Likewise. Handle REFERENCE_TYPE here.
  7888. (pp_c_type_specifier): Rename from pp_c_simple_type_specifier.
  7889. Adjust to follow standard grammar.
  7890. (pp_c_specifier_qualifier_list): Adjusr prototype. Handle
  7891. REFERENCE_TYPE. Tidy.
  7892. (pp_c_parameter_type_list): Adjust prototype. Tidy.
  7893. (pp_c_parameter_declaration): Remove.
  7894. (pp_c_abstract_declarator): Adjust prototype.
  7895. (pp_c_direct_abstract_declarator): Likewise.
  7896. (pp_c_type_id): Likewise.
  7897. (pp_c_storage_class_specifier): Likewise.
  7898. (pp_c_function_specifier): Likewise.
  7899. (pp_c_declaration_specifiers): Likewise.
  7900. (pp_c_direct_declarator): Likewise.
  7901. (pp_c_declarator): Likewise.
  7902. (pp_c_declarator): Likewise.
  7903. (pp_c_declaration): Likewise.
  7904. (pp_c_attributes): Likewise. Tidy.
  7905. (pp_c_function_definition): Adjust prototype.
  7906. (pp_c_char): Likewise.
  7907. (pp_c_string_literal): Likewise.
  7908. (pp_c_integer_constant): Likewise.
  7909. (pp_c_character_constant): Likewise.
  7910. (pp_c_bool_constant): Likewise.
  7911. (pp_c_enumeration_constant): Likewise.
  7912. (pp_c_floating_constant): Likewise.
  7913. (pp_c_constant): Likewise.
  7914. (pp_c_identifier): Likewise.
  7915. (pp_c_primary_expression): Likewise. Remove TARGET_EXPR case. Tidy.
  7916. (pp_c_initializer): Adjust prototype.
  7917. (pp_c_init_declarator): Likewise.
  7918. (pp_c_initializer_list): Likewise.
  7919. (pp_c_id_expression): Likewise.
  7920. (pp_c_postfix_expression): Likewise.
  7921. (pp_c_expression_list): Likewise.
  7922. (pp_c_unary_expression): Likewise.
  7923. (pp_c_cast_expression): Likewise.
  7924. (pp_c_multiplicative_expression): Likewise.
  7925. (pp_c_additive_expression): Likewise.
  7926. (pp_c_shift_expression): Likewise.
  7927. (pp_c_relational_expression): Likewise.
  7928. (pp_c_equality_expression): Likewise.
  7929. (pp_c_and_expression): Likewise.
  7930. (pp_c_exclusive_or_expression): Likewise.
  7931. (pp_c_inclusive_or_expression): Likewise.
  7932. (pp_c_logical_and_expression): Likewise.
  7933. (pp_c_logical_or_expression): Likewise.
  7934. (pp_c_conditional_expression): Likewise.
  7935. (pp_c_assignment_expression): Likewise.
  7936. (pp_c_expression): Likewise. Tidy.
  7937. (pp_c_statement): Likewise. Document.
  7938. (pp_c_pretty_printer_init): Adjust prototype. Tidy.
  7939. * c-lang.c (c_initialize_diagnostics): Update.
  7940. * c-common.h (strip_pointer_operator): Declare.
  7941. * c-common.c (strip_pointer_operator): Define.
  7942. 2003-08-25 Mark Mitchell <mark@codesourcery.com>
  7943. PR c++/8795
  7944. * tree.h (build_method_type_directly): Declare.
  7945. * c-common.c (handle_vector_size_attributes): Handle METHOD_TYPEs.
  7946. (vector_size_helper): Likewise.
  7947. * tree.c (build_method_type_directly): New function.
  7948. (build_method_type): Use it.
  7949. 2003-08-24 Richard Henderson <rth@redhat.com>
  7950. * config/i386.i386.c (ix86_return_in_memory): Reformat. Return true
  7951. for 16-byte vector modes if sse not enabled; warn for abi change.
  7952. (ix86_value_regno): Only return xmm0 for 16-byte vector types.
  7953. 2003-08-24 Kazu Hirata <kazu@cs.umass.edu>
  7954. * rtlanal.c (may_trap_p): Simplify an integer comparison.
  7955. 2003-08-24 Nathanael Nerode <neroden@gcc.gnu.org>
  7956. * fixinc/inclhack.def (AAB_svr4_replace_byteorder): Enhance
  7957. comment. Enable for DYNIX/ptx systems (when they switch to
  7958. regular fixincludes).
  7959. * fixinc/fixincl.x: Regenerate.
  7960. 2003-08-23 Jason Eckhardt <jle@rice.edu>
  7961. * config/i860/t-i860: New.
  7962. * config.gcc (i860-*-sysv4*): Add t-i860 to tmake_file.
  7963. 2003-08-23 Jakub Jelinek <jakub@redhat.com>
  7964. * c-decl.c (pushdecl): Only put decls which finish_struct will do
  7965. something about onto incomplete chain.
  7966. (finish_struct): If not removing type from incomplete
  7967. list, update prev.
  7968. 2003-08-20 Jan Hubicka <jh@suse.cz>
  7969. PR target/11369
  7970. * i386.c (ix86_expand_carry_flag_compare): Validate operand.
  7971. PR target/11031
  7972. * i386.c (const_0_to_3_operand, const_0_to_7_operand,
  7973. const_0_to_15_operand, const_0_to_255_operand): New predicates.
  7974. * i386.h (PREDICATE_CODES): Add these.
  7975. * i386.c (pinsrw and pextrw patterns): Use them.
  7976. PR target/10984
  7977. * i386.c (ix86_expand_binop_builtin): Behave sanely for VOIDmodes.
  7978. PR target/8869
  7979. * expr.c (convert_modes): Deal properly with integer to vector
  7980. constant conversion.
  7981. PR target/8871
  7982. * i386.md (zero_extendsidi2*): Add MMX and SSE alternatives.
  7983. 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
  7984. * config/s390/s390.h (LOAD_EXTEND_OP): Remove.
  7985. * config/s390/s390.md ("movhi"): New expander; old insn renamed to ...
  7986. ("*movhi"): ... this.
  7987. ("movqi", "*movqi"): Likewise.
  7988. ("movqi_64"): Remove.
  7989. ("*zero_extendhisi2_31"): Change predicate to s_operand.
  7990. 2003-08-23 Dale Johannesen <dalej@apple.com>
  7991. * calls.c (emit_library_call_value_1): Fix obvious errors in
  7992. arguments to emit_group_store.
  7993. 2003-08-23 Jason Eckhardt <jle@rice.edu>
  7994. * calls.c (emit_library_call_value_1): Remove code related
  7995. to LIBGCC_NEEDS_DOUBLE.
  7996. * config/stormy16/stormy16.h: Remove mention of LIBGCC_NEEDS_DOUBLE.
  7997. * doc/tm.texi: Likewise.
  7998. * system.h: Poison the LIBGCC_NEEDS_DOUBLE macro.
  7999. 2003-08-23 Richard Sandiford <rsandifo@redhat.com>
  8000. * config/mips/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
  8001. 2003-08-23 Richard Sandiford <rsandifo@redhat.com>
  8002. * config/mips/mips.c (mips_setup_incoming_varargs): Handle o32 and o64
  8003. as well. Put memory references in the varargs alias set.
  8004. (mips_expand_prologue): Remove varargs handling from here.
  8005. 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
  8006. * config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr,
  8007. s390_expand_cmpmem, s390_output_constant_pool, s390_build_va_list,
  8008. s390_function_profiler, s390_output_mi_thunk): Use ISO C syntax
  8009. for function pointer calls.
  8010. * config/s390/s390.md ("*negdi2_31"): Likewise.
  8011. 2003-08-23 Roger Sayle <roger@eyesopen.com>
  8012. * combine.c (apply_distributive_law): Correct comment.
  8013. 2003-08-23 Jason Eckhardt <jle@rice.edu>
  8014. * config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
  8015. 2003-08-22 Jason Eckhardt <jle@rice.edu>
  8016. * config/i860/i860.c (i860_build_va_list): Create the va_decl
  8017. declaration. Document the va_list structure.
  8018. (i860_va_start): Initialize the va_list structure.
  8019. (i860_va_arg): Rewrite completely.
  8020. * config/i860/i860.h (LIBGCC_NEEDS_DOUBLE): Don't define.
  8021. * config/i860/varargs.asm: Do not allocate or initialize
  8022. a va_list. Return the address of the register save area.
  8023. 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
  8024. * config/iq2000/iq2000.c: Fix comment typos.
  8025. * config/iq2000/iq2000.md: Likewise.
  8026. 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
  8027. * config/iq2000/iq2000.c: Follow spelling conventions.
  8028. * config/iq2000/iq2000.h: Likewise.
  8029. * config/mn10300/mn10300.c: Likewise.
  8030. 2003-08-22 Jason Eckhardt <jle@rice.edu>
  8031. * config/i860/i860.c (output_move_double): Don't set latehalf
  8032. to zero for CONST_INT (since it could be, e.g., -1).
  8033. * config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
  8034. (MODSI3_LIBCALL): ...with this one.
  8035. (UREMSI3_LIBCALL): Replace this macro...
  8036. (UMODSI3_LIBCALL): ...with this one.
  8037. 2003-08-22 Jason Eckhardt <jle@rice.edu>
  8038. * config/i860/i860-protos.h (output_delay_insn): Remove prototype.
  8039. (output_delayed_branch): Remove prototype.
  8040. (single_insn_src_p): Remove prototype.
  8041. * config/i860/i860.c (single_insn_src_p): Remove function.
  8042. (output_delayed_branch): Remove function.
  8043. (output_delay_insn): Remove function.
  8044. (va_start): Remove unconditional test and dead code, re-format.
  8045. Fix coding style and spelling problems in various comments.
  8046. * config/i860/i860.md (UNSPECV_BLOCKAGE): Define constant...
  8047. (blockage pattern): ...and use it here.
  8048. (all define_peephole patterns related to delayed branches): Remove.
  8049. Fix coding style and spelling problems in various comments.
  8050. 2003-08-22 Jason Eckhardt <jle@rice.edu>
  8051. * config/i860/i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
  8052. Remove all uses of the PARAMS macro. Remove superflous prototypes.
  8053. Convert all function definitions from traditional to ISO C90 syntax.
  8054. * config/i860/i860-protos.h: Replace all occurrences of 'GNU CC'
  8055. with 'GCC'. Remove all uses of the PARAMS macro.
  8056. * config/i860/i860.h: Replace all occurrences of 'GNU CC' with 'GCC'.
  8057. * config/i860/i860.md: Likewise.
  8058. * config/i860/sysv4.h: Likewise.
  8059. * config/i860/varargs.asm: Likewise.
  8060. 2003-08-22 Jason Eckhardt <jle@rice.edu>
  8061. * config/i860/i860-protos.h (i860_va_start): Remove 'stdarg_p'
  8062. argument.
  8063. (tdesc_section): Add prototype.
  8064. Update copyright dates.
  8065. * config/i860/i860.c: Include coretypes.h, tm.h, and toplev.h.
  8066. (TARGET_ASM_FUNCTION_PROLOGUE): Move definition to end of file.
  8067. (TARGET_ASM_FUNCTION_EPILOGUE): Likewise.
  8068. (targetm): Likewise.
  8069. (i860_output_function_prologue): Substitute HOST_WIDE_INT_PRINT_DEC
  8070. for '%d' where necessary.
  8071. (i860_va_start): Remove 'stdarg_p' argument. Make conditional checks
  8072. on 'stdarg_p' unconditional. Divide current_function_args_info.ints
  8073. by UNITS_PER_WORD when referencing (likewise for .floats).
  8074. (I860_SVR4_VARARGS): Rename...
  8075. (I860_SVR4_VA_LIST): ...to this.
  8076. Call build() with 't' rather than 'field'.
  8077. (i860_rtx_costs): New function.
  8078. (TARGET_RTX_COSTS): Define.
  8079. (i860_internal_label): New function.
  8080. (TARGET_ASM_INTERNAL_LABEL): Define.
  8081. (i860_file_start): New function.
  8082. Update copyright dates.
  8083. * config/i860/i860.h (CPP_PREDEFINES): Remove.
  8084. (TARGET_CPU_CPP_BUILTINS): Define.
  8085. (EXPAND_BUILTIN_VA_START): Remove 'stdarg' argument.
  8086. (CONST_COSTS): Remove (and move code to i860_rtx_costs).
  8087. (ASM_FILE_START): Remove.
  8088. (ASM_FILE_START_1): Remove.
  8089. (ASM_GLOBALIZE_LABEL): Remove.
  8090. (ASM_OUTPUT_INTERNAL_LABEL): Remove.
  8091. (ASM_OUTPUT_CASE_LABEL): Replace call of ASM_OUTPUT_INTERNAL_LABEL
  8092. with targetm.asm_out.internal_label.
  8093. Update copyright dates.
  8094. * config/i860/sysv4.h (USER_LABEL_PREFIX): Define.
  8095. (CPP_PREDEFINES): Remove.
  8096. (TARGET_OS_CPP_BUILTINS): Define.
  8097. (GLOBAL_ASM_OP): Define.
  8098. (ASM_FILE_START): Remove.
  8099. (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Define.
  8100. (TARGET_ASM_FILE_START): Define.
  8101. Update copyright dates.
  8102. 2003-08-22 Jason Eckhardt <jle@rice.edu>
  8103. * gcc/config.gcc (i860-*-sysv4*): Add target.
  8104. * config/i860/i860-protos.h: New.
  8105. * config/i860/i860.c: New.
  8106. * config/i860/i860.h: New.
  8107. * config/i860/i860.md: New.
  8108. * config/i860/sysv4.h: New.
  8109. * config/i860/varargs.asm: New.
  8110. * config/i860/x-sysv4: New.
  8111. 2003-08-22 Jason Eckhardt <jle@rice.edu>
  8112. * config/pa/pa.c: Replace 'GNU CC' with 'GCC'.
  8113. Remove all uses of PARAMS macro.
  8114. Convert all function definitions to ISO C90 syntax.
  8115. * config/pa/elf.h: Replace 'GNU CC' with 'GCC'.
  8116. * config/pa/fptr.c: Likewise.
  8117. * config/pa/lib2funcs.asm: Likewise.
  8118. * config/pa/long_double.h: Likewise.
  8119. * config/pa/milli64.S: Likewise.
  8120. * config/pa/pa-64.h: Likewise.
  8121. * config/pa/pa-hpux.h: Likewise.
  8122. * config/pa/pa-hpux10.h: Likewise.
  8123. * config/pa/pa-hpux11.h: Likewise.
  8124. * config/pa/pa-linux.h: Likewise.
  8125. * config/pa/pa-modes.def: Likewise.
  8126. * config/pa/pa-osf.h: Likewise.
  8127. * config/pa/pa-pro-end.h: Likewise.
  8128. * config/pa/pa.md: Likewise.
  8129. * config/pa/pa32-linux.h: Likewise.
  8130. * config/pa/pa64-linux.h: Likewise.
  8131. * config/pa/pa64-hpux.h: Likewise.
  8132. * config/pa/pa64-regs.h: Likewise.
  8133. * config/pa/quadlib.c: Likewise.
  8134. * config/pa/rtems.h: Likewise.
  8135. * config/pa/pa-protos.h: Replace 'GNU CC' with 'GCC' and remove
  8136. all uses of the PARAMS macro.
  8137. * config/pa/pa.h: Likewise.
  8138. * config/pa/som.h: Likewise.
  8139. * config/iq2000/iq2000.c: Replace 'GNU CC' with 'GCC'.
  8140. Remove all uses of PARAMS macro.
  8141. Convert all function definitions to ISO C90 syntax.
  8142. * config/iq2000-protos.h: Replace 'GNU CC' with 'GCC'.
  8143. Remove all uses of PARAMS macro.
  8144. * config/iq2000.h: Remove all uses of PARAMS macro.
  8145. * config/iq2000/iq2000.md: Replace 'GNU CC' with 'GCC'.
  8146. 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
  8147. * config/s390/s390-protos.h (s390_output_pool_entry): Declare.
  8148. * config/s390/s390.c (gen_consttable): Remove.
  8149. (s390_dump_pool): Use UNSPECV_POOL_ENTRY for pool entry insns.
  8150. (s390_output_pool_entry): New function.
  8151. * config/s390/s390.md (UNSPECV_POOL_QI, UNSPECV_POOL_HI,
  8152. UNSPECV_POOL_SI, UNSPECV_POOL_DI, UNSPECV_POOL_TI,
  8153. UNSPECV_POOL_SF, UNSPECV_POOL_DF): Remove, replace by ...
  8154. (UNSPECV_POOL_ENTRY): ... this new constant.
  8155. ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
  8156. "consttable_ti", "consttable_sf", "consttable_df"): Remove ...
  8157. ("*pool_entry"): ... and replace by this new insn.
  8158. ("literal_pool_31"): Do not emit anchor label if pool empty.
  8159. * config/s390/s390.c (struct machine_function): Add save_return_addr_p.
  8160. (s390_optimize_prolog): Save RETURN_REGNUM if save_return_addr_p.
  8161. (s390_fixup_clobbered_return_reg): Remove.
  8162. (s390_reorg): Don't call s390_fixup_clobbered_return_reg.
  8163. (s390_return_addr_rtx): Always retrieve return address from save area
  8164. slot. Use save_return_addr_p to force slot to be filled.
  8165. (s390_emit_prologue): Remove has_hard_reg_initial_val test.
  8166. 2003-08-22 Chris Demetriou <cgd@broadcom.com>
  8167. * config/mips/mips.h (MASK_FIX_SB1, TARGET_FIX_SB1): New defines.
  8168. (TARGET_SWITCHES): Add -mfix-sb1 and -mno-fix-sb1.
  8169. * config/mips/mips.md (divdf3, divsf3, sqrtdf2, sqrtsf2): Work
  8170. around SB-1 errata if TARGET_FIX_SB1 is set.
  8171. (recip.d insn, recip.s insn, rsqrt.d insn, rsqrt.s insn): Likewise.
  8172. * doc/invoke.texi: Document MIPS -mfix-sb1 and -mno-fix-sb1.
  8173. 2003-08-22 Roger Sayle <roger@eyesopen.com>
  8174. * hashtable.c (ht_expand): Avoid calculating rehash for the common
  8175. case that the first probe hits an empty hash table slot.
  8176. 2003-08-22 Mark Mitchell <mark@codesourcery.com>
  8177. * config/ia64/hpux.h (SUPPORTS_INIT_PRIORITY): Define to 0.
  8178. 2003-08-22 Mark Mitchell <mark@codesourcery.com>
  8179. * config/ia64/ia64.md (*ptr_extend_plus_1): Rename to ...
  8180. (ptr_extend_plus_imm): ... this.
  8181. * config/ia64/ia64.c (addp4_optimize_ok): Do not disable addp4
  8182. optimization in C++.
  8183. (ia64_output_mi_thunk): Support ILP32 mode.
  8184. 2003-08-22 Bernardo Innocenti <bernie@develer.com>
  8185. * gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused
  8186. function.
  8187. * gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise.
  8188. 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
  8189. * config/i386/i386.c (const_int_1_operand): Simplify an
  8190. integer comparison.
  8191. 2003-08-22 Alan Modra <amodra@bigpond.net.au>
  8192. * config/fp-bit.c: Specify config/ dir for include of fp-bit.h.
  8193. * config/rs6000/ppc64-fp.c: Likewise.
  8194. 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
  8195. * cfgcleanup.c: Fix comment typos.
  8196. * emit-rtl.c: Likewise.
  8197. * optabs.c: Likewise.
  8198. * ra-build.c: Likewise.
  8199. * rtlanal.c: Likewise.
  8200. * tree.h: Likewise.
  8201. 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
  8202. * c-decl.c: Fix comment formatting.
  8203. * cfgrtl.c: Likewise.
  8204. * combine.c: Likewise.
  8205. * convert.c: Likewise.
  8206. * dominance.c: Likewise.
  8207. * dwarf2out.c: Likewise.
  8208. * dwarfout.c: Likewise.
  8209. * expmed.c: Likewise.
  8210. * fold-const.c: Likewise.
  8211. * gcov.c: Likewise.
  8212. * genattrtab.c: Likewise.
  8213. * ggc-common.c: Likewise.
  8214. * mips-tfile.c: Likewise.
  8215. * regmove.c: Likewise.
  8216. 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
  8217. * builtin-attrs.def: Fix comment formatting.
  8218. * c-pretty-print.c: Likewise.
  8219. * diagnostic.h: Likewise.
  8220. * langhooks.h: Likewise.
  8221. * recog.c: Likewise.
  8222. * simplify-rtx.c: Likewise.
  8223. * tree.def: Likewise.
  8224. 2003-08-22 Bernardo Innocenti <bernie@develer.com>
  8225. * config/m68k/m68k-protos.h: Convert to ISO C90.
  8226. * config/m68k/m68k.c: Likewise.
  8227. 2003-08-21 Bernardo Innocenti <bernie@develer.com>
  8228. Paul Dale <pauli@snapgear.com>
  8229. Peter Barada <peter@baradas.org>
  8230. * config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for
  8231. ColdFire cores.
  8232. 2003-08-21 Zack Weinberg <zack@codesourcery.com>
  8233. * Makefile.in (INCLUDES): Remove -I$(srcdir)/config.
  8234. * config.gcc (*-*-openbsd): Don't set tm_file.
  8235. (alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*,
  8236. arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*,
  8237. h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*,
  8238. i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*,
  8239. i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*,
  8240. m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*,
  8241. m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*,
  8242. m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*,
  8243. mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka,
  8244. sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*,
  8245. xscale-*-coff): Use explicit and complete lists of target headers
  8246. to include. Move definitions to tm_defines where appropriate.
  8247. (hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for
  8248. not-yet-contributed configuration.
  8249. * config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h
  8250. * config/avr/avr.h, config/frv/frv.h, config/h8300/elf.h
  8251. * config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h
  8252. * config/i386/nto.h, config/iq2000/iq2000.h,
  8253. * config/m68k/coff.h, config/m68k/hp310.h, config/m68k/hp320.h
  8254. * config/m68k/linux.h, config/m68k/m68k-aout.h
  8255. * config/m68k/m68k-none.h, config/m68k/m68kv4.h
  8256. * config/m68k/netbsd.h, config/m68k/openbsd.h
  8257. * config/m68k/sgs.h, config/mcore/mcore-pe.h,
  8258. * config/mips/netbsd.h, config/mips/openbsd.h, config/pa/pa.h,
  8259. * config/rs6000/lynx.h, config/sh/embed-elf.h, config/sparc/openbsd.h:
  8260. Remove includes of other target config headers, and
  8261. definitions of macros moved to tm_defines lists. Add #undefs
  8262. where now necessary to prevent redefinition warnings.
  8263. * config/h8300/coff.h: New file split out of...
  8264. * config/h8300/elf.h: ...here.
  8265. * config/m68k/hp320base.h: New file split out of...
  8266. * config/m68k/hp320.h: ...here.
  8267. * config/rs6000/lynxbase.h: New file split out of...
  8268. * config/rs6000/lynx.h: ...here.
  8269. * config/m68k/hp310g.h, config/m68k/hp320g.h, config/m68k/hpux7.h
  8270. * config/m68k/m68k-coff.h, config/mips/openbsd-be.h: Delete file.
  8271. * config/sol2.h: Remove #if 0-ed #include of sys/mman.h.
  8272. * config/m68k/m68kelf.h: Remove commented out #include of m68k/sgs.h.
  8273. * config/mcore/mcore.h: Don't include hwint.h nor machmode.h.
  8274. Remove unnecessary #ifndef.
  8275. * config/s390/s390.h: Prefix #include of s390/fixdfdi.h
  8276. [under IN_LIBGCC2] with config/.
  8277. 2003-08-21 Per Bothner <pbothner@apple.com>
  8278. * cppfiles.c (stack_file): Correctly pass return_at_eof parameter
  8279. to cpp_push_buffer.
  8280. * cpplex.c (_cpp_get_fresh_line): Don't buffer->prev - handled
  8281. by return_at_eof check. Always call _cpp_pop_buffer at end.
  8282. 2003-08-21 Kazu Hirata <kazu@cs.umass.edu>
  8283. PR target/11805
  8284. * config/h8300/h8300.md (two anonymous patterns): Remove.
  8285. 2003-08-21 Richard Sandiford <rsandifo@redhat.com>
  8286. * config/mips/mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.
  8287. * config/mips/mips.c (function_arg_pass_by_reference): Never return
  8288. true for n32 & n64.
  8289. 2003-08-21 Josef Zlomek <zlomekj@suse.cz>
  8290. * fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0
  8291. and similarly in (A | C) == D where C & ~D != 0.
  8292. 2003-08-20 Geoffrey Keating <geoffk@apple.com>
  8293. PR 8180
  8294. * configure.in: When testing with_libs and with_headers, treat
  8295. 'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>.
  8296. * configure: Regenerate.
  8297. 2003-08-20 Peter Barada <peter@baradas.org>
  8298. * longlong.h (umul_ppmm): Add ColdFire support.
  8299. 2003-08-20 Peter Barada <peter@baradas.org>
  8300. Bernardo Innocenti <bernie@develer.com>
  8301. * config/m68k/m68k-none.h: Introduce new ColdFire archs.
  8302. * config/m68k/m68k.h: Likewise.
  8303. * config/m68k/lb1sf68.asm: Rename __mcf5200__ to __mcoldfire__.
  8304. * config/m68k/coff.h: Rename TARGET_5200 to TARGET_COLDFIRE.
  8305. * config/m68k/linux.h: Likewise.
  8306. * config/m68k/m68k.c: Likewise.
  8307. * config/m68k/m68k.md: Likewise.
  8308. * config/m68k/m68kelf.h: Likewise.
  8309. * config/m68k/netbsd-elf.h: Likewise.
  8310. * config/m68k/t-m68kelf: Add multilib targets for new ColdFire archs.
  8311. 2003-08-20 Bernardo Innocenti <bernie@develer.com>
  8312. * config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
  8313. * config/m68k/m68k.md: Likewise.
  8314. 2003-08-20 Mark Mitchell <mark@codesourcery.com>
  8315. PR java/11996
  8316. Revert this change:
  8317. 2003-08-19 Mark Mitchell <mark@codesourcery.com>
  8318. * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
  8319. types with precisions other than those given by native machine
  8320. modes.
  8321. 2003-08-20 Gunther Nikl <gni@gecko.de>
  8322. * config/m68k/m68k.md (anonymous define_insn): remove obsolete code
  8323. selected by FSGLMUL_USE_S and FSGLDIV_USE_S
  8324. * config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
  8325. * config/m68k/m68k.md (anonymous define_insn): Likewise
  8326. * config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
  8327. * config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
  8328. code selected by NO_ASM_FMOVECR
  8329. 2003-08-20 Gunther Nikl <gni@gecko.de>
  8330. * config/m68k/m68k.c (output_move_const_into_data_reg,
  8331. output_move_himode): unify MOTOROLA/MIT handling of moveq
  8332. * config/m68k/m68k.md (movsi_const0, anonymous define_insn):
  8333. Likewise
  8334. 2003-08-20 Gunther Nikl <gni@gecko.de>
  8335. * config/m68k/m68k.c (m68k_output_function_prologue): use %U in
  8336. label name
  8337. * config/m68k/m68k.c (m68k_output_function_epilogue): replace
  8338. HOST_WIDE_INT_PRINT_DEC with %wd
  8339. 2003-08-20 Loren James Rittle <ljrittle@acm.org>
  8340. * config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
  8341. redefine warning.
  8342. 2003-08-20 Roger Sayle <roger@eyesopen.com>
  8343. PR middle-end/11984
  8344. * fold-const.c (fold <PLUS_EXPR>): Check for integer constant
  8345. operands before calling tree_int_cst_lt when performing associative
  8346. transformations.
  8347. 2003-08-20 Jason Merrill <jason@redhat.com>
  8348. * tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
  8349. (EXPR_CHECK): Don't check for 'r' or 's' if we're
  8350. checking IS_EXPR_CODE_CLASS.
  8351. * calls.c (calls_function_1): Likewise.
  8352. * fold-const.c (fold): Likewise.
  8353. * tree.c (iterative_hash_expr): Likewise.
  8354. * tree-inline.c (walk_tree, copy_tree_r): Likewise.
  8355. 2003-08-20 Gunther Nikl <gni@gecko.de>
  8356. * config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code
  8357. depending on MOTOROLA_BSR
  8358. * config/m68k/m68k.md (anonymous define_insn): Likewise
  8359. 2003-08-20 Jason Merrill <jason@redhat.com>
  8360. * builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.
  8361. (expand_builtin_mathfn2, expand_builtin, builtin_mathfn_code,
  8362. fold_trunc_transparent_mathfn, fold_builtin): Likewise.
  8363. * dojump.c (do_jump): Likewise.
  8364. * fold-const.c (operand_equal_p, fold): Likewise.
  8365. (tree_expr_nonnegative_p): Likewise.
  8366. * stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from
  8367. TYPE_USER_ALIGN for FIELD_DECLs.
  8368. * attribs.c (decl_attributes): Rebuild the function pointer type after
  8369. changing the target type.
  8370. * tree.c (get_qualified_type): Also check that the attributes match.
  8371. 2003-08-19 Matt Kraai <kraai@alumni.cmu.edu>
  8372. * Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
  8373. * objc/config-lang.in (stagestuff): ... to here.
  8374. 2003-08-19 Mark Mitchell <mark@codesourcery.com>
  8375. PR c++/11946
  8376. * convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
  8377. NOP_EXPR) when necessary.
  8378. * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
  8379. types with precisions other than those given by native machine
  8380. modes.
  8381. 2003-08-19 Geoffrey Keating <geoffk@apple.com>
  8382. * cpppch.c (cpp_valid_state): Re-add warning about PCH not used
  8383. because some macro is defined.
  8384. * config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only
  8385. options.
  8386. * config/i386/darwin.h (ASM_SPEC): New.
  8387. (SUBTARGET_EXTRA_SPECS): New.
  8388. * config/rs6000/darwin.h (ASM_SPEC): New.
  8389. (SUBTARGET_EXTRA_SPECS): New.
  8390. * configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building
  8391. a cross-compiler between two different processors on Darwin.
  8392. * configure: Regenerate.
  8393. 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
  8394. * builtins.c: Fix comment typos.
  8395. * c-common.c: Likewise.
  8396. * c-decl.c: Likewise.
  8397. * c-pretty-print.c: Likewise.
  8398. * cfgbuild.c: Likewise.
  8399. * cfglayout.c: Likewise.
  8400. * cfgloopanal.c: Likewise.
  8401. * cgraphunit.c: Likewise.
  8402. * cppfiles.c: Likewise.
  8403. * dwarfout.c: Likewise.
  8404. * expr.c: Likewise.
  8405. * fold-const.c: Likewise.
  8406. * gcse.c: Likewise.
  8407. * ggc-page.c: Likewise.
  8408. * haifa-sched.c: Likewise.
  8409. * pretty-print.c: Likewise.
  8410. * tree.c: Likewise.
  8411. * tree.h: Likewise.
  8412. * value-prof.c: Likewise.
  8413. 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
  8414. * c-decl.c: Follow spelling conventions.
  8415. * cppfiles.c: Likewise.
  8416. 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
  8417. * c-common.c: Fix comment formatting.
  8418. * c-common.h: Likewise.
  8419. * c-decl.c: Likewise.
  8420. * cppinit.c: Likewise.
  8421. * cpplib.h: Likewise.
  8422. * emit-rtl.c: Likewise.
  8423. * input.h: Likewise.
  8424. * line-map.h: Likewise.
  8425. * opts.c: Likewise.
  8426. * opts.h: Likewise.
  8427. * simplify-rtx.c: Likewise.
  8428. 2003-08-19 Daniel Jacobowitz <drow@mvista.com>
  8429. * unwind-c.c: Add libgcc-style exception.
  8430. * unwind-dw2.c: Likewise.
  8431. * unwind-pe.h: Likewise.
  8432. * unwind-sjlj.c: Likewise.
  8433. * unwind.inc: Likewise.
  8434. 2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
  8435. PR c/5582 PR c++/10538
  8436. * langhooks-def.h (lhd_decl_uninit): Declare.
  8437. (LANG_HOOKS_DECL_UNINIT): New macro.
  8438. (LANG_HOOKS_INITIALIZER): Adjust.
  8439. * langhooks.h (struct lang_hooks): Add new field
  8440. decl_uninit.
  8441. * langhooks.c (lhd_decl_uninit): Define.
  8442. * c-common.c (c_decl_uninit_1): New function.
  8443. (c_decl_uninit): New function.
  8444. (warn_init_self): Define.
  8445. * c-common.h (c_decl_uninit): Declare.
  8446. (warn_init_self): Declare.
  8447. * c.opt: Introduce -Winit-self.
  8448. * c-opts.c (c_common_handle_options): Set warn_init_self.
  8449. * c-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
  8450. * objc/objc-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
  8451. * function.c (uninitialized_vars_warning): Call the language hook.
  8452. * doc/invoke.texi: Document -Winit-self.
  8453. 2003-08-19 Chris Demetriou <cgd@broadcom.com>
  8454. * config/mips/mips.md: Adjust SI-mode "trap_if" instruction
  8455. to use better predicates and constraints. Define new
  8456. instruction to handle "trap_if" with DI-mode arguments.
  8457. (conditional_trap): FAIL if trap code is not 0.
  8458. 2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
  8459. * config/i386/i386.c (legitimate_pic_address_disp_p): Change the
  8460. strstr with $pb to a strcompare with "<pic base>"
  8461. (ix86_output_addr_diff_elt): Output the real pic base.
  8462. 2003-08-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
  8463. * langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.
  8464. (LANG_HOOKS_INITIALIZER): Correct.
  8465. * c-lang.c: Likewise.
  8466. 2003-08-19 Jan Hubicka <jh@suse.cz>
  8467. * cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol.
  8468. (cgraph_varpool_mark_needed_node): Likewise.
  8469. * cgraph.h (notice_global_symbol): Declare
  8470. * varasm.c (notice_global_symbol): Break out from ...
  8471. (assemble_start_function): ... here; update for variables.
  8472. (assemble_variable): Use notice_global_symbol.
  8473. 2003-08-19 Richard Sandiford <rsandifo@redhat.com>
  8474. * config/mips/mips.c (mips_va_arg): If EABI_FLOAT_VARARGS_P,
  8475. expect SFmode and DFmode arguments to be passed in FPRs,
  8476. regardless of the underlying type.
  8477. 2003-08-19 Richard Sandiford <rsandifo@redhat.com>
  8478. PR target/11924
  8479. * config/mips/mips.c (INTERNAL_SYMBOL_P): New macro.
  8480. (mips_classify_symbol, m16_usym8_4, m16_usym5_4): Use it.
  8481. 2003-08-18 Matt Kraai <kraai@alumni.cmu.edu>
  8482. PR c/11207
  8483. * c-typeck.c (set_init_index): Check for negative index.
  8484. 2003-08-18 Bob Wilson <bob.wilson@acm.org>
  8485. * config/xtensa/crti.asm (_init, _fini): Add alternate code for new
  8486. call0 ABI.
  8487. * config/xtensa/crtn.asm (_init, _fini): Likewise.
  8488. * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
  8489. __umodsi3, __modsi3): Likewise.
  8490. * config/xtensa/t-xtensa (crti.o, crtn.o): Add $(GCC_CFLAGS) and
  8491. $(INCLUDES).
  8492. 2003-08-18 Aldy Hernandez <aldyh@redhat.com>
  8493. * config/rs6000/spe.md ("*nabssf2_gpr"): New.
  8494. 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
  8495. * config/mips/mips.md: Quote C code in braces. Remove use of
  8496. fake const0_rtx operands. Remove double backslashes. Use \;.
  8497. Remove workarounds for bogus warnings.
  8498. 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
  8499. * config/mips/mips.md (muldf3, mulsf3): Don't call a gen_* function.
  8500. (muldf3_internal, muldf3_r4300): Select based on TARGET_4300_MUL_FIX
  8501. rather than TARGET_MIPS4300.
  8502. (mulsf3_internal, mulsf3_r4300): Likewise.
  8503. 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
  8504. * config/mips/mips.md: Renumber unspecs. Clean up comments.
  8505. 2003-08-17 Roger Sayle <roger@eyesopen.com>
  8506. * simplify-rtx.c (associative_constant_p): New function to test
  8507. whether an RTX expression is an immediate constant.
  8508. (simplify_associative_operation): New function to perform some
  8509. reassociation optimizations of associative binary expressions.
  8510. (simplify_binary_operation): Use simplify_associative_operation
  8511. to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX.
  8512. Floating point expressions are only reassociated when unsafe
  8513. math optimizations are permitted.
  8514. 2003-08-17 Andreas Jaeger <aj@suse.de>
  8515. * config/alpha/alpha.md: Remove usage of PARAMS.
  8516. * config/i386/cygwin.h: Convert K&R prototypes to ISO C90.
  8517. * config/i386/i386-interix.h: Likewise.
  8518. * config/i386/winnt.c: Likewise.
  8519. * config/i386/cygming.h: Likewise.
  8520. * config/i386/cygwin2.c: Likewise.
  8521. * config/darwin.c: Likewise.
  8522. * config/darwin-c.c: Likewise.
  8523. * config/darwin-protos.h: Likewise.
  8524. * config/darwin.h: Likewise.
  8525. * config/s390/s390-protos.h: Likewise.
  8526. * config/s390/s390.c: Likewise.
  8527. * config/ia64/ia64.c: Likewse
  8528. * config/ia64/ia64-protos.h: Likewise.
  8529. * config/ia64/ia64-c.c: Likewise.
  8530. 2003-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8531. * config/sparc/sparc.c: Convert to ISO C.
  8532. * config/sparc/sparc-protos.h: Don't use the PARAMS macro.
  8533. * config/sparc/sparc.c: Likewise.
  8534. 2003-08-16 Nathan Sidwell <nathan@codesourcery.com>
  8535. PR c++/11512
  8536. * stmt.c (expand_expr_stmt_value): Don't warn about any void
  8537. typed expression.
  8538. 2003-08-16 Jan Hubicka <jh@suse.cz>
  8539. * i386.c (ix86_fntype_regparm): Rename from ...
  8540. (ix86_function_regparm): ... this one; add fastcall and local
  8541. functions.
  8542. (ix86_function_ok_for_sibcall): Update.
  8543. (ix86_return_pops_args): Likewise.
  8544. (init_cumulative_args): Likewise.
  8545. (x86_can_output_mi_thunk): Likewise.
  8546. (function_arg): Fix formating.
  8547. (x86_this_parameter): Fix fastcall.
  8548. (x86_output_mi_thunk): Likewise.
  8549. * cgraph.c (cgraph_mark_needed_node): Do not mark functions without
  8550. body as reachable; mark nested functions as needed too.
  8551. (dump_cgraph): Do not output global.calls.
  8552. * cgraph.h (cgraph_global_info): Kill.
  8553. * cgraphunit.c (cgraph_finalize_function): Enqueue needed functions.
  8554. (record_call_1): Speedup.
  8555. (cgraph_analyze_function): Break out from ...; compute inlining
  8556. parameters.
  8557. (cgraph_finalize_compilation_unit): ... here.
  8558. (cgraph_mark_inline): Kill computation of calls.
  8559. (cgraph_decide_inlining): Do not compute most of initial values.
  8560. 2003-08-14 Roger Sayle <roger@eyesopen.com>
  8561. * fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy
  8562. to negate if either operand is easy to negate, if we don't care
  8563. about sign-dependent rounding.
  8564. (negate_expr): Make the logic to negate a REAL_CST explicit.
  8565. Attempt to negate a MULT_EXPR or RDIV_EXPR by negating an operand
  8566. that's easy to negate, if we don't honor sign-dependent rounding.
  8567. (fold <MULT_EXPR>): Optimize -A * B as A * -B if B is easy to
  8568. negate, and the symmetric A * -B as -A * B if A is easy to negate.
  8569. (fold <RDIV_EXPR>): Likewise, optimize -A/B and C/-D as A/-B and
  8570. -C/D if B and C are cheap to negate. Add an explicit rule to
  8571. optimize X/-1.0 as -X when we don't care about signaling NaNs.
  8572. 2003-08-14 Zack Weinberg <zack@codesourcery.com>
  8573. * Makefile.in (tm_file): Rename tm_include_list.
  8574. (tm_p_file): Rename tm_p_include_list.
  8575. (build_xm_file): Rename build_xm_include_list.
  8576. (host_xm_file): Rename host_xm_include_list.
  8577. (xm_file): Rename xm_include_list.
  8578. (xm_file_list): Add to be substituted.
  8579. (cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
  8580. Update to match.
  8581. (bt-load.o): Add missing dependency on $(TM_H).
  8582. * configure.in: Prefix value of EXTRA_MODES_FILE with config/.
  8583. For each of tm_file, tm_p_file, xm_file, host_xm_file, and
  8584. build_xm_file, generate both *_file_list and *_include_list
  8585. values from it. (xm_file_list was formerly not being generated.)
  8586. In *_include_list, prefix the names of all headers found in
  8587. $(srcdir)/config with config/. In each loop, consider only
  8588. the special case files that can actually appear in that list.
  8589. AC_SUBST all *_file_list and all *_include_list variables; do
  8590. not AC_SUBST the plain *_file variables.
  8591. * configure: Regenerate.
  8592. 2003-08-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  8593. * cfg.c (dump_edge_info): Add name of loop_exit edge flag.
  8594. 2003-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  8595. * pa.c (pa_adjust_insn_length): Delete adjustment for delay slot in
  8596. direct calls.
  8597. (attr_length_call): Include it here. Improve length estimate for
  8598. local calls.
  8599. (output_call): Use targetm.binds_local_p.
  8600. 2003-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8601. * builtins.c (CASE_MATHFN): New helper macro.
  8602. (mathfn_built_in): Simplify and sort.
  8603. * protoize.c (substr): Delete, callers changed to `strstr'.
  8604. 2003-08-13 Zack Weinberg <zack@codesourcery.com>
  8605. * config.gcc (iq2000*-*-elf*): Don't set xm_file.
  8606. * config/iq2000/xm-iq2000.h: Delete file.
  8607. 2003-08-13 Geoffrey Keating <geoffk@apple.com>
  8608. * gengtype.c (walk_type): Process a subobject before processing
  8609. the pointer that points to the subobject.
  8610. 2003-08-13 Per Bothner <pbothner@apple.com>
  8611. * regclass.c (init_reg_modes): Make non-static.
  8612. Rename to init_reg_modes_once per new naming convention.
  8613. (init_regs): Don't call init_reg_modes here.
  8614. * emit-rtl.c (init_emit_once): Call init_reg_modes_once here instead.
  8615. * rtl.h (init_reg_modes_once): New declaration.
  8616. * toplev.c (backend_init): Call init_regs after init_emit_once.
  8617. 2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
  8618. * config/sh/linux.h (DBX_REGISTER_NUMBER): Define so to map a
  8619. special index for MD_FALLBACK_FRAME_STATE_FOR to itself.
  8620. 2003-08-13 J"orn Rennecke <joern.rennecke@superh.com>
  8621. * sh.c (sh_get_pr_initial_val): Always wrap in unspec for TARGET_SH1.
  8622. * sh.md (load_ra): Change insn predicate to TARGET_SH1.
  8623. 2003-08-13 Dale Johannesen <dalej@apple.com>
  8624. * config/rs6000/rs6000.md (ctrsi, ctrdi): Reenable
  8625. handling of decrement-and-branch farther than 32 bits.
  8626. 2003-08-12 Kelley Cook <kelleycook@wideopenwest.com>
  8627. * configure.in (make_compare_target): Move test to ...
  8628. * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
  8629. * configure: Regenerate.
  8630. 2003-08-12 Richard Sandiford <rsandifo@redhat.com>
  8631. * config/mips/iris6.h: Convert to C90 prototypes.
  8632. * config/mips/irix6-libc-compat.c: Likewise.
  8633. * config/mips/mips-protos.h: Likewise.
  8634. * config/mips/mips.c: Likewise.
  8635. 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
  8636. fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable
  8637. for selected machines. Comment heavily.
  8638. fixinc/fixincl.x: Rebuild.
  8639. fixinc/tests/base/fs/rfs/rf_cache.h: New file.
  8640. 2003-08-12 Richard Sandiford <rsandifo@redhat.com>
  8641. * config/mips/mips.h: Tweak various comments.
  8642. * config/mips/mips.c: Likewise.
  8643. 2003-08-11 James E Wilson <wilson@tuliptree.org>
  8644. PR optimization/11319
  8645. PR target/10021
  8646. * alias.c (find_base_value, case REG): Return 0 not src if no base
  8647. found.
  8648. 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8649. * gcse.c (gmalloc): Fix last change.
  8650. 2003-08-11 Roger Sayle <roger@eyesopen.com>
  8651. * simplify-rtx.c (simplify_binary_operation): Replace calls to
  8652. gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary,
  8653. and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT,
  8654. gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary.
  8655. 2003-08-11 Roger Sayle <roger@eyesopen.com>
  8656. * expr.c (expand_expr): If an ABS_EXPR has a complex type, abort.
  8657. * c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid
  8658. typecode for an ABS_EXPR.
  8659. * doc/c-tree.texi: Document ABS_EXPR.
  8660. 2003-08-11 Roger Sayle <roger@eyesopen.com>
  8661. * fold-const.c (fold): Optimize any associative floating point
  8662. operator with -funsafe-math-optimizations, not just MULT_EXPR.
  8663. 2003-08-11 Kaz Kojima <kkojima@gcc.gnu.org>
  8664. * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size
  8665. information in SHmedia case too.
  8666. (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate):
  8667. Likewise.
  8668. (__set_fpscr): Use an access via GOT for PIC case.
  8669. 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com>
  8670. * configure.in (intermodule): Make switch test more portable.
  8671. * configure: Regenerate.
  8672. 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com>
  8673. * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap.
  8674. (restrap): Likewise.
  8675. 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8676. * gcse.c (gmalloc): Argument is a size_t. Add ATTRIBUTE_MALLOC.
  8677. (grealloc): Size argument is a size_t.
  8678. (gcalloc): New function. Use throughout in lieu of
  8679. gmalloc/memset.
  8680. * config/avr/avr.c (avr_init_once): Use xcalloc in lieu of
  8681. xmalloc/memset.
  8682. * config/ia64/ia64.c (ia64_reorg): Likewise.
  8683. * conflict.c (conflict_graph_new): Likewise.
  8684. * fixinc/fixincl.c (run_compiles): Likewise.
  8685. * genattrtab.c (optimize_attrs): Likewise.
  8686. * genrecog.c (new_decision): Likewise.
  8687. * haifa-sched.c (schedule_block): Likewise.
  8688. * hashtable.c (ht_create): Likewise.
  8689. 2003-08-11 Bob Wilson <bob.wilson@acm.org>
  8690. * config/xtensa/lib2funcs.S: Fix whitespace.
  8691. * config/xtensa/xtensa.md (all insns and expanders): Use brace block
  8692. syntax where appropriate. Remove unnecessary backslash escapes.
  8693. Reformat comments and fix some code formatting.
  8694. (extendqisi2): Rearrange conditional.
  8695. (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue,
  8696. *maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead
  8697. of fatal_insn.
  8698. 2003-08-11 Richard Sandiford <rsandifo@redhat.com>
  8699. * config/mips/mips.c: Various formatting fixes.
  8700. (override_options): Resync -mtune handling with gas.
  8701. (mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface.
  8702. * config/mips/mips.h: More formatting fixes.
  8703. (mips_abi): Move declaration.
  8704. * config/mips/mips.md (exception_receiver): Add mode to
  8705. unspec_volatile.
  8706. 2003-08-11 Aldy Hernandez <aldyh@redhat.com>
  8707. * config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and
  8708. evsplatfi here.
  8709. (bdesc_1arg): Remove evsplati and evsplatfi.
  8710. 2003-08-11 J"orn Rennecke <joern.rennecke@superh.com>
  8711. * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
  8712. into account.
  8713. 2003-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8714. * builtins.c (expand_builtin_strcat): Optimize constant strings.
  8715. 2003-08-10 Gabriel Dos Reis <gdr@integrable-solutions.net>
  8716. * pretty-print.c (pp_base_indent): Rename from pp_indent.
  8717. * c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype.
  8718. (struct c_pretty_print_info): Add more fields.
  8719. (pp_c_left_paren): Move to c-pretty-print.c.
  8720. (pp_c_right_paren): Likewise.
  8721. (pp_c_left_brace): Likewise.
  8722. (pp_c_right_brace): Likewise.
  8723. (pp_c_left_bracket): Likewise.
  8724. (pp_c_right_bracket): Likewise.
  8725. (pp_c_declarator): Declare.
  8726. (pp_c_direct_declarator): Likewise.
  8727. (pp_c_specifier_qualifier_list): Likewise.
  8728. (pp_c_type_id): Likewise.
  8729. * c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework..
  8730. (pp_c_type_qualifier_list): New.
  8731. (pp_c_pointer): Likewise.
  8732. (pp_c_parameter_type_list): Likewise.
  8733. (pp_c_function_definition): Likewise.
  8734. (pp_c_id_expression): Likewise.
  8735. (pp_c_simple_type_specifier): Tidy.
  8736. (pp_c_unary_expression): Likewise.
  8737. (pp_c_expression): Likewise.
  8738. (pp_c_pretty_printer_init): Likewise.
  8739. (pp_c_specifier_qualifier_list): Rework..
  8740. (pp_c_abstract_declarator): Likewise.
  8741. (pp_c_postfix_expression): Likewise.
  8742. (pp_c_primary_expression): Likewise.
  8743. (pp_c_cast_expression): Likewise.
  8744. (pp_c_direct_abstract_declarator): Likewise.
  8745. (pp_c_storage_class_specifier): Likewise.
  8746. (pp_c_function_specifier): Likewise.
  8747. (pp_c_declaration_specifiers): Likewise.
  8748. (pp_c_direct_declarator): Likewise.
  8749. (pp_c_declarator): Likewise.
  8750. (pp_c_declaration): Likewise.
  8751. (pp_c_statement): Likewise.
  8752. (pp_c_integer_constant): Rename from pp_c_integer_literal.
  8753. (pp_c_character_constant): Rename from pp_c_character_literal.
  8754. (pp_c_bool_constant): Rename from pp_c_bool_literal.
  8755. (pp_c_enumeration_constant): Rename from pp_c_enumerator.
  8756. (pp_c_floating_constant): Rename from pp_c_real_literal.
  8757. (pp_c_constant): Rename from pp_c_literal.
  8758. * c-lang.c: Include diagnostic.h and c-pretty-print.h
  8759. (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define.
  8760. (c_initialize_diagnostics): New.
  8761. * Makefile.in (c-lang.o): Update dependency.
  8762. 2003-08-10 Nathan Sidwell <nathan@codesourcery.com>
  8763. * c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs.
  8764. 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
  8765. * config/mips/mips.c (mips_no_mips16_string): Remove.
  8766. (override_options): Don't handle -mips16 as part of -mipsN.
  8767. * config/mips/mips.h (mips_no_mips16_string): Remove declaration.
  8768. (TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries.
  8769. (TARGET_OPTIONS): Remove -mno-mips16.
  8770. 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
  8771. * config/mips/mips-protos.h (coprocessor_operand): Remove declaration.
  8772. (coprocessor2_operand): Likewise.
  8773. * config/mips/mips.c (STAB_CODE_TYPE): Remove.
  8774. (lookup_name): Remove declaration.
  8775. (abort_with_insn): Remove. Replace all uses with fatal_insn.
  8776. (mips16, mips_abicalls): Remove.
  8777. (mips_char_to_class): Remove initialiser: all entries are NO_REGS.
  8778. (arith32_operand, large_int, true_reg_or_0_operand): Remove.
  8779. (coprocessor_operand, coprocessor2_operand): Remove.
  8780. (override_options): Don't set mips16 or mips_abicalls.
  8781. (print_operand): Don't expect SIGN_EXTEND operands.
  8782. (mips_secondary_reload_class): Likewise.
  8783. (mips_output_conditional_branch): Remove disabled long-branch code.
  8784. * config/mips/mips.h (call_used_regs): Remove declaration.
  8785. (may_call_alloca): Likewise.
  8786. (mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove.
  8787. (mips_abicalls, mips16): Remove declarations.
  8788. (ASM_FINAL_SPEC, LIB_SPEC): Remove.
  8789. (CC1_SPEC): Remove outdated comment.
  8790. (MIPS_VERSION, MACHINE_TYPE): Remove.
  8791. (TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
  8792. (PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions.
  8793. (STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise.
  8794. (PUSH_ROUNDING): Likewise.
  8795. (ASSEMBLER_SCRATCH_REGNUM): Remove.
  8796. * config/mips/mips.md: Replace mips_cpu_attr with mips_tune
  8797. and mips16 with TARGET_MIPS16.
  8798. 2003-08-09 Per Bothner <pbothner@apple.com>
  8799. * cppinit.c (cpp_read_main_file): Split out source-independent
  8800. initialization to separate function ...
  8801. (cpp_post_options): New function.
  8802. * cppfiles.c (cpp_stack_file): Rename public name to ...
  8803. (_cpp_stack_file): New internal function name.
  8804. * cpplib.h: Update accordingly.
  8805. * cppinit.c: (cpp_create_reader): Initialize cpp_readers line here.
  8806. (cpp_read_main_file): Don't initialize line here.
  8807. * c-opts.c (c_common_post_options): Call cpp_post_options.
  8808. (c_common_parse_file): Call cpp_read_main_file, not cpp_stack_file.
  8809. * fix-header.c (read_scan_file): Call cpp_post_options.
  8810. 2003-08-09 Per Bothner <per@bothner.com>
  8811. * c-decl.c (SCOPE_LIST_APPEND): Remove bogus line continuation.
  8812. 2003-08-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  8813. * pa.c (pa_asm_output_mi_thunk): Fix typo.
  8814. 2003-08-09 Neil Booth <neil@daikokuya.co.uk>
  8815. PR preprocessor/11839
  8816. * cppfiles.c (open_file): Handle ENOTDIR.
  8817. 2003-08-09 Richard Sandiford <rsandifo@redhat.com>
  8818. PR target/11699
  8819. * config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.
  8820. 2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  8821. * pa.md (extzv, extv, insv): Fix operand limit checks. Fail if
  8822. source/destination is not a register operand.
  8823. 2003-08-08 Richard Henderson <rth@redhat.com>
  8824. PR target/11535
  8825. * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove
  8826. RETURN_ADDRESS_POINTER_REGNUM.
  8827. (ia64_expand_prologue): Don't frob it.
  8828. (ia64_output_function_epilogue): Likewise.
  8829. (ia64_return_addr_rtx): New.
  8830. (ia64_split_return_addr_rtx): New.
  8831. * config/ia64/ia64-protos.h: Update.
  8832. * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement.
  8833. (RETURN_ADDRESS_POINTER_REGNUM): Remove.
  8834. (GENERAL_REGNO_P): Don't check it.
  8835. (AR_*_REGNUM): Renumber.
  8836. (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM.
  8837. (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise.
  8838. (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise.
  8839. (ELIMINABLE_REGS, REGISTER_NAMES): Likewise.
  8840. (RETURN_ADDR_RTX): Use ia64_return_addr_rtx.
  8841. * config/ia64/ia64.md (UNSPEC_RET_ADDR): New.
  8842. (movdi_ret_addr): New.
  8843. 2003-08-08 Geoffrey Keating <geoffk@apple.com>
  8844. * config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib.
  8845. 2003-08-08 Roger Sayle <roger@eyesopen.com>
  8846. * tree.h (get_identifier) Define a macro form of get_identifier
  8847. that calls get_identifier_with_length when the string is constant.
  8848. (get_identifier_with_length): Change type of second argument to
  8849. size_t in prototype.
  8850. * stringpool.c (get_identifier): Undefine the macro before giving
  8851. the function definition.
  8852. (get_identifier_with_length): Change type of second argument to
  8853. size_t in function definition.
  8854. * hashtable.c (calc_hash): Change type of second argument to size_t.
  8855. (ht_lookup): Change type of third argument to size_t. Reorganize
  8856. to speed-up the cases where the hash table slot is empty, or the
  8857. first probe matches (i.e. there isn't a collision).
  8858. * hashtable.h (ht_lookup): Adjust function prototype.
  8859. 2003-08-08 Bernardo Innocenti <bernie@develer.com>
  8860. PR target/9697
  8861. PR target/11777
  8862. * longlong.h (count_leading_zeros): Exclude on __mcpu32__.
  8863. 2003-08-08 Neil Booth <neil@daikokuya.co.uk>
  8864. * common.opt: Add debug switches.
  8865. * flags.h (use_gnu_debug_info_extensions): Boolify.
  8866. * opts.c (write_symbols, debug_info_level,
  8867. use_gnu_debug_info_extensions): Move from toplev.c.
  8868. (set_debug_level): New.
  8869. (common_handle_options): Handle debug switches.
  8870. (print_help): Display target options directly.
  8871. * toplev.c (debug_hooks): Don't initialize.
  8872. (write_symbols, debug_info_level,
  8873. use_gnu_debug_info_extensions): Move to opts.c.
  8874. (debug_args, display_help, decode_g_option): Remove.
  8875. (process_options): Set no debug if level zero here,
  8876. and no-debug-hooks. Error here if impossible debug format selected.
  8877. * toplev.h (display_help, decode_g_option): Remove.
  8878. 2003-08-08 Richard Sandiford <rsandifo@redhat.com>
  8879. * tree.c (get_file_function_name_long): Fix size of alloca() area.
  8880. 2003-08-08 Kelley Cook <kelleycook@wideopenwest.com>
  8881. * configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target
  8882. and gcc_cv_prog_cmp_skip.
  8883. * configure: Regenerate.
  8884. 2003-08-08 Stan Cox <scox@redhat.com>
  8885. * config/iq2000: New port.
  8886. * config.gcc (iq2000-*-elf): Added.
  8887. * doc/install.texi (Specific): Add iq2000 description.
  8888. 2003-08-08 Andreas Schwab <schwab@suse.de>
  8889. * configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting
  8890. and insert missing empty argument.
  8891. * configure: Regenerate.
  8892. 2003-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  8893. * pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P.
  8894. (attr_length_millicode_call): Likewise.
  8895. (attr_length_call): Likewise. Revise some maximum insn lengths.
  8896. (attr_length_indirect_call): Likewise.
  8897. (output_call): Fix thinko that added extra nop.
  8898. * pa.h (IN_NAMED_SECTION_P): Define.
  8899. PR c++/11712
  8900. * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define
  8901. __STDC_EXT__ when using C++ dialect.
  8902. 2003-08-07 J"orn Rennecke <joern.rennecke@superh.com>
  8903. * sh.c (calc_live_regs): If the return address pointer is live,
  8904. force pr live.
  8905. (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register
  8906. for saves / restores.
  8907. (sh_expand_epilogue): If sh_media_register_for_return returns a
  8908. register number, flag the instructions that restores PR_MEDIA_REG
  8909. as possibly dead.
  8910. Remove dead update of offset.
  8911. (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if
  8912. we can use the result of get_hard_reg_initial_val.
  8913. * sh.md (UNSPEC_RA): New constant.
  8914. (movsi_i_lowpart+1): Changed into a define_insn_and_split, named:
  8915. (load_ra). Handle UNSPEC_RA.
  8916. (sibcall_media): Use PR_MEDIA_REG.
  8917. * sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG.
  8918. * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr
  8919. needs saving on SHmedia.
  8920. 2003-08-07 Ulrich Weigand <uweigand@de.ibm.com>
  8921. * config/s390/s390.md: Replace all occurrences of \\t with \t.
  8922. 2003-08-07 Richard Sandiford <rsandifo@redhat.com>
  8923. * local-alloc.c (combine_regs): Fix comment typo.
  8924. 2003-08-06 Zack Weinberg <zack@codesourcery.com>
  8925. * c-decl.c (builtin_decls): Replace with first_builtin_decl
  8926. and last_builtin_decl.
  8927. (c_init_decl_processing): Initialize both.
  8928. (c_reset_state): Iterate from first_builtin_decl to
  8929. last_builtin_decl inclusive to reintroduce builtins.
  8930. 2003-08-06 David Mosberger <davidm@hpl.hp.com>
  8931. * doc/extend.texi (Function Attributes): Document the IA-64 version
  8932. of the "model" attribute.
  8933. * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro.
  8934. (SYMBOL_REF_SMALL_ADDR_P): Ditto.
  8935. (PREDICATE_CODES): Mention "small_addr_symbolic_operand".
  8936. * config/ia64/ia64.c (ia64_handle_model_attribute): New function.
  8937. (ia64_encode_section_info): Likewise.
  8938. (ia64_attribute_table): Add "model" attribute.
  8939. (TARGET_ENCODE_SECTION_INFO): Define.
  8940. (small_addr_symbolic_operand): New function.
  8941. (got_symbolic_operand): Return 0 for a symbolref to an object
  8942. in the small address area.
  8943. (enum ia64_addr_area): New type.
  8944. (small_ident1): New variable.
  8945. (small_ident2): Likewise.
  8946. (init_idents): New function.
  8947. (ia64_get_addr_area): Likewise.
  8948. (ia64_encode_addr_area): Likewise.
  8949. (ia64_encode_section_info): Likewise.
  8950. (ia64_expand_load_address): For symbolic references to objects in
  8951. the small-address-area, load the address via gen_rtx_SET() (which,
  8952. eventually, will expand into "addl").
  8953. 2003-08-06 Per Bothner <pbothner@apple.com>
  8954. * line-map.h (fileline): New typedef.
  8955. (struct line_map, linemap_add, linemap_lookup): Use it.
  8956. * input.h (struct location_s): Comment notes that long-term we want
  8957. to replace it by fileline.
  8958. 2003-08-06 J"orn Rennecke <joern.rennecke@superh.com>
  8959. Fix SHcompact exception handling:
  8960. * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered
  8961. by the prologue, return a MEM with return_address_pointer_rtx
  8962. as address.
  8963. * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode.
  8964. (RETURN_ADDR_OFFSET): Don't define.
  8965. (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia
  8966. registers that are visible in compact mode. Show that SHmedia
  8967. registers still exist in compact mode, even if there are not
  8968. readily accessible.
  8969. (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect
  8970. if GLOBAL. Use DW_EH_PE_textrel (nominally) for CODE,
  8971. and DW_EH_PE_pcrel for pic data.
  8972. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel,
  8973. set SYMBOL_FLAG_FUNCTION in symbol, and actually use
  8974. DW_EH_PE_pcrel / DW_EH_PE_absptr encoding.
  8975. (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it.
  8976. * sh.md (movsi_media-1): New splitter.
  8977. 2003-08-06 Graeme Peterson <gp@qnx.com>
  8978. * config/i386/nto.h: New.
  8979. * config/i386/t-nto: New.
  8980. * config.gcc (i[34567]86-*-nto-qnx*): New.
  8981. 2003-08-06 Phil Edwards <pme@gcc.gnu.org>
  8982. * doc/install.texi (*-*-solaris2*): Refine configure instructions.
  8983. 2003-08-06 Alan Modra <amodra@bigpond.net.au>
  8984. * calls.c (load_register_parameters): Arrange for call_fusage to
  8985. report the whole register as used when shifting to the msb.
  8986. 2003-08-05 Roger Sayle <roger@eyesopen.com>
  8987. * builtins.c (expand_builtin): When not optimizing, call the library
  8988. function for all builtins that have library functions (except alloca).
  8989. 2003-08-05 Alexandre Oliva <aoliva@redhat.com>
  8990. * c.opt: Introduce -fworking-directory.
  8991. * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
  8992. * c-common.h (flag_working_directory): Declare.
  8993. * c-common.c (flag_working_directory): Define.
  8994. * c-opts.c (c_common_handle_options): Set it.
  8995. (sanitize_cpp_opts): Set...
  8996. * cpplib.h (struct cpp_options): ... working_directory option.
  8997. (struct cpp_callbacks): Add dir_change.
  8998. * cppinit.c (read_original_filename): Call...
  8999. (read_original_directory): New. Look for # 1 "directory//"
  9000. and process it.
  9001. (cpp_read_main_file): Call dir_change callback if working_directory
  9002. option is set.
  9003. * gcc.c (cpp_unique_options): Pass -g*.
  9004. * c-lex.c (cb_dir_change): New.
  9005. (init_c_lex): Set dir_change callback.
  9006. * toplev.c (src_pwd): New static variable.
  9007. (set_src_pwd, get_src_pwd): New functions.
  9008. * toplev.h (get_src_pwd, set_src_pwd): Declare.
  9009. * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
  9010. * dwarf2out.c (gen_compile_unit_die): Likewise.
  9011. * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
  9012. 2003-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
  9013. * pretty-print.h (pp_set_line_maximum_length): Make macro.
  9014. (pp_set_prefix): Likewise.
  9015. (pp_destroy_prefix): Likewise.
  9016. (pp_remaining_character_count_for_line): Likewise.
  9017. (pp_clear_output_area): Likewise.
  9018. (pp_formatted_text): Likewise.
  9019. (pp_last_position_in_text): Likewise.
  9020. (pp_emit_prefix): Likewise.
  9021. (pp_append_text): Likewise.
  9022. (pp_flush): Likewise.
  9023. (pp_format_text): Likewise.
  9024. (pp_format_verbatim): Likewise.
  9025. (pp_tree_identifier): Tidy.
  9026. * pretty-print.c (pp_base_format_text): Rename from pp_format_text.
  9027. (pp_base_format_verbatim): Rename from pp_format_verbatim.
  9028. (pp_base_flush): Rename from pp_flush.
  9029. (pp_base_set_line_maximum_length): Rename from
  9030. pp_set_line_maximum_length.
  9031. (pp_base_clear_output_area): Rename from pp_clear_output_area.
  9032. (pp_base_set_prefix): Rename from pp_set_prefix.
  9033. (pp_base_destroy_prefix): Rename from pp_destroy_prefix.
  9034. (pp_base_emit_prefix): Rename from pp_emit_prefix.
  9035. (pp_base_append_text): Rename from pp_append_text.
  9036. (pp_base_formatted_text): Rename from pp_formatted_text.
  9037. (pp_base_last_position_in_text): Rename from pp_last_position_in_text.
  9038. (pp_base_remaining_character_count_for_line): Rename from
  9039. pp_remaining_character_count_for_line.
  9040. * diagnostic.h (diagnostic_format_decoder): Tidy.
  9041. (diagnostic_flush_buffer): Likewise.
  9042. * c-pretty-print.h: (pp_c_string_literal): Declare.
  9043. (pp_c_real_literal): Likewise.
  9044. (pp_c_integer_literal): Likewise.
  9045. * c-pretty-print.c (pp_c_char): Use pp_string in lieu of
  9046. pp_identifier.
  9047. (pp_c_character_literal): Tidy.
  9048. (pp_c_string_literal): Make public.
  9049. (pp_c_bool_literal): Likewise.
  9050. (pp_c_integer_literal): Likewise.
  9051. (pp_c_real_literal): Likewise.
  9052. * Makefile.in (C_PRETTY_PRINT_H): New variable.
  9053. (c-pretty-print.o): Update dependence.
  9054. 2003-08-05 Chris Demetriou <cgd@broadcom.com>
  9055. * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore
  9056. ".set nomacro" state.
  9057. (fix_truncsfsi2_macro): Likewise.
  9058. 2003-08-05 Steven Bosscher <steven@gcc.gnu.org>
  9059. * tree.h (DID_INLINE_FUNC): Remove macro.
  9060. (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
  9061. add tree check for FUNCTION_DECL.
  9062. (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
  9063. (struct tree_decl): Rename inlined_function_flag to
  9064. declared_inline_flag.
  9065. * c-common.h (c_lang_decl): Remove.
  9066. (DECL_ESTIMATED_INSNS): Remove.
  9067. * c-tree.h (struct lang_decl): Don't include c_lang_decl.
  9068. (DECL_DECLARED_INLINE_P): Remove.
  9069. * c-decl.c (grokdeclarator): Update comment. With -finline-functions,
  9070. do not reset DECL_DECLARED_INLINE_P. Don't use DID_INLINE_FUNC.
  9071. (finish_function): Make uninlinable a bool. Fixup call to
  9072. tree_inlinable_function_p() and fix some code style issues.
  9073. * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
  9074. * cgraph.c (dump_cgraph): Likewise.
  9075. * cgraphunit.c (cgraph_decide_inlining): Likewise
  9076. (cgraph_finalize_compilation_unit): Likewise.
  9077. Also update call to tree_inlinable_function_p().
  9078. (cgraph_default_inline_p): Don't use DID_INLINE_FUNC. Instead
  9079. look at DECL_DECLARED_INLINE and reverse logic.
  9080. * print-tree.c (print_node): Likewise.
  9081. * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
  9082. * tree-inline.h (tree_inlinable_function_p): Make a bool. Update
  9083. prototype.
  9084. * tree-inline.c (inlinable_function_p): Split up in this function to
  9085. check for basic inlining inhibiting conditions, and new
  9086. limits_allow_inlining() function. Warn if inlining is impossible
  9087. because the inline candidate calls alloca or uses sjlj exceptions.
  9088. (limits_allow_inlining): this new function to check if the inlining
  9089. limits are satisfied. Throttle from currfn_max_inline_insns, not from
  9090. MAX_INLINE_INSNS_SINGLE. The latter only makes sense if
  9091. MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
  9092. Update prototypes.
  9093. (tree_inlinable_function_p): Make a bool. Update call to
  9094. inlinable_function_p
  9095. (expand_call_inline): Use limits_allow_inlining() when not in
  9096. unit-at-a-time mode to decide on inlining. Don't use DID_INLINE_FUNC,
  9097. instead see if the function was declared `inline'.
  9098. 2003-08-05 Josef Zlomek <zlomekj@suse.cz>
  9099. * gcse.c (try_replace_reg): Fix updating of note.
  9100. 2003-08-04 Roger Sayle <roger@eyesopen.com>
  9101. PR middle-end/11771
  9102. * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
  9103. logic in negate_expr, i.e. we don't invert (A-B) for floating
  9104. point types unless flag_unsafe_math_optimizations.
  9105. 2003-08-04 Roger Sayle <roger@eyesopen.com>
  9106. * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
  9107. Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
  9108. for floating point expressions with -ffast-math.
  9109. (fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
  9110. * expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x.
  9111. 2003-08-04 Roger Sayle <roger@eyesopen.com>
  9112. * c-common.c (flag_noniso_default_format_attributes): Delete.
  9113. (built_in_attribute): Don't define/undefine DEF_FN_ATTR.
  9114. (c_attrs_initialized): Delete.
  9115. (c_common_nodes_and_builtins): Don't test c_attrs_initialized,
  9116. always call c_init_attributes.
  9117. (c_init_attributes): Don't define/undefine DEF_FN_ATTR. Don't
  9118. set c_attrs_initialized when done.
  9119. (c_common_insert_default_attributes): Delete.
  9120. * c-common.h (flag_noniso_default_format_attributes): Delete.
  9121. (c_coomon_insert_default_attributes): Delete prototype.
  9122. * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set
  9123. flag_noniso_default_format_attributes.
  9124. * c-decl.c (c_insert_default_attributes): Delete.
  9125. * c-tree.h (c_insert_default_attributes): Delete prototype.
  9126. * attribs.c (decl_attributes): Don't call insert_default_attributes
  9127. langhook. Update function description comment.
  9128. * langhooks.h (lang_hooks): Remove insert_default_attributes field.
  9129. * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete.
  9130. * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define.
  9131. * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro.
  9132. * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't
  9133. define.
  9134. 2003-08-04 Richard Sandiford <rsandif@redhat.com>
  9135. * config/mips/mips.c (override_options): Disable -G on targets that
  9136. have no .section support.
  9137. (mips_select_section): Use default_select_section for such targets.
  9138. 2003-08-04 Nathanael Nerode <neroden@gcc.gnu.org>
  9139. * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
  9140. * fixinc/inclhack.def (static_getrnge): Remove disabled hack.
  9141. * fixinc/fixincl.x: Rebuild.
  9142. * fixinc/tests/base/regexp.h: New test.
  9143. 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
  9144. * c-ppoutput.c (cb_line_change): Don't skip line changing while
  9145. parsing macro arguments in the top-level context.
  9146. 2003-08-04 Neil Booth <neil@daikokuya.co.uk>
  9147. * config.in: Remove HAVE_LSTAT.
  9148. * configure, configure.in: Don't test for lstat.
  9149. 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
  9150. * opts.c (decode_options): Do language-specific initialization for
  9151. the global diagnostic context.
  9152. * langhooks-def.h (lhd_initialize_diagnostics): Declare.
  9153. (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
  9154. (LANG_HOOKS_INITIALIZER): Adjust.
  9155. * langhooks.h (struct lang_hooks): Add new field
  9156. initialize_diagnostics.
  9157. * langhooks.c (lhd_initialize_diagnostics): Define.
  9158. 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
  9159. * pretty-print.h: Adjust macro definitions.
  9160. * pretty-print.c (pp_newline): Rename to pp_base_newline.
  9161. (pp_character): Rename to pp_base_character.
  9162. (pp_string): Rename to pp_base_string.
  9163. * c-pretty-print.c (pp_buffer): Move to pretty-print.h
  9164. (pp_newline): Likewise. Adjust.
  9165. (pp_c_char): Adjust.
  9166. 2003-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9167. * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
  9168. BUILT_IN_LLABS): Move to miscellaneous section.
  9169. 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
  9170. PR preprocessor/11534
  9171. * cppexp.c (parse_defined): Warn only if -pedantic.
  9172. 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
  9173. * cppfiles.c (stack_file): Use file path.
  9174. 2003-08-02 Roger Sayle <roger@eyesopen.com>
  9175. * builtin-types.def (BT_SSIZE): New primitive type.
  9176. (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
  9177. BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
  9178. BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
  9179. BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
  9180. * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
  9181. BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
  9182. BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
  9183. * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
  9184. few functions that define default attributes using it.
  9185. * c-common.c (c_common_insert_default_attributes): Do nothing.
  9186. * doc/extend.texi: Document these "new" builtins.
  9187. 2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org>
  9188. * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
  9189. (LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee
  9190. when -mieee-fp set and -shared not set.
  9191. (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
  9192. 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
  9193. * cppfiles.c (struct _cpp_file): Rename once_only_next to
  9194. next_file. Remove import and pragma_once, add once_only.
  9195. (find_file): Add new file structures to the all_files list.
  9196. (should_stack_file): Mark #import-ed files once-only, and
  9197. don't stack them if the file has already been stacked.
  9198. (_cp_mark_file_once_only): Simplify.
  9199. * cpphash.h (struct cpp_reader): Rename once_only_files
  9200. to all_files. Rename saw_pragma_once to seen_once_only.
  9201. (_cpp_mark_file_once_only): Update prototype.
  9202. * cpplib.c (do_pragma_once): Update.
  9203. 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
  9204. * cppfiles.c (ENOTDIR): Remove.
  9205. (open_file_in_dir): Rename find_file_in_dir. Handle errors
  9206. other than ENOENT here.
  9207. (once_only_file_p): Rename should_stack_file.
  9208. (find_file, open_file_failed, read_file_guts): Report errors
  9209. with full path name.
  9210. (read_file): Move pch handling to should_stack_file.
  9211. (should_stack_file): Handle PCH and once-only issues, and
  9212. reading the file.
  9213. (stack_file): Don't do file reads.
  9214. 2003-08-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  9215. * libgcov.c (gcov_exit): Cleanup and fix.
  9216. * profile.c (compute_value_histograms): Don't try to read profiles
  9217. that are not present.
  9218. 2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9219. * builtins.def: Categorize.
  9220. * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
  9221. Mind fp rounding.
  9222. (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
  9223. 2003-08-02 Andreas Tobler <a.tobler@schweiz.ch>
  9224. * config.gcc: Enable posix threads by default on darwin.
  9225. 2003-08-01 Jakub Jelinek <jakub@redhat.com>
  9226. * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
  9227. even if nehedges1 is 0.
  9228. 2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org>
  9229. * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
  9230. fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
  9231. fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
  9232. and defintions.
  9233. * fixinc/inclhack.def (broken_cabs): Make matching more generous.
  9234. * fixinc/fixincl.x: Regenerate.
  9235. * fixinc/tests/base/math.h: Regenerate to match test_text change.
  9236. 2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  9237. * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
  9238. 2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  9239. * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
  9240. for accesses to exc_ptr.
  9241. 2003-08-01 Geoffrey Keating <geoffk@apple.com>
  9242. * doc/sourcebuild.texi (Front End Directory): Don't make references
  9243. to libsubdir, it's not part of the interface to frontends.
  9244. * doc/install.texi (Configuration): Help users read faster by saying
  9245. that GCC's configure options are the standard autoconf ones.
  9246. Mention --libdir. Update the default rules for finding the
  9247. assembler. Don't use libsubdir since we haven't said what it means.
  9248. (Specific): In the Solaris 7 notes, update the place to put the
  9249. assembler.
  9250. * doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
  9251. * doc/cpp.texi (Search Path): Actually, the search path
  9252. depends on libdir, which can relocate with cpp.
  9253. * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
  9254. now a private interface between the Makefile and the driver.
  9255. 2003-08-01 Richard Henderson <rth@redhat.com>
  9256. * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
  9257. * varasm.c (lookup_constant_def): New function.
  9258. * rtl.h (lookup_constant_def): Declare it.
  9259. * dwarf2out.c (loc_descriptor_from_tree): Use it.
  9260. Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
  9261. 2003-08-01 Zack Weinberg <zack@codesourcery.com>
  9262. * c-decl.c (gettags, pushdecl_function_level): Delete.
  9263. (last_function_parm_vars): Rename last_function_parm_others.
  9264. (current_function_parm_vars): Rename current_function_parm_others.
  9265. (struct c_scope): Rewrite comment explaining this data structure.
  9266. Add names_last, blocks_last, parms_last fields. Rename
  9267. incomplete_list to incomplete.
  9268. (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
  9269. (poplevel): Ignore second argument. No need to nreverse
  9270. anything. Restructure such that each list is processed
  9271. exactly once. Use 'const location_t *locus' syntactic sugar
  9272. variable where useful. Issue unused variable warnings
  9273. ourselves, do not rely on function.c.
  9274. (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
  9275. (pushdecl_top_level): Likewise. Don't call duplicate_decls.
  9276. (implicitly_declare): decl cannot be error_mark_node.
  9277. (undeclared_variable): Manipulate scope structure directly.
  9278. (c_make_fname_decl): Likewise.
  9279. (getdecls, c_init_decl_processing): Fix comment.
  9280. (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT. No need
  9281. for 'last' variable.
  9282. (grokparms): No need to nreverse parms list.
  9283. (store_parm_decls_newstyle): Set up the parms_last and
  9284. names_last fields of the new scope too.
  9285. (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
  9286. on parms to begin with; check this under ENABLE_CHECKING. Set
  9287. up parms_last.
  9288. (check_for_loop_decls): Refer directly to current_scope->tags.
  9289. Use consistent quote style in diagnostics.
  9290. (c_write_global_declarations): The names list is not backward.
  9291. * c-common.h: Don't prototype gettags.
  9292. * c-parse.in: Call poplevel with second argument 0 always.
  9293. 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9294. * builtins.def: Resort builtins.
  9295. 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9296. * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
  9297. DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
  9298. Prepend "__builtin_" onto NAME with string concatenation. Remove
  9299. explicit "__builtin_" from each macro call.
  9300. Reformat entire file.
  9301. 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9302. * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
  9303. ATTR_MATHFN_FPROUNDING_ERRNO): New macros. Use throughout.
  9304. 2003-08-01 Andreas Krebbel <krebbel1@de.ibm.com>
  9305. * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
  9306. CCL1, or CCL2 modes with floating point operations.
  9307. * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
  9308. "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
  9309. "*subdf3_cconly"): New insns.
  9310. ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
  9311. 2003-08-01 Neil Booth <neil@daikokuya.co.uk>
  9312. * Makefile.in: Refine dependencies.
  9313. * c-opts.c (c_common_handle_option): Do nothing for -Wimport.
  9314. * c.opt: Update help for -Wimport.
  9315. * cppfiles.c: Include hashtab.h. Update comments.
  9316. (stack_file): Read the file before updating dependencies.
  9317. (once_only_file_p): Be smarter about marking once-only files.
  9318. (_cpp_mark_file_once_only): Correct the check for existence on
  9319. the list.
  9320. (open_file_failed): Use name not path, which is NULL.
  9321. * cpphash.h: Don't include hashtab.h.
  9322. (struct _cpp_file): Remove.
  9323. (struct cpp_reader): Update.
  9324. * cppinit.c (cpp_create_reader): Don't initialize warn_import.
  9325. * cpplib.h (struct cpp_options): Remove warn_import.
  9326. (cpp_simplify_path): Remove.
  9327. 2003-08-01 Nathan Sidwell <nathan@codesourcery.com>
  9328. PR c++/11295
  9329. * doc/extend.texi (Statement Expressions): Document C++ semantics.
  9330. 2003-07-31 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
  9331. * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
  9332. 2003-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9333. * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
  9334. throughout.
  9335. * builtins.def: Likewise.
  9336. 2003-07-31 Jason Merrill <jason@redhat.com>
  9337. * Makefile.in (bubblestrap): Don't require a previous full
  9338. bootstrap.
  9339. * expr.c (mostly_zeros_p): No longer static.
  9340. * tree.h: Declare it.
  9341. * stmt.c (resolve_asm_operand_names): Don't copy the pattern
  9342. unless we need to do substitutions.
  9343. 2003-07-31 Roger Sayle <roger@eyesopen.com>
  9344. * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
  9345. pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x
  9346. as pow(x,2.0) when the latter will be expanded back into x*x.
  9347. (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
  9348. * builtins.c (expand_builtin_pow): Ignore flag_errno_math as
  9349. pow can never set errno when used with an integer exponent.
  9350. Always use expand_powi when exponent is -1, 0, 1 or 2.
  9351. (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
  9352. as 1.0/(x*x). This avoids unbounded recursion as we now prefer
  9353. the pow forms of these expressions.
  9354. 2003-07-31 Geoffrey Keating <geoffk@apple.com>
  9355. * Makefile.in (libexecdir): New.
  9356. (libsubdir): Use gcc instead of gcc-lib.
  9357. (libexecsubdir): New.
  9358. (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
  9359. (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
  9360. gcc-lib.
  9361. (installdirs): Make libexecsubdir.
  9362. (install-common): Put executables in libexecsubdir.
  9363. (itoolsdir): Use libexecsubdir.
  9364. (itoolsdatadir): New.
  9365. (install-mkheaders): Separate data files and executables.
  9366. (install-collect2): Put executables in libexecsubdir.
  9367. (uninstall): Remove libexecsubdir.
  9368. * mkheaders.in: Update for new arrangement of files.
  9369. (libexecdir): New.
  9370. (libexecsubdir): New.
  9371. (itoolsdir): Use libexecsubdir.
  9372. (itoolsdatadir): New.
  9373. * gcc.c (gcc_libexec_prefix): New.
  9374. (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
  9375. (standard_exec_prefix_1): Use libexec.
  9376. (standard_exec_prefix_2): New.
  9377. (standard_libexec_prefix): New.
  9378. (process_command): Update for new arrangement of files. Compute
  9379. gcc_libexec_prefix. Update for change from gcc-lib to gcc.
  9380. 2003-07-31 Nathanael Nerode <neroden@gcc.gnu.org>
  9381. * inclhack.def (stdio_va_list): Avoid bogus replacement which
  9382. triggers on Interix.
  9383. * fixincl.x: Regenerate.
  9384. 2003-07-31 Jakub Jelinek <jakub@redhat.com>
  9385. * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
  9386. SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
  9387. 2003-07-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  9388. * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
  9389. 2003-07-31 Per Bothner <pbothner@apple.com>
  9390. * opts.c (in_fnames, num_in_fnames): Moved here from c-opts.
  9391. (add_input_filename): New function.
  9392. (handle_options): Call add_input_filename directly instead of
  9393. with a lang hook.
  9394. * opts.h (in_fnames, num_in_fnames): Moved here.
  9395. (add_input_filename): Declare.
  9396. * c-decl.c: Need to #include opts.h.
  9397. * Makefile.in (c-decl.o): Also depends on opts.h.
  9398. * c-opts.c (in_fnames, num_in_fnames): Moved to opts.c.
  9399. (c_common_handle_filename): Replaced by add_input_filename.
  9400. * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
  9401. Remove.
  9402. * langhooks.h (struct lang_hooks): Remove handle_filename hook.
  9403. * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
  9404. (LANG_HOOKS_INITIALIZER): Remove use of LANG_HOOKS_HANDLE_FILENAME.
  9405. * c-lang.c (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
  9406. 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  9407. * combine.c (try_combine): Set JUMP_LABEL for newly created
  9408. unconditional jump.
  9409. 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  9410. * fold-const.c (fold): Fold some comparisons of bit operations.
  9411. 2003-07-31 Jan Hubicka <jh@suse.cz>
  9412. * cgraph.c (create_edge): Fix typo.
  9413. * i386.c (pic_symbolic_operand): Reorder tests.
  9414. 2003-07-31 Nathan Sidwell <nathan@codesourcery.com>
  9415. * doc/gcov.texi (Invoking Gcov): Describe output name mangling
  9416. more fully.
  9417. (Gcov Data Files): Update.
  9418. 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  9419. * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
  9420. default.
  9421. * gthr-posix.c: New file.
  9422. * gthr-posix.h: Define _REENTRANT if missing.
  9423. Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
  9424. * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
  9425. by gthr-posix.o.
  9426. * config/alpha/t-osf-pthread: New file.
  9427. * fixinc/inclhack.def (alpha_pthread): New fix.
  9428. * fixinc/fixincl.x: Regenerate.
  9429. * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
  9430. * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
  9431. warning.
  9432. Fixes PR bootstrap/9330.
  9433. 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  9434. * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
  9435. without GNU ld.
  9436. Update comment.
  9437. * configure: Regenerate.
  9438. 2003-07-31 Vladimir Makarov <vmakarov@redhat.com>
  9439. * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
  9440. setter.
  9441. 2003-07-30 Roger Sayle <roger@eyesopen.com>
  9442. * builtins.def: Alphabetize.
  9443. 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
  9444. * doc/c-tree.texi: Normalize spellings of "lowercase" and
  9445. "uppercase".
  9446. * doc/cpp.texi: Likewise.
  9447. * doc/md.texi: Likewise.
  9448. * doc/rtl.texi: Likewise.
  9449. * doc/tm.texi: Likewise.
  9450. 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
  9451. * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
  9452. (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
  9453. of cc1obj.
  9454. 2003-07-30 Chris Demetriou <cgd@broadcom.com>
  9455. * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
  9456. macros before defining them.
  9457. 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com>
  9458. * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
  9459. UNSPECV_BLOCKAGE): New constants.
  9460. ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
  9461. "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
  9462. splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
  9463. "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
  9464. (all insns and expanders): Write output control string as brace block
  9465. where appropriate. Remove \-escapes for doublequote characters.
  9466. 2003-07-31 Jan Hubicka <jh@suse.cz>
  9467. * gcse.c (insert_store): Fix typo in previous patch.
  9468. 2003-07-30 Neil Booth <neil@daikokuya.co.uk>
  9469. * cppfiles.c (stack_file, open_file_failed): Use path for deps.
  9470. 2003-07-30 Andi Kleen <ak@muc.de>
  9471. * loop.c (check_dbra_loop): Allow LTU in the loop condition.
  9472. 2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  9473. * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
  9474. * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
  9475. GCOV_N_VALUE_COUNTERS): New.
  9476. * profile.c (compute_value_histograms): New static function.
  9477. (branch_prob): Read back the value histograms.
  9478. * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
  9479. * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
  9480. * value-prof.c: Add comment on reading the profile.
  9481. * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
  9482. * doc/invoke.texi (-fprofile-values): Document behavior with
  9483. -fbranch-probabilities.
  9484. 2003-07-30 David Edelsohn <edelsohn@gnu.org>
  9485. * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
  9486. 2003-07-30 Ulrich Weigand <uweigand@de.ibm.com>
  9487. * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
  9488. symbolically.
  9489. 2003-07-30 Jan Hubicka <jh@suse.cz>
  9490. * gcse.c (insert_store): Ignore fake edges.
  9491. * c-common.c (flag_vtable_gc): Kill.
  9492. * c-common.g (flag_vtable_gc): Kill.
  9493. * c-opts (c_common_handle_option): Kill.
  9494. * c.opt (fvtable-gc): Kill.
  9495. * final.c (final_scan_insn): Do not call assemble_vtable_entry.
  9496. * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
  9497. * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
  9498. * invoke.texi (-ftable-gc): Kill documentation.
  9499. * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
  9500. just because function body is missing.
  9501. * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
  9502. 2003-07-30 Ranjit Mathew <rmathew@hotmail.com>
  9503. * unwind-sjlj.c: Fix typo in file description.
  9504. 2003-07-30 Alan Modra <amodra@bigpond.net.au>
  9505. * calls.c (load_register_parameters): When shifting reg sized values
  9506. to the msb, move the value to a reg first.
  9507. 2003-07-29 Geoffrey Keating <geoffk@apple.com>
  9508. * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
  9509. * line-map.h (linemap_add): Update comments.
  9510. * line-map.c (linemap_add): Update comments, interpret zero-length
  9511. filename as "<stdin>".
  9512. 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
  9513. * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
  9514. 2003-07-29 Zack Weinberg <zack@codesourcery.com>
  9515. * c-decl.c (last_function_parm_vars, current_function_parm_vars):
  9516. New static variables.
  9517. (struct c_scope): Add parms and warned_forward_parm_decls
  9518. fields; remove parm_order.
  9519. (storedecls, storetags): Delete.
  9520. (poplevel): Also clear bindings on the parms chain.
  9521. (pushdecl): Handle forward declarations of parameters, and
  9522. chain PARM_DECLs on the parms list, not the names list.
  9523. (lookup_name_current_level): Check for PARM_DECLs on the parms
  9524. list too.
  9525. (push_parm_decl): Don't update parm_order.
  9526. (clear_parm_order): Rename mark_forward_parm_decls. Issue the
  9527. warning, only once per parameter list, and set TREE_ASM_WRITTEN
  9528. on the decls here. Then move the forward decls to the names list.
  9529. (grokparms): Set last_function_parm_vars.
  9530. (get_parm_info): Don't use gettags or getdecls. No need to
  9531. extract non-parms from the parms list, or reorganize the parms
  9532. list. Feed nonparms back in the TREE_TYPE of the list node
  9533. returned. Issue only one error per parameter list for "void"
  9534. appearing more than once in said parameter list. Collapse
  9535. parmlist_tags_warning into this function to avoid double scan
  9536. of tags list.
  9537. (start_function): Set current_function_parm_vars.
  9538. (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
  9539. directly. Get non-parms from current_function_parm_vars; no
  9540. need to extract them from the parms chain. Properly bind tags
  9541. in the new scope.
  9542. (store_parm_decls_oldstyle): No need to extract non-parameters
  9543. from the parms chain, nor to store them back afterward. Move
  9544. declaration to top of function, restructure code reordering
  9545. DECL_ARGUMENTS.
  9546. (store_parm_decls): No need to save and restore warn_shadow.
  9547. * c-parse.in: Don't call parmlist_tags_warning nor
  9548. clear_parm_order. Call mark_forward_parm_decls when forward
  9549. parm decls are encountered.
  9550. * c-tree.h: Prototype mark_forward_parm_decls; not
  9551. clear_parm_order or parmlist_tags_warning.
  9552. 2003-07-29 Geoffrey Keating <geoffk@apple.com>
  9553. * c-common.c (allow_pch): Remove.
  9554. * c-common.h (allow_pch): Remove.
  9555. (c_common_no_more_pch): Declare.
  9556. * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
  9557. * c-pch.c: Include hosthooks.h.
  9558. (c_common_valid_pch): Don't check allow_pch.
  9559. (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
  9560. (c_common_no_more_pch): New.
  9561. * ggc-common.c: Include hosthooks.h.
  9562. (gt_pch_save): Call gt_pch_get_address.
  9563. (gt_pch_restore): Call gt_pch_use_address.
  9564. * hooks.c (hook_voidp_size_t_null): New.
  9565. (hook_bool_voidp_size_t_false): New.
  9566. * hooks.h (hook_voidp_size_t_null): New.
  9567. (hook_bool_voidp_size_t_false): New.
  9568. * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
  9569. (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
  9570. (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
  9571. HOST_HOOKS_GT_PCH_USE_ADDRESS.
  9572. * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
  9573. gt_pch_use_address.
  9574. * doc/hostconfig.texi (Host Common): Document
  9575. HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
  9576. * Makefile.in (c-pch.o): Depend on hosthooks.h.
  9577. (ggc-common.o): Likewise.
  9578. * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
  9579. (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
  9580. (pch_address_space): New.
  9581. (darwin_rs6000_gt_pch_get_address): New.
  9582. (darwin_rs6000_gt_pch_use_address): New.
  9583. 2003-07-29 Neil Booth <neil@daikokuya.co.uk>
  9584. PR preprocessor/11569
  9585. PR preprocessor/11649
  9586. * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
  9587. * cppfiles.c: Completely rewritten.
  9588. * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
  9589. struct cpp_path is now struct cpp_dir.
  9590. (remove_duplicates): Don't simplify path names.
  9591. * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
  9592. cpp_stack_file.
  9593. * cpphash.h: Include hashtab.h.
  9594. (_cpp_file): Declare.
  9595. (struct cpp_buffer): struct include_file is now struct _cpp_file,
  9596. and struct cpp_path is now struct cpp_dir. Rename members.
  9597. (struct cpp_reader): Similarly. New members once_only_files,
  9598. file_hash, file_hash_entries, quote_ignores_source_dir,
  9599. no_search_path, saw_pragma_once. Remove all_include_files and
  9600. max_include_len. Make some members bool.
  9601. (_cpp_mark_only_only): Renamed from _cpp_never_reread.
  9602. (_cpp_stack_file): Renamed from _cpp_read_file.
  9603. (_cpp_stack_include): Renamed from _cpp_execute_include.
  9604. (_cpp_init_files): Renamed from _cpp_init_includes.
  9605. (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
  9606. * cppinit.c (cpp_create_reader): Initialize no_search_path. Update.
  9607. (cpp_read_next_file): Rename and move to cppfiles.c.
  9608. (cpp_read_main_file): Update.
  9609. * cpplib.c (run_directive): Update for renamed members.
  9610. (do_include_common, _cpp_pop_buffer): Update.
  9611. (do_import): Undeprecate #import.
  9612. (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only.
  9613. * cpplib.h: Remove file_name_map_list.
  9614. (cpp_options): Remove map_list.
  9615. (cpp_dir): Rename from cpp_path. New datatype for name_map.
  9616. (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
  9617. 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
  9618. * Makefile.in: Make stamp-objdir safe for parallel builds.
  9619. 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
  9620. * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists.
  9621. (info): Depend on stmp-docobjdir.
  9622. 2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  9623. * configure: Regenerate.
  9624. 2003-07-29 Jan Hubicka <jh@suse.cz>
  9625. PR C++/11131
  9626. * tree-inline.c (expand_call_inline): Always call inlinable_function_p
  9627. in !unit-at-a-time mode.
  9628. 2003-07-28 Geoffrey Keating <geoffk@apple.com>
  9629. * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
  9630. main function.
  9631. 2003-07-28 Mark Mitchell <mark@codesourcery.com>
  9632. PR c++/11667
  9633. * c-common.c (shorten_compare): Take into account differences
  9634. between C and C++ representation for enumeration types.
  9635. * tree.h (set_min_and_max_values_for_integral_type): Declare.
  9636. * stor-layout.c (set_min_and_max_values_for_integral_type): New
  9637. function, broken out from ...
  9638. (fixup_signed_type): ... here and ...
  9639. (fixup_unsigned_type): ... here.
  9640. 2003-07-28 Zack Weinberg <zack@codesourcery.com>
  9641. * c-decl.c: Update commentary, adjust blank lines throughout.
  9642. (struct c_scope): Fix indentation. Reorder members so
  9643. outer-context pointers come first, booleans last.
  9644. (duplicate_decls, define_label): Use a 'locus' variable for
  9645. diagnostic locations in a few more places.
  9646. (warn_if_shadowing): Un-split a conditional that fits on one line.
  9647. (c_init_decl_processing): No need to clear current_scope and
  9648. current_function_scope.
  9649. (start_decl): Merge if/else if statements with same action.
  9650. (push_parm_decl): Rename old_immediate_size_expand to use
  9651. save_foo convention; save/restore around entire function.
  9652. (grokdeclarator): Remove unnecessary braces.
  9653. 2003-07-28 Hans-Peter Nilsson <hp@bitrange.com>
  9654. Michael Culbertson <Michael.J.Culbertson@wheaton.edu>
  9655. * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
  9656. when warn_declaration_after_statement. Call pedwarn_c90, not
  9657. pedwarn. Correct message: it's "ISO C90", not "ISO C89".
  9658. * c-common.c (warn_declaration_after_statement): Define.
  9659. * c-common.h (warn_declaration_after_statement): Declare.
  9660. * c.opt (Wdeclaration-after-statement): New.
  9661. * c-errors.c (pedwarn_c90): New function.
  9662. * c-opts.c (c_common_handle_option) <case
  9663. OPT_Wdeclaration_after_statement>: New.
  9664. * c-tree.h (pedwarn_c90): Declare.
  9665. * doc/invoke.texi (Option Summary): Document
  9666. -Wdeclaration-after-statement.
  9667. (Warning Options): Ditto.
  9668. 2003-07-28 Jan Hubicka <jh@suse.cz>
  9669. * i386.md (memory attribute) Avoid accessing uninitialized memory
  9670. for ishift1 type instructions.
  9671. 2003-07-28 Jakub Jelinek <jakub@redhat.com>
  9672. * configure.in (--enable-checking): Add fold category.
  9673. (ENABLE_FOLD_CHECKING): Define if requested.
  9674. * configure: Rebuilt.
  9675. * config.in: Rebuilt.
  9676. * doc/install.texi: Document it.
  9677. * fold-const.c: Include md5.h.
  9678. [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
  9679. [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
  9680. print_fold_checksum): New functions.
  9681. * fold-const.c (fold): Never modify argument passed to fold, instead
  9682. change a copy and return it.
  9683. * convert.c (convert_to_integer): Likewise.
  9684. 2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org>
  9685. * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary
  9686. cleanup of junk after #else and #endif directives. Collapse repeated
  9687. clauses into for statment.
  9688. * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment.
  9689. 2003-07-27 Zack Weinberg <zack@codesourcery.com>
  9690. * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
  9691. (keep_next_if_subblocks): Rename next_is_function_body.
  9692. (pushlevel): Adjust commentary. Always set ->keep on the
  9693. outermost level of a function. Don't set ->keep_if_subblocks.
  9694. (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks.
  9695. (store_parm_decls): Adjust to match.
  9696. (finish_function): Adjust to match.
  9697. Call poplevel with all three arguments zero.
  9698. * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
  9699. New functions split out of store_parm_decls.
  9700. Avoid unnecessary work. Use local variables consistently.
  9701. (store_parm_decls): Likewise.
  9702. (finish_function): No need to set functionbody flag on call to
  9703. poplevel.
  9704. (struct language_function): Remove scope field.
  9705. (c_push_function_context, c_pop_function_context): No need to
  9706. save and restore current_scope.
  9707. 2003-07-27 Nathan Sidwell <nathan@codesourcery.com>
  9708. * doc/extend.texi (Deprecated Features): Implicit typename is
  9709. gone. Default args on types is going.
  9710. 2003-07-26 J"orn Rennecke <joern.rennecke@superh.com>
  9711. * Makefile.in (ifcvt.o): Depend on target.h
  9712. * ifcvt.c (target.h): Include.
  9713. (if_convert): Don't call mark_loop_exit_edges if we can't
  9714. modify jumps.
  9715. 2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  9716. * doc/install.texi (Testing): Adjust required versions of DejaGnu.
  9717. 2003-07-26 Richard Henderson <rth@redhat.com>
  9718. PR inline-asm/11676
  9719. * cse.c (count_reg_usage): Handle asm_operands properly.
  9720. 2003-07-26 Roger Sayle <roger@eyesopen.com>
  9721. * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
  9722. (DEF_EXT_FALLBACK_BUILTIN): Delete.
  9723. (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
  9724. the regular DEF_EXT_LIB_BUILTIN macro.
  9725. (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
  9726. the regular DEF_LIB_BUILTIN macro.
  9727. (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
  9728. BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
  9729. BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
  9730. DEF_EXT_LIB_BUILTIN macro.
  9731. * c-decl.c (duplicate_decls): Remove code to handle builtin
  9732. functions prototyped without an argument list.
  9733. 2003-07-26 Danny Smith <dannysmith@users.sourceforge.net>
  9734. * config/i386/winnt.c: Revert 2003-07-08 change.
  9735. (i386_pe_section_type_flags): Remove error_with_decl here too.
  9736. 2003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
  9737. * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
  9738. * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
  9739. * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
  9740. (v850_handle_data_area_attribute): Likewise.
  9741. 2003-07-26 Geoffrey Keating <geoffk@apple.com>
  9742. * varasm.c (output_constant_def_contents): Use
  9743. ASM_DECLARE_CONSTANT_NAME if defined.
  9744. * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
  9745. * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
  9746. objects get at least one byte to prevent assembler problems.
  9747. (ASM_DECLARE_CONSTANT_NAME): New.
  9748. * Makefile.in (libbackend.o): Remove options_.h.
  9749. (mostlyclean): Likewise.
  9750. * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
  9751. insert a label at the end of an function under Mach-O.
  9752. * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
  9753. 2003-07-25 Aldy Hernandez <aldyh@redhat.com>
  9754. * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
  9755. equality.
  9756. (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
  9757. * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
  9758. 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
  9759. * doc/passes.texi (Passes): Mention pretty-printing and
  9760. diagnostic files.
  9761. 2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
  9762. * doc/extend.texi (Function Attributes): GNU C++ does now allow
  9763. unused parameter decls.
  9764. (Attribute Syntax): GNU C++ does not allow label attributes to be
  9765. after the ':'.
  9766. 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
  9767. * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
  9768. (objc_declare_class): Likewise.
  9769. (error_with_ivar): Likewise.
  9770. (start_class): Likewise.
  9771. (warn_with_method): Likewise.
  9772. 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
  9773. Remove pedwarn_with_decl, warning_with_decl and error_with_decl
  9774. from GCC.
  9775. * calls.c (try_to_integrate): Don't use xxx_with_decl.
  9776. (expand_call): Likewise.
  9777. * dwarfout.c (output_reg_number): Likewise.
  9778. * expr.c (expand_expr): Likewise.
  9779. * function.c (assign_temp): Likewise.
  9780. (uninitialized_vars_warning): Likewise.
  9781. (setjmp_args_warning): Likewise.
  9782. (expand_function_end): Likewise.
  9783. * stmt.c (fixup_gotos): Likewise.
  9784. (warn_about_unused_variables): Likewise.
  9785. (expand_end_bindings): Likewise.
  9786. * stor-layout.c (layout_decl): Likewise.
  9787. (place_field): Likewise.
  9788. * toplev.c (check_global_declarations): Likewise.
  9789. (rest_of_handle_inlining): Likewise.
  9790. (default_tree_printer): New function.
  9791. (general_init): Initialize diagnostic machinery before routing
  9792. signals to the ICE machinery. Set default tree printer.
  9793. * toplev.h (pedwarn_with_decl): Remove declaration.
  9794. (warning_with_decl): Likewise.
  9795. (error_with_decl): Likewise.
  9796. (pedwarn): Remove attribute for the time being.
  9797. * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
  9798. * varasm.c (named_section): Likewise.
  9799. (make_decl_rtl): Likewise.
  9800. (assemble_variable): Likewise.
  9801. (merge_weak): Likewise.
  9802. (declare_weak): Likewise.
  9803. * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
  9804. * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
  9805. (format_with_decl): Remove.
  9806. (diagnostic_for_decl): Likewise.
  9807. (pedwarn_with_decl): Likewise.
  9808. (warning_with_decl): Likewise.
  9809. (error_with_decl): Likewise.
  9810. (diagnostic_initialize): Adjust.
  9811. (diagnostic_count_diagnostic): Likewise.
  9812. (announce_function): Likewise.
  9813. (lhd_print_error_function): Likewise.
  9814. (diagnostic_report_current_module): Likewise.
  9815. (default_diagnostic_starter): Likewise.
  9816. (diagnostic_report_diagnostic): Likewise.
  9817. (default_diagnostic_finalizer): Likewise.
  9818. (verbatim): Likewise.
  9819. (error): Likewise.
  9820. (warning): Likewise.
  9821. * opts.c (common_handle_option): Likewise.
  9822. * pretty-print.c: New file.
  9823. * c-pretty-print.h (pp_base): Override.
  9824. * c-pretty-print.c: Adjust use of macros throughout.
  9825. (pp_buffer): New macro.
  9826. (pp_newline): Likewise.
  9827. * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
  9828. * Makefile.in (DIAGNOSTIC_H): New variable.
  9829. (c-errors.o): Use it.
  9830. (c-objc-common.o): Likewise.
  9831. (c-common.o): Likewise.
  9832. (c-opts.o): Likewise.
  9833. (c-format.o): Likewise.
  9834. (diagnostic.o): Likewise.
  9835. (opts.o): Likewise.
  9836. (toplev.o): Likewise.
  9837. (rtl-error.o): Likewise.
  9838. (dwarf2out.o): Likewise.
  9839. (jump.o): Likewise.
  9840. (pretty-print.o): New rule.
  9841. 2003-07-24 Roger Sayle <roger@eyesopen.com>
  9842. * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
  9843. front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
  9844. (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
  9845. from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
  9846. (DEF_FRONT_END_LIB_BUILTIN): Delete.
  9847. (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
  9848. (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
  9849. * builtins.c (build_string_literal): New function to construct
  9850. a char* pointer to a string literal.
  9851. (expand_builtin_fputs): Change 2nd argument from "int ignore" to
  9852. "rtx target" to be consistent with other expand_builtin_* functions.
  9853. Change 3rd argument from "int unlocked" to "bool unlocked".
  9854. (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
  9855. c-common.c to avoid front-end dependencies. Optimize printf("")
  9856. as a no-op when the result isn't required. Handle embedded NULs
  9857. in format string.
  9858. (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
  9859. from c-common.c to avoid front-end dependencies. Likewise, optimize
  9860. fprintf(fp,"") as a no-op when the result isn't required, evaluating
  9861. fp for side-effects. Handle embedded NULs in format string.
  9862. (expand_builtin_sprintf): Fix typo.
  9863. (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
  9864. optimizing. Adjust calls of expand_builtin_fputs to match the API
  9865. change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
  9866. expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
  9867. and BUILT_IN_FPRINTF using expand_builtin_fprintf.
  9868. * c-common.c (is_valid_printf_arglist): Delete.
  9869. (c_expand_builtin): Delete.
  9870. (c_expand_builtin_printf): Moved to builtins.c. Delete.
  9871. (c_expand_builtin_fprintf): Moved to builtins.c. Delete.
  9872. (c_expand_expr): No longer treat CALL_EXPRs specially.
  9873. (CALLED_AS_BUILT_IN): Delete.
  9874. 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  9875. PR optimization/11631
  9876. * gcse.c (store_motion): Connect infinite loops to exit.
  9877. 2003-07-24 Jason Merrill <jason@redhat.com>
  9878. * tree.h (boolean_type_node): Move from C/C++/Java frontends.
  9879. (boolean_true_node, boolean_false_node): Likewise.
  9880. (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
  9881. * tree.c (build_common_tree_nodes): Init boolean_type_node.
  9882. (build_common_tree_nodes_2): Init boolean_{true,false}_node.
  9883. * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
  9884. * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
  9885. (truthvalue_true_node): Renamed from boolean_true_node.
  9886. (truthvalue_false_node): Renamed from boolean_false_node.
  9887. * c-decl.c: Just set truthvalue_* to integer_*.
  9888. * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/.
  9889. 2003-07-24 Roger Sayle <roger@eyesopen.com>
  9890. * c-decl.c (match_builtin_function_types): New subroutine of
  9891. duplicate_decls to test whether a redeclaration of a builtin
  9892. function is suitably close, i.e. the return type and all of
  9893. the argument types have the same modes as the builtin expects.
  9894. (duplicate_decls): Fuzzy type matching for builtin functions
  9895. moved to match_builtin_function_types.
  9896. 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  9897. * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
  9898. flag correctly.
  9899. 2003-07-24 Zack Weinberg <zack@codesourcery.com>
  9900. * c-decl.c: Search-and-replace change 'binding level' to
  9901. 'scope' in commentary.
  9902. (struct binding_level): Now struct c_scope.
  9903. (current_binding_level): Now current_scope.
  9904. (free_binding_level): Now scope_freelist.
  9905. (current_function_level): Now current_function_scope.
  9906. (global_binding_level): Now global_scope.
  9907. (make_binding_level): Now make_scope.
  9908. (pop_binding_level): Now pop_scope.
  9909. 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  9910. * configure.in (libgcc_visibility): Add missing whitespace.
  9911. 2003-07-24 Richard Henderson <rth@redhat.com>
  9912. * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
  9913. __gcc_personality_v0.
  9914. 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  9915. * Makefile.in: Replace pwd by ${PWD_COMMAND}.
  9916. 2003-07-24 Nathan Sidwell <nathan@codesourcery.com>
  9917. * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
  9918. documentation missed from my 2003-07-09 patch.
  9919. 2003-07-24 Nathanael Nerode <neroden@gcc.gnu.org>
  9920. * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
  9921. it's not provided.
  9922. * configure: Rebuild.
  9923. 2003-07-24 Steven Bosscher <steven@gcc.gnu.org>
  9924. PR c/10602
  9925. * c-typeck.c (type_lists_compatible_p): Do not compare
  9926. arguments if one of them is an error_mark_node
  9927. 2003-07-24 Alan Modra <amodra@bigpond.net.au>
  9928. * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
  9929. if current_function_calls_eh_return.
  9930. 2003-07-23 Mark Mitchell <mark@codesourcery.com>
  9931. * doc/c-tree.texi (OFFSET_TYPE): Update description.
  9932. 2003-07-23 Bob Wilson <bob.wilson@acm.org>
  9933. * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
  9934. * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
  9935. __umodsi3, __modsi3): Increase frame size to 32.
  9936. 2003-07-23 Geoffrey Keating <geoffk@apple.com>
  9937. * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
  9938. prototype.
  9939. 2003-07-23 Mark Mitchell <mark@codesourcery.com>
  9940. * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
  9941. PR optimization/10679
  9942. * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
  9943. 2003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  9944. PR target/11607 and PR target/11516
  9945. * pa.md (extzv, extv, insv): Revert latter half of last patch.
  9946. 2003-07-22 Mark Mitchell <mark@codesourcery.com>
  9947. * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
  9948. * varasam.c (output_constant): Likewise.
  9949. 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
  9950. * alias.c: Fix comment formatting.
  9951. * c-common.c: Likewise.
  9952. * c-decl.c: Likewise.
  9953. * c-opts.c: Likewise.
  9954. * combine.c: Likewise.
  9955. * cpplib.c: Likewise.
  9956. * diagnostic.c: Likewise.
  9957. * dojump.c: Likewise.
  9958. * final.c: Likewise.
  9959. * fold-const.c: Likewise.
  9960. * gcc.c: Likewise.
  9961. * gcse.c: Likewise.
  9962. * ggc-page.c: Likewise.
  9963. * jump.c: Likewise.
  9964. * loop.c: Likewise.
  9965. * mips-tfile.c: Likewise.
  9966. * recog.c: Likewise.
  9967. * regclass.c: Likewise.
  9968. * regmove.c: Likewise.
  9969. * tree.c: Likewise.
  9970. * tree.h: Likewise.
  9971. 2003-07-22 Per Bothner <pbothner@apple.com>
  9972. * line-map.c (add_line_map): Handle invalid LEAVE request.
  9973. Fixes PR preprocessor/11361.
  9974. 2003-07-22 Per Bothner <pbothner@apple.com>
  9975. * diagnostic.c.(diagnostic_report_current_module): Update to match
  9976. 2003-06-05 changes to push_srcloc and pop_srcloc.
  9977. 2003-07-22 Wolfgang Bangerth <bangerth@dealii.org>
  9978. * doc/trouble.texi: Better document two-stage name lookup.
  9979. 2003-07-22 Eric Christopher <echristo@redhat.com>
  9980. * config/s390.c (s390_valid_pointer_mode): New.
  9981. (TARGET_VALID_POINTER_MODE): Use.
  9982. (s390_emit_prologue): Add tpf profiling hooks.
  9983. (s390_emit_epilogue): Ditto.
  9984. * config/s390.h (MASK_TPF): New.
  9985. (TARGET_TPF): Use.
  9986. (POINTERS_EXTEND_UNSIGNED): Define.
  9987. * config/s390.md (ptr_extend): New pattern.
  9988. 2003-07-22 Zack Weinberg <zack@codesourcery.com>
  9989. * hashtable.c (approx_sqrt): Make static.
  9990. * hashtable.h: Don't prototype approx_sqrt.
  9991. * line-map.c (init_line_maps): Rename linemap_init.
  9992. (free_line_maps): Rename linemap_free.
  9993. (add_line_map): Rename linemap_add.
  9994. (lookup_line): Rename linemap_lookup.
  9995. (print_containing_files): Rename linemap_print_containing_files.
  9996. * linemap.h: Update to match.
  9997. * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
  9998. linemap routines to use new names.
  9999. 2003-07-16 Nathan Sidwell <nathan@codesourcery.com>
  10000. * c-common.c (handle_packed_attribute): Don't pack a struct via a
  10001. typedef. Propagate packedness from a main variant.
  10002. 2003-07-22 Nathanael Nerode <neroden@gcc.gnu.org>
  10003. * Makefile.in (install-common): Add dependency on installdirs.
  10004. 2003-07-21 Alexandre Oliva <aoliva@redhat.com>
  10005. * c-common.c (c_common_type_for_mode): Return integer types for
  10006. pointer modes.
  10007. 2003-07-22 Geoffrey Keating <geoffk@apple.com>
  10008. * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
  10009. (finish_decl): Call maybe_apply_pragma_weak here.
  10010. (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
  10011. TREE_PUBLIC and TREE_STATIC are decided.
  10012. (start_function): Move call to maybe_apply_pragma_weak. Check that
  10013. DECL_ASSEMBLER_NAME isn't set too early.
  10014. * cpplex.c (_cpp_process_line_notes): Mention option name in
  10015. trigraphs warning.
  10016. 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
  10017. * combine.c (if_then_else_cond): Simplify the comparison of
  10018. rtx against -1, 0, and 1.
  10019. * loop.c (check_dbra_loop): Likewise.
  10020. * optabs.c (emit_conditional_move): Likewise.
  10021. (emit_conditional_add): Likewise.
  10022. * config/i386/i386.md (*movsi_or): Likewise.
  10023. (*movdi_or_rex6): Likewise.
  10024. 2003-07-22 Jan Hubicka <jh@suse.cz>
  10025. * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
  10026. 2003-07-21 Neil Booth <neil@daikokuya.co.uk>
  10027. * cppfiles.c (open_file_pch): Don't put unused entries in the
  10028. splay tree. Remove dead code.
  10029. 2003-07-21 Geoffrey Keating <geoffk@apple.com>
  10030. * c-common.h (num_in_fnames): Declare.
  10031. (c_static_assembler_name): Move from here...
  10032. * c-tree.h (c_static_assembler_name): ... to here.
  10033. * c-opts.c: Don't include langhooks-def.h.
  10034. (c_static_assembler_name): Move to c-decl.c.
  10035. (num_in_fnames): Make externally visible.
  10036. * c-decl.c: Include langhooks-def.h.
  10037. (c_static_assembler_name): Move from c-opts.c.
  10038. * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
  10039. (c-opts.o): Remove $(LANGHOOKS_DEF_H).
  10040. * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
  10041. when it's not needed.
  10042. 2003-07-21 Jakub Jelinek <jakub@redhat.com>
  10043. * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
  10044. * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
  10045. (rs6000_emit_prologue): Save FPRs inline if set.
  10046. 2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
  10047. * config/ia64/ia64.md (prefetch): Support predicate.
  10048. 2003-07-21 Josef Zlomek <zlomekj@suse.cz>
  10049. * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
  10050. * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
  10051. table.
  10052. 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  10053. PR optimization/11536
  10054. * unroll.c (loop_iterations): Do not replace a register holding
  10055. the final value by its equivalent before the loop if it is not
  10056. invariant.
  10057. 2003-07-21 Dave Fluri <dave.fluri@onlink.net>
  10058. * doc/extend.texi: Fixes to spelling, grammar, and diction.
  10059. 2003-07-21 Ben Elliston <bje@wasabisystems.com>
  10060. * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
  10061. (V850 Options): Spelling fixes.
  10062. 2003-07-20 Lisa M. Goldstein <opus@gnu.org>
  10063. * doc/invoke.texi: Fixes to style, grammar and diction.
  10064. 2003-07-20 Roger Sayle <roger@eyesopen.com>
  10065. * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
  10066. * system.h (SMALL_STACK): Poison obsolete target macro.
  10067. * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
  10068. 2003-07-20 Phil Edwards <pme@gcc.gnu.org>
  10069. * configure.in: Cache the results of testing for cmp's capabilities.
  10070. * configure: Regenerate.
  10071. 2003-07-20 Mark Mitchell <mark@codesourcery.com>
  10072. PR debug/11279
  10073. * dwarf2out.c (gen_enumeration_type_die): Remember that
  10074. enumerators can be unsigned.
  10075. 2003-07-19 Zack Weinberg <zack@codesourcery.com>
  10076. * c-decl.c (named_labels, shadowed_labels, label_level_chain)
  10077. (push_label_level, pop_label_level): Kill.
  10078. (struct binding_level): Rename level_chain to outer.
  10079. Add outer_function field. Change parm_flag, function_body,
  10080. keep, keep_if_subblocks to 1-bit bitfields of type bool.
  10081. (current_function_level): New variable.
  10082. (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
  10083. (keep_next_level, declare_parm_level, warn_if_shadowing):
  10084. Update to match.
  10085. (struct language_function): Kill named_labels, shadowed_labels fields.
  10086. (c_init_decl_processing, start_function, c_push__function_context)
  10087. (c_pop_function_context): No need to muck with named_labels nor
  10088. shadowed_labels.
  10089. (make_binding_level): No need to clear the structure here.
  10090. (pop_binding_level): Always operate on current_binding_level.
  10091. Update current_function_level if necessary.
  10092. (pushlevel): Don't clear named_labels. Update current_function_level
  10093. if necessary. Use "true" and "false" where appropriate.
  10094. (poplevel): Diagnose labels defined but not used, or vice
  10095. versa, and clear out label-meanings leaving scope, while
  10096. walking down the decls list, for all binding levels.
  10097. Handle LABEL_DECLs appearing in the shadowed list.
  10098. pop_binding_level takes no arguments.
  10099. (pushdecl_function_level): Use current_function_level.
  10100. (make_label, bind_label): New static functions.
  10101. (declare_label): New exported function.
  10102. (lookup_label, define_label): Rewritten for new data structure.
  10103. (shadow_label): Kill.
  10104. * c-tree.h: Prototype declare_label; don't prototype
  10105. push_label_level, pop_label_level, nor shadow_label.
  10106. * c-parse.in: Remove all calls to push_label_level and
  10107. pop_label_level. Use declare_label for __label__ decls.
  10108. * doc/extend.texi: Clarify that __label__ can be used to
  10109. declare labels with local scope in any nested block, not
  10110. just statement expressions. Cross-reference nested functions
  10111. section from local labels section.
  10112. 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  10113. * sched-rgn.c (find_rgns): Initialize current_edge correctly.
  10114. 2003-07-19 Phil Edwards <pme@gcc.gnu.org>
  10115. * doc/makefile.texi (restrap, profiledbootstrap): Document targets.
  10116. 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  10117. * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
  10118. fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
  10119. 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com>
  10120. * config/s390/s390.c (legitimize_pic_address): Access local symbols
  10121. relative to the GOT instead of relative to the literal pool base.
  10122. (s390_output_symbolic_const): Handle new GOT-relative accesses.
  10123. * config/s390/s390.md ("call"): Access local functions and PLT stubs
  10124. relative to the GOT instead of relative to the literal pool base.
  10125. ("call_value"): Likewise.
  10126. ("call_value_tls"): Likewise.
  10127. * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
  10128. reloading. Support LTREL_BASE / LTREL_OFFSET construct.
  10129. (s390_chunkify_finish): Likewise.
  10130. (s390_chunkify_cancel): Likewise.
  10131. (s390_reorg): Adapt caller.
  10132. (find_base_register_in_addr,
  10133. find_base_register_ref, replace_base_register_ref): Delete.
  10134. (find_ltrel_base, replace_ltrel_base): New functions.
  10135. (find_constant_pool_ref): Handle LTREL_BASE unspecs.
  10136. (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize
  10137. base vs. index register usage.
  10138. (struct constant_pool): Remove 'anchor'.
  10139. (s390_add_anchor): Delete.
  10140. (s390_dump_pool): Remove anchor handling.
  10141. * config/s390/s390.md ("reload_anchor"): Remove.
  10142. * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
  10143. (s390_load_got): New function. Use LTREL_BASE/OFFSET.
  10144. (s390_emit_prologue): Use it.
  10145. * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
  10146. "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not
  10147. hard-code register 14.
  10148. * config/s390/s390-protos.h (s390_load_got): Declare.
  10149. * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
  10150. Support TImode constants.
  10151. * config/s390/s390.md ("consttable_ti"): New.
  10152. ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
  10153. * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
  10154. UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
  10155. UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
  10156. UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
  10157. UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
  10158. New symbolic constants.
  10159. ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
  10160. "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
  10161. "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
  10162. "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use
  10163. symbolic UNSPEC values.
  10164. * config/s390/s390.c (larl_operand, s390_short_displacement,
  10165. bras_sym_operand, s390_cannot_force_const_mem,
  10166. s390_delegitimize_address, s390_decompose_address,
  10167. legitimize_pic_address, s390_output_symbolic_const,
  10168. s390_function_profiler): Use symbolic UNSPEC values.
  10169. 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  10170. * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
  10171. c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
  10172. c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
  10173. collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
  10174. cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
  10175. cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
  10176. dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
  10177. fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
  10178. gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
  10179. genemit.c genextract.c genoutput.c genrecog.c gensupport.c
  10180. ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
  10181. integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
  10182. loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
  10183. postreload.c prefix.c print-tree.c protoize.c ra-build.c
  10184. ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
  10185. regmove.c regrename.c reload.c reload1.c reorg.c resource.c
  10186. sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
  10187. simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
  10188. tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
  10189. varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
  10190. casts.
  10191. 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
  10192. * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
  10193. * toplev.h (warning): Remove attribute.
  10194. 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
  10195. * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
  10196. (pop_label_level): Likewise.
  10197. (duplicate_decls): Likewise.
  10198. (implicitly_declare): Likewise.
  10199. (shadow_label): Likewise.
  10200. (start_decl): Likewise.
  10201. (finish_decl): Likewise.
  10202. (grokdeclarator): Likewise.
  10203. (get_parm_info): Likewise.
  10204. (detect_field_duplicates): Likewise.
  10205. (finish_struct): Likewise.
  10206. (start_function): Likewise.
  10207. (store_parm_decls): Likewise.
  10208. (finish_function): Likewise.
  10209. (c_expand_body_1): Likewise.
  10210. (check_for_loop_decls): Likewise.
  10211. (merge_translation_unit_decls): Likewise.
  10212. 2003-07-19 Neil Booth <neil@daikokuya.co.uk>
  10213. * common.opt: Document --param.
  10214. * opts.c (columns, undocumented_msg): New.
  10215. (print_help): Get number of columns from environment. Print
  10216. --param help. Tweak newline handling.
  10217. (print_param_help): New.
  10218. (print_filtered_help): Better handling of duplicates. Complain
  10219. about undocumented switches.
  10220. (print_switch): New.
  10221. (wrap_help): Improve wrapping, use COLUMNS.
  10222. * opts.sh: Ignore comments in records.
  10223. * params.def: Fix typos and remove trailing periods.
  10224. * toplev.c (display_help): Don't dump --param help.
  10225. * doc/sourcebuild.texi: Update.
  10226. 2003-07-18 Richard Henderson <rth@redhat.com>
  10227. PR target/11556
  10228. * optabs.c (prepare_operand): Fail gracefully instead of abort
  10229. if the predicate doesn't satisfy.
  10230. (gen_cond_trap): Allow prepare_operand to fail.
  10231. 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
  10232. * c-common.c: Don't undefine GCC_DIAG_STYLE.
  10233. (fname_decl): Don't use xxx_with_decl.
  10234. (c_add_case_label): Likewise.
  10235. (handle_section_attribute): Likewise.
  10236. (handle_alias_attribute): Likewise.
  10237. (handle_no_instrument_function_attribute): Likewise.
  10238. (handle_no_limit_stack_attribute): Likewise.
  10239. * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
  10240. * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
  10241. 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  10242. * Makefile.in (ifcvt.o): Add cfgloop.h.
  10243. * basic-block.h (EDGE_LOOP_EXIT): New flag.
  10244. * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
  10245. * ifcvt.c: Include cfgloop.h.
  10246. (mark_loop_exit_edges): New static function.
  10247. (if_convert): Call it.
  10248. (find_if_header): Ignore branches out of loops.
  10249. 2003-07-18 Kazu Hirata <kazu@cs.umass.edu>
  10250. * combine.c (simplify_comparison): Don't share rtx when converting
  10251. (ne (and (not X) 1) 0) to (eq (and X 1) 0).
  10252. 2003-07-18 David Edelsohn <edelsohn@gnu.org>
  10253. * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
  10254. (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
  10255. (MUST_PASS_IN_STACK): Define.
  10256. (BLOCK_REG_PADDING): Define.
  10257. 2003-07-18 Richard Henderson <rth@redhat.com>
  10258. * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
  10259. to skip the addr_vec.
  10260. 2003-07-18 Alexandre Oliva <aoliva@redhat.com>
  10261. * combine.c (combinable_i3pat): Don't forbid occurrences of
  10262. i2dest or i1dest in inner_dest if inner_dest is a mem.
  10263. 2003-07-18 Jan Hubicka <jh@suse.cz>
  10264. * cgraph.c (cgraph_remove_node): Clear the hash table slot.
  10265. 2003-07-17 Jakub Jelinek <jakub@redhat.com>
  10266. PR target/11087
  10267. * loop.c (basic_induction_var): Check if convert_modes emitted any
  10268. instructions. Remove them and return 0 if so.
  10269. 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr>
  10270. PR optimization/11083
  10271. * toplev.c (rest_of_handle_addresof): Rename into
  10272. rest_of_handle_addressof. Delete unreachable blocks
  10273. if dead edges were purged after the addressof pass.
  10274. 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
  10275. * Makefile.in, configure, configure.in: Remove handling of
  10276. lang-options.h and options_.h.
  10277. * toplev.c (struct lang_opt, documented_lang_options): Remove.
  10278. (display_help): Don't use documented_lang_options.
  10279. 2003-07-17 Zack Weinberg <zack@codesourcery.com>
  10280. * c-decl.c (pushdecl_function_level): Make static, return nothing.
  10281. (kept_level_p): Fold into poplevel.
  10282. (undeclared_variable): Moved here from c-typeck.c. Export.
  10283. * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
  10284. (undeclared_variable): Prototype here. Don't prototype
  10285. kept_level_p nor pushdecl_function_level.
  10286. * c-parse.in: Change first argument to poplevel from
  10287. "kept_level_p()" to "KEEP_MAYBE".
  10288. * c-typeck.c (undeclared_variable): Moved to c-decl.c.
  10289. 2003-07-17 Roger Sayle <roger@eyesopen.com>
  10290. * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
  10291. commutative operands instead of modifying the RTL in-place.
  10292. 2003-07-17 Mark Mitchell <mark@codesourcery.com>
  10293. PR optimization/11557
  10294. * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
  10295. unless we know which function is being called.
  10296. 2003-07-17 Roger Sayle <roger@eyesopen.com>
  10297. * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
  10298. whether to reorder the operands of a commutative binary operator.
  10299. 2003-07-17 Roger Sayle <roger@eyesopen.com>
  10300. * fold-const.c (const_binop): Avoid performing the FP operation at
  10301. compile-time, if either operand is NaN and we honor signaling NaNs,
  10302. or if we're dividing by zero and either flag_trapping_math is set
  10303. or the desired mode doesn't support infinities.
  10304. (fold_initializer): New function to fold an expression ignoring any
  10305. potential run-time exceptions or traps.
  10306. * tree.h (fold_initializer): Prototype here.
  10307. * c-typeck.c (build_binary_op): Move to the end of the file so
  10308. that intializer_stack is in scope. If constructing an initializer,
  10309. i.e. when initializer_stack is not NULL, use fold_initializer to
  10310. fold expressions.
  10311. * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
  10312. performing FP operations at compile-time, if they would raise an
  10313. exception at run-time.
  10314. 2003-07-17 Geoffrey Keating <geoffk@apple.com>
  10315. PR 11498
  10316. * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
  10317. (langhooks.o): Add $(GGC_H), gt-langhooks.h.
  10318. (GTFILES): Add langhooks.c.
  10319. (gt-langhooks.h): New.
  10320. * c-common.h (c_static_assembler_name): Prototype.
  10321. * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
  10322. * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
  10323. * c-opts.c: Include langhooks-def.h.
  10324. (c_static_assembler_name): New.
  10325. * langhooks.c: Include ggc.h. Include gt-langhooks.h.
  10326. (var_labelno): New.
  10327. (lhd_set_decl_assembler_name): Give static objects with context
  10328. unique names.
  10329. * varasm.c (var_labelno): Delete.
  10330. (make_decl_rtl): Don't change the assembler name once it's set.
  10331. * c-opts.c (this_input_filename): New.
  10332. (finish_options): Take new parameter, name of file being compiled.
  10333. Update callers. Set this_input_filename.
  10334. (push_command_line_include): Use this_input_filename not
  10335. main_input_filename.
  10336. 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
  10337. * Makefile.in: Depend .pot generation on options.c.
  10338. * po/exgettext: Add an extra_files variable containing additional
  10339. files to scan.
  10340. 2003-07-17 Zack Weinberg <zack@codesourcery.com>
  10341. * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
  10342. c_write_global_declarations.
  10343. * c-decl.c: Fix typos in several comments. Remove all
  10344. #if 0 blocks; reindent as needed. Remove unused argument
  10345. to declare_parm_level; all callers changed.
  10346. * c-parse.in: Update calls to declare_parm_level. Avoid
  10347. issuing a double warning in some circumstances.
  10348. * c-typeck.c: Update calls to declare_parm_level.
  10349. * c-tree.h: Update prototype of declare_parm_level.
  10350. * c-pragma.c (apply_pragma_weak): Don't complain about a
  10351. redundant #pragma weak.
  10352. * objc/objc-act.c (forward_declare_categories,
  10353. build_selector_reference_decl, build_class_reference_decl,
  10354. build_objc_string_decl, synth_forward_declarations,
  10355. build_protocol_reference): Set TREE_PUBLIC on synthetic
  10356. forward decl to 0, consistent with eventual definition.
  10357. Correct comments to match.
  10358. * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
  10359. in regexp that don't form a range expression.
  10360. * fixinc/fixincl.def: Regenerate.
  10361. 2003-07-17 Richard Henderson <rth@redhat.com>
  10362. PR target/10907
  10363. * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
  10364. even with !TARGET_CONST_GP.
  10365. (ia64_function_ok_for_sibcall): Reject non-local functions.
  10366. 2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
  10367. * c-common.c (c_estimate_num_insns_1): Don't handle
  10368. METHOD_CALL_EXPR.
  10369. * expr.c (safe_from_p): Likewise.
  10370. * gengtype.c (adjust_field_tree_exp): Likewise.
  10371. * stmt.c (warn_if_unused_value): Likewise
  10372. * tree.c (first_rtl_op): Likewise.
  10373. * tree.def: Don't define METHOD_CALL_EXPR.
  10374. * java/lang.c (java_estimate_num_insns_1): Don't handle
  10375. METHOD_CALL_EXPR.
  10376. 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  10377. PR other/11466
  10378. * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
  10379. and its restrictions for the SPARC64 port.
  10380. Move the entry of "-mimpure-text" before that of "-mv8".
  10381. 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  10382. Phil Edwards <phil@jaj.com>
  10383. * doc/install.texi (*-*-solaris2*): Document the step-by-step
  10384. procedure to bootstrap and install.
  10385. Document the preference for the legacy Sun tools in /usr/bin
  10386. over the POSIX tools in /usr/xpg4/bin for the build process.
  10387. 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
  10388. * c.opt: Document Uncodumented; use it. Document ObjC options.
  10389. * opts.c (print_filtered_help): Skip undocumented switches.
  10390. * opts.h (CL_UNDOCUMENTED): New.
  10391. * opts.sh: Handle Undocumented.
  10392. * toplev.c (documented_lang_options): Prevent its becoming empty.
  10393. objc:
  10394. * lang-options.h: Remove.
  10395. 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com>
  10396. * loop.c (check_ext_dependent_givs): Pass const struct loop *
  10397. instead of struct loop_info * as argument. Accept BIVs with
  10398. increment +/- 1 provided there is a friendly exit test against
  10399. a loop-invariant value.
  10400. (strength_reduce): Adapt call to check_ext_dependent_givs.
  10401. 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
  10402. Con Bradley <con.bradley@superh.com>
  10403. * sh-protos.h (sh_get_pr_initial_val): Declare.
  10404. * sh.c (regno_reg_class): Make its elements type enum reg_class.
  10405. (output_stack_adjust): Remove emit_fn argument. Add epilogue_p
  10406. and live_regs_mask arguments. Changed all callers.
  10407. (save_schedule_s): New structure.
  10408. (save_schedule): New typedef.
  10409. (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
  10410. (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
  10411. In interrupts handlers, also save registers that are usually
  10412. partially saved, and make sure there is at least one general purpose
  10413. register saved if a target register needs saving.
  10414. Add casts in comparisons to avoid warnings.
  10415. (sh_media_register_for_return): return -1 for interrupt handlers.
  10416. (MAX_SAVED_REGS, MAX_TEMPS): New defines.
  10417. (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp
  10418. registers used are available.
  10419. Set RTX_FRAME_RELATED_P where appropriate.
  10420. Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
  10421. (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
  10422. (initial_elimination_offset): Likewise.
  10423. * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
  10424. (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
  10425. (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
  10426. (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
  10427. (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
  10428. and for target registers.
  10429. (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
  10430. (regno_reg_class): Make its elements type enum reg_class.
  10431. (CONSTRAINT_LEN): Don't use isdigit.
  10432. (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
  10433. (FUNCTION_ARG): Add parentheses to avoid warnings.
  10434. (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
  10435. (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
  10436. (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
  10437. (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
  10438. * sh.md (xordi3+1): Remove unused variable regno.
  10439. (return_media): Check that tr0 is available before using it.
  10440. 2003-07-16 Neil Booth <neil@daikokuya.co.uk>
  10441. * c.opt: Document more options.
  10442. 2003-07-16 Roger Sayle <roger@eyesopen.com>
  10443. * combine.c (subst): Also handle (subreg (const_double ...)) case
  10444. if created by a substitution, by using the original inner mode.
  10445. 2003-07-16 Roger Sayle <roger@eyesopen.com>
  10446. * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
  10447. to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
  10448. (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
  10449. 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
  10450. * doc/install.texi (--without-headers): New.
  10451. Partial Fix PR/10129
  10452. * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
  10453. (machopic_output_function_base_name): New; print the true pic label.
  10454. (machopic_classify_ident): Pic Base is always a defined data.
  10455. * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
  10456. * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
  10457. * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
  10458. if they are not floating point registers.
  10459. PR c/10962
  10460. * ggc.h: Add header guards.
  10461. * c-decl.c (finish_struct): Sort fields if
  10462. number greater than 15 and there are no
  10463. anonymous structs/unions.
  10464. * c-common.h: Include ggc.h.
  10465. (sorted_fields_type): New struct.
  10466. (field_decl_cmp): New prototype.
  10467. (resort_sorted_fields): New prototype.
  10468. (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
  10469. * c-tree.h: (lang_type): Use pointer to sorted_fields_type
  10470. as s, removing other fields.
  10471. * c-typeck.c (lookup_field): Use s in lang_type.
  10472. These were mostly moved from cp/class.c:
  10473. * c-common.c (field_decl_cmp): New static function.
  10474. (field_decl_cmp): New function.
  10475. (resort_sorted_fields): New function.
  10476. 2003-07-16 Geoffrey Keating <geoffk@apple.com>
  10477. * config/darwin.c (machopic_select_section): Use decl_readonly_section
  10478. to do most of the work.
  10479. 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
  10480. * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
  10481. * config/mmix/mmix.c: Convert functions to ISO C90.
  10482. (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
  10483. formatting.
  10484. (mmix_get_hard_reg_initial_val): Tweak section head comment.
  10485. 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
  10486. * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
  10487. 2003-07-16 Jakub Jelinek <jakub@redhat.com>
  10488. * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
  10489. (uw_update_context_1): Use it.
  10490. * config/rs6000/rs6000.c (insn_after_throw): Remove.
  10491. (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
  10492. in parent frame if _Unwind_* called directly instead of through
  10493. .plt.
  10494. (rs6000_emit_eh_toc_restore): Remove.
  10495. (rs6000_emit_prologue): Update stack pointer before doing any saving
  10496. if current_function_calls_eh_return. Generate unwind info for $r2.
  10497. (rs6000_emit_epilogue): Restore stack pointer after doing all
  10498. restoring if current_function_calls_eh_return. Restore $r2.
  10499. * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
  10500. * config/rs6000/rs6000.md (eh_return): Remove call to
  10501. rs6000_emit_eh_toc_restore.
  10502. * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
  10503. * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
  10504. 2003-07-15 Jakub Jelinek <jakub@redhat.com>
  10505. * expr.c (emit_block_move): Don't move anything if size is const 0.
  10506. (clear_storage): Test against const0_rtx instead of comparing INTVAL
  10507. against 0.
  10508. 2003-07-15 David S. Miller <davem@redhat.com>
  10509. * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
  10510. emit nop if the last real insn is CALL_INSN.
  10511. 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
  10512. * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
  10513. as "nul".
  10514. * config/i386/xm-mingw32.h: Change GNU CC to GCC.
  10515. 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
  10516. * config/i386/winnt.c (associated_type): Artificial methods are not
  10517. affected by the import/export status of their class unless they are
  10518. COMDAT.
  10519. (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
  10520. * config/i386/winnt.c: Fix GCC copyright comment.
  10521. 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
  10522. PR c++/11531
  10523. * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
  10524. not recursing on hard error.
  10525. (diagnostic_for_decl): Likewise.
  10526. * diagnostic.def: Rearrange.
  10527. 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
  10528. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
  10529. If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
  10530. 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
  10531. Richard Henderson <rth@redhat.com>
  10532. * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
  10533. to decide if to access a _Unwind_Ptr or a _Unwind_Word.
  10534. (_Unwind_SetGR): Likewise.
  10535. (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
  10536. (Unwind_SpTmp): New typedef.
  10537. (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
  10538. (uw_update_context): Use _Unwind_GetPtr.
  10539. (init_dwarf_reg_size_table): Move above uw_init_context_1.
  10540. (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
  10541. Use _Unwind_SetSpColumn.
  10542. (uw_install_context_1): Don't initialize dwarf_reg_size_table.
  10543. Use _Unwind_GetPtr.
  10544. 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
  10545. * c.opt: Document more options.
  10546. * toplev.c (documented_lang_options): Remove all local help strings.
  10547. 2003-07-15 Mark Mitchell <mark@codesourcery.com>
  10548. PR debug/11473
  10549. * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
  10550. base classes.
  10551. 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
  10552. PR target/10795
  10553. * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
  10554. swap comparison operands if doing so would generate an
  10555. unrecognizable insn.
  10556. 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
  10557. PR optimization/11320
  10558. * sched-int.h (struct deps) [reg_conditional_sets]: New field.
  10559. (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
  10560. * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
  10561. current_sched_info->compute_jump_reg_dependencies. Record which
  10562. registers are used and which registers are set by the jump.
  10563. Clear deps->reg_conditional_sets after a barrier.
  10564. Set deps->reg_conditional_sets if the insn is a COND_EXEC.
  10565. Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
  10566. (init_deps): Initialize reg_conditional_sets.
  10567. (free_deps): Clear reg_conditional_sets.
  10568. * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
  10569. Mark registers live on entry of the fallthrough block and conditionally
  10570. set as set by the jump. Mark registers live on entry of non-fallthrough
  10571. blocks as used by the jump.
  10572. * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
  10573. Mark new parameters as unused.
  10574. 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
  10575. * doc/invoke.texi: Resync MIPS -march documentation.
  10576. 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
  10577. * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
  10578. (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
  10579. (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
  10580. * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
  10581. (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
  10582. (mips_issue_rate): Handle PROCESSOR_R9000.
  10583. (mips_use_dfa_pipeline_interface): Likewise.
  10584. * config/mips/9000.md: New file.
  10585. * config/mips/mips.md: Include it.
  10586. (define_attr cpu): Add r9000.
  10587. (mulsi3_mult3): Use "mul" for rm9000 code.
  10588. 2003-07-15 Stan Cox <scox@redhat.com>
  10589. * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
  10590. (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
  10591. (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
  10592. * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
  10593. (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
  10594. (mips_issue_rate): Handle PROCESSOR_R7000.
  10595. (mips_use_dfa_pipeline_interface): Likewise.
  10596. * config/mips/7000.md: New file.
  10597. * config/mips/mips.md: Include it.
  10598. (define_attr cpu): Add r7000.
  10599. (mulsi3_mult3): Use "mul" for rm7000 code.
  10600. 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
  10601. * config/mips/mips.md (define_attr type): Add condmove. Use it for
  10602. the conditional move patterns.
  10603. * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
  10604. Check for condmove type.
  10605. (ir_vr54_arith): Add move type.
  10606. * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
  10607. * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
  10608. 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
  10609. * c-opts.c (print_help): Remove.
  10610. (c_common_handle_option): Don't handle --help.
  10611. * c.opt: Document some options.
  10612. (--help): Remove.
  10613. * opts.c (print_filtered_help): New.
  10614. (print_help): Use it.
  10615. 2003-07-14 Geoffrey Keating <geoffk@apple.com>
  10616. * c-common.c (c_common_type_for_mode): Handle V4DFmode.
  10617. * tree.c: (build_common_tree_nodes_2): Likewise.
  10618. * tree.h (enum tree_index): Add TI_V4DF_TYPE.
  10619. (V4DF_type_node): New.
  10620. * c-opts.c (push_command_line_include): Don't free deferred_opts,
  10621. we'll need it.
  10622. (finish_options): Reset init_cursor.
  10623. 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
  10624. * expr.c (expand_assignment): Remove an unused argument
  10625. SUGGEST_REG.
  10626. * expr.h: Update the prototype.
  10627. * function.c: Update the callers.
  10628. * stmt.c: Likewise.
  10629. 2003-07-14 Mark Mitchell <mark@codesourcery.com>
  10630. PR debug/11098
  10631. * integrate.c (copy_decl_for_inlining): Do not mark copied decls
  10632. as DECL_ABSTRACT.
  10633. 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
  10634. * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
  10635. with __cplusplus, not "we must use the C++ compiler's type"
  10636. * fixinc/inclhack.def (void_null): Note that Interix needs this.
  10637. * fixinc/fixincl.x: Regenerate.
  10638. 2003-07-14 Geoffrey Keating <geoffk@apple.com>
  10639. * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
  10640. and unseen_objects from the global data before calling
  10641. __deregister_frame_info_bases.
  10642. (examine_objects): Insert objects into the seen_objects list,
  10643. not unseen_objects.
  10644. (_Unwind_Find_FDE): Always unlock the global object lists, even if
  10645. we couldn't allocate a data structure to put in it.
  10646. * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
  10647. (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
  10648. (SET_TYPE_PROTOCOL_LIST): New.
  10649. * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
  10650. (get_object_reference): Likewise.
  10651. 2003-07-14 Jan Hubicka <jh@suse.cz>
  10652. * cfglayout.c (locator_file): Break out from ....
  10653. (insn_file): ... here.
  10654. (locator_line): Break out from ....
  10655. (insn_line): ... here.
  10656. * rtl.h (locator_file, locator_line): Declare.
  10657. (final_start_function): Set proper line/file info.
  10658. 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
  10659. * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
  10660. handled by pp_c_cast_expression.
  10661. 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
  10662. * config/mips/mips.c (mips_expand_prologue): Use a single insn to
  10663. allocate 32768 bytes of stack. Use addition rather than subtraction
  10664. when a single insn is enough.
  10665. * config/mips/mips.md: Remove insns and splitters for subtracting
  10666. constants.
  10667. (subsi3): Only accept register operands.
  10668. (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
  10669. (subdi3_internal_3, subsi3_internal_2): Likewise.
  10670. (casesi): Use expand_binop to subtract the lower bound.
  10671. 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
  10672. * config/mips/mips.c (mips_in_small_data_p): Don't handle
  10673. TARGET_MIPS16 specially.
  10674. 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
  10675. * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
  10676. mips_output_aligned_bss.
  10677. * config/mips/linux.h: Likewise.
  10678. * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
  10679. * config/mips/mips.c (mips_output_aligned_bss): New function.
  10680. * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
  10681. * config/mips/elf64.h: Likewise.
  10682. * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
  10683. mips_declare_object_name.
  10684. (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
  10685. * config/mips/elf64.h: As for elf.h.
  10686. * config/mips/iris6.h: Likewise.
  10687. * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
  10688. * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
  10689. do...while (0) block.
  10690. * config/mips/mips-protos.h (mips_declare_object_name): Declare.
  10691. (mips_finish_declare_object): Declare.
  10692. * config/mips/mips.c (mips_declare_object_name): New function.
  10693. (mips_finish_declare_object): New function.
  10694. * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
  10695. * config/mips/linux.h: Likewise.
  10696. * config/mips/mips.c (inside_function): Delete.
  10697. (file_in_function_warning, ignore_line_number): Delete.
  10698. (mips_output_filename): Don't warn about changing filenames within
  10699. a function.
  10700. (mips_output_lineno): Update accordingly.
  10701. (mips_output_function_prologue): Don't reset the deleted variables.
  10702. * config/mips/mips.h (inside_function): Delete.
  10703. (file_in_function_warning, ignore_line_number): Delete.
  10704. * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
  10705. * config/mips/elf64.h: Likewise.
  10706. * config/mips/openbsd.h: Likewise.
  10707. * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
  10708. * config/mips/linux.h: Likewise.
  10709. * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
  10710. (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
  10711. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
  10712. to the list of include files when using gas.
  10713. (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
  10714. * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
  10715. * config/mips/elf64.h: Likewise.
  10716. * config/mips/iris5.h: Likewise.
  10717. * config/mips/linux.h: Likewise.
  10718. * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
  10719. * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
  10720. (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
  10721. * config/mips/sdb.h: ...this new file.
  10722. 2003-07-14 Douglas Rupp <rupp@gnat.com>
  10723. * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
  10724. argument to getcwd; use fixed buffer instead.
  10725. 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
  10726. * fixinc/mkfixinc.sh: Treat OpenBSD normally.
  10727. * fixinc/fixinc.wrap: Delete.
  10728. 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
  10729. * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
  10730. don't have 2.
  10731. 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
  10732. * ggc-page.c (struct globals): Add new fields to keep track of the
  10733. total allocated memory and overhead.
  10734. (ggc_print_statistics): Print them.
  10735. (ggc_alloc): Keep track of the total allocated memory and the
  10736. overhead.
  10737. * tree.c (dump_tree_statistics): Increase spacing.
  10738. (enum tree_node_kind): Move to ...
  10739. * tree.h (enum tree_node_kind): ... here.
  10740. (tree_node_counts, tree_node_sizes): Declare.
  10741. 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
  10742. * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
  10743. 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  10744. PR optimization/11440
  10745. * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
  10746. SIGN_EXTRACT SETs.
  10747. 2003-07-14 Alan Modra <amodra@bigpond.net.au>
  10748. * doc/tm.texi (BLOCK_REG_PADDING): Describe.
  10749. * expr.h (struct locate_and_pad_arg_data): Add where_pad.
  10750. (emit_group_load, emit_group_store): Adjust declarations.
  10751. Remove most occurrences of #ifdef TREE_CODE.
  10752. * expr.c (emit_group_load): Add "type" param, and use
  10753. BLOCK_REG_PADDING to determine need for a shift. Optimize non-
  10754. aligned accesses if !SLOW_UNALIGNED_ACCESS.
  10755. (emit_group_store): Likewise.
  10756. (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
  10757. emit_group_load and emit_group_store calls.
  10758. * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
  10759. BLOCK_REG_PADDING to determine whether we need endian_correction.
  10760. (load_register_parameters): Localize vars. Handle shifting of
  10761. small values to the correct end of regs. Adjust emit_group_load
  10762. call.
  10763. (expand_call, emit_library_call_value_1): Adjust emit_group_load
  10764. and emit_group_store calls.
  10765. * function.c (assign_parms): Set mem alignment for stack slots.
  10766. Adjust emit_group_store call. Store values at the "wrong" end
  10767. of regs to the stack. Use BLOCK_REG_PADDING.
  10768. (locate_and_pad_parm): Save where_pad.
  10769. (expand_function_end): Adjust emit_group_load call.
  10770. * stmt.c (expand_value_return): Adjust emit_group_load call.
  10771. * Makefile.in (calls.o): Depend on $(OPTABS_H).
  10772. * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
  10773. (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
  10774. (MUST_PASS_IN_STACK): Define.
  10775. (BLOCK_REG_PADDING): Define.
  10776. * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
  10777. (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
  10778. * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
  10779. (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
  10780. Act on AGGREGATES_PAD_UPWARD_ALWAYS.
  10781. 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
  10782. * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
  10783. 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  10784. * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
  10785. both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
  10786. 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
  10787. PR other/11123
  10788. * toplev.c: Don't cut off option names.
  10789. 2003-07-13 Andreas Jaeger <aj@suse.de>
  10790. * c-decl.c (link_hash_hash): Avoid warning about casting pointer
  10791. to integer of different size.
  10792. 2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
  10793. * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
  10794. to (eq (and X 1) 0).
  10795. 2003-07-13 Andreas Jaeger <aj@suse.de>
  10796. * config.gcc: Add pmmintrin.h for x86_64-*-*.
  10797. 2003-07-13 Zack Weinberg <zack@codesourcery.com>
  10798. * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
  10799. (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
  10800. list. Move these all together down by cpplib.
  10801. * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
  10802. definition of CPPCHAR_SIGNED_T.
  10803. * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
  10804. * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
  10805. * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
  10806. * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
  10807. * cppinit.c (cpp_create_reader): Likewise.
  10808. * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
  10809. * cpptrad.c: Likewise. All callers changed.
  10810. * cpplib.c: All callers changed.
  10811. * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
  10812. * hashtable.h: Define GTY(x) to nothing here too.
  10813. 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  10814. * stor-layout.c (compute_record_mode): Remove very obsolete test
  10815. that forces BLKmode for records with fields crossing word boundary.
  10816. 2003-07-13 Zack Weinberg <zack@codesourcery.com>
  10817. * Makefile.in: Remove orphan reference to acconfig.h.
  10818. 2003-07-13 Andreas Jaeger <aj@suse.de>
  10819. * cgraphunit.c: Convert prototypes to ISO C90.
  10820. 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
  10821. * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
  10822. (for OpenBSD).
  10823. * fixinc/fixincl.x: Rebuild.
  10824. 2003-07-12 Zack Weinberg <zack@codesourcery.com>
  10825. * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
  10826. i?86-*-*. Use correct name of cache variable.
  10827. * configure: Regenerate.
  10828. 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
  10829. * config/alpha/alpha.c: Fix comment typos.
  10830. * config/alpha/alpha.md: Likewise.
  10831. * config/arm/arm.c: Likewise.
  10832. * config/arm/arm.md: Likewise.
  10833. * config/arm/lib1funcs.asm: Likewise.
  10834. * config/avr/avr.md: Likewise.
  10835. * config/arm/README-interworking: Fix typos.
  10836. 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
  10837. * c-format.c: Fix comment formatting.
  10838. * c-typeck.c: Likewise.
  10839. * coverage.c: Likewise.
  10840. * cppcharset.c: Likewise.
  10841. * cpplib.c: Likewise.
  10842. * dbxout.c: Likewise.
  10843. * gcov-io.h: Likewise.
  10844. * toplev.c: Likewise.
  10845. 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
  10846. * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
  10847. fix.
  10848. 2003-07-12 Zack Weinberg <zack@codesourcery.com>
  10849. * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
  10850. uses three-argument AC_DEFINE so no acconfig.h entries are
  10851. needed.
  10852. (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
  10853. which contains the GAS version number as a scaled integer.
  10854. (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
  10855. ability to check for ELF assembler.
  10856. (gcc_GAS_CHECK_FEATURE): New macro.
  10857. * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
  10858. assembler feature checks using gcc_GAS_CHECK_FEATURE.
  10859. Use three-argument AC_DEFINE everywhere.
  10860. * acconfig.h: Deleted.
  10861. * config.in, configure: Regenerate.
  10862. 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
  10863. * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
  10864. (on OpenBSD).
  10865. * fixinc/fixincl.x: Regenerate.
  10866. * fixinc/inclhack.def (gnu_types): Improve comment.
  10867. 2003-07-12 Andreas Jaeger <aj@suse.de>
  10868. * fp-test.c (main): Use ISO C90 prototype.
  10869. * version.c: Remove unneded include of ansidecl.h.
  10870. * cgraph.h: Convert prototypes to ISO C90.
  10871. * cgraph.c: Likewise.
  10872. * fix-header.c: Likewise.
  10873. * ra.h: Likewise.
  10874. * protoize.c: Likewise.
  10875. 2003-07-12 Jan Hubicka <jh@suse.cz>
  10876. * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
  10877. warning.
  10878. 2003-07-12 Jan Hubicka <jh@suse.cz>
  10879. Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  10880. * cgraph.c (cgraph_max_uid): New global variable.
  10881. (cgraph_node): Set uid field.
  10882. (create_edge): Keep inline flags consistent.
  10883. (dump_cgraph): Dump more info.
  10884. * cgraph.h (struct cgraph_local_info): Remove inline_many and
  10885. can_inline_once; add inlinable, disgread_inline_limits, and self_insn
  10886. (struct cgraph_global_info): Add insns, calls, cloned_times,
  10887. will_be_output.
  10888. (struct cgraph_node): Add uid.
  10889. (struct cgraph_edge): Add inline_call.
  10890. (cgraph_max_uid, cgraph_inline_p): Declare.
  10891. * cgraph.c: Include params.h and fibheap.h
  10892. (cgraph_mark_functions_to_inline_once): Kill.
  10893. (INSNS_PER_CALL): New constant.
  10894. (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
  10895. static variables.
  10896. (cgraph_finalize_function): Do not analyze inlining.
  10897. (cgraph_finalize_compilation_unit): Set inlining attributes.
  10898. (cgraph_mark_functions_to_output): More consistency checks.
  10899. (cgraph_optimize_function): Set current_function_decl to NULL.
  10900. (cgraph_expand_function): Use new inline flags.
  10901. (cgraph_postorder): Expand from cgraph_expand_functions.
  10902. (INLINED_TIMES, SET_INLINED_TIMES): New macros.
  10903. (cgraph_inlined_into, cgraph_inlined_callees,
  10904. cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
  10905. cgraph_mark_inline, cgraph_check_inline_limits,
  10906. cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
  10907. cgraph_decide_inlining, cgraph_inline_p): New functions.
  10908. * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
  10909. PARAM_INLINE_UNIT_GROWTH): New parameters.
  10910. * tree-inline.c (struct inline_data): New field current_decl.
  10911. (expand_call_inline): Avoid forward declarations; use
  10912. inlinable_function_p.
  10913. (optimize_inline_calls): Set id.current_decl.
  10914. 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
  10915. * configure.in: Remove wrongly added definition of
  10916. local_prefix.
  10917. * configure: Regenerate.
  10918. 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
  10919. * rtl.def (NOTE): Do not use padding.
  10920. 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
  10921. * doc/install.tex: Update required binutils for i?86-*-linux*
  10922. 2003-07-11 Richard Henderson <rth@redhat.com>
  10923. * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
  10924. 2003-07-11 Mark Mitchell <mark@codesourcery.com>
  10925. * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
  10926. TRANSLATION_UNIT_DECL as top_level.
  10927. 2003-07-11 Jakub Jelinek <jakub@redhat.com>
  10928. * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
  10929. then fall back to cmpstrM.
  10930. * builtins.c (expand_builtin_memcmp): Likewise.
  10931. * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
  10932. (s390_expand_cmpmem): ... this.
  10933. * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
  10934. cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
  10935. from cmpstr* patterns. Rename call to s390_expand_cmpstr
  10936. to s390_expand_cmpmem.
  10937. * config/s390/s390.c (s390_expand_cmpstr): Rename to...
  10938. (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
  10939. to cmpmem*.
  10940. * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
  10941. cmpstr* patterns.
  10942. * doc/md.texi (cmpstrM): Describe as String compare insn, not
  10943. Block compare insn.
  10944. (cmpmemM): Add.
  10945. 2003-07-11 Loren James Rittle <ljrittle@acm.org>
  10946. * config/i386/freebsd.h (SET_ASM_OP): Remove.
  10947. (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
  10948. (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
  10949. MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
  10950. 2003-07-11 Richard Henderson <rth@redhat.com>
  10951. * function.c (assign_parms): Don't recombine complex args if
  10952. fnargs is unchanged from orig_fnargs.
  10953. (split_complex_args): Return args without complex before copying.
  10954. Re-layout the modified parameters.
  10955. 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
  10956. * regclass.c (choose_hard_reg_mode): Add third argument.
  10957. Changed all callers.
  10958. * rtl.h (choose_hard_reg_mode): Update declaration.
  10959. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
  10960. Take HARD_REGNO_CALL_PART_CLOBBERED into account.
  10961. 2003-07-11 Geoffrey Keating <geoffk@apple.com>
  10962. * c-decl.c (finish_decl): Handle 'used' here...
  10963. * cgraphunit.c (cgraph_finalize_function): ... and here ...
  10964. * c-common.c: (handle_used_attribute): ... not here.
  10965. * configure.in (onstep): Support --enable-intermodule.
  10966. * Makefile.in (OBJS-common): New.
  10967. (OBJS-md): New.
  10968. (OBJS-archive): New.
  10969. (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
  10970. (OBJS-onestep): New.
  10971. (libbackend.a): Support @onestep@.
  10972. (libbackend.o): New.
  10973. * configure: Regenerate.
  10974. * c-common.h (c_reset_state): New prototype.
  10975. (c_parse_file): New prototype.
  10976. (finish_file): Move prototype from c-tree.h.
  10977. * c-decl.c: Include <hashtab.h>.
  10978. (builtin_decls): New.
  10979. (current_file_decl): New.
  10980. (duplicate_decls): Add extra parameter. Change all callers. Don't
  10981. output duplicate common symbols.
  10982. (link_hash_hash): New.
  10983. (link_hash_eq): New.
  10984. (poplevel): Handle popping of the top level.
  10985. (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
  10986. (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
  10987. (pushdecl_top_level): Likewise.
  10988. (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
  10989. (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
  10990. (finish_decl): Handle TRANSLATION_UNIT_DECL.
  10991. (merge_translation_unit_decls): New.
  10992. (c_write_global_declarations): New.
  10993. (c_reset_state): New.
  10994. (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
  10995. * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
  10996. * c-objc-common.c (c_cannot_inline_tree_fn): Handle
  10997. TRANSLATION_UNIT_DECL.
  10998. (c_objc_common_finish_file): Call merge_translation_unit_decls.
  10999. * c-opts.c (in_fnames): Rename from in_fname.
  11000. (c_common_decode_option): Handle multiple input filenames.
  11001. (c_common_post_options): Likewise.
  11002. (c_common_parse_file): Likewise; also, call c_parse_file rather than
  11003. yyparse.
  11004. * c-parse.in: Move cleanup code to c_parse_file.
  11005. (free_parser_stacks): Move contents to c_parse_file.
  11006. (c_parse_file): New.
  11007. * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
  11008. for integer types.
  11009. (C_DECL_FILE_SCOPE): New.
  11010. (finish_file): Move prototype to c-common.h.
  11011. (merge_translation_unit_decls): New prototype.
  11012. (comptypes): Add extra parameter to prototype.
  11013. (c_write_global_declarations): New prototype.
  11014. * c-typeck.c (tagged_types_tu_compatible_p): New.
  11015. (function_types_compatible_p): Add extra parameter, change all callers.
  11016. (type_lists_compatible_p): Likewise.
  11017. (comptypes): Likewise.
  11018. (struct tagged_tu_seen): New.
  11019. (tagged_tu_seen_base): New.
  11020. (build_unary_op): Handle TRANSLATION_UNIT_DECL.
  11021. (c_mark_addressable): Remove #if 0 code.
  11022. * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
  11023. comment explaining why it shouldn't have to.
  11024. * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
  11025. options.
  11026. * cppinit.c (cpp_read_next_file): New.
  11027. (cpp_read_main_file): Use it.
  11028. * cpplib.c (undefine_macros): New.
  11029. (cpp_undef_all): New.
  11030. * cpplib.h (cpp_read_next_file): Prototype.
  11031. (cpp_undef_all): Prototype.
  11032. * langhooks-def.h (write_global_declarations): Remove prototype.
  11033. * toplev.h (write_global_declarations): Add prototype.
  11034. * tree.c (decl_type_context): Use switch statement, handle
  11035. TRANSLATION_UNIT_DECL.
  11036. * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
  11037. (TRANSLATION_UNIT_DECL): New kind of tree.
  11038. * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
  11039. * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
  11040. * doc/invoke.texi: Make attempt to document new functionality.
  11041. 2003-05-19 Per Bothner <bothner@apple.com>
  11042. * gcc.c (combine_inputs): New.
  11043. (process_command): Set combine_inputs.
  11044. (do_spec_1): Handle combine_inputs.
  11045. (main): Likewise.
  11046. 2003-07-10 James E Wilson <wilson@tuliptree.org>
  11047. PR optimization/9745
  11048. * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
  11049. loop_insn_emit_before.
  11050. (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
  11051. 2003-07-10 Zack Weinberg <zack@codesourcery.com>
  11052. * cppcharset.c: Fix comment.
  11053. (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
  11054. (EILSEQ): #define to EINVAL if not already defined.
  11055. (convert_using_iconv): #if out when !HAVE_ICONV.
  11056. (init_iconv_desc): Handle !HAVE_ICONV here...
  11057. (cpp_init_iconv): ...not here.
  11058. 2003-07-11 Neil Booth <neil@daikokuya.co.uk>
  11059. * common.opt: More --help messages.
  11060. * opts.c (print_help): Use puts().
  11061. * toplev.c (f_options): Remove help text.
  11062. (display_help): Don't dump f_options.
  11063. 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
  11064. * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
  11065. Move i?86-*-interix* to the don't-fix list.
  11066. * fixinc/fixinc.interix: Delete with extreme prejudice.
  11067. 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
  11068. PR bootstrap/10758
  11069. * doc/install.texi: Document requirements for ia64-*-hpux* target.
  11070. 2003-07-10 Roger Sayle <roger@eyesopen.com>
  11071. * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
  11072. 2003-07-10 Zack Weinberg <zack@codesourcery.com>
  11073. * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
  11074. one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
  11075. one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
  11076. convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
  11077. convert_no_conversion, convert_using_iconv): New functions.
  11078. (APPLY_CONVERSION): New macro.
  11079. (struct conversion, conversion_tab): New data structure.
  11080. (init_iconv_desc): Check conversion_tab for a custom conversion
  11081. primitive before trying to use iconv.
  11082. (convert_cset): Deleted.
  11083. (cpp_init_iconv): Use UTF- terminology, not UCS-.
  11084. (_cpp_destroy_iconv): Update to match.
  11085. (_cpp_valid_ucn): We don't need iconv to implement UCNs.
  11086. (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
  11087. (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
  11088. (_cpp_interpret_string_notranslate): New function, moved here
  11089. from cpplib.c.
  11090. * cpphash.h (convert_f, struct cset_converter): New types.
  11091. (struct cpp_reader): narrow_cset_desc and wide_cset_desc
  11092. are now struct cset_converter, not bare iconv_t.
  11093. Update prototypes.
  11094. * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
  11095. all callers changed.
  11096. 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
  11097. * Makefile.in (options.h): Depend on Makefile. Add move-if-change
  11098. to opts.sh command line.
  11099. * opts.sh: Write to temporary files with a move-if-change at the end.
  11100. 2003-07-10 Denis Chertykov <denisc@overta.ru>
  11101. Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  11102. * combine.c (gen_binary): Handle the CLOBBER rtx and
  11103. don't build a binary operation with it.
  11104. 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  11105. * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
  11106. store_killed_after, store_killed_before): Keep track of the correct
  11107. dependency function to use.
  11108. 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
  11109. * toplev.c (do_compile): Don't try to open dump files before
  11110. lang_dependent_init initializes dump_base_name.
  11111. 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11112. * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
  11113. Use ARRAY_SIZE.
  11114. * config/frv/frv.c (frv_expand_builtin): Likewise.
  11115. * config/sh/sh.c (sh_media_init_builtins): Likewise.
  11116. 2003-07-09 Mark Mitchell <mark@codesourcery.com>
  11117. PR c++/10032
  11118. * doc/invoke.texi (C++ Dialect Options): Change documentation of
  11119. -fpermissive.
  11120. 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
  11121. * tm.texi (RETURN_ADDR_OFFSET): Document.
  11122. 2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
  11123. * gcov-io.h: Update documentation.
  11124. (GCOV_UNSIGNED2STRING): New.
  11125. (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
  11126. GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
  11127. GCOV_TAG_SUMMARY_LENGTH): Adjust.
  11128. (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
  11129. GCOV_TAG_COUNTER_NUM): New.
  11130. (GCOV_BLOCK_SIZE): Number of words.
  11131. (gcov_var): Adjust buffer type.
  11132. * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
  11133. (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
  11134. count, not byte count.
  11135. (gcov_open): Adjust overread init.
  11136. (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
  11137. gcov_write_string, gcov_write_tag, gcov_write_length,
  11138. gcov_write_tag_length): Adjust.
  11139. (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
  11140. (gcov_sync, gcov_seek): Adjust.
  11141. * gcov-dump.c (print_usage): Show gcc version only.
  11142. (dump_file): Use GCOV_UNSIGNED2STRING.
  11143. (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
  11144. * gcov.c (print_version): Show gcc version only.
  11145. (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
  11146. GCOV_TAG_*_NUM macros.
  11147. (read_count_file): Use GCOV_UNSIGNED2STRING. Use
  11148. GCOV_TAG_COUNTER_LENGTH.
  11149. * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
  11150. Use GCOV_TAG_COUNTER_NUM.
  11151. * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
  11152. (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
  11153. 2003-07-10 Andreas Schwab <schwab@suse.de>
  11154. * gcov-dump.c (dump_file): Fix missing address operator.
  11155. 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
  11156. PR c/11449
  11157. * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
  11158. of HOST_WIDE_INT.
  11159. (fold_single_bit_test): If sign_bit_p() fails, assume that the
  11160. bit being tested is not a sign bit.
  11161. 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
  11162. * config/h8300/h8300.md (a peephole2): New.
  11163. 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
  11164. 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
  11165. * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
  11166. from ld-linux.so.2 to ld.so.1.
  11167. 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
  11168. * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
  11169. * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
  11170. nor -Wl,-rpath-link.
  11171. (LIB_SPEC): Add -rpath-link if !static.
  11172. 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
  11173. * config/mn10300/mn10300.c (mn10300_protect_label): New
  11174. variable.
  11175. * config/mn10300/linux.h (PRINT_OPERAND,
  11176. PRINT_OPERAND_ADDRESS): Set it during their execution.
  11177. (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
  11178. mn10300_protect_label is set.
  11179. * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
  11180. -Wl,-rpath-link.
  11181. (LIB_SPEC, STARTFILE_SPEC): Define.
  11182. 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
  11183. * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
  11184. FLOAT_BIT_ORDER_MISMATCH.
  11185. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  11186. * config.gcc (am33_2.0-*-linux*): Added.
  11187. * config/mn10300/linux.h: New.
  11188. * config/mn10300/t-linux: New.
  11189. 2003-07-10 Andreas Jaeger <aj@suse.de>
  11190. * fold-const.c: Properly wrap prototypes.
  11191. 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
  11192. 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
  11193. * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
  11194. Moved from...
  11195. * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
  11196. * config/mn10300/mn10300.h: GTY-declare it.
  11197. 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
  11198. * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
  11199. prototype. Use incoming RTL argument.
  11200. 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
  11201. * config/mn10300/mn10300.md (int_label): Move C statements...
  11202. (GOTaddr2picreg): ... here.
  11203. 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
  11204. * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
  11205. * config/mn10300/mn10300.c (mn10300_encode_section_info):
  11206. ... here. New function.
  11207. (TARGET_ENCODE_SECTION_INFO): Define to it.
  11208. 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
  11209. * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
  11210. pattern name.
  11211. (mn10300_loadPC): Define as insn splittable after reload.
  11212. 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
  11213. * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
  11214. be defined in .rodata even in PIC, now that the assembler
  11215. supports that.
  11216. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  11217. * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
  11218. symbol take an underscore prefix.
  11219. 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
  11220. * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
  11221. legitimize_pic_address): Declare.
  11222. * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
  11223. the PIC register as fixed.
  11224. (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
  11225. (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
  11226. PIC.
  11227. (LEGITIMATE_PIC_OPERAND_P): Define.
  11228. (PIC_OFFSET_TABLE_REGNUM): Define.
  11229. (GOT_SYMBOL_NAME): Define.
  11230. (SYMBOLIC_CONST_P): Define.
  11231. (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
  11232. symbols.
  11233. (MN10300_GLOBAL_P): Test it.
  11234. (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
  11235. (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
  11236. * config/mn10300/mn10300.c (print_operand): Handle unspec.
  11237. (expand_prologue): Set PIC register.
  11238. (call_address_operand): Don't match SYMBOL_REFs in PIC.
  11239. (legitimize_address): Call legitimize_pic_address.
  11240. (legitimize_pic_address): New fn.
  11241. (legitimate_pic_operand_p): New fn.
  11242. * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
  11243. (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
  11244. UNSPEC_PLT): New constants.
  11245. (pop_pic_reg): New insn.
  11246. (movsi): Adjust non-PIC addresses.
  11247. (builtin_setjmp_receiver): Restore the PIC register.
  11248. (casesi): New insn.
  11249. (call): Adjust non-PIC addresses.
  11250. (int_label, GOTaddr2picreg): New expands.
  11251. (am33_loadPC): New insn.
  11252. (mn10300_loadPC): New expand.
  11253. (call_next_insn): New insn.
  11254. (add_GOT_to_pic_reg): New expand.
  11255. (symGOT2reg, symGOT2reg_i): New expands.
  11256. (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
  11257. (sym2PIC, sym2PLT): New expands.
  11258. 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
  11259. * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
  11260. 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
  11261. * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
  11262. to flag_unsafe_math_optimizations.
  11263. 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
  11264. * config/mn10300/mn10300.c (expand_prologue): Mark
  11265. FP-register-saving insns as frame-related.
  11266. 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
  11267. * config/mn10300/mn10300.c
  11268. (mn10300_get_live_callee_saved_regs): Don't search past
  11269. LAST_EXTENDED_REGNUM.
  11270. (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
  11271. * config/mn10300/mn10300.md: Remove excessive line breaks from
  11272. `@' output patterns that were accounted as additional
  11273. alternatives.
  11274. * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
  11275. Re-introduce changes accidentally removed in Richard Sandiford's
  11276. 2000-12-05's patch.
  11277. * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
  11278. Re-instate am33-2 lost in merge from net GCC.
  11279. 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
  11280. * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
  11281. floating-point registers.
  11282. 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
  11283. * config/mn10300/mn10300.md (movdf): Revert some am33-specific
  11284. pessimizations that had gone in on 2000-05-08.
  11285. 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
  11286. * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
  11287. 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
  11288. * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
  11289. operand 0.
  11290. * (movhi): Likewise.
  11291. * (movsi): Likewise.
  11292. * (movsf): Likewise.
  11293. * (movdi): Likewise.
  11294. * (movdf): Likewise.
  11295. 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
  11296. * config/mn10300/mn10300.c (fp_regs_to_save): New function.
  11297. (can_use_return_insn, initial_offset): Add fp_regs_to_save.
  11298. (expand_prologue, expand_epilogue): Save and restore FP regs.
  11299. 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
  11300. * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
  11301. 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
  11302. * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
  11303. subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
  11304. Do not clobber cc0.
  11305. 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
  11306. * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
  11307. Discourage the two-argument, longer opcodes.
  11308. (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
  11309. ones.
  11310. * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
  11311. (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
  11312. * config/mn10300/mn10300.md (cmpsf): New pattern.
  11313. (branch): Test mdep.fpCC and output fbCC.
  11314. * config/mn10300/mn10300.c (print_operand): Output conditions.
  11315. (notice_cc_update): Recognize fcmp and set mdep.fpCC.
  11316. 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
  11317. * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
  11318. mulsf3, divsf3): Use the `F' constraint for FP values.
  11319. * config/mn10300/mn10300.c (const_1f_operand): New function.
  11320. * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
  11321. * config/mn10300/mn10300.md (sqrtsf2): New expand.
  11322. (rsqrtsf2): New insn.
  11323. 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
  11324. * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
  11325. previous check-in.
  11326. 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
  11327. * config/mn10300/mn10300.md (abssf2, negdf2): On
  11328. TARGET_AM33_2, expand to...
  11329. (abssf2_am33_2, negdf2_am33_2): New insns.
  11330. (addsf3, subsf3, mulsf3, divsf3): Likewise.
  11331. (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
  11332. * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
  11333. movdi, movdf): Added FP regs.
  11334. * invoke.texi (-mam33-2, -mno-am33-2): Document.
  11335. 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
  11336. * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
  11337. New macros.
  11338. (REGNO_AM33_2_FP_P): Renamed to...
  11339. (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
  11340. (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
  11341. 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
  11342. * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
  11343. regs from GENERAL_REGS.
  11344. 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
  11345. * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
  11346. * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
  11347. * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
  11348. 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
  11349. * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
  11350. as FP_REGS.
  11351. 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
  11352. * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
  11353. (EXTRA_CONSTRAINT): Added OK_FOR_Q.
  11354. * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
  11355. * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
  11356. * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
  11357. (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
  11358. AM33/2.0 floating-point registers.
  11359. (CONDITIONAL_REGISTER_USAGE): Adjust.
  11360. (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
  11361. (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
  11362. (REG_CLASS_FROM_LETTER): Added `f' and `A'.
  11363. (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
  11364. * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
  11365. (MULTILIB_DIRNAMES): Likewise.
  11366. * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
  11367. `__AM33_2__' when `-mam33-2' is given.
  11368. (TARGET_AM33_2): Define.
  11369. (TARGET_SWITCHES): Adjust.
  11370. * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
  11371. when appropriate.
  11372. 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
  11373. * doc/install.texi: Add missing @.
  11374. 2003-07-09 Bob Wilson <bob.wilson@acm.org>
  11375. * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
  11376. 2003-07-09 Aldy Hernandez <aldyh@redhat.com>
  11377. PR/11144
  11378. * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
  11379. 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
  11380. PR bootstrap/11043
  11381. * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
  11382. "x-crtfini.o" with "crtinit.o", "crtfini.o".
  11383. * fixinc/inclhack.def (limits_ifndefs): Add select test.
  11384. * fixinc/fixincl.x: Rebuild.
  11385. * fixinc/inclhack.def (math_exception): Improve bypass and comment.
  11386. * fixinc/fixincl.x: Rebuild.
  11387. 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
  11388. * doc/install.texi (Configuration): Document the valgrind option
  11389. to --enable-checking.
  11390. 2003-07-09 Jan Hubicka <jh@suse.cz>
  11391. * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
  11392. 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  11393. * c-lex.c (cb_ident): Cast cstr.text to const char *.
  11394. 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
  11395. * gcov-io.h: Update documentation.
  11396. (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
  11397. GCOV_NOTE_MAGIC.
  11398. (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
  11399. (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
  11400. (struct gcov_var): Change buffer's type. Add endian flag.
  11401. (gcov_open): Remove mode in libgcov.
  11402. (gcov_magic): Prototype.
  11403. * gcov-io.c (from_file): New.
  11404. (gcov_open): Clear endian flag.
  11405. (gcov_magic): New.
  11406. (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
  11407. pointers.
  11408. (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
  11409. gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
  11410. (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
  11411. * gcov-iov.c (main): Correct cast.
  11412. * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
  11413. conversion.
  11414. (gcov_begin_output): Use GCOV_NOTE_MAGIC.
  11415. (coverage_init): Use GCOV_NOTE_SUFFIX.
  11416. * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
  11417. Rename to gcov_version, and return flag.
  11418. (gcov_exit): Use gcov_version.
  11419. (__gcov_init): Use gcov_version.
  11420. * Makefile.in (coverageexts): Update.
  11421. * gcov.c (print_version): Remove endianness conversion.
  11422. (create_file_names): Use GCOV_NOTE_SUFFIX.
  11423. (read_graph_file): Use gcov_magic.
  11424. (read_count_file): Likewise.
  11425. * gcov-dump.c (dump_file): Remove endianness conversion, use
  11426. gcov_magic.
  11427. 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
  11428. * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
  11429. coverage is on.
  11430. * configure: Regenerated.
  11431. * Makefile.in (ALL_CFLAGS): Correct its comment.
  11432. 2003-07-08 Mark Mitchell <mark@codesourcery.com>
  11433. * fold-const.c (make_range): Do not access operand 1 for a
  11434. zero-operand operator.
  11435. 2003-07-09 Neil Booth <neil@daikokuya.co.uk>
  11436. * toplev.c (warn_dummy, W_options): Die.
  11437. (display_help): Don't print W_options.
  11438. * common.opt: Add W_options help from toplev.c.
  11439. 2003-07-09 Andreas Jaeger <aj@suse.de>
  11440. * opts.c (wrap_help): Only pass int arguments as arguments to
  11441. printf's '*' modifier. Change argument of function.
  11442. 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
  11443. * doc/invoke.texi: Fix misspelling of "@item".
  11444. 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
  11445. * config/i386/i386.md: Remove an old comment about
  11446. NOTICE_UPDATE_CC.
  11447. 2003-07-09 Jan Hubicka <jh@suse.cz>
  11448. * cgraph.c (cgraph_node_name): New function.
  11449. (dump_cgraph): Use it.
  11450. * cgraph.h (cgraph_dump_file): Declare.
  11451. (cgraph_node_name): Declare.
  11452. * cgraphunit.c: Include timevar.h
  11453. (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
  11454. (cgraph_optimize_function): Use TV_INTEGRATION.
  11455. (cgraph_mark_local_functions): reorganize dumps.
  11456. (cgraph_mark_functions_to_inline_once): Likewise.
  11457. (cgraph_optimize): Likewise; use timevar.
  11458. * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
  11459. * toplev.c (dump_file_index): Add DFI_cgraph.
  11460. (dump_file_info): Likewise.
  11461. (cgraph_dump_file): New global variable.
  11462. (do_compile): Open and close cgraph dump.
  11463. * invoke.texi (-d): Document new flag; renumber.
  11464. 2003-07-08 Roger Sayle <roger@eyesopen.com>
  11465. PR c/11370
  11466. * calls.c (emit_call_1): Don't bother popping the arguments off of
  11467. the stack after a noreturn function call; The adjustment is dead.
  11468. (expand_call): Likewise.
  11469. 2003-07-08 Geoffrey Keating <geoffk@apple.com>
  11470. * expr.c (MOVE_MAX_PIECES): Move from here...
  11471. * defaults.h (MOVE_MAX_PIECES): ... to here.
  11472. 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
  11473. * Makefile.in (stage1-start): Handle an empty SUBDIRS.
  11474. 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11475. * genattr.c (internal_dfa_insn_code): Don't prototype.
  11476. * genattrtab.c (attr_desc): Add `static_p' field.
  11477. (expand_units): Make blockage range and ready cost functions
  11478. static.
  11479. (write_attr_get): Don't add extern prototypes in C file. Mark
  11480. static functions as appropriate.
  11481. (find_attr, make_internal_attr): Initialize static_p.
  11482. * genattrtab.h (ATTR_STATIC): New macro.
  11483. * genautomata.c (output_internal_reset_func): Mark output function
  11484. as inline.
  11485. (make_internal_dfa_insn_code_attr): Mark output function as static.
  11486. 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11487. * genattrtab.h: Add new macros for attr `special' flags.
  11488. * genattrtab.c (attr_desc): Reorder/resize fields better.
  11489. Use attr `special' macros in all calls to make_internal_attr.
  11490. * genautomata.c: Likewise.
  11491. 2003-07-09 Jan Hubicka <jh@suse.cz>
  11492. * c-common.c (c_estimate_num_insns_1): New static function.
  11493. (c_estimate_num_insns): New global function.
  11494. * c-common.h (DECL_NUM_STMTS): Rename to...
  11495. (DECL_ESTIMATED_INSNS): ... this.
  11496. (c_estimate_num_insns): Declare.
  11497. * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
  11498. * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
  11499. * c-semantics.c (add_stmt): Do not account statements.
  11500. * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
  11501. New.
  11502. * langhooks.h (lang_hooks_for_tree_inlining): Add
  11503. estimate_num_insns
  11504. * params.def (max-inline-insns-auto, max-inline-insns-auto): set
  11505. to 100.
  11506. (max-inline-insns): set to 300.
  11507. (min-inline-insns): set to 10.
  11508. * tree-inline.c (struct inline_data): Rename inlined_stmts to
  11509. inlined-insns.
  11510. (INSNS_PER_STMT): Kill.
  11511. (inlinable_function_p): Compute and store body size.
  11512. (expand_call_inline): Likewise.
  11513. (optimize_inline_calls): Likewise.
  11514. 2003-07-08 James E Wilson <wilson@tuliptree.org>
  11515. PR target/10021
  11516. * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
  11517. loop over new variable t2 instead of t.
  11518. 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
  11519. PR bootstrap/11455
  11520. * config/i386/winnt.c: Replace use of error(), warning() with
  11521. error_with_decl(), warning_with_decl(), throughout.
  11522. 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
  11523. * opts.c (wrap_help): Use unsigned int, not size_t.
  11524. 2003-07-08 Stephane Carrez <stcarrez@nerim.fr>
  11525. * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
  11526. as .file/.loc directives are incompatible with linker relaxation.
  11527. 2003-07-08 Zack Weinberg <zack@codesourcery.com>
  11528. * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
  11529. * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
  11530. * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
  11531. * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
  11532. * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
  11533. * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
  11534. Escape { and } characters which are not part of range expressions.
  11535. * fixinc/fixincl.x: Regenerate.
  11536. * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
  11537. 2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
  11538. PR c/1687
  11539. * tree-inline.c (find_alloca_call): Use
  11540. walk_tree_without_duplicates, instead of walk_tree.
  11541. (find_builtin_longjmp_call): Likewise.
  11542. * c-objc-common.c (c_cannot_inline_fn): Likewise.
  11543. * c-semantics.c (find_reachable_label): Likewise.
  11544. 2003-07-08 Jakub Jelinek <jakub@redhat.com>
  11545. PR c/11420
  11546. * config/i386/i386.c (ix86_check_movabs): New function.
  11547. * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
  11548. * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
  11549. (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
  11550. 2003-07-08 Chris Demetriou <cgd@broadcom.com>
  11551. * Makefile.in (install-po): Cope with empty CATALOGS.
  11552. 2003-07-08 Richard Sandiford <rsandifo@redhat.com>
  11553. * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
  11554. (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
  11555. (SECTION_FUNCTION_TEMPLATE): Delete.
  11556. * config/mips/elf.h: As for elf64.h.
  11557. (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
  11558. * config/mips/linux.h: As for elf.h
  11559. * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
  11560. * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
  11561. (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
  11562. of in_sdata from current_section_name and current_section_flags.
  11563. * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
  11564. * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
  11565. (MASK_GP_OPT, TARGET_GP_OPT): Delete.
  11566. (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
  11567. (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
  11568. (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
  11569. * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
  11570. (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
  11571. (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
  11572. (override_options): Remove setting of MASK_GPOPT.
  11573. (mips_output_external): Use mips_in_small_data_p to check whether a
  11574. symbol needs an .extern directive. Don't emit such directives for
  11575. TARGET_EXPLICIT_RELOCS.
  11576. (mips_declare_object): Update accordingly.
  11577. (mips_select_rtx_section): Call named_section rather than
  11578. SMALL_DATA_SECTION.
  11579. (mips_select_section): Use default_elf_section_section for everything
  11580. except .text string constants.
  11581. (mips_in_small_data_p): New function.
  11582. (mips_encode_section_info): Remove small data handling.
  11583. (mips_unique_section): Delete.
  11584. (iris6_section_type_flags): New function.
  11585. * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
  11586. 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  11587. PR Target/11453
  11588. * pa.md: Disparage all mtsar constraints.
  11589. (extzv, extv, insv): Don't fail on length of {32|64}.
  11590. 2003-07-08 Zack Weinberg <zack@codesourcery.com>
  11591. * system.h: Poison MAP_CHARACTER.
  11592. * config/i370/i370-protos.h (mvs_map_char): Delete.
  11593. * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
  11594. * config/i370/i370.h (MAP_CHARACTER): Delete definition.
  11595. (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
  11596. 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
  11597. * toplev.c (randomize): Correct call to time().
  11598. 2003-07-08 Jakub Jelinek <jakub@redhat.com>
  11599. * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
  11600. REG_EQUIV notes as well.
  11601. 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
  11602. * doc/md.texi: Fix the description of addmodecc.
  11603. 2003-07-07 Zack Weinberg <zack@codesourcery.com>
  11604. * Makefile.in (top_builddir): Set to "..", not ".".
  11605. (INTLLIBS, INTLDEPS): Delete.
  11606. (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
  11607. (LIBDEPS): Add $(LIBICONV_DEP).
  11608. (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
  11609. (INCLUDES): Replace -I../intl with @INCINTL@.
  11610. ($(top_builddir)/intl/libintl.a): Delete rule.
  11611. (stage2-start, stage3-start, stage4-start, stageprofile-start,
  11612. stagefeedback-start): Use $$ for variable to be evaluated by
  11613. shell, not make.
  11614. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
  11615. HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
  11616. * aclocal.m4: sinclude ../config/progtest.m4. Add
  11617. contents of lcmessage.m4 from gettext distro.
  11618. * configure.in: Check for wchar.h and setlocale. Set
  11619. LIBICONV_DEP to the empty string and substitute it.
  11620. Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
  11621. this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
  11622. not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
  11623. in $LIBINTL, to avoid linking it twice.
  11624. * configure, config.in: Regenerate.
  11625. 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
  11626. * fixinc/mkfixinc.sh: Remove winnt support.
  11627. * fixinc/fixinc.winnt: Delete with extreme prejudice.
  11628. 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
  11629. * Makefile.in: Update.
  11630. * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
  11631. * c.opt: Update documentation.
  11632. * common.opt: Add some help text.
  11633. * opts.c: Include intl.h.
  11634. (wrap_help, print_help): New.
  11635. (find_opt, handle_option, common_handle_option): opt_text now
  11636. contains the '-'. Use print_help to output help.
  11637. * opts.h (struct cl_option): New member "help".
  11638. * opts.sh: Update to handle help text output and to prepend
  11639. options with '-'.
  11640. * toplev.c (display_help): Remove some help text.
  11641. 2003-07-07 David Edelsohn <edelsohn@gnu.org>
  11642. Fariborz Jahanian <fjahanian@apple.com>
  11643. * configure.in: Test for PowerPC mfcr field support in assembler.
  11644. * config.in, configure: Regenderated.
  11645. * config/rs6000/power4.md: Add mfcrf reservation.
  11646. * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
  11647. * config/rs6000/rs6000.c (mfcr_operation): Define.
  11648. (print_operand): Add 'Q' case for mfcrf.
  11649. * config/rs6000/rs6000.h (TARGET_MFCRF): New.
  11650. * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
  11651. (movcc_internal1): Emit optional field operand for mfcr and set
  11652. "type" attribute appropriately.
  11653. (mfcr SCC): Likewise.
  11654. (movesi_from_cr_one): New.
  11655. 2003-07-07 Roger Sayle <roger@eyesopen.com>
  11656. * config/i386/i386.md: Correct check-in of incorrect version.
  11657. 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11658. * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
  11659. adjacent stdio calls.
  11660. * c-decl.c (c_print_identifier): Likewise.
  11661. * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
  11662. * print-rtl.c (print_rtx): Likewise.
  11663. * print-tree.c (print_node_brief, print_node): Likewise.
  11664. * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
  11665. * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
  11666. * config.in, configure: Regenerated.
  11667. 2003-07-07 Roger Sayle <roger@eyesopen.com>
  11668. PR target/10979
  11669. * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
  11670. Changed to define_expand patterns that copy operand[1] to prevent
  11671. it from being clobbered before emitting an atan2?f3_1 insn.
  11672. (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
  11673. patterns that actually specify the behaviour of x87's FPATAN.
  11674. 2003-07-07 Jakub Jelinek <jakub@redhat.com>
  11675. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
  11676. clearing of SYMBOL_FLAG_LOCAL bit.
  11677. If vcall_offset fits into signed 16-bit immediate, use
  11678. one instruction for both addition and load.
  11679. 2003-07-07 Neil Booth <neil@daikokuya.co.uk>
  11680. * opts.c (common_handle_option): Correct handling of the
  11681. -falign- switches that do and don't take an argument.
  11682. 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
  11683. * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
  11684. today.
  11685. (pushhi1_h8300hs): Likewise.
  11686. 2003-07-07 Andreas Jaeger <aj@suse.de>
  11687. * genextract.c: Convert remaining prototypes to ISO C90.
  11688. * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
  11689. * fold-const.c (fold_single_bit_test): Likewise.
  11690. * diagnostic.c (default_diagnostic_finalizer): Likewise.
  11691. * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
  11692. * gengtype.c (write_array): Generate ISO C90 prototypes.
  11693. * genflags.c (gen_proto): Generate ISO C90 prototypes.
  11694. 2003-07-07 Roger Sayle <roger@eyesopen.com>
  11695. PR optimization/11059
  11696. * expr.c (can_store_by_pieces): Return true if length is zero.
  11697. (store_by_pieces): If length is zero and endp is two, abort,
  11698. othwerise, if length is zero and endp is not two, return "to".
  11699. (clear_by_pieces): Do nothing if length is zero.
  11700. (clear_storage): Do nothing if length is zero.
  11701. (store_constructor): Simplify code when size is zero, or the
  11702. target has already been cleared. This avoids emitting a
  11703. blockage instruction when initializing empty structures.
  11704. 2003-07-07 Andreas Jaeger <aj@suse.de>
  11705. * mips-tfile.c: Convert prototypes to ISO C90.
  11706. * mips-tdump.c: Convert prototypes to ISO C90.
  11707. 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
  11708. * rtl.h (emit_line_note): Take a location_t.
  11709. (emit_line_note_force): Remove.
  11710. (set_file_and_line_for_statement): Take a location_t.
  11711. * tree.g (emit_line_note): Take a location_t.
  11712. * emit-rtl.c (emit_line_note): Take a location_t.
  11713. (emit_line_note_force): Remove.
  11714. * function.c (init_function_start): Adjust emit_line_note call.
  11715. (expand_function_end): Use force_next_line_note, not
  11716. emit_line_note_force.
  11717. * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
  11718. * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
  11719. genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
  11720. genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
  11721. genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
  11722. genrtl_continue_stmt, genrtl_switch_stmt,
  11723. genrtl_asm_stmt): Likewise.
  11724. * expr.c (expand_expr): Likewise.
  11725. * integrate.c (expand_inline_function): Likewise.
  11726. * stmt.c (set_file_and_line_for_stmt): Take a location_t.
  11727. (expand_decl_init): Adjust emit_line_note call.
  11728. 2003-07-07 Dale Johannesen <dalej@apple.com>
  11729. * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
  11730. 2003-07-07 Andreas Jaeger <aj@suse.de>
  11731. * config/i386/i386-protos.h: Convert prototypes to ISO C90.
  11732. * config/i386/i386.c: Likewise.
  11733. 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
  11734. * config/h8300/h8300.md: Use gen_int_mode instead of
  11735. GEN_INT (trunc_int_for_mode (...)).
  11736. 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
  11737. * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
  11738. 2 bytes and then subtract 2 from the stack pointer.
  11739. (pushhi1_h8300hs): Likewise.
  11740. 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
  11741. * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
  11742. -frandom-seed.
  11743. * configure: Regenerated.
  11744. * Makefile.in: Remove extraneous comment.
  11745. * toplev.c (randomize): Protect against potential multiple calls.
  11746. * doc/invoke.texi (-frandom-seed): Document use for in coverage
  11747. files.
  11748. 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  11749. Eric Botcazou <ebotcazou@libertysurf.fr>
  11750. PR optimization/11198
  11751. * alias.c (objects_must_conflict_p): Return 1 if the types have
  11752. the same alias set, not if the alias sets only conflict.
  11753. 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
  11754. * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
  11755. (convert_cset): Change inbuf to type ICONV_CONST char.
  11756. * Makefile.in (LIBS): Add LIBICONV.
  11757. * doc/invoke.texi (-falign-functions): Document that
  11758. when n is zero then a machine-dependent default is used.
  11759. (-falign-labels): Document that when n is zero then a
  11760. machine-dependent default is used and that -falign-labels =1
  11761. is equivalent to -fno-align-labels.
  11762. (-falign-loops): Likewise.
  11763. (-falign-jumps): Likewise.
  11764. 2003-07-06 Art Haas <ahaas@airmail.net>
  11765. * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
  11766. initializer syntax.
  11767. 2003-07-06 James E Wilson <wilson@tuliptree.org>
  11768. PR optimization/9812
  11769. * rtl.h (mem_for_const_double): Delete prototype.
  11770. * varasm.c (mem_for_const_double): Delete function.
  11771. * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
  11772. config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
  11773. (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
  11774. * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
  11775. (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
  11776. * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
  11777. comment about confused support for XFmode constants.
  11778. 2003-07-07 Jan Hubicka <jh@suse.cz>
  11779. * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
  11780. 2003-07-06 Kazu Hirata <kazu@cs.umass.edu>
  11781. * config/h8300/h8300.c: Fix comment typos.
  11782. * config/h8300/h8300.md: Likewise.
  11783. * config/i386/athlon.md: Likewise.
  11784. * config/i386/i386.c: Likewise.
  11785. * config/i386/pentium.md: Likewise.
  11786. * config/ia64/ia64.c: Likewise.
  11787. * config/ia64/itanium1.md: Likewise.
  11788. * config/ia64/itanium2.md: Likewise.
  11789. * config/m32r/m32r.md: Likewise.
  11790. * config/m68hc11/m68hc11.c: Likewise.
  11791. * config/mcore/mcore.c: Likewise.
  11792. * config/mips/sr71k.md: Likewise.
  11793. * config/mips/t-iris5-as: Likewise.
  11794. * config/mmix/mmix.h: Likewise.
  11795. * config/ns32k/ns32k.h: Likewise.
  11796. * config/ns32k/NOTES: Fix a typo.
  11797. 2003-07-06 Andreas Jaeger <aj@suse.de>
  11798. * stmt.c: Convert remaining prototypes to ISO C90.
  11799. * cfglayout.c: Likewise.
  11800. * dbxout.c: Likewise.
  11801. * gcc.c: Likewise.
  11802. * genemit.c: Likewise.
  11803. * basic-block.h: Convert prototypes to ISO C90.
  11804. * c-parse.in: Likewise.
  11805. * c-pragma.h: Likewise.
  11806. * c-typeck.c: Likewise.
  11807. * cfghooks.h: Likewise.
  11808. * cfgloopanal.c: Likewise.
  11809. * dbxout.h: Likewise.
  11810. * debug.h: Likewise.
  11811. * dwarf2asm.h: Likewise.
  11812. * gcov.c: Likewise.
  11813. * gengtype-lex.l: Likewise.
  11814. * sched-int.h: Likewise.
  11815. * timevar.c: Likewise.
  11816. 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
  11817. * c-common.h (c_comon_handle_filename,
  11818. c_common_missing_arguement): New.
  11819. * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
  11820. LANG_HOOKS_MISSING_ARGUMENT): New.
  11821. * c-opts.c (missing_arg): Rename c_common_missing_argument,
  11822. update to be an appropriate langhook.
  11823. (c_common_handle_option): Don't handle filenames.
  11824. (c_common_handle_filename): New.
  11825. * hooks.c (hook_void_constcharptr,
  11826. hook_bool_constcharptr_size_t_false): New.
  11827. * hooks.h (hook_void_constcharptr,
  11828. hook_bool_constcharptr_size_t_false): New.
  11829. * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
  11830. LANG_HOOKS_MISSING_ARGUMENT): New.
  11831. (LANG_HOOKS_INITIALIZER): Update.
  11832. * langhooks.h (struct lang_hooks): Add handle_filename and
  11833. missing_argument.
  11834. * opts.c (handle_option): Don't handle filenames here, but ...
  11835. (handle_options): ... here.
  11836. (common_handle_option): Don't handle missing arguments here.
  11837. * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
  11838. LANG_HOOKS_MISSING_ARGUMENT): New.
  11839. 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
  11840. * Makfile.in: Remove traces of mbchar.
  11841. * c-parse.in (MULTIBYTE_CHARS): Remove.
  11842. * config.in (MULTIBYTE_CHARS): Remove.
  11843. * configure: Remove --enable-mbchar.
  11844. * configure.in: Remove --enable-mbchar.
  11845. * mbchar.c, mbchar.h: Remove.
  11846. * system.h: Poison MULTIBYTE_CHARS.
  11847. * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
  11848. * config/linux.h (MULTIBYTE_CHARS): Remove.
  11849. * config/svr4.h (MULTIBYTE_CHARS): Remove.
  11850. * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
  11851. 2003-07-06 Andreas Jaeger <aj@suse.de>
  11852. * varray.c (varray_check_failed): Fix typo.
  11853. * unroll.c: Convert prototypes to ISO C90.
  11854. * varasm.c: Likewise.
  11855. * varray.c: Likewise.
  11856. * varray.h: Likewise.
  11857. * vmsdbgout.c: Likewise.
  11858. * xcoffout.c: Likewise.
  11859. * xcoffout.h: Likewise.
  11860. 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
  11861. * gcov-io.h: Add a local time stamp.
  11862. (struct gcov_info): Add stamp field.
  11863. (gcov_truncate): New.
  11864. * coverage.c (read_counts_file): Skip the stamp.
  11865. (coverage_begin_output): Write the stamp.
  11866. (build_gcov_info): Declare and init the stamp.
  11867. (coverage_finish): Only unlink data file, if stamp is zero.
  11868. * gcov-dump.c (dump_file): Dump the stamp.
  11869. * gcov.c (bbg_stamp): New.
  11870. (release_structures): Clear bbg_stamp.
  11871. (read_graph_file): Read stamp.
  11872. (read_count_file): Check stamp.
  11873. * libgcov.c (gcov_exit): Check stamp and truncate if needed.
  11874. 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
  11875. * tree.h (default_flag_random_seed): Remove.
  11876. * toplev.h (local_tick): Declare.
  11877. * tree.c (flag_random_seed, default_flag_random_seed): Move to
  11878. toplev.c.
  11879. (append_random_chars): Don't call default_flag_random_seed.
  11880. * toplev.c (flag_random_seed): Define here. Set local_tick.
  11881. (local_tick): Define.
  11882. (randomize): New, moved from tree.c.
  11883. (print_switch_values): Adjust.
  11884. (toplev_main): Call randomize.
  11885. 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
  11886. * tree.h (crc32_string): Declare.
  11887. * tree.c (append_random_chars): Remove.
  11888. (crc32_string): New.
  11889. (get_file_function_name_long): Use crc32_string here.
  11890. 2003-07-06 Andreas Jaeger <aj@suse.de>
  11891. * gcc.c: Convert prototypes to ISO C90.
  11892. * gcc.h: Likewise.
  11893. * gcov-dump.c: Likewise.
  11894. * gcov-iov.c: Likewise.
  11895. * gcse.c: Likewise.
  11896. * genattrtab.h: Likewise.
  11897. * ggc.h: Likewise.
  11898. * global.c: Likewise.
  11899. * graph.c: Likewise.
  11900. * graph.h: Likewise.
  11901. * hosthooks.h: Likewise.
  11902. * hooks.h: Likewise.
  11903. * hooks.c: Likewise.
  11904. * hashtable.h: Likewise.
  11905. * hashtable.c: Likewise.
  11906. * haifa-sched.c: Likewise.
  11907. * integrate.h: Likewise.
  11908. * integrate.c: Likewise.
  11909. * input.h: Likewise.
  11910. * ifcvt.c: Likewise.
  11911. * jump.c: Likewise.
  11912. * langhooks-def.h: Likewise. Add extern to prototypes.
  11913. * langhooks.c: Likewise.
  11914. * langhooks.h: Likewise.
  11915. * lcm.c: Likewise.
  11916. * local-alloc.c: Likewise.
  11917. * loop-init.c: Likewise.
  11918. * loop-unroll.c: Likewise.
  11919. * loop-unswitch.c: Likewise.
  11920. * loop.c: Likewise.
  11921. * loop.h: Likewise. Add extern to prototypes.
  11922. * machmode.h: Likewise.
  11923. * main.c: Likewise.
  11924. * mbchar.c: Likewise.
  11925. * mbchar.h: Likewise.
  11926. * mkdeps.c: Likewise.
  11927. * mkdeps.h: Likewise.
  11928. * optabs.c: Likewise.
  11929. * optabs.h: Likewise.
  11930. * output.h: Likewise.
  11931. * gccspec.c: Likwise.
  11932. * postreload.c: Likewise.
  11933. * prefix.c: Likewise.
  11934. * prefix.h: Likewise.
  11935. * print-rtl.c: Likewise.
  11936. * print-tree.c: Likewise.
  11937. * profile.c: Likewise.
  11938. * read-rtl.c: Likewise.
  11939. * real.c: Likewise.
  11940. * real.h: Likewise.
  11941. * recog.c: Likewise.
  11942. * recog.h: Likewise.
  11943. * reg-stack.c: Likewise.
  11944. * regclass.c: Likewise.
  11945. * regmove.c: Likewise.
  11946. * regrename.c: Likewise.
  11947. * regs.h: Likewise.
  11948. * reload.c: Likewise.
  11949. * reload.h: Likewise.
  11950. * reload1.c: Likewise.
  11951. * reorg.c: Likewise.
  11952. * resource.c: Likewise.
  11953. * resource.h: Likewise.
  11954. * rtl-error.c: Likewise.
  11955. * rtl.c: Likewise.
  11956. * rtl.h: Likewise.
  11957. * rtlanal.c: Likewise.
  11958. * sbitmap.c: Likewise.
  11959. * sbitmap.h: Likewise.
  11960. * scan-decls.c: Likewise.
  11961. * scan.c: Likewise.
  11962. * sched-deps.c: Likewise.
  11963. * sched-ebb.c: Likewise.
  11964. * sched-int.h: Likewise.
  11965. * sched-rgn.c: Likewise.
  11966. * sched-vis.c: Likewise.
  11967. * sibcall.c: Likewise.
  11968. * simplify-rtx.c: Likewise.
  11969. * sreal.c: Likewise.
  11970. * sreal.h: Likewise.
  11971. * ssa-ccp.c: Likewise.
  11972. * ssa-dce.c: Likewise.
  11973. * ssa.c: Likewise.
  11974. * ssa.h: Likewise.
  11975. * stack.h: Likewise.
  11976. * stmt.c: Likewise.
  11977. * stor-layout.c: Likewise.
  11978. * stringpool.c: Likewise.
  11979. * target.h: Likewise.
  11980. * timevar.c: Likewise.
  11981. * timevar.h: Likewise.
  11982. * tlink.c: Likewise.
  11983. * tracer.c: Likewise.
  11984. * tree-inline.c: Likewise.
  11985. * tree-inline.h: Likewise.
  11986. * tree.c: Likewise.
  11987. * tree.h: Likewise.
  11988. 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
  11989. * combine.c (nonzero_bits1): Fix a warning.
  11990. 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
  11991. * config/h8300/h8300.c (compute_mov_length): Correct the
  11992. length of loading CONST0_RTX (SFmode).
  11993. 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
  11994. * toplev.c (output_clean_symbol_name): Remove.
  11995. * toplev.h (output_clean_symbol_name): Remove.
  11996. * config/alpha/alpha.c (unicosmk_output_module_name): Use
  11997. lbasename & clean_symbol_name.
  11998. 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
  11999. * ggc.h: Follow spelling conventions.
  12000. * config/i386/i386.c: Likewise.
  12001. * config/i386/winnt.c: Likewise.
  12002. * config/rs6000/rs6000.c: Likewise.
  12003. 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
  12004. * bt-load.c: Fix comment typos.
  12005. * c-incpath.c: Likewise.
  12006. * cfg.c: Likewise.
  12007. * cfgcleanup.c: Likewise.
  12008. * cfgloop.h: Likewise.
  12009. * cfgloopmanip.c: Likewise.
  12010. * cfgrtl.c: Likewise.
  12011. * diagnostic.h: Likewise.
  12012. * dwarfout.c: Likewise.
  12013. * emit-rtl.c: Likewise.
  12014. * et-forest.c: Likewise.
  12015. * et-forest.h: Likewise.
  12016. * expr.c: Likewise.
  12017. * gcse.c: Likewise.
  12018. * genattr.c: Likewise.
  12019. * jump.c: Likewise.
  12020. * langhooks.h: Likewise.
  12021. * local-alloc.c: Likewise.
  12022. * loop-unroll.c: Likewise.
  12023. * loop-unswitch.c: Likewise.
  12024. * ra-build.c: Likewise.
  12025. * regclass.c: Likewise.
  12026. * regmove.c: Likewise.
  12027. * rtl.def: Likewise.
  12028. * rtlanal.c: Likewise.
  12029. * sched-ebb.c: Likewise.
  12030. * sched-rgn.c: Likewise.
  12031. * simplify-rtx.c: Likewise.
  12032. * ssa.c: Likewise.
  12033. * tracer.c: Likewise.
  12034. * tree.c: Likewise.
  12035. 2003-07-05 Zack Weinberg <zack@codesourcery.com>
  12036. * cppcharset.c: Use the correct return type for the fallback iconv
  12037. macro.
  12038. 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  12039. Blame to Jan Hubicka <jh@suse.cz>
  12040. * cfglayout.c (record_effective_endpoints): Split insns before
  12041. first basic block correctly.
  12042. 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  12043. * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
  12044. bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
  12045. if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
  12046. 2003-07-05 Andreas Jaeger <aj@suse.de>
  12047. * genattrtab.c (write_attr_get): Revert part of last patch to
  12048. always write out a prototype.
  12049. * genemit.c (gen_split): Readd lost unused attributes in last
  12050. patch.
  12051. 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  12052. * cfgloopmanip.c (force_single_succ_latches): Force latch to be
  12053. different from header.
  12054. 2003-07-05 Andreas Schwab <schwab@suse.de>
  12055. * config/m68k/m68k.c: Remove code protected by CRDS.
  12056. * config/m68k/m68k.md: Likewise.
  12057. 2003-07-05 Neil Booth <neil@daikokuya.co.uk>
  12058. PR driver/11417
  12059. * c-opts.c (permit_fortran_options): New.
  12060. (c_common_init_options): Accept fortran front end options if
  12061. it looks like we might be preprocessing Fortran.
  12062. (c_common_handle_option): Don't reject switch if permit_fotran_options.
  12063. 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12064. * genattr.c (internal_dfa_insn_code): Output prototype.
  12065. * genattrtab.c: Don't output unnecessary decls, output in ISO C.
  12066. * genautomata.c: Likewise.
  12067. * genconditions.c: Likewise.
  12068. * genemit.c: Likewise.
  12069. * genextract.c: Likewise.
  12070. * gengenrtl.c: Likewise.
  12071. * gengtype.c: Likewise.
  12072. * genopinit.c: Likewise.
  12073. * genoutput.c: Likewise.
  12074. * genpeep.c: Likewise.
  12075. * genrecog.c: Likewise.
  12076. 2003-07-04 Zack Weinberg <zack@codesourcery.com>
  12077. * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
  12078. (struct cpp_options): Add narrow_charset, wide_charset,
  12079. bytes_big_endian fields. Remove EBCDIC field.
  12080. (cpp_init_iconv, cpp_interpret_string): New external interfaces.
  12081. * cpphash.h: Include <iconv.h> if we have it, otherwise
  12082. provide a dummy definition of iconv_t.
  12083. (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
  12084. (_cpp_valid_ucn): Update prototype.
  12085. (_cpp_destroy_iconv): New prototype.
  12086. * doc/cpp.texi: Document character set handling.
  12087. * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
  12088. * doc/extend.texi: Delete entire section on multiline strings.
  12089. Rewrite section on __FUNCTION__ etc now that these are
  12090. variables in C.
  12091. * cppucnid.tab, cppucnid.pl: New files.
  12092. * cppucnid.h: New generated file.
  12093. * cppcharset.c: Include cppucnid.h. Lots of commentary added.
  12094. (iconv_open, iconv, iconv_close): Provide dummy definitions
  12095. if !HAVE_ICONV.
  12096. (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
  12097. _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
  12098. emit_numeric_escape, convert_hex, convert_oct, convert_escape,
  12099. cpp_interpret_string, narrow_str_to_charconst,
  12100. wide_str_to_charconst): New.
  12101. (ucn_valid_in_identifier): Use a binary search through the
  12102. ucnranges table defined in cppucnid.h, not a long chain of if
  12103. statements.
  12104. (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
  12105. character names are only valid in C++ and C99" to a warning.
  12106. Issue the "meaning of \[uU] is different in traditional C"
  12107. warning here. Take care not to let iconv see an invalid UCS
  12108. value if we get a malformed UCN. Issue an error if we don't
  12109. have iconv.
  12110. (cpp_interpret_charconst): Moved here from cpplex.c. Use
  12111. cpp_interpret_string to do the heavy lifting.
  12112. * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
  12113. narrow_charset, wide_charset fields of options structure.
  12114. (cpp_destroy): Call _cpp_destroy_iconv.
  12115. * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
  12116. (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
  12117. (cpp_interpret_charconst): Moved to cppcharset.c.
  12118. * cpplib.c (dequote_string): Delete.
  12119. (interpret_string_notranslate): New.
  12120. (do_line, do_linemarker): Use interpret_string_notranslate.
  12121. * Makefile.in (cppcharset.o): Depend on cppucnid.h.
  12122. * c-common.c (fname_string, combine_strings): Delete.
  12123. * c-common.h (fname_string, combine_strings): Delete prototypes.
  12124. * c-lex.c (ignore_escape_flag): Delete.
  12125. (cb_ident): Use cpp_interpret_string, not lex_string.
  12126. (get_nonpadding_token): New function.
  12127. (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
  12128. Adjust calls to lex_string. Don't write *value twice.
  12129. (lex_string): Now handles string constant concatenation.
  12130. Most of the work handed off to cpp_interpret_string.
  12131. Call fix_string_type here.
  12132. * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
  12133. FUNC_NAME, throughout.
  12134. (OBJC_STRING): New token type.
  12135. (primary:STRING): No need to call fix_string_type here.
  12136. (primary:objc_string): Make that OBJC_STRING.
  12137. (objc_string nonterminal): Delete.
  12138. (yylexname): Delete code to handle fake string constants.
  12139. (yylexstring): Delete entirely.
  12140. (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
  12141. to handle CPP_ATSIGN.
  12142. * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
  12143. * c-opts.c (missing_arg, c_common_handle_option): Handle
  12144. OPT_fexec_charset_ and OPT_fwide_exec_charset_.
  12145. (c_common_init): Set cpp_opts->bytes_big_endian, not
  12146. cpp_opts->EBCDIC. Call cpp_init_iconv.
  12147. (print_help): Document -fexec-charset= and -fexec-wide-charset=.
  12148. (TARGET_EBCDIC): Delete default definition.
  12149. * objc/objc-act.c (build_objc_string_object): No need to
  12150. handle string constant concatenation.
  12151. 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
  12152. * doc/install.texi: Fix typos.
  12153. * doc/invoke.texi: Likewise.
  12154. * doc/tm.texi: Likewise.
  12155. 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
  12156. * config/pa/fptr.c: Fix comment typos.
  12157. * config/pa/pa-64.h: Likewise.
  12158. * config/pa/pa.c: Likewise.
  12159. * config/pa/pa.h: Likewise.
  12160. * config/rs6000/603.md: Likewise.
  12161. * config/rs6000/7xx.md: Likewise.
  12162. * config/rs6000/darwin.h: Likewise.
  12163. * config/rs6000/freebsd.h: Likewise.
  12164. * config/rs6000/rs6000.c: Likewise.
  12165. * config/rs6000/rs6000.md: Likewise.
  12166. * config/rs6000/spe.h: Likewise.
  12167. 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
  12168. * config/s390/2064.md: Change GNU CC to GCC.
  12169. * config/s390/2084.md: Likewise.
  12170. * config/s390/fixdfdi.h: Likewise.
  12171. * config/s390/linux.h: Likewise.
  12172. * config/s390/s390-modes.def: Likewise.
  12173. * config/s390/s390-protos.h: Likewise.
  12174. * config/s390/s390.c: Likewise.
  12175. * config/s390/s390.h: Likewise.
  12176. * config/s390/s390.md: Likewise.
  12177. * config/s390/s390x.h: Likewise.
  12178. 2003-07-04 Jeff Law <law@redhat.com>
  12179. PR c/11428
  12180. * expr.c (do_store_flag): Pass in the correct result type
  12181. when calling fold_single_bit_test.
  12182. * fold-const.c (fold_single_bit_test): Use result_type for the
  12183. result when folding a sign bit test.
  12184. 2003-07-04 Neil Booth <neil@daikokuya.co.uk>
  12185. * opts.c (common_handle_options): Negate sense of -falign- switches.
  12186. 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
  12187. * Makefile.in: Replace PWD with PWD_COMMAND.
  12188. 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  12189. * cfgloopanal.c (count_strange_loop_iterations): New static function.
  12190. (constant_iterations, count_loop_iterations, simple_loop_exit_p):
  12191. Handle strange loops.
  12192. 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
  12193. * install.texi: Even the g77 manpage is derived from
  12194. the full g77 manual.
  12195. 2003-07-04 Zack Weinberg <zack@codesourcery.com>
  12196. * ABOUT-NLS: Delete.
  12197. * intl: Delete entire directory.
  12198. * aclocal.m4: Include ../config/gettext.m4. Delete
  12199. AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
  12200. AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
  12201. * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
  12202. Remove intl/Makefile from all_outputs.
  12203. * configure, config.in: Regenerate.
  12204. * Makefile.in: Expunge all references to intl subdirectory.
  12205. Add -I../intl to INCLUDES.
  12206. * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
  12207. 2003-07-04 Roger Sayle <roger@eyesopen.com>
  12208. * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
  12209. * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
  12210. 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
  12211. PR c++/5287, PR c++/7910, PR c++/11021
  12212. * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
  12213. dllimport attribute if function is defined at declaration, but
  12214. report error instead. Likewise for dllimport'd variable
  12215. definitions. Set implicit TREE_PUBLIC for dllimport'd variables
  12216. declared within functions, Report error if dllimport or dllexport
  12217. symbol is not global.
  12218. (i386_pe_dllimport_p): Ignore dllimport attribute of functions
  12219. if defined after declaration or if inlined. Don't allow definition
  12220. of static data members of C++ classes. Don't dllimport virtual
  12221. methods.
  12222. (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
  12223. (i386_pe_mark_dllimport): Remove unnecessary checks.
  12224. (i386_pe_encode_section_info): Warn if the dllimport attribute
  12225. and symbol prefix have been instantiated and then overridden.
  12226. * doc/extend.texi: Document dllimport and dllexport attributes.
  12227. * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
  12228. 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
  12229. * config/kaos.h (CPP_PREDEFINES): Delete.
  12230. (TARGET_OS_CPP_BUILTINS): New.
  12231. 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12232. * c-aux-info.c: Include toplev.h after c-tree.h.
  12233. * c-common.c: Likewise.
  12234. (GCC_DIAG_STYLE): Undef.
  12235. * c-semantics.c (GCC_DIAG_STYLE): Define.
  12236. * c-tree.h (GCC_DIAG_STYLE): Likewise.
  12237. * diagnostic.h (inform): Move prototype to toplev.h.
  12238. * jump.c: Include diagnostic.h before toplev.h.
  12239. * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
  12240. (warning, error, fatal_error, pedwarn, sorry, inform,
  12241. error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
  12242. 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  12243. * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
  12244. at all if edge is not specified.
  12245. (can_copy_bbs_p, copy_bbs): New.
  12246. * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
  12247. * cfgloop.c (get_loop_body): Comment more precisely.
  12248. * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
  12249. (scale_bbs_frequencies): Fix comment typo.
  12250. (can_duplicate_loop_p): Use can_copy_bbs_p.
  12251. (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
  12252. 2003-07-03 Devang Patel <dpatel@apple.com>
  12253. * c-opts.c (c_common_parse_file): Remove extra
  12254. debug_hooks->start_source_file call.
  12255. 2003-07-03 Roger Sayle <roger@eyesopen.com>
  12256. * real.c (real_trunc, real_floor, real_ceil): New functions
  12257. to implement trunc, floor and ceil respectively.
  12258. * real.h (real_trunc, real_floor, real_ceil): Prototype here.
  12259. * builtins.c (integer_valued_real_p): New function to test if
  12260. a floating point expression has an integer valued result.
  12261. (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
  12262. foo(x) where foo is an integer rounding function. Similarly,
  12263. optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
  12264. (double)(int)x when both foo and bar are integer rounding
  12265. functions and we don't need to honor errno.
  12266. (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
  12267. New functions to fold trunc, floor and ceil.
  12268. (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
  12269. fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
  12270. to fold BUILT_IN_CEIL*.
  12271. * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
  12272. the remaining integer rounding functions.
  12273. 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
  12274. * config/sparc/sparc.c (function_arg_partial_nregs): Use
  12275. SPARC_INT_ARG_MAX to determine where to split unnamed
  12276. complex FP arguments.
  12277. 2003-07-03 Jan Hubicka <jh@suse.cz>
  12278. * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
  12279. * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
  12280. (merge_blocks_move_predecessor_nojumps,
  12281. merge_blocks_move_successor_nojumps): Use merge_blocks.
  12282. (try_optimize_cfg): Use merge_blocks_move.
  12283. * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
  12284. (merge_blocks_nomove): Rename to rtl_merge_blocks.
  12285. (cfg_layout_create_basic_block): New.
  12286. (rtl_can_merge_blocks): New.
  12287. (cfg_layout_split_block): Do not alloc aux by hand.
  12288. * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
  12289. merge_blocks.
  12290. (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
  12291. * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
  12292. * cfgloopmanip.c (loop_split_edge_with): Likewise.
  12293. * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
  12294. * basic-block.h (basic_block_def): Add field 'rbi'.
  12295. * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
  12296. find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
  12297. * cfg.c (entry_exit_blocks): Add new field.
  12298. * cfglayout.c: Include alloc-pool.h;
  12299. (cfg_layout_pool): New.
  12300. (record_effective_endpoints, fixup_reorder_chain,
  12301. fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
  12302. of rbi.
  12303. (cfg_layout_initialize_rbi): New function.
  12304. (cfg_layout_initialize): Use it.
  12305. (cfg_layout_finalize): Clear rbi fields.
  12306. * cfglayout.h (RBI): Kill.
  12307. (cfg_layout_initialize_rbi): Declare.
  12308. * cfgloopmanip.c (copy_bbs): Use rbi.
  12309. (record_exit_edges): Likewise.
  12310. (duplicate_loop_to_header_edge): Likewise.
  12311. * cfgrtl.c (cfg_layout_create_basic_block): Use
  12312. cfg_layout_initialize_rbi.
  12313. (cfg_layout_split_block): Use rbi.
  12314. (cfg_layout_delete_block): Likewise.
  12315. * loop-init.c (loop_optimizer_finalize): Likewise.
  12316. * loop-unswitch.c (unswitch_loop): Likewise.
  12317. * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
  12318. * cfgrtl.c: Update comments.
  12319. (try_redirect_by_replacing_jump): New argument.
  12320. (redirect_branch_edge): Break out from ...
  12321. (rtl_redirect_edge_and_branch): ... this one.
  12322. (update_cfg_after_block_merging): Break out from ...
  12323. (rtl_merge_blocks): ... this one.
  12324. (cfg_layout_split_edge): New.
  12325. (cfg_layout_merge_blocks): New.
  12326. (cfg_layout_can_merge_blocks_p): New.
  12327. (cfg_layout_redirect_edge_and_branch): Reorganize.
  12328. (cfg_layout_rtl_cfg_hooks): Fill in.
  12329. (cfg_layout_delete_block): Kill barriers.
  12330. * cfganal.c (can_fallthru): Deal with exit blocks
  12331. * cfglayout.c (cfg_layout_function_header): New function
  12332. (record_effective_endpoints): Record function header.
  12333. (fixup_reorder_chain): Fixup dead jumptables; place header
  12334. * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
  12335. * bb-reorder.c (cfg_layout_initialize): Update call.
  12336. * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
  12337. edges in cfglayout mode.
  12338. * cfglayout.c (cleanup_unconditional_jumps): Kill.
  12339. (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
  12340. * cfglayout.h (cfg_layout_initialize): Update prototype.
  12341. * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
  12342. * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
  12343. * flow.c (propagate_block): Do not crash when basic block ends
  12344. by first insn in the chain.
  12345. * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
  12346. do loop discovery.
  12347. * tracer.c (tracer): Update call of cfg_layout_initialize.
  12348. 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12349. * Makefile.in: Use dependency variables in lieu of explicit
  12350. files throughout.
  12351. 2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
  12352. * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
  12353. * tree.h: ...to here.
  12354. 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
  12355. * config/s390/2064.md: Fix comment typos.
  12356. * config/s390/2084.md: Likewise.
  12357. * config/s390/s390.c: Likewise.
  12358. * config/s390/s390.md: Likewise.
  12359. * config/sh/sh.c: Likewise.
  12360. * config/sh/sh.h: Likewise.
  12361. * config/sh/sh.md: Likewise.
  12362. * config/sparc/sparc.c: Likewise.
  12363. * config/sparc/sparc.h: Likewise.
  12364. * config/sparc/sparc.md: Likewise.
  12365. * config/stormy16/stormy16.c: Likewise.
  12366. * config/stormy16/stormy16.h: Likewise.
  12367. * config/stormy16/stormy-abi: Fix a typo.
  12368. 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
  12369. * Makefile.in (ifcvt.o): Depend on OPTABS_H.
  12370. 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12371. * config/mips/mips.h (save_argv): Delete.
  12372. 2003-07-03 Roger Sayle <roger@eyesopen.com>
  12373. PR target/10700
  12374. * fold-const.c (extract_muldiv_1): There's nothing that can be done
  12375. if the expression is a SAVE_EXPR.
  12376. 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
  12377. * config/m32r/m32r.c: Fix comment typos.
  12378. * config/m68hc11/m68hc11.c: Likewise.
  12379. * config/m68hc11/m68hc11.h: Likewise.
  12380. * config/m68k/m68k.c: Likewise.
  12381. * config/mcore/mcore.c: Likewise.
  12382. * config/mcore/mcore.h: Likewise.
  12383. * config/mcore/mcore.md: Likewise.
  12384. * config/mips/mips.c: Likewise.
  12385. * config/mips/mips.h: Likewise.
  12386. * config/mips/mips.md: Likewise.
  12387. * config/mips/netbsd.h: Likewise.
  12388. * config/mn10300/mn10300.c: Likewise.
  12389. 2003-07-03 Andreas Schwab <schwab@suse.de>
  12390. * dbxout.c (pending_bincls): Move decl down inside
  12391. DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
  12392. 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
  12393. * rtl.h (NOTE_DATA): Refer to whole union.
  12394. * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
  12395. 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
  12396. PR optimization/11381
  12397. * simplify-rtx.c (simplify_relational_operation): Check that
  12398. two equal operands have no side-effects before simplifying
  12399. the comparison.
  12400. 2003-07-02 Jeff Law <law@redhat.com>
  12401. * expr.c (do_store_flag): Remove special case folding for
  12402. single bit tests. Instead call back into the commonized folder
  12403. routine.
  12404. * fold-const.c (fold_single_bit_test): New function, mostly
  12405. extracted from do_store_flag, with an additional case extracted
  12406. from fold.
  12407. (fold): Call fold_single_bit_test appropriately.
  12408. * tree.h (fold_single_bit_test): Prototype.
  12409. 2003-07-02 Zack Weinberg <zack@codesourcery.com>
  12410. * system.h: Include filenames.h.
  12411. (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
  12412. (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
  12413. define based on HAVE_DOS_BASED_FILE_SYSTEM.
  12414. * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
  12415. * config/i386/xm-mingw32.h: Don't define
  12416. HAVE_DOS_BASED_FILE_SYSTEM,
  12417. DIR_SEPARATOR, or DIR_SEPARATOR_2.
  12418. * doc/hostconfig.texi: Update to match.
  12419. * cppfiles.c, gcc.c, gensupport.c, protoize.c,
  12420. config/i386/cygwin.h:
  12421. Use IS_ABSOLUTE_PATH throughout.
  12422. * gcc.c (DIR_UP): Delete, unused.
  12423. * protoize.c (IS_SAME_PATH): Define in terms of
  12424. FILENAME_CMP.
  12425. (is_abspath): Delete.
  12426. 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
  12427. * config/i386/emmintrin.h: Fix comment typos.
  12428. * config/i386/i386.c: Likewise.
  12429. * config/i386/i386.h: Likewise.
  12430. * config/i386/sco5.h: Likewise.
  12431. * config/ia64/ia64.c: Likewise.
  12432. * config/ia64/itanium2.md: Likewise.
  12433. 2003-07-02 H.J. Lu <hongjiu.lu@intel.com>
  12434. * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
  12435. DBX_USE_BINCL.
  12436. (emit_bincl_stab): Same.
  12437. (emit_pending_bincls): Same.
  12438. 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
  12439. * config/h8300/h8300.c (compute_mov_length): Fix the length of
  12440. loading CONST0_RTX (SFmode).
  12441. * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
  12442. 'G' to CONST0_RTX (SFmode).
  12443. * config/h8300/h8300.md (movsf_h8300): Change the first
  12444. constraint to 'G'.
  12445. (movsf_h8300h): Likewise.
  12446. 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
  12447. * c-common.h (c_common_init_options): New prototype.
  12448. * c-opts.c (deferred_size): Remove.
  12449. (defer_opt): Array is now pre-allocated.
  12450. (c_common_init_options): Pre-allocate deferred_opts. Make
  12451. lang_flags unsigned.
  12452. (push_command_line_options): Free deferred_opts.
  12453. * hooks.c (hook_uint_uint_constcharptrptr_0): New.
  12454. * hooks.h (hook_uint_uint_constcharptrptr_0): New.
  12455. * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
  12456. * langhooks.h (struct lang_hooks): New prototype for init_options.
  12457. * main.c (main): Cast argv.
  12458. * opts.c (handle_option, handle_options): Update prototypes.
  12459. (decode_options): save_argc, save_argv are not global. Constify.
  12460. * opts.h (decode_options): New prototype.
  12461. * toplev.c (general_init): New protoype.
  12462. (save_argv): Make static.
  12463. (save_argc): Remove.
  12464. (print_switch_values, general_init): Constify.
  12465. (toplev_main): Save argv.
  12466. * toplev.h (toplev_main): Update prototype.
  12467. (save_argc, save_argv): Remove.
  12468. 2003-07-02 David Edelsohn <edelsohn@gnu.org>
  12469. * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
  12470. (emit_bincl_stab): Same.
  12471. (emit_pending_bincls): Same.
  12472. 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
  12473. PR c++/11072
  12474. * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
  12475. 2003-07-02 Andreas Schwab <schwab@suse.de>
  12476. * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
  12477. 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
  12478. PR optimization/11210
  12479. * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
  12480. about the behaviour with regard to bitfields.
  12481. * fold-const (decode_field_reference): Record outermost type in
  12482. case the expression is a NOP. Strip all NOPs. Set the signedness
  12483. to that of the outermost type (if any) when the bitsize is equal
  12484. to the size of the type.
  12485. 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
  12486. * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
  12487. (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
  12488. (adddi3_internal_3, addsi3_internal_2): Likewise.
  12489. 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
  12490. * config/mips/mips.c (machine_function): Add new fields:
  12491. ignore_hazard_length_p and all_noreorder_p.
  12492. (mips_flag_delayed_branch): New variable.
  12493. (override_options): Treat '/' as an operand punctuation character.
  12494. Set up mips_flag_delayed_branch.
  12495. (print_operand): Handle '/'.
  12496. (mips_output_function_prologue): Put the whole function in
  12497. .set noreorder and .set nomacro if all_noreorder_p is true.
  12498. (mips_output_function_epilogue): End the noreorder/nomacro sequence.
  12499. (mips16_optimize_gp): Remove "first insn" parameter.
  12500. (mips16_lay_out_constants): New function, split out from mips_reorg.
  12501. (mips_avoid_hazard, mips_avoid_hazards): New functions.
  12502. (mips_reorg): For mips16 code, call mips16_lay_out_constant
  12503. and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
  12504. do delayed-branch scheduling followed by hazard detection.
  12505. (mips_adjust_insn_length): Only account for hazards if
  12506. !ignore_hazard_length_p.
  12507. (mips_output_load_label): Add a nop to the o32 sequence if
  12508. the target suffers from load delays.
  12509. (mips_output_conditional_branch): Add %/ to the end of branches.
  12510. (mips_output_division): Fill the branch delay slot with %#.
  12511. * config/mips/mips.md: Remove redundant '%*' from mips16 branch
  12512. instructions. End all other %* branches with %/.
  12513. (ffssi2, ffsdi2): Fix lengths.
  12514. (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
  12515. (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
  12516. (fix_truncsfsi2_macro): Likewise.
  12517. (mov_lwl): Set hazard to "none".
  12518. (ashldi3_internal): Fill the branch delay slot with %#.
  12519. (ashrdi3_internal, lshrdi3_internal): Likewise.
  12520. (exception_receiver): Explicitly set $28.
  12521. (hazard_nop): New pattern.
  12522. 2003-07-02 Jan Hubicka <jh@suse.cz>
  12523. * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
  12524. before calling tree_inlinable_function_p.
  12525. 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  12526. * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
  12527. <internal/stdio_core.h> too.
  12528. (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
  12529. <internal/wchar_core.h> too.
  12530. Substitute va_list uses in inline definition.
  12531. * fixinc/fixincl.x: Regenerate.
  12532. 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  12533. * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
  12534. Undef before redefinition.
  12535. (LABEL_AFTER_LOC): Likewise.
  12536. (DEFAULT_SIGNED_CHAR): Likewise.
  12537. (ASM_OUTPUT_ASCII): Moved here from iris4.h.
  12538. Fix IRIX spelling.
  12539. * config/mips/iris3.h: Remove, unused.
  12540. * config/mips/iris4.h: Likewise.
  12541. * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
  12542. * config/mips/iris5.h (TARGET_DEFAULT): Move ...
  12543. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
  12544. target_cpu_default.
  12545. * config/mips/iris5.h: Move explicit includes ...
  12546. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
  12547. * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
  12548. * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
  12549. tm_defines.
  12550. * config/mips/iris6.h (TARGET_DEFAULT): Move ...
  12551. * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
  12552. target_cpu_default.
  12553. * config/mips/iris6.h: Fix IRIX spelling.
  12554. (MULTILIB_DEFAULTS): Undef before redefinition.
  12555. * config/mips/iris6.h: Move explicit includes ...
  12556. * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
  12557. 2003-07-02 Jan Hubicka <jh@suse.cz>
  12558. * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
  12559. cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
  12560. Use next_needed field instead of aux to maintain the queue.
  12561. * cgraph.h (cgraph_node): Add next_needed.
  12562. (cgraph_varpool_node): Add next_needed; remove aux.
  12563. * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
  12564. 2003-07-02 Jan Hubicka <jh@suse.cz>
  12565. * cgraphunit.c (cgraph_finalize_function): Set finalized.
  12566. (cgraph_finalize_function): Do not examine inlinablility.
  12567. (cgraph_finalize_compilation_unit): Do it here.
  12568. * cgraph.h (cgraph_local_info): Add finalized field.
  12569. 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  12570. * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
  12571. (gt_pch_restore): Likewise.
  12572. 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
  12573. * config/alpha/alpha.c: Fix comment typos.
  12574. * config/alpha/elf.h: Likewise.
  12575. * config/arm/arm.c: Likewise.
  12576. * config/arm/arm.h: Likewise.
  12577. * config/arm/arm.md: Likewise.
  12578. * config/arm/t-arm-coff: Likewise.
  12579. * config/arm/t-strongarm-pe: Likewise.
  12580. * config/arm/xscale-elf.h: Likewise.
  12581. * config/avr/avr.h: Likewise.
  12582. 2003-07-01 Jeff Law <law@redhat.com>
  12583. * stmt.c (any_pending_cleanups): Remove another redundant test.
  12584. 2003-07-01 David Edelsohn <edelsohn@gnu.org>
  12585. J"orn Rennecke <joern.rennecke@superh.com>
  12586. * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
  12587. for MEM case.
  12588. 2003-07-01 Devang Patel <dpatel@apple.com>
  12589. * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
  12590. (binclstatus): New.
  12591. (struct dbx_file): New members - bincl_status, pending_bincl_name and
  12592. prev.
  12593. (pending_bincls): New.
  12594. (dbxout_init): Initialize new dbx_file members.
  12595. (dbxout_start_source_file): Same.
  12596. (emit_bincl_stab): New function.
  12597. (emit_pending_bincls): Same.
  12598. (emit_pending_bincls_if_required): Same.
  12599. (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
  12600. processed.
  12601. (dbxout_begin_block): Emit pending BINCL stabs.
  12602. (dbxout_end_block): Same.
  12603. (dbxout_function_decl): Same.
  12604. (dbxout_continue): Same.
  12605. (dbxout_type): Same.
  12606. (dbxout_class_name_qualifiers): Same.
  12607. (dbxout_symbol): Same.
  12608. (dbxout_symbol_location): Same.
  12609. (dbxout_parms): Same.
  12610. 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12611. * c-semantics.c (genrtl_case_label): Fix format specifier bug.
  12612. * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
  12613. 2003-07-01 Andreas Jaeger <aj@suse.de>
  12614. * fold-const.c: Convert prototypes to ISO C90.
  12615. * function.c: Likewise.
  12616. * function.h: Likewise.
  12617. 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
  12618. * doc/contrib.texi: Fix typos.
  12619. * doc/invoke.texi: Likewise.
  12620. * doc/passes.texi: Likewise.
  12621. * doc/sourcebuild.texi: Likewise.
  12622. * doc/tm.texi: Likewise.
  12623. 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
  12624. * basic-block.h: Fix comment typos.
  12625. * bb-reorder.c: Likewise.
  12626. * c-format.c: Likewise.
  12627. * cfgcleanup.c: Likewise.
  12628. * cfghooks.h: Likewise.
  12629. * cfgloop.c: Likewise.
  12630. * cfgloopmanip.c: Likewise.
  12631. * cfgrtl.c: Likewise.
  12632. * cgraph.h: Likewise.
  12633. * cgraphunit.c: Likewise.
  12634. * combine.c: Likewise.
  12635. * convert.c: Likewise.
  12636. * dbxout.c: Likewise.
  12637. * df.c: Likewise.
  12638. * df.h: Likewise.
  12639. * diagnostic.c: Likewise.
  12640. * dwarf2out.c: Likewise.
  12641. * et-forest.h: Likewise.
  12642. * flow.c: Likewise.
  12643. * fold-const.c: Likewise.
  12644. * function.h: Likewise.
  12645. * gcov-io.h: Likewise.
  12646. * gcov.c: Likewise.
  12647. * gcse.c: Likewise.
  12648. * genautomata.c: Likewise.
  12649. * ggc-common.c: Likewise.
  12650. * ggc-page.c: Likewise.
  12651. * loop-unroll.c: Likewise.
  12652. * loop-unswitch.c: Likewise.
  12653. * loop.c: Likewise.
  12654. * mips-tfile.c: Likewise.
  12655. * optabs.c: Likewise.
  12656. * ra-build.c: Likewise.
  12657. * ra-colorize.c: Likewise.
  12658. * ra-rewrite.c: Likewise.
  12659. * ra.h: Likewise.
  12660. * regmove.c: Likewise.
  12661. * reload.c: Likewise.
  12662. * rtlanal.c: Likewise.
  12663. * sched-ebb.c: Likewise.
  12664. * sched-int.h: Likewise.
  12665. * sched-vis.c: Likewise.
  12666. * sreal.c: Likewise.
  12667. * ssa-ccp.c: Likewise.
  12668. * ssa.c: Likewise.
  12669. * toplev.c: Likewise.
  12670. * tree-inline.c: Likewise.
  12671. * value-prof.c: Likewise.
  12672. * value-prof.h: Likewise.
  12673. 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
  12674. * rtl.h (emit_line_note_after): Remove.
  12675. (emit_note_copy_after, emit_note_copy): New.
  12676. * emit-rtl.c (reorder_insns_with_line_notes): Replace
  12677. emit_line_note_after with emit_note_copy_after.
  12678. (emit_insn_after_with_line_notes): Likewise.
  12679. (emit_line_note_after): Kill.
  12680. (emit_note_copy_after): New.
  12681. (emit_note_copy): New.
  12682. * function.c (emit_return_into_block): Use emit_note_copy_after.
  12683. (thread_prologue_and_epilogue_insns): Likewise.
  12684. * integrate.c (expand_inline_function): Use emit_note_copy.
  12685. (copy_insn_list): Likewise.
  12686. * unroll.c (copy_loop_body): Likewise.
  12687. * cfglayout.c (duplicate_insn_chain): Likewise.
  12688. 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
  12689. * c-tree.h (define_label): Replace filename and lineno arguments
  12690. with a location_t.
  12691. * c-decl.c (poplevel): Adjust define_label call.
  12692. (pop_label_level): Likewise.
  12693. (define_label): Replace filename and lineno arguments with a
  12694. location_t.
  12695. (store_parm_decls): Use DECL_SOURCE_LOCATION.
  12696. * c-parse.in (label): Adjust define_label call.
  12697. 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
  12698. * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
  12699. config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
  12700. config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
  12701. config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
  12702. config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
  12703. 2003-07-01 Andreas Jaeger <aj@suse.de>
  12704. * final.c: Convert prototypes to ISO C90.
  12705. * flow.c: Likewise.
  12706. * flags.h: Likewise.
  12707. * gcov-io.c: Likewise.
  12708. * gcov-io.h: Likewise.
  12709. 2003-06-30 Bruno Haible <bruno@clisp.org>
  12710. PR middle-end/6578
  12711. * libgcc2.c (__subvsi3): Remove simplification that would not work
  12712. when subtracting -0x80000000.
  12713. (__subvdi3): Remove simplification that would return a wrong result.
  12714. (__mulvsi3): Fix overflow check.
  12715. (__absvdi2): Fix simplification that would return a wrong result.
  12716. (__mulvdi3): Fix overflow check.
  12717. 2003-06-30 Jeff Law <law@redhat.com>
  12718. * stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it
  12719. was always passed in the value '1'. Simplify body appropriately.
  12720. * tree.h (any_pending_cleanups): Corresponding changes.
  12721. * calls.c: (expand_call): Corresponding changes.
  12722. 2003-06-30 Kazu Hirata <kazu@cs.umass.edu>
  12723. * combine.c (distribute_notes): Don't bother REG_WAS_0.
  12724. * cse.c (cse_insn): Likewise.
  12725. * final.c (final_scan_insn): Likewise.
  12726. * jump.c (duplicate_loop_exit_test): Likewise.
  12727. * rtl.c (reg_note_name): Remove REG_WAS_0.
  12728. * rtl.h (REG_WAS_0): Remove.
  12729. * unroll.c (final_reg_note_copy): Don't bother REG_WAS_0.
  12730. * config/avr/avr.c (output_movqi): Don't use reg_was_0.
  12731. (output_movhi): Likewise.
  12732. (output_movsisf): Likewise.
  12733. (reg_was_0): Remove.
  12734. * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't use
  12735. REG_WAS_0.
  12736. (m68hc11_gen_movqi): Likewise.
  12737. * config/vax/vax-protos.h: Remove the prototype for
  12738. reg_was_0_p.
  12739. * config/vax/vax.c (follows_p): Remove.
  12740. (reg_was_0_p): Likewise.
  12741. * config/vax/vax.md (movsi): Don't use reg_was_0_p.
  12742. (movhi): Likewise.
  12743. (movqi): Likewise.
  12744. * doc/rtl.texi (REG_WAS_0): Remove.
  12745. 2003-06-30 Mark Mitchell <mark@codesourcery.com>
  12746. * config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.
  12747. 2003-06-30 Bob Wilson <bob.wilson@acm.org>
  12748. * config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
  12749. top-level include directory.
  12750. * config/xtensa/lib2funcs.S: Likewise.
  12751. * config/xtensa/xtensa.h: Likewise.
  12752. * config/xtensa/xtensa-config.h: Remove.
  12753. * doc/install.texi: Update location of "xtensa-config.h" header.
  12754. 2003-06-30 Ulrich Weigand <uweigand@de.ibm.com>
  12755. * config/s390/s390.c (s390_extra_constraint): New function.
  12756. * config/s390/s390-protos.h (s390_extra_constraint): Declare it.
  12757. * config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
  12758. * config/s390/s390.c (q_constraint): Remove.
  12759. * config/s390/s390-protos.h (q_constraint): Likewise.
  12760. * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'R', 'S', 'T'.
  12761. (EXTRA_ADDRESS_CONSTRAINT): Define.
  12762. * config/s390/s390.c (larl_operand): Refuse out-of-range operands.
  12763. (DISP_IN_RANGE, s390_short_displacement): New.
  12764. (legitimate_reload_operand_p): Support long displacements.
  12765. (s390_decompose_address): Likewise.
  12766. (legitimize_pic_address): Likewise.
  12767. (legitimize_address): Likewise.
  12768. (s390_fixup_clobbered_return_reg): Likewise.
  12769. (s390_emit_prologue, s390_emit_epilogue): Likewise.
  12770. (s390_output_mi_thunk): Likewise.
  12771. * config/s390/s390.md (attr "op_type"): Add "RXY", "RSY", "SIY".
  12772. (attr "atype", attr "length"): Add defaults for new op_types.
  12773. (all insns): Change op_type attribute where appropriate.
  12774. ("*movdi_lay", "*movsi_lay", "*extendqidi2", "*extendqisi2"): New insns.
  12775. ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", *tmqi_mem",
  12776. "*tstsi", "*tstsi_cconly", "*tsthiCCT", "*tsthiCCT_cconly",
  12777. "*tsthi", "*tsthi_cconly", "*tstqiCCT", "*tstqiCCT_cconly",
  12778. "*tstqi", "*tstqi_cconly", "*cmpsi_ccs_sign", "*cmpsi_ccs",
  12779. "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu", "*cli",
  12780. "movti", "*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
  12781. "movqi", "*movstrictqi", "*movstricthi", "movstrictsi",
  12782. "*movdf_64", "*movdf_31", "*movsf",
  12783. "*load_multiple_si", "*store_multiple_di",
  12784. "*sethighqisi", "*sethighhisi", "*sethighqidi_31", "*extendhisi2",
  12785. "*la_64", "*la_31", "*la_31_and", "force_la_31",
  12786. "*addsi3_carry1_cc", *addsi3_carry1_cconly",
  12787. "*addsi3_carry2_cc", *addsi3_carry2_cconly",
  12788. "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2",
  12789. "*addsi3_sign", "*addsi3_sub", "addsi3",
  12790. "*subsi3_borrow_cc", "*subsi3_borrow_cconly", "*subsi3_cc",
  12791. "*subsi3_cconly", "*subsi3_sign", "*subsi3_sub", "subsi3",
  12792. "mulsi3"
  12793. "*andsi3_cc", "*andsi3_cconly", "andsi3",
  12794. "*andqi3_ss", "*andqi3_ss_inv",
  12795. "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
  12796. "*iorqi3_ss", "*iorqi3_ss_inv",
  12797. "*xorsi3_cc", "*xorsi3_cconly", "xorsi3",
  12798. "*xorqi3_ss", "*xorqi3_ss_inv",
  12799. "*tls_load_31"): Add alternatives for long-displacement instructions.
  12800. ("*cmpdf_ccs", "*cmpdf_ccs_ibm", "*cmpsf_ccs", "*cmpsf_ccs_ibm",
  12801. "*load_multiple_di", "*store_multiple_di",
  12802. "*sethighqidi_64", "*zero_extendhisi2_31",
  12803. "truncdfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm",
  12804. "adddf3", "*adddf3", "*adddf3_ibm",
  12805. "addsf3", "*addsf3", "*addsf3_ibm",
  12806. "subdf3", "*subdf3", "*subdf3_ibm",
  12807. "subsf3", "*subsf3", "*subsf3_ibm",
  12808. "mulsi_6432", "divmoddisi3",
  12809. "muldf3", "*muldf3", "*muldf3_ibm",
  12810. "mulsf3", "*mulsf3", "*mulsf3_ibm",
  12811. "divdf3", "*divdf3", "*divdf3_ibm",
  12812. "divsf3", "div*sf3", "*divsf3_ibm",
  12813. "sqrtdf2", "sqrtsf2",
  12814. "*cjump_long", "*icjump_long", "indirect_jump", "casesi_jump",
  12815. "*doloop_si_long", "*doloop_di_long", "bas_64", "bas_31",
  12816. "bas_r_64", "bas_r_31", "bas_tls_31", "bas_tls_64"): Adapt memory
  12817. and address constraints for instructions that do not accept long
  12818. displacements.
  12819. 2003-06-30 Hartmut Penner <hpenner@de.ibm.com>
  12820. Ulrich Weigand <uweigand@de.ibm.com>
  12821. * config/s390/2084.md: New file.
  12822. * config/s390/s390.md: Include it.
  12823. * config/s390/s390.c (s390_adjust_priority): New function.
  12824. (TARGET_SCHED_ADJUST_PRIORITY): Define.
  12825. (s390_first_cycle_multipass_dfa_lookahead): New function.
  12826. (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
  12827. (s390_sched_reorder2): New function.
  12828. (TARGET_SCHED_REORDER2): Define.
  12829. (s390_adjust_cost): Support PROCESSOR_2084_Z990 cpu type.
  12830. (s390_issue_rate): Likewise.
  12831. Mon Jun 30 23:47:33 CEST 2003 Jan Hubicka <jh@suse.cz>
  12832. * Makefile.in (GTFILES): Add cgraph.h.
  12833. * cgraph.c (known_decls): Remove.
  12834. (cgraph_hash, cgraph_nodes, cgraph_nodes_queue,
  12835. cgraph_varpool_hash, cgraph_varpool_nodes_queue): GTYize.
  12836. (cgraph_node): Do not allocate known_decls; use polutate hashtable.
  12837. (cgraph_varpool_node): Likewise; add next pointer.
  12838. (cgraph_varpool_nodes): New static variable.
  12839. * cgraph.h (cgraph_local_info, cgraph_global_info, cgraph_rtl_info,
  12840. cgraph_node, cgraph_edge, cgraph_varpool_node, cgraph_nodes, cgraph_n_nodes,
  12841. cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): GTYize.
  12842. * gengtype.c (open_base_files): Include cgraph.h
  12843. 2003-06-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  12844. * Changelog: Remove ">>>>>>>" from previous change.
  12845. 2003-06-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  12846. * config/cris/cris.c: Fix spelling for "testcase".
  12847. * config/cris/cris.h: Likewise.
  12848. * config/cris/cris.md: Likewise.
  12849. * config/mmix/crti.asm: Likewise.
  12850. * config/mmix/mmix.h: Likewise.
  12851. * config/mmix/mmix.md: Likewise.
  12852. 2003-06-30 Kazu Hirata <kazu@cs.umass.edu>
  12853. * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
  12854. 1.
  12855. 2003-06-30 Ulrich Weigand <uweigand@de.ibm.com>
  12856. * config.gcc [s390*-*-*]: Support --with-arch, --with-tune, and
  12857. --with-mode configure options.
  12858. * config/s390/s390.h (OPTION_DEFAULT_SPECS): Define.
  12859. (DRIVER_SELF_SPECS): Define.
  12860. * config/s390/linux.h (ASM_SPEC): Pass architecture mode and cpu
  12861. architecture to assembler.
  12862. (LINK_SPEC): Merge 31-bit and 64-bit variants.
  12863. (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC, EXTRA_SPECS): Remove.
  12864. * config/s390/s390.c (override_options): New default rules for
  12865. architecture mode and cpu architecture selection.
  12866. * doc/invoke.texi (-mesa, -mzarch, -march, -mtune): Document
  12867. new default rules.
  12868. * config/s390/s390.h (enum processor_type): Add PROCESSOR_2084_Z990.
  12869. * config/s390/s390.md (attr "cpu"): Add "z990" processor type.
  12870. * config/s390/s390.c (override_options): Add "z990" to
  12871. processor_alias_table.
  12872. * doc/invoke.texi (-march): Document "z990" processor type.
  12873. * config/s390/s390.c (s390_tune_flags, s390_arch_flags): New variables.
  12874. * config/s390/s390.h (s390_tune_flags, s390_arch_flags): Declare.
  12875. (enum processor_flags, TARGET_CPU_IEEE_FLOAT, TARGET_CPU_ZARCH,
  12876. TARGET_CPU_LONG_DISPLACEMENT, TARGET_LONG_DISPLACEMENT): New.
  12877. * config/s390/s390.c (override_options): Replace enum pta_flags by
  12878. enum processor_flags. Fill in s390_tune_flags and s390_arch_flags.
  12879. * config/s390/s390.c (s390_cpu): Rename to ...
  12880. (s390_tune): ... this.
  12881. * config/s390/s390.h (s390_cpu, s390_tune): Likewise.
  12882. * config/s390/s390.c (s390_issue_rate, override_options): Likewise.
  12883. * config/s390/s390.md (attr "cpu"): Likewise.
  12884. 2003-06-30 Neil Booth <neil@daikokuya.co.uk>
  12885. * c-common.c (enum c_language_kind, flag_objc): Remove.
  12886. (fix_string_type, check_case_value, c_common_nodes_and_builtins,
  12887. c_add_case_label, finish_label_addr_expr, boolean_increment):
  12888. Use c_dialect_ macros.
  12889. * c-common.h (enum c_language_kind): Extend.
  12890. (c_dialect_cxx, c_dialect_objc): New.
  12891. (flag_objc): Remove.
  12892. (c_common_init_options): Update prototype.
  12893. * c-cppbuiltin.c (define__GNUC__, c_cpp_builtins): Use c_dialect_
  12894. macros.
  12895. * c-decl.c (finsih_decl, grokfield, finish_struct): Use c_dialect_
  12896. macros.
  12897. * c-format.c (C_STD_VER, C_STD_NAME): Similarly.
  12898. * c-lang.c (c_init_options): Remove.
  12899. (c_language): Define.
  12900. (LANG_HOOKS_INIT_OPTIONS): Use common hook.
  12901. * c-lex.c (lex_charconst): Use c_dialect_ macros.
  12902. * c-opts.c (lang_flags): Make function-local.
  12903. (c_common_init_options): Use c_dialect_ macros. Handle
  12904. C++ diagnostic requirements.
  12905. (c_common_handle_option, c_common_post_options): Use flag_cxx.
  12906. * c-parse.in (init_reswords): Use c_dialect_objc ().
  12907. * c-pch.c (get_ident): Use c_language.
  12908. * c-pretty-print.c (pp_c_bool_literal): Use c_dialect_ macros.
  12909. * c-typeck.c (comptypes, build_c_cast): Similarly.
  12910. * objc/objc-lang.c (c_language): Define.
  12911. (LANG_HOOKS_INIT_OPTIONS): Use common hook.
  12912. (objc_init_options): Remove.
  12913. 2003-06-30 Kazu Hirata <kazu@cs.umass.edu>
  12914. * config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove.
  12915. * config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING.
  12916. 2003-06-30 Wolfgang Bangerth <bangerth@dealii.org>
  12917. * doc/sourcebuild.texi: Don't reference gnats.html any more.
  12918. 2003-06-30 Kazu Hirata <kazu@cs.umass.edu>
  12919. * config/h8300/h8300.c (compute_mov_length): Fix length of
  12920. mov:SF on H8/300.
  12921. 2003-06-30 Nick Clifton <nickc@redhat.com>
  12922. * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Make defintion
  12923. constant.
  12924. Mon Jun 30 15:36:29 CEST 2003 Jan Hubicka <jh@suse.cz>
  12925. (fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
  12926. 2003-06-30 Hartmut Penner <hpenner@de.ibm.com>
  12927. * config/rs6000/rs6000.c (rs6000_split_altivec_in_gprs): New function.
  12928. (altivec_in_gprs_p): New function.
  12929. * config/rs6000/rs6000-protos (rs6000_split_altivec_in_gprs): New
  12930. prototype.
  12931. (altivec_in_gprs_p): New prototype.
  12932. * config/rs6000/altivec.md (*movv4si_internal): Change
  12933. multi-assembler alternative to '#'. Add postreload splitter to
  12934. handle this cases.
  12935. (*movv4hi_internal): Likewise.
  12936. (*movv4qi_internal): Likewise.
  12937. (*movv4sf_internal): Likewise.
  12938. 2003-06-30 Jason Merrill <jason@redhat.com>
  12939. * defaults.h (PUSH_ARGS_REVERSED): Define default here.
  12940. * calls.c: Not here.
  12941. 2003-06-30 Ben Elliston <bje@wasabisystems.com>
  12942. * config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
  12943. (bad_signed_byte_operand): Likewise.
  12944. (arm_output_epilogue): Likewise.
  12945. (arm_final_prescan_insn): Likewise.
  12946. 2003-06-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  12947. * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
  12948. 2003-06-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  12949. * c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
  12950. subsequent writes.
  12951. Mon Jun 30 10:03:02 CEST 2003 Jan Hubicka <jh@suse.cz>
  12952. * cfgrtl.c (verify_flow_info): Accept degenerated condjumps
  12953. in cfglayout mode.
  12954. Mon Jun 30 09:52:39 CEST 2003 Jan Hubicka <jh@suse.cz>
  12955. * i386.c (standard_80387_constant_p): Accept TFmode constants too.
  12956. (init_ext_80387_constants): Likewise.
  12957. (standard_80387_constant_rtx): Likewise.
  12958. * i386.md (atanxf): Disable for TARGET_128BIT_LONG_LONG
  12959. (atantf): Disable for !TARGET_128BIT_LONG_LONG
  12960. (fyl2x_sfxf3, fyl2x_dfxf3): Accept TFmode operands.
  12961. (fyl2x_xfxf3, fyl2x_tfxf3): Enable/disable as needed.
  12962. (fscale_sfxf3, fscale_dfxf3): Accept TFmode operands.
  12963. (fscale_xfxf3, fscale_tfxf3): Enable/disable as needed.
  12964. (frndinttf2): New.
  12965. (f2xm1tf2): New.
  12966. (exp?f2): Use expsf2_tf when needed.
  12967. (exp?f2_tf): New.
  12968. (exptf): New.
  12969. 2003-06-29 Uwe Stieber <uwe@kaos-group.de>
  12970. * config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
  12971. statement from tmake_file set.
  12972. 2003-06-29 James E Wilson <wilson@tuliptree.org>
  12973. * reload.c (find_reloads): Change push_reloads to push_reload in
  12974. comment.
  12975. * reload1.c (eliminate_regs): Likewise.
  12976. (dump_needs): Delete prototype for deleted function.
  12977. 2003-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12978. * builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
  12979. format attributes.
  12980. * c-format.c (enum format_type): Add gcc_diag_format_type,
  12981. gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
  12982. (gcc_diag_length_specs, gcc_cdiag_length_specs,
  12983. gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
  12984. gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
  12985. gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
  12986. gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
  12987. (format_types_orig): Add new data.
  12988. (find_char_info_specifier_index, init_dynamic_diag_info): New
  12989. functions.
  12990. (handle_format_attribute): Update to handle new format attributes.
  12991. 2003-06-29 Dara Hazeghi <dhazeghi@yahoo.com>
  12992. * doc/install.texi: Remove install documentation for obsoleted targets
  12993. i?86-*-sco, i?86-*-sco3.2v4, powerpcle-*-pe, powerpcle-*-winnt,
  12994. arm-*-aof.
  12995. Update information about IA64 toolchain, AIX make requirements,
  12996. and binutils for m68k-*-hpux and *-*-linuxaout targets.
  12997. Mon Jun 30 00:50:43 CEST 2003 Jan Hubicka <jh@suse.cz>
  12998. * regmove.c (regmove_optimize): Don't try to make src and dst match
  12999. when they are in different modes.
  13000. Sun Jun 29 23:06:32 CEST 2003 Jan Hubicka <jh@suse.cz>
  13001. * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
  13002. busy work when builtin is not supported by the backend.
  13003. 2003-06-29 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  13004. * loop.c (count_one_set): Fix detection of registers set in more
  13005. than one basic block.
  13006. 2003-06-29 Andreas Jaeger <aj@suse.de>
  13007. * target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
  13008. * system.h: Poison OBJ_FORMAT_ROSE.
  13009. * doc/tm.texi (Macros for Initialization): Remove documentatin of
  13010. OBJECT_FORMAT_ROSE.
  13011. * config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
  13012. * collect2.c: Remove usage of OBJECT_FORMAT_ROSE.
  13013. 2003-06-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  13014. * pa.c (update_total_code_bytes): New function.
  13015. (last_address): Number of bytes output for a function and its
  13016. associated thunks.
  13017. (compute_frame_size): Use BITS_PER_UNIT.
  13018. (pa_output_function_epilogue): Compute last_address. Use
  13019. update_total_code_bytes.
  13020. (output_lbranch): Handle long branch on portable runtime.
  13021. (attr_length_millicode_call, attr_length_call,
  13022. attr_length_indirect_call): Only use total_code_bytes for calls in
  13023. the text section.
  13024. (output_call): Only use an indirect call sequence when the target is
  13025. not local.
  13026. (pa_asm_output_mi_thunk): Handle updating of total_code_bytes. Improve
  13027. test to determine when an IA-relative branch can be used. Add various
  13028. long branch sequences. Avoid using an indirect branch on all ports
  13029. except SOM.
  13030. 2003-06-29 Ulrich Weigand <uweigand@de.ibm.com>
  13031. * expr.c (clear_by_pieces): Fix prototype.
  13032. 2003-06-29 Andreas Jaeger <aj@suse.de>
  13033. * cse.c: Convert prototypes to ISO C90.
  13034. * cselib.c: Likewise.
  13035. * cselib.h: Likewise.
  13036. * dbxout.c: Likewise.
  13037. * debug.c: Likewise.
  13038. * df.c: Likewise.
  13039. * df.h: Likewise.
  13040. * dojump.c: Likewise.
  13041. * doloop.c: Likewise.
  13042. * dominance.c: Likewise.
  13043. * dwarf2asm.c: Likewise.
  13044. * dwarf2out.c: Likewise.
  13045. * dwarf2out.h: Likewise.
  13046. * dwarfout.c: Likewise.
  13047. * except.c: Likewise.
  13048. * except.h: Likewise.
  13049. * emit-rtl.c: Likewise.
  13050. * et-forest.c: Likewise.
  13051. * et-forest.h: Likewise.
  13052. * except.c: Likewise.
  13053. * explow.c: Likewise.
  13054. * expmed.c: Likewise.
  13055. * expr.c: Likewise.
  13056. * expr.h: Likewise.
  13057. 2003-06-29 Kazu Hirata <kazu@cs.umass.edu>
  13058. * alloc-pool.c: Fix comment formatting.
  13059. * bitmap.c: Likewise.
  13060. * bitmap.h: Likewise.
  13061. * bt-load.c: Likewise.
  13062. * builtins.c: Likewise.
  13063. * caller-save.c: Likewise.
  13064. * cfganal.c: Likewise.
  13065. * cfgrtl.c: Likewise.
  13066. * collect2.c: Likewise.
  13067. * cse.c: Likewise.
  13068. * df.c: Likewise.
  13069. * diagnostic.c: Likewise.
  13070. * dwarf2out.c: Likewise.
  13071. * dwarfout.c: Likewise.
  13072. * expmed.c: Likewise.
  13073. * final.c: Likewise.
  13074. * flags.h: Likewise.
  13075. * fold-const.c: Likewise.
  13076. * gcc.c: Likewise.
  13077. * gcov-io.h: Likewise.
  13078. * gcov.c: Likewise.
  13079. * genattrtab.c: Likewise.
  13080. * genautomata.c: Likewise.
  13081. * libgcov.c: Likewise.
  13082. * mips-tfile.c: Likewise.
  13083. * optabs.c: Likewise.
  13084. * prefix.c: Likewise.
  13085. * rtlanal.c: Likewise.
  13086. * stmt.c: Likewise.
  13087. * stor-layout.c: Likewise.
  13088. * toplev.c: Likewise.
  13089. * varasm.c: Likewise.
  13090. * vmsdbgout.c: Likewise.
  13091. 2003-06-29 Kazu Hirata <kazu@cs.umass.edu>
  13092. * expr.c (emit_single_push_insn): If padding is needed
  13093. downward, adjust the stack pointer first, and then store the
  13094. data into the stack location using an offset.
  13095. 2003-06-29 Andreas Jaeger <aj@suse.de>
  13096. * collect2.h: Convert prototypes to ISO C90.
  13097. * collect2.c: Likewise.
  13098. * conflict.c: Likewise.
  13099. * coverage.c: Likewise.
  13100. * convert.h: Likewise.
  13101. * convert.c: Likewise.
  13102. 2003-06-29 Nathan Sidwell <nathan@codesourcery.com>
  13103. * c-decl.c (c_init_decl_processing): Use a location_t. Set input
  13104. filename to <internal>.
  13105. * tree.c (make_node): Just copy the current location.
  13106. 2003-06-29 Eric Botcazou <ebotcazou@libertysurf.fr>
  13107. PR optimization/11210
  13108. * fold-const (decode_field_reference): Revert 2003-06-26 patch.
  13109. 2003-06-29 Neil Booth <neil@daikokuya.co.uk>
  13110. * toplev.c (flag_dummy): Remove.
  13111. (f_options): Restore flag pointers.
  13112. 2003-06-29 David Edelsohn <edelsohn@gnu.org>
  13113. * config/rs6000/rs6000.c (processor_target_table): Add 970.
  13114. * config.gcc: Add 970.
  13115. 2003-06-29 Kazu Hirata <kazu@cs.umass.edu>
  13116. * dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
  13117. -1) with ggc_strdup.
  13118. * stmt.c (expand_asm_operands): Likewise.
  13119. * config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.
  13120. 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
  13121. * config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
  13122. definition.
  13123. 2003-06-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  13124. * opts.c: Include insn-attr.h.
  13125. * Makefile.in (opts.o): Depend on INSN_ATTR_H.
  13126. 2003-06-27 J"orn Rennecke <joern.rennecke@superh.com>
  13127. * flow.c (propagate_one_insn): Use proper test for a register
  13128. being part of the return value.
  13129. 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
  13130. * config/avr/avr.c: Fix a comment typo.
  13131. 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
  13132. * config/avr/avr-protos.h: Replace avr_simplify_comparision_p
  13133. with avr_simplify_comparison_p.
  13134. * config/avr/avr.c: Likewise.
  13135. 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
  13136. * builtins.c: Follow spelling conventions.
  13137. * cgraph.c: Likewise.
  13138. * cpplex.c: Likewise.
  13139. * config/arm/arm.c: Likewise.
  13140. * config/arm/iwmmxt.md: Likewise.
  13141. * config/c4x/c4x-modes.def: Likewise.
  13142. * config/c4x/c4x.c: Likewise.
  13143. * config/c4x/c4x.h: Likewise.
  13144. * config/c4x/c4x.md: Likewise.
  13145. * config/i386/i386-interix.h: Likewise.
  13146. * config/mips/mips.h: Likewise.
  13147. 2003-06-28 Neil Booth <neil@daikokuya.co.uk>
  13148. * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
  13149. __mc68020__ on TARGET_68020.
  13150. 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
  13151. * config/h8300/h8300.c: Fix a comment typo.
  13152. 2003-06-28 Nathan Sidwell <nathan@codesourcery.com>
  13153. * c-parse.in (yylexstring): Use a location_t.
  13154. * diagnostic.h (diagnostic_set_info): Replace file and lineno
  13155. parameters with a location_t.
  13156. * diagnostic.c (diagnostic_set_info): Replace file and lineno
  13157. parameters with a location_t.
  13158. (inform, warning, pedwarn, error, sorry, fatal_error,
  13159. internal_error, warning_with_decl, pedwarn_with_decl,
  13160. error_with_decl): Adjust.
  13161. * c-error.c (pedwarn_c99): Adjust.
  13162. * c-format.c (status_warning): Adjust.
  13163. * rtl-error.c (file_and_line_for_asm): Rename to ...
  13164. (location_for_asm): Return a location_t.
  13165. (diagnostic_for_asm): Adjust.
  13166. 2003-06-28 Neil Booth <neil@daikokuya.co.uk>
  13167. * cpptrad.c (skip_macro_block_comment): New.
  13168. (copy_comment): Use it if appropriate.
  13169. 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
  13170. * gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
  13171. definition.
  13172. (store_killed_in_insn): Likewise.
  13173. * print-rtl.c (print_rtx): Likewise.
  13174. * config/frv/frv.c (frv_final_prescan_insn): Likewise.
  13175. * config/m68hc11/m68hc11.c (dead_register_here): Likewise.
  13176. (m68hc11_reassign_regs): Likewise.
  13177. (m68hc11_reorg): Likewise.
  13178. 2003-06-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
  13179. * diagnostic.c (output_integer_with_precision): New macro.
  13180. (output_format): Use it. Handle more format specifiers.
  13181. (output_long_decimal): Remove.
  13182. (output_unsigned_decimal): Likewise.
  13183. (output_long_unsigned_decimal): Likewise.
  13184. (output_octal): Likewise.
  13185. (output_long_octal): Likewise.
  13186. (output_hexadecimal): Likewise.
  13187. (output_long_hexadecimal): Likewise.
  13188. (output_long_long_decimal): Likewise.
  13189. 2003-06-28 Andreas Schwab <schwab@suse.de>
  13190. * config/ia64/ia64.md: Follow recent emit_note API change.
  13191. 2003-06-28 Nathan Sidwell <nathan@codesourcery.com>
  13192. * c-parse.in (%union): Replace filename & lineno with location.
  13193. (save_filename, save_lineno): Remove.
  13194. (save_location): New.
  13195. (fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl,
  13196. nested_function, notype_nested_function, if_prefix, lineno_stmt,
  13197. lineno_label, label): Adjust.
  13198. 2003-06-28 Jakub Jelinek <jakub@redhat.com>
  13199. * builtins.c (c_strlen): Add only_value argument.
  13200. Handle COND_EXPR and COMPOUND_EXPR.
  13201. (expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar").
  13202. Adjust c_strlen callers.
  13203. (expand_builtin_strcpy, expand_builtin_strncpy,
  13204. expand_builtin_strcmp, expand_builtin_strncmp,
  13205. expand_builtin_fputs, expand_builtin_sprintf,
  13206. fold_builtin): Adjust c_strlen callers.
  13207. 2003-06-28 Josef Zlomek <zlomekj@suse.cz>
  13208. * bb-reorder.c (find_traces_1_round): Do not send basic block
  13209. to next round when we are in the last round.
  13210. 2003-06-28 Neil Booth <neil@daikokuya.co.uk>
  13211. * Makefile.in: Update.
  13212. * opts.c: Include tm_p.h.
  13213. (handle_options): Make static.
  13214. (decode_options): Copied from toplev.c.
  13215. * opts.h (decode_options): New.
  13216. * toplev.c (parse_options_and_default_flags): Move most to opts.c,
  13217. some to...
  13218. (general_init): ...here.
  13219. (toplev_main): Use decode_options instead.
  13220. * toplev.h (save_argc, save_argv): New.
  13221. 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
  13222. * explow.c (find_next_ref): Remove.
  13223. * rtl.h: Remove the prototype for find_next_ref.
  13224. 2003-06-27 Roger Sayle <roger@eyesopen.com>
  13225. * config/alpha/alpha.md (anonymous define_split): Adjust emit_note
  13226. call to match recent API change.
  13227. 2003-06-27 Zack Weinberg <zack@codesourcery.com>
  13228. * dbxout.c (flag_debug_only_used_symbols): Delete redundant
  13229. declaration.
  13230. * c-format.c (check_format_string, get_constant)
  13231. * cfgrtl.c (rtl_split_edge):
  13232. Mark the definition static, matching the forward declaration.
  13233. 2003-06-27 Gunther Nikl <gni@gecko.de>
  13234. * unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
  13235. PR target/11014
  13236. * config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
  13237. syntax for MIT / MOTOROLA.
  13238. PR other/10240
  13239. * configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
  13240. * configure: Rebuilt.
  13241. 2003-06-27 Chris Demetriou <cgd@broadcom.com>
  13242. * config/mips/mips.c (mips_build_va_list): Make padding in
  13243. va_list structure explicit to avoid -Wpadded warnings.
  13244. 2003-06-27 Ulrich Weigand <uweigand@de.ibm.com>
  13245. * config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
  13246. * config/s390/s390.c (s390_secondary_output_reload_class): New function.
  13247. * config/s390/s390-protos.h (s390_secondary_output_reload_class):
  13248. Declare it.
  13249. * config/s390/s390.md ("reload_outti", "reload_outdi",
  13250. "reload_outdf"): New expanders.
  13251. * config/s390/s390.md ("movti" + splitters): Handle non-offsettable
  13252. memory operands as source.
  13253. ("movdi" + splitters): Likewise.
  13254. ("movdf" + splitters): Likewise.
  13255. * config/s390/s390.c (s390_split_ok_p): New function.
  13256. * config/s390/s390-protos.h (s390_split_ok_p): Declare it.
  13257. 2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
  13258. * combine.c (force_to_mode): Replace the equality comparison
  13259. of INTVALs with a pointer equality comparison.
  13260. (simplify_comparison): Likewise.
  13261. 2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
  13262. * jump.c (rtx_renumbered_equal_p): Replace an expression that
  13263. is known to be 0 with 0.
  13264. 2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
  13265. * gcse.c (expr_equiv_p): Replace expressions that are known to
  13266. be 0 with 0.
  13267. 2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
  13268. * cse.c (fold_rtx): Replace the equality comparison of INTVALs
  13269. with a pointer equality comparison.
  13270. 2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
  13271. * rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
  13272. are known to be not equivalent.
  13273. 2003-06-27 Richard Henderson <rth@redhat.com>
  13274. * config/alpha/alpha.c (function_arg): Don't pass small aggregates
  13275. in floating point registers. Validate that we don't receive complex
  13276. values here. Use #elif.
  13277. (return_in_memory, function_value): New.
  13278. (alpha_va_arg): Handle complex values as two arguments.
  13279. * config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
  13280. (FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
  13281. (SPLIT_COMPLEX_ARGS): New.
  13282. * config/alpha/alpha-protos.h: Update.
  13283. 2003-06-27 Ulrich Weigand <uweigand@de.ibm.com>
  13284. * ggc-page.c (inverse_table): Change type of mult to size_t.
  13285. (compute_inverse): Compute inverse using size_t, not unsigned int.
  13286. Compute inverse also for sizes larger than half a machine page.
  13287. Fri Jun 27 18:36:12 CEST 2003 Jan Hubicka <jh@suse.cz>
  13288. * toplev.c (rest_of_decl_compilation): Only varpoolize argument
  13289. when called before cgraph_optimize.
  13290. 2003-06-27 Zack Weinberg <zack@codesourcery.com>
  13291. * config/darwin.h, config/elfos.h, config/i960/i960-coff.h
  13292. * config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
  13293. be TARGET_ASM_FILE_START_FILE_DIRECTIVE.
  13294. Fri Jun 27 17:41:16 CEST 2003 Jan Hubicka <jh@suse.cz>
  13295. * cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
  13296. of known_decls.
  13297. 2003-06-27 Hans-Peter Nilsson <hp@axis.com>
  13298. * defaults.h (REGISTER_MOVE_COST): Define default here.
  13299. * regclass.c: Don't define default REGISTER_MOVE_COST here.
  13300. * reload.c, reload1.c: Ditto.
  13301. 2003-06-27 Richard Earnshaw <rearnsha@arm.com>
  13302. * flags.h: Really install previous change.
  13303. 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
  13304. * rtl.h (emit_note): Remove FILE parameter.
  13305. * emit-rtl.c (emit_line_note): Adjust emit_note call.
  13306. (emit_note): Remove FILE parameter. Adjust.
  13307. * builtins.c (expand_builtin_expect): Adjust emit_note call.
  13308. * c-semantics.c (genrtl_scope_stmt): Likewise.
  13309. (expand_stmt): Likewise.
  13310. * cfglayout.c (reemit_insn_block_notes): Likewise.
  13311. (duplicate_insn_chain): Likewise.
  13312. * except.c (expand_eh_region_start, expand_eh_region_end,
  13313. sjlj_emit_function_enter): Likewise.
  13314. * explow.c (probe_stack_range): Likewise.
  13315. * expr.c (emit_block_move_via_loop): Likewise.
  13316. * function.c (init_function_start, expand_function_start,
  13317. expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
  13318. * integrate.c (expand_inline_function, copy_insn_list): Likewise.
  13319. * reg-stack.c (compensate_edge): Likewise.
  13320. * reload1.c (reload): Likewise.
  13321. * rtlanal.c (hoist_insn_to_edge): Likewise.
  13322. * stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
  13323. expand_loop_continue_here, expand_end_loop, expand_continue_loop,
  13324. expand_exit_loop_top_cond, expand_value_return,
  13325. expand_start_bindings_and_block, expand_end_bindings,
  13326. expand_decl_cleanup, expand_start_case): Likewise.
  13327. * unroll.c (copy_loop_body
  13328. * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
  13329. * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
  13330. * config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
  13331. rs6000_emit_allocate_stack, rs6000_output_function_prologue,
  13332. rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
  13333. * config/sh/sh.c (sh_output_mi_thunk): Likewise.
  13334. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
  13335. 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
  13336. * c-tree.h (grokfield): Remove unused filename and line parameters.
  13337. * c-decl.c (grokfield): Remove unused filename and line parameters.
  13338. * c-parse.in (component_decl): Adjust field grokking rules, adjust
  13339. grokfield calls.
  13340. (component_declarator): Likewise.
  13341. (component_notype_declarator): Likewise.
  13342. * objc/objc-act.c (build_module_descriptor): Adjust grokfield
  13343. calls.
  13344. (build_protocol_template, build_method_prototype_list_template,
  13345. build_method_prototype_template, build_category_template,
  13346. build_selector_template, build_class_template,
  13347. build_super_template, build_ivar_template,
  13348. build_ivar_list_template, build_method_list_template,
  13349. build_method_template, add_instance_variable): Likewise.
  13350. 2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
  13351. * stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
  13352. OP2 are known to be not equivalent.
  13353. 2003-06-26 Devang Patel <dpatel@apple.com>
  13354. * final.c (debug_flush_symbol_queue): New function.
  13355. (debug_queue_symbol): New function.
  13356. (debug_free_queue): New function.
  13357. (debug_nesting): New variable.
  13358. (symbol_queue): New variable.
  13359. (symbol_queue_index): Same.
  13360. (symbol_queue_size): Same.
  13361. * debug.h (debug_flush_symbol_queue): New.
  13362. (debug_queue_symbol): New.
  13363. (debug_free_queue): New.
  13364. (debug_nesting): New.
  13365. (symbol_queue_index): New.
  13366. * dbxout.c (DBXOUT_DECR_NESTING): New macro.
  13367. (DBXOUT_DECR_NESTING_AND_RETURN): New macro.
  13368. (dbxout_init): Delay symbol output.
  13369. (dbxout_global_decl): Save, set and reset TREE_USED bit around
  13370. dbxout_symbol() call.
  13371. (dbxout_begin_function): Same.
  13372. (dbxout_finish): Free symbol queue.
  13373. (dbxout_type): Put appropriate symbols in queue.
  13374. (dbxout_symbol): Put info for symbol's type in queue.
  13375. Decrement/Increment nesting counts flush symbol queue appropriately.
  13376. (dbxout_parms): Increment dbxout nesting.
  13377. (dbxout_reg_parms): Same.
  13378. * flags.h (flag_debug_only_used_symbols): New.
  13379. * toplev.c (flag_debug_only_used_symbols): New variable.
  13380. (lang_independent_options): Add entries for new option
  13381. -feliminate-unused-debug-symbols.
  13382. * common.opt: Add entry for -feliminate-unused-debug-symbols.
  13383. * opts.c (common_handle_options): Same.
  13384. * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as
  13385. -feliminate-unused-debug-symbols.
  13386. * doc/invoke.texi (Debugging Options): Document
  13387. -feliminate-unused-debug-symbols.
  13388. 2003-06-26 Roger Sayle <roger@eyesopen.com>
  13389. Jakub Jelinek <jakub@redhat.com>
  13390. * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
  13391. obtain the format string instead of using TREE_STRING_POINTER and
  13392. TREE_STRING_LENGTH. Only optimize sprintf(dst,"%s",src) when the
  13393. return value is unused or the length of src is a known constant.
  13394. 2003-06-26 Richard Henderson <rth@redhat.com>
  13395. * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
  13396. 2003-06-26 Richard Henderson <rth@redhat.com>
  13397. * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
  13398. (ia64_split_call): Only load descriptor for GP register inputs.
  13399. (ia64_expand_epilogue): Check current_frame_info.mask not
  13400. current_function_is_leaf to restore ar.pfs.
  13401. 2003-06-26 Richard Henderson <rth@redhat.com>
  13402. * emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
  13403. instead of replacing it.
  13404. 2003-06-26 Richard Henderson <rth@redhat.com>
  13405. * flow.c (propagate_one_insn): Kill function return value
  13406. registers across tail calls.
  13407. * flow.c (propagate_one_insn): Preserve live-at-end registers
  13408. across tail calls.
  13409. 2003-06-26 J"orn Rennecke <joern.rennecke@superh.com>
  13410. * reload.c (can_reload_into): New function.
  13411. (push_reload): Use it.
  13412. 2003-06-26 Kazu Hirata <kazu@cs.umass.edu>
  13413. * config/h8300/h8300.c (compute_a_rotate_length): Fix the
  13414. references to the amount of a rotation.
  13415. 2003-06-26 Nathanael Nerode <neroden@gcc.gnu.org>
  13416. * config/sh/coff.h: Don't include dbxcoff.h.
  13417. * config.gcc: List it here.
  13418. 2003-06-26 Kazu Hirata <kazu@cs.umass.edu>
  13419. * postreload.c (reload_cse_simplify_set): Call cselib_lookup
  13420. earlier. Don't check if SRC is a constant.
  13421. 2003-06-26 Kazu Hirata <kazu@cs.umass.edu>
  13422. * Makefile.in (OBJS): Add postreload.o.
  13423. Remove cselib.h from the dependency list for reload1.o.
  13424. Add a dependency list for postreload.o.
  13425. * reload.h: Change the comment for the prototype of
  13426. reload_cse_regs.
  13427. * reload1.c: Don't include cselib.h.
  13428. (reload_cse_regs): Move to postreload.c
  13429. (reload_cse_regs_1): Likewise.
  13430. (reload_cse_noop_set_p): Likewise.
  13431. (reload_cse_simplify_set): Likewise.
  13432. (reload_cse_simplify_operands): Likewise.
  13433. (RELOAD_COMBINE_MAX_USES): Likewise.
  13434. (reload_combine_ruid): Likewise.
  13435. (LABEL_LIVE): Likewise.
  13436. (reload_combine): Likewise.
  13437. (reload_combine_note_use): Likewise.
  13438. (reload_combine_note_store): Likewise.
  13439. (reg_set_luid): Likewise.
  13440. (reg_offset): Likewise.
  13441. (reg_base_reg): Likewise.
  13442. (reg_mode): Likewise.
  13443. (move2add_luid): Likewise.
  13444. (move2add_last_label_luid): Likewise.
  13445. (MODES_OK_FOR_MOVE2ADD): Likewise.
  13446. (reload_cse_move2add): Likewise.
  13447. (move2add_note_store): Likewise.
  13448. (reload_cse_simplify): Likewise.
  13449. * postreload.c: New.
  13450. 2003-06-26 Kazu Hirata <kazu@cs.umass.edu>
  13451. * config/avr/avr.c (final_prescan_insn): Remove support for
  13452. -mrtl.
  13453. * config/avr/avr.h (MASK_RTL_DUMP): Remove.
  13454. (TARGET_RTL_DUMP): Likewise.
  13455. (TARGET_SWITCHES): Remove -mrtl.
  13456. 2003-06-26 Kazu Hirata <kazu@cs.umass.edu>
  13457. * config/h8300/h8300-protos.h: Change emit_a_rotate to
  13458. output_a_rotate. Add a prototype for compute_a_rotate_length.
  13459. * config/h8300/h8300.c (emit_a_rotate): Change to
  13460. output_a_rotate.
  13461. (compute_a_rotate_length): New.
  13462. (h8300_adjust_insn_length): Remove.
  13463. * config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
  13464. * config/h8300/h8300.md (adjust_length): Remove.
  13465. (*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
  13466. (*rotlhi3_1): Likewise.
  13467. (*rotlsi3_1): Likewise.
  13468. 2003-06-26 Roger Sayle <roger@eyesopen.com>
  13469. Richard Henderson <rth@redhat.com>
  13470. * builtins.c (expand_builtin_mathfn): Always stabilize the argument
  13471. list against re-evaluation. If expand_unop fails, call expand_call
  13472. with the stabilized argument list rather than return NULL_RTX.
  13473. (expand_builtin_mathfn2): Likewise, always stabilize the argument
  13474. list, and call expand_call ourselves if expand_binop fails.
  13475. 2003-06-26 Eric Botcazou <ebotcazou@libertysurf.fr>
  13476. PR optimization/11210
  13477. * fold-const (decode_field_reference): Strip only NOPs that
  13478. don't affect the sign.
  13479. 2003-06-26 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  13480. * gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
  13481. (pop_fpscr, fpu_switch): Likewise.
  13482. 2003-06-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  13483. * value-prof.c: New.
  13484. * value-prof.h: New.
  13485. * Makefile.in (value-prof.o): New.
  13486. (LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
  13487. (profile.o): Add value-prof.h and tree.h dependency.
  13488. * flags.h (flag_profile_values): Declare.
  13489. * gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
  13490. Add new counters.
  13491. (GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
  13492. GCOV_COUNTER_V_DELTA): New counter sections.
  13493. (__gcov_merge_single, __gcov_merge_delta): Declare.
  13494. * flow.c (mark_used_regs): Set subregs_of_mode only when the
  13495. structure is initialized.
  13496. * libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
  13497. * profile.c: Include value-prof.h and tree.h.
  13498. (gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
  13499. gen_const_delta_profiler, instrument_values): New static functions.
  13500. (get_exec_counts): Fix comment.
  13501. (branch_prob): Invoke instrument_values.
  13502. * toplev.c (flag_profile_values): New flag.
  13503. * doc/invoke.texi (-fprofile-values): Document.
  13504. 2003-06-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  13505. * Makefile.in (cfgrtl.o): Add expr.h dependency.
  13506. * cfgrtl.c: Include expr.h.
  13507. (mark_killed_regs, safe_insert_insn_on_edge): New
  13508. functions.
  13509. * config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
  13510. * basic-block.h (safe_insert_insn_on_edge): Declare.
  13511. 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
  13512. * c-opts.c (missing_arg): Make non-static.
  13513. (c_common_handle_option): Don't check for missing arguments.
  13514. * opts.c (handle_option): Check for missing arguments.
  13515. 2003-06-26 David Edelsohn <edelsohn@gnu.org>
  13516. * config/rs6000/power4.md (power4-veccomplex): Correct latency.
  13517. 2003-06-25 Loren James Rittle <ljrittle@acm.org>
  13518. * configure.in (ld_vers): Portability [sed].
  13519. * configure: Regenerate with autoconf213.
  13520. 2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
  13521. * doc/extend.texi: Document new builtin functions for Intel
  13522. Prescott New Intrunctions.
  13523. * doc/invoke.texi: Document new command-line options, -mpni and
  13524. -mno-pni, for Intel Prescott New Intrunctions.
  13525. * config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
  13526. * config/i386/i386.c (override_options): Turn on MASK_SSE2
  13527. for -mpni. Turn on MASK_SSE for -msse2.
  13528. (bdesc_2arg): Add PNI builtins with 2 args.
  13529. (bdesc_1arg): Add PNI builtins with 1 arg.
  13530. (ix86_init_mmx_sse_builtins): Handle PNI builtins.
  13531. (ix86_expand_builtin): Likewise.
  13532. * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
  13533. MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
  13534. MASK_TLS_DIRECT_SEG_REFS): Renumbered.
  13535. (TARGET_PNI): New.
  13536. (TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
  13537. -mpni and -mno-pni.
  13538. (TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
  13539. (ix86_builtins): Add PNI builtins.
  13540. (config/i386/i386.md): Add PNI patterns.
  13541. * config/i386/pmmintrin.h: New file.
  13542. 2003-06-25 Kazu Hirata <kazu@cs.umass.edu>
  13543. * config/h8300/h8300.md (call): Fix the insn lengths.
  13544. (call_value): Likewise.
  13545. Thu Jun 26 00:13:35 CEST 2003 Jan Hubicka <jh@suse.cz>
  13546. * c-common.c (handle_used_attribute): Use mark_referenced.
  13547. * varasm.c (mark_referenced): Break out from ...
  13548. (assemble_name): ... here.
  13549. * tree.h (mark_referenced): Declare.
  13550. 2003-06-25 Wolfgang Bangerth <bangerth@dealii.org>
  13551. * gccbug.in: Add PCH to list of categories.
  13552. 2003-06-25 Martin Schaffner <schaffner@gmx.li>
  13553. * cppfiles.c: Clarify comments.
  13554. * cpphash.h: Likewise.
  13555. * cpplib.h: Likewise.
  13556. * cppmacro.c: Likewise.
  13557. * mkdeps.h: Likewise.
  13558. 2003-06-25 Neil Booth <neil@daikokuya.co.uk>
  13559. * c-opts.c (complain_wrong_lang, write_langs): Remove.
  13560. (c_common_handle_option): Complaints about wrong language are
  13561. handled in opts.c now.
  13562. * opts.c (complain_wrong_lang, write_langs, handle_options): New.
  13563. (find_opt): Fix thinko.
  13564. (handle_option): Update prototype. Complain about switches for
  13565. a different front end.
  13566. * opts.h (lang_names, handle_options): New.
  13567. (handle_option): Remove.
  13568. * opts.sh: Write out language names array.
  13569. * toplev.c (parse_options_and_default_flags): Use handle_options.
  13570. 2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
  13571. * config/i386/i386.c (MASK_SSE1): Removed.
  13572. (MASK_SSE164): Removed.
  13573. (MASK_SSE264): Removed.
  13574. (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
  13575. MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
  13576. with MASK_SSE2 | MASK_64BIT.
  13577. (bdesc_1arg): Likewise.
  13578. (ix86_init_mmx_sse_builtins): Likewise.
  13579. * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
  13580. (TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
  13581. -msse2.
  13582. 2003-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  13583. * hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
  13584. (HOST_WIDE_INT_PRINT_DEC_SPACE,
  13585. HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
  13586. HOST_WIDEST_INT_PRINT_DEC_SPACE,
  13587. HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
  13588. (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
  13589. HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
  13590. terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
  13591. * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
  13592. * ra-debug.c (dump_static_insn_cost): Likewise.
  13593. 2003-06-26 Nick Clifton <nickc@redhat.com>
  13594. * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead
  13595. of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
  13596. Replace occurances of '???' with 'XXX' incase they are
  13597. mistaken for trigraphs.
  13598. (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address
  13599. does not have a register for the first operand.
  13600. 2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  13601. * config/sh/sh.c (sh_register_move_cost):
  13602. Add case for moving between MAC_REGS.
  13603. 2003-06-25 Zack Weinberg <zack@codesourcery.com>
  13604. PR 10178
  13605. * langhooks.h (struct lang_hooks): Add no_body_blocks bool.
  13606. * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
  13607. * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
  13608. to true.
  13609. * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
  13610. return 0.
  13611. 2003-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  13612. * Makefile.in (bt-load.o): Depend on $(TM_P_H).
  13613. * bt-load.c: Include "tm_p.h".
  13614. 2003-06-25 Kazu Hirata <kazu@cs.umass.edu>
  13615. * config/h8300/h8300.c (compute_mov_length): Adjust for the
  13616. new optimization.
  13617. * config/h8300/h8300.md (*movsi_h8300): Optimize the load of
  13618. an SImode constant whose upper and lower are the same.
  13619. Wed Jun 25 11:31:59 CEST 2003 Jan Hubicka <jh@suse.cz>
  13620. * varasm.c (assemble_name): Mark needed variables even when
  13621. global info is ready.
  13622. 2003-06-24 Jerry Quinn <jlquinn@optonline.net>
  13623. PR other/11280
  13624. * gcc/doc/invoke.texi (Optimization Options): Remove -Os from
  13625. -freorder-functions description.
  13626. 2003-06-25 Josef Zlomek <zlomekj@suse.cz>
  13627. * dwarf2out.c (gen_field_die): Return if type of decl is error mark.
  13628. 2003-06-25 Neil Booth <neil@daikokuya.co.uk>
  13629. * opts.c (common_handle_option): Add missing break;s.
  13630. 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
  13631. * config/h8300/h8300-protos.h: Add a prototype for
  13632. compute_mov_length.
  13633. * config/h8300/h8300.c (compute_mov_length): New.
  13634. * config/h8300/h8300.md (*movqi_h8300): Use it.
  13635. (*movqi_h8300hs): Likewise.
  13636. (movstrictqi): Likewise.
  13637. (*movhi_h8300): Likewise.
  13638. (*movhi_h8300hs): Likewise.
  13639. (movstricthi): Likewise.
  13640. (*movsi_h8300): Likewise.
  13641. (*movsf_h8300): Likewise.
  13642. (*movsi_h8300hs): Likewise.
  13643. (*movsf_h8300hs): Likewise.
  13644. 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
  13645. * jump.c (next_nondeleted_insn): Remove.
  13646. * rtl.h: Remove the prototype for next_nondeleted_insn.
  13647. 2003-06-24 Roger Sayle <roger@eyesopen.com>
  13648. PR optimization/11311
  13649. * builtins.c (powi_cost): Fix typo. The number of multiplications
  13650. required is the number to reduce the argument, result, plus the
  13651. cost of calculating the residual, val [not n, the original value].
  13652. 2003-06-24 Roger Sayle <roger@eyesopen.com>
  13653. * config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
  13654. 2003-06-24 Richard Henderson <rth@redhat.com>
  13655. (blame to: Loren James Rittle <ljrittle@acm.org>)
  13656. * real.h (ieee_extended_intel_96_round_53_format): New.
  13657. * real.c (ieee_extended_intel_96_round_53_format): New.
  13658. * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
  13659. for XFmode and TFmode.
  13660. 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
  13661. * config/h8300/h8300.md (4 anonymous patterns): Give internal
  13662. names.
  13663. (movsi_h8300): Change the name to *movsi_h8300.
  13664. (movsi_h8300hs): Change the name to *movsi_h8300hs.
  13665. (movsf_h8300): Change the name to *movsf_h8300.
  13666. (movsf_h8300hs): Change the name to *movsf_h8300hs.
  13667. 2003-06-24 Jakub Jelinek <jakub@redhat.com>
  13668. * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
  13669. src twice.
  13670. 2003-06-24 J"orn Rennecke <joern.rennecke@superh.com>
  13671. Back out these patches:
  13672. 2003-06-02 J"orn Rennecke <joern.rennecke@superh.com>
  13673. * sh.h (OLD_ARG_MODE): New macro.
  13674. (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
  13675. (FUNCTION_ARG_1): Break out of:
  13676. (FUNCTION_ARG). Use OLD_ARG_MODE.
  13677. 2003-06-06 J"orn Rennecke <joern.rennecke@superh.com>
  13678. * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
  13679. of the generated register.
  13680. * sh.h (FUNCTION_ARG_SCmode_WART): Define.
  13681. (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
  13682. an even number of floating point regs are in use, use the same
  13683. sequence of argument passing registers for SCmode as would be
  13684. used for two SFmode values.
  13685. * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
  13686. swap real / imaginary parts in incoming SCmode values passed
  13687. in registers.
  13688. 2003-06-24 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  13689. PR target/11260
  13690. * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
  13691. Tue Jun 24 18:49:33 CEST 2003 Jan Hubicka <jh@suse.cz>
  13692. * Makefile.in (cgraph.o): Depend on output.h, not depend on
  13693. tree-inline.h
  13694. * cgraph.c: Do not include tree-inline.h; include output.h
  13695. (known_fns): Rename to ...
  13696. (known_decls): ... this one; update all uses.
  13697. (cgraph_varpool_hash): New static variable.
  13698. (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
  13699. variables.
  13700. (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
  13701. cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
  13702. cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
  13703. New functions.
  13704. * cgraph.h (cgraph_varpool_node): New structure.
  13705. (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
  13706. (cgraph_varpool_node, cgraph_varpool_node_for_identifier,
  13707. cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
  13708. cgraph_varpool_asemble_pending_decls): Declare.
  13709. * cgraphunit.c (record_call_1): Notice variable references.
  13710. (cgraph_finalize_compilation_unit): Assemble pending variables.
  13711. * toplev.c (wrapup_global_declarations): Use varpool.
  13712. (compile_file): Assemble pending declarations.
  13713. (rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
  13714. * varasm.c (assemble_name): Notice varpool references.
  13715. Tue Jun 24 13:52:11 CEST 2003 Jan Hubicka <jh@suse.cz>
  13716. * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
  13717. * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
  13718. * varasm.c (assemble_variable): Call prepare_assemble_variable.
  13719. 2003-06-23 Roger Sayle <roger@eyesopen.com>
  13720. * builtins.c (expand_builtin): Use expand_builtin_pow to expand
  13721. calls for pow, powf, powl and their __builtin_ variants.
  13722. (expand_builtin_pow): If the second argument is a constant
  13723. integer and compiling with -ffast-math, use expand_powi to
  13724. generate RTL if powi_cost is less than POWI_MAX_MULTS.
  13725. (powi_cost): New function to return the number of multiplications
  13726. necessary to evaluate an Nth power, for integer constant N.
  13727. (expand_powi): New function to expand the RTL for evaluating
  13728. the Nth power of a floating point value, for integer constant N.
  13729. * doc/tm.texi (POWI_MAX_MULTS): Document new target macro.
  13730. Mon Jun 23 23:07:35 CEST 2003 Jan Hubicka <jh@suse.cz>
  13731. * cgraph.c (cgraph_nodes_queue): Declare.
  13732. (eq_node): Take identifier as p2.
  13733. (cgraph_node): Update htab_find_slot_with_hash call.
  13734. (cgraph_node_for_identifier): New.
  13735. (cgraph_mark_needed_node): Move here from cgraphunit.c.
  13736. * cgraph.h (cgraph_nodes_queue): Declare.
  13737. (cgraph_node_for_identifier): Declare.
  13738. * cgraphunit.c (cgraph_finalize_function): Collect entry points here
  13739. instead of in cgraph_finalize_compilation_unit; constructors and
  13740. destructors are entry points.
  13741. (cgraph_finalize_compilation_unit): Reorganize debug outout;
  13742. examine nested functions after lowerng; call collect_functions hook.
  13743. (cgraph_mark_local_functions): DECL_COMDAT functions are not local.
  13744. (cgraph_finalize_compilation_unit): Do not collect entry points.
  13745. * varasm.c: Include cgraph.h
  13746. (assemble_name): Mark referenced identifier as needed.
  13747. * cgraphunit.c (record_call_1): Use get_callee_fndecl.
  13748. 2003-06-23 Jakub Jelinek <jakub@redhat.com>
  13749. * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
  13750. just SYMBOL_REF.
  13751. * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
  13752. mode, as it requires pic register loaded.
  13753. * varasm.c (resolve_unique_section): Remove prototype. No longer
  13754. static.
  13755. * tree.h (resolve_unique_section): New prototype.
  13756. 2003-06-23 Andreas Schwab <schwab@suse.de>
  13757. PR debug/9905
  13758. * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
  13759. recursing through first argument.
  13760. 2003-06-23 Kazu Hirata <kazu@cs.umass.edu>
  13761. * ChangeLog.1: Fix a typo.
  13762. * cfgrtl.c: Fix comment typos.
  13763. * dwarf2out.c: Likewise.
  13764. * expmed.c: Likewise.
  13765. * genrecog.c: Likewise.
  13766. * jump.c: Likewise.
  13767. * rtlanal.c: Likewise.
  13768. * ssa-dce.c: Likewise.
  13769. * toplev.c: Likewise.
  13770. 2003-06-23 Kazu Hirata <kazu@cs.umass.edu>
  13771. * doc/extend.texi: Fix typos.
  13772. * doc/md.texi: Likewise.
  13773. * doc/tm.texi: Likewise.
  13774. 2003-06-23 Kazu Hirata <kazu@cs.umass.edu>
  13775. * basic-block.h: Fix comment formatting.
  13776. * bt-load.c: Likewise.
  13777. * builtins.c: Likewise.
  13778. * c-common.c: Likewise.
  13779. * c-common.h: Likewise.
  13780. * c-format.c: Likewise.
  13781. * coverage.c: Likewise.
  13782. * cpplib.h: Likewise.
  13783. * cpppch.c: Likewise.
  13784. * dbxout.c: Likewise.
  13785. * diagnostic.c: Likewise.
  13786. * dwarf2out.c: Likewise.
  13787. * expr.c: Likewise.
  13788. * fold-const.c: Likewise.
  13789. * function.c: Likewise.
  13790. * gcc.c: Likewise.
  13791. * gcov-io.c: Likewise.
  13792. * gcov-io.h: Likewise.
  13793. * gcov.c: Likewise.
  13794. * profile.c: Likewise.
  13795. * real.h: Likewise.
  13796. * sched-deps.c: Likewise.
  13797. 2003-06-23 Roger Sayle <roger@eyesopen.com>
  13798. Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  13799. * doc/contrib.texi (Contributors): Add a note on testing and
  13800. remove duplicates from testers list.
  13801. 2003-06-23 Nick Clifton <nickc@redhat.com>
  13802. * read-rtl.c (read_braced_string): Check for EOF. If
  13803. encountered issue an error message.
  13804. 2003-06-23 Kazu Hirata <kazu@cs.umass.edu>
  13805. * doc/invoke.texi: Document dump options, dT and dW.
  13806. 2003-06-23 Kazu Hirata <kazu@cs.umass.edu>
  13807. * genrecog.c (pred_table): Remove the entry for
  13808. mode_independent_operand.
  13809. * recog.c (next_insns_test_no_inequality): Remove.
  13810. (mode_independent_operand): Likewise.
  13811. * recog.h: Remove the prototype for mode_independent_operand.
  13812. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13813. * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
  13814. store into bit 0.
  13815. * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
  13816. second alternative to set_znv.
  13817. (*extzv_1_r_inv_h8300hs): Likewise.
  13818. 2003-06-23 Hans-Peter Nilsson <hp@bitrange.com>
  13819. * configure.in (in_tree_gas): Find out here whether GAS is ELF,
  13820. set in_tree_gas_is_elf accordingly.
  13821. (in_tree_ld): Find out whether LD emulation is ELF, set
  13822. in_tree_ld_is_elf accordingly.
  13823. (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
  13824. (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
  13825. (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
  13826. (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
  13827. grepping gas/Makefile.
  13828. (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
  13829. $in_tree_ld_is_elf instead of grepping ld/Makefile.
  13830. * configure: Regenerate.
  13831. 2003-06-22 Roger Sayle <roger@eyesopen.com>
  13832. * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
  13833. up the stabilized argument list, not build_tree_list.
  13834. (expand_builtin_strcpy): Construct new argument list manually
  13835. instead of using chainon to modify the original argument list.
  13836. (expand_builtin_stpcpy): Construct new argument list manually
  13837. instead of using copy_list and chainon.
  13838. (expand_builtin_sprintf): New function. Optimize calls to
  13839. sprintf when the format is "%s" or doesn't contain a '%'.
  13840. (expand_builtin): Expand BUILT_IN_SPRINTF using the new function
  13841. expand_builtin_sprintf.
  13842. 2003-06-22 Andreas Schwab <schwab@suse.de>
  13843. * function.c (set_insn_locators): Mark as unused.
  13844. 2003-06-22 Neil Booth <neil@daikokuya.co.uk>
  13845. * common.opt: Add -finline-limit.
  13846. * opts.c (common_handle_options): Handle it.
  13847. * opts.sh: Temporary kludge for -finline-limit.
  13848. * toplev.c (decode_f_option, independent_decode_option): Die.
  13849. (parse_options_and_default_flags): No independent_decode_option.
  13850. 2003-06-22 Andreas Jaeger <aj@suse.de>
  13851. * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
  13852. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13853. * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
  13854. 2003-06-22 Andreas Schwab <schwab@suse.de>
  13855. * doc/invoke.texi: Remove leading `-' from options in index.
  13856. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13857. * bt-load.c: Follow spelling conventions.
  13858. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13859. * expr.c (emit_move_insn_1): Fix a comment typo.
  13860. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13861. * doc/invoke.texi: Alphabetize dump options.
  13862. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13863. * doc/invoke.texi: Remove a duplicate -dk.
  13864. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13865. * doc/invoke.texi: Update dump file names.
  13866. 2003-06-22 Zack Weinberg <zack@codesourcery.com>
  13867. * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
  13868. and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
  13869. 2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
  13870. * doc/rtl.texi: Fix the @findex for pre_modify.
  13871. 2003-06-22 Andreas Jaeger <aj@suse.de>
  13872. * caller-save.c: Convert to ISO C90.
  13873. * calls.c: Likewise.
  13874. * cfg.c: Likewise.
  13875. * cfganal.c: Likewise.
  13876. * cfgbuild.c: Likewise.
  13877. * cfgcleanup.c: Likewise.
  13878. * cfghooks.c: Likewise.
  13879. * cfglayout.c: Likewise.
  13880. * cfglayout.h: Likewise.
  13881. * cfgloop.c: Likewise.
  13882. * cfgloop.h: Likewise.
  13883. * cfgloopanal.c: Likewise.
  13884. * cfgloopmainip.c: Likewise.
  13885. * cfgrtl.c: Likewise.
  13886. 2003-06-22 Richard Earnshaw <rearnsha@arm.com>
  13887. * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
  13888. 64-bit alignment.
  13889. 2003-06-22 Richard Earnshaw <rearnsha@arm.com>
  13890. * arm.md (all call_value patterns): Remove register constraints on
  13891. value operand.
  13892. 2003-06-22 Neil Booth <neil@daikokuya.co.uk>
  13893. * common.opt: More -f switches.
  13894. * opts.c (common_handle_options): Handle them.
  13895. * toplev.c (time_report): Make extern.
  13896. (f_options): USe flag_dummy.
  13897. (decode_f_option): No need to use f_options now.
  13898. * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
  13899. flag_ssa_dce, time_report, flag_new_regalloc): Make extern.
  13900. 2003-06-22 Andreas Jaeger <aj@suse.de>
  13901. * c-lex.c: Convert to ISO C90.
  13902. * c-objc-common.c: Likewise.
  13903. * c-opts.c: Likewise.
  13904. * c-pch.c: Likewise.
  13905. * c-ppoutput.c: Likewise.
  13906. * c-pragma.h: Likewise.
  13907. * c-pretty-print.c: Likewise.
  13908. * c-pretty-print.h: Likewise.
  13909. * c-semantics.c: Likewise.
  13910. * c-tree.h: Likewise.
  13911. * c-typeck.c: Likewise.
  13912. * c-lang.c: Convert to ISO C90.
  13913. 2003-06-22 Neil Booth <neil@daikokuya.co.uk>
  13914. * opts.c (find_opt): Fix to always guarantee a find of a
  13915. switch with joined parameter.
  13916. * opts.h (struct cl_option): New member back_chain.
  13917. * opts.sh: Update to calculate and add back_chain member.
  13918. 2003-06-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
  13919. * diagnostic.h (output_host_wide_integer): Declare.
  13920. * diagnostic.c (output_long_long_decicaml): New function.
  13921. (output_host_wide_integer): Likewise.
  13922. (output_format): Use them. Handle "%ll" and "%w".
  13923. 2003-06-21 Jason Thorpe <thorpej@wasabisystems.com>
  13924. * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
  13925. 2003-06-21 Zack Weinberg <zack@codesourcery.com>
  13926. * aclocal.m4 (gcc_AC_C_CHARSET): Delete.
  13927. * configure.in: Don't use gcc_AC_C_CHARSET.
  13928. * configure, config.in: Regenerate.
  13929. * config/i370/i370.c, config/i370/i370.h: Use
  13930. (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
  13931. instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad.
  13932. 2003-06-21 Neil Booth <neil@daikokuya.co.uk>
  13933. * Makefile.in: Update.
  13934. * common.opt: New switches.
  13935. * opts.c: Include diagnostic.h.
  13936. (common_handle_option): Handle new switches.
  13937. * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
  13938. flag_if_conversion2, flag_delete_null_pointer_checks,
  13939. flag_rerun_cse_after_loop): Make extern.
  13940. (flag_dummy): New.
  13941. (f_options): Update to use flag_dummy for moved options.
  13942. (decode_f_option): Some switches moved to opts.c.
  13943. * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
  13944. flag_if_conversion2, flag_delete_null_pointer_checks,
  13945. flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
  13946. flag_tracer, flag_thread_jumps, flag_unroll_loops,
  13947. flag_unroll_all_loops, flag_unswitch_loops): New.
  13948. Sat Jun 21 13:41:00 CEST 2003 Jan Hubicka <jh@suse.cz>
  13949. * i386.c (ix86_va_arg): Fix allocation of temporary slot.
  13950. 2003-06-20 Kazu Hirata <kazu@cs.umass.edu>
  13951. * config/h8300/h8300-protos.h: Add a prototype for
  13952. same_cmp_preceding_p.
  13953. * config/h8300/h8300.c (same_cmp_preceding): New.
  13954. * config/h8300/h8300.md: Extend peephole2's that transform
  13955. compare:SI into shorter sequences so that they can deal with
  13956. signed comparisons.
  13957. 2003-06-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  13958. * doc/contrib.texi (Contributors): Use Windows instead of Win32.
  13959. Update Andreas Jaeger's entry.
  13960. Merge the two entries of Kaveh Ghazi, David Edelsohn, and
  13961. Loren J. Rittle.
  13962. 2003-06-21 Nathanael Nerode <neroden@gcc.gnu.org>
  13963. * mkconfig.sh: Add multiple inclusion guards to generated headers.
  13964. 2003-06-20 Neil Booth <neil@daikokuya.co.uk>
  13965. * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
  13966. * common.opt: Add remaining -W options and -g.
  13967. * diagnostic.c (warnings_are_errors): Remove.
  13968. * flags.h: Make most warning flags boolean.
  13969. * opts.c (common_handle_option): Handle remaining -W options, and -g.
  13970. Move many warning flags from toplev.c, making them boolean.
  13971. * toplev.c: Remove many warning flags.
  13972. (decode_W_option): Remove.
  13973. (decode_g_option): Make extern. Error on unknown switch.
  13974. (lang_independent_W_options): Use warn_dummy.
  13975. (independent_decode_option): Just handle -f switches now.
  13976. * toplev.h (decode_g_option): New.
  13977. 2003-06-20 Aldy Hernandez <aldyh@redhat.com>
  13978. PR/11092
  13979. * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
  13980. vectors.
  13981. 2003-06-20 Kelley Cook <kelleycook@wideopenwest.com>
  13982. * opts.sh: Tweak awk script for portability.
  13983. 2003-06-20 Mark Mitchell <mark@codesourcery.com>
  13984. PR c++/10888
  13985. * tree-inline.c (expand_call_inline): Do not warn about failing to
  13986. inline functions declared in system headers.
  13987. * doc/invoke.texi (-Winline): Expand on documentation.
  13988. 2003-06-20 Richard Henderson <rth@redhat.com>
  13989. * config/alpha/alpha.c (alpha_file_start): Disable
  13990. file_start_file_directive for ELF and not MDEBUG.
  13991. 2003-06-20 J"orn Rennecke <joern.rennecke@superh.com>
  13992. * sh.h (ROUND_TYPE_ALIGN): Remove.
  13993. 2003-06-20 Richard Henderson <rth@redhat.com>
  13994. * hooks.c (hook_int_void_no_regs): Rename from
  13995. hook_reg_class_void_no_regs; change return type.
  13996. * hooks.h: Update.
  13997. * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update.
  13998. * target.h (branch_target_register_class): Change return type to int.
  13999. Add documentation.
  14000. * config/sh/sh.c (sh_target_reg_class): Change return type.
  14001. * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.
  14002. 2003-06-20 Andreas Tobler <toa@pop.agri.ch>
  14003. * c-format.c: Change _Bool to bool reverting part of the last
  14004. patch.
  14005. 2003-06-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  14006. * som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
  14007. strip name encoding.
  14008. 2003-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  14009. * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
  14010. * configure: Regenerate.
  14011. Fixes PR driver/9362.
  14012. 2003-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  14013. * config/alpha/alpha.c (alpha_file_start): Fix typo.
  14014. 2003-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  14015. * config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
  14016. to ASM_OUTPUT_SOURCE_LINE.
  14017. 2003-06-20 Daniel Egger <degger@fhm.edu>
  14018. Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  14019. * doc/install.texi (Building): Correct and improve statement
  14020. about parallel builds.
  14021. 2003-06-20 Andreas Jaeger <aj@suse.de>
  14022. * c-common.c: Change _Bool to bool reverting part of the last
  14023. patch.
  14024. 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
  14025. * tree.h (expand_function_end): Remove all parameters.
  14026. * function.c (expand_function_end): Remove all parameters.
  14027. Use input_location. Never expand_end_bindings.
  14028. * c-decl.c (c_expand_body_1): Adjust expand_function_end call.
  14029. * coverage.c (create_coverage): Likewise.
  14030. 2003-06-20 Nick Clifton <nickc@redhat.com>
  14031. * doc/extend.texi (ARM Built-in Functions): New node. Document
  14032. ARM builtin functions for iWMMXt support.
  14033. 2003-06-20 Eric Botcazou <ebotcazou@libertysurf.fr>
  14034. * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
  14035. SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
  14036. (--with-as): Add @anchor.
  14037. (--with-gnu-ld): Fix typo.
  14038. (--with-ld): Add @uref to --with-as.
  14039. 2003-06-19 Zack Weinberg <zack@codesourcery.com>
  14040. * doc/tm.texi: Uniformly use @defmac for macros, rather than
  14041. @table items. Minor formatting and editorial corrections.
  14042. 2003-06-20 Neil Booth <neil@daikokuya.co.uk>
  14043. * line-map.c, line-map.h: Convert to ISO prototypes.
  14044. 2003-06-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  14045. * gcse.c (store_killed_in_insn): Fix.
  14046. 2003-06-19 Zack Weinberg <zack@codesourcery.com>
  14047. * target.h (asm_out.file_start, file_start_app_off,
  14048. file_start_file_directive): New hooks.
  14049. * target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
  14050. TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
  14051. New hook-definition macros.
  14052. * doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
  14053. * varasm.c (default_file_start): New.
  14054. * output.h: Prototype it.
  14055. * toplev.c (init_asm_output): Use targetm.asm_out.file_start.
  14056. * system.h: Poison ASM_FILE_START.
  14057. * config/alpha/alpha.c (alpha_write_verstamp): Delete.
  14058. (alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
  14059. (unicosmk_asm_file_start): Rename unicosmk_file_start,
  14060. make static, take no arguments.
  14061. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
  14062. TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
  14063. * config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
  14064. TARGET_ASM_FILE_END. Remove reference to ASM_FILE_START in
  14065. comment.
  14066. * config/arc/arc.c (arc_asm_file_start): Rename
  14067. arc_file_start, take no arguments, make static.
  14068. (TARGET_ASM_FILE_START): Set it.
  14069. * config/arm/arm.c (aof_file_start): New static function.
  14070. (TARGET_ASM_FILE_START): Set it, when appropriate.
  14071. * config/arm/coff.h, config/arm/elf.h:
  14072. Set TARGET_ASM_FILE_START_APP_OFF to true.
  14073. * config/avr/avr.c (asm_file_start): Rename avr_file_start,
  14074. take no arguments, make static.
  14075. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
  14076. Set them.
  14077. * config/c4x/c4x.c (c4x_file_start): New static function.
  14078. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
  14079. Set them.
  14080. * config/cris/cris.c (cris_file_start): New static function.
  14081. (TARGET_ASM_FILE_START): Set it.
  14082. * config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
  14083. dsp16xx_file_start, make static.
  14084. (luxworks_dsp16xx_file_start): Delete.
  14085. (TARGET_ASM_FILE_START): Set it.
  14086. * config/h8300/h8300.c (asm_file_start): Rename
  14087. h8300_file_start, make static, take no arguments.
  14088. (TARGET_ASM_FILE_START): Set it.
  14089. * config/i370/i370.c (i370_file_start): New static function.
  14090. (TARGET_ASM_FILE_START): Set it.
  14091. * config/i386/i386.c (x86_file_start): New static function.
  14092. (TARGET_ASM_FILE_START): Set it.
  14093. * config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
  14094. X86_FILE_START_FLTUSED): New macros, default to false.
  14095. * config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
  14096. * config/i386/sysv4.h, config/i386/sco5.h: Override
  14097. X86_FILE_START_VERSION_DIRECTIVE to true.
  14098. * config/ia64/ia64.c (ia64_file_start): New static function.
  14099. (TARGET_ASM_FILE_START): Set it.
  14100. (emit_safe_across_calls): Take no arguments.
  14101. * config/ia64/ia64.md: Update to match.
  14102. * config/m32r/m32r.c (m32r_asm_file_start): Rename
  14103. m32r_file_start, make static, take no arguments.
  14104. (TARGET_ASM_FILE_START): Set it.
  14105. * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
  14106. m68hc11_file_start, make static, take no arguments.
  14107. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
  14108. (print_options): Delete.
  14109. * config/m68k/m68k.c (m68k_hp320_file_start): New static function.
  14110. (TARGET_ASM_FILE_START_APP_OFF): Set.
  14111. * config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
  14112. m68k_hp320_file_start.
  14113. * config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
  14114. Make static, take no arguments.
  14115. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
  14116. * config/mmix/mmix.c (mmix_asm_file_start): Rename
  14117. mmix_file_start, make static, take no arguments.
  14118. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
  14119. * config/mn10300/mn10300.c (asm_file_start): Rename
  14120. mn10300_file_start, make static, take no arguments.
  14121. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
  14122. * config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
  14123. * config/pa/pa.c (pa_file_start_level, pa_file_start_space,
  14124. pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
  14125. pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
  14126. pa_hpux64_hpas_file_start): New static functions.
  14127. * config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
  14128. * config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
  14129. pa_linux_file_start.
  14130. * config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
  14131. pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
  14132. appropriate.
  14133. * config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
  14134. * config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
  14135. (rs6000_file_start): Make static, take no arguments. Reset
  14136. default_cpu under certain conditions.
  14137. (rs6000_xcoff_file_start): New function.
  14138. * config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
  14139. * config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
  14140. TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
  14141. * config/sh/sh.c (output_file_start): Rename
  14142. sh_file_start, make static, take no arguments. Merge in old
  14143. code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
  14144. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
  14145. * config/sh/sh.c (TARGET_ELF): Define to 0.
  14146. * config/sh/elf.h (TARGET_ELF): Redefine to 1.
  14147. * config/v850/v850.c (asm_file_start): Delete.
  14148. (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
  14149. * config/vax/vax.c (vax_file_start): New static function.
  14150. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.
  14151. * config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
  14152. * config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
  14153. * config/i386/att.h, config/i386/gas.h, config/i386/linux.h
  14154. * config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
  14155. * config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
  14156. * config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.
  14157. * config/darwin.h, config/elfos.h, config/alpha/elf.h
  14158. * config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
  14159. * config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
  14160. * config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
  14161. * config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
  14162. * config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
  14163. * config/i370/i370.h, config/i386/att.h, config/i386/gas.h
  14164. * config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
  14165. * config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
  14166. * config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
  14167. * config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
  14168. * config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
  14169. * config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
  14170. * config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
  14171. * config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
  14172. * config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
  14173. * config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
  14174. * config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.
  14175. * config/alpha/alpha-protos.h, config/arc/arc-protos.h
  14176. * config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
  14177. * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
  14178. * config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
  14179. * config/mips/mips-protos.h, config/mmix/mmix-protos.h
  14180. * config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
  14181. * config/sh/sh-protos.h, config/v850/v850-protos.h: Update.
  14182. * xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
  14183. Remove reference to ASM_FILE_START in comment.
  14184. * config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
  14185. * config/arm/linux-gas.h, config/arm/netbsd-elf.h
  14186. * config/arm/netbsd.h: Delete definition of ARM_OS_NAME.
  14187. 2003-06-19 Graeme Peterson <gp@qnx.com>
  14188. * gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
  14189. SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
  14190. sysroot_hdrs_suffix_spec): New.
  14191. (static_specs): Initialize new variables.
  14192. (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
  14193. * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
  14194. New macros.
  14195. 2003-06-19 Andreas Jaeger <aj@suse.de>
  14196. * c-aux-info.c: Convert to ISO C90.
  14197. * c-pragma.c: Likewise.
  14198. * c-common.c: Likewise.
  14199. * c-common.h: Likewise.
  14200. * c-convert.c: Likewise.
  14201. * c-cppbuiltin.c: Likewise.
  14202. * c-dump.c: Likewise.
  14203. * c-decl.c: Likewise
  14204. * c-format.c: Likewise.
  14205. * c-incpath.c: Likewise.
  14206. * c-incpath.h: Likewise.
  14207. 2003-06-19 Roger Sayle <roger@eyesopen.com>
  14208. * builtins.c (expand_errno_check): Assume that flag_errno_math
  14209. and HONOR_NANS have been tested before calling here. Only try
  14210. to set errno ourselves if the decl can't throw an exception.
  14211. (expand_builtin_mathfn): Move the code to stabilize the arg
  14212. after the main switch, so that that its only done when needed.
  14213. BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative.
  14214. Don't modify the original expr when stabilizing the argument.
  14215. (expand_builtin_mathfn_2): Likewise, move the code to stabilize
  14216. the args after the main switch, and don't modify the orginal exp.
  14217. 2003-06-19 Aldy Hernandez <aldyh@redhat.com>
  14218. * expr.c (const_vector_from_tree): Initialize remaining elements
  14219. to 0.
  14220. 2003-06-19 Aldy Hernandez <aldyh@redhat.com>
  14221. * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types.
  14222. Change "fix" to "float".
  14223. 2003-06-19 Andreas Jaeger <aj@suse.de>
  14224. * c-tree.h: Remove declaration of poplevel.
  14225. * tree.h: Remove declaration of approx_sqrt.
  14226. * c-lex.c: Remove redundant declaration of asm_out_file.
  14227. * flags.h: Remove declaration of warn_unknown_pragma and
  14228. main_input_filename.
  14229. * rtl.h: Remove functions from fold-const.c since they're already
  14230. declared in tree.h.
  14231. * regs.h: Remove redundant declaration of reg_names.
  14232. * bt-load.c (migrate_btr_defs): Correct printf arguments.
  14233. * protoize.c: Fix breakage from last patch.
  14234. 2003-06-19 J"orn Rennecke <joern.rennecke@superh.com>
  14235. * hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h
  14236. has been included.
  14237. 2003-06-18 James A Morrison <ja2morri@student.math.uwaterloo.ca>
  14238. * config/sparc/sparc.c: Update copyright year.
  14239. 2003-06-19 David Edelsohn <edelsohn@gnu.org>
  14240. * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL
  14241. to ABI_V4.
  14242. 2003-06-18 Joseph S. Myers <jsm@polyomino.org.uk>
  14243. PR bootstrap/4068
  14244. * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.
  14245. 2003-06-19 Kazu Hirata <kazu@cs.umass.edu>
  14246. * config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
  14247. to the end of the file. Remove unnecessary prototypes.
  14248. 2003-06-19 Hans-Peter Nilsson <hp@axis.com>
  14249. * bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize
  14250. calls to insn_default_latency and result_ready_cost. Initialize
  14251. def_latency to 1.
  14252. 2003-06-18 Richard Henderson <rth@redhat.com>
  14253. * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.
  14254. (_Unwind_FindEnclosingFunction): Implement.
  14255. 2003-06-18 Kazu Hirata <kazu@cs.umass.edu>
  14256. * toplev.c (rest_of_handle_sched): Hide the entire function if
  14257. INSN_SCHEDULING is not defined.
  14258. (rest_of_compilation): Call rest_of_handle_sched() only when
  14259. INSN_SCHEDULING is defined.
  14260. 2003-06-18 Stephen Clarke <stephen.clarke@superh.com>
  14261. J"orn Rennecke <joern.rennecke@superh.com>
  14262. * bt-load.c: New file.
  14263. * Makefile.in (OBJS): Include bt-load.o
  14264. (bt-load.o): Add dependencies.
  14265. * flags.h (flag_branch_target_load_optimize): Declare.
  14266. (flag_branch_target_load_optimize2): Likewise.
  14267. * hooks.c (hook_reg_class_void_no_regs): New function.
  14268. (hook_bool_bool_false): Likewise.
  14269. * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare.
  14270. * rtl.h (branch_target_load_optimize): Declare.
  14271. * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define.
  14272. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
  14273. (TARGET_INITIALIZER): Include these.
  14274. * target.h (struct gcc_target): Add branch_target_register_class
  14275. and branch_target_register_callee_saved members.
  14276. * toplev.c (enum dump_file_index): Add DFI_branch_target_load
  14277. (dump_file) Add "tars" entry.
  14278. (flag_branch_target_load_optimize): New variable.
  14279. (flag_branch_target_load_optimize2): Likewise.
  14280. (lang_independent_options): Add entries for new options.
  14281. (rest_of_compilation): Call branch_target_load_optimize.
  14282. * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document.
  14283. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
  14284. * doc/invoke.texi: Document -fbranch-target-load-optimize and
  14285. -fbranch-target-load-optimize2.
  14286. * rtl.h (epilogue_completed): Declare.
  14287. * recog.c (epilogue_completed): New variable.
  14288. * toplev.c (rest_of_compilation): Set it.
  14289. * flow.c (mark_regs_live_at_end): Use it.
  14290. * config/ia64/ia64.c (ia64_output_mi_thunk): Set it.
  14291. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
  14292. * config/sh/sh.c (sh_output_mi_thunk): Likewise.
  14293. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
  14294. * sh.c (shmedia_space_reserved_for_target_registers): New variable.
  14295. (sh_target_reg_class): New function.
  14296. (sh_optimize_target_register_callee_saved): Likwise.
  14297. (shmedia_target_regs_stack_space): Likewise.
  14298. (shmedia_reserve_space_for_target_registers_p): Likewise.
  14299. (shmedia_target_regs_stack_adjust): Likewise.
  14300. (TARGET_BRANCH_TARGET_REGISTER_CLASS): Override.
  14301. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
  14302. (calc_live_regs): If flag_branch_target_load_optimize2 and
  14303. TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved
  14304. for target registers, make sure that we save all target registers.
  14305. (sh_expand_prologue, sh_expand_epilogue): Take target register
  14306. optimizations into account. Collapse stack adjustments if that
  14307. is beneficial.
  14308. (initial_elimination_offset): Reserve space for target registers
  14309. if necessary.
  14310. * sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define.
  14311. (OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize.
  14312. 2003-06-18 Nick Clifton <nickc@redhat.com>
  14313. * config.gcc: Add an extra_header for ARM targets.
  14314. Support configuring with --with-cpu=iwmmxt.
  14315. * doc/invoke.texi: Document new value for -mcpu= ARM switch.
  14316. * config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register
  14317. names. Fix formatting.
  14318. * config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register
  14319. names.
  14320. * config/arm/arm-protos.h (arm_emit_vector_const): New
  14321. prototype.
  14322. (arm_output_load_gr): New prototype.
  14323. * config/arm/arm.c (extra_reg_names1): Delete.
  14324. (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT,
  14325. * arch_is_iwmmxt): Define.
  14326. (all_cores, all_architecture): Add entry for iwmmxt.
  14327. (arm_override_options): Add support for iwmmxt.
  14328. (use_return_insn, arm_function_arg, arm_legitimate_index_p,
  14329. arm_print_value, arm_rtx_costs_1, output_move_double,
  14330. arm_compute_save_reg_mask, arm_output_epilogue,
  14331. arm_get_frame_size, arm_expand_prologue, arm_print_operand,
  14332. arm_assemble_integer, arm_hard_regno_ok, arm_regno_class):
  14333. Likewise.
  14334. (arm_init_cumulative_args): Count iwmmxt registers.
  14335. (arm_function_ok_for_sibcall): Return false of sibcall_blocked
  14336. has been set.
  14337. (struct minipool_node): Add fix_size field.
  14338. (add_minipool_forward_ref): Add support for 8-byte aligning of
  14339. the pool.
  14340. (add_minipool_backward_ref, add_minipool_offsets,
  14341. dump_minipool, push_minipool_fix): Likewise.
  14342. (struct builtin_description): New struct.
  14343. (builtin_description): New array of iwmmxt builtin functions.
  14344. (arm_init_iwmmxt_builtins): New function.
  14345. (arm_init_builtins): New function.
  14346. (safe_vector_operand): New function.
  14347. (arm_expand_binop_builtin): New function.
  14348. (arm_expand_unop_builtin): New function.
  14349. (arm_expand_builtin): New function.
  14350. (arm_emit_vector_const): New function.
  14351. (arm_output_load_gr): New function.
  14352. * config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT,
  14353. TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT,
  14354. TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN,
  14355. DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define.
  14356. (BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled.
  14357. (CPP_CPU_ARCH_SPEC): Add entries for iwmmxt.
  14358. (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER,
  14359. reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
  14360. REG_CLASS_FOR_LETTER): Add iwmmxt registers.
  14361. (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt
  14362. registers unless the iwmmxt target is selected.
  14363. (FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM,
  14364. FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM,
  14365. IS_IWMMXT_GR_REGNUM): Define.
  14366. (FIRST_PSEUDO_REGISTER): Bump to 63.
  14367. (struct machine_function): Add sibcall_blocked field.
  14368. (Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and
  14369. nargs fields.
  14370. (enum arm_builtins): New enum list.
  14371. * config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC,
  14372. UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS,
  14373. UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI,
  14374. UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs.
  14375. (VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ,
  14376. VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs.
  14377. (movv2si, movv4hi, movv8qi): New expands for vector moves.
  14378. Include iwmmxt.md.
  14379. * config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt
  14380. multilib.
  14381. (MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise.
  14382. * config/arm/mmintrin.h: New ARM specific header file.
  14383. * config/arm/iwmmx.md: New iWMMXt specific machine patterns.
  14384. 2003-06-18 J"orn Rennecke <joern.rennecke@superh.com>
  14385. * toplev.c (Remaining -d letters summary): Update.
  14386. 2003-06-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  14387. * config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL
  14388. argument.
  14389. (function_arg): Handle CALL_LIBCALL flag.
  14390. * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
  14391. prototype.
  14392. * config/rs6000/rs6000.h (CALL_LIBCALL): New macro.
  14393. (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
  14394. (INIT_CUMULATIVE_ARGS): Add LIBCALL argument.
  14395. (INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
  14396. 2003-06-18 Neil Booth <neil@daikokuya.co.uk>
  14397. * Makefile.in: Update.
  14398. * common.opt: New options.
  14399. * opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param,
  14400. set_Wunused): New.
  14401. (common_handle_option): Handle new options.
  14402. * toplev.c (set_target_switch): Export.
  14403. (set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c.
  14404. (decode_W_option): -Wunused and -Wextra handled in opts.c now.
  14405. (independent_decode_option): More options handled in opts.c now.
  14406. Change prototype.
  14407. * toplev.h (set_target_switch): New.
  14408. 2003-06-17 Robert Abeles <rabeles@archaelogic.com>
  14409. PR debug/4252
  14410. * c-opts.c (c_common_handle_option): Pass -fdump argument suffix
  14411. to dump_switch_p().
  14412. * tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix
  14413. from static strings in dump_files.
  14414. 2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  14415. * system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
  14416. VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
  14417. libiberty macros.
  14418. 2003-06-17 Jason Merrill <jason@redhat.com>
  14419. PR c++/10929
  14420. * tree-inline.c (expand_call_inline): Don't warn about failing to
  14421. inline a function which was made inline by -finline-functions.
  14422. 2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
  14423. * config/h8300/h8300-protos.h: Update to ISO C.
  14424. * config/h8300/h8300.c: Likewise.
  14425. * config/h8300/h8300.h: Likewise.
  14426. * config/h8300/h8300.md: Likewise.
  14427. 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
  14428. * configure.in: Replace BUILD_CC references with CC_FOR_BUILD.
  14429. * configure: Regenerate.
  14430. * Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD.
  14431. 2003-06-17 Ranjit Mathew <rmathew@hotmail.com>
  14432. * install.texi (Testing): Add information on how to run Java
  14433. runtime tests separately.
  14434. 2003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  14435. * config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
  14436. * config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
  14437. (MIPS_CPU_STRING_DEFAULT): Redefine to mips2.
  14438. 2003-06-17 Christopher Faylor <cgf@redhat.com>
  14439. * doc/install.texi: Add msvc rebuild caveat.
  14440. 2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
  14441. * config/sh/coff.h: Replace Hitachi with Renesas.
  14442. * config/sh/elf.h: Likewise.
  14443. * config/sh/embed-elf.h: Likewise.
  14444. * config/sh/lib1funcs.asm: Likewise.
  14445. * config/sh/sh-protos.h: Likewise.
  14446. * config/sh/sh.c: Likewise.
  14447. * config/sh/sh.h: Likewise.
  14448. * config/sh/sh.md: Likewise.
  14449. 2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
  14450. * ChangeLog.3: Fix comment typos.
  14451. * ChangeLog.6: Likewise.
  14452. * config/d30v/d30v.c: Likewise.
  14453. * config/h8300/h8300.md: Likewise.
  14454. * config/m32r/m32r.md: Likewise.
  14455. * config/mips/mips.c: Likewise.
  14456. * config/mips/mips.md: Likewise.
  14457. * config/ns32k/NOTES: Likewise.
  14458. 2003-06-17 Ranjit Mathew <rmathew@hotmail.com>
  14459. Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  14460. * doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
  14461. to run Java runtime tests separately.
  14462. 2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
  14463. * config/h8300/h8300-protos.h: Update a comment.
  14464. 2003-06-17 J"orn Rennecke <joern.rennecke@superh.com>
  14465. * sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
  14466. are aligned like integral modes.
  14467. (SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode.
  14468. * sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P.
  14469. (LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF.
  14470. * sh.md (*pt): Remove.
  14471. * sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers.
  14472. * sh.md (return_media_rte): New pattern.
  14473. (return_media): Use it.
  14474. 2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
  14475. * doc/contrib.texi: Replace Hitachi with Renesas.
  14476. * doc/install.texi: Likewise.
  14477. * doc/invoke.texi: Likewise.
  14478. 2003-06-17 J"orn Rennecke <joern.rennecke@superh.com>
  14479. * sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
  14480. behaviour.
  14481. 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  14482. * doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.
  14483. * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
  14484. 2003-01-23 patch. Corrected to handle kernels with changed ucontext.
  14485. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
  14486. -msdata=eabi usages.
  14487. * gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses.
  14488. 2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  14489. * alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
  14490. * fixinc/gnu-regex.c: Don't define `volatile'.
  14491. * ggc-page.c: Don't check HAVE_LONG_DOUBLE.
  14492. * ggc-simple.c: Likewise.
  14493. * system.h: Don't define `volatile'.
  14494. * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
  14495. * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
  14496. call these macros.
  14497. * config.in, configure: Regenerated.
  14498. 2003-06-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  14499. * config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
  14500. Handle POINTERS_EXTEND_UNSIGNED.
  14501. 2003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  14502. * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
  14503. !TARGET_IRIX6]: Define as NULL.
  14504. 2003-06-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  14505. * config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.
  14506. 2003-06-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  14507. * dbxout.c (dbxout_source_line_counter): New global variable.
  14508. Mark it with GTY(()).
  14509. (dbxout_source_line): Increment dbxout_source_line_counter
  14510. and pass it to ASM_OUTPUT_SOURCE_LINE.
  14511. * sdbout.c (sdbout_source_line_counter): New global variable.
  14512. Mark it with GTY(()).
  14513. (unnamed_struct_number): Mark it with GTY(()).
  14514. (sdbout_source_line): Increment sdbout_source_line_counter
  14515. and pass it to ASM_OUTPUT_SOURCE_LINE.
  14516. * xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
  14517. (xcoffout_source_line): Pass 0 as third argument to
  14518. ASM_OUTPUT_SOURCE_LINE.
  14519. (xcoffout_begin_prologue): Likewise.
  14520. * config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
  14521. Use it instead of 'sym_lineno' but without incrementing it.
  14522. * config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14523. * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14524. * config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14525. * config/alpha/alpha.c (alpha_start_function): Pass 0 as third
  14526. argument to ASM_OUTPUT_SOURCE_LINE.
  14527. * config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
  14528. * config/arm/aout.h: Remove useless comment.
  14529. * config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
  14530. * config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14531. * config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
  14532. Use it instead of 'sym_lineno' but without incrementing it.
  14533. * config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
  14534. * config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
  14535. parameter. Use it instead of 'sym_lineno' but without incrementing it.
  14536. * config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
  14537. argument to ASM_OUTPUT_SOURCE_LINE.
  14538. * config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
  14539. * config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14540. * config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
  14541. Use it instead of 'sym_lineno' but without incrementing it.
  14542. * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14543. * config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14544. * config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14545. * config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
  14546. * doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.
  14547. 2003-06-17 Richard Sandiford <rsandifo@redhat.com>
  14548. * config/mips/mips-protos.h (mips_expand_block_move): Declare.
  14549. (expand_block_move, output_block_move): Remove.
  14550. * config/mips/mips.h (enum block_move_type): Remove.
  14551. * config/mips/mips.c (block_move_call, output_block_move): Remove.
  14552. (mips_block_move_straight, mips_adjust_block_mem): New function.
  14553. (mips_block_move_loop): Renamed and reworked from block_move_loop.
  14554. (mips_expand_block_move): Likewise expand_block_move. Return false
  14555. to fall back on the target-independent code.
  14556. * config/mips/mips.md (movstrsi): Use mips_expand_block_move.
  14557. (movstrsi_internal*): Remove.
  14558. 2003-06-16 Zack Weinberg <zack@codesourcery.com>
  14559. * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
  14560. * cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
  14561. * cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
  14562. ISO C: new-style function declarations, no need for PARAMS,
  14563. no special punctuation on indirect function calls, use string
  14564. constant concatenation where convenient.
  14565. 2003-06-17 Andreas Jaeger <aj@suse.de>
  14566. * rtl.h: Remove declarations from coverage.h.
  14567. * toplev.c: Include coverage.h.
  14568. * Makefile.in (toplev.o): Depend on coverage.h.
  14569. * toplev.h: Remove extra declaration of print_time.
  14570. * gengtype.c (close_output_files): Remove duplicated declaration.
  14571. 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
  14572. * config/sparc/sysv4.h: Remove target-independent comment;
  14573. replace "GNU CC" with "GCC".
  14574. * config/vxworks.h: Replace "GNU compiler" with "GCC".
  14575. * config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
  14576. config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
  14577. config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
  14578. config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
  14579. config/sparc/rtemself.h, config/sparc/sol2-64.h,
  14580. config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
  14581. config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
  14582. config/sparc/sol2.h, config/sparc/sp64-aout.h,
  14583. config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
  14584. config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
  14585. "GNU compiler", "GNU CC" with "GCC".
  14586. * config/sparc/cypress.md, config/sparc/hypersparc.md,
  14587. config/sparc/sparc-modes.def, config/sparc/sparc.c,
  14588. config/sparc/sparc.md, config/sparc/sparclet.md,
  14589. config/sparc/supersparc.md, config/sparc/ultra1_2.md,
  14590. config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
  14591. "GNU C Compiler" with "GCC".
  14592. * config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
  14593. 2003-06-16 Aldy Hernandez <aldyh@redhat.com>
  14594. * simplify-rtx.c (simplify_subreg): Do not over-extend vector
  14595. constants.
  14596. * testsuite/gcc.c-torture/execute/simd-4.c: New.
  14597. 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
  14598. * config/ip2k/ip2k.h: Remove target-independent comments.
  14599. * config.gcc: Explicitly mention elfos.h in ip2k entry.
  14600. * config/ip2k/ip2k.h: Don't #include it here.
  14601. 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  14602. * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
  14603. config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
  14604. dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
  14605. function.c, gcc.c, genoutput.c, gensupport.c, global.c,
  14606. haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
  14607. loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
  14608. read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
  14609. stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
  14610. the PTR macro.
  14611. * gengtype.c: Don't use UNION_INIT_ZERO.
  14612. * system.h (UNION_INIT_ZERO): Delete.
  14613. 2003-06-16 Richard Henderson <rth@redhat.com>
  14614. * simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
  14615. GET_MODE_UNIT_SIZE when simplifying constant vectors.
  14616. 2003-06-16 Andreas Jaeger <aj@suse.de>
  14617. * timevar.c (get_run_time): Remove function provided also by
  14618. libiberty.
  14619. * timevar.h: Remove get_run_time declaration.
  14620. 2003-06-16 Kazu Hirata <kazu@cs.umass.edu>
  14621. * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
  14622. unreachable code.
  14623. 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  14624. * builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
  14625. cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
  14626. use macros from "symcat.h", instead rely on ISO C.
  14627. * system.h: Don't include "symcat.h".
  14628. * configure.in (AC_C_STRINGIZE): Delete.
  14629. * config.in, configure: Regenerate.
  14630. 2003-06-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  14631. * Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.
  14632. * tree.h (STMT_CHECK): New macro.
  14633. Also upper-case argument names on all checking macros and
  14634. fix some whitespace problems; assume CODE argument does not
  14635. have side-effects.
  14636. 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  14637. * scan.h: Convert to ISO C.
  14638. * system.h: Likewise.
  14639. * c-format.c (dynamic_format_types): New pointer for dynamic data.
  14640. (find_length_info_modifier_index, init_dynamic_asm_fprintf_info):
  14641. New functions split out of...
  14642. (handle_format_attribute): ...here.
  14643. 2003-06-16 J"orn Rennecke <joern.rennecke@superh.com>
  14644. * sh.h (REG_CLASS_FROM_LETTER): Change to:
  14645. (REG_CLASS_FROM_CONSTRAINT).
  14646. (CONST_OK_FOR_I): Rename to:
  14647. (CONST_OK_FOR_I08). Changed all users.
  14648. (CONST_OK_FOR_J): Rename to:
  14649. (CONST_OK_FOR_I16). Changed all users.
  14650. (CONST_OK_FOR_K): Rename to:
  14651. (CONST_OK_FOR_P27). Changed all users.
  14652. (CONST_OK_FOR_L): Rename to:
  14653. (CONST_OK_FOR_K08). Changed all users.
  14654. (CONST_OK_FOR_O): Rename to:
  14655. (CONST_OK_FOR_I06). Changed all users.
  14656. (CONST_OK_FOR_P): Rename to:
  14657. (CONST_OK_FOR_I10). Changed all users.
  14658. (CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define.
  14659. (CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise.
  14660. (EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise.
  14661. (EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise.
  14662. (EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise.
  14663. (EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise.
  14664. (CONST_OK_FOR_LETTER_P): Replace with
  14665. (CONST_OK_FOR_CONSTRAINT_P).
  14666. (EXTRA_CONSTRAINT_S): Rename to:
  14667. (EXTRA_CONSTRAINT_C16). Changed all users.
  14668. (MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses.
  14669. (EXTRA_CONSTRAINT_T): Rename to:
  14670. (EXTRA_CONSTRAINT_Csy). Changed all users.
  14671. (EXTRA_CONSTRAINT_Z): Remove.
  14672. (EXTRA_CONSTRAINT): Replace with:
  14673. (EXTRA_CONSTRAINT_STR).
  14674. (EXTRA_CONSTRAINT_U): Rename to:
  14675. (EXTRA_CONSTRAINT_Z). Changed all users.
  14676. * sh.c (and_operand): Use CONST_OK_FOR_J16.
  14677. * sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints.
  14678. (addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise.
  14679. (iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise.
  14680. (lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise.
  14681. (movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise.
  14682. (*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise.
  14683. (movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise.
  14684. (movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise.
  14685. (beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise.
  14686. (movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise.
  14687. (negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise.
  14688. (mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise.
  14689. (mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise.
  14690. (mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise.
  14691. (mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise.
  14692. (mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise.
  14693. (mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise.
  14694. (mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise.
  14695. (mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise.
  14696. (sssubv4hi3): Likewise.
  14697. (movsf_i): Change I[08]/r to G/r.
  14698. (movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc.
  14699. * sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD.
  14700. 2003-06-16 Vladimir Makarov <vmakarov@redhat.com>
  14701. * config/i386/i386.c (ix86_memory_move_cost): Fix typo.
  14702. 2003-06-16 Andreas Jaeger <aj@suse.de>
  14703. * basic-block.h: Remove duplicate prototype of
  14704. note_prediction_to_br_prob.
  14705. * tree.h: Remove duplicate prototype of strip_float_extensions.
  14706. 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  14707. * config/c4x/c4x.c: Don't include "c-tree.h".
  14708. * config/pa/pa.c: Likewise.
  14709. * langhooks.c: Likewise.
  14710. * tree.h (poplevel): Declare.
  14711. 2003-06-16 Kazu Hirata <kazu@cs.umass.edu>
  14712. * config/h8300/h8300.c (const_costs): Move this to ...
  14713. (h8300_rtx_costs): ... here.
  14714. 2003-06-16 Roger Sayle <roger@eyesopen.com>
  14715. * optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
  14716. (tan_optab, atan_optab): Define corresponding macros.
  14717. * optabs.c (init_optabs): Initialize tan_optab and atan_optab.
  14718. * genopinit.c (optabs): Implement tan_optab and atan_optab
  14719. using tan?f2 and atan?f2 patterns.
  14720. * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L}
  14721. using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab.
  14722. Change the default value of errno_set to false.
  14723. (expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L}
  14724. using expand_builtin_mathfn.
  14725. * config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New
  14726. expander patterns implemented using existing atan2?f3 patterns.
  14727. 2003-06-16 Roger Sayle <roger@eyesopen.com>
  14728. * expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
  14729. both operands of the addition equal, reuse the expanded RTL.
  14730. (expand_expr <MULT_EXPR>): Likewise for multiplication.
  14731. 2003-06-16 Roger Sayle <roger@eyesopen.com>
  14732. Jeff Law <law@redhat.com>
  14733. * fold-const.c (operand_equal_p): Consider two calls to "const"
  14734. functions with identical non-volatile arguments to be equal.
  14735. Consider the FUNCTION_DECL for the "__builtin_foo" form of a
  14736. built-in function to be equal to the "foo" form.
  14737. 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
  14738. * config/rs6000/sysv4le.h: Remove target-independent comment.
  14739. Replace "GNU compiler" with "GCC" in comment.
  14740. 2003-06-16 Andreas Jaeger <aj@suse.de>
  14741. * tracer.c: Remove duplicate declaration.
  14742. * toplev.c: Remove extra declaration of decode_d_option.
  14743. * ssa.c: Remove duplicate declaration.
  14744. * sreal.c: Remove extra declaration of dump_sreal.
  14745. * reload1.c: Remove duplicate declarations.
  14746. * integrate.c: Remove extra declaration of
  14747. set_decl_abstract_flags.
  14748. * flow.c: Remove extra declaration of dump_flow_info.
  14749. * alias.c: Remove extra declaration of get_addr.
  14750. 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
  14751. * config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
  14752. config/vxworks.h: GNU CC -> GCC.
  14753. * convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
  14754. lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c,
  14755. stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h,
  14756. ssa.h, tree.def: Replace overly specific references to "GNU C"
  14757. and "GNU C Compiler" with references to "GCC".
  14758. 2003-06-16 J"orn Rennecke <joern.rennecke@superh.com>
  14759. * sh.c (prepare_move_operand): Check if operand 0 is an invalid
  14760. memory reference. Fix test that checks if operand 1 is using r0.
  14761. * sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) .
  14762. * defaults.h (REG_CLASS_FROM_CONSTRAINT): Only define if not already
  14763. defined.
  14764. 2003-06-15 Nathan Sidwell <nathan@codesourcery.com>
  14765. * function.h (struct emit_status): Remove x_last_linenum,
  14766. x_last_filename. Add x_last_location.
  14767. * rtl.h: #include "input.h".
  14768. (NOTE_DATA): New.
  14769. * cfglayout.c (duplicate_insn_chain): Use emit_line_note for line
  14770. number notes.
  14771. * emit-rtl.c (last_linenum, last_filename): Remove.
  14772. (last_location): New.
  14773. (emit_line_note_after): LINE must always be >= 0.
  14774. (emit_line_note): Likewise. Check not duplicate here...
  14775. (emit_note): ... rather than here.
  14776. (emit_line_note_force, force_next_line_note, init_emit): Adjust.
  14777. * integrate.c (expand_inline_function): Use emit_line_note for
  14778. line number notes.
  14779. (copy_insn_list): Likewise.
  14780. * unroll.c (copy_loop_body): Likewise.
  14781. * Makefile.in (RTL_H): Add input.h.
  14782. 2003-06-16 Richard Sandiford <rsandifo@redhat.com>
  14783. * optabs.c (emit_libcall_block): Don't hoist insns past a label.
  14784. 2003-06-16 Richard Henderson <rth@redhat.com>
  14785. * config/alpha/alpha-protos.h, config/alpha/elf.h,
  14786. config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
  14787. config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
  14788. * config/alpha/alpha.c: Likewise. Move targetm init to end of file.
  14789. Remove unneeded static function decls.
  14790. 2003-06-16 Neil Booth <neil@daikokuya.co.uk>
  14791. * c-opts.c (c_common_handle_option): s/on/value/.
  14792. (OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
  14793. directly rather than converting the argument.
  14794. * c.opt: Update docs. Use UInteger where appropriate.
  14795. * common.opt: Use UInteger where appropriate.
  14796. * opts.c (integral_argument): New.
  14797. (handle_argument): Handle integral arguments, and optional
  14798. joined arguments.
  14799. (common_handle_option): Update.
  14800. * opts.h (CL_MISSING_OK, CL_UINTEGER): New.
  14801. * opts.sh: Handle JoinedOrMissing and UInteger flags.
  14802. 2003-06-16 Neil Booth <neil@daikokuya.co.uk>
  14803. * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
  14804. unnecessary extern declaration.
  14805. 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
  14806. * config/gofast.h, config/interix.h, config/interix3.h,
  14807. config/libgloss.h, config/linux-aout.h, config/linux.h,
  14808. config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
  14809. * config/kaos.h: "GNU compiler" -> GCC.
  14810. * config/linux-aout.h, config/lynx.h: Clarify comment describing file.
  14811. * config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
  14812. config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
  14813. GNU CC -> GCC.
  14814. * config/svr3.h: Remove #if 0 code, misleading comments.
  14815. GNU CC -> GCC.
  14816. 2003-06-15 Zack Weinberg <zack@codesourcery.com>
  14817. * vmsdbgout.c (vmsdbgout_finish): Rename parameter to
  14818. main_input_filename to avoid conflict with input_filename macro.
  14819. 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
  14820. * config/mips/mips.h (asm_file_name, g_switch_set,
  14821. g_switch_value): Remove.
  14822. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
  14823. unnecessary extern declarations.
  14824. 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
  14825. * config/frv/frv.h: Remove declaration of g_switch_value.
  14826. * config/m32r/m32r.h: Remove declaration of g_switch_value.
  14827. * config/m68hc11/m68hc11.c: Remove declaration of asm_file_name.
  14828. 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
  14829. * opts.sh: Quote '+' in regex.
  14830. 2003-06-15 Andrew Pinski <pinskia@physics.uc.edu>
  14831. * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
  14832. * config/rs6000/rs6000.c: Include cfglayout.h.
  14833. * config/alpha/alpha.c: Likewise.
  14834. * config/ia64/ia64.c: Likewise.
  14835. * config/sparc/sparc.c: Likewise.
  14836. * config/sh/sh.c: Likewise.
  14837. 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
  14838. * opts.sh: Quote '+' in regex.
  14839. 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
  14840. * c-opts.c (lang_flags): Update for new spelling of flags.
  14841. (write_langs): Similarly.
  14842. * c.opt: Specify languages.
  14843. * opts.h: Remove languages.
  14844. * opts.sh: Recognise front-end defined languages.
  14845. * doc/sourcebuild.texi: Update.
  14846. 2003-06-15 Andreas Jaeger <aj@suse.de>
  14847. * alloc-pool.c: Convert to ISO C90 prototypes.
  14848. * alloc-pool.h: Likewise.
  14849. * alias.c: Likewise.
  14850. * attribs.c: Likewise.
  14851. * bb-reorder.c: Likewise.
  14852. * bitmap.h: Likewise.
  14853. * bitmap.c: Likewise.
  14854. * builtins.c: Likewise.
  14855. * tree.h: Convert prototypes of attribs.c to ISO C90.
  14856. * basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
  14857. * rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
  14858. * expr.h: Convert prototypes of builtins.c to ISO C90.
  14859. 2003-06-15 Roger Sayle <roger@eyesopen.com>
  14860. * config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to
  14861. implement exp, expf and expl built-ins as inline x87 intrinsics.
  14862. (UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to
  14863. represent x87's fscale, frndint and f2xm1 insns respectively.
  14864. (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns
  14865. to encode x87's "fscale" instruction followed by a pop.
  14866. (*frndintxf2): New insn pattern for "frndint".
  14867. (*f2xm1xf2): New insn pattern for "f2xm1".
  14868. * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and
  14869. UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like
  14870. UNSPEC_FPATAN.
  14871. 2003-06-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  14872. * gencheck.c (main): Avoid generating duplicate macros.
  14873. * Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of
  14874. knowing names of language subdirectories.
  14875. 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
  14876. * c-pch.c (asm_file_name): Remove.
  14877. * common.opt: Add more switches.
  14878. * flags.h (g_switch_set): Boolify.
  14879. * opts.c (g_switch_value, g_switch_set, exit_after_options,
  14880. version_flag): Move from toplev.c.
  14881. (common_handle_option): Handle more switches from toplev.c.
  14882. * toplev.c (display_help, display_target_options, decode_d_option,
  14883. print_version): Make non-static, remove prototypes.
  14884. (aux_base_name, asm_file_name, aux_info_file_name): Constify.
  14885. (version_flag, g_switch_value, g_switch_set, exit_after_options):
  14886. Remove.
  14887. (independent_decode_option): Move some handlers to opts.c.
  14888. * toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
  14889. exit_after_options, version_flag, display_help, display_target_options,
  14890. print_version, decode_d_option): New.
  14891. 2003-06-15 Kazu Hirata <kazu@cs.umass.edu>
  14892. * config/alpha/alpha.md: Follow spelling conventions.
  14893. * config/arm/arm.c: Likewise.
  14894. * config/arm/arm.h: Likewise.
  14895. * config/arm/arm.md: Likewise.
  14896. * config/arm/crtn.asm: Likewise.
  14897. * config/m32r/m32r.c: Likewise.
  14898. * config/m32r/m32r.md: Likewise.
  14899. * config/rs6000/rs6000.c: Likewise.
  14900. 2003-06-15 Richard Henderson <rth@redhat.com>
  14901. * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
  14902. insn_locators_initialize.
  14903. * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
  14904. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
  14905. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
  14906. * config/sh/sh.c (sh_output_mi_thunk): Do it later.
  14907. 2003-06-15 Kazu Hirata <kazu@cs.umass.edu>
  14908. * builtins.c (expand_builtin_expect_jump): Remove redundant
  14909. tests that are also in any_condjump_p().
  14910. 2003-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  14911. * libgcc2.c: Delete sysV68 L_trampoline section.
  14912. * config/m68k/mot3300-crt0.S: Delete file.
  14913. * config/m68k/mot3300Mcrt0.S: Likewise.
  14914. 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
  14915. * config/aoutos.h: Remove.
  14916. * config.gcc: Remove reference to aoutos.h.
  14917. * config/m68k/m68k-aout.h: Remove reference to aoutos.h.
  14918. 2003-06-14 Kazu Hirata <kazu@cs.umass.edu>
  14919. * doc/install.texi: Follow spelling conventions.
  14920. * doc/tm.texi: Likewise.
  14921. * config/fp-bit.c: Likewise.
  14922. * config/arm/arm.c: Likewise.
  14923. * config/frv/frv.c: Likewise.
  14924. * config/ns32k/NOTES: Likewise.
  14925. * config/ns32k/STATUS: Likewise.
  14926. 2003-06-14 Roger Sayle <roger@eyesopen.com>
  14927. Zack Weinberg <zack@codesourcery.com>
  14928. * rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
  14929. * defaults.h (STORE_FLAG_VALUE): Move default definition to here.
  14930. * doc/tm.texi (STORE_FLAG_VALUE): Document the default value.
  14931. * config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition.
  14932. * config/arc/arc.h (STORE_FLAG_VALUE): Likewise.
  14933. * config/arm/arm.h (STORE_FLAG_VALUE): Likewise.
  14934. * config/cris/cris.h (STORE_FLAG_VALUE): Likewise.
  14935. * config/i370/i370.h (STORE_FLAG_VALUE): Likewise.
  14936. * config/i386/i386.h (STORE_FLAG_VALUE): Likewise.
  14937. * config/i960/i960.h (STORE_FLAG_VALUE): Likewise.
  14938. * config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise.
  14939. * config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise.
  14940. * config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise.
  14941. * config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise.
  14942. * config/mips/mips.h (STORE_FLAG_VALUE): Likewise.
  14943. * config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise.
  14944. * config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise.
  14945. * config/pa/pa.h (STORE_FLAG_VALUE): Likewise.
  14946. * config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise.
  14947. * config/sh/sh.h (STORE_FLAG_VALUE): Likewise.
  14948. * config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise.
  14949. * config/v850/v850.h (STORE_FLAG_VALUE): Likewise.
  14950. * config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise.
  14951. 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
  14952. * opts.sh (POSIXLY_CORRECT): Unset it.
  14953. * tree.h (init_function_start): Remove filename and line paramters.
  14954. * function.c (init_function_start): Remove filename and line
  14955. parameters. Use DECL_SOURCE_LOCATION.
  14956. * c-decl.c (store_parm_decls): Adjust init_function_start call.
  14957. (c_expand_body_1): Likewise.
  14958. * coverage.c (create_coverage): Likewise.
  14959. * objc/objc-act.c (build_tmp_function_decl): Set line number to
  14960. zero.
  14961. (hack_method_prototype): Adjust init_function_start call.
  14962. 2003-06-14 Richard Earnshaw <rearnsha@arm.com>
  14963. PR target/3724
  14964. * arm/linux-elf.h (PROFILE_HOOK): Define.
  14965. 2003-06-14 Richard Earnshaw <rearnsha@arm.com>
  14966. PR target/11183
  14967. * arm.h (CANNOT_CHANGE_MODE_CLASS): Define.
  14968. 2003-06-14 Roger Sayle <roger@eyesopen.com>
  14969. * opts.sh: Work around a mysterious feature in cygwin's gawk
  14970. where specifying the input files explicitly has a different
  14971. behavior to piping them via stdin.
  14972. 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
  14973. * doc/sourcebuild.texi: Update.
  14974. 2003-06-14 Richard Earnshaw <rearnsha@arm.com>
  14975. PR target/11183
  14976. * arm.c (output_move_double): Pass SImode to adjust_address.
  14977. 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
  14978. * Makefile.in: Update to use common.opt and lang_opt_files.
  14979. (c-options.c, c-options.h): Remove.
  14980. (options.c, options.h): Add.
  14981. * c-opts.c: Include options.h not c-options.h.
  14982. * common.opt: New file.
  14983. * configure, configure.in: Add lang_opt_files.
  14984. * opts.c: Include flags.h and diagnostic.h.
  14985. (common_handle_option): New.
  14986. (handle_option): Update to recognize common options and all
  14987. language-dependent options.
  14988. * opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New.
  14989. (struct cl_option): Make flags of type int.
  14990. * opts.h: Flag option with front ends to which it applies.
  14991. Handle duplicate options.
  14992. * toplev.c (filename): Remove.
  14993. (independent_decode_option): Don't handle filenames and -quiet.
  14994. (process_options, do_compile): Update.
  14995. 2003-06-14 Nick Clifton <nickc@redhat.com>
  14996. * doc/install.texi (Specific): Add description of different
  14997. ARM supported file format targets.
  14998. Sat Jun 14 11:12:04 CEST 2003 Jan Hubicka <jh@suse.cz>
  14999. * reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators
  15000. inside delay slots.
  15001. 2003-06-13 Matt Kraai <kraai@alumni.cmu.edu>
  15002. * unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
  15003. * unwind-pe.h (size_of_encoded_value): Do not define if
  15004. NO_SIZE_OF_ENCODED_VALUE is defined.
  15005. 2003-06-13 Roger Sayle <roger@eyesopen.com>
  15006. * expr.c (expand_expr <COMPLEX_CST>): Handle the case of
  15007. expanding a complex constant into a CONCAT target.
  15008. 2003-06-13 Zack Weinberg <zack@codesourcery.com>
  15009. * config/svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1.
  15010. (ASM_FILE_START_1): Delete.
  15011. * config/i386/att.h, config/i386/sco5.h,
  15012. config/i386/sysv3.h
  15013. (ASM_FILE_START_1): Delete.
  15014. 2003-06-13 Kelley Cook <kelleycook@wideopenwest.com>
  15015. * config/i386/bsd.h: Remove ASM_FILE_START.
  15016. * config/i386/djgpp.h: Likewise.
  15017. * config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.
  15018. * config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
  15019. * config.gcc (i[34567]86-pc-msdosdjgpp): ... here.
  15020. 2003-06-13 Vladimir Makarov <vmakarov@redhat.com>
  15021. PR bootstrap/10835
  15022. * haifa-sched.c (max_lookahead_tries,
  15023. cached_first_cycle_multipass_dfa_lookahead,
  15024. cached_issue_rate): New variables.
  15025. (max_issue): Check the number of tries.
  15026. (choose_ready): Calculate max_lookahead_tries.
  15027. (sched_init): Check cached_issue_rate.
  15028. 2003-06-13 Richard Henderson <rth@redhat.com>
  15029. * cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
  15030. * cfgrtl.c (purge_dead_edges): Expect it too.
  15031. 2003-06-13 Jim Wilson <wilson@tuliptree.org>
  15032. Eric Botcazou <ebotcazou@libertysurf.fr>
  15033. PR bootstrap/10983
  15034. * combine.c (make_extraction): Use gen_lowpart_for_combine
  15035. when extracting from a REG and not in the destination of a SET.
  15036. 2003-06-13 Doug Evans <dje@sebabeach.org>
  15037. * tsystem.h (abort): Declare in inhibit_libc case to remove build
  15038. warnings for addvsi3, et.al.
  15039. 2003-06-13 Aldy Hernandez <aldyh@redhat.com>
  15040. * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.
  15041. * simplify-rtx.c (simplify_subreg): Same.
  15042. * emit-rtl.c (gen_lowpart_common): Same.
  15043. 2003-06-13 Kazu Hirata <kazu@cs.umass.edu>
  15044. * builtins.c: Fix comment typos.
  15045. * fold-const.c: Likewise.
  15046. 2003-06-13 Doug Evans <dje@sebabeach.org>
  15047. Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  15048. * config/m32r/m32r-protos.h (m32r_pass_by_reference): Declare.
  15049. * config/m32r/m32r.c (m32r_pass_by_reference): New fn.
  15050. (m32r_va_arg): Use it.
  15051. * config/m32r/m32r.h (FUNCTION_ARG_PASS_BY_REFERENCE): Ditto.
  15052. (RETURN_IN_MEMORY): Ditto.
  15053. 2003-06-13 Nathanael Nerode <neroden@gcc.gnu.org>
  15054. * c-typeck.c: Remove #if 0 clauses.
  15055. PR other/1494
  15056. * config/alpha/openbsd.h, config/i386/openbsd.h,
  15057. config/m68k/openbsd.h, config/sparc/openbsd.h: Remove
  15058. residual reference to EGCS.
  15059. 2003-06-13 Richard Earnshaw <rearnsha@arm.com>
  15060. * arm.c (output_call_mem): If the address references the link-register
  15061. use an instruction sequence that avoids early-clobbering IP.
  15062. (eliminate_lr2ip): Delete.
  15063. 2003-06-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15064. * c-format.c (format_types_orig): Disallow '*' width/precision in
  15065. asm_fprintf format checks.
  15066. 2003-06-13 Ulrich Weigand <uweigand@de.ibm.com>
  15067. * config/s390/s390.c (s390_va_arg): Fix alignment when retrieving
  15068. non-integral types from integer register save area slots.
  15069. 2003-06-13 Nathanael Nerode <neroden@gcc.gnu.org>
  15070. * config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386.
  15071. 2003-06-13 Florian Weimer <fw@deneb.enyo.de>
  15072. * doc/invoke.texi (SPARC Options): Document ``-mimpure-text''.
  15073. 2003-06-13 Kaz Kojima <kkojima@gcc.gnu.org>
  15074. * config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END
  15075. to file_end_indicate_exec_stack.
  15076. 2003-06-12 Richard Henderson <rth@redhat.com>
  15077. PR target/11089
  15078. * config/i386/i386.md (sse_movaps): Use an expander to force
  15079. one operand to be a register.
  15080. (sse_movups): Likewise.
  15081. 2003-06-13 Doug Evans <dje@sebabeach.org>
  15082. Remove some build warnings.
  15083. * config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used.
  15084. (__do_global_ctors,__do_global_dtors): Ditto.
  15085. 2003-06-12 Richard Henderson <rth@redhat.com>
  15086. PR middle-end/10557
  15087. * rtlanal.c (subreg_offset_representable_p): Relax subreg check.
  15088. 2003-06-13 Kazu Hirata <kazu@cs.umass.edu>
  15089. * config/m32r/m32r.md: Fix a comment typo.
  15090. 2003-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
  15091. Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
  15092. PR target/10142
  15093. * config/sparc/sparc.c (function_arg_record_value_parms): Add
  15094. new 'stack' field.
  15095. (function_arg_record_value_1): Set 'stack' to 1 if we run out of
  15096. integer slots for an integer field.
  15097. (function_arg_record_value_3): Shift vector index.
  15098. (function_arg_record_value_2): Likewise.
  15099. (function_arg_record_value): Initialize 'stack' to 0.
  15100. Set 'stack' to 1 if we run out of integer slots for an integer field.
  15101. Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
  15102. 2003-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
  15103. PR optimization/10955
  15104. * unroll.c (unroll_loop): Fix off-by-one bug.
  15105. 2003-06-12 Aldy Hernandez <aldyh@redhat.com>
  15106. * config/rs6000/rs6000.c (function_arg): Remove typo.
  15107. 2003-06-12 Richard Henderson <rth@redhat.com>
  15108. * config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
  15109. and UNSPEC_DTPOFF.
  15110. 2003-06-12 Richard Henderson <rth@redhat.com>
  15111. PR middle-end/10475
  15112. * expmed.c (emit_store_flag): Use simplify_gen_subreg directly
  15113. for extracting sub-words.
  15114. 2003-06-12 Richard Henderson <rth@redhat.com>
  15115. PR target/7594
  15116. * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
  15117. (zero_extendqihi2, zero_extendqisi2): Likewise.
  15118. 2003-06-12 Aldy Hernandez <aldyh@redhat.com>
  15119. * config/rs6000/rs6000.c (function_arg): Always split vectors for
  15120. e500 if it's a stdarg function.
  15121. (function_arg_advance): Advance 2 registers for vectors in a
  15122. stdarg function.
  15123. (init_cumulative_args): Initialize stdarg.
  15124. (rs6000_spe_function_arg): New.
  15125. * config/rs6000/rs6000.h (rs6000_args): Add stdarg.
  15126. 2003-06-12 Aldy Hernandez <aldyh@redhat.com>
  15127. * config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
  15128. 2003-06-12 Roger Sayle <roger@eyesopen.com>
  15129. PR middle-end/168
  15130. * fold-const.c (tree_expr_nonnegative_p): Handle addition
  15131. and multiplication of zero extensions, floating point division,
  15132. and integer<->fp, fp<->fp and zero extension conversions.
  15133. The built-in ceil and floor functions preserve signedness.
  15134. 2003-06-12 Kazu Hirata <kazu@cs.umass.edu>
  15135. * ChangeLog: Follow spelling conventions.
  15136. * ChangeLog.2: Likewise.
  15137. * c-decl.c: Likewise.
  15138. * cfgloop.h: Likewise.
  15139. * cgraph.c: Likewise.
  15140. * coverage.c: Likewise.
  15141. * cppcharset.c: Likewise.
  15142. * cpphash.h: Likewise.
  15143. * cpplex.c: Likewise.
  15144. * cpplib.c: Likewise.
  15145. * dbxout.c: Likewise.
  15146. * df.c: Likewise.
  15147. * dwarf2out.c: Likewise.
  15148. * dwarfout.c: Likewise.
  15149. * emit-rtl.c: Likewise.
  15150. * explow.c: Likewise.
  15151. * gcov-io.c: Likewise.
  15152. * gcov-io.h: Likewise.
  15153. * gcov.c: Likewise.
  15154. * gengtype.c: Likewise.
  15155. * ggc.h: Likewise.
  15156. * opts.c: Likewise.
  15157. * real.c: Likewise.
  15158. * reload.c: Likewise.
  15159. * stmt.c: Likewise.
  15160. 2003-06-12 Janis Johnson <janis187@us.ibm.com>
  15161. * doc/install.texi (m32r-*-elf): Change company to Renesas.
  15162. Thu Jun 12 20:00:55 CEST 2003 Jan Hubicka <jh@suse.cz>
  15163. * basic-block.h (flow_delete_block_noexpunge): Kill.
  15164. * cfgrtl.c (flow_delete_block_noexpunge): Merge to
  15165. rtl_delete_block.
  15166. 2003-06-10 Richard Henderson <rth@redhat.com>
  15167. PR inline-asm/4823
  15168. * reg-stack.c (any_malformed_asm): New.
  15169. (check_asm_stack_operands): Set it.
  15170. (convert_regs_1): Check it before aborting.
  15171. 2003-06-12 Aldy Hernandez <aldyh@redhat.com>
  15172. * config/rs6000/spe.md: Change all clobbers of the accumulator to sets.
  15173. 2003-06-12 Jakub Jelinek <jakub@redhat.com>
  15174. * c-opts.c (complain_wrong_lang): Add on argument.
  15175. Print no- switch if on is false.
  15176. (c_common_decode_option): Adjust caller.
  15177. 2003-06-12 Ulrich Weigand <uweigand@de.ibm.com>
  15178. * config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
  15179. to initialize GOT register.
  15180. 2003-06-12 Roger Sayle <roger@eyesopen.com>
  15181. * fold-const.c (tree_expr_nonnegative_p): Add support for
  15182. floating point constants, addition and multiplication.
  15183. 2003-06-12 J"orn Rennecke <joern.rennecke@superh.com>
  15184. * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
  15185. constraint modifier for operand 0.
  15186. 2003-06-12 Hans-Peter Nilsson <hp@axis.com>
  15187. Don't warn on dollars in builtin macro definitions,
  15188. e.g. __REGISTER_PREFIX__.
  15189. * cpphash.h (struct cpp_reader): Move member warn_dollars...
  15190. * cpplib.h (struct cpp_options): ...to here. Change type to
  15191. unsigned char.
  15192. * cppinit.c (cpp_create_reader): Set it to 1 here.
  15193. (post_options): Don't set it here.
  15194. * c-opts.c (c_common_init_options): Reset it to 0 here.
  15195. (finish_options): Set it here.
  15196. * cpplex.c (forms_identifier_p): Tweak for new location of
  15197. warn_dollars.
  15198. * configure.in (assembler dwarf2 debug_line support): Define insn
  15199. for cris-*-* and mmix-*-*.
  15200. * configure: Regenerate.
  15201. 2003-06-11 Uwe Stieber <uwe@kaos-group.de>
  15202. * config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
  15203. powerpcle-*-kaos*, strongarm-*-kaos*): New targets.
  15204. (sh-*-elf*): Add sh*-*-kaos* support.
  15205. * config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h,
  15206. config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h,
  15207. config/sh/kaos-sh.h: New files.
  15208. 2003-06-12 Kazu Hirata <kazu@cs.umass.edu>
  15209. * gcse.c (fis_get_condition): Make it a global function.
  15210. * reload1.c (reload_cse_move2add): Detect implicit sets.
  15211. * rtl.h: Add a prototype for fis_get_condition.
  15212. 2003-06-11 Richard Henderson <rth@redhat.com>
  15213. * stmt.c (expand_asm_operands): Don't warn for memories with
  15214. queued addresses.
  15215. 2003-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
  15216. * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without
  15217. brackets.
  15218. 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
  15219. * hooks.c (hook_int_size_t_constcharptr_int_0): New.
  15220. * hooks.h (hook_int_size_t_constcharptr_int_0): New.
  15221. * langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
  15222. (LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
  15223. * langhooks.c (lhd_decode_option): Remove.
  15224. * langhooks.h (struct lang_hooks): Remove decode_option.
  15225. * opts.c (handle_option): No longer use decode_option.
  15226. 2003-06-11 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  15227. * cfgloopanal.c (variable_initial_value): Update the set of altered
  15228. registers correctly.
  15229. 2003-06-11 Roger Sayle <roger@eyesopen.com>
  15230. Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15231. * config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
  15232. * config/i386/netbsd-elf.h: Likewise.
  15233. * config/m32r/m32r.h: Likewise.
  15234. * config/mn10300/mn10300.h: Likewise.
  15235. * config/stormy16/stormy16.h: Likewise.
  15236. * config/v850/v850.h: Likewise.
  15237. * config/vax/netbsd-elf.h: Likewise.
  15238. * config/xtensa/elf.h: Likewise.
  15239. * config/xtensa/linux.h: Likewise.
  15240. 2003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  15241. * config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
  15242. DWARF 2 default.
  15243. * config/mips/dbxmdebug.h: New file.
  15244. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
  15245. gas and --with-stabs.
  15246. 2003-06-11 Ulrich Weigand <uweigand@de.ibm.com>
  15247. * expr.c (can_move_by_pieces): align argument may be unused.
  15248. 2003-06-11 J"orn Rennecke <joern.rennecke@superh.com>
  15249. * expr.c (convert_move): Handle moves between two CONCATs.
  15250. 2003-06-11 Kazu Hirata <kazu@cs.umass.edu>
  15251. * config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
  15252. !TARGET_H8300.
  15253. 2003-06-11 Kazu Hirata <kazu@cs.umass.edu>
  15254. * config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
  15255. * config/h8300/h8300.h (MASK_RTL_DUMP): Remove.
  15256. (TARGET_RTL_DUMP): Likewise.
  15257. (TARGET_SWITHCES): Remove -mrtl-dump.
  15258. 2003-06-10 Richard Henderson <rth@redhat.com>
  15259. * optabs.c (gen_cond_trap): Fix prepare_operand typo.
  15260. 2003-06-10 Richard Henderson <rth@redhat.com>
  15261. * config/ia64/ia64.md (call_gp): Fix memory mode.
  15262. 2003-06-10 James E Wilson <wilson@tuliptree.org>
  15263. PR target/8812
  15264. * reload1.c (choose_reload_regs): For equiv reg, add loop over all
  15265. hard regs for reload_reg_used_at_all and reg_class_contents checks.
  15266. 2003-06-10 Kazu Hirata <kazu@cs.umass.edu>
  15267. * config/h8300/h8300.c (print_operand): Remove support for
  15268. operand character 'b'.
  15269. Add the AND case to operand character 'c'.
  15270. * config/h8300/h8300.md (two anonymous patterns): Replace
  15271. operand character 'b' with 'c'.
  15272. 2003-06-10 Kazu Hirata <kazu@cs.umass.edu>
  15273. * config/h8300/h8300.c (print_operand): Remove support for
  15274. operand character 'u'.
  15275. 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
  15276. * configure.in: Fix typo.
  15277. * configure: Regenerate.
  15278. 2003-06-10 Loren James Rittle <ljrittle@acm.org>
  15279. * config/alpha/alpha.c (unicosmk_file_end): Add conditional
  15280. compilation guard.
  15281. 2003-06-10 J"orn Rennecke <joern.rennecke@superh.com>
  15282. * sh-protos.h (function_symbol): Declare.
  15283. * sh.c (expand_block_move, expand_ashiftrt): Use it.
  15284. (sh_expand_prologue, sh_expand_epilogue): Likewise.
  15285. (sh_initialize_trampoline): Likewise.
  15286. (function_symbol): New function.
  15287. * sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
  15288. (initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
  15289. (call_value_pop, shcompact_return_tramp): Likewise.
  15290. * sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.
  15291. * sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
  15292. target register.
  15293. 2003-06-10 DJ Delorie <dj@redhat.com>
  15294. * doc/md.texi (Machine Constraints): Document stormy's Z
  15295. constraint.
  15296. 2003-06-10 Geoffrey Keating <geoffk@apple.com>
  15297. * except.c (call_site_base): Mark with GTY.
  15298. 2003-06-10 Richard Earnshaw <rearnsha@arm.com>
  15299. * arm-proto.h: Convert to ISO C90 prototypes.
  15300. * arm.c: Likewise.
  15301. 2003-06-10 J"orn Rennecke <joern.rennecke@superh.com>
  15302. * sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
  15303. 2003-06-10 Steve Ellcey <sje@cup.hp.com>
  15304. * calls.c (expand_call): Convert structure_value_addr to Pmode if
  15305. necessary.
  15306. 2003-06-10 Andrew Haley <aph@redhat.com>
  15307. * langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
  15308. (LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
  15309. (lhd_decl_ok_for_sibcall): New.
  15310. * langhooks.c (lhd_decl_ok_for_sibcall): New.
  15311. * langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
  15312. * calls.c (expand_call): Check lang_hook before generating a
  15313. sibcall.
  15314. 2003-06-10 DJ Delorie <dj@redhat.com>
  15315. * config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
  15316. which matches (const_int 0) for addhi3.
  15317. * config/stormy16/stormy16.md: Document known constraints.
  15318. (addhi3): Handle adding zero.
  15319. 2003-06-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  15320. * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
  15321. * config/m32r/m32r.c (m32r_hard_regno_rename_ok): New.
  15322. * config/m32r/m32r-protos.h: Prototype it.
  15323. 2003-06-10 Janis Johnson <janis187@us.ibm.com>
  15324. * config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
  15325. common to rs6000 sysv targets.
  15326. * config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto.
  15327. * config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto.
  15328. 2003-06-10 Nick Clifton <nickc@redhat.com>
  15329. * config.gcc: Add arm-wince-pe target.
  15330. * config/arm/pe.h (MULTILIB_DEFAULTS): Define.
  15331. Add comment about default apcs26 support.
  15332. * config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32
  15333. multilib.
  15334. (MULTILIB_DIRNAMES): Add 'apcs32'.
  15335. * config/arm/t-wince-pe: New makefile fragment.
  15336. * config/arm/wince-pe.h: New file. Overrides a few definitions
  15337. in arm/pe.h
  15338. 2003-06-10 Roger Sayle <roger@eyesopen.com>
  15339. * builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
  15340. * fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x)
  15341. when x is easily negated and f is sin, tan or atan.
  15342. (fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as
  15343. sin(x) with flag_unsafe_math_optimizations.
  15344. (fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold
  15345. sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x).
  15346. 2003-06-10 Roger Sayle <roger@eyesopen.com>
  15347. * fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x
  15348. is a floating point type *and* we currently honor NaNs.
  15349. (fold <NE_EXPR>): Likewise.
  15350. 2003-06-10 Mark Mitchell <mark@codesourcery.com>
  15351. PR c++/11131
  15352. * tree-inline.c (inlinable_function_p): Call the language-specific
  15353. hook early.
  15354. 2003-06-09 David Taylor <dtaylor@emc.com>
  15355. * config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg): Skip over
  15356. the f_res field.
  15357. 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
  15358. * configure.in: Remove references to host_truncate_target.
  15359. * configure: Regenerate.
  15360. * config.gcc: Remove references to truncate_target,
  15361. host_truncate_target.
  15362. * Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas:
  15363. Replace "build_canonical" with build, "host_canonical" with host.
  15364. * configure.in: Use GCC_TOPLEV_SUBDIRS.
  15365. * aclocal.m4: Include ../config/acx.m4.
  15366. * configure: Regenerate.
  15367. 2003-06-09 David Taylor <dtaylor@emc.com>
  15368. * config/rs6000/rs6000.c (rs6000_build_va_list): Give the two
  15369. bytes of padding in the __va_list_tag structure a name (reserved).
  15370. 2003-06-09 Jason Merrill <jason@redhat.com>
  15371. * fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.
  15372. 2003-06-09 Osku Salerma <osku@iki.fi>
  15373. * c-format.c (check_format_string, get_constant): New.
  15374. (handle_format_attribute, handle_format_arg_attribute,
  15375. decode_format_attr): Change to use above functions.
  15376. 2003-06-09 Richard Henderson <rth@redhat.com>
  15377. * stmt.c (expand_asm_operands): Re-word warning.
  15378. 2003-06-08 Andrew Pinski <pinskia@physics.uc.edu>
  15379. PR target/8787
  15380. * config/i386/djgpp.h (ASM_FILE_START): emit `.intel_syntax'
  15381. if -masm=intel.
  15382. 2003-06-09 James E Wilson <wilson@tuliptree.org>
  15383. * config/frv/cmovc.c, config/frv/cmovh.c, config/frv/cmovw.c,
  15384. config/frv/frvbegin.c, config/frv/frvend.c, config/frv/lib1funcs.asm:
  15385. Add libgcc exception.
  15386. 2003-06-09 David Edelsohn <edelsohn@gnu.org>
  15387. Ayal Zaks <gcchaifa@us.ibm.com>
  15388. * config/rs6000/rs6000.md (define_attr "type"): Add insert_word.
  15389. (insvsi*): Add insert_word attribute.
  15390. * config/rs6000/rs6000.c (rs6000_variable_issue): Add TYPE_INSERT_WORD.
  15391. * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
  15392. power4.md,rios1.md,rios2.md,rs64.md}: Add insert_word.
  15393. 2003-06-09 Kazu Hirata <kazu@cs.umass.edu>
  15394. * fold-const.c (fold): Fix a comment typo.
  15395. 2003-06-09 Nathan Sidwell <nathan@codesourcery.com>
  15396. * tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
  15397. removed.
  15398. 2003-06-09 J"orn Rennecke <joern.rennecke@superh.com>
  15399. * sh.c (gen_block_redirect): Use locators.
  15400. 2003-06-09 Richard Earnshaw <rearnsha@arm.com>
  15401. * arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
  15402. cast to int.
  15403. 2003-06-09 Richard Sandiford <rsandifo@redhat.com>
  15404. * configure.in: Assume gas 2.14 and above can handle MIPS relocation
  15405. operators.
  15406. * configure: Regenerated.
  15407. 2003-06-09 Richard Sandiford <rsandifo@redhat.com>
  15408. Alexandre Oliva <aoliva@redhat.com>
  15409. * config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro.
  15410. (PIC_OFFSET_TABLE_REGNUM): Look at pic_offset_table_rtx after reload.
  15411. (STARTING_FRAME_OFFSET): Don't allocate a cprestore slot for
  15412. n32/64 PIC.
  15413. (MUST_SAVE_REGISTERS): Delete.
  15414. * config/mips/mips.c (mips_frame_info): Remove extra_size field.
  15415. (machine_function): Add global_pointer field.
  15416. (mips_classify_constant): Check for (const $gp) using pointer equality
  15417. with pic_offset_table_rtx.
  15418. (mips_classify_constant): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
  15419. (mips_restore_gp): Use current_function_outgoing_args_size.
  15420. (print_operand): Use PIC_OFFSET_TABLE_REGNUM instead of
  15421. GP_REG_FIRST + 28. Handle relocation strings that have
  15422. more than one '('.
  15423. (mips_reloc_string): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
  15424. (mips_global_pointer): New function.
  15425. (mips_save_reg_p): New function, mostly split out from...
  15426. (compute_frame_size): ...here. Remove handling of extra_size.
  15427. Reclaim args_size if no variables depend on it. Don't treat gp
  15428. as a special case: handle it in the main GPR loop.
  15429. (mips_initial_elimination_offset): Fix comment.
  15430. (save_restore_insns): Save every register in the GPR mask,
  15431. removing distinction between mask and real_mask.
  15432. (mips_output_function_prologue): Update .frame psuedo-op after
  15433. the removal of extra_size. Move the SVR4 PIC stack allocation
  15434. and cprestore instructions to mips_expand_prologue.
  15435. (mips_gp_insn): New function.
  15436. (mips_expand_prologue): Set REGNO (pic_offset_table_rtx) to
  15437. the chosen global pointer. Handle SVR4 PIC stack allocation
  15438. in the same way as other ABIs. Adjust varargs code accordingly.
  15439. Emit a cprestore insn after allocating the stack. Use mips_gp_insn
  15440. to emit the loadgp sequence. Follow it with a loadgp_blockage
  15441. if not using explicit relocs.
  15442. (mips_output_function_epilogue): Reinstate the default gp register.
  15443. (mips16_gp_pseudo_reg): Use pic_offset_table_rtx.
  15444. (mips16_optimize_gp): Likewise.
  15445. * config/mips/mips.md (UNSPEC_LOADGP): Remove.
  15446. (UNSPEC_SETJMP, UNSPEC_LONGJMP): Remove.
  15447. (UNSPEC_CPRESTORE, RELOC_LOADGP_HI, RELOC_LOADGP_LO): New.
  15448. (loadgp): Remove.
  15449. (loadgp_blockage, cprestore): New instructions.
  15450. (builtin_setjmp_setup): Implement using emit_move_insn. Use
  15451. pic_offset_table_rtx.
  15452. (builtin_setjmp_setup_32, builtin_setjmp_setup_64): Remove.
  15453. (builtin_longjmp): Use gen_raw_REG to force use of $28.
  15454. 2003-06-09 Richard Sandiford <rsandifo@redhat.com>
  15455. * config/mips/mips-protos.h (mips_output_division): Declare.
  15456. * config/mips/mips.h (MASK_CHECK_RANGE_DIV): Remove.
  15457. (MASK_BRANCHLIKELY): Use MASK_CHECK_RANGE_DIV's old number.
  15458. (TARGET_NO_CHECK_ZERO_DIV, TARGET_CHECK_RANGE_DIV): Remove.
  15459. (TARGET_CHECK_ZERO_DIV): New macro.
  15460. (TARGET_SWITCHES): Remove -mcheck-range-div & -mno-check-range-div.
  15461. * config/mips/mips.c (mips_output_division): New function.
  15462. * config/mips/mips.md (length): Take TARGET_CHECK_ZERO_DIV into
  15463. account when calculating the default length of a division.
  15464. (divmodsi4, divmoddi4, udivmodsi4, udivmoddi4): Turn into define_insns.
  15465. Enable regardless of optimization level. Use mips_output_division.
  15466. (divmodsi4_internal, divmoddi4_internal, udivmodsi4_internal,
  15467. udivmoddi4_internal, div_trap, div_trap_normal, div_trap_mips16,
  15468. divsi3, divsi3_internal, divdi3, divdi3_internal, modsi3,
  15469. modsi3_internal, moddi3, moddi3_internal, udivsi3, udivsi3_internal,
  15470. udivdi3, udivdi3_internal, umodsi3, umodsi3_internal, umoddi3,
  15471. umoddi3_internal): Remove.
  15472. 2003-06-09 Richard Sandiford <rsandifo@redhat.com>
  15473. * config/mips/mips.c (mips_reg_names): Change hilo entry to "".
  15474. (mips_sw_reg_names): Likewise.
  15475. (mips_regno_to_class): Change hilo entry to NO_REGS.
  15476. (hilo_operand): Use MD_REG_P.
  15477. (extend_operator): New predicate.
  15478. (override_options): Remove 'a' constraint.
  15479. (mips_secondary_reload_class): Remove hilo handling. Also remove
  15480. handling of (plus sp reg) reloads for mips16.
  15481. (mips_register_move_cost): Remove hilo handling.
  15482. * config/mips/mips.h (FIXED_REGISTERS): Make hilo entry fixed.
  15483. (MD_REG_LAST): Remove hilo from range.
  15484. (HILO_REGNUM): Delete.
  15485. (reg_class): Remove HILO_REG and HILO_AND_GR_REGS.
  15486. (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
  15487. (PREDICATE_CODES): Add entry for extend_operator.
  15488. (DEBUG_REGISTER_NAMES): Change hilo entry to "".
  15489. * config/mips/mips.md: Remove hilo clobbers wherever they occur.
  15490. Remove constraints from multiplication define_expands. Remove
  15491. clobbers from "decorative" define_expand patterns.
  15492. (UNSPEC_HILO_DELAY): Delete.
  15493. (*mul_acc_si, *mul_sub_si): Add early-clobber to operand 6.
  15494. (mulsidi3, umulsidi3): Change pattern to match the TARGET_64BIT case.
  15495. Adjust C code to just emit insns for !TARGET_64BIT.
  15496. (mulsidi3_internal): Rename to mulsidi3_32bit.
  15497. (mulsidi3_64bit): Use a "d" constraint for the destination.
  15498. Use extend_operator so that the pattern can handle umulsidi3 as well.
  15499. Split the instruction after reload.
  15500. (*mulsidi3_64bit_parts): New pattern, generated by mulsidi3_64bit.
  15501. (umulsidi3_internal): Rename to umulsidi3_32bit.
  15502. (umulsidi3_64bit): Remove.
  15503. (*smsac_di, *umsac_di): Line-wrap fixes.
  15504. (udivsi3_internal): Don't allow operand 2 to be constant.
  15505. (udivdi3_internal, umodsi3_internal, umoddi3_internal): Likewise.
  15506. (movdi_internal2, movsi_internal): Remove hilo alternatives.
  15507. (reload_in[sd]i, reload_out[sd]i, hilo_delay): Remove.
  15508. 2003-06-09 Richard Sandiford <rsandifo@redhat.com>
  15509. PR target/10913
  15510. * config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END,
  15511. PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF,
  15512. PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM,
  15513. PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE,
  15514. SDB_GENERATE_FAKE, TEXT_SECTION): Delete.
  15515. (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START,
  15516. PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of
  15517. asm_out_text_file with asm_out_file.
  15518. * config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise.
  15519. * config/mips/elf.h (TEXT_SECTION): Undefine.
  15520. * config/mips/elf64.h (TEXT_SECION): Undefine.
  15521. * config/mips/openbsd.h (TEXT_SECION): Undefine.
  15522. * config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete.
  15523. (override_options): Disable small-data optimizations unless using
  15524. gas or explicit relocations.
  15525. (mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue,
  15526. iris6_asm_named_section, iris6_asm_file_start): Remove code for
  15527. handling TARGET_FILE_SWITCHING.
  15528. (copy_file_data): Move into TARGET_IRIX6 block.
  15529. 2003-06-08 Richard Henderson <rth@redhat.com>
  15530. * expr.h (EXPAND_MEMORY): New.
  15531. * expr.c (expand_expr): Check it.
  15532. * stmt.c (expand_asm_operands): Provide it when the constraint
  15533. requires a memory. Warn for memory input constraints without
  15534. a memory operand.
  15535. 2003-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15536. * varasm.c: Don't include c-tree.h.
  15537. 2003-06-08 Andreas Jaeger <aj@suse.de>
  15538. * predict.h: Convert to ISO C90 prototypes.
  15539. * predict.c: Likewise.
  15540. * tree-dump.h: Likewise.
  15541. * tree-dump.c: Likewise.
  15542. * diagnostic.h: Likewise.
  15543. * diagnostic.c: Likewise.
  15544. * combine.c: Likewise.
  15545. * rtl.h: Convert prototypes of combine.c to ISO C90.
  15546. Sun Jun 8 21:27:41 CEST 2003 Jan Hubicka <jh@suse.cz>
  15547. * cfglayout.c (insn_scope): New static function
  15548. (block_locators_*, line_locators*, file_locators*): New static varrays.
  15549. (scope_to_insns_initialize): Use them.
  15550. (insn_line, insn_file): New functions.
  15551. (scope_to_insns_finalize): Use insn_scope.
  15552. (prologue_locator, epilogue_locator): New global variables.
  15553. * emit-rt.c (try_split, make_insn_raw, make_jump_insn_raw,
  15554. make_call_insn_raw, emit_copy_of_insn_after): Use locators.
  15555. (emit_insn_after_scope, emit_insn_before_scope
  15556. emit_jump_insn_after_scope, emit_jump_insn_before_scope
  15557. emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
  15558. (emit_insn_after_setloc, emit_insn_before_setloc
  15559. emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
  15560. emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
  15561. use locators.
  15562. * final.c (notice_source_line): Use locators.
  15563. (final_start_function): Set initial source file and line.
  15564. (final_scan_insn): Use locators.
  15565. * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
  15566. noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove,
  15567. noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
  15568. noce_process_if_block, find_cond_trap): Likewise.
  15569. * integrate.c (copy_insn_list): Likewise.
  15570. * jump.c (duplicate_loop_exit_test): LIkewise.
  15571. * print-rtl.c (print_rtx): Print locators.
  15572. * recog.c (peephole2_optimize): Likewise.
  15573. * rtl.h (INSN_SCOPE): Remove.
  15574. (emit_insn_after_scope, emit_insn_before_scope
  15575. emit_jump_insn_after_scope, emit_jump_insn_before_scope
  15576. emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
  15577. (emit_insn_after_setloc, emit_insn_before_setloc
  15578. emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
  15579. emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
  15580. (insn_file, insn_line, prologue_locator, epilogue_locator): Declare.
  15581. * unroll.c (copy_loop_body): Use locators.
  15582. * function.c (set_insn_locators): New function.
  15583. (thread_prologue_and_epilogue_insns): Set the locators accordingly.
  15584. 2003-06-08 Kazu Hirata <kazu@cs.umass.edu>
  15585. * config/h8300/h8300.h (LONG_LONG_TYPE_SIZE): Set to 64.
  15586. * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _floatdisf
  15587. _fixsfdi _fixunssfdi.
  15588. (LIB2FUNCS_EXTRA): Add entries for clzhi2, ctzhi2, parityhi2,
  15589. popcounthi2.
  15590. (TARGET_LIBGCC2_CFLAGS): Remove -DDI=SI.
  15591. * config/h8300/clzhi2.c: New.
  15592. * config/h8300/ctzhi2.c: Likewise.
  15593. * config/h8300/parityhi2.c: Likewise.
  15594. * config/h8300/popcounthi2.c: Likewise.
  15595. Sun Jun 8 15:52:17 CEST 2003 Jan Hubicka <jh@suse.cz>
  15596. * i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates.
  15597. * i386.c (k8_avoid_jump_misspredicts): Fix debug output.
  15598. * cfg.c (verify_flow_info): Move IL independent checks from cfgrtl here.
  15599. (dump_bb): New based on old dump_bb in cfgrtl.c
  15600. (debug_bb, debug_bb_n): Move the functions from cfgrtl.c here.
  15601. * cfghooks.h (cfgh_verify_flow_info): Return status.
  15602. * cfglayout.c (cfg_layout_finalize): Verify CFG correctness.
  15603. * cfgrtl.c (debug_bb, debug_bb_n): Move to cfg.c
  15604. (dump_bb): Remove generic parts.
  15605. (rtl_verify_flow_info_1): Break out from rtl_verify_flow_info.
  15606. (rtl_verify_flow_info): Only check things dependeing on linearized RTL.
  15607. 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
  15608. * Makefile.in: Rename options.c and options.h to c-options.c and
  15609. c-options.h.
  15610. (OBJS): Remove options.o.
  15611. * c-opts.c: Don'tInclude c-options.h instead of options.h.
  15612. * opts.c: Don't include options.h.
  15613. (find_opt): Can't use enum opt_code or N_OPTS.
  15614. * opts.h (struct cl_option, cl_options, cl_options_count): Move from...
  15615. * opts.sh: ... here.
  15616. 2003-06-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  15617. Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  15618. PR pch/9830
  15619. * ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h
  15620. if HAVE_MINCORE is defined.
  15621. (MAP_FAILED): Define if not defined.
  15622. (gt_pch_save): Test against MAP_FAILED.
  15623. (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force
  15624. the mapping address to the preferred base after checking it
  15625. is possible to do so. Test against MAP_FAILED.
  15626. * configure.in: Test for the presence of mincore in libc.
  15627. * config.in: Regenerate.
  15628. * configure: Regenerate.
  15629. 2003-06-07 Richard Henderson <rth@redhat.com>
  15630. * config/alpha/alpha.c (alpha_setup_incoming_varargs): Fix
  15631. conditional compilation guard.
  15632. 2003-06-08 Kazu Hirata <kazu@cs.umass.edu>
  15633. * optabs.c (expand_abs): Set result_unsignedp to 1 if
  15634. flag_trav is zero.
  15635. 2003-06-07 Richard Henderson <rth@redhat.com>
  15636. * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
  15637. 2003-06-07 Richard Henderson <rth@redhat.com>
  15638. * basic-block.h (EDGE_SIBCALL): New.
  15639. (EDGE_ALL_FLAGS): Update.
  15640. * cfg.c (dump_edge_info): Add sibcall name.
  15641. * cfgbuild.c (make_edges): Use EDGE_SIBCALL.
  15642. * cfgrtl.c (purge_dead_edges): Handle sibcalls.
  15643. 2003-06-07 Andreas Jaeger <aj@suse.de>
  15644. * mklibgcc.in (lib2funcs): Remove _exit.
  15645. * libgcc2.c: Remove L_exit.
  15646. * gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT.
  15647. * system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY.
  15648. * doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY.
  15649. * ggc.h: Convert to ISO C90 prototypes.
  15650. * ggc-none.c: Likewise.
  15651. * ggc-common.c: Likewise.
  15652. * ggc-page.c: Likewise.
  15653. * ggc-simple.c: Likewise.
  15654. * crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
  15655. * system.h: Poison INIT_SECTION_PREAMBLE.
  15656. 2003-06-07 Zack Weinberg <zack@codesourcery.com>
  15657. * config.gcc (with_cpu handling): Translate sparc64 in
  15658. $machine to --with-cpu=v9.
  15659. * config/alpha/alpha.c
  15660. (TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition.
  15661. (alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK.
  15662. * target.h: New hook asm_out.file_end.
  15663. * target.h: Update to match. New hook macro TARGET_ASM_FILE_END.
  15664. * toplev.c (compile_file): Use targetm.asm_out.file_end.
  15665. * system.h: Poison ASM_FILE_END.
  15666. * varasm.c (file_end_indicate_exec_stack): New.
  15667. * output.h: Prototype it.
  15668. * doc/tm.texi: Document TARGET_ASM_FILE_END and
  15669. file_end_indicate_exec_stack. Delete references to attasm.h.
  15670. * config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end.
  15671. (ASM_FILE_END): Delete; move code...
  15672. * config/darwin.c (darwin_file_end): Here; new function.
  15673. * config/darwin-protos.h: Prototype it.
  15674. * config/alpha/alpha.c (unicosmk_asm_file_end): Make static,
  15675. rename unicosmk_file_end.
  15676. * config/arm/aof.h (ASM_FILE_END): Delete; move code...
  15677. * config/arm/arm.c (aof_file_end): ... here; new static function.
  15678. Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER.
  15679. Make aof_dump_imports and aof_dump_pic_table static.
  15680. * config/avr/avr.c (asm_file_end): Rename avr_file_end, make static.
  15681. Set TARGET_ASM_FILE_END to avr_file_end.
  15682. * config/c4x/c4x.c (c4x_file_end): Make static. Take no arguments.
  15683. Set TARGET_ASM_FILE_END to c4x_file_end.
  15684. * config/h8300/h8300.c (asm_file_end): Rename h8300_file_end,
  15685. make static. Take no arguments. Set TARGET_ASM_FILE_END to
  15686. h8300_file_end.
  15687. * config/i370/i370.h (ASM_FILE_END): Delete; move code...
  15688. * config/i370/i370.c (i370_file_end): ... here; new static function.
  15689. Set TARGET_ASM_FILE_END to i370_file_end.
  15690. * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end.
  15691. Take no arguments. Call file_end_indicate_exec_stack if
  15692. NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END.
  15693. * config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
  15694. Define NEED_INDICATE_EXEC_STACK to 0.
  15695. * config/i386/linux.h, config/i386/linux64.h: Redefine
  15696. NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END.
  15697. * config/i386/winnt.c (i386_pe_asm_file_end): Rename to
  15698. i386_pe_file_end. Take no arguments. Use ix86_file_end.
  15699. * config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to
  15700. ia64_hpux_file_end, make static. Take no arguments.
  15701. * config/ip2k/ip2k.c (asm_file_start, asm_file_end,
  15702. commands_in_prologues, commands_in_epilogues): Delete.
  15703. (function_epilogue): Update to match.
  15704. * config/mips/mips.c (mips_asm_file_end): Rename mips_file_end,
  15705. make static. Take no arguments.
  15706. (iris6_asm_file_end): Rename iris6_file_end, make static, use
  15707. mips_file_end, take no arguments.
  15708. Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as
  15709. appropriate.
  15710. * config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end,
  15711. make static, take no arguments. Set TARGET_ASM_FILE_END to
  15712. mmix_file_end.
  15713. * config/pa/pa.c (output_deferred_plabels): Make static, take
  15714. no arguments. Set TARGET_ASM_FILE_END to output_deferred_plabels.
  15715. * config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it.
  15716. (ASM_FILE_END): Delete; move code...
  15717. * config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here;
  15718. new static function.
  15719. * config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h
  15720. * config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h:
  15721. Don't set ASM_FILE_END.
  15722. * config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h
  15723. * config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h
  15724. * config/sparc/linux64.h: Set TARGET_ASM_FILE_END to
  15725. file_end_indicate_exec_stack; don't set ASM_FILE_END.
  15726. * config/alpha/unicosmk.h, config/i386/cygming.h
  15727. * config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
  15728. * config/arm/arm-protos.h, config/alpha/alpha-protos.h
  15729. * config/avr/avr-protos.h, config/c4x/c4x-protos.h
  15730. * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
  15731. * config/ip2k/ip2k-protos.h, config/mips/mips-protos.h
  15732. * config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update.
  15733. Sat Jun 7 18:32:13 CEST 2003 Jan Hubicka <jh@suse.cz>
  15734. * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
  15735. specified.
  15736. Sat Jun 7 15:20:01 CEST 2003 Jan Hubicka <jh@suse.cz>
  15737. * Makefile.in (stageprofile_build): Kill redundant target.
  15738. * i386.c (mdep_reorg): Don't pad jumps for Athlon.
  15739. 2003-06-07 Andreas Jaeger <aj@suse.de>
  15740. * doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.
  15741. * config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR.
  15742. * config/dsp16xx/dsp16xx.h: Likewise.
  15743. * config/i386/i386.h: Likewise.
  15744. * config/ip2k/ip2k.h: Likewise.
  15745. 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
  15746. * Makefile.in (OJBS, c-opts.o): Update.
  15747. (c-options.c, c-options.h): Rename options.h and options.c.
  15748. (options.h): Rename options_.h.
  15749. (opts.o): New.
  15750. * c-common.h (c_common_handle_option): Replace c_common_decode_option.
  15751. (c_common_init_options): Update prototype.
  15752. * c-lang.c (c_init_options): Update prototype.
  15753. (LANG_HOOKS_HANDLE_OPTION): Override.
  15754. (LANG_HOOKS_DECODE_OPTION): Drop.
  15755. * c-opts.c: Include opts.h and options.h instead of c-options.h
  15756. and c-options.c.
  15757. (lang_flags): Move to file scope.
  15758. (find_opt, c_common_decode_option): Remove.
  15759. (CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE,
  15760. CL_REJECT_NEGATIVE): Move to opts.h.
  15761. (missing_arg): Update prototype.
  15762. (c_common_init_options): Update for new prototype.
  15763. (c_common_handle_options): Filenames are passed as N_OPTS.
  15764. * hooks.c (hook_int_void_0): New.
  15765. * hooks.h (hook_int_void_0): New.
  15766. * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default.
  15767. (LANG_HOOKS_HANDLE_OPTION): Default to NULL for now.
  15768. (LANG_HOOKS_INITIALIZER): Update.
  15769. * langhooks.h (init_options): Update.
  15770. (handle_option): New.
  15771. * opts.c, opts.h: New files.
  15772. * opts.sh: Update c file to include opts.h and options.h.
  15773. * toplev.c: Include opts.h; change options.h to options_.h.
  15774. (parse_options_and_default_flags): Get lang_mask, use
  15775. handle_option for language-specific handling.
  15776. * objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
  15777. (LANG_HOOKS_HANDLE_OPTION): Override.
  15778. (objc_init_options): Update.
  15779. 2003-06-07 Magnus Kreth <magnus.kreth@gmx.de>
  15780. Thibaud Gaillard <thibaud.gaillard@nto.atmel.com>
  15781. PR other/7031
  15782. * Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of
  15783. gcov.
  15784. 2003-06-07 Kelley Cook <kelleycook@wideopenwest.com>
  15785. * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
  15786. section names.
  15787. * configure: Regenerate.
  15788. 2003-06-07 Alan Modra <amodra@bigpond.net.au>
  15789. * config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
  15790. 2003-06-06 James E Wilson <wilson@tuliptree.org>
  15791. PR inline-asm/10890
  15792. * reload1.c (merge_assigned_reloads): Abort only if two reloads have
  15793. different in fields.
  15794. 2003-06-06 Nathanael Nerode <neroden@gcc.gnu.org>
  15795. * configure.in: Make $(target_subdir) correspond with top level usage.
  15796. * Makefile.in: Likewise.
  15797. * configure: Regenerate.
  15798. 2003-06-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  15799. * pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
  15800. ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to
  15801. unsigned HOST_WIDE_INT.
  15802. * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL):
  15803. Likewise.
  15804. * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
  15805. Likewise.
  15806. 2003-06-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  15807. * doc/install.texi (Prerequisites): New section documenting
  15808. tools and packages necessary prior to building and/or
  15809. modifying GCC.
  15810. * doc/install.texi2html: Also generate prerequisites.html.
  15811. 2003-06-06 Richard Earnshaw <rearnsha@arm.com>
  15812. PR target/11052
  15813. * ifcvt.c (noce_process_if_block): Fail if the destination has
  15814. side-effects.
  15815. 2003-06-06 Jason Merrill <jason@redhat.com>
  15816. * stmt.c (resolve_asm_operand_names): Rename from
  15817. resolve_operand_names. No longer static. Avoid needless copying.
  15818. Don't build array of constraints.
  15819. (expand_asm_operands): Build it here.
  15820. * tree.h: Declare resolve_asm_operand_names.
  15821. * stmt.c (expand_decl): Put artificial vars into registers even
  15822. when not optimizing, and don't mark the regs as user vars.
  15823. 2003-06-06 J"orn Rennecke <joern.rennecke@superh.com>
  15824. * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
  15825. of the generated register.
  15826. 2003-06-06 Daniel Jacobowitz <drow@mvista.com>
  15827. * config.gcc: Add a missing sparc64 case.
  15828. 2003-06-06 Jakub Jelinek <jakub@redhat.com>
  15829. * mklibgcc.in: Propagate .note.GNU-stack section if needed into
  15830. the .hidden assembly stubs.
  15831. 2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
  15832. * config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
  15833. and x86_64-*-*.
  15834. * config/i386/mmintrin.h: Update version and add alternate
  15835. intrinsic names.
  15836. * config/i386/xmmintrin.h: Likewise.
  15837. * config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
  15838. intrinsics to ...
  15839. * config/i386/emmintrin.h: Here. New file.
  15840. 2003-06-06 Roger Sayle <roger@eyesopen.com>
  15841. * fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding
  15842. fabs(-x) into fabs(x). Use tree_expr_nonnegative_p to determine
  15843. when the ABS_EXPR (fabs or abs) is not required.
  15844. (tree_expr_nonnegative_p): Move the logic that sqrt and exp are
  15845. always nonnegative from fold to here. Additionally, cabs and fabs
  15846. are always non-negative, and pow and atan are non-negative if
  15847. their first argument is non-negative.
  15848. * builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}.
  15849. Evaluate cabs of a constant at compile-time. Convert cabs of a
  15850. non-complex argument into fabs. Convert cabs(z) into
  15851. sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or
  15852. -funsafe-math-optimizations or -ffast-math.
  15853. (fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR.
  15854. Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs.
  15855. Thu Jun 5 20:51:09 CEST 2003 Jan Hubicka <jh@suse.cz>
  15856. * sourcebuild.texi (Front End Directory): Document new hooks.
  15857. Fri Jun 6 11:02:35 CEST 2003 Jan Hubicka <jh@suse.cz>
  15858. * function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
  15859. * i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic
  15860. stack frames.
  15861. (pro_epilogue_adjust_stack_rex64_2): New pattern
  15862. Fri Jun 6 11:03:14 CEST 2003 Jan Hubicka <jh@suse.cz>
  15863. Pop Sebastian
  15864. Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  15865. * cfghooks.h, cfghooks.c: New files.
  15866. * Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h.
  15867. (OBJS): Add cfghooks.o.
  15868. (cfghooks.o): New rule.
  15869. * basic-block.h (split_edge): Rename to rtl_split_edge.
  15870. (verify_flow_info): Rename to rtl_verify_flow_info.
  15871. (cfghooks.h): Included here.
  15872. * cfgrtl.c (split_edge): Renamed rtl_split_edge.
  15873. (verify_flow_info): Renamed rtl_verify_flow_info.
  15874. * toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks.
  15875. * basic-block.h (split_block, split_edge, flow_delete_block,
  15876. redirect_edge_and_branch, redirect_edge_and_branch_force): Delete.
  15877. (flow_delete_block_noexpunge): Return void.
  15878. * cfg.c (verify_flow_info): New function.
  15879. * cfgcleanup.c (try_simplify_condjump, outgoing_edges_match,
  15880. try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks):
  15881. Use delete_block.
  15882. * cfglayout.c (function_footer): Rename to...
  15883. (cfg_layout_function_footer): ... this variable
  15884. (unlink_insn_chain): Make global.
  15885. (fixup_reorder_chain, record_effective_endpoints): Update.
  15886. (cleanup_unconditional_jumps): Use delete_block.
  15887. (cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c
  15888. (cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force.
  15889. (cfg_layout_initialize, cfg_layout_finalize): Update hooks.
  15890. * cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block): Delete.
  15891. (cfg_layout_function_footer): Declare.
  15892. * cfgloopmanip (split_loop_bb): Do not update RBI.
  15893. (remove_bbs): Use delete_block.
  15894. (loop_reidrect_edge, loop_delete_branch_edge): Use
  15895. redirect_edge_and_branch.
  15896. (create_preheader): Use split_block and redirect_edge_and_branch_force.
  15897. (split_edge_with): Likewise.
  15898. * cfgrtl.c: Include cfglayout.h
  15899. (split_edge): Rename to ...
  15900. (rtl_split_edge) ... this one; make local.
  15901. (redirect_edge_and_branch): Rename to ...
  15902. (rtl_redirect_edge_and_branch) ... this one; make local.
  15903. (redirect_edge_and_branch_force): Rename to ...
  15904. (rtl_redirect_edge_and_branch_force) ... this one; make local.
  15905. (cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New.
  15906. (cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from
  15907. cfglayout.c; update to directly call RTL counterparts.
  15908. (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions.
  15909. * ifcvt.c (find_cond_trap): Use delete_block.
  15910. (find_if_case_1): Use delete_block.
  15911. (find_if_case_2): Use delete_block.
  15912. * rtl.h (unlink_insn_chain): Declare.
  15913. * toplev.c (rtl_reigster_cfg_hooks): New.
  15914. 2003-06-05 Richard Henderson <rth@redhat.com>
  15915. * recog.c (peephole2_optimize): Revert last change.
  15916. 2003-06-05 Richard Henderson <rth@redhat.com>
  15917. * recog.c (peephole2_optimize): Don't split block unless
  15918. can_throw_internal.
  15919. 2003-06-06 Kazu Hirata <kazu@cs.umass.edu>
  15920. * config/h8300/h8300.c (get_shift_alg): Correct the syntax of rotxl.
  15921. * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): Likewise.
  15922. 2003-06-05 Kelley Cook <kelleycook@wideopenwest.com>
  15923. PR optimization/4490
  15924. * config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
  15925. * doc/invoke.texi (m96bit-long-double, m128bit-long-double): Reword
  15926. documentation to accurately reflect what these options do.
  15927. 2003-06-06 Kaz Kojima <kkojima@gcc.gnu.org>
  15928. * config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify.
  15929. (ENDFILE_SPEC): Redefine to handle -pie.
  15930. 2003-06-05 Phil Edwards <phil@jaj.com>
  15931. * Makefile.in (qmtest-g++): Use target_alias, not target.
  15932. 2003-06-05 Per Bothner <pbothner@apple.com>
  15933. * toplev.c (push_srcloc): Simplify behavior to save current location
  15934. and set current location to parameters.
  15935. (pop_srcloc): Simplify semantics.
  15936. (lang_dependent_init): Remove now-useless initial push_srcloc.
  15937. 2003-05-06 Richard Henderson <rth@redhat.com>
  15938. * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
  15939. language-specific tree codes.
  15940. 2003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  15941. PR middle-end/9986
  15942. * pa.c (pa_init_builtins): Also set implicit_built_in_decls for
  15943. BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.
  15944. Thu Jun 5 18:32:46 CEST 2003 Jan Hubicka <jh@suse.cz>
  15945. * install.tex: Document profiledbootstrap.
  15946. * configure.in: Add support for lang.stageprofile and
  15947. lang.stagefeedback
  15948. * Makefile.in (clean, distclean): Kill new stages
  15949. (POSTSTAGE1_FLAGS_TO_PASS): Break from ...
  15950. (STAGE2_FLAGS_TO_PASS): ... this one.
  15951. (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
  15952. (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
  15953. (stageprofile_build, stageprofile_copy, stagefeedback_build,
  15954. stagefeedback_copy): New.
  15955. (restageprofile, restagefeedback, stageprofile-start,
  15956. stageprofile, stagefeedback-start): Likewise.
  15957. 2003-06-05 David Miller <davem@redhat.com>
  15958. Richard Henderson <rth@redhat.com>
  15959. * optabs.c (HAVE_conditional_trap): Provide default.
  15960. (gen_conditional_trap): Likewise.
  15961. (init_optabs): Merge init_traps.
  15962. (gen_cond_trap): Use prepare_operand. Restructure and avoid ifdef.
  15963. Thu Jun 5 14:59:44 CEST 2003 Jan Hubicka <jh@suse.cz>
  15964. * combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
  15965. is REG for nonzero_bits (REG) == 8.
  15966. Thu Jun 5 13:23:51 CEST 2003 Jan Hubicka <jh@suse.cz>
  15967. * i386.md (align): Fix warning; clarify what to do when no p2align
  15968. is available.
  15969. 2003-06-05 Nick Clifton <nickc@redhat.com>
  15970. * config.gcc (m32r-elf): Revert previous delta.
  15971. * config/m32r/t-m32r (crtinit.o): Fix rule to work with
  15972. multilibs. Remove m32rx specific version.
  15973. (crtfini.o): Likewise.
  15974. (EXTRA_MULTILIB_PARTS): Define.
  15975. 2003-06-05 Eric Botcazou <ebotcazou@libertysurf.fr>
  15976. * doc/md.texi (Machine Constraints): Correct the meaning of
  15977. constraints related to floating-point registers on SPARC.
  15978. 2003-06-05 Eric Botcazou <ebotcazou@libertysurf.fr>
  15979. Paolo Bonzini <bonzini@gnu.org>
  15980. PR target/10663
  15981. * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
  15982. assembler and linker output to /dev/null.
  15983. Use a 'sed' construct instead of 'grep -A1'.
  15984. * configure: Regenerate.
  15985. 2003-06-04 Richard Henderson <rth@redhat.com>
  15986. * config/i386/i386.c (struct ix86_address): Add seg.
  15987. (no_seg_address_operand): New.
  15988. (ix86_decompose_address): Restructure PLUS loop. Accept one
  15989. UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS. Adjust ESP swap test
  15990. to test for a regnum, not stack_pointer_rtx.
  15991. (ix86_address_cost): Reduce cost if non-default segment.
  15992. (legitimate_address_p): Remove UNSPEC_TP check.
  15993. (get_thread_pointer): Add to_reg argument. Don't represent
  15994. the thread pointer as a memory load.
  15995. (legitimize_tls_address): Split out of ...
  15996. (legitimize_address): ... here.
  15997. (print_operand_address): Handle parts.seg.
  15998. (ix86_expand_move): Use legitimize_tls_address.
  15999. (ix86_rtx_costs): Handle UNSPEC_TP.
  16000. * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
  16001. (TARGET_TLS_DIRECT_SEG_REFS): New.
  16002. (TARGET_SWITCHES): Add tls-direct-seg-refs.
  16003. (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
  16004. (PREDICATE_CODES): Add no_seg_address_operand.
  16005. * config/i386/i386.md (lea_1): Use it.
  16006. (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
  16007. (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
  16008. * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
  16009. * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
  16010. * doc/invoke.texi: Add -mtls-direct-seg-refs.
  16011. 2003-06-04 Mark Mitchell <mark@codesourcery.com>
  16012. * Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
  16013. (QMTEST_GPP_TESTS): Use "g++" by default.
  16014. (stamp-qmtest): Tweak database creation.
  16015. (QMTEST_DIR/context): Update context file format.
  16016. (qmtest-g++): Tweak command-line.
  16017. 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16018. * Makefile.in (varasm.o): Don't set -Wno-error.
  16019. * rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.
  16020. 2003-06-04 Zack Weinberg <zack@codesourcery.com>
  16021. PR bootstrap/3163
  16022. * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
  16023. (gcc_AC_FUNC_MMAP_BLACKLIST): New.
  16024. * configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
  16025. and AC_CHECK_FUNCS lists, respectively. Use
  16026. gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
  16027. AC_FUNC_MMAP_FILE.
  16028. * configure, config.in: Regenerate.
  16029. 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16030. * arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
  16031. * arm.c (arm_output_function_prologue): Fix format specifiers.
  16032. * arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
  16033. * m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
  16034. HOST_WIDE_INT_PRINT_DEC.
  16035. * vax.c (vax_output_function_prologue): Fix format specifiers.
  16036. 2003-06-04 Richard Henderson <rth@redhat.com>
  16037. * cse.c (find_best_addr): Consider binary operators even if second
  16038. argument is not CONST_INT.
  16039. 2003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  16040. * doc/invoke.texi (max-cse-path-length): Document.
  16041. 2003-06-04 Richard Henderson <rth@redhat.com>
  16042. * config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.
  16043. 2003-06-04 Andrew Pinski <pinskia@physics.uc.edu>
  16044. * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
  16045. Remove semi-colon at the end of the expression.
  16046. 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16047. * i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
  16048. * i370.h (mvs_function_name_length): Likewise.
  16049. * i960.h (CONSTANT_ALIGNMENT): Likewise.
  16050. * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  16051. * pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
  16052. * pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
  16053. * rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused
  16054. variable.
  16055. 2003-06-04 Daniel Jacobowitz <drow@mvista.com>
  16056. * config.gcc: Reorganize --with-cpu logic. Set
  16057. configure_default_options according to the default CPU, --with-cpu,
  16058. --with-arch, --with-tune, --with-schedule, --with-abi, and
  16059. --with-float. Check for legal values of various options.
  16060. * configure.in: Define configure_default_options in configargs.h.
  16061. * configure: Regenerated.
  16062. * config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
  16063. (TARGET_DEFAULT_FLOAT_P): New macros.
  16064. * gcc.c (do_option_spec): New function.
  16065. (struct default_spec, option_default_specs): New.
  16066. (main): Call do_option_spec.
  16067. * config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
  16068. config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
  16069. config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
  16070. * doc/install.texi: Update --with-cpu documentation. Mention
  16071. --with-arch, --with-schedule, --with-tune, --with-abi, and
  16072. --with-float.
  16073. * doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
  16074. 2003-06-04 Daniel Jacobowitz <drow@mvista.com>
  16075. * config.gcc: Only process --with-cpu logic in the third pass.
  16076. 2003-06-04 Daniel Jacobowitz <drow@mvista.com>
  16077. * config.gcc: Reorganize --with-cpu section. Remove an
  16078. obsolete comment about the default CPU for x86-64. Fix
  16079. a typo for the ep9312. Update the list of supported PowerPC
  16080. CPUs. Support a limited set of new --with-cpu options
  16081. for i386.
  16082. 2003-06-04 Aldy Hernandez <aldyh@redhat.com>
  16083. * config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
  16084. complex numbers <= 32 bits into two registers.
  16085. 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16086. * alpha.c (print_operand_address): Fix format specifier warnings.
  16087. * alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
  16088. * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
  16089. * arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
  16090. * arm/pe.h (ASM_OUTPUT_COMMON): Likewise.
  16091. * avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL,
  16092. ASM_OUTPUT_SKIP): Likewise.
  16093. * c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
  16094. * dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
  16095. * h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON):
  16096. Likewise.
  16097. * i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
  16098. * i386/cygming.h (ASM_OUTPUT_COMMON): Likewise.
  16099. * i386/darwin.h (ASM_OUTPUT_COMMON): Likewise.
  16100. * i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
  16101. * m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise.
  16102. * mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
  16103. * pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
  16104. * ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
  16105. * sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
  16106. * svr3.h (ASM_OUTPUT_COMMON): Likewise.
  16107. 2003-06-04 J"orn Rennecke <joern.rennecke@superh.com>
  16108. * c-decl.c (c_init_decl_processing): Clear input_file_name
  16109. while building common nodes.
  16110. * dwarf2out.c (gen_compile_unit_die, dwarf2out_finish):
  16111. Don't add working directory for strings like <built-in> .
  16112. 2003-06-04 David Edelsohn <edelsohn@gnu.org>
  16113. * doc/install.texi (*-ibm-aix*): Native as and ld required
  16114. to bootstrap on AIX 5L.
  16115. 2003-06-04 Richard Henderson <rth@redhat.com>
  16116. * c-common.c (handle_cleanup_attribute): New.
  16117. (c_common_attributes): Add it.
  16118. * c-decl.c (finish_decl): Honor the cleanup attribute.
  16119. * doc/extend.texi (Variable Attributes): Document it.
  16120. * unwind-c.c: New file.
  16121. * Makefile.in (LIB2ADDEH): Add it.
  16122. * config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
  16123. config/ia64/t-ia64: Likewise.
  16124. 2003-06-04 Jakub Jelinek <jakub@redhat.com>
  16125. * function.c (trampolines_created): New variable.
  16126. (expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE.
  16127. * function.h (trampolines_created): Add.
  16128. * config/s390/linux.h (ASM_FILE_END): Define.
  16129. * config/alpha/linux-elf.h (ASM_FILE_END): Define.
  16130. * config/m68k/linux.h (ASM_FILE_END): Define.
  16131. * config/rs6000/linux.h (ASM_FILE_END): Define.
  16132. * config/rs6000/linux64.h (ASM_FILE_END): Define.
  16133. * config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux.
  16134. * config/sparc/linux.h (ASM_FILE_END): Define.
  16135. * config/sparc/linux64.h (ASM_FILE_END): Define.
  16136. * config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END.
  16137. * config/i386/linux.h (SUBTARGET_FILE_END): Define.
  16138. * config/i386/linux64.h (SUBTARGET_FILE_END): Define.
  16139. Wed Jun 4 18:39:33 CEST 2003 Jan Hubicka <jh@suse.cz>
  16140. * i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions
  16141. (ix86_reorg): Use it.
  16142. * i386.md (align): New insn pattern.
  16143. 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16144. * toplev.c (rest_of_type_compilation): Fix typo.
  16145. 2003-06-04 Jakub Jelinek <jakub@redhat.com>
  16146. Alan Modra <amodra@bigpond.net.au>
  16147. * config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
  16148. * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise.
  16149. * config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise.
  16150. * config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise.
  16151. * config/darwin.h (NO_PROFILE_COUNTERS): Likewise.
  16152. * final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined.
  16153. (profile_function): Allow NO_PROFILE_COUNTERS to be non-constant.
  16154. * config/rs6000/rs6000.c (output_profile_hook): Likewise.
  16155. * configure.in (powerpc*-*, s390*-*): Set tls_as_opt.
  16156. Pass it to $gcc_cv_as.
  16157. * configure: Rebuilt.
  16158. * config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer.
  16159. (print_operand): Allow TARGET_AIX to be non-constant.
  16160. (rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore):
  16161. Define unconditionally.
  16162. (rs6000_elf_declare_function_name): New function.
  16163. * config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be
  16164. non-constant.
  16165. * config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define
  16166. to 1.
  16167. (DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define.
  16168. [IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__
  16169. is defined.
  16170. (TARGET_AIX): Define to 1 if TARGET_64BIT.
  16171. (PROCESSOR_DEFAULT): Remove.
  16172. (TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT,
  16173. INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
  16174. [RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define.
  16175. (ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both
  16176. -m32 and -m64.
  16177. (MULTILIB_DEFAULTS): Define.
  16178. (SUBSUBTARGET_EXTRA_SPECS): Define.
  16179. (ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define.
  16180. (TARGET_TOC): Define only if !RS6000_BI_ARCH.
  16181. (TARGET_NO_TOC): Remove.
  16182. [!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI,
  16183. TARGET_PROTOTYPE): Define to 0.
  16184. (NO_PROFILE_COUNTERS): Define to TARGET_64BIT.
  16185. (PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT.
  16186. (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly
  16187. if !TARGET_64BIT.
  16188. (USER_LABEL_PREFIX): Remove.
  16189. (JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT.
  16190. (SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init
  16191. if TARGET_64BIT.
  16192. (TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64.
  16193. (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define.
  16194. (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove.
  16195. (TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT.
  16196. (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
  16197. (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on
  16198. TARGET_64BIT.
  16199. (RS6000_CALL_GLUE): Likewise.
  16200. (SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
  16201. RESTORE_FP_SUFFIX): Likewise.
  16202. (ASM_DECLARE_FUNCTION_NAME): Remove.
  16203. (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE,
  16204. DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function
  16205. name if TARGET_64BIT.
  16206. (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and
  16207. !TARGET_64BIT.
  16208. (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs.
  16209. (ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account.
  16210. (DRAFT_V4_STRUCT_RET): Define.
  16211. (SIGNAL_FRAMESIZE): New enum value.
  16212. (MD_FALLBACK_FRAME_STATE_FOR): Define.
  16213. * config/rs6000/default64.h: New file.
  16214. * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64
  16215. options.
  16216. (SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it
  16217. to RS6000_ABI_NAME. Only disallow mixing of -fPIC with -mcall-aixdesc
  16218. if !TARGET_64BIT.
  16219. [!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
  16220. (ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name
  16221. function.
  16222. (TARGET_OS_SYSV_CPP_BUILTINS): Define.
  16223. (TARGET_OS_CPP_BUILTINS): Use it.
  16224. (CPP_SYSV_SPEC): Remove.
  16225. (CPP_SPEC): Remove cpp_sysv.
  16226. (SUBTARGET_EXTRA_SPECS): Remove cpp_sysv.
  16227. Add SUBSUBTARGET_EXTRA_SPECS.
  16228. (SUBSUBTARGET_EXTRA_SPECS): Define.
  16229. * config/rs6000/biarch64.h: New file.
  16230. * config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name):
  16231. New prototype.
  16232. * config/rs6000/x-linux64: New file.
  16233. * config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float
  16234. multilibs.
  16235. * config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__.
  16236. * config/rs6000/eabi-cn.asm: Likewise.
  16237. * config/rs6000/tramp.asm: Likewise.
  16238. * config/rs6000/sol-ci.asm: Likewise.
  16239. * config/rs6000/sol-cn.asm: Likewise.
  16240. * config/rs6000/linux.h (TARGET_64BIT): Define to 0.
  16241. (TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS.
  16242. * config/rs6000/ppc-asm.h: Move __powerpc64__ section before
  16243. _CALL_AIXDESC section.
  16244. * config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler,
  16245. defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs
  16246. or default32.
  16247. 2003-06-04 Daniel Jacobowitz <drow@mvista.com>
  16248. * config.gcc: Revert accidentally committed ARM changes.
  16249. 2003-06-04 Roger Sayle <roger@eyesopen.com>
  16250. * builtins.c (dconstpi, dconste): New mathematical constants.
  16251. (init_builtin_dconsts): New function to initialize dconstpi
  16252. and dconste.
  16253. (fold_builtin): Optimize exp(1.0) = e. Evaluate exp(x) at
  16254. compile time with -ffast-math when x is an integer constant.
  16255. Optimize tan(0.0) = 0.0. Optimize atan(0.0) = 0.0,
  16256. atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math.
  16257. 2003-06-04 Roger Sayle <roger@eyesopen.com>
  16258. * calls.c (expand_call): Avoid calling pure or const functions
  16259. when the result is ignored (or void) and none of the arguments
  16260. are volatile. Move warning diagnostic earlier in function.
  16261. 2003-06-04 Andreas Jaeger <aj@suse.de>
  16262. * system.h: Do not poison TDESC_SECTION_ASM_OP,
  16263. RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.
  16264. 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16265. * final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
  16266. optimize '%' case, handle %c, don't accept %p, %e, %f or %g,
  16267. handle %ll, optimize regular character case.
  16268. 2003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  16269. * Makefile.in (cse.o): Add params.h dependency.
  16270. * cse.c: Include params.h.
  16271. (PATHLENGTH): Removed.
  16272. (struct cse_basic_block_data): Make path array dynamic.
  16273. (cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead
  16274. of PATHLENGTH.
  16275. (cse_main, cse_basic_block): Allocate path array.
  16276. * params.def (PARAM_MAX_CSE_PATH_LENGTH): New.
  16277. Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz>
  16278. * i386.c (ix86_reorg): Replace the jump instead of adding nop.
  16279. * i386.md (UNSPEC_REP): New constant.
  16280. (return_internal_long): New pattern.
  16281. 2003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  16282. PR optimization/11018
  16283. * config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
  16284. consistently to decide whether the scratch register is really
  16285. required.
  16286. 2003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  16287. PR optimization/10876
  16288. * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add
  16289. new 'O' constraint for constant 4096.
  16290. (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
  16291. * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern.
  16292. Do not transform into MINUS insn for constant 4096.
  16293. (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative
  16294. for constant 4096 as third operand.
  16295. (addsi3 expander): Remove.
  16296. (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add
  16297. new alternative for constant 4096 as third operand.
  16298. (subdi3 expander): Do not transform into PLUS insn for constant 4096.
  16299. (*subdi3_sp64 insn): Add new alternative for constant 4096 as third
  16300. operand.
  16301. (subsi3 expander): Remove.
  16302. (*subsi3 insn): Rename into 'subsi3'. Add new alternative for
  16303. constant 4096 as third operand.
  16304. * doc/md.texi (Machine Constraints): Document new 'O' constraint for
  16305. the SPARC port.
  16306. 2003-06-03 Chris Demetriou <cgd@broadcom.com>
  16307. * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
  16308. 2003-06-04 Andreas Jaeger <aj@suse.de>
  16309. * config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
  16310. * config/i386/i386.c (ix86_expand_prologue): Do not use
  16311. SUBTARGET_PROLOGUE.
  16312. * system.h: Poision SUBTARGET_PROLOGUE.
  16313. * config/arm/arm-protos.h: Remove unused rdate_section prototype.
  16314. * output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP
  16315. dependend code.
  16316. * system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP.
  16317. * system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and
  16318. INSN_CACHE_LINE_WIDTH.
  16319. * libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed.
  16320. (__clear_cache): Remove code dependend on INSN_CACHE_DEPTH,
  16321. INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
  16322. * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
  16323. INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
  16324. * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
  16325. (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
  16326. (dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
  16327. (dbxout_block): Remove usage of DBX_LBRAC_FIRST.
  16328. (dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME.
  16329. (dbxout_init): Remove test for DBX_WORKING_DIRECTORY.
  16330. * doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST,
  16331. DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and
  16332. DBX_WORKING_DIRECTORY.
  16333. * system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM,
  16334. DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY.
  16335. * config/frv/frv-protos.h: Remove unused const_section
  16336. declaration.
  16337. * config/vax/vax-protos.h: Likewise.
  16338. * output.h: Remove CONST_SECTION_ASM_OP usage.
  16339. * system.h: Poison CONST_SECTION_ASM_OP.
  16340. * crtstuff.c (__do_global_dtors_aux): Remove usage of
  16341. CRT_GET_RFIB_TEXT.
  16342. (frame_dummy): Likewise.
  16343. * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
  16344. * system.h: Poison CRT_GET_RFIB_TEXT.
  16345. * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
  16346. * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
  16347. (write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code.
  16348. (recognized_function): Likewise.
  16349. (read_scan_file): Likewise.
  16350. 2003-06-03 Roger Sayle <roger@eyesopen.com>
  16351. * optabs.c (expand_binop): Optimize complex multiplication for
  16352. the case of squaring a complex argument.
  16353. 2003-06-03 Roger Sayle <roger@eyesopen.com>
  16354. * optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
  16355. non-volatile operands of binary operations.
  16356. (prepare_cmp_insn): Likewise.
  16357. 2003-06-03 Roger Sayle <roger@eyesopen.com>
  16358. * varasm.c (force_const_mem): Handle alignment of constants not
  16359. representable as a type in the front-end language.
  16360. 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
  16361. * flow.c (initialize_uninitialized_subregs): Use
  16362. emit_move_insn instead of emitting a hardcoded move.
  16363. 2003-06-03 Richard Henderson <rth@redhat.com>
  16364. * optabs.c (expand_abs_nojump): Split out from ...
  16365. (expand_abs): ... here.
  16366. * optabs.h (expand_abs_nojump): Declare.
  16367. * ifcvt.c: (noce_try_abs): Use expand_abs_nojump.
  16368. * Makefile.in (ifcvt.o): Depend on optabs.h.
  16369. 2003-06-03 Alan Modra <amodra@bigpond.net.au>
  16370. * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
  16371. 2003-06-03 Jason Thorpe <thorpej@wasabisystems.com>
  16372. * config.gcc (default_use_cxa_atexit): New variable, defaults to no.
  16373. (*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit
  16374. to yes.
  16375. * configure.in: Allow default_use_cxa_atexit to determine the
  16376. value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or
  16377. disabled.
  16378. * configure: Regenerate.
  16379. 2003-06-03 Douglas B Rupp <rupp@gnat.com>
  16380. * Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
  16381. * doc/gcc.texi: Remove vms.texi section.
  16382. * doc/vms.texi: Remove obsolete file.
  16383. 2003-05-23 J"orn Rennecke <joern.rennecke@superh.com>
  16384. * configure.in (inhibit_libc): Don't define when configuring
  16385. with --with-newlib --with-headers.
  16386. * configure: Regenerate.
  16387. * t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.
  16388. 2003-06-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  16389. * configure.in (gcc_cv_as_hidden): Disable .hidden completely on
  16390. IRIX 6 without GNU ld.
  16391. * configure: Regenerate.
  16392. 2003-06-03 Roger Sayle <roger@eyesopen.com>
  16393. * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
  16394. of a complex number rather than invoke mov_optab directly.
  16395. 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
  16396. * combine.c (simplify_set): Don't move a subreg in SET_SRC to
  16397. SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
  16398. 2003-06-03 Nathanael Nerode <neroden@gcc.gnu.org>
  16399. * config/i386/x86-64.h: Remove two target-independent comments;
  16400. replace "GNU CC" with "GCC".
  16401. 2003-06-03 Anthony Green <green@redhat.com>
  16402. * config/frv/t-frv (EXTRA_HEADERS): Remove media.h
  16403. 2003-06-03 Roger Sayle <roger@eyesopen.com>
  16404. * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
  16405. New builtins representing ISO C99's cabs, cabsf and cabsl.
  16406. * builtins.c (expand_builtin_fabs): New function.
  16407. (expand_builtin_cabs): New function.
  16408. (expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
  16409. using expand_builtin_fabs and expand_builtin_cabs respectively.
  16410. * doc/extend.texi: Document new cabs, cabsf and cabsl builtins.
  16411. 2003-06-03 Aldy Hernandez <aldyh@redhat.com>
  16412. * function.c (assign_parms): Split complex arguments.
  16413. * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.
  16414. * expr.h (SPLIT_COMPLEX_ARGS): Define.
  16415. (split_complex_types): Protoize.
  16416. (split_complex_values): Protoize.
  16417. * calls.c (expand_call): Split complex arguments on architectures
  16418. that require it.
  16419. (split_complex_values): New.
  16420. (split_complex_types): New.
  16421. * config/rs6000/rs6000.c (rs6000_libcall_value): New.
  16422. (rs6000_function_value): Handle complex values on AIX.
  16423. (rs6000_complex_function_value): New.
  16424. * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.
  16425. * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
  16426. (SPLIT_COMPLEX_ARGS): New.
  16427. 2003-06-03 Jakub Jelinek <jakub@redhat.com>
  16428. * configure.in (HAVE_LD_PIE): Check for ld -pie.
  16429. * config.in: Rebuilt.
  16430. * configure: Rebuilt.
  16431. * toplev.c (flag_pie, flag_shlib): New variables.
  16432. (f_options): Add -fpie and -fPIE.
  16433. (parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
  16434. Set flag_shlib if flag_pic and not -fpie/-fPIE.
  16435. * flags.h (flag_pic, flag_shlib): Add.
  16436. * varasm.c (default_binds_local_p): Use flag_shlib instead of
  16437. flag_pic.
  16438. * gcc.c (LINK_PIE_SPEC): Define.
  16439. (LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
  16440. (option_map): Add --pie -> -pie mapping.
  16441. * config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
  16442. and -fPIE the same way as -fPIC.
  16443. * config/openbsd.h (ASM_SPEC): Likewise.
  16444. * config/frv/frv.h (ASM_SPEC): Likewise.
  16445. * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
  16446. * config/arm/semi.h (ASM_SPEC): Likewise.
  16447. * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
  16448. * config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
  16449. * config/i386/beos-elf.h (CC1_SPEC): Likewise.
  16450. * config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
  16451. * config/m68k/linux.h (CPP_SPEC): Likewise.
  16452. * config/m68k/netbsd.h (ASM_SPEC): Likewise.
  16453. * config/m68k/openbsd.h (ASM_SPEC): Likewise.
  16454. * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
  16455. * config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
  16456. * config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
  16457. * config/pa/pa-linux.h (CPP_SPEC): Likewise.
  16458. * config/netbsd-aout.h (ASM_SPEC): Likewise.
  16459. * config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
  16460. * config/rs6000/vxworks.h (CPP_SPEC): Likewise.
  16461. * config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
  16462. * config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
  16463. * config/sparc/sparc.h (ASM_SPEC): Likewise.
  16464. * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
  16465. * config/sparc/sysv4.h (ASM_SPEC): Likewise.
  16466. * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
  16467. * config/sparc/openbsd64.h (ASM_SPEC): Likewise.
  16468. * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
  16469. * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
  16470. Simplify.
  16471. * config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
  16472. * config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
  16473. * config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
  16474. * config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
  16475. * config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
  16476. * config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
  16477. * config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
  16478. * doc/invoke.texi: Document -pie, -fpie and -fPIE options.
  16479. 2003-06-03 Jakub Jelinek <jakub@redhat.com>
  16480. * builtins.c (expand_builtin_memcpy): Remove endp argument and endp
  16481. != 0 handling. Pass 0 to store_by_pieces.
  16482. (expand_builtin_mempcpy): Add endp argument. Don't call
  16483. expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
  16484. directly. If ignoring result, only do expand_call.
  16485. (expand_builtin_stpcpy): Likewise. Call expand_builtin_mempcpy
  16486. otherwise.
  16487. (expand_builtin_strncpy, expand_builtin_memset): Adjust
  16488. store_by_pices callers.
  16489. (expand_builtin): Adjust expand_builtin_memcpy and
  16490. expand_builtin_mempcpy callers.
  16491. * expr.c (can_move_by_pieces): New function.
  16492. (move_by_pieces): Add endp argument, return to resp. memory at end
  16493. or one byte earlier depending on endp.
  16494. (store_by_pieces): Likewise.
  16495. (emit_block_move): Adjust call to move_by_pieces.
  16496. (emit_push_insn): Adjust move_by_pieces caller.
  16497. * expr.h (can_move_by_pieces): New prototype.
  16498. (store_by_pieces): Adjust prototypes.
  16499. * rtl.h (move_by_pieces): Adjust prototype.
  16500. * config/mips/mips.c (expand_block_move): Adjust move_by_pieces
  16501. caller.
  16502. 2003-06-03 Ben Elliston <bje@wasabisystems.com>
  16503. * doc/md.texi (Processor pipeline description): Improve wording.
  16504. 2003-06-03 Neil Booth <neil@daikokuya.co.uk>
  16505. * c-opts.c (c_common_handle_option): New, pulled out of
  16506. c_common_decode_option. Substitute uses of argv.
  16507. (c_common_decode_option): Broken into two.
  16508. 2003-06-02 Roger Sayle <roger@eyesopen.com>
  16509. Zack Weinberg <zack@codesourcery.com>
  16510. * emit-rtl.c (gen_complex_constant_part): Remove unnecessary
  16511. test of TREE_CONSTANT_POOL_ADDRESS_P.
  16512. 2003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16513. * mips.c: Don't include output.h twice.
  16514. * stormy16.c: Likewise.
  16515. * xtensa.c: Likewise.
  16516. * output.h: Protect against multiple inclusion.
  16517. 2003-06-02 J"orn Rennecke <joern.rennecke@superh.com>
  16518. * sh.h (OLD_ARG_MODE): New macro.
  16519. (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
  16520. (FUNCTION_ARG_1): Break out of:
  16521. (FUNCTION_ARG). Use OLD_ARG_MODE.
  16522. 2003-06-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  16523. * gcc/config.gcc Add support multilib parts for m32rx processor.
  16524. 2003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16525. * Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
  16526. (mostlyclean): Delete c-options.c and c-options.h.
  16527. 2003-06-02 Neil Booth <neil@daikokuya.co.uk>
  16528. * c-opts.c (CL_REJECT_NEGATIVE): New.
  16529. (c_common_decode_option): Update to use it.
  16530. * c.opt: Update documentation; use RejectNegative.
  16531. * opts.sh: Handle RejectNegative.
  16532. 2003-06-01 Zack Weinberg <zack@codesourcery.com>
  16533. * ggc-page.c (init_ggc): Give better diagnostics on failure to
  16534. open /dev/zero.
  16535. * toplev.c (crash_signal): Reset handling for received signal
  16536. to SIG_DFL.
  16537. 2003-06-02 Ben Elliston <bje@wasabisystems.com>
  16538. * config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare.
  16539. (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already.
  16540. (arm_use_dfa_pipeline_interface): Implement.
  16541. * config/arm/arm.md (arm): New automaton.
  16542. (write_buf): Remove function units; new cpu unit.
  16543. (write_blockage): Remove function units; new cpu unit.
  16544. (core): Remove function units; new cpu unit.
  16545. (r_mem_f_wbuf): New instruction reservation.
  16546. (store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise.
  16547. (store1_ldsched, store2, store3, store4): Likewise.
  16548. (load_ldsched, load_ldsched_xscale, load_or_store): Likewise.
  16549. (mult, mult_ldsched, mult_ldsched_strongarm): Likewise.
  16550. (multi_cycle, single_cycle): Likewise.
  16551. * config/arm/fpa.md (armfp): New automaton.
  16552. (fpa): Remove function units; new cpu unit.
  16553. (fpa_mem): Remove function unit; new cpu unit.
  16554. (fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations.
  16555. (r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise.
  16556. 2003-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16557. * builtin-attrs.def (ATTR_ASM_FPRINTF): New.
  16558. * c-format.c (enum format_type): Add asm_fprintf_format_type.
  16559. (NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs,
  16560. asm_fprintf_flag_pairs, asm_fprintf_char_table): New.
  16561. (format_types_orig): Renamed from format_types. Add new data.
  16562. (format_types): Declare as pointer.
  16563. (handle_format_attribute): Move later in file so we have all
  16564. necessary declarations. Add section to capture HOST_WIDE_INT.
  16565. * output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New.
  16566. (asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF.
  16567. 2003-06-01 Andreas Jaeger <aj@suse.de>
  16568. * doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
  16569. ROUND_TYPE_SIZE_UNIT.
  16570. * stor-layout.c (finalize_record_size): Remove usages of
  16571. ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
  16572. (finalize_type_size): Likewise.
  16573. (layout_type): Likewise.
  16574. * system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
  16575. * loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.
  16576. * config/d30v/d30v.h: Remove text copied from the manual.
  16577. 2003-06-01 Roger Sayle <roger@eyesopen.com>
  16578. John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  16579. Geoffrey Keating <geoffk@apple.com>
  16580. * emit-rtl.c (gen_lowpart_common): Handle interpreting integer
  16581. constants as condition code values.
  16582. 2003-06-01 DJ Delorie <dj@redhat.com>
  16583. * cppmacro.c (warn_of_redefinition): Handle cases where the two
  16584. definitions have different numbers of tokens.
  16585. 2003-06-01 Andreas Jaeger <aj@suse.de>
  16586. * gen-protos.c (main): Readd unused attribute for argc.
  16587. 2003-06-01 Neil Booth <neil@daikokuya.co.uk>
  16588. * Makefile.in (c-options.c, c-options.h): Parallel make safe.
  16589. * c.opt: End in blank line.
  16590. * opts.sh: Take AWK from environment if available; use C locale.
  16591. 2003-06-01 Andreas Schwab <schwab@suse.de>
  16592. * config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
  16593. 2003-06-01 Andreas Jaeger <aj@suse.de>
  16594. * gen-protos.c (main): Revert patch to check for argument.
  16595. 2003-06-01 Eric Botcazou <ebotcazou@libertysurf.fr>
  16596. PR target/11044
  16597. * config/i386/i386.md (length attribute): Set length to 4
  16598. for instructions of type "fcmp".
  16599. 2003-06-01 Andreas Jaeger <aj@suse.de>
  16600. * toplev.c: Use ISO C90 prototypes.
  16601. * toplev.h: Use ISO C90 prototypes.
  16602. * genrecog.c: Use ISO C90 prototypes.
  16603. (nodes_identical): Correct declaration to match prototype.
  16604. (maybe_both_true): Likewise.
  16605. (merge_trees): Likewise.
  16606. * genpeep.c (gen_peephole): Remove #if 0 code.
  16607. Use ISO C90 prototypes.
  16608. * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
  16609. Remove #if 0'ed function simplify_by_alternatives.
  16610. (optimize_attrs): Remove #if 0'ed code.
  16611. Remove ^L.
  16612. Use ISO C90 prototypes.
  16613. (make_canonical): Remove #if 0'ed code.
  16614. (convert_const_symbol_ref): Remove #if 0'ed function.
  16615. * gen-protos.c (main): Check for argument.
  16616. * rtl.h: Use ISO C90 prototypes for functions from lists.c.
  16617. * params.h: Use ISO C90 prototypes.
  16618. * params.c: Likewise.
  16619. * intl.c: Likewise.
  16620. * intl.h: Likewise.
  16621. * lists.c: Likewise.
  16622. * errors.c: Likewise.
  16623. * errors.h: Likewise.
  16624. * gencodes.c: Likewise.
  16625. * genpreds.c: Likewise.
  16626. * genattr.c: Likewise.
  16627. * gen-protos.c: Likewise.
  16628. * genflags.c: Likewise
  16629. * genconditions.c: Likewise.
  16630. * genautomata.c: Likewise.
  16631. * gencheck.c: Likewise.
  16632. * genconfig.c: Likewise.
  16633. * genconstants.c: Likewise.
  16634. * genemit.c: Likewise.
  16635. * genextract.c: Likewise.
  16636. * gengenrtl.c: Likewise.
  16637. * gengtype.c: Likewise.
  16638. * gengtype.h: Likewise.
  16639. * genopinit.c: Likewise.
  16640. * genoutput.c: Likewise.
  16641. * gensupport.c: Likewise.
  16642. * gensupport.h: Likewise.
  16643. * sdbout.h: Use ISO C90 prototypes.
  16644. * sdbout.c (CONTIN): Removed empty macro.
  16645. (sdbout_one_type): Remove CONTIN usages.
  16646. Remove ^Ls.
  16647. (tag_of_ru_type): Remove #if 0'ed function.
  16648. (sdbout_symbol): Remove #if 0'ed code.
  16649. (sdbout_one_type): Remove a #if 1.
  16650. (sdbout_one_type): Remove #if 0'ed code.
  16651. (sdbout_init): Remove RMS_QUICK_HACK_1 code.
  16652. Remove PARAMS, use ISO C90 prototypes for all functions.
  16653. 2003-06-01 Josef Zlomek <zlomekj@suse.cz>
  16654. * rtl.def (CONST_DOUBLE): Update comment.
  16655. 2003-06-01 Neil Booth <neil@daikokuya.co.uk>
  16656. * opts.sh: Remove path from sort.
  16657. 2003-06-01 Aldy Hernandez <aldyh@redhat.com>
  16658. PR/9680
  16659. * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require
  16660. TARGET_SPE for SPE_VECTOR_MODE.
  16661. 2003-05-31 Aldy Hernandez <aldyh@redhat.com>
  16662. * toplev.c (botch): Remove.
  16663. (do_abort): Remove.
  16664. (set_Wunused): Comment.
  16665. (set_Wextra): Comment.
  16666. Remove ^L's.
  16667. (rest_of_compilation): Factor out common code into functions.
  16668. (rest_of_handle_inlining): New.
  16669. (rest_of_handle_ssa): New.
  16670. (rest_of_handle_cse): New.
  16671. (rest_of_handle_gcse): New.
  16672. (rest_of_handle_loop_optimize): New.
  16673. (rest_of_handle_jump_bypass): New.
  16674. (rest_of_handle_sibling_calls): New.
  16675. (rest_of_handle_null_pointer): New.
  16676. (rest_of_handle_addresof): New.
  16677. (rest_of_handle_flow): New.
  16678. (rest_of_handle_branch_prob): New.
  16679. (rest_of_handle_if_conversion): New.
  16680. (rest_of_handle_tracer): New.
  16681. (rest_of_handle_loop2): New.
  16682. (rest_of_handle_cse2): New.
  16683. (rest_of_handle_life): New.
  16684. (rest_of_handle_combine): New.
  16685. (rest_of_handle_if_after_combine): New.
  16686. (rest_of_handle_regmove): New.
  16687. (rest_of_handle_sched): New.
  16688. (rest_of_handle_old_regalloc): New.
  16689. (rest_of_handle_new_regalloc): New.
  16690. (rest_of_handle_regrename): New.
  16691. (rest_of_handle_reorder_blocks): New.
  16692. (rest_of_handle_sched2): New.
  16693. (rest_of_handle_new_regalloc): New.
  16694. (rest_of_handle_old_regalloc): New.
  16695. (rest_of_handle_regrename): New.
  16696. (rest_of_handle_reorder_blocks): New.
  16697. (rest_of_handle_stack_regs): New.
  16698. (rest_of_handle_machine_reorg): New.
  16699. (rest_of_handle_delay_slots): New.
  16700. (rest_of_handle_final): New.
  16701. * toplev.h (botch): Remove prototype.
  16702. (do_abort): Same.
  16703. 2003-05-31 Neil Booth <neil@daikokuya.co.uk>
  16704. * Makefile.in (c-opts.o, c-options.h): Update dependencies.
  16705. * c-opts.c: Include c-options.h and c-options.c.
  16706. (CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY):
  16707. Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX.
  16708. (CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option,
  16709. OPT, opt_comp): Remove.
  16710. (missing_arg, c_common_init_options, c_common_decode_option,
  16711. write_langs): Update for macro redefinitions and enumeration
  16712. name changes.
  16713. * c.opt, opts.sh: New files.
  16714. * doc/passes.texi: Update.
  16715. 2003-05-31 Andreas Jaeger <aj@suse.de>
  16716. * function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE
  16717. usage.
  16718. * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE.
  16719. * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE.
  16720. * system.h: Poison ALLOCATE_TRAMPOLINE.
  16721. * doc/tm.texi (Misc): Remove HANDLE_PRAGMA.
  16722. * system.h: Poison HANDLE_PRAGMA.
  16723. 2003-05-31 Kazu Hirata <kazu@cs.umass.edu>
  16724. * doc/invoke.texi: Update dump file names.
  16725. 2003-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16726. * c-format.c (format_length_info, format_char_info,
  16727. format_flag_spec, format_flag_pair, format_kind_info):
  16728. De-const-ify structure members.
  16729. 2003-05-31 Roger Sayle <roger@eyesopen.com>
  16730. * flags.h (flag_wrapv): New flag controlling overflow semantics.
  16731. * toplev.c (flag_wrapv): Declare the variable with default false.
  16732. (lang_independent_options): New option "-fwrapv" to set the above.
  16733. * fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
  16734. as x, when signed arithmetic overflow wraps around.
  16735. (fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
  16736. * loop.c (basic_induction_var): Ignore BIVs that rely on undefined
  16737. overflow when flag_wrapv is true.
  16738. * doc/invoke.texi: Document new -fwrapv command line option.
  16739. * doc/c-tree.texi: Mention that the overflow semantics of
  16740. NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
  16741. upon both flag_wrapv and flag_trapv.
  16742. 2003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
  16743. * doc/install.texi (mips-sgi-irix5): Add missing
  16744. HTML <hr> marker.
  16745. 2003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
  16746. * doc/md.texi (Machine Constraints): Document
  16747. missing SPARC constraints.
  16748. 2003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
  16749. * doc/md.texi (Automaton pipeline description): Use
  16750. "type" instead of "cpu" as the attribute in the examples.
  16751. 2003-05-30 Stan Shebs <shebs@apple.com>
  16752. * system.h: Poison OBJC_PROLOGUE.
  16753. 2003-05-30 Roger Sayle <roger@eyesopen.com>
  16754. * emit-rtl.c (gen_complex_constant_part): New function for getting
  16755. the constant real or imaginary part of a complex constant.
  16756. (gen_realpart): Use it.
  16757. (gen_imagpart): Likewise.
  16758. 2003-05-30 Kazu Hirata <kazu@cs.umass.edu>
  16759. * doc/invoke.texi: Fix typos.
  16760. * doc/rtl.texi: Likewise.
  16761. 2003-05-30 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  16762. * config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal
  16763. mode.
  16764. * config/h8300/crtn.asm: Likewise.
  16765. * config/h8300/lib1funcs.asm: Likewise.
  16766. * config/h8300/h8300.c (asm_file_start): Likewise.
  16767. * config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and
  16768. h8300snelf emulations for normal mode.
  16769. * config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn
  16770. emulations for normal mode.
  16771. 2003-05-30 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  16772. * config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
  16773. true if TARGET_NORMAL_MODE.
  16774. 2003-05-30 Roger Sayle <roger@eyesopen.com>
  16775. * cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when
  16776. making a substitution.
  16777. (dead_libcall_p): If directly replacing a libcall with a
  16778. constant value produces an invalid instruction, also try forcing
  16779. the constant into the constant pool.
  16780. * expr.c (emit_move_insn): Add a REG_EQUAL note when it is not
  16781. obvious that the source is a constant.
  16782. (compress_float_constant): Use set_unique_reg_note to place
  16783. REG_EQUAL notes on instructions.
  16784. 2003-05-30 Eric Christopher <echristo@redhat.com>
  16785. * config/mips/mips.c (extern_list): Add GTY marker.
  16786. (extern_head): Separate out definition. Add marker.
  16787. (mips_output_external): Use ggc_alloc for extern_list
  16788. allocation.
  16789. (mips_output_external_libcall): Ditto.
  16790. 2003-05-30 Florian Weimer <fw@deneb.enyo.de>
  16791. * doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or
  16792. later.
  16793. 2003-05-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16794. * vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
  16795. warnings.
  16796. (PRINT_OPERAND): Likewise.
  16797. 2003-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  16798. * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
  16799. -mdebug/-no-mdebug switches ...
  16800. (MDEBUG_ASM_SPEC): ... here.
  16801. Use only with gas.
  16802. (EXTRA_SPECS): Initialize mdebug_asm_spec.
  16803. 2003-05-29 Matt Kraai <kraai@alumni.cmu.edu>
  16804. * gthr-gnat.c: Remove #undef UNUSED.
  16805. (__gnat_default_lock, __gnat_default_unlock): Prototype.
  16806. (__gnat_task_lock, __gnat_task_unlock): Make declarations
  16807. prototypes.
  16808. (__gnat_install_locks): Convert declaration to ISO C90, make
  16809. parameter declarations prototypes, and remove blank line.
  16810. * gthr-gnat.h (__gnat_install_locks): Make parameter
  16811. declarations prototypes.
  16812. 2003-05-29 Jason Merrill <jason@redhat.com>
  16813. * Makefile.in (unstrap): Remove stage_last after make unstage1.
  16814. 2003-05-29 Roger Sayle <roger@eyesopen.com>
  16815. * mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
  16816. 2003-05-29 Roger Sayle <roger@eyesopen.com>
  16817. Kaveh Ghazi <ghazi@caip.rutgers.edu>
  16818. PR bootstrap/10169
  16819. * mips-tfile.c (main): Use getopt_long instead of getopt.
  16820. Add new command line option --version to display version.
  16821. Treat --verbose like -v to report a single line version.
  16822. (options): New global variable for getopt_long.
  16823. * mips-tdump.c (main): Use getopt_long instead of getopt.
  16824. New command line options -v, --version and -verbose to display
  16825. the program version number (to match mips-tfile's behavior).
  16826. (options): New global variable for getopt_long.
  16827. * gcov.c (options): Zero-terminate getopt_long array.
  16828. * gcov-dump.c (options): Likewise.
  16829. * Makefile.in (mips-tdump.o): Add dependency on version.h.
  16830. 2003-05-29 Stan Shebs <shebs@apple.com>
  16831. Remove OBJC_PROLOGUE everywhere.
  16832. * objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE.
  16833. * config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE.
  16834. * config/d30v/d30v.h: Similarly.
  16835. * config/ip2k/ip2k.h: Similarly.
  16836. * doc/tm.texi: Remove doc of OBJC_PROLOGUE.
  16837. 2003-05-29 Roger Sayle <roger@eyesopen.com>
  16838. * c-semantics.c (genrtl_do_stmt_1): New function split out from...
  16839. (gen_rtl_do_stmt): ... here. Call genrtl_do_stmt_1.
  16840. (expand_unreachable_stmt): Expand unreachable while statements
  16841. using genrtl_do_stmt_1.
  16842. 2003-05-29 Richard Sandiford <rsandifo@redhat.com>
  16843. * config/mips/mips-protos.h (mips_output_load_label): Declare.
  16844. * config/mips/mips.c (mips_output_load_label): New function.
  16845. (mips_output_conditional_branch): Use it.
  16846. * config/mips/mips.md (jump): And here.
  16847. 2003-05-28 Bob Wilson <bob.wilson@acm.org>
  16848. * config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete.
  16849. (xtensa_split_operand_pair): New proto.
  16850. * config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode.
  16851. (smalloffset_double_mem_p): Delete.
  16852. (gen_float_relational, printx, print_operand, xtensa_va_arg):
  16853. Fix whitespace.
  16854. (xtensa_split_operand_pair): New.
  16855. (xtensa_dbx_register_number): Fix formatting.
  16856. * config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint.
  16857. * config/xtensa/xtensa.md (movdi, movdf): Force constants to memory
  16858. instead of splitting them into single-word moves. Remove unnecessary
  16859. checks for reload_in_progress and reload_completed.
  16860. (movdi_internal, movdf_internal): Change to post-reload split patterns.
  16861. Add constraints to allow constant operands.
  16862. (movsf_internal): Allow CONST_INT operands.
  16863. 2003-05-27 Danny Smith <dannysmith@users.sourceforge.net>
  16864. * config.gcc (i[34567]86-*-mingw32*): Add host makefile
  16865. fragment i386/x-mingw32.
  16866. * config/i386/x-mingw32: New file. Make local_includedir
  16867. relative to EXEC_PREFIX.
  16868. 2003-05-27 Aaron W. LaFramboise <awlaframboise@aol.com>
  16869. * config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update.
  16870. (MD_STARTFILE_PREFIX): Define.
  16871. 2003-05-27 Denis Chertykov <denisc@overta.ru>
  16872. * cselib.c (cselib_invalidate_regno): Abort if hardreg have a
  16873. VOIDmode.
  16874. * cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
  16875. call of cselib_invalidate_regno.
  16876. 2003-05-28 Daniel Jacobowitz <drow@mvista.com>
  16877. * config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
  16878. -lthread to -lpthread.
  16879. 2003-05-28 Eric Botcazou <ebotcazou@libertysurf.fr>
  16880. Bruce Korb <bkorb@gnu.org>
  16881. Arno Klaassen <arno@heho.snv.jussieu.fr>
  16882. * fixinc/inclhack.def: Add missing declaration of getpagesize()
  16883. to unistd.h on Solaris 2.5.1.
  16884. Fix prototype of recv() and send() in sys/socket.h on
  16885. Solaris 2.5.1 and 2.6.
  16886. * fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
  16887. * fixinc/tests/base/sys/socket.h: Add solaris_socket test.
  16888. * fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
  16889. * fixinc/fixincl.x: Regenerate.
  16890. 2003-05-27 Jason Merrill <jason@redhat.com>
  16891. * tree.c (expr_first, expr_length): New fns.
  16892. * tree.h: Declare them.
  16893. * tree.c (iterative_hash_expr): Hash commutative expressions
  16894. consistently.
  16895. 2003-05-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  16896. * tree.h (contains_placeholder_p): Now returns bool.
  16897. (CONTAINS_PLACEHOLDER_P): New macro.
  16898. (type_contains_placeholder_p): New function.
  16899. * tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
  16900. (contains_placeholder_p): Now returns bool.
  16901. Rework to use CONTAINS_PLACEHOLDER_P macro.
  16902. (type_contains_placeholder_p): New function.
  16903. * fold-const.c (fold, case COMPONENT_REF): Don't fold if
  16904. type_contains_placeholder_p.
  16905. (fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
  16906. Use CONTAINS_PLACEHOLDER_P macro.
  16907. * builtins.c (fold_builtin): Likewise.
  16908. * calls.c (initialize_argument_information): Likewise.
  16909. * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
  16910. * explow.c (expr_size): Likewise.
  16911. * expr.c (store_constructor, get_inner_reference): Likewise.
  16912. * function.c (assign_parms): Likewise.
  16913. * stor-layout.c (variable_size): Likewise.
  16914. 2003-05-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
  16915. * diagnostic.h (output_verbatim, verbatim): Remove printf
  16916. attribute.
  16917. 2003-05-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  16918. * doc/contrib.texi (Contributors): Update Kean Johnston.
  16919. 2003-05-24 David Edelsohn <edelsohn@gnu.org>
  16920. * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute.
  16921. 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
  16922. * config/rs6000/440.md, config/stormy16/stormy16protos.h,
  16923. config/stormy16/stormy16.c, config/stormy16/stormy16.md:
  16924. Replace "GNU CC" with "GCC".
  16925. 2003-05-24 Matt Kraai <kraai@alumni.cmu.edu>
  16926. * builtins.c (expand_builtin_memcpy): Use mode of dest_addr for
  16927. intermediate computation.
  16928. 2003-05-23 Eric Christopher <echristo@redhat.com>
  16929. * config/mips/mips.md (clzsi, clzdi): New patterns.
  16930. 2003-05-23 Geoffrey Keating <geoffk@apple.com>
  16931. * gcc.c (default_compilers): Use -o to specify preprocessor's output
  16932. file. Make -no-integrated-cpp work when building PCH files.
  16933. * objc/lang-specs.h: Likewise.
  16934. 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
  16935. * fixinc/Makefile.in: Correct description.
  16936. * fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
  16937. fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
  16938. fixinc/genfixes: Replace "GNU CC" with "GCC".
  16939. 2003-05-23 Roger Sayle <roger@eyesopen.com>
  16940. * builtins.def: Define atan, atanf, atanl, tan, tanf and tanl
  16941. builtin functions (and their __builtin_* variants).
  16942. * builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}.
  16943. (expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not
  16944. optimizing.
  16945. * doc/extend.texi: Document new tan and atan builtins, and
  16946. their float and long double variants.
  16947. 2003-05-23 Jason Thorpe <thorpej@wasabisystems.com>
  16948. * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
  16949. __sparcv9 in the TARGET_ARCH64 case.
  16950. Fri May 23 22:17:32 CEST 2003 Jan Hubicka <jh@suse.cz>
  16951. * i386.c (ix86_reorg): Calls are also jumps.
  16952. 2003-05-23 J"orn Rennecke <joern.rennecke@superh.com>
  16953. * cse.c (count_reg_usage): When processing an INSNs REG_EQUAL
  16954. note containing an EXPR_LIST, process all the arguments.
  16955. Fri May 23 21:19:31 CEST 2003 Jan Hubicka <jh@suse.cz>
  16956. Andreas Jaeger <aj@suse.de>
  16957. * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
  16958. do not use assertion.
  16959. 2003-05-23 Mike Stump <mrs@apple.com>
  16960. * tlink.c (scan_linker_output): Add support for darwin linker, as it
  16961. emits unresolved symbols one per line, consuming the entire line.
  16962. 2003-05-23 Larin Hennessy <larin@science.oregonstate.edu>
  16963. Zack Weinberg <zack@codesourcery.com>
  16964. * explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
  16965. * config/m68k/m68k.c (m68k_output_function_prologue):
  16966. Remove code under #if NEED_PROBE.
  16967. * config/m68k/m68k.h: Don't define NEED_PROBE.
  16968. * config/m68k/m68k.md: Remove "probe" insn.
  16969. * doc/md.texi: Remove documentation of "probe" pattern.
  16970. 2003-05-23 Dorit Naishlos <gcchaifa@il.ibm.com>
  16971. * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute.
  16972. 2003-05-23 Eric Botcazou <ebotcazou@libertysurf.fr>
  16973. * doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
  16974. Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.
  16975. 2003-05-22 Roger Sayle <roger@eyesopen.com>
  16976. * real.c (real_maxval): New function to return the largest finite
  16977. value representable in a given mode (i.e. FLT_MAX and DBL_MAX).
  16978. * real.h (real_maxval): Prototype here.
  16979. * fold-const.c (fold_inf_compare): Transform comparisons against
  16980. +-Infinity into comparisons against DBL_MAX (or equivalent).
  16981. 2003-05-22 Mike Stump <mrs@apple.com>
  16982. * config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the
  16983. default.
  16984. 2003-05-22 DJ Delorie <dj@redhat.com>
  16985. * calls.c (expand_call): If the arg block is going to grow
  16986. downward, we need argblock to point to the top of the block,
  16987. not the bottom.
  16988. 2003-05-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  16989. * c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
  16990. * expr.c (expand_expr, case CONSTRUCTOR): Put into memory if
  16991. constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.
  16992. 2003-05-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16993. * m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
  16994. * m68k.c: Likewise.
  16995. * m68k.h: Likewise.
  16996. 2003-05-22 Zack Weinberg <zack@codesourcery.com>
  16997. PR other/2873
  16998. * fixinc/inclhack.def (avoid_wchar_t_type): Add bypass
  16999. expressions to prevent triggering on recent curses.h,
  17000. linux/nls.h, or X11/Xlib.h.
  17001. (stdio_va_list): Add _G_va_list to bypass pattern.
  17002. (strict_ansi_not): Add bypass pattern for __SCO_VERSION__.
  17003. * fixinc/fixincl.x: Regenerate.
  17004. 2003-05-22 Rekha Bhintade <rekhad@kpitcummins.com>
  17005. * gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target
  17006. switches when --target-help option is specified.
  17007. 2003-05-22 Eric Botcazou <ebotcazou@libertysurf.fr>
  17008. PR bootstrap/10805
  17009. * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
  17010. failure with Sun assembler 5.0 Alpha 03/27/98.
  17011. 2003-05-21 Loren James Rittle <ljrittle@acm.org>
  17012. * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
  17013. to match system compiler convention.
  17014. 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
  17015. * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for nonzero
  17016. value, not just if defined.
  17017. Update copyright year.
  17018. 2003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  17019. PR target/6428
  17020. * pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
  17021. directories from LIB_SPEC to LINK_SPEC. Emit warning if `-p' or `-pg'
  17022. option is used without `-static'.
  17023. * pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
  17024. * pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
  17025. 2003-05-21 Bob Wilson <bob.wilson@acm.org>
  17026. * config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
  17027. TARGET_SERIALIZE_VOLATILE): Delete.
  17028. (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
  17029. (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
  17030. (TARGET_SWITCHES): Remove "-mserialize-volatile" and
  17031. "-mno-serialize-volatile".
  17032. * config/xtensa/xtensa.c (print_operand): Remove checks of
  17033. TARGET_SERIALIZE_VOLATILE.
  17034. * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
  17035. * doc/invoke.texi (Option Summary, Xtensa Options): Remove
  17036. "-mserialize-volatile" and "-mno-serialize-volatile" options.
  17037. 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
  17038. * c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
  17039. (nested_function): Likewise.
  17040. (notype_nested_function): Likewise.
  17041. 2003-05-21 Nick Clifton <nickc@redhat.com>
  17042. * config/stormy16/stormy-abi: Update overflow type for
  17043. R_XSTORMY16_16 reloc.
  17044. 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
  17045. * c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
  17046. * c-parse.in (reswords): Remove __bounded__ and __unbounded__.
  17047. (rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
  17048. * print-tree.c (print_node): Remove ambient-boundedness.
  17049. * tree.h (tree_common): Remove bounded_flag.
  17050. (BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P,
  17051. BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
  17052. MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
  17053. TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
  17054. TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED):
  17055. Remove.
  17056. (TYPE_QUALS): Remove BOUNDED.
  17057. (TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
  17058. (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
  17059. TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
  17060. TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
  17061. VA_LIST_POINTER_DEPTH): Remove.
  17062. (struct tree_type): Remove pointer_depth.
  17063. 2003-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  17064. * c-pretty-print.c (pp_c_integer_literal): Use
  17065. HOST_WIDE_INT_PRINT_DOUBLE_HEX.
  17066. 2003-05-20 Roger Sayle <roger@eyesopen.com>
  17067. Kazu Hirata <kazu@cs.umass.edu>
  17068. Joern Rennecke <joern.rennecke@superh.com>
  17069. * gcse.c (cprop_jump): Make use of REG_EQUAL notes on both
  17070. setcc and jump, if they exist. If substituted instruction
  17071. fails to validate, store current effort in a REG_EQUAL note.
  17072. (cprop_insn): Don't attempt further substitutions if the
  17073. current instruction has been deleted.
  17074. (local_cprop_pass): Likewise.
  17075. * jump.c (redirect_jump): Also update REG_EQUAL note, if
  17076. one is attached to the jump instruction.
  17077. (invert_jump): Delete REG_EQUAL note on jump, if one exists.
  17078. 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
  17079. PR c++/9738
  17080. * config/i386/winnt.c (i386_pe_encode_section_info): Enable
  17081. even if not first.
  17082. 2003-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  17083. * genautomata.c (output_description, output_automaton_units,
  17084. output_state_arcs): Add missing specifiers.
  17085. 2003-05-20 Bob Wilson <bob.wilson@acm.org>
  17086. * config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
  17087. (do_abs, do_addx2, do_addx4, do_addx8): New assembler macros.
  17088. (__mulsi3): Use do_addx* instead of ADDX* instructions. Formatting.
  17089. (nsau): Rename to do_nsau. Provide alternate version for use when
  17090. the NSAU instruction is available.
  17091. (__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro.
  17092. (__divsi3, __modsi3): Use do_abs macro instead of ABS instruction.
  17093. * config/xtensa/xtensa-config.h: Update comments to match binutils.
  17094. (XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define.
  17095. * config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define.
  17096. (TARGET_ABS, TARGET_ADDX): Define.
  17097. (TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX.
  17098. (TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx".
  17099. * config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4,
  17100. *subx8): Set predicate condition to TARGET_ADDX.
  17101. (abssi2): Set predicate condition to TARGET_ABS.
  17102. * doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs",
  17103. "-maddx", and "-mno-addx" options.
  17104. (Xtensa Options): Likewise. Also tag some opcode names with @code.
  17105. 2003-05-20 Kevin Ryde <user42@zip.com.au>
  17106. Wolfgang Bangerth <bangerth@dealii.org>
  17107. PR/10355
  17108. * doc/extend.texi: Put a warning into the documentation
  17109. of attribute regparm.
  17110. 2003-05-20 Jason Merrill <jason@redhat.com>
  17111. * tree.c (expr_last): New fn.
  17112. * tree.h: Declare it.
  17113. * objc/objc-act (expr_last): Rename to objc_expr_last.
  17114. 2003-05-20 J"orn Rennecke <joern.rennecke@superh.com>
  17115. * sh.c (sh_register_move_cost): Add clase for moving between
  17116. FP registers and MAC registers.
  17117. 2003-05-19 John David Anglin <dave.anglin@nrc-gnrc.gc.ca>
  17118. * pa/milli64.S ($$mulI): Fix typo.
  17119. 2003-05-19 Matt Kraai <kraai@alumni.cmu.edu>
  17120. * alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
  17121. (nonlocal_set_p): Remove initial blank line.
  17122. * dwarf2out.c (simple_type_size_in_bits): Likewise.
  17123. * et-forest.c (et_forest_create): Likewise.
  17124. * explow.c (stabilize): Likewise.
  17125. * fix-header.c (write_lbrac): Likewise.
  17126. * graph.c (start_fct, node_data): Likewise.
  17127. * jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
  17128. * rtlanal.c (global_reg_mentioned_p): Likewise.
  17129. * tree.c (bit_position): Likewise.
  17130. 2003-05-19 Alexandre Oliva <aoliva@redhat.com>
  17131. * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
  17132. -lthread to -lpthread.
  17133. 2003-05-19 Neil Booth <neil@daikokuya.co.uk>
  17134. * c-opts.c (c_common_decode_option): Don't accept dollars
  17135. as identifier characters in assembly.
  17136. * doc/cpp.texi: Document this.
  17137. 2003-05-19 Seth Arnold <sarnold@wirex.com>
  17138. Aldy Hernandez <aldyh@redhat.com>
  17139. * config/rs6000/rs6000.c (rs6000_stack_info): Do not add
  17140. vrsave_size twice.
  17141. 2003-05-19 Aldy Hernandez <aldyh@redhat.com>
  17142. * doc/tm.texi (function_arg): Fix typo.
  17143. 2003-05-19 Matt Austern <austern@apple.com>
  17144. * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-offsetof option.
  17145. * c-common.h (warn_invalid_offsetof): Declare.
  17146. * c-common.c (warn_invalid_offsetof): Define.
  17147. * doc/invoke.texi: Document -Winvalid-offsetof.
  17148. * testsuite/g++.dg/other/offsetof3.C: New.
  17149. * testsuite/g++.dg/other/offsetof4.C: New.
  17150. 2003-05-19 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
  17151. David Edelsohn <edelsohn@gnu.org>
  17152. * config/rs6000/rs6000.c (rs6000_alignment_string,
  17153. rs6000_alignment_flags): New variables.
  17154. (rs6000_parse_alignment_option): New function.
  17155. (rs6000_override_options): Call it.
  17156. * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option.
  17157. (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New
  17158. macros.
  17159. * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED
  17160. natural alignment if TARGET_NATURAL_ALIGNMENT
  17161. (ROUND_TYPE_ALIGN): Always use default record alignment if
  17162. TAGET_NATURAL_ALIGNMENT.
  17163. * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same
  17164. (ROUND_TYPE_ALIGN): Same.
  17165. * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same
  17166. (ROUND_TYPE_ALIGN): Same.
  17167. * doc/invoke.texi (Option Summary, PowerPC Options): Document
  17168. new options.
  17169. 2003-05-19 J"orn Rennecke <joern.rennecke@superh.com>
  17170. * c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
  17171. of a function using ASMSPEC, prepend a star.
  17172. 2003-05-19 Jason Merrill <jason@redhat.com>
  17173. * tree-inline.c (copy_body_r): Avoid generating &* during inline
  17174. substitution.
  17175. 2003-05-19 Andrew Macleod <amacleod@redhat.com>
  17176. * config/stormy16/stormy16.c (xstormy16_expand_prologue): Do
  17177. not mark assignments to the hard frame pointer as being stack
  17178. frame related.
  17179. (xstormy16_expand_epilogue): Mark adjustments to the stack
  17180. pointer as being stack frame related.
  17181. 2003-05-19 Richard Sandiford <rsandifo@redhat.com>
  17182. * config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
  17183. ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
  17184. (PREDICATE_CODES): Add hilo_operand.
  17185. * config/mips/mips.c (hilo_operand): New predicate.
  17186. (mips_adjust_insn_length): Account for the number nops that might
  17187. be needed to avoid hardware hazards.
  17188. * config/mips/mips.md (dslot): Remove attribute.
  17189. (hazard): New attribute.
  17190. (can_delay): Use it. Check for calls, branches & jumps.
  17191. (muldi3): Use the standard dmult pattern for mips16 code.
  17192. (muldi3_internal, muldi3_internal2): Adjust conditions accordingly.
  17193. 2003-05-19 Richard Sandiford <rsandifo@redhat.com>
  17194. * config/mips/mips-protos.h (final_prescan_insn,
  17195. mips_count_memory_refs, mips_fill_delay_slot): Remove.
  17196. * config/mips/mips.h (delay_type, dslots_load_total,
  17197. dslots_load_filled, dslots_jump_total, dslots_jump_filled,
  17198. dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2,
  17199. mips_load_reg3, mips_load_reg4): Remove.
  17200. (MASK_STATS): Remove.
  17201. (MASK_EXPLICIT_RELOCS): Reuse its value.
  17202. (TARGET_STATS): Remove.
  17203. (TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops.
  17204. Warn that -mstats is now ignored.
  17205. (FINAL_PRESCAN_INSN): Undefine.
  17206. (DBR_OUTPUT_SEQEND): Remove handling of dslot statistics.
  17207. (ASM_OUTPUT_REG_POP): Likewise.
  17208. * config/mips/mips.c (dslots_load_total, dslots_load_filled,
  17209. dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs,
  17210. mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4,
  17211. mips_fill_delay_slot, mips_count_memory_refs,
  17212. final_prescan_insn): Remove.
  17213. (output_block_move): Remove calls to mips_count_memory_refs.
  17214. (print_operand): Remove printing of #nop for TARGET_STATS.
  17215. (mips_output_function_epilogue): Remove TARGET_STATS code.
  17216. Reorganize setting of fnnmae.
  17217. * config/mips/mips.md: Remove handling of dslot statistics
  17218. throughout file. Change all fcmp patterns into normal asm
  17219. templates, removing calls to mips_fill_delay_slot.
  17220. * doc/invoke.texi: Remove documentation of -mstats.
  17221. 2003-05-19 Richard Sandiford <rsandifo@redhat.com>
  17222. * config/mips/mips.c (mips_class_max_nregs): Return the number of
  17223. words in the mode.
  17224. 2003-05-19 Richard Sandiford <rsandifo@redhat.com>
  17225. * config/mips/mips.c (override_options): Disable explicit
  17226. relocs for old ABIs unless using gas.
  17227. 2003-05-18 Eric Christopher <echristo@redhat.com>
  17228. * config/mips/mips.h: Remove definition of g_switch_value.
  17229. 2003-05-18 Matt Kraai <kraai@alumni.cmu.edu>
  17230. * flags.h (g_switch_value): Change to an unsigned
  17231. HOST_WIDE_INT.
  17232. * toplev.c (g_switch_value): Likewise.
  17233. * config/alpha/alpha.c (small_symbolic_operand): Remove
  17234. g_switch_value cast.
  17235. (alpha_in_small_data_p): Cast size to an unsigned
  17236. HOST_WIDE_INT.
  17237. * config/frv/frv.c (frv_in_small_data_p): Cast size to an
  17238. unsigned HOST_WIDE_INT.
  17239. * config/frv/frv.h (g_switch_value, g_switch_set): Remove.
  17240. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set.
  17241. * config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an
  17242. unsigned HOST_WIDE_INT.
  17243. (m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED.
  17244. * config/m32r/m32r.h (g_switch_value, g_switch_set): Remove.
  17245. (ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value.
  17246. * config/rs6000/rs6000.c (rs6000_file_start): Use
  17247. HOST_WIDE_INT_PRINT_UNSIGNED.
  17248. (small_data_operand): Cast summand to unsigned HOST_WIDE_INT.
  17249. (rs6000_elf_in_small_data_p): Cast size to unsigned
  17250. HOST_WIDE_INT.
  17251. * config/rs6000/sysv4.h (g_switch_value, g_switch_set):
  17252. Remove.
  17253. (SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and
  17254. g_switch_set.
  17255. (ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove
  17256. g_switch_value cast.
  17257. 2003-05-18 Roger Sayle <roger@eyesopen.com>
  17258. Zack Weinberg <zack@codesourcery.com>
  17259. PR middle-end/10472
  17260. * builtins.c (expand_builtin_memcpy): Call force_operand on
  17261. expressions and use simplify_gen_binary to create the addition.
  17262. 2003-05-18 Andreas Schwab <schwab@suse.de>
  17263. * config/m68k/m68k.md: Use define_constants for unspec numbers.
  17264. 2003-05-18 Neil Booth <neil@daikokuya.co.uk>
  17265. * config/sparc/sparc.h: Define sparc for now.
  17266. 2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org>
  17267. * config.gcc: Clear xm_file, md_file at the beginning of each pass.
  17268. * config/stormy16/stormy16.h: Remove about 3000 lines of
  17269. target-independent comments. Update copyright notice.
  17270. * doc/collect2.texi: GNU CC -> GCC.
  17271. * doc/headerdirs.texi: GNU CC -> GCC.
  17272. 2003-05-18 Gabriel Dos Reis <gdr@integrable-solutions.net>
  17273. * hashtable.h (struct ht_identifier): Add data member "hash_value".
  17274. * hashtable.c (ht_lookup): Use it when searching, remember.
  17275. (ht_expand): Do not recompute.
  17276. * tree.h (IDENTIFIER_HASH_VALUE): New macro.
  17277. 2003-05-18 Nathan Sidwell <nathan@codesourcery.com>
  17278. * gcov-io.c (gcov_read_bytes): Fix fread thinko.
  17279. 2003-05-18 Neil Booth <neil@daikokuya.co.uk>
  17280. * c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
  17281. Default here.
  17282. (c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
  17283. * defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
  17284. * config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
  17285. * config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
  17286. config/arm/linux-elf.h, config/arm/rtems-elf.h,
  17287. config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
  17288. config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
  17289. config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
  17290. config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
  17291. config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
  17292. config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
  17293. config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
  17294. config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
  17295. config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
  17296. config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
  17297. config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
  17298. Don't define __ELF__.
  17299. * config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
  17300. Define __ELF__.
  17301. * doc/cpp.texi: Document __ELF__.
  17302. * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS. *
  17303. 2003-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  17304. * builtins.c (validate_arglist): Eliminate libiberty VA_ macros,
  17305. always use stdarg.
  17306. * c-errors.c (pedwarn_c99): Likewise.
  17307. * c-format.c (status_warning): Likewise.
  17308. * c-semantics.c (build_stmt): Likewise.
  17309. * calls.c (emit_library_call, emit_library_call_value): Likewise.
  17310. * collect2.c (notice, fatal_perror, fatal, error): Likewise.
  17311. * cpperror.c (cpp_error, cpp_error_with_line): Likewise.
  17312. * diagnostic.c (build_message_string, output_printf,
  17313. output_verbatim, verbatim, inform, warning, pedwarn, error, sorry,
  17314. fatal_error, internal_error, warning_with_decl, pedwarn_with_decl,
  17315. error_with_decl, fnotice): Likewise.
  17316. * dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta,
  17317. dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr,
  17318. dw2_asm_output_addr_rtx, dw2_asm_output_nstring,
  17319. dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128,
  17320. dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
  17321. dw2_asm_output_encoded_addr_rtx): Likewise.
  17322. * emit-rtl.c (gen_rtx, gen_rtvec): Likewise.
  17323. * errors.c (warning, error, fatal, internal_error): Likewise.
  17324. * final.c (output_operand_lossage, asm_fprintf): Likewise.
  17325. * fix-header.c (fatal): Likewise.
  17326. * gcc.c (fatal, error, notice): Likewise.
  17327. * gcov.c (fnotice): Likewise.
  17328. * genattrtab.c (attr_rtx, attr_printf): Likewise.
  17329. * gengtype.c (error_at_line, xasprintf, oprintf): Likewise.
  17330. * gensupport.c (message_with_line): Likewise.
  17331. * mips-tfile.c (fatal, error): Likewise.
  17332. * protoize.c (notice): Likewise.
  17333. * ra-debug.c (ra_debug_msg): Likewise.
  17334. * read-rtl.c (fatal_with_file_and_line): Likewise.
  17335. * rtl-error.c (error_for_asm, warning_for_asm): Likewise.
  17336. * tree.c (build, build_nt, build_function_type_list): Likewise.
  17337. 2003-05-17 Neil Booth <neil@daikokuya.co.uk>
  17338. * defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
  17339. * gcc.c (cpp_predefines): Remove.
  17340. (cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
  17341. (static_specs): Remove predefines.
  17342. * system.h: Poison CPP_PREDEFINES.
  17343. * config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
  17344. config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.
  17345. 2003-05-17 Neil Booth <neil@daikokuya.co.uk>
  17346. * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
  17347. config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h,
  17348. config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES,
  17349. use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead.
  17350. 2003-05-17 Neil Booth <neil@daikokuya.co.uk>
  17351. PR c/9209
  17352. * c-common.c, c-common.h (dollars_in_ident): Remove.
  17353. * c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true.
  17354. (c_common_init_options, c_common_decode_option): Set dollars_in_ident.
  17355. * cpphash.h (warned_dollar): Rename warn_dollars.
  17356. * cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang)
  17357. Permit dollars regardless of -std=.
  17358. (post_options): Set warn_dollars.
  17359. * cpplex.c (forms_identifier_p): Use warn_dollars.
  17360. * config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h:
  17361. Remove redundant definitions of DOLLARS_IN_IDENTIFIERS.
  17362. * doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi:
  17363. Update documentation.
  17364. 2003-05-17 Andreas Schwab <schwab@suse.de>
  17365. * config/m68k/m68k.c (m68k_output_function_prologue): Use
  17366. HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when
  17367. formatting a HOST_WIDE_INT.
  17368. (m68k_output_function_epilogue): Likewise.
  17369. 2003-05-17 Zack Weinberg <zack@codesourcery.com>
  17370. * doc/install.texi: Remove information about desupported targets.
  17371. 2003-05-17 Andreas Schwab <schwab@suse.de>
  17372. * config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
  17373. * config/m68k/linux.h: Likewise.
  17374. * config/m68k/m68k-none.h: Likewise.
  17375. * config/m68k/netbsd-elf.h: Likewise.
  17376. * config/m68k/sgs.h: Likewise.
  17377. * config/m68k/m68k.h: Likewise.
  17378. * config/m68k/m68k.md: Likewise.
  17379. * config/m68k/m68k.c: Likewise.
  17380. * doc/md.texi (Machine Constraints): Remove Sun FPA specific
  17381. constraints.
  17382. * doc/invoke.texi (Option Summary): Remove -mfpa.
  17383. (M680x0 Options): Likewise.
  17384. 2003-05-17 David Edelsohn <edelsohn@gnu.org>
  17385. * rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.
  17386. 2003-05-17 Neil Booth <neil@daikokuya.co.uk>
  17387. * config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
  17388. * config/sparc/liteelf.h, config/sparc/openbsd64.h,
  17389. config/sparc/rtemself.h, config/sparc/sol2-64.h,
  17390. config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
  17391. Update for use of TARGET_SUB_OS_CPP_BUILTINS.
  17392. 2003-05-17 Neil Booth <neil@daikokuya.co.uk>
  17393. * i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
  17394. TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES.
  17395. 2003-05-17 Neil Booth <neil@daikokuya.co.uk>
  17396. * config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
  17397. * sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h,
  17398. sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h,
  17399. sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h,
  17400. sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h,
  17401. sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h,
  17402. sparc/sysv4.h,
  17403. * sparc/sysv4-only.h: New.
  17404. 2003-05-17 Alan Modra <amodra@bigpond.net.au>
  17405. * function.c (assign_parms): Check for zero size args.
  17406. 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  17407. * cfgloopanal.c (test_for_iteration): Use string concatentation on
  17408. HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
  17409. function calls into one.
  17410. * dbxout.c (dbxout_symbol): Likewise.
  17411. * defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise.
  17412. * dwarf2asm.c (dw2_asm_output_data_uleb128,
  17413. dw2_asm_output_data_sleb128): Likewise.
  17414. * genrecog.c (debug_decision_2): Likewise.
  17415. * loop.c (emit_prefetch_instructions): Likewise.
  17416. * print-rtl.c (print_rtx): Likewise.
  17417. * print-tree.c (print_node_brief, print_node): Likewise.
  17418. * ra-debug.c (dump_igraph, dump_graph_cost,
  17419. dump_static_insn_cost): Likewise.
  17420. * ra-rewrite.c (dump_cost): Likewise.
  17421. * sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
  17422. * sreal.c (dump_sreal): Likewise.
  17423. * unroll.c (unroll_loop, precondition_loop_p): Likewise.
  17424. * varasm.c (assemble_vtable_entry): Likewise.
  17425. * avr.c (avr_output_function_prologue,
  17426. avr_output_function_epilogue, print_operand): Fix format specifier
  17427. warnings.
  17428. (init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED.
  17429. * avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings.
  17430. 2003-05-16 Geoffrey Keating <geoffk@apple.com>
  17431. * config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
  17432. and ! TARGET_STRING cases.
  17433. * doc/cppopts.texi (-undef): Fix texinfo warning.
  17434. * doc/cppopts.texi (-H): Document that -H works for PCH files too.
  17435. * cppfiles.c (validate_pch): When -H is used, print some information
  17436. about PCH files found.
  17437. 2003-05-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  17438. * config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
  17439. * config/mips/t-isa3264, config/mips/t-r3900: Likewise.
  17440. * config/mips/t-sr71k: Likewise.
  17441. 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  17442. * arc.c (arc_output_function_prologue,
  17443. arc_output_function_epilogue): Fix format specifier warnings.
  17444. * arc.h (LARGE_INT): Fix signed/unsigned warnings.
  17445. * v850.c (print_operand): Fix format specifier warnings.
  17446. * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
  17447. specifier warnings.
  17448. * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
  17449. format specifier warnings.
  17450. * ip2k.c (function_prologue, function_epilogue, print_operand):
  17451. Fix format specifier warnings.
  17452. * ip2k.md: Likewise.
  17453. * i960.c (i960_output_function_prologue, i960_print_operand,
  17454. i960_print_operand_addr): Fix format specifier warnings.
  17455. * i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
  17456. (i370_output_function_prologue): Fix format specifier warnings.
  17457. * i370.h (PRINT_OPERAND): Likewise.
  17458. * fr30.c (fr30_print_operand): Fix format specifier warnings.
  17459. * dsp16xx.c (print_operand_address): Fix format specifier warning.
  17460. * dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
  17461. * c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format
  17462. specifier warnings.
  17463. * alpha.c (print_operand_address, alpha_start_function,
  17464. unicosmk_output_ssib): Use string concatentation on
  17465. HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
  17466. function calls into one.
  17467. * arm.c (arm_print_operand): Likewise.
  17468. * cris.c (cris_asm_output_mi_thunk): Likewise.
  17469. * frv.c (frv_asm_output_mi_thunk): Likewise.
  17470. * ia64.c (ia64_print_operand, process_set): Likewise.
  17471. * m68k.c (m68k_output_function_epilogue, m68k_output_mi_thunk):
  17472. Likewise.
  17473. * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
  17474. * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
  17475. * pa.c (output_div_insn, pa_asm_output_mi_thunk): Likewise.
  17476. * pa.h (PRINT_OPERAND_ADDRESS): Likewise.
  17477. * rs6000.c (rs6000_va_start, print_operand_address): Likewise.
  17478. * s390.c (s390_assemble_integer): Likewise.
  17479. * sparc.c (sparc_flat_function_prologue,
  17480. sparc_flat_function_epilogue): Likewise.
  17481. * stormy16.c (xstormy16_print_operand_address, xstormy16_print_operand): Likewise.
  17482. * vax.c (vax_output_mi_thunk): Likewise.
  17483. * frv.c (frv_print_operand_memory_reference): Fix format specifier
  17484. warning.
  17485. (frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED.
  17486. * m68k.c (m68k_output_function_epilogue): Fix format specifier
  17487. warnings.
  17488. * stormy16-protos.h (xs_hi_general_operand,
  17489. xs_hi_nonmemory_operand): Prototype.
  17490. * stormy16.c (xstormy16_output_shift): Fix format specifier
  17491. warnings.
  17492. * cris.c: Fix format specifier warnings.
  17493. 2003-05-16 Nick Clifton <nickc@redhat.com>
  17494. * config/arm/lib1funcs.asm: Fix typo: LSM instead of LSYM.
  17495. 2003-05-16 Wolfgang Bangerth <bangerth@dealii.org>
  17496. * doc/bugreport.texi: Remove most of the of the preface of the
  17497. bugs section.
  17498. 2003-05-16 Jakub Jelinek <jakub@redhat.com>
  17499. * config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
  17500. .save XX, r0.
  17501. 2003-05-15 Roger Sayle <roger@eyesopen.com>
  17502. * config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo.
  17503. 2003-05-15 Eric Christopher <echristo@redhat.com>
  17504. * cfgcleanup.c (merge_blocks): Fix return value.
  17505. 2003-05-15 Eric Christopher <echristo@redhat.com>
  17506. * combine.c (expand_compound_operation): Make sure
  17507. that zero_extend operation is profitable.
  17508. 2003-05-15 Richard Henderson <rth@redhat.com>
  17509. * config/alpha/linux.h, config/alpha/linux-elf.h: Remove
  17510. code protected by USE_GNULIBC_1.
  17511. 2003-05-15 Zack Weinberg <zack@codesourcery.com>
  17512. * config.gcc: Purge all targets obsoleted in GCC 3.3. Also
  17513. remove hppa*-*-mpeix* which could not be built, and prune
  17514. files from tmake_file= or tm_file= lists that don't exist.
  17515. * config/alpha/alpha-interix.h, config/alpha/alpha32.h
  17516. * config/alpha/t-interix, config/arm/conix-elf.h
  17517. * config/arm/t-arm-aout, config/arm/t-strongarm-coff
  17518. * config/arm/unknown-elf-oabi.h, config/i386/win32.h
  17519. * config/m68k/3b1.h, config/m68k/3b1g.h, config/m68k/amix.h
  17520. * config/m68k/atari.h, config/m68k/ccur-GAS.h, config/m68k/crds.h
  17521. * config/m68k/hp2bsd.h, config/m68k/hp3bsd.h
  17522. * config/m68k/hp3bsd44.h, config/m68k/linux-aout.h
  17523. * config/m68k/m68k-psos.h, config/m68k/mot3300.h
  17524. * config/m68k/pbb.h, config/m68k/plexus.h, config/m68k/sun2.h
  17525. * config/m68k/sun2o4.h, config/m68k/sun3.h, config/m68k/sun3mach.h
  17526. * config/m68k/sun3n.h, config/m68k/sun3n3.h, config/m68k/sun3o3.h
  17527. * config/m68k/t-mot3300, config/m68k/t-mot3300-gald
  17528. * config/m68k/t-mot3300-gas, config/m68k/t-mot3300-gld
  17529. * config/m68k/tower-as.h, config/m68k/tower.h
  17530. * config/m88k/aout-dbx.h, config/m88k/m88k-aout.h
  17531. * config/m88k/m88k-modes.def, config/m88k/m88k-move.sh
  17532. * config/m88k/m88k-protos.h, config/m88k/m88k.c
  17533. * config/m88k/m88k.h, config/m88k/m88k.md, config/m88k/openbsd.h
  17534. * config/m88k/sysv4.h, config/m88k/t-luna, config/m88k/t-luna-gas
  17535. * config/m88k/t-m88k, config/m88k/t-sysv4, config/mcore/gfloat.h
  17536. * config/mips/rtems64.h, config/mips/sni-gas.h
  17537. * config/mips/sni-svr4.h, config/mips/t-ecoff
  17538. * config/mn10200/lib1funcs.asm, config/mn10200/mn10200-protos.h
  17539. * config/mn10200/mn10200.c, config/mn10200/mn10200.h
  17540. * config/mn10200/mn10200.md, config/mn10200/t-mn10200
  17541. * config/pa/pa-hiux.h, config/pa/pa-hpux7.h, config/pa/pa-hpux9.h
  17542. * config/pa/pa-oldas.h, config/pa/t-mpeix, config/psos.h
  17543. * config/romp/romp-protos.h, config/romp/romp.c
  17544. * config/romp/romp.h, config/romp/romp.md, config/rs6000/aix31.h
  17545. * config/rs6000/aix3newas.h, config/rs6000/mach.h
  17546. * config/sparc/bsd.h, config/sparc/hal.h
  17547. * config/sparc/linux-aout.h, config/sparc/lynx-ng.h
  17548. * config/sparc/lynx.h, config/sparc/netbsd.h
  17549. * config/sparc/sp86x-aout.h, config/sparc/splet.h
  17550. * config/sparc/sun4gas.h, config/sparc/sun4o3.h
  17551. * config/sparc/sunos4.h, config/sparc/t-chorus-elf
  17552. * config/sparc/t-halos, config/sparc/t-sparcbare
  17553. * config/sparc/t-splet, config/sparc/t-sunos41
  17554. * config/v850/rtems.h: Delete file.
  17555. 2003-05-15 Aldy Hernandez <aldyh@redhat.com>
  17556. * config/rs6000/rs6000-protos.h (function_value): Protoize.
  17557. * config/rs6000/rs6000.h (FUNCTION_VALUE): Call function.
  17558. * config/rs6000/rs6000.c (rs6000_function_value): New.
  17559. 2003-05-15 Philip Blundell <philb@gnu.org>
  17560. * config/arm/arm.c (arm_is_xscale): Rename to arm_arch_xscale.
  17561. All uses updated.
  17562. (arm_tune_xscale): New variable.
  17563. (arm_override_options): Set it.
  17564. (arm_adjust_cost): Use it in place of arm_arch_xscale.
  17565. (arm_gen_load_multiple): Likewise.
  17566. (arm_gen_store_multiple): Likewise.
  17567. * config/arm/arm.md (is_xscale): Likewise.
  17568. * config/arm/arm.h (arm_tune_xscale): Declare.
  17569. 2003-05-15 Philip Blundell <philb@gnu.org>
  17570. PR target/10730
  17571. * config/arm/arm.c (adjacent_mem_locations): Reject offsets
  17572. involving invalid constants.
  17573. 2003-05-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  17574. * pa.c (hppa_expand_prologue): Remove blockage.
  17575. 2003-05-15 Wolfgang Bangerth <bangerth@dealii.org>
  17576. * doc/bugreport.texi: Remove most of the bug reporting
  17577. instructions and merge them into bugs.html.
  17578. 2003-05-14 Matt Kraai <kraai@alumni.cmu.edu>
  17579. * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
  17580. g_switch_value to unsigned HOST_WIDE_INT.
  17581. 2003-05-14 Eric Christopher <echristo@redhat.com>
  17582. * combine.c: Fix header comments.
  17583. (distribute_notes): Remove usage of elim_i1, elim_i2. Propagate
  17584. to all calls and prototype.
  17585. 2003-05-14 Roger Sayle <roger@eyesopen.com>
  17586. PR optimization/10764
  17587. * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
  17588. Add an explicit clobber to show that UNSPEC_FPATAN clobbers st(1).
  17589. (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): Likewise,
  17590. add an explicit clobber to show that UNSPEC_FYL2X clobbers st(1).
  17591. (logsf2, logdf2, logxf2, logtf2): Update expander patterns to match
  17592. the corresponding *fyl2x_?fxf3 instructions.
  17593. 2003-05-14 Bob Wilson <bob.wilson@acm.org>
  17594. * config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Change from 49 to 59.
  17595. * config/xtensa/xtensa-config.h (XCHAL_HAVE_CONST16,
  17596. XCHAL_HAVE_L32R): New.
  17597. * config/xtensa/xtensa-protos.h (non_const_move_operand,
  17598. xtensa_load_constant, xtensa_function_prologue,
  17599. xtensa_function_epilogue): Delete prototypes.
  17600. (xtensa_expand_prologue): New.
  17601. * config/xtensa/xtensa.c (frame_size_const,
  17602. TARGET_ASM_FUNCTION_PROLOGUE, TARGET_MACHINE_DEPENDENT_REORG,
  17603. non_const_move_operand, xtensa_load_constant, xtensa_reorg,
  17604. xtensa_function_prologue): Delete.
  17605. (add_operand, xtensa_mem_offset): Formatting.
  17606. (move_operand): If the const16 option is available, allow any SFmode
  17607. and SImode constants.
  17608. (xtensa_emit_move_sequence): Inline the former contents of
  17609. xtensa_load_constant with modifications to handle the const16 option.
  17610. (override_options): Add xtensa_char_to_class['W'] and set it to
  17611. the general register class only if the const16 option is enabled.
  17612. Fix formatting. Disallow PIC when using the const16 option.
  17613. (print_operand): Reorganize to switch on "letter" instead of the
  17614. RTL code. Add output_operand_lossage calls for invalid cases.
  17615. Add support for 't' and 'b' letters.
  17616. (xtensa_expand_prologue): New function to replace
  17617. xtensa_function_prologue and xtensa_reorg.
  17618. (xtensa_function_epilogue): Declare this as static. Delete code
  17619. to print the retw.n or retw instruction.
  17620. (xtensa_return_addr): Use A0_REG instead of 0.
  17621. (xtensa_rtx_costs): Add costs for using the const16 option.
  17622. * config/xtensa/xtensa.h (MASK_CONST16, TARGET_CONST16): New.
  17623. (TARGET_DEFAULT): Add CONST16 if L32R instructions not available.
  17624. (TARGET_SWITCHES): Add "const16" and "no-const16".
  17625. (REG_CLASS_FROM_LETTER): Add comment about new 'W' letter.
  17626. (EXTRA_CONSTRAINT): Change 'T' constraint to only apply when not
  17627. using the const16 option.
  17628. (TRAMPOLINE_TEMPLATE): Rewrite to avoid hardwired use of l32r insn.
  17629. (TRAMPOLINE_SIZE): Change from 49 to 59.
  17630. (INITIALIZE_TRAMPOLINE): Adjust offsets to match new trampoline.
  17631. (GO_IF_LEGITIMATE_ADDRESS): Do not allow constant pool addresses
  17632. when using the const16 option.
  17633. (PREDICATE_CODES): Delete non_const_move_operand.
  17634. * config/xtensa/xtensa.md (define_constants): Add A1_REG, A8_REG, and
  17635. UNSPECV_ENTRY.
  17636. (movdi, movdf): If the source is a constant, always expand to a
  17637. sequence of movsi insns.
  17638. (movdi_internal, movdf_internal): Remove alternative using l32r insns.
  17639. (movsi_internal, movsf_internal): Add alternative using const16 insns.
  17640. (movsf): Add const16 support.
  17641. (entry, prologue, epilogue): New.
  17642. (set_frame_ptr): Add missing mode for unspec_volatile operation.
  17643. Likewise for subsequent split pattern.
  17644. * doc/invoke.texi (Option Summary, Xtensa Options): Document new
  17645. "-mconst16" and "-mno-const16" options.
  17646. 2003-05-14 Richard Henderson <rth@redhat.com>
  17647. * config/ia64/ia64.c (ia64_expand_load_address): Force destination
  17648. to be DImode register. Merge load_symptr.
  17649. * config/ia64/ia64.md (load_symptr): Remove.
  17650. 2003-05-14 Richard Henderson <rth@redhat.com>
  17651. * rtl.h (TREE_CONSTANT_POOL_ADDRESS_P): Rename from
  17652. DEFERRED_CONSTANT_P.
  17653. * integrate.c (copy_rtx_and_substitute): Update use.
  17654. * varasm.c (build_constant_desc): Set SYMBOL_REF_DECL
  17655. to the copy generated.
  17656. (maybe_output_constant_def_contents): Examine TREE_ASM_WRITTEN
  17657. of the constant to see if we should emit.
  17658. (mark_constant): Similarly.
  17659. (output_constant_def_contents): Set TREE_ASM_WRITTEN.
  17660. 2003-05-14 David Edelsohn <edelsohn@gnu.org>
  17661. * config/rs6000/rs6000.md (movsi_internal2): Use compare for self
  17662. move record condition.
  17663. (movdi_internal2): Same.
  17664. 2003-05-14 Nathan Sidwell <nathan@codesourcery.com>
  17665. * gcov-io.h (gcov_write_bytes, gcov_read_bytes): Remove here.
  17666. (GCOV_TAG_*) Force type to gcov_unsigned_t.
  17667. (GCOV_CHECK, GCOV_CHECK_READING, GCOV_CHECK_WRITING): New.
  17668. (struct gcov_var): Remove modified. Add start, length, offset,
  17669. overread. Have buffer array for libgcov.
  17670. (gcov_sync, gcov_seek): Definitions moved to gcov-io.c.
  17671. (gcov_position, gcov_rewrite, gcov_is_eof): Adjust.
  17672. * gcov-io.c (gcov_open): Set mode, do not read anything.
  17673. (gcov_close): Write final block.
  17674. (gcov_write_block, gcov_allocate): New.
  17675. (gcov_write_bytes): Make static. Write or allocate buffer.
  17676. (gcov_write_unsigned, gcov_write_counter): Buffer can never be
  17677. null.
  17678. (gcov_write_string): Adjust.
  17679. (gcov_write_tag)
  17680. (gcov_write_length): Adjust. Flush the block.
  17681. (gcov_write_tag_length): Buffer can never be null.
  17682. (gcov_read_bytes): Make static. Read in block.
  17683. (gcov_sync): Moved here. Adjust.
  17684. (gcov_seek): Moved here. Adjust.
  17685. * coverage.c (read_counts_file): Adjust.
  17686. * gcov-dump.c (print_prefix): Add position parameter.
  17687. (flag_dump_positions): New flag.
  17688. (options, main, print_usage): Add it.
  17689. (dump_file, tag_blocks, tag_arcs, tag_lines, tag_counters,
  17690. tag_summary): Adjust.
  17691. * gcov.c (read_graph_file, read_count_file): Adjust.
  17692. * libgcov.c (gcov_exit): Adjust.
  17693. * Makefile.in (LIBGCC_DEPS): Use $(srcdir) on gcov files
  17694. (libgcov.a): Depend on libgcc.a.
  17695. (gcov.o, gcov-dump.o): Add gcov-io.c.
  17696. * mklibgcc.in (libgcov_c_dep): Use $(srcdir).
  17697. * loop.c (check_dbra_loop): Factor common test.
  17698. 2003-05-14 Ben Elliston <bje@wasabisystems.com>
  17699. * doc/md.texi (Automaton pipeline description): Grammar fixes.
  17700. 2003-05-14 Richard Sandiford <rsandifo@redhat.com>
  17701. * target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17702. (TARGET_INITIALIZER): Include it.
  17703. * target.h (struct gcc_target): Add machine_dependent_reorg field.
  17704. * toplev.c (rest_of_compilation): Use targetm.machine_dependent_reorg.
  17705. * system.h: Poison MACHINE_DEPENDENT_REORG.
  17706. * config/alpha/alpha-protos.h (alpha_reorg): Remove declaration.
  17707. * config/alpha/alpha.h (MACHINE_DEPENDENT_REORG): Remove.
  17708. * config/alpha/alpha.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17709. (alpha_handle_trap_shadows): Remove "first insn" parameter.
  17710. (alpha_align_insns): Likewise.
  17711. (alpha_reorg): Likewise. Make static. Update calls to above
  17712. functions.
  17713. * config/arm/arm-protos.h (arm_reorg): Remove declaration.
  17714. * config/arm/arm.h (MACHINE_DEPENDENT_REORG): Remove.
  17715. * config/arm/arm.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17716. (arm_reorg): Remove parameter. Make static.
  17717. * config/avr/avr-protos.h (machine_dependent_reorg): Remove.
  17718. * config/avr/avr.h (MACHINE_DEPENDENT_REORG): Remove.
  17719. * config/avr/avr.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17720. (avr_reorg): Renamed from machine_dependent_reorg. Make static.
  17721. Remove parameter.
  17722. * config/c4x/c4x-protos.h (c4x_process_after_reload): Remove.
  17723. * config/c4x/c4x.h (MACHINE_DEPENDENT_REORG): Remove.
  17724. * config/c4x/c4x.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17725. (c4x_reorg): Renamed from c4x_process_after_reload. Make static.
  17726. Remove parameter.
  17727. * config/d30v/d30v-protos.h (d30v_machine_dependent_reorg): Remove.
  17728. * config/d30v/d30v.h (MACHINE_DEPENDENT_REORG): Remove.
  17729. * config/d30v/d30v.c (d30v_machine_dependent_reorg): Remove.
  17730. * config/frv/frv-protos.h (frv_machine_dependent_reorg): Remove.
  17731. * config/frv/frv.c: Remove orphaned comment.
  17732. * config/i386/i386-protos.h (x86_machine_dependent_reorg): Remove.
  17733. * config/i386/i386.h (MACHINE_DEPENDENT_REORG): Remove.
  17734. * config/i386/i386.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17735. (ix86_reorg): Renamed from x86_machine_dependent_reorg. Make static.
  17736. Remove parameter.
  17737. * config/ia64/ia64-protos.h (ia64_reorg): Remove declaration.
  17738. * config/ia64/ia64.h (MACHINE_DEPENDENT_REORG): Remove.
  17739. * config/ia64/ia64.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17740. (emit_insn_group_barriers): Remove "first insn" parameter.
  17741. (emit_all_insn_group_barriers): Likewise.
  17742. (ia64_reorg): Likewise. Make static. Update calls to above functions.
  17743. (ia64_output_mi_thunk): Update call to emit_all_insn_group_barriers.
  17744. * config/ip2k/ip2k-protos.h (machine_dependent_reorg): Remove.
  17745. * config/ip2k/ip2k.h (MACHINE_DEPENDENT_REORG): Remove.
  17746. * config/ip2k/ip2k.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17747. (ip2k_reorg): Renamed from machine_dependent_reorg. Make static.
  17748. Remove parameter.
  17749. * config/m68hc11/m68hc11-protos.h (m68hc11_reorg): Remove declaration.
  17750. * config/m68hc11/m68hc11.h (MACHINE_DEPENDENT_REORG): Remove.
  17751. * config/m68hc11/m68hc11.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17752. (m68hc11_reorg): Make static. Remove parameter.
  17753. * config/mcore/mcore-protos.h (mcore_dependent_reorg): Remove.
  17754. * config/mcore/mcore.h (MACHINE_DEPENDENT_REORG): Remove.
  17755. * config/mcore/mcore.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17756. (conditionalize_optimization): Remove parameter.
  17757. (mcore_reorg): Renamed from mcore_dependent_reorg. Remove parameter.
  17758. Make static. Update call to conditionalize_optimization.
  17759. * config/mips/mips-protos.h (machine_dependent_reorg): Remove.
  17760. * config/mips/mips.h (MACHINE_DEPENDENT_REORG): Remove.
  17761. * config/mips/mips.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17762. (mips_reorg): Renamed from machine_dependent_reorg. Remove parameter.
  17763. Make static.
  17764. * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): Remove.
  17765. * config/mmix/mmix.h (MACHINE_DEPENDENT_REORG): Remove.
  17766. * config/mmix/mmix.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17767. (mmix_reorg): Renamed from mmix_machine_dependent_reorg. Make static.
  17768. Remove parameter.
  17769. * config/pa/pa-protos.h (pa_reorg): Remove declaration.
  17770. * config/pa/pa.h (MACHINE_DEPENDENT_REORG): Remove.
  17771. * config/pa/pa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17772. (pa_combine_instructions): Remove "first insn" parameter.
  17773. (remove_useless_addtr_insns): Likewise.
  17774. (pa_reorg): Likewise. Make static. Update calls to above functions.
  17775. * config/rs6000/rs6000.h (MACHINE_DEPENDENT_REORG): Remove
  17776. commented-out definition.
  17777. * config/s390/s390-protos.h (s390_machine_dependent_reorg): Remove.
  17778. * config/s390/s390.h (MACHINE_DEPENDENT_REORG): Remove.
  17779. * config/s390/s390.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17780. (s390_reorg): Renamed from s390_machine_dependent_reorg. Make static.
  17781. Remove parameter.
  17782. * config/sh/sh-protos.h (machine_dependent_reorg): Remove.
  17783. * config/sh/sh.h (MACHINE_DEPENDENT_REORG): Remove.
  17784. * config/sh/sh.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17785. (sh_reorg): Renamed from machine_dependent_reorg. Make static.
  17786. Remove parameter.
  17787. (sh_output_mi_thunk): Call sh_reorg directly.
  17788. * config/sh/sh.md: Update comment.
  17789. * config/stormy16/stormy16.h (MACHINE_DEPENDENT_REORG): Remove
  17790. commented-out definition.
  17791. * config/v850/v850-protos.h (v850_reorg): Remove declaration.
  17792. * config/v850/v850.h (MACHINE_DEPENDENT_REORG): Remove.
  17793. * config/v850/v850.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17794. (v850_reorg): Make static. Remove parameter.
  17795. * config/xtensa/xtensa-protos.h (xtensa_reorg): Remove declaration.
  17796. * config/xtensa/xtensa.h (MACHINE_DEPENDENT_REORG): Remove.
  17797. * config/xtensa/xtensa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
  17798. (xtensa_reorg): Make static. Remove parameter.
  17799. * doc/tm.texi (MACHINE_DEPENDENT_REORG): Remove.
  17800. (TARGET_MACHINE_DEPENDENT_REORG): Document.
  17801. 2003-05-13 Richard Henderson <rth@redhat.com>
  17802. * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
  17803. the old decl had instantiated DECL_RTL.
  17804. 2003-05-13 Mike Stump <mrs@apple.com>
  17805. * doc/invoke.texi (Option Summary): Kill off documentation for -$.
  17806. 2003-05-13 Janis Johnson <janis187@us.ibm.com>
  17807. * config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
  17808. HOST_WIDE_INT argument.
  17809. 2003-05-13 Jason Merrill <jason@redhat.com>
  17810. * tree.h (STRIP_MAIN_TYPE_NOPS): New macro.
  17811. * tree.c (iterative_hash_expr): New fn.
  17812. * c-semantics.c (emit_local_var): Don't mess with temp slots if
  17813. there's no initializer.
  17814. 2003-05-13 Richard Sandiford <rsandifo@redhat.com>
  17815. * final.c (final_scan_insn): Apply the effects of frame-related
  17816. delay slot insns before emitting a delayed branch.
  17817. 2003-05-13 Nick Clifton <nickc@redhat.com>
  17818. * config/mcore/mcore.md (jump): Use emit_jump_insn.
  17819. 2003-05-13 Ulrich Weigand <uweigand@de.ibm.com>
  17820. * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second
  17821. parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT.
  17822. 2003-05-12 DJ Delorie <dj@redhat.com>
  17823. * expr.c (move_by_pieces): Honor the alignment of TO and FROM.
  17824. (emit_push_insn): Don't use push when the source alignment is less
  17825. than the stack's push rounding.
  17826. 2003-05-13 Zack Weinberg <zack@codesourcery.com>
  17827. * diagnostic.c (output_format): Add support for %m.
  17828. (output_printf, output_verbatim, diagnostic_set_info,
  17829. verbatim): Set err_no field of the text_info structure being
  17830. initialized.
  17831. (fatal_io_error): Delete function.
  17832. * diagnostic.h (text_info): Add err_no field.
  17833. * toplev.h (fatal_io_error): Delete prototype.
  17834. * c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
  17835. * toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
  17836. * objc/objc-act.c: Replace all calls to fatal_io_error with
  17837. calls to fatal_error; add ": %m" to the end of all the affected
  17838. error messages.
  17839. 2003-05-13 Zack Weinberg <zack@codesourcery.com>
  17840. * varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
  17841. * rtl.h: Prototype it.
  17842. * integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it
  17843. when appropriate.
  17844. 2003-05-13 Ulrich Weigand <uweigand@de.ibm.com>
  17845. * config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
  17846. ("*iorsi3_oi"): Likewise.
  17847. 2003-05-13 Richard Earnshaw <rearnsha@arm.com>
  17848. * arm.md (compare_scc): Use shorter sequence for EQ case.
  17849. (ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns.
  17850. (and_scc_scc): Ensure split only applies when there is a dominance
  17851. of the comparisons.
  17852. (and_scc_scc_nodom): New insn-and-split pattern.
  17853. 2003-05-13 Richard Sandiford <rsandifo@redhat.com>
  17854. * unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
  17855. to _Unwind_SetGRPtr().
  17856. 2003-05-13 Michael Eager <eager@mvista.com>
  17857. * Makefile.in: Initialize program_transform_cross_name from
  17858. @program_transform_name@ instead of target_alias.
  17859. 2003-05-12 Janis Johnson <janis187@us.ibm.com>
  17860. Alan Modra <amodra@bigpond.net.au>
  17861. Jakub Jelinek <jakub@redhat.com>
  17862. * configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
  17863. * configure: Rebuild.
  17864. * config/rs6000/rs6000-protos.h: Update.
  17865. * config/rs6000/rs6000.c (rs6000_tls_size): New.
  17866. (rs6000_tls_size_string): New.
  17867. (rs6000_parse_tls_size_option): New.
  17868. (rs6000_legitimize_tls_address): New.
  17869. (rs6000_tls_get_addr): New.
  17870. (rs6000_got_sym): New.
  17871. (rs6000_tls_symbol_ref): New.
  17872. (rs6000_tls_symbol_ref_1): New.
  17873. (rs6000_get_some_local_dynamic_name): New.
  17874. (rs6000_get_some_local_dynamic_name_1): New.
  17875. (TARGET_HAVE_TLS): New.
  17876. (TARGET_CANNOT_FORCE_CONST_MEM): New.
  17877. (rs6000_override_options): Handle -mtls-size option.
  17878. (constant_pool_expr_1): Handle TLS symbols.
  17879. (rs6000_legitimize_address): Handle TLS symbols.
  17880. (rs6000_tls_referenced_p): New.
  17881. (rs6000_legitimate_address): Handle TLS symbols.
  17882. (rs6000_emit_move): Handle TLS symbols.
  17883. (print_operand): Handle TLS symbols.
  17884. (uses_TOC): Handle TLS symbols.
  17885. (rs6000_emit_prologue): Use symbol for unspec constant.
  17886. * config/rs6000/rs6000.h (HAVE_AS_TLS): New.
  17887. (some_ld_name): New.
  17888. (LEGITIMATE_CONSTANT_P): Handle TLS symbols.
  17889. (PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
  17890. (PREDICATE_CODES): Add rs6000_tls_symbol_ref.
  17891. * config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
  17892. Support TLS.
  17893. (tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
  17894. tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
  17895. tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
  17896. tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
  17897. tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
  17898. tls_tls_64): New.
  17899. * config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.
  17900. 2003-05-12 Neil Booth <neil@cat.daikokuya.co.uk>
  17901. * Makefile.in (stage2_build, stage3_build, stage4_build):
  17902. Set BUILD_CC to the same as CC.
  17903. 2003-05-12 Neil Booth <neil@daikokuya.co.uk>
  17904. * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
  17905. 2003-05-12 Andreas Schwab <schwab@suse.de>
  17906. * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
  17907. as unused.
  17908. (bundling): Initialize 'pos'.
  17909. (ia64_expand_builtin): Initialize 'rmode'.
  17910. 2003-05-12 David Edelsohn <edelsohn@gnu.org>
  17911. * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
  17912. (ASM_OUTPUT_ALIGNED_COMMON): Same.
  17913. (ASM_OUTPUT_LOCAL): Same.
  17914. Mon May 12 21:53:29 CEST 2003 Jan Hubicka <jh@suse.cz>
  17915. * varasm.c (output_constant): Fix underflow.
  17916. 2003-05-12 Mark Mitchell <mark@codesourcery.com>
  17917. PR other/10745
  17918. * configure.in: Correct detection of GNU ld version number.
  17919. * configure: Regenerated.
  17920. 2003-05-12 Zack Weinberg <zack@codesourcery.com>
  17921. * diagnostic.c (diagnostic_for_decl): Take a
  17922. diagnostic_context argument. Restructure to be consistent
  17923. with diagnostic_report_diagnostic.
  17924. (diagnostic_count_diagnostic): Now static. Take a
  17925. diagnostic_info argument, not just a diagnostic_t. Some code
  17926. moved here from internal_error. Move a case label for
  17927. clarity.
  17928. (diagnostic_action_after_output): New function. Code moved
  17929. here from internal_error and fatal_error.
  17930. (bug_report_request): New #define so that this text appears in
  17931. only one place.
  17932. (diagnostic_report_diagnostic): Update to match changes to
  17933. diagnostic_count_diagnostic. Call diagnostic_action_after_output.
  17934. (diagnostic_set_info): Call gettext here.
  17935. (pedwarn): Update comment. Don't call gettext here.
  17936. (sorry): Use report_diagnostic. Don't call gettext here.
  17937. (fatal_error): Remove final fnotice and exit, but call
  17938. real_abort to prevent warnings about noreturn function returning.
  17939. (internal_error): Likewise. Don't do ICE suppression here nor
  17940. call context->internal_error.
  17941. (warning_with_decl): Suppress for decls in system headers.
  17942. Adjust call to diagnostic_for_decl.
  17943. (pedwarn_with_decl): Likewise.
  17944. (error_with_decl): Adjust call to diagnostic_for_decl.
  17945. (error_recursion): Use bug_report_request.
  17946. * diagnostic.h: Remove prototype of diagnostic_count_diagnostic.
  17947. * objc/objc-act.c (error_with_ivar, warn_with_method): Don't call
  17948. diagnostic_count_diagnostic.
  17949. 2003-05-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  17950. * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch.
  17951. Mon May 12 15:57:54 CEST 2003 Jan Hubicka <jh@suse.cz>
  17952. * rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
  17953. * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
  17954. * mips/mips.h (ASM_OUTPUT_SKIP): Fix typo in the previous patch.
  17955. 2003-05-12 Roger Sayle <roger@eyesopen.com>
  17956. * doc/rtl.texi: Document zero_extract as a valid destination
  17957. of a set insn.
  17958. 2003-05-12 Richard Earnshaw <rearnsha@arm.com>
  17959. * arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with
  17960. '.'. Change all local symbol definitions and references to use LSYM.
  17961. Mon May 12 11:32:53 CEST 2003 Jan Hubicka <jh@suse.cz>
  17962. * expr.h (assemble_static_space): Update prototype.
  17963. * output.h (assemble_zeros, output_constant): Likewise.
  17964. * elfos.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): Make it 64bit clean
  17965. * alpha.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASK_OUTPUT_LOCAL): Make
  17966. it 64bit clean.
  17967. * elf.h (ASM_OTUPUT_SKIP): Likewise.
  17968. * unicosmk.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMM): Likewise.
  17969. * arm.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
  17970. Expect HOST_WIDE_INT operand.
  17971. * aout.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
  17972. Expect HOST_WIDE_INT operand.
  17973. * unknown-elf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
  17974. Expect HOST_WIDE_INT operand.
  17975. * avr.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): Expect
  17976. HOST_WIDE_INT operand.
  17977. * c4x.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP,
  17978. ASM_OUTPUT_BSS): Expect HOST_WIDE_INT operand.
  17979. * aout.h (ASM_OTUPUT_SKIP): Likewise.
  17980. * cris.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
  17981. * darwin.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON): Likewise.
  17982. * dsp16xx.h (ASM_OTUPUT_SKIP): Likewise.
  17983. * frv.h (ASM_OTUPUT_SKIP): Likewise.
  17984. * h8300.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_LOCAL): Likewise.
  17985. * 370.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
  17986. Make it 64bit
  17987. clean.
  17988. * att.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand.
  17989. * bsd.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
  17990. Make it 64bit clean.
  17991. * darwin.h (ASM_OUTPUT_SKIP): Make it 64bit clean..
  17992. * sco5.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Expect
  17993. HOST_WIDE_INT operand
  17994. * svr3gas.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
  17995. Expect HOST_WIDE_INT operand
  17996. * sysv3.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand
  17997. * i960.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON,
  17998. ASM_OUTPUT_ALIGNED_LOCAL): Expect HOST_WIDE_INT operand
  17999. * ip2k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
  18000. Likewise.
  18001. * m32r.h (ASM_OUTPUT_COMMON): Likewise.
  18002. * 3b1.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
  18003. Likewise.
  18004. * amix.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
  18005. * crds.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
  18006. * hp320.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
  18007. ASM_OUTPUT_SKIP): Likewise.
  18008. * m68k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
  18009. Likewise.
  18010. * m68kelf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
  18011. ASM_OUTPUT_SKIP): Likewise.
  18012. * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
  18013. ASM_OUTPUT_SKIP): Likewise.
  18014. * mot3300.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
  18015. * netbsd-elf.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
  18016. ASM_OUTPUT_SKIP): Likewise.
  18017. * sgs.h (ASM_OUTPUT_SKIP): Likewise.
  18018. * tower-as.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
  18019. ASM_OUTPUT_SKIP): Likewise.
  18020. * m88k.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP):
  18021. Likewise.
  18022. * mcore.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_BSS, ASM_OUTPUT_SKIP): Likewise.
  18023. * iris.h (ASM_OUTPUT_LOCAL): Likewise.
  18024. * mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
  18025. * ns32k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
  18026. ASM_OUTPUT_SKIP): Make it 64bit clean.
  18027. * pa-pro-end.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL):
  18028. Make it 64bit clean.
  18029. * pa.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL,
  18030. ASM_OUTPUT_SKIP): Make it 64bit clean.
  18031. * hpux.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): Make it
  18032. 64bit clean.
  18033. * romp.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
  18034. HOST_WIDE_INT argument
  18035. * s390.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT argument.
  18036. * sh.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
  18037. HOST_WIDE_INT argument
  18038. * sol2.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
  18039. * sparc.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): HOST_WIDE_INT argument
  18040. * svr3.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
  18041. * vax.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
  18042. HOST_WIDE_INT argument
  18043. * vaxv.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
  18044. * xtensa.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
  18045. * varasm.c (asm_output_bss, asm_output_aligned_bss,
  18046. asm_emit_uninitialized, assemble_zeros, assemble_static_space):
  18047. HOST_WIDE_INT argument
  18048. 2003-05-10 Steven Bosscher <steven@gcc.gnu.org>
  18049. * cgraphunit.c (cgraph_create_edges): Drop walk_tree in
  18050. favor of walk_tree_without_duplicates. Add comments.
  18051. 2003-05-12 Josef Zlomek <zlomekj@suse.cz>
  18052. * alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
  18053. (struct alloc_pool_def): New element 'id'.
  18054. * alloc-pool.c (fancy_abort): Extern function prototype.
  18055. (abort): Macro which uses fancy_abort.
  18056. (struct allocation_object_def): New structure.
  18057. (ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
  18058. (USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
  18059. (last_id): New variable.
  18060. (create_alloc_pool): Add the offset of u.data to size of element,
  18061. increase and use last_id.
  18062. (free_alloc_pool): Do the checking only when ENABLE_CHECKING.
  18063. (pool_alloc): Likewise. Set ID for elements.
  18064. (pool_free): Check whether the PTR was allocated from POOL.
  18065. 2003-05-11 Richard Henderson <rth@redhat.com>
  18066. PR c/10675
  18067. * c-decl.c: Include hashtab.h.
  18068. (detect_field_duplicates): New.
  18069. (finish_struct): Use it.
  18070. * Makefile.in (c-decl.o): Update.
  18071. * c-parse.in (structsp_attr): Nreverse component_decl_list results.
  18072. (component_decl_list, component_decl_list2,
  18073. components, components_notype): Build list in reverse order.
  18074. (enumlist): Clarify docs. Use TREE_CHAIN not chainon.
  18075. * tree.c (chainon): Special case op2 null as well.
  18076. Reorg for clarity.
  18077. 2003-05-11 Roger Sayle <roger@eyesopen.com>
  18078. * config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns
  18079. to implement log, logf and logl built-ins as inline x87 intrinsics.
  18080. (UNSPEC_FYL2X): New unspec to represent x87's "fyl2x" instruction.
  18081. (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): New insn
  18082. patterns for x87's "fyl2x" instruction, used by log?f2 patterns.
  18083. * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2X like
  18084. UNSPEC_FPATAN, i.e. replaces two stack operands with single result.
  18085. 2003-05-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  18086. * Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o.
  18087. * sparc.c (print_operand): Fix uninitialized warning.
  18088. 2003-05-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  18089. * cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only
  18090. real insns.
  18091. * loop-unroll.c (unroll_loop_runtime_iterations): Remove superfluous
  18092. condition.
  18093. 2003-05-11 Neil Booth <neil@cat.daikokuya.co.uk>
  18094. * doc/cpp.texi: Fix typos.
  18095. 2003-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  18096. * config/s390/s390.c (s390_function_arg_float): New function.
  18097. (s390_function_arg_pass_by_reference): Use it.
  18098. (s390_function_arg_advance): Likewise.
  18099. (s390_function_arg): Likewise.
  18100. (s390_va_arg): Likewise
  18101. 2003-05-11 Nathan Sidwell <nathan@codesourcery.com>
  18102. * coverage.h (coverage_counter_alloc): New function.
  18103. * function.h (struct function): Remove arc_profile flag.
  18104. * coverage.c (fn_ident): Remove.
  18105. (fn_b_ctrs, no_coverage): New.
  18106. (get_coverage_counts): Use current_function_funcdef_no.
  18107. (coverage_counter_alloc): New.
  18108. (coverage_counter_ref): Adjust.
  18109. (coverage_begin_output): Check no_coverage. Use
  18110. current_function_funcdef_no.
  18111. (coverage_end_function): Likewise.
  18112. (create_coverage): Set no_coverage. Set DECL_UNINLINEABLE rather
  18113. than clearing flag_inline_functions. Do not clear arc_profile
  18114. flag.
  18115. * function.c (prepare_function_start): Do not set arc_profile
  18116. flag.
  18117. * profile.c (instrument_edges): Return number of instrumented
  18118. edges. Use a for loop.
  18119. (branch_prob): Call coverage_counter_alloc. Make BB_TO_GCOV_INDEX
  18120. local to here and simplify. Use profile_arc_flag not arc_profile
  18121. flag.
  18122. (find_spanning_tree): Reformat.
  18123. * toplev.c (rest_of_compilation): Use profile_arc_flags and
  18124. flag_test_coverage rather than arc_profile flag.
  18125. 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18126. * doc/invoke.texi (Wctor-dtor-privacy): Update documentation.
  18127. 2003-05-11 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  18128. * varasm.c (copy_constant, case VIEW_CONVERT_EXPR): New case.
  18129. 2003-05-11 Bruno Haible <bruno@clisp.org>
  18130. * cppfiles.c (find_or_create_entry): Preserve errno.
  18131. 2003-05-11 Neil Booth <neil@cat.daikokuya.co.uk>
  18132. * c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into
  18133. cpplib as it's a Standard Predefined Macro.
  18134. * c-opts.c (finish_options): Pass flag_hosted to cpp_init_builtins.
  18135. * cppinit.c (_cpp_init_builtins): Take HOSTED. Define
  18136. __STDC_HOSTED__ appropriately.
  18137. * cpplib.h (_cpp_init_builtins): Update.
  18138. * fix-header.c (read_scan_file): Update.
  18139. * doc/cpp.texi, doc/cppopts.texi: Update documentation.
  18140. 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18141. PR C++/689
  18142. PR C++/9257
  18143. * c-opts.c (c_common_decode_option): Don't set
  18144. warn_ctor_dtor_privacy wen -Wall.
  18145. * c-common.c (warn_ctor_dtor_privacy): Don't turn on by default.
  18146. 2003-05-10 Alexandre Oliva <aoliva@redhat.com>
  18147. * reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's
  18148. patch.
  18149. 2003-05-10 Zack Weinberg <zack@codesourcery.com>
  18150. * diagnostic.c: Reorder functions for clarity, putting all the
  18151. functions in the "error" family next to each other, and
  18152. likewise all the functions in the "error_with_decl" family.
  18153. Some other routines were moved too. Add comments.
  18154. (vbuild_message_string): Fold into sole caller.
  18155. 2003-05-11 Ulrich Weigand <uweigand@de.ibm.com>
  18156. * except.c (EH_RETURN_STACKADJ_RTX): Do not define.
  18157. (EH_RETURN_HANDLER_RTX): Likewise.
  18158. (expand_builtin_eh_return): Do not copy stack adjustment
  18159. if EH_RETURN_STACKADJ_RTX is not defined.
  18160. (expand_eh_return): Likewise. Also, do not pass stack
  18161. adjustment as argument to the eh_return pattern.
  18162. * except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just
  18163. because EH_RETURN_STACKADJ_RTX is not defined.
  18164. * unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX
  18165. is not defined, treat stack pointer like a regular register.
  18166. (uw_init_context_1): Set up fake initial stack pointer register.
  18167. (uw_install_context_1): Do not compute stack adjustment if
  18168. EH_RETURN_STACKADJ_RTX is not defined.
  18169. * config/i386/i386.md ("eh_return"): Remove first argument.
  18170. * config/mips/mips.md ("eh_return"): Likewise.
  18171. * config/rs6000/rs6000.md ("eh_return"): Likewise.
  18172. * config/sh/sh.md ("eh_return"): Likewise.
  18173. * config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove.
  18174. 2003-05-10 Alexander Aganichev <aaganichev@yandex.ru>
  18175. * config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
  18176. 2003-05-10 Nathan Sidwell <nathan@codesourcery.com>
  18177. * defaults.h (GCOV_TYPE_SIZE): Remove.
  18178. * gcov-io.h (gcov_type): Set to specific mode int on target.
  18179. (gcov_unsigned_t, gcov_position_t): New.
  18180. (GCOV_TYPE_NODE): New.
  18181. (GCOV_TAG_SUMMARY_LENGTH): Adjust.
  18182. (GCOV_COUNTERS_SUMMABLE): New.
  18183. (gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
  18184. gcov_ctr_info, gcov_info): Adjust types.
  18185. (gcov_var): Adjust types.
  18186. (gcov_write_unsigned, gcov_write_tag,
  18187. gcov_write_length, gcov_write_tag_length, gcov_write_summary,
  18188. gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
  18189. (gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
  18190. * gcov-io.c (gcov_write_unsigned, gcov_write_tag,
  18191. gcov_write_length, gcov_write_tag_length, gcov_write_summary,
  18192. gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
  18193. * libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
  18194. __gcov_init, __gcov_merge_add): Adjust gcov types.
  18195. * coverage.c (ctr_merge_functions): Constify.
  18196. (ctr_names): New.
  18197. (read_counts_file): Adjust gcov types. Only summarize & merge
  18198. summable counters.
  18199. (coverage_counter_ref): Use GCOV_TYPE_NODE.
  18200. (build_fn_info_type, build_fn_info_value, build_ctr_info_type,
  18201. build_ctr_info_value, build_gcov_info): Adjust types.
  18202. * profile.c (branch_prob): Adjust gcov types.
  18203. * gcov_dump (dump_file): Adjust gcov types.
  18204. 2003-05-10 Richard Earnshaw <rearnsha@arm.com>
  18205. * arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
  18206. constants.
  18207. (ior_scc_scc, and_scc_scc): New insn_and_split patterns.
  18208. * arm.c (arm_select_dominance_cc_mode): Renamed from
  18209. select_dominance_cc_mode, no-longer static. Use DOM_CC... constants.
  18210. Callers updated.
  18211. * arm-protos.h (arm_select_dominance_cc_mode): Add prototype.
  18212. 2003-05-09 Roger Sayle <roger@eyesopen.com>
  18213. * config/alpha/alpha.c (alpha_start_function): Declare frame_size
  18214. as unsigned to avoid signed/unsigned comparison warnings.
  18215. 2003-05-09 Bob Wilson <bob.wilson@acm.org>
  18216. * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
  18217. instruction if the Xtensa density option is enabled.
  18218. 2003-05-09 Matt Kraai <kraai@alumni.cmu.edu>
  18219. * mklibgcc.in: Remove extra quotes.
  18220. 2003-05-09 Mark Mitchell <mark@codesourcery.com>
  18221. * config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
  18222. of int_ftype_void.
  18223. 2003-05-09 Alexandre Oliva <aoliva@redhat.com>
  18224. * reload1.c (reload_cse_move2add): Don't turn an implicit
  18225. truncation into a self-set in the narrow mode.
  18226. 2003-05-09 Richard Earnshaw <rearnsha@arm.com>
  18227. * arm.md (clzsi2): The CLZ instruction is predicable.
  18228. 2003-05-09 Bob Wilson <bob.wilson@acm.org>
  18229. * config/xtensa/xtensa.c: Formatting.
  18230. 2003-05-09 Diego Novillo <dnovillo@redhat.com>
  18231. * tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
  18232. instead of TREE_OPERAND to access the operand of a
  18233. CONSTRUCTOR node.
  18234. 2003-05-09 Diego Novillo <dnovillo@redhat.com>
  18235. * tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
  18236. one operand.
  18237. 2003-05-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18238. * toplev.h (warning_with_file_and_line): Don't declare.
  18239. (error_with_file_and_line): Likewise.
  18240. * diagnostic.c (error_with_file_and_line): Remove.
  18241. (warning_with_file_and_line): Likewise.
  18242. 2003-05-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18243. * c-parse.in (if_stmt_locus): New object.
  18244. (if_prefix rule): Use it. Don't use warning_with_file_and_line.
  18245. (select_or_iter_stmt rule): Likewise.
  18246. (if_stmt_file): Remove.
  18247. (if_stmt_line): Likewise.
  18248. * jump.c: include "diagnostic.h"
  18249. (never_reached_warning): Don't use warning_with_file_and_line.
  18250. * Makefile.in (jump.o): Add dependce on diagnostic.h
  18251. 2003-05-09 Alan Modra <amodra@bigpond.net.au>
  18252. * expr.c (move_block_from_reg): Remove "size" parm. Localize vars.
  18253. Move code handling pieces not larger than a word to..
  18254. * function.c (assign_parms): ..here, but use change_address instead
  18255. of adjust_address and operand_subword, and expand_binop instead of
  18256. expand_shift. Adjust calls to move_block_from_reg.
  18257. * expr.h (move_block_from_reg): Update declaration.
  18258. (copy_blkmode_from_reg): Formatting.
  18259. * Makefile.in (function.o): Add $(OPTABS_H) to deps.
  18260. * config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
  18261. move_block_from_reg calls.
  18262. * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
  18263. * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
  18264. * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
  18265. * config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
  18266. * config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
  18267. * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
  18268. * config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
  18269. * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
  18270. * config/sh/sh.c (sh_builtin_saveregs): Likewise.
  18271. 2003-05-08 DJ Delorie <dj@redhat.com>
  18272. * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
  18273. to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
  18274. variable-sized types).
  18275. (xstormy16_function_arg): New. Pass them that way too.
  18276. * config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
  18277. * config/stormy16/stormy16.h (FUNCTION_ARG): Call it.
  18278. 2003-05-08 Aldy Hernandez <aldyh@redhat.com>
  18279. * mklibgcc.in: Use mkinstalldirs when installing multilib
  18280. directories.
  18281. 2003-05-08 J"orn Rennecke <joern.rennecke@superh.com>
  18282. * sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
  18283. instead of CODE_FOR_jump
  18284. 2003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18285. * objc/objc-act.c (error_with_ivar): Don't use
  18286. error_with_file_and_line.
  18287. (warn_with_method): Don't use warning_with_file_and_line.
  18288. 2003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18289. * stmt.c (emit_locus): New macro.
  18290. (emit_filename): Remove.
  18291. (emit_lineno): Likewise.
  18292. (struct stmt_status): Replace members x_emit_filename and
  18293. x_emit_lineno with x_emit_locus.
  18294. (set_file_and_line_for_stmt): Adjust.
  18295. (expand_expr_stmt_value): Don't use warning_with_file_and_line.
  18296. (warn_if_unused_value): Likewise.
  18297. (check_seenlabel): Likewise.
  18298. 2003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18299. * c-decl.c (define_label): Tidy. Don't use any of
  18300. error_with_file_and_line or warning_with_file_and_file.
  18301. (pending_xref_error): Likewise.
  18302. (store_parm_decls): Likewise.
  18303. (current_function_prototype_locus): New object. Package from
  18304. current_function_prototype_file and current_function_prototype_line.
  18305. (start_function): Use it.
  18306. (current_function_prototype_file): Remove.
  18307. (current_function_prototype_line): Remove;
  18308. 2003-05-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  18309. * builtins.c (readonly_data_expr): New function.
  18310. (expand_builtin_memmove): Optimize any rodata source, not just
  18311. strings.
  18312. 2003-05-07 David Mosberger <davidm@hpl.hp.com>
  18313. * unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.
  18314. 2003-05-07 Richard Henderson <rth@redhat.com>
  18315. * config/i386/i386.c (ix86_split_long_move): Fix base register
  18316. mode for XFmode splits for TARGET_64BIT.
  18317. 2003-05-07 Richard Henderson <rth@redhat.com>
  18318. * sched-ebb.c (schedule_ebb): Supply the correct starting
  18319. block number to save_line_notes.
  18320. 2003-05-07 Richard Henderson <rth@redhat.com>
  18321. * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
  18322. (dump_file): Likewise.
  18323. 2003-05-07 David Mosberger <davidm@hpl.hp.com>
  18324. * config/ia64/crtbegin.asm (__do_jv_register_classes): Don't
  18325. forget to preserve gp.
  18326. * config/ia64/crtend.asm (__do_global_ctors_au): Ditto.
  18327. * config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing
  18328. .prologue directive.
  18329. Use .skip instead of data8 for .bss section to make Intel
  18330. Assembler (ias) happy. Minor whitespace fixups. Make "nop 0"
  18331. explicit in the .mib bundles and remove the unnecessary stop
  18332. bits. Replace local labels with normal labels, to make ias
  18333. happy. Don't register __do_global_ctors_aux here, do it in
  18334. crtend.asm instead.
  18335. * config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register
  18336. __do_global_ctors_aux in .init_array section instead of
  18337. declaring it as a hidden global. Replace local labels with
  18338. ordinary labels to make ias happy.
  18339. 2003-05-07 Richard Henderson <rth@redhat.com>
  18340. PR c++/10570
  18341. * except.c: Revert 04-01 and 04-02 forced-unwind changes.
  18342. * flags.h, toplev.c, doc/invoke.texi: Likewise.
  18343. * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning.
  18344. * unwind.inc (_Unwind_DeleteException): Check for null
  18345. exception_cleanup.
  18346. * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New.
  18347. * unwind.inc (_Unwind_Resume_or_Rethrow): New.
  18348. * unwind.h: Declare them.
  18349. * libgcc-std.ver (GCC_3.3): Export them.
  18350. 2003-05-07 Richard Henderson <rth@redhat.com>
  18351. * unwind-dw2.c (_Unwind_GetCFA): Cast pointer to _Unwind_Ptr,
  18352. not _Unwind_Word.
  18353. 2003-05-07 Zack Weinberg <zack@codesourcery.com>
  18354. * stmt.c (force_label_rtx): New function, based on logic
  18355. formerly found in expand_expr.
  18356. * expr.h: Prototype it.
  18357. * expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if
  18358. appropriate.
  18359. * varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx.
  18360. * print-tree.c (debug_tree): Free the table after we're done
  18361. with it. Use putc.
  18362. 2003-05-07 Aldy Hernandez <aldyh@redhat.com>
  18363. * config/rs6000/spe.h: Reverse arguments for __ev_subfw.
  18364. Unreverse arguments for __ev_subw.
  18365. * config/rs6000/spe.md (evsubfw): Reverse arguments of assembly.
  18366. 2003-05-07 Nick Clifton <nickc@redhat.com>
  18367. * config/stormy16/stormy-abi: Update to include
  18368. R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
  18369. R_XSTORMY16_12 relocs.
  18370. 2003-05-07 Alan Modra <amodra@bigpond.net.au>
  18371. * function.c (assign_parms): Correct reversed reg_parm_stack_space
  18372. test. Add partial in-regs size to stack_args_size.
  18373. 2003-05-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  18374. * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
  18375. as a C only option.
  18376. 2003-05-07 Nathan Sidwell <nathan@codesourcery.com>
  18377. * gcov-io.h (GCOV_LOCKED): New #define.
  18378. (GCOV_LINKAGE): Make sure it is #defined.
  18379. (gcov_write_string, gcov_write_tag, gcov_write_length,
  18380. gcov_read_string, gcov_time): Poison in libgcov.
  18381. (gcov_seek_end): Remove.
  18382. (gcov_write_tag_length, gcov_sync, gcov_rewrite): New.
  18383. (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
  18384. GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
  18385. GCOV_TAG_SUMMARY_LENGTH): New #defines.
  18386. (gcov_write_tag, gcov_write_length): Not in libgcov.
  18387. * gcov-io.c (gcov_open): Use GCOV_LOCKED.
  18388. (gcov_write_tag, gcov_write_length): Not in libgcov.
  18389. (gcov_write_tag_length): New.
  18390. (gcov_write_summary): Use gcov_write_tag_length.
  18391. * libgcov.c: Always #include gcov-io.h.
  18392. (IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise.
  18393. (GCOV_LINKAGE): Define to nothing for L_gcov.
  18394. (gcov_exit): Replace gcov_write_tag, gcov_write_length with
  18395. gcov_write_tag_length. Use gcov_rewrite & gcov_seek.
  18396. * gcov.c (read_graph_file): Replace gcov_seek by gcov_sync.
  18397. (read_count_file): Likewise.
  18398. * gcov-dump.c (dump_file): Likewise.
  18399. * coverag.c (read_counts_file): Likewise.
  18400. 2003-05-06 Mark Mitchell <mark@codesourcery.com>
  18401. PR other/10658
  18402. * gcc.c (process_command): Update copyright date.
  18403. 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
  18404. * doc/install.texi (mips-*-*): Add note about libstdc++.
  18405. 2003-05-06 DJ Delorie <dj@redhat.com>
  18406. * config/stormy16/stormy16.c (xstormy16_function_profiler): New.
  18407. * config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
  18408. * config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.
  18409. 2003-05-06 <neil@cat.daikokuya.co.uk>
  18410. * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
  18411. and -Wstrict-prototypes if C++.
  18412. 2003-05-06 Aldy Hernandez <aldyh@redhat.com>
  18413. * config/rs6000/linuxspe.h: New file.
  18414. * config.gcc: Add powerpc-*-linux-gnuspe* target.
  18415. 2003-05-06 Richard Henderson <rth@redhat.com>
  18416. * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
  18417. previous frame didn't save sp. Clear sp for next frame.
  18418. (uw_install_context_1): Honor saved sp from frame.
  18419. 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
  18420. * config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
  18421. (mips_move_1word, mips_move_2words): Remove declaration.
  18422. (mips_split_64bit_move_p, mips_split_64bit_move): Declare.
  18423. (mips_restore_gp): Remove insn argument.
  18424. * config/mips/mips.h (FP_REG_RTX_P): New macro.
  18425. * config/mips/mips.c (volatile_buffer): Remove.
  18426. (mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New.
  18427. (mips_move_1word, mips_move_2words): Remove, replacing with...
  18428. (mips_output_move): ...this new function.
  18429. (mips_restore_gp): Remove insn argument. Adjust for above changes.
  18430. (print_operand): Make '%h' print %hi(op) for HIGH operands. Remove
  18431. handling of floating-point constants. Handle zero CONST_DOUBLE
  18432. arguments.
  18433. (mips_annotate_frame_insn): Replace with...
  18434. (mips_set_frame_expr): ...this, which just takes one argument.
  18435. (mips_frame_set): Change the register argument to an rtx.
  18436. (mips_emit_frame_related_store): Use mips_split_64bit_move_p to
  18437. check whether moves should be split. Use mips_split_64bit_move
  18438. to split them. Use mips_subword to generate the high and low
  18439. parts of a paired FPR. Adjust calls to frame_set and
  18440. mips_set_frame_expr.
  18441. (mips_expand_prologue): Simplify due to above changes.
  18442. * config/mips/mips.md: Add splitters for 64-bit moves on 32-bit
  18443. targets, replacing xisting register-only versions.
  18444. (UNSPEC_STORE_DF_HIGH): New unspec.
  18445. (UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs.
  18446. (mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word.
  18447. (*paradoxical_extendhidi2): Remove.
  18448. (movdi_internal, movdi_internal2): Use mips_output_move.
  18449. (*movdi_internal2_mips16, movsi_internal, movcc): Likewise.
  18450. (movsf_internal1, movsf_internal2): Likewise.
  18451. (movdf_internal1a): Likewise. Fix length and type of f <- G case.
  18452. (movdf_internal1b): Use mips_output_move. Fix type of f <- G case.
  18453. (movdf_internal2): Use mips_output_move. Fix lengths of FPR moves.
  18454. Add m <- G alternative.
  18455. (load_df_low, load_df_high, store_df_low): New patterns.
  18456. (movhi_internal): Use @ template instead of calling a function.
  18457. Remove unnecessary 'z' alternatives.
  18458. (movqi_internal): Likewise.
  18459. (exception_receiver): Update call to mips_restore_gp.
  18460. 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
  18461. * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove.
  18462. (mips_delegitimize_address): Declare.
  18463. * config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine.
  18464. (FIND_BASE_TERM): Define.
  18465. * config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Defi~e.
  18466. (mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr.
  18467. Handle small-data addresses.
  18468. 2003-05-05 Roger Sayle <roger@eyesopen.com>
  18469. * real.c (real_powi): New function to calculate the value of
  18470. a real raised to an integer power, i.e. pow(x,n) for int n.
  18471. (real_sqrt): Convert to using the faster do_add, do_multiply
  18472. and do_divide API for consistency with the rest of real.c.
  18473. * real.h (real_powi): Prototype here.
  18474. * builtins.c (fold_builtin): Avoid local variable mode when
  18475. evaluating sqrt at compile time. Attempt to evaluate pow at
  18476. compile-time, by checking for an integral exponent.
  18477. 2003-05-05 Richard Henderson <rth@redhat.com>
  18478. * doc/extend.texi (Variable Attributes): Re-sort table and tidy.
  18479. 2003-05-05 David O'Brien <obrien@FreeBSD.org>
  18480. * config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
  18481. other FreeBSD ports.
  18482. (LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.
  18483. (_LITTLE_ENDIAN): Use __LITTLE_ENDIAN__ instead.
  18484. 2003-05-05 Janis Johnson <janis187@us.ibm.com>
  18485. * Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
  18486. expanded variables.
  18487. * doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
  18488. 2003-05-05 Zack Weinberg <zack@codesourcery.com>
  18489. * rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
  18490. * varasm.c (struct varasm_status): Add deferred_constants field.
  18491. (n_deferred_strings): Delete variable.
  18492. (n_deferred_constants): New #define.
  18493. (struct constant_descriptor_tree): Kill next and label fields.
  18494. (const_hash_table, MAX_HASH_TABLE): Delete.
  18495. (const_desc_htab): New static variable.
  18496. (const_hash): Rename const_desc_hash, and make it fit the
  18497. hashtab.h interface.
  18498. (const_desc_eq): New.
  18499. (const_hash_1, compare_constant): Const-ify arguments.
  18500. (build_constant_desc): Set DEFERRED_CONSTANT_P on all new
  18501. SYMBOL_REFs. Clarify comments. Don't set desc->label.
  18502. (output_constant_def): Do the lookup/insert using the
  18503. hashtab.h interface. Don't muck with n_deferred_constants or
  18504. DEFERRED_CONSTANT_P here.
  18505. Always call maybe_output_constant_def_contents.
  18506. (maybe_output_constant_def_contents): Take a pointer to the
  18507. descriptor, not the EXP and RTL separately. Return
  18508. immediately if this constant is not deferred. Defer output of
  18509. everything, except writable string constants. Update
  18510. n_deferred_constants here.
  18511. (output_constant_def_contents): Now takes just one argument,
  18512. an rtx. Clear DEFERRED_CONSTANT_P here.
  18513. (mark_constant_pool): Update for rename of n_deferred_strings.
  18514. (mark_constant): Don't clear DEFERRED_CONSTANT_P here.
  18515. (init_varasm_status): Clear p->deferred_constants.
  18516. (init_varasm_once): Call htab_create_ggc for const_desc_htab.
  18517. 2003-05-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  18518. * builtins.c (expand_builtin_stpcpy): Only expand when the length
  18519. of the source string can be evaluated at compile-time.
  18520. 2003-05-05 Aldy Hernandez <aldyh@redhat.com>
  18521. * testsuite/gcc.c-torture/compile/simd-6.c: New.
  18522. * c-typeck.c (digest_init): Handle arrays of vector constants.
  18523. 2003-05-05 Jakub Jelinek <jakub@redhat.com>
  18524. * builtins.c (expand_builtin_mempcpy): New function.
  18525. (expand_builtin_stpcpy): Optimize stpcpy whose return value is
  18526. ignored into strcpy no matter what arguments it has.
  18527. (expand_builtin) <case BUILT_IN_MEMPCPY>: Call
  18528. expand_builtin_mempcpy.
  18529. 2003-05-05 Aldy Hernandez <aldyh@redhat.com>
  18530. * testsuite/gcc.dg/20030505.c: New.
  18531. * c-typeck.c (convert_for_assignment): Opaque pointers can
  18532. interconvert.
  18533. * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
  18534. (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
  18535. (spe_init_builtins): Rename all pv2si_type_node to
  18536. opaque_p_V2SI_type_node.
  18537. Remove declaration of pv2si_type_node.
  18538. (is_ev64_opaque_type): Accept opaque pointers.
  18539. 2003-05-05 Geoffrey Keating <geoffk@apple.com>
  18540. * config/rs6000/rs6000.c (validate_condition_mode): Use
  18541. flag_finite_math_only.
  18542. (rs6000_reverse_condition): Never return UNKNOWN; use
  18543. flag_finite_math_only.
  18544. (rs6000_generate_compare): Use flag_finite_math_only.
  18545. (rs6000_emit_cmove): Handle UNLE. Support UNEQ under -ffast-math.
  18546. Use HONOR_* rather than flag_unsafe_math_optimizations. Correct
  18547. UNGE and GT cases. Handle UNEQ and LTGT when ! HONOR_NANS.
  18548. * toplev.c (check_global_declarations): Suppress not-used warning
  18549. for volatile variables.
  18550. 2003-05-05 Olivier Hainque <hainque@act-europe.fr>
  18551. * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
  18552. usage of bitfield instructions for mode1 != BLKmode, only ignoring
  18553. SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
  18554. (store_field): Likewise.
  18555. 2003-05-05 Aldy Hernandez <aldyh@redhat.com>
  18556. * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
  18557. evsubifw to builtins accepting 5-bit unsigned constants.
  18558. (easy_vector_constant): Return if V1DImode. Fix typo.
  18559. 2003-05-05 Aldy Hernandez <aldyh@redhat.com>
  18560. * config/rs6000/spe.h: Revert licensing change from last patch.
  18561. 2003-05-05 DJ Delorie <dj@redhat.com>
  18562. * config/stormy16/stormy16.md (negsi2): Allocate the pseudos
  18563. before reload, but defer the split until after.
  18564. * config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
  18565. to match.
  18566. 2003-05-05 David Edelsohn <edelsohn@gnu.org>
  18567. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
  18568. * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.
  18569. 2003-05-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  18570. * libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
  18571. is defined.
  18572. 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  18573. * builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
  18574. ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
  18575. ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
  18576. (ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
  18577. ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
  18578. ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
  18579. New.
  18580. * builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
  18581. (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment
  18582. (BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
  18583. BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
  18584. BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
  18585. BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
  18586. BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
  18587. BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
  18588. BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
  18589. BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
  18590. BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
  18591. BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
  18592. BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
  18593. BUILT_IN_STRDUP): Add "nonnull" attribute.
  18594. 2003-05-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  18595. * expr.c (store_field): Don't clobber TEMP in shift: it might be
  18596. a variable.
  18597. (get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
  18598. whose purpose is to step up the alignment.
  18599. (expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.
  18600. * stor-layout.c (compute_record_mode): Relax restriction
  18601. on fields crossing word boundaries forcing BLKmode.
  18602. 2003-05-04 Neil Booth <neil@daikokuya.co.uk>
  18603. * cppinit.c (cpp_create_reader, post_options): Warn about
  18604. trigraphs unless explicity set or -trigraphs.
  18605. * cpplex.c (warn_in_comment): New.
  18606. (_cpp_process_line_notes): Better handling of -Wtrigraphs.
  18607. (_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
  18608. * doc/cppopts.texi, doc/cpp.texi: Update.
  18609. 2003-05-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  18610. * Makefile.in (LIBGCOV): Add _gcov_merge_add.
  18611. * gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
  18612. namespace clash.
  18613. (GCOV_MERGE_FUNCTIONS): New.
  18614. (gcov_merge_fn): Declare.
  18615. (struct gcov_ctr_info): New field "merge".
  18616. (__gcov_merge_add): Declare.
  18617. * coverage.c (ctr_merge_functions): New.
  18618. (build_ctr_info_type, build_ctr_info_value): Initialize merge field
  18619. of gcov_ctr_info type.
  18620. * libgcov.c (__gcov_merge_add): New.
  18621. (gcov_exit): Call a hook to merge values of counters.
  18622. 2003-05-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18623. * toplev.h (pedwarn_with_file_and_line): Don't declare.
  18624. * diagnostic.c (pedwarn_with_file_and_line): Remove.
  18625. 2003-05-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
  18626. * varasm.c (assemble_variable): Don't use error_with_file_and_line.
  18627. 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  18628. * builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
  18629. expand_builtin_frame_address): Update prototypes.
  18630. (expand_builtin_constant_p, expand_builtin_strlen,
  18631. expand_builtin_strcpy, expand_builtin_memset,
  18632. expand_builtin_bzero, expand_builtin_args_info,
  18633. expand_builtin_frame_address): Pass in just the argument(s)
  18634. needed, not the entire expression `exp'.
  18635. (expand_builtin): Update all calls to these functions.
  18636. 2003-05-03 Richard Henderson <rth@redhat.com>
  18637. * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
  18638. <BUILT_IN_DWARF_SP_COLUMN>: New.
  18639. * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
  18640. (BUILT_IN_DWARF_SP_COLUMN): New.
  18641. * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
  18642. (expand_builtin_dwarf_sp_column): New.
  18643. * except.h: Update to match.
  18644. * unwind-dw2.c (execute_stack_op): Correct stack push typo.
  18645. (execute_cfa_program): Record location expression address
  18646. before extracting length.
  18647. (uw_update_context_1): Install old CFA into stack pointer column.
  18648. (uw_init_context_1): Set cfa_reg to stack pointer column.
  18649. 2003-05-03 Richard Henderson <rth@redhat.com>
  18650. * config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
  18651. return bool.
  18652. (toc_relative_expr_p): Likewise.
  18653. (SPE_CONST_OFFSET_OK): Move from rs6000.h.
  18654. (legitimate_constant_pool_address_p): Move from rs6000.h, change
  18655. into a function, downcase all users.
  18656. (legitimate_small_data_p): Likewise.
  18657. (legitimate_offset_address_p): Likewise.
  18658. (legitimate_indexed_address_p): Likewise.
  18659. (legitimate_indirect_address_p): Likewise.
  18660. (legitimate_lo_sum_address_p): Likewise.
  18661. (rs6000_mode_dependent_address): Likewise.
  18662. * rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove.
  18663. (SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
  18664. LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P,
  18665. LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P,
  18666. LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c.
  18667. (LEGITIMATE_ADDRESS_INTEGER_P): Remove.
  18668. (GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address.
  18669. * config/rs6000/rs6000-protos.h: Update.
  18670. 2003-05-03 Geoffrey Keating <geoffk@apple.com>
  18671. * config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
  18672. (REVERSE_CONDITION): Define.
  18673. * config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
  18674. to branch_positive_comparison_operator.
  18675. (ccr_bit): Check that sCOND conditions are actually a positive bit.
  18676. (print_operand): Remove %D substitution.
  18677. (rs6000_emit_sCOND): Generate complement operation to ensure that
  18678. sCOND input is a positive bit.
  18679. * config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
  18680. same order as bCOND, and add the missing ones. Remove the %D
  18681. substitutions from the scc patterns.
  18682. * simplify-rtx.c (simplify_relational_operation): Add case for
  18683. ! (fabs(x) < 0.0).
  18684. 2003-05-03 Bruce Korb <bkorb@gnu.org>
  18685. * gcc/fixinc/fixincl.tpl(dne): restore this to force merge conflicts
  18686. in fixincl.x
  18687. * gcc/fixinc/inclhack.def(bsd_stdio_attrs_conflict): fix placement
  18688. 2003-05-03 Aldy Hernandez <aldyh@redhat.com>
  18689. * config/rs6000/spe.h: Remove unecessary casts. Misc cleanups.
  18690. 2003-05-03 Zack Weinberg <zack@codesourcery.com>
  18691. PR c/10604
  18692. * c-common.c (warn_sign_compare): Initialize to -1.
  18693. * c-opts.c (c_common_init_options): Don't set warn_sign_compare here.
  18694. (c_common_decode_option <OPT_Wall>): Set warn_sign_compare
  18695. for C++ only.
  18696. (c_common_post_options): Set warn_sign_compare from extra_warnings
  18697. if it's still -1 at this point.
  18698. * toplev.c (maybe_warn_unused_parameter): New static variable.
  18699. (set_Wextra): New static function.
  18700. (W_options): Remove "extra".
  18701. (decode_W_option): Call set_Wextra.
  18702. (independent_decode_option): Likewise.
  18703. (set_Wunused): Cooperate with set_Wextra in setting
  18704. warn_unused_parameter.
  18705. (rest_of_compilation): No need to check extra_warnings as
  18706. well as warn_uninitialized.
  18707. * c-typeck.c (build_binary_op, build_conditional_expr):
  18708. No need to check extra_warnings as well as warn_sign_compare.
  18709. (internal_build_compound_expr): No need to check extra_warnings
  18710. as well as warn_unused_value.
  18711. * function.c (expand_function_end): No need to check extra_warnings
  18712. as well as warn_unused_parameter.
  18713. * stmt.c (expand_expr_stmt_value): No need to check extra_warnings
  18714. as well as warn_unused_value.
  18715. * doc/invoke.texi: Clarify documentation of -Wsign-compare.
  18716. * Makefile.in: Disable -Werror for gengtype-lex.o.
  18717. 2003-05-03 Olivier Hainque <hainque@act-europe.fr>
  18718. * emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
  18719. * rtl.h (last_call_insn, add_function_usage_to): New prototypes.
  18720. * builtins.c (expand_builtin_apply): Use the new emit-rtl functions.
  18721. * calls.c (emit_call_1): Likewise.
  18722. (expand_call): For calls initializing constant memory, replace
  18723. emission of standalone mem /u clobber with function usage entry.
  18724. * expr.c (emit_block_move_via_libcall): Likewise.
  18725. * cse.c (count_reg_usage, case EXPR_LIST): New case.
  18726. * flow.c (propagate_one_insn): Pass entire operand of
  18727. CALL_INSN_FUNCTION_USAGE to mark_used_regs.
  18728. * integrate.c (try_constants): For CALL_INSNs, substitute constants
  18729. within the FUNCTION_USAGE also.
  18730. * loop.c (prescan_loop): Note clobbers of const mem mentioned in
  18731. FUNCTION_USAGE lists.
  18732. * reload1.c (replace_pseudos_in): Renamed.
  18733. (reload): Use it for clobbers surviving until the end of the reload.
  18734. 2003-05-03 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  18735. * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
  18736. gen_lowpart on non-integer modes.
  18737. * stor-layout.c (place_field): When adjusting offset_align, use
  18738. desired_align, not DECL_ALIGN.
  18739. 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
  18740. * c-decl.c (pending_invalid_xref_file): Remove.
  18741. (pending_invalid_xref_line): Remove.
  18742. (pending_invalid_xref_location): New.
  18743. (lookup_label): Use location_t and input_location directly.
  18744. (lookup_tag): Likewise.
  18745. (pending_xref_error): Likewise.
  18746. (c_expand_body_1): Likewise.
  18747. * c-common.c (x_expand_start_cond): Likewise.
  18748. * c-semantics.c (genrtl_for_stmt): Likewise.
  18749. (find_reachable_label): Likewise.
  18750. * expr.c (expand_expr): Likewise.
  18751. * integrate.c (output_inline_function): Likewise.
  18752. * tree-inline.c (find_alloca_call): Likewise.
  18753. (find_builtin_longjmp_call): Likewise.
  18754. * gcc.c (input_filename): Make static.
  18755. 2003-05-03 Richard Sandiford <rsandifo@redhat.com>
  18756. * config/mips/mips.md: Fix comment typo.
  18757. * config/mips/mips.c (mips_integer_op): New structure.
  18758. (MIPS_MAX_INTEGER_OPS): Define.
  18759. (mips_const_insns): Use mips_build_integer to determine the number
  18760. of instructions needed to load a CONST_INT.
  18761. (move_operand): Reject compound CONST_INTs.
  18762. (mips_build_shift, mips_build_lower, mips_build_integer): New fns.
  18763. (mips_move_integer): New fn.
  18764. (mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
  18765. (mips_legitimize_move): Only legitimize constants when moving
  18766. word or subword values.
  18767. 2003-05-02 Matt Kraai <kraai@alumni.cmu.edu>
  18768. * Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
  18769. 2003-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  18770. * builtins.c (expand_builtin_stpcpy): Copy `arglist' before
  18771. modifying it.
  18772. 2003-05-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  18773. Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  18774. * doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
  18775. Hernandez, and Kazu Hirata. Update Richard Henderson.
  18776. 2003-05-02 Geoffrey Keating <geoffk@apple.com>
  18777. * config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
  18778. to tentative declaration.
  18779. * config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
  18780. (SYMBOL_FLAG_SMALL_V4): Delete.
  18781. * config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P.
  18782. (rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4.
  18783. (rs6000_elf_in_small_data_p): Add extra section names. Add
  18784. comment about TREE_PUBLIC test.
  18785. * c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
  18786. expand_stmt on result of expand_unreachable_stmt.
  18787. 2003-05-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  18788. * doc/contrib.texi (Contributors): Add Daniel Berlin.
  18789. 2003-05-02 David Edelsohn <edelsohn@gnu.org>
  18790. * config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
  18791. number of automata.
  18792. * config/rs6000/rs6000.c (symbol_ref_operand): Check
  18793. SYMBOL_REF_FUNCTION_P on AIX.
  18794. (current_file_function_operand): Same.
  18795. * config/rs6000/rs6000.md (call,call_value): Force non-function
  18796. symbol_ref into register on AIX.
  18797. 2003-05-02 Alan Modra <amodra@bigpond.net.au>
  18798. * calls.c (struct arg_data): Move offset, slot_offset, size and
  18799. alignment_pad to struct locate_and_pad_arg_data. Update all refs.
  18800. (initialize_argument_information): Adjust call to locate_and_pad_parm.
  18801. Delete alignment_pad var. Don't calculate slot_offset here.
  18802. (emit_library_call_value_1): Delete alignment_pad, offset and size
  18803. vars. Use struct locate_and_pad_arg_data instead. Adjust refs.
  18804. Adjust call to locate_and_pad_parm. Don't tweak arg size for
  18805. partial in-regs here. Formatting fixes.
  18806. * expr.h (struct locate_and_pad_arg_data): New struct.
  18807. (locate_and_pad_parm): Adjust declaration.
  18808. * function.c (assign_parms): Localize vars. Use "locate" instead of
  18809. other arg location vars. Don't invoke FUNCTION_ARG or
  18810. FUNCTION_INCOMING_ARG unless pretend_named is different from
  18811. named_arg. Heed MUST_PASS_IN_STACK and set up "partial" before
  18812. calling locate_and_pad_parm. Adjust locate_and_pad_parm call.
  18813. Use slot_offset for stack home of reg parms. Correct test for
  18814. parm passed in memory. Formatting fixes.
  18815. (locate_and_pad_parm): Add "partial" to params. Replace offset_ptr
  18816. arg_size_ptr and alignment pad with "locate". Set slot_offset here.
  18817. Correct initial_offset_ptr handling. Localize vars. Always pad
  18818. locate->offset even when in_regs.
  18819. 2003-05-02 Nathan Sidwell <nathan@codesourcery.com>
  18820. * Makefile.in (TREE_H): Replace location.h with input.h.
  18821. (GTFILES) Remove location.h
  18822. (gt-lists.h): Replace gt-location.h with gt-input.h
  18823. * input.h (input_filename, input_line): Remove variables.
  18824. (location_s, location_t): Move from location.h.
  18825. (input_location): New.
  18826. (input_filename, input_line): New #defines.
  18827. * location.h: Remove.
  18828. * tree.h: Replace location.h with input.h.
  18829. (input_filename, input_line): Remove.
  18830. * diagnostic.h: Replace location.h with input.h.
  18831. * gcc.h (input_filename, input_filename_length): Remove declarations.
  18832. * toplev.c (input_filename, input_line): Remove.
  18833. (input_location): Define.
  18834. (push_srcloc, pop_srcloc): Adjust.
  18835. * diagnostic.c (diagnostic_report_current_module): Adjust.
  18836. 2003-05-02 Nick Clifton <nickc@redhat.com>
  18837. * configure.in: Add xstormy16 to list of targets that has a nop
  18838. instruction and hence which can be tested to see if the
  18839. assembler supports the --gdwarf2 switch.
  18840. * configure: Regenerate.
  18841. 2003-05-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  18842. PR target/8257
  18843. * config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue,
  18844. alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib):
  18845. Avoid undefined shifts by making the shift operand unsigned.
  18846. 2003-05-01 DJ Delorie <dj@redhat.com>
  18847. * reload.c (find_reloads): Also check that all of a multi-reg
  18848. value is in the class.
  18849. 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
  18850. * scan.h (lineno): Revert the rename here.
  18851. 2003-05-01 Stan Shebs <shebs@apple.com>
  18852. * config/darwin.c (darwin_encode_section_info): Call
  18853. default_encode_section_info.
  18854. 2003-05-01 David Edelsohn <edelsohn@gnu.org>
  18855. * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
  18856. (movsi_internal1): Use new mfjmpr attribute.
  18857. (movhi_internal): Same.
  18858. (movqi_internal): Same.
  18859. (movcc_internal1): Same.
  18860. (movdi_internal64): Same.
  18861. * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
  18862. power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
  18863. * config/rs6000/40x.md: Add fpu_405.
  18864. * config/rs6000/power4.md: Merge power4lsu and power4disp automata
  18865. into power4misc automata. Remove extraneous parentheses.
  18866. * config/rs6000/440.md: New file.
  18867. * config/rs6000/rs6000.c (processor_target_table): Add 440,
  18868. 440fp. Rename 405f to 405fp.
  18869. (function_arg_padding): Correct formatting.
  18870. (rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.
  18871. 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
  18872. * input.h (lineno): Rename to ...
  18873. (input_line): ... here.
  18874. * tree.h (lineno): Rename to ...
  18875. (input_line): ... here.
  18876. * scan.h (lineno): Rename to ...
  18877. (input_line): ... here.
  18878. * toplev.c (lineno): Rename to ...
  18879. (input_line): ... here.
  18880. (push_srcloc, pop_srcloc): Rename lineno to input_line.
  18881. * c-common.c (c_expand_start_cond, fname_decl): Likewise.
  18882. * c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag,
  18883. store_parm_decls, c_expand_body_1): Likewise.
  18884. * c-errors.c (pedwarn_c99): Likewise.
  18885. * c-format.c (status_warning): Likewise.
  18886. * c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise.
  18887. * c-opts.c (c_common_post_options, c_common_parse_file): Likewise.
  18888. * c-parse.in (save_filename, maybe_type_qual, ifc): Likwise.
  18889. * c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var,
  18890. gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt,
  18891. genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt,
  18892. genrtl_return_stmt, genrtl_for_stmt, build_break_stmt,
  18893. build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt,
  18894. prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise.
  18895. * coverage.c (create_coverage): Likewise.
  18896. * diagnostic.c (pedwarn, sorry, error, fatal_error,
  18897. internal_error, warning, diagnostic_report_current_module,
  18898. inform): Likewise.
  18899. * expr.c (expand_expr): Likewise.
  18900. * integrate.c (expand_inline_function,
  18901. output_inline_function): Likewise.
  18902. * rtl-error.c (file_and_line_for_asm): Likewise.
  18903. * tree-inline.c (find_alloca_call, find_builtin_longjmp_call,
  18904. walk_tree): Likewise.
  18905. * tree.c (make_node): Likewise.
  18906. * ada, cp, f, java, objc, treelang: Likewise.
  18907. * objc/objc-act.c (objc_init): Rename lineno to input_line.
  18908. (build_module_descriptor, build_selector_translation_table,
  18909. build_protocol_template, build_method_prototype_list_template,
  18910. build_category_template, build_selector_table,
  18911. build_class_template, build_super_template, build_ivar_template,
  18912. build_ivar_list_template, build_method_list_template,
  18913. build_method_template, add_instance_variable): Likewise.
  18914. * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
  18915. name from input_filename.
  18916. 2003-04-30 Eric Christopher <echristo@redhat.com>
  18917. Richard Sandiford <rsandifo@redhat.com>
  18918. * configure: Regenerate from patches below.
  18919. * combine.c (gen_lowpart_for_combine): Fix comment and add tests
  18920. for all symbolic operands.
  18921. * config/mips/mips.c: Migrate RTX_COSTS and CONST_COSTS
  18922. to function.
  18923. * config/mips/linux.h: Fix typo.
  18924. * Merge from mips-3_4-rewrite branch:
  18925. 2003-04-07 Richard Sandiford <rsandifo@redhat.com>
  18926. * config/mips/mips.c (mips_classify_symbol): Add catch-all case for
  18927. handling local labels when TARGET_ABICALLS.
  18928. 2003-04-04 Richard Sandiford <rsandifo@redhat.com>
  18929. * config/mips/mips-protos.h (mips_expand_epilogue): Add an
  18930. integer argument.
  18931. (mips_expand_call): Likewise.
  18932. * config/mips/mips.h (TARGET_SIBCALLS): New macro.
  18933. (FIXED_REGISTERS): Clear $31 entry.
  18934. (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTER): Likewise.
  18935. (EPILOGUE_USES): Define.
  18936. * config/mips/mips.c (mips_function_ok_for_sibcall): New function.
  18937. (TARGET_FUNCTION_OK_FOR_SIBCALL): Use it.
  18938. (override_options): Add a 'j' register class.
  18939. (mips_expand_call): Handle sibcalls
  18940. (mips_expand_epilogue): Handle epilogues for sibcalls.
  18941. * config/mips/mips.md (epilogue): Adjust call to mips_expand_epilogue.
  18942. (sibcall_epilogue): New pattern.
  18943. (call, call_value): Adjust calls to mips_expand_call.
  18944. (sibcall, sibcall_value): New expanders.
  18945. (sibcall_internal, sibcall_value_internal): New patterns.
  18946. (sibcall_value_multiple_internal): New pattern.
  18947. 2003-03-25 Richard Sandiford <rsandifo@redhat.com>
  18948. * config/mips/mips.md (extended_mips16): New attribute.
  18949. (define_attr length): Default to 8 if extended_mips16 == yes.
  18950. (truncdisi2): Set extended_mips16 to yes for the sll alternative.
  18951. (truncdihi2, truncdiqi2, *extendsidi2): Likewise.
  18952. (call_internal): Set extended_mips16 to yes for direct jumps.
  18953. Remove redundant mode attribute.
  18954. (call_value_internal, call_value_multiple_internal): Likewise.
  18955. (call_split): Remove redundant mode attribute.
  18956. (call_value_split, call_value_multiple_split): Likewise.
  18957. * config/mips/mips.c (mips_symbol_insns): Rework. Fix handling
  18958. of unaligned offsets.
  18959. * config/mips/mips.c (mips_splittable_symbol_p): Fix handling
  18960. of SYMBOL_GENERAL.
  18961. 2003-03-22 Richard Sandiford <rsandifo@redhat.com>
  18962. * config/mips/mips.h (TARGET_EXPLICIT_RELOCS): Add commentary.
  18963. * config/mips/mips.c (override_options): Disable -mexplicit-relocs
  18964. for mips16 code.
  18965. 2003-03-22 Richard Sandiford <rsandifo@redhat.com>
  18966. * config/mips/mips.h (ADDRESS_COST): Define.
  18967. 2003-03-20 Richard Sandiford <rsandifo@redhat.com>
  18968. * config/mips/mips.h (EXTRA_CONSTRAINT): Give existing meaning of
  18969. 'R' to 'U'. Make 'R' mean a single-instruction memory reference.
  18970. * config/mips/mips.md: Replace 'R' constraints with 'U'.
  18971. 2003-03-18 Richard Sandiford <rsandifo@redhat.com>
  18972. * config/mips/mips.md (truncdisi2): Add commentary. Use sll instead
  18973. of a two-instruction sequence. Add register->memory alternative.
  18974. (truncdihi2, truncdiqi2): Likewise.
  18975. Rework shift/truncate instructions so that they only handle right
  18976. shifts of 32 (or more, in the case of arithmetic shifts).
  18977. Add patterns for truncate/sign-extend.
  18978. 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
  18979. * configure.in (mips*-*-*): Check for explicit relocation support.
  18980. * configure: Regenerate.
  18981. 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
  18982. * config/mips/mips.h (TARGET_SWITCHES): Add -mexplicit-relocs
  18983. and -mno-explicit-relocs.
  18984. (MASK_EXPLICIT_RELOCS): Define.
  18985. (TARGET_EXPLICIT_RELOCS): Use it.
  18986. (mips_split_addresses): Remove declaration.
  18987. * config/mips/mips.c (override_options): Update comment for
  18988. mips_split_addresses. Clear MASK_EXPLICIT_RELOCS for non-PIC n64.
  18989. 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
  18990. * combine.c (gen_lowpart_for_combine): Treat the lowpart Pmode of
  18991. a CONST as identity. Check the return value of gen_lowpart_common.
  18992. 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
  18993. * config/mips/mips.c (mips_legitimize_symbol): Handle small data
  18994. references for TARGET_EXPLICIT_RELOCS.
  18995. (mips_reloc_string): Return "%gp_rel(" for RELOC_GPREL16 if
  18996. !TARGET_MIPS16.
  18997. 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
  18998. * config/mips/mips.md: Replace 'IQ' mips16 constraints with just 'Q'.
  18999. (addsi3): Remove redundant constraints.
  19000. (addsi3_internal): Use separate register & constant alternatives.
  19001. Use a 'Q' constraint and "addiu" insn for the latter.
  19002. (adddi3_internal_3, addsi3_internal_2): Likewise.
  19003. 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
  19004. * config/mips/mips-protos.h (mips_expand_unaligned_load): Declare.
  19005. (mips_expand_unaligned_store): Declare.
  19006. * config/mips/mips.c (mips_get_unaligned_mem): New fn.
  19007. (mips_expand_unaligned_load, mips_expand_unaligned_store): New fns.
  19008. * config/mips/mips.md (UNSPEC_ULW, UNSPEC_USW): Remove.
  19009. (UNSPEC_ULD, UNSPEC_USD): Remove.
  19010. (UNSPEC_LWL, UNSPEC_LWR, UNSPEC_SWL, UNSPEC_SWR): New.
  19011. (UNSPEC_LDL, UNSPEC_LDR, UNSPEC_SDL, UNSPEC_SDR): New.
  19012. (extv, extzv): Use mips_expand_unaligned_load.
  19013. (insv): Use mips_expand_unaligned_store. Use a reg_or_0_operand
  19014. predicate for operand 3.
  19015. (movsi_ulw, movsi_usw): Replace with...
  19016. (mov_lwl, mov_lwr, mov_swl, move_swr): ...these new insns.
  19017. (movdi_uld, movdi_usd): Likewise replace with...
  19018. (mov_ldl, mov_ldr, mov_sdl, move_sdr): ...these insns.
  19019. 2003-02-26 Richard Sandiford <rsandifo@redhat.com>
  19020. * config/mips/mips-protos.h (mips_global_pic_constant_p): Declare.
  19021. * config/mips/mips.h (LEA_REGS): New register class.
  19022. (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add entries for it.
  19023. (GR_REG_CLASS_P): Include LEA_REGS.
  19024. (DANGEROUS_FOR_LA25_P): New macro.
  19025. (EXTRA_CONSTRAINT): Add !DANGEROUS_FOR_LA25_P to R's condition.
  19026. Add a T constraint for the DANGEROUS_FOR_LA25_P case.
  19027. * config/mips/mips.c (mips_regno_to_class): Change GR_REGS
  19028. entries to LEA_REGS.
  19029. (mips_global_pic_constant_p): New function.
  19030. (override_options): Add 'e' register constraint.
  19031. (mips_secondary_reload_class): Return LEA_REGS when reloading
  19032. a dangerous constant into a class containing $25.
  19033. * config/mips/mips.md (movdi_internal2): Add an e <- T alternative.
  19034. (movsi_internal): Likewise.
  19035. 2003-02-23 Richard Sandiford <rsandifo@redhat.com>
  19036. * config/mips/mips.h (TARGET_SPLIT_CALLS): New macro.
  19037. * config/mips/mips.md (call_split): New insn.
  19038. (call_value_split, call_value_multiple_split): New insns.
  19039. (call_internal): Turn into a define_insn_and_split. Split the
  19040. instruction into a call and $gp load if TARGET_SPLIT_CALLS.
  19041. (call_value_internal, call_value_multiple_internal): Likewise.
  19042. 2003-02-23 Richard Sandiford <rsandifo@redhat.com>
  19043. * config/mips/mips.c (mips_reloc_string): Return "%got(" for
  19044. RELOC_GOT_PAGE and RELOC_GOT_DISP if !TARGET_NEWABI.
  19045. (mips_encode_section_info): Don't take symbol visibility into
  19046. account if TARGET_ABICALLS. Add more commentary.
  19047. * config/mips/mips.md: Add commentary above reloc constants.
  19048. 2003-02-12 Richard Sandiford <rsandifo@redhat.com>
  19049. * config/mips/mips.c (mips_legitimize_const_move): New, extracted
  19050. from mips_legitimize_move. Legitimize constant pool references.
  19051. (mips_legitimize_move): Call mips_legitimize_const_move. Attach
  19052. a REG_EQUAL note to the last instruction.
  19053. 2003-02-11 Richard Sandiford <rsandifo@redhat.com>
  19054. * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Declare.
  19055. * config/mips/mips.h (TARGET_EXPLICIT_RELOCS, TARGET_NEWABI): New.
  19056. (ASM_SIMPLIFY_DWARF_ADDR): Define to mips_simplify_dwarf_addr.
  19057. (EXTRA_CONSTRAINT): Allow symbolic call addresses for TARGET_ABICALLS.
  19058. * config/mips/mips.md (UNSPEC_HIGH): New constant.
  19059. (UNSPEC_RELOC_GPREL16): Rename to...
  19060. (RELOC_GPREL16): ...this.
  19061. (RELOC_GOT_HI, RELOC_GOT_LO, RELOC_GOT_PAGE, RELOC_GOT_DISP): New.
  19062. (RELOC_CALL16, RELOC_CALL_HI, RELOC_CALL_LO): New.
  19063. (macro_calls): New attribute.
  19064. (length): Use it to set the default length of calls. Don't allow
  19065. calls to have delay slots if macro_calls is "yes".
  19066. (luisi, luidi): New patterns.
  19067. (lowsi, lowdi): Use '%R' to print the relocation.
  19068. (lowdi_extend): Remove.
  19069. (loadgp): Remove mode from operand 0. Use '%0' instead of '%a0'.
  19070. (call_internal): Merge alternatives. Always use "jal".
  19071. (call_value_internal, call_value_multiple_internal): Likewise.
  19072. (reloc_gprel16): Remove.
  19073. * config/mips/mips.c (mips_got_alias_set): New variable.
  19074. (mips_classify_constant): Handle the new relocation constants.
  19075. (mips_classify_symbol): Reverse the sense of SYMBOL_REF_FLAG for PIC.
  19076. (mips_symbolic_address_p): Return false if generating explicit relocs.
  19077. Otherwise allow local PIC symbols to have an offset.
  19078. (mips_splittable_symbol_p): New function.
  19079. (mips_classify_address): Use it to check whether a LO_SUM is valid.
  19080. (mips_const_insns): Always accept HIGH.
  19081. (call_insn_operand): Don't accept global symbols if using explicit
  19082. relocs.
  19083. (move_operand): Don't accept HIGH when generating PIC.
  19084. (mips_reloc, mips_lui_reloc): New functions.
  19085. (mips_force_temporary): Remove MODE argument. Expect VALUE to
  19086. be a valid right-hand-side for a SET pattern.
  19087. (mips_load_got, mips_load_got16, mips_load_got32): New functions.
  19088. (mips_emit_high): New function.
  19089. (mips_legitimize_symbol): Use mips_reloc for the mips16 gp-relative
  19090. case. Use mips_splittable_symbol_p to check whether a LO_SUM
  19091. address should be used. Use mips_emit_high to generate the
  19092. high part of such an address. Adjust the global symbol + offset
  19093. case to match the change to mips_force_temprorary.
  19094. (mips_legitimize_move): Shuffle call to mips_legitimize_symbol.
  19095. If generating explicit-reloc PIC, load the address of global
  19096. symbols from the GOT. Use mips_emit_high to emit the high part
  19097. of an address.
  19098. (mips_simplify_dwarf_addr): New function.
  19099. (mips_move_1word): Use lwc1 instead of l.s and swc1 instead of s.s.
  19100. (mips_move_2words): Likewise ldc1/l.d and sdc1/s.d if TARGET_64BIT.
  19101. (mips_expand_call): Load the addresses of global functions using
  19102. %call* relocs if generating explicit-reloc PIC. Don't generate
  19103. an exception_receiver pattern.
  19104. (override_options): Initialize mips_got_alias_set.
  19105. (print_relocation): Remove in favor of...
  19106. (mips_reloc_string): ...this new function.
  19107. (print_operand): Handle '%R'. Use mips_reloc_string.
  19108. (print_operand_address): Use print_operand to print the symbolic
  19109. part of a LO_SUM address.
  19110. (mips_output_function_prologue): Use .cprestore, reverting last patch.
  19111. (mips_encode_section_info): Factor out DECL_RTL accesses. Reverse
  19112. sense of SYMBOL_REF_FLAG for PIC, using binds_local_p to check
  19113. for local symbols.
  19114. 2003-02-02 Eric Christopher <echristo@redhat.com>
  19115. * config/mips/mips.c (mips_sign_extend): Remove.
  19116. * config/mips/mips-protos.h: Ditto.
  19117. * config/mips/mips.md (movdi_internal2_extend): Remove.
  19118. (extendsidi2): Fix mode of convert_memory_address.
  19119. 2003-01-24 Eric Christopher <echristo@redhat.com>
  19120. * config/mips/mips.md: Rewrite zero_extend* and extend*
  19121. patterns. Use explicit instructions and split after reload
  19122. for register extensions.
  19123. (ashlsi3_internal1_extend): New combiner pattern for
  19124. shift and extend combinations.
  19125. * config/mips/mips.h: Change Pmode back to ptr_mode
  19126. for performance enhancement.
  19127. * combine.c (expand_compound_operation): Make sure
  19128. that zero_extend operation is profitable.
  19129. 2003-01-14 Richard Sandiford <rsandifo@redhat.com>
  19130. * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Make size of stored
  19131. addresses depend on ptr_mode rather than Pmode.
  19132. (TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT): Update acoordingly.
  19133. (INITIALIZE_TRAMPOLINE): Rework to handle Pmode != ptr_mode.
  19134. (CASE_VECTOR_MODE): Use ptr_mode for !TARGET_MIPS16.
  19135. (ASM_OUTPUT_ADDR_VEC_ELT): Update accordingly.
  19136. * config/mips/mips.md (tablejump): Likewise. Remove Pmode
  19137. condition for selecting cpaddsi or cpadddi: use cpadd instead.
  19138. (tablejump_internal1): Remove condition.
  19139. (tablejump_internal2): Change condition to TARGET_64BIT.
  19140. (cpaddsi): Rename to...
  19141. (cpadd): ...this.
  19142. (cpadddi): Remove.
  19143. 2003-01-09 Richard Sandiford <rsandifo@redhat.com>
  19144. * config/mips/mips-protos.h (mips16_constant_after_function_p,
  19145. mips_address_cost, mips_check_split, double_memory_operand,
  19146. mips16_gp_offset, mips16_gp_offset_p, mips16_constant,
  19147. pic_address_needs_scratch, symbolic_operand): Remove declarations.
  19148. (mips_legitimate_address_p): Return bool.
  19149. (mips_address_insns, mips_fetch_insns, mips_const_insns,
  19150. mips_legitimize_address, mips_legitimize_move,
  19151. mips_expand_call): Declare.
  19152. (mips_return_addr): Move outside #ifdef RTX_CODE.
  19153. * config/mips/mips.h (ABI_HAS_64BIT_SYMBOLS): New macro.
  19154. (PIC_FN_ADDR_REG): New reg_class.
  19155. (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add corresponding entries.
  19156. (GR_REG_CLASS_P): True for PIC_FN_ADDR_REG.
  19157. (SMALL_OPERAND, SMALL_OPERAND_UNSIGNED, LUI_OPERAND,
  19158. CONST_HIGH_PART, CONST_LOW_PART, LUI_INT): New macros.
  19159. (SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Use new macros.
  19160. (EXTRA_CONSTRAINTS): Give new meanings to Q, R and S.
  19161. (CONSTANT_ADDRESS_P): Use mips_legitimate_address_p.
  19162. (LEGITIMATE_PIC_OPERAND): Undefine.
  19163. (LEGITIMATE_CONSTANT_P): Use mips_const_insns.
  19164. (LEGITIMIZE_ADDRESS): Use mips_legitimize_address.
  19165. (CONSTANT_AFTER_FUNCTION_P): Remove definition in #if 0 block.
  19166. (FUNCTION_MODE): Change to SImode.
  19167. (CONST_COSTS): Use mips_const_insns to calculate the cost of
  19168. most constants. Treat const_artih_operands specially if they
  19169. occur in a PLUS or MINUS.
  19170. (CONSTANT_POOL_COST): New macro.
  19171. (RTX_COSTS): Use mips_address_insns for MEMs, with a base cost of 2.
  19172. Add LO_SUM handling.
  19173. (ADDRESS_COST): Undefine.
  19174. (PREDICATE_CODES): Add symbolic_operand and const_arith_operand.
  19175. Add CONST to the list of codes for arith_operand. Add LABEL_REF
  19176. to call_insn_operand and remove CONST_INT.
  19177. * config/mips/mips.c: Include integrate.h.
  19178. (SINGLE_WORD_MODE_P): New macro.
  19179. (mips_constant_type, mips_symbol_type, mips_address_type): New enums.
  19180. (mips_constant_info, mips_address_info): New structs.
  19181. (mips_regno_to_class): Map $25 to PIC_FN_ADDR_REG.
  19182. (mips_classify_constant, mips_classify_symbol,
  19183. mips_valid_base_register_p, mips_symbolic_address_p,
  19184. mips_classify_address, mips_symbol_insns,
  19185. mips16_unextended_reference_p, mips_address_insns, mips_const_insns,
  19186. mips_fetch_insns, mips_force_temporary, mips_add_offset,
  19187. mips_legitimize_symbol, mips_legitimize_address, mips_legitimize_move,
  19188. mips_print_relocation): New functions.
  19189. (const_arith_operand): New operand predicate.
  19190. (arith_operand): Use it.
  19191. (mips_const_double_ok, mips16_simple_memory_operand,
  19192. simple_memory_operand, double_memory_operand, mips_check_split,
  19193. mips_address_cost, pic_address_needs_scratch, mips16_gp_offset,
  19194. mips16_gp_offset_p, mips16_output_gp_offset,
  19195. mips16_constant_after_function_p, mips16_constant): Remove.
  19196. (call_insn_operand): Be more fussy about symbolic constants.
  19197. Use register_operand.
  19198. (move_operand): Use mips_symbolic_address_p to check symbolic
  19199. operands and general_operand to check the rest.
  19200. (symbolic_operand): Use mips_classify_constant.
  19201. (mips_legitimate_address_p): Use mips_classify_address.
  19202. (mips_move_1word): Combine handling of symbolic addresses.
  19203. Remove special treatment of gp-relative loads for TARGET_MIPS16.
  19204. (move_move_2words): Likewise. Assume addresses are offsettable
  19205. if they need to refer to more than one word. Add HIGH handling.
  19206. (mips_restore_gp): Use ptr_mode for the GP save slot.
  19207. (mips_expand_call): New function, combining the old mips.md
  19208. call and call_internal define_expands. If the address isn't
  19209. a call_insn_operand, force it into a register. For SVR4 PIC,
  19210. emit an exception_receiver instruction after the call.
  19211. (override_options): Only override flag_pic for TARGET_ABICALLS
  19212. if it is currently zero. Allow mips_split_addresses when
  19213. Pmode == DImode too, except when ABI_HAS_64BIT_SYMBOLS.
  19214. Add new register class letter, 'c'.
  19215. (print_operand): Use mips_classify_constant for constant operands.
  19216. (print_operand_address): Use mips_classify_address.
  19217. (mips_output_function_prologue): Don't use .cprestore.
  19218. (mips_expand_epilogue): For TARGET_MIPS16, only adjust the stack
  19219. via the frame pointer if current_function_calls_eh_return.
  19220. (mips_encode_section_info): For TARGET_ABICALLS, use SYMBOL_REF_FLAG
  19221. to mark whether a symbol is local or global.
  19222. (build_mips16_call_stub): Expect the address of the function rather
  19223. than a MEM reference to it. Update call generation sequences.
  19224. (mips16_optimize_gp): Remove Pmode checks. Temporarily disable
  19225. small-data adjustments.
  19226. * config/mips/mips.md: Remove 'R'/'m' memory distinction. Use default
  19227. length for loads and stores.
  19228. (UNSPEC_CPADD, UNSPEC_RELOC_GPREL16): New constants.
  19229. (define_attr type): Add const and prefetch.
  19230. (define_attr length): Use mips_const_insns for const instructions.
  19231. Use mips_fetch_insns for load and store instructions.
  19232. (define_attr single_insn): New.
  19233. (define_attr can_delay): Use it.
  19234. (define_attr abicalls): Remove.
  19235. (define_delay): Use can_delay. Always allow calls to have delay slots.
  19236. (addsi3_internal_2): Add 'Q' constraint.
  19237. (movsi_ulw, movsi_usw, movdi_uld, movdi_usd): Set length to 8.
  19238. (high): Remove.
  19239. (lowsi): Renamed from low.
  19240. (lowdi): New pattern.
  19241. (movdi, movsi): Use mips_legitimize_move. Remove define_split.
  19242. (lwxc1, ldxc1, swxc1, sdxc1): Set length to 4.
  19243. (loadgp): Change operand 0 to an immediate_operand.
  19244. (tablejump): Use the same patterns for SVR4 PIC but emit a cpadd
  19245. beforehand.
  19246. (cpaddsi, cpadddi): New patterns.
  19247. (tablejump_internal3, tablejump_internal4): Remove define_expands
  19248. and associated define_splits.
  19249. (call, call_value): Use mips_expand_call.
  19250. (call_internal): New, replacing all existing call_internal* insns.
  19251. (call_value_internal): Likewise call_value_internal*.
  19252. (call_value_multiple_internal): Likewise call_value_multiple_internal*.
  19253. (untyped_call): Remove if (operands[0]) magic.
  19254. (prefetch_si_address, prefetch_si): Change type to "prefetch".
  19255. (prefetch_di_address, prefetch_di): Likewise.
  19256. (leasi, leadi): Remove.
  19257. (reloc_gprel16): New.
  19258. * config/mips/5400.md (ir_vr54_hilo): Include const type.
  19259. * config/mips/5500.md (ir_vr55_hilo): Likewise.
  19260. * config/mips/sr71k.md (ir_sr70_hilo): Likewise.
  19261. 2003-01-08 Eric Christopher <echristo@redhat.com>
  19262. * config.gcc (mipsisa32*): Change ABI_MEABI to ABI_EABI.
  19263. * config/mips/elf.h (STARTFILE_SPEC): Remove ABI_MEABI references and
  19264. configure check for libgloss.
  19265. * config/mips/elf64.h: Ditto.
  19266. * config/mips/mips.c: Remove ABI_MEABI.
  19267. * config/mips/mips.h: Ditto.
  19268. 2002-11-05 Richard Sandiford <rsandifo@redhat.com>
  19269. Fix merge fallout.
  19270. * config/mips/mips.md (mul_acc_si): Reapply 2002-10-16 change.
  19271. (muldi3_internal): Remove outdated comment.
  19272. (*muls_di, *umuls_di): Fix comment and 64-bitness.
  19273. (*smsac_di, *umsac_di): Likewise. Reformat.
  19274. (umulsi3_highpart): Minor formatting tweaks.
  19275. (umulsi3_highpart_internal): Use only if !ISA_HAS_MULHI. Remove
  19276. redundant scratch operand. Minor formatting tweak.
  19277. (umulsi3_highpart_mulhi_internal): Use for !TARGET_64BIT as well.
  19278. (umulsi3_highpart_neg_mulhi_internal): Likewise. Fix asm template.
  19279. (smulsi3_highpart): As for the unsigned version.
  19280. (smulsi3_highpart_internal): Likewise.
  19281. (smulsi3_highpart_mulhi_internal): Likewise.
  19282. (smulsi3_highpart_neg_mulhi_internal): Likewise.
  19283. (smuldi3_highpart, umuldi3_highpart): Minor formatting tweaks.
  19284. (*smul_acc_di): Remove duplicated pattern.
  19285. (*umul_acc_di, *smul_acc_di): Reapply 2002-10-16 change.
  19286. (anddi3) [unnamed mips16 pattern]: Remove reintroduced length.
  19287. (zero_extendsidi2_internal2): Remove new, but commented-out pattern.
  19288. 2002-10-22 Eric Christopher <echristo@redhat.com>
  19289. * config/mips/mips-protos.h (mips_return_addr): New.
  19290. * config/mips/mips.c (mips_return_addr): New.
  19291. (movdi_operand): Remove.
  19292. (se_register_operand): Ditto.
  19293. (se_reg_or_0_operand): Ditto.
  19294. (se_uns_arith_operand): Ditto.
  19295. (se_arith_operand): Ditto.
  19296. (se_nonmemory_operand): Ditto.
  19297. (extend_operator): Ditto.
  19298. (highpart_shift_operator): Ditto.
  19299. (mips_initial_elimination_offset): Remove return address pointer
  19300. elimination.
  19301. (mips_reg_names): Remove $ra.
  19302. (mips_regno_to_class): Ditto.
  19303. * config/mips/mips.h (POINTER_SIZE): Define based on TARGET_LONG64
  19304. and TARGET_64BIT.
  19305. (POINTER_BOUNDARY): Remove.
  19306. (POINTERS_EXTEND_UNSIGNED): Define to 0.
  19307. (PROMOTE_MODE): Promote to Pmode.
  19308. (SHORT_IMMEDIATES_SIGN_EXTEND): Define.
  19309. (Pmode): Define to TARGET_64BIT.
  19310. (FUNCTION_MODE): Define as Pmode.
  19311. (mips_args): Remove deleted functions.
  19312. (SIZE_TYPE): Depend on POINTER_SIZE.
  19313. (PTRDIFF_TYPE): Ditto.
  19314. (FIXED_REGISTERS): Fix extra registers.
  19315. (CALL_USED_REGISTERS): Ditto.
  19316. (CALL_REALLY_USED_REGISTERS): Ditto.
  19317. (RAP_REG_NUM): Remove.
  19318. (RETURN_ADDRESS_POINTER_REGNUM): Ditto.
  19319. (RETURN_ADDR_RTX): Define to mips_return_addr.
  19320. (ELIMINABLE_REGS): Remove RETURN_ADDRESS_POINTER_REGNUM.
  19321. (CAN_ELIMINATE): Ditto.
  19322. * config/mips/mips.md: For DImode patterns, take into account
  19323. deletions above. Split mulsidi patterns into sign_extend and
  19324. zero_extend.
  19325. 2002-10-16 Richard Sandiford <rsandifo@redhat.com>
  19326. Michael Meissner <meissner@redhat.com>
  19327. * config/mips/mips.h (ISA_HAS_MACC): True for normal-mode vr4120 code.
  19328. * config/mips/mips.md (mulsi3_mult3): Add a define_peephole2 to
  19329. mop up unnecessarly moves through LO.
  19330. (*mul_acc_si): Remove vr5400 and vr5500 handling from here.
  19331. (*macc): New pattern for ISA_HAS_MACC. Add define_peephole2s to
  19332. change mtlo/macc sequences into mul/add sequences when a three-
  19333. address mul is available.
  19334. (*macc2): New pattern. Add a define_peephole2 to generate it.
  19335. (*mul_sub_si): Fix contraint for operand 5.
  19336. (*muls): Use in 32-bit code as well.
  19337. (*msac): Likewise. Use msub instead of msac in vr5500 code
  19338. if the destination is LO. Remove duplicate define_split.
  19339. (*muls_di): Use only in 32-bit code. Adjust rtl accordingly.
  19340. (*msac_di): Likewise. Fix formatting.
  19341. (smulsi3_highpart, umulsi3_highpart): Use mulhi in 32-bit code too.
  19342. (*xmulsi3_highpart_internal): Use only if !ISA_HAS_MULHI.
  19343. (*xmulsi3_highpart_mulhi): Use even if !TARGET_64BIT.
  19344. (*xmulsi3_neg_highpart_mulhi): Likewise.
  19345. (*mul_acc_64bit_di): Remove.
  19346. (*mul_acc_di): Use only in 32-bit code. Handle ISA_HAS_MACC as well.
  19347. 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
  19348. * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
  19349. * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
  19350. (MULTILIB_DIRNAMES): Remove long32.
  19351. (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
  19352. (MULTILIB_REDUNDANT_DIRS): Remove.
  19353. 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
  19354. * doc/tm.texi (DRIVER_SELF_SPECS): Document.
  19355. * gcc.c (driver_self_specs): New variable.
  19356. (do_self_spec): New function.
  19357. (main): Use it to process driver_self_specs.
  19358. 2002-10-09 Richard Sandiford <rsandifo@redhat.com>
  19359. * config/mips/mips.md (one_cmpldi2): Use only if TARGET_64BIT.
  19360. Remove DImode define_split for !TARGET_64BIT.
  19361. (anddi3): Remove !TARGET_64BIT support from here as well.
  19362. Change operand 2's predicate to se_uns_arith_operand.
  19363. Add constant alternatives to define_insn.
  19364. (iordi3, xordi3, *nordi3): Likewise.
  19365. (anddi3_internal1, xordi3_immed): Remove.
  19366. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  19367. * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
  19368. (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
  19369. * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
  19370. * config/mips/mips.md: Apply same renaming here.
  19371. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  19372. * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
  19373. (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
  19374. * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
  19375. * config/mips/mips.md (define_attr cpu): Remove r4320.
  19376. Remove vr4320 scheduler and uses of TARGET_MIPS4320.
  19377. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  19378. * config/mips/mips.c (mips16_strings): New variable.
  19379. (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
  19380. symbol in mips16_strings. Free the list.
  19381. (mips_encode_section_info): Keep track of local strings.
  19382. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  19383. * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
  19384. (sordered_df, sordered_sf): Remove.
  19385. * config/mips/mips.c (get_float_compare_codes): New fn.
  19386. (gen_int_relational, gen_conditional_move): Use it.
  19387. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  19388. * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
  19389. * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
  19390. * config/mips/mips.c (fcc_register_operand): New function.
  19391. (mips_emit_fcc_reload): New function, extracted from reload_incc.
  19392. (override_options): Allow TFmode values in float registers
  19393. if ISA_HAS_8CC.
  19394. * cnfig/mips/mips.md (reload_incc): Change destination prediate
  19395. to fcc_register_operand. Remove misleading source constraint.
  19396. Use mips_emit_fcc_reload.
  19397. (reload_outcc): Duplicate reload_incc.
  19398. 2003-04-30 Diego Novillo <dnovillo@redhat.com>
  19399. * builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
  19400. 2003-04-30 Geoffrey Keating <geoffk@apple.com>
  19401. * tree-inline.c (inlinable_function_p): Back out last change, it's
  19402. unnecessary.
  19403. 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
  19404. * ggc-page.c (TREE_EXP_SIZE): Define.
  19405. (extra_order_size_table): New entry for expr trees with
  19406. two operands.
  19407. 2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
  19408. * c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
  19409. (c_expand_start_cond): Adjust.
  19410. (c_expand_end_cond): Don't use warning_with_file_and_file.
  19411. (shadow_warning): Likewise.
  19412. 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
  19413. * tree.h (DECL_POINTER_DEPTH): Remove.
  19414. (struct tree_decl): Remove pointer_depth.
  19415. 2003-04-30 Janis Johnson <janis187@us.ibm.com>
  19416. * config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove.
  19417. * config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove.
  19418. (rs6000_xcoff_encode_section_info): Remove.
  19419. (current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug.
  19420. (rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS.
  19421. (small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,):
  19422. Use SYMBOL_REF_FLAGS.
  19423. (rs6000_elf_encode_section_info): Call default_encode_section_info for
  19424. generic flags, use SYMBOL_REF_FLAGS; code cleanups.
  19425. * sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
  19426. (SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New.
  19427. * xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove.
  19428. (ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG.
  19429. 2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
  19430. * diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
  19431. 2003-04-30 Andreas Schwab <schwab@suse.de>
  19432. * doc/extend.texi (Other Builtins): Enclose multiple word data
  19433. type in braces for @deftypefn.
  19434. 2003-04-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  19435. * stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
  19436. * doc/install.texi (--enable-threads): Document "gnat" option.
  19437. 2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
  19438. * diagnostic.h (output_formatted_scalar): Tweak.
  19439. * diagnostic.c (output_long_decimal): Likewise.
  19440. (output_unsigned_decimal): Likewise.
  19441. (output_long_unsigned_decimal): Likewise.
  19442. (output_octal): Likewise.
  19443. (output_long_octal): Likewise.
  19444. (output_hexadecimal): Likewise.
  19445. (output_long_hexadecimal): Likewise.
  19446. (output_pointer): New function.
  19447. (output_format): Use it. Recognize "%p" format specifier.
  19448. 2003-04-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  19449. * function.c (purge_addressof_1): Postpone insn in fewer cases.
  19450. 2003-04-29 Geoffrey Keating <geoffk@apple.com>
  19451. * config/rs6000/host-darwin.c (segv_handler): When -dH is used,
  19452. call abort() after running out of stack space.
  19453. * c-typeck.c (function_types_compatible_p): Ignore incompatible
  19454. 'volatile' qualifiers on a function's return type in GNU mode.
  19455. 2003-04-29 Aldy Hernandez <aldyh@redhat.com>
  19456. * expr.c (emit_group_load): Dump parallels of simd types to
  19457. memory.
  19458. 2003-04-29 Vladimir Makarov <vmakarov@redhat.com>
  19459. * genautomata.c (add_vect): Check undefined value for range type
  19460. too.
  19461. 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
  19462. * configure.in: More general test for cmp --ignore-initial.
  19463. * configure: Regenerate.
  19464. 2003-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  19465. * stor-layout.c (mode_for_size_tree): Use tree_low_cst.
  19466. (layout_decl, place_field): Likewise.
  19467. Also make minor type and whitespace changes.
  19468. * tree.c (save_expr): Don't fold a COMPONENT_REF.
  19469. 2003-04-29 Olivier Hainque <hainque@act-europe.fr>
  19470. * calls.c (expand_call): When modes of target and valreg match, force
  19471. sibcall failure when target is a MEM.
  19472. 2003-04-29 Geoffrey Keating <geoffk@apple.com>
  19473. * tree-inline.c (inlinable_function_p): Don't support inlining
  19474. functions using varargs.
  19475. * doc/invoke.texi (Overall Options): Mention -x objective-c-header.
  19476. * dwarf2out.c (output_call_frame_info): No need to output EH
  19477. unwind information if all_throwers_are_sibcalls.
  19478. * c-semantics.c (expand_unreachable_stmt): Return a tree.
  19479. (expand_stmt): Update for change to expand_unreachable_stmt.
  19480. (expand_unreachable_if_stmt): Likewise.
  19481. * Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
  19482. 2003-04-29 Jason Merrill <jason@redhat.com>
  19483. PR middle-end/10336
  19484. * jump.c (never_reached_warning): Really stop looking if we reach
  19485. the beginning of the function.
  19486. 2003-04-29 Bob Wilson <bob.wilson@acm.org>
  19487. * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX):
  19488. Remove redundant macros.
  19489. (WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int".
  19490. (LOCAL_LABEL_PREFIX): Define unconditionally.
  19491. (NO_DOT_IN_LABEL): Clarify comment.
  19492. * config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit
  19493. definition to "long int".
  19494. 2003-04-29 Alexander Kabaev <kan@FreeBSD.ORG>
  19495. bootstrap/10452
  19496. * gengtype-yacc.y: Improve portability.
  19497. 2003-04-29 Zack Weinberg <zack@codesourcery.com>
  19498. * config.gcc: Install obsolete target list for GCC 3.3.
  19499. * doc/install.texi: Mention in specific-target instructions
  19500. that certain configurations are deprecated.
  19501. 2003-04-29 Zack Weinberg <zack@codesourcery.com>
  19502. * tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.
  19503. 2003-04-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
  19504. * c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
  19505. * gcc.c (display_help): Likewise.
  19506. * toplev.c (f_options): Likewise.
  19507. * params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
  19508. * config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
  19509. * config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
  19510. * config/s390/s390.h (TARGET_SWITCHES): Likewise.
  19511. * config/v850/v850.h (TARGET_SWITCHES): Likewise.
  19512. 2003-04-29 J"orn Rennecke <joern.rennecke@superh.com>
  19513. * varasm.c (default_assemble_visibility): Use assemble_name.
  19514. 2003-04-29 David O'Brien <obrien@FreeBSD.org>
  19515. * config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
  19516. * config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
  19517. (SIZE_TYPE): New macro.
  19518. * config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
  19519. (SET_ASM_OP): New macro.
  19520. (HANDLE_SYSV_PRAGMA): New macro.
  19521. (ASM_WEAKEN_LABEL): New macro.
  19522. 2003-04-28 Mark Mitchell <mark@codesourcery.com>
  19523. PR c++/10180
  19524. * tree-inline.c (expand_call_inline): Call push_srcloc when
  19525. encountering EXPR_WITH_FILE_LOCATION. Honor warn_inline.
  19526. 2003-04-28 Mike Stump <mrs@apple.com>
  19527. * gdbinit.in: Update to reflect new identifier structure.
  19528. 2003-04-28 Zack Weinberg <zack@codesourcery.com>
  19529. * tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
  19530. (struct tree_int_cst, struct tree_real_cst, struct tree_string,
  19531. struct tree_complex, struct tree_vector): Remove RTL field.
  19532. (CONSTRUCTOR_ELTS): Use elt 0.
  19533. * tree.def (CONSTRUCTOR): Delete first of its two operands.
  19534. * varasm.c (output_constant_def): Remove early exit if
  19535. TREE_CST_RTL is set. Don't set TREE_CST_RTL.
  19536. (decode_addr_const): Don't mention TREE_CST_RTL in comment.
  19537. * target.h (select_section): Don't mention TREE_CST_RTL in comment.
  19538. * doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.
  19539. 2003-04-28 Jakub Jelinek <jakub@redhat.com>
  19540. * c-decl.c (finish_decl): When prototype with asmspec is found
  19541. for built-in, adjust built_in_decls as well as expr.c decls.
  19542. * expr.c (init_block_move_fn, init_block_clear_fn): New functions.
  19543. (emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
  19544. * expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.
  19545. 2003-04-28 Richard Henderson <rth@redhat.com>
  19546. * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
  19547. * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
  19548. integral constant mult operand.
  19549. (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
  19550. (const_smulsi3_highpart_v8plus): Likewise.
  19551. (const_smulsi3_highpart): Likewise.
  19552. (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
  19553. (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
  19554. (const_umulsi3_highpart_v8plus): Likewise.
  19555. (const_umulsi3_highpart): Likewise.
  19556. 2003-04-28 David O'Brien <obrien@FreeBSD.org>
  19557. * config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE):
  19558. Define as 1.
  19559. 2003-04-28 David O'Brien <obrien@FreeBSD.org>
  19560. * config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.
  19561. 2003-04-28 Jakub Jelinek <jakub@redhat.com>
  19562. * builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
  19563. * builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
  19564. * builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
  19565. functions.
  19566. (expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.
  19567. 2003-04-28 Nick Clifton <nickc@redhat.com>
  19568. * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.
  19569. 2003-04-27 Zack Weinberg <zack@codesourcery.com>
  19570. * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
  19571. output_constant_def, use its result instead of TREE_CST_RTL (exp).
  19572. Can assume it has the form (mem (symbol_ref ".LCxxx")).
  19573. (expand_expr <COMPONENT_REF>): Can always just extract the
  19574. relevant field of a CONSTRUCTOR.
  19575. (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF,
  19576. ARRAY_RANGE_REF>): Make control flow explicit.
  19577. * varasm.c (output_constant_def): Can look at TREE_CST_RTL of
  19578. an INTEGER_CST.
  19579. 2003-04-27 Kazu Hirata <kazu@cs.umass.edu>
  19580. * reload1.c (reg_set_luid): Fix a comment typo.
  19581. 2003-04-27 Zack Weinberg <zack@codesourcery.com>
  19582. * varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
  19583. struct deferred_string, const_str_htab): Kill.
  19584. (n_deferred_strings): New static variable.
  19585. (build_constant_desc): Set SYMBOL_REF_DECL of the new
  19586. symbol_ref to point to the constant.
  19587. (output_constant_def): When a deferred string is forced out,
  19588. just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings.
  19589. (mark_constant): Likewise.
  19590. (maybe_output_constant_def_contents): When deferring a string
  19591. constant, just set STRING_POOL_ADDRESS_P and increment
  19592. n_deferred_strings.
  19593. (mark_constant_pool): Check n_deferred_strings, not the size
  19594. of const_str_htab.
  19595. (init_varasm_once): No need to create const_str_htab.
  19596. * rtl.def, rtl.h, doc/rtl.texi: Document possibility that
  19597. SYMBOL_REF_DECL points to a constant.
  19598. 2003-04-26 Zack Weinberg <zack@codesourcery.com>
  19599. * varasm.c (output_constant_def): Split out two new static
  19600. functions, build_constant_desc and maybe_output_constant_def_contents.
  19601. Restructure for comprehensibility. Don't call
  19602. output_addressed_constants. Treat defstr being non-NULL for
  19603. STRING_POOL_ADDRESS_P constants as an invariant.
  19604. (struct deferred_string): Remove labelno field.
  19605. (output_constant_def_contents): Kill labelno argument. Call
  19606. output_addressed_constants here. Use ASM_OUTPUT_LABEL, not
  19607. asm_out.internal_label.
  19608. (mark_constant): Update call to output_constant_def_contents.
  19609. Treat defstr being non-NULL for STRING_POOL_ADDRESS_P
  19610. constants as an invariant.
  19611. 2003-04-26 Richard Henderson <rth@redhat.com>
  19612. * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
  19613. (ix86_expand_call, ix86_rtx_consts): Likewise.
  19614. 2003-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  19615. * doc/md.texi (cmpstr): Document additional restrictions.
  19616. 2003-04-26 Neil Booth <neil@daikokuya.co.uk>
  19617. * flags.h (time_report): Remove.
  19618. * timevar.c (timevar_enable): New.
  19619. (TIMEVAR_ENABLE): Remove, use timevar_enable.
  19620. (timevar_init): Rename from init_timevar.
  19621. * timevar.h (timevar_init): Rename from init_timevar.
  19622. * toplev.c (time_report): Make static.
  19623. (do_compile): Conditionally call init_timevar first.
  19624. (preprocess_options): Move some code to do_compile.
  19625. 2003-04-26 Stephane Carrez <stcarrez@nerim.fr>
  19626. * doc/install.texi (Binaries): Mention binaries for HC11/HC12.
  19627. 2003-04-26 Neil Booth <neil@daikokuya.co.uk>
  19628. * _cpp_lex_direct: Remove pointless code.
  19629. 2003-04-26 Stephane Carrez <stcarrez@nerim.fr>
  19630. * doc/extend.texi (Function Attributes): Document "near" and "far"
  19631. for 68HC11 and 68HC12.
  19632. 2003-04-25 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  19633. * expr.c (store_field): When making temporary for store, don't
  19634. make it TYPE_QUAL_CONST.
  19635. 2003-04-25 Phil Edwards <pme@gcc.gnu.org>
  19636. * toplev.c (read_integral_parameter): Use "argument" in error
  19637. message to distinguish it from actual invalid options.
  19638. 2003-04-25 Bob Wilson <bob.wilson@acm.org>
  19639. * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
  19640. addition of __PIC__ and __pic__ macros.
  19641. * config/xtensa/xtensa.h: Clean up indentation.
  19642. 2003-04-25 Bob Wilson <bob.wilson@acm.org>
  19643. * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
  19644. _GNU_SOURCE. Add definitions of __PIC__ and __pic__.
  19645. (SUBTARGET_CPP_SPEC): Define.
  19646. (LIB_SPEC): Delete.
  19647. * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete.
  19648. * config/xtensa/xtensa.c (xtensa_declare_object): Delete.
  19649. * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS):
  19650. Define.
  19651. (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
  19652. (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define.
  19653. 2003-04-25 H.J. Lu <hjl@gnu.org>
  19654. * config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
  19655. for return mode.
  19656. (ia64_expand_builtin): Set rmode to SImode for
  19657. IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
  19658. IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
  19659. IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
  19660. for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.
  19661. 2003-04-25 Phil Edwards <pme@gcc.gnu.org>
  19662. * configure.in (make_compare_target): Test for GNU cmp and set this
  19663. variable appropriately.
  19664. * Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean,
  19665. compare4-lean): Rename actual targets to slowcompare*. New compare*
  19666. targets depend on names based on make_compare_target.
  19667. * configure: Regenerated.
  19668. 2003-04-25 Richard Henderson <rth@redhat.com>
  19669. * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
  19670. to clobber ar.pfs and ar.unat.
  19671. (ia64_expand_prologue): Force alloc instruction if ar.pfs saved;
  19672. fix test for spilling ar.pfs to the stack.
  19673. 2003-04-25 Richard Henderson <rth@redhat.com>
  19674. PR opt/10315
  19675. * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper
  19676. checks during reload; use validize_mem instead of adjust_address.
  19677. 2003-04-26 Ben Elliston <bje@wasabisystems.com>
  19678. * config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
  19679. return values from recog_memoized().
  19680. 2003-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  19681. PR opt/8705
  19682. * gcse.c (try_replace_reg): On a successful substitution of a constant
  19683. into a single set, try to simplify the source of the set.
  19684. * loop.c (scan_loop): Don't try to optimize a MODE_CC set with a
  19685. constant source.
  19686. 2003-04-24 Neil Booth <neil@daikokuya.co.uk>
  19687. * cpplex.c (cpp_token_len): Tighten up.
  19688. (cpp_token_as_text): Need extra byte now.
  19689. * cpplib.c (glue_header_name): Need extra 2 bytes.
  19690. * cppmacro.c (cpp_macro_definition): Need extra byte.
  19691. 2003-04-24 Alexander Kabaev <kan@FreeBSD.ORG>
  19692. * config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
  19693. const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
  19694. where they might be not present. Use their _sp64 equivalent
  19695. instead.
  19696. Thu Apr 24 20:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
  19697. * i386.md (cvtsi2sdq): Fix typo in previous patch.
  19698. 2003-04-24 Krister Walfridsson <cato@df.lth.se>
  19699. * configure.in: Check whether mbstowcs works.
  19700. * configure, config.in: Regenerate.
  19701. * intl.c: Use HAVE_WORKING_MBSTOWCS.
  19702. 2003-04-24 H.J. Lu <hjl@gnu.org>
  19703. * config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di
  19704. for __sync_bool_compare_and_swap_di for int return type.
  19705. * config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di):
  19706. Change return type to int.
  19707. (__sync_bool_compare_and_swap): Likewise.
  19708. Thu Apr 24 16:55:26 CEST 2003 Jan Hubicka <jh@suse.cz>
  19709. * cfgbuild.c (make_edges): Do not use next_nonnote_insn when
  19710. looking for fallthru edge.
  19711. * athlon.md (athlon-agu, athlon-store, athlon-fany, athlon-faddmul):
  19712. Fix.
  19713. (athlon-load2, athlon-store2, athlon-fpsched, athlon-fpload,
  19714. athlon-fvector): New.
  19715. (athlon_*): Revisit to match new optimization guide.
  19716. * i386.c (ix86_adjust_cost): Fix memory operand costs on Athlon/k8
  19717. * i386.md (cvt??2?? patterns): Fix modes.
  19718. (fistp patterns): Set modes.
  19719. Accidentaly commited with my earlier reload patch:
  19720. PR c/10308
  19721. * reload.c (find_reloads_address_1): Reload plus at the place of
  19722. index register.
  19723. 2003-04-24 Nathan Sidwell <nathan@codesourcery.com>
  19724. New GCOV_TAG_FUNCTION layout
  19725. * coverage.c (struct function_list): Replace name with ident.
  19726. (struct counts_entry): Likewise.
  19727. (fn_ident): New.
  19728. (htab_counts_entry_hash, htab_counts_entry_eq,
  19729. htab_counts_entry_del): Adjust.
  19730. (reads_count_file, get_coverage_counts,
  19731. coverage_begin_output, coverage_end_function): Adjust.
  19732. (build_fn_info_type, build_fn_info_value): Likewise.
  19733. * gcov-dump.c (tag_function): Adjust.
  19734. * gcov-io.c (gcov_write_string, gcov_read_string): Not in LIBGCOV.
  19735. * gcov-io.h (gcov_write_string, gcov_read_string): Not in LIBGCOV.
  19736. * gcov.c (struct function_info): Add ident.
  19737. (read_graph_file, read_count_file): Adjust.
  19738. * libgcov.c (gcov_exit): Adjust.
  19739. 2003-04-23 Richard Henderson <rth@redhat.com>
  19740. PR opt/8300
  19741. * toplev.c (rest_of_compilation): Delay no_new_pseudos until
  19742. after initialize_uninitialized_subregs; update reg info assuming
  19743. new pseudos were created.
  19744. 2003-04-23 Neil Booth <neil@daikokuya.co.uk>
  19745. * Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update.
  19746. * c-lex.c (MULTIBYTE_CHARS): Remove conditionals.
  19747. (lex_string): Take cpp_string with full spelling.
  19748. (cb_ident): Update.
  19749. (c_lex): Update diagnostics.
  19750. * cpplex.c (SPELL_NUMBER, SPELL_STRING): Combine into SPELL_LITERAL.
  19751. (create_literal): New.
  19752. (lex_string): Unterminated literals have type CPP_OTHER.
  19753. (_cpp_lex_direct): Update calls to lex_string. Use create_literal
  19754. for CPP_OTHER.
  19755. (cpp_token_len, cpp_spell_token, cpp_output_token): Simplify.
  19756. (_cpp_equiv_tokens, cpp_interpret_charconst): Update.
  19757. * cpplib.c (parse_include, do_line, do_linemarker,
  19758. destringize_and_run): Update for token storing full spelling.
  19759. * cpplib.h: Update token spelling types.
  19760. * cppmacro.c (stringify_arg, check_trad_stringification):
  19761. Update for token storing full spelling.
  19762. 2003-04-23 Ulrich Weigand <uweigand@de.ibm.com>
  19763. * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
  19764. 2003-04-23 Richard Earnshaw <rearnsha@arm.com>
  19765. * arm.h (TARGET_OPTIONS): Add value field.
  19766. 2003-04-23 Mark Mitchell <mark@codesourcery.com>
  19767. * doc/extend.texi: Remove duplicate 2003 copyright date.
  19768. 2003-04-23 Nathan Sidwell <nathan@codesourcery.com>
  19769. * Makefile.in (LIBGCC_DEPS): Add gcov headers.
  19770. (libgcov.a): Depends on LIBGCC_DEPS.
  19771. * basic-block.h (profile_info): Moved here from coverage.h. Made
  19772. a pointer.
  19773. * coverage.c (struct function_list): Fixed array of counter types.
  19774. (struct counts_entry): Keyed by counter type, contains summary.
  19775. (profile_info): Moved to profile.c.
  19776. (prg_ctr_mask, prg_n_ctrs, fn_ctr_mask, fn_n_ctrs): New global
  19777. vars.
  19778. (profiler_label): Remove.
  19779. (ctr_labels): New.
  19780. (set_purpose, label_for_tag, build_counter_section_fields,
  19781. build_counter_section_value, build_counter_section_data_fields,
  19782. build_counter_section_data_values, build_function_info_fields,
  19783. build_function_info_value, gcov_info_fields, gcov_info_value): Remove.
  19784. (build_fn_info_type, build_fn_info_value, build_ctr_info_type,
  19785. build_ctr_info_value, build_gcov_info): New.
  19786. (htab_counts_entry_hash, htab_counts_entry_eq): Adjust.
  19787. (reads_counts_file): Adjust.
  19788. (get_coverage_counts): Takes counter number. Add summary
  19789. parameter. Adjust.
  19790. (coverage_counter_ref): Tkaes counter number. Adjust. Lazily
  19791. create counter array labels.
  19792. (coverage_end_function): Adjust.
  19793. (create_coverage): Adjust.
  19794. (find_counters_section): Remove.
  19795. * coverage.h (MAX_COUNTER_SECTIONS): Remove.
  19796. (struct section_info, struct profile_info): Remove.
  19797. (profile_info): Moved to basic-block.h.
  19798. (coverage_counter_ref): Takes a counter number.
  19799. (get_coverage_counts): Takes a counter number. Added summary
  19800. parameter.
  19801. (find_counters_section): Remove.
  19802. * gcov-dump.c (tag_arc_counts): Rename to ...
  19803. (tag_counters): ... here. Adjust.
  19804. (tag_table): Move tag_counters to 3rd entry. Remove
  19805. PROGRAM_PLACEHOLDER and PROGRAM_INCORRECT entries.
  19806. (dump_file): Check for counter tag values here.
  19807. (tag_summary): Adjust.
  19808. * gcov-io.c (gcov_write_summary, gcov_read_summary): Adjust.
  19809. * gcov-io.h (GCOV_LOCKED): New.
  19810. (GCOV_TAG_ARC_COUNTS): Rename to ...
  19811. (GCOV_TAG_COUNTS_BASE): ... here.
  19812. (GCOV_TAG_PLACEHOLDER_SUMMARY, GCOV_TAG_INCORRECT_SUMMARY):
  19813. Remove.
  19814. (GCOV_COUNTER_ARCS, GCOV_COUNTERS, GCOV_NAMES): New.
  19815. (GCOV_TAG_FOR_COUNTER, GCOV_COUNTER_FOR_TAG,
  19816. GCOV_TAG_IS_COUNTER): New.
  19817. (struct gcov_ctr_summary): New.
  19818. (struct gcov_summary): Adjust.
  19819. (struct gcov_counter_section): Remove.
  19820. struct gcov_counter_section_data): Remove.
  19821. (struct gcov_function_info): Rename to ...
  19822. (struct gcov_fn_info): ... here. Adjust.
  19823. (struct gcov_ctr_info): New.
  19824. (struct gcov_info): Adjust.
  19825. * gcov.c (read_count_file): Adjust.
  19826. (output_lines): Adjust.
  19827. * libgcov.c (gcov_exit): Adjust.
  19828. (__gcov_flush): Adjust.
  19829. * mklibgcc.in (libgcc2_c_dep): Add gcov headers.
  19830. * predict.c (maybe_hot_bb_p, probably_cold_bb_p,
  19831. probably_never_executed_bb_p, compute_frequency_function): Adjust
  19832. profile_info use.
  19833. * profile.c (struct counts_entry): Remove.
  19834. (profile_info): Define here.
  19835. (get_exec_counts): Adjust get_coverage_counts call.
  19836. (compute_branch_probablilities): Remove find_counters_section
  19837. call.
  19838. (gen_edge_profiler): Adjust coverage_counter_ref call.
  19839. * tracer.c (tail_duplicate): Adjust profile_info use.
  19840. 2003-04-23 Roger Sayle <roger@eyesopen.com>
  19841. PR optimization/10339
  19842. * builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn
  19843. directly instead of unsafely transforming call into a memcmp.
  19844. (expand_builtin_strncmp): Likewise.
  19845. 2003-04-22 Roger Sayle <roger@eyesopen.com>
  19846. * alias.c (mark_constant_function): Check for constancy and
  19847. purity even of void functions. Update both the function decl
  19848. and the cgraph RTL info with the results.
  19849. 2003-04-22 Roger Sayle <roger@eyesopen.com>
  19850. * real.c (do_add): Change to return a bool indicating that the
  19851. result of the operation may be inexact due to loss of precision.
  19852. (do_multiply): Likewise.
  19853. (do_divide): Likewise.
  19854. 2003-04-22 Geoffrey Keating <geoffk@apple.com>
  19855. Loren James Rittle <ljrittle@acm.org>
  19856. * dwarf2out.c (fde_table_allocated): Mark with GTY.
  19857. (decl_die_table_allocated): Likewise.
  19858. (abbrev_die_table_allocated): Likewise.
  19859. (line_info_table_allocated): Likewise.
  19860. (separate_line_info_table_allocated): Likewise.
  19861. (pubname_table_allocated): Likewise.
  19862. (arange_table_allocated): Likewise.
  19863. (ranges_table_allocated): Likewise.
  19864. (decl_die_table_in_use): Unconditionalize; mark with GTY.
  19865. (abbrev_die_table_in_use): Likewise.
  19866. (line_info_table_in_use): Likewise.
  19867. (separate_line_info_table_in_use): Likewise.
  19868. (pubname_table_in_use): Likewise.
  19869. (arange_table_in_use): Likewise.
  19870. (ranges_table_in_use): Likewise.
  19871. (have_location_lists): Likewise.
  19872. (emitcount): New GTY-marked static, moved...
  19873. (maybe_emit_file): ...from here.
  19874. (label_num): New GTY-marked static, moved...
  19875. (gen_internal_sym): ...from here.
  19876. 2003-04-22 Richard Henderson <rth@redhat.com>
  19877. PR 8866
  19878. * rtl.h (MEM_NOTRAP_P): New.
  19879. (MEM_COPY_ATTRIBUTES): Copy it.
  19880. * rtlanal.c (may_trap_p): Check it.
  19881. * expr.c (do_tablejump): Set it.
  19882. * doc/rtl.texi (Flags): Document it.
  19883. * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes.
  19884. 2003-04-22 Olivier Hainque <hainque@act-europe.fr>
  19885. * config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't
  19886. set FRP on stack adjustment for outgoing args if frame_pointer_needed.
  19887. 2003-04-22 Vincent Celier <celier@gnat.com>
  19888. * gthr-gnat.h, gthr-gnat.c: new sources for implementation of
  19889. --enable-threads=gnat.
  19890. * Makefile.in: Add gthr-gnat.c to LIB2ADDEH.
  19891. * configure.in: Add gnat to the list of thread packages
  19892. * configure: Rebuild.
  19893. * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP
  19894. 2003-04-22 Neil Booth <neil@daikokuya.co.uk>
  19895. * cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
  19896. 2003-04-22 Devang Patel <dpatel@apple.com>
  19897. * cpptrad.c (_cpp_replacement_text_len): Add check for macro
  19898. parameter count.
  19899. (_cpp_copy_replacement_text): Same.
  19900. 2003-04-22 Neil Booth <neil@daikokuya.co.uk>
  19901. * c-lex.c (c_lex): Handle CPP_OTHER differently.
  19902. * cppexp.c (_cpp_parse_expr): Similarly.
  19903. * cpplex.c (SPELL_CHAR): Remove.
  19904. (_cpp_lex_direct): Stray chars are saved as byte strings.
  19905. (cpp_spell_token, cpp_output_token, _cpp_equiv_token): Don't
  19906. handle SPELL_CHAR.
  19907. (cpp_avoid_paste): Update handling of CPP_OTHER.
  19908. * cpplib.h: Spell CPP_OTHER like a number.
  19909. (struct cpp_token): Remove member c.
  19910. * cppmacro.c (stringify_arg): Update handling of CPP_OTHER.
  19911. 2003-04-22 David Turner <novalis@gnu.org>
  19912. * gbl-ctors.h: Add special license exception.
  19913. * libgcc2.h: Likewise.
  19914. * tsystem.h: Likewise.
  19915. * gcov-io.h: Likewise.
  19916. 2003-04-22 David Edelsohn <edelsohn@gnu.org>
  19917. * fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT
  19918. macro defaulting to original BRANCH_COST heuristic.
  19919. * doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document.
  19920. * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define.
  19921. 2003-04-22 Aldy Hernandez <aldyh@redhat.com>
  19922. * config/rs6000/t-spe: Merge in t-fprules into file.
  19923. * config.gcc: Add t-spe to powerpc-eabispe.
  19924. 2003-04-22 Kean Johnston <jkj@sco.com>
  19925. * tlink.c (recompile_files): Add missing '=' to putenv calls
  19926. 2003-04-22 Nathan Sidwell <nathan@codesourcery.com>
  19927. * ginclude/stddef.h: Provide C++ safe offsetof.
  19928. 2003-04-22 J"orn Rennecke <joern.rennecke@superh.com>
  19929. * function.c (purge_addressof_1): In (mem (addressof (reg))) case
  19930. for reg notes, if there are no substitutions, just use a SUBREG.
  19931. 2003-04-21 Mark Mitchell <mark@codesourcery.com>
  19932. * Makefile.in (calls.o): Depend on except.h.
  19933. * calls.c: Include except.h.
  19934. (emit_call_1): Call note_eh_region_may_contain_throw if
  19935. appropriate.
  19936. * except.c (eh_region): Add may_contain_throw.
  19937. (expand_eh_region_end_cleanup): Do not include handler code when
  19938. it cannot be reached.
  19939. (note_eh_region_may_contain_throw): New function.
  19940. * except.h (note_eh_region_may_contain_throw): New function.
  19941. 2003-04-21 Mark Mitchell <mark@codesourcery.com>
  19942. * config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous
  19943. changes.
  19944. 2003-04-21 Aldy Hernandez <aldyh@redhat.com>
  19945. * config/rs6000/rs6000.c (rs6000_override_options): No SPE means
  19946. 64-bit long doubles.
  19947. 2003-04-21 Olivier Hainque <hainque@act-europe.fr>
  19948. * fold-const.c (fold, case PLUS_EXPR and case MULT_EXPR): Restore
  19949. a number of conversions required for type consistency and previously
  19950. stripped off by STRIP_NOPS.
  19951. * calls.c (expand_call): Prevent sibcall optimization for calls to
  19952. nested subprograms.
  19953. * expmed.c (extract_bit_field): Reverse operands of && condition to
  19954. prevent a potential division by zero in the previously first branch.
  19955. * config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero.
  19956. 2003-04-21 Joel Brobecker <brobecker@gnat.com>
  19957. * dwarf2out.c (is_ada, is_ada_subrange_type): New functions.
  19958. (subrange_type_die): Likewise.
  19959. (modified_type_die): Emit a subrange_type DIE for Ada subrange types.
  19960. (is_c_family, is_cxx, is_java, is_fortran): Return bool and clean up.
  19961. 2003-04-21 Nathan Sidwell <nathan@codesourcery.com>
  19962. Break out coverage routines to new file.
  19963. * Makefile.in (COVERAGE_H): New variable
  19964. (C_OBJS): Add coverage.o
  19965. (coverage.o): New target.
  19966. (profile.o, loop-init.o, sched-ebb.o, predict.o, tracer.o): Adjust
  19967. dependencies.
  19968. (GTFILES): Adjust.
  19969. (gt-coverage.h): New target.
  19970. (gt-profile.h): Remove.
  19971. * profile.h: Remove. Move to ...
  19972. * coverage.h: ... here. New. #include gcov-io.h.
  19973. * gcov-io.h: Move function definitions to ...
  19974. * gcov-io.c: ... here. New.
  19975. * profile.c: Move coverage routines to coverage.c.
  19976. (instrument_edges, get_exec_counts, branch_prob, init_branch_prob,
  19977. end_branch_prob): Adjust.
  19978. * coverage.c: New. Coverage routines from profile.c
  19979. (coverage_counter_ref, coverage_init, coverage_finish,
  19980. coverage_end_function, coverage_begin_output,
  19981. coverage_counter_ref, get_coverage_counts): Define.
  19982. * gcov-dump.c, gcov.c: #include gcov-io.c.
  19983. * libgcov.c: Likewise. Adjust.
  19984. * loop-init.c: Don't #include profile.h
  19985. * tracer.c, predict.c, sched-ebb.c: Adjust #includes.
  19986. * rtl.h: Add coverage prototypes.
  19987. * toplev.c (compile_file): Init coverage, not branch_prob.
  19988. Always call coverage_finish.
  19989. (rest_of_compilation): Call coverage_end_function.
  19990. 2003-04-21 Matt Kraai <kraai@alumni.cmu.edu>
  19991. * config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.
  19992. 2003-04-21 Neil Booth <neil@daikokuya.co.uk>
  19993. * c-ppoutput.c (cb_include): Don't take a cpp_token.
  19994. * cppfiles.c: Don't undef strcmp.
  19995. (find_include_file): Don't take a cpp_token. Check for empty
  19996. file names.
  19997. (_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token.
  19998. (cpp_push_include): Simplify.
  19999. * cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update.
  20000. * cpplib.c (glue_header_name): Return the file name, not a cpp_token.
  20001. (parse_include): Similary. Don't check for zero-length filenames.
  20002. (do_include_common, do_pragma_dependency): Update accordingly.
  20003. * cpplib.h (struct cpp_callbacks): Change prototype of include.
  20004. 2003-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20005. * doc/rtl.texi (RTX_UNCHANGING_P): Point to true_dependence for
  20006. details of conflict handling.
  20007. * fold-const.c (extract_muldiv, case CONVERT_EXPR): Detect case
  20008. when conversion overflows.
  20009. * stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.
  20010. * expr.c (store_constructor): Set RTX_UNCHANGING_P if readonly_field_p
  20011. before clearing.
  20012. 2003-04-21 Mark Mitchell <mark@codesourcery.com>
  20013. * config/i386/winnt.c (i386_pe_mark_dllimport): Make the new RTL
  20014. have the same form as the old RTL.
  20015. 2003-04-21 Andreas Jaeger <aj@suse.de>
  20016. * cppcharset.c (_cpp_valid_ucn): Cast field precision to int.
  20017. 2003-04-20 Chris Lattner <sabre@nondot.org>
  20018. Zack Weinberg <zack@codesourcery.com>
  20019. * c-common.h, c-semantics.c: Rename genrtl_decl_cleanup to
  20020. genrtl_cleanup_stmt. Correct comment at head of
  20021. genrtl_cleanup_stmt (no such thing as a DECL_CLEANUP).
  20022. * stmt.c (struct nesting): Kill n_function_calls.
  20023. (expand_start_bindings): Don't set
  20024. thisblock->data.block.n_function_calls.
  20025. (expand_end_bindings): Compare function_call_count against 0.
  20026. (expand_cleanups): Kill DONT_DO argument; all callers passed
  20027. NULL_TREE. All callers updated to match.
  20028. 2003-04-20 Zack Weinberg <zack@codesourcery.com>
  20029. * varasm.c (struct deferred_constant, defer_addressed_constants_flag)
  20030. (defer_addressed_constants, output_deferred_addressed_constants): Kill.
  20031. (output_constant_def): Remove code predicated on
  20032. defer_addressed_constants_flag.
  20033. * output.h: Remove prototypes of deleted functions.
  20034. * c-typeck.c (constructor_subconstants_deferred): Kill.
  20035. (struct initializer_stack): Remove 'deferred' field.
  20036. (start_init): Remove all references to the above.
  20037. (finish_init): Likewise. Also remove never-executed call to
  20038. output_deferred_addressed_constants. Pull assignment to
  20039. defstr out of if expression.
  20040. 2003-04-20 Neil Booth <neil@daikokuya.co.uk>
  20041. * cpphash.h (NOTE_ESC_NL, NOTE_ESC_SPACE_NL, NOTE_TRIGRAPH,
  20042. NOTE_NEWLINE): Remove.
  20043. * cpplex.c (_cpp_clean_line, _cpp_process_line_notes): Update
  20044. to handle new form of line note type.
  20045. 2003-04-20 Zack Weinberg <zack@codesourcery.com>
  20046. * target.h (encode_section_info): Add new argument carrying
  20047. the RTL to be modified by the hook.
  20048. * varasm.c (make_decl_rtl, output_constant_def): Update calls
  20049. to encode_section_info.
  20050. (default_encode_section_info): Take and use RTL argument,
  20051. don't use TREE_CST_RTL or DECL_RTL.
  20052. * output.h: Update prototype of default_encode_section_info.
  20053. * config/darwin.h (ASM_DECLARE_OBJECT_NAME)
  20054. (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL):
  20055. Update calls to encode_section_info.
  20056. * config/darwin.c, config/arm/arm.c, config/arm/pe.c
  20057. * config/h8300/h8300.c, config/i386/winnt.c, config/m32r/m32r.c
  20058. * config/m68hc11/m68hc11.c, config/m88k/m88k.c, config/mcore/mcore.c
  20059. * config/mips/mips.c, config/mmix/mmix.c, config/pa/pa.c
  20060. * config/romp/romp.c, config/rs6000/rs6000.c, config/s390/s390.c
  20061. * config/v850/v850.c (TARGET_ENCODE_SECTION_INFO definitions):
  20062. Take and use RTL argument, don't use TREE_CST_RTL or DECL_RTL,
  20063. except for PE dllimport/dllexport. Update calls to
  20064. default_encode_section_info.
  20065. * config/darwin-protos.h, config/arm/arm-protos.h, config/i386-protos.h:
  20066. Update prototypes.
  20067. * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update.
  20068. 2003-04-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  20069. PR/8705
  20070. * pa.md (movccfp): New expander.
  20071. (setccfp0, setccfp1): Rename to movccfp0 and movccfp1, respectively.
  20072. Reverse fcmp conditions.
  20073. 2003-04-20 Marek Michalkiewicz <marekm@amelek.gda.pl>
  20074. * config/avr/avr.md (*cmpqi_sign_extend): Handle negative values
  20075. of operand 1 correctly.
  20076. 2003-04-20 Nathan Sidwell <nathan@codesourcery.com>
  20077. * cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
  20078. * gcov.c (output_lines): Don't be so fussy about going past EOF.
  20079. 2003-04-20 Neil Booth <neil@daikokuya.co.uk>
  20080. * Makefile.in (LIBCPP_OBJS): Add cppcharset.o.
  20081. (cppcharset.o): New target.
  20082. * c-lex.c (is_extended_char): Move to cppcharset.c.
  20083. (utf8_extend_token): Delete.
  20084. * cppcharset.c: New file.
  20085. * cpphash.h (_cpp_valid_ucn): New.
  20086. * cpplex.c (lex_identifier): Update prototype.
  20087. (continues_identifier_p): Rename forms_identifier_p. Handle UCN
  20088. escapes.
  20089. (maybe_read_ucs): Rename maybe_read_ucn. Update to use code
  20090. in cppcharset.c.
  20091. (lex_number, lex_identifier, cpp_parse_escape): Update.
  20092. (_cpp_lex_direct): Update to handle UCNs.
  20093. (cpp_avoid_paste): Don't paste to form a UCN.
  20094. 2003-04-19 Roger Sayle <roger@eyesopen.com>
  20095. * builtins.c (expand_builtin): Don't expand a pure or const
  20096. built-in function if the result will be ignored and none of
  20097. its arguments are volatile.
  20098. 2003-04-19 Kean Johnston <jkj@sco.com>
  20099. * unwind-dw2.c (_Unwind_GetCFA): cast return to avoid warning
  20100. * config.gcc: make SCO use dbxelf.h and elfos.h; only use one
  20101. target fragment now: t-sco5; dont compile crti.o.
  20102. * config/i386/sco5.h: major overhaul to remove all COFF remnants
  20103. and to use elfos.h for most definitions.
  20104. (BSS_SECTION_ASM_OP): set correct segment attributes.
  20105. (PREFERED_DEBUGGING_TYPE): set to DWARF-2.
  20106. (DWARF2_UNWIND_INFO): Always set to 1.
  20107. (MD_STARTFILE_PREFIX): Make /usr/gnu/lib the default.
  20108. (MD_STARTFILE_PREFIX_1): Define.
  20109. (MD_EXEC_PREFIX): Adjust to /usr/gnu/bin if using GAS.
  20110. (DEFAULT_LINKER): Define if not specified to configure.
  20111. (CTORS_SECTION_ASM_OP): Remove COFF crud.
  20112. (DTORS_SECTION_ASM_OP): Remove COFF crud.
  20113. (WINT_TYPE): Define.
  20114. (SDB_DEBUGGING_INFO): Remove.
  20115. (EXTRA_SECTIONS): Likewise.
  20116. (EXTRA_SECTION_FUNCTIONS): Likewise.
  20117. (CTOR_LIST_BEGIN): Likewise.
  20118. (CTOR_LIST_END): Likewise.
  20119. (INIT_SECTION_FUNCTION): Likewise.
  20120. (FINI_SECTION_FUNCTION): Likewise.
  20121. (SUBTARGET_FRAME_POINTER_REQUIRED): Likewise.
  20122. (LOCAL_LABEL_PREFIX): Likewise.
  20123. (NON_SAVING_SETJMP): Likewise.
  20124. (RETURN_POPS_ARGS): Likewise.
  20125. (ASM_OUTPUT_SKIP): Likewise.
  20126. (TARGET_ASM_NAMED_SECTION): Likewise.
  20127. (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  20128. (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
  20129. (ASM_OUTPUT_IDENT): Likewise.
  20130. (ASM_OUTPUT_CASE_LABEL): Likewise.
  20131. (ASM_OUTPUT_ASCII): Likewise.
  20132. (ASM_OUTPUT_LIMITED_STRING): Likewise.
  20133. (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
  20134. (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
  20135. (ASM_GENERATE_INTERNAL_LABEL): Likewise.
  20136. (ASM_FINISH_DECLARE_OBJECT): Likewise.
  20137. (ASM_DECLARE_OBJECT_NAME): Likewise.
  20138. (ASM_DECLARE_FUNCTION_SIZE): Likewise.
  20139. (ASM_DECLARE_FUNCTION_NAME): Likewise.
  20140. (ASM_DECLARE_RESULT): Likewise.
  20141. (ASM_WEAKEN_LABEL): Likewise.
  20142. (SUPPORTS_WEAK): Likewise.
  20143. (APPLY_RESULT_SIZE): Likewise.
  20144. (LPREFIX): Likewise.
  20145. (ALIGN_ASM_OP): Likewise.
  20146. (ASCII_DATA_ASM_OP): Likewise.
  20147. (IDENT_ASM_OP): Likewise.
  20148. (ASM_SHORT): Likewise.
  20149. (ASM_LONG): Likewise.
  20150. (TYPE_ASM_OP): Likewise.
  20151. (SIZE_ASM_OP): Likewise.
  20152. (STRING_ASM_OP): Likewise.
  20153. (SKIP_ASM_OP): Likewise.
  20154. (EH_FRAME_SECTION_ASM_OP): Likewise.
  20155. (READONLY_DATA_SECTION_ASM_OP): Likewise.
  20156. (INIT_SECTION_ASM_OP): Likewise.
  20157. (FINI_SECTION_ASM_OP): Likewise.
  20158. (TEXT_SECTION_ASM_OP): Likewise.
  20159. (DATA_SECTION_ASM_OP): Likewise.
  20160. (TYPE_OPERANT_FORMAT): Likewise.
  20161. (ASM_SPEC): Remove COFF code.
  20162. (STARTFILE_SPEC): Likewise. Always use crti.o; add -p and -pp support;
  20163. cause -pg to emit an error; use pcrt1elf.o with -pp
  20164. (ENDFILE_SPEC): Likewise.
  20165. (TARGET_OS_CPP_BUILTINS): Add _SCO_DS_LL.
  20166. (CPP_SPEC): Remove COFF crud; always look in /usr/gnu/include first.
  20167. (LINK_SPEC): Remove COFF crud; use -E for environment switch not -R;
  20168. add -z alt_resolve to support weak symbols the way GCC wants them.
  20169. (LIB_SPEC): Use the profiler libraries in -p or -pp mode.
  20170. (LIBGCC_SPEC): Dont use -lgcc in -G mode.
  20171. (ASM_PREFERED_EH_DATA_FORMAT): Remove.
  20172. * config/i386/t-sco5 (TARGET_LIBGCC2_CFLAGS): Remove.
  20173. (CRTSTUFF_T_CFLAGS_S): Define.
  20174. (MULTILIB_OPTIONS): Likewise.
  20175. (MULTILIB_DIRNAMES): Likewise.
  20176. (MULTILIB_MATCHES): Likewise.
  20177. (MULTILIB_EXTRA_OPTS): Likewise.
  20178. (LIBGCC): Likewise.
  20179. (INSTALL_LIBGCC): Likewise.
  20180. (crti.o): Remove.
  20181. * config/i386/t-sco5gas: Remove.
  20182. * doc/install.texi: Updated for new OpenServer instructions.
  20183. * testsuite/gcc.dg/nest.c: Allow failure on SCO (-pg not supported)
  20184. 2003-04-19 Kean Johnston <jkj@sco.com>
  20185. * fixinc/check.tpl: Allow user to over-ride diff program.
  20186. * fixinc/inclhack.def: Removed extraneous #ifndef SVR5.
  20187. (sco_math): Added test for SCO math header files.
  20188. (sco_regset): Added check for conflicts with ieeefp.h.
  20189. (svr4_disable_opt): Removed extraneous #ifdef SVR4.
  20190. * fixinc/fixincl.x: Regenerated
  20191. * fixinc/tests/base/math.h: Added sco_math tests.
  20192. * fixinc/tests/base/string.h: New file.
  20193. * fixinc/tests/base/sys/regset.h: New file.
  20194. 2003-04-19 Neil Booth <neil@daikokuya.co.uk>
  20195. * cpphash.h (struct cpp_buffer): Remove backup_to.
  20196. * cpplex.c (BACKUP, get_effective_char): Die.
  20197. (_cpp_skip_block_comment): Assume '*' is location on entry.
  20198. (continues_identifier_p): Respect -fno-dollars-in-identifiers.
  20199. (IF_NEXT_IS): Update.
  20200. (_cpp_lex_direct): Don't use backup_to; look ahead directly.
  20201. 2003-04-19 Matt Kraai <kraai@alumni.cmu.edu>
  20202. * README.Portability: Move to a new section and obsolete K+R
  20203. portability issues.
  20204. Sat Apr 19 14:56:17 CEST 2003 Jan Hubicka <jh@suse.cz>
  20205. * rtlanal.c (subreg_offset_representable_p): Fix call of
  20206. subreg_lowpart.
  20207. 2003-04-19 Neil Booth <neil@daikokuya.co.uk>
  20208. * cpphash.h (struct cpp_reader): New member warned_dollar.
  20209. * cpplex.c (continues_identifier_p): New function.
  20210. (parse_identifier, parse_number, parse_string): Rename lex_identifer,
  20211. lex_number and lex_string, and simplify.
  20212. (parse_slow, unescaped_terminator_p): Die.
  20213. (_cpp_lex_direct): Update.
  20214. 2003-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20215. * calls.c (expand_call): Provide init for old_stack_pointer_delta.
  20216. 2003-04-19 Nathan Sidwell <nathan@codesourcery.com>
  20217. * doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
  20218. fork behavior.
  20219. 2003-04-19 Neil Booth <neil@daikokuya.co.uk>
  20220. * cppexp.c (eval_token): Permit true and false even if pedantic.
  20221. 2003-04-19 Neil Booth <neil@daikokuya.co.uk>
  20222. * cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE.
  20223. 2003-04-19 Neil Booth <neil@daikokuya.co.uk>
  20224. * cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD,
  20225. MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove.
  20226. (struct include_file): Remove fefcnt, mapped members.
  20227. (open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching.
  20228. (read_include_file): Don't use mmap, terminate buffers in '\r'.
  20229. (purge_cache): Don't use munmap.
  20230. * cpphash.h (CPP_BUF_COLUMN): Update.
  20231. (lexer_state): Remove lexing_comment.
  20232. (struct _cpp_line_note): New.
  20233. (struct cpp_buffer): New members cur_note, notes_used, notes_cap,
  20234. next_line and need_line. Remove col_adjust and saved_flags.
  20235. (_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line,
  20236. _cpp_skip_block_comment, scan_out_logical_line): New.
  20237. (_cpp_init_mbchar): Remove.
  20238. * cppinit.c (init_library): Remove call to _cpp_init_mbchar.
  20239. (cpp_read_main_file): Set line to 1 earlier.
  20240. (post_options): -traditional-cpp doesn't want trigraphs.
  20241. * cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this.
  20242. (add_line_note, _cpp_clean_line, _cpp_process_line_notes,
  20243. _cpp_get_fresh_line): New.
  20244. (handle_newline, skip_escaped_newlines, trigraph_p,
  20245. continue_after_nul, _cpp_init_mbchar): Remove.
  20246. (get_effective_char): Update.
  20247. (_cpp_skip_block_comment): Rename from skip_block_comment, simplify.
  20248. (skip_line_comment): Simplify.
  20249. (skip_whitespace, parse_identifier, parse_slow, parse_number,
  20250. parse_string): Update.
  20251. (cpp_lex_direct): Use clean lines and process line notes. Update.
  20252. (cpp_interpret_charconst): No MULTIBYTE_CHARS.
  20253. * cpplib.c (prepare_directive_trad): Call scan_out_logical_line
  20254. directly.
  20255. (_cpp_handle_directive): Don't set saved_flags.
  20256. (run_directive, destringize_and_run, cpp_define, cpp_define_builtin,
  20257. cpp_undef, handle_assertion, cpp_push_buffer): Update.
  20258. (_cpp_pop_buffer): Free notes.
  20259. * cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer.
  20260. * cpppch.c (cpp_read_state): \n terminate buffer.
  20261. * cpptrad.c (skip_escaped_newlines, handle_newline): Remove.
  20262. (copy_comment): Use _cpp_skip_block_comment.
  20263. (skip_whitespace, lex_identifier, _cpp_read_logical_line_trad):
  20264. Simplify.
  20265. (_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text,
  20266. save_replacement_text): Update.
  20267. (scan_out_logical_line): Update to use clean lines and process
  20268. line notes.
  20269. * fix-header.c (read_scan_file): Update.
  20270. 2003-04-18 Douglas B Rupp <rupp@gnat.com>
  20271. * unwind-dw2-fde.c (__register_frame_info_bases): Check for
  20272. null begin parameter (as well as pointer to null).
  20273. (__deregister_frame_info_bases): Likewise.
  20274. 2003-04-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20275. * function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a
  20276. hard or virtual register and copy into pseudo if replacement fails.
  20277. * cfgcleanup.c (flow_find_cross_jump): Use INSN_P, not active_insn_p.
  20278. * expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.
  20279. 2003-04-18 Olivier Hainque <hainque@act-europe.fr>
  20280. * calls.c (expand_call): Move special case for constructor calls
  20281. to right place. Ensures constructor calls used to initialize
  20282. arguments get a clean outgoing argument block for themselves.
  20283. Move check for stack deallocation completeness until after last
  20284. deallocation. Add stack_pointer_delta to set of state
  20285. variables saved and restored along with current stack_level.
  20286. * integrate.c (expand_inline_function): Ensure non-const actuals
  20287. don't end up const in the caller's flow after conversion to possibly
  20288. const formal type.
  20289. 2003-04-18 Vincent Celier <celier@gnat.com>
  20290. * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
  20291. and *_DIV_EXPR as TRUNC_*_EXPR.
  20292. 2003-04-18 Mark Mitchell <mark@codesourcery.com>
  20293. * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
  20294. for orphaned jump tables.
  20295. 2003-04-18 Kazu Hirata <kazu@cs.umass.edu>
  20296. * reload1.c: Revert my previous patch on 2002-04-17.
  20297. 2003-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  20298. * doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
  20299. Add Segher Boessenkool.
  20300. 2003-04-18 Alexander Sotirov <sluncho@mirizma.org>
  20301. PR c/9177
  20302. * c-decl.c (c_expand_body): Don't garbage collect the function
  20303. body if we are going to dump it later.
  20304. 2003-04-18 Richard Henderson <rth@redhat.com>
  20305. * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): Remove.
  20306. (alpha_end_function): Don't set them.
  20307. (decl_in_text_section): Remove.
  20308. (alpha_encode_section_info): Remove.
  20309. (samegp_function_operand): Use SYMBOL_REF LOCAL_P and EXTERNAL_P.
  20310. (direct_call_operand): Use SYMBOL_REF_DECL and compare actual
  20311. sections, rather than decl_in_text_section results.
  20312. 2003-04-18 Roger Sayle <roger@eyesopen.com>
  20313. * rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
  20314. and SIGN_EXTRACT.
  20315. 2003-04-18 Eric Botcazou <ebotcazou@libertysurf.fr>
  20316. PR optimization/7675
  20317. * c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag
  20318. on VAR_DECL, PARM_DECL and FUNCTION_DECL from within
  20319. nested functions if they refer to declarations from parent functions.
  20320. * stmt.c (expand_decl): Don't put automatic variables in registers
  20321. if the DECL_NONLOCAL flag is set.
  20322. 2003-04-18 Hans-Peter Nilsson <hp@bitrange.com>
  20323. * gcse.c (compute_ld_motion_mems): For MEM destinations, only
  20324. consider those to be movable where the source matches
  20325. want_to_gcse_p.
  20326. (update_ld_motion_stores): In comment, refer to
  20327. compute_ld_motion_mems for validity of replacement.
  20328. Fri Apr 18 01:28:51 CEST 2003 Jan Hubicka <jh@suse.cz>
  20329. * gcov-dump.c (tag_summary): Remove max_sum
  20330. * gcov-io.h (gcov_summary, gcov_write_summary,
  20331. gcov_read_summary): Kill max_sum.
  20332. * libgcov.c (gcov_exit): Do one pass over the data. Make error
  20333. message more verbose.
  20334. * emit-rtl.c (subreg_hard_regno): Check that register is
  20335. representable.
  20336. * reload.c (reload_inner_reg_of_subreg): When register is not
  20337. representable, reload the whole thing.
  20338. (find_reloads): Likewsie.
  20339. * rtlanal.c (subreg_representable_p): New function.
  20340. * profile.c (compute_branch_probabilities): Cleanup sanity checking;
  20341. allow negative probabilities for edges from the call to exit.
  20342. (branch_prob): Do not add fake edges for functions that may return
  20343. twice.
  20344. 2003-04-17 DJ Delorie <dj@redhat.com>
  20345. * toplev.c (target_options): Add value field.
  20346. (set_target_switch): Handle target options with values.
  20347. * doc/tm.texi: Document how fixed vs variable target
  20348. options work.
  20349. * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
  20350. config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h,
  20351. config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
  20352. config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h,
  20353. config/m32r/m32r.h, config/m68hc11/m68hc11.h,
  20354. config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
  20355. config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h,
  20356. config/rs6000/rs6000.h, config/rs6000/sysv4.h,
  20357. config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h:
  20358. Add value initializer to target options.
  20359. 2003-04-07 Loren James Rittle <ljrittle@acm.org>
  20360. * cpppch.c (cpp_valid_state): Unconditionally initialize nl.
  20361. 2003-04-17 Kazu Hirata <kazu@cs.umass.edu>
  20362. * reload1.c (move2add_last_cc0): New.
  20363. (reload_cse_move2add): Detect implicit sets.
  20364. (move2add_note_store): Notice a store into cc0.
  20365. 2003-04-17 Roger Sayle <roger@eyesopen.com>
  20366. PR c/10375
  20367. * c-decl.c (duplicate_decls): Preserve "const" and "noreturn"
  20368. function attributes.
  20369. 2003-04-17 Janis Johnson <janis187@us.ibm.com>
  20370. * doc/sourcebuild.texi (Test Suites): Document support for testing
  20371. binary compatibility (moved from testsuite/README.compat).
  20372. 2003-04-17 Richard Henderson <rth@redhat.com>
  20373. * config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.
  20374. 2003-04-17 Simon Law <sfllaw@engmail.uwaterloo.ca>
  20375. * doc/include/gpl.texi: Fix double-spacing after "MA" to match
  20376. the one provided by the FSF.
  20377. 2003-04-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  20378. * doc/install.texi (Binaries): Update URL and list of platforms
  20379. provided by ftp.thewrittenword.com.
  20380. 2003-04-17 Richard Henderson <rth@redhat.com>
  20381. * config/xtensa/xtensa.c (xtensa_encode_section_info): Remove.
  20382. (call_insn_operand): Use SYMBOL_REF_LOCAL_P.
  20383. * config/xtensa/xtensa.md (call, call_value): Likewise.
  20384. 2003-04-17 Richard Henderson <rth@redhat.com>
  20385. * config/v850/v850.c (print_operand): Use SYMBOL_REF_[ZST]DA.
  20386. (print_operand_address): Likewise.
  20387. (ep_memory_operand): Likewise.
  20388. (special_symbolref_operand): Likewise.
  20389. (v850_encode_data_area): Use SYMBOL_REF_FLAGS.
  20390. (v850_encode_section_info): Call default_encode_section_info.
  20391. (v850_strip_name_encoding): Remove.
  20392. * config/v850/v850.h (EXTRA_CONSTRAINT): Use SYMBOL_REF_[ZST]DA.
  20393. (ASM_OUTPUT_LABELREF): Remove.
  20394. (ZDA_NAME_FLAG_CHAR, ZDA_NAME_P): Remove.
  20395. (SDA_NAME_FLAG_CHAR, SDA_NAME_P): Remove.
  20396. (TDA_NAME_FLAG_CHAR, TDA_NAME_P): Remove.
  20397. (ENCODED_NAME_P): Remove.
  20398. (SYMBOL_FLAG_ZDA, SYMBOL_REF_ZDA_P): New.
  20399. (SYMBOL_FLAG_SDA, SYMBOL_REF_SDA_P): New.
  20400. (SYMBOL_FLAG_TDA, SYMBOL_REF_TDA_P): New.
  20401. 2003-04-17 Richard Henderson <rth@redhat.com>
  20402. * config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill.
  20403. * config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use
  20404. SYMBOL_REF_FUNCTION_P.
  20405. 2003-04-17 Richard Henderson <rth@redhat.com>
  20406. * config/sparc/sparc.c (sparc_encode_section_info): Remove.
  20407. (data_segment_operand): Use SYMBOL_REF_FUNCTION_P.
  20408. (text_segment_operand): Likewise.
  20409. 2003-04-17 Richard Henderson <rth@redhat.com>
  20410. * config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
  20411. (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
  20412. (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
  20413. (sh_encode_section_info): Remove.
  20414. (sh_strip_name_encoding): Remove.
  20415. * config/sh/sh.h (SH_DATALABEL_ENCODING): Remove.
  20416. (DATALABEL_SYMNAME_P, STRIP_DATALABEL_ENCODING): Remove.
  20417. (SH_TLS_ENCODING, TLS_SYMNAME_P, STRIP_TLS_ENCODING): Remove.
  20418. (ASM_OUTPUT_LABELREF): Remove.
  20419. (ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P.
  20420. * config/sh/sh.md (*): Use SYMBOL_REF_LOCAL_P.
  20421. 2003-04-17 Richard Henderson <rth@redhat.com>
  20422. * config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New.
  20423. (tls_model_chars): Remove.
  20424. (larl_operand): Use SYMBOL_REF_FLAGS.
  20425. (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
  20426. (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
  20427. (s390_output_mi_thunk): Likewise.
  20428. (s390_emit_prologue): Set SYMBOL_FLAG_LOCAL as needed.
  20429. (s390_function_profiler): Likewise.
  20430. (s390_encode_section_info): Use default_encode_section_info
  20431. and SYMBOL_FLAG_ALIGN1.
  20432. (s390_strip_name_encoding): Remove.
  20433. * config/s390/s390.h (ASM_OUTPUT_LABELREF): Remove.
  20434. * config/s390/s390.md (call, call_value): Use SYMBOL_REF_LOCAL_P.
  20435. (builtin_setjmp_receiver): Set SYMBOL_FLAG_LOCAL as needed.
  20436. 2003-04-17 Richard Henderson <rth@redhat.com>
  20437. * config/ns32k/ns32k.c (ns32k_encode_section_info): Remove.
  20438. (global_symbolic_reference_mentioned_p): Use SYMBOL_REF_LOCAL_P.
  20439. (print_operand_address): Likewise.
  20440. * config/ns32k/ns32k.h (CANNOT_CHANGE_MODE_CLASS): Add CLASS argument.
  20441. * config/ns32k/ns32k.c (expand_block_move): Don't check
  20442. flag_unroll_loops.
  20443. 2003-04-17 Richard Henderson <rth@redhat.com>
  20444. * config/mcore/mcore.c (mcore_encode_section_info): Don't set
  20445. SYMBOL_REF_FLAG.
  20446. 2003-04-17 Richard Henderson <rth@redhat.com>
  20447. * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.
  20448. * config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New.
  20449. (SYMBOL_REF_MODEL): New.
  20450. (LIT_NAME_P): Move from m32r.h.
  20451. (m32r_select_section): Remove.
  20452. (m32r_encode_section_info): Use SYMBOL_REF_FLAGS.
  20453. (m32r_strip_name_encoding): Remove.
  20454. (m32r_in_small_data_p): New.
  20455. (small_data_operand): Use SYMBOL_REF_SMALL_P.
  20456. (addr24_operand): Use SYMBOL_REF_MODEL.
  20457. (call26_operand): Likewise.
  20458. (addr32_operand): Tidy.
  20459. (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
  20460. * config/m32r/m32r.h (RODATA_SECTION_ASM_OP): Remove.
  20461. (SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Remove.
  20462. (READONLY_DATA_SECTION_ASM_OP): Remove.
  20463. (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
  20464. (SDATA_SECTION_FUNCTION, SBSS_SECTION_FUNCTION): Remove.
  20465. (TARGET_ASM_SELECT_SECTION): Remove.
  20466. (SDATA_FLAG_CHAR, MEDIUM_FLAG_CHAR, LARGE_FLAG_CHAR): Remove.
  20467. (SDATA_NAME_P, SMALL_NAME_P, MEDIUM_NAME_P): Remove.
  20468. (LARGE_NAME_P, ENCODED_NAME_P): Remove.
  20469. (ASM_OUTPUT_LABELREF): Remove.
  20470. 2003-04-17 Richard Henderson <rth@redhat.com>
  20471. * config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P.
  20472. (encode_section_info): Remove.
  20473. * config/ip2k/ip2k-protos.h: Update.
  20474. 2003-04-17 Richard Henderson <rth@redhat.com>
  20475. * varasm.c (default_encode_section_info): Don't set
  20476. SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC.
  20477. * config/i370/i370.c (i370_encode_section_info): Remove.
  20478. * config/i370/i370.h (CONSTANT_ADDRESS_P): Use SYMBOL_REF_EXTERNAL_P.
  20479. (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Likewise.
  20480. * config/i370/i370.md (movsi): Likewise.
  20481. * config/i370/t-i370: Add missing backslash.
  20482. 2003-04-17 Eric Botcazou <ebotcazou@libertysurf.fr>
  20483. * doc/invoke.texi (inline-limit): Fix pasto.
  20484. 2003-04-17 Richard Henderson <rth@redhat.com>
  20485. * config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New.
  20486. (small_call_insn_operand): Use it.
  20487. (SYMBOL_FLAG_EIGHTBIT_DATA): New.
  20488. (h8300_eightbit_constant_address_p): Use it.
  20489. (SYMBOL_FLAG_TINY_DATA): New.
  20490. (h8300_tiny_constant_address_p): Use it.
  20491. (h8300_encode_label, h8300_strip_name_encoding): Remove.
  20492. (h8300_encode_section_info): Set SYMBOL_REF_FLAGS.
  20493. * config/h8300/h8300.h (TINY_DATA_NAME_P): Remove.
  20494. (ASM_OUTPUT_LABELREF): Remove.
  20495. 2003-04-16 Richard Henderson <rth@redhat.com>
  20496. * config/frv/frv.c (symbol_ref_small_data_p): Remove. Replace
  20497. all users with SYMBOL_REF_SMALL_P.
  20498. (const_small_data_p): Use SYMBOL_REF_SMALL_P.
  20499. (frv_encode_section_info): Remove.
  20500. (frv_strip_name_encoding): Remove.
  20501. (frv_in_small_data_p): Merge tests from encode_section_info.
  20502. (frv_print_operand): Use '@' not SDATA_FLAG_CHAR.
  20503. * config/frv/frv.h (SDATA_FLAG_CHAR): Remove.
  20504. (SDATA_NAME_P): Remove.
  20505. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use SIZE not SDATA_NAME_P.
  20506. (ASM_OUTPUT_LABELREF): Remove.
  20507. (PRINT_OPERAND_PUNCT_VALID_P): Use '@' not SDATA_FLAG_CHAR.
  20508. * config/frv/frv.c (frv_asm_out_constructor): New.
  20509. (frv_asm_out_destructor): New.
  20510. * config/frv/frv.h (CTORS_SECTION_ASM_OP): New.
  20511. (DTORS_SECTION_ASM_OP): New.
  20512. (ASM_OUTPUT_CONSTRUCTOR): Remove.
  20513. (ASM_OUTPUT_DESTRUCTOR): Remove.
  20514. 2003-04-16 Richard Henderson <rth@redhat.com>
  20515. * config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use
  20516. SYMBOL_REF_LOCAL_P; abort if not pic.
  20517. (cris_encode_section_info): Remove.
  20518. 2003-04-16 Richard Henderson <rth@redhat.com>
  20519. * config/c4x/c4x.c (c4x_encode_section_info): Remove.
  20520. (c4x_T_constraint): Use SYMBOL_REF_FUNCTION_P.
  20521. * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare
  20522. flag_inline_trees.
  20523. 2003-04-16 Richard Henderson <rth@redhat.com>
  20524. * config/avr/avr.c (avr_encode_section_info): Remove.
  20525. (avr_insert_attributes): New.
  20526. (print_operand_address): Use SYMBOL_REF_FUNCTION_P.
  20527. (avr_assemble_integer): Likewise.
  20528. 2003-04-16 Richard Henderson <rth@redhat.com>
  20529. * arc.c (arc_encode_section_info): Remove.
  20530. (arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P.
  20531. (arc_print_operand, arc_print_operand_address): Likewise.
  20532. * arc.h (EXTRA_CONSTRAINT): Likewise.
  20533. 2003-04-16 Roger Sayle <roger@eyesopen.com>
  20534. * c-semantics.c (find_reachable_label): New function to find a
  20535. potentially reachable label in an expression.
  20536. (expand_unreachable_if_stmt): Similar to expand_if_stmt but
  20537. assumes the start of the IF_STMT is unreachable (dead) code.
  20538. (expand_unreachable_stmt): Similar to expand_stmt but assumes
  20539. the start of the statement list is unreachable (dead) code.
  20540. (genrtl_if_stmt): If the controlling expression of the IF
  20541. is constant, use expand_unreachable_stmt for the THEN or ELSE
  20542. clause as appropriate.
  20543. (genrtl_switch_stmt): Use expand_unreachable_stmt to expand
  20544. the body of a SWITCH statement.
  20545. (expand_stmt): The code immediately following a "return",
  20546. "break", "continue" or "goto" is unreachable.
  20547. * Makefile.in (c-semantics.o): Depend upon tree-inline.h.
  20548. 2003-04-16 Richard Henderson <rth@redhat.com>
  20549. * rtl.h (MEM_ALIAS_SET): Update documentation.
  20550. * doc/rtl.texi (Special Accessors): New node.
  20551. (SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS.
  20552. 2003-04-16 Alexandre Oliva <aoliva@redhat.com>
  20553. * reload1.c (reload_cse_noop_set_p): Return false if mode of
  20554. SET_DEST is not the same as that returned by...
  20555. * cselib.h (cselib_reg_set_mode): ... new function.
  20556. * cselib.c (cselib_reg_set_mode): Define it.
  20557. (REG_VALUES): Document semantics of first element as set mode.
  20558. (cselib_subst_to_values): Skip first element if ELT is NULL.
  20559. (cselib_lookup): Likewise. Insert past the first element.
  20560. (cselib_invalidate_regno): NULLify first element.
  20561. (cselib_record_set): Set first element.
  20562. 2003-04-16 Olivier Hainque <hainque@act-europe.fr>
  20563. * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
  20564. (save_expr): Replace loop by call to skip_simple_arithmetics_at.
  20565. * tree.h: Add prototypes for the two new functions.
  20566. * fold-const.c (fold_binary_op_with_conditional_arg): Replace test
  20567. updates introduced in the previous revision by call to saved_expr_p.
  20568. * stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at.
  20569. * expr.c (store_field): Force usage of bitfield instructions when
  20570. the field position requires it, whatever SLOW_UNALIGNED_ACCESS.
  20571. (expand_expr, case BIT_FIELD_REF): likewise.
  20572. 2003-04-16 Mark Mitchell <mark@codesourcery.com>
  20573. PR middle-end/8866
  20574. * cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
  20575. jumptables.
  20576. 2003-04-16 Richard Henderson <rth@redhat.com>
  20577. * config/ia64/ia64.c (sdata_symbolic_operand): Use
  20578. SYMBOL_REF_SMALL_P and SYMBOL_REF_LOCAL_P.
  20579. (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
  20580. (function_operand): Use SYMBOL_REF_FUNCTION_P.
  20581. (ia64_expand_load_address): Likewise.
  20582. (ia64_assemble_integer): Likewise.
  20583. (ia64_encode_section_info): Remove.
  20584. (ia64_strip_name_encoding): Remove.
  20585. * config/ia64/ia64.h (ENCODE_SECTION_INFO_CHAR): Remove.
  20586. * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't strip it.
  20587. 2003-04-16 Richard Henderson <rth@redhat.com>
  20588. * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
  20589. (samegp_function_operand): Use SYMBOL_FLAG_SAMEGP.
  20590. (direct_call_operand): Use SYMBOL_FLAG_NEAR.
  20591. (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
  20592. (small_symbolic_operand): Use SYMBOL_REF_SMALL_P.
  20593. (global_symbolic_operand): Similarly.
  20594. (tls_symbolic_operand_1): Use SYMBOL_REF_TLS_MODEL.
  20595. (tls_symbolic_operand_type): Likewise.
  20596. (alpha_encode_section_info): Use default_encode_section_info.
  20597. (alpha_strip_name_encoding): Remove.
  20598. (get_tls_get_addr): Split out from ...
  20599. (alpha_legitimize_address): ... here.
  20600. (alpha_emit_xfloating_libcall): Use init_one_libfunc.
  20601. (get_some_local_dynamic_name_1): Use SYMBOL_REF_TLS_MODEL.
  20602. (alpha_initialize_trampoline): Use init_one_libfunc.
  20603. (alpha_setup_incoming_varargs): Mark unused parameters.
  20604. (alpha_initial_elimination_offset): Likewise.
  20605. (alpha_end_function): Use SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP.
  20606. (unicosmk_unique_section): Use default_strip_name_encoding.
  20607. (unicosmk_ssib_name, unicosmk_output_externs): Likewise.
  20608. 2003-04-16 Aldy Hernandez <aldyh@redhat.com>
  20609. * config.gcc: Add t-spe for eabispe.
  20610. * config/rs6000/t-spe: New.
  20611. 2003-04-16 J"orn Rennecke <joern.rennecke@superh.com>
  20612. Re-apply this patch:
  20613. 2002-05-16 Dale Johannesen <dalej@apple.com>
  20614. * combine.c (cant_combine_insn_p): Reenable combinations
  20615. involving hard regs unless CLASS_LIKELY_SPILLED_P.
  20616. 2003-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  20617. PR/10271
  20618. * pa-protos.h (function_arg): Remove last argument.
  20619. * pa.c (function_arg): Likewise. Use CUMULATIVE_ARGS struct instead.
  20620. * pa.h (struct hppa_args): Add member incoming.
  20621. (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize
  20622. member incoming.
  20623. (FUNCTION_ARG): Revise call to function_arg.
  20624. (FUNCTION_INCOMING_ARG): Delete.
  20625. 2003-04-15 Zack Weinberg <zack@codesourcery.com>
  20626. * configure.in: Unify the code which creates symlinks to a
  20627. just-built as, ld, objdump, and nm with the code that detects
  20628. their presence for purposes of feature tests.
  20629. * configure: Regenerate.
  20630. 2003-04-15 Zack Weinberg <zack@codesourcery.com>
  20631. * varasm.c (output_constant_def): Do not consult
  20632. CONSTANT_AFTER_FUNCTION_P. Remove all code predicated on it.
  20633. (after_function_constants, output_after_function_constants): Delete.
  20634. * doc/tm.texi: Delete documentation of CONSTANT_AFTER_FUNCTION_P.
  20635. * config/mips/mips-protos.h, config/mips/mips.c
  20636. (mips16_constant_after_function_p): Delete.
  20637. * config/mips/mips.h: Delete #if-0-ed definition of
  20638. CONSTANT_AFTER_FUNCTION_P.
  20639. * config/d30v/d30v.h, config/stormy16/stormy16.h: Remove
  20640. mention of CONSTANT_AFTER_FUNCTION_P in comment.
  20641. 2003-04-15 Geoffrey Keating <geoffk@apple.com>
  20642. * tree.c (next_decl_uid): Mark with GTY.
  20643. (next_type_uid): Likewise.
  20644. 2003-04-15 J"orn Rennecke <joern.rennecke@superh.com>
  20645. PR target/9594:
  20646. * sh.c (barrier_align): Also recognize stuff_delay_slot as
  20647. an indicator that a barrier was created by branch splitting.
  20648. 2003-04-15 Mark Mitchell <mark@codesourcery.com>
  20649. * c-decl.c (implicitly_declare): Copy declarations that are going
  20650. to be placed in a local scope.
  20651. 2003-04-15 James A. Morrison <ja2morri@uwaterloo.ca>
  20652. * invoke.texi (Spec Files): Wrap if-exists-else example.
  20653. (MCore): Remove duplicate @itemx entries and @opindex entries.
  20654. 2003-04-15 Ulrich Weigand <uweigand@de.ibm.com>
  20655. * unwind.inc (_Unwind_Backtrace): New function.
  20656. * unwind.h (_Unwind_Backtrace): Declare it.
  20657. * libgcc-std.ver (_Unwind_Backtrace): Export it.
  20658. 2003-04-14 Jason Merrill <jason@redhat.com>
  20659. PR middle-end/10336, c++/10401
  20660. * jump.c (never_reached_warning): Also stop looking if we reach the
  20661. beginning of the function.
  20662. 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  20663. PR target/10338
  20664. PR bootstrap/10198
  20665. PR bootstrap/10140
  20666. * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy.
  20667. 2003-04-15 J"orn Rennecke <joern.rennecke@superh.com>
  20668. * i386.md (abssf2_if+1): Make condition agree with abssf2_1 .
  20669. 2003-04-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20670. * optabs.c (expand_binop): In multi-word add cases, ensure
  20671. XTARGET is copied to TARGET if they are different.
  20672. 2003-04-15 Olivier Hainque <hainque@act-europe.fr>
  20673. * except.c (resolve_fixup_regions): Avoid dereferencing null pointer
  20674. to region, possible after integration of function with unreachable
  20675. regions that were optimized away.
  20676. 2003-04-15 Jakub Jelinek <jakub@redhat.com>
  20677. * config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2,
  20678. instead of TOC_REGISTER in epilogue in
  20679. current_function_calls_eh_return functions.
  20680. 2003-04-14 Mark Mitchell <mark@codesourcery.com>
  20681. * doc/extend.texi (Empty Structures): Correct description of G++'s
  20682. handling of these structures.
  20683. * c-decl.c (grokdeclarator): Reject extern redeclarations of
  20684. static variables.
  20685. 2003-04-14 Janis Johnson <janis287@us.ibm.com>
  20686. * config/rs6000/rs6000.md (define_constants): Define constants for
  20687. all UNSPEC usage, including new values for TLS support.
  20688. (aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal,
  20689. load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si,
  20690. load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase,
  20691. macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr,
  20692. stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si,
  20693. eh_set_lr_di): Use them.
  20694. * rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue,
  20695. rs6000_emit_epilogue) Use them.
  20696. * rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.
  20697. 2003-04-14 Neil Booth <neil@daikokuya.co.uk>
  20698. * Makefile.in (c-opts.o): Use custom action.
  20699. 2003-04-14 Douglas B Rupp <rupp@gnat.com>
  20700. * ifcvt.c (noce_process_if_block): Fail on BLKmode move.
  20701. 2003-04-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20702. * stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to
  20703. handle "superflat arrays" in Ada.
  20704. * integrate.c (expand_inline_function): Don't inline if would
  20705. lose /u on a BLKmode TARGET.
  20706. 2003-04-14 Joel Brobecker <brobecker@gnat.com>
  20707. * dbxout.c (print_int_cst_bounds_in_octal_p): New function,
  20708. extracted from dbxout_type.
  20709. (dbxout_range_type): print large bounds in octal format.
  20710. (dbxout_type): Replace extracted code by call to
  20711. print_int_cst_bounds_in_octal_p.
  20712. * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead
  20713. of DW_LANG_Ada83 for Ada units.
  20714. 2003-04-14 Olivier Hainque <hainque@act-europe.fr>
  20715. * explow.c (round_push): Use HOST_WIDE_INT instead of int for the
  20716. temporary used to round CONST_INT sizes.
  20717. * tree.c (int_fits_type_p): Extract generic checks from the case
  20718. of constant type bounds. Refine the checks against constant type
  20719. bounds to allow for possible decisions against each of these bounds
  20720. without requiring both bounds to be constant.
  20721. (tree_int_cst_msb): Put back.
  20722. * tree.h (tree_int_cst_msb): Likewise.
  20723. * global.c (global_conflicts): Prevent allocation of call clobbered
  20724. hard regs to pseudos live across abnormal edges, as later passes are
  20725. not ready to handle them.
  20726. * fold-const.c (fold): Reorder tests for conditional expressions.
  20727. * expr.c (highest_pow2_factor): Return unsigned.
  20728. * expr.h (offset_address): Likewise.
  20729. * emit-rtl.c (offset_address): POW2 argument now unsigned.
  20730. 2003-04-14 Roger Sayle <roger@eyesopen.com>
  20731. * builtins.c (expand_builtin_strlen): Evaluate the lengths of
  20732. string literals at compile-time.
  20733. 2003-04-14 Roger Sayle <roger@eyesopen.com>
  20734. * fold-const.c (fold): Transform (c1 - x) cmp c2, where cmp is a
  20735. comparison operation and c1/c2 are floating point constants into
  20736. x swap(cmp) (c1 - c2).
  20737. 2003-04-14 Vladimir Makarov <vmakarov@redhat.com>
  20738. * genautomata.c (output_translate_vect): Fix a typo in loop
  20739. condition.
  20740. 2003-04-14 Hans-Peter Nilsson <hp@axis.com>
  20741. PR target/10377
  20742. * config/cris/cris.md ("*mov_sideqi", "*mov_sidehi")
  20743. ("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem")
  20744. ("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi")
  20745. ("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi")
  20746. ("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi")
  20747. ("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi")
  20748. ("*extopqihi_side", "*extopqisi_side", "*extophisi_side")
  20749. ("*extopqihi_swap_side", "*extopqisi_swap_side")
  20750. ("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes):
  20751. When next to constraint R, replace constraint i with n.
  20752. Mon Apr 14 16:18:37 CEST 2003 Jan Hubicka <jh@suse.cz>
  20753. PR opt/10024
  20754. * cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge.
  20755. 2003-04-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
  20756. * doc/contrib.texi (Contributors): Correct my entry.
  20757. 2003-04-13 Roger Sayle <roger@eyesopen.com>
  20758. * tree.h (DECL_BUILT_IN_NONANSI): Remove.
  20759. * c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI.
  20760. * c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI
  20761. implies DECL_BUILT_IN to simplify logic.
  20762. * print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI.
  20763. 2003-04-13 Roger Sayle <roger@eyesopen.com>
  20764. * builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type.
  20765. (BT_FN_PTR_SIZE_SIZE): Likewise.
  20766. * builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP):
  20767. New built-in functions for malloc, calloc and strdup respectively.
  20768. * calls.c (special_function_p): No need to handle malloc-like
  20769. functions any longer. ECF_MALLOC is set via built-in attributes.
  20770. * c-decl.c (duplicate_decls): Preserve pure and malloc attributes.
  20771. * doc/extend.texi: Document these new built-in functions.
  20772. 2003-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  20773. * builtins.c (expand_builtin_memcpy): Add `endp' argument, use it.
  20774. (expand_builtin_stpcpy): New.
  20775. (expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY.
  20776. * builtins.def: Add mempcpy & stpcpy support.
  20777. * doc/extend.texi (mempcpy, stpcpy): Document new builtins.
  20778. 2003-04-13 Nick Clifton <nickc@redhat.com>
  20779. * config/rs6000/rs6000.c: Replace occurrences of "GNU CC" with
  20780. "GCC".
  20781. * config/rs6000/40x.md, config/rs6000/603.md,
  20782. config/rs6000/6xx.md, config/rs6000/7450.md, config/rs6000/7xx.md,
  20783. config/rs6000/8540.md, config/rs6000/aix.h, config/rs6000/aix31.h,
  20784. config/rs6000/aix3newas.h, config/rs6000/aix41.h,
  20785. config/rs6000/aix43.h, config/rs6000/aix51.h,
  20786. config/rs6000/aix52.h, config/rs6000/altivec-defs.h,
  20787. config/rs6000/altivec.h, config/rs6000/altivec.md,
  20788. config/rs6000/beos.h, config/rs6000/darwin.h,
  20789. config/rs6000/eabi.h, config/rs6000/eabialtivec.h,
  20790. config/rs6000/eabisim.h, config/rs6000/eabispe.h,
  20791. config/rs6000/freebsd.h, config/rs6000/gnu.h,
  20792. config/rs6000/host-darwin.c, config/rs6000/linux.h,
  20793. config/rs6000/linux64.h, config/rs6000/linuxaltivec.h,
  20794. config/rs6000/lynx.h, config/rs6000/mach.h, config/rs6000/mpc.md,
  20795. config/rs6000/netbsd.h, config/rs6000/power4.md,
  20796. config/rs6000/rios1.md, config/rs6000/rios2.md,
  20797. config/rs6000/rs6000-c.c, config/rs6000/rs6000-modes.def,
  20798. config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
  20799. config/rs6000/rs6000.h, config/rs6000/rs6000.md,
  20800. config/rs6000/rs64.md, config/rs6000/rtems.h, config/rs6000/spe.h,
  20801. config/rs6000/spe.md, config/rs6000/sysv4.h,
  20802. config/rs6000/sysv4le.h, config/rs6000/vxworks.h,
  20803. config/rs6000/windiss.h, config/rs6000/xcoff.h: Likewise.
  20804. 2003-04-13 Nick Clifton <nickc@redhat.com>
  20805. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete
  20806. support for -mcall-aix switch.
  20807. * config/rs6000/eabiaix.h: Delete.
  20808. * config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC.
  20809. (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG,
  20810. RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC.
  20811. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise.
  20812. * config/rs6000/rs6000.c (print_operand, rs6000_stack_info,
  20813. debug_stack_info, output_function_profiler,
  20814. rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise.
  20815. * config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv,
  20816. call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
  20817. call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv,
  20818. sibcall_nonlocal_sysv, sibcall_value_local64): Likewise.
  20819. * config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix
  20820. multilibs.
  20821. (MULTILIB_DIRNAMES): Remove mcall-aix directories.
  20822. (MULTILIB_EXCEPTIONS): Delete.
  20823. (MULTILIB_MATCHES): Remove mcall-aix matches.
  20824. * doc/fragments.texi: Replace -mcall-aix example with an ARM
  20825. one.
  20826. * doc/install.texi: Delete powerpc-*-eabiaix target.
  20827. * doc/invoke.texi: Remove documentation of mcall-aix switch.
  20828. * doc/tm.texi: Remove mcall-aix from example CPP_SPEC.
  20829. * config.gcc: Delete powerpc-*-eabiaix target.
  20830. 2003-04-13 Kazu Hirata <kazu@cs.umass.edu>
  20831. * doc/invoke.texi: Fix typos.
  20832. * doc/tm.texi: Likewise.
  20833. 2003-04-12 Zack Weinberg <zack@codesourcery.com>
  20834. * c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.
  20835. 2003-04-12 Zack Weinberg <zack@codesourcery.com>
  20836. * tree.c (build_constructor): New function.
  20837. * tree.h: Prototype it.
  20838. * c-typeck.c (build_c_cast, pop_init_level)
  20839. * profile.c (build_function_info_value, build_gcov_info_value)
  20840. (create_profiler):
  20841. Use build_constructor.
  20842. * builtins.c (expand_builtin_args_info): Remove #if 0 blocks.
  20843. * objc/objc-act.c (build_constructor):
  20844. Rename objc_build_constructor. Use build_constructor.
  20845. (build_objc_string_object, objc_add_static_instance)
  20846. (init_def_list, init_objc_symtab, init_module_descriptor)
  20847. (generate_static_references, build_selector_translation_table)
  20848. (build_descriptor_table_initializer, generate_descriptor_table)
  20849. (build_protocol_initializer, build_ivar_list_initializer)
  20850. (generate_ivars_list, build_dispatch_table_initializer)
  20851. (generate_dispatch_table, generate_protocol_list)
  20852. (build_category_initializer, build_shared_structure_initializer):
  20853. Update to match.
  20854. 2003-04-12 Zack Weinberg <zack@codesourcery.com>
  20855. * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
  20856. 2003-04-12 Stephane Carrez <stcarrez@nerim.fr>
  20857. * config/m68hc11/m68hc11-protos.h
  20858. (m68hc11_eq_compare_operator): Declare
  20859. * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate.
  20860. * config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate
  20861. (d_register_operand): Check the operand mode.
  20862. (hard_addr_reg_operand): Likewise.
  20863. 2003-04-12 Stephane Carrez <stcarrez@nerim.fr>
  20864. * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
  20865. pattern for dbcc/ibcc generation for 68HC12.
  20866. ("doloop_end"): New pattern.
  20867. ("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne.
  20868. ("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne.
  20869. ("m68hc12_dbcc_dec_qi"): New pattern.
  20870. ("m68hc12_dbcc_inc_qi"): New pattern.
  20871. (split): Add split for the above when we can't use dbcc/ibcc due to
  20872. reloading.
  20873. (peephole2): Add peephole2 to generate the above when possible.
  20874. 2003-04-12 Stephane Carrez <stcarrez@nerim.fr>
  20875. * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
  20876. mode of operand 0.
  20877. (peephole2 optimize const load): Likewise for operand 2.
  20878. ("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which
  20879. clobbers CC_REGNUM.
  20880. ("*rotrhi3_with_carry"): Likewise.
  20881. (ashift:DI 1 split): Update pattern to create the above rotate.
  20882. (lshiftrt:DI 1 split): Likewise.
  20883. 2003-04-12 Stephane Carrez <stcarrez@nerim.fr>
  20884. * config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.
  20885. ("tstqi_z_used" split): Use it.
  20886. ("cmphi_z_used"): Likewise.
  20887. ("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant.
  20888. ("cmpqi_z_used"): Likewise.
  20889. 2003-04-12 Mark Mitchell <mark@codesourcery.com>
  20890. PR c++/7910
  20891. * config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko.
  20892. 2003-04-12 Zack Weinberg <zack@codesourcery.com>
  20893. * configure.in: Check for wchar.h, mbstowcs, and wcswidth.
  20894. * configure, config.in: Regenerate.
  20895. * intl.c (gcc_gettext_width): New function.
  20896. * intl.h: Prototype it.
  20897. 2003-04-12 Stephane Carrez <stcarrez@nerim.fr>
  20898. * config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
  20899. recognize -mnorelax.
  20900. (reg_class): Add Z_OR_S_REGS to represent soft registers with Z
  20901. (REG_CLASS_NAMES): Add its name.
  20902. (REG_CLASS_CONTENTS): Define its content.
  20903. 2003-04-12 Stephane Carrez <stcarrez@nerim.fr>
  20904. * config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack
  20905. parameters so that offsets are valid for far definition.
  20906. (__mulsi3): Likewise and use ret to return.
  20907. (___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result.
  20908. 2003-04-12 David Edelsohn <edelsohn@gnu.org>
  20909. * config/rs6000/rs6000.c (rs6000_hash_constant): Skip '0' fields.
  20910. 2003-04-12 Alexandre Oliva <aoliva@redhat.com>
  20911. * mklibgcc.in (libgcc-stage-start): For every multilib directory
  20912. containing a libgcc.a, move lib* to the corresponding stage dir.
  20913. * Makefile.in (stage1-start, stage2-start, stage3-start,
  20914. stage4-start): Move $(SPECS) to specs in stage dir.
  20915. (unstage1 unstage2 unstage3 unstage4): Move specs in stage dir
  20916. back as $(SPECS).
  20917. * mklibgcc.in (libgcc-stage-start): Move into the stage directory
  20918. object files from the non-libgcc/ multilib directories as well.
  20919. 2003-04-11 Geoffrey Keating <geoffk@apple.com>
  20920. * profile.c (read_counts_file): Initialise 'checksum'.
  20921. * emit-rtl.c (gen_rtx): Really correct typo.
  20922. PR c++/9393
  20923. * doc/invoke.texi (Debugging Options): Document -frandom-seed.
  20924. * configure.in: Check for gettimeofday.
  20925. * tree.c (flag_random_seed): Define.
  20926. (default_flag_random_seed): New.
  20927. (append_random_chars): Use flag_random_seed rather than trying
  20928. to acquire randomness here.
  20929. * tree.h (default_flag_random_seed): Declare.
  20930. * toplev.c (display_help): Add -frandom-seed and -fstack-limit-*
  20931. descriptions.
  20932. (decode_f_option): Handle -frandom-seed.
  20933. (print_switch_values): Call default_flag_random_seed.
  20934. * flags.h (flag_random_seed): Declare.
  20935. * configure: Regenerate.
  20936. * config.in: Regenerate.
  20937. * config/alpha/t-crtfm: Use -frandom-seed.
  20938. * doc/extend.texi (Empty Structures): New.
  20939. * c-pch.c: Include flags.h. Add comments to routines.
  20940. (struct c_pch_validity): New.
  20941. (get_ident): Update PCH file version number.
  20942. (pch_init): Output current debugging type.
  20943. (c_common_valid_pch): Check debugging type.
  20944. * Makefile.in (c-pch.o): Update dependencies.
  20945. * flags.h (debug_type_names): Declare.
  20946. * toplev.c (debug_type_names): Move out of decode_g_option.
  20947. 2003-04-11 Eric Christopher <echristo@redhat.com>
  20948. * emit-rtl.c (gen_rtx): Fix typos.
  20949. 2003-04-11 Richard Henderson <rth@redhat.com>
  20950. * emit-rtl.c (gen_rtx): Zero '0' fields.
  20951. 2003-04-11 Richard Henderson <rth@redhat.com>
  20952. PR c++/10202
  20953. * expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P
  20954. not COMPLETE_TYPE_P for re-invoking layout_decl.
  20955. 2003-04-11 Simon Law <sfllaw@engmail.uwaterloo.ca>
  20956. * doc/bugreport.texi: Fix paragraph breaking between sections
  20957. in preparation for TeXinfo's paragraph indentation fixes.
  20958. * doc/extend.texi: Ditto.
  20959. * doc/invoke.texi: Ditto.
  20960. * doc/objc.texi: Ditto.
  20961. * doc/gcov.texi: Wrap 'gcov' in @command{}.
  20962. * doc/invoke.texi (Darwin Options): Add a preamble.
  20963. 2003-04-11 Richard Henderson <rth@redhat.com>
  20964. * config/i386/i386.c (tls_model_chars): Remove.
  20965. (ix86_encode_section_info, ix86_strip_name_encoding): Remove.
  20966. (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
  20967. (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
  20968. (tls_symbolic_operand_1): Likewise.
  20969. (legitimate_pic_address_disp_p): Use SYMBOL_REF_LOCAL_P.
  20970. * config/i386/i386.h (TARGET_ENCODE_SECTION_INFO): Remove.
  20971. (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
  20972. * config/i386/winnt.c (i386_pe_encode_section_info): Replace
  20973. bits "copied from i386.h" with default_encode_section_info.
  20974. 2003-04-11 Richard Henderson <rth@redhat.com>
  20975. * rtl.def (SYMBOL_REF): Add two 0 fields.
  20976. * gengtype.c (adjust_field_rtx_def): Handle them.
  20977. * print-rtl.c (print_rtx): Print them.
  20978. * rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS): New.
  20979. (SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New.
  20980. (SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New.
  20981. (SYMBOL_FLAG_SMALL, SYMBOL_REF_SMALL_P): New.
  20982. (SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_TLS_MODEL): New.
  20983. (SYMBOL_FLAG_EXTERNAL, SYMBOL_REF_EXTERNAL_P): New.
  20984. (SYMBOL_FLAG_MACH_DEP): New.
  20985. * optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL.
  20986. * varasm.c (make_decl_rtl): Set SYMBOL_REF_DECL.
  20987. (assemble_static_space): Set SYMBOL_REF_FLAGS.
  20988. (assemble_trampoline_template): Likewise.
  20989. (output_constant_def, force_const_mem): Likewise.
  20990. (default_encode_section_info): New.
  20991. * output.h: Declare it.
  20992. * target-def.h (TARGET_ENCODE_SECTION_INFO): Use it.
  20993. 2003-04-11 Richard Henderson <rth@redhat.com>
  20994. * libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New.
  20995. (setbits_libfunc, gcov_flush_libfunc, gcov_init_libfunc): New.
  20996. * optabs.c (init_optabs): Initialize them.
  20997. (init_libfuncs): Use init_one_libfunc.
  20998. * calls.c (expand_call): Use gcov_flush_libfunc.
  20999. * expr.c (store_constructor): Use setbits_libfunc.
  21000. * function.c (expand_main_function): Use init_one_libfunc.
  21001. * profile.c (create_profiler): Use gcov_init_libfunc and DECL_RTL.
  21002. 2003-04-11 Mark Mitchell <mark@codesourcery.com>
  21003. * doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT
  21004. documentation; add DECL_FRIEND_CONTEXT.
  21005. 2003-04-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  21006. * doc/install.texi (hppa): Update links for HP-UX patches. Revise
  21007. notes on linker selection and configuration for 64-bit HP-UX port.
  21008. * doc/invoke.texi (hppa): Remove hppa text from description for
  21009. -ffunction-sections and -fdata-sections. Document -static, -nolibdld
  21010. and -threads options.
  21011. * pa-hpux10.h (LIB_SPEC): Add link options to resolve dependency of
  21012. libc.a on libdld.sl when -static is specified and -nolibdld is not
  21013. specified.
  21014. * pa64-hpux.h (LIB_SPEC): Likewise.
  21015. * pa-hpux11.h (LIB_SPEC): Likewise.
  21016. (LINK_SPEC): Add __gcc_plt_call as an undefined symbol when -shared
  21017. is not specified.
  21018. 2003-04-11 Zack Weinberg <zack@codesourcery.com>
  21019. * config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
  21020. not IDENTIFIER_LOCAL_VALUE.
  21021. 2003-04-11 Richard Henderson <rth@redhat.com>
  21022. PR c/10201
  21023. * expr.c (expand_expr): Move DECL_RTL frobbing ...
  21024. * stor-layout.c (layout_decl): ... here.
  21025. 2003-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
  21026. * doc/invoke.texi: Eliminate extra white-space caused by
  21027. @gccoptlist{ on its own line.
  21028. * doc/invoke.texi: Ensured there are two spaces between each option.
  21029. * doc/invoke.texi: Re-wrapped option lines that were too wide.
  21030. Added @gol to options that didn't have them.
  21031. 2003-04-11 Nathan Sidwell <nathan@codesourcery.com>
  21032. * Makefile.in (loop-init.o): Do not depend on gcov-io.h,
  21033. gcov-iov.h.
  21034. Simplify interface to gcov reading and writing.
  21035. * gcov-io.h (gcov_file, gcov_position, gcov_length, gcov_buffer,
  21036. gcov_alloc, gcov_modified, gcov_errored): Move into ...
  21037. (struct gcov_var gcov_var): ... this static structure.
  21038. (gcov_write_unsigned, gcov_write_counter, gcov_write_string):
  21039. Return void.
  21040. (gcov_read_unsigned, gcov_read_couter, gcov_read_string): Return
  21041. read object.
  21042. (gcov_read_bytes, gcov_write_bytes): Set error flag on error.
  21043. (gcov_reserve_length): Remove.
  21044. (gcov_write_tag): New.
  21045. (gcov_write_length): Adjust.
  21046. (gcov_read_summary, gcov_write_summary): Adjust.
  21047. (gcov_eof, gcov_ok): Rename to ...
  21048. (gcov_is_eof, gcov_is_error): ... here. Return error code.
  21049. (gcov_save_position, gcov_resync): Rename to ...
  21050. (gcov_position, gcov_seek): ... here.
  21051. (gcov_skip, gcov_skip_string): Remove.
  21052. (gcov_error): Remove.
  21053. (gcov_open, gcov_close): Adjust.
  21054. * gcov.c (find_source): Take const char *, copy it on allocation.
  21055. (read_graph_file): Adjust.
  21056. (read_count_file): Adjust.
  21057. * libgcov.c (gcov_exit): Adjust.
  21058. * gcov-dump.c (tag_function, tag_blocks, tag_arcs, tag_lines,
  21059. tag_arc_counts, tag_summary): Return void. Adjust.
  21060. (struct tag_format): Adjust proc member.
  21061. (dump_file): Adjust gcov calls.
  21062. 2003-04-11 Alexandre Oliva <aoliva@redhat.com>
  21063. * Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to
  21064. mkfixinc.sh.
  21065. * fixinc/mkfixinc.sh (defs): Add LIBERTY.
  21066. * configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on
  21067. build != host sysrooted builds.
  21068. * configure.in (SYSTEM_HEADER_DIR): Make sure it contains
  21069. TARGET_SYSTEM_ROOT even on sysrooted natives.
  21070. * configure: Rebuilt.
  21071. 2003-04-10 Zack Weinberg <zack@codesourcery.com>
  21072. * c-decl.c (struct binding_level): Add shadowed_tags and
  21073. function_body; remove this_block, tag_transparent, and
  21074. subblocks_tag_transparent; update comments.
  21075. (clear_binding_level, lookup_tag_reverse): Kill.
  21076. (make_binding_level): Use ggc_alloc_cleared or memset.
  21077. (lookup_tag): Remove struct binding_level* parameter. All
  21078. callers changed. Just look at IDENTIFIER_TAG_VALUE, and
  21079. current_binding_level->tags if asked for thislevel_only or if
  21080. we might have to diagnose "struct foo; union foo;"
  21081. (pushlevel): Ignore argument. Do not push another binding
  21082. level on the transition from the parameters to the top level
  21083. of the function body; just tweak the flags and proceed.
  21084. (poplevel): Overhaul. Clear IDENTIFIER_TAG_VALUEs; on exiting
  21085. a function body, separate the parameter list from the
  21086. top-level local variables.
  21087. (set_block): Do nothing.
  21088. (pushtag): Set IDENTIFIER_TAG_VALUE and add an entry to
  21089. shadowed_tags if necessary.
  21090. (warn_if_shadowing): Nuke the special case for local shadowing
  21091. parameter.
  21092. (pushdecl): Do not create a shadow entry if we are replacing
  21093. an older decl in the same binding level.
  21094. (pushdecl_function_level): Tweak for new way of indicating
  21095. function scope.
  21096. (shadow_tag_warned): Use TYPE_NAME, not lookup_tag_reverse.
  21097. (start_function): Don't set subblocks_tag_transparent.
  21098. (finish_function): Fix up the binding_level stack for totally
  21099. empty functions. Otherwise, don't call poplevel.
  21100. * c-common.c (shadow_warning): MANDATORY argument is no longer
  21101. necessary. Always use plain warning.
  21102. * c-common.h: Update to match.
  21103. * cfglayout.c (scope_to_insns_initialize): Clear block when we
  21104. hit the FUNCTION_DECL.
  21105. * function.c: Do not create cyclic tree structure.
  21106. 2003-04-10 Zack Weinberg <zack@codesourcery.com>
  21107. * c-tree.h (struct lang_identifier): Replace global_value,
  21108. local_value members with symbol_value, tag_value. Kill
  21109. implicit_decl and limbo_value.
  21110. (IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE,
  21111. IDENTIFIER_LIMBO_VALUE, IDENTIFIER_IMPLICIT_DECL,
  21112. C_MISSING_PROTOTYPE_WARNED): Kill.
  21113. (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE,
  21114. C_DECL_IMPLICIT, C_DECL_ISNT_PROTOTYPE): New.
  21115. (C_DECL_ANTICIPATED): Rename to C_DECL_INVISIBLE.
  21116. (implicit_decl_warning, lookup_name_current_level,
  21117. record_function_scope_shadow): Don't prototype.
  21118. (pushdecl_function_level): Prototype.
  21119. * c-decl.c (truly_local_externals): New variable.
  21120. (struct binding_level): Adjust commentary.
  21121. (get_function_binding_level, clear_limbo_values,
  21122. record_function_scope_shadow): Kill.
  21123. (lookup_name_current_level, implicit_decl_warning): Are now static.
  21124. (any_external_decl, record_external_decl): New static functions.
  21125. (clone_underlying type): Split out of pushdecl.
  21126. (c_print_identifier): Update to match changes to struct
  21127. lang_identifier.
  21128. (poplevel): Delete #if 0 block. Make externals invisible
  21129. instead of clearing their IDENTIFIER_SYMBOL_VALUEs. Don't
  21130. call clear_limbo_values. Refer to IDENTIFIER_SYMBOL_VALUE not
  21131. IDENTIFIER_GLOBAL_VALUE or IDENTIFIER_LOCAL_VALUE.
  21132. (duplicate-decls): For real parm decl after a forward decl,
  21133. set TREE_ASM_WRITTEN here. Allow void foo(...) followed by
  21134. foo(...) { } with only a warning. Say whether a previous
  21135. declaration was implicit.
  21136. (warn_if_shadowing): Now handles all shadowing, not just
  21137. local-over-local. Clarify comments.
  21138. (pushdecl): Rewritten. There is no longer a distinction
  21139. between global and local symbol values; they're all
  21140. IDENTIFIER_SYMBOL_VALUE. Call record_external_decl on all
  21141. DECL_EXTERNAL decls, and use any_external_decl to check
  21142. against previous externals. Kill #if 0 blocks. Don't
  21143. tolerate error_mark_node being NULL.
  21144. (pushdecl_top_level): Handle only those cases which
  21145. Objective C (the only user) needs.
  21146. (pushdecl_function_level): New function.
  21147. (implicitly_declare): Create ordinary decls with
  21148. C_DECL_IMPLICIT set. Recycle old decls, however they got
  21149. created.
  21150. (lookup_name): It's always IDENTIFIER_SYMBOL_VALUE. Return 0
  21151. for C_DECL_INVISIBLE symbols.
  21152. (lookup_name_current_level): Likewise. Use chain_member.
  21153. (c_make_fname_decl): Don't muck with DECL_CONTEXT.
  21154. Use pushdecl_function_level.
  21155. (builtin_function): Use C_DECL_INVISIBLE.
  21156. (start_function): Don't muck with IDENTIFIER_IMPLICIT_DECL.
  21157. Use C_DECL_ISNT_PROTOTYPE and C_DECL_IMPLICIT.
  21158. (store_parm_decls): It's IDENTIFIER_SYMBOL_VALUE now.
  21159. (identifier_global_value): Same. Must scan
  21160. global_binding_level in extremis.
  21161. * c-typeck.c (undeclared_variable): New static function, split
  21162. from build_external_ref.
  21163. (build_external_ref): Use DECL_CONTEXT, not
  21164. IDENTIFIER_LOCAL_VALUE, to decide whether a local hides
  21165. an instance variable. Restructure for clarity.
  21166. * objc/objc-act.c: Use identifier_global_value, not
  21167. IDENTIFIER_GLOBAL_VALUE.
  21168. 2003-04-08 Jonathan Wakely <redi@gcc.gnu.org>
  21169. * doc/extend.texi (Template Instantiation): Refer to ISO standard,
  21170. not Working Paper.
  21171. * doc/invoke.texi (C++ Dialect Options): Same.
  21172. 2003-04-10 Zack Weinberg <zack@codesourcery.com>
  21173. * tree.c (tree_operand_check_failed): New function.
  21174. * tree.h (TREE_OPERAND_CHECK, TREE_OPERAND_CHECK_CODE,
  21175. TREE_RTL_OPERAND_CHECK): New checking macros.
  21176. (TREE_OPERAND, SAVE_EXPR_CONTEXT, SAVE_EXPR_RTL,
  21177. RTL_EXPR_SEQUENCE, RTL_EXPR_RTL, WITH_CLEANUP_EXPR_RTL,
  21178. CONSTRUCTOR_ELTS, LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
  21179. EXIT_BLOCK_RETURN, LOOP_EXPR_BODY, EXPR_WFL_NODE,
  21180. EXPR_WFL_FILENAME_NODE, EXPR_WFL_FILENAME, TARGET_EXPR_SLOT,
  21181. TARGET_EXPR_INITIAL, TARGET_EXPR_CLEANUP): Use the new
  21182. checking macros.
  21183. Thu Apr 10 23:52:30 CEST 2003 Jan Hubicka <jh@suse.cz>
  21184. PR inline-asm/8803
  21185. * function.c (instantate_virtual_regs): Verify that all ASM statements
  21186. match after the virutal regs instantiation.
  21187. 2003-04-10 Steve Ellcey <sje@cup.hp.com>
  21188. * ia64-protos.h (addp4_optimize_ok): New.
  21189. * ia64.c (addp4_optimize_ok): New.
  21190. * ia64.md (*ptr_extend_plus_1): Use addp4_optimize_ok.
  21191. (*ptr_extend_plus_2): Ditto.
  21192. 2003-04-10 Steve Ellcey <sje@cup.hp.com>
  21193. * expr.c (expand_assignment): Extend offset_rtx with convert_to_mode
  21194. not with convert_memory_address.
  21195. (store_constructor): Ditto, and same for copy_size_rtx.
  21196. (expand_expr): Ditto.
  21197. 2003-04-10 Douglas B Rupp <rupp@gnat.com>
  21198. * config/i386/i386.c (ix86_ms_bitfield_layout_p): Fix formatting.
  21199. 2003-04-10 Bob Wilson <bob.wilson@acm.org>
  21200. * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
  21201. even if it is configured to be write-through.
  21202. 2003-04-10 Ulrich Weigand <uweigand@de.ibm.com>
  21203. * config/s390/s390.c (larl_operand): Do not allow symbols
  21204. marked with '@'.
  21205. (s390_encode_section_info): Mark symbols with forced 1-byte
  21206. alignment with '@'.
  21207. (s390_strip_name_encoding): Strip '@'.
  21208. (legitimize_pic_address): Handle symbols that are not valid
  21209. LARL operands in 64-bit mode.
  21210. 2003-04-10 Andrew Haley <aph@redhat.com>
  21211. * tree-inline.c (inlinable_function_p): Disable inlining for
  21212. synchronized methods.
  21213. 2003-04-09 Steven Bosscher <steven@gcc.gnu.org>
  21214. * c-common.h (lang_statement_code_p): Remove declaration.
  21215. (statement_code_p): Ditto.
  21216. (c_common_stmt_codes): Define; list of c-common statement codes.
  21217. (statement_code_p): New extern declaration.
  21218. (STATEMENT_CODE_P): Define.
  21219. (INIT_STATEMENT_CODES): Define.
  21220. * c-common.c (statement_code_p): Kill the function, declare
  21221. as an array of bools instead.
  21222. (lang_statement_code_p): Remove.
  21223. (walk_stmt_tree): Use STATEMENT_CODE_P not statement_code_p.
  21224. (c_safe_from_p): Ditto.
  21225. * c-objc-common.c (c_objc_common_init): Use INIT_STATEMENT_CODES
  21226. to initialize the statement_code_p array.
  21227. * tree-inline.c (walk_tree): Use STATEMENT_CODE_P instead of
  21228. statement_code_p.
  21229. (copy_tree_r): Ditto.
  21230. * cp/cp-tree.h (cp_stmt_codes): Define; list of C++ specific
  21231. statement tree codes.
  21232. * cp/lex.c (cxx_init): Add missing print line break. Use
  21233. INIT_STATEMENT_CODES to initialize the statement_code_p array.
  21234. * cp/parser.c (cp_parser_statement): Use STATEMENT_CODE_P
  21235. instead of statement_code_p.
  21236. * cp/pt.c (tsubst_expr): Ditto.
  21237. * cp/tree.c (verify_stmt_tree_r): Ditto.
  21238. (cp_statement_code_p): Remove.
  21239. (init_tree): Don't set lang_statement_code_p, it's gone.
  21240. 2003-04-09 Dan Nicolaescu <dann@ics.uci.edu>
  21241. Zack Weinberg <zack@codesourcery.com>
  21242. * regrename.c (struct du_chain): Use a bitfield for reg_class.
  21243. * cse.c (struct qty_table_elem, struct table_elt, struct set):
  21244. Use bitfields for fields holding enum rtx_code or
  21245. enum machine_mode values. Add comments explaining size choices.
  21246. 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
  21247. * config/fp-bit.c (unpack_d): Handle pair of doubles with
  21248. different signs correctly.
  21249. 2003-04-09 Vladimir Makarov <vmakarov@redhat.com>
  21250. * sched-deps.c (reg_pending_barrier_mode): New enumeration.
  21251. (reg_pending_barrier): Make it of the enumeration type.
  21252. (sched_analyze_2): Define the barrier as MOVE_BARRIER or
  21253. TRUE_BARRIER.
  21254. (sched_analyze): Ditto.
  21255. (sched_analyze_insn): Ditto. Use anti-dependencies for
  21256. MOVE_BARRIER and true-dependencies as TRUE_BARRIER.
  21257. (init_deps_global): Initialize the barrier as NO_BARRIER.
  21258. 2003-04-09 Vladimir Makarov <vmakarov@redhat.com>
  21259. * config/ia64/ia64.c (issue_nops_and_insn): Add new parameter.
  21260. Check that asm insn starts on a new cycle. Add nops after asm
  21261. insn to end bundle.
  21262. (bundling): Move insn type evaluation from the loop. Call
  21263. issue_nops_and_insn with the new parameter. Ignore changing
  21264. position for nops after asm insn.
  21265. 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
  21266. * optabs.c: Comment that gen_add2_insn and others may actually
  21267. return emitted insns, if the gen functions turn out to return
  21268. emitted insns.
  21269. * reload1.c (reload_cse_move2add): Cope with emitted insns from
  21270. gen_add2_insn.
  21271. 2003-04-09 Richard Henderson <rth@redhat.com>
  21272. * config/ia64/ia64.c (move_operand): Allow symbolic_operand,
  21273. but not tls_symbolic_operand.
  21274. (ia64_expand_load_address): Remove scratch operand.
  21275. (ia64_expand_tls_address): Split out from ia64_expand_move.
  21276. (ia64_expand_move): Split symbolics only after reload.
  21277. (ia64_emit_cond_move): New.
  21278. * config/ia64/ia64-protos.h: Update.
  21279. * config/ia64/ia64.md (movsi_symbolic, movdi_symbolic): Remove.
  21280. (symbolic splitter): Accept SImode operands too.
  21281. (cmove splitter): Use ia64_emit_cond_move.
  21282. 2003-04-09 Nick Clifton <nickc@redhat.com>
  21283. * doc/install.texi: Note that ARM toolchains need binutils 2.13 or
  21284. newer.
  21285. * config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa
  21286. instead of -mno-fpu.
  21287. * config/arm/semi.h (ASM_SPEC): Likewise.
  21288. * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
  21289. but only if -msoft-float is specified pass. Otherwise pass
  21290. -mfpu=softvfp.
  21291. 2003-04-09 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  21292. * function.c (purge_addressof): Use free_INSN_LIST_node instead of
  21293. free_EXPR_LIST_node.
  21294. 2003-04-08 Roger Sayle <roger@eyesopen.com>
  21295. * fold-const.c (fold): Use "fold" following build in more places.
  21296. Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y),
  21297. pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z).
  21298. 2003-04-08 Roger Sayle <roger@eyesopen.com>
  21299. * builtins.c (fold_builtin): Constant fold expressions as x*0.5
  21300. instead of x/2.0. Optimize sqrt(pow(x,y)) as pow(x,y*0.5),
  21301. log(pow(x,y)) as y*log(x), pow(exp(x),y) as exp(x*y),
  21302. pow(sqrt(x),y) as pow(x,y*0.5) and pow(pow(x,y),z) as pow(x,y*z).
  21303. Delete function scope "fcode" variable to avoid shadowing.
  21304. 2003-04-08 Kevin Buettner <kevinb@redhat.com>
  21305. * dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
  21306. Take into account DWARF_INITIAL_LENGTH_SIZE.
  21307. 2003-04-08 Hans-Peter Nilsson <hp@axis.com>
  21308. * reorg.c (fill_slots_from_thread): When considering changing the
  21309. insn following a reg-to-reg copy insn to use the source reg of the
  21310. copy, bail out if there's overlap between the registers.
  21311. 2003-04-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  21312. * function.c (postponed_insns): New.
  21313. (purge_addressof_1): Postpone processing of insns if addressofs
  21314. are not put into stack.
  21315. (purge_addressof): Process postponed insns.
  21316. 2003-04-08 J"orn Rennecke <joern.rennecke@superh.com>
  21317. * sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
  21318. this is FP_MODE_DOUBLE .
  21319. * sh.c (ra.h): #include.
  21320. (push_regs): Add second parameter. Changed all callers.
  21321. If necessary, set fpscr before saving floating point registers.
  21322. (calc_live_regs): If interrupt handler and TARGET_FMOVD, always
  21323. do saves / restores with SZ == 1.
  21324. (sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz.
  21325. (sh_expand_epilogue): Likewise. For TARGET_FMOVD, if floating point
  21326. registers are being restored, restore FPSCR only after restoring them.
  21327. 2003-04-08 Aldy Hernandez <aldyh@redhat.com>
  21328. * config/rs6000/rs6000.c (rs6000_init_builtins): Set opaque types
  21329. regardless of architecture.
  21330. (spe_init_builtins): Change V2SI and V2SF types to opaque types.
  21331. 2003-04-08 J"orn Rennecke <joern.rennecke@superh.com>
  21332. * sh.c (push_regs, calc_live_regs): Return int. Take single
  21333. HARD_REG_SET * parameter. Changed all callers.
  21334. Tue Apr 8 11:12:07 CEST 2003 Jan Hubicka <jh@suse.cz>
  21335. * i386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the
  21336. GOTOFF operand.
  21337. (legitimize_pic_address): Move plus outside the unspec.
  21338. * i386.c (legitimate_constant_p): Check (CONST (PLUS (UNSPEC ...
  21339. for validity.
  21340. 2003-04-08 Nathan Sidwell <nathan@codesourcery.com>
  21341. * gcov-io.h (gcov_save_position): Remove __inline__ from
  21342. declaration.
  21343. 2003-04-07 Matt Kraai <kraai@alumni.cmu.edu>
  21344. * doc/install.texi: Use @command and @samp for single- and
  21345. multi-word commands respectively.
  21346. * doc/makefile.texi: Likewise.
  21347. * doc/sourcebuild.texi: Likewise.
  21348. 2003-04-07 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
  21349. Richard Henderson <rth@redhat.com>
  21350. PR c/9516
  21351. * expr.c (safe_from_p): Rearrange to avoid deep recursion in
  21352. favor of looping and tail recursion for TREE_LIST and binops.
  21353. 2003-04-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  21354. * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults
  21355. for insns without luid.
  21356. 2003-04-07 Glen Nakamura <glen@imodulo.com>
  21357. PR opt/8634
  21358. * explow.c (maybe_set_unchanging): Don't flag non-static const
  21359. aggregate type initializers with RTX_UNCHANGING_P.
  21360. 2003-04-07 Richard Henderson <rth@redhat.com>
  21361. PR opt/8634
  21362. * function.c (purge_addressof_1): Don't try arithmetics for
  21363. unchanging memories.
  21364. 2003-04-07 Janis Johnson <janis187@us.ibm.com>
  21365. * doc/sourcebuild.texi (Test Suites): Document testing support for
  21366. gcov and profile-directed optimizations; describe gcc.misc-tests.
  21367. Mon Apr 7 22:19:59 CEST 2003 Jan Hubicka <jh@suse.cz>
  21368. PR target/10077
  21369. * i386.md (movsi_1, movsi_nointerunit_1): Fix SSEMOV alternative.
  21370. 2003-04-07 Eric Botcazou <ebotcazou@libertysurf.fr>
  21371. * doc/rtl.texi (Comparison operations): Update to
  21372. record the allowed comparison modes.
  21373. 2003-04-07 Aldy Hernandez <aldyh@redhat.com>
  21374. * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all
  21375. V2SI_type_node to opaque_V2SI_type_node. Rename all
  21376. V2SF_type_node to opaque_V2SF_type_node.
  21377. (rs6000_init_builtins): Define opaque_V2SI_type_node and
  21378. opaque_V2SF_type_node.
  21379. (is_ev64_opaque_type): The types opaque_V2SI_type_node and
  21380. opaque_V2SF_type_node are opaque types.
  21381. 2003-04-07 J"orn Rennecke <joern.rennecke@superh.com>
  21382. * gcse.c (replace_store_insn): Use single_set.
  21383. 2003-04-07 Nathan Sidwell <nathan@codesourcery.com>
  21384. Change gcov file interface to single file at a time.
  21385. * gcov-io.h: Replace IN_LIBGCC1 with IN_LIBGCOV. Use IN_GCOV.
  21386. Convert to C89 prototypes.
  21387. (gcov_file, gcov_length, gcov_position, gcov_buffer, gcov_alloc,
  21388. gcov_error, gcov_modified): New static variables.
  21389. (gcov_open, gcov_close, gcov_read_bytes, gcov_write_bytes): New
  21390. functions.
  21391. (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
  21392. gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
  21393. (gcov_read_summary, gcov_write_summary): Adjust.
  21394. (gcov_save_position, gcov_reserve_length, gcov_write_length):
  21395. Adjust.
  21396. (gcov_resync, gcov_skip, gcov_skip_string): Adjust.
  21397. (da_file_open, da_file_close, da_file_eof, da_file_error): Remove.
  21398. (da_file_position, da_file_seek, da_file_write, da_file_read):
  21399. Remove.
  21400. (gcov_error, gcov_eof, gcov_ok, gcov_time): New functions.
  21401. * gcov.c (gcov_type): Don't typedef here.
  21402. (IN_GCOV): #define
  21403. (read_graph_file, read_count_file): Adjust.
  21404. * gcov-dump.c (gcov_type): Don't typedef here.
  21405. (IN_GCOV): #define.
  21406. (tag_function, tag_blocks, tag_arcs, tag_lines, tag_arc_counts):
  21407. Remove FILE parameter, adjust.
  21408. (struct tag_format): Adjust proc member.
  21409. (dump_file): Adjust.
  21410. * libgcov.c (IN_LIBGCOV): #define.
  21411. (gcov_exit): Adjust.
  21412. * loop-init.c: Don't #include gcov-io.h
  21413. * profile.c (struct counts_entry): New structure to hold counter
  21414. values.
  21415. (struct section_reference, struct da_index_entry): Remove.
  21416. (bbg_file, da_file): Remove.
  21417. (htab_counts_index_hash, htab_counts_index_eq,
  21418. htab_counts_index_del): Replace with ...
  21419. (htab_counts_entry_hash, htab_counts_entry_eq,
  21420. htab_counts_entry_del): ... these.
  21421. (cleanup_counts_index, index_counts_file): Remove.
  21422. (read_counts_file): New function.
  21423. (get_exec_counts): Adjust.
  21424. (compute_branch_probabilities): Don't free the exec counts here.
  21425. (branch_prob): Adjust.
  21426. (init_branch_prob): Adjust.
  21427. (end_branch_prob): Adjust.
  21428. 2003-04-07 Aldy Hernandez <aldyh@redhat.com>
  21429. * doc/invoke.texi (RS/6000 and PowerPC Options): Document
  21430. -mfloat-gprs.
  21431. * config/rs6000/rs6000.c: Delete rs6000_fprs.
  21432. Declare rs6000_float_gprs.
  21433. Declare rs6000_float_gprs_string.
  21434. (rs6000_parse_float_gprs_option): New.
  21435. (rs6000_override_options): Genericize rs6000_parse_* calls to use
  21436. rs6000_parse_yes_no_option.
  21437. Change check for cpu=8540, to use TARGET_E500.
  21438. (rs6000_parse_isel_option): Delete.
  21439. (rs6000_parse_spe_option): Delete.
  21440. (rs6000_parse_vrsave_option): Delete.
  21441. * config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs.
  21442. Define rs6000_float_gprs_string.
  21443. (TARGET_OPTIONS): Add rs6000_float_gprs option.
  21444. * config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs.
  21445. * config/rs6000/eabispe.h: Set rs6000_float_gprs.
  21446. Mon Apr 7 14:36:24 CEST 2003 Jan Hubicka <jh@suse.cz>
  21447. PR opt/10024
  21448. * cfglayout.c (cfg_layout_redirect_edge):
  21449. Redirect any branch edges unified with the fallthru one.
  21450. * cfgrtl.c (force_nonfallthru_and_redirect): Do not special
  21451. case fallthru edges when called via cfglayout.c
  21452. 2003-04-07 J"orn Rennecke <joern.rennecke@superh.com>
  21453. * c-typeck.c (output_init_element): Check for type == error_mark_node.
  21454. 2003-04-07 Kazu Hirata <kazu@cs.umass.edu>
  21455. * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always
  21456. split.
  21457. (a splitter): Do zero-extension via HImode.
  21458. 2003-04-07 James A. Morrison <ja2morri@uwaterloo.ca>
  21459. * doc/invoke.texi: Eliminate extra white-space caused by
  21460. @gccoptlist{ on its own line.
  21461. * doc/invoke.texi: Ensured there are two spaces between each option.
  21462. * doc/invoke.texi: Re-wrapped option lines that were too wide.
  21463. Added @gol to options that didn't have them.
  21464. 2003-04-07 James A Morrison <ja2morri@student.math.uwaterloo.ca>
  21465. * doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.
  21466. 2003-04-06 Zack Weinberg <zack@codesourcery.com>
  21467. * tree.c (tree_size): For all 'c' and 'x' nodes, look directly
  21468. at the sizes of the relevant structures, rather than relying
  21469. on TREE_CODE_LENGTH. Call lang_hooks.tree_size to get the
  21470. sizes of any such we don't know about. Use
  21471. lang_hooks.identifier_size for IDENTIFIER_NODE.
  21472. (initializer_zerop): Use CONSTRUCTOR_ELTS.
  21473. * tree.def: Update commentary. Make fourth element of
  21474. the definition for all 'c' and 'x' nodes zero.
  21475. * langhooks.h: New hook, tree_size / LANG_HOOKS_TREE_SIZE.
  21476. * langhooks-def.h: Update to match.
  21477. * langhooks.c: New default, lhd_tree_size.
  21478. * c-common.def (SRCLOC): Kill.
  21479. * c-pretty-print.c (pp_c_postfix_expression [case SRCLOC]):
  21480. Remove entirely - was already #if-ed out.
  21481. 2003-04-06 Zack Weinberg <zack@codesourcery.com>
  21482. * mklibgcc.in: Use a here document to avoid running afoul of
  21483. shells that generate control-A from "echo \1".
  21484. 2003-04-06 Aldy Hernandez <aldyh@redhat.com>
  21485. * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mspe
  21486. option.
  21487. * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
  21488. rs6000_spe.
  21489. * config/rs6000/eabi.h (TARGET_E500): Define.
  21490. * config/rs6000/rs6000.h (TARGET_E500): Define.
  21491. (TARGET_OPTIONS): Add spe= option.
  21492. Declare rs6000_spe and rs6000_spe_string extern.
  21493. * config/rs6000/rs6000.c (branch_positive_comparison_operator):
  21494. Change TARGET_SPE to TARGET_E500.
  21495. (ccr_bit): Change TARGET_SPE to TARGET_E500. Check for
  21496. !TARGET_FPRS.
  21497. (print_operand): Same.
  21498. (rs6000_generate_compare): Same.
  21499. (output_cbranch): Same.
  21500. (rs6000_spe): Declare.
  21501. (rs6000_spe_string): Declare.
  21502. (rs6000_override_options): Call rs6000_parse_spe_option.
  21503. (rs6000_parse_spe_option): New.
  21504. 2003-04-06 Steven Bosscher <steven@gcc.gnu.org>
  21505. * hashtable.c (gcc_obstack_init): Delete this function
  21506. and everything related to it.
  21507. * hashtable.h: Remove prototype.
  21508. * bitmap.c (bitmap_element_allocate): Cleanup redundant
  21509. defines. Cleanup some unnecessary whitespace.
  21510. * defaults.h (obstack_chunk_alloc): Redefine with
  21511. appropriate casts for libiberty obstacks.
  21512. (obstack_chunk_free): Ditto.
  21513. (OBSTACK_CHUNK_SIZE): Define, default to 0.
  21514. (gcc_obstack_init): Define as a call to _obstack_begin.
  21515. * tree.c (print_obstack_statistics): Delete this unused
  21516. function.
  21517. * tree.h (obstack): Don't forward-declare.
  21518. (print_obstack_statistics): Delete prototype.
  21519. (print_obstack_name): Ditto.
  21520. (gcc_obstack_init): Ditto.
  21521. * rtl.h (gcc_obstack_init): Ditto.
  21522. * java/jv-scan.c (gcc_obstack_init): Delete this
  21523. function, its prototype and related defines.
  21524. * java/jvgenmain.c (gcc_obstack_init): Delete this
  21525. function, and related defines.
  21526. * java/parse-scan.y (obstack_chunk_alloc): Don't define.
  21527. (obstack_chunk_free): Ditto
  21528. 2003-04-06 Geoffrey Keating <geoffk@apple.com>
  21529. * dbxout.c (dbxout_handle_pch): Move prototype out from
  21530. #if defined DBX_DEBUGGING_INFO.
  21531. 2003-04-05 Nathan Sidwell <nathan@codesourcery.com>
  21532. * gcov.c (struct arc_info): Replace local_span with cycle.
  21533. (struct block_info): Replace u.span with u.cycle. Add is_call_return.
  21534. (solve_flow_graph): Set is_call_return.
  21535. (add_line_counts): Adjust. In block mode, blocks attach to last line.
  21536. (accumulate_line_counts): Find graph cycles, not spanning tree.
  21537. (output_branch_count): Adjust.
  21538. (output_lines): Adjust.
  21539. * doc/gcov.texi: Update.
  21540. 2003-04-06 Kazu Hirata <kazu@cs.umass.edu>
  21541. * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change
  21542. the second alternative to "#".
  21543. 2003-04-05 Kazu Hirata <kazu@cs.umass.edu>
  21544. * config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK.
  21545. (single_zero_operand): Likewise.
  21546. 2003-04-05 Daniel Berlin <dberlin@dberlin.org>
  21547. * Makefile.in (df.o): Depend on alloc-pool.h, not obstack.h.
  21548. * df.c: Include alloc-pool.h, not obstack.h.
  21549. (df_ref_obstack): Remove.
  21550. (df_ref_pool, df_link_pool): Add pools.
  21551. (df_alloc): Init the new pools.
  21552. (df_free): And free them.
  21553. (df_link_create): Use the pools.
  21554. (df_ref_create): Ditto.
  21555. 2003-04-05 Kazu Hirata <kazu@cs.umass.edu>
  21556. * simplify-rtx.c: Fix formatting.
  21557. 2003-04-05 Andrew Pinski <apinski@apple.com>
  21558. * config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
  21559. reg with reg1 == reg2 and offset1 = -8.
  21560. 2003-04-05 David Edelsohn <edelsohn@gnu.org>
  21561. * config/rs6000/rs6000.c (rs6000_rtx_costs): Halve Power4
  21562. multiply costs. Correct Power4 divide costs.
  21563. * config/rs6000/power4.md: Restore multiply and FP latency.
  21564. 2003-04-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  21565. * alias.c (find_base_term): Export.
  21566. * rtl.h (find_base_term): Declare.
  21567. * gcse.c (find_moveable_store): Test for flag_non_call_exceptions
  21568. instead of flag_exceptions. Move test for parameter passing ...
  21569. (store_killed_in_insn): ... here.
  21570. 2003-04-05 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  21571. PR bootstrap/10267
  21572. * doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
  21573. for configuring.
  21574. 2003-04-04 Geoffrey Keating <geoffk@apple.com>
  21575. * dbxout.c (scope_labelno): Add GTY.
  21576. (have_used_extensions): Add GTY.
  21577. (source_label_number): Add GTY.
  21578. (lastfile): Add GTY.
  21579. (lastfile_is_base): New.
  21580. (base_input_file): New.
  21581. (dbxout_handle_pch): New.
  21582. (dbx_debug_hooks): Add handle_pch.
  21583. (xcoff_debug_hooks): Likewise.
  21584. (dbxout_function_end): Remove scope_labelno.
  21585. (dbxout_init): Set base_input_file.
  21586. (dbxout_handle_pch): New.
  21587. (dbxout_source_file): Honour lastfile_is_base.
  21588. * dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch.
  21589. * sdbout.c (sdb_debug_hooks): Add dummy handle_pch.
  21590. * vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch.
  21591. * dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch.
  21592. * debug.c (do_nothing_debug_hooks): Add dummy handle_pch.
  21593. * debug.h (struct gcc_debug_hooks): Add handle_pch.
  21594. * c-pch.c (pch_init): Don't call start_source_file, but do call
  21595. handle_pch.
  21596. (c_common_write_pch): Call handle_pch.
  21597. (c_common_read_pch): Don't call start_source_file,
  21598. or end_source_file.
  21599. Fri Apr 4 17:43:52 2003 Olivier Hainque <hainque@act-europe.fr>
  21600. * emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
  21601. use of default attributes to agree MEM_ALIGN macro.
  21602. Fri Apr 4 17:33:24 2003 Joel Brobecker <brobecker@gnat.com>
  21603. * dbxout.c (dbxout_type): When printing type index of range type
  21604. whose bounds are printed in octal format, print type of parent type if
  21605. it exists so enumerated type descriptions are not transformed
  21606. into unsigned types.
  21607. 2003-04-04 Kazu Hirata <kazu@cs.umass.edu>
  21608. * config/h8300/h8300-protos.h: Add a prototype for
  21609. compute_a_shift_cc.
  21610. * config/h8300/h8300.c (shift_one): Update the CC status.
  21611. (shift_two): Likewise.
  21612. (output_a_shift_cc): Set cc_inline and cc_special.
  21613. (compute_a_shift_cc): New.
  21614. * config/h8300/h8300.md (shift insns): Use compute_a_shift_cc.
  21615. 2003-04-04 Richard Henderson <rth@redhat.com>
  21616. * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
  21617. 2003-04-04 Loren James Rittle <ljrittle@acm.org>
  21618. * fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
  21619. * fixinc/fixincl.x: Rebuilt.
  21620. * fixinc/tests/base/stdio.h: Regenerated.
  21621. 2003-04-04 Nathan Sidwell <nathan@codesourcery.com>
  21622. * gcov.c (accumulate_line_counts): Fix span tree merge bug.
  21623. Fri Apr 4 15:58:52 2003 J"orn Rennecke <joern.rennecke@superh.com>
  21624. * sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
  21625. (NORMAL_MODE).
  21626. * sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE.
  21627. 2003-04-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  21628. * doc/contrib.texi (Contributors): Add entries for Wolfgang
  21629. Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
  21630. Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
  21631. Danny Smith, and Ulrich Weigand.
  21632. Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
  21633. entry.
  21634. 2003-04-04 Nick Clifton <nickc@redhat.com>
  21635. * config/sparc/sol2-bi.h: Revert previous delta.
  21636. * config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO
  21637. 2003-04-04 Nick Clifton <nickc@redhat.com>
  21638. * config/v850/v850.c (expand_prologue): Only use register save
  21639. helper functions if long calls are not being used.
  21640. Add a clobber of r11 id using long calls.
  21641. (pattern_is_ok_for_prologue): Account for the extra clobber.
  21642. (construct_save_jarl): Likewise.
  21643. * config/v850/v850.md (prolog pattern): Do not use this pattern
  21644. for v850e's.
  21645. 2003-04-04 Andreas Schwab <schwab@suse.de>
  21646. * stor-layout.c (layout_decl): Avoid syntax error in last change
  21647. when PCC_BITFIELD_TYPE_MATTERS is defined but not
  21648. EMPTY_FIELD_BOUNDARY.
  21649. 2003-04-03 Jason Merrill <jason@redhat.com>
  21650. PR c/10175
  21651. * jump.c (never_reached_warning): Revert patch of 2002-11-02.
  21652. Look backwards for a line note.
  21653. 2003-04-03 Neil Booth <neil@daikokuya.co.uk>
  21654. * fix-header.c (read_scan_file): Defer switch processing.
  21655. 2003-04-03 Matt Austern <austern@apple.com>
  21656. * cpppch.c (reset_ht): Remove.
  21657. (cpp_read_state): Remove loop to reset hashtable identifiers.
  21658. * ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
  21659. after pch file is written.
  21660. * ggc.h (gt_pch_fixup_stringpool): Declare.
  21661. * stringpool.c (ht_copy_and_clear): Define. Callback. Copy
  21662. hashnode's value to another hashtable, then clear the original.
  21663. (saved_ident_hash): Define.
  21664. (gt_pch_save_stringpool): Create saved_ident_hash, use it to
  21665. store definitions in ident_hash, and clear ident_hash.
  21666. (gt_pch_fixup_stringpool): Define. Restore definitions from
  21667. saved_ident_hash to ident_hash, then destroy saved_ident_hash.
  21668. Thu Apr 3 22:27:40 CEST 2003 Jan Hubicka <jh@suse.cz>
  21669. * cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
  21670. 2003-04-03 Eric Botcazou <ebotcazou@libertysurf.fr>
  21671. PR optimization/10157
  21672. * gcse.c (can_copy_p): Rename it to can_copy.
  21673. (can_copy_init_p): Remove.
  21674. (compute_can_copy): Use can_copy instead of can_copy_p.
  21675. (can_copy_p): New exported function. Call compute_can_copy.
  21676. (hash_scan_set): Use it.
  21677. (gcse_main): Don't call compute_can_copy.
  21678. (bypass_jumps): Don't call compute_can_copy.
  21679. * rtl.h (can_copy_p): Declare.
  21680. * loop.c (scan_loop): Don't move the source and add a reg-to-reg
  21681. copy if the mode doesn't support copy operations.
  21682. 2003-04-03 Jason Merrill <jason@redhat.com>
  21683. * Makefile.in (unstrap): Also remove stage_last.
  21684. * dwarf2out.c (lookup_filename): Don't check for "<internal>".
  21685. (dwarf2out_source_line): Don't do anything if line==0.
  21686. * stor-layout.c (do_type_align): New fn, split out from...
  21687. (layout_decl): ...here. Do all alignment calculations for
  21688. FIELD_DECLs here.
  21689. (update_alignment_for_field): Not here.
  21690. (start_record_layout, debug_rli): Remove unpadded_align.
  21691. * tree.h (struct record_layout_info_s): Remove unpadded_align.
  21692. * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
  21693. or DECL_MODE on the CONST_DECLs.
  21694. (finish_struct): Don't mess with DECL_ALIGN.
  21695. Thu Apr 3 18:57:19 CEST 2003 Jan Hubicka <jh@suse.cz>
  21696. * i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
  21697. Thu Apr 3 17:08:09 2003 J"orn Rennecke <joern.rennecke@superh.com>
  21698. * sh.c (sh_function_ok_for_sibcall): Return 0 if the current
  21699. function is an interrupt handler.
  21700. * sh.c (sh_expand_epilogue): Avoid clash of temp register for
  21701. restoring target registers with EH_RETURN_STACKADJ_RTX; use
  21702. multiple registers in round-robin fashion.
  21703. 2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  21704. * gengtype-lex.l (IWORD): Add CHAR_BITFIELD.
  21705. * system.h (CHAR_BITFIELD): New.
  21706. 2003-04-03 Kazu Hirata <kazu@cs.umass.edu>
  21707. * config/h8300/h8300.md (a peephole2): Generalize to accept GT
  21708. and LE.
  21709. (another peephole2): Likewise.
  21710. 2003-04-03 Nick Clifton <nickc@redhat.com>
  21711. * config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
  21712. (DEF_ARCH64_SPEC): Likewise.
  21713. Thu Apr 3 09:53:40 CEST 2003 Jan Hubicka <jh@suse.cz>
  21714. * i386.c (constant_address_p): Use legitimate_constant_p.
  21715. (legitimate_address_p): Do not use CONSTANT_ADDRESS_P.
  21716. 2003-04-02 Kazu Hirata <kazu@cs.umass.edu>
  21717. * config/h8300/h8300-protos.h: Add a prototype for
  21718. gtle_operator.
  21719. * config/h8300/h8300.c (gtle_operator): New.
  21720. * config/h8300/h8300.h (PREDICATE_CODES): Add an entry for
  21721. gtle_operator.
  21722. * config/h8300/h8300.md (a peephole2): Generalize to accept GT
  21723. and LE.
  21724. 2003-04-02 Richard Henderson <rth@redhat.com>
  21725. * libgcc-std.ver (_Unwind_GetCFA): New.
  21726. * unwind-dw2.c (_Unwind_GetCFA): New.
  21727. * unwind-libunwind.c (_Unwind_GetCFA): New.
  21728. * unwind-sjlj.c (_Unwind_GetCFA): New.
  21729. * unwind.h: Declare it.
  21730. Thu Apr 3 00:31:21 CEST 2003 Jan Hubicka <jh@suse.cz>
  21731. PR inline-asm/8088
  21732. * i386.c (ix86_hard_regno_mode_ok): Return 0 for MMX/SSE registers
  21733. when MMX/SSE is not available.
  21734. 2003-04-02 Mike Stump <mrs@apple.com>
  21735. * doc/install.texi (Specific): Update pointers to apple.com.
  21736. Thu Apr 3 00:18:49 CEST 2003 Jan Hubicka <jh@suse.cz>
  21737. * i386.c (override_options): Disable red zone by default on i386.
  21738. (compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory):
  21739. Do not test TARGET_64BIT together with TARGET_RED_ZONE
  21740. 2003-04-02 Kazu Hirata <kazu@cs.umass.edu>
  21741. * config/h8300/h8300.md (a peephole2): Tighten the condition.
  21742. 2003-04-02 Richard Henderson <rth@redhat.com>
  21743. * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.
  21744. 2003-04-02 Kazu Hirata <kazu@cs.umass.edu>
  21745. * config/h8300/h8300.md (a peephole2): New.
  21746. 2003-04-02 Richard Henderson <rth@redhat.com>
  21747. * except.c (sjlj_find_directly_reachable_regions): Recognize when
  21748. must-not-throw region has been deleted.
  21749. 2003-04-02 Richard Henderson <rth@redhat.com>
  21750. * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
  21751. optimization when flag_exceptions not enabled.
  21752. 2003-04-02 Vladimir Makarov <vmakarov@redhat.com>
  21753. * config/rs6000/rs6000.c
  21754. (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the
  21755. macros.
  21756. (rs6000_issue_rate): Add case for 8540.
  21757. (rs6000_use_sched_lookahead): New function.
  21758. * config/rs6000/8540.md: Rename SIU units into SU ones and MIU
  21759. units into MU ones.
  21760. (ppc8540_branch, ppc8540_cr_logical): Add one cycle in the
  21761. reservation before retirement.
  21762. (ppc8540_multiply, ppc8540_load, ppc8540_store,
  21763. ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store):
  21764. Remove additional cycle in the reservation before retirement.
  21765. (ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed
  21766. reservation of ppc8540_issue.
  21767. 2003-04-02 Andreas Schwab <schwab@suse.de>
  21768. * real.c (decode_ieee_single): Fix decoding of SNaN bit.
  21769. 2003-04-01 Richard Henderson <rth@redhat.com>
  21770. * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
  21771. notes for nothrow calls if flag_forced_unwind_exceptions.
  21772. (build_post_landing_pads): Mind flag_forced_unwind_exceptions.
  21773. (sjlj_find_directly_reachable_regions): Likewise.
  21774. (reachable_handlers): Likewise.
  21775. (can_throw_external): Likewise.
  21776. (collect_one_action_chain): Record cleanups after catch-all and
  21777. must-not-throw if flag_forced_unwind_exceptions.
  21778. * flags.h (flag_forced_unwind_exceptions): Declare.
  21779. * toplev.c (flag_forced_unwind_exceptions): New.
  21780. (lang_independent_options): Add it.
  21781. * doc/invoke.text: Add it.
  21782. 2003-04-01 David Mosberger <davidm@hpl.hp.com>
  21783. * config/ia64/crti.asm: Clean up trailing whitespace.
  21784. Remove trailing hashes (#) from identifiers.
  21785. * config/ia64/crtn.asm: Ditto.
  21786. * config/ia64/crtend.asm: Remove trailing hashes (#) from
  21787. identifiers.
  21788. (__do_global_ctors_aux): Align to 32-byte boundary. Add unwind
  21789. directives. Drop explicit bundling---it just makes the code
  21790. harder to read. Don't save/restore gp needlessly.
  21791. * config/ia64/crtbegin.asm: Remove trailing hashes (#) from
  21792. identifiers (they're only needed if the identifier would clash
  21793. with a register name otherwise).
  21794. (__do_global_dtors_aux): Align to 32-byte boundary. Add unwind
  21795. directives. Drop explicit bundling---it just makes the code
  21796. harder to read.
  21797. (__do_jv_register_classes): Ditto.
  21798. (.fini_array): Remove "progbits" (newer
  21799. assemblers don't like wrong section-types).
  21800. (.init_array): Ditto.
  21801. 2003-04-01 Roger Sayle <roger@eyesopen.com>
  21802. PR fortran/9974
  21803. * gcse.c (reg_killed_on_edge): New function to test whether the
  21804. given reg is overwritten by any instruction queued on an edge.
  21805. (bypass_block): Ignore substitutions killed on incoming edges.
  21806. Don't bypass outgoing edges that have queued instructions.
  21807. 2003-04-01 Alexandre Oliva <aoliva@redhat.com>
  21808. * real.h (EXP_BITS): Make room for...
  21809. (struct real_value): ... added canonical bit.
  21810. (struct real_format): Added pnan.
  21811. (mips_single_format, mips_double_format, mips_extended_format,
  21812. mips_quad_format): New.
  21813. * real.c: Copy p to pnan in all formats.
  21814. (get_canonical_qnan, get_canonical_snan): Set canonical bit.
  21815. (real_nan): Use pnan to compute significand's shift.
  21816. (real_identical): Disregard significand in canonical
  21817. NaNs.
  21818. (real_hash): Likewise. Take signalling into account.
  21819. (encode_ieee_single, encode_ieee_double, encode_ieee_quad):
  21820. Disregard significand bits in canonical NaNs. Set all bits of
  21821. canonical NaN if !qnan_msb_set.
  21822. (encode_ibm_extended, decode_ibm_extended): Likewise. Use
  21823. qnan_msb_set to tell the base double format.
  21824. (ibm_extended_format): Use 53 as pnan.
  21825. (mips_single_format, mips_double_format, mips_extended_format,
  21826. mips_quad_format): Copied from the corresponding ieee/ibm
  21827. formats, with qnan_msb_set false.
  21828. * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
  21829. * config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format.
  21830. * config/mips/mips.c (override_options): Use mips_single_format
  21831. and mips_double_format. Default TFmode to mips_quad_format.
  21832. * config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED.
  21833. * config/mips/t-irix6: Likewise.
  21834. * config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
  21835. * config/fp-bit.c (pack_d, unpack_d): Obey it.
  21836. 2003-04-01 Geoffrey Keating <geoffk@apple.com>
  21837. * unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
  21838. (live_image_destructor): Reset image to initial state.
  21839. (examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE.
  21840. 2003-04-01 Eric Botcazou <ebotcazou@libertysurf.fr>
  21841. * config/sparc/sparc.c (input_operand): Accept bare
  21842. CONSTANT_P_RTX operands.
  21843. 2003-04-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  21844. * gcse.c (struct ls_expr): Added pattern_regs field.
  21845. (ldst_entry): Initialize it.
  21846. (extract_mentioned_regs, extract_mentioned_regs_helper): New.
  21847. (store_ops_ok): Use regs precomputed by them.
  21848. (find_loads, store_killed_in_insn, load_kills_store): Change return
  21849. type to bool.
  21850. (store_killed_before, store_killed_after): Take position of register
  21851. set in account.
  21852. (reg_set_info): Store position of the setter.
  21853. (gcse_main): Enable store motion.
  21854. (mems_conflict_for_gcse_p): Enable load motion of non-symbol mems.
  21855. (pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl
  21856. sharing.
  21857. (simple_mem): Enable store motion of non-symbol mems.
  21858. (regvec): Type changed.
  21859. (LAST_AVAIL_CHECK_FAILURE): New.
  21860. (compute_store_table_current_insn): New.
  21861. (build_store_vectors): Computation of availability and anticipatability
  21862. moved ...
  21863. (compute_store_table, find_moveable_store): ... here.
  21864. (delete_store): Remove senseless comment.
  21865. (store_motion): Reorganize.
  21866. 2003-04-01 Kevin Buettner <kevinb@redhat.com>
  21867. * config/mips/mips.c (override_options): Provide mappings for
  21868. HI_REGNUM and LO_REGNUM.
  21869. * config/mips/mips.h (MD_DBX_FIRST): Define.
  21870. 2003-04-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  21871. * combine.c (merge_outer_ops): Fix typo.
  21872. * varasm.c (make_decl_one_only): Revert 2003-03-09 patch.
  21873. 2003-04-01 David Edelsohn <edelsohn@gnu.org>
  21874. * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
  21875. power4.md,rios1.md,rios2.md,rs64.md}: Change mult_compare to
  21876. imul_compare. Add lmul_compare.
  21877. * config/rs6000/power4.md: Bump some latencies. Model extra cycle
  21878. in second pair of dispatch slots. Model stores more accurately.
  21879. Tweak multiply model. Add bypasses for CR instructions dependent
  21880. on complicated compares.
  21881. * config/rs6000/rs6000.md (mulsi3): Name imul_compare patterns.
  21882. (muldi3): Add lmul_compare patterns.
  21883. * config/rs6000/rs6000.c (rs6000_variable_issue): Move FPLOAD_UX
  21884. and FPSTORE_UX to split instructions and add COMPARE,
  21885. DELAYED_COMPARE, IMUL_COMPARE, LMUL_COMPARE, IDIV, LDIV.
  21886. (rs6000_adjust_cost): Add IMUL_COMPARE and LMUL_COMPARE.
  21887. (rs6000_rtx_costs): Separate POWER4 multiply case.
  21888. 2003-04-01 Ulrich Weigand <uweigand@de.ibm.com>
  21889. * config/s390/s390.c (s390_fixup_clobbered_return_reg):
  21890. Do nothing if __builtin_return_address was not used.
  21891. Tue Apr 1 18:18:23 CEST 2003 Jan Hubicka <jh@suse.cz>
  21892. * i386.md (test patterns): Allow memory operand in operand1.
  21893. 2003-04-01 Aldy Hernandez <aldyh@redhat.com>
  21894. * testsuite/gcc.c-torture/execute/simd-3.c: New.
  21895. * expr.c (expand_expr): Handle VECTOR_CST.
  21896. (const_vector_from_tree): New.
  21897. * varasm.c (output_constant): Handle VECTOR_CST.
  21898. * c-typeck.c (digest_init): Build a vector constant from a
  21899. VECTOR_TYPE.
  21900. * config/rs6000/rs6000.c: Remove prototype for
  21901. easy_vector_constant.
  21902. (easy_vector_constant): Add mode parameter. Rewrite to handle
  21903. more easy constants.
  21904. (rs6000_emit_move): Pass mode to easy_vector_constant.
  21905. Call emit_easy_vector_insn for SPE V2SI vector constant moves.
  21906. (emit_easy_vector_insn): New.
  21907. (easy_vector_same): New.
  21908. (EASY_VECTOR_15): New macro.
  21909. (EASY_VECTOR_15_ADD_SELF): New macro.
  21910. (bdesc_2arg): Rename to xorv2si3.
  21911. (easy_vector_constant_add_self): New.
  21912. (input_operand): Allow vector constants.
  21913. * config/rs6000/rs6000.h (PREDICATE_CODES): Add
  21914. easy_vector_constant, easy_vector_constant_add_self.
  21915. (EXTRA_CONSTRAINT): Add 'W'.
  21916. * config/rs6000/rs6000-protos.h: Add prototype for
  21917. easy_vector_constant, emit_easy_vector_insn.
  21918. * config/rs6000/altivec.md (xorv8hi3): New.
  21919. (xorv16qi3): New.
  21920. Remove all _const0 patterns.
  21921. (movv4si_internal): Rewrite to use code. Add vector constant to
  21922. vector alternative. Add splitter.
  21923. (movv8hi_internal): Same.
  21924. (movv16qi_internal): Same.
  21925. (movv4sf_internal): Same.
  21926. Change the unspecs for vspltis* to use constants.
  21927. * config/rs6000/spe.md ("xorv4hi3"): New.
  21928. ("spe_evxor"): Rename to xorv2si3.
  21929. ("xorv1di3"): New.
  21930. Remove all _const0 patterns.
  21931. (movv2si_internal): Rewrite to use code. Add vector constant to
  21932. alternatives. Add splitter.
  21933. (movv4hi_internal): Add vector constant to alternatives.
  21934. (movv1di_internal): Same.
  21935. (movv2sf_internal): Same.
  21936. 2003-03-31 Mark Mitchell <mark@codesourcery.com>
  21937. PR c/9936
  21938. * c-decl.c (grokdeclarator): Clear SAVE_EXPR_CONTEXT for
  21939. variably-sized arrays in parameters.
  21940. (set_save_expr_context): New function.
  21941. (c_expand_body): Use it, via walk_tree.
  21942. 2003-03-31 Eric Christopher <echristo@redhat.com>
  21943. * combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART.
  21944. (combinable_i3pat): Remove call to expand_field_assignment and
  21945. #if 0'd code.
  21946. 2003-03-31 Mark Mitchell <mark@codesourcery.com>
  21947. PR c++/10278
  21948. * c-common.c (finish_label_address_expr): Handle the
  21949. error_mark_node.
  21950. 2003-03-31 Richard Henderson <rth@redhat.com>
  21951. * real.c (real_identical): Reorg so as to not compare
  21952. signalling for normals.
  21953. 2003-03-31 Stephane Carrez <stcarrez@nerim.fr>
  21954. * config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
  21955. 2003-03-31 Stephane Carrez <stcarrez@nerim.fr>
  21956. * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
  21957. notes as they are boggus.
  21958. (m68hc11_gen_movqi): Likewise.
  21959. 2003-03-31 Stephane Carrez <stcarrez@nerim.fr>
  21960. * config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
  21961. save the soft registers after the frame pointer so that gdb can unwind
  21962. the frame more easily.
  21963. (expand_epilogue): Likewise in opposite order; allow to use X register
  21964. as scratch if the return value is by reference.
  21965. 2003-03-31 Jason Merrill <jason@redhat.com>
  21966. PR java/10145
  21967. * stor-layout.c (update_alignment_for_field): Respect
  21968. DECL_USER_ALIGN for zero-length bitfields, too.
  21969. * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
  21970. fields.
  21971. 2003-03-31 Matt Austern <austern@apple.com>
  21972. * cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
  21973. (count_defs): Keep track of number of defs as well as total size.
  21974. (write_defs): Put every definition in cpp_savedstate's defs array.
  21975. (comp_hashnode): Define. Comparison function for qsort.
  21976. (cpp_write_pch_deps): Sort definitions before writing them.
  21977. (struct ht_node_list): Define. Like cpp_savedstate but simpler.
  21978. (collect_ht_nodes): Define.
  21979. (cpp_valid_state): When verifying that undefined identifiers in
  21980. the pch file are still undefined, read a sorted list of undefined
  21981. identifiers, collect all defined identifiers into a sorted list,
  21982. and walk through both lists to make sure there's no match.
  21983. 2003-03-31 Kazu Hirata <kazu@cs.umass.edu>
  21984. * config/h8300/h8300.md (a peephole2): New.
  21985. 2003-03-31 Michael Matz <matz@suse.de>
  21986. * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Change 1 into 0.
  21987. 2003-03-31 Segher Boessenkool <segher@koffie.nl>
  21988. PR target/10177
  21989. * config/rs6000/rs6000.h (HARD_REGNO_RENAME_OK): New.
  21990. * config/rs6000/rs6000.c (compute_vrsave_mask): Don't mark
  21991. all call-clobbered registers as used.
  21992. 2003-03-31 Michael Matz <matz@suse.de>
  21993. * cppexp.c (cpp_classify_number): Accept '.' after "0x".
  21994. * testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file.
  21995. 2003-03-31 Nathan Sidwell <nathan@codesourcery.com>
  21996. * gcov.c: Add -a & -u options.
  21997. (struct arc_info): Add local_span, is_call_non_return,
  21998. is_nonlocal_return, is_unconditional flags, remove is_call flag.
  21999. (struct block_info): Add flags, is_call_site, is_nonlocal_return
  22000. members. Make encodings a union with span member.
  22001. (struct function_info): Add blocks_executed, line, src, line_next
  22002. members.
  22003. (struct coverage_info): Make branches a union with blocks member.
  22004. (struct source_info): Add functions member.
  22005. (object_summary, program_count): New global variables.
  22006. (flag_all_blocks, flag_unconditional): New flags.
  22007. (find_source, output_branch_count): New functions.
  22008. (print_usage): Adjust.
  22009. (options): Adjust.
  22010. (process_args): Adjust.
  22011. (read_graph_file) <GCOV_TAG_FUNCTION>: Adjust.
  22012. <GCOV_TAG_BLOCKS>: Read flags.
  22013. <GCOV_TAG_LINES>: Adjust.
  22014. (read_count_file): Process SUMMARY tags.
  22015. (solve_flow_graph): Set is_unconditional and clear is_call_site
  22016. appropriately.
  22017. (add_branch_counts): Adjust. Don't count unconditional branches.
  22018. (add_line_counts): Deal with all-blocks mode, accumulate block
  22019. coverage.
  22020. (accumulate_line_counts): Adjust, generate local spanning tree for
  22021. all-blocks mode.
  22022. (output_lines): Adjust.
  22023. * profile.c (branch_prob): Alter GCOV_FUNCTION_TAG record.
  22024. * doc/gcov.texi: Document.
  22025. 2003-03-31 Kazu Hirata <kazu@cs.umass.edu>
  22026. * config/h8300/h8300.md: Organize peephole2's that transform
  22027. (compare (reg:HI) (const_int)).
  22028. 2003-03-31 Roger Sayle <roger@eyesopen.com>
  22029. * emit-rtl.c (dconstm2, dconsthalf): New real constants.
  22030. (init_emit_once): Initialize dconstm2 and dconsthalf here.
  22031. * real.h (dconstm2, dconsthalf): Add prototypes here.
  22032. * real.c (real_sqrt): Use dconsthalf rather than local copy.
  22033. * builtins.c (fold_builtin): When optimizing sqrt(exp(x)) as
  22034. exp(x/2.0) remember to fold the division if possible.
  22035. Fold sin(0.0) as 0.0, cos(0.0) as 1.0, pow(x,1.0) as x,
  22036. pow(x,-1.0) as 1.0/x, pow(x,2.0) as x*x, pow(x,-2.0) as
  22037. 1.0/(x*x) and pow(x,0.5) as sqrt(x).
  22038. 2003-03-31 Kazu Hirata <kazu@cs.umass.edu>
  22039. * config/h8300/h8300.md (a new peephole2): New.
  22040. 2003-03-31 Richard Sandiford <rsandifo@redhat.com>
  22041. * gcse.c (simple_mem): Return false for floating-point accesses
  22042. if flag_float_store is true.
  22043. 2003-03-30 Roger Sayle <roger@eyesopen.com>
  22044. * gcse.c (gcse_constant_p): New function to identify constants
  22045. suitable for constant propagation, including COMPARE with two
  22046. integer constant arguments.
  22047. (hash_scan_set): Use gcse_constant_p.
  22048. (find_avail_set): Likewise.
  22049. (cprop_insn): Likewise.
  22050. (do_local_cprop): Likewise.
  22051. (find_implicit_sets): Likewise.
  22052. (find_bypass_set): Likewise.
  22053. 2003-03-30 Matt Kraai <kraai@alumni.cmu.edu>
  22054. * except.h: Remove definition of varray_type.
  22055. 2003-03-30 Richard Henderson <rth@redhat.com>
  22056. PR opt/10011, opt/10252:
  22057. * toplev.c (rest_of_compilation): Run purge_builtin_constant_p
  22058. before post-gcse cse pass.
  22059. 2003-03-30 Roger Sayle <roger@eyesopen.com>
  22060. * dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.
  22061. 2003-03-30 DJ Delorie <dj@redhat.com>
  22062. * profile.c (instrument_edges): Make sure any newly created
  22063. jump insns have correct jump label info.
  22064. 2003-03-30 Richard Henderson <rth@redhat.com>
  22065. * cfgbuild.c (make_edges): Use tablejump_p.
  22066. * cfgcleanup.c (label_is_jump_target_p): Likewise.
  22067. * cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise.
  22068. * cfgrtl.c (flow_delete_block_noexpunge): Likewise.
  22069. (try_redirect_by_replacing_jump): Likewise.
  22070. (redirect_edge_and_branch): Likewise.
  22071. * cse.c (fold_rtx): Likewise.
  22072. * jump.c (delete_related_insns): Likewise.
  22073. * rtlanal.c (get_jump_table_offset): Likewise.
  22074. * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise.
  22075. 2003-03-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
  22076. * Makefile.in (STRICT_WARN): Don't warn for ISO C constructs.
  22077. (STRICT2_WARN): Likewise.
  22078. 2003-03-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22079. PR other/6955
  22080. * collect2.c (collect_wait): Use WCOREDUMP and fix output message.
  22081. * system.h (WCOREDUMP, WCOREFLG): Define if necessary.
  22082. 2003-03-30 Richard Henderson <rth@redhat.com>
  22083. PR c/10083
  22084. * config/alpha/alpha.md (umuldi3_highpart): Change to expander;
  22085. don't zero_extend const inputs.
  22086. 2003-03-30 Kazu Hirata <kazu@cs.umass.edu>
  22087. * reload1.c (reload_cse_move2add): Fix a comment typo.
  22088. 2003-03-30 Kazu Hirata <kazu@cs.umass.edu>
  22089. * config/h8300/h8300.md (a peephole2): Remove useless code.
  22090. 2003-03-29 Kazu Hirata <kazu@cs.umass.edu>
  22091. * config/h8300/h8300.md (*iorsi3_and_ashift): New.
  22092. (*iorsi3_and_lshiftrt): Likewise.
  22093. (*iorsi3_zero_extract): Likewise.
  22094. 2003-03-29 Kazu Hirata <kazu@cs.umass.edu>
  22095. * config/h8300/h8300.md (*insv_si_8_8): New.
  22096. (*insv_si_8_8_lshiftrt_8): Likewise.
  22097. (a peephole2): Likewise.
  22098. 2003-03-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  22099. * doc/contrib.texi: Add Eric Botcazou and Roger Sayle.
  22100. Uniformly use bugfix instead of bug fix.
  22101. 2003-03-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  22102. PR doc/895
  22103. * ONEWS: Remove those items that already appear in the EGCS
  22104. release notes on our web pages.
  22105. 2003-03-29 Alan Modra <amodra@bigpond.net.au>
  22106. * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect
  22107. TARGET_HARD_FLOAT. Reformat.
  22108. (FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts.
  22109. 2003-03-28 Albert Chin-A-Young <china@thewrittenword.com>
  22110. * gcc/fixinc/inclhack.def: Update solaris_mutex_init_1 to
  22111. work on Solaris 2.5.1.
  22112. 2003-03-28 Kazu Hirata <kazu@cs.umass.edu>
  22113. * config/h8300/h8300.md (*addsi3_and_r_1): Put under plus:SI
  22114. section of h8300.md
  22115. (*addsi3_and_nor_r_1): Likewise.
  22116. 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
  22117. * config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
  22118. set up before any trapping memory access if flag_non_call_exceptions.
  22119. 2003-03-29 Alan Modra <amodra@bigpond.net.au>
  22120. * reload1.c (reload_as_needed): Allow a USE in asm reloads.
  22121. * loop.c: (find_mem_in_note_1, find_mem_in_note): Comment.
  22122. 2003-03-28 Nathanael Nerode <neroden@gcc.gnu.org>
  22123. * configure.in: Clarify comments.
  22124. * configure: Regenerate.
  22125. 2003-03-28 Ulrich Weigand <uweigand@de.ibm.com>
  22126. * config/s390/s390.md ("literal_pool_31"): Output pool anchor
  22127. label even if pool empty when generating PIC.
  22128. ("literal_pool_31", "literal_pool_64"): Coding style cleanup.
  22129. 2003-03-28 Kazu Hirata <kazu@cs.umass.edu>,
  22130. Dhananjay Deshpande <dhananjayd@kpit.com>
  22131. PR target/10205
  22132. * config/h8300/h8300.c (h8300_initial_elimination_offset):
  22133. Correct the offset computation when TARGET_NORMAL.
  22134. 2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
  22135. PR target/10067
  22136. * config/sparc/sparc.md (jump pattern): Correct order
  22137. when issuing the annuling marker.
  22138. 2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
  22139. PR c/8281
  22140. * config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
  22141. (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
  22142. 2003-03-28 Alan Modra <amodra@bigpond.net.au>
  22143. * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
  22144. globalize_label.
  22145. * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  22146. * config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  22147. * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  22148. * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  22149. * config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  22150. * config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  22151. * config/v850/v850.c (v850_output_aligned_bss): Likewise.
  22152. 2003-03-28 Alan Modra <amodra@bigpond.net.au>
  22153. * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
  22154. (replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL
  22155. notes after hoisting.
  22156. (load_mems): Adjust replace_loop_mems call.
  22157. 2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
  22158. Richard Henderson <rth@redhat.com>
  22159. PR target/10114 and PR target/10084
  22160. * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
  22161. 2003-03-27 Richard Henderson <rth@redhat.com>
  22162. * config/alpha/alpha.md (adddi_er_high_l): Valid only after reload.
  22163. 2003-03-27 Roger Sayle <roger@eyesopen.com>
  22164. * fold-const.c (fold_inf_compare): New function to simplify FP
  22165. comparisons against +Infinity or -Infinity.
  22166. (fold): Optimize floating point comparisons against Infs and NaNs.
  22167. 2003-03-27 Janis Johnson <janis187@us.ibm.com>
  22168. * libgcov.c: Provide only dummy functions if libc is not available.
  22169. 2003-03-27 Richard Henderson <rth@redhat.com>
  22170. * real.h (struct real_value): Add signalling.
  22171. (EXP_BITS): Decrement.
  22172. * real.c (get_canonical_qnan): Don't set MSB-1.
  22173. (get_canonical_snan): Likewise. Set signalling.
  22174. (real_identical): Compare signalling.
  22175. (round_for_format): Remove force-one-bit on code.
  22176. (real_nan): Likewise. Set signalling.
  22177. (encode_ieee_single): Add force-one-bit code; honor signalling.
  22178. (encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise.
  22179. (decode_ieee_single): Set signalling.
  22180. (decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise.
  22181. 2003-03-27 Olivier Hainque <hainque@act-europe.fr>
  22182. PR ada/9953
  22183. * ada/Makefile.in (gnatlib configuration for HPUX): Split
  22184. the general section for HPUX into specific sections for
  22185. HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX
  22186. 11 case.
  22187. 2003-03-27 Glen Nakamura <glen@imodulo.com>
  22188. PR opt/10087
  22189. * loop.c (loop_givs_reduce): Skip bivs with duplicate locations
  22190. while incrementing giv.
  22191. (record_biv): Check for duplicate biv locations and
  22192. set (struct induction *) v->same if found.
  22193. 2003-03-27 David Mosberger <davidm@hpl.hp.com>
  22194. * unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind
  22195. v0.9 API change: replace read of UNW_REG_HANDLER with
  22196. unw_get_proc_info().
  22197. (_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA
  22198. with unw_get_proc_info().
  22199. (_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with
  22200. unw_get_proc_info().
  22201. 2003-03-27 Vladimir Makarov <vmakarov@redhat.com>
  22202. * config/rs6000/8540.md: Use presence_set instead of absence_set.
  22203. 2003-03-26 Richard Henderson <rth@redhat.com>
  22204. * c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
  22205. 2003-03-26 Roger Sayle <roger@eyesopen.com>
  22206. PR bootstrap/10051, PR bootstrap/10169.
  22207. * mips-tfile.c (init_file): Don't provide a static initializer.
  22208. (initialize_init_file): Initialize the contents of init_file.
  22209. (add_file): Call initialize_init_file if not already initialized.
  22210. 2003-03-26 Ulrich Weigand <uweigand@de.ibm.com>
  22211. * config/s390/s390.c (s390_optimize_prolog): Do not save/restore
  22212. registers used for global asm variables.
  22213. (s390_frame_info, s390_arg_frame_offset): Likewise.
  22214. (s390_emit_prologue, s390_emit_epilogue): Likewise.
  22215. 2003-03-26 Vladimir Makarov <vmakarov@redhat.com>
  22216. * config/rs6000/8540.md: New file.
  22217. * config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md,
  22218. power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to
  22219. reservations for imul.
  22220. * config/rs6000/rs6000.md: Include 8540.md. Change
  22221. delayed_compare onto mult_compare for insns generating
  22222. multiplication.
  22223. (mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv):
  22224. New type attribute values.
  22225. * config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type
  22226. fpsimple instead of fp.
  22227. (*divsf3_gpr): Use type vecfdiv instead of fp.
  22228. (spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple
  22229. instead of vecfloat.
  22230. (spe_evfsdive): Use type vecfdiv instead of vecfloat.
  22231. (spe_brinc): Use type brinc instead of veccomplex.
  22232. (spe_evaddw, spe_evaddiw): Use type vecsimple instead of
  22233. veccomplex.
  22234. (spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex.
  22235. (*movv2si_internal, *movv1di_internal, *movv4hi_internal,
  22236. *movv2sf_internal): Define type attribute values for all
  22237. alternatives.
  22238. (cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead
  22239. of fpcompare.
  22240. (tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple
  22241. instead of fpcompare.
  22242. 2003-03-26 David Edelsohn <edelsohn@gnu.org>
  22243. * config/rs6000/power4.md: Allow delay between dispatch and
  22244. function units for simple instructions. Correct store units.
  22245. Allow branch to occupy as many dispatch slots as necessary.
  22246. 2003-03-26 Jakub Jelinek <jakub@redhat.com>
  22247. * config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment.
  22248. (ia64_expand_compare_and_swap): Use always DImode ar.ccv,
  22249. zero extend old to it.
  22250. * config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv
  22251. operand.
  22252. 2003-03-26 Eric Botcazou <ebotcazou@libertysurf.fr>
  22253. PR target/7784
  22254. * reload.c (find_reloads_address): Handle
  22255. (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
  22256. all base registers.
  22257. 2003-03-25 Marcelo Abreu <mmabreu@inf.ufrgs.br>
  22258. PR other/10203
  22259. * version.c: Reference the GCC web site in the URL.
  22260. 2003-03-26 Alan Modra <amodra@bigpond.net.au>
  22261. * c-incpath.c (add_standard_paths): Add both "translated" and
  22262. non-translated header paths.
  22263. 2003-03-25 Loren James Rittle <ljrittle@acm.org>
  22264. * doc/install.texi (*-*-freebsd*): Update with known status.
  22265. 2003-03-21 Jason Merrill <jason@redhat.com>
  22266. PR optimization/10171
  22267. * unroll.c (unroll_loop): Don't delete the jump at the end unless
  22268. we also delete a jump at the beginning.
  22269. 2003-03-25 Stephane Carrez <stcarrez@nerim.fr>
  22270. * doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
  22271. contributor.
  22272. Tue Mar 25 20:35:51 CET 2003 Jan Hubicka <jh@suse.cz>
  22273. * i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic
  22274. constants are not expensive.
  22275. Mon Mar 24 20:03:03 CET 2003 Jan Hubicka <jh@suse.cz>
  22276. PR opt/10056
  22277. * cfglayout.c (fixup_reorder_chain): Fix dealing with the conditional
  22278. jump jumping to the next instruction.
  22279. * cfgrtl.c (force_nonfallthru_and_redirect): Likewise.
  22280. 2003-03-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  22281. * doc/passes.texi (Passes): Properly document that we do not
  22282. perform jump2 any longer; remove command-line option -dJ.
  22283. 2003-03-25 Eric Botcazou <ebotcazou@libertysurf.fr>
  22284. PR optimization/8746
  22285. * config/i386/i386.md (and promoting splitters): Disable HImode to
  22286. SImode promoting when the sign bit matters and is not preserved, or
  22287. when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
  22288. for size.
  22289. 2003-03-24 Kazu Hirata <kazu@cs.umass.edu>
  22290. * config/h8300/h8300.md (a peephole2): Extend to support loads
  22291. in QImode and HImode.
  22292. 2003-03-24 Stephane Carrez <stcarrez@nerim.fr>
  22293. * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
  22294. _return_far
  22295. (MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
  22296. (MULTILIB_EXCEPTIONS): Likewise.
  22297. * config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
  22298. by calling some board support routine.
  22299. ("call_value"): Likewise.
  22300. ("*return_void"): Likewise for return.
  22301. ("*return_16bit"): Likewise.
  22302. ("*return_32bit"): Likewise.
  22303. * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
  22304. for 68HC11 too.
  22305. (DWARF2_ADDR_SIZE): Use 4 so that addresses can
  22306. * config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
  22307. -mlong-calls for 68HC11.
  22308. * config/m68hc11/larith.asm (declare_near): New macro.
  22309. (__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
  22310. (___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
  22311. (___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
  22312. (___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
  22313. (__mulhi32): Likewise.
  22314. (ret): Update macro for 68HC11.
  22315. (__far_trampoline): Implement for 68HC11.
  22316. (__call_a16, __call_a32, __return_void, __return_16): New support
  22317. routines for 68HC11 memory bank switching calling support.
  22318. (__return_32): Likewise.
  22319. 2003-03-24 Neil Booth <neil@daikokuya.co.uk>
  22320. * toplev.c (independent_decode_option): Don't skip a 'Y' prefix.
  22321. 2003-03-24 Janis Johnson <janis187@us.ibm.com>
  22322. * doc/install.texi (Testing): Mention test result links from build
  22323. status pages.
  22324. 2003-03-24 Mark Mitchell <mark@codesourcery.com>
  22325. * function.c (put_var_into_stack): Change bool parameter to int.
  22326. (gen_mem_addressof): Likewise.
  22327. * rtl.h (gen_mem_addressof): Likewise.
  22328. * tree.h (put_var_into_stack): Likewise.
  22329. * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
  22330. gen_mem_addressof or put_var_into_stack.
  22331. * config/c4x/c4x.c (c4x_expand_builtin): Likewise.
  22332. * config/ia64/ia64.c (spill_tfmode_operand): Likewise.
  22333. 2003-03-24 Kazu Hirata <kazu@cs.umass.edu>
  22334. * config/h8300/h8300.md (a peephole2): New.
  22335. 2003-03-24 Jakub Jelinek <jakub@redhat.com>
  22336. * dojump.c (do_jump): Handle UNSAVE_EXPR specially.
  22337. 2003-03-24 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  22338. * doc/contrib.texi (Contributors): Update Janis Johnson.
  22339. 2003-03-23 Eric Botcazou <ebotcazou@libertysurf.fr>
  22340. PR target/10072
  22341. * combine.c (simplify_if_then_else): Check that the mode
  22342. has MODE_INT class before applying the (OP Z (mult COND C2))
  22343. transformation.
  22344. 2003-03-23 Eric Botcazou <ebotcazou@libertysurf.fr>
  22345. PR optimization/9414
  22346. * config/sparc/sparc.md (widening peepholes): Use
  22347. widen_memory_access instead of change_address.
  22348. 2003-03-23 Mark Mitchell <mark@codesourcery.com>
  22349. PR c++/7086
  22350. * c-typeck.c (c_mark_addressable): Adjust calls to
  22351. put_var_into_stack.
  22352. * expr.c (expand_expr): Likewise.
  22353. * function.c (put_var_into_stack): Add rescan parameter. Do not
  22354. call fixup_var_refs when rescan is false.
  22355. (gen_mem_addressof): Likewise.
  22356. (assign_parms): Adjust calls to put_var_into_stack.
  22357. (setjmp_protect): Likewise.
  22358. (setjmp_protect_args): Likewise.
  22359. * rtl.h (gen_mem_addressof): Change prototype.
  22360. * stmt.c (expand_decl): Adjust calls to put_var_into_stack.
  22361. * tree.h (put_var_into_stack): Change prototype.
  22362. 2003-03-23 Arpad Beszedes <beszedes@cc.u-szeged.hu>
  22363. PR middle-end/9967
  22364. * builtins.c (expand_builtin_fputs): When optimizing for size,
  22365. don't transform fputs into fwrite.
  22366. 2003-03-23 Glen Nakamura <glen@imodulo.com>
  22367. PR c/8224
  22368. * fold-const.c (extract_muldiv_1): Don't pass through type conversions
  22369. when signedness changes for division or modulus.
  22370. 2003-03-24 Alan Modra <amodra@bigpond.net.au>
  22371. * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
  22372. globalize_label.
  22373. 2003-03-23 Roger Sayle <roger@eyesopen.com>
  22374. PR c/10178
  22375. * stmt.c (expand_end_case_type): Check for overflow in range when
  22376. determining whether to use a bit-test implementation.
  22377. 2003-03-23 Richard Henderson <rth@redhat.com>
  22378. * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
  22379. before flow2.
  22380. * cfgrtl.c (try_redirect_by_replacing_jump): Similarly.
  22381. 2003-03-23 Richard Henderson <rth@redhat.com>
  22382. PR opt/10116
  22383. * ifcvt.c (find_if_block): Disallow tablejump insns outgoing
  22384. from then_bb or else_bb after flow2.
  22385. 2003-03-23 Zack Weinberg <zack@codesourcery.com>
  22386. * configure.in: Check whether it is necessary to link against
  22387. libm to use ldexp.
  22388. * configure: Regenerate.
  22389. * Makefile.in: Add LDEXP_LIB substitution variable.
  22390. 2003-03-23 Kazu Hirata <kazu@cs.umass.edu>
  22391. * config/h8300/h8300.md: Fix comment typos.
  22392. 2003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  22393. * pa.c (output_cbranch): Fix typo in comment.
  22394. 2003-03-22 Richard Henderson <rth@redhat.com>
  22395. * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
  22396. after reload.
  22397. 2003-03-22 DJ Delorie <dj at redhat dot com>,
  22398. Bruce Korb <bkorb at gnu dot org>
  22399. * fixinc/inclhack.def (solaris_mutex_init_1): New; Fix
  22400. buggy Solaris 2.6 mutex/cond initializers.
  22401. (solaris_mutex_init): Rename to solaris_mutex_init_2.
  22402. * fixinc/fixincl.x: Regenerate.
  22403. * fixinc/tests/base/pthread.h: Update.
  22404. * fixinc/fixincl.c(initialize): be explicit about the default case
  22405. and indicate verbose level when being very, very verbose.
  22406. * fixinc/check.tpl(VERBOSE): provide a means for passing the value in
  22407. 2003-03-22 Andreas Jaeger <aj@suse.de>
  22408. * config/i386/i386.c (ix86_init_machine_status): Return value.
  22409. 2003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  22410. * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
  22411. conditional branch to the following instruction. Use next_real_insn
  22412. instead of next_active_insn.
  22413. (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
  22414. instead of next_active_insn.
  22415. 2003-03-22 Ulrich Weigand <uweigand@de.ibm.com>
  22416. * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o'
  22417. instead of 'm' constraint in forced-split alternatives.
  22418. ("*adddi3_31", "*subdi3_31"): Likewise. Also, pass 0 instead of 1 as
  22419. VALIDATE_ADDRESS parameter to operand_subword.
  22420. 2003-03-22 Kazu Hirata <kazu@cs.umass.edu>
  22421. * config/h8300/h8300.c (notice_update_cc): Correctly handle
  22422. the case where the set destination is STRICT_LOW_PART.
  22423. 2003-03-22 Svein E. Seldal <Svein.Seldal@solidas.com>
  22424. * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
  22425. c30 instead of a c40 processor.
  22426. 2003-03-22 Alan Modra <amodra@bigpond.net.au>
  22427. * combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy.
  22428. 2003-03-21 Zack Weinberg <zack@codesourcery.com>
  22429. * c-common.c: Include intl.h.
  22430. (shadow_warning): Rewrite to allow better diagnostic translations.
  22431. * c-common.h: Update prototype of shadow_warning. Declare sw_kind enum.
  22432. * c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
  22433. use it throughout.
  22434. * Makefile.in (c-common.o): Add intl.h.
  22435. 2003-03-21 Nathanael Nerode <neroden@gcc.gnu.org>
  22436. * config.gcc: Remove 'float_format'.
  22437. * fixproto: Define NULL and size_t in generated stdlib.h and
  22438. unistd.h. Kill unused required_stdlib_h, required_unistd_h.
  22439. Rearrange file generation loop for readability. Generate time.h,
  22440. string.h if missing.
  22441. * tsystem.h: Include <string.h>, <time.h> unconditionally.
  22442. * config.gcc: Blow away POSIX defines.
  22443. 2003-03-22 Stephane Carrez <stcarrez@nerim.fr>
  22444. * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
  22445. 2003-03-22 Stephane Carrez <stcarrez@nerim.fr>
  22446. * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
  22447. writing .interrupt command.
  22448. * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
  22449. if it's a far or near function.
  22450. ("call_value"): Likewise.
  22451. * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
  22452. near attributes.
  22453. (m68hc11_handle_fntype_attribute): Accept attributes on methods.
  22454. (m68hc11_override_options): Ignore -mlong-calls for 68HC11.
  22455. (m68hc11_initial_elimination_offset): Set current_function_far
  22456. according to attributes.
  22457. (expand_prologue): Likewise.
  22458. (trap_handler_symbol): New global to keep track of trap handlers.
  22459. (m68hc11_encode_section_info): Mark symbol as far if needed; set
  22460. trap symbol.
  22461. (m68hc11_is_far_symbol): New function.
  22462. (m68hc11_is_trap_symbol): New function.
  22463. * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
  22464. (m68hc11_is_trap_symbol): Declare.
  22465. 2003-03-21 Jan Hubicka <jh@suse.cz>
  22466. * i386.c (ix86_compute_frame_layout): Recompute fast prologues
  22467. only when amount of saved regs changed.
  22468. (ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
  22469. * i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.
  22470. 2003-03-21 Jan Hubicka <jh@suse.cz>
  22471. PR inline-asm/7916
  22472. * function.c (instantiate_virtual_regs_lossage): New function.
  22473. (instantiate_virtual_regs_1): Use it.
  22474. (instantiate_virtual_regs): Do not continue in substition when insn has
  22475. been deleted.
  22476. 2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
  22477. * combine.c (make_field_assignment): Fix a warning.
  22478. 2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
  22479. * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
  22480. 2003-03-21 Dale Johannesen <dalej@apple.com>
  22481. * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Increase
  22482. priority for R2 on Darwin.
  22483. (HARD_REGNO_MODE_OK): Don't accept R31 for DFmode.
  22484. 2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
  22485. * combine.c (make_field_assignment): Remove unnecessary AND
  22486. when storing into zero_extract.
  22487. 2003-03-21 Zack Weinberg <zack@codesourcery.com>
  22488. * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
  22489. * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
  22490. * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
  22491. in comment.
  22492. 2003-03-21 DJ Delorie <dj@redhat.com>
  22493. * optabs.c (init_integral_libfuncs): Make sure we init at least up
  22494. to "long long" size words.
  22495. 2003-03-21 Ulrich Weigand <uweigand@de.ibm.com>
  22496. * config/s390/s390.h: Do not include fixdfdi.h on s390x.
  22497. (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
  22498. (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
  22499. 2003-03-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  22500. PR doc-bug/9813
  22501. * doc/extend.texi: Move misplaced paragraph about underscores in
  22502. variables in macros.
  22503. 2003-03-21 Eric Botcazou <ebotcazou@libertysurf.fr>
  22504. Richard Henderson <rth@redhat.com>
  22505. PR optimization/8366
  22506. * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
  22507. (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
  22508. PIC+SYMBOLIC_CONST in other modes than Pmode.
  22509. (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
  22510. the form PIC+SYMBOLIC_CONST as mode dependent.
  22511. 2003-03-21 DJ Delorie <dj@redhat.com>
  22512. * config/stormy16/stormy16.c (xstormy16_expand_arith): Make
  22513. sure we always emit at least one insn.
  22514. 2003-03-21 Christopher Faylor <cgf@redhat.com>
  22515. * config.gcc (i[34567]86-*-cygwin*): Use new common makefile
  22516. stub t-cygming. Use common target header cygming.h. Add extra
  22517. c_target_obj and cxx_target_obj file. Default cygwin to posix
  22518. threading. Enforce i386 as float format.
  22519. (i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
  22520. Remove cygwin.h as target header. Use common target header
  22521. cygming.h Enforce i386 as float format. Correct typo.
  22522. * config/i386/cygming.h: New file, containing definitions
  22523. common to mingw32 and cygwin.
  22524. * config/i386/cygwin.h: Remove definitions common to cygwin and
  22525. mingw. Simplify special spec logic. Define "wrappers" around
  22526. certain include path defines to accommodate -mno-cygwin.
  22527. Remove some #if 0'ed code.
  22528. (STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
  22529. (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
  22530. (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
  22531. * config/i386/mingw32.h: Remove definitions common to cygwin and
  22532. mingw.
  22533. (EXTRA_OS_CPP_BUILTINS): Adjust.
  22534. (TARGET_VERSION): Define.
  22535. * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
  22536. mingw32.h definitions.
  22537. (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
  22538. * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
  22539. Add compilation rules for cygwin1.o cygwin2.o.
  22540. * config/i386/cygwin1.c: New file.
  22541. * config/i386/cygwin2.c: New file.
  22542. * config/i386/t-cygming: New makefile stub.
  22543. 2003-03-20 Richard Henderson <rth@redhat.com>
  22544. * fold-const.c (extract_muldiv_1): Revert changing order of
  22545. operands in case MULT_EXPR of 2003-02-16 patch.
  22546. 2003-03-20 Daniel Berlin <dberlin@dberlin.org>
  22547. Merge changes from new-regalloc-branch
  22548. From Michael Matz <matz@suse.de>
  22549. * df.c (df_ref_record_1): Move init of loc to safe point.
  22550. Only recurse on interesting things in parallels.
  22551. Handle CLASS_CANNOT_CHANGE_MODE smarter.
  22552. (df_uses_record): Ditto.
  22553. * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
  22554. it's already okay to use memory operands in (IE doesn't require
  22555. adding another insn or anything).
  22556. 2003-03-20 Richard Henderson <rth@redhat.com>
  22557. PR middle-end/6348
  22558. * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
  22559. different from word_mode.
  22560. 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
  22561. * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
  22562. source operand to those that can be extracted with bld.
  22563. 2003-03-20 Richard Earnshaw <rearnsha@arm.com>
  22564. PR 10066
  22565. * arm.md (UNSPEC_PIC_BASE): New constant.
  22566. (pic_add_dot_plus_four): Wrap with unspec.
  22567. (pic_add_dot_plus_eight): Likewise.
  22568. 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
  22569. * config/h8300/h8300.md (*insv_si_1_n): New.
  22570. (*insv_si_1_n_lshiftrt): Likewise.
  22571. 2003-03-20 Roger Sayle <roger@eyesopen.com>
  22572. * fold-const.c (fold_mathfn_compare): New function to simplify
  22573. comparisons against built-in math functions. Fold comparisons
  22574. of sqrt against constants.
  22575. (fold): Call fold_mathfn_compare when appropriate.
  22576. 2003-03-20 Richard Earnshaw <rearnsha@arm.com>
  22577. * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
  22578. information.
  22579. 2003-03-20 Per Bothner <pbothner@apple.com>
  22580. Various cleanups to help compile server.
  22581. * cppinit.c (cpp_create_reader): Take extra hash_table* argument,
  22582. and pass that to _cpp_init_hashtable.
  22583. (cpp_read_main_file): Drop hash_table* argument; don't call
  22584. _cpp_init_hashtable.
  22585. * cpplib.h: Update declarations to match.
  22586. * c-opts.c (c_common_init_options): Pass ident_hash to
  22587. cpp_create_reader.
  22588. (c_common_post_options): Don't pass ident_hash to cpp_read_main_file.
  22589. * fix-header.c (read_scan_file): Likewise pass NULL table to
  22590. cpp_create_reader rather than cpp_read_main_file.
  22591. * cppfiles.c (cpp_rename_file): Generalized and renamed
  22592. to cpp_change_file.
  22593. * cpplib.h: Update declaration to match.
  22594. * c-opts.c (push_command_line_line, finish_options): Change
  22595. cpp_rename_file calls to cpp_change_file.
  22596. * line-map.c (add_line_map): Allow leaving the outermost file.
  22597. Allowing entering an outermost-file after the initial time.
  22598. * toplev.c (pop_srcloc): Allow popping from initial file.
  22599. 2003-03-20 Kazu Hirata <kazu at cs dot umass dot edu>
  22600. * fold-const.c (fold): Fold A - (A & B) into ~B & A.
  22601. 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
  22602. * config/h8300/h8300.md (a peephole2): New.
  22603. 2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
  22604. * config/h8300/h8300.md (*addsi3_and_r_1): New.
  22605. (*addsi3_and_not_r_1): Likewise.
  22606. 2003-03-19 Loren James Rittle <ljrittle@acm.org>
  22607. * Makefile.in (STRICT2_WARN): Add @WERROR@.
  22608. (GCC_WARN_CFLAGS): Remove $(WERROR).
  22609. (fixinc.sh-warn): New.
  22610. * ada/Make-lang.in (ada-warn): Add $(WERROR).
  22611. * cp/Make-lang.in (cp-warn): Add $(WERROR).
  22612. * f/Make-lang.in (f-warn): Add $(WERROR).
  22613. * java/Make-lang.in (java-warn): Add $(WERROR).
  22614. * treelang/Make-lang.in (treelang-warn): Add $(WERROR).
  22615. 2003-03-19 Nathanael Nerode <neroden@gcc.gnu.org>
  22616. * c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
  22617. langhooks-def.h (lhd_tree_dump_dump_tree),
  22618. langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
  22619. Change return type from 'int' to 'bool'. Replace 0 and 1 with
  22620. true and false in return statements.
  22621. 2003-03-19 Kevin Buettner <kevinb@redhat.com>
  22622. * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define.
  22623. (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account
  22624. DWARF_INITIAL_LENGTH_SIZE.
  22625. (output_compilation_unit_header, output_pubnames, output_aranges)
  22626. (output_line_info): Output 0xffffffff escape value for 64-bit
  22627. DWARF extension.
  22628. * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define.
  22629. 2003-03-19 Ulrich Weigand <uweigand@de.ibm.com>
  22630. * config/s390/s390.c (s390_preferred_reload_class): Do not
  22631. force constants to the pool unless necessary.
  22632. (s390_decompose_address): Prefer to use pointer as base,
  22633. not index register.
  22634. * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
  22635. Q alternative.
  22636. ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
  22637. "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
  22638. ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
  22639. "*zero_extendqisi2_31", "*zero_extendqihi2_31",
  22640. "*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
  22641. 2003-03-19 Jan Hubicka <jh@suse.cz>
  22642. * i386.h (machine_function): New fields use_fast_prologue_epilogue.
  22643. * i386.c (use_fast_prologue_epilogue): Remove.
  22644. (ix86_frame): New field save_regs-using_mov;
  22645. (ix86_compute_frame_layout): Decide on fast prologues;
  22646. allocate saved registers in red zone.
  22647. (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters.
  22648. 2003-03-19 Nick Clifton <nickc@redhat.com>
  22649. * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon.
  22650. 2003-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  22651. PR 10062
  22652. * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
  22653. * pa-protos.h (output_lbranch): New prototype.
  22654. * pa.c (compute_frame_size): Change size of the frame marker on the
  22655. 64-bit ports to 48 bytes.
  22656. (pa_output_function_prologue): Document why SAVE_SP is set.
  22657. (hppa_expand_prologue): Save previous stack pointer into frame marker
  22658. on targets which use the hpux unwind library.
  22659. (output_cbranch): Use output_lbranch.
  22660. (output_lbranch): New function to output long unconditional branches.
  22661. * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
  22662. (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
  22663. 64-bit ports.
  22664. * pa.md (jump): Use output_lbranch.
  22665. (allocate_stack): New expander for dynamic stack allocation.
  22666. 2003-03-19 Alan Modra <amodra@bigpond.net.au>
  22667. * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame
  22668. when debugging on XCOFF targets. Delete "abi" temp.
  22669. PR target/10073
  22670. * combine.c (force_to_mode <NOT>): Use gen_int_mode.
  22671. 2003-03-18 Jakub Jelinek <jakub@redhat.com>
  22672. * config/s390/s390.c (s390_output_dwarf_dtprel): New.
  22673. * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto.
  22674. * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
  22675. * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New.
  22676. * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto.
  22677. * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define.
  22678. 2003-03-18 Geoffrey Keating <geoffk@apple.com>
  22679. * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone
  22680. the result of machopic_function_base_name.
  22681. * config/darwin.c (machopic_function_base_name): Use a gc-allocated
  22682. string rather than a static array.
  22683. * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
  22684. * gengtype.c: Include rtl.h.
  22685. (enum rtx_code): Don't define.
  22686. (rtx_format): Make declaration match rtl.h.
  22687. (rtx_next_new): Rename from rtx_next to avoid conflict. Change all
  22688. users.
  22689. (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
  22690. * Makefile.in (gengtype.o): Update dependencies.
  22691. 2003-03-18 Andreas Schwab <schwab@suse.de>
  22692. * config/m68k/m68k.md (iordi3): Fix setting low half to -1. From
  22693. martin@blom.org.
  22694. 2003-03-18 Geoffrey Keating <geoffk@apple.com>
  22695. * function.c (next_block_index): Mark with GTY.
  22696. * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
  22697. 2003-03-18 Richard Henderson <rth@redhat.com>
  22698. * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
  22699. (builtin_setjmp_receiver): Delay call to ia64_reload_gp
  22700. until after reload.
  22701. 2003-03-18 Richard Henderson <rth@redhat.com>
  22702. * builtins.c (expand_builtin_unop): New target_mode operand;
  22703. use it to convert the result to the correct mode.
  22704. (expand_builtin): Update all callers.
  22705. 2003-03-18 Ulrich Weigand <uweigand@de.ibm.com>
  22706. * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
  22707. 2003-03-18 Jan Hubicka <jh@suse.cz>
  22708. * i386.md: Fix previous commit that mistakely applied the patch
  22709. twice.
  22710. * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been
  22711. canonicalized.
  22712. (memrefs_conflict_p): Likewise.
  22713. (addr_side_effect_eval): Canonicalize the constructed address.
  22714. 2003-03-18 Jan Hubicka <jh@suse.cz>
  22715. * i386.md (cvtts?2si peep2): New.
  22716. 2003-03-18 Kazu Hirata <kazu@cs.umass.edu>
  22717. * config/h8300/h8300.md (*iorsi3_two_qi_zext): New.
  22718. 2003-03-18 Andreas Schwab <schwab@suse.de>
  22719. * dwarf2out.c (output_file_names): Cast size_t to unsigned long
  22720. for format.
  22721. 2003-03-17 Jason Merrill <jason@redhat.com>
  22722. PR c++/10091
  22723. * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
  22724. an unaligned member of TREE_ADDRESSABLE type.
  22725. 2003-03-18 Alan Modra <amodra@bigpond.net.au>
  22726. * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
  22727. (TARGET_PROFILE_KERNEL): Define.
  22728. (SUBTARGET_SWITCHES): Handle -mprofile-kernel.
  22729. (PROFILE_BEFORE_PROLOGUE): Don't define.
  22730. (PROFILE_KERNEL): Remove hacks.
  22731. * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
  22732. (rs6000_stack_info): No need to save lr if just for profiling when
  22733. TARGET_PROFILE_KERNEL.
  22734. (output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL.
  22735. (output_function_profiler): Localize label generation. Emit code
  22736. for kernel profiling.
  22737. 2003-03-17 Kazu Hirata <kazu@cs.umass.edu>
  22738. * config/h8300/h8300-protos.h: Add a prototype for
  22739. byte_accesses_mergeable_p.
  22740. * config/h8300/h8300.c (byte_accesses_mergeable_p): New.
  22741. * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
  22742. (a splitter): Likewise.
  22743. (*iorsi3_ashift_16_ashift_24): Likewise.
  22744. (*iorsi3_ashift_16_ashift_24_mem): Likewise.
  22745. 2003-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22746. * dwarf2asm.h: Delete obsolete comment.
  22747. (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
  22748. dw2_asm_output_pcrel, dw2_asm_output_addr,
  22749. dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
  22750. dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
  22751. dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
  22752. dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
  22753. 2003-03-17 Zack Weinberg <zack@codesourcery.com>
  22754. * c-tree.h (struct lang_identifier): Remove error_locus field.
  22755. (IDENTIFIER_ERROR_LOCUS): Kill.
  22756. (record_function_scope_shadow): New prototype.
  22757. * c-typeck.c (build_external_ref): Don't complain if
  22758. decl is error_mark_node. When not at file scope, bind the
  22759. decl's local value to error_mark_node to suppress further
  22760. warnings, instead of setting IDENTIFIER_ERROR_LOCUS.
  22761. * c-decl.c (get_function_binding_level): New static function.
  22762. (record_function_scope_shadow): New exported function.
  22763. (c_make_fname_decl): Use get_function_binding_level.
  22764. 2003-03-17 Steve Ellcey <sje@cup.hp.com>
  22765. * stmt.c (tail_recursion_args): Call promote_mode to set
  22766. unsignedp flag correctly before calling convert_move.
  22767. 2003-03-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  22768. * loop-unroll.c (decide_peel_completely,
  22769. decide_unroll_constant_iterations, decide_unroll_stupid,
  22770. decide_unroll_runtime_iterations, decide_peel_simple): Set
  22771. loop->has_desc.
  22772. 2003-03-17 Jan Hubicka <jh@suse.cz>
  22773. * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
  22774. 2003-03-17 Olivier Hainque <hainque@act-europe.fr>
  22775. * function.c (assign_parms): For a struct value address passed as
  22776. first argument, delay the function's result RTL setup code until
  22777. after the emission of parameter conversions.
  22778. 2003-03-17 Dave Love <fx@gnu.org>
  22779. Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  22780. * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
  22781. __arch64__ to match Compaq cc.
  22782. 2003-03-17 Neil Booth <neil@daikokuya.co.uk>
  22783. * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
  22784. (c_common_init): Set EBCDIC in cpp options.
  22785. * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
  22786. not conditional compilation.
  22787. * cpplib.h (struct cpp_options): New entry EBCDIC.
  22788. 2003-03-17 Neil Booth <neil@daikokuya.co.uk>
  22789. * fix-header.c (read_scan_file): Need to malloc arguments to add_path.
  22790. 2003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  22791. * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
  22792. argument to 0 for redirect_jump.
  22793. 2003-03-16 Mark Mitchell <mark@codesourcery.com>
  22794. PR c++/8805
  22795. * except.c (eh_region_u_cleanup): Add prev_try.
  22796. (expand_eh_region_end_cleanup): Set it.
  22797. (reachable_handlers): Use it to skip over cleanup blocks.
  22798. 2003-03-17 Andreas Jaeger <aj@suse.de>
  22799. * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
  22800. 2003-03-17 Alan Modra <amodra@bigpond.net.au>
  22801. * config/rs6000/linux64.h (TARGET_64BIT): Redefine.
  22802. (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
  22803. (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
  22804. (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.
  22805. 2003-03-16 Richard Henderson <rth@redhat.com>
  22806. * simplify-rtx (simplify_binary_operation): Don't abort for
  22807. SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
  22808. 2003-03-16 Richard Henderson <rth@redhat.com>
  22809. * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
  22810. optimize_size as well.
  22811. 2003-03-16 Stephane Carrez <stcarrez@nerim.fr>
  22812. * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
  22813. for D register to specify the low part of it, aka B.
  22814. (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
  22815. the register if we are loading 1 or -1 to it; avoid using temp
  22816. register when moving X/Y to Y/X.
  22817. (m68hc11_gen_movqi): Likewise.
  22818. (m68hc11_check_z_replacement): Fix last insn setting for compare case.
  22819. 2003-03-14 Mark Mitchell <mark@codesourcery.com>
  22820. PR optimization/9016
  22821. * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
  22822. into the constant pool.
  22823. 2003-03-16 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  22824. PR target/9164
  22825. * tree.c (get_narrower): For extensions with unchanged bit number,
  22826. return the unsignedness of the outer mode.
  22827. 2003-03-16 Roger Sayle <roger@eyesopen.com>
  22828. * c-typeck.c (build_component_ref): Turn "for" into "do .. while"
  22829. to avoid "may be used uninitialized" warning on ia64-hpux.
  22830. * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.
  22831. 2003-03-16 Andreas Jaeger <aj@suse.de>
  22832. * configure.in: Improve check for memcheck.h.
  22833. * configure: Regenerated.
  22834. 2003-03-16 Neil Booth <neil@daikokuya.co.uk>
  22835. * doc/cppopts.texi: Remove documentation of -A-.
  22836. 2003-03-15 Zack Weinberg <zack@codesourcery.com>
  22837. * doc/libgcc.texi: Remove @tie.
  22838. 2003-03-15 Josef Zlomek <zlomekj@suse.cz>
  22839. * rtl.h (subrtx_p): Renamed to rtx_referenced_p.
  22840. (rtx_pair): Added new element update_label_nuses, renamed to
  22841. replace_label_data.
  22842. * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use
  22843. replace_label_data instead of rtx_pair.
  22844. * loop.c (load_mems): Likewise.
  22845. * rtlanal.c (replace_label): Replace label in pool constants and in
  22846. INSN_LIST (in REG_LABEL note).
  22847. (subrtx_p): Renamed to rtx_referenced_p.
  22848. (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of
  22849. LABEL_REF with CODE_LABEL, traverse constants from pool.
  22850. 2003-03-15 Aldy Hernandez <aldyh@redhat.com>
  22851. Zack Weinberg <zack@codesourcery.com>
  22852. * Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
  22853. * doc/libgcc.texi: New file.
  22854. * doc/interface.texi: Delete paragraph about libgcc interface.
  22855. * doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.
  22856. 2003-03-15 Jason Merrill <jason@redhat.com>
  22857. PR debug/9039
  22858. * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.
  22859. PR debug/6387
  22860. * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
  22861. function DIEs at toplevel.
  22862. (decls_for_scope): At -g1, don't descend into subblocks.
  22863. 2003-03-15 Ulrich Weigand <uweigand@de.ibm.com>
  22864. * varasm.c (struct rtx_const): Change type of un.addr member
  22865. to struct holding an additional 'symbol' member.
  22866. (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
  22867. with equal string addresses as equal.
  22868. (simplify_subtraction): Adapt to struct rtx_const change.
  22869. 2003-03-15 Neil Booth <neil@daikokuya.co.uk>
  22870. * fix-header.c (read_scan_file): Read main file before handling -D.
  22871. 2003-03-15 Roger Sayle <roger@eyesopen.com>
  22872. * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
  22873. * c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
  22874. * cfgbuild.c (find_many_sub_basic_blocks): Likewise.
  22875. (find_sub_basic_blocks): Likewise.
  22876. * cgraphunit.c (cgraph_expand_functions): Likewise.
  22877. * dwarf2out.c (prune_unused_types): Likewise.
  22878. * expr.c (store_field): Likewise.
  22879. * genextract.c (print_path): Likewise.
  22880. * haifa-sched.c (schedule_insn): Likewise.
  22881. * lcm.c (compute_antinout_edge): Likewise.
  22882. * loop-unroll.c (decide_peel_once_rolling): Likewise.
  22883. * ra-colorize.c (ra_colorize_free_all): Likewise.
  22884. * ra-debug.c (dump_igraph): Likewise.
  22885. (debug_hard_reg_set): Likewise.
  22886. * reg-stack.c (reg_to_stack): Likewise.
  22887. * rtlanal.c (refers_to_regno_p): Likewise.
  22888. * tracer.c (layout_superblocks): Likewise.
  22889. 2003-03-15 Neil Booth <neil@daikokuya.co.uk>
  22890. * fix-header.c (read_scan_file): Fix thinko.
  22891. 2003-03-15 Glen Nakamura <glen@imodulo.com>
  22892. * reload1.c (choose_reload_regs): Use && instead of ||
  22893. with REG_CANNOT_CHANGE_MODE_P condition.
  22894. 2003-03-15 Neil Booth <neil@daikokuya.co.uk>
  22895. * Makefile.in: Update.
  22896. * c-common.h (cb_register_builtins): Rename c_cpp_builtins.
  22897. * c-lex.c (init_c_lex): Register builtins hook is dead.
  22898. * c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
  22899. (c_common_decode_option): Don't call cpp_handle_option.
  22900. Handle -A, -D and -U.
  22901. (handle_deferred_opts): Simplify.
  22902. (finish_options): Define builtins and command line macros.
  22903. * c-ppoutput.c (init_pp_output): Register builtins hook is dead.
  22904. * cppinit.c: Don't include intl.h.
  22905. (init_builtins): Rename cpp_init_builtins. No hook to call.
  22906. (init_library): Don't need to sort options.
  22907. (cpp_create_reader): Don't set pending.
  22908. (cpp_destroy): Don't free pending.
  22909. (struct pending_option, cl_directive_handler, struct cpp_pending,
  22910. APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
  22911. cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
  22912. cl_options, cpp_handle_option): Remove.
  22913. * cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
  22914. cpp_finish_options): Remove.
  22915. (cpp_init_builtins): New.
  22916. * fix-header.c (read_scan_file): Update to handle -D. Fix
  22917. handling of -I. Replace call to cpp_finish_options.
  22918. 2003-03-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  22919. PR optimization/9387
  22920. * function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
  22921. for conditional returns.
  22922. 2003-03-14 Jason Merrill <jason@redhat.com>
  22923. PR optimization/6871
  22924. * varasm.c (assemble_variable): Leave constant zeroes in .rodata.
  22925. 2003-03-14 Neil Booth <neil@daikokuya.co.uk>
  22926. * c-opts.c (finish_options): New.
  22927. (COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros.
  22928. (missing_arg): Handle OPT_include and OPT_imacros.
  22929. (c_common_init, c_common_parse_file): Use finish_options.
  22930. (handle_deferred_opts): Update.
  22931. * cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail.
  22932. (cpp_finish_options): Don't handle -imacros here.
  22933. (no_fil): Remove.
  22934. (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros.
  22935. 2003-03-14 Jakub Jelinek <jakub@redhat.com>
  22936. * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
  22937. rs6000_maybe_dead if !fromprolog.
  22938. 2003-03-14 Neil Booth <neil@daikokuya.co.uk>
  22939. * Makefile.in: Update.
  22940. * c-common.h (fe_file_change, pp_file_change): New.
  22941. * c-lex.c (init_c_lex): Don't set cb_file_change.
  22942. (c_common_parse_file): Move to c-opts.c.
  22943. (cb_file_change): Rename fe_file_change.
  22944. * c-opts.c: Include debug.h.
  22945. (warn_unused_macros, include_cursor): New.
  22946. (push_command_line_include, cb_file_change): New.
  22947. (COMMAND_LINE_OPTIONS): Handle -include.
  22948. (c_common_decode_option): Use local warn_unused_macros.
  22949. Handle OPT_include.
  22950. (c_common_post_options): Set file change callback.
  22951. (handle_deferred_opts): Skip -include. Don't free the array.
  22952. (c_common_init): Call cpp_finish_options here, and push an
  22953. initial -include file.
  22954. * c-ppoutput.c (cb_file_change): Rename pp_file_change.
  22955. (preprocess_file): Don't call cpp_finish_options.
  22956. (init_pp_output): Don't set the file change callback.
  22957. (pp_file_change): Return if no line commands or no output.
  22958. * cpphash.h (next_include_file, first_unused_line): Remove.
  22959. * cppinit.c (include_head, include_tail): Remove.
  22960. (cpp_destroy): Don't free -include chain.
  22961. (cpp_finish_options): Don't handle -include, or worry about
  22962. -Wunused-macros.
  22963. (_cpp_maybe_push_include_file): Remove.
  22964. (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include.
  22965. * cpplib.c (_cpp_pop_buffer): Don't handle -include.
  22966. * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition):
  22967. Used flag is set based upon the state of the warn_unused_macros
  22968. flag, and so use of first_unused_line is unnecessary.
  22969. 2003-03-13 Jan Hubicka <jh@suse.cz>
  22970. * cselib.c (clear_table): Do not take argument; always clear just
  22971. used slots.
  22972. (cselib_process_insn): Update call of clear_table
  22973. (cselib_init): Do not call clear_table.
  22974. (cselib_finish): Clear table.
  22975. * cse.c (count_reg_usage): Do not check side_effects_p.
  22976. * rtlanal.c (set_noop_p): Check side_effects_p only when set looks
  22977. like noop.
  22978. (find_reg_equal_equiv_note): Do not use find_reg_note.
  22979. 2003-03-14 Richard Henderson <rth@redhat.com>
  22980. PR target/9700
  22981. * config/alpha/alpha.c (alpha_va_start): Account for
  22982. current_function_pretend_args_size in the AP offset.
  22983. * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
  22984. (INITIAL_ELIMINATION_OFFSET): Move out of line.
  22985. * config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
  22986. (alpha_initial_elimination_offset) New.
  22987. * config/alpha/alpha-protos.h: Update.
  22988. 2003-03-14 Jakub Jelinek <jakub@redhat.com>
  22989. * stmt.c (expand_start_case): Call emit_queue ().
  22990. 2003-03-14 Chris Demetriou <cgd@broadcom.com>
  22991. Alexandre Oliva <aoliva@redhat.com>
  22992. * config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
  22993. words in new abis.
  22994. 2003-03-14 Eric Botcazou <ebotcazou@libertysurf.fr>
  22995. PR optimization/8396
  22996. * tree-inline.c (initialize_inlined_parameters): Make sure the value
  22997. of read-only constant arguments is passed with the right type.
  22998. 2003-03-14 Steven Bosscher <steven@gcc.gnu.org>
  22999. * doc/extend.texi (Function Names): Make the example compilable.
  23000. 2003-03-13 David Edelsohn <edelsohn@gnu.org>
  23001. * config/rs6000/rs6000.c (processor_target_table): Really allow
  23002. GP optional instructions on Power4.
  23003. 2003-03-13 Roger Sayle <roger@eyesopen.com>
  23004. * calls.c (flags_from_decl_or_type): Factor and remove redundant
  23005. conditional tests.
  23006. 2003-03-13 Mike Stump <mrs@apple.com>
  23007. * ggc-page.c (struct page_entry): Remove varray.h header.
  23008. Add index_by_depth field.
  23009. Remove save_in_use_p field.
  23010. (struct globals): Add depth_in_use, depth_max, by_depth_in_use,
  23011. by_depth_max, by_depth, and save_in_use fields.
  23012. (INITIAL_PTE_COUNT): Add.
  23013. (save_in_use_p_i): Add.
  23014. (save_in_use_p): Add.
  23015. (adjust_depth): Add.
  23016. (move_ptes_to_front): Add.
  23017. (push_depth): Add.
  23018. (push_by_depth): Add.
  23019. (prefetch): Add.
  23020. (free_page): Add support for and use faster data structures.
  23021. (ggc_alloc): Likewise.
  23022. (init_ggc): Likewise.
  23023. (ggc_recalculate_in_use_p): Likewise.
  23024. (ggc_pop_context): Likewise.
  23025. (clear_marks): Likewise.
  23026. (ggc_pch_read): Likewise.
  23027. * Makefile.in (ggc-page.o): Remove varray.h.
  23028. 2003-03-13 Nathanael Nerode <neroden@gcc.gnu.org>
  23029. * ChangeLog: Rotated last year's entries to...
  23030. * ChangeLog.8: New.
  23031. * config/ia64/fde-glibc.c, config/ia64/freebsd.h,
  23032. config/ia64/hpux.h, config/ia64/hpux_longdouble.h,
  23033. config/ia64/ia64-c.c, config/ia64/ia64-modes.def,
  23034. config/ia64/ia64-protos.h, config/ia64/ia64.c,
  23035. config/ia64/ia64.h, config/ia64/ia64.md,
  23036. config/ia64/itanium1.md, config/ia64/itanium2.md,
  23037. config/ia64/quadlib.c, config/ia64/unwind-ia64.c,
  23038. config/ia64/unwind-ia64.h: It's GCC, not GNU CC.
  23039. 2003-03-13 Aldy Hernandez <aldyh@redhat.com>
  23040. * config/rs6000/rs6000.c (rs6000_dwarf_register_span):
  23041. Differentiate endianness.
  23042. (s6000_override_options): Use cpu type instead of TARGET_SPE.
  23043. 2003-03-13 Nick Clifton <nickc@redhat.com>
  23044. * config/arm/arm.c (print_multi_reg): Do not generate a type 2
  23045. LDM instructions with writeback enabled.
  23046. (output_return_instruction): Likewise.
  23047. * config/arm/pe.h (FIXED_REGISTERS): Remove definition.
  23048. (CALL_USED_REGISTERS): Remove definition.
  23049. (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
  23050. 2003-03-13 Alan Modra <amodra@bigpond.net.au>
  23051. * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
  23052. (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
  23053. (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
  23054. (rs6000_override_options): Don't clear flag_pic for ABI_AIX.
  23055. (rs6000_legitimize_address): Formatting.
  23056. (rs6000_emit_move): Likewise.
  23057. (rs6000_return_addr): Test ABI_AIX as well as flag_pic.
  23058. (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
  23059. (rs6000_elf_select_section): Comment reason for shlib being
  23060. set for ABI_AIX.
  23061. (rs6000_elf_unique_section): Likewise.
  23062. (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
  23063. * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
  23064. as well as flag_pic.
  23065. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
  23066. (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
  23067. * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.
  23068. 2003-03-13 Richard Henderson <rth@redhat.com>
  23069. * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
  23070. * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
  23071. (ia64_gp_save_reg): Remove.
  23072. (struct ia64_frame_info): Move to the beginning of the file;
  23073. add reg_save_gp.
  23074. (ia64_expand_call): Rearrange for new call patterns.
  23075. (ia64_reload_gp): New.
  23076. (ia64_split_call): New.
  23077. (ia64_compute_frame_size): Allocate reg_save_gp.
  23078. (ia64_expand_prologue): Save reg_save_gp.
  23079. (ia64_expand_epilogue): Don't restore gp.
  23080. (ia64_hard_regno_rename_ok): Remove R4 hack.
  23081. (ia64_function_ok_for_sibcall): New.
  23082. (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
  23083. call try_split on sibcall pattern.
  23084. * config/ia64/ia64-protos.h: Update.
  23085. * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
  23086. Rename from nopic versions. Confiscate 2nd argument to call as
  23087. a marker.
  23088. (call_pic, call_value_pic, sibcall_pic): Remove.
  23089. (call_gp, call_value_gp, sibcall_gp): New.
  23090. (builtin_setjmp_setup): Remove.
  23091. (builtin_setjmp_receiver): Call ia64_reload_gp.
  23092. 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
  23093. * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
  23094. config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
  23095. "GNU CC" with "GCC".
  23096. * config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
  23097. config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
  23098. config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h:
  23099. GCC, not GNU CC.
  23100. * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
  23101. langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".
  23102. * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
  23103. langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c,
  23104. unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace
  23105. "GNU CC" with "GCC".
  23106. * config/v850/lib1funcs.asm, config/v850/rtems.h,
  23107. config/v850/v850-c.c, config/v850/v850-protos.h,
  23108. config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
  23109. GCC, not GNU CC.
  23110. * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
  23111. config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h,
  23112. config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c,
  23113. config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not
  23114. GNU CC.
  23115. 2003-03-12 Benjamin Kosnik <bkoz@redhat.com>
  23116. * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
  23117. 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
  23118. * fixinc/fixinc.interix: Remove dead code (most of it).
  23119. * fixinc/fixinc.dgux: Remove.
  23120. * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
  23121. ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
  23122. 2003-03-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  23123. * pa.c (pa_init_builtins): Fix warning.
  23124. 2003-03-12 Steve Ellcey <sje@cup.hp.com>
  23125. * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
  23126. (ASM_OUTPUT_XDATA_SHORT): Remove.
  23127. (ASM_OUTPUT_XDATA_INT): Remove.
  23128. (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
  23129. (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
  23130. (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
  23131. (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
  23132. 2003-03-12 Andrew Lewycky <andrew@mxc.ca>
  23133. PR c++/7050
  23134. * expr.c (store_expr): Don't attempt to store void-typed trees,
  23135. just evaluate them for side effects.
  23136. 2003-03-12 Neil Booth <neil@daikokuya.co.uk>
  23137. * cppfiles.c (cpp_rename_file, cpp_push_include): New.
  23138. * cppinit.c (push_include): Move with changes to cppfiles.c.
  23139. (cpp_read_main_file): Mark named operators here...
  23140. (cpp_finish_options): ...not here. Update.
  23141. (_cpp_maybe_push_include_file): Update.
  23142. * cpplib.h (cpp_push_include, cpp_rename_file): New.
  23143. 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
  23144. * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
  23145. _gcc_COMPUTE_GAS_VERSION.
  23146. * configure.in: Use them.
  23147. * configure: Regenerate.
  23148. 2003-03-12 Bob Wilson <bob.wilson@acm.org>
  23149. * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
  23150. to detect carry.
  23151. (subdi3): Reorder emitted instructions.
  23152. 2003-03-12 Andreas Jaeger <aj@suse.de>
  23153. * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
  23154. NETBSD_OS_CPP_BUILTINS_LP64.
  23155. 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
  23156. * Makefile.in: Eliminate all.indirect. Update and clean up comments.
  23157. Rearrange. Reorganize.
  23158. * configure.in: Rearrange.
  23159. * configure: Regenerate.
  23160. 2003-03-12 Andreas Jaeger <aj@suse.de>
  23161. * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
  23162. LP64 targets.
  23163. * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
  23164. _LP64.
  23165. * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
  23166. _LP64 macros here.
  23167. * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
  23168. * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
  23169. NETBSD_OS_CPP_BUILTINS_LP64.
  23170. * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
  23171. * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
  23172. * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
  23173. 2003-03-12 Jan Hubicka <jh@suse.cz>
  23174. * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
  23175. 2003-03-12 Daniel Jacobowitz <drow@mvista.com>
  23176. Fix PR target/9797 and PR c/9853.
  23177. * stmt.c (expand_decl_init): Call push_temp_slots () and
  23178. pop_temp_slots ().
  23179. 2003-03-12 J"orn Rennecke <joern.rennecke@superh.com>
  23180. * sh.c: Include basic-block.h.
  23181. (sh_output_mi_thunk, emit_load_ptr): New functions.
  23182. (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
  23183. 2003-03-12 Nick Clifton <nickc@redhat.com>
  23184. * config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers.
  23185. (CALL_USED_REGISTERS): Likewise.
  23186. * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment
  23187. describing how this value is calculated.
  23188. 2003-03-12 Hans-Peter Nilsson <hp@bitrange.com>
  23189. * configure.in (rlim_t): Define to long if no valid definition
  23190. found in sys/resource.h.
  23191. * config.in, configure: Regenerate.
  23192. 2003-03-12 Neil Booth <neil@daikokuya.co.uk>
  23193. * config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with
  23194. TARGET_OS_CPP_BUILTINS.
  23195. * config/mcore/mcore-pe.h: Similarly.
  23196. * config/mcore/mcore.h: Replace CPP_PREDEFINES and part of
  23197. CPP_SPEC with TARGET_CPU_CPP_BUILTINS.
  23198. 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
  23199. PR c/9928
  23200. * c-decl.c (duplicate_decls): Discard the initializer of the new decl
  23201. only if it is a VAR_DECL.
  23202. 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
  23203. PR optimization/9888
  23204. * config/i386/i386.md (jcc_1): Fix range.
  23205. (jcc_2): Likewise.
  23206. (jump): LIkewise.
  23207. (doloop_end_internal): Likewise.
  23208. 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
  23209. * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
  23210. Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
  23211. (DLL_EXPORT_PREFIX): New define. Use throughout instead of
  23212. DLL_IMPORT_EXPORT_PREFIX and "i."
  23213. (i386_pe_dllexport_name_p): Here.
  23214. (i386_pe_dllimport_name_p): Here.
  23215. (i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
  23216. not 9 chars when getting identifier name.
  23217. (i386_pe_mark_dllimport): Here.
  23218. (i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
  23219. not 9 chars when getting identifier name. Correct comment.
  23220. (i386_pe_strip_name_encoding): Here. Add comments for different
  23221. cases.
  23222. (gen_fastcall_suffix): Break down xmalloc() argument to
  23223. components.
  23224. (gen_stdcall_suffix): Likewise.
  23225. Update copyright year.
  23226. 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
  23227. PR optimization/9888
  23228. * config/i386/i386.md (movsi_1): Remove special alternatives
  23229. for %eax register.
  23230. (movsi_1_nointernunit): Likewise.
  23231. (movhi_1): Likewise.
  23232. * config/i386/i386.c (memory_address_length): Do not use
  23233. short displacement when there is no base.
  23234. (ix86_attr_length_address_default): Handle LEA instructions.
  23235. 2003-03-12 Neil Booth <neil@daikokuya.co.uk>
  23236. * c-cppbuiltin.c (builtin_define_std): Make non-static.
  23237. 2003-03-11 Loren James Rittle <ljrittle@acm.org>
  23238. * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
  23239. (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
  23240. (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
  23241. * config/freebsd.h (CPP_PREDEFINES): Remove.
  23242. (TARGET_OS_CPP_BUILTINS): New.
  23243. * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
  23244. instead of TARGET_OS_CPP_BUILTINS.
  23245. * config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
  23246. 2003-03-11 Geoffrey Keating <geoffk@apple.com>
  23247. * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
  23248. 2003-03-11 Aldy Hernandez <aldyh@redhat.com>
  23249. * config/rs6000/rs6000.c (rs6000_stack_info): Remove
  23250. insn_chain_scanned. Use insn_chain_scanned_p in machine_function.
  23251. * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
  23252. 2003-03-11 Alexandre Oliva <aoliva@redhat.com>
  23253. * toplev.c (independent_decode_option): Return success for --help,
  23254. --target-help and --version.
  23255. 2003-03-11 Alexandre Oliva <aoliva@redhat.com>
  23256. * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
  23257. Default to -mips3 on -mabi=64. Don't add -mips* flag if -march is
  23258. specified.
  23259. (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
  23260. DRIVER_SELF_SPECS.
  23261. (LINK_SPEC): Let endian options affect the linker emulation name.
  23262. 2003-03-11 J"orn Rennecke <joern.rennecke@superh.com>
  23263. * sh.md (reload_inqi): Fix mode for source in second set.
  23264. 2003-03-11 Jan Hubicka <jh@suse.cz>
  23265. * cselib.c (cselib_invalidate_mem_1): Move too ...
  23266. (cselib_invalidate_mem): ... here; use new list
  23267. (dummy_val, first_containing_mem): New static variables.
  23268. (clear_table): Initialize first_containing_mem.
  23269. (discard_useless_values): Compact the containing_mem list.
  23270. (add_mem_for_addr): Add to the list.
  23271. * cselib.h (cselib_val): Add next_containing_mem.
  23272. 2003-03-11 Aldy Hernandez <aldyh@redhat.com>
  23273. * config/rs6000/rs6000.c (rs6000_override_options): Disable string
  23274. instructions for e500.
  23275. 2003-03-11 Neil Booth <neil@daikokuya.co.uk>
  23276. * Makefile.in: Update.
  23277. * c-cppbuiltin.c: Include tm_p.h.
  23278. 2003-03-11 Aldy Hernandez <aldyh@redhat.com>
  23279. * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
  23280. * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
  23281. (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
  23282. (_Unwind_SetGR): Same.
  23283. (_Unwind_GetGRPtr): New.
  23284. (_Unwind_SetGRPtr): New.
  23285. (uw_update_context_1): Use accesor functions instead of accessing
  23286. context->reg[] directly.
  23287. (uw_install_context_1): Same.
  23288. (execute_cfa_program): Same.
  23289. (__frame_state_for): Same.
  23290. * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
  23291. the synthetic register offset.
  23292. * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
  23293. 2003-03-11 Hans-Peter Nilsson <hp@axis.com>
  23294. * config/cris/cris.md: Remove lingering EGCS reference.
  23295. ("*extopqihi_side_biap"): For HI operation, match
  23296. cris_additive_operand_extend_operator, not
  23297. cris_operand_extend_operator. Adjust condition.
  23298. ("*extopqihi_side", "*extopqihi"): Ditto.
  23299. ("*extopqisi_side_biap"): Correct operand numbers in condition.
  23300. ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
  23301. ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
  23302. ("*extophisi_swap"): Ditto.
  23303. ("*extopqihi_swap_side_biap"): For HI operation, match a simple
  23304. PLUS, not cris_operand_extend_operator. Adjust condition and
  23305. output template.
  23306. ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
  23307. * config/cris/cris.h (PREDICATE_CODES): Add
  23308. cris_additive_operand_extend_operator.
  23309. * config/cris/cris.c (cris_additive_operand_extend_operator):
  23310. New predicate.
  23311. 2003-03-11 Hartmut Penner <hpenner@de.ibm.com>
  23312. * df.c (read_modify_subreg_p): Change from static to global.
  23313. * df.h (read_modify_subreg_p): Add prototype.
  23314. * sched-deps.c (sched_analyze_1): Generate true dependency for
  23315. strict_low_part, certain subregs and zero/sign_extract.
  23316. 2003-03-11 Neil Booth <neil@daikokuya.co.uk>
  23317. * Makefile.in: Update.
  23318. * c-common.c: Don't include real.h or except.h.
  23319. (REGISTER_PREFIX): Remove.
  23320. (builtin_define_std, builtin_define_with_value,
  23321. builtin_define_with_int_value, builtin_define_with_hex_fp_value,
  23322. builtin_define_type_max, builtin_define_type_precision,
  23323. builtin_define_float_constants): Move to c-cppbuiltin.c.
  23324. (c_stddef_cpp_builtins): New.
  23325. * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
  23326. * c-cppbuiltin.c: New, extracted from c-common.c.
  23327. (define__GNUC__): New.
  23328. * cppspec.c (lang_specific_driver): Remove support of -no-gcc.
  23329. * gcc.c: Remove support of %v1, %v2 and %v3 specs.
  23330. (cpp_unique_options): Don't support no-gcc.
  23331. (do_spec_1): Remove support of version specs.
  23332. * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
  23333. * doc/passes.texi: Update.
  23334. * doc/tm.texi: Update.
  23335. 2003-03-10 Aldy Hernandez <aldyh@redhat.com>
  23336. * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
  23337. 2003-03-10 Andrew Pinski <apinski@apple.com>
  23338. * config/darwin.c (machopic_function_base_name): If dynamic-no-pic
  23339. is on should not get here.
  23340. (machopic_indirect_data_reference): If dynamic-no-pic is on just
  23341. generate high/low parts of the address.
  23342. (machopic_legitimize_pic_address): Change MACHOPIC_PURE to
  23343. MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
  23344. symbol and labels with a new reg. Dynamic-no-pic does not have a
  23345. pic_offset_table_rtx.
  23346. (machopic_select_section): Change references of flag_pic to
  23347. MACHOPIC_INDIRECT.
  23348. (machopic_asm_out_destructor): Likewise.
  23349. * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
  23350. reference of flag_pic to MACHOPIC_INDIRECT.
  23351. (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
  23352. (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
  23353. (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
  23354. (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
  23355. * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
  23356. 0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
  23357. * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
  23358. (TARGET_DYNAMIC_NO_PIC): Define.
  23359. (SUBTARGET_SWITCHES): Define, have sub-target switches for
  23360. dynamic-no-pic.
  23361. (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
  23362. rs6000_override_options to here. Dynamic-no-pic overrides
  23363. pic.
  23364. (CC1_SPEC): Change from not static then pic to not static and not
  23365. dynamic-no-pic then pic.
  23366. * config/rs6000/rs6000.c (rs6000_override_options): Move the
  23367. check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
  23368. (rs6000_legitimize_reload_address): Add case for loading floating in
  23369. dynamic-no-pic.
  23370. (rs6000_emit_move): Add case for dynamic-no-pic. Change reference
  23371. of flag_pic to MACHOPIC_INDIRECT.
  23372. (secondary_reload_class): Conditional change the reference of
  23373. flag_pic to MACHOPIC_INDIRECT.
  23374. (rs6000_output_mi_thunk): Change reference of flag_pic to
  23375. MACHOPIC_INDIRECT.
  23376. (output_profile_hook): Likewise.
  23377. (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
  23378. * config/rs6000/rs6000.md (movdf_low): Add the case for
  23379. MACHO_DYNAMIC_NO_PIC_P.
  23380. (call): Change references for flag_pic in TARGET_MACHO to
  23381. MACHOPIC_INDIRECT.
  23382. (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
  23383. -mdynamic-no-pic is on. Also move case for -fpic from rs6000.c.
  23384. * doc/invoke.texi (-mdynamic-no-pic): Document.
  23385. 2003-03-10 Devang Patel <dpatel@apple.com>
  23386. PR c++/9394
  23387. * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
  23388. (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
  23389. * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
  23390. (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
  23391. * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
  23392. (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
  23393. 2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
  23394. PR optimization/7189
  23395. * toplev.c (rest_of_compilation): Move
  23396. check_function_return_warnings up to just after
  23397. delete_unreachable_blocks.
  23398. 2003-03-10 Stephane Carrez <stcarrez@nerim.fr>
  23399. * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
  23400. * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
  23401. Declare.
  23402. * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
  23403. for reg rename optimization to avoid using Z and Y registers.
  23404. 2003-03-10 Stephane Carrez <stcarrez@nerim.fr>
  23405. * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
  23406. when adding to X and Y since leax/leay are fast.
  23407. ("*addhi3"): Accept 'I' constraint when adding to address register.
  23408. ("rotlhi3"): Operand 1 must be a register_operand.
  23409. (peephole2): New peephole to optimize some adds.
  23410. * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
  23411. to represent -2 .. 2 small integer range.
  23412. 2003-03-10 Stephane Carrez <stcarrez@nerim.fr>
  23413. * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
  23414. each 16-bit rotation.
  23415. 2003-03-10 Zack Weinberg <zack@codesourcery.com>
  23416. * c-opts.c (add_prefixed_path): Don't use concat. When
  23417. prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
  23418. cpp_GCC_INCLUDE_DIR_len characters.
  23419. 2003-03-10 Segher Boessenkool <segher@koffie.nl>
  23420. * testsuite/gcc.dg/altivec-9.c: New file.
  23421. * config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
  23422. (rs6000_emit_prologue): Use rs6000_frame_related instead.
  23423. 2003-03-10 Aldy Hernandez <aldyh@redhat.com>
  23424. * config/rs6000/spe.h: Define __ev64_*64__ to use single element
  23425. vectors.
  23426. (__ev_convert_u64): Remove macro. Define as inline.
  23427. (__ev_convert_s64): Same.
  23428. 2003-03-10 Aldy Hernandez <aldyh@redhat.com>
  23429. * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
  23430. (rs6000_stack_t): Add spe_64bit_regs_used.
  23431. * config/rs6000/rs6000.c (rs6000_stack_info): Calculate
  23432. spe_64bit_regs_used, and use it to determine the size of the
  23433. frame.
  23434. (spe_func_has_64bit_regs_p): New.
  23435. (spe_synthesize_frame_save): New.
  23436. (rs6000_frame_related): Handle SPE synthetic registers.
  23437. (rs6000_emit_prologue): Only save in 64-bits if the function used
  23438. any registers in 64-bit mode.
  23439. (rs6000_emit_epilogue): Same, but for restore.
  23440. 2003-03-10 Richard Earnshaw <rearnsha@arm.com>
  23441. * arm.h (enum floating_point_type): Delete. Replace with...
  23442. (enum fputype): ... new.
  23443. (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked.
  23444. * linux-elf.h (FPUTYPE_DEFAULT): Likewise.
  23445. * arm.md (attr fpu): Reworked for new underlying enum values.
  23446. * arm.c (arm_fpu_arch): Now enum fputype.
  23447. (arm_fpu_tune): Renamed from arm_fpu. Now enum fputype.
  23448. (arm_override_options, arm_output_epilogue, arm_expand_prologue):
  23449. Update uses of arm_fpu_arch and arm_fpu_tune.
  23450. 2003-03-10 Josef Zlomek <zlomekj@suse.cz>
  23451. * cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
  23452. (try_crossjump_to_edge): Replace refereces to one jump table by
  23453. references to identical jump table.
  23454. * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
  23455. (replace_label): Moved to rtlanal.c.
  23456. (struct rtx_pair): Moved to rtl.h.
  23457. * rtl.h (struct rtx_pair): Moved from loop.c.
  23458. (replace_label): New extern function.
  23459. (subrtx_p): New extern function.
  23460. (tablejump_p): New extern function.
  23461. * rtlanal.c (replace_label): Moved from loop.c.
  23462. (subrtx_p_1): New static function.
  23463. (subrtx_p): New function.
  23464. (tablejump_p): New function.
  23465. 2003-03-10 Jan Hubicka <jh@suse.cz>
  23466. * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
  23467. * cfgcleanup.c (merge_blocks): Return where to iterate next.
  23468. (try_optimize_cfg): Use return value of merge_blocks
  23469. 2003-03-10 Michael Matz <matz@suse.de>
  23470. * cfg.c (unchecked_make_edge): New.
  23471. (cached_make_edge): Use it.
  23472. * basic-block.h (unchecked_make_edge): Declare.
  23473. * cfglayout.c (cfg_layout_duplicate_bb): Use it.
  23474. 2003-03-10 Richard Earnshaw <rearnsha@arm.com>
  23475. * fpa.md: New file. Move all patterns relating to FPA co-processor
  23476. to here...
  23477. * arm.md: ... from here.
  23478. (cirrus.md, fpa.md): Include at end of description.
  23479. (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
  23480. (pic_load_addr_based): Remove register constraint from expander.
  23481. (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
  23482. (sordered, sungt, sunle, sunge, sunlt): Likewise.
  23483. (eh_epilogue, tablejump): Likewise.
  23484. 2003-03-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23485. * tree.c (substitute_in_expr, case 'e'): Only make recursive call
  23486. on operands if it has a PLACEHOLDER_EXPR.
  23487. 2003-03-09 David Edelsohn <edelsohn@gnu.org>
  23488. Mostafa Hagog
  23489. * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
  23490. condition.
  23491. 2003-03-09 Neil Booth <neil@daikokuya.co.uk>
  23492. * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
  23493. * config/ip2k/ip2k.h: Similarly.
  23494. * config/m32r/m32r.h: Similarly.
  23495. * config/m68hc11/m68hc11.h: Similarly.
  23496. * config/mn10200/mn10200.h: Similarly.
  23497. * config/mn10300/mn10300.h: Similarly.
  23498. * config/pdp11/pdp11.h: Similarly.
  23499. * config/v850/v850.h: Similarly.
  23500. * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
  23501. * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
  23502. * config/mips/iris3.h: Remove #if 0 block.
  23503. 2003-03-09 Roger Sayle <roger@eyesopen.com>
  23504. Joern Rennecke <joern.rennecke@superh.com>
  23505. * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
  23506. pending argument upon return from handle_braces here.
  23507. (do_spec_2): Instead handle it upon return from do_spec_1 here.
  23508. 2003-03-09 Roger Sayle <roger@eyesopen.com>
  23509. Joern Rennecke <joern.rennecke@superh.com>
  23510. * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
  23511. pending argument upon return from handle_braces here.
  23512. (do_spec_2): Instead handle it upon return from do_spec_1 here.
  23513. 2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  23514. * varasm.c (make_decl_one_only): Use declare_weak().
  23515. 2003-03-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  23516. PR middle-end/9986
  23517. * c-common.c (c_common_nodes_and_builtins): Initialize target builtins
  23518. after the common builtins.
  23519. * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
  23520. * pa.c (TARGET_INIT_BUILTINS): Define.
  23521. (pa_init_builtins): New function.
  23522. * pa.md (call, call_value, sibcall, sibcall_value): When sufficient
  23523. space has been allocated for the outgoing arguments, set the arg
  23524. pointer for a call emitted after virtuals have been instantiated
  23525. using the stack pointer offset, otherwise abort.
  23526. 2003-03-09 DJ Delorie <dj@redhat.com>
  23527. * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
  23528. 2003-03-09 Richard Earnshaw <rearnsha@arm.com>
  23529. * arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
  23530. (arm_fix_truncdfsi2): Add missing fix in floating point mode before
  23531. conversion to integer.
  23532. * cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.
  23533. 2003-03-09 Roger Sayle <roger@eyesopen.com>
  23534. * builtins.def: Fix typo and improve grammar.
  23535. * loop-unroll.c (decide_peel_completely): Tidy log message.
  23536. 2003-03-09 Kazu Hirata <kazu@cs.umass.edu>
  23537. * config/h8300/h8300.md (*tstsi_upper_bit): New.
  23538. (*iorsi3_e2f): Likewise.
  23539. 2003-03-08 Kazu Hirata <kazu@cs.umass.edu>
  23540. * config/h8300/h8300.c (h8300_and_costs): Return the number of
  23541. assembly instructions needed.
  23542. (h8300_shift_costs): Likewise.
  23543. 2003-03-09 Hans-Peter Nilsson <hp@bitrange.com>
  23544. * config/cris/aout.h (ENDFILE_SPEC): Undef.
  23545. * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
  23546. moves from here ...
  23547. * expr.c (emit_move_insn_1): ... to here.
  23548. * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
  23549. (TARGET_OS_CPP_BUILTINS): New macro.
  23550. * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
  23551. (TARGET_OS_CPP_BUILTINS): New macro.
  23552. (CPP_PREDEFINES): Don't define. Move old definitions and...
  23553. (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
  23554. (TARGET_CPU_CPP_BUILTINS): New macro.
  23555. * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
  23556. definitions and the optional __PIC__, __pic__ and
  23557. __NO_UNDERSCORES__ definitions to...
  23558. (TARGET_OS_CPP_BUILTINS): New macro.
  23559. * flags.h (flag_leading_underscore): Declare.
  23560. * c-opts.c (c_common_post_options): On fopen failure, return
  23561. false, not NULL.
  23562. 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
  23563. * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
  23564. config.h.
  23565. * config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
  23566. * config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
  23567. 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
  23568. * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
  23569. CPP_PREDEFINES.
  23570. * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
  23571. CPP_PREDEFINES.
  23572. 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
  23573. * c-common.h (c_common_init, c_common_post_options): Update.
  23574. * c-objc-common.c (c_objc_common_init): Update for new prototype.
  23575. * c-opts.c (saved_lineno): New.
  23576. (c_common_post_options, c_common_init): Update prototypes,
  23577. move call to cpp_read_main_file from latter to former.
  23578. * c-tree.h (c_ojbc_common_init): Update.
  23579. * langhooks-def.h (lhd_post_options): New.
  23580. (LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
  23581. * langhooks.c (lhd_post_options): New.
  23582. * langhooks.h (struct lang_hooks): Update post_options and init hooks.
  23583. * toplev.c (no_backend): New.
  23584. (process_options): Call post_options hook and set main_input_filename
  23585. and input_filename here.
  23586. (lang_dependent_init, do_compile): post_options hook moved to
  23587. process_options.
  23588. * objc/objc-act.c (objc_init): Update prototype.
  23589. * objc/objc-act.h (objc_init): Update prototype.
  23590. 2003-03-08 Roger Sayle <roger@eyesopen.com>
  23591. * emit-rtl.c (gen_lowpart): Don't attempt to load a part of
  23592. a complex or vector type, using a load in the original mode.
  23593. 2003-03-08 Jan Hubicka <jh@suse.cz>
  23594. * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
  23595. * gt-cgraph.h: New GC file.
  23596. * cgraph.c (known_fns): New static variable.
  23597. (cgraph_node): Add the decl into varray.
  23598. 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
  23599. * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
  23600. 2003-03-08 Richard Earnshaw <rearnsha@arm.com>
  23601. * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
  23602. (neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
  23603. (output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
  23604. (output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
  23605. All callers changed.
  23606. * arm.md, arm.h, arm-protos.h: Updated.
  23607. * arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
  23608. (CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
  23609. * arm.c (arm_regno_class, f_register_operand): Updated.
  23610. 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
  23611. * config/cris/cris.h: Remove EGCS references.
  23612. (CPP_SPEC): Remove "-$".
  23613. (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
  23614. 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
  23615. * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
  23616. preference to CPP_PREDEFINES.
  23617. 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
  23618. * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
  23619. 2003-03-08 Kazu Hirata <kazu@cs.umass.edu>
  23620. * config/h8300/h8300.md (*extzv_16_8): New.
  23621. 2003-03-08 Jan Hubicka <jh@suse.cz>
  23622. * c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
  23623. * cgraph.h: (cgraph_local_info): Add can_inline_once
  23624. (cgraph_global_info): Add inline_once.
  23625. (cgraph_node): Add previous.
  23626. (cgraph_remove_node): New.
  23627. * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
  23628. function.
  23629. (cgraph_optimize): Call it.
  23630. (cgraph_finalize_function): Set inlinable flags.
  23631. (cgraph_finalize_compilation_unit): Actually remove the reclaimed nodes.
  23632. (cgraph_mark_functions_to_output): Use new inlining heuristics flags.
  23633. (cgraph_expand_function): Likewise.
  23634. * cgraph.c
  23635. (cgraph_node): Put nodes into doubly linked chain.
  23636. (cgraph_remove_node): New function.
  23637. * flags.h (flag_inline_functions_called_once): Declare.
  23638. * tree-inline.c: Include cgraph.h
  23639. (inlinable_functions_p): Add extra argument to bypass limits.
  23640. (expand_call_inline): Obey cgraph flag.
  23641. * tree-inline.h (tree_inlinable_function_p): Update prototype.
  23642. 2003-03-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  23643. * gcse.c (bypass_block, bypass_conditional_jumps): Do not create
  23644. irreducible loops.
  23645. * loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
  23646. loops info correctly.
  23647. 2003-03-08 Eric Botcazou <ebotcazou@libertysurf.fr>
  23648. PR middle-end/7796
  23649. * unroll.c (calculate_giv_inc): Handle constants being
  23650. loaded with LSHIFTRT.
  23651. 2003-03-07 David Edelsohn <edelsohn@gnu.org>
  23652. * config/rs6000/rs6000.c (processor_target_table): Do not disable
  23653. GP optional instructions on Power3, Power4, 620, and 630.
  23654. 2003-03-07 Kazu Hirata <kazu@cs.umass.edu>
  23655. * calls.c: Fix comment formatting.
  23656. * cfgloopanal.c: Likewise.
  23657. * cfgloopmanip.c: Likewise.
  23658. * combine.c: Likewise.
  23659. * dwarf2out.c: Likewise.
  23660. * ggc-common.c: Likewise.
  23661. * langhooks.c: Likewise.
  23662. * loop-unroll.c: Likewise.
  23663. * loop.c: Likewise.
  23664. * ra-build.c: Likewise.
  23665. * sbitmap.c: Likewise.
  23666. * toplev.c: Likewise.
  23667. 2003-03-07 James E Wilson <wilson@tuliptree.org>
  23668. * config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count.
  23669. 2003-03-07 Geoffrey Keating <geoffk@apple.com>
  23670. * objc/lang-specs.h (objective-c-header): Use .gch not .pch;
  23671. support -no-integrated-cpp.
  23672. * c-pch.c (get_ident): Use c_language_kind and flag_objc rather
  23673. than langhooks.name.
  23674. 2003-03-07 Michael Matz <matz@suse.de>
  23675. * df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
  23676. (DF_FOR_REGALLOC): New.
  23677. * df.c (df_ref_record): Set DF_REF_STRIPPED.
  23678. (read_modify_subreg_p): Simplify.
  23679. (df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often.
  23680. Use DF_FOR_REGALLOC.
  23681. * ra.h (struct web): New member subreg_stripped.
  23682. (invalid_mode_change_regs): Declare.
  23683. * ra.c (invalid_mode_change_regs): New.
  23684. (init_ra): Initialize it.
  23685. * ra-build.c (init_one_web_common, remember_web_was_spilled): Use it.
  23686. Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
  23687. (reinit_one_web, parts_to_web_1): Deal with subreg_stripped.
  23688. * ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs.
  23689. Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
  23690. 2003-03-07 Richard Earnshaw <rearnsha@arm.com>
  23691. * arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2)
  23692. (negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2)
  23693. (fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main
  23694. machine description file from ...
  23695. * cirrus.md: ... here.
  23696. 2003-03-06 Kazu Hirata <kazu@cs.umass.edu>
  23697. * config/h8300/h8300.md (a peephole2): Don't use
  23698. reg_overlap_mentioned_p.
  23699. 2003-03-06 Geoffrey Keating <geoffk@apple.com>
  23700. * c-pch.c: Include langhooks.h.
  23701. (IDENT_LENGTH): New.
  23702. (get_ident): New.
  23703. (pch_ident): Delete.
  23704. (pch_init): Use get_ident, IDENT_LENGTH.
  23705. (c_common_valid_pch): Likewise. Also, use actual language
  23706. in warning message.
  23707. * Makefile.in (c-pch.o): Add langhooks.h to dependencies.
  23708. * objc/config-lang.in (gtfiles): Add objc-act.c. Remove duplicate
  23709. c-parse.in.
  23710. * objc/Make-lang.in (objc/objc-act.o): Add dependency on
  23711. gt-objc-objc-act.h.
  23712. (gt-objc-objc-act.h): New rule.
  23713. * objc/lang-specs.h: Support PCH.
  23714. * objc/objc-act.c: Include gt-objc-objc-act.h.
  23715. (objc_add_static_instance): Move num_static_inst out, mark for PCH.
  23716. (build_selector_reference_decl): Move idx out, mark for PCH.
  23717. (build_class_reference_decl): Likewise.
  23718. (build_objc_string_decl): Move *_idx out, mark for PCH.
  23719. (build_tmp_function_decl): Move xxx out, mark for PCH.
  23720. 2003-03-06 Dale Johannesen <dalej@apple.com>
  23721. * config/rs6000/rs6000.c (rs6000_binds_local_p): Consider
  23722. global functions for inlining on Darwin.
  23723. 2003-03-06 Vladimir Makarov <vmakarov@redhat.com>
  23724. * haifa-sched.c (schedule_block): Don't call reorder when sorting
  23725. is prohibited.
  23726. 2003-03-06 Neil Booth <neil@daikokuya.co.uk>
  23727. * Makefile.in (c-ppoutput.o): Update.
  23728. * c-common.h (init_pp_output): New.
  23729. (preprocess_file): Update.
  23730. * c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
  23731. Register builtins.
  23732. * c-opts.c (c_common_init): Call init_pp_output if preprocessing.
  23733. Make call to cpp_read_main_file common to whether preprocessing
  23734. or not. Don't register builtins.
  23735. * c-ppoutput.c: Include c-pragma.h.
  23736. (setup_callbacks): Rename init_pp_output.
  23737. (preprocess_file): No longer setup callbacks or call
  23738. cpp_read_main_file.
  23739. * cpphash.h (_cpp_init_mbchar): New.
  23740. * cppinit.c (init_library): Call _cpp_init_mbchar.
  23741. * cpplex.c (_cpp_init_mbchar): New.
  23742. 2003-03-06 Roger Sayle <roger@eyesopen.com>
  23743. * emit-rtl.c (gen_lowpart): When requesting the low-part of a
  23744. MEM, try loading the MEM into a register and taking the low-part
  23745. of that, to help CSE see the use of the MEM in its true mode.
  23746. 2003-03-05 Tom Tromey <tromey@redhat.com>
  23747. * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH):
  23748. Define.
  23749. 2003-03-05 Nick Clifton <nickc@cambridge.redhat.com>
  23750. * config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on
  23751. operand 2.
  23752. ("*ineqbranchsi"): Likewise.
  23753. 2003-03-05 Andrew Haley <aph@cambridge.redhat.com>
  23754. * config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete
  23755. mem_fake_push_rtx. Instead construct a SEQUENCE to show the
  23756. register store followed by a stack increment.
  23757. 2003-03-05 Chris Moller <cmoller@redhat.com>
  23758. * config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term
  23759. to inhibit saving CARRY_REGS.
  23760. * config/stormy16/stormy16.c (xs_hi_general_operand):
  23761. added predicate to detect and error-out on out-of-range
  23762. const_ints for movhi.
  23763. * config/stormy16/stormy16.md (movhi): use
  23764. xs_hi_general_operand.
  23765. * config/stormy16/stormy16.c (xstormy16_expand_prologue):
  23766. added a check for local vbl size overflow.
  23767. * config/stormy16/stormy16.c (xs_hi_nonmemory_operand):
  23768. added predicate to detect and error-out on out-of-range
  23769. const_ints for addhi and subhi.
  23770. * config/stormy16/stormy16.md (addhi3, addchi4, addchi5,
  23771. subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand.
  23772. * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
  23773. add a term to accept PRE_MODIFY addresses.
  23774. * config/stormy16/stormy16.c (xstormy16_expand_move):
  23775. add code to expand PRE_MODIFY addresses to an add followed
  23776. by a move.
  23777. 2003-03-06 Jason Merrill <jason@redhat.com>
  23778. * tree-inline.c (inlinable_function_p): Revert earlier change
  23779. pending investigation.
  23780. 2003-03-06 Kazu Hirata <kazu@cs.umass.edu>
  23781. * config/h8300/h8300.md (a new peephole2): New.
  23782. 2003-03-06 Jan Hubicka <jh@suse.cz>
  23783. * cgraph.c (cgraph_node): Do not confuse nested functions and methods.
  23784. 2003-03-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  23785. * dwarf2out.c (size_of_die): Compute size of external reference to
  23786. die correctly.
  23787. 2003-03-06 Hans-Peter Nilsson <hp@bitrange.com>
  23788. * config/mmix/mmix.md ("*movcc_expanded"): New pattern.
  23789. ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New
  23790. expanders.
  23791. 2003-03-05 Roger Sayle <roger@eyesopen.com>
  23792. * expr.h (lang_expand_expr): Delete obsolete prototype.
  23793. 2003-03-05 Kazu Hirata <kazu@cs.umass.edu>
  23794. * emit-rtl.c (gen_highpart_mode): Fix a comment typo.
  23795. 2003-03-05 Kazu Hirata <kazu@cs.umass.edu>
  23796. * config/h8300/h8300.md (a peephole2): Generalize to
  23797. accept a memory operand.
  23798. 2003-03-05 Olivier Hainque <hainque@act-europe.fr>
  23799. * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'.
  23800. * config/alpha/alpha.c (print_operand, case '+'): New.
  23801. * config/alpha/alpha.md (call_osf_1_noreturn): Document and use.
  23802. (call_value_osf_1_noreturn): Likewise.
  23803. 2003-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23804. * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
  23805. (expand_end_bindings): Likewise.
  23806. 2003-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  23807. * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
  23808. (epilogue): Don't generate return_external_pic when emitting PA 2.0
  23809. code.
  23810. 2003-03-05 Aldy Hernandez <aldyh@redhat.com>
  23811. * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
  23812. * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
  23813. * hooks.c (hook_rtx_rtx_null): New.
  23814. * hooks.h (hook_rtx_rtx_null): Protoize.
  23815. * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
  23816. (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
  23817. * target.h (struct gcc_target): Add dwarf_register_span.
  23818. * dwarf2out.c (multiple_reg_loc_descriptor): New.
  23819. (one_reg_loc_descriptor): New.
  23820. (reg_loc_descriptor): Add support for values that span more than
  23821. one register.
  23822. 2003-03-05 Jan Hubicka <jh@suse.cz>
  23823. * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
  23824. * alias.c: Include cgraph.h
  23825. (mark_constant_function): Use cgraph_rtl_info.
  23826. * calls.c: Include cgraph.h
  23827. (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
  23828. calls.
  23829. (expand_call): Use cgraph_rtl_info to set preferred stack boundary.
  23830. * cgraph.c (cgraph_rtl_info): New function.
  23831. * cgraph.h (cgraph_rtl_info): Declare
  23832. (cgraph_rtl_info): Likewise.
  23833. * function.h (struct function): Add recursive_call_emit.
  23834. * toplev.c: Include cgraph.h.
  23835. (rest_of_compilation): Set preferred_incoming_stack_boundary.
  23836. 2003-03-05 Kazu Hirata <kazu@cs.umass.edu>
  23837. * config/h8300/h8300.c (output_simode_bld): Clear the
  23838. destination first if possible.
  23839. * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
  23840. alternative.
  23841. (extzv_1_r_inv_h8300hs): Likewise.
  23842. 2003-03-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  23843. * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
  23844. * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
  23845. * cfgloop.c (flow_loop_free): Made global.
  23846. (establish_preds): New static function.
  23847. (flow_loop_tree_node_add): Handle subloops of added loop correctly.
  23848. (get_loop_exit_edges): New.
  23849. (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
  23850. * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
  23851. * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
  23852. loops.
  23853. * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
  23854. removability of an edge.
  23855. (fix_irreducible_loops): New static function.
  23856. (find_path, remove_path): Add ability to remove enclosing loops.
  23857. (unloop): New.
  23858. (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
  23859. flags.
  23860. * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
  23861. * loop-unroll.c (peel_loops_completely): Do not duplicate loop if
  23862. not neccessary.
  23863. (decide_peel_completely, peel_loops_completely): Allow complete peeling
  23864. of non-duplicable once rolling loops.
  23865. * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
  23866. 2003-03-05 J"orn Rennecke <joern.rennecke@superh.com>
  23867. * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
  23868. for align_jumps is 4.
  23869. (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
  23870. use GENERAL_REGS.
  23871. 2003-03-05 Stephane Carrez <stcarrez@nerim.fr>
  23872. * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
  23873. according to va_arg type.
  23874. (EXPAND_BUILTIN_VA_ARG): Remove.
  23875. * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
  23876. * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
  23877. 2003-03-05 David Edelsohn <edelsohn@gnu.org>
  23878. * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary
  23879. else clauses.
  23880. 2003-03-05 Michael Matz <matz@suse.de>
  23881. * i386/i386.c (ix86_save_reg): Also test
  23882. current_function_uses_const_pool.
  23883. 2003-03-05 Michael Matz <matz@suse.de>
  23884. * unwind.h: Add the GPL exception.
  23885. * Makefile.in (USER_H): Add unwind.h.
  23886. 2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr>
  23887. PR c/9799
  23888. * c-typeck.c (push_init_level): Add sanity check.
  23889. 2003-03-05 Jan Hubicka <jh@suse.cz>
  23890. * toplev.c (rest_of_compilation): Defer RTL compilation only when
  23891. RTL inlining is done.
  23892. * cgraphunit.c (cgraph_mark_local_functions): New local function.
  23893. (cgraph_optimize): Mark local functions.
  23894. * i386-protos.h (init_cumulative_args): Update prototype.
  23895. * i386.c (init_cumulative_args): Use register passing convention for
  23896. local functions.
  23897. * cgraph.c (cgraph_global_info_ready): New global variable
  23898. (cgraph_local_info, cgraph_global_info): New functions.
  23899. * cgraph.h (struct cgraph_local_info, cgraph_global_info): New
  23900. structures.
  23901. (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready):
  23902. Declare.
  23903. * cgraphunit.c (cgraph_finalize_function): Set inline_many.
  23904. (cgraph_mark_functions_to_output): Use inline_many.
  23905. (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally.
  23906. (cgraph_expand_functions): Expand inline functions last.
  23907. (cgraph_optimize): Do not emit uneeded functions.
  23908. 2003-03-04 Steve Ellcey <sje@cup.hp.com>
  23909. * expr.c (convert_modes): Check for legal hard register.
  23910. 2003-03-04 Tom Tromey <tromey@redhat.com>
  23911. * doc/sourcebuild.texi (Front End Directory): Document tags.
  23912. * configure: Rebuilt.
  23913. * configure.in (target_list): Added tags.
  23914. * Makefile.in (TAGS): Depend on lang.clean. Include subdirectory
  23915. TAGS files by reference.
  23916. * objc/Make-lang.in (objc.tags): New target.
  23917. 2003-03-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  23918. * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
  23919. gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter,
  23920. gcov_write_string, gcov_read_unsigned, gcov_read_counter,
  23921. gcov_read_string, gcov_write_length): Modified to enable reading/
  23922. writing of whole .da file just once.
  23923. (da_file_open, da_file_close, da_file_eof, da_file_error,
  23924. da_file_position, da_file_seek, da_file_write, da_file_read): New
  23925. functions.
  23926. (actual_da_file, actual_da_file_position, actual_da_file_length,
  23927. actual_da_file_buffer, actual_da_file_buffer_size): New static
  23928. functions.
  23929. * libgcov.c (gcov_exit): Modified to read/write the whole .da file at
  23930. just once.
  23931. 2003-03-04 Andreas Schwab <schwab@suse.de>
  23932. * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
  23933. offset without frame pointer.
  23934. 2003-03-04 Steve Ellcey <sje@cup.hp.com>
  23935. * expr.c (expand_expr): Call promote_mode to set unsignedp.
  23936. 2003-03-04 Daniel Jacobowitz <drow@mvista.com>
  23937. * configure.in: Don't always define TARGET_SYSTEM_ROOT.
  23938. * configure: Regenerated.
  23939. * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
  23940. 2003-03-04 Andreas Jaeger <aj@suse.de>
  23941. * configure.in: Check for <memcheck.h>.
  23942. * configure: Regenerated.
  23943. * config.in: Define HAVE_MEMCHECK_H.
  23944. * ggc-common.c: Use <memcheck.h> if available instead of
  23945. <valgrind.h>.
  23946. * ggc-page.c: Likewise.
  23947. * cppfiles.c: Likewise.
  23948. 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
  23949. * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths.
  23950. 2003-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  23951. PR c/9262
  23952. * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY.
  23953. (c_finish_case): Rechain the next statements to the SWITCH_STMT.
  23954. 2003-03-04 Jan Hubicka <jh@suse.cz>
  23955. * doc/invoke.texi: Document that unit-at-a-time is enabled for -O3
  23956. * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time
  23957. for -O3.
  23958. 2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org>
  23959. * configure.in: Delete three unused variables. Move a variable
  23960. definition closer to its use. Simplify use_collect2 logic. Start to
  23961. organize. Simplify tests for in-tree gas and ld.
  23962. * configure: Regenerate.
  23963. 2003-03-04 Neil Booth <neil@daikokuya.co.uk>
  23964. * Makefile.in: Update.
  23965. * c-common.c (flag_no_line_commands, flag_no_output,
  23966. flag_dump_macros, flag_dump_includes): New.
  23967. * c-common.h (flag_no_line_commands, flag_no_output,
  23968. flag_dump_macros, flag_dump_includes, preprocess_file): New.
  23969. (init_c_lex): Update prototype.
  23970. * c-lex.c (init_c_lex): Update prototype; move some code to
  23971. c_common_init.
  23972. * c-opts.c (preprocess_file): Subsume into c_common_init.
  23973. (c_common_decode_option): Update flags.
  23974. (c_common_init): Move code from preprocess_file and init_c_lex.
  23975. (sanitize_cpp_opts): Update.
  23976. * c-ppoutput.c: New, cppmain.c almost verbatim.
  23977. * cpphash.h (struct printer): Remove.
  23978. (struct cpp_reader): Remove print.
  23979. * cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
  23980. cpp_preprocess_file): Remove.
  23981. (struct cpp_options): Remove no_output, no_line_commands, dump_macros
  23982. and dump_includes.
  23983. * cppmain.c: Remove.
  23984. * doc/passes.texi: Update.
  23985. 2003-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  23986. * function.c (STACK_ALIGNMENT_NEEDED): New macro. Default to 1.
  23987. (assign_stack_local_1): Perform overall stack alignment only when
  23988. STACK_ALIGNMENT_NEEDED is nonzero.
  23989. * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
  23990. * pa.c (compute_frame_size): Rename fsize to size. Account for
  23991. alignment to a word boundary before general register save block. Only
  23992. account for double-word alignment before floating point register save
  23993. block if one or more are saved. Don't allocate space for %r3 when
  23994. frame pointer is needed.
  23995. (hppa_expand_prologue): Include alignment to word boundary in local
  23996. frame size.
  23997. * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
  23998. (STACK_ALIGNMENT_NEEDED): Define.
  23999. 2003-03-04 Kevin Buettner <kevinb@redhat.com>
  24000. * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
  24001. global register variables.
  24002. 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
  24003. * reload.c (reload_adjust_reg_for_mode): New function.
  24004. (subst_reloads): Call it.
  24005. (operands_match_p): Adjust registers using HARD_REGNO_NREGS.
  24006. * reload.h (reload_adjust_reg_for_mode): Declare.
  24007. * reload1.c (emit_input_reload_insns, emit_output_reload_insns):
  24008. Call it.
  24009. 2003-03-03 James E Wilson <wilson@tuliptree.org>
  24010. * optabs.c (add_equal_note): Delete SUBREG_REG use.
  24011. Fixes PR c/7872.
  24012. 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
  24013. * config/h8300/h8300.md (*ixorsi3_ashift_16): New.
  24014. (*ixorsi3_lshiftrt_16): New.
  24015. (*iorsi3_ashift_16): Remove.
  24016. 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
  24017. * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
  24018. pattern.
  24019. 2003-03-03 Geoffrey Keating <geoffk@apple.com>
  24020. * doc/install.texi (Specific): Update entry for powerpc-darwin.
  24021. 2003-03-03 Richard Henderson <rth@redhat.com>
  24022. * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
  24023. 2003-03-03 David Edelsohn <edelsohn@gnu.org>
  24024. * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
  24025. (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
  24026. (rs6000_variable_issue): Do not return negative value.
  24027. (rs6000_issue_rate): Uniformly set issue rate to 1 for first
  24028. scheduling pass.
  24029. 2003-03-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  24030. * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
  24031. prune_unused_types calls.
  24032. 2003-03-03 Jason Merrill <jason@redhat.com>
  24033. * tree-inline.c (find_builtin_longjmp_call): Save and restore
  24034. lineno and input_filename.
  24035. (find_alloca_call): Likewise.
  24036. (inlinable_function_p): Run the langhook earlier.
  24037. * calls.c (compute_argument_addresses): Give the new MEMs a
  24038. minimum alignment of PARM_BOUNDARY.
  24039. 2003-03-03 J"orn Rennecke <joern.rennecke@superh.com>
  24040. * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
  24041. subtarget_asm_isa_spec.
  24042. (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
  24043. (ASM_SPEC): Define as SH_ASM_SPEC.
  24044. (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
  24045. Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
  24046. * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
  24047. (SUBTARGET_ASM_ISA_SPEC): Undef / define.
  24048. * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
  24049. and align_jumps if not set.
  24050. Force align_jumps to be at least 2.
  24051. When relaxing, force align_functions to be at least the maximum of
  24052. align_loops, align_jumps and 4.
  24053. * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
  24054. (sh_loop_align): Honour align_loops_log.
  24055. * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
  24056. to check for indirect_jump_scratch.
  24057. (indirect_jump_scratch): Add second set.
  24058. * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
  24059. when looking for indirect_jump_scratch.
  24060. Extract scratch register taking new structure of indirect_jump_scratch
  24061. into account.
  24062. (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
  24063. 2003-03-03 Jan Hubicka <jh@suse.cz>
  24064. * calls.c (rtx_for_function_call): Take the address as an argument
  24065. (expand_call): Do not modify the expression.
  24066. * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not
  24067. optimizing.
  24068. 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
  24069. * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
  24070. TARGET_H8300H and TARGET_H8300S.
  24071. 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
  24072. * config/h8300/h8300.md (a peephole2): New.
  24073. 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
  24074. * config/h8300/h8300.md (*extzv_8_8): Use shorter code when
  24075. operands[0] and operands[1] are different.
  24076. 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
  24077. * reload1.c (reload_cse_move2add): Remove variable success.
  24078. 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  24079. * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
  24080. warnings.
  24081. 2003-03-02 Richard Henderson <rth@redhat.com>
  24082. * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
  24083. * config.in, configure: Rebuild.
  24084. * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
  24085. * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
  24086. paired ldtoffx and ldxmov annotations.
  24087. (load_symptr_internal1): Remove.
  24088. (load_symptr_high, load_symptr_low): New.
  24089. 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
  24090. * c-incpath.c (add_path): Fix sysp assignment.
  24091. 2003-03-02 Kurt Garloff <garloff@suse.de>
  24092. * params.def: Introduce parameter max-inline-insns-rtl for
  24093. a separate limit for the RTL inliner.
  24094. * params.h: Likewise.
  24095. * integrate.c (function_cannot_inline_p): Use it.
  24096. * toplev.c (decode_f_option): Set multiple parameters
  24097. controlling inlining with -finline-limit.
  24098. * params.def: Fix orthographic and typographic errors.
  24099. * doc/invoke.texi: Document parameters controlling inlining
  24100. and the way -finline-limit sets multiple of them.
  24101. * tree.h (struct tree_decl): Introduce inlined_function_flag,
  24102. recording whether the function became eligible for inlining
  24103. by a compiler flag rather than the declaration.
  24104. Provide DID_INLINE_FUNC macro to access it.
  24105. * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
  24106. * cp/decl.c (grokfndecl): Likewise.
  24107. * toplev.c (rest_of_compilation): Likewise.
  24108. * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
  24109. * print-tree.c (print_node): Report it.
  24110. * params.def: Introduce new max-inline-insns-auto limit.
  24111. * params.h: Likewise.
  24112. * tree-inline.c (inlinable_function_p): Apply it to functions
  24113. with DID_INLINE_FUNC set.
  24114. * toplev.c (decode_f_option): Initialize it from -finline-limit
  24115. value.
  24116. * doc/invoke.texi: Document new parameter.
  24117. 2003-03-02 Geoffrey Keating <geoffk@apple.com>
  24118. * fix-header.c (read_scan_file): Don't reference simplify_path.
  24119. 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
  24120. * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
  24121. min/max instructions by default as may result in reload errors.
  24122. 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
  24123. * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
  24124. avoid reload problems; define split for it.
  24125. 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
  24126. * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
  24127. * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
  24128. * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
  24129. * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
  24130. rotatert and rotate.
  24131. ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
  24132. ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
  24133. ("*rotrhi3_addr"): New split for shift insns on address register.
  24134. ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
  24135. * config/m68hc11/larith.asm (___rotlhi3): New asm function.
  24136. (___rotrhi3): Likewise.
  24137. * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
  24138. 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
  24139. * toplev.c (aux_base_name): Moved from toplev.h.
  24140. (filename): Constify.
  24141. (lang_dependent_init): Don't duplicate name.
  24142. (process_options): Set aux_base_name here, not...
  24143. (do_compile): ...here. Change protoype.
  24144. (toplev_main): Move some code from do_compile.
  24145. * toplev.h: Remove aux_base_name.
  24146. 2003-03-02 Kazu Hirata <kazu@cs.umass.edu>
  24147. * config/h8300/h8300-protos.h: Add a prototype for
  24148. iorxor_operator.
  24149. * config/h8300/h8300.c (print_operand): Handle 'c'.
  24150. (iorxor_operator): New.
  24151. * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
  24152. * config/h8300/h8300.md (*iorhi3_zext): Remove.
  24153. (*iorsi3_zexthi): Likewise.
  24154. (*iorsi3_zextsi): Likewise.
  24155. (*xorhi3_zextqi): Likewise.
  24156. (*xorsi3_zexthi): Likewise.
  24157. (*xorsi3_zextsi): Likewise.
  24158. (*ixorhi3_zext): New.
  24159. (*ixorsi3_zext_qi): Likewise.
  24160. (*ixorsi3_zext_hi): Likewise.
  24161. 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
  24162. * c-incpath.c (remove_component_p, simplify_path): Move back to
  24163. cppfiles.c.
  24164. (remove_duplicates): Use cpp_simplify_path.
  24165. * c-incpath.h (simplify_path): Remove.
  24166. * c-lex.c: Don't include c-incpath.h.
  24167. (init_c_lex): Remove simplify_path.
  24168. * cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
  24169. (find_or_create_entry, validate_pch): Revert.
  24170. 2003-03-02 Ashif Harji <asharji@uwaterloo.ca>
  24171. * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
  24172. an external cpp during compilation.
  24173. (option_map): Likewise.
  24174. * objc/lang-specs.h (default_compilers): Similarly.
  24175. * doc/invoke.texi: Document -no-integrated-cpp flag.
  24176. 2003-03-02 Kazu Hirata <kazu@cs.umass.edu>
  24177. * config/h8300/h8300.md (zero_extendqisi2): Change to an
  24178. expander.
  24179. (*zero_extendqisi2_h8300): New.
  24180. (*zero_extendqisi2_h8300hs): New.
  24181. (two splitters): New.
  24182. 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  24183. * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
  24184. 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
  24185. * config/h8300/h8300.md (a peephole2): Remove dead code.
  24186. 2003-03-01 Roger Sayle <roger@eyesopen.com>
  24187. PR c++/9367
  24188. * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
  24189. (BT_FN_INT_CONST_STRING_VALIST_ARG,
  24190. BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
  24191. BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
  24192. BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
  24193. BT_FN_INT_STRING_CONST_STRING_VAR,
  24194. BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
  24195. BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
  24196. * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
  24197. ATTR_NONNULL_3): Also include the nothrow attribute.
  24198. (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
  24199. vsnprintf, vscanf, vsscanf): Don't define attributes here.
  24200. * builtins.def (putchar, puts): Make full C89 built-ins.
  24201. (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
  24202. vsscanf, vsnprintf, vsprintf): New built-ins.
  24203. * c-common.c (c_common_nodes_and_builtins): Handle new macro
  24204. DEF_FUNCTION_TYPE_VAR_3.
  24205. * doc/extend.texi: Document these new built-in functions.
  24206. 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
  24207. * config/h8300/h8300.md (a peephole2): New.
  24208. 2003-03-01 Richard Earnshaw <rearnsha@arm.com>
  24209. * predict.c (estimate_bb_frequencies): Correctly set
  24210. real_values_initialized after initialization.
  24211. 2003-03-01 Neil Booth <neil@daikokuya.co.uk>
  24212. * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
  24213. cppinit.o, cppdefault.o, fix-header): Update.
  24214. * c-incpath.c: New file.
  24215. * c-incpath.h: New file.
  24216. * c-lex.c: Include c-incpath.h.
  24217. (init_c_lex): Register path simplifier.
  24218. * c-opts.c: Include cppdefault.h and c-incpath.h.
  24219. (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
  24220. std_cxx_inc, quote_chain_split, add_prefixed_path): New.
  24221. (COMMAND_LINE_OPTIONS): Add more options from cpplib.
  24222. (missing_arg, c_common_decode_option): Handle them.
  24223. (c_common_post_options): Register include chains.
  24224. (print_help): Update.
  24225. * cppdefault.h (struct default include): Update.
  24226. Move some macros to ...
  24227. * cppdefault.c: ... here.
  24228. (cpp_include_defaults): Add extra field add_sysroot.
  24229. * cppfiles.c (include_file, search_from, find_or_create_entry,
  24230. cpp_included, find_include_file, remap_filename): Update for
  24231. renaming of search_path to cpp_path, and of the chain headers.
  24232. (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
  24233. * cpphash.h (struct search_path): Move to cpplib.h.
  24234. (struct cpp_buffer, struct cpp_reader): Update.
  24235. (_cpp_simplify_pathname): Remove.
  24236. * cppinit.c: Don't include prefix.h and cppdefault.h.
  24237. (INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
  24238. remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
  24239. init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
  24240. no_pth, cpp_handle_options): Remove.
  24241. (struct pending_option): Remove chain members.
  24242. (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
  24243. cpp_handle_option): Update.
  24244. * cpplib.h (struct cpp_path, cpp_set_include_chains): New.
  24245. (struct cpp_options): Remove quote_include, bracket_include,
  24246. include_prefix, include_prefix_len, verbose, ignore_srcdir,
  24247. no_standard_includes, no_standard_cplusplus_includes.
  24248. (struct cpp_callbacks): Add simplify_path.
  24249. (cpp_handle_options): Remove.
  24250. * fix-header.c: Include c-incpath.h.
  24251. (read_scan_file): Update to use c-incpath functionality.
  24252. * doc/passes.texi: Update.
  24253. 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
  24254. * config/h8300/h8300.c (bit_operand): Accept MEM only if it
  24255. satisfies EXTRA_CONSTRAINT 'U'.
  24256. 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
  24257. * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
  24258. register.
  24259. (*tst_extzv_memqi_1_n): Change to a splitter.
  24260. (a peephole2): Update.
  24261. 2003-03-01 Richard Earnshaw <rearnsha@arm.com>
  24262. * predict.c (estimate_bb_frequencies): Initialize the sreal
  24263. constants once per compilation.
  24264. 2003-02-28 Richard Henderson <rth@redhat.com>
  24265. * toplev.c (flag_eliminate_unused_debug_types): Enable by default.
  24266. 2003-02-28 scott snyder <snyder@fnal.gov>
  24267. * flags.h: Add flag_eliminate_unused_debug_types.
  24268. * toplev.c: Add flag_eliminate_unused_debug_types.
  24269. (f_options): Add -feliminate-unused-debug-types.
  24270. * dwarf2out.c (struct file_table): Add emitted member.
  24271. (splice_child_die): Fix the parent pointer for the child being
  24272. spliced.
  24273. (lookup_filename): Maintain file_table.emitted array. Don't
  24274. output .file directive here.
  24275. (maybe_emit_file): (new)
  24276. (init_file_table): Set up file_table.emitted.
  24277. (dwarf2out_source_line): Use maybe_emit_file.
  24278. (dwarf2out_start_source_file): Use maybe_emit_file.
  24279. (dwarf2out_init): Use maybe_emit_file.
  24280. (prune_unused_types_walk_attribs): (new)
  24281. (prune_unused_types_mark): (new)
  24282. (prune_unused_types_walk): (new)
  24283. (prune_unused_types_prune): (new)
  24284. (prune_unused_types): (new)
  24285. (dwarf2out_finish): Call prune_unused_types if
  24286. flag_eliminate_unused_debug_types is set.
  24287. * doc/invoke.texi (Option Summary): Add
  24288. -feliminate-unused-debug-types.
  24289. (Debugging Options): Likewise.
  24290. 2003-02-28 Geoffrey Keating <geoffk@apple.com>
  24291. * doc/invoke.texi: Change .pch to .gch.
  24292. * cppfiles.c (open_file_pch): Likewise.
  24293. * gcc.c (default_compilers): Likewise.
  24294. 2003-02-28 Aldy Hernandez <aldyh@redhat.com>
  24295. * floatlib.c: Remove.
  24296. 2003-02-28 Jason Merrill <jason@redhat.com>
  24297. * stor-layout.c (variable_size): Leave a "minus 1" outside the
  24298. SAVE_EXPR.
  24299. 2003-02-28 David Edelsohn <edelsohn@gnu.org>
  24300. * config/rs6000/power4.md: Add compare bypass.
  24301. 2003-02-28 Jason Thorpe <thorpej@wasabisystems.com>
  24302. * config/netbsd.h: Update copyright years.
  24303. (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
  24304. -pthread is specified on the command line.
  24305. 2003-02-28 Dale Johannesen <dalej@apple.com>
  24306. * loop.c (struct movable): Add insert_temp, shrink savemode.
  24307. (scan_loop): Accept invariants that require copying; mark as
  24308. insert_temp.
  24309. (combine_movables): Don't combine insert_temp movables.
  24310. (move_movables): Insert copies for insert_temp movables.
  24311. Don't record the info based on regno for insert_temp's.
  24312. 2003-02-28 Joel Sherrill <joel@OARcorp.com>
  24313. PR 9638/other
  24314. * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
  24315. this constant defaults to 1.
  24316. 2003-02-28 Bob Wilson <bob.wilson@acm.org>
  24317. * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
  24318. 2003-02-28 Richard Earnshaw <rearnsha@arm.com>
  24319. * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
  24320. ARMv5e processor, not just for XScale. Instructions are predicable.
  24321. (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
  24322. 2003-02-28 Nick Clifton <nickc@redhat.com>
  24323. * config/arm/arm.c (note_invalid_constants): Change parameter type
  24324. from bool to int.
  24325. 2003-02-28 Kazu Hirata <kazu@cs.umass.edu>
  24326. * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
  24327. test of bit 7.
  24328. (*tst_extzv_memqi_1_n): Likewise.
  24329. (a peephole2): New.
  24330. 2003-02-28 Richard Sandiford <rsandifo@redhat.com>
  24331. * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
  24332. #ifndef __mips16.
  24333. 2003-02-28 Jan Hubicka <jh@suse.cz>
  24334. * combine.c (gen_lowpart_for_combine): Update handling of
  24335. subregs_of_mode
  24336. * flow.c (life_analysis, mark_used_regs): Likewise.
  24337. * regclass.c (subregs_of_mode): Turn into single bitmap.
  24338. (cannot_change-mode_set_regs, invalid_mode_change_p): Update
  24339. dealing with subregs_of_mode
  24340. * regs.h (subregs_of_mode): Update prototype.
  24341. 2003-02-28 Josef Zlomek <zlomekj@suse.cz>
  24342. * emit-rtl.c (set_reg_attrs_for_parm): New function.
  24343. * rtl.h (set_reg_attrs_for_parm): New exported function.
  24344. * function.c (assign_parms): Use set_reg_attrs_for_parm instead of
  24345. set_reg_attrs_from_mem.
  24346. 2003-02-27 Roger Sayle <roger@eyesopen.com>
  24347. Zack Weinberg <zack@codesourcery.com>
  24348. * gcc.c (do_spec_1): Treat %U like %u for unique associations.
  24349. 2003-02-27 Kazu Hirata <kazu@cs.umass.edu>
  24350. * reload1.c (sext_for_mode): Remove.
  24351. (reload_cse_move2add): Use trunc_int_for_mode instead of
  24352. sext_for_mode.
  24353. (move2add_note_store): Likewise.
  24354. Reset register information if we see a set in non-integer
  24355. mode.
  24356. 2003-02-27 David Edelsohn <edelsohn@gnu.org>
  24357. * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
  24358. option.
  24359. (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
  24360. * config/rs6000/aix51.h: Same.
  24361. * config/rs6000/aix52.h: Same.
  24362. * config/rs6000/power4.md: Additional VMX bypasses.
  24363. 2003-02-27 Geert Bosch <bosch@gnat.com>
  24364. * toplev.c (print_version): Add indentation for GGC heuristics and
  24365. output after printing version information.
  24366. 2003-02-27 James E Wilson <wilson@tuliptree.org>
  24367. * combine.c (simplify_comparison): Require integral mode when
  24368. permuting SUBREG with AND.
  24369. 2003-02-27 Steve Ellcey <sje@cup.hp.com>
  24370. * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
  24371. 2003-02-27 Nick Clifton <nickc@redhat.com>
  24372. * config/arm/arm.md (extendsfdf2): Add pattern accidentally
  24373. deleted when cirrus instructions were added.
  24374. 2003-02-27 Jason Thorpe <thorpej@wasabisystems.com>
  24375. * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
  24376. POSIX thread support by default.
  24377. 2003-02-27 Roger Sayle <roger@eyesopen.com>
  24378. * config/i386/cygwin.h: Don't include any other files directly.
  24379. * config/i386/mingw32.h: Don't include cygwin.h directly.
  24380. * config.gcc (cygwin, mingw32, uwin): Instead make these files
  24381. explicit in the tm_files variable.
  24382. 2003-02-27 Alan Modra <amodra@bigpond.net.au>
  24383. * config/rs6000/rs6000.md: Add TI constant splitter.
  24384. 2003-02-26 Alexandre Oliva <aoliva@redhat.com>
  24385. * builtins.c (purge_builtin_constant_p): Handle subreg of
  24386. constant_p_rtx too.
  24387. * function.c (assign_stack_local_1): Truncate constant added to
  24388. frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
  24389. 2003-02-26 David Edelsohn <edelsohn@gnu.org>
  24390. * config.gcc: Add power4 to PowerPC with_cpu list.
  24391. 2003-02-26 Jan Hubicka <jh@suse.cz>
  24392. * objc-act.c: (mark_referenced_methods): Fix compilation problem.
  24393. 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  24394. * gcov-dump.c (print_prefix): Fix signedness warning.
  24395. * gcov-io.h (struct counter_section, struct counter_section_data): New.
  24396. (struct function_info): n_arc_counts field removed, n_counter_sections,
  24397. counter_sections fields added.
  24398. (struct gcov_info): arc_counts, n_arc_counts fields removed,
  24399. n_counter_sections, counter_sections fields added.
  24400. * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
  24401. profile sections.
  24402. * profile.h (MAX_COUNTER_SECTIONS): New.
  24403. (struct section_info): New.
  24404. (struct profile_info): count_instrumented_edges,
  24405. count_edges_instrumented_now fields removed, n_sections, section_info
  24406. fields added.
  24407. (find_counters_section): Declare.
  24408. * profile.c (struct function_list): count_edges field removed,
  24409. n_counter_sections, counter_sections fields added.
  24410. (set_purpose, label_for_tag, build_counter_section_fields,
  24411. build_counter_section_value, build_counter_section_data_fields,
  24412. build_counter_section_data_value, build_function_info_fields,
  24413. build_function_info_value, build_gcov_info_fields,
  24414. build_gcov_info_value): New static functions.
  24415. (find_counters_section): New function.
  24416. (instrument_edges, get_exec_counts, compute_branch_probabilities,
  24417. branch_prob, create_profiler): Modified to support multiple profile
  24418. sections.
  24419. 2003-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  24420. * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
  24421. is 8 * STACK_BOUNDARY.
  24422. * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
  24423. 2003-02-26 Michael Matz <matz@suse.de>
  24424. * ra-colorize.c (merge_moves): Fix list handling.
  24425. 2003-02-26 Nick Clifton <nickc@redhat.com>
  24426. * config/arm/arm.c (is_load_address): Rename to...
  24427. (arm_memory_load_p) ... this and make it check for SUBREGs and
  24428. constant loads that will be converted into loads from the
  24429. minipool.
  24430. (is_cirrus_insn): Rename to ...
  24431. (arm_cirrus_insn_p): ... this, for consistency. Replace test
  24432. of CIRRUS_NO with CIRRUS_NOT.
  24433. (cirrus_reorg): Use renamed functions.
  24434. (note_invalid_constants): Change from a void function to bool.
  24435. Add an extra parameter, saying whether the fixups should be
  24436. pushed. Return true if fixups are needed.
  24437. (arm_reorg): Use renamed functions. Use INSN_P. Replace test
  24438. of CIRRUS_NO with CIRRUS_NOT.
  24439. * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
  24440. other floating point co-processors can also affect this.
  24441. * config/arm/arm.md ("type" attribute): Add mav_farith and
  24442. mav_dmult. Replace references to "cirrus_type" attribute with
  24443. "type".
  24444. * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
  24445. ("cirrus_type" attribute): Delete - use "type" instead.
  24446. ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
  24447. 'normal'.
  24448. 2003-02-25 Jan Hubicka <jh@suse.cz>
  24449. * objc-act.c: Include cgraph.h
  24450. (mark_referenced_methods): New function.
  24451. (objc_init): Call it.
  24452. * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
  24453. * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
  24454. mode.
  24455. * optabs.c (expand_fix): Do not widen the input operand.
  24456. * expr.c (emit_group_store): Fix crash when converting single
  24457. register into complex register.
  24458. * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
  24459. * alias.c: Include timevar.h
  24460. (init_alias_analysis): Set timevar
  24461. * jump.c: Include timevar.h
  24462. (rebuild_jump_labels): Set timevar
  24463. * regcalss.c: Include timevar.h
  24464. (reg_scan): Set timevar
  24465. * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
  24466. 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  24467. * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
  24468. * Makefile.in (loop-unroll.o): New.
  24469. * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
  24470. (unroll_and_peel_loops): Declare.
  24471. * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
  24472. flag_old_unroll_loops.
  24473. * loop.c (loop_invariant_p): Ditto.
  24474. * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
  24475. flag_old_unroll_all_loops.
  24476. * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
  24477. (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
  24478. * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
  24479. (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
  24480. PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
  24481. PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
  24482. PARAM_MAX_ONCE_PEELED_INSNS): New.
  24483. * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
  24484. (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
  24485. instead of old one.
  24486. (flag_peel_loops): New.
  24487. (lang_independent_options): The new flags added.
  24488. (rest_of_compilation): Call new unroller.
  24489. (process_options): Setup flags for coexistence of old and new unroller.
  24490. * doc/invoke.texi: Document new options.
  24491. * doc/passes.texi: Document new unroller pass.
  24492. 2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com>
  24493. * fixinc/fixincl.x: Regenerate
  24494. 2003-02-26 Josef Zlomek <zlomekj@suse.cz>
  24495. * function.c (assign_parms): Set reg_attrs for parameters passed in
  24496. registers.
  24497. 2003-02-26 Alan Modra <amodra@bigpond.net.au>
  24498. PR target/9681
  24499. * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
  24500. 2003-02-25 David Edelsohn <edelsohn@gnu.org>
  24501. * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
  24502. pseudo-op.
  24503. 2003-02-25 Roger Sayle <roger@eyesopen.com>
  24504. * combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P.
  24505. * cse.c (invalidate_skipped_set): Likewise.
  24506. * integrate.c (subst_constants): Likewise.
  24507. * jump.c (reversed_comparison_code_parts): Likewise.
  24508. * loop.c (canonicalize_condition): Likewise.
  24509. * simplify-rtx.c (simplify_relational_operation): Likewise.
  24510. 2003-02-25 Roger Sayle <roger@eyesopen.com>
  24511. * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
  24512. (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use
  24513. the appropriate macro to define built-in function.
  24514. (fmod,fmodf,fmodl): New built-in functions.
  24515. * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
  24516. 2003-02-25 Richard Henderson <rth@redhat.com>
  24517. * config/i386/i386.c (function_arg): Pass variable sized
  24518. structures correctly on the stack.
  24519. 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
  24520. * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
  24521. does not reduce the cost of SET.
  24522. 2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  24523. PR target/9732
  24524. * config/rs6000/rs6000.c (first_reg_to_save): Handle
  24525. PIC_OFFSET_TABLE_REGNUM for -fPIC too.
  24526. (rs6000_emit_prologue): Likewise.
  24527. (rs6000_emit_epilogue): Likewise.
  24528. * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
  24529. PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
  24530. 2003-02-25 Richard Henderson <rth@redhat.com>
  24531. * real.c (real_to_integer2): Force overflow result only for
  24532. unsigned overflow.
  24533. 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
  24534. * gcse.c (cprop_jump): Revert the 2003-02-23 change.
  24535. 2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
  24536. Richard Henderson <rth@redhat.com>
  24537. * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
  24538. there is no similar load.
  24539. 2003-02-25 Vladimir Makarov <vmakarov@redhat.com>
  24540. Richard Henderson <rth@redhat.com>
  24541. * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
  24542. sched-rgn.c.
  24543. (add_forward_dependence): New function prototype.
  24544. * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
  24545. sched-init.h.
  24546. (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
  24547. them to haifa-sched.c.
  24548. * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
  24549. haifa_classify_insn): Move them from sched-rgn.c.
  24550. * sched-deps.c (add_dependence): Return flag of creating a new
  24551. entry.
  24552. (add_forward_dependence): New function.
  24553. (compute_forward_dependences): Use the function.
  24554. * sched-ebb.c (earliest_block_with_similiar_load): New function.
  24555. (add_deps_for_risky_insns): New function.
  24556. (schedule_ebb): Call the function.
  24557. 2003-02-20 Aldy Hernandez <aldyh@redhat.com>
  24558. * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
  24559. TARGET_VECTOR_OPAQUE_P. Document accordingly.
  24560. * testsuite/gcc.dg/20030218-1.c: Check that initialization of
  24561. opaque types fail.
  24562. * c-typeck.c (comptypes): Change call to vector_types_compatible
  24563. to vector_opaque_p.
  24564. (convert_for_assignment): Call vector_opaque_p instead of
  24565. vector_types_compatible.
  24566. (really_start_incremental_init): Disallow initialization of opaque
  24567. types.
  24568. * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
  24569. Define TARGET_VECTOR_OPAQUE_P.
  24570. (TARGET_INITIALIZER): Same.
  24571. * target.h (struct gcc_target): Remove vector_types_compatible.
  24572. Add vector_opaque_p.
  24573. * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
  24574. Remove.
  24575. (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
  24576. a vector type. Change return type to bool.
  24577. (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
  24578. (TARGET_VECTOR_OPAQUE_P): Define.
  24579. * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
  24580. target hook.
  24581. Include target.h.
  24582. (cp_parser_init_declarator): Fix typo in function comments.
  24583. 2003-02-25 Jan Hubicka <jh@suse.cz>
  24584. * Makefile.in (lcm.o): Add dependency on function.h
  24585. * lcm.c (function.h): Include.
  24586. * i386.c (machine_function, ix86_stack_locals,
  24587. * ix86_save_varrargs_registers) : Move to
  24588. ...
  24589. * i386.h (machine_function, ix86_stack_locals,
  24590. ix86_save_varrargs_registers): ... here; add optimize_mode_switching
  24591. (ix86_optimize_mode_switching): New.
  24592. * i386.md (fix patterns): Set ix86_optimize_mode_switching
  24593. 2003-02-25 Nick Clifton <nickc@redhat.com>
  24594. * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name
  24595. of fourth arg is 'fndecl' not 'indirect'. Update comment
  24596. describing the function's parameters.
  24597. 2003-02-24 Jan Hubicka <jh@suse.cz>
  24598. * combine.c (simplify_shift_const): Fix previous patch.
  24599. 2003-02-24 Jeff Law <law@redhat.com>
  24600. * i386.md (testdi_1_rex64): Discourage reload from using the %eax
  24601. alternative.
  24602. (testsi_1, testhi_1, testqi_1): Likewise.
  24603. 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  24604. * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
  24605. __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
  24606. * doc/extend.texi (Tru64 Pragmas): Reflect this.
  24607. * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
  24608. extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
  24609. * fixinc/fixincl.x: Regenerate.
  24610. * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
  24611. testcase.
  24612. Fixes PR c/5059, c/6126, other/9671.
  24613. 2003-02-24 Roger Sayle <roger@eyesopen.com>
  24614. * gcc.c (do_spec_1) ['{']: Handle pending argument upon return
  24615. from handle_braces in "%{...}".
  24616. 2003-02-24 Kaz Kojima <kkojima@gcc.gnu.org>
  24617. * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
  24618. (prepare_move_operands): Handle TLS operands.
  24619. (tls_symbolic_operand): New.
  24620. (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
  24621. (legitimize_pic_address): Do nothing for the TLS symbol.
  24622. (sh_encode_section_info): Handle TLS case.
  24623. (sh_strip_name_encoding): Drop TLS encoding.
  24624. * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
  24625. * config/sh/sh.h (SH_TLS_ENCODING): Define.
  24626. (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
  24627. (ASM_OUTPUT_LABELREF): Drop TLS encoding.
  24628. (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
  24629. * config/sh/sh.md: Define TLS UNSPEC constants.
  24630. (type): Add tls_load.
  24631. ("tls_global_dynamic", "tls_local_dynamic"): New insns.
  24632. ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
  24633. ("tls_initial_exec"): New insn.
  24634. ("sym2TPOFF", "symTPOFF2reg"): New expanders.
  24635. ("load_gbr"): New insn.
  24636. * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
  24637. * configure: Regenerate.
  24638. 2003-02-24 Alan Modra <amodra@bigpond.net.au>
  24639. PR 9297, PR 9722
  24640. * calls.c (store_one_arg): Revert 1999-02-16 change. Revert
  24641. 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr.
  24642. * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
  24643. (enum block_op_methods): Reorder for better store_expr optimization.
  24644. * expr.c (store_expr): Test bit 1 of "want_value" for call param
  24645. stores, test bit 0 for original want_value meaning. Pass
  24646. BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust
  24647. recursive calls, and calls to expand_param.
  24648. (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse
  24649. expected, set target to 0 rather than to subtarget. Formatting.
  24650. 2003-02-23 Kazu Hirata <kazu@cs.umass.edu>
  24651. * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
  24652. 2003-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  24653. * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
  24654. new default behavior.
  24655. * ggc-common.c: Include sys/resource.h.
  24656. (ggc_rlimit_bound): New function.
  24657. (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
  24658. defaults to account for rlimits.
  24659. 2003-02-22 Richard Henderson <rth@redhat.com>
  24660. * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
  24661. 2003-02-22 Kelley Cook <kelley@dwhoops.info>
  24662. * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
  24663. (ix86_tune_string): Rename from ix86_cpu_string.
  24664. 2003-02-22 Kelley Cook <kelleycook@comcast.net>
  24665. * config/i386/i386.c: Replace "mcpu" with "mtune".
  24666. * config/i386/i386.h (TARGET_OPTIONS): Likewise.
  24667. (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
  24668. * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
  24669. with "mtune". Note that "mcpu" is a deprecated synonym for "mtune".
  24670. 2003-02-23 Andreas Schwab <schwab@suse.de>
  24671. * config.gcc: Delete references to m68k/t-linux and
  24672. m68k/t-linux-aout.
  24673. * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
  24674. 2003-02-22 Jan Hubicka <jh@suse.cz>
  24675. * toplev.c (rest_of_compilation): Apply fotgotten hunk
  24676. of track scheduling patch.
  24677. 2003-02-22 Jan Hubicka <jh@suse.cz>
  24678. * config/linux.h (TARGET_HAS_F_SETLKW): Define.
  24679. * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
  24680. 2003-02-22 Jan Hubicka <jh@suse.cz>
  24681. * c-decl.c (c_expand_body_1): Fix.
  24682. 2003-02-22 Jan Hubicka <jh@suse.cz>
  24683. * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
  24684. * cfgcleanup.c (try_forward_edges): Don't check loop structures
  24685. when not optimizing.
  24686. (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
  24687. when not expensive.
  24688. * toplev.c (rest_of_compilation): Duplicate loop headers only when
  24689. optimizing; Delete trivially dead insns early; fix optimize check.
  24690. * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
  24691. dependency on cgraph.h
  24692. * c-decl.c: Include cgraph.h
  24693. (finish_function): Update call of tree_inlinable_function_p.
  24694. * c-objc-common.c: Include cgraph.h
  24695. * cgraph.h: New file.
  24696. * cgraphunit.c: New file.
  24697. * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
  24698. (cgraph_nodes, cgraph_n_nodes): Globalize.
  24699. (cgraph_finalize_function, cgraph_finalize_compilation_unit
  24700. cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
  24701. Move into cgraphunit.c
  24702. * tree-inline.c: Include cgraph.h
  24703. * tree-inline.c: Include cgraph.h
  24704. 2003-02-22 Josef Zlomek <zlomekj@suse.cz>
  24705. * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
  24706. for copying a register.
  24707. 2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
  24708. PR other/3782
  24709. * toplev.c (process_options): If flag_detailed_statistics is set,
  24710. then set time_report as well.
  24711. PR c/8828
  24712. * jump.c (never_reached_warning): Don't fall through BARRRIER
  24713. insns. Update comments to reflect what the function really does.
  24714. 2003-02-21 Roger Sayle <roger@eyesopen.com>
  24715. * fold-const.c (omit_one_operand): No longer static.
  24716. * tree.h (omit_one_operand): Prototype here.
  24717. (div_and_round_double): Keep fold-const.c prototypes together.
  24718. * builtins.c (builtin_mathfn_code): Handle binary built-in
  24719. funtions, such as "pow" and "atan2".
  24720. (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
  24721. Simplify optimizations using "type" the builtin's return type.
  24722. 2003-02-22 Hans-Peter Nilsson <hp@axis.com>
  24723. * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
  24724. Fix functionalization typo.
  24725. * regmove.c (optimize_reg_copy_1): Do not replace a hard register
  24726. in an asm.
  24727. 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  24728. * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
  24729. * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
  24730. documentation.
  24731. * ggc-common.c: Include params.h
  24732. (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
  24733. init_ggc_heuristics): New functions.
  24734. * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
  24735. init_ggc_heuristics): Prototype.
  24736. * toplev.c (print_version): Output GGC heuristics.
  24737. (parse_options_and_default_flags): Call init_ggc_heuristics.
  24738. 2003-02-22 Jan Hubicka <jh@suse.cz>
  24739. * i386.c (def_builtin): Special case 64bit builtins.
  24740. (MASK_SSE164, MASK_SSE264): New constants.
  24741. (builtin_description): Add 64bit builtins.
  24742. (ix86_init_mmx_sse_builtins): Likewise.
  24743. * i386.h (enum ix86_builtins): Likewise.
  24744. * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
  24745. sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
  24746. (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
  24747. * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
  24748. * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
  24749. _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
  24750. _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
  24751. 2003-02-22 Jan Hubicka <jh@suse.cz>
  24752. * i386.c (builtin_description): Add __builtin_ia32_paddq and
  24753. __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
  24754. and __builtin_ia32_psubq128.
  24755. * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
  24756. * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
  24757. (mmx_adddi3, mmx_subdi3): New.
  24758. * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
  24759. * xmmintrin.h (_mm_movepi64_pi64): New.
  24760. (_mm_add_epi64, _mm_sub_epi64): fix.
  24761. (_mm_mul_pu16): Rename to...
  24762. (_mm_mul_su32): ... this one.
  24763. * builtins.c (expand_builtin_expect): Do not predict
  24764. flag_guess_branch_prob is not set.
  24765. * c-semantics.c (expand_stmt): Likewise.
  24766. * predict.c (predict_insn): Likewise.
  24767. * stmt.c (expand_continue_loop): Likewise.
  24768. * toplev.c (rest_of_compilation): Do not call
  24769. note_prediction_to_br_prob and note_prediction_to_br_prob
  24770. when not optimizing.
  24771. 2003-02-21 Jan Hubicka <jh@suse.cz>
  24772. * cfgrtl.c (commit_edge_insertions): Call
  24773. find_many_sub_basic_block only when some code has been emitted.
  24774. (commit_edge_insertions_watch_calls): Bring into sync with
  24775. commit_edge_insertions
  24776. 2003-02-21 J"orn Rennecke <joern.rennecke@superh.com>
  24777. * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
  24778. * sh.md (binary_sf_op): Use extra constant operand instead of
  24779. negating constant operand 4.
  24780. * sh.c (sh_expand_binop_v2sf): Supply it.
  24781. 2003-02-21 Zack Weinberg <zack@codesourcery.com>
  24782. * cpphash.h (struct lexer_state): Add directive_wants_padding.
  24783. * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
  24784. for directives of type INCL.
  24785. (glue_header_name, parse_include): Use get_token_no_padding.
  24786. * cppmacro.c (replace_args): If directive_wants_padding,
  24787. provide padding tokens.
  24788. 2003-02-21 Kazu Hirata <kazu@cs.umass.edu>
  24789. * config/h8300/h8300.md (a peephole2): New.
  24790. 2003-02-21 Jan Hubicka <jh@suse.cz>
  24791. * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
  24792. (commit_edge_insertions): Call find_many_sub_basic_blocks
  24793. * reg-stack.c (convert_regs): Cleax aux for blocks.
  24794. 2003-02-21 Jan Hubicka <jh@suse.cz>
  24795. * toplev.c (parse_options_and_default_flags): Undo accidental commit.
  24796. 2003-02-21 Glen Nakamura <glen@imodulo.com>
  24797. PR optimization/8613
  24798. * builtins.c (expand_builtin): Emit postincrements before expanding
  24799. builtin functions.
  24800. 2003-02-21 Ben Elliston <bje@redhat.com>
  24801. PR other/5634
  24802. * doc/install.texi (Configuration): Explain using $HOME instead of
  24803. the ~ metacharacter when referring to home directories.
  24804. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  24805. * configure.in (TARGET_SYSTEM_ROOT): Set default to
  24806. ${exec_prefix}/${target_alias}/sys-root. Match explicit
  24807. '${exec_prefix}' (in addition to the expansion thereof) as
  24808. relocatable.
  24809. * configure: Rebuilt.
  24810. 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
  24811. * config/h8300/h8300.md (addhi3_incdec): Change the name to
  24812. *addhi3_incdec.
  24813. (addsi3_incdec): Change the name to *addsi3_incdec.
  24814. 2003-02-20 Roger Sayle <roger@eyesopen.com>
  24815. * explow.c (force_reg): Avoid useless REG_EQUAL notes.
  24816. 2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
  24817. PR fortran/9038
  24818. * c-opts.c (sanitize_cpp_opts): Add Fortran front end
  24819. options to be ignored.
  24820. (c_common_decode_option): Ignore them when preprocessing.
  24821. 2003-02-20 Jan Hubicka <jh@suse.cz>
  24822. * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
  24823. global variables.
  24824. (lang_independent_options): Add -fsched2-use-superblocks
  24825. -fsced2-use-traces.
  24826. (rest_of_compilation): Deal with it.
  24827. * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
  24828. * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
  24829. Declare.
  24830. * rtl.h (reg_to_stack): Update prototype.
  24831. * reg-stack.c (reg_to_stack): Return when something has changed;
  24832. update liveness when executing after superblock scheduling.
  24833. * combine.c (simplify_shift_const): Simplify few special cases
  24834. into constants.
  24835. 2003-02-20 David Edelsohn <edelsohn@gnu.org>
  24836. * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
  24837. (add.,subf.,neg.): Change attribute to fast_compare.
  24838. All DFA descriptions updated.
  24839. 2003-02-20 Nathan Sidwell <nathan@codesourcery.com>
  24840. Change base class access representation.
  24841. * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
  24842. TREE_VIA_PRIVATE): Remove.
  24843. (BINFO_BASEACCESSES): New binfo elt.
  24844. (BINFO_BASEACCESS): New accessor.
  24845. (BINFO_ELTS): Increase.
  24846. (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
  24847. (access_public_node, access_protected_node,
  24848. access_private_node): New global nodes.
  24849. * tree.c (build_common_tree_nodes_2): Initialize access nodes.
  24850. * dbxout.c (dbxout_type): Adjust.
  24851. * dwarf2out.c (gen_inheritance_die): Add access parameter.
  24852. (gen_member_die): Adjust.
  24853. * dwarfout.c (output_inheritance_die): ARG is array of two trees.
  24854. (output_type): Adjust.
  24855. * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
  24856. Change base class access representation. Share virtual base
  24857. binfos.
  24858. * cp/call.c (build_special_member_call): Remove binfo_for_vbase
  24859. call.
  24860. * cp/class.c (build_base_path): Likewise.
  24861. (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
  24862. (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
  24863. (make_new_vtable): Adjust.
  24864. (force_canonical_binfo_r): Delete.
  24865. (force_canonical_binfo): Delete.
  24866. (mark_primary_virtual_base): Delete.
  24867. (dfs_unshared_virtual_bases): Delete.
  24868. (mark_primary_bases): Adjust.
  24869. (maybe_warn_about_overly_private_class): Adjust.
  24870. (dfs_base_derived_from): Delete.
  24871. (base_derived_from): Follow the inheritance chain.
  24872. (struct find_final_overrider_data): Add vpath member.
  24873. (dfs_find_final_overrider): Adjust.
  24874. (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
  24875. (find_final_overrider): Adjust.
  24876. (update_vtable_entry_for_fn): Adjust.
  24877. (modify_all_vtables): Adjust.
  24878. (walk_subobject_offsets): Adjust.
  24879. (layout_nonempty_base_or_field): Adjust.
  24880. (layout_empty_base): Remove last parameter. Adjust.
  24881. (build_base_field): Adjust.
  24882. (build_base_fields): Adjust.
  24883. (propagate_binfo_offsets): Remove last parameter. Adjust.
  24884. (dfs_set_offset_for_unshared_vbases): Delete.
  24885. (layout_virtual_bases): Adjust.
  24886. (finish_struct_1): Adjust.
  24887. (init_class_processing): Don't init access nodes.
  24888. (dfs_get_primary_binfo): Delete.
  24889. (get_primary_binfo): Adjust.
  24890. (dump_class_hierarchy_r): Remove most derived arg, add IGO
  24891. parameter. Adjust.
  24892. (dump_class_hierarchy): Adjust.
  24893. (finish_vtbls): Adjust.
  24894. (get_original_base): Delete.
  24895. (build_vtt_inits): Adjust.
  24896. (dfs_build_secondary_vptr_vtt_inits): Adjust.
  24897. (dfs_ctor_vtable_bases_queue_p): Adjust.
  24898. (build_ctor_vtbl_group): Adjust.
  24899. (dfs_accumulate_vtbl_inits): Adjust.
  24900. (build_vtbl_initializer): Adjust.
  24901. (build_vbase_offset_vtbl_entries): Adjust.
  24902. (add_vcall_offset_vtbl_entries_1): Adjust.
  24903. * cp/cp-tree.h (CPTI_ACCESS_*): Remove.
  24904. (access_*_node): Remove.
  24905. (CANONICAL_BINFO): Delete.
  24906. (BINFO_UNSHARED_MARKED): Remove.
  24907. (BINFO_MARKED): Set LANG_FLAG_0 directly.
  24908. (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
  24909. (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
  24910. (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
  24911. Delete.
  24912. (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
  24913. (SET_BINFO_NEW_VTABLE_MARKED): Adjust.
  24914. (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
  24915. Delete.
  24916. (BINFO_DEPENDENT_BASE_P): New.
  24917. (dfs_walk, dfs_walk_real): Queue function takes derived binfo and
  24918. index.
  24919. (markedp, unmarkedp): Adjust.
  24920. (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
  24921. dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
  24922. find_vbase_instance, binfo_for_vbase): Delete.
  24923. (copied_binfo, original_binfo): Declare.
  24924. (finish_base_specifier): Add virtual_p arg.
  24925. (unshare_base_binfos): Delete.
  24926. (copy_base_binfos): Declare.
  24927. (reverse_path): Delete.
  24928. * cp/decl.c (xref_basetypes): Access and virtuality passed
  24929. differently. Don't copy direct base binfos here. Call
  24930. copy_base_binfos.
  24931. * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
  24932. (initialize_vtbl_ptrs): Adjust.
  24933. (expand_member_init): Adjust.
  24934. * cp/parser.c (cp_parser_base_specifier): Adjust.
  24935. * cp/pt.c (instantiate_class_template): Adjust.
  24936. (get_template_base_recursive): Adjust.
  24937. * cp/rtti.c (get_pseudo_ti_init): Adjust.
  24938. (get_pseudo_ti_desc): Adjust.
  24939. * cp/tree.c (unshare_base_binfos): Rename to ...
  24940. (copy_base_binfos): ... here, reimplement.
  24941. (make_binfo): Set BINFO_DEPENDENT_BASE_P.
  24942. (reverse_path): Remove.
  24943. * cp/typeck.c (get_delta_difference): Adjust error messages.
  24944. * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
  24945. * cp/search.c (lookup_base_r): Adjust.
  24946. (dynamic_cast_base_recurse): Adjust.
  24947. (canonical_binfo): Remove.
  24948. (dfs_canonical_queue): Remove.
  24949. (dfs_assert_unmarked_p): Remove.
  24950. (assert_canonical_unmarked): Remove.
  24951. (shared_marked_p, shared_unmarked_p): Remove.
  24952. (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
  24953. (dfs_access_in_type): Adjust.
  24954. (access_in_type): Adjust.
  24955. (dfs_accessible_queue_p): Adjust.
  24956. (dfs_accessible_p): Adjust.
  24957. (is_subobject_of_p_1, is_subobject_of_p): Remove.
  24958. (struct lookup_field_info): Remove from_dep_base_p field.
  24959. (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
  24960. (lookup_field_r): Remove dependent base code.
  24961. (lookup_member): Likewise.
  24962. (dfs_walk, dfs_walk_real): Add access arg to queue fn.
  24963. (dfs_unmarked_real_bases_queue_p): Remove.
  24964. (dfs_marked_real_bases_queue_p): Remove.
  24965. (dfs_skip_vbases): Remove.
  24966. (dfs_get_pure_virtuals): Adjust.
  24967. (markedp, unmarkedp): Adjust.
  24968. (marked_vtable_pathp, unmarked_vtable_pathp): Remove.
  24969. (marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
  24970. (dfs_unmark): Adjust.
  24971. (dfs_get_vbase_types):Remove.
  24972. (dfs_build_inheritance_graph_order): Remove.
  24973. (get_vbase_types): Remove
  24974. (dfs_find_vbase_instance): Remove.
  24975. (find_vbase_instance): Remove.
  24976. (dfs_debug_unmarkedp): Adjust.
  24977. (dependent_base_p): Remove.
  24978. (dfs_push_type_decls): Adjust.
  24979. (dfs_push_decls): Adjust.
  24980. (dfs_no_overlap_yet): Adjust.
  24981. (copied_binfo): New function.
  24982. (original_binfo): New function.
  24983. (binfo_for_vbase): Remove.
  24984. Change base class access representation.
  24985. * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
  24986. (add_interface_do): Likewise.
  24987. 2003-02-20 David Edelsohn <edelsohn@gnu.org>
  24988. * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
  24989. * config/rs6000/power4.md (power4-store,power4-vecstore): New
  24990. insn reservations.
  24991. (power4-fpstore): Compact.
  24992. 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
  24993. * config/h8300/h8300.md (*iorsi3_w): New.
  24994. 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
  24995. * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
  24996. * rtl.c (reg_note_name): Likewise.
  24997. * rtl.h (enum reg_note): Likewise.
  24998. * doc/invoke.texi: Likewise.
  24999. * doc/rtl.texi: Likewise.
  25000. 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
  25001. * bb-reorder.c (find_traces_1_round): Fix comment typo.
  25002. 2003-02-19 Roger Sayle <roger@eyesopen.com>
  25003. * fold-const.c (fold_real_zero_addition_p): Don't fold a zero
  25004. addition in the presence of signaling NaNs.
  25005. 2003-02-19 Krister Walfridsson <cato@df.lth.se>
  25006. * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
  25007. 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
  25008. * config/h8300/h8300.c (output_logical_op): Optimize or.l when
  25009. ORing with 0xffff??00 with the highest bit of the ?? part set.
  25010. (compute_logical_op_length): Update.
  25011. (compute_logical_op_cc): Likewise.
  25012. 2003-02-19 Josef Zlomek <zlomekj@suse.cz>
  25013. * bb-reorder.c (find_traces_1_round): Fixed condition for small
  25014. destination block with multiple predecessors.
  25015. (connect_traces): Check whether the block is a start of trace.
  25016. 2003-02-19 Jan Hubicka <jh@suse.cz>
  25017. * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
  25018. * function.c (assign_params): Likewise.
  25019. * arm-protos.h (arm_init_cumulative_args): Update prototype.
  25020. * arm.c (arm_init_cumulative_args): Update function.
  25021. * arm.h (INIT_CUMULATIVE_ARGS): Update.
  25022. * avr-protos.h (init_cumulative_args): Update prototype.
  25023. * avr.c (init_cumulative_args): Update function.
  25024. * avr.h (INIT_CUMULATIVE_ARGS): Update.
  25025. * d30v-protos.h (d30v_init_cumulative_args): Update prototype.
  25026. * d30v.c (d30v_init_cumulative_args): Update function.
  25027. * d30v.h (INIT_CUMULATIVE_ARGS): Update.
  25028. * frv-protos.h (frv_init_cumulative_args): Update prototype.
  25029. * frv.c (frv_init_cumulative_args): Update function.
  25030. * frv.h (INIT_CUMULATIVE_ARGS): Update.
  25031. * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
  25032. * pa.h (INIT_CUMULATIVE_ARGS): Update.
  25033. * sparc-protos.h (init_cumulative_args): Update prototype.
  25034. * sparc.c (init_cumulative_args): Update function.
  25035. * sparc.h (INIT_CUMULATIVE_ARGS): Update.
  25036. * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
  25037. 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
  25038. * config/h8300/h8300.md (*iorsi3_two_qi_sext): New.
  25039. (*ashiftsi_sextqi_7): Likewise.
  25040. 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  25041. * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
  25042. ISO C99 and C++.
  25043. * fixinc/inclhack.def (irix___restrict): Don't change __restrict
  25044. for C++ on IRIX 6.5.1[89].
  25045. * fixinc/tests/base/internal/sgimacros.h: New file.
  25046. * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
  25047. * fixinc/tests/base/internal/wchar_core.h: New file.
  25048. * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
  25049. socklen_t definition.
  25050. * fixinc/fixincl.x: Regenerate.
  25051. * fixinc/tests/base/sys/socket.h: New file.
  25052. Fixes PR libgcj/9652.
  25053. 2003-02-19 Jan Hubicka <jh@suse.cz>
  25054. * i386.md (movsfcc_1, movdfcc_1): Fix constrains.
  25055. 2003-02-19 David Edelsohn <edelsohn@gnu.org>
  25056. * config/rs6000/rs6000.c (rs6000_override_options): Initialize
  25057. align_jumps_max_skip and align_loops_max_skip.
  25058. 2003-02-19 Thierry Moreau <thierry.moreau@connotech.com>
  25059. * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not
  25060. test size if named section.
  25061. 2003-02-19 Daniel Jacobowitz <drow@mvista.com>
  25062. * expr.c (expand_expr): Use gen_int_mode for the argument
  25063. to gen_rtx_MULT.
  25064. 2003-02-19 Jan Hubicka <jh@suse.cz>
  25065. * i386.md (cosxf2): Fix conditional.
  25066. 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
  25067. * config/h8300/h8300.md (extendqisi2): Change to an expander.
  25068. (*extendqisi2_h8300): New.
  25069. (*extendqisi2_h8300hs): Likewise.
  25070. 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
  25071. * config/h8300/h8300-protos.h: Update the prototype for
  25072. split_adds_subs. Remove the prototypes for
  25073. const_int_le_2_operand and const_int_le_6_operand.
  25074. * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec.
  25075. (const_int_le_2_operand): Remove.
  25076. (const_int_le_6_operand): Likewise.
  25077. * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries
  25078. for const_int_le_2_operand and const_int_le_6_operand.
  25079. * config/h8300/h8300.md: Update all uses of split_adds_subs.
  25080. (a peephole2): New.
  25081. 2003-02-18 Jan Hubicka <jh@suse.cz>
  25082. * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill.
  25083. (cgraph_expand_function): Rewrite.
  25084. 2003-02-18 Matt Austern <austern@apple.com>
  25085. * toplev.c, langhooks.c, langhooks-def.h: Move
  25086. write_global_declarations from toplev.c to langhooks.c.
  25087. 2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
  25088. * config/h8300/h8300.c (general_operand_src): Always check
  25089. MODE.
  25090. (general_operand_dst): Likewise.
  25091. 2003-02-18 Roger Sayle <roger@eyesopen.com>
  25092. * convert.c (convert_to_real): Also optimize (float)log(x) into
  25093. logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
  25094. 2003-02-18 Kaz Kojima <kkojima@gcc.gnu.org>
  25095. * config/sh/sh.c (unspec_caller_rtx_p): New.
  25096. (sh_cannot_copy_insn_p): New.
  25097. (TARGET_CANNOT_COPY_INSN_P): New.
  25098. 2003-02-18 Richard Henderson <rth@redhat.com>
  25099. * c-common.c (handle_used_attribute): Accept static data too.
  25100. 2003-02-18 Nick Clifton <nickc@redhat.com>
  25101. Aldy Hernandez <aldyh@redhat.com>
  25102. * testsuite/gcc.dg/20030218-1.c: New.
  25103. * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
  25104. * target-def.h (TARGET_INITIALIZER): Add
  25105. TARGET_VECTOR_TYPES_COMPATIBLE.
  25106. (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
  25107. * target.h (struct gcc_target): Add field vector_types_compatible.
  25108. * c-typeck.c (comptypes): Take into account
  25109. TARGET_VECTOR_TYPES_COMPATIBLE.
  25110. (convert_for_assignment): Same.
  25111. * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
  25112. (rs6000_spe_vector_types_compatible): New.
  25113. (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
  25114. 2003-02-19 Andreas Schwab <schwab@suse.de>
  25115. * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
  25116. * toplev.c: Include langhooks-def.h.
  25117. 2003-02-18 Chris Demetriou <cgd@broadcom.com>
  25118. * config/mips/mips.h (enum processor_type): Sort entries
  25119. alphabetically.
  25120. * config/mips/mips.md (define_attr cpu): Sync with processor_type
  25121. enum values, including adding entries that were missing.
  25122. 2003-02-18 J"orn Rennecke <joern.rennecke@superh.com>
  25123. * sh.c (calc_live_regs): Also check GET_CODE when checking if
  25124. initial value for PR_REG is still the PR_REG register.
  25125. 2003-02-18 Jim Wilson <wilson@redhat.com>
  25126. * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
  25127. instruction in output template.
  25128. (bsp_value): Change output template from string to C code, add %,
  25129. before actual instruction.
  25130. (flushrs): Mark as not predicable.
  25131. 2003-02-18 Krister Walfridsson <cato@df.lth.se>
  25132. * inclhack.def (netbsd_bogus_semicolon): New fix.
  25133. * fixincl.x: Rebuilt.
  25134. * tests/base/ctype.h: Update.
  25135. 2003-02-18 Roger Sayle <roger@eyesopen.com>
  25136. * fold-const.c (negate_expr_p): New function to determine whether
  25137. an expression can be negated cheaply.
  25138. (fold) [MINUS_EXPR]: Use it to determine whether to transform
  25139. -A - B into -B - A for floating point types.
  25140. 2003-02-18 Roger Sayle <roger@eyesopen.com>
  25141. * sbitmap.c (sbitmap_resize): New function.
  25142. * sbitmap.h (sbitmap_resize): Prototype here.
  25143. * recog.c (split_all_insns): Use sbitmap_resize.
  25144. 2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
  25145. * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
  25146. insn length.
  25147. (extendqisi2): Likewise.
  25148. (*extendhisi2_h8300): Likewise.
  25149. 2003-02-18 Matt Austern <austern@apple.com>
  25150. * langhooks.h, langhooks-def.h: introduce new langhook,
  25151. final_write_globals, with write_global_declarations as default.
  25152. * toplev.c: Move invocation of wrapup_global_declarations from
  25153. compile_file to new function, write_global_declarations. Change
  25154. compile_file to use final_write_globals hook. Change
  25155. wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
  25156. conditional.
  25157. 2003-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  25158. * pa.md: Correct and enhance comment.
  25159. 2003-02-18 Geoffrey Keating <geoffk@apple.com>
  25160. * gcc.c (validate_switches): Don't scan past closing '}'.
  25161. 2003-02-18 Ben Elliston <bje@redhat.com>
  25162. PR c++/1607
  25163. * doc/extend.texi (Function Attributes): Document the effect of
  25164. the C++ "this" parameter on the counting of arguments for the
  25165. "format" and "format_arg" attributes.
  25166. 2003-02-17 Aldy Hernandez <aldyh@redhat.com>
  25167. * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
  25168. (__ev_stdw): Same.
  25169. (__ev_stdh): Same.
  25170. 2003-02-17 Jan Hubicka <jh@suse.cz>
  25171. * recog.c (split_all_insns): Fix memory overflow.
  25172. 2003-02-17 Kazu Hirata <kazu@cs.umass.edu>
  25173. * config/h8300/h8300.md (cmpqi): Remove mode from compare.
  25174. (cmphi): Likewise.
  25175. (*cmphi_h8300): Likewise.
  25176. (*cmphi_h8300hs): Likewise.
  25177. (cmpsi): Likewise.
  25178. (7 peephole2): Likewise.
  25179. 2003-02-16 Jan Hubicka <jh@suse.cz>
  25180. * c-typeck.c (build_c_cast): Fold constant variables into
  25181. initial values.
  25182. 2003-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  25183. * doc/install.texi (Specific): Fix link for m68k-att-sysv.
  25184. (Binaries): Ditto for Sinix/Reliant Unix.
  25185. 2003-02-16 Richard Earnshaw <rearnsha@arm.com>
  25186. * arm.c (arm_reload_in_hi): Ensure that the scratch register does
  25187. not overlap the final result register.
  25188. 2003-02-16 Arend Bayer <arend.bayer@web.de>
  25189. Richard Henderson <rth@redhat.com>
  25190. PR c/8068
  25191. * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
  25192. rearrange mult arguments for less recursion.
  25193. (extract_muldiv): New. Prevent runaway recursion.
  25194. 2003-02-16 Danny Smith <dannysmith@users.sourceforge.net>
  25195. * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
  25196. MASK_ALIGN_DOUBLE.
  25197. 2003-02-15 Roger Sayle <roger@eyesopen.com>
  25198. * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
  25199. to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
  25200. (ext_80387_constants_table): Global table of 80387 special constants
  25201. guarded by ext_80387_constants_init flag when not initialized.
  25202. (init_ext_80387_constants): New function to initialize this table.
  25203. (standard_80387_constant_p): Extend to recognize extra 80387
  25204. constants, in XFmode, on processors where this is a win.
  25205. (standard_80387_constant_opcode): New function to return the
  25206. opcode associated with standard_80387_constant_p.
  25207. (standard_80387_constant_rtx): New function to return the XFmode
  25208. CONST_DOUBLE associated with standard_80387_constant_p.
  25209. (ix86_rtx_costs): Give the new constants the same cost as 1.0.
  25210. * config/i386/i386-protos.h (standard_80387_constant_opcode):
  25211. Prototype here.
  25212. (standard_80387_constant_rtx): Likewise.
  25213. * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
  25214. *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
  25215. *movtf_integer): Simplify using new standard_80387_constant_opcode.
  25216. 2003-02-15 Geoffrey Keating <geoffk@apple.com>
  25217. * doc/invoke.texi (Optimize Options): Correct @option syntax.
  25218. 2003-02-15 Richard Henderson <rth@redhat.com>
  25219. * Makefile.in (cfglayout.o): Depend on TARGET_H.
  25220. * cfglayout.c: Include target.h.
  25221. (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
  25222. * target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
  25223. * target.h (struct gcc_target): Add cannot_copy_insn_p.
  25224. * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
  25225. (TARGET_CANNOT_COPY_INSN_P): New.
  25226. (override_options): Revert 2003-02-08 hack.
  25227. 2003-02-15 Richard Henderson <rth@redhat.com>
  25228. * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
  25229. (bypass_conditional_jumps): Accept computed_jump_p insns as well.
  25230. 2003-02-15 David Edelsohn <edelsohn@gnu.org>
  25231. * config/rs6000/rs6000.h (processor_type): Add PPC440.
  25232. * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
  25233. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
  25234. TARGET_SCHED_VARIABLE_ISSUE): Define.
  25235. (rs6000_use_dfa_pipeline_interface): New function.
  25236. (rs6000_multipass_dfa_lookahead): New Function.
  25237. (rs6000_variable_issue): New function.
  25238. (rs6000_adjust_cost): Add CMP and DELAYED_CR types.
  25239. (rs6000_issue_rate): Add PPC440.
  25240. * config/rs6000/rs6000.md (unspec list): Correct typo.
  25241. (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
  25242. store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
  25243. cmp, delayed_cr, mfcr, mtcr.
  25244. (automata_option): Set "ndfa".
  25245. (extendMMNN2): Update attributes.
  25246. (movcc_internal1): Discourage move to non-cr0. Update
  25247. attributes.
  25248. (movMM_update): Update attributes.
  25249. (cmpMM_internal): Update attributes.
  25250. (sCC CR materialization): Update attributes.
  25251. (branch patterns): Do not discourage non-cr0.
  25252. (cr logical patterns): Prefer destructive register allocation.
  25253. Update attributes.
  25254. (movesi_from_cr): Update attribute.
  25255. (mtcrf_operation): Update attribute.
  25256. (mtcrfsi): Update attribute.
  25257. * config/rs6000/40x.md: New file.
  25258. * config/rs6000/603.md: New file.
  25259. * config/rs6000/6xx.md: New file.
  25260. * config/rs6000/7450.md: New file.
  25261. * config/rs6000/7xx.md: New file.
  25262. * config/rs6000/mpc.md: New file.
  25263. * config/rs6000/power4.md: New file.
  25264. * config/rs6000/rios1.md: New file.
  25265. * config/rs6000/rios2.md: New file.
  25266. * config/rs6000/rs64.md: New file.
  25267. [Some DFA descriptions based on work by Michael Hayes]
  25268. 2003-02-15 Richard Henderson <rth@redhat.com>
  25269. * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
  25270. successors with multiple predecessors.
  25271. (connect_traces): Try harder to copy traces of length 1.
  25272. * function.h (struct function): Add computed_goto_common_label,
  25273. computed_goto_common_reg.
  25274. * function.c (free_after_compilation): Zap them.
  25275. * stmt.c (expand_computed_goto): Use them to produce one
  25276. indirect branch per function.
  25277. 2003-02-15 Richard Henderson <rth@redhat.com>
  25278. * cfgcleanup.c: Include params.h.
  25279. (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES. Fix test for
  25280. too many outgoing edges from a block.
  25281. * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
  25282. * params.def (max-crossjump-edges): New.
  25283. * doc/invoke.texi: Document it.
  25284. 2003-02-15 Richard Henderson <rth@redhat.com>
  25285. * recog.c (split_all_insns): Include new blocks in life update;
  25286. do a global life update.
  25287. 2003-02-15 Danny Smith <dannysmith@users.sourceforge.net>
  25288. * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
  25289. Update copyright.
  25290. * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for
  25291. -mno-cygwin case.
  25292. 2003-02-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  25293. PR optimization/7702
  25294. * reload1.c (reload_cse_simplify_set): Honor
  25295. CANNOT_CHANGE_MODE_CLASS.
  25296. 2003-02-14 Alexandre Oliva <aoliva@redhat.com>
  25297. * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
  25298. function.
  25299. * config/mn10300/mn10300-protos.h: Declare it.
  25300. * config/mn10300/mn10300.md (movdi, movdf): Use it to compute
  25301. attribute cc of instructions that may use clr.
  25302. 2003-02-14 Kazu Hirata <kazu@cs.umass.edu>
  25303. * simplify-rtx.c (simplify_binary_operation): Simplify ~y when
  25304. (x - (x & y)) is found.
  25305. 2003-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  25306. * configure.in: Fix typo.
  25307. * configure: Regenerate.
  25308. 2003-02-14 Kazu Hirata <kazu@cs.umass.edu>
  25309. * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
  25310. 2003-02-13 Adam Nemet <anemet@lnxw.com>
  25311. PR opt/2391
  25312. * combine.c: Fix spelling in comment.
  25313. (cached_nonzero_bits): New function.
  25314. (cached_num_sign_bit_copies): New function.
  25315. (nonzero_bits_with_known): New macro.
  25316. (num_sign_bit_copies_with_known): New macro.
  25317. (nonzero_bits1): Rename from nonzero_bits. Add three new
  25318. arguments. Change calls from nonzero_bits to
  25319. nonzero_bits_with_known.
  25320. (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add
  25321. three new arguments. Change calls from num_sign_bit_copies to
  25322. num_sign_bit_copies_with_known.
  25323. (nonzero_bits): New macro.
  25324. (num_sign_bit_copies): New macro.
  25325. (update_table_tick): Don't traverse identical subexpression more
  25326. than once.
  25327. (get_last_value_validate): Likewise.
  25328. 2003-02-13 Zack Weinberg <zack@codesourcery.com>
  25329. * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
  25330. * function.h (struct emit_status): Length of regno_pointer_align
  25331. and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
  25332. not regno_pointer_align_length (i.e. length actually used, not
  25333. length as allocated)
  25334. * config/i386/i386.c (struct stack_local_entry): New.
  25335. (struct machine_function): Replace huge array with alist.
  25336. (assign_386_stack_local): Change to match.
  25337. 2003-02-13 John David Anglin <dave.anglin@nrc-crnc.gc.ca>
  25338. * inclhack.def (hpux_long_double): Tighten select and add bypass
  25339. regexp.
  25340. * fixincl.x: Rebuilt.
  25341. 2003-02-13 Josef Zlomek <zlomekj@suse.cz>
  25342. * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
  25343. edge and block ends with a jump insn it must be simple jump.
  25344. 2003-02-13 Daniel Jacobowitz <drow@mvista.com>
  25345. * Makefile.in (PREPROCESSOR_DEFINES): Add
  25346. @TARGET_SYSTEM_ROOT_DEFINE@.
  25347. * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
  25348. is specified or if building a cross compiler.
  25349. (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
  25350. if the sysroot is under $exec_prefix.
  25351. * configure: Regenerated.
  25352. * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
  25353. defined.
  25354. (struct default_include): Add add_sysroot field.
  25355. (cpp_SYSROOT): Declare.
  25356. * cppdefault.c (cpp_include_defaults): Fill in add_sysroot
  25357. field.
  25358. (cpp_SYSROOT): New variable.
  25359. * cppinit.c (cpp_create_reader): Initialize
  25360. CPP_OPTION (pfile, sysroot).
  25361. (init_standard_includes): Handle add_sysroot. Do not
  25362. add unrelocated copies of relocated directories.
  25363. (COMMAND_LINE_OPTIONS): Add -isysroot.
  25364. (cpp_handle_option): Handle -isysroot.
  25365. * cpplib.h (struct cpp_options): Add sysroot member.
  25366. * gcc.c (The Specs Language): Update description of %I.
  25367. (target_system_root_changed): New variable.
  25368. (process_command): Conditionalize make_relative_prefix call
  25369. on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set
  25370. target_system_root_changed.
  25371. (do_spec_1): Add -isysroot to %I.
  25372. * doc/invoke.texi (Spec Files): Update description of %I.
  25373. * doc/install.texi (--with-sysroot): Update comment about
  25374. relocation.
  25375. 2003-02-13 Kazu Hirata <kazu@cs.umass.edu>
  25376. * config/h8300/h8300.md (a peephole2): New.
  25377. 2003-02-13 Robert Lipe <robertlipe@usa.net>
  25378. Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  25379. * doc/install.texi (Specific): Update three SCO-related URLs.
  25380. 2003-02-13 Andreas Schwab <schwab@suse.de>
  25381. * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
  25382. Parenthesize properly.
  25383. (NPREDECESORS): Parenthesize properly.
  25384. 2003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
  25385. * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
  25386. 2003-02-12 Roger Sayle <roger@eyesopen.com>
  25387. * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
  25388. (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.
  25389. * reg-stack.c (subst_stack_regs_pat): Add support for binary
  25390. UNSPEC instructions (e.g. "fpatan").
  25391. 2003-02-12 Mike Stump <mrs@apple.com>
  25392. * varray.c (element_size): Remove.
  25393. (uses_ggc): Remove.
  25394. (element): Add.
  25395. (varray_init): Use new interface.
  25396. (varray_grow): Use new interface.
  25397. (varray_clear): Use new interface.
  25398. 2003-02-12 Aldy Hernandez <aldyh@redhat.com>
  25399. * config/rs6000/spe.h: Add casts to the arguments of the following
  25400. macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
  25401. evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
  25402. evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
  25403. __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
  25404. __ev_get_u16, __ev_get_s16.
  25405. 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
  25406. * config/h8300/h8300.md (a peephole2): New.
  25407. 2003-02-12 Jan Hubicka <jh@suse.cz>
  25408. * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
  25409. (OBJS): Add cgraph.o
  25410. (cgraph.o): New.
  25411. * c-decl.c (expand_body_1): Break out from ...
  25412. (expand_body): This one; change calling convention
  25413. (finish_function): Move some of expand_body logic here.
  25414. (c_expand_deferred_function): Update call of expand_body
  25415. (c_expand_stmt): Use c_expand_body_1.
  25416. * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
  25417. * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
  25418. * c-tree.h (c_expand_body): Declare.
  25419. * cgraph.c: New file.
  25420. * flags.h (flag_unit_at_a_time): Declare.
  25421. * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
  25422. LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
  25423. LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
  25424. * langhooks.h (struct lang_hooks_for_callgraph): New.
  25425. (struct lang_hooks): Add callgraph field.
  25426. * toplev.c (flag_unit_at_a_time): New.
  25427. (lang_independent_options): Add flag_unit_at_a_time.
  25428. (process_options): Disable unit-at-a-time mode for frontends not
  25429. supporting callgraph.
  25430. * tree-inline.c (typedef struct inline_data): Add "decl"
  25431. (expand_call_inline): Update callgraph.
  25432. (optimize_inline_calls): Set id.decl.
  25433. * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
  25434. cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
  25435. cgraph_calls_p): Declare.
  25436. * invoke.texi (-funit-at-a-time): Document.
  25437. 2003-02-12 Aldy Hernandez <aldyh@redhat.com>
  25438. * config/rs6000/spe.h: Fix misc formatting.
  25439. (__ev_create_ufix32_fs): Cast ev argument.
  25440. (__ev_create_sfix32_fs): Same.
  25441. (__ev_get_sfix32_fs_internal): Cast arguments to builtins.
  25442. (__ev_get_ufix32_fs_internal): Same.
  25443. 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
  25444. * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
  25445. * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
  25446. 2003-02-12 Zack Weinberg <zack@codesourcery.com>
  25447. * cpplib.c (do_include_common): Move warnings for
  25448. #include_next and #import out to callers. Use early-return
  25449. instead of nested ifs. Don't do check_eol here.
  25450. (parse_include): Do check_eol here with the rest of the
  25451. parsing stuff.
  25452. (do_include_next, do_import): Now handle warnings.
  25453. 2003-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  25454. * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
  25455. 2003-02-12 Jan Hubicka <jh@suse.cz>
  25456. * predict.c (estimate_probability): Fix roundoff error.
  25457. 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
  25458. * config/h8300/h8300.md (a peephole2): Don't handle 65535.
  25459. (two peephole2): New.
  25460. 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
  25461. * config/h8300/h8300.md (several peephole2): Replace
  25462. find_regno_note with peep2_reg_dead_p.
  25463. 2003-02-11 Richard Henderson <rth@redhat.com>
  25464. * gcse.c (lookup_set): Remove unused argument PAT. Update
  25465. both callers.
  25466. 2003-02-11 Geoffrey Keating <geoffk@apple.com>
  25467. * diagnostic.c (real_abort): New.
  25468. (diagnostic_report_diagnostic): Call real_abort on error.
  25469. * diagnostic.h (diagnostic_abort_on_error): New.
  25470. (struct diagnostic_context): Add abort_on_error field.
  25471. * toplev.c (setup_core_dumping): New.
  25472. (decode_d_option): Handle 'H' case.
  25473. * doc/invoke.texi (Debugging Options): Document -dH.
  25474. 2003-02-11 Nathanael Nerode <neroden@gcc.gnu.org>
  25475. * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
  25476. which refers to obsolete directories.
  25477. 2003-02-11 Richard Henderson <rth@redhat.com>
  25478. * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
  25479. 2003-10-21 Jan Hubicka <jh@suse.cz>
  25480. * i386.c (contains_128bit_aligned_vector_p): New function.
  25481. (ix86_function_arg_boundary): Properly align vector modes.
  25482. 2003-02-11 Bob Wilson <bob.wilson@acm.org>
  25483. * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
  25484. * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
  25485. as a SET pattern.
  25486. 2003-02-11 Roger Sayle <roger@eyesopen.com>
  25487. * builtins.c: Fix failure caused by commiting wrong patch.
  25488. 2003-02-11 Dale Johannesen <dalej@apple.com>
  25489. * ra-build.c (compare_and_free_webs): Relax checking.
  25490. * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME): Define.
  25491. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
  25492. 2003-02-11 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  25493. PR optimization/9651
  25494. * rtlanal.c (may_trap_p): Handle FIX.
  25495. 2003-02-11 Dave Jones <davej@codemonkey.org.uk>
  25496. * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
  25497. * doc/invoke.texi: Extra alias.
  25498. 2003-02-11 Geoffrey Keating <geoffk@apple.com>
  25499. * config/rs6000/host-darwin.c: Fix comment.
  25500. 2003-02-11 David Edelsohn <edelsohn@gnu.org>
  25501. * config/rs6000/rs6000.md (divmodsi4): Use register_operand
  25502. predicate for mod result.
  25503. 2003-02-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  25504. * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
  25505. hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
  25506. * fixincl.x: Rebuilt.
  25507. * tests/base/stdlib.h: Update.
  25508. * tests/base/ctype.h: New file.
  25509. 2003-02-11 Jan Hubicka <jh@suse.cz>
  25510. * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
  25511. 2003-02-11 Richard Henderson <rth@redhat.com>
  25512. * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
  25513. appropriated as globals.
  25514. (ix86_expand_clrstr): Similarly.
  25515. * config/i386/i386.md (cmpstrsi): Similarly.
  25516. 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
  25517. * config/h8300/h8300.md (a peephole2): Add a case of 255.
  25518. 2003-02-11 Roger Sayle <roger@eyesopen.com>
  25519. * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
  25520. (pow_optab, atan2_optab): Define corresponding macros.
  25521. * optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
  25522. * genopinit.c (optabs): Implement pow_optab and atan2_optab
  25523. using pow?f3 and atan2?f3 patterns.
  25524. * builtins.c (expand_errno_check): New function to update errno
  25525. if necessary, split out from expand_builtin_mathfn.
  25526. (expand_builtin_mathfn): Use expand_errno_check.
  25527. (expand_builtin_mathfn_2): New function to handle expanding binary
  25528. math functions, reusing the code in expand_errno_check.
  25529. (expand_builtin): Handle the pow and atan2 math built-ins,
  25530. BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
  25531. expand_builtin_mathfn_2.
  25532. * doc/md.texi: Document new pow?f3 and atan2?f3 patterns.
  25533. 2003-02-11 Jan Hubicka <jh@suse.cz>
  25534. * combine.c (combine_simplify_rtx): Fix folding of
  25535. nested float_truncates.
  25536. 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
  25537. * config/h8300/h8300.md (a peephole2): Fix a typo.
  25538. 2003-02-11 Richard Earnshaw <rearnsha@arm.com>
  25539. * arm.mc (return_address_mask): Use CC_REGNUM for the condition code
  25540. register number.
  25541. 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
  25542. * config/h8300/h8300-protos.h: Add a prototype for
  25543. gtuleu_operator.
  25544. * config/h8300/h8300.c (gtuleu_operator): New.
  25545. * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
  25546. * config/h8300/h8300.md (a peephole2): New.
  25547. 2003-02-11 Jan Hubicka <jh@suse.cz>
  25548. * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
  25549. 2003-02-11 Jan Hubicka <jh@suse.cz>
  25550. * predict.c (choose_function_section): Choose sections correctly.
  25551. 2003-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  25552. * reload1.c (first_label_num): New.
  25553. (reload): Index offsets_known_at and offsets_at using difference of
  25554. label number and first label number. Don't use offset pointers.
  25555. (set_label_offsets, set_initial_label_offsets): Likewise.
  25556. 2003-02-10 Roger Sayle <roger@eyesopen.com>
  25557. * mips-tfile.c (init_file): Add missing initializers in the
  25558. "#ifdef __alpha" case.
  25559. (file_offset, max_file_offset): Declare as unsigned long.
  25560. (write_varray): Cast to "unsigned long" in comparisons against
  25561. either file_offset or max_file_offset.
  25562. (write_object): Likewise.
  25563. (read_seek): Likewise.
  25564. (copy_object): Likewise. Declare "ifd" as int to match its use
  25565. in add_ext_symbol, and avoid signed/unsigned conditional warning.
  25566. 2003-02-10 Nick Clifton <nickc@redhat.com>
  25567. Aldy Hernandez <aldyh@redhat.com>
  25568. * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
  25569. override options which have been specified on the command line.
  25570. 2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
  25571. * config/h8300/h8300.md (abssf2): New.
  25572. (*abssf2_h8300): Likewise.
  25573. (*abssf2_h8300hs): Likewise.
  25574. 2003-02-10 Phil Edwards <pme@gcc.gnu.org>
  25575. * tree.c (build_tree_list): Fix parameter names in comment.
  25576. 2003-02-10 Janis Johnson <janis187@us.ibm.com>
  25577. * config/rs6000/ppc64-fp.c: New file.
  25578. * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
  25579. 2003-02-10 Josef Zlomek <zlomekj@suse.cz>
  25580. * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
  25581. * bb-reorder.c (make_reorder_chain): Deleted.
  25582. (make_reorder_chain_1): Deleted.
  25583. (find_traces): New function.
  25584. (rotate_loop): New function.
  25585. (mark_bb_visited): New function.
  25586. (find_traces_1_round): New function.
  25587. (copy_bb): New function.
  25588. (bb_to_key): New function.
  25589. (better_edge_p): New function.
  25590. (connect_traces): New function.
  25591. (copy_bb_p): New function.
  25592. (get_uncond_jump_length): New function.
  25593. (reorder_basic_blocks): Use new functions (Software Trace Cache).
  25594. * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
  25595. boundaries.
  25596. 2003-02-10 Aldy Hernandez <aldyh@redhat.com>
  25597. * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.
  25598. 2003-02-09 Dan Nicolaescu <dann@ics.uci.edu>
  25599. * tree.h (struct tree_decl): Remove unused live_range_rtl field.
  25600. (DECL_LIVE_RANGE_RTL): Remove.
  25601. 2003-02-10 Nick Clifton <nickc@redhat.com>
  25602. * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def,
  25603. config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
  25604. config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h,
  25605. config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h,
  25606. config/arm/freebsd.h, config/arm/linux-elf.h,
  25607. config/arm/linux-gas.h, config/arm/netbsd-elf.h,
  25608. config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
  25609. config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h,
  25610. config/arm/strongarm-coff.h, config/arm/strongarm-elf.h,
  25611. config/arm/strongarm-pe.h, config/arm/uclinux-elf.h,
  25612. config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h,
  25613. config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC"
  25614. and reformat as appropriate.
  25615. 2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
  25616. * config/h8300/clzsi2.c: Remove.
  25617. * config/h8300/ctzsi2.c: Likewise.
  25618. * config/h8300/paritysi2.c: Likewise.
  25619. * config/h8300/popcountsi2.c: Likewise.
  25620. * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
  25621. ctzsi2, paritysi2, and popcountsi2.
  25622. 2003-02-10 Eric Botcazou <ebotcazou@libertysurf.fr>
  25623. Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
  25624. PR c/7741
  25625. * c-decl.c (duplicate_decls): Discard the initializer of the
  25626. new decl when the types are conflicting.
  25627. 2003-02-10 Josef Zlomek <zlomekj@suse.cz>
  25628. * Makefile.in (sreal.o): Added.
  25629. (predict.o): Depends on sreal.h instead of real.h.
  25630. * sreal.c: New file.
  25631. * sreal.h: New file.
  25632. * predict.c: Use sreal.c instead of real.c.
  25633. 2003-02-10 Nick Clifton <nickc@redhat.com>
  25634. * Contributed support for the Cirrus EP9312 "Maverick"
  25635. floating point co-processor. Written by Aldy Hernandez
  25636. <aldyh@redhat.com>.
  25637. (config/arm/arm.c): Add Cirrus support.
  25638. (config/arm/arm.h): Likewise.
  25639. (config/arm/aout.h): Likewise.
  25640. (config/arm/arm.md): Likewise.
  25641. (config/arm/arm-protos.h): Likewise.
  25642. (config.gcc): Likewise.
  25643. (doc/invoke.texi): Describe new -mcpu value and new
  25644. -mcirrus-fix-invalid-insns switch,
  25645. (cirrus.md): New file.
  25646. 2003-02-10 Jan Hubicka <jh@suse.cz>
  25647. * combine.c (combine_simplify_rtx): Simplify using
  25648. (float_truncate (float x)) is (float x)
  25649. (float_extend (float_extend x)) is (float_extend x).
  25650. 2003-02-10 Alan Modra <amodra@bigpond.net.au>
  25651. * calls.c (try_to_integrate): Tidy stack_usage_map access.
  25652. (emit_library_call_value_1): Likewise. Formatting.
  25653. (store_one_arg): Likewise.
  25654. 2003-02-09 Nick Clifton <nickc@redhat.com>
  25655. Aldy Hernandez <aldyh@redhat.com>
  25656. * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
  25657. spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
  25658. spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
  25659. spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
  25660. spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
  25661. docs. Add range test for immediate value.
  25662. 2003-02-09 Aldy Hernandez <aldyh@redhat.com>
  25663. Rename spe_evxor to xorv2si3.
  25664. (xorv4hi3): New.
  25665. (xorv1di3): New.
  25666. 2003-02-10 Glen Nakamura <glen@imodulo.com>
  25667. * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
  25668. tag.
  25669. 2003-02-10 Jan Hubicka <jh@suse.cz>
  25670. * i386.c (vector_move_operand): New predicate.
  25671. (ix86_expand_vector_move): Be happy about 0.
  25672. * i386.h (PREDICATE_CODES): Add sse-move_operand.
  25673. * i386.md (mov*_internal): Add 'C' alternative.
  25674. 2003-02-09 Jan Hubicka <jh@suse.cz>
  25675. * i386.md (floathi*): Deal with SSE.
  25676. 2003-02-09 Jan Hubicka <jh@suse.cz>
  25677. * simplify-rtx.c (simplify_unary_operation,
  25678. simplify_binary_operation): Deal with vector modes
  25679. (simplify_ternary_operation): Deal with no-op VEC_MERGE.
  25680. 2003-02-09 Richard Sandiford <rsandifo@redhat.com>
  25681. * toplev.c (rest_of_compilation): Recompute register usage after
  25682. split_all_insns.
  25683. 2003-02-09 Richard Henderson <rth@redhat.com>
  25684. * libgcc-std.ver (__clztf2): New.
  25685. (__ctztf2, __popcounttf2, __paritytf2): New.
  25686. * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
  25687. __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
  25688. adjust code to match the different type sizes.
  25689. * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
  25690. __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.
  25691. * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
  25692. TImode; select word_mode and twice that.
  25693. (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
  25694. select the modes from float, double, and long double.
  25695. (init_optabs): Remove duplicate initializations.
  25696. 2003-02-09 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
  25697. * doc/install.texi: Squeeze and streamline section on
  25698. testing and regression checking.
  25699. 2003-02-09 Jan Hubicka <jh@suse.cz>
  25700. * i386.md (ahi?v*3): Set third operand type to TImode.
  25701. * i386.c (ix86_expand_binop_builtin): Extend operand when needed.
  25702. * simplify-rtx.c (simplify_subreg): Fix conversion from vector into
  25703. integer mode.
  25704. * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
  25705. Change code so they are arithmetic expressions now.
  25706. * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
  25707. simplify_ternary_operation): Deal with VEC_* expressions.
  25708. * i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation.
  25709. 2003-02-08 Jan Hubicka <jh@suse.cz>
  25710. * cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
  25711. * reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges
  25712. possibly got duplicated.
  25713. 2003-02-08 Richard Henderson <rth@redhat.com>
  25714. * config/alpha/alpha.c (override_options): Turn off explicit
  25715. relocs until post-peep2 code duplication resolved.
  25716. 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
  25717. * optabs.c (expand_unop): Widen clz properly when clz is done
  25718. via libcall.
  25719. 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
  25720. * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
  25721. * config/h8300/crti.asm: Likewise.
  25722. * config/h8300/crtn.asm: Likewise.
  25723. * config/h8300/ctzsi2.c: Likewise.
  25724. * config/h8300/fixunssfsi.c: Likewise.
  25725. * config/h8300/h8300-protos.h: Likewise.
  25726. * config/h8300/h8300.c: Likewise.
  25727. * config/h8300/h8300.h: Likewise.
  25728. * config/h8300/h8300.md: Likewise.
  25729. * config/h8300/paritysi2.c: Likewise.
  25730. * config/h8300/popcountsi2.c: Likewise.
  25731. * config/h8300/rtems.h: Likewise.
  25732. 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  25733. * doc/invoke.texi: Documentation for my previous commit.
  25734. * doc/passes.texi: Ditto.
  25735. 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  25736. * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
  25737. duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
  25738. Declare.
  25739. (DLTHE_FLAG_UPDATE_FREQ): New.
  25740. * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
  25741. loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
  25742. rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
  25743. fix_bb_placement, fix_bb_placements, place_new_loop,
  25744. scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
  25745. New static functions.
  25746. (fix_loop_placement, can_duplicate_loop_p,
  25747. duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
  25748. New functions.
  25749. * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
  25750. unswitch_loops): Declare.
  25751. * loop-init.c: New file.
  25752. * loop-unswitch.c: New file.
  25753. * Makefile.in (loop-init.o, loop-unswitch.o): New.
  25754. * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
  25755. * toplev.c (DFI_loop2): New dump.
  25756. (flag_unswitch_loops): New.
  25757. (lang_independent_options): Add it.
  25758. (rest_of_compilation): Call new loop optimizer.
  25759. (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
  25760. 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
  25761. * config/h8300/clzsi2.c: New.
  25762. * config/h8300/ctzsi2.c: Likewise.
  25763. * config/h8300/paritysi2.c: Likewise.
  25764. * config/h8300/popcountsi2.c: Likewise.
  25765. * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
  25766. 2003-02-07 David Edelsohn <edelsohn@gnu.org>
  25767. * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
  25768. * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
  25769. (ctzsi2): New pattern.
  25770. (ffssi2): Use clz instead of unspec.
  25771. (clzdi2): Rename from cntlzd2.
  25772. (ctzdi2): New pattern.
  25773. (ffsdi2): Use clz instead of unspec.
  25774. 2003-02-07 Loren James Rittle <ljrittle@acm.org>
  25775. * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
  25776. * config/ia64/freebsd.h (LINK_SPEC): Likewise.
  25777. * config/sparc/freebsd.h (LINK_SPEC): Likewise.
  25778. * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
  25779. 2003-02-07 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
  25780. * doc/trouble.texi: Document pitfalls of two-stage name lookup.
  25781. 2003-02-07 Richard Henderson <rth@redhat.com>
  25782. PR 9226
  25783. * gcse.c (local_cprop_find_used_regs): New.
  25784. (local_cprop_pass): Use it.
  25785. 2003-02-07 Fred Fish <fnf@intrinsity.com>
  25786. * mips-tfile.c (parse_def): Parenthesize assignments to fix
  25787. precedence bugs.
  25788. 2003-02-07 Segher Boessenkool <segher@koffie.nl>
  25789. * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
  25790. 2003-02-07 Roger Sayle <roger@eyesopen.com>
  25791. * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
  25792. (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
  25793. (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
  25794. * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
  25795. builtin functions (and their __builtin_* variants).
  25796. * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
  25797. (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
  25798. when not optimizing.
  25799. * doc/extend.texi: Document new pow and atan2 builtins, and
  25800. their float and long double variants. Realphabetize builtins.
  25801. 2003-02-07 Jan Hubicka <jh@suse.cz>
  25802. * i386.md (sse2_nandv2di3): Fix.
  25803. 2003-03-07 Danny Smith <dannysmith@users.sourceforge.net>
  25804. * config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
  25805. * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
  25806. definition.
  25807. * config/i386/i386.h (ix86_return_in_memory): Return aggregate
  25808. types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
  25809. 2003-02-07 Jan Hubicka <jh@suse.cz>
  25810. * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
  25811. 2003-02-07 Daniel Berlin <dberlin@dberlin.org>
  25812. * cfg.c (dump_flow_info): Add back accidently deleted line.
  25813. 2003-02-07 Andrey Petrov <petrov@netbsd.org>
  25814. * optabs.c (expand_float): Search wider integer modes first.
  25815. 2003-02-07 Bob Wilson <bob.wilson@acm.org>
  25816. * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
  25817. based on preprocessor flag.
  25818. 2003-02-07 Roger Sayle <roger@eyesopen.com>
  25819. Richard Henderson <rth@redhat.com>
  25820. * gcse.c (implicit_sets): New.
  25821. (compute_hash_table_work): Include them in hash table.
  25822. (find_implicit_sets, fis_get_condition): New.
  25823. (one_cprop_pass): Allocate and free implicit_sets; call
  25824. find_implicit_sets before building hash table.
  25825. 2003-02-07 Jason Thorpe <thorpej@wasabisystems.com>
  25826. * config/t-netbsd (USER_H): Revert previous change.
  25827. 2003-02-07 Gabor Greif <ggreif@lucent.com>
  25828. * doc/c-tree.texi (Namespaces): Fix typo.
  25829. 2003-02-07 Jan Hubicka <jh@suse.cz>
  25830. * regrename.c (do_replace, find_oldest_value_reg,
  25831. copyprop_hardreg_forward_1): Update register attributes.
  25832. 2003-02-06 Vladimir Makarov <vmakarov@redhat.com>
  25833. * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
  25834. VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
  25835. variables starting with underscore.
  25836. (struct unit_usage): New structure.
  25837. (unit_usages, cycle_alt_unit_usages): New global variables.
  25838. (check_unit_distribution_in_reserv): Remove it.
  25839. (store_alt_unit_usage): New function.
  25840. (check_regexp_units_distribution): Rewrite it.
  25841. 2003-02-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  25842. * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
  25843. target_cpu_default.
  25844. * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
  25845. if not MASK_NO_SPACE_REGS.
  25846. (output_call): Adjust return pointer, don't load new space register
  25847. into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
  25848. (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
  25849. TARGET_NO_SPACE_REGS is true.
  25850. * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
  25851. conditions.
  25852. (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
  25853. (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
  25854. true. Use bve when TARGET_64BIT is true.
  25855. 2003-02-06 Richard Henderson <rth@redhat.com>
  25856. * combine.c (nonzero_bits): Fix double break.
  25857. 2003-02-06 Eric Botcazou <ebotcazou@libertysurf.fr>
  25858. Richard Henderson <rth@redhat.com>
  25859. PR c/9530
  25860. * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
  25861. from functions that return a float to functions that don't.
  25862. 2003-02-06 Jan Hubicka <jh@suse.cz>
  25863. * i386.c (x86_inter_unit_moves): New variable.
  25864. (ix86_secondary_memory_needed): Fix 64bit case, honor
  25865. TARGET_INTER_UNIT_MOVES
  25866. * i386.h (x86_inter_unit_moves): Declare.
  25867. (TARGET_INTER_UNIT_MOVES): New macro.
  25868. * i386.md (movsi_1): Cleanup constraints; disable
  25869. when not doing inter-unit moves.
  25870. (movsi_1_nointernunit): New.
  25871. (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
  25872. (movdi_1_rex64_nointerunit): New.
  25873. (mivsf_1): disable when not doing inter-unit moves.
  25874. (movsf_1_nointerunit): New.
  25875. * basic-block.h (inside_basic_block_p): Declare.
  25876. * cfgbuild.c (inside_basic_block_p): Make global.
  25877. * haifa-sched.c (unlink_other_notes): Deal with NOT_INSN_BASIC_BLOCK.
  25878. * scheudle-ebb.c (schedule_ebb): Return last basic block of trace;
  25879. update CFG.
  25880. (fix_basic_block_boundaries, add_missing_bbs): New.
  25881. (rank): Use profile.
  25882. (scheudle_ebbs): Rely on CFG; update coments.
  25883. 2003-02-05 Geoffrey Keating <geoffk@apple.com>
  25884. * Makefile.in (host_hook_obj): New.
  25885. (OBJS): Add $(host_hook_obj).
  25886. (host_default.o): New rule.
  25887. * config.gcc (host_hook_obj): New, default to host-default.o.
  25888. (powerpc-*-darwin*): Use host-darwin.o.
  25889. (out_host_hook_obj): New.
  25890. * configure: Regenerate.
  25891. * configure.in: Print information about out_host_hook_obj, substitute
  25892. into output files.
  25893. * host-default.c: New file.
  25894. * hosthooks.h: New file.
  25895. * toplev.c (general_init): Call host_hooks.extra_signals.
  25896. * config/rs6000/host-darwin.c: New file.
  25897. * config/rs6000/x-darwin: New file.
  25898. * doc/hostconfig.texi: Add documentation for new host hook.
  25899. Rearrange existing documentation.
  25900. 2003-02-05 Roger Sayle <roger@eyesopen.com>
  25901. * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
  25902. with *targetm.delegitimize_address.
  25903. (rtl_for_decl_location): Likewise.
  25904. * dwarfout.c (output_mem_loc_descriptor): Likewise. Include target.h.
  25905. * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
  25906. * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
  25907. * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
  25908. prototype.
  25909. * config/i386/i386.c (ix86_delegitimize_address): Renamed from
  25910. i386_simplify_dwarf_addr. Made static. Prototyped.
  25911. (TARGET_DELEGITIMIZE_ADDRESS): Update definition from
  25912. i386_simplify_dwarf_addr to ix86_delegitimize_address.
  25913. (ix86_find_base_term): Likewise.
  25914. (maybe_get_pool_constant): Likewise.
  25915. * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
  25916. * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
  25917. prototype.
  25918. * config/s390/s390.c (s390_delegitimize_address): Renamed from
  25919. s390_simplify_dwarf_addr. Made static. Prototyped.
  25920. (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
  25921. 2003-02-05 Richard Henderson <rth@redhat.com>
  25922. PR c/8602
  25923. * integrate.c (output_inline_function): Reset input_filename
  25924. and lineno from the decl before rest_of_compilation.
  25925. 2003-02-05 Richard Henderson <rth@redhat.com>
  25926. * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
  25927. (CTZ_DEFINED_VALUE_AT_ZERO): New.
  25928. * doc/rtl.texi, doc/tm.texi: Document them.
  25929. * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
  25930. of the value at zero properly.
  25931. * fold-const.c (tree_expr_nonnegative_p): Likewise.
  25932. * simplify-rtx.c (simplify_unary_operation): Likewise.
  25933. * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
  25934. (CTZ_DEFINED_VALUE_AT_ZERO): New.
  25935. * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
  25936. (TARGET_EXPAND_BUILTIN): Remove.
  25937. (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
  25938. * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
  25939. (enum arm_builtins): Remove.
  25940. * config/arm/arm.md (UNSPEC_CLZ): Remove.
  25941. (clzsi2): Rename from clz; use clz instead of unspec.
  25942. (ctzsi2): New.
  25943. * config/arm/arm-protos.h: Update.
  25944. 2003-02-05 Jan Hubicka <jh@suse.cz>
  25945. * i386-protos.h (x86_emit_floatuns): Declare.
  25946. * i386.c (x86_emit_floatuns): New global function.
  25947. * i386.md (floatunssisf2, floatunsdisf2,
  25948. floatunsdidf2): New patterns.
  25949. 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  25950. * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
  25951. 2003-02-05 Hans Boehm <Hans.Boehm@hp.com>
  25952. * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
  25953. config/ia64/linux.h
  25954. 2003-02-05 Roger Sayle <roger@eyesopen.com>
  25955. * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
  25956. 2003-02-05 Jakub Jelinek <jakub@redhat.com>
  25957. PR optimization/8555
  25958. * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
  25959. instead of aborting.
  25960. 2003-02-04 Richard Henderson <rth@redhat.com>
  25961. * config/i386/i386.md (UNSPEC_BSF): Remove.
  25962. (ffssi2): Split into cmove and no_cmove insns and splitters;
  25963. lose pentium float trick for now.
  25964. (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
  25965. (ctzsi2, clzsi2, bsr): New.
  25966. 2003-02-04 Richard Henderson <rth@redhat.com>
  25967. * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
  25968. UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
  25969. * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
  25970. (ffsdi2): Use popcount instead of unspec.
  25971. (popcountdi2): Rename from *popcnt.
  25972. (ctzdi2, clzdi2, getf_exp_tf): New.
  25973. 2003-02-04 Kazu Hirata <kazu@cs.umass.edu>
  25974. * genconfig.c (main): Generate CC0_P.
  25975. * rtl.h (CC0_P): Remove.
  25976. 2003-02-04 Richard Henderson <rth@redhat.com>
  25977. * libgcc2.h, libgcc2.c (__ffsSI2): New.
  25978. (__ffsDI2): Rename from __ffsdi2.
  25979. * mklibgcc.in (lib2funcs): Add _ffssi2.
  25980. 2003-02-04 Richard Henderson <rth@redhat.com>
  25981. * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
  25982. rounds with a "bit table" lookup.
  25983. 2003-02-04 Ulrich Weigand <uweigand@de.ibm.com>
  25984. * reload.c (find_reloads): Do not use the mode specified in the insn
  25985. pattern as reload mode for address operands. Do not generate optional
  25986. reloads for operands where a mandatory reload was already pushed.
  25987. 2003-02-04 Richard Henderson <rth@redhat.com>
  25988. * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
  25989. builtins instead of inline assembly.
  25990. 2003-02-04 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  25991. PR c/9376
  25992. * libgcc2.c (__subvdi3): Fix typo.
  25993. 2003-02-04 Jan Hubicka <jh@suse.cz>
  25994. * i386.md (movti_rex64): Fix constraint.
  25995. 2003-02-04 Jan Hubicka <jh@suse.cz>
  25996. * i386.md (vector push splitters): Fix typo in resolving conflict.
  25997. 2003-02-04 Rodney Brown <rbrown64@csc.com.au>
  25998. * config/i386/i386.c (x86_function_profiler): Fix typo in format.
  25999. 2003-02-04 Phil Edwards <pme@gcc.gnu.org>
  26000. * doc/install.texi (*-*-linux-gnu): Mention glibc requirements
  26001. for recent libstdc++. Remove formatting cruft.
  26002. 2003-02-04 Jakub Jelinek <jakub@redhat.com>
  26003. * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
  26004. attribute even if input file name is absolute, but one of the
  26005. includes is relative.
  26006. 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
  26007. * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
  26008. doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
  26009. * doc/install.texi: Update copyright dates. Update to GFDL 1.2.
  26010. 2003-02-03 Richard Henderson <rth@redhat.com>
  26011. * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
  26012. __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
  26013. return type to "int". Shuffle declarations and undef int trap.
  26014. * libgcc2.h: Remove their declarations.
  26015. * optabs.c (expand_unop): Force outmode to int for bitops.
  26016. 2003-02-03 Bob Wilson <bob.wilson@acm.org>
  26017. * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
  26018. coprocessor registers before floating-point registers.
  26019. * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
  26020. to account for a previously removed register.
  26021. (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
  26022. Delete unused macros.
  26023. 2003-02-03 Jan Hubicka <jh@suse.cz>
  26024. * i386.c (ix86_expand_store_builtin): Always force op1 to register.
  26025. (mov*_internal): Fix predicates; require one of operands to not be
  26026. memory.
  26027. (SSE?MMX move expanders): Fix predicates; force one of operands to
  26028. register.
  26029. (SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
  26030. (movups/movupd/movdqu patterns): Force one of operands to not be
  26031. memory.
  26032. 2003-02-03 Roger Sayle <roger@eyesopen.com>
  26033. * hooks.c (hook_rtx_rtx_identity): Generic hook function that
  26034. takes a single rtx and returns it unmodified.
  26035. * hooks.h (hook_rtx_rtx_identity): Prototype here.
  26036. * target.h (struct gcc_target): Add "delegitimize_address"
  26037. field to target structure.
  26038. * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default
  26039. for delegitimize_address target using hook_rtx_rtx_identity.
  26040. (TARGET_INITIALIZER): Initialize delegitimize_address field
  26041. using TARGET_DELEGITIMIZE_ADDRESS macro.
  26042. * simplify-rtx.c (avoid_constant_pool_reference): Handle float
  26043. extensions of constant pool references. Use delegitimize_address
  26044. to undo the obfuscation of "-fpic".
  26045. * Makefile.in (simplify-rtx.o): Add dependency on target.h.
  26046. * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
  26047. i386_simplify_dwarf_addr.
  26048. (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
  26049. (maybe_get_pool_constant): Likewise.
  26050. 2003-02-03 Jan Hubicka <jh@suse.cz>
  26051. * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
  26052. 2003-02-03 Jan Hubicka <jh@suse.cz>
  26053. * regclass.c (cannot_change_mode_set_regs): Correct argument order.
  26054. 2003-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  26055. * mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't
  26056. define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h.
  26057. 2003-02-02 Andreas Schwab <schwab@suse.de>
  26058. * varasm.c (asm_output_aligned_bss): Declare as possibly unused.
  26059. 2003-02-02 Richard Earnshaw <rearnsha@arm.com>
  26060. * arm.md (sibcall_epilogue): Set the "conds" to "clob".
  26061. (epilogue_insns): Likewise.
  26062. 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  26063. * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
  26064. 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  26065. * pa-protos.h (attr_length_millicode_call): Remove second argument.
  26066. (attr_length_indirect_call, attr_length_indirect_call,
  26067. attr_length_save_restore_dltp): New prototypes.
  26068. * pa.c (attr_length_millicode_call): Remove second argument. Check
  26069. INSN_ADDRESSES_SET_P in distance calculation.
  26070. (output_millicode_call): Check INSN_ADDRESSES_SET_P before using
  26071. INSN_ADDRESSES.
  26072. (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
  26073. (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
  26074. Call attr_length_call directly.
  26075. (attr_length_indirect_call, output_indirect_call,
  26076. attr_length_save_restore_dltp): New functions.
  26077. * pa.md (attr_length_millicode_call): Drop second argument from all
  26078. patterns.
  26079. (return_internal_pic): Delete.
  26080. (return_external_pic): Remove use of PIC register and pic operand and
  26081. flag checks.
  26082. (epilogue): Use return_internal for both normal and pic code.
  26083. (call, call_value): Emit new 32-bit pic patterns for symref and
  26084. indirect calls. Remove uses for arg pointer and pic register.
  26085. (call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
  26086. call_reg_pic_post_reload, call_val_symref_pic,
  26087. call_val_symref_pic_post_reload, call_val_reg_pic,
  26088. call_val_reg_pic_post_reload): New pre and post reload insn patterns.
  26089. Implement define_split and define_peephole2 patterns for pre reload
  26090. patterns.
  26091. (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
  26092. call_value_internal_reg_64bit): Shorten names.
  26093. (all call patterns): Explicitly indicate registers used and clobbered.
  26094. Use attr_length_indirect_call and attr_length_save_restore_dltp for
  26095. attribute length calculation. Move code generation for indirect calls
  26096. to output_indirect_call.
  26097. (sibcall, sibcall_value): Don't restore PIC register.
  26098. (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
  26099. register retore.
  26100. 2003-02-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  26101. * doc/install.texi (Testing): Simplify and compress instructions
  26102. concerning Dejagnu.
  26103. 2003-02-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  26104. * collect2.c (pexecute_pid): Rename to pid.
  26105. (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
  26106. pid.
  26107. 2003-02-01 Geoffrey Keating <geoffk@apple.com>
  26108. * doc/extend.texi (Function Attributes): Remove documentation
  26109. for PowerPC Windows NT function attributes..
  26110. 2003-02-01 Daniel Jacobowitz <drow@mvista.com>
  26111. * dwarf2out.c (gen_type_die): Check for typedefs before calling
  26112. for TYPE_MAIN_VARIANT.
  26113. 2003-02-01 Richard Henderson <rth@redhat.com>
  26114. * libgcc2.c: Include auto-host.h.
  26115. (ATTRIBUTE_HIDDEN): New.
  26116. (__clz_tab): Don't declare here for clz and ctz.
  26117. (__clzsi2, __clzdi2): Use count_leading_zeros.
  26118. (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
  26119. (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
  26120. (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
  26121. * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
  26122. 2003-02-01 Richard Henderson <rth@redhat.com>
  26123. * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
  26124. to the conditional.
  26125. (ashlsi3_1_zext splitter): Likewise.
  26126. 2003-02-01 Richard Henderson <rth@redhat.com>
  26127. * optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
  26128. * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
  26129. __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
  26130. return type to Wtype.
  26131. * libgcc-std.ver (GCC_3.4): Fix inheritance.
  26132. * config/i386/i386.md (ffssi2): Use nonimmediate_operand for
  26133. expander input constraint.
  26134. 2003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  26135. * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
  26136. OTI_parity.
  26137. (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
  26138. * optabs.c (widen_clz, expand_parity): New.
  26139. (expand_unop): Handle clz and parity. Hardcode SImode as outmode
  26140. for libcalls to clz, ctz, popcount, and parity.
  26141. (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
  26142. parity_optab, and set up libfunc handlers.
  26143. * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
  26144. __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
  26145. __popcount_tab): New.
  26146. * libgcc2.h: Declare them.
  26147. * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
  26148. * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
  26149. and parity_optab.
  26150. * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
  26151. * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
  26152. BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
  26153. BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
  26154. BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
  26155. BUILT_IN_PARITYLL): New.
  26156. * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
  26157. and add optab argument.
  26158. (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
  26159. * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
  26160. * expr.c (expand_expr): Handle them.
  26161. * fold-const.c (tree_expr_nonnegative_p): Likewise.
  26162. * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
  26163. * reload1.c (eliminate_regs): Handle them.
  26164. (elimination_effects): Likewise.
  26165. * function.c (instantiate_virtual_regs_1): Likewise
  26166. * genattrtab.c (check_attr_value): Likewise.
  26167. * simplify-rtx.c (simplify_unary_operation): Likewise.
  26168. * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
  26169. * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
  26170. (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
  26171. * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
  26172. * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
  26173. __builtin_arm_clz.
  26174. * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
  26175. * mklibgcc.in (lib2funcs): ...here and merge. Add new members.
  26176. * doc/extend.texi (Other Builtins): Add new builtins.
  26177. * doc/md.texi (Standard Names): Add new patterns.
  26178. 2003-02-01 Ulrich Weigand <uweigand@de.ibm.com>
  26179. * reload.c: Revert 2003-01-31 change.
  26180. 2003-02-01 Jan Hubicka <jh@suse.cz>
  26181. * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts.
  26182. 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
  26183. * flags.h (flag_volatile): Remove declaration.
  26184. (flag_volatile_global, flag_volatile_static): Likewise.
  26185. * c-typeck.c (build_indirect_ref): Don't check flag_volatile.
  26186. * toplev.c (flag_volatile): Remove definition.
  26187. (flag_volatile_global, flag_volatile_static): Likewise.
  26188. (f_options): Remove corresponding entries here.
  26189. * varasm.c (make_decl_rtl): Don't check flag_volatile_global
  26190. or flag_volatile_static.
  26191. * doc/invoke.texi: Remove documentation of -fvolatile,
  26192. -fvolatile-global and -fvolatile-static.
  26193. 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  26194. * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
  26195. updating of total_code_bytes from prologue to epilogue.
  26196. 2003-01-31 Ulrich Weigand <uweigand@de.ibm.com>
  26197. * reload.c (find_reloads): Do not use the mode specified in the insn
  26198. pattern as reload mode for address operands. Do not generate optional
  26199. reloads for operands where a mandatory reload was already pushed.
  26200. Generate optional reloads only in the final pass though find_reloads.
  26201. (have_replacement_p): New function.
  26202. 2003-01-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  26203. * doc/install.texi (Testing): Remove a reference to our obsolete
  26204. /testresults web pages and strip redundant information concerning
  26205. test results.
  26206. (Binaries): Refer to Microsoft Windows instead of listing all
  26207. possible variants.
  26208. 2003-02-01 Jan Hubicka <jh@suse.cz>
  26209. * loop.c (emit_prefetch_instructions): Do conversion at right place in
  26210. RTL chain.
  26211. * combine.c (simplify_set): Reverse order of ragumetns to
  26212. REG_CANNOT_CHANGE_MODE_P
  26213. * df.c (df_def_record_1): Likewise.
  26214. * recog.c (register_operand): Likewise.
  26215. * simplify-rtx.c (simplify_subreg): Likewise.
  26216. * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
  26217. CANNOT_CHANGE_MODE_CLASS.
  26218. * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
  26219. Likewise.
  26220. * reload.c (push_reload): Likewise.
  26221. * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
  26222. * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
  26223. * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
  26224. * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
  26225. * mips.c (mips_cannot_change_mode_class): Update.
  26226. * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
  26227. * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
  26228. * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
  26229. * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
  26230. * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
  26231. * sh.c (sh_cannot_change_mode_class): Update.
  26232. * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
  26233. * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
  26234. 2003-01-31 Geoffrey Keating <geoffk@apple.com>
  26235. * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
  26236. change to LINK_COMMAND_SPEC in gcc.c.
  26237. 2003-01-31 Jan Hubicka <jh@suse.cz>
  26238. PR c/9506
  26239. * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
  26240. 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  26241. * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
  26242. duplicated code.
  26243. 2003-01-31 Nathan Sidwell <nathan@codesourcery.com>
  26244. * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
  26245. (BINFO_ELTS): New #define.
  26246. * stor-layout.c (finalize_record_size): Don't set them.
  26247. * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
  26248. BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
  26249. (BINFO_LANG_ELTS): New #define.
  26250. * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
  26251. * java/class.c (make_class): Use BINFO_ELTS.
  26252. (set_super_info): Likewse.
  26253. (add_interface_do): Likewise.
  26254. * objc/objc-act.c (start_class): Use BINFO_ELTS.
  26255. 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
  26256. * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
  26257. (times): Don't ever declare if not HAVE_TIMES.
  26258. (clock): Don't ever declare if not HAVE_CLOCK.
  26259. 2003-01-30 Richard Henderson <rth@redhat.com>
  26260. * flow.c (update_life_info): Zap life info after cleanup_cfg.
  26261. (regno_uninitialized): Use correct live at function entry set.
  26262. (regno_clobbered_at_setjmp): Likewise.
  26263. * expr.c (store_expr): Promote all MEM intermediates to regs.
  26264. 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
  26265. * config/arm/arm.c: Fix comment typos.
  26266. * config/arm/arm.h: Likewise.
  26267. * config/arm/netbsd-elf.h: Likewise.
  26268. * config/arm/netbsd.h: Likewise.
  26269. 2003-01-30 Geoffrey Keating <geoffk@apple.com>
  26270. * gengtype.c (struct walk_type_data): Add needs_cast_p.
  26271. (walk_type): Set needs_cast_p in walk_type_data.
  26272. (write_types_process_field): Supply casts when required to suppress
  26273. warnings.
  26274. (write_root): Cast gt_pch_n_S to suppress warning.
  26275. * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
  26276. * config/rs6000/rs6000.c (print_operand): Mask off high bits only
  26277. when they might exist.
  26278. * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
  26279. insn-conditions.o, and rs6000.o.
  26280. 2003-01-30 Richard Henderson <rth@redhat.com>
  26281. * ggc-page.c (G.context_depth_allocations): New.
  26282. (G.context_depth_collections): New.
  26283. (alloc_page): Set G.context_depth_allocations.
  26284. (ggc_collect): Set G.context_depth_collections.
  26285. (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
  26286. (ggc_pop_context): Early exit for no allocations or collections.
  26287. 2003-01-30 Richard Henderson <rth@redhat.com>
  26288. * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
  26289. 2003-01-30 Richard Earnshaw <rearnsha@arm.com>
  26290. * arm.c (arm_compute_initial_elimination_offset): If optimizing for
  26291. size, the link register is always saved if any other register is
  26292. saved.
  26293. 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
  26294. * config/h8300/h8300-protos.h: Update the prototype for
  26295. compute_plussi_cc.
  26296. (cpp_reader): Declare before it is used.
  26297. * config/h8300/h8300.c (compute_plussi_cc): Change the return
  26298. type to int.
  26299. * config/h8300/h8300.md (monitor_prologue): Call abort() if we
  26300. see an unknown H8 variant.
  26301. 2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  26302. PR target/9316
  26303. * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
  26304. * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
  26305. * config/rs6000/t-rtems: New file. multilib variants to match OS.
  26306. * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
  26307. rs6000/t-ppcgas so we get the desired multilibs.
  26308. 2003-01-30 Nick Clifton <nickc@redhat.com>
  26309. * config/arm/arm.c (arm_output_epilogue): Update stack pointer
  26310. when popping saved IP register off the stack.
  26311. 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
  26312. * config/rs6000/aix43.h: Fix comment typos.
  26313. * config/rs6000/aix51.h: Likewise.
  26314. * config/rs6000/aix52.h: Likewise.
  26315. * config/rs6000/altivec.h: Likewise.
  26316. * config/rs6000/rs6000.c: Likewise.
  26317. * config/rs6000/rs6000.h: Likewise.
  26318. * config/rs6000/rs6000.md: Likewise.
  26319. * config/rs6000/spe.md: Likewise.
  26320. 2003-01-29 Mark Mitchell <mark@codesourcery.com>
  26321. * c-common.c (builtin_define_float_constants): Define
  26322. __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
  26323. 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
  26324. * config/sh/lib1funcs.asm: Fix comment typos.
  26325. * config/sh/linux.h: Likewise.
  26326. * config/sh/sh.c: Likewise.
  26327. * config/sh/sh.md: Likewise.
  26328. 2003-01-30 Loren James Rittle <ljrittle@acm.org>
  26329. * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
  26330. 2003-01-30 Alexandre Oliva <aoliva@redhat.com>
  26331. * config/fp-bit.h (__make_dp): Declare if TMODES.
  26332. 2003-01-29 Kazu Hirata <kazu@cs.umass.edu>
  26333. * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
  26334. general_operand_src and general_operand_dst.
  26335. 2003-01-29 David Edelsohn <edelsohn@gnu.org>
  26336. * config/rs6000/rs6000.c (function_arg_pass_by_reference):
  26337. Return true for variable sized types.
  26338. (rs6000_va_arg): Handle variable sized types passed by reference
  26339. on non-SVR4 ABI.
  26340. 2003-01-29 Richard Earnshaw <rearnsha@arm.com>
  26341. * arm.c (arm_legtimize_address): New function.
  26342. * arm-protos.h (arm_legtimize_address): Add prototype.
  26343. * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
  26344. (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
  26345. do ... while (0)
  26346. 2003-01-29 Joel Sherrill <joel@OARcorp.com>
  26347. PR bootstrap/9296
  26348. * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code
  26349. depended on it being defined until now.
  26350. 2003-01-29 Joel Sherrill <joel@OARcorp.com>
  26351. PR target/9295
  26352. * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
  26353. RTEMS code knows which C++ initialization style the toolset
  26354. configuration is using.
  26355. 2003-01-29 Joel Sherrill <joel@OARcorp.com>
  26356. PR bootstrap/9293
  26357. * config/m68k/t-crtstuff: Replace spaces with tabs, add
  26358. $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
  26359. 2003-01-29 Joel Sherrill <joel@OARcorp.com>
  26360. PR bootstrap/9292
  26361. * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable
  26362. RTEMS threads.
  26363. * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
  26364. 2003-01-29 Nick Clifton <nickc@redhat.com>
  26365. * Makefile.in (c-parse.o): Locate source file in $(parsedir)
  26366. not $(srcdir).
  26367. 2003-01-29 Andrew Haley <aph@redhat.com>
  26368. * tree-inline.c (walk_tree): Add CHAR_TYPE.
  26369. 2003-01-29 Jan Hubicka <jh@suse.cz>
  26370. * i386.md (subdi3_carry_rex64): Fix typo.
  26371. 2003-01-28 Stan Shebs <shebs@apple.com>
  26372. * coretypes.h (cpp_reader): Forward declare struct.
  26373. * c-pragma.h (cpp_reader): Remove forward declaration.
  26374. * hashtable.h (cpp_reader): Likewise.
  26375. * scan.h (cpp_reader): Likewise.
  26376. * tree.h (cpp_reader): Likewise.
  26377. * config/darwin-protos.h (cpp_reader): Likewise.
  26378. * config/arm/arm-protos.h (cpp_reader): Likewise.
  26379. * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
  26380. struct cpp_reader in prototypes.
  26381. 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  26382. * doc/install.texi: Add documentation for installation into
  26383. tooldirs and with DESTDIR.
  26384. 2003-01-28 Richard Henderson <rth@redhat.com>
  26385. * config.gcc (ia64*-*-aix*): Remove.
  26386. * config/ia64/aix.h, config/ia64/t-aix: Remove file.
  26387. * config/ia64/unwind-aix.c: Remove file.
  26388. 2003-01-28 Andreas Schwab <schwab@suse.de>
  26389. * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
  26390. register.
  26391. * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
  26392. * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
  26393. * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
  26394. * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
  26395. * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
  26396. * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
  26397. * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
  26398. 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
  26399. * combine.c (nonzero_bits): Fix check for negative divide operands.
  26400. 2003-01-28 Richard Henderson <rth@redhat.com>
  26401. * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
  26402. * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
  26403. 2003-01-28 Richard Henderson <rth@redhat.com>
  26404. * cse.c (find_best_addr): Kill !ADDRESS_COST code.
  26405. * config/cris/cris.c (cris_address_cost): Make static.
  26406. (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
  26407. * config/cris/cris.h (ADDRESS_COST): Remove.
  26408. * config/cris/cris-protos.h: Update.
  26409. 2003-01-23 Mike Stump <mrs@apple.com>
  26410. * regclass.c (init_reg_autoinc): New function.
  26411. (regclass): Move initialization of forbidden_inc_dec_class from
  26412. here...
  26413. (init_regs): to here. Avoids reinitialization for each function,
  26414. saving compilation time.
  26415. 2003-01-28 Jason Merrill <jason@redhat.com>
  26416. * cpplib.h (struct cpp_options): Add warn_deprecated field.
  26417. * cppinit.c (cpp_create_reader): Turn it on by default.
  26418. * c-opts.c (c_common_decode_option): Set it.
  26419. * cpplib.c (do_pragma_once): Only complain about #pragma once
  26420. if warn_deprecated is set.
  26421. 2003-01-28 Dale Johannesen <dalej@apple.com>
  26422. * emit-rtl.c (const_double_htab_hash): Use mode in the hash.
  26423. * loop.c (scan_loop): Move movables on -Os rich-register targets.
  26424. * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR.
  26425. 2003-01-28 Richard Henderson <rth@redhat.com>
  26426. * target.h (targetm.address_cost): New.
  26427. * target-def.h (TARGET_ADDRESS_COST): New.
  26428. (TARGET_RTX_COSTS): Uncomment. Oops.
  26429. * cse.c (address_cost): Use new target hook.
  26430. (default_address_cost): New.
  26431. * output.h (default_address_cost): Declare.
  26432. * hooks.c (hook_int_rtx_0): New.
  26433. * hooks.h (hook_int_rtx_0): Declare.
  26434. * loop.c (combine_givs_p): Remove if 0 code.
  26435. * system.h (ADDRESS_COST): Poison.
  26436. * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
  26437. config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
  26438. config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
  26439. config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
  26440. config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
  26441. config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
  26442. config/xtensa/xtensa.c, config/xtensa/xtensa.h
  26443. (TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
  26444. (ADDRESS_COST): Remove.
  26445. * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
  26446. config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
  26447. config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
  26448. config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
  26449. config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
  26450. config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
  26451. config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
  26452. config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
  26453. config/mips/mips.c, config/mips/mips.h,
  26454. config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
  26455. config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
  26456. config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
  26457. config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
  26458. config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
  26459. config/vax/vax.c, config/vax/vax.h
  26460. (foo_address_cost): Make static.
  26461. (TARGET_ADDRESS_COST): New.
  26462. (ADDRESS_COST): Remove.
  26463. * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
  26464. config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
  26465. config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
  26466. config/stormy16/stormy16.h
  26467. (ADDRESS_COST): Move code ...
  26468. (foo_address_cost): ... here.
  26469. (TARGET_ADDRESS_COST): New.
  26470. * config/m32r/m32r.c (m32r_address_cost): Remove.
  26471. * config/m32r/m32r-protos.h: Update.
  26472. * config/mmix/mmix.c (mmix_address_cost): Remove.
  26473. * config/mmix/mmix-protos.h: Update.
  26474. * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
  26475. mn10300_address_cost; move unsig allocation ...
  26476. (mn10300_address_cost): ... here.
  26477. (TARGET_ADDRESS_COST): New.
  26478. * config/mn10300/mn10300-protos.h: Update.
  26479. * config/mn10300/mn10300.h (ADDRESS_COST): Remove.
  26480. * doc/tm.texi: Update.
  26481. 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
  26482. * haifa-sched.c (schedule_insn): Return necessary cycle advance
  26483. after issuing the insn.
  26484. (rank_for_schedule): Make a insn with /S the highest priority
  26485. insn.
  26486. (move_insn): Ignore schedule groups. Clear SCHED_GROUP_P.
  26487. (choose_ready): Check SCHED_GROUP_P.
  26488. (schedule_block): Advance cycle after issuing insn if it is
  26489. necessary. Don't reorder insns if there is an insn with /S.
  26490. (set_priorities): Ignore schedule groups.
  26491. * sched-deps.c (remove_dependence, group_leader): Remove the
  26492. functions.
  26493. (add_dependence): Ignore schedule groups.
  26494. (set_sched_group_p): Don't make copy of dependencies from previous
  26495. insn of the schedule group. Add anti-dependency to the previous
  26496. insn of the schedule group.
  26497. (compute_forward_dependences): Ignore schedule groups.
  26498. * sched-ebb.c (init_ready_list): Ignore schedule groups.
  26499. * sched-rgn.c (init_ready_list): Ditto.
  26500. (can_schedule_ready_p): Ditto.
  26501. 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
  26502. * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
  26503. register to another one.
  26504. 2003-01-28 Richard Henderson <rth@redhat.com>
  26505. * calls.c (default_must_pass_in_stack): Fix typo in !type case.
  26506. 2003-01-28 Roger Sayle <roger@eyesopen.com>
  26507. * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
  26508. 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
  26509. * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
  26510. class contains a floating-point register, return the size of the
  26511. mode in half words.
  26512. 2003-01-28 Jan Hubicka <jh@suse.cz>
  26513. * i386.c (ix86_carry_flag_operator): New predicate.
  26514. (fcmov_operator): Fix whitespace.
  26515. (ix86_expand_carry_flag_compare): Deal with floating point.
  26516. (ix86_expand_int_movcc): Deal with fp; update insn expansion
  26517. (ix86_expand_int_addcc): Likewise.
  26518. (ix86_expand_strlensi_unroll_1): likewsie.
  26519. * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
  26520. * i386.md (add?i_carry_rex64): Use new predicate.
  26521. (sub?i3_carry_rex64): Likewise.
  26522. (x86_mov?icc_0_m1*): Likewise.
  26523. 2003-01-28 Andreas Schwab <schwab@suse.de>
  26524. * cfgloopmanip.c (create_preheader): Initialize src to avoid
  26525. warning.
  26526. * expmed.c (emit_store_flag): Fix cast to avoid sign
  26527. comparison warning.
  26528. * combine.c (force_to_mode): Add cast to fix warning when
  26529. STORE_FLAG_VALUE is negative.
  26530. 2003-01-27 Richard Henderson <rth@redhat.com>
  26531. * Makefile.in (cse.o): Depend on TARGET_H.
  26532. * cse.c (rtx_cost): Use targetm.rtx_costs.
  26533. * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
  26534. * doc/tm.texi: Update.
  26535. * target.h (targetm.rtx_costs): New.
  26536. * target-def.h (TARGET_RTX_COSTS): New.
  26537. * hooks.c (hook_bool_rtx_int_int_intp_false): New.
  26538. * hooks.h: Update.
  26539. * config/alpha/alpha.c (alpha_rtx_cost_data): New.
  26540. (alpha_rtx_costs, TARGET_RTX_COSTS): New.
  26541. * config/alpha/alpha.h (PROCESSOR_MAX): New.
  26542. (CONST_COSTS, RTX_COSTS): Remove.
  26543. * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
  26544. config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
  26545. config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
  26546. config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
  26547. config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
  26548. config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
  26549. config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
  26550. config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
  26551. config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
  26552. config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
  26553. config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
  26554. config/mn10200/mn10200.h, config/mn10300/mn10300.c,
  26555. config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
  26556. config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
  26557. config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
  26558. config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
  26559. config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
  26560. config/stormy16/stormy16.c, config/stormy16/stormy16.h,
  26561. config/v850/v850.c, config/v850/v850.h,
  26562. config/xtensa/xtensa.c, config/xtensa/xtensa.h
  26563. (CONST_COSTS, RTX_COSTS): Move code ...
  26564. (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
  26565. * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
  26566. (arm_rtx_costs, TARGET_RTX_COSTS): New.
  26567. * config/arm/arm-protos.h: Update.
  26568. * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
  26569. * config/avr/avr.h (CONST_COSTS): Move code ...
  26570. * config/avr/avr.c (avr_rtx_costs): ... here.
  26571. (default_rtx_costs): Make static.
  26572. * config/avr/avr-protos.h: Update.
  26573. * config/h8300/h8300.c (const_costs): Make static.
  26574. (h8300_and_costs, h8300_shift_costs): Likewise.
  26575. * config/h8300/h8300-protos.h: Update.
  26576. * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
  26577. (CONST_COSTS): Move code ...
  26578. * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from
  26579. default_rtx_costs; update for signature change.
  26580. * config/ip2k/ip2k-protos.h: Update.
  26581. * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
  26582. (CONST_COSTS): Move code ...
  26583. * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
  26584. (TARGET_RTX_COSTS): New.
  26585. (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
  26586. * config/m68hc11/m68hc11-protos.h: Update.
  26587. * config/m68k/m68k.c (const_int_cost): Make static.
  26588. * config/m68k/m68k-protos.h: Update.
  26589. * config/mcore/mcore.c (mcore_const_costs): Make static.
  26590. (mcore_and_cost, mcore_ior_cost): Likewise.
  26591. * config/mcore/mcore-protos.h: Update.
  26592. * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
  26593. (mmix_rtx_cost_recalculated): Remove.
  26594. * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
  26595. * config/mmix/mmix-protos.h: Update.
  26596. * config/sh/sh.c (shiftcosts): Make static.
  26597. (addsubcosts, andcosts, multcosts): Likewise.
  26598. * config/sh/sh-protos.h: Update.
  26599. * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
  26600. (sparc_rtx_costs): Make static; update for change in signature.
  26601. * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
  26602. * config/sparc/sparc-protos.h: Update.
  26603. * config/v850/v850.c (const_costs): Make static.
  26604. * config/v850/v850-protos.h: Update.
  26605. * config/vax/vax.h (RTX_COSTS): Remove.
  26606. (CONST_COSTS): Move code ...
  26607. * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
  26608. from vax_rtx_cost.
  26609. (vax_rtx_costs, TARGET_RTX_COSTS): New.
  26610. 2003-01-27 Richard Henderson <rth@redhat.com>
  26611. * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.
  26612. * config/vax/vax-protos.h: Update. Really.
  26613. 2003-01-28 Alexandre Oliva <aoliva@redhat.com>
  26614. * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
  26615. (UNITS_PER_FPVALUE): Defined as the width of a long double, or
  26616. zero if no hardware floating point.
  26617. (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
  26618. (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
  26619. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
  26620. (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
  26621. (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
  26622. * config/mips/mips.c (mips_arg_info): Pass TFmode values in
  26623. even FP registers on N32 and N64.
  26624. (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
  26625. (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
  26626. (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional
  26627. even-register-like alignment to 128-bit arguments.
  26628. (save_restore_insns): Use UNITS_PER_HWFPVALUE.
  26629. (mips_function_value): Likewise. Return TFmode in $f0 and $f2
  26630. on N32 or N64.
  26631. * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
  26632. * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
  26633. (TPBIT): Set to tp-bit.c.
  26634. (tp-bit.c): Create out of fp-bit.c.
  26635. 2003-01-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
  26636. * c-parse.in: Remove '%expect 32' directive in objc mode.
  26637. 2003-01-27 Nathan Sidwell <nathan@codesourcery.com>
  26638. * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
  26639. (LIBGCOV): New variable.
  26640. (libgcc.mk): Add LIBGCOV.
  26641. (LIBGCC_DEPS): Add libgcov.c.
  26642. (libgcov.a): New target.
  26643. (clean): Remove libgcov.a.
  26644. (install-libgcc): Do libgcov too.
  26645. (stage1-start, stage2-start, stage3-start, stage4-start): Deal
  26646. with libgcov.a.
  26647. * libgcc2.c (L_gcov): Move into ...
  26648. * libgcov.c: ... here. New file.
  26649. * mklibgcc.in: Add libgcov rules.
  26650. * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
  26651. * doc/invoke.texi (profile-arcs, test-coverage): Update and
  26652. clarify.
  26653. * profile.c (index_counts_file): Remove duplicate check for open file.
  26654. 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
  26655. * gcc/doc/invoke.texi (Optimization Options): Group together
  26656. optional and experimental flags. Move trapv and bounds-check
  26657. out of this section. Group floating point flags together.
  26658. (Code Gen Options): Move trapv and bounds-check to here.
  26659. 2003-01-27 Josef Zlomek <zlomekj@suse.cz>
  26660. * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
  26661. 2003-01-27 Richard Earnshaw <rearnsha@arm.com>
  26662. PR optimization/9090
  26663. * function.c (purge_addressof_1): After pushing an addressed register
  26664. onto the stack, simplify the result.
  26665. 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  26666. * doc/extend.texi: Fix typo.
  26667. 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  26668. * doc/cppopts.texi: Fix typo.
  26669. * doc/objc.texi: Likewise.
  26670. * doc/passes.texi: Likewise.
  26671. 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
  26672. * real.c (ibm_extended_format): Add 53 to minimum exponent.
  26673. (encode_ibm_extended): Adjust.
  26674. 2003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
  26675. * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
  26676. timevar_id enumerations.
  26677. 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
  26678. * combine.c: Fix formatting.
  26679. 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
  26680. * doc/gccint.texi: Update the copyright.
  26681. 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
  26682. * doc/cpp.texi: Fix typos.
  26683. * doc/extend.texi: Likewise.
  26684. * doc/gty.texi: Likewise.
  26685. * doc/install.texi: Likewise.
  26686. * doc/passes.texi: Likewise.
  26687. * doc/rtl.texi: Likewise.
  26688. * doc/tm.texi: Likewise.
  26689. 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
  26690. * config/ia64/fde-glibc.c: Fix comment typos.
  26691. * config/ia64/hpux.h: Likewise.
  26692. * config/ia64/ia64.c: Likewise.
  26693. * config/ia64/ia64.h: Likewise.
  26694. * config/ia64/unwind-ia64.c: Likewise.
  26695. 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
  26696. * config/i386/i386-modes.def: Fix comment typos.
  26697. * config/i386/i386.c: Likewise.
  26698. * config/i386/i386.md: Likewise.
  26699. 2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl>
  26700. * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
  26701. config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
  26702. ASM_FINISH_DECLARE_OBJECT before defining it.
  26703. * toplev.c (rest_of_decl_compilation): Don't define
  26704. ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined.
  26705. (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
  26706. parameters for DWARF2 targets because they _are_ used.
  26707. 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
  26708. * fp-bit.h: Define macros for TFmode floating-point constants
  26709. in IBM-extended TFmode types.
  26710. (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
  26711. widths.
  26712. * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
  26713. TFmode type.
  26714. * config/fp-bit.h: Define macros for TFmode floating-point
  26715. constants in IEEE quad TFmode type. Declare functions according
  26716. to L_ macros.
  26717. (TMODES): Define if __LDBL_MANT_DIG__ is 113.
  26718. (TFtype, TItype, UTItype): Define if TMODES is defined.
  26719. (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
  26720. (F_T_BITOFF, D_T_BITOFF): Define.
  26721. (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
  26722. guaranteed to be wide enough.
  26723. * config/fp-bit.c: Check for L_ macros for tf functions.
  26724. (__thenan_tf): New.
  26725. (nan): Adjust.
  26726. (pack_d, unpack_d): Support IEEE 854 quad type.
  26727. (_fpmul_parts): Support TFmode. Compute exponent adjustment
  26728. from FRAC_NBITS, FRAC_BITS and NGARDS.
  26729. (usi_to_float): Cast constants to be shifted to fractype
  26730. instead of assuming long long is wide enough.
  26731. (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
  26732. 2003-01-26 Andreas Jaeger <aj@suse.de>
  26733. * df.c: Remove prototype of unused function df_regno_rtl_debug.
  26734. 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
  26735. * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
  26736. (DBBIT_FUNCS): Added _df_to_tf.
  26737. (TPBIT_FUNCS): New.
  26738. (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
  26739. (LIBGCC_DEPS): Added TPBIT.
  26740. * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
  26741. * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
  26742. been able to move the result to target.
  26743. * expr.c (emit_group_store): Initialize dst with CONST0_RTX
  26744. for the appropriate mode.
  26745. * calls.c (emit_library_call_value_1): Handle return values
  26746. in a PARALLEL.
  26747. * rtl.c (get_mode_alignment): Moved to...
  26748. * stor-layout.c: ... here.
  26749. * print-rtl.c (print_rtx): Don't print MEM details in
  26750. GENERATOR_FILEs.
  26751. 2003-01-26 Michael Hayes <mph@paradise.net.nz>
  26752. * df.h: Update comments, tidy formatting.
  26753. (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
  26754. REVERSE, UNION, INTERSECTION. All uses updated.
  26755. (OLD_DF_INTERFACE): Remove.
  26756. (struct insn_info): Remove commented out insn field.
  26757. * df.c: Update comments, tidy formatting.
  26758. (df_def_table_realloc): Remove.
  26759. 2003-01-26 Alan Modra <amodra@bigpond.net.au>
  26760. * calls.c (save_fixed_argument_area): Tidy.
  26761. (restore_fixed_argument_area): Tidy. Set alignment of stack_area.
  26762. (expand_call): Comment typo fixes. Don't init low_to_save. Start
  26763. call chain loop at 1 if !try_tail_call. Formatting.
  26764. (emit_library_call_value_1): Don't init low_to_save or high_to_save.
  26765. Use save_fixed_argument_area and restore_fixed_argument_area.
  26766. 2003-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  26767. * df.c (df_uses_record): Handle CC0.
  26768. 2003-01-25 Ulrich Weigand <uweigand@de.ibm.com>
  26769. * reload.c (maybe_memory_address_p): New function.
  26770. (find_reloads_address): Use it instead of memory_address_p.
  26771. 2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
  26772. * final.c (shorten_branches): Align the address of code label
  26773. when computing initial lengths and addresses.
  26774. 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
  26775. * config/m68hc11/m68hc11.md: Fix a comment typo.
  26776. 2003-01-25 Andreas Jaeger <aj@suse.de>
  26777. * config/i386/i386.c (x86_output_mi_thunk): Correct test for
  26778. TARGET_MACHO.
  26779. 2003-01-25 Roger Sayle <roger@eyesopen.com>
  26780. * gcse.c (bypass_last_basic_block): New global variable.
  26781. (bypass_block): Use redirect_edge_and_branch_force to redirect
  26782. fall-through edges. Use bypass_last_basic_block to determine
  26783. which blocks have valid PRE information.
  26784. (bypass_conditional_jumps): Initialize bypass_last_basic_block.
  26785. 2003-01-25 Jan Hubicka <jh@suse.cz>
  26786. * gcse.c (local_cprop_pass): Update reg_sets table when needed.
  26787. 2003-01-25 Jan Hubicka <jh@suse.cz>
  26788. Eric Botcazou <ebotcazou@libertysurf.fr>
  26789. PR opt/8492
  26790. * gcse.c (one_cprop_pass): Delete unreachable blocks.
  26791. 2003-01-25 Richard Henderson <rth@redhat.com>
  26792. * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
  26793. from ia64_aix_select_rtx_section.
  26794. (ia64_rwreloc_select_section): Simlarly; use default*_1 function
  26795. instead of saving and restoring flag_pic.
  26796. (ia64_rwreloc_unique_section): Similarly.
  26797. * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
  26798. TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
  26799. * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
  26800. TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
  26801. 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
  26802. * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
  26803. comment.
  26804. 2003-01-25 Richard Henderson <rth@redhat.com>
  26805. * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
  26806. 2003-01-25 Kelley Cook <kelleycook@comcast.net>
  26807. * ggc-simple.c (debug_ggc_tree): Add PTR cast.
  26808. 2003-01-25 Segher Boessenkool <segher@koffie.nl>
  26809. * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
  26810. type for bitmaps. Use unsigned long.
  26811. (nBITMAP_WORD_BITS): New macro.
  26812. (BITMAP_WORD_BITS): New macro.
  26813. (rest of file): Use it.
  26814. * bitmap.c: Use it.
  26815. 2003-01-25 Richard Henderson <rth@redhat.com>
  26816. 2002-02-19 Robert Lipe <robertlipe@usa.net>
  26817. * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
  26818. 2003-01-25 Roger Sayle <roger@eyesopen.com>
  26819. * builtins.c (purge_builtin_constant_p): Scan insn stream
  26820. sequentially rather than by basic block.
  26821. * function.c (purge_addressof): Simplify test with INSN_P.
  26822. 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
  26823. * combine.c (simplify_comparison, case AND): Remove a redundant test.
  26824. 2003-01-25 Roger Sayle <roger@eyesopen.com>
  26825. * function.h (struct function): New field calls_constant_p.
  26826. (current_function_calls_constant_p): New macro for above.
  26827. * function.c (prepare_function_start): Initialize calls_eh_return
  26828. and calls_constant_p.
  26829. * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
  26830. * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
  26831. when the current_function_calls_constant_p.
  26832. * integrate.c (expand_inline_function): Set calls_constant_p if
  26833. the function being inlined has calls_constant_p set.
  26834. 2003-01-25 Roger Sayle <roger@eyesopen.com>
  26835. * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
  26836. optimizing, even if flag_gcse is true.
  26837. * toplev.c (rest_of_compilation): purge_builtin_constant_p
  26838. only needs to be called when "optimize > 0 && flag_gcse".
  26839. 2003-01-25 Roger Sayle <roger@eyesopen.com>
  26840. * stmt.c (emit_case_bit_tests): New routine to implement suitable
  26841. switch statements using the equivalent of "if ((1<<x) & cst) ... ".
  26842. (case_bit_test_cmp): New comparison function for "qsort" to order
  26843. case_bit_tests by decreasing number of destination nodes.
  26844. (lshift_cheap_p): New function to determine if "1 << x" is cheap.
  26845. (expand_end_case_type): Use emit_case_bit_tests to implement
  26846. suitable switch statments.
  26847. (CASE_USE_BIT_TESTS): New target macro to disable the above.
  26848. * Makefile.in (stmt.o): Add dependency on optab.h.
  26849. * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
  26850. 2003-01-23 Andreas Schwab <schwab@suse.de>
  26851. * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
  26852. __do_global_ctors_aux hidden global and don't put it in
  26853. .init_array.
  26854. * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
  26855. instead so that it comes first.
  26856. 2003-01-25 Jan Hubicka <jh@suse.cz>
  26857. * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD,
  26858. subreg is read/modify.
  26859. 2003-01-25 Jan Hubicka <jh@suse.cz>
  26860. * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
  26861. do libcall for large blocks.
  26862. * i386.md (comi patterns): Set type to ssecomi.
  26863. (sse2_unpck?pd): Fix mode of vec_select.
  26864. * cse.c: Include except.h
  26865. (cse_set_around_loop): Do not create new basic blocks.
  26866. * Makefile.in (cse.o): Add dependnecy on except.h
  26867. 2003-01-25 Jan Hubicka <jh@suse.cz>
  26868. * builtins.c (fold_trunc_transparent_mathfn): New function.
  26869. (fold_builtin): Use it.
  26870. * convert.c (convert_to_real): Re-enable code to convert
  26871. math functions; add support for floor familly functions.
  26872. 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  26873. * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
  26874. dependencies on coretypes.h and $(TM_H).
  26875. 2003-01-25 Jan Hubicka <jh@suse.cz>
  26876. * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.
  26877. 2003-01-24 Stuart Hastings <stuart@apple.com>
  26878. * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
  26879. 2003-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  26880. * config/c4x/c4x.md (UNSPEC_BU): New constants.
  26881. (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
  26882. (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
  26883. (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
  26884. (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise.
  26885. (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise.
  26886. (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise.
  26887. (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise.
  26888. 2003-01-24 Jan Hubicka <jh@suse.cz>
  26889. * emit-rtl.c (reg_attrs_htab): New static variable.
  26890. (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
  26891. functions.
  26892. (reg_rtx): Do not maintain regno_decl.
  26893. (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
  26894. set_mem_attrs_from_reg): New global function.
  26895. (init_emit): Do not initialize regno_decl.
  26896. (init_emit_once): initialize reg_attrs_htab.
  26897. * final.c (alter_subreg): Do not replace REG by SUBREG.
  26898. (gen_mem_expr_from_op): Improve output.
  26899. (output_asm_operands): Likewise.
  26900. * function.c (assign_params): Do not set REGNO_DECL.
  26901. * function.h (struct function): Kill regno_decl.
  26902. (REGNO_DECL): Kill.
  26903. * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
  26904. * print_rtl.c (print_rtx): Output REG information.
  26905. * regclass.c (reg_scan_mark_refs): Update attrs.
  26906. * reload1.c (alter_reg): Likewise.
  26907. * simplify_rtx.c (simplify_subreg): Likewise.
  26908. * stmt.c (expand_decl): Likewise.
  26909. * rtl.def (REG): Add new field.
  26910. * rtl.h (struct reg_attrs): New.
  26911. (rtunion_def): At rtreg.
  26912. (X0MEMATTR): Add checking.
  26913. (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
  26914. (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
  26915. Declare.
  26916. * tree.h (SET_DECL_RTL): Call set_decl_rtl.
  26917. 2003-01-24 Bob Wilson <bob.wilson@acm.org>
  26918. * config/xtensa/xtensa.c: Remove unused include of machmode.h.
  26919. (xtensa_emit_call, print_operand): Fix printf format strings
  26920. to avoid compile warnings.
  26921. (xtensa_function_prologue, xtensa_function_epilogue): Change type
  26922. of "size" argument to HOST_WIDE_INT to fix compile warnings.
  26923. * config/xtensa/xtensa-protos.h
  26924. (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
  26925. 2003-01-24 Jan Hubicka <jh@suse.cz>
  26926. * builtins.c (DEF_BUILTIN): Accept 10 arguments.
  26927. (implicit_built_in_decls): New global array.
  26928. (mathfn_built_in): New global function.
  26929. (fold_trunc_transparent_mathfn): New static function
  26930. (expand_builtin_strstr, expand_bultin_strchr,
  26931. expand_builtin_strpbrk, expand_builtin_strcpy,
  26932. expand_builtin_strncpy, expand_bultin_strcmp,
  26933. expand_bultin_strncat, expand_builtin_fputs): Use
  26934. implicint_built_in_decls.
  26935. (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
  26936. * builtins.def: Fix comments.
  26937. (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
  26938. DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
  26939. DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
  26940. DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
  26941. (DEF_C99_C90RES_BULTIN): New.
  26942. (*f, *l builtins): Update.
  26943. * c-common.c (DEF_BUILTIN): Initialize implicit array.
  26944. (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
  26945. * convert.c (strip_float_extensions): New global function.
  26946. * tree.h (DEF_BUILTIN): Accept 10 arguments.
  26947. (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
  26948. Declare.
  26949. * java/builtins.c (define_builtin): Handle implicit.
  26950. (DEF_BUILTIN): Update.
  26951. * tm.texi (TARGET_C99_FUNCTIONS): Document.
  26952. * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
  26953. * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
  26954. when using glibc2.
  26955. 2003-01-24 Bob Wilson <bob.wilson@acm.org>
  26956. * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
  26957. extra_parts, and fixincludes. Add xtensa/t-elf tmake_file.
  26958. (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
  26959. * config/xtensa/crti.asm: New file.
  26960. * config/xtensa/crtn.asm: New file.
  26961. * config/xtensa/t-elf: New file.
  26962. * config/xtensa/t-linux: New file.
  26963. * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
  26964. Move various CFLAGS settings to new t-elf file.
  26965. 2003-01-24 Richard Henderson <rth@redhat.com>
  26966. PR optimization/4382
  26967. * tree-inline.c (find_builtin_longjmp_call_1): New.
  26968. (find_builtin_longjmp_call): New.
  26969. (inlinable_function_p): Use it.
  26970. 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  26971. * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
  26972. * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
  26973. * config/i386/i386.c (function_arg_pass_by_reference): New.
  26974. (ix86_va_arg): Support arguments passed by reference.
  26975. 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  26976. * cfgloopanal.c: New file.
  26977. * cfgloopmanip.c: New file.
  26978. * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
  26979. (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
  26980. cfglayout.o): Add dependency on cfgloop.h.
  26981. (cfgloop.o): Add flags.h dependency.
  26982. * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
  26983. (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
  26984. (struct loop, struct loops, flow_loops_find, flow_loops_update,
  26985. flow_loops_free, flow_loops_dump, flow_loop_dump,
  26986. flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
  26987. LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
  26988. LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
  26989. flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
  26990. loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
  26991. find_common_loop, verify_loop_structure): Declarations moved to ...
  26992. * cfgloop.h: New file.
  26993. * bb-reorder.c (reorder_basic_blocks): Modified.
  26994. * cfglayout.c: Include cfgloop.h.
  26995. (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
  26996. cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
  26997. (break_superblocks): New static function.
  26998. (cfg_layout_finalize): Use it.
  26999. (cfg_layout_split_block): New function.
  27000. * cfglayout.h (struct reorder_block_def): Add copy and duplicated
  27001. fields.
  27002. (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
  27003. changed.
  27004. (cfg_layout_split_block): Declare.
  27005. * cfgloop.c: Include cfgloop.h and flags.h.
  27006. (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
  27007. get_loop_body): Avoid signed versus unsigned comparison warnings.
  27008. (make_forwarder_block, flow_loops_find, loop_preheader_edge,
  27009. loop_latch_edge): Modified.
  27010. (verify_loop_structure): Modified to use flags stored in loop structure;
  27011. check irreducible loops.
  27012. (cancel_loop, cancel_loop_tree): New functions.
  27013. (estimate_probability): Use loop analysis code for predictions.
  27014. (estimate_loops_at_level): Avoid signed versus unsigned comparison
  27015. warnings.
  27016. * doloop.c: Include cfgloop.h.
  27017. * loop.c: Include cfgloop.h.
  27018. * predict.c: Include cfgloop.h.
  27019. * toplev.c: Include cfgloop.h.
  27020. * unroll.c: Include cfgloop.h.
  27021. * tracer.c (tracer): Modified.
  27022. 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
  27023. * config/h8300/h8300.c (get_shift_alg): Fix a typo.
  27024. 2003-01-24 Ulrich Weigand <uweigand@de.ibm.com>
  27025. * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
  27026. * configure: Regenerate.
  27027. * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
  27028. (tls_symbolic_reference_mentioned_p): Add prototype.
  27029. (s390_tls_get_offset): Add prototype.
  27030. (emit_pic_move): Remove prototype, replace by ...
  27031. (emit_symbolic_move): .. this new prototype.
  27032. * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
  27033. (tls_model_chars): New global variable.
  27034. (s390_encode_section_info): Encode TLS model.
  27035. Use targetm.binds_local_p to check for local symbols.
  27036. (s390_strip_name_encoding): New function.
  27037. (TARGET_STRIP_NAME_ENCODING): Define.
  27038. (get_thread_pointer): New function.
  27039. (legitimize_tls_address): New function.
  27040. (legitimize_address): Call it.
  27041. (emit_pic_move): Remove, replace by ...
  27042. (emit_symbolic_move): ... this new function.
  27043. (larl_operand): Handle TLS operands.
  27044. (legitimate_constant_p): Likewise.
  27045. (s390_decompose_address): Likewise.
  27046. (s390_cannot_force_const_mem): New function.
  27047. (TARGET_CANNOT_FORCE_CONST_MEM): Define.
  27048. (s390_output_symbolic_const): Handle TLS unspecs.
  27049. (print_operand): New code 'J'.
  27050. (machine_function): Add struct member 'some_ld_name'.
  27051. (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
  27052. (enum s390_builtin): New type.
  27053. (code_for_builtin_64, code_for_builtin_31): New global variables.
  27054. (s390_init_builtins, s390_expand_builtin): New functions.
  27055. (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
  27056. * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
  27057. (ASM_OUTPUT_LABELREF): Define.
  27058. (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
  27059. * config/s390/s390.md: Define TLS UNSPEC constants.
  27060. ("movdi", "movsi"): Handle TLS operands.
  27061. ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
  27062. ("*tls_load_64", "*tls_load_31"): New insns.
  27063. ("call_value_tls", "call_value_tls_exp"): New expanders.
  27064. ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
  27065. "bas_tls_64", "bas_tls_31"): New insns.
  27066. 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
  27067. * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
  27068. spe ABI is configured, if requested.
  27069. 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  27070. * doc/passes.texi: Fix typo.
  27071. 2003-01-24 Andreas Schwab <schwab@suse.de>
  27072. * stor-layout.c (excess_unit_span): Only define if used.
  27073. 2003-01-24 Jerry Quinn <jlquinn@optonline.net>
  27074. * gcc/doc/invoke.texi (Optimization Options): List -O levels
  27075. for each optimization flag.
  27076. 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
  27077. * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
  27078. 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  27079. * doc/bugreport.texi: Use @command instead of @code for commands.
  27080. * doc/collect2.texi: Likewise.
  27081. * doc/headerdirs.texi: Likewise.
  27082. * doc/invoke.texi: Likewise.
  27083. * doc/standards.texi: Likewise.
  27084. * doc/tm.texi: Likewise.
  27085. * doc/trouble.texi: Likewise.
  27086. 2003-01-24 Nick Clifton <nickc@redhat.com>
  27087. * config/arm/arm.c (use_return_insn): Do not use a single return
  27088. instruction for interrupt handelrs which have to create a stack
  27089. frame.
  27090. (arm_expand_prologue): Do not pre-bias the return address of
  27091. interrupt handlers which create a stack frame.
  27092. 2003-01-24 Nick Clifton <nickc@redhat.com>
  27093. * Add sh2e support:
  27094. 2002-08-12 Alexandre Oliva <aoliva@redhat.com>
  27095. * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
  27096. med_cbranches. Fix logic in short_cbranches.
  27097. 2002-04-03 Alexandre Oliva <aoliva@redhat.com>
  27098. * config/sh/sh.md (delay for cbranch): Don't annul delay
  27099. slots on SH2e.
  27100. * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
  27101. cbranch with unfilled delay slot on SH2e.
  27102. (output_branch): Fill with a nop the delay slot of a
  27103. branch that required a delay slot but didn't get one.
  27104. 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
  27105. * doc/invoke.texi (SH options): Document -m2e.
  27106. * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
  27107. * config/sh/lib1funcs.asm: Likewise.
  27108. * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
  27109. * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
  27110. not __sh1__.
  27111. (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
  27112. SH2E up.
  27113. (SH3E_BIT): Renamed to...
  27114. (SH_E_BIT): ... this. Replace all uses.
  27115. (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
  27116. Replace all uses of TARGET_SH3E with TARGET_SH2E.
  27117. (TARGET_SWITCHES): Added 2e.
  27118. (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
  27119. (processor_type): Added PROCESSOR_SH2E.
  27120. * config/sh/sh.md: Replace all uses of TARGET_SH3E with
  27121. TARGET_SH2E, except in sqrtsf2_i.
  27122. (attribute cpu): Added sh2e.
  27123. * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
  27124. (MULTILIB_MATCHES): Use m2e multilib for m3e.
  27125. * config.gcc: Add sh2e target support.
  27126. 2003-01-24 Phil Edwards <pme@gcc.gnu.org>
  27127. Rename -W to -Wextra.
  27128. * c-decl.c: Update comments.
  27129. * c-typeck.c: Likewise.
  27130. * flags.h: Likewise.
  27131. * function.c: Likewise.
  27132. * stmt.c: Likewise.
  27133. * toplev.c: Update comments.
  27134. (W_options): Add 'extra'.
  27135. (display_help): Remove '-W'.
  27136. (decode_W_option): Special warn_uninitialized treatment in the case
  27137. of -Wextra.
  27138. * doc/invoke.texi: Update with new entries.
  27139. 2003-01-23 Richard Henderson <rth@redhat.com>
  27140. * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
  27141. in no-else-block case. Add commentary.
  27142. 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27143. * configure.in: Revert last change.
  27144. 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27145. * configure.in: Don't include ansidecl.h in tconfig.h.
  27146. * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED): Define if IN_LIBGCC2.
  27147. * unwind-dw2-fde.h (last_fde): Use __attribute__, not
  27148. ATTRIBUTE_UNUSED.
  27149. * configure: Regenerate.
  27150. 2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  27151. PR java/6748
  27152. * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
  27153. regs->nip. Fix rt_sigreturn frame layout. Add support for newer
  27154. kernels.
  27155. 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27156. * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
  27157. 2003-01-23 Ulrich Weigand <uweigand@de.ibm.com>
  27158. * genattrtab.c (write_attr_get): Mark 'insn' paramter
  27159. as ATTRIBUTE_UNUSED.
  27160. 2003-01-23 Richard Earnshaw <rearnsha@arm.com>
  27161. * arm.c (thumb_base_register_rtx_p): New function.
  27162. (thumb_index_register_rtx_p): New function.
  27163. (thumb_legitimate_address_p): New function.
  27164. (thumb_legitimate_offset_p): New function.
  27165. * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
  27166. (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
  27167. definitions.
  27168. (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
  27169. (THUMB_LEGITIMATE_OFFSET): Delte.
  27170. (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
  27171. * arm-protos.h (thumb_legitimate_address_p): Add prototype.
  27172. (thumb_legitimate_offset_p): Likewise.
  27173. 2003-01-23 Andreas Schwab <schwab@suse.de>
  27174. * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
  27175. 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27176. * fixinc/Makefile.in (FL_LIST): Revert last change.
  27177. 2003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  27178. PR other/7341
  27179. * invoke.texi (ftest-coverage): Fix broken cross-reference.
  27180. Change @code to @command for gcov command.
  27181. * gcc.texi: Adjust title of gcov section.
  27182. Adjust copyright.
  27183. * gcov.texi: Likewise.
  27184. 2003-01-22 Roger Sayle <roger@eyesopen.com>
  27185. PR optimization/8423
  27186. * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
  27187. its argument is constant, or 0 if !flag_gcse.
  27188. * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
  27189. if it's argument is constant.
  27190. * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
  27191. (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
  27192. (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
  27193. * builtins.c (purge_builtin_constant_p): New function to force
  27194. instantiation of any remaining CONSTANT_P_RTX nodes.
  27195. * rtl.h (purge_builtin_constant_p): Prototype here.
  27196. * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
  27197. pass after GCSE and before loop.
  27198. (flag_gcse): No longer static.
  27199. * flags.h (flag_gcse): Prototype here.
  27200. 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
  27201. * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
  27202. introduced by last change.
  27203. 2003-01-22 Andreas Schwab <schwab@suse.de>
  27204. * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
  27205. 2003-01-22 Kazu Hirata <kazu@cs.umass.edu>
  27206. * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
  27207. request a scratch reg on H8S when the shift count is 8.
  27208. 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
  27209. * config/s390/s390-protos.h (preferred_la_operand_p):
  27210. Remove second parameter.
  27211. * config/s390/s390.c (preferred_la_operand_p): Likewise.
  27212. * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
  27213. (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
  27214. * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
  27215. Add peepholes to transform ADD to LOAD ADDRESS.
  27216. 2003-01-22 Richard Earnshaw <rearnsha@arm.com>
  27217. * arm.c (arm_address_register_rtx_p): New function.
  27218. (arm_legitimate_address_p): New function.
  27219. (arm_legitimate_index_p): New function.
  27220. (legitimize_pic_address): Use arm_legitimate_index_p.
  27221. * arm-protos.h (arm_legtimate_address_p): Add prototype.
  27222. * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
  27223. (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
  27224. 2003-01-22 Hartmut Penner <hpenner@de.ibm.com>
  27225. * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
  27226. * config/s390/2064.md (define_bypass): Correct 'Load' and
  27227. 'Load-address' bypass values.
  27228. 2003-01-22 Andreas Schwab <schwab@suse.de>
  27229. * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
  27230. 2003-01-21 Zack Weinberg <zack@codesourcery.com>
  27231. * genautomata.c (output_internal_insn_latency_func,
  27232. output_print_reservation_func): Short circuit when there is no
  27233. automaton to generate code for.
  27234. 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27235. * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
  27236. (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
  27237. 2003-01-21 Geoffrey Keating <geoffk@apple.com>
  27238. * config/rs6000/rs6000.md: Remove warning.
  27239. (builtin_setjmp_receiver): Likewise.
  27240. * config/darwin.c (update_stubs): Slightly improve terrible hack
  27241. with identifiers. Add comment pointing out problems with it.
  27242. (update_non_lazy_ptrs): Likewise.
  27243. 2003-01-21 Richard Henderson <rth@redhat.com>
  27244. * dwarf2out.c (lookup_filename): Fix printf format warning.
  27245. * system.h (fread_unlocked, fwrite_unlocked): Undef.
  27246. * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
  27247. (fixincl.o-warn, gnu-regex.o-warn): New.
  27248. * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
  27249. * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
  27250. * fixinc/fixincl.c (process): Fix printf format warning.
  27251. 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
  27252. * dwarf2out (output_file_names): Don't crash if called
  27253. with empty file_table.
  27254. 2003-01-21 Zack Weinberg <zack@codesourcery.com>
  27255. * genautomata.c (output_internal_insn_latency_func): Add
  27256. missing break statement to generated code.
  27257. 2003-01-21 Roger Sayle <roger@eyesopen.com>
  27258. * stmt.c (same_case_target_p): New function to determine whether
  27259. two case labels branch to the same target. Split out from...
  27260. (group_case_nodes): ... here. Use same_case_target_p instead.
  27261. (strip_default_case_nodes): Remove explicit case nodes
  27262. that branch to the default destination.
  27263. (expand_end_case_type): Call strip_default_case_nodes after
  27264. group_case_nodes, to simplify the case-list before we count it.
  27265. Only generate table_label RTX when actually needed. Try to share
  27266. thiscase->exit_label and thiscase->data.case_stmt.default_label
  27267. when a switch has no explicit default case. Simplify test for
  27268. constant index.
  27269. 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
  27270. * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
  27271. \t.
  27272. (*negsf2_h8300hs): Likewise.
  27273. (*addsi3_lshiftrt_16_zexthi): Likewise.
  27274. (*iorhi3_lshiftrt_8): Likewise.
  27275. 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
  27276. * dwarf2out.c (fde_table_in_use): Mark GTY.
  27277. (dwarf2out_cfi_label_num): New variable, marked GTY.
  27278. (dwarf2out_cfi_label): Use it instead of static label_num.
  27279. * emit-rtl.c (label_num): Mark GTY.
  27280. 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
  27281. * config/h8300/h8300.c (output_plussi): Support H8/300.
  27282. (compute_plussi_length): Likewise.
  27283. (compute_plussi_cc): Likewise.
  27284. * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
  27285. output assembly instructions.
  27286. 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27287. * calls.c (fix_unsafe_tree): Prototype.
  27288. * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
  27289. (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
  27290. insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
  27291. c-parse.o-warn): Add -Wno-error.
  27292. (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
  27293. * configure.in (--enable-werror): Add new flag.
  27294. * doc/install.texi (--enable-werror): Document.
  27295. * configure: Regenerate.
  27296. * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
  27297. 2003-01-21 Andreas Schwab <schwab@suse.de>
  27298. * genautomata.c (output_internal_insn_latency_func): Fix missing
  27299. close paren in output.
  27300. 2003-01-21 Zack Weinberg <zack@codesourcery.com>
  27301. * genautomata.c: Space savings in generated code:
  27302. (output_dfa_insn_code_func): Split out the table-enlargement
  27303. path to an out-of-line static function, dfa_insn_code_enlarge.
  27304. (output_internal_insn_latency_func): Use a lookup table for the
  27305. default latencies.
  27306. (output_print_reservation_func): Use a lookup table for the
  27307. strings.
  27308. 2003-01-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
  27309. PR opt/7507
  27310. * calls.c (fix_unsafe_tree): Split out from ...
  27311. (expand_call): ... here. Use it on the function address too.
  27312. 2003-01-20 Richard Henderson <rth@redhat.com>
  27313. * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
  27314. 2003-01-20 Richard Henderson <rth@redhat.com>
  27315. PR opt/7154
  27316. * stmt.c (expand_asm_operands): Validize memory operands.
  27317. 2003-01-20 Richard Henderson <rth@redhat.com>
  27318. PR opt/8848
  27319. * ifcvt.c (noce_process_if_block): Correct arguments to
  27320. modified_between_p for no-else-block case.
  27321. 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
  27322. * config/h8300/h8300.c (const_costs): Remove a warning.
  27323. (output_plussi): Likewise.
  27324. (compute_plussi_length): Likewise.
  27325. (compute_plussi_cc): Likewise.
  27326. 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
  27327. * config/h8300/h8300.md (addsi_h8300): Remove the last
  27328. alternative.
  27329. 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
  27330. * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
  27331. 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27332. * system.h (__NO_STRING_INLINES): Define.
  27333. 2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  27334. * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
  27335. is not a scalar int mode.
  27336. 2003-01-20 Roger Sayle <roger@eyesopen.com>
  27337. * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
  27338. insn's notes following a substitution inside a libcall.
  27339. 2003-01-20 Zack Weinberg <zack@codesourcery.com>
  27340. * configure.in: Check for system-provided 'uchar' type.
  27341. * configure, config.in: Regenerate.
  27342. * cpphash.h: Only typedef 'uchar' if the system doesn't.
  27343. 2003-01-20 Richard Henderson <rth@redhat.com>
  27344. * expr.h (MUST_PASS_IN_STACK): Move implementation...
  27345. * calls.c (default_must_pass_in_stack): ... here.
  27346. 2003-01-20 Vladimir Makarov <vmakarov@redhat.com>
  27347. * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
  27348. * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
  27349. * genattr.c (main): Output default definition of AUTOMATON_ALTS.
  27350. Wrap up definition of `insn_alts'.
  27351. * genattrtab.c (main): Wrap up `insn_alts'.
  27352. 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27353. * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
  27354. prototyping.
  27355. * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
  27356. * config.in, configure: Regenerate.
  27357. 2003-01-20 Nick Clifton <nickc@redhat.com>
  27358. * config/arm/arm.md (sibcall_epilogue): Add an
  27359. UNSPEC_PROLOGUE_USE to prevent the link register from being
  27360. considered dead.
  27361. 2003-01-20 Jan Hubicka <jh@suse.cz>
  27362. * i386.md (SSE cmov splitter): Handle memory operand in operand 5.
  27363. 2003-01-20 Andreas Schwab <schwab@suse.de>
  27364. * system.h: Don't declare strsignal if the decl test hasn't been
  27365. run yet.
  27366. 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
  27367. * config/h8300/h8300.c (notice_update_cc): Don't assume that
  27368. recog_data.operands[0] is always associated with cc0.
  27369. 2003-01-19 David Edelsohn <edelsohn@gnu.org>
  27370. * collect2.c (ldgetname): Expand declaration to prototype.
  27371. * read-rtl.c (atoll): Add prototype.
  27372. * system.h (strsignal): Also declare if no declaration found.
  27373. 2003-01-19 Alexandre Oliva <aoliva@redhat.com>
  27374. * config.gcc (mips64*-*-linux*): Added.
  27375. * config/mips/linux64.h, config/mips/t-linux64: New file.
  27376. * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
  27377. * config/mips/mips.c (override_options): Use it.
  27378. * config/mips/mips.h (TARGET_SWITCHES): Added...
  27379. (SUBTARGET_TARGET_SWITCHES): New, empty by default.
  27380. * Makefile.in (SPECS): New.
  27381. (STAGESTUFF, specs, mostlyclean, install-common): Use it.
  27382. * gcc.c (process_command): Move self-spec processing past spec
  27383. file loading.
  27384. * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
  27385. * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
  27386. CRTSTUFF_T_CFLAGS.
  27387. (SPECS): Document.
  27388. * doc/invoke.texi (-mabi-fake-default): Document.
  27389. 2003-01-19 Stephane Carrez <stcarrez@nerim.fr>
  27390. * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
  27391. z_reg, z_reg_qi): Declare static and GTY().
  27392. (da_reg): Remove.
  27393. (create_regs_rtx): Don't create da_reg.
  27394. ("gt-m68hc11.h"): Include for GTY roots.
  27395. * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
  27396. and GTY() here.
  27397. (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
  27398. (m68hc11_soft_tmp_reg): Likewise.
  27399. * config/m68hc11/m68hc11-protos.h: Remove above declarations.
  27400. 2003-01-18 Kazu Hirata <kazu@cs.umass.edu>
  27401. * basic-block.h: Fix comment formatting.
  27402. * calls.c: Likewise.
  27403. * combine.c: Likewise.
  27404. * convert.c: Likewise.
  27405. * gcov.c: Likewise.
  27406. * haifa-sched.c: Likewise.
  27407. * libgcc2.c: Likewise.
  27408. * loop.c: Likewise.
  27409. * profile.c: Likewise.
  27410. * system.h: Likewise.
  27411. 2003-01-18 Roger Sayle <roger@eyesopen.com>
  27412. * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
  27413. 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27414. * ra-build.c (undef_to_size_word): Avoid `switch' warning.
  27415. 2003-01-17 Dale Johannesen <dalej@apple.com>
  27416. * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers.
  27417. (*floatunssidf2_internal): Ditto.
  27418. 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
  27419. * alias.c: Fix comment typos.
  27420. * basic-block.h: Likewise.
  27421. * c-common.c: Likewise.
  27422. * c-common.h: Likewise.
  27423. * c-decl.c: Likewise.
  27424. * c-opts.c: Likewise.
  27425. * c-pragma.c: Likewise.
  27426. * c-pretty-print.h: Likewise.
  27427. * cfg.c: Likewise.
  27428. * cfganal.c: Likewise.
  27429. * cfgbuild.c: Likewise.
  27430. * cfgcleanup.c: Likewise.
  27431. * cfglayout.c: Likewise.
  27432. * cfgrtl.c: Likewise.
  27433. * convert.c: Likewise.
  27434. * cpphash.h: Likewise.
  27435. * cpplex.c: Likewise.
  27436. * cpplib.h: Likewise.
  27437. * df.h: Likewise.
  27438. * diagnostic.c: Likewise.
  27439. * diagnostic.h: Likewise.
  27440. * dwarf2.h: Likewise.
  27441. 2003-01-17 Stan Shebs <shebs@apple.com>
  27442. * config/darwin-protos.h: Forward-declare struct cpp_reader.
  27443. 2003-01-17 Douglas B Rupp <rupp@gnat.com>
  27444. * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
  27445. mistake in last checkin.
  27446. 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
  27447. * et-forest.c: Fix comment typos.
  27448. * et-forest.h: Likewise.
  27449. * except.c: Likewise.
  27450. * expr.c: Likewise.
  27451. * flags.h: Likewise.
  27452. * flow.c: Likewise.
  27453. * gcc.c: Likewise.
  27454. * gcse.c: Likewise.
  27455. * genattrtab.c: Likewise.
  27456. * genautomata.c: Likewise.
  27457. * gengtype.c: Likewise.
  27458. * genrecog.c: Likewise.
  27459. * global.c: Likewise.
  27460. * gthr-rtems.h: Likewise.
  27461. 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27462. * i386.c (x86_function_profiler): Fix format specifier.
  27463. 2003-01-17 Richard Henderson <rth@redhat.com>
  27464. * gengtype.c (walk_type): Allow paramN_is.
  27465. 2003-01-17 Nick Clifton <nickc@redhat.com>
  27466. * config/i960/t-960bare (i960-c.o): Add missing newline escape.
  27467. 2003-01-16 Richard Henderson <rth@redhat.com>
  27468. * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
  27469. 2003-01-16 Richard Henderson <rth@redhat.com>
  27470. * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
  27471. (alpha_next_sequence_number): Likewise.
  27472. (alpha_this_literal_sequence_number): Likewise.
  27473. (alpha_this_gpdisp_sequence_number): Likewise.
  27474. (struct alpha_funcs, alpha_funcs_num): Likewise.
  27475. (struct alpha_links): Fix branch merge error.
  27476. (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
  27477. 2003-01-17 Alexandre Oliva <aoliva@redhat.com>
  27478. * config/mips/mips.h: Don't use #elif. Reported by Kaveh
  27479. R. Ghazi.
  27480. 2003-01-16 Kazu Hirata <kazu@cs.umass.edu>
  27481. * ifcvt.c: Fix comment typos.
  27482. * lcm.c: Likewise.
  27483. * libgcc2.c: Likewise.
  27484. * local-alloc.c: Likewise.
  27485. * loop.c: Likewise.
  27486. * predict.c: Likewise.
  27487. * ra-build.c: Likewise.
  27488. * ra.c: Likewise.
  27489. * ra-colorize.c: Likewise.
  27490. * ra.h: Likewise.
  27491. * ra-rewrite.c: Likewise.
  27492. * regmove.c: Likewise.
  27493. * reload.h: Likewise.
  27494. * rtlanal.c: Likewise.
  27495. * toplev.c: Likewise.
  27496. * tree.h: Likewise.
  27497. * unwind-dw2-fde-glibc.c: Likewise.
  27498. * vmsdbgout.c: Likewise.
  27499. 2003-01-16 Richard Henderson <rth@redhat.com>
  27500. * dwarf2out.c (struct file_table): Remove.
  27501. (FILE_TABLE_INCREMENT): Remove.
  27502. (file_table): Make a varray; mark for GC. Update all users.
  27503. (file_table_last_lookup_index): Extract from struct file_table.
  27504. (output_file_names): Fix unsigned compare warnings.
  27505. (add_name_attribute): Remove inline marker.
  27506. (add_comp_dir_attribute): Split out from gen_compile_unit_die.
  27507. (lookup_filename): Don't manage size of file_table.
  27508. (init_file_table): Allocate file_table with GC.
  27509. (dwarf2out_init): Don't record main_input_filename here.
  27510. (dwarf2out_finish): Do it here instead.
  27511. 2003-01-16 Bruce Korb <bkorb@gnu.org>
  27512. * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
  27513. 2003-01-16 Kaz Kojima <kkojima@gcc.gnu.org>
  27514. * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
  27515. instead of rotldi3_mextr.
  27516. 2003-01-16 Vladimir Makarov <vmakarov@redhat.com>
  27517. * haifa-sched.c (move_insn): Restore moving all schedule group.
  27518. (set_priorities): Restore taking SCHED_GROUP_P into account.
  27519. * sched-deps.c (add_dependence): Restore processing the last group
  27520. insn.
  27521. (remove_dependence, group_leader): Restore the functions.
  27522. (set_sched_group_p): Restore adding dependencies from previous insn
  27523. in the group.
  27524. (compute_forward_dependences): Restore usage of group_leader.
  27525. * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
  27526. account.
  27527. * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
  27528. account.
  27529. (can_schedule_ready_p): Ditto.
  27530. (add_branch_dependences): Restore skipping over the group insns.
  27531. 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
  27532. * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
  27533. 68HC12 pre/post inc/dec side effects.
  27534. 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
  27535. * config/m68hc11/m68hc11.h (MASK_M6812): Define.
  27536. 2003-01-16 J"orn Rennecke <amylaar@onetel.net.uk>
  27537. * sh.md (mshflo_w_x): Fix description of operation.
  27538. 2003-01-16 Zack Weinberg <zack@codesourcery.com>
  27539. * config/rs6000/rs6000.h: Mention Altivec registers in
  27540. commentary. Fix typo.
  27541. 2003-01-16 David Edelsohn <edelsohn@gnu.org>
  27542. * config/rs6000/rs6000.md (movti_string): Remove clobber.
  27543. * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
  27544. generate PARALLEL with clobber for TARGET_POWER.
  27545. 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27546. * ra-colorize.c (colorize_one_web): Initialize variable.
  27547. * regmove.c (fixup_match_1): Likewise.
  27548. * reload1.c (reload_as_needed): Likewise.
  27549. * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
  27550. 2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  27551. * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
  27552. 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27553. * dbxout.c (lastfile, cwd): Fix `unused' warning.
  27554. * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
  27555. dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
  27556. is_main_source, file_table, decl_die_table_in_use,
  27557. abbrev_die_table_in_use, line_info_table_in_use,
  27558. separate_line_info_table_in_use, pubname_table_in_use,
  27559. arange_table_in_use, ranges_table_in_use,
  27560. current_function_has_inlines): Likewise.
  27561. * flow.c (life_analysis): Likewise.
  27562. * genemit.c (gen_insn): Likewise.
  27563. * protoize.c (cplus_suffix): Likewise.
  27564. * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
  27565. * arm.h (ROUND_UP_WORD): Likewise.
  27566. * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
  27567. warning.
  27568. * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
  27569. init_emit_once): Likewise.
  27570. * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
  27571. Likewise.
  27572. * function.c (assign_stack_temp_for_type): Likewise.
  27573. * loop.c (loop_invariant_p): Likewise.
  27574. * recog.c (push_operand): Likewise.
  27575. * regclass.c (init_reg_sets_1): Likewise.
  27576. * reload.c (update_auto_inc_notes): Likewise.
  27577. * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
  27578. * stmt.c (expand_asm_operands): Likewise.
  27579. * stor-layout.c (start_record_layout): Likewise.
  27580. 2003-01-16 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
  27581. * config/c4x/c4x.md (epilogue): Correct last patch.
  27582. 2003-01-15 Richard Henderson <rth@redhat.com>
  27583. * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
  27584. also check that GP is being used.
  27585. (alpha_find_lo_sum_using_gp): New.
  27586. (alpha_does_function_need_gp): Use get_attr_usegp.
  27587. * config/alpha/alpha-protos.h: Update.
  27588. * config/alpha/alpha.md (attr usegp): New. Annotate patterns
  27589. as needed.
  27590. 2003-01-15 Roger Sayle <roger@eyesopen.com>
  27591. * gcse.c (one_cprop_pass): Change function arguments to take both
  27592. cprop_jumps and bypass_jumps flags instead of just alter_jumps.
  27593. (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
  27594. (bypass_jumps): New function to perform separate jump bypassing pass.
  27595. * rtl.h (bypass_jumps): Add function prototype.
  27596. * timevar.def (TV_BYPASS): New timing variable.
  27597. * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
  27598. (dump_file): New entry for the bypass RTL dump file.
  27599. (rest_of_compilation): Insert new jump bypassing optimization
  27600. pass after loop.
  27601. * doc/passes.texi: Document new pass.
  27602. 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
  27603. * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
  27604. ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
  27605. * pa.h (TARGET_SOM_SDEF): Define.
  27606. * pa-hpux11.h (TARGET_SOM_SDEF): Define.
  27607. 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
  27608. * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
  27609. allocate 4-bytes of locals on 68HC11.
  27610. (expand_epilogue): Likewise.
  27611. (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
  27612. 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
  27613. * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
  27614. and -mshort-double to the assembler to specify the ABI.
  27615. (LINK_SPEC): Likewise.
  27616. (CPP_SPEC): Pass HCS12 specific define.
  27617. (MASK_M68S12): New define.
  27618. (TARGET_M68S12): Likewise.
  27619. (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
  27620. (TARGET_VERSION): Update.
  27621. * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
  27622. (LINK_SPEC): Update.
  27623. (ASM_SPEC): Update.
  27624. * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
  27625. * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
  27626. 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
  27627. * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
  27628. the return code.
  27629. 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
  27630. * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
  27631. flag before setting it.
  27632. 2003-01-15 Roger Sayle <roger@eyesopen.com>
  27633. * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation
  27634. when loop condition is known true, i.e. "while (1) { ... }".
  27635. (genrtl_for_stmt): Similarly for "for" statements.
  27636. 2003-01-15 Roger Sayle <roger@eyesopen.com>
  27637. * real.c (real_sqrt): Return a bool result indicating whether
  27638. a floating point exception or trap should be raised.
  27639. * real.h (real_sqrt): Update function prototype.
  27640. * builtins.c (fold_builtin): Only fold non-trapping square
  27641. roots unless we're ignoring errno and trapping math.
  27642. 2003-01-15 John David Anglin <dave.anglin@nrc.gc.ca>
  27643. * expr.h (emit_conditional_add): Add PARAMS to declaration.
  27644. * gengtype-lex.l (malloc, realloc): Move defines after include of
  27645. system.h. Remove duplicate include of system.h.
  27646. 2003-01-15 Roger Sayle <roger@eyesopen.com>
  27647. PR middle-end/9009
  27648. * optabs.c (expand_unop): When manipulating the FP sign bit
  27649. using integer operations, account for targets with different
  27650. integer and FP word orders.
  27651. (expand_abs): Likewise.
  27652. 2003-01-15 David Edelsohn <edelsohn@gnu.org>
  27653. * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
  27654. file extension in section name.
  27655. 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
  27656. * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
  27657. constant offset.
  27658. 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
  27659. * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
  27660. (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
  27661. (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
  27662. (ARM_PRINT_OPERAND_ADDRESS): Likewise.
  27663. 2003-01-15 Jan Hubicka <jh@suse.cz>
  27664. PR f/9258
  27665. * global.c (struct allocno): Add no_stack_reg.
  27666. (global_conflicts): Set no_stack_reg.
  27667. (find_reg): Use it.
  27668. * convert.c (convert_to_real): Fold - and abs only when profitable.
  27669. * fold-const.c (fold): Fold truncates in - and abs.
  27670. 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
  27671. Segher Boessenkool <segher@koffie.nl>
  27672. * predict.c (real_inv_br_prob_base): New variable.
  27673. (propagate_freq): Use multiply by reciprocal instead of
  27674. division. Don't divide by 1.0 at all.
  27675. (estimate_bb_frequencies): Similar.
  27676. 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
  27677. * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
  27678. * configure: Rebuilt.
  27679. 2003-01-15 Hartmut Penner <hpenner@de.ibm.com>
  27680. * config/s390/s390.c (s390_safe_attr_type): New function.
  27681. (s390_use_dfa_pipeline_interface): New function, return true for z900.
  27682. (s390_issue_rate): New function.
  27683. (s390_agen_dep_p): New function.
  27684. (addr_generation_dependency_p): Use 's390_safe_attr_type'.
  27685. (s390_adjust_cost): Return 'cost' if new DFA is used.
  27686. (s390_adjust_priority): Delete function.
  27687. * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
  27688. * config/s390/s390.md (atype attribute): Attribute 'atype' default
  27689. determined by 'op_type'.
  27690. (type attribute): Added more type attributes.
  27691. * config/s390/2064.md: New DFA description for z900 pipeline.
  27692. 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
  27693. * config/i386/i386.c (ix86_expand_vector_move): Validize constant
  27694. forced to memory. Fixes PR bootstrap/9036.
  27695. * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
  27696. to set $gp before the call.
  27697. 2003-01-14 Richard Henderson <rth@redhat.com>
  27698. * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
  27699. for force_const_mem.
  27700. 2003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27701. * genattr.c (main): Rearrange output to avoid prototype warning.
  27702. * genautomata.c (transform_3): Fix ambiguous-else warning.
  27703. * local-alloc.c (requires_inout): Add parentheses around
  27704. assignment used as truth-value.
  27705. * timevar.c: Move system includes above local includes. Include
  27706. toplev.h
  27707. * Makefile.in (timevar.o): Depend on toplev.h.
  27708. 2003-01-14 Denis Chertykov <denisc@overta.ru>
  27709. * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
  27710. (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
  27711. * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
  27712. attributes.
  27713. (TARGET_ATTRIBUTE_TABLE): New macro.
  27714. (valid_machine_type_attribute): Remove.
  27715. (valid_machine_decl_attribute): Remove.
  27716. (ip2k_handle_progmem_attribute): New function.
  27717. (ip2k_handle_fndecl_attribute): New function.
  27718. 2003-01-10 Andrew Haley <aph@redhat.com>
  27719. * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
  27720. registers to be in correct order. Add rip.
  27721. 2003-01-14 Kazu Hirata <kazu@cs.umass.edu>
  27722. * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
  27723. (*iorsi3_and_lshiftrt_9_sb): Likewise.
  27724. 2003-01-14 Jan Hubicka <jh@suse.cz>
  27725. * convert.c (strip_float_extensions): Look for narrowest type handling
  27726. FP constants.
  27727. * fold-const.c (fold): Fold (double)float1 CMP (double)float2 into
  27728. float1 CMP float2.
  27729. * convert.c (strip_float_extensions): Make global.
  27730. * tree.h (strip_float_extensions): Declare.
  27731. 2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
  27732. * timevar.def: define TV_NAME_LOOKUP.
  27733. * timevar.c (timevar_pop): Be verbose when aborting.
  27734. 2003-01-13 Andreas Schwab <schwab@suse.de>
  27735. * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
  27736. $(parsedir), just move the temporary file at the end.
  27737. ($(parsedir)/gengtype-yacc.c): Likewise.
  27738. 2003-01-13 Alexandre Oliva <aoliva@redhat.com>
  27739. * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
  27740. ${ac_tool_prefix} to ADAC or CC. Protect them from word
  27741. splitting.
  27742. * configure: Rebuilt.
  27743. 2003-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27744. * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
  27745. internal_mcount): Don't use PARAMS.
  27746. (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
  27747. ISO C style.
  27748. (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
  27749. 2003-01-13 Andreas Schwab <schwab@suse.de>
  27750. * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
  27751. directive.
  27752. 2003-01-13 Kazu Hirata <kazu@cs.umass.edu>
  27753. * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
  27754. (*iorsi3_and_lshiftrt_n_sb): Likewise.
  27755. 2003-01-12 Mark Mitchell <mark@codesourcery.com>
  27756. PR c++/9264
  27757. * c-lex.c (c_lex): Set the token value to error_mark_node for
  27758. invalid numeric constants.
  27759. 2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27760. * c-pch.c (asm_file_startpos): Change to `long'.
  27761. (pch_init): Use ftell, not ftello.
  27762. (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
  27763. Use `long' instead of `off_t'.
  27764. (c_common_read_pch): Likewise.
  27765. * ggc-common.c (gt_pch_save): Use long/ftell instead of
  27766. off_t/ftello.
  27767. 2003-01-12 Alan Modra <amodra@bigpond.net.au>
  27768. * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
  27769. 2003-01-11 Richard Earnshaw (rearnsha@arm.com)
  27770. * arm-protos.h (struct cpp_reader): Add declaration.
  27771. 2003-01-11 Jan Hubicka <jh@suse.cz>
  27772. PR target/9068
  27773. * i386.c (output_fp_compare): Fix typo.
  27774. 2003-01-10 David Edelsohn <edelsohn@gnu.org>
  27775. * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
  27776. 2003-01-10 Geoffrey Keating <geoffk@apple.com>
  27777. * Makefile.in (parsedir): New variable.
  27778. (docobjdir): New variable.
  27779. (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
  27780. gengtype-lex.c, gengtype-yacc.c): Use parsedir.
  27781. (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
  27782. cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
  27783. gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
  27784. Use docobjdir.
  27785. * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
  27786. objc.maintainer-clean): Use parsedir.
  27787. * varasm.c (struct constant_descriptor_rtx): Remove unused
  27788. `label' field.
  27789. * toplev.c (documented_lang_options): Document -Winvalid-pch.
  27790. 2003-01-10 Richard Henderson <rth@redhat.com>
  27791. * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
  27792. (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
  27793. 2003-01-10 Richard Henderson <rth@redhat.com>
  27794. * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
  27795. not INTEGRAL_MODE_P when widening extensions.
  27796. 2003-01-10 Richard Henderson <rth@redhat.com>
  27797. * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
  27798. 2003-01-10 Geoffrey Keating <geoffk@apple.com>
  27799. * ggc-page.c (ggc_collect): Avoid overflow computing
  27800. min_expand.
  27801. * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
  27802. (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes.
  27803. Remove calls.
  27804. * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
  27805. 2003-01-10 Jan Hubicka <jh@suse.cz>
  27806. * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
  27807. with weird operands.
  27808. 2003-01-10 Dale Johannesen <dalej@apple.com>
  27809. * calls.c (load_register_parameters): Add is_sibcall, sibcall_failure
  27810. parameters. Call check_sibcall_argument_overlap if indicated.
  27811. (check_sibcall_argument_overlap): Add mark_stored_args_map
  27812. parameter. Don't mark parameter area as clobbered if not set.
  27813. (expand_call): Adjust calls to above.
  27814. 2003-01-10 Kelley Cook <kelleycook@comcast.net>
  27815. * configure.in (linker read-only and read-write section mixing):
  27816. Squelch some assembler warnings.
  27817. * configure: Likewise.
  27818. 2003-01-10 Hartmut Penner <hpenner@de.ibm.com>
  27819. * doc/invoke.texi: Document -mtune, delete -mcpu
  27820. option for S/390 and zSeries.
  27821. * config/s390/s390.c (s390_tune_string) New variable.
  27822. (s390_cpu_string) Delete variable.
  27823. (override_options): Use s390_tune_string instead of
  27824. s390_cpu_string.
  27825. * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
  27826. 2003-01-10 Kazu Hirata <kazu@cs.umass.edu>
  27827. * config/h8300/h8300.md (*iorsi3_ashift_31): New.
  27828. 2003-01-10 Josef Zlomek <zlomekj@suse.cz>
  27829. * jump.c (next_nonnote_insn_in_loop): New function.
  27830. (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
  27831. next_nonnote_insn.
  27832. (duplicate_loop_exit_test). Likewise.
  27833. 2003-01-09 Geoffrey Keating <geoffk@apple.com>
  27834. Merge from pch-branch:
  27835. 2003-01-06 Geoffrey Keating <geoffk@apple.com>
  27836. * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
  27837. load.
  27838. 2002-12-24 Geoffrey Keating <geoffk@apple.com>
  27839. * cpplib.c (count_registered_pragmas): New function.
  27840. (save_registered_pragmas): New function.
  27841. (_cpp_save_pragma_names): New function.
  27842. (restore_registered_pragmas): New function.
  27843. (_cpp_restore_pragma_names): New function.
  27844. * cpphash.h (_cpp_save_pragma_names): Prototype.
  27845. (_cpp_restore_pragma_names): Likewise.
  27846. * cpppch.c (struct save_macro_item): Split from save_macro_data.
  27847. (struct save_macro_data): New field 'saved_pragmas'.
  27848. (save_macros): Update for changes to struct save_macro_data.
  27849. (cpp_prepare_state): Call _cpp_save_pragma_names, update
  27850. for changes to struct save_macro_data.
  27851. (cpp_read_state): Call _cpp_restore_pragma_names, update
  27852. for changes to struct save_macro_data.
  27853. * cpppch.c (cpp_read_state): Restore the hashtable references
  27854. in the cpp_reader.
  27855. * tree.h (built_in_decls): Mark for PCH.
  27856. * dbxout.c (lastfile): Don't mark for PCH.
  27857. * ggc.h: Document PCH calls into memory managers.
  27858. 2002-12-18 Geoffrey Keating <geoffk@apple.com>
  27859. * doc/invoke.texi (Precompiled Headers): Document the
  27860. directory form of PCH.
  27861. * cppfiles.c (validate_pch): New function.
  27862. (open_file_pch): Search suitably-named directories for PCH files.
  27863. 2002-12-14 Geoffrey Keating <geoffk@apple.com>
  27864. * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
  27865. reorder options.
  27866. (Type Information): Mention that the information is also
  27867. used to implement PCH.
  27868. * doc/passes.texi (Passes): Improve documentation of
  27869. language-specific files.
  27870. 2002-12-11 Geoffrey Keating <geoffk@apple.com>
  27871. * gengtype.c (struct write_types_data): Add reorder_note_routine field.
  27872. (struct walk_type_data): Add reorder_fn field.
  27873. (walk_type): Process 'reorder' option.
  27874. (write_types_process_field): Reorder parameters to gt_pch_note_object,
  27875. call reorder_note_routine.
  27876. (write_func_for_structure): Reorder parameters to gt_pch_note_object.
  27877. (ggc_wtd): Update for change to struct write_types_data.
  27878. (pch_wtd): Likewise.
  27879. * ggc.h (gt_pch_note_object): Reorder parameters.
  27880. (gt_handle_reorder): New definition.
  27881. (gt_pch_note_reorder): New prototype.
  27882. * ggc-common.c (struct ptr_data): Add reorder_fn.
  27883. (gt_pch_note_object): Reorder parameters.
  27884. (gt_pch_note_reorder): New.
  27885. (gt_pch_save): Call reorder_fn.
  27886. * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
  27887. * dbxout.c (cwd): Don't mark for PCH.
  27888. 2002-12-09 Geoffrey Keating <geoffk@apple.com>
  27889. * gengtype.c (finish_root_table): Fix some warnings.
  27890. (write_root): Handle TYPE_STRING.
  27891. * ggc.h (gt_ggc_m_S): Add prototype.
  27892. * stringpool.c (gt_ggc_m_S): New function.
  27893. 2002-11-30 Geoffrey Keating <geoffk@apple.com>
  27894. * dwarf2out.c (dw2_string_counter): New.
  27895. (AT_string_form): Use it.
  27896. (same_dw_val_p): Update for removal of hashtable.h hash tables.
  27897. 2002-11-22 Geoffrey Keating <geoffk@apple.com>
  27898. * dbxout.c: Include gt-dbxout.h.
  27899. (lastfile): Mark for PCH/GGC.
  27900. (cwd): Likewise.
  27901. (struct typeinfo): Likewise.
  27902. (typevec): Likewise.
  27903. (typevec_len): Likewise.
  27904. (next_type_number): Likewise.
  27905. (struct dbx_file): Likewise.
  27906. (current_file): Likewise.
  27907. (next_file_number): Likewise.
  27908. (dbxout_init): Allocate typevec, struct dbx_file with GGC.
  27909. (dbxout_start_source_file): Allocate struct dbx_file with GGC.
  27910. (dbxout_end_source_file): Don't free struct dbx_file.
  27911. (dbxout_type): Use GGC to allocate typevec.
  27912. * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
  27913. (GTFILES): Add dbxout.c.
  27914. (gt-dbxout.h): New rule.
  27915. * Makefile.in (c-pch.o): Add debug.h as dependency.
  27916. * c-pch.c: Include debug.h.
  27917. (pch_init): Call start_source_file to keep nesting right.
  27918. (c_common_read_pch): Add orig_name parameter. Call
  27919. start_source_file debug hook. Call end_source_file debug hook.
  27920. * c-common.h (c_common_read_pch): Update prototype.
  27921. * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
  27922. callback.
  27923. * cppfiles.c (struct include_file): Add new field `header_name'.
  27924. (find_or_create_entry): Default it to `name'.
  27925. (open_file_pch): Set it to the original header file searched for.
  27926. (stack_include_file): Don't stack an empty buffer, just handle
  27927. PCH files immediately. Pass header_name field to read_pch callback.
  27928. 2002-11-19 Geoffrey Keating <geoffk@apple.com>
  27929. * function.c (funcdef_no): Mark to be saved in a PCH.
  27930. 2002-11-15 Geoffrey Keating <geoffk@apple.com>
  27931. * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
  27932. * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
  27933. 2002-11-14 Geoffrey Keating <geoffk@apple.com>
  27934. * optabs.h (code_to_optab): Add GTY marker.
  27935. 2002-11-13 Geoffrey Keating <geoffk@apple.com>
  27936. * Makefile.in (GTFILES): Add cpplib.h.
  27937. * c-common.h (struct c_common_identifier): Don't skip 'node' field.
  27938. * c-decl.c (build_compound_literal): Don't use var_labelno.
  27939. * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
  27940. * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
  27941. * varasm.c (const_labelno): Use gengtype to mark.
  27942. (var_labelno): Likewise.
  27943. (in_section): Likewise.
  27944. (in_named_name): Likewise.
  27945. (struct in_named_entry): Likewise.
  27946. (in_named_htab): Likewise.
  27947. (set_named_section_flags): Use GGC to allocate struct in_named_entry.
  27948. (init_varasm_once): Use GGC to allocate in_named_htab.
  27949. * config/darwin.c (current_pic_label_num): Mark for PCH.
  27950. 2002-11-11 Geoffrey Keating <geoffk@apple.com>
  27951. * ggc-simple.c (init_ggc_pch): New stub procedure.
  27952. (ggc_pch_count_object): Likewise.
  27953. (ggc_pch_total_size): Likewise.
  27954. (ggc_pch_this_base): Likewise.
  27955. (ggc_pch_alloc_object): Likewise.
  27956. (ggc_pch_prepare_write): Likewise.
  27957. (ggc_pch_write_object): Likewise
  27958. (ggc_pch_finish): Likewise.
  27959. (ggc_pch_read): Likewise.
  27960. 2002-11-08 Geoffrey Keating <geoffk@apple.com>
  27961. * c-pch.c (c_common_write_pch): Write the macro definitions after
  27962. the GCed data.
  27963. (c_common_read_pch): Call cpp_prepare_state. Restore the macro
  27964. definitions after the GCed data.
  27965. * cpplib.c (save_macros): New.
  27966. (reset_ht): New.
  27967. (cpp_write_pch_deps): Split out of cpp_write_pch.
  27968. (cpp_write_pch_state): Split out of cpp_write_pch.
  27969. (cpp_write_pch): Delete.
  27970. (struct save_macro_data): Delete.
  27971. (cpp_prepare_state): New.
  27972. (cpp_read_state): Erase and restore initial macro definitions.
  27973. * cpplib.h (struct save_macro_data): Forward-declare.
  27974. (cpp_write_pch_deps): Prototype.
  27975. (cpp_write_pch_state): Prototype.
  27976. (cpp_write_pch): Delete prototype.
  27977. (cpp_prepare_state): Prototype.
  27978. (cpp_read_state): Add fourth argument.
  27979. 2002-11-04 Geoffrey Keating <geoffk@apple.com>
  27980. * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
  27981. (write_array): Remove warning.
  27982. * gengtype.c (contains_scalar_p): New.
  27983. (finish_root_table): Add the table to all languages, even if it's
  27984. empty.
  27985. (write_roots): Output gt_pch_scalar_rtab.
  27986. * ggc-common.c (gt_pch_save): Write out scalars.
  27987. (gt_pch_restore): Read scalars back.
  27988. * ggc-page.c (OBJECTS_IN_PAGE): New macro.
  27989. (struct page_entry): Delete pch_page field.
  27990. (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
  27991. (clear_marks): Likewise.
  27992. (sweep_pages): Likewise.
  27993. (poison_pages): Likewise.
  27994. (ggc_print_statistics): Likewise.
  27995. (ggc_pch_read): Don't free objects read from a PCH.
  27996. Properly set up in_use_p and page_tails.
  27997. 2002-10-25 Geoffrey Keating <geoffk@apple.com>
  27998. * gengtype.c (struct write_types_data): New.
  27999. (struct walk_type_data): Make `cookie' const; add extra
  28000. prev_val item; add `orig_s' field.
  28001. (walk_type): Update prev_val[3].
  28002. (write_types_process_field): New.
  28003. (write_func_for_structure): Take write_types_data structure.
  28004. (write_types): New.
  28005. (ggc_wtd): New.
  28006. (pch_wtd): New.
  28007. (write_types_local_process_field): New.
  28008. (gc_mark_process_field): Delete.
  28009. (write_local_func_for_structure): New.
  28010. (gc_mark_func_name): Delete.
  28011. (write_gc_types): Delete.
  28012. (write_local): New.
  28013. (finish_root_table): Don't include 'ggc_' in PFX.
  28014. (write_root): Rename from write_root. Fill pchw field of structures.
  28015. (write_array): New.
  28016. (write_roots): Rename from write_gc_roots. Split out to write_array.
  28017. Update to changes to other routines. Write gt_pch_cache_rtab table.
  28018. (main): Write PCH walking routines.
  28019. * ggc-common.c: Include toplev.h, sys/mman.h.
  28020. (ggc_mark_roots): For cache hashtables, also mark the hash table
  28021. and the array of entries.
  28022. (saving_htab): New.
  28023. (struct ptr_data): New.
  28024. (POINTER_HASH): New.
  28025. (gt_pch_note_object): New.
  28026. (saving_htab_hash): New.
  28027. (saving_htab_eq): New.
  28028. (struct traversal_state): New.
  28029. (call_count): New.
  28030. (call_alloc): New.
  28031. (compare_ptr_data): New.
  28032. (relocate_ptrs): New.
  28033. (write_pch_globals): New.
  28034. (struct mmap_info): New.
  28035. (gt_pch_save): New.
  28036. (gt_pch_restore): New.
  28037. * ggc-page.c (ROUND_UP_VALUE): New.
  28038. (ROUND_UP): New.
  28039. (struct page_entry): Add field `pch_page'.
  28040. (init_ggc): Use ROUND_UP.
  28041. (struct ggc_pch_data): Declare.
  28042. (init_ggc_pch): New.
  28043. (ggc_pch_count_object): New.
  28044. (ggc_pch_total_size): New.
  28045. (ggc_pch_this_base): New.
  28046. (ggc_pch_alloc_object): New.
  28047. (ggc_pch_prepare_write): New.
  28048. (ggc_pch_write_object): New.
  28049. (ggc_pch_finish): New.
  28050. (ggc_pch_read): New.
  28051. * ggc.h (gt_pointer_operator): New.
  28052. (gt_note_pointers): New.
  28053. (gt_pch_note_object): New prototype.
  28054. (gt_pointer_walker): New.
  28055. (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
  28056. (LAST_GGC_ROOT_TAB): Update.
  28057. (gt_pch_cache_rtab): Declare.
  28058. (gt_pch_scalar_rtab): Declare.
  28059. (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
  28060. (LAST_GGC_CACHE_TAB): Update.
  28061. (gt_pch_save_stringpool): Declare.
  28062. (gt_pch_restore_stringpool): Declare.
  28063. (gt_pch_p_S): Declare.
  28064. (gt_pch_n_S): Declare.
  28065. (struct ggc_pch_data): Forward-declare.
  28066. (init_ggc_pch): Declare.
  28067. (ggc_pch_count_object): Declare.
  28068. (ggc_pch_total_size): Declare.
  28069. (ggc_pch_this_base): Declare.
  28070. (ggc_pch_alloc_object): Declare.
  28071. (ggc_pch_prepare_write): Declare.
  28072. (ggc_pch_write_object): Declare.
  28073. (ggc_pch_finish): Declare.
  28074. (ggc_pch_read): Declare.
  28075. (gt_pch_save): Declare.
  28076. (gt_pch_restore): Declare.
  28077. * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
  28078. * emit-rtl.c (init_emit_once): Allocate const_int_htab,
  28079. const_double_htab, mem_attrs_htab using GGC.
  28080. * c-pch.c: Include ggc.h.
  28081. (pch_init): Allow reading PCH file back.
  28082. (c_common_write_pch): Call gt_pch_save.
  28083. (c_common_read_pch): Call gt_pch_restore.
  28084. * c-parse.in (init_reswords): Delete now-untrue comment.
  28085. Allocate ridpointers using GGC.
  28086. * c-objc-common.c (c_objc_common_finish_file): Write PCH before
  28087. calling expand_deferred_fns.
  28088. * c-common.h (ridpointers): Mark for GTY machinery.
  28089. * Makefile.in (stringpool.o): Update dependencies.
  28090. (c-pch.o): Update dependencies.
  28091. (ggc-common.o): Update dependencies.
  28092. * stringpool.c: Include gt-stringpool.h.
  28093. (gt_pch_p_S): New.
  28094. (gt_pch_n_S): New.
  28095. (struct string_pool_data): New.
  28096. (spd): New.
  28097. (gt_pch_save_stringpool): New.
  28098. (gt_pch_restore_stringpool): New.
  28099. * tree.c (init_ttree): Make type_hash_table allocated using GC.
  28100. 2002-10-04 Geoffrey Keating <geoffk@apple.com>
  28101. * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
  28102. (output_mangled_typename): Don't pass size_t to printf.
  28103. * tree.h (union tree_type_symtab): Add tag to `address' field.
  28104. (union tree_decl_u2): Add tag to 'i' field.
  28105. * varasm.c (union rtx_const_un): Add tags to all fields.
  28106. * gengtype.c (struct walk_type_data): New.
  28107. (output_escaped_param): Take struct walk_type_data parameter.
  28108. (write_gc_structure_fields): Delete.
  28109. (walk_type): New.
  28110. (write_gc_marker_routine_for_structure): Delete.
  28111. (write_func_for_structure): New.
  28112. (gc_mark_process_field): New.
  28113. (gc_mark_func_name): New.
  28114. (gc_counter): Delete.
  28115. (write_gc_types): Use write_func_for_structure.
  28116. (write_gc_roots): Use walk_type.
  28117. 2002-10-02 Geoffrey Keating <geoffk@apple.com>
  28118. * ggc-common.c (ggc_mark_roots): Delete 'x'.
  28119. (ggc_splay_dont_free): Fix warning about unused 'x'.
  28120. (ggc_print_common_statistics): Remove warnings.
  28121. 2002-10-01 Mike Stump <mrs@apple.com>
  28122. * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
  28123. * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
  28124. 2002-09-01 Geoffrey Keating <geoffk@redhat.com>
  28125. Catherine Moore <clm@redhat.com>
  28126. * Makefile (c-pch.o): Update dependencies.
  28127. (LIBCPP_OBJS): Add cpppch.o.
  28128. (cpppch.o): New.
  28129. * c-common.c (c_common_init): Don't call pch_init here.
  28130. * c-common.h (c_common_read_pch): Update prototype.
  28131. * c-lex.c (c_common_parse_file): Call pch_init here.
  28132. * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
  28133. (c_common_decode_option): Handle them.
  28134. * c-pch.c: Include c-pragma.h.
  28135. (save_asm_offset): Delete.
  28136. (pch_init): Move contents of save_asm_offset into here, call
  28137. cpp_save_state.
  28138. (c_common_write_pch): Call cpp_write_pch.
  28139. (c_common_valid_pch): Warn only when -Winvalid-pch. Call
  28140. cpp_valid_state.
  28141. (c_common_read_pch): Add NAME parameter. Call cpp_read_state.
  28142. * cppfiles.c (stack_include_file): Update for change to
  28143. parameters of cb.read_pch.
  28144. * cpphash.h (struct cpp_reader): Add `savedstate' field.
  28145. * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
  28146. `restore_pch_deps' fields.
  28147. (struct cpp_callbacks): Add NAME parameter to `read_pch'.
  28148. (cpp_save_state): Prototype.
  28149. (cpp_write_pch): Prototype.
  28150. (cpp_valid_state): Prototype.
  28151. (cpp_read_state): Prototype.
  28152. * cpppch.c: New file.
  28153. * flags.h (version_flag): Remove prototype.
  28154. * mkdeps.c (deps_save): New.
  28155. (deps_restore): New.
  28156. * mkdeps.h (deps_save): Prototype.
  28157. (deps_restore): Prototype.
  28158. * toplev.c (late_init_hook): Delete.
  28159. (version_flag): Make static again.
  28160. (compile_file): Don't call late_init_hook.
  28161. * toplev.h (late_init_hook): Delete.
  28162. * doc/cppopts.texi: Document -fpch-deps.
  28163. * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
  28164. 2002-08-27 Geoffrey Keating <geoffk@redhat.com>
  28165. * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
  28166. callers.
  28167. (c_common_valid_pch): Rename from c_valid_pch, change callers.
  28168. (c_common_read_pch): Rename from c_read_pch, change callers.
  28169. * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
  28170. a space between it and its argument.
  28171. 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
  28172. * c-pch.c: New file.
  28173. * toplev.h (late_init_hook): Declare.
  28174. * toplev.c (late_init_hook): Define.
  28175. (version_flag): Make globally visible.
  28176. (compile_file): Call late_init_hook.
  28177. (init_asm_output): Make output file seekable.
  28178. * gcc.c (default_compilers): Update c-header rule.
  28179. * flags.h (version_flag): Declare.
  28180. * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
  28181. fields.
  28182. * cppfiles.c (struct include_file): Add 'pch' field.
  28183. (INCLUDE_PCH_P): New.
  28184. (open_file_pch): New.
  28185. (stack_include_file): Handle PCH files specially.
  28186. (find_include_file): Call open_file_pch instead of open_file.
  28187. (_cpp_read_file): Explain why open_file is used instead of
  28188. open_file_pch.
  28189. * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
  28190. * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
  28191. * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
  28192. in cpplib callbacks.
  28193. * c-common.c (pch_file): Correct comment.
  28194. (allow_pch): Define.
  28195. (c_common_init): Call pch_init.
  28196. * c-common.h (allow_pch): Declare.
  28197. (pch_init): Declare.
  28198. (c_valid_pch): Declare.
  28199. (c_read_pch): Declare.
  28200. (c_write_pch): Declare.
  28201. * Makefile.in (c-pch.o): New.
  28202. (C_AND_OBJC_OBJS): Add c-pch.o.
  28203. * doc/invoke.texi (Precompiled Headers): Add index entries,
  28204. complete truncated paragraph.
  28205. 2002-08-17 Geoffrey Keating <geoffk@redhat.com>
  28206. * c-common.c: (pch_file): Define.
  28207. * c-common.h (pch_file): Declare.
  28208. * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
  28209. (missing_arg): Require --output-pch= to have an argument.
  28210. (c_common_decode_option): Handle --output-pch=.
  28211. * gcc.c: Document new %V.
  28212. (default_compilers): Handle compiling C header files.
  28213. (do_spec_1): Implement %V.
  28214. (main): Handle "gcc foo.h" without trying to run linker.
  28215. * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
  28216. (Overall Options): Document what the driver does with header files,
  28217. document new -x option possibilities.
  28218. (Invoking G++): More documentation for PCH.
  28219. (Precompiled Headers): New.
  28220. 2002-08-09 Geoffrey Keating <geoffk@redhat.com>
  28221. * ggc.h: Don't include varray.h. Rearrange functions to be more
  28222. organized.
  28223. (ggc_add_root): Delete.
  28224. (ggc_mark_rtx): Delete.
  28225. (ggc_mark_tree): Delete.
  28226. (struct ggc_statistics): Remove contents.
  28227. * ggc-common.c: Remove unneeded includes.
  28228. (struct ggc_root): Delete.
  28229. (roots): Delete.
  28230. (ggc_add_root): Delete.
  28231. (ggc_mark_roots): Don't mark `roots'. Call ggc_mark_stringpool.
  28232. (ggc_print_common_statistics): Remove most of the contents.
  28233. * Makefile.in (GGC_H): No longer uses varray.h.
  28234. (ggc-common.o): Update dependencies.
  28235. (c-parse.o): Add varray.h to dependencies.
  28236. (c-common.o): Add varray.h.
  28237. * stringpool.c (mark_ident): Use mangled name for tree marker routine.
  28238. (mark_ident_hash): Rename to ggc_mark_stringpool.
  28239. (init_stringpool): Don't use ggc_add_root.
  28240. * c-parse.in: Include varray.h.
  28241. * c-common.c: Include varray.h.
  28242. * objc/Make-lang.in (objc-act.o): Add varray.h.
  28243. * objc/objc-act.c: Include varray.h.
  28244. 2002-07-25 Geoffrey Keating <geoffk@redhat.com>
  28245. * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
  28246. (dw_cfi_oprnd1_desc): Likewise.
  28247. 2002-07-17 Geoffrey Keating <geoffk@redhat.com>
  28248. * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
  28249. move out of ifdef.
  28250. (alpha_links): Use gengtype to mark; move out of ifdef.
  28251. (mark_alpha_links_node): Delete.
  28252. (mark_alpha_links): Delete.
  28253. (alpha_need_linkage): Use GGC to allocate splay tree, struct
  28254. alpha_links, strings. Don't use ggc_add_root.
  28255. * ggc-common.c (ggc_splay_alloc): New.
  28256. (ggc_splay_dont_free): New.
  28257. * ggc.h (ggc_mark_rtx): Update for changed name mangling.
  28258. (ggc_mark_tree): Likewise.
  28259. (splay_tree_new_ggc): New.
  28260. (ggc_splay_alloc): Declare.
  28261. (ggc_splay_dont_free): Declare.
  28262. * dwarf2asm.c: Include gt-dwarf2asm.h.
  28263. (mark_indirect_pool_entry): Delete.
  28264. (mark_indirect_pool): Delete.
  28265. (indirect_pool): Use gengtype to mark.
  28266. (dw2_force_const_mem): Don't use ggc_add_root.
  28267. * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
  28268. (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
  28269. (gt-dwarf2asm.h): Depend on s-gtype.
  28270. 2002-07-08 Geoffrey Keating <geoffk@redhat.com>
  28271. * tree.h (union tree_type_symtab): Mark `die' field.
  28272. * Makefile.in (dwarf2out.o): Update dependencies.
  28273. * dwarf2out.c: Use GGC to allocate all structures. Convert to htab_t
  28274. hash tables.
  28275. (dw_cfi_oprnd1_desc): New function.
  28276. (dw_cfi_oprnd2_desc): New function.
  28277. (indirect_string_alloc): Delete.
  28278. (debug_str_do_hash): New function.
  28279. (debug_str_eq): New function.
  28280. (mark_limbo_die_list): Delete.
  28281. (dwarf2out_init): Don't call ggc_add_root.
  28282. 2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
  28283. The following changes are merged from itanium-sched-branch:
  28284. 2003-01-08 David Edelsohn <edelsohn@gnu.org>
  28285. * doc/md.texi: Clarify assignment of units to automata description.
  28286. 2003-01-08 Vladimir Makarov <vmakarov@redhat.com>
  28287. * genautomata.c (unit_decl): Remove members
  28288. `the_same_automaton_unit' and
  28289. `the_same_automaton_message_reported_p'.
  28290. (process_unit_to_form_the_same_automaton_unit_lists,
  28291. form_the_same_automaton_unit_lists_from_regexp,
  28292. form_the_same_automaton_unit_lists, the_same_automaton_lists):
  28293. Remove them.
  28294. (annotation_message_reported_p): New global variable.
  28295. (check_unit_distribution_in_reserv,
  28296. check_regexp_units_distribution): New functions.
  28297. (check_unit_distributions_to_automata): Rewrite it.
  28298. 2003-01-04 Vladimir Makarov <vmakarov@redhat.com>
  28299. * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
  28300. Use continue instead of break if cycle is too big.
  28301. 2002-12-20 Vladimir Makarov <vmakarov@redhat.com>
  28302. * genautomata.c (check_unit_distributions_to_automata): Output at
  28303. most one message for a unit.
  28304. (process_unit_to_form_the_same_automaton_unit_lists): Check
  28305. automaton of units instead of units themself.
  28306. * doc/md.texi: Describe the constraint about assigning unit to
  28307. automata.
  28308. 2002-12-20 Jan Hubicka <jH@suse.cz>
  28309. Vladimir Makarov <vmakarov@redhat.com>
  28310. * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
  28311. and `in_set_p'.
  28312. (gen_cpu_unit): Initialize the new members.
  28313. (process_regexp_cycles): Calculate minimal finish cycle too. Set
  28314. up `min_occ_cycle_num'.
  28315. (evaluate_max_reserv_cycles): Change the function call.
  28316. (CLEAR_BIT): New macro.
  28317. (states_union, state_shift): Use the mask.
  28318. (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
  28319. (form_reservs_matter): New function.
  28320. (make_automaton): Call the function and use the mask.
  28321. (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
  28322. account.
  28323. 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
  28324. * config/ia64/itanium2.md (lfetch): Change the insn reservation.
  28325. 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
  28326. * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
  28327. for Itanium.
  28328. 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
  28329. * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
  28330. default cpu.
  28331. 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
  28332. 2002-10-31 Dale Johannesen <dalej@apple.com>
  28333. * haifa-sched.c (find_set_reg_weight): New function.
  28334. (find_insn_reg_weight): Use the new function.
  28335. (schedule_block): Do sorting ready queue always
  28336. after insn issue.
  28337. 2002-11-27 Vladimir Makarov <vmakarov@redhat.com>
  28338. * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
  28339. 2002-11-19 Vladimir Makarov <vmakarov@redhat.com>
  28340. * haifa-sched.c (choice_entry): New structure.
  28341. (choice_stack, cycle_issued_insns): New variables.
  28342. (max_issue): Rewrite it.
  28343. (choose_ready): Set up ready_try for unknown insns too.
  28344. (schedule_block): Allocate and free choice_stack. Set up
  28345. and modify cycle_issued_insns.
  28346. * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
  28347. with and without filling the bundle.
  28348. (bundling): Combine calls of issue_nops_and_insn.
  28349. 2002-10-17 Vladimir Makarov <vmakarov@redhat.com>
  28350. * config/ia64/itanium1.md: New file.
  28351. * config/ia64/itanium2.md: New file.
  28352. * config/ia64/ia64.md: Move DFA descriptions into the new files.
  28353. Remove the old pipeline description.
  28354. * config/ia64/ia64.c (ia64_override_options): Add aliases of
  28355. itanium processor names.
  28356. 2002-10-16 Vladimir Makarov <vmakarov@redhat.com>
  28357. * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
  28358. (ia64_reorg): Set up queried unit codes for Itanium2 too.
  28359. * config/ia64/ia64.md: Add descriptions for Itanium2.
  28360. 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
  28361. * config/ia64/ia64.h (processor_type): New enumeration.
  28362. (ia64_tune, ia64_tune_string): New external declarations.
  28363. (TARGET_OPTIONS): Add option `tune='.
  28364. * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
  28365. variables.
  28366. (ia64_override_options): Set up `ia64_tune'.
  28367. (ia64_sched_reorder2): Set up `clocks' only for Itanium.
  28368. (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
  28369. (bundling): Add nops for MM-insns only for Itanium.
  28370. (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
  28371. Itanium.
  28372. * config/ia64/ia64.md (cpu): New attribute.
  28373. (DFA description): Enable it only for Itanium.
  28374. 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
  28375. Richard Henderson <rth@redhat.com>
  28376. * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
  28377. MASK_EARLY_STOP_BITS.
  28378. (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
  28379. (TARGET_SWITCHES): Rename option `tune-stop-bits' to
  28380. `early-stop-bits'.
  28381. * config/ia64/ia64.c (ia64_dfa_new_cycle,
  28382. final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
  28383. instead of TARGET_TUNE_STOP_BITS.
  28384. * doc/invoke.texi: Rename option `-mtune-stop-bits' to
  28385. `-mearly-stop-bits'.
  28386. * config/ia64/ia64.c (automata_option "v"): Comment it.
  28387. 2002-10-07 Vladimir Makarov <vmakarov@redhat.com>
  28388. * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
  28389. New macros.
  28390. (TARGET_SWITCHES): Add entries for the new option.
  28391. * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
  28392. dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
  28393. (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
  28394. global variables.
  28395. (ia64_sched_reorder2): Set up `clocks'.
  28396. (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
  28397. (ia64_dfa_new_cycle): Set up add_cycle. Permit sorting ready
  28398. queue when TARGET_TUNE_STOP_BITS.
  28399. (bundling): Insert additional nops for MM-insns.
  28400. (final_emit_insn_group_barriers): Add insertion of stop bits
  28401. according `stops_p'.
  28402. (ia64_reorg): Initiate the new varibales.
  28403. * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
  28404. 2002-10-02 Vladimir Makarov <vmakarov@redhat.com>
  28405. * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
  28406. insns at the end of block insn scheduling.
  28407. 2002-09-30 Vladimir Makarov <vmakarov@redhat.com>
  28408. * sched-deps.c (remove_dependence, group_leader): Remove it.
  28409. (add_dependence): Add dependence to group leader to.
  28410. (set_sched_group_p): Add dependence to the first insn of the
  28411. schedule group too.
  28412. (sched_analyze_insn): Make dependence to jump as anti-dependence.
  28413. Change true dependence by anti-dependence when
  28414. `reg_pending_barrier'.
  28415. * sched-rgn.c (init_ready_list, can_schedule_ready_p,
  28416. add_branch_dependences): Ignore schedule groups.
  28417. * sched-ebb.c (init_ready_list): Ditto.
  28418. * (move_insn, set_priorities): Ditto.
  28419. * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
  28420. flag is clear after reload.
  28421. (adjust_cost): Change cost only for output dependencies.
  28422. * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
  28423. 2002-09-26 Vladimir Makarov <vmakarov@redhat.com>
  28424. * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
  28425. * target.h (gcc_target): Add member
  28426. `dependencies_evaluation_hook'.
  28427. * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
  28428. macro.
  28429. (TARGET_SCHED): Add initiatialization of the new member.
  28430. * sched-ebb.c: Include `target.h'.
  28431. (schedule_ebb): Call `dependencies_evaluation_hook'.
  28432. * sched-rgn.c (schedule_region): Call
  28433. `dependencies_evaluation_hook'.
  28434. * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
  28435. New macro.
  28436. (ia64_dependencies_evaluation_hook): New function.
  28437. * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
  28438. Describe the new hook.
  28439. 2002-09-25 Vladimir Makarov <vmakarov@redhat.com>
  28440. * target.h (gcc_target): Add members
  28441. `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
  28442. * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
  28443. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
  28444. macros.
  28445. (TARGET_SCHED): Add initiatialization of the new members.
  28446. * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
  28447. insn scheduling too.
  28448. (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
  28449. initialize `ready_try'.
  28450. (schedule_block): Use `dfa_new_cycle'. Sort `ready' only unless
  28451. `dfa_new_cycle' says not to do it.
  28452. * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
  28453. bundling.
  28454. * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
  28455. * config/ia64/ia64.c: Include `hashtab.h'.
  28456. (ia64_first_cycle_multipass_dfa_lookahead_guard,
  28457. ia64_dfa_new_cycle, final_emit_insn_group_barriers,
  28458. ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
  28459. initiate_bundle_states, finish_bundle_states, bundle_state_hash,
  28460. bundle_state_eq_p, insert_bundle_state,
  28461. initiate_bundle_state_table, finish_bundle_state_table,
  28462. try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
  28463. get_template, get_next_important_insn, bundling): New functions.
  28464. (ia64_internal_sched_reorder): Remove it.
  28465. (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
  28466. TARGET_SCHED_DFA_NEW_CYCLE): New macros.
  28467. (ia64_safe_itanium_requires_unit0): Remove it.
  28468. (group_barrier_needed_p): Place group barrier right before a real
  28469. insn.
  28470. (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
  28471. Remove them.
  28472. (bundle_name): New variable.
  28473. (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
  28474. _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
  28475. _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
  28476. pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
  28477. temp_dfa_state, prev_cycle_state): New global variables.
  28478. (insn_matches_slot, maybe_rotate, finish_last_head,
  28479. rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
  28480. cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
  28481. find_best_packet, itanium_reorder, dump_current_packet,
  28482. schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
  28483. (sched_data, sched_ready, sched_types): Remove them.
  28484. (ia64_sched_init): Initiate only `last_scheduled_insn' and call
  28485. `init_insn_group_barriers'.
  28486. (ia64_sched_reorder, ia64_sched_reorder2): Call
  28487. ia64_dfa_sched_reorder.
  28488. (ia64_variable_issue): Rewrite it.
  28489. (bundle_state): New structure.
  28490. (index_to_bundle_states, bundle_states_num,
  28491. allocated_bundle_states_chain, free_bundle_state_chain): New
  28492. global variables.
  28493. (ia64_sched_finish): Add stop bits and call `bundling' after the
  28494. 2nd insn scheduling.
  28495. (ia64_use_dfa_pipeline_interface): Return zero always.
  28496. (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
  28497. insn scheduling.
  28498. (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
  28499. `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
  28500. (ia64_reorg): Add bundling insns.
  28501. * doc/tm.texi
  28502. (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
  28503. TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
  28504. 2002-09-23 Vladimir Makarov <vmakarov@redhat.com>
  28505. * config/ia64/ia64.md: Add Itanium1 DFA description.
  28506. (itanium_class): Add `nop' and `pre_cycle'. Add
  28507. define_function_unit for `nop'.
  28508. (nop): Change attribute `itanium_class'.
  28509. (pre_cycle): New define_insn.
  28510. * config/ia64/ia64-protos.h (bundling_p): New external variable.
  28511. (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
  28512. ia64_produce_address_p): New function prototypes.
  28513. * config/ia64/ia64.c (bundling_p): New global variable.
  28514. (ia64_use_dfa_pipeline_interface,
  28515. ia64_first_cycle_multipass_dfa_lookahead,
  28516. ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
  28517. functions.
  28518. (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
  28519. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
  28520. TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
  28521. TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
  28522. (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
  28523. ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
  28524. (dfa_pre_cycle_insn): New variable.
  28525. 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
  28526. * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
  28527. constructions.
  28528. * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
  28529. New function prototypes.
  28530. * genattrtab.c (main): Process the new constructions.
  28531. * genautomata.c (gen_presence_absence_set,
  28532. process_presence_absence_names, process_presence_absence_patterns,
  28533. add_presence_absence, check_absence_pattern_sets): Add parameter
  28534. `final_p'.
  28535. (unit_decl): Add new members `final_presence_list' and
  28536. `final_absence_list'.
  28537. (unit_pattern_rel_decl): Add new member `final_p'.
  28538. (gen_final_presence_set, gen_final_absence_set): New functions.
  28539. (process_decls): Use member `final_p'.
  28540. (temp_reserv): New global variable.
  28541. (reserv_sets_are_intersected): Add processing `final_presence_set'
  28542. and `final_absence_set'.
  28543. (initiate_states): Allocate `temp_reserv'.
  28544. (unit_final_presence_set_table, unit_final_absence_set_table): New
  28545. gloabal variables.
  28546. (initiate_presence_absence_pattern_sets): Initiate them.
  28547. (NDFA_to_DFA): Fix typo.
  28548. (output_description): Output `final_presence_set' and
  28549. `final_absence_set'.
  28550. * doc/md.texi (final_presence_set, final_absence_set): Describe
  28551. them.
  28552. 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
  28553. * genautomata.c (transform_3): Process a missing case (nothing on
  28554. unit place).
  28555. 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
  28556. * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
  28557. comments about queried units and the minimization.
  28558. * doc/md.texi: Ditto.
  28559. * genautomata.c (create_composed_state): Return nonzero if the new
  28560. state has been created.
  28561. (first_cycle_unit_presence): New function.
  28562. (state_is_differed): Add new parameter. Use the new function.
  28563. Take queried units into account.
  28564. (partition_equiv_class): Pass additional parameter to
  28565. `state_is_differed'.
  28566. (merge_states): Process composed states too.
  28567. (build_automaton, create_automata, output_min_issue_delay_table,
  28568. output_tables, output_statistics): Output more information.
  28569. (output_reserved_units_table): Use function
  28570. `first_cycle_unit_presence'.
  28571. (output_tables): Output table of queried units even if the
  28572. minimization is switched on.
  28573. (write_automata): Output code for querying units even if the
  28574. minimization is switched on.
  28575. 2002-09-19 Vladimir Makarov <vmakarov@redhat.com>
  28576. * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
  28577. syntax of the constructions.
  28578. * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
  28579. extended syntax of the constructions.
  28580. * genautomata.c (unit_rel_decl): Rename it to
  28581. `unit_pattern_rel_decl'.
  28582. (pattern_set_el, pattern_reserv): New structures.
  28583. (pattern_set_el_t, pattern_reserv_t): New types.
  28584. (gen_presence_absence_set): New function.
  28585. (process_presence_absence): Remove it.
  28586. (process_presence_absence_names,
  28587. process_presence_absence_patterns): New functions.
  28588. (get_presence_absence_set): Remove it.
  28589. (initiate_presence_absence_sets): Rename it on
  28590. `initiate_presence_absence_pattern_sets'. Use new function
  28591. `form_reserv_sets_list'.
  28592. (form_reserv_sets_list, check_presence_pattern_sets,
  28593. check_absence_pattern_sets, output_pattern_set_el_list): New
  28594. functions.
  28595. (unit_decl): Change types of members `presence_list' and
  28596. `absence_list'.
  28597. (unit_rel_decl): Rename member `names_num' to `all_names_num'.
  28598. (decl): Change types of members `excl', `presence', and `absence'.
  28599. (get_str_vect): Rename `par_flag' to `paren_p'. Add null element
  28600. at the end of the vector.
  28601. (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
  28602. gen_automaton, gen_regexp_repeat, gen_regexp_allof,
  28603. gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
  28604. (gen_presence_set, gen_absence_set): Use new function
  28605. `gen_presence_absence_set'.
  28606. (add_presence_absence): Process `pattern_list' instead of
  28607. `source_list'.
  28608. (process_decls): USe new functions
  28609. `process_presence_absence_names' and
  28610. `process_presence_absence_patterns'.
  28611. (reserv_sets_are_intersected): Use new function
  28612. `check_presence_pattern_sets'.
  28613. (presence_set, absence_set): Remove them.
  28614. (unit_presence_set_table, unit_absence_set_table): New global
  28615. variables.
  28616. (output_description): Use new function
  28617. `output_pattern_set_el_list'.
  28618. (generate): Use `initiate_presence_absence_pattern_sets'.
  28619. 2002-09-18 Vladimir Makarov <vmakarov@redhat.com>
  28620. * genattr.c (main): Add output of prototype of new interface
  28621. function `dfa_clean_insn_cache'.
  28622. * genautomata.c (output_dfa_clean_insn_cache_func): New function.
  28623. (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
  28624. (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
  28625. the generated code.
  28626. (write_automata): Call the new function.
  28627. 2003-01-09 Jan Hubicka <jh@suse.cz>
  28628. * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
  28629. correctly.
  28630. 2003-01-09 Paolo Carlini <pcarlini@unitus.it>
  28631. * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
  28632. 2003-01-09 J"orn Rennecke <joern.rennecke@superh.com>
  28633. * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
  28634. (EXTRA_ADDRESS_CONSTRAINT): Likewise.
  28635. (CONSTRAINT_LEN): Provide default definition.
  28636. (CONST_OK_FOR_CONSTRAINT_P): Likewise.
  28637. (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
  28638. (EXTRA_CONSTRAINT_STR): Likewise.
  28639. (REG_CLASS_FROM_CONSTRAINT): Define.
  28640. * genoutput.c (check_constraint_len, constraint_len): New functions.
  28641. (validate_insn_alternatives): Check CONSTRAINT_LEN for each
  28642. constraint / modifier.
  28643. (gen_insn): Call check_constraint_len.
  28644. * local-alloc.c (block_alloc): Update to use new macros / pass
  28645. second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
  28646. * ra-build.c (handle_asm_insn): Likewise.
  28647. * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
  28648. (constrain_operands, peep2_find_free_register): Likewise.
  28649. * regclass.c (record_operand_costs, record_reg_classes): Likewise.
  28650. * regmove.c (find_matches): Likewise.
  28651. * reload.c (push_secondary_reload, find_reloads): Likewise.
  28652. (alternative_allows_memconst): Likewise.
  28653. * reload1.c (maybe_fix_stack_asms): Likewise.
  28654. (reload_cse_simplify_operands): Likewise.
  28655. * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
  28656. * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
  28657. (CONST_OK_FOR_CONSTRAINT_P): Likewise.
  28658. (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
  28659. (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
  28660. * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
  28661. * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
  28662. 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
  28663. * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
  28664. length.
  28665. (*extzv_1_r_h8300hs): Likewise.
  28666. (*extzv_1_r_inv_h8300): Likewise.
  28667. (*extzv_1_r_inv_h8300hs): Likewise.
  28668. 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
  28669. * config/h8300/h8300.h (PREDICATE_CODES): New.
  28670. 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
  28671. * config/h8300/h8300.md (*addsi3_upper): New.
  28672. (*iorsi3_shift): Likewise.
  28673. (two splitters): Likewise.
  28674. (*addsi3_shift): Likewise.
  28675. (two splitters): Likewise.
  28676. 2003-01-09 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
  28677. * Makefile.in (optabs.o): Add dependency on basic-block.h.
  28678. * basic-block.h (control_flow_insn_p): Fuction was exported.
  28679. * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
  28680. * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
  28681. notes only when the region is contained in a single basic block.
  28682. 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
  28683. PR inline-asm/8832
  28684. * tree.h (expand_asm): New prototype.
  28685. * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
  28686. to do so.
  28687. * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
  28688. down to expand_asm.
  28689. * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
  28690. * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
  28691. (volatile_refs_p) [ASM_INPUT]: Likewise.
  28692. (side_effects_p) [ASM_INPUT]: Likewise.
  28693. 2003-01-09 Jan Hubicka <jh@suse.cz>
  28694. * i386.md (*mul*): FIx constraints; remove confused comment; fix
  28695. athlon_decode attributes
  28696. (imul/k8 optimization peep2s): New.
  28697. * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
  28698. * i386.md (type attribute): Add ssecomi.
  28699. (unit, memory, prefix attributes): Handle ssecomi.
  28700. (cvt?2? patterns): Fix athlon_decode attribute
  28701. (comi patterns): Set attribute to ssecomi.
  28702. PR target/8343
  28703. * m68k.md (umulsidi, mulsidi expanders): Use register operand.
  28704. 2003-01-09 Richard Sandiford <rsandifo@redhat.com>
  28705. * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
  28706. that match register_operands.
  28707. * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
  28708. register_operand the default case.
  28709. 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
  28710. PR c/8032
  28711. * c-typeck.c (process_init_element) [RECORD_TYPE]: For
  28712. an empty element, do not advance the pointer to unfilled
  28713. fields if there are pending initializers.
  28714. 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  28715. * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
  28716. (install-gcc-tooldir, install-cpp, installdirs,
  28717. install-common, install-driver, install-info, install-man,
  28718. install-headers, install-include-dir, install-headers-tar,
  28719. install-headers-cpio, install-headers-cp, install-mkheaders,
  28720. install-collect2, uninstall): Prepend $(DESTDIR) to
  28721. destination paths in all (un)installation commands.
  28722. (install-driver): Rewrite $(LN) commands to support DESTDIR
  28723. with "ln" as well as with "ln -s".
  28724. (installdirs): Simply use mkinstalldirs.
  28725. (install-libgcc, install-multilib): Also pass DESTDIR.
  28726. * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
  28727. installation destination variable ldir.
  28728. * config/alpha/t-osf4, config/arm/t-netbsd,
  28729. config/ia64/t-hpux, config/mips/t-iris5-6,
  28730. config/pa/t-hpux-shlib, config/rs6000/t-aix43,
  28731. config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
  28732. config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
  28733. in the definition of SHLIB_INSTALL.
  28734. * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
  28735. $(libsubdir) in the installation commands.
  28736. 2003-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
  28737. * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
  28738. non-optimizing compile.
  28739. (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
  28740. compile.
  28741. 2003-01-08 Douglas B Rupp <rupp@gnat.com>
  28742. * config/i386/i386.c (ix86_attribute_table): Add new attributes
  28743. ms_struct and gcc_struct.
  28744. (ix86_handle_struct_attribute): New function.
  28745. (ix86_ms_bitfield_layout_p): Update to take new attributes
  28746. into account.
  28747. * doc/extend.texi: Document new attributes.
  28748. * testsuite/gcc.dg/bf-ms-attrib.c: New test.
  28749. 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net>
  28750. PR optimization/8750
  28751. * config/i386/i386.c (ix86_expand_prologue): Don't allow
  28752. scheduling pass to move insns across __alloca call.
  28753. 2003-01-08 Dale Johannesen <dalej@apple.com>
  28754. * config/rs6000/rs6000.md: Replace *store_multiple_string
  28755. with *stmsi[3-8].
  28756. 2003-01-08 Jeff Sturm <jsturm@one-point.com>
  28757. PR target/9210
  28758. * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
  28759. Set SYMBOL_REF_FLAG on local data sym_ref.
  28760. 2003-01-08 Dale Johannesen <dalej@apple.com>
  28761. * function.c (assign_parms): Don't set pretend_args_size if
  28762. REG_PARM_STACK_SPACE.
  28763. config/rs6000/rs6000.c (setup_incoming_varargs): Don't set
  28764. pretend_args_size.
  28765. 2003-01-08 Nathanael Nerode <neroden@gcc.gnu.org>
  28766. * gcc.hlp: Delete.
  28767. 2003-01-09 Jan Hubicka <jh@suse.cz>
  28768. * i386.c (ix86_expand_int_addcc): Fix thinko.
  28769. 2003-01-08 David Edelsohn <edelsohn@gnu.org>
  28770. * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
  28771. * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
  28772. as hook_bool_tree_hwi_hwi_tree_true.
  28773. (rs6000_emit_allocate_stack): Use TARGET_32BIT.
  28774. (rs6000_emit_epilogue): Same.
  28775. (rs6000_output_mi_thunk): Re-implement as RTL.
  28776. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
  28777. xcoffout_declare_function if any debugging enabled.
  28778. 2003-01-08 Chris Demetriou <cgd@broadcom.com>
  28779. * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
  28780. targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
  28781. * config/mips/mips.h (enum processor_type): Rename
  28782. PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
  28783. PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
  28784. Add PROCESSOR_M4K.
  28785. (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
  28786. (ISA_MIPS32R2): New define.
  28787. (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
  28788. (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
  28789. (ISA_HAS_PREFETCH): Add support for MIPS32R2.
  28790. (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation.
  28791. (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new
  28792. predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
  28793. (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
  28794. compiling MIPS16 code.
  28795. (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
  28796. comment.
  28797. (ISA_HAS_SEB_SEH): New define.
  28798. (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
  28799. * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
  28800. processor_type value renaming. Add support for MIPS32R2.
  28801. Clean up comments, and move "sb1" entry with other MIPS64 CPU
  28802. entries.
  28803. (override_options): Reimplement -mipsN option handling so that
  28804. it will work correctly for -mips32r2. Avoid branch-likely
  28805. instructions on MIPS32R2.
  28806. * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
  28807. (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
  28808. (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
  28809. (extendhisi2_hw, extendqisi2_hw): New.
  28810. * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
  28811. for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32,
  28812. MIPS32R2, and MIPS64.
  28813. (LINK_SPEC): Pass -mips32r2 to linker.
  28814. * config/mips/t-isa3264: Built -mips32r2 multilibs.
  28815. * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
  28816. for mips32r2 in the -march description. Alphabetically sort
  28817. CPU names in the -march description. Add long-missed -mips32
  28818. and -mips64 to MIPS option summary.
  28819. * config.gcc: Update copyright years to include 2003.
  28820. * config/mips/mips.c: Likewise.
  28821. * config/mips/mips.h: Likewise.
  28822. * config/mips/mips.md: Likewise.
  28823. * config/mips/netbsd.h: Likewise.
  28824. * doc/invoke.texi: Likewise.
  28825. 2003-01-08 Andreas Schwab <schwab@suse.de>
  28826. * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
  28827. variable.
  28828. * configure: Regenerated.
  28829. 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
  28830. * config/h8300/h8300.c (output_logical_op): Replace byte/word
  28831. extraction of det with b0, b1, w0, w2, etc.
  28832. (compute_logical_op_length): Likewise.
  28833. (compute_logical_op_cc): Likewise.
  28834. 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
  28835. * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
  28836. HIGH on all variants.
  28837. 2003-01-08 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
  28838. * Makefile.in (PARTITION_H): New.
  28839. (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
  28840. * basic-block.h: Include hard-reg-set.h.
  28841. 2003-01-08 Richard Earnshaw <rearnsha@arm.com>
  28842. * arm.h (ENABLE_XF_PATTERNS): Delete.
  28843. * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
  28844. (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
  28845. (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
  28846. (cmpxf_trap): Delete.
  28847. (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
  28848. 2003-01-08 Jan Hubicka <jh@suse.cz>
  28849. * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
  28850. (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
  28851. (add??cc): New expanders.
  28852. * i386.c (expand_int_addcc): New function.
  28853. * i386-protos.h (expand_int_addcc): Declare.
  28854. * alias.c (memory_modified_1): New static function.
  28855. (memory_modified): New static varaible.
  28856. (memory_modified_in_insn_p): New global function.
  28857. * rtl.h (memory_modified_in_insn_p): Declare.
  28858. * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
  28859. references.
  28860. * expr.h (emit_conditional_add): Declare.
  28861. 2003-01-07 Janis Johnson <janis187@us.ibm.com>
  28862. PR other/8947
  28863. * doc/invoke.texi (-malign-double): Explain that the option breaks
  28864. binary compatibility.
  28865. 2003-01-08 Andreas Schwab <schwab@suse.de>
  28866. * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
  28867. should come from the generic *-*-linux* entry.
  28868. 2003-01-07 Jan Hubicka <jh@suse.cz>
  28869. * cselib.c (cselib_current_insn_in_libcall): New static variable.
  28870. (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
  28871. we are inside libcall.
  28872. * cselib.h (elt_loc_list): Add in_libcall.
  28873. * gcse.c (do_local_cprop): Do not copy propagate using insns
  28874. in libcalls.
  28875. 2003-01-07 David Edelsohn <edelsohn@gnu.org>
  28876. * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
  28877. not normally affect to issue rate.
  28878. 2003-01-07 Jan Hubicka <jh@suse.cz>
  28879. * genopinit.c (optabs): Add addc_optab.
  28880. * ifcvt.c (noce_try_store_flag): Rename to ...
  28881. (noce_try_addcc): ... this one; handle generic conditional increment.
  28882. (noce_process_if_block): Update noce_try_addcc call.
  28883. * optabs.c (emit_conditional_add): New.
  28884. (init_obtabs): Initialize addc_optab.
  28885. * optabs.h (optab_index): Add OTI_addcc.
  28886. (addcc_optab): New macro.
  28887. * md.texi: Document addMcc
  28888. PR target/8322
  28889. * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
  28890. * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
  28891. * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
  28892. * reload1.c (delete_output_reload): Avoid repeated attempts
  28893. to delete insn.
  28894. 2003-01-07 Andreas Schwab <schwab@suse.de>
  28895. * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
  28896. Move --enable-initfini-array check ...
  28897. * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define
  28898. HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
  28899. Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN.
  28900. * configure: Rebuild.
  28901. 2003-01-07 Richard Henderson <rth@redhat.com>
  28902. * alias.c (find_base_value): Only use new_reg_base_value shortcut
  28903. if the register is set once.
  28904. 2003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
  28905. * config/i386/i386.c (ix86_init_mmx_sse_builtins):
  28906. __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
  28907. * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
  28908. 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
  28909. Sunil Davasam <sunil.k.davasam@intel.com>
  28910. PR libstdc++/9076
  28911. * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
  28912. DW_CFA_same_value, read next and ignore.
  28913. 2003-01-07 Richard Henderson <rth@redhat.com>
  28914. * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
  28915. 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
  28916. * cfg.c: Include alloc-pool.h
  28917. (edge_pool): New pool.
  28918. (bb_pool): New pool.
  28919. (first_deleted_edge): Remove.
  28920. (first_deleted_block): Remove.
  28921. (init_flow): Alloc/free the pools.
  28922. (free_edge): Use pools.
  28923. (alloc_block): Ditto.
  28924. (expunge_block): Ditto.
  28925. (cached_make_edge): Ditto.
  28926. * Makefile.in (cfg.o): Add alloc-pool.h dependency.
  28927. 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
  28928. * et-forest.c: Include alloc-pool.h.
  28929. (struct et_forest): Add node_pool and occur_pool.
  28930. (et_forest_create): Create the new pools.
  28931. (et_forest_delete): Delete them.
  28932. (et_forest_add_node): Allocate and free using pools.
  28933. (et_forest_add_edge): Ditto.
  28934. (et_forest_remove_node): Ditto.
  28935. (et_forest_remove_edge): Ditto.
  28936. * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
  28937. 2003-01-07 Kazu Hirata <kazu@cs.umass.edu>
  28938. * config/h8300/h8300.c (output_logical_op): Simplify and
  28939. optimize the handling of SImode.
  28940. * config/h8300/h8300.c (compute_logical_op_length): Update
  28941. accordingly.
  28942. * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
  28943. 2003-01-07 Richard Sandiford <rsandifo@redhat.com>
  28944. * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
  28945. big-endian correction to indirect arguments too.
  28946. 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
  28947. Segher Boessenkool <segher@koffie.nl>
  28948. * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
  28949. (alt_reg_names): Ditto, fix formatting.
  28950. * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
  28951. 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
  28952. * config/h8300/h8300.c (final_prescan_insn): Constify uid.
  28953. (output_logical_op): Constify intval and det.
  28954. (compute_logical_length): Likewise.
  28955. (compute_logical_cc): Likewise.
  28956. (output_a_shift): Constify mask.
  28957. (h8300_encode_label): Constify len.
  28958. 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
  28959. * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
  28960. (h8300_expand_epilogue): Likewise.
  28961. 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
  28962. Segher Boessenkool <segher@koffie.nl>
  28963. * config/rs6000/altivec.md: Remove spaces from assembler
  28964. instruction argument lists.
  28965. 2003-01-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  28966. * config/c4x/c4x.c (c4x_naked_function_p): Rename from
  28967. c4x_assembler_function_p.
  28968. (c4x_null_epilogue_p): Complement return value, all uses updated.
  28969. (c4x_insert_attributes): Add naked.
  28970. * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
  28971. * doc/extend.texi: Update C4x function attributes.
  28972. 2003-01-06 Richard Henderson <rth@redhat.com>
  28973. * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
  28974. properly when changing "local-ness".
  28975. * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
  28976. 2003-01-06 Dale Johannesen <dalej@apple.com>
  28977. * config/darwin-protos.h: Add prototypes for new section functions.
  28978. 2003-01-06 Chris Demetriou <cgd@broadcom.com>
  28979. * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
  28980. to EABI.
  28981. 2003-01-06 Zack Weinberg <zack@codesourcery.com>
  28982. * hwint.h: If the current compiler has no 64-bit type at all,
  28983. make HOST_WIDEST_INT 32 bits.
  28984. 2003-01-06 Eric Christopher <echristo@redhat.com>
  28985. * config/mips/mips.md (movdf_internal2): Fix constraints.
  28986. 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
  28987. * config/h8300/h8300.md (*twoshifts_l16_r1): New.
  28988. 2003-01-06 Richard Sandiford <rsandifo@redhat.com>
  28989. * config/mips/mips.md (leadi): Use dla rather than la.
  28990. 2003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com>
  28991. * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug
  28992. in C33_FLAG. Added proper C33 support in ASM_FILE_START macro.
  28993. 2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
  28994. * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
  28995. redefinition.
  28996. 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
  28997. * config/h8300/h8300.md (*extzv_8_23): New.
  28998. 2003-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
  28999. * pa64-hpux.h (JCR_SECTION_NAME): Define.
  29000. (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
  29001. USE_EH_FRAME_REGISTRY when defining.
  29002. 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
  29003. * config/h8300/h8300.c (output_a_shift): Do not output a
  29004. variable shift.
  29005. * config/h8300/h8300.md (two splitters): New.
  29006. 2003-01-05 Richard Sandiford <rsandifo@redhat.com>
  29007. * config/mips/mips.md: Disable the movstrsi define_split.
  29008. 2003-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  29009. * alloc-pool.c: Don't include "libiberty.h".
  29010. * config/sparc/gmon-sol2.c: Include <fcntl.h>.
  29011. * convert.c (convert_to_real): Hide unused variable.
  29012. 2003-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  29013. * Makefile.in (gtyp-gen.h): Const-ify.
  29014. * gcov-dump.c (tag_table): Likewise.
  29015. 2003-01-04 Bruce Korb <bkorb@gnu.org>
  29016. * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
  29017. of *both* the file name and the fix name.
  29018. 2003-01-04 John David Anglin <dave.anglin@nrc.ca>
  29019. * config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use
  29020. collect2.
  29021. * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
  29022. (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
  29023. * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
  29024. GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
  29025. GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
  29026. (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
  29027. elfos.h.
  29028. (EH_FRAME_IN_DATA_SECTION): Delete define.
  29029. (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
  29030. (STARTFILE_SPEC): Use crtbegin.o.
  29031. (ENDFILE_SPEC): Use crtend.o.
  29032. (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
  29033. SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
  29034. PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
  29035. DTOR_LIST_BEGIN): Define.
  29036. * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
  29037. (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
  29038. * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
  29039. 2002-12-31 Larin Hennessy <larin@science.oregonstate.edu>
  29040. * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
  29041. * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
  29042. m88k-*-sysv3*, Sony NewsOS. Remove references to i860.
  29043. Cleanup handling of replacement text.
  29044. * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
  29045. 2003-01-04 Bruce Korb <bkorb@gnu.org>
  29046. * fixinc/tests/base/math.h: removed obsolete results
  29047. * fixinc/tests/base/stdlib.h: ditto
  29048. * fixinc/tests/base/sys/param.h: ditto
  29049. * fixinc/tests/base/sys/stat.h: ditto
  29050. * fixinc/tests/base/time.h: ditto
  29051. * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
  29052. * fixinc/tests/base/sys/byteorder.h: ditto
  29053. * fixinc/inclhack.def: Remove superfluous backslashes
  29054. 2003-01-04 Kazu Hirata <kazu@cs.umass.edu>
  29055. * config/h8300/h8300-protos.h: Add prototypes for
  29056. the new functions defined below.
  29057. * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
  29058. define.
  29059. (dosize): Emit RTL instead of assembly code.
  29060. (push): Likewise.
  29061. (pop): Likewise.
  29062. (h8300_output_function_prologue): Remove.
  29063. (h8300_expand_prologue): New.
  29064. (h8300_expand_epilogue): New.
  29065. (h8300_output_function_epilogue): Do only the reset of
  29066. pragma_saveall.
  29067. * config/h8300/h8300.md (push_h8300): New.
  29068. (push_h8300hs): Likewise.
  29069. (pop_h8300): Likewise.
  29070. (pop_h8300hs): Likewise.
  29071. (*stm_h8300s_2): Change the name to stm_h8300s_2.
  29072. (*stm_h8300s_3): Change the name to stm_h8300s_3.
  29073. (*stm_h8300s_4): Change the name to stm_h8300s_4.
  29074. (*ldm_h8300s_2): New.
  29075. (*ldm_h8300s_3): Likewise.
  29076. (*ldm_h8300s_4): Likewise.
  29077. (return): Likewise.
  29078. (*return_1): Likewise.
  29079. (prologue): Likewise.
  29080. (epilogue): Likewise.
  29081. (monitor_prologue): Likewise.
  29082. 2003-01-03 Dale Johannesen <dalej@apple.com>
  29083. * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1,
  29084. machopic_picsymbol_stub1.
  29085. (EXTRA_SECTION_FUNCTIONS): Ditto.
  29086. * rs6000/rs6000.c: Update copyright.
  29087. (machopic_output_stub): Use them. Remove an insn from stub code.
  29088. 2003-01-02 Jason Merrill <jason@redhat.com>
  29089. * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
  29090. * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
  29091. static/external decls.
  29092. * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
  29093. outermost scope.
  29094. * c-decl.c (c_make_fname_decl): Push the decls there, too.
  29095. 2003-01-03 Kazu Hirata <kazu@cs.umass.edu>
  29096. * config/h8300/h8300-protos.h: Add a prototype for
  29097. h8300_current_function_interrupt_function_p.
  29098. * config/h8300/h8300.c (interrupt_handler): Remove.
  29099. (os_task): Likewise.
  29100. (monitor): Likewise.
  29101. (pragma_interrupt): New.
  29102. (WORD_REG_USED): Use
  29103. h8300_current_function_interrupt_function_p.
  29104. (dosize): Likewise.
  29105. (h8300_output_function_prologue): Likewise.
  29106. Do not set interrupt_handler, os_task, monitor.
  29107. (h8300_output_function_prologue): Use
  29108. h8300_current_function_interrupt_function_p.
  29109. Do not set interrupt_handler, os_task, monitor.
  29110. (h8300_current_function_interrupt_function_p): New.
  29111. (h8300_pr_interrupt): Set pragma_interrupt.
  29112. (h8300_insert_attributes): Reset pragma_interrupt.
  29113. 2003-01-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  29114. * doc/install.texi (Configuration): Fix markup for reference to
  29115. gcc/config.gcc.
  29116. 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
  29117. * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
  29118. (*iorhi3_two_qi): Likewise.
  29119. (*iorsi3_zexthi): Likewise.
  29120. (*xorhi3_zextqi): Likewise.
  29121. (*xorsi3_zexthi): Likewise.
  29122. (*xorsi3_zextqi): Likewise.
  29123. 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
  29124. * config/h8300/h8300.c (stack_pointer_operand): New.
  29125. (const_int_gt_2_operand): Likewise.
  29126. (const_int_ge_8_operand): Likewise.
  29127. * config/h8300/h8300.md (a splitter): Likewise.
  29128. (a peephole2): Likewise.
  29129. * config/h8300/h8300-protos.h: Add prototypes for the new
  29130. functions above.
  29131. 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
  29132. * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
  29133. objc/objc-act.h: Fix copyright years.
  29134. 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
  29135. * doc/passes.texi: Fix documentation for -fssa-ccp
  29136. 2003-01-02 Neil Booth <neil@daikokuya.co.uk>
  29137. * gccbug.in: Update for new categories.
  29138. 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
  29139. * config/h8300/h8300.md: Reorder some patterns.
  29140. 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
  29141. * config/h8300/h8300.c (output_logical_op): Fix a warning.
  29142. 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
  29143. * config/darwin-protos.h, config/c4x/c4x-protos.h,
  29144. config/cris/cris-protos.h, config/i370/i370-protos.h,
  29145. config/i960/i960-protos.h, config/ia64/ia64-protos.h,
  29146. config/v850/v850-protos.h: Use struct, and don't conditionally
  29147. compile on GCC_C_PRAGMA_H.
  29148. 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
  29149. * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
  29150. * config/h8300/h8300-protos.h: Likewise.
  29151. * config/sh/sh-protos.h: Likewise.
  29152. 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
  29153. * config/arm/arm-protos.h: Use struct cpp_reader instead of
  29154. cpp_reader.
  29155. * config/h8300/h8300-protos.h: Likewise.
  29156. * config/sh/sh-protos.h: Likewise.
  29157. 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
  29158. * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
  29159. arm_pr_long_calls_off): Use struct.
  29160. * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
  29161. : Similarly.
  29162. Don't include cpplib.h.
  29163. * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
  29164. sh_pr_nosave_low_regs): Similarly.
  29165. 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
  29166. * config/h8300/h8300.c: Include cpplib.h.
  29167. 2003-01-01 Steven Bosscher <s.bosscher@student.tudelft.nl>
  29168. * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
  29169. objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
  29170. objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
  29171. "GCC" in the copyright header.
  29172. 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
  29173. * c-pragma.c (c_register_pragma): New.
  29174. (init_pragma): Use it.
  29175. * c-pragma.h (cpp_register_pragma): Don't declare.
  29176. (c_register_pragma): New.
  29177. * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
  29178. * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
  29179. * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
  29180. * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
  29181. * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
  29182. * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
  29183. * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
  29184. * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
  29185. * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
  29186. * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
  29187. * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
  29188. * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
  29189. Copyright (C) 2003 Free Software Foundation, Inc.
  29190. Copying and distribution of this file, with or without modification,
  29191. are permitted in any medium without royalty provided the copyright
  29192. notice and this notice are preserved.