ChangeLog-2002 1.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996
  1. 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
  2. * config/h8300/h8300-protos.h: Update the prototypes.
  3. * config/h8300/h8300.c (const_le_2_operand): Change to
  4. const_int_le_2_operand.
  5. (const_int_le_6_operand): Change to const_int_le_6_operand.
  6. * config/h8300/h8300.md (two peepholes): Update the function
  7. names.
  8. 2002-12-31 Tom Tromey <tromey@redhat.com>
  9. * doc/install.texi (Testing): Fixed typo.
  10. 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
  11. * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
  12. (TRAMPOLINE_SIZE): Support the normal mode.
  13. (INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
  14. 2002-12-31 Mark Mitchell <mark@codesourcery.com>
  15. * c-common.h (pending_lang_change): Declare.
  16. 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
  17. * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
  18. descriptions.
  19. 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
  20. * gcc/doc/invoke.texi (Optimization Options): List the options
  21. enabled by each -O flag.
  22. 2002-12-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  23. * doc/install.texi (Configuration): Explicitly refer
  24. gcc/config.gcc for a list of cpu models.
  25. 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
  26. * config/h8300/h8300.h: Fix comment typos.
  27. 2002-12-30 David Edelsohn <edelsohn@gnu.org>
  28. * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
  29. 2002-12-30 Tom Tromey <tromey@redhat.com>
  30. * doc/install.texi (Testing): Mention Jacks.
  31. 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
  32. * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
  33. 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
  34. * config/h8300/h8300.c (output_logical_op): Use extu.w in more
  35. cases.
  36. (compute_logical_op_length): Update to reflect the change in
  37. output_logical_op.
  38. (compute_logical_op_cc): Likewise.
  39. 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
  40. * doc/service.texi: Uncomment and update FAQ link.
  41. 2002-12-30 Andreas Jaeger <aj@suse.de>
  42. * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
  43. 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
  44. * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
  45. 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
  46. * config/h8300/h8300.c (output_logical_op): Use extu.w if we
  47. are clearing the most significant byte.
  48. (compute_logical_op_length): Update to reflect the change in
  49. output_logical_op.
  50. (compute_logical_op_cc): Likewise.
  51. 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
  52. * config/h8300/h8300.md: Give internal names to anonymous
  53. insns.
  54. 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
  55. * config/h8300/h8300.md: Reorder some insns.
  56. 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
  57. * config/h8300/h8300-protos.h: Add prototypes for
  58. const_int_qi_operand and const_int_hi_operand.
  59. * config/h8300/h8300.c (const_int_qi_operand): New.
  60. (const_int_hi_operand): Likewise.
  61. * config/h8300/h8300.md (three peepholes): New.
  62. 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
  63. * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
  64. Use @copying.
  65. 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
  66. * configure.in: Increase makeinfo version requirement to 4.[2-9].
  67. * configure: Regenerate.
  68. * doc/install.texi: Update Texinfo version requirement.
  69. 2002-12-28 Andreas Jaeger <aj@suse.de>
  70. * config/i386/i386.c (x86_function_profiler): Mark labelno as
  71. possibly unused.
  72. * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
  73. correct format.
  74. 2002-12-27 Kazu Hirata <kazu@cs.umass.edu>
  75. * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
  76. *iorhi_ashift_8.
  77. (*iorhi_lshiftrt_8): New.
  78. 2002-12-27 Joseph S. Myers <jsm@polyomino.org.uk>
  79. * doc/include/texinfo.tex: Update to version 2002-12-26.16.
  80. 2002-12-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  81. * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
  82. 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
  83. * config/h8300/h8300-protos.h: Fix comment typos.
  84. Update copyright.
  85. * config/h8300/h8300.c: Fix comment typos.
  86. 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
  87. * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
  88. 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
  89. * config/i386/athlon.md: Fix comment typos.
  90. * config/i386/crtdll.h: Likewise.
  91. * config/i386/djgpp.h: Likewise.
  92. * config/i386/i386-interix.h: Likewise.
  93. * config/i386/i386.c: Likewise.
  94. * config/i386/i386.h: Likewise.
  95. * config/i386/i386.md: Likewise.
  96. * config/i386/k6.md: Likewise.
  97. * config/i386/mingw32.h: Likewise.
  98. * config/i386/pentium.md: Likewise.
  99. * config/i386/sco5.h: Likewise.
  100. * config/i386/winnt.c: Likewise.
  101. * config/i386/xmmintrin.h: Likewise.
  102. 2002-12-26 Jose Renau <renau@cs.uiuc.edu>
  103. * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
  104. INSN_P before checking to see if it is dead.
  105. (mark_all_insn_unnecessary): Similarly.
  106. (ssa_eliminate_dead_code): Similarly.
  107. * rtl.h (struct rtx_def): Update comments for in_struct usage
  108. in dead code elimination pass.
  109. (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.
  110. 2002-12-26 Andreas Schwab <schwab@suse.de>
  111. * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
  112. 2002-12-25 David Edelsohn <edelsohn@gnu.org>
  113. * config/rs6000/rs6000.c (rs6000_override_options): Convert to
  114. tartet_flags_explicit.
  115. * config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete.
  116. Compact target_flags bits.
  117. (TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete.
  118. (TARGET_SWITCHES): Delete references to *_SET flags.
  119. Wed Dec 25 20:30:53 CET 2002 Jan Hubicka <jh@suse.cz>
  120. * i386.md (memory attribute): Fix setcc attribute.
  121. 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
  122. * output.h: Fix comment typos.
  123. * predict.c: Likewise.
  124. * print-tree.c: Likewise.
  125. * profile.c: Likewise.
  126. * ra-build.c: Likewise.
  127. * ra-colorize.c: Likewise.
  128. * ra-debug.c: Likewise.
  129. * ra-rewrite.c: Likewise.
  130. * ra.c: Likewise.
  131. * ra.h: Likewise.
  132. * real.c: Likewise.
  133. * recog.c: Likewise.
  134. * reg-stack.c: Likewise.
  135. * regclass.c: Likewise.
  136. 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
  137. * config/h8300/h8300.c (print_operand_address): Do not negate
  138. a negative number when printing one.
  139. 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
  140. * config/h8300/h8300-protos.h: Add prototypes for
  141. output_plussi, compute_plussi_length, and compute_plussi_cc.
  142. * config/h8300/h8300.c (output_plussi): New.
  143. (compute_plussi_length): Likewise.
  144. (compute_plussi_cc): Likewise.
  145. * config/h8300/h8300.md (addsi_h8300h): Call
  146. output_plussi, compute_plussi_length, and compute_plussi_cc.
  147. 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
  148. * config/h8300/h8300.md (two peepholes): Use match_dup instead
  149. of match_operand in the new patterns.
  150. 2002-12-24 Joseph S. Myers <jsm@polyomino.org.uk>
  151. * doc/include/texinfo.tex: Update to version 2002-11-25.11.
  152. 2002-12-24 Nathan Sidwell <nathan@codesourcery.com>
  153. * configure.in (enable-coverage): Add SELF_COVERAGE.
  154. * profile.c (end_branch_prob): Use SELF_COVERAGE.
  155. 2002-12-24 Jim Wilson <wilson@redhat.com>
  156. * alias.c (record_set): Handle multi-reg hard registers.
  157. 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
  158. * regmove.c: Fix comment typos.
  159. * reload.c: Likewise.
  160. * reload1.c: Likewise.
  161. * resource.c: Likewise.
  162. * rtl.def: Likewise.
  163. * rtl.h: Likewise.
  164. * rtlanal.c: Likewise.
  165. * sched-deps.c: Likewise.
  166. * sched-rgn.c: Likewise.
  167. * sibcall.c: Likewise.
  168. * simplify-rtx.c: Likewise.
  169. * ssa-ccp.c: Likewise.
  170. * ssa.c: Likewise.
  171. * stmt.c: Likewise.
  172. * stor-layout.c: Likewise.
  173. * system.h: Likewise.
  174. * tlink.c: Likewise.
  175. * toplev.c: Likewise.
  176. * tracer.c: Likewise.
  177. * tree-inline.c: Likewise.
  178. * tree.c: Likewise.
  179. * tree.h: Likewise.
  180. * unroll.c: Likewise.
  181. * varasm.c: Likewise.
  182. 2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>
  183. * doc/install.texi: Remove i386-*-isc, i860-*-bsd,
  184. m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
  185. * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
  186. DG/UX entries.
  187. * doc/md.texi: Remove AMD 29K entries.
  188. * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
  189. 1.38.1, NewsOS, RT PC, WE32K entries.
  190. 2002-12-23 Aldy Hernandez <aldyh@redhat.com>
  191. PR/8763
  192. * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
  193. (altivec_vspltisw_v4sf): Name pattern.
  194. (altivec_vslw_v4sf): New pattern.
  195. 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
  196. * doc/include/gcc-common.texi: Define DEVELOPMENT.
  197. 2002-12-23 Mark Mitchell <mark@codesourcery.com>
  198. * stor-layout.c (update_alignment_for_field): Correct handling of
  199. unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
  200. * doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
  201. bitfield does not affect alignment.
  202. 2002-12-23 David Edelsohn <edelsohn@gnu.org>
  203. * expr.c (expand_assignment): Apply special treatment to
  204. ARRAY_TYPE.
  205. 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
  206. * config/h8300/h8300-protos.h: Update the prototype of
  207. expand_a_shift.
  208. * config/h8300/h8300.c (expand_a_shift): Change the return
  209. type to void.
  210. * config/h8300/h8300.md: Update all the uses of
  211. expand_a_shift.
  212. 2002-12-22 Nathan Sidwell <nathan@codesourcery.com>
  213. * tree.c (save_expr): Allow either side of a dyadic operand to be
  214. constant.
  215. * doc/portability.texi (portability): Update portability goals.
  216. 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
  217. * config/h8300/h8300.c (output_a_shift): Remove unused code.
  218. 2002-12-22 Mark Mitchell <mark@codesourcery.com>
  219. * stor-layout.c (update_alignment_for_field): Guard use of
  220. ADJUST_FIELD_ALIGN with #ifdef.
  221. * stor-layout.c (update_alignment_for_field): Use
  222. ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
  223. bitfield when PCC_BITFIELD_TYPE_MATTERS.
  224. 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
  225. * genautomata.c: Fix comment typos.
  226. Sun Dec 22 18:23:44 CET 2002 Jan Hubicka <jh@suse.cz>
  227. * params.def (tracer-min-branch-probability-feedback): Fix default.
  228. * final.c (compute_alignments): Use profile to avoid code bloat.
  229. 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
  230. * config/h8300/h8300.c (get_shift_alg): Make shift insn
  231. sequences end with a valid cc0 whenever possible.
  232. 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
  233. * config/h8300/h8300.md (negsf2): New.
  234. (*negsf2_h8300): Likewise.
  235. (*negsf2_h8300hs): Likewise.
  236. 2002-12-21 Geoffrey Keating <geoffk@apple.com>
  237. * integrate.c (output_inline_function): Don't hold private
  238. pointers to 'struct function' over GC calls.
  239. 2002-12-21 Kaz kojima <kkojima@gcc.gnu.org>
  240. * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
  241. NO_FPSCR_VALUES.
  242. * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.
  243. 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
  244. * config/h8300/h8300.md (zero_extendqisi2): Correct the
  245. length.
  246. 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
  247. * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
  248. second alternative "#".
  249. (*zero_extendqihi2_h8300hs): Likewise.
  250. (a define_split): New.
  251. 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
  252. * config/h8300/h8300-protos.h: Update the prototype for
  253. split_adds_subs.
  254. Add prototypes for const_le_2_operand and const_le_6_operand.
  255. * config/h8300/h8300.c (split_adds_subs): Add an argument to
  256. specify whether inc/dec should be used when possible.
  257. (const_le_2_operand): New.
  258. (const_le_6_operand): Likewise.
  259. * config/h8300/h8300.md (two peepholes): New.
  260. 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
  261. * config/fr30/fr30.md: Fix a comment typo.
  262. * config/i386/i386.c: Likewise.
  263. * config/ip2k/ip2k.h: Likewise.
  264. 2002-12-20 Jim Wilson <wilson@redhat.com>
  265. * config/rs6000/spe.h (__ev_subifw): Reverse arguments.
  266. (__ev_subw, __ev_subiw): New.
  267. (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
  268. ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.
  269. 2002-12-20 John David Anglin <dave.anglin@nrc.gc.ca>
  270. * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
  271. * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
  272. * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
  273. TARGET_ELF32. Add comment on sibcall issues for TARGET_64BIT.
  274. 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
  275. * config/h8300/h8300-protos.h: Add prototypes for
  276. incdec_operand and eqne_operator.
  277. * config/h8300/h8300.c (incdec_operand): New.
  278. (eqne_operator): Likewise.
  279. * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
  280. (CONST_OK_FOR_O): Likewise.
  281. (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
  282. CONST_OK_FOR_O.
  283. * config/h8300/h8300.md (UNSPEC_INCDEC): New.
  284. (addhi3_incdec): New.
  285. (addsi3_incdec): Likewise.
  286. (two peepholes): Likewise.
  287. 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
  288. * config/h8300/h8300.c (dosize): Remove warnings.
  289. (print_operand): Likewise.
  290. 2002-12-20 Richard Henderson <rth@redhat.com>
  291. * config/alpha/alpha.c (decl_has_samegp): New.
  292. (samegp_function_operand): Use it. Rename from
  293. current_file_function_operand.
  294. (direct_call_operand): Handle -msmall-text via symbol->jump.
  295. (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
  296. (tls_symbolic_operand_type): Likewise.
  297. (alpha_encode_section_info): Likewise. Handle -msmall-text.
  298. (alpha_function_ok_for_sibcall): Use decl_has_samegp.
  299. (alpha_end_function): Set symbol->jump for functions defined in
  300. the text section.
  301. * config/alpha/alpha-protos.h: Update.
  302. * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
  303. (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
  304. (PREDICATE_CODES): Update.
  305. * config/alpha/alpha.md (call patterns): Update for
  306. samegp_function_operand rename; use !samegp reloc if
  307. TARGET_EXPLICIT_RELOCS.
  308. * doc/invoke.text: Document -msmall-text and -mlarge-text.
  309. 2002-12-20 Ian Dall <ian@sibyl.beware.dropbear.id.au>
  310. * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
  311. all registers capable of holding a double float.
  312. (*rcond): change name of "reverse branch" insns to
  313. something more meaningful.
  314. (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
  315. comparisons properly.
  316. (*ffs): Change operand 0 from write to read-modify-write.
  317. (*ffsssi2): Drop constraints from define_expand.
  318. * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
  319. MOVE_RATIO as default for store operations.
  320. * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
  321. LONG_REGS class.
  322. (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
  323. (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
  324. * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.
  325. * config/ns32k/STATUS: New File
  326. * config/ns32k/NOTES: New file.
  327. 2002-12-20 Hartmut Penner <hpenner@de.ibm.com>
  328. * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
  329. option for S/390 and zSeries.
  330. * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
  331. s390_arch_string): New variables.
  332. (override_options): Checking for options and setting of
  333. appropriate target_flags, cpu and arch flags.
  334. * config/s390/s390.h: (processor_type): New enum.
  335. (TARGET_SWITCHES): New switches -mesa/zarch.
  336. * config/s390/s390.md: New attribute 'cpu'.
  337. 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
  338. * c-pretty-print.h: Fix comment typos.
  339. * integrate.c: Likewise.
  340. * varasm.c: Likewise.
  341. * config/c4x/c4x.h: Likewise.
  342. * config/c4x/c4x.md: Likewise.
  343. * config/fr30/fr30.md: Likewise.
  344. * config/frv/frv.c: Likewise.
  345. * config/h8300/h8300.c: Likewise.
  346. * config/i386/i386.c: Likewise.
  347. * config/i386/i386.h: Likewise.
  348. * config/ia64/ia64.c: Likewise.
  349. * config/ia64/ia64.h: Likewise.
  350. * config/ip2k/ip2k.md: Likewise.
  351. * config/m68hc11/m68hc11-crt0.S: Likewise.
  352. * config/m68hc11/m68hc11.h: Likewise.
  353. * config/m68hc11/m68hc11.md: Likewise.
  354. * config/m68hc11/m68hc12.h: Likewise.
  355. * config/mcore/mcore.md: Likewise.
  356. * config/mips/mips.c: Likewise.
  357. * config/mips/mips.md: Likewise.
  358. * config/mmix/mmix-modes.def: Likewise.
  359. * config/pa/pa.c: Likewise.
  360. * config/rs6000/rs6000.c: Likewise.
  361. * config/rs6000/rs6000.h: Likewise.
  362. * config/rs6000/rs6000.md: Likewise.
  363. 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
  364. * config/h8300/h8300.md (output_a_shift): Clean up the code to
  365. output shifts using rotation.
  366. 2002-12-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  367. * flow.c (allocate_reg_life_data): Reset REG_FREQ.
  368. 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
  369. * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
  370. pointer.
  371. (pushqi_h8300hs): Likewise.
  372. (pushhi_h8300): Likewise.
  373. (pushhi_h8300hs): Likewise.
  374. Thu Dec 19 23:44:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
  375. * sched-rgn.c (init_regions): Update comment.
  376. 2002-12-19 David Edelsohn <edelsohn@gnu.org>
  377. * config/rs6000/rs6000.md (define_attr type): Remove altivec.
  378. * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
  379. attributes.
  380. (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
  381. (get_vrsave_internal,set_vrsave_internal): Same.
  382. (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
  383. (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
  384. (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
  385. 2002-12-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
  386. Danny Smith <dannysmith@users.sourceforge.net>
  387. Eric Kohl <ekohl@rz-online.de>
  388. * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
  389. attributes incompatible with fastcall attribute.
  390. (ix86_handle_regparm_attribute): Likewise.
  391. * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
  392. fastcall types.
  393. * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
  394. attributes.
  395. (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
  396. * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
  397. * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
  398. i386_pe_output_labelref rather than here.
  399. (gen_fastcall_suffix): New function. Decorates a label name with the
  400. fastcall prefix (@) and the stdcall suffix.
  401. (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
  402. has a fastcall attribute.
  403. (i386_pe_output_labelref): New function. Outputs a label reference.
  404. * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
  405. valid attribute.
  406. (ix86_return_pops_args): Fastcall functions pop the stack.
  407. (init_cumulative_args): Reserve registers ECX and EDX if function has
  408. fastcall attribute.
  409. (function_arg): Use registers ECX and EDX if function has fastcall
  410. attribute.
  411. * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
  412. (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
  413. (FASTCALL_PREFIX): Define as '@'.
  414. * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
  415. attributes.
  416. * doc/extend.texi: Add documentation of fastcall attribute.
  417. 2002-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
  418. * configure.in: FORBUILD when build!=host changed from
  419. ../$build-alias to ../build-$build_alias to match change made
  420. in top directory.
  421. * configure: Regenerated.
  422. 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
  423. PR optimization/8988
  424. * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
  425. the biv when eliminating.
  426. 2002-12-19 Devang Patel <dpatel@apple.com>
  427. * gcc.c (struct default_compiler): Recognizes input file name with
  428. .CPP extension as C++ source files
  429. * cp/lang-spec.h: Same
  430. * doc/invoke.texi: Add documentation for .CPP support.
  431. 2002-12-19 Aldy Hernandez <aldyh@redhat.com>
  432. PR 8553
  433. * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
  434. registers.
  435. ("absv16qi2"): Same.
  436. ("absv4si2"): Same.
  437. ("absv4sf2"): Same.
  438. ("altivec_abss_v16qi"): Same.
  439. ("altivec_abss_v8hi"): Same.
  440. ("altivec_abss_v4si"): Same.
  441. 2002-12-19 Ulrich Weigand <uweigand@de.ibm.com>
  442. * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
  443. "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
  444. 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
  445. PR target/8340
  446. * stmt.c (expand_asm_operands): Produce an error when
  447. the PIC register is clobbered.
  448. 2002-12-18 Daniel Berlin <dberlin@dberlin.org>
  449. * Makefile.in (OBJS): Add alloc-pool.o
  450. (alloc-pool.o): New object.
  451. * alloc-pool.c: New file.
  452. * alloc-pool.h: New file.
  453. 2002-12-18 Loren James Rittle <ljrittle@acm.org>
  454. * gcc.c (validate_switches): Robustify against skipping past '\0'.
  455. 2002-12-18 Geoffrey Keating <geoffk@apple.com>
  456. * config.gcc: Set extra_objs in the generic Darwin rule,
  457. not in the machine-specific rules.
  458. 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
  459. * ChangeLog: Follow spelling conventions.
  460. * ChangeLog.2: Likewise.
  461. * ChangeLog.4: Likewise.
  462. * ChangeLog.5: Likewise.
  463. * cppexp.c: Likewise.
  464. * df.c: Likewise.
  465. * gcov.c: Likewise.
  466. * gengtype.c: Likewise.
  467. * reload1.c: Likewise.
  468. * sched-rgn.c: Likewise.
  469. * stmt.c: Likewise.
  470. * stor-layout.c: Likewise.
  471. * timevar.c: Likewise.
  472. * toplev.c: Likewise.
  473. * tree.h: Likewise.
  474. * varasm.c: Likewise.
  475. * config/fr30/fr30.md: Likewise.
  476. * config/i386/i386.c: Likewise.
  477. * config/ia64/ia64.c: Likewise.
  478. * config/pa/pa.c: Likewise.
  479. 2002-12-18 Roger Sayle <roger@eyesopen.com>
  480. * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
  481. 2002-12-18 Aldy Hernandez <aldyh@redhat.com>
  482. PR 8551
  483. * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
  484. macro.
  485. (vec_cmplt C++ functions): Reverse arguments.
  486. 2002-12-18 Geoffrey Keating <geoffk@apple.com>
  487. * config/rs6000/t-rs6000: Move contents to t-fprules,
  488. add rules for dependencies of rs6000.o and to build rs6000-c.o
  489. * config/rs6000/t-fprules: New file from t-rs6000.
  490. * config/rs6000/t-beos: Remove soft-fp rules.
  491. * config/rs6000/t-ppccomm: Likewise.
  492. * config/rs6000/t-newas: Likewise.
  493. * config/rs6000/t-rs6000-c-rule: Delete.
  494. * config.gcc: Use t-fprules for rs6000/ ports when appropriate.
  495. Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
  496. Create generic Darwin rules.
  497. * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
  498. 2002-12-18 Doug Evans <dje@sebabeach.org>
  499. * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
  500. and LIT_NAME_P.
  501. (move_src_operand): Remove compile-time warning.
  502. * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
  503. 2002-12-18 Jason Merrill <jason@redhat.com>
  504. * unwind-dw2-fde.c (frame_downheap): Split out from...
  505. (frame_heapsort): Here.
  506. 2002-12-17 Jason Merrill <jason@redhat.com>
  507. * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
  508. (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
  509. * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
  510. * calls.c (expand_call): Don't try to be clever about expanding
  511. the return slot address.
  512. 2002-12-18 Kaz kojima <kkojima@gcc.gnu.org>
  513. * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
  514. Define.
  515. 2002-12-17 Jason Merrill <jason@redhat.com>
  516. * genmultilib: Use 'cd ./foo'.
  517. 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
  518. * doc/c-tree.texi: Restore deliberate spelling mistakes.
  519. 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
  520. * doc/c-tree.texi: Fix typos and follow spelling conventions.
  521. * doc/cpp.texi: Likewise.
  522. * doc/extend.texi: Likewise.
  523. * doc/gty.texi: Likewise.
  524. * doc/install.texi: Likewise.
  525. * doc/invoke.texi: Likewise.
  526. * doc/md.texi: Likewise.
  527. * doc/passes.texi: Likewise.
  528. * doc/rtl.texi: Likewise.
  529. * doc/sourcebuild.texi: Likewise.
  530. * doc/tm.texi: Likewise.
  531. 2002-12-17 Jerry Quinn <jlquinn@optonline.net>
  532. * doc/invoke.texi: Minor spelling and grammar fixes.
  533. 2002-12-17 Ulrich Weigand <uweigand@de.ibm.com>
  534. * config/s390/s390.c (s390_output_constant_pool): Replace
  535. ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
  536. Tue Dec 17 09:47:57 CET 2002 Jan Hubicka <jh@suse.cz>
  537. * convert.c (convert_to_real): Disable function transformation for
  538. now.
  539. 2002-12-16 Geoffrey Keating <geoffk@apple.com>
  540. * gcc.c (handle_braces): Allow '@' as a switch name.
  541. 2002-12-16 Jason Merrill <jason@redhat.com>
  542. * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
  543. with special struct-return ABIs.
  544. * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
  545. doesn't match the begin SCOPE_STMT in partialness.
  546. 2002-12-16 Geoffrey Keating <geoffk@apple.com>
  547. * genmultilib: Create temporary files in unique subdirectory.
  548. * gcc.c (validate_switches): Allow '@' as a switch name.
  549. 2002-12-16 Loren J. Rittle <ljrittle@acm.org>
  550. * Makefile.in (gcov-iov.h): Improve portability.
  551. Mon Dec 16 23:39:19 CET 2002 Jan Hubicka <jh@suse.cz>
  552. * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
  553. gas
  554. * mips.md (tablejump insn): Likewise.
  555. 2002-12-16 Mark Mitchell <mark@codesourcery.com>
  556. * doc/include/gcc-common.texi: Change version number to 3.4.
  557. 2002-12-16 Bruce Korb <bkorb@gnu.org>
  558. * fixinc/fixlib.h: add: #include <signal.h>
  559. * fixinc/fixincl.c: remove: #include <signal.h>
  560. Mon Dec 16 17:20:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
  561. * sh.h (EXTRA_CONSTRAINT_Z): New macro.
  562. (EXTRA_CONSTRAINT): Use it.
  563. * sh.md (anddi3): Use 'Z' constraint for alternative 2.
  564. 2002-12-15 Zack Weinberg <zack@codesourcery.com>
  565. * config.gcc (need_64bit_hwint): New variable.
  566. (alpha*-*-*, x86_64-*-*, ia64-*-*, mips*-*-*, powerpc*-*-*,
  567. mmix-knuth-mmixware, rs6000*-*-*, sparc64*-*-*, s390*-*-*,
  568. sh*-*-*, hppa*64*-*-linux, parisc*64*-*-linux, hppa*64*-*-hpux11*,
  569. sparcv9-*-solaris2*, sparc*-*-solaris2.[789], ultrasparc-*-freebsd*):
  570. Set it.
  571. (powerpc*-*-darwin*): Unset it.
  572. (alpha-*-interix, alpha64-dec-*vms*, i?86-*-interix3*,
  573. i?86-*-interix*, sparc64-*-openbsd*): Remove references to
  574. deleted/nonexistent xm-*.h headers.
  575. * configure.in: AC_DEFINE NEED_64BIT_HOST_WIDE_INT if the
  576. target set need_64bit_hwint in config.gcc.
  577. * configure, config.in: Regenerate.
  578. * hwint.h: Overhaul. Don't bother trying int for
  579. HOST_WIDE_INT. Do try __int64 if long is not enough. Base
  580. decision to force 64-bit HOST_WIDE_INT on
  581. NEED_64BIT_HOST_WIDE_INT, not (MAX_)LONG_TYPE_SIZE which is
  582. not visible at this point. Don't allow prior definition of
  583. any macro defined by this file.
  584. * config/alpha/xm-vms.h: Don't define HOST_WIDE_INT or
  585. HOST_BITS_PER_WIDE_INT.
  586. * config/c4x/c4x.h: Adjust redefinition of
  587. HOST_WIDE_INT_PRINT_HEX to match changes to hwint.h.
  588. * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms64.h,
  589. config/i386/xm-i386-interix.h: Delete file.
  590. 2002-12-14 Rodney Brown <rbrown64@csc.com.au>
  591. John David Anglin <dave@hiauly1.hia.nrc.ca>
  592. * pa.c (output_millicode_call): Convert ASM_OUTPUT_INTERNAL_LABEL.
  593. * pa64-hpux.h (ASM_OUTPUT_INTERNAL_LABEL): Delete define.
  594. 2002-12-14 Zack Weinberg <zack@codesourcery.com>
  595. * mkconfig.sh: Correct comment. Add copyright boilerplate.
  596. 2002-12-14 Zack Weinberg <zack@codesourcery.com>
  597. * config/t-darwin, config/arm/t-pe, config/arm/t-strongarm-pe,
  598. config/c4x/t-c4x, config/i370/t-i370, config/i386/t-cygwin,
  599. config/i386/t-interix, config/i960/t-960bare, config/ia64/t-ia64,
  600. config/rs6000/t-rs6000-c-rule, config/sparc/t-sol2,
  601. config/v850/t-v850: Correct dependencies and normalize
  602. compilation commands for files that include coretypes.h and tm.h.
  603. * config/sparc/gmon-sol2.c: Include tconfig.h and tsystem.h,
  604. not config.h and system.h.
  605. Sat Dec 14 20:43:41 CET 2002 Jan Hubicka <jh@suse.cz>
  606. * i386.c (flags_reg_operand): New function.
  607. * i386.h (PREDICATE_CODES): Add flags_reg_operand.
  608. * i386.md (cmov splitter, movqicc): Use new predicate.
  609. Sat Dec 14 17:03:17 CET 2002 Jan Hubicka <jh@suse.cz>
  610. * i386.md (movqicc splitter): Fix template.
  611. 2002-12-13 Jason Merrill <jason@redhat.com>
  612. * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): New macro.
  613. * calls.c (expand_call): Handle it.
  614. * tree-inline.c (struct inline_data): Remove target_exprs field.
  615. (optimize_inline_calls): Don't initialize it.
  616. (expand_call_inline): Don't modify it. Handle
  617. CALL_EXPR_HAS_RETURN_SLOT_ADDR.
  618. (declare_return_variable): Take return slot addr.
  619. * langhooks.h (copy_res_decl_for_inlining): Change target_exprs parm
  620. to return_slot_addr.
  621. * langhooks-def.h, langhooks.c: Adjust.
  622. * explow.c (maybe_set_unchanging): Don't set RTX_UNCHANGING_P for
  623. a decl with no DECL_INITIAL.
  624. * expr.c (expand_expr): Don't discard the target of a call which
  625. returns in memory.
  626. 2002-12-13 Neil Booth <neil@daikokuya.co.uk>
  627. * cppinit.c (path_include): Take an environment variable name.
  628. Tidy up.
  629. (init_standard_includes): Simplify environment handling, and
  630. move to ...
  631. (cpp_read_main_file): ...here as -nostdinc should not affect
  632. environment variable paths.
  633. 2002-12-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
  634. * pa.c (output_millicode_call): Correct typo.
  635. (output_call): Likewise.
  636. Fri Dec 13 21:07:18 2002 Alexandre Oliva <aoliva@redhat.com>
  637. * config/mn10300/mn10300.c (print_operand) <case N>: Check
  638. operand's range. Print value directly, without aid from
  639. output_address.
  640. <case U>: New.
  641. <case S>: Make sure argument to fprintf has the right type.
  642. * config/mn10300/mn10300.h (OK_FOR_T): New macro.
  643. (EXTRA_CONSTRAINT): Adjust.
  644. * config/mn10300/mn10300.md: Add new all-QImode pattern for
  645. bclr. Use %U for immediate operands of bset and bclr.
  646. (iorqi3): New expand, with insns for AM33 and mn10300.
  647. Fri Dec 13 16:02:27 2002 J"orn Rennecke <joern.rennecke@superh.com>
  648. * sh.c (sh_register_operand): New function.
  649. (prepare_move_operands): Use it.
  650. * sh.h (PREDICATE_CODES): Add entry for sh_register_operand.
  651. * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0.
  652. (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise.
  653. (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise.
  654. (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise.
  655. (movv2si_i): Likewise.
  656. 2002-12-13 Jim Wilson <wilson@redhat.com>
  657. * doc/extend.texi (Complex Numbers): Update info on debug info.
  658. 2002-12-13 Kazu Hirata <kazu@cs.umass.edu>
  659. * config/h8300/h8300.md (addhi3_h8300): Remove the last
  660. alternative.
  661. 2002-12-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  662. * hooks.h (hook_tree_tree_bool_false): Declare
  663. hook_bool_tree_tree_false instead.
  664. 2002-12-12 Devang Patel <dpatel@apple.com>
  665. * doc/invoke.texi: Document Darwin linker options, -bundle
  666. -bind_at_load, -all_load and -arch_errors_fatal
  667. 2002-12-12 Jim Wilson <wilson@redhat.com>
  668. * dbxout.c (dbxout_fptype_value): New.
  669. (dbxout_type, case COMPLEX_TYPE): Call it. Use 'R' instead of 'r'.
  670. 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
  671. * c-decl.c: Fix a comment typo.
  672. * cfg.c: Likewise.
  673. * cfgcleanup.c: Likewise.
  674. * cfglayout.c: Likewise.
  675. * cfgrtl.c: Likewise.
  676. * c-typeck.c: Likewise.
  677. * dominance.c: Likewise.
  678. * dwarf2asm.c: Likewise.
  679. * dwarfout.c: Likewise.
  680. * expmed.c: Likewise.
  681. * expr.c: Likewise.
  682. * final.c: Likewise.
  683. * flow.c: Likewise.
  684. * function.c: Likewise.
  685. * gcc.c: Likewise.
  686. * genautomata.c: Likewise.
  687. * integrate.c: Likewise.
  688. * loop.c: Likewise.
  689. * loop.h: Likewise.
  690. * output.h: Likewise.
  691. * profile.c: Likewise.
  692. * ra.h: Likewise.
  693. * reload1.c: Likewise.
  694. * reload.c: Likewise.
  695. * sched-rgn.c: Likewise.
  696. * stmt.c: Likewise.
  697. * tree.h: Likewise.
  698. * vmsdbgout.c: Likewise.
  699. 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
  700. * config/h8300/h8300.md: Add a new peephole2.
  701. 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
  702. * config/h8300/h8300.md (a peephole2): Accept a constant
  703. that's accepted by CONST_OK_FOR_J.
  704. 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
  705. * config/h8300/h8300.h (CONST_OK_FOR_J): New.
  706. (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
  707. * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
  708. (*addhi_h8300hs): Likewise.
  709. Thu Dec 12 16:24:59 2002 J"orn Rennecke <joern.rennecke@superh.com>
  710. * sh.c (reg_class_from_letter): No longer const. Add 'e' entry.
  711. (sh_register_move_cost): Add clause for SImode fp-fp moves.
  712. Increase cost for moves involving multiple general purpose registers.
  713. * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
  714. TARGET_FMOVD.
  715. (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
  716. registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
  717. (enum reg_class reg_class_from_letter): No longer const.
  718. (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
  719. REGCLASS_HAS_GENERAL_REG.
  720. Handle SImode moves from/to fp registers.
  721. ! TARGET_SHMEDIA && TARGET_FMOVD.
  722. (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
  723. * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
  724. 2002-12-12 Andreas Schwab <schwab@suse.de>
  725. * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
  726. change and some warnings.
  727. 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
  728. * doc/md.texi (pushm): Fix a typo.
  729. 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
  730. * config/mips/mips.c (mips_output_conditional_branch): Support
  731. PIC-safe out-of-range branch and branch-likely.
  732. * config/mips/mips.md (attr length): PIC-safe out-of-range
  733. branches are longer.
  734. ("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove
  735. unused code to support indirect jumps.
  736. 2002-12-11 Zack Weinberg <zack@codesourcery.com>
  737. * Makefile.in (GTFILES): Add $(host_xm_file_list) and
  738. $(tm_file_list).
  739. 2002-12-11 David Edelsohn <edelsohn@gnu.org>
  740. * config/rs6000/t-rs6000-c-rule: Add coretypes.h $(TM_H) dependencies.
  741. Wed Dec 11 15:20:45 CET 2002 Jan Hubicka <jh@suse.cz>
  742. * i386.md (cmove splitters): Avoid creation of unnecesary subregs.
  743. 2002-12-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  744. * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
  745. (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
  746. BIGGEST_ALIGNMENT.
  747. (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
  748. (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
  749. 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
  750. * doc/invoke.texi: Correct dump file names.
  751. 2002-12-09 Steve Ellcey <sje@cup.hp.com>
  752. * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
  753. name to globalize_label or assemble_name.
  754. Wed Dec 11 20:15:19 2002 J"orn Rennecke <joern.rennecke@superh.com>
  755. * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
  756. if not TARGET_SHMEDIA.
  757. Wed Dec 11 19:05:05 2002 J"orn Rennecke <joern.rennecke@superh.com>
  758. * sh.h (REG_CLASS_HAS_FP_REG): New.
  759. (REGISTER_MOVE_COST) Use it. Put body into a function and
  760. move it into:
  761. * sh.c (sh_register_move_cost).
  762. * sh-protos.h (sh_register_move_cost): Declare.
  763. * sh.c (sh_expand_builtin): Abort for unexpected nop values.
  764. (sh_adjust_cost): Always return a value.
  765. Wed Dec 11 18:39:52 2002 J"orn Rennecke <joern.rennecke@superh.com>
  766. * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
  767. (REGISTER_MOVE_COST): Use it.
  768. 2002-12-11 Richard Henderson <rth@redhat.com>
  769. * tree.h (MODULE_LOCAL_P): Kill.
  770. * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
  771. 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
  772. * config/h8300/h8300.md (two define_peephole2): New.
  773. 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
  774. * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
  775. (CONST_OK_FOR_K): Likewise.
  776. (CONST_OK_FOR_M): Likewise.
  777. (CONST_OK_FOR_LETTER_P): Do not use the above macros.
  778. 2002-12-11 Neil Booth <neil@daikokuya.co.uk>
  779. * c-common.c (builtin_define_type_max): Handle unsigned
  780. types too.
  781. 2002-12-10 David Edelsohn <edelsohn@gnu.org>
  782. * haifa-sched.c (rank_for_schedule): Correct style.
  783. 2002-12-10 Per Bothner <pbothner@apple.com>
  784. * cpplib.h (struct cpp_hashnode): Split a non-portably-signed field
  785. directive_index into an unsigned field and a new is_directive field.
  786. * cppinit.c (mark_named_operators): Update to set new fields.
  787. * cpplex.c (_cpp_lex_direct): Now directive_field is unsigned.
  788. * cpplib.c [_cpp_handle_directive]: Test is_directive field.
  789. No longer need to subtract 1 from directive_index.
  790. (_cpp_init_directives): No longer need to add 1 to directive_index.
  791. * cpptrad.c (scan_out_logical_line): Use is_directive field.
  792. 2002-12-10 Roger Sayle <roger@eyesopen.com>
  793. * builtins.c (fold_builtin): Remove -funsafe-math-optimizations
  794. check for evaluating sqrt of a constant at compile time.
  795. * simplify-rtx.c (simplify_unary_operation): Likewise.
  796. 2002-12-10 Janis Johnson <janis187@us.ibm.com>
  797. PR other/8882
  798. * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
  799. 2002-12-10 Devang Patel <dpatel@appple.com>
  800. * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
  801. * doc/invoke.texi: Add new "Darwin Options" section.
  802. 2002-12-10 Jim Wilson <wilson@redhat.com>
  803. * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
  804. memory.
  805. 2002-12-10 Andrew Haley <aph@redhat.com>
  806. * cse.c (cse_insn): Don't cse past a basic block boundary.
  807. 2002-12-10 Jakub Jelinek <jakub@redhat.com>
  808. * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
  809. -shared.
  810. * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
  811. * config/alpha/linux.h (LIB_SPEC): Likewise.
  812. * config/arm/linux-elf.h (LIB_SPEC): Likewise.
  813. * config/pa/pa-linux.h (LIB_SPEC): Likewise.
  814. * config/sparc/linux.h (LIB_SPEC): Likewise.
  815. * config/sparc/linux64.h (LIB_SPEC): Likewise.
  816. 2002-12-09 Larin Hennessy <larin@science.oregonstate.edu>
  817. * doc/invoke.texi: Document UltraSparc III option.
  818. 2002-12-09 Richard Henderson <rth@redhat.com>
  819. * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
  820. __tune_pentium2__ and __tune_pentium3__ as necessary.
  821. 2002-12-09 Richard Henderson <rth@redhat.com>
  822. * target.h (gcc_target): Add cannot_force_const_mem.
  823. * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
  824. (TARGET_INITIALIZER): Add it.
  825. * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
  826. * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
  827. * reload1.c (reload): Likewise.
  828. * hooks.c (hook_bool_rtx_false): New.
  829. * hooks.h: Declare it.
  830. * config/i386/i386.c (ix86_cannot_force_const_mem): New.
  831. (TARGET_CANNOT_FORCE_CONST_MEM): New.
  832. (ix86_expand_move): Remove de-const-pooling hack.
  833. Mon Dec 9 21:33:38 CET 2002 Jan Hubicka <jh@suse.cz>
  834. * toplev.c (dump_file): Fix order to match reality.
  835. 2002-12-08 Geoffrey Keating <geoffk@apple.com>
  836. * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
  837. (store_multiple): Likewise.
  838. 2002-12-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
  839. * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
  840. function pointers in page 0.
  841. 2002-12-09 Steve Ellcey <sje@cup.hp.com>
  842. * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
  843. definition
  844. (MEMBER_TYPE_FORCES_BLK): Move.
  845. * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
  846. aggregate arguments.
  847. (ia64_function_value): Use PARALLEL to return aggregate values.
  848. 2002-12-09 Steve Ellcey <sje@cup.hp.com>
  849. * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
  850. * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
  851. * calls.c (store_unaligned_arguments_into_pseudos) Remove
  852. FUNCTION_ARG_REG_LITTLE_ENDIAN.
  853. * stmt.c (expand_return): Ditto.
  854. * expr.c (move_block_from_reg): Ditto.
  855. (copy_blkmode_from_reg): Ditto.
  856. * expmed.c (store_bit_field): Ditto.
  857. 2002-12-09 Svein E. Seldal <Svein.Seldal@solidas.com>
  858. * config.gcc: Added tic4x-* target as an alias to c4x-*
  859. Sun Dec 8 14:57:39 CET 2002 Jan Hubicka <jh@suse.cz>
  860. * i386.c (ix86_expand_int_movcc): Use force_operand instead of
  861. constructing insn directly.
  862. 2002-12-06 Per Bothner <pbothner@apple.com>
  863. * cpplib.h (struct cpp_hashnode): Change field directive_index from
  864. char to an int bit-field, for hosts where char is unsigned.
  865. 2002-12-07 Roger Sayle <roger@eyesopen.com>
  866. Richard Henderson <rth@redhat.com>
  867. * real.c (ieee_extended_motorola_format,
  868. ieee_extended_intel_96_format, ieee_extended_intel_128_format,
  869. ieee_quad_format, vax_d_format, vax_g_format, i370_double_format):
  870. Provide appropriate values for new signbit field.
  871. 2002-12-07 Roger Sayle <roger@eyesopen.com>
  872. * real.h (real_format): Add signbit field.
  873. * real.c (ieee_single_format, ieee_double_format,
  874. ieee_extended_motorola_format, ieee_extended_intel_96_format,
  875. ieee_extended_intel_128_format, ibm_extended_format,
  876. ieee_quad_format, vax_f_format, vax_d_format,
  877. vax_g_format, i370_single_format, i370_double_format,
  878. c4x_single_format, c4x_extended_format, real_internal_format):
  879. Provide suitable signbit value, or -1 to avoid bit twiddling.
  880. * optabs.c (expand_unop): Try implementing negation of
  881. floating point modes by flipping the sign bit.
  882. (expand_abs): Try implementing abs of floating point modes
  883. by clearing the sign bit.
  884. Sat Dec 7 22:29:47 CET 2002 Jan Hubicka <jh@suse.cz>
  885. * i386.c (ix86_expand_int_movcc): Use force_operand instead
  886. of constructing insn directly.
  887. 2002-12-07 Kazu Hirata <kazu@cs.umass.edu>
  888. * config/h8300/h8300.md (*iorhi_shift_8): New.
  889. 2002-12-06 Bernd Schmidt <bernds@redhat.com>
  890. * doc/invoke.texi: Document FRV port options.
  891. * doc/md.texi: Document FRV register classes.
  892. 2002-12-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  893. * doc/install.texi (Configuration): Improve description of cases
  894. where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
  895. 2002-12-06 Per Bothner <pbothner@apple.com>
  896. * cpplib.h (NODE_MACRO_ARG): New flag.
  897. (struct cpp_hashnode): Give _cpp_hashnode_value tag to value union.
  898. Remove value.operator field. Move arg_index field to value union.
  899. (directive_index): Make signed, since also used for C++ operators.
  900. * cppmacro.c (_cpp_save_parameter): Use NODE_MACRO_ARG flag to
  901. check for duplicate parameter. Set NODE_MACRO_ARG flag.
  902. Save node->value, and set node->value.arg_index.
  903. (_cpp_create_definition): For each paramater, restore node->value.
  904. (lex_expansion_token): Use NODE_MACRO_ARG flag, and moved arg_index.
  905. * cpptrad.c (scan_out_logical_line): Likewise.
  906. (scan_out_logical_line): Check for directive > 0.
  907. * cpplib.c (cpp_handle_directive): Likewise.
  908. * cpplex.c (_cpp_lex_direct): Update as value.operator is replaced
  909. by negative of directive_index.
  910. * cppinit.c (mark_named_operators): Likewise.
  911. * hashtable.h (struct ht_identifier): Swap fields, for better packing.
  912. 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
  913. * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
  914. FPU.
  915. (push): Generate push_fpscr.
  916. (pop): Generate pop_fpscr.
  917. * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
  918. (fpu_switch): Add alternative to push fpscr. Enable for TARGET_SH3E.
  919. Fri Dec 6 19:36:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
  920. * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
  921. DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
  922. Fri Dec 6 19:17:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
  923. * sh.md (movdi_i): Name. Remove inappropriate comment.
  924. Fri Dec 6 15:44:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
  925. Merged from basic improvements branch (excerpt):
  926. 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
  927. * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
  928. 2002-12-06 Jakub Jelinek <jakub@redhat.com>
  929. * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
  930. Thu Dec 5 16:58:25 CET 2002 Jan Hubicka <jh@suse.cz>
  931. * i386.md (dimode peep2s): Re-add "&& 1".
  932. Thu Dec 5 14:10:15 CET 2002 Jan Hubicka <jh@suse.cz>
  933. * i386.c (ix86_expand_prologue): Add comment, do not use
  934. fast prologues for cold and normal functions.
  935. Thu Dec 5 00:52:37 CET 2002 Jan Hubicka <jh@suse.cz>
  936. * i386.c (x86_rep_movl_optimal): New variable.
  937. (ix86_expand_movstr, ix86_expand_clrstr): Use TARGET_REP_MOVL_OPTIMAL
  938. * i386.h (TARGET_REP_MOVL_OPTIMAL): New macro.
  939. * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
  940. absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
  941. neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
  942. generate unnecesary subregs.
  943. 2002-12-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
  944. * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
  945. * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
  946. 2002-12-05 Dale Johannesen <dalej@apple.com>
  947. * tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
  948. 2002-12-05 Danny Smith <dannysmith@users.sourceforge.net>
  949. * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
  950. PROFILE_HOOK.
  951. * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
  952. 2002-12-05 Aldy Hernandez <aldyh@redhat.com>
  953. * config/rs6000/spe.h (__ev_mwlufi): Remove.
  954. (__ev_mwlufia): Remove.
  955. (__ev_mwlumfaaw): Remove.
  956. (__ev_mwlusfaaw): Remove.
  957. (__ev_mwlumfanw): Remove.
  958. (__ev_mwlusfanw): Remove.
  959. 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
  960. * config/h8300/h8300.md (*andorsi3_shift_8): New.
  961. 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
  962. * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
  963. lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
  964. (get_shift_alg): Return optimal assembly instructions for the
  965. shifts mentioned above.
  966. Wed Dec 4 11:53:07 CET 2002 Jan Hubicka <jh@suse.cz>
  967. * i386.c (ix86_expand_int_movcc): Force operand into register for QImode
  968. condtiional moves.
  969. 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
  970. * config/h8300/h8300.c (h8300_init_once): Do not use loop to
  971. implement ashiftrt:HI by 13 bits on H8S.
  972. 2002-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  973. * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
  974. * pa.md (canonicalize_funcptr_for_compare): Output library call to
  975. canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
  976. * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
  977. CTOR_LIST_BEGIN): New defines.
  978. * pa/t-linux (LIB2FUNCS_EXTRA): New define.
  979. (fptr.c): Add make rules.
  980. 2002-12-04 Geoffrey Keating <geoffk@apple.com>
  981. * combine.c (combine_simplify_rtx): Add new canonicalizations.
  982. * doc/md.texi (Insn Canonicalizations): Document new
  983. canonicalizations for multiply/add combinations.
  984. * config/rs6000/rs6000.md: Add and modify floating add/multiply
  985. patterns to ensure they're used whenever they can be.
  986. 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
  987. * config/h8300/h8300.c: Update the comments related to shifts.
  988. 2002-12-04 Chris Demetriou <cgd@broadcom.com>
  989. * config/mips/mips.md (get_fnaddr): Correct length attribute.
  990. 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
  991. * config/h8300/h8300.md (*extzv_8_8): New.
  992. (*extzv_8_16): Likewise.
  993. 2002-12-04 Jason Merrill <jason@redhat.com>
  994. PR c++/8461, c++/8625
  995. * integrate.c (copy_decl_for_inlining): Handle explicit invisible
  996. references.
  997. * tree-inline.c (initialize_inlined_parameters): Likewise.
  998. * tree.c (variably_modified_type_p): Just return an error_mark_node.
  999. 2002-12-04 Chris Demetriou <cgd@broadcom.com>
  1000. * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
  1001. macro instruction in a branch delay slot, to avoid assembler
  1002. warnings.
  1003. 2002-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  1004. PR c/7622
  1005. * c-semantics (genrtl_scope_stmt): Do not output inlined
  1006. nested functions that contain no code.
  1007. Wed Dec 4 15:20:54 CET 2002 Jan Hubicka <jh@suse.cz>
  1008. * cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
  1009. to be forced into nonfallthru.
  1010. 2002-12-03 Jason Thorpe <thorpej@wasabisystems.com>
  1011. * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
  1012. 2002-12-03 Aldy Hernandez <aldyh@redhat.com>
  1013. * config/rs6000/spe.md (*movv1di_const0): New pattern.
  1014. 2002-12-03 Richard Henderson <rth@redhat.com>
  1015. * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
  1016. 2002-12-03 Hans-Peter Nilsson <hp@bitrange.com>
  1017. * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
  1018. Initialize tmp.using_obstack to 0.
  1019. 2002-12-03 Andreas Schwab <schwab@suse.de>
  1020. * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
  1021. (EH_RETURN_STACKADJ_RTX): Define.
  1022. (EH_RETURN_HANDLER_RTX): Define.
  1023. (ASM_PREFERRED_EH_DATA_FORMAT): Define.
  1024. * config/m68k/m68k.c (m68k_save_reg): New function. Handle eh
  1025. registers and don't save fixed registers.
  1026. (m68k_output_function_prologue): Use it.
  1027. (use_return_insn): Likewise.
  1028. (m68k_output_function_epilogue): Likewise.
  1029. 2002-12-03 Kazu Hirata <kazu@cs.umass.edu>
  1030. * config/h8300/h8300.c (single_one_operand): Fix a warning.
  1031. (single_zero_operand): Likewise.
  1032. 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
  1033. * Makefile.in configure configure.in dummy-conditions.c fix-header.c
  1034. gcov-iov.c gen-protos.c genattr.c genattrtab.c genautomata.c
  1035. gencheck.c gencodes.c genconditions.c genconfig.c genconstants.c
  1036. genemit.c genextract.c genflags.c gengenrtl.c gengtype-lex.l
  1037. gengtype-yacc.y gengtype.c genopinit.c genoutput.c genpeep.c
  1038. genpreds.c genrecog.c gensupport.c mkconfig.sh read-rtl.c
  1039. scan-decls.c scan.c config/sh/sh.h doc/configfiles.texi
  1040. doc/install-old.texi: Replace hconfig.h with bconfig.h.
  1041. * Makefile.in: Replace HCONFIG_H with BCONFIG_H.
  1042. 2002-12-02 Andrew Pinski <pinskia@physics.uc.edu>
  1043. * config/rs6000/rs6000.md (ffssi): Convert to expander.
  1044. (ffsdi): Likewise.
  1045. (cntlzw2, cntlzd2): New patterns.
  1046. 2002-12-02 H.J. Lu <hjl@gnu.org>
  1047. * config.gcc (mips*-*-netbsd*): Remove mips/t-netbsd.
  1048. (mips*-*-linux*): Remove mips/t-linux.
  1049. Mon Dec 2 19:26:30 CET 2002 Jan Hubicka <jh@suse.cz>
  1050. * i386.c (ix86_expand_int_movcc): Avoid overflow.
  1051. 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
  1052. * config/h8300/h8300.c (dosize): Replace argument op with
  1053. sign.
  1054. (h8300_output_function_prologue): Update the call to dosize.
  1055. (h8300_output_function_epilogue): Likewise.
  1056. 2002-12-02 Bob Wilson <bob.wilson@acm.org>
  1057. * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
  1058. 2002-12-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
  1059. * configure.in: Use "missing" script to generate warning if
  1060. flex or bison programs not found, instead of invoking "false".
  1061. * configure: Rebuilt.
  1062. Mon Dec 2 20:28:48 CET 2002 Jan Hubicka <jh@suse.cz>
  1063. * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
  1064. Mon Dec 2 19:42:52 CET 2002 Jan Hubicka <jh@suse.cz>
  1065. * i386.c (ix86_expand_int_movcc): Avoid overflow.
  1066. 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
  1067. * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
  1068. (push): Likewise.
  1069. (pop): Likewise.
  1070. (h8300_output_function_prologue): Likewise.
  1071. (h8300_output_function_epilogue): Likewise.
  1072. Mon Dec 2 14:43:22 2002 J"orn Rennecke <joern.rennecke@superh.com>
  1073. * expmed.c (store_bit_field): Use int_mode_for_mode to find
  1074. corresponding mode of non-integer mode, unless it is VOIDmode.
  1075. 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
  1076. * config/h8300/h8300.md (stm_h8300s_2): New.
  1077. (stm_h8300s_3): Likewise.
  1078. (stm_h8300s_4): Likewise.
  1079. (five define_peephole2): Likewise.
  1080. 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
  1081. * ra-build.c: Fix a comment typo.
  1082. Sun Dec 1 16:50:47 CET 2002 Jan Hubicka <jh@suse.cz>
  1083. * i386.c (ix86_expand_int_movcc): fix
  1084. reversed BRANCH_COST test; be curefull about infinite recursion.
  1085. 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
  1086. * config/h8300/h8300.c (h8300_output_function_prologue):
  1087. Remove variable idx.
  1088. (h8300_output_function_epilogue): Likewise.
  1089. 2002-12-01 Zack Weinberg <zack@codesourcery.com>
  1090. * config/frv/xm-frv.h: Delete, unnecessary.
  1091. 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
  1092. * config/h8300/h8300.md: Add comments for define_peephole2.
  1093. 2002-12-01 Mark Mitchell <mark@codesourcery.com>
  1094. * builtin-types.def (BT_SIZE): Use size_type_node.
  1095. * builtins.c (fold_builtin): Make the builtin strlen returns a
  1096. size_t, not a sizetype.
  1097. * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
  1098. c_size_type_node.
  1099. (c_alignof_expr): Likewise.
  1100. (c_common_nodes_and_builtins): Likewise.
  1101. * c-common.h (CTI_C_SIZE_TYPE): Remove.
  1102. (c_size_type_node): Likewise.
  1103. * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
  1104. * tree.h (TI_SIZE_TYPE): New enumeral.
  1105. (size_type_node): Likewise.
  1106. 2002-11-30 Zack Weinberg <zack@codesourcery.com>
  1107. * configure.in: Don't put ${tm_file} into host_xm_file,
  1108. build_xm_file, or xm_file. Do put tm-preds.h into tm_p_file.
  1109. Take location of tm-preds.h into account when calculating
  1110. tm_p_file_list.
  1111. * configure: Regenerate.
  1112. * mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
  1113. arguments. Do not provide rtx, rtvec, tree, or GTY here.
  1114. Remove special case code for tm_p.h and *config.h; add new
  1115. special case code for tm.h and tconfig.h. Clean up a bit.
  1116. * Makefile.in (tm_file, tm_file_list): New variables set from
  1117. @-substitutions.
  1118. (GCONFIG_H): Deleted.
  1119. (GTM_H, TM_H): New.
  1120. (CONFIG_H): Is now just config.h $(host_xm_file_list).
  1121. (TM_P_H): Move up with the other mkconfig.sh-generated
  1122. headers; don't mention tm-preds.h explicitly.
  1123. (tm.h, cs-tm.h): New rule.
  1124. (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
  1125. invocations of mkconfig.sh for changes to that program.
  1126. (mostlyclean): Delete print-rtl1.c.
  1127. (clean): Delete tm.h.
  1128. Update dependencies for the files listed below.
  1129. * mklibgcc.in: Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.
  1130. * coretypes.h: New file.
  1131. * system.h: #define malloc to xmalloc and realloc to xrealloc
  1132. when FLEX_SCANNER or YYBISON is defined, independent of the
  1133. value of GCC_VERSION.
  1134. * alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
  1135. c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
  1136. c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
  1137. c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
  1138. c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
  1139. cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
  1140. cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
  1141. cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
  1142. cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
  1143. cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
  1144. debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
  1145. dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
  1146. emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
  1147. expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
  1148. function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
  1149. gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
  1150. gencheck.c, gencodes.c, genconditions.c, genconfig.c,
  1151. genconstants.c, genemit.c, genextract.c, genflags.c,
  1152. gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
  1153. genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
  1154. gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
  1155. ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
  1156. hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
  1157. lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
  1158. main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
  1159. optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
  1160. print-tree.c, profile.c, protoize.c, ra-build.c,
  1161. ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
  1162. real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
  1163. regrename.c, reload.c, reload1.c, reorg.c, resource.c,
  1164. rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
  1165. scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
  1166. sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
  1167. ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
  1168. tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
  1169. tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
  1170. xcoffout.c, config/darwin-c.c, config/darwin.c,
  1171. config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
  1172. config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
  1173. config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
  1174. config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
  1175. config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
  1176. config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
  1177. config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
  1178. config/i960/i960-c.c, config/i960/i960.c,
  1179. config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
  1180. config/m32r/m32r.c, config/m68hc11/m68hc11.c,
  1181. config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
  1182. config/mips/irix6-libc-compat.c, config/mips/mips.c,
  1183. config/mmix/mmix.c, config/mn10200/mn10200.c,
  1184. config/mn10300/mn10300.c, config/ns32k/ns32k.c,
  1185. config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
  1186. config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
  1187. config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
  1188. config/sparc/sparc.c, config/stormy16/stormy16.c,
  1189. config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
  1190. config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
  1191. Include coretypes.h and tm.h.
  1192. * genattrtab.c, genconditions.c, genemit.c, genextract.c,
  1193. gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
  1194. genrecog.c: Include coretypes.h and tm.h from the file
  1195. generated by this program.
  1196. * unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
  1197. unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
  1198. coretypes.h and tm.h, and tsystem.h when not already included.
  1199. No need to include stddef.h nor stdlib.h.
  1200. * fixinc/fixlib.h: Include coretypes.h and tm.h. Do not
  1201. include auto-host.h or ansidecl.h/
  1202. * fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
  1203. * fixinc/procopen.c: Include server.h after fixlib.h. Do not
  1204. include auto-host.h, ansidecl.h, or system.h.
  1205. * fixinc/server.c: Likewise. Also, do not include signal.h,
  1206. and do not redefine volatile.
  1207. Sat Nov 30 17:16:46 CET 2002 Jan Hubicka <jh@suse.cz>
  1208. * i386.md (movdf_integer): Always enable in 64bit.
  1209. (movdf_nointeger): Always disable in 64bit.
  1210. 2002-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1211. * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
  1212. pseudo register number plus 1.
  1213. Fri Nov 29 20:10:56 2002 J"orn Rennecke <joern.rennecke@superh.com>
  1214. * expmed.c (store_bit_field): Use int_mode_for_mode to find
  1215. corresponding mode of non-integer mode, unless it is VOIDmode.
  1216. 2002-11-29 Hans-Peter Nilsson <hp@bitrange.com>
  1217. * cpplib.c (_cpp_test_assertion): Default *value to 0.
  1218. * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
  1219. 2002-11-29 Ulrich Weigand <uweigand@de.ibm.com>
  1220. * config/s390/t-crtstuff: New target makefile fragment.
  1221. * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
  1222. 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
  1223. * config/h8300/h8300.md (movsi_h8300hs): Change the order of
  1224. alternatives to correct the length when the memory operand is
  1225. either pre_dec or post_inc.
  1226. 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
  1227. * config/h8300/h8300.md (an anonymous pattern): Give an
  1228. internal name *tst_extzv_bitqi_1_n.
  1229. Accept bit_operand instead of bit_memory_operand.
  1230. Do not accept bit tests with the MSB.
  1231. (*tst_extzv_memqi_1_n): New.
  1232. Thu Nov 28 23:56:24 CET 2002 Jan Hubicka <jh@suse.cz>
  1233. * i386.c (ix86_expand_int_movcc): Add copy_rtx to avoid invalid RTX
  1234. sharing when operand is SUBREG.
  1235. Thu Nov 28 08:57:26 CET 2002 Jan Hubicka <jh@suse.cz>
  1236. * athlon.md (athlon-decodev): New reservation unit.
  1237. (athlon-direct0): New reservation.
  1238. (athlon-vector): New use athlon-decodev.
  1239. (athlon-double, athlon-direct): Better model.
  1240. (athlon_imul_k8): Use athlon-direct0.
  1241. (athlon_movlpd_load): New insn reservation.
  1242. 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
  1243. * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
  1244. Fix a comment typo.
  1245. (h8300_tiny_constant_address_p): Likewise.
  1246. 2002-11-28 Michael Matz <matz@suse.de>
  1247. * doc/passes.texi: Mention the other register allocator.
  1248. 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
  1249. * config/h8300/h8300.md (6 new peephole2 patterns): New.
  1250. 2002-11-28 Jakub Jelinek <jakub@redhat.com>
  1251. * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
  1252. * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
  1253. * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
  1254. 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
  1255. * config/h8300/h8300.c (h8300_and_costs): New.
  1256. * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
  1257. * config/h8300/h8300-protos.h: Add a prototype for
  1258. h8300_and_costs.
  1259. Wed Nov 27 20:34:13 CET 2002 Jan Hubicka <jh@suse.cz>
  1260. * i386.c (x86_sse_partial_regs_for_cvtsd2ss): New.
  1261. * i386.h (x86_sse_partial_regs_for_cvtsd2ss): Declare.
  1262. (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): New macro.
  1263. * i386.md (truncdfsf patterns and splitters): Use
  1264. TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS
  1265. 2002-11-27 Zack Weinberg <zack@codesourcery.com>
  1266. * config/rs6000/rs6000.c (altivec_init_builtins): Make the
  1267. pointer argument in the prototypes of the following builtins
  1268. be (const TYPE *) rather than (TYPE *):
  1269. + __builtin_altivec_ld_internal_4sf
  1270. + __builtin_altivec_ld_internal_4si
  1271. + __builtin_altivec_ld_internal_8hi
  1272. + __builtin_altivec_ld_internal_16qi
  1273. + __builtin_altivec_lvsl
  1274. + __builtin_altivec_lvsr
  1275. + __builtin_altivec_lvebx
  1276. + __builtin_altivec_lvehx
  1277. + __builtin_altivec_lvewx
  1278. + __builtin_altivec_lvxl
  1279. + __builtin_altivec_lvx
  1280. + __builtin_altivec_dst
  1281. + __builtin_altivec_dstt
  1282. + __builtin_altivec_dstst
  1283. + __builtin_altivec_dststt
  1284. 2002-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1285. * except.c (default_exception_section): Move variable into the
  1286. scope where it is used.
  1287. 2002-11-27 Krister Walfridsson <cato@df.lth.se>
  1288. * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
  1289. correct version.
  1290. 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1291. * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
  1292. 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
  1293. * config/h8300/h8300.c (h8300_shift_costs): New.
  1294. * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
  1295. * config/h8300/h8300-protos.h: Add a prototype for
  1296. h8300_shift_costs.
  1297. 2002-11-27 Jim Wilson <wilson@redhat.com>
  1298. * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
  1299. in output template.
  1300. 2002-11-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
  1301. * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
  1302. * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
  1303. DLL_IMPORT_EXPORT_PREFIX, not '@'.
  1304. (i386_pe_dllimport_name_p): Likewise.
  1305. (i386_pe_mark_dllexport): Likewise.
  1306. (i386_pe_mark_dllimport): Likewise.
  1307. (i386_pe_encode_section_info): Likewise.
  1308. (i386_pe_strip_name_encoding): Likewise.
  1309. 2002-11-27 Richard Henderson <rth@redhat.com>
  1310. * mkmap-symver.awk (BEGIN): Set sawsymbol false.
  1311. (nm && NF == 3): Set sawsymbol true.
  1312. (END): Exit if no symbols seen.
  1313. (output): Fix map syntax error if no globals for the version.
  1314. Wed Nov 27 14:45:46 CET 2002 Jan Hubicka <jh@suse.cz>
  1315. * builtins.def (DEF_C99_BUILTIN): Fix.
  1316. 2002-11-26 Kaz Kojima <kkojima@gcc.gnu.org>
  1317. * config/sh/lib1funcs.asm (FUNC, ENDFUNC0, ENDFUNC): New macros.
  1318. (all): Add .size and .type information.
  1319. Tue Nov 26 22:43:50 CET 2002 Jan Hubicka <jh@suse.cz>
  1320. * i386.c (ix86_expand_int_movcc): Do not emit lea for short mode on
  1321. partial_reg_stall target.
  1322. Tue Nov 26 22:27:47 CET 2002 Jan Hubicka <jh@suse.cz>
  1323. * i386.md (movhicc): Allow general operand.
  1324. (movqicc): New expander.
  1325. (movqicc_noc): New pattern.
  1326. * i386.c (ix86_expand_carry_flag_compare): New function.
  1327. (ix86_expand_int_movcc): Optimize harder using sbb; support more
  1328. HImode conversion; support QImode conditional moves
  1329. Tue Nov 26 16:30:59 CET 2002 Jan Hubicka <jh@suse.cz>
  1330. * i386.c (FAST_PROLOGUE_INSN_COUNT): Set to 20.
  1331. (ix86_expand_prologue): Multiply the count by amount of registers to be
  1332. pushed.
  1333. Tue Nov 26 15:55:27 CET 2002 Jan Hubicka <jh@suse.cz>
  1334. * i386.c (override_options): Error about wrong -mcpu on x86-64
  1335. compilation.
  1336. 2002-11-26 NIIBE Yutaka <gniibe@m17n.org>
  1337. * config/sh/linux.h (FUNCTION_PROFILER): Implemented.
  1338. Tue Nov 26 00:14:20 CET 2002 Jan Hubicka <jh@suse.cz>
  1339. * i386-protos.h (x86_extended_QIreg_mentioned_p,
  1340. x86_extended_reg_mentioned_p): Declare.
  1341. * i386.c (extended_reg_mentioned_1): New static function.
  1342. (x86_extended_QIreg_mentioned_p,
  1343. x86_extended_reg_mentioned_p): New global functions.
  1344. * i386.h (REX_SSE_REGNO_P): New macro.
  1345. * i386.md (prefix_rex): New attribute.
  1346. (length attribute): Add rex.
  1347. 2002-11-26 Andrew Haley <aph@redhat.com>
  1348. * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
  1349. from_Unwind_Find_Enclosing_Function.
  1350. * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
  1351. * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
  1352. * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
  1353. _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
  1354. * unwind.h (_Unwind_FindEnclosingFunction): Add.
  1355. 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
  1356. * config/s390/s390.c (390_output_constant_pool): Set alignment
  1357. before label in 64 bit mode, behind otherwise.
  1358. 2002-11-26 Richard Henderson <rth@redhat.com>
  1359. * c-common.c (handle_visibility_attribute): Accept "default".
  1360. * tree.h (enum symbol_visibility): New.
  1361. (decl_visibility): Declare.
  1362. * target.h (gcc_target.visibility): Take visibility arg as integer.
  1363. * varasm.c (default_assemble_visibility): Likewise.
  1364. (decl_visibility): New.
  1365. (maybe_assemble_visibility): Use it.
  1366. * output.h (default_assemble_visibility): Update prototype.
  1367. * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
  1368. visibility arg as integer.
  1369. * doc/extend.texi: Document default visibility.
  1370. 2002-11-26 Kazu Hirata <kazu@cs.umass.edu>
  1371. * config/h8300/h8300.c: Adjust spacing.
  1372. * config/h8300/h8300.h: Likewise.
  1373. 2002-11-26 Richard Henderson <rth@redhat.com>
  1374. * hooks.c (hook_bool_void_false, hook_void_tree_int,
  1375. hook_void_FILEptr_constcharptr): Rename so that the return
  1376. type is first.
  1377. (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
  1378. hook_bool_tree_false): New.
  1379. * hooks.h: Update.
  1380. * langhooks-def.h: Update for renames.
  1381. * target-def.h: Likewise.
  1382. * tree.c (default_comp_type_attributes,
  1383. default_set_default_type_attributes, default_insert_attributes,
  1384. default_function_attribute_inlinable_p,
  1385. default_ms_bitfield_layout_p): Remove.
  1386. * tree.h: Update.
  1387. 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1388. * pa-protos.h (function_value): New prototype.
  1389. * pa.c (function_value): Use a PARALLEL to return small aggregates on
  1390. TARGET_64BIT.
  1391. * pa.h (FUNCTION_VALUE): Use function_value.
  1392. * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
  1393. call_value_internal_reg, sibcall_value_internal_symref,
  1394. sibcall_value_internal_symref_64bit): Remove =rf constraint on return
  1395. value.
  1396. 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1397. * expr.c (gen_group_rtx, emit_group_move): New functions.
  1398. * expr.h (gen_group_rtx, emit_group_move): Prototype.
  1399. * function.c (expand_function_start): Use gen_group_rtx to create a
  1400. PARALLEL rtx to hold the return value when the real return rtx is a
  1401. PARALLEL.
  1402. (expand_function_end): Use emit_group_move to move the return value
  1403. from a PARALLEL to the real return registers.
  1404. * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
  1405. in PARALLELs.
  1406. 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
  1407. * config/t-libc-ok: Fix typo.
  1408. 2002-11-26 Jakub Jelinek <jakub@redhat.com>
  1409. * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
  1410. before AC_PROG_CC.
  1411. * configure: Rebuilt.
  1412. 2002-11-26 Nathan Sidwell <nathan@codesourcery.com>
  1413. * c-decl.c: (start_struct): Commonize flag setting.
  1414. 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
  1415. * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
  1416. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
  1417. RS6000_CPU_CPP_ENDIAN_BUILTINS.
  1418. * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
  1419. 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
  1420. * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
  1421. insns.
  1422. * config/s390/s390.c (struct machine_function): Introduction of
  1423. struct machine_function.
  1424. (s390_output_symbolic_const): Use of cfun.
  1425. (s390_optimize_prolog): Likewise.
  1426. (s390_fixup_clobbered_return_reg): Likewise.
  1427. (s390_frame_info): Likewise.
  1428. (s390_emit_prologue, s390_emit_epilogue): Likewise.
  1429. (s390_init_machine_status): New function.
  1430. (override_options): call s390_init_machine_status.
  1431. * config/s390/s390-protos.h (s390_output_constant_pool): Changed
  1432. prototype.
  1433. 2002-11-26 Jakub Jelinek <jakub@redhat.com>
  1434. * varasm.c (output_constant_pool): For pool constants in mergeable
  1435. section ensure each constant is padded to multiple of entity size.
  1436. 2002-11-26 Jakub Jelinek <jakub@redhat.com>
  1437. * varasm.c (default_exception_section): Move to...
  1438. * except.c (default_exception_section): ... here. Make
  1439. .gcc_except_table read-only if it is not expected to have any
  1440. dynamic relocations and linker handles it.
  1441. * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
  1442. if it is not expected to have any dynamic relocations and linker
  1443. handles it.
  1444. * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
  1445. when linking read-only and read-write sections together.
  1446. * configure, config.in: Rebuilt.
  1447. * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
  1448. (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
  1449. Mon Nov 25 18:32:37 CET 2002 Jan Hubicka <jh@suse.cz>
  1450. * i386.md (pushsf_rex64): Fix typo.
  1451. 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
  1452. * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
  1453. new function.
  1454. (__ev_create_ufix32_fs): Same.
  1455. (__ev_get_sfix32_fs_internal): New.
  1456. (__ev_get_sfix32_fs): Define to use function.
  1457. (__ev_get_ufix32_fs_internal): New.
  1458. (__ev_get_ufix32_fs): Define to use function.
  1459. (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
  1460. (__ev_get_lower_ufix32_fs): Same.
  1461. (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
  1462. (__ev_get_lower_sfix32_fs): Same.
  1463. (__ev_set_sfix32_fs_internal): New.
  1464. (__ev_set_ufix32_fs_internal): New.
  1465. (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
  1466. (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
  1467. (__ev_set_upper_sfix32_fs): Call function.
  1468. (__ev_set_lower_sfix32_fs): Same.
  1469. (__ev_set_upper_ufix32_fs): Same.
  1470. (__ev_set_lower_ufix32_fs): Same.
  1471. 2002-11-25 Douglas B Rupp <rupp@gnat.com>
  1472. * gcc.c (do_spec_1): Reset delete_this_arg to zero.
  1473. 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
  1474. * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
  1475. * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
  1476. * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
  1477. * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
  1478. * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
  1479. * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
  1480. * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
  1481. * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
  1482. * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
  1483. * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
  1484. * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
  1485. * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
  1486. * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
  1487. * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
  1488. * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
  1489. * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
  1490. * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
  1491. * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
  1492. * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
  1493. * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
  1494. * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
  1495. * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
  1496. * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
  1497. * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
  1498. defining.
  1499. * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
  1500. * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
  1501. 2002-11-25 Dave Pitts <dpitts@cozx.com>
  1502. * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
  1503. 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
  1504. * config/h8300/h8300.md (an anonymous pattern): New.
  1505. 2002-11-25 Richard Henderson <rth@redhat.com>
  1506. * alias.c (find_base_value): Use new_reg_base_value if it's live.
  1507. (copying_arguments): Make boolean.
  1508. 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
  1509. * gcc.c (static_spec_functions): Add if-exists-else spec
  1510. function.
  1511. (if_exists_else_spec_function): New function.
  1512. * doc/invoke.texi: Document the if-exists-else spec function.
  1513. * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
  1514. "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
  1515. 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
  1516. * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
  1517. "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to
  1518. "${tmake_file} rs6000/t-netbsd".
  1519. * config/rs6000/netbsd.h: Rewrite.
  1520. * config/rs6000/t-netbsd: New file.
  1521. 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
  1522. * config/h8300/h8300.md (an anonymous pattern): Relax the
  1523. condition for the pattern.
  1524. 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
  1525. * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
  1526. evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
  1527. evmwlssfanw, evmwlsmfanw.
  1528. * config/rs6000/rs6000.c (bdesc_2arg): Same.
  1529. * config/rs6000/spe.md: Same for patterns.
  1530. 2002-11-25 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
  1531. PR c/8639
  1532. * fold-const.c (extract_muldiv): Don't propagate division unless
  1533. both arguments are multiples of C.
  1534. 2002-11-25 Andrew Haley <aph@redhat.com>
  1535. * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
  1536. * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
  1537. * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
  1538. * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
  1539. Sun Nov 24 10:38:04 CET 2002 Jan Hubicka <jh@suse.cz>
  1540. * i386.c (x86_use_ffreep): New global variable.
  1541. * i386.h (x86_use_frfeep): Declare
  1542. (TARGET_USE_FFREEP): New macro
  1543. * i386.md (movs?f*): Use freep when asked for.
  1544. (push?f): Remove dead code.
  1545. 2002-11-24 Kazu Hirata <kazu@cs.umass.edu>
  1546. * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
  1547. target help message.
  1548. 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
  1549. * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
  1550. extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
  1551. crtbeginT.o".
  1552. (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
  1553. (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
  1554. to "" for a.out configurations.
  1555. * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
  1556. 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
  1557. * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
  1558. NETBSD_CPP_SPEC directly.
  1559. (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec. Add
  1560. netbsd_endfile_spec.
  1561. (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
  1562. 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
  1563. * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
  1564. NETBSD_STARTFILE_SPEC.
  1565. (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
  1566. (ENDFILE_SPEC): Likewise.
  1567. * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
  1568. 2002-11-24 Andreas Schwab <schwab@suse.de>
  1569. * Makefile.in (install-driver): Remove versioned link before
  1570. trying to create it.
  1571. * config/m68k/m68k.c: Fix typo in last change defining
  1572. TARGET_ASM_CAN_OUTPUT_MI_THUNK.
  1573. 2002-11-23 H.J. Lu <hjl@gnu.org>
  1574. * aclocal.m4: Include ../config/accross.m4.
  1575. (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
  1576. (gcc_AC_C_COMPILE_ENDIAN): Removed.
  1577. (gcc_AC_C_FLOAT_FORMAT): Check $ac_cv_c_bigendian
  1578. instead of $ac_cv_c_compile_endian.
  1579. * configure.in: Replace gcc_AC_COMPILE_CHECK_SIZEOF with
  1580. AC_COMPILE_CHECK_SIZEOF.
  1581. Replace gcc_AC_C_COMPILE_ENDIAN with AC_C_BIGENDIAN_CROSS.
  1582. * configure: Rebuild.
  1583. 2002-11-23 Kazu Hirata <kazu@cs.umass.edu>
  1584. * config/h8300/h8300.c (print_operand): Update the use of
  1585. h8300_tiny_constant_address_p.
  1586. (h8300_adjust_insn_length): Likewise.
  1587. (h8300_tiny_constant_address_p): Check if the given rtx is a
  1588. variable declared with __attribute__ ((tiny_data)).
  1589. 2002-11-22 Dale Johannesen <dalej@apple.com>
  1590. * toplev.c (rest_of_compilation): Fix comments.
  1591. 2002-11-22 Geoffrey Keating <geoffk@apple.com>
  1592. * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
  1593. allow mmap from /dev/zero. Don't make decisions for the host
  1594. based on presence or absence of /dev/zero on the build machine.
  1595. (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
  1596. (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
  1597. * configure: Regenerate.
  1598. 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
  1599. * gcc.c (make_relative_prefix, split_directories)
  1600. (free_split_directories): Removed.
  1601. 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
  1602. * configure.in: Set insn=nop for DWARF-2 tests on ARM.
  1603. * configure: Regenerated.
  1604. 2002-11-22 Kazu Hirata <kazu@cs.umass.edu>
  1605. * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
  1606. length computation when xor.l is output.
  1607. 2002-11-21 Douglas B Rupp <rupp@gnat.com>
  1608. * alpha.md (movstrdi, clrstrdi): New VMS patterns.
  1609. (call_vms_1, call_value_vms_1): Cleanup syntax.
  1610. Thu Nov 21 19:20:27 CET 2002 Jan Hubicka <jh@suse.cz>
  1611. * athlon.md (define_atuomaton): Add athlon_load.
  1612. (athlon-double): New reservation.
  1613. (athlon-ieu0): New CPU unit.
  1614. (athlon-load?): Use athlon_load automaton.
  1615. (*_k8 reservations): New.
  1616. (other insn revervations): Activate for K8.
  1617. Thu Nov 21 15:07:42 CET 2002 Jan Hubicka <jh@suse.cz>
  1618. * cfgrtl.c (verify_flow_info): Accept EDGE_CAN_FALLTHRU flag.
  1619. 2002-11-21 Jim Wilson <wilson@redhat.com>
  1620. * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
  1621. vectors to SI.
  1622. 2002-11-21 Bob Wilson <bob.wilson@acm.org>
  1623. * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
  1624. * config/xtensa/xtensa.c (struct machine_function): Add
  1625. incoming_a7_copied flag.
  1626. (xtensa_copy_incoming_a7): Define.
  1627. (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
  1628. * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
  1629. Thu Nov 21 23:52:04 CET 2002 Jan Hubicka <jH@suse.cz>
  1630. * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
  1631. * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
  1632. x86_64_nonmemory_operand, x86_64_movabs_operand,
  1633. x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
  1634. ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
  1635. (local_symbolic_operand): Do not care the 64bit limits.
  1636. (x86_64_sign_extended_value): Remove allow_rip support.
  1637. (legitimate_pic_address_disp_p): Handle all cases allowed
  1638. with RIP addressing.
  1639. (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
  1640. (legitimize_pic_address): Reorganize.
  1641. * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
  1642. 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
  1643. * config.gcc (arm*-*-netbsdelf*): Enable configuration.
  1644. * config/arm/netbsd-elf.h: New file.
  1645. 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
  1646. * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
  1647. subtarget_asm_float_spec.
  1648. (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
  1649. defaults from...
  1650. (ASM_SPEC): ...here. Use subtarget_asm_float_spec.
  1651. 2002-11-21 Nick Clifton <nickc@redhat.com>
  1652. * config/fr30/fr30.md (movsf_constant_store): Move code to
  1653. detect 0.0 into fr30.c.
  1654. * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
  1655. Prototype.
  1656. * config/fr30/fr30.c (fr30_const_double_is_zero): New
  1657. function. Return true if the rtx is 0.0.
  1658. 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
  1659. * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
  1660. if -mlittle-endian is specified.
  1661. 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
  1662. PR optimization/2903
  1663. * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
  1664. (anddi_notsesidi_di): Likewise.
  1665. 2002-11-21 Kazu Hirata <kazu@cs.umass.edu>
  1666. * config/h8300/h8300.c (print_operand): Use
  1667. h8300_eightbit_constant_address_p and
  1668. h8300_tiny_constant_address_p.
  1669. (h8300_adjust_insn_length): Likewise.
  1670. * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
  1671. (TINY_CONSTANT_ADDRESS_P): Likewise.
  1672. (OK_FOR_U): Use eightbit_constant_address_p.
  1673. 2002-11-21 Ulrich Weigand <uweigand@de.ibm.com>
  1674. * config/s390/libgcc-libc.ver: Add multilib support.
  1675. * config/s390/linux.h (MULTILIB_DEFAULT): Define.
  1676. * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
  1677. MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
  1678. EXTRA_MULTILIB_PARTS): Define.
  1679. 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
  1680. * arm.c (arm_get_frame_size): A leaf function does not need its
  1681. stack padding to an aligned boundary if it has no frame.
  1682. (thumb_get_frame_size): Likewise.
  1683. Wed Nov 20 22:25:53 CET 2002 Jan Hubicka <jh@suse.cz>
  1684. * x86-64.h (MCOUNT_NAME): Fix typo in my previous patch.
  1685. (override_options): Likewise.
  1686. Wed Nov 20 19:07:17 CET 2002 Jan Hubicka <jh@suse.cz>
  1687. * config.gcc: Add k8 target alias support
  1688. * i386.c (_cost): Declare costs for various variants of divides and
  1689. multiplies.
  1690. (k8_cost): New.
  1691. (m_K8, m_ATHLON_K8): New macros.
  1692. (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
  1693. x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_fiop,
  1694. x86_promote_QImode, x86_sub_esp_?, x86_add_esp_?,
  1695. x86_integer_DFmode_moves, x86_partial_reg_dependency,
  1696. x86_memory_mismatch_stall, x86_accumulate_outgoing_args,
  1697. x86_prologue_using_move, x86_epilogue_using_move,
  1698. x86_arch_always_fancy_math_387, x86_sse_partial_regs,
  1699. x86_sse_typeless_stores): Set for K8
  1700. (override_options): Add k8 support; fix athlon alignment;
  1701. complain about non-x86-64 capable CPU being used in x86-64 compilation.
  1702. (ix86_issue_rate): Set for K8.
  1703. (ix86_adjust_cost, ia32_use_dfa_pipeline_interface,
  1704. x86_machine_dependent_reorg): Handle K8 like
  1705. * i386.h
  1706. (x86_costs): Change mult_init and divide into array.
  1707. (TARGET_K8, TARGET_ATHLON): New macros.
  1708. (MODE_INDEX): New macro.
  1709. (RTX_COST): Use new costs.
  1710. (TARGET_CPU_CPP_BUILTINS): Define __k8__ and __tune_k8__.
  1711. (TARGET_CPU_DEFAULT_NAMES): Add k8
  1712. (TARGET_CPU_DEFAULT_k8): New constant
  1713. (enum processor_type): Add PROCESSOR_K8.
  1714. * i386.md (cpu attribute): Add k8.
  1715. * invoke.texi: Document -march=k8.
  1716. * i386.md (type attribute): Add leave
  1717. (mode attribute): Remove unknownfp.
  1718. (length_immediate, modrm, memory attributes): Handle leave correctly.
  1719. (fp comparison patterns): Determine FP mode.
  1720. (leave, leave_rex64): Remove special cases.
  1721. * ppro.md (ppro_uops, ppro_p2): Add leave
  1722. * pentiun.md (pent_pop): Handle leave too.
  1723. * k6.md (k6_load): Handle leave.
  1724. * athlon.md (athlon_leave, athlon_pop): Fix.
  1725. (athlon_decode): Handle leave.
  1726. 2002-11-20 Steve Ellcey <sje@cup.hp.com>
  1727. * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
  1728. to component type using GET_MODE_INNER.
  1729. * expr.c (emit_move_insn_1): Ditto.
  1730. * optabs.c (expand_binop): Ditto.
  1731. (expand_unop): Ditto.
  1732. (expand_complex_abs): Ditto.
  1733. 2002-11-20 Douglas B Rupp <rupp@gnat.com>
  1734. * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
  1735. 2002-11-20 DJ Delorie <dj@redhat.com>
  1736. * config/stormy16/stormy16.c (s16builtins,
  1737. xstormy16_init_builtins, xstormy16_expand_builtin): New.
  1738. * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
  1739. 2002-11-20 Hans-Peter Nilsson <hp@bitrange.com>
  1740. * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
  1741. (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
  1742. (executing gencheck, genconfigs, genconditions, genflags,
  1743. gencodes, genconstants, genemit, genrecog, genopinit, genextract,
  1744. genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
  1745. gengtype, genprotos): Prepend $(RUN_GEN).
  1746. * configure.in: Move host compiler tests before --enable-checking
  1747. tests.
  1748. (--enable-checking=valgrind): New.
  1749. * config.in, configure: Regenerate.
  1750. * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
  1751. Define as empty.
  1752. (read_include_file): When doing the mmap+1 trick,
  1753. valgrind-annotate the byte after the mmap:ed area as readable.
  1754. (purge_cache): Remove above annotation.
  1755. * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
  1756. VALGRIND_PATH -q to each command.
  1757. * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
  1758. Define as empty.
  1759. (ggc_realloc): Update valgrind annotations.
  1760. * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
  1761. Define as empty.
  1762. (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
  1763. valgrind-annotate memory.
  1764. 2002-11-20 Ulrich Weigand <uweigand@de.ibm.com>
  1765. * recog.c (constrain_operands): Prefer exact match over reloadable
  1766. EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
  1767. * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
  1768. operands in Pmode.
  1769. 2002-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
  1770. PR c/8518
  1771. * c-decl.c (duplicate_decls): Outline the second definition
  1772. of an extern inline function in all cases.
  1773. 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
  1774. * stor-layout.c (place_field): Update rli->offset as well as
  1775. rli->bitpos.
  1776. 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
  1777. * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
  1778. 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
  1779. * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
  1780. into a libcall block.
  1781. (divsi3): Likewise divsi3_i4_media.
  1782. 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
  1783. * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
  1784. out another register.
  1785. 2002-11-20 Jakub Jelinek <jakub@redhat.com>
  1786. * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
  1787. (not just mask) are set in C.
  1788. 2002-11-19 Steven Bosscher <steven.bosscher@usafa.af.mil>
  1789. * config/mips/vr.h (DRIVER_SELF_SPECS): Change %{<mgp32} to %<mgp32.
  1790. 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  1791. * profile.c (index_counts_file): Fix obvious mistake.
  1792. 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  1793. * Makefile.in (profile.o): Add hashtab.h dependency.
  1794. * gcov-io.h (GCOV_SUMMARY_LENGTH): New.
  1795. * profile.c: Include hashtab.h.
  1796. (htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del,
  1797. cleanup_counts_index, index_counts_file, struct section_reference,
  1798. struct da_index_entry, counts_file_name, counts_file_index): New.
  1799. (get_exec_counts, init_branch_prob): Modified.
  1800. 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
  1801. * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux
  1802. to tmake_file. Remove setting gas and gnu_ld here.
  1803. * config/sh/libgcc-glibc.ver: New file.
  1804. * config/sh/t-linux (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
  1805. (SHLIB_MAPFILES): New.
  1806. * config/sh/linux.h (MD_EXEC_PREFIX): Undefine.
  1807. (MD_STARTFILE_PREFIX): Likewise.
  1808. (HANDLE_PRAGMA_PACK_PACK_PUSH_POP): Define.
  1809. (DWARF2_UNWIND_INFO): Redefine.
  1810. (ASM_PREFERRED_EH_DATA_FORMAT): Define.
  1811. (LINK_EH_SPEC): Redefine.
  1812. (MD_FALLBACK_FRAME_STATE_FOR): Define except for SH-media.
  1813. (SH_FALLBACK_FRAME_FLOAT_STATE): Define.
  1814. (SH_DWARF_FRAME_GP0, SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_XD0,
  1815. SH_DWARF_FRAME_BT0, SH_DWARF_FRAME_PR, SH_DWARF_FRAME_PR_MEDIA,
  1816. SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_MACL,
  1817. SH_DWARF_FRAME_PC, SH_DWARF_FRAME_SR, SH_DWARF_FRAME_FPUL,
  1818. SH_DWARF_FRAME_FPSCR): Likewise.
  1819. * config/sh/sh-protos.h (sh_set_return_address): Declare.
  1820. * config/sh/sh.c (calc_live_regs): Count EH_RETURN_DATA_REGNO
  1821. registers if the current function calls EH return.
  1822. (sh_expand_epilogue): Handle EH stack adjustments.
  1823. (sh_set_return_address): New function.
  1824. * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
  1825. Don't abort even if the number is mapped to -1.
  1826. (EH_RETURN_DATA_REGNO): Define.
  1827. (EH_RETURN_STACKADJ_RTX): Define.
  1828. * config/sh/sh.md (UNSPEC_EH_RETURN): New.
  1829. (eh_return): New pattern.
  1830. (eh_set_ra_di, eh_set_ra_si): Likewise.
  1831. Add splitter to perform EH return after reload.
  1832. Tue Nov 19 12:52:07 2002 J"orn Rennecke <joern.rennecke@superh.com>
  1833. * stor-layout.c (excess_unit_span): New function.
  1834. (place_field): Use it.
  1835. 2002-11-19 Andreas Schwab <schwab@suse.de>
  1836. * unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
  1837. not valid in C++.
  1838. 2002-11-19 Nathanael Nerode <neroden@gcc.gnu.org>
  1839. * configure.in, Makefile.in: Correct BUILD/HOST confusion.
  1840. * configure: Regenerate.
  1841. Tue Nov 19 00:11:44 CET 2002 Jan Hubicka <jh@suse.cz>
  1842. * convert.c (strip_float_extensions): New function.
  1843. (convert_to_real): Optimize some cases.
  1844. 2002-11-19 Andreas Jaeger <aj@suse.de>
  1845. * loop.c (record_giv): Initialize not_replaceable.
  1846. (check_final_value): Likewise.
  1847. 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
  1848. * config/h8300/h8300.c (h8300_init_once): Replace 1 with
  1849. MASK_H8300S.
  1850. 2002-11-19 Vijay L. Khuspe <vijayk1@kpit.com>
  1851. * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
  1852. only if -mh or -ms present.
  1853. (h8300_eightbit_constant_address_p): Support the normal mode.
  1854. (h8300_tiny_constant_address_p): Likewise.
  1855. * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
  1856. (POINTER_SIZE): Add 16 bit pointer for the normal mode.
  1857. (Pmode): Evaluate to HImode for the normal mode.
  1858. (SIZE_TYPE): Evaluate to unsigned int for normal mode.
  1859. (PTRDIFF_TYPE): Evaluate to int for the normal mode.
  1860. (ASM_WORD_OP): Evaluate to word for the normal mode.
  1861. * config/h8300/h8300.md (tablejump_normal_mode): New.
  1862. (indirect_jump_normal_mode): New.
  1863. * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
  1864. directory.
  1865. (MULTILIB_DIRNAMES): Create target dependent directory
  1866. 'normal'.
  1867. (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
  1868. * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
  1869. Tue Nov 19 23:50:56 CET 2002 Jan Hubicka <jh@suse.cz>
  1870. * i386.md (length_immediate): Do not refer to insn address.
  1871. (jcc*, jmp patterns): Compute length explicitly.
  1872. 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
  1873. PR c/8588
  1874. * optabs.c (expand_binop): Convert CONST_INTs in shift
  1875. operations too.
  1876. 2002-11-19 Roger Sayle <roger@eyesopen.com>
  1877. * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
  1878. 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
  1879. * config/h8300/h8300.md (an anonymous pattern): Relax the
  1880. condition to accept the same operands and/or subregs.
  1881. 2002-11-19 Daniel Jacobowitz <drow@mvista.com>
  1882. * config/sh/sh.c (gen_shl_and): Revert previous patch.
  1883. * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
  1884. reload_completed.
  1885. 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
  1886. * config/h8300/h8300.c (print_operand): Update the use of
  1887. EIGHTBIT_CONSTANT_ADDRESS_P.
  1888. (h8300_adjust_insn_length): Likewise.
  1889. (h8300_eightbit_constant_address_p): Check if the given rtx is
  1890. a variable with __attribute__((eightbit_data)).
  1891. * config/h8300/h8300.h (OK_FOR_U): Update the use of
  1892. EIGHTBIT_CONSTANT_ADDRESS_P.
  1893. 2002-11-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  1894. * doc/contrib.texi (Contributors): Add self as second contact in
  1895. addition to Jeff Law.
  1896. 2002-11-19 Andreas Jaeger <aj@suse.de>
  1897. * tree-inline.c: Move prototpyes of find_alloca_call_1 and
  1898. find_alloca_call to right place.
  1899. 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
  1900. * cppfiles.c: Fix formatting.
  1901. 2002-11-19 Jason Thorpe <thorpej@wasabisystems.com>
  1902. * gcc.c (The Specs Language): Document spec functions.
  1903. (static_spec_functions, lookup_spec_function)
  1904. (eval_spec_function, handle_spec_function)
  1905. (if_exists_spec_function, alloc_args): New.
  1906. (execute): Abort if processing_spec_function is true.
  1907. (do_spec_1): Hand off spec to handle_spec_function if %:
  1908. is encountered. If processing_spec_function is true,
  1909. end any pending argument when the end of the string is reached.
  1910. (main): Use alloc_args to allocate the initial argument vector.
  1911. * gcc.h (struct spec_function): New.
  1912. (lang_specific_spec_functions): New extern.
  1913. * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
  1914. (ENDFILE_SPEC): Add if-exists(crtn%O%s).
  1915. * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
  1916. * doc/invoke.texi: Document spec functions.
  1917. * cppspec.c (lang_specific_spec_functions): New.
  1918. * gccspec.c: Likewise.
  1919. 2002-11-18 Steve Ellcey <sje@cup.hp.com>
  1920. * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
  1921. (FIXUNS_TRUNCTFDI2_LIBCALL): New.
  1922. (fixunstfsi_libfunc): Change.
  1923. (fixunstfdi_libfunc): Change.
  1924. (sdiv_optab): Don't zero out SImode handler.
  1925. (udiv_optab): Don't zero out SImode handler.
  1926. (smod_optab): Don't zero out SImode handler.
  1927. (umod_optab): Don't zero out SImode handler.
  1928. 2002-11-18 Neil Booth <neil@daikokuya.co.uk>
  1929. PR preprocessor/8524
  1930. * cpplib.c (run_directive): Remove previous kludge to _Pragma.
  1931. Add a new one in its place, which hopefully works.
  1932. (skip_rest_of_line): Change test for bottom-of-context-stack.
  1933. Mon Nov 18 21:29:03 CET 2002 Jan Hubicka <jh@suse.cz>
  1934. * i386.md (addqi_1_slp): Fix output template.
  1935. (subqi_1_slp): Fix type.
  1936. Sun Nov 17 00:01:28 CET 2002 Jan Hubicka <jh@suse.cz>
  1937. * calls.c (alloca_call_p): New global function.
  1938. * tree.h (alloca_call_p): New.
  1939. * tree-inline.c (inlinable_function_p): Do not inline when
  1940. function calls alloca.
  1941. (find_alloca_call, find_alloca_call_1): New functions.
  1942. 2002-11-18 Kazu Hirata <kazu@cs.umass.edu>
  1943. * config/h8300/h8300.md (*andorqi3): Use bor between bld and
  1944. bst. Update the insn length.
  1945. (*andorhi3): Likewise.
  1946. (*andorsi3): Likewise.
  1947. 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
  1948. * config/sh/sh-protos.h (sh_mark_label): Declare.
  1949. * config/sh/sh.c (sh_mark_label): New function, taken from
  1950. movdi_const, but fixing the case when the address has an addend.
  1951. * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
  1952. 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
  1953. * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
  1954. (add_constant): Set it.
  1955. (dump_table): Don't reorder a constant if part_of_sequence_p.
  1956. (machine_dependent_reorg): Assume that float constants will
  1957. stay in their original order if used as a sequence.
  1958. 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
  1959. * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
  1960. in compact code.
  1961. 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
  1962. * config/sh/sh.md (initialize_trampoline): Do not force the
  1963. trampoline address into R0_REGS here.
  1964. Sun Nov 17 14:01:09 CET 2002 Jan Hubicka <jh@suse.cz>
  1965. * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
  1966. absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
  1967. (neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
  1968. generate unnecesary subregs.
  1969. 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
  1970. * df.c: Fix formatting.
  1971. 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
  1972. * config/h8300/h8300.md (two anonymous patterns): Fix insn
  1973. lengths.
  1974. 2002-11-17 Daniel Jacobowitz <drow@mvista.com>
  1975. * sh.c (gen_shl_and): Don't create a zero_extend if the operand
  1976. is not an arith_reg_operand.
  1977. 2002-11-17 Graham Stott <graham.stott@btinternet.com>
  1978. * real.c (real_to_decimal): Fix buffer overrun when buffer size
  1979. is smaller than representation.
  1980. 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
  1981. * builtins.c: Fix formatting.
  1982. Sat Nov 16 16:49:58 CET 2002 Jan Hubicka <jh@suse.cz>
  1983. * i386.md (truncdfsf2_1_sse, truncdfsf2_1_sse_nooverlap, truncdfsf2_2,
  1984. floats?dff2_i387):
  1985. Work around regclass stupidity.
  1986. (truncdfsf_2_1_sse splitter): Accept !TARGET_PARTIAL_SSE_REGS
  1987. Sat Nov 16 02:17:48 CET 2002 Jan Hubicka <jh@suse.cz>
  1988. * i386.md (fop_df_6): New pattern.
  1989. (fop_xf_4, fop_xf_5): Handle both SF and DFmode extensions.
  1990. (fop_xf_6): Rewrite
  1991. (fop_xf_7): Delete.
  1992. (fop_tf_4, fop_tf_5): Handle both SF and DFmode extensions.
  1993. (fop_tf_6): Rewrite
  1994. (fop_tf_7): Delete.
  1995. 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
  1996. * config/h8300/h8300.md (two anonymous patterns): Fix typos.
  1997. 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
  1998. * config/h8300/h8300.md: Fix formatting.
  1999. 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2000. * config/h8300/h8300.md: Replace spaces with tabs.
  2001. * config/h8300/t-h8300: Remove a trailing empty line.
  2002. 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2003. * tlink.c: Fix formatting.
  2004. 2002-11-16 David Edelsohn <edelsohn@gnu.org>
  2005. PR 8362
  2006. * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
  2007. * config/rs6000/rs6000.md (movti_string): Remove output modifier
  2008. when scratch register never needed.
  2009. (ldmsi[3-8]): New patterns.
  2010. 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2011. * hard-reg-set.h: Follow spelling conventions.
  2012. * real.c: Likewise.
  2013. * target.h: Likewise.
  2014. 2002-11-16 Jakub Jelinek <jakub@redhat.com>
  2015. * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
  2016. 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
  2017. * optabs.c: Fix formatting.
  2018. Sat Nov 16 02:06:02 CET 2002 Jan Hubicka <jh@suse.cz>
  2019. * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
  2020. * i386.md (attribute type): Add type shift1 and rotate1.
  2021. (*_slp): Rewrite to have just two operands to avoid reload problems.
  2022. 2002-11-15 Kazu Hirata <kazu@cs.umass.edu>
  2023. * config/h8300/h8300.md (4 anonymous patterns): New.
  2024. 2002-11-15 Geoffrey Keating <geoffk@apple.com>
  2025. * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
  2026. * doc/invoke.texi: Correct description of what needs to be done to
  2027. force collection at every ggc_collect call.
  2028. 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
  2029. * config/s390/s390.c (optimization_options): Set
  2030. flag_asynchronous_unwind_tables to 1 by default.
  2031. 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
  2032. * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
  2033. Fri Nov 15 14:54:19 CET 2002 Jan Hubicka <jh@suse.cz>
  2034. * i386-protos.h (x86_function_profiler): New function
  2035. * i386.h (MCOUNT_NAME): New.
  2036. (PROFILE_COUNT_REGISTER): New.
  2037. (FUNCTION_PROFILER): Move offline to ...
  2038. * i386.c (x86_function_profiler) ... here; fix 64bit support
  2039. * beos-elf.h (FUNCTION_PROFILER): Kill.
  2040. (MCOUNT_NAME): New.
  2041. * freebsd-aout.h (FUNCTION_PROFILER): Kill.
  2042. (MCOUNT_NAME): New.
  2043. (PROFILE_COUNT_REGISTER): New.
  2044. * linux.h (FUNCTION_PROFILER): Kill.
  2045. (MCOUNT_NAME): New.
  2046. * x86-64.h (FUNCTION_PROFILER): Kill.
  2047. (MCOUNT_NAME): New.
  2048. * freebsd.h (FUNCTION_PROFILER): Kill.
  2049. (MCOUNT_NAME): New.
  2050. 2002-11-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  2051. * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
  2052. FUNCTION_ARG_PASS_BY_REFERENCE): Define.
  2053. * config/arm/arm.c (arm_va_arg,
  2054. arm_function_arg_pass_by_reference): New.
  2055. * config/arm/arm-protos.h: Add prototypes.
  2056. 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
  2057. * gthr-single.h: Fix formatting.
  2058. 2002-11-14 Zack Weinberg <zack@codesourcery.com>
  2059. * tree.c (tree_vec_elt_check_failed): New function.
  2060. * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
  2061. (TREE_VEC_ELT): Use it.
  2062. * tree-inline.c (optimize_inline_calls): Don't copy a
  2063. zero-length vector.
  2064. 2002-11-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
  2065. * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
  2066. 2002-11-14 Jakub Jelinek <jakub@redhat.com>
  2067. * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
  2068. both operands contain local relocations.
  2069. (categorize_decl_for_section): Don't use mergeable sections if
  2070. initializer has any relocations.
  2071. 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
  2072. * gthr-vxworks.h: Fix formatting.
  2073. 2002-11-13 Janis Johnson <janis187@us.ibm.com>
  2074. * doc/install.texi (Testing): Document extra Java testing.
  2075. * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
  2076. 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2077. * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
  2078. beginning of the spec.
  2079. (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
  2080. (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable. Add comment
  2081. regarding problems with global constructors when using GNU ld.
  2082. 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
  2083. * gthr-solaris.h: Fix formatting.
  2084. 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
  2085. * gthr-posix.h: Fix formatting.
  2086. 2002-11-12 Devang Patel <dpatel@apple.com>
  2087. * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler.
  2088. (process_command): Same.
  2089. * doc/invoke.texi: Info about these two new options.
  2090. 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
  2091. * config/h8300/h8300.md (*andorsi3): New.
  2092. 2002-11-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  2093. * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
  2094. 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
  2095. * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
  2096. expressions appropriately.
  2097. 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
  2098. * gthr-win32.h: Fix formatting.
  2099. 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
  2100. * config/h8300/h8300.c (single_one_operand): Correctly compute
  2101. mask when mode is SImode.
  2102. (single_zero_operand): Likewise.
  2103. * config/h8300/h8300.md (two new anonymous insns): New.
  2104. 2002-11-12 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  2105. * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
  2106. to that entire project.
  2107. 2002-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2108. * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
  2109. directories.
  2110. 2002-11-11 Zack Weinberg <zack@codesourcery.com>
  2111. * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
  2112. * doc/invoke.texi: Document them.
  2113. * ggc-page.c: Include params.h. Remove definitions of
  2114. GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED. Replace
  2115. GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
  2116. (init_gcc): Don't set G.allocated_last_gc here.
  2117. (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
  2118. PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
  2119. perform collection.
  2120. * ggc-simple.c: Similarly.
  2121. * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
  2122. dependencies.
  2123. 2002-11-11 Kazu Hirata <kazu@cs.umass.edu>
  2124. * gthr-dce.h: Fix formatting.
  2125. 2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  2126. PR c/8467
  2127. * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
  2128. mode of DECL_RTL case.
  2129. 2002-11-11 Janis Johnson <janis187@us.ibm.com>
  2130. * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
  2131. Mon Nov 11 12:06:08 CET 2002 Jan Hubicka <jh@suse.cz>
  2132. * i386.c (construct_container): Fix handling of SSE_CLASS.
  2133. 2002-11-10 Joel Sherrill <joel@gcc.gnu.org>
  2134. * config/m68k/t-crtstuff (crti.o): Use this...
  2135. ($(T)crti.o): ... instead.
  2136. (crtn.o): Use this...
  2137. ($(T)crtn.o): ... instead.
  2138. 2002-11-10 Eric Botcazou <ebotcazou@libertysurf.fr>
  2139. PR c/8439
  2140. * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
  2141. if there is something new to be simplified.
  2142. 2002-11-10 H.J. Lu <hjl@gnu.org>
  2143. * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
  2144. * expr.c (PUSH_ARGS_REVERSED): Likewise.
  2145. * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
  2146. 2002-11-10 Zack Weinberg <zack@codesourcery.com>
  2147. * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
  2148. * config/rs6000/linux.h, config/rs6000/linux64.h,
  2149. config/rs6000/windiss.h: ... not here.
  2150. 2002-11-10 Jason Thorpe <thorpej@wasabisystems.com>
  2151. * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
  2152. __ABICALLS__ if TARGET_ABICALLS.
  2153. Sun Nov 10 18:49:21 CET 2002 Jan Hubicka <jh@suse.cz>
  2154. * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
  2155. 2002-11-10 Joseph S. Myers <jsm@polyomino.org.uk>
  2156. * c-decl.c (grokdeclarator): Make error for duplicate type
  2157. qualifiers into a pedwarn, disabled for C99.
  2158. 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
  2159. * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
  2160. as FUNCTION_ARG_PASS_BY_REFERENCE.
  2161. 2002-11-09 Zack Weinberg <zack@codesourcery.com>
  2162. * doc/install.texi: Add *-*-vxworks* specific installation
  2163. instructions.
  2164. * config/vxlib.c: Rewrite using generation numbers to identify
  2165. valid TSD keys.
  2166. Sat Nov 9 00:10:54 CET 2002 Jan Hubicka <jh@suse.cz>
  2167. * i386.c (x86_machine_dependent_reorg): Fix even more side cases.
  2168. 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2169. * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
  2170. * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
  2171. (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas.
  2172. * pa.c (output_millicode_call): Use symbol difference rather than
  2173. $PIC_pcrel$0 when using HP assembler.
  2174. * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
  2175. not elfos.h (i.e., gas) is being used.
  2176. (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
  2177. DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
  2178. ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
  2179. ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
  2180. ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
  2181. using elfos.h.
  2182. (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
  2183. (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
  2184. (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
  2185. using elfos.h.
  2186. (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
  2187. BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
  2188. (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
  2189. Don't define when not using elfos.h.
  2190. (ASM_DECLARE_RESULT): Don't define.
  2191. * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
  2192. doesn't work on hppa64-hp-hpux11.
  2193. (hppa*-hp-hpux11): Update.
  2194. 2002-11-09 Jason Thorpe <thorpej@wasabisystems.com>
  2195. * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
  2196. to the assembler if -mno-abicalls was specified.
  2197. 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2198. * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
  2199. ASM_OUTPUT_DEF): Delete.
  2200. 2002-11-09 Neil Booth <neil@daikokuya.co.uk>
  2201. * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
  2202. 2002-11-08 Roger Sayle <roger@eyesopen.com>
  2203. * real.c (real_sqrt): Update comment with bibliographic reference.
  2204. Fri Nov 8 13:33:58 CET 2002 Jan Hubicka <jh@suse.cz>
  2205. * i386.md (sse_loadss, sse2_loadsd): Fix expander.
  2206. Fri Nov 8 13:25:41 CET 2002 Jan Hubicka <jh@suse.cz>
  2207. * i386.c (x86_machine_dependent_reorg): Fix handling of empty functions.
  2208. Fri Nov 8 13:01:42 CET 2002 Jan Hubicka <jh@suse.cz>
  2209. * builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint
  2210. (expand_builtin): Likewise.
  2211. * builtins.def: Add
  2212. __builtin_floor, __builtin_floorf, __builtin_floorl
  2213. __builtin_ceil, __builtin_ceilf, __builtin_ceill
  2214. __builtin_round, __builtin_roundf, __builtin_roundl
  2215. __builtin_trunc, __builtin_truncf, __builtin_truncl
  2216. __builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl.
  2217. * genopinit.c (optabs): Initialize the new optabs.
  2218. * optab.c (init_optabs): Likewise.
  2219. * optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
  2220. OTI_round, OTI_nearbyint.
  2221. (floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
  2222. * doc/md.texi: Document new named patterns.
  2223. * doc/extend.texi (builtin functions) Document
  2224. floor, floorf, floorl, ceil, ceilf,
  2225. ceill, round, roundf, roundl, trunc,
  2226. truncf, truncl, nearbyint, nearbyintf, nearbyintl.
  2227. Fri Nov 8 11:36:11 CET 2002 Jan Hubicka <jh@suse.cz>
  2228. * i386.md (sse_movdfcc, sse_movsfcc): Fix typo in previous patch.
  2229. 2002-11-08 Dale Johannesen <dalej@apple.com>
  2230. * dbxout.c (dbxout_type): Fix stabs info for vector types.
  2231. 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
  2232. PR preprocessor/8497
  2233. PR preprocessor/8501
  2234. * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
  2235. start a directive. In assembler, #NUM is not a line directive.
  2236. 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
  2237. * cppmain.c (cpp_preprocess_file): Loop to pop any -included
  2238. buffers.
  2239. 2002-11-08 Kazu Hirata <kazu@cs.umass.edu>
  2240. * config/h8300/h8300.md (two anonymous test insns): New.
  2241. Fri Nov 8 11:20:19 CET 2002 Jan Hubicka <jh@suse.cz>
  2242. * jump.c (mark_jump_label): Handle subregs of label_refs.
  2243. Thu Nov 7 21:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
  2244. * i386.md (sse_movdfcc, sse_movsfcc): Avoid overactive matching.
  2245. * i386.c (ix86_expand_fp_movcc): Match the reversed cases.
  2246. 2002-11-07 David Mosberger <davidm@hpl.hp.com>
  2247. * config/ia64/crtend.asm: Include "auto-host.h".
  2248. [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
  2249. * config/ia64/crtbegin.asm: Similarly.
  2250. * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
  2251. (crtend.o, crtbeginS.o, crtendS.o): Likewise.
  2252. * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
  2253. * configure.in: Use it if --enable-initfini-array not specified.
  2254. * doc/install.texi (Configuration): Document --enable-initfini-array.
  2255. * configure, config.in: Rebuild.
  2256. 2002-11-07 Jason Thorpe <thorpej@wasabisystems.com>
  2257. * config/arm/arm-protos.h (arm_get_frame_size)
  2258. (thumb_get_frame_size): New prototypes.
  2259. * config/arm/arm.c (arm_get_frame_size)
  2260. (thumb_get_frame_size): New functions.
  2261. (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
  2262. (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
  2263. arm_get_frame_size.
  2264. (thumb_expand_prologue, thumb_expand_epilogue): Use
  2265. thumb_get_frame_size.
  2266. * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
  2267. (machine_function): Add frame_size member.
  2268. (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
  2269. 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
  2270. * arm.c (bit_count): Make argument unsigned long. Return unsigned.
  2271. Adjust code to use portable unsigned bit manipulation.
  2272. (insn_flags, tune_flags): Change type to unsigned.
  2273. (struct processors): Make flags unsigned long.
  2274. (arm_override_options): Change type of count and current_bit_count
  2275. to unsigned.
  2276. 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
  2277. * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
  2278. Thu Nov 7 15:50:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
  2279. * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
  2280. Thu Nov 7 11:18:01 CET 2002 Jan Hubicka <jh@suse.cz>
  2281. * reg-stack.c (compensate_edge): Fix sanity check.
  2282. 2002-11-05 Geoffrey Keating <geoffk@apple.com>
  2283. * config.gcc: Don't create crtbegin, crtend on Darwin; do create
  2284. crt2.o. Rearrange t-darwin makefiles.
  2285. * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
  2286. * unwind-dw2-fde-darwin.c: New.
  2287. * unwind-dw2-fde-glibc.c: Correct comment.
  2288. * unwind-dw2-fde.c (__register_frame_info_bases)
  2289. [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
  2290. (classify_object_over_fdes): Use last_fde.
  2291. (add_fdes): Likewise.
  2292. (linear_search_fdes): Likewise.
  2293. * unwind-dw2-fde.h (struct object)
  2294. [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
  2295. (last_fde): New.
  2296. * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
  2297. (ENDFILE_SPEC): No crtend.o.
  2298. * config/t-darwin: New.
  2299. * config/i386/t-darwin: Delete.
  2300. * config/darwin-crt2.c: New.
  2301. * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
  2302. or config/t-darwin.
  2303. 2002-11-06 Douglas B Rupp <rupp@gnat.com>
  2304. * config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or
  2305. MASK_MS_BITFIELD_LAYOUT
  2306. (SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off
  2307. MS bitfields for Objective-C.
  2308. (PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove
  2309. defines.
  2310. * config/i386/i386.c (ix86_ms_bitfield_layout): New function.
  2311. (TARGET_MS_BITFIELD_LAYOUT_P): Define to above function.
  2312. (TARGET_USE_MS_BITFIELD_LAYOUT): Define.
  2313. * config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask.
  2314. TARGET_USE_MS_BITFIELD_LAYOUT): New macro.
  2315. (TARGET_SWITCHES): Add above mask.
  2316. * testsuite/gcc.dg/bf-ms-layout.c: New test case.
  2317. * testsuite/gcc.dg/bf-no-ms-layout.c: New test case.
  2318. * testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate
  2319. flags for interix.
  2320. Wed Nov 6 18:54:47 2002 Alexandre Oliva <aoliva@redhat.com>
  2321. * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output
  2322. .gpword/.gpdword for ABI_N32 and ABI_64 too, if using the GNU
  2323. assembler.
  2324. * config/mips/mips.md (tablejump_internal3): Output .cpadd
  2325. before jump on ABI_N32 too.
  2326. (tablejump_internal4): Ditto on ABI_64. Increase maximum
  2327. length to match.
  2328. Wed Nov 6 17:16:48 CET 2002 Jan Hubicka <jh@.suse.cz>
  2329. * i386.md (negsf splitter): Accept memory operand in second register.
  2330. (abssf/absdf splitters): Simplify
  2331. (sse_loadss, sse_loadsd): Turn into expander.
  2332. 2002-11-06 David Edelsohn <edelsohn@gnu.org>
  2333. PR target/8480
  2334. * config/rs6000/rs6000.md (movdi_internal64): Discourage
  2335. FPR to FPR moves.
  2336. 2002-11-06 Janis Johnson <janis187@us.ibm.com>
  2337. * doc/contrib.texi: Merge in the list from the Java web pages.
  2338. 2002-11-06 David O'Brien <obrien@FreeBSD.org>
  2339. * config/sparc/freebsd: Fix typo.
  2340. 2002-11-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2341. * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
  2342. 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
  2343. * config/mips/mips.md (call_value_multiple_internal2): Use dla for
  2344. non-SImode addresses.
  2345. Tue Nov 5 14:34:36 CET 2002 Jan Hubicka <jh@suse.cz>
  2346. * i386.md (float_truncate SSE splitter): Ensure that operand is not
  2347. stack register.
  2348. (float SSE splitters): Reorder conditional.
  2349. 2002-11-05 Bob Wilson <bob.wilson@acm.org>
  2350. * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
  2351. 2002-11-05 John David Anglin <dave2hiauly1.hia.nrc.ca>
  2352. * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
  2353. (STARTFILE_SPEC): Remove p and pg options.
  2354. 2002-11-05 Andrew Haley <aph@redhat.com>
  2355. * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
  2356. to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
  2357. 2002-11-05 Richard Sandiford <rsandifo@redhat.com>
  2358. * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
  2359. * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
  2360. 2002-11-04 Zack Weinberg <zack@codesourcery.com>
  2361. * gthr-vxworks.h: Rewritten from scratch.
  2362. * config/vxlib.c: New file.
  2363. * config/t-vxworks: Add config/vxlib.c to LIB2FUNCS_EXTRA.
  2364. * config/rs6000/t-vxworks: Add config/vxlib.c to
  2365. LIB2FUNCS_EXTRA here too, because of clash with
  2366. config/rs6000/t-ppccomm.
  2367. 2002-11-04 Dale Johannesen <dalej@apple.com>
  2368. * doloop.c (doloop_modify_runtime): Fix loop count computation
  2369. for unrolled loops.
  2370. * loop.c (loop_invariant_p): Support calling from unroller.
  2371. 2002-11-04 Ulrich Weigand <uweigand@de.ibm.com>
  2372. * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
  2373. for comparison.
  2374. 2002-11-04 Aldy Hernandez <aldyh@redhat.com>
  2375. * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
  2376. * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
  2377. (CLASS_CANNOT_CHANGE_MODE): Remove.
  2378. (CANNOT_CHANGE_MODE_CLASS): New.
  2379. * config/alpha/alpha.h: Same.
  2380. * config/ia64/ia64.h: Same.
  2381. * config/mips/mips.h: Same.
  2382. * config/s390/s390.h: Same.
  2383. * config/sh/sh.h: Same.
  2384. * config/pa/pa64-regs.h: Same.
  2385. * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
  2386. * config/sh/sh.c (sh_cannot_change_mode_class): New.
  2387. * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
  2388. prototype.
  2389. * config/mips/mips.c (mips_cannot_change_mode_class): New.
  2390. * doc/tm.texi (Register Classes): Remove
  2391. CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
  2392. Document CANNOT_CHANGE_MODE_CLASS.
  2393. * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
  2394. (push_reload): Same.
  2395. * simplify-rtx.c (simplify_subreg): Same.
  2396. * reload1.c (choose_reload_regs): Same.
  2397. * recog.c (register_operand): Same.
  2398. * regrename.c (mode_change_ok): Change to use new
  2399. CANNOT_CHANGE_MODE_CLASS infrastructure.
  2400. * regclass.c (cannot_change_mode_set_regs): New.
  2401. Declare subregs_of_mode.
  2402. (regclass): Use subregs_of_mode.
  2403. Remove references to reg_changes_mode.
  2404. (init_reg_sets_1): Remove class_can_change_mode and
  2405. reg_changes_mode code.
  2406. (invalid_mode_change_p): New.
  2407. (dump_regclass): Use invalid_mode_change_p instead of
  2408. class_can_change_mode.
  2409. (regclass): Same.
  2410. (record_operand_costs): Do not set reg_changes_mode.
  2411. * local-alloc.c (struct qty): Remove changes_mode field.
  2412. (alloc_qty): Remove changes_mode initialization.
  2413. (update_qty_class): Remove set of changes_mode.
  2414. (find_free_reg): Use subregs_of_mode.
  2415. * global.c (find_reg): Use subregs_of_mode info.
  2416. * rtl.h (cannot_change_mode_set_regs): New prototype.
  2417. (invalid_mode_change_p): Same.
  2418. (REG_CANNOT_CHANGE_MODE_P): New macro.
  2419. * flow.c (mark_used_regs): Calculate subregs_of_mode. Remove
  2420. REG_CHANGES_MODE.
  2421. (life_analysis): Clear subregs_of_mode.
  2422. * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
  2423. Remove use of CLASS_CANNOT_CHANGE_MODE.
  2424. (simplify_set): Same.
  2425. (gen_lowpart_for_combine): Calculate subregs_of_mode. Remove
  2426. REG_CHANGES_MODE.
  2427. * regs.h: Add extern for subregs_of_mode;
  2428. Include hard-reg-set and basic-block.
  2429. (REG_CHANGES_MODE): Delete.
  2430. 2002-11-03 Roger Sayle <roger@eyesopen.com>
  2431. * real.c (real_sqrt): New function to calculate square roots.
  2432. * real.h (real_sqrt): Add function prototype.
  2433. * builtins.c (fold_builtin): Fold sqrt of constant argument.
  2434. * simplify-rtx.c (simplify_unary_operation): Simplify sqrt
  2435. of constant argument.
  2436. 2002-11-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2437. * jump.c (never_reached_warning): Don't set contains_insn until the
  2438. first line note is seen.
  2439. 2002-11-03 David Edelsohn <edelsohn@gnu.org>
  2440. * config/rs6000/rs6000.md (movti_string): Use string instructions.
  2441. 2002-11-03 Roger Sayle <roger@eyesopen.com>
  2442. PR c/7128
  2443. * c-typeck.c (c_expand_asm_operands): Defend against
  2444. error_mark_nodes in the output argument to avoid ICE.
  2445. 2002-11-03 Eric Botcazou <ebotcazou@libertysurf.fr>
  2446. PR middle-end/8408
  2447. * genrecog.c (preds): Handle ADDRESSOF.
  2448. (validate_pattern): Mark it as an lvalue.
  2449. 2002-11-02 David Edelsohn <edelsohn@gnu.org>
  2450. * config/rs6000/rs6000.c (rs6000_override_options): Use string
  2451. instructions when optimizing for size.
  2452. 2002-11-02 Kazu Hirata <kazu@cs.umass.edu>
  2453. * config/h8300/h8300.h: Fix comment typos.
  2454. * config/h8300/h8300.md: Likewise.
  2455. * config/h8300/lib1funcs.asm: Likewise.
  2456. 2002-11-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  2457. Revert this change:
  2458. *doc/install.texi (Installing GCC: Configuration): Clarify
  2459. the only supported ways to configure gcc.
  2460. 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
  2461. * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
  2462. instead of 'O' for the constraint for the second operand.
  2463. 2002-11-01 Mark Mitchell <mark@codesourcery.com>
  2464. PR c++/8391
  2465. * toplev.c (rest_of_compilation): Do not refuse to output code for
  2466. an inline function in a local class.
  2467. 2002-11-01 David O'Brien <obrien@FreeBSD.org>
  2468. * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
  2469. (TRANSFER_FROM_TRAMPOLINE): Reformat.
  2470. Add comment.
  2471. 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
  2472. * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
  2473. 2002-11-01 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
  2474. * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
  2475. 2002-11-01 Steve Ellcey <sje@cup.hp.com>
  2476. * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
  2477. (MASK_INLINE_DIV_THR): Remove.
  2478. (TARGET_INLINE_DIV_LAT): Remove.
  2479. (TARGET_INLINE_DIV_THR): Remove.
  2480. (TARGET_INLINE_DIV): Remove.
  2481. (MASK_INLINE_FLOAT_DIV_LAT): New macro.
  2482. (MASK_INLINE_FLOAT_DIV_THR): New macro.
  2483. (MASK_INLINE_INT_DIV_LAT): New macro.
  2484. (MASK_INLINE_INT_DIV_THR): New macro.
  2485. (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
  2486. (TARGET_INLINE_FLOAT_DIV_THR): New macro.
  2487. (TARGET_INLINE_INT_DIV_LAT): New macro.
  2488. (TARGET_INLINE_INT_DIV_THR): New macro.
  2489. (TARGET_INLINE_FLOAT_DIV): New macro.
  2490. (TARGET_INLINE_INT_DIV): New macro.
  2491. * config/ia64/ia64.md (divsi3): Change to use new macros.
  2492. (modsi3): Ditto.
  2493. (udivsi3): Ditto.
  2494. (umodsi3): Ditto.
  2495. (divsi3_internal): Ditto.
  2496. (divdi3): Ditto.
  2497. (moddi3): Ditto.
  2498. (udivdi3): Ditto.
  2499. (umoddi3): Ditto.
  2500. (divdi3_internal_lat): Ditto.
  2501. (divdi3_internal_thr): Ditto.
  2502. (divsf3): Ditto.
  2503. (divsf3_internal_lat): Ditto.
  2504. (divsf3_internal_thr): Ditto.
  2505. (divdf3): Ditto.
  2506. (divdf3_internal_lat): Ditto.
  2507. (divdf3_internal_thr): Ditto.
  2508. (divtf3): Ditto.
  2509. (divtf3_internal_lat): Ditto.
  2510. (divtf3_internal_thr): Ditto.
  2511. * config/ia64/ia64.c (ia64_override_options): Change
  2512. to check new macros for conflicts in settings.
  2513. * doc/invoke.texi (-minline-divide-min-latency): Remove.
  2514. (-minline-divide-max-throughput): Remove.
  2515. (-minline-float-divide-min-latency): New.
  2516. (-minline-float-divide-max-throughput): New.
  2517. (-minline-int-divide-min-latency): New.
  2518. (-minline-int-divide-max-throughput): New.
  2519. 2002-11-01 Richard Earnshaw (rearnsha@arm.com)
  2520. PR target/7856
  2521. * arm.c (use_return_insn): Don't use a return insn if there are
  2522. saved integer regs, but LR is not one of them.
  2523. Fri Nov 1 10:33:15 CET 2002 Jan Hubicka <jh@suse.cz>
  2524. * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
  2525. * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
  2526. Thu Oct 31 18:20:50 CET 2002 Jan Hubicka <jh@suse.cz>
  2527. * i386.md (sse_loadss, sse_loadsd): Canonicalize; add expander
  2528. (movps, movpd splitters): Use canonical form.
  2529. (movv2di): Fix merge problem.
  2530. Thu Oct 31 16:22:31 CET 2002 Jan Hubicka <jh@suse.cz>
  2531. * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
  2532. 2002-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
  2533. PR optimization/6162
  2534. * doc/md.texi: Document restriction on commutative operand
  2535. specification.
  2536. 2002-10-31 Eric Christopher <echristo@redhat.com>
  2537. * explow.c (convert_memory_address): Use shallow_copy_rtx.
  2538. 2002-10-31 Steve Ellcey <sje@cup.hp.com>
  2539. * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
  2540. 2002-10-31 Steve Ellcey <sje@cup.hp.com>
  2541. * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
  2542. Thu Oct 31 Dale Johannesen <dalej@apple.com>
  2543. * config/rs6000/darwin.h: Correct formatting in previous.
  2544. Thu Oct 31 Dale Johannesen <dalej@apple.com>
  2545. * config/rs6000/darwin.h: Enable -falign-xxx options.
  2546. Thu Oct 31 18:08:00 CET 2002 Jan Hubicka <jh@suse.cz>
  2547. * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
  2548. flag_asynchronous_unwind_tables, flag_pcc_struct_return.
  2549. * i386.c (optimization_options): Set flag_omit_frame_pointer,
  2550. flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
  2551. Do not clear -momit-leaf-frame-pointer when profiling.
  2552. (ix86_frame_pointer_required): Frame pointer is always required when
  2553. profiling.
  2554. Thu Oct 31 16:09:44 CET 2002 Jan Hubicka <jh@suse.cz>
  2555. * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
  2556. Thu Oct 31 12:45:55 2002 J"orn Rennecke <joern.rennecke@superh.com>
  2557. * sh.h (binary_logical_operator): Declare.
  2558. * sh.c (binary_logical_operator): New function.
  2559. * sh.md (xordi3+1): New combiner splitter pattern.
  2560. 2002-10-31 David O'Brien <obrien@FreeBSD.org>
  2561. * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
  2562. __enable_execute_stack function.
  2563. 2002-10-30 Zack Weinberg <zack@codesourcery.com>
  2564. * gthr.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h,
  2565. gthr-solaris.h, gthr-win32.h: Remove __gthread_key_dtor.
  2566. * unwind-sjlj.c (fc_key_dtor): Delete.
  2567. (fc_key_init): Adjust __gthread_key_create call to match.
  2568. 2002-10-30 Aldy Hernandez <aldyh@redhat.com>
  2569. * c-common.c: Add GTY to vector_type_node_list.
  2570. 2002-10-30 John David Anglin <dave@hiauly.hia.nrc.ca>
  2571. * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
  2572. * pa-protos.h (attr_length_millicode_call, attr_length_call,
  2573. pa_init_machine_status): Declare new global functions.
  2574. * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
  2575. implement new functions.
  2576. (attr_length_millicode_call, attr_length_call): Implement.
  2577. (total_code_bytes): Change type to long.
  2578. (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
  2579. Reset counter if flag_function_sections.
  2580. (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
  2581. (output_cbranch): Move call to gen_label_rtx.
  2582. (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
  2583. delay slot in all variants, shorten pc-relative calls.
  2584. (output_call): Rewrite adding long TARGET_64BIT call, improved delay
  2585. slot usage and exposure, various new call variants, and shortened
  2586. sequences for some variants on TARGET_PA_20.
  2587. Miscellaneous format changes.
  2588. * pa.h (total_code_bytes): Change type to long.
  2589. (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
  2590. TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
  2591. (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
  2592. (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
  2593. LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
  2594. stores on TARGET_ELF32.
  2595. *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
  2596. (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
  2597. canonicalize_funcptr_for_compare expanders): Calculate attribute length
  2598. attr_length_millicode_call().
  2599. (call_internal_symref, call_value_internal_symref): Clobber register 1.
  2600. Calculate attribute length using attr_length_call().
  2601. (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
  2602. to delay slot.
  2603. (sibcall, sibcall_value): Rewrite.
  2604. (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
  2605. register 1. Use attr_length_call().
  2606. (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
  2607. New patterns.
  2608. (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
  2609. * som.h (MEMBER_TYPE_FORCES_BLK): Define.
  2610. * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
  2611. * doc/invoke.texi (mlong-calls): Document.
  2612. 2002-10-30 Roger Sayle <roger@eyesopen.com>
  2613. * fold-const.c (fold_binary_op_with_conditional_arg): Improve
  2614. handling of cases where one or both branches of the conditional
  2615. have void type, i.e. throw an exception or don't return.
  2616. (fold): Only apply (and undo) type conversion to the non-void
  2617. branches of a COND_EXPR.
  2618. 2002-10-30 Mark Mitchell <mark@codesourcery.com>
  2619. PR c++/8333
  2620. * varasm.c (asm_output_aligned_bss): Do not call
  2621. ASM_GLOBALIZE_LABEL.
  2622. 2002-10-30 David Edelsohn <edelsohn@gnu.org>
  2623. Torbjorn Granlund <tege@swox.com>
  2624. * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
  2625. for addressibility.
  2626. (load_toc_v4_PIC_1b): Same.
  2627. 2002-10-30 Kazu Hirata <kazu@cs.umass.edu>
  2628. * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
  2629. Truncate the addresses for H8/300 using HImode.
  2630. Tue Oct 29 23:28:10 CET 2002 Jan Hubicka <jh@suse.cz>
  2631. * i386.md (negdf splitter): Fix construction of the constant.
  2632. Tue Oct 29 20:47:06 CET 2002 Jan Hubicka <jh@suse.cz>
  2633. * i386.md (negsf, negdf): Reorganize to use vector modes
  2634. for SSE variants.
  2635. (abssf, absdf): Use force_reg.
  2636. (movv4sf, movv2df): New splitters.
  2637. * i386.h (PREDICATE_CODES): add zero_extended_scalar_load_operand
  2638. * i386.c (zero_extended_scalar_load_operand
  2639. * i386-protos.h (ix86_expand_call): Update prototype.
  2640. * i386.c (ix86_function_ok_for_sibcall): Handle 64bit
  2641. (ix86_expand_call): Use r11 for indirect sibcalls.
  2642. * i386.md (call, call_value, untyped_call, call_value_pop):
  2643. update x86_expand_call call.
  2644. (sibcall, sibcall_value): new patterns
  2645. (call_rex64, call_value_rex64): Do not accept sibcalls.
  2646. (sibcall_rex64, sibcall_value_rex64,
  2647. sibcall_rex64_v, sibcall_value_rex64_v): New.
  2648. Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
  2649. * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
  2650. before final pass.
  2651. 2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
  2652. * toplev.c (rest_of_type_compilation): Return early in case of
  2653. errors.
  2654. (check_global_declarations): Don't call debug_hooks->global_decl
  2655. in case of errors.
  2656. 2002-10-28 Andreas Bauer <baueran@in.tum.de>
  2657. * doc/c-tree.texi (Tree overview): Fix typos.
  2658. 2002-10-29 Phil Edwards <pme@gcc.gnu.org>
  2659. * Makefile.in (gnucompare*): Only record bad comparisons
  2660. if there really was a bad comparison.
  2661. Tue Oct 29 19:32:16 CET 2002 Jan Hubicka <jh@suse.cz>
  2662. * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
  2663. * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
  2664. * md.texi (machine dependent constraints): Document 'C'
  2665. * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
  2666. * i386.c (ix86_expand_vector_move): Fix.
  2667. * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
  2668. * i386.md (sse2_maskmovdqu_rex64): New pattern
  2669. PR target/8322
  2670. * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
  2671. (ix86_init_mmx_sse_builtins): Fix type.
  2672. 2002-10-29 Jason Thorpe <thorpej@wasabisystems.com>
  2673. * gthr-posix.h: Include <unistd.h> for feature tests.
  2674. (sched_get_priority_max, sched_get_priority_min)
  2675. (pthread_getschedparam, pthread_setschedparam): Only use
  2676. if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
  2677. (__gthread_objc_thread_set_priority): Don't treat all nonzero
  2678. returns from sched_get_priority_max and sched_get_priority_min
  2679. as an error.
  2680. 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
  2681. * config/h8300/h8300.h (TARGET_DEFAULT): Make it
  2682. MASK_QUICKCALL.
  2683. 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
  2684. * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
  2685. (h8300_tiny_constant_address_p): Likewise.
  2686. * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
  2687. h8300_eightbit_constant_address_p.
  2688. (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
  2689. * config/h8300/h8300-protos.h: Add the prototypes for the two
  2690. new functions.
  2691. 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
  2692. * reload1.c (update_eliminables): Unconditionally check if
  2693. frame_pointer_needed has changed.
  2694. Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
  2695. * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
  2696. before final pass.
  2697. 2002-10-29 Eric Botcazou <ebotcazou@libertysurf.fr>
  2698. PR optimization/8334
  2699. * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
  2700. check for zero operands explicitly.
  2701. 2002-10-29 Richard Sandiford <rsandifo@redhat.com>
  2702. * config/mips/mips.md (extv, extzv, insv): Set size of referenced
  2703. memory after adjusting to BLKmode.
  2704. 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
  2705. * config/h8300/h8300.h (MASK_*): New.
  2706. (TARGET_*): Use MASK_*.
  2707. 2002-10-28 Zack Weinberg <zack@codesourcery.com>
  2708. * config.gcc (*-*-vxworks, powerpc-wrs-vxworks*): New stanzas.
  2709. * config/t-vxworks, config/vxworks.h, config/rs6000/t-vxworks,
  2710. config/rs6000/vxworks.h: New files.
  2711. * config/rs6000/sysv4.h: Rip out -mvxworks and all related code.
  2712. * config.gcc (alpha*-*-vxworks*, arm-*-vxworks*,
  2713. i?86-wrs-vxworks*, i960-wrs-vxworks* [all],
  2714. m68k-wrs-vxworks*, mips-wrs-vxworks, powerpc-wrs-vxworks*,
  2715. powerpcle-wrs-vxworks*, sparc*-wrs-vxworks* [all],
  2716. sparc-*-vxsim*): Delete stanzas.
  2717. * gthr-vxworks.h: Rip out all substantive code and just
  2718. include gthr-single.h.
  2719. * config/alpha/vxworks.h, config/arm/vxarm.h,
  2720. config/i386/vxi386.h, config/i960/t-vxworks960,
  2721. config/i960/vx960-coff.h, config/i960/vx960.h,
  2722. config/m68k/t-vxworks68, config/m68k/vxm68k.h,
  2723. config/mips/vxworks.h, config/rs6000/vxppc.h,
  2724. config/sparc/t-vxsparc, config/sparc/t-vxsparc64,
  2725. config/sparc/vxsim.h, config/sparc/vxsparc.h,
  2726. config/sparc/vxsparc64.h: Delete files.
  2727. 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
  2728. * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
  2729. tm_defines if pthreads are enabled.
  2730. * config/netbsd.h (LIB_SPEC): Only support the -pthread option
  2731. if NETBSD_ENABLE_PTHREADS is defined.
  2732. 2002-10-28 Kazu Hirata <kazu@cs.umass.edu>
  2733. * ChangeLog.1: Fix typos.
  2734. * cse.c: Fix a comment typo.
  2735. * reload1.c: Likewise.
  2736. 2002-10-27 Hans-Peter Nilsson <hp@bitrange.com>
  2737. * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
  2738. * fixinc/tests/base/_G_config.h: New file.
  2739. 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
  2740. * combine.c: Fix comment formatting.
  2741. * loop.c: Likewise.
  2742. * real.c: Likewise.
  2743. * regclass.c: Likewise.
  2744. * regmove.c: Likewise.
  2745. * regrename.c: Likewise.
  2746. * reg-stack.c: Likewise.
  2747. * reload1.c: Likewise.
  2748. * reload.c: Likewise.
  2749. * reload.h: Likewise.
  2750. * unroll.c: Likewise.
  2751. 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
  2752. * reload1.c (reload): Fix a comment typo.
  2753. Sun Oct 27 10:15:24 CET 2002 Jan Hubicka <jh@suse.cz>
  2754. * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
  2755. 2002-10-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  2756. * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
  2757. * dwarf2out.c: Include hashtab.h.
  2758. (is_main_source): New static variable.
  2759. (attr_checksum, die_checksum): Modified to handle die references.
  2760. (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
  2761. unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
  2762. record_comdat_symbol_number): New static functions.
  2763. (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
  2764. mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
  2765. * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
  2766. declarations added.
  2767. 2002-10-26 Kazu Hirata <kazu@cs.umass.edu>
  2768. * config/h8300/h8300.c (initial_offset): Change to
  2769. h8300_initial_elimination_offset.
  2770. * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
  2771. h8300_initial_elimination_offset.
  2772. * config/h8300/h8300-protos.h: Update the prototype.
  2773. 2002-10-26 Hans-Peter Nilsson <hp@bitrange.com>
  2774. * config/mmix/mmix.h (LIBCALL_VALUE): Use
  2775. MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
  2776. (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
  2777. * config/mmix/mmix.c (mmix_function_value_regno_p): New.
  2778. * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
  2779. and RTX_CODE.
  2780. (mmix_function_value_regno_p): Declare.
  2781. * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
  2782. invalid for floating point mode result, with fix.
  2783. Fri Oct 25 00:04:21 2002 Alexandre Oliva <aoliva@redhat.com>
  2784. * Makefile.in (GCC_FOR_TARGET): Add -L$(objdir)/../ld.
  2785. (STAGE2_FLAGS_TO_PASS): Pass GCC_FOR_TARGET.
  2786. (stage1_build): Likewise.
  2787. 2002-10-25 Mike Stump <mrs@apple.com>
  2788. Fixes gcc.dg/warn-1.c.
  2789. * c-typeck.c (warn_for_assignment): Don't print argument number,
  2790. if zero.
  2791. Sat Oct 26 01:44:46 CEST 2002 Jan Hubicka <jh@suse.cz>
  2792. * toplev.c (dump_file_index): Add DFI_ce3.
  2793. (dump_file_info): Likewise.
  2794. (rest_of_compilation): Run first ifcvt pass before tracer.
  2795. 2002-10-25 Steve Ellcey <sje@cup.hp.com>
  2796. * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
  2797. 2002-10-25 Richard Henderson <rth@redhat.com>
  2798. * real.c (real_to_decimal): If the >1 tens reduction loop results
  2799. in a negative exponent, fall into the <1 pten computation.
  2800. 2002-10-25 Zack Weinberg <zack@codesourcery.com>
  2801. PR middle-end/6994
  2802. * c-objc-common.c (inline_forbidden_p): Can not inline
  2803. functions containing structures or unions containing VLAs.
  2804. * tree-inline.c (walk_tree): For all class 't' nodes, walk
  2805. TYPE_SIZE and TYPE_SIZE_UNIT.
  2806. (copy_tree_r): Copy types if they are variably modified.
  2807. 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
  2808. * config/s390/s390.md: Remove old-style peepholes.
  2809. 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
  2810. * config/s390/s390.c (s390_decompose_address): Do not range check the
  2811. displacement if base or index is the argument pointer register.
  2812. 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
  2813. PR other/3337
  2814. PR bootstrap/6763
  2815. PR bootstrap/8122
  2816. * fixinc/inclhack.def (libc1_G_va_list): New fix.
  2817. * fixinc/fixincl.x: Regenerate.
  2818. * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
  2819. ifndef IN_LIBGCC2. Wrap it together with signal.h and
  2820. sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
  2821. * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
  2822. * config.in, configure: Regenerate.
  2823. 2002-10-24 Igor Shevlyakov <igor@microunity.com>
  2824. * varasm.c (struct rtx_const): Array size 16 for V16QImode.
  2825. 2002-10-24 Richard Henderson <rth@redhat.com>
  2826. * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
  2827. 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
  2828. * config/h8300/h8300.c (initial_offset): Simplify by using
  2829. round_frame_size.
  2830. 2002-10-24 Marek Michalkiewicz <marekm@amelek.gda.pl>
  2831. * doc/install.texi (avr): Update required binutils version.
  2832. 2002-10-24 Theodore A. Roth <troth@openavr.org>
  2833. * doc/install.texi: Point avr users at more up-to-date information.
  2834. 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  2835. * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
  2836. to pull operands out of the literal pool where possible.
  2837. 2002-10-24 Denis Chertykov <denisc@overta.ru>
  2838. * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
  2839. 2002-10-24 Steve Ellcey <sje@cup.hp.com>
  2840. * expr.c (convert_move): If unsignedp is less then zero there
  2841. is no equivalent code.
  2842. 2002-10-24 Zack Weinberg <zack@codesourcery.com>
  2843. * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
  2844. 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
  2845. * config/s390/s390.h: Rework comments; re-sort target macro definitions
  2846. according to the sequence they are defined in the manual.
  2847. (POINTER_BOUNDARY): Remove.
  2848. 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
  2849. * config/h8300/h8300.c (round_frame_size): Replace 8 with
  2850. BITS_PER_UNIT.
  2851. 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
  2852. * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
  2853. 64-bit safe.
  2854. (TINY_CONSTANT_ADDRESS_P): Likewise.
  2855. 2002-10-24 Richard Henderson <rth@redhat.com>
  2856. * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
  2857. (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
  2858. vcall offset.
  2859. 2002-10-24 Richard Henderson <rth@redhat.com>
  2860. PR opt/7944
  2861. * reload.c (find_reloads_toplev): Mode of X is not important
  2862. when simplifying subregs of constants.
  2863. 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
  2864. * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
  2865. MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
  2866. * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
  2867. (override_options): Base default setting of MASK_SOFT_FLOAT on -march
  2868. if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
  2869. 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
  2870. * optabs.c (expand_binop): Don't reuse the shift target in the
  2871. middle of shift sequences.
  2872. Wed Oct 23 22:48:44 CEST 2002 Jan Hubicka <jh@suse.cz>
  2873. * i386.md (abs splitters): Do not produce nested subregs.
  2874. Wed Oct 23 12:42:32 CEST 2002 Jan Hubicka <jh@suse.cz>
  2875. * i386.md (movti_rex64): Fix constraints.
  2876. Wed Oct 23 12:01:21 CEST 2002 Jan Hubicka <jh@suse.cz>
  2877. * i386.md (abssf,absdf): Use vector operands for SSE
  2878. (abssf2_ifs, absdf2_ifs, absdf2_ifs_rex64 and splitters): Update for
  2879. vector operand.
  2880. 2002-10-23 Ziemowit Laski <zlaski@apple.com>
  2881. * objc/objc-act.c (get_static_reference): Remove unneeded
  2882. TYPE_BINFO initialization.
  2883. (get_object-reference): Likewise.
  2884. (build_constructor): Tighten precondition check.
  2885. (finish_message_expr): Likewise.
  2886. 2002-10-23 Jakub Jelinek <jakub@redhat.com>
  2887. * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
  2888. after CONST test.
  2889. 2002-10-23 Steve Ellcey <sje@cup.hp.com>
  2890. * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
  2891. in HFAs.
  2892. 2002-10-23 Richard Henderson <rth@redhat.com>
  2893. * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
  2894. (alpha_output_mi_thunk_osf): Handle vcall_offset.
  2895. 2002-10-23 Zack Weinberg <zack@codesourcery.com>
  2896. * langhooks.h (struct lang_hooks_for_tree_inlining): Add
  2897. var_mod_type_p.
  2898. * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
  2899. hook_tree_bool_false.
  2900. * tree.c (variably_modified_type_p): Moved here from
  2901. cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
  2902. language-specific cases. Due to this, must weaken some 'if
  2903. and only if' checks to merely 'if'.
  2904. * tree.h: Prototype variably_modified_type_p.
  2905. * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
  2906. 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
  2907. * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
  2908. * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
  2909. * config/s390/s390-protos.h (fp_operand): Remove.
  2910. * config/s390/s390.c (fp_operand): Remove.
  2911. * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
  2912. ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
  2913. ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
  2914. (movdi_31, movdf_31 splitters): Likewise.
  2915. * config/s390/s390.h (IEEE_FLOAT): Remove.
  2916. (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
  2917. (INT_REGNO_P): Rename to ...
  2918. (GENERAL_REGNO_P): ... this.
  2919. (FLOAT_REGNO_P): Rename to ...
  2920. (FP_REGNO_P): ... this.
  2921. (ADDR_REGNO_P): New macro.
  2922. (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
  2923. (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
  2924. (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
  2925. (HARD_REGNO_NREGS): Adapt to macro renaming.
  2926. (HARD_REGNO_MODE_OK): Likewise.
  2927. 2002-10-23 David Edelsohn <edelsohn@gnu.org>
  2928. Geoff Keating <geoffk@apple.com>
  2929. * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
  2930. (rs6000_memory_move_cost): New function.
  2931. * config/rs6000/rs6000-protos.h: Declare them.
  2932. * config/rs6000/rs6000.h: Use them.
  2933. 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
  2934. * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
  2935. inlining it into other libgcc2 routines.
  2936. (__udivmoddi4): Likewise.
  2937. 2002-10-22 Nathanael Nerode <neroden@gcc.gnu.org>
  2938. * doc/sourcebuild.texi (Test Suites): Improve.
  2939. 2002-10-22 Stan Shebs <shebs@apple.com>
  2940. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
  2941. case for Darwin.
  2942. 2002-10-22 Jim Wilson <wilson@redhat.com>
  2943. * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
  2944. Wed Oct 23 01:52:36 CEST 2002 Jan Hubicka <jh@suse.cz>
  2945. PR other/8289
  2946. * xmmintrin.h: Add const to the argument of loads.
  2947. * i386.md (pushv2di): New pattern.
  2948. PR target/6890
  2949. * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
  2950. 2002-10-22 Richard Henderson <rth@redhat.com>
  2951. * target.h (gcc_target.asm_out): Merge output_mi_thunk and
  2952. output_mi_vcall_thunk into a single hook. Add can_output_mi_thunk.
  2953. * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
  2954. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
  2955. (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
  2956. (TARGET_ASM_OUT): Update.
  2957. * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
  2958. (hook_bool_tree_hwi_hwi_tree_true): New.
  2959. (default_can_output_mi_thunk_no_vcall): New.
  2960. * hooks.h: Declare them.
  2961. * system.h (ASM_OUTPUT_MI_THUNK): Poison.
  2962. * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
  2963. (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
  2964. * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
  2965. config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
  2966. config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
  2967. config/stormy16/stormy16.c: Similarly.
  2968. * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
  2969. Handle 64-bit properly. Streamline.
  2970. (x86_output_mi_vcall_thunk): Remove.
  2971. (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
  2972. (x86_can_output_mi_thunk): New.
  2973. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
  2974. (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
  2975. (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
  2976. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
  2977. output_mi_thunk; make static; always use function_section.
  2978. (TARGET_ASM_OUTPUT_MI_THUNK): New.
  2979. (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
  2980. (rs6000_ra_ever_killed): Test no_new_pseudos not
  2981. targetm.asm_out.output_mi_thunk in conjunction with thunks.
  2982. * config/rs6000/rs6000-protos.h: Update.
  2983. * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
  2984. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
  2985. xcoffout_declare_function when using rs6000_output_mi_thunk.
  2986. * config/s390/s390.c (s390_output_mi_thunk): Rename from
  2987. s390_output_mi_vcall_thunk.
  2988. (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
  2989. (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
  2990. * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
  2991. (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
  2992. * config/vax/vax-protos.h: Update.
  2993. * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
  2994. Wed Oct 23 00:33:11 CEST 2002 Jan Hubicka <jh@suse,cz>
  2995. * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
  2996. * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
  2997. * i386.md (movti_internal): Use 'C'
  2998. * xmmintrin.h (_mm_cmplt_epi*): New.
  2999. 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
  3000. * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
  3001. ("*movdf_64"): Likewise.
  3002. ("*lshrdi3_64"): Likewise.
  3003. ("blockage"): Add length attribute.
  3004. ("lit"): Likewise.
  3005. Tue Oct 22 23:51:34 CEST 2002 Jan Hubicka <jh@suse.cz>
  3006. * i386.md: FIx typo.
  3007. (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
  3008. (sse2_umulv2siv2di3): Fix predicate.
  3009. (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
  3010. lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
  3011. * xmmintrin.h (_mm_mul_epu16): Rename to...
  3012. (_mm_mul_epu32): This one.
  3013. (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
  3014. (contains_128bit_aligned_vector_p): Undo accidental checkin.
  3015. 2002-10-22 Eric Christopher <echristo@redhat.com>
  3016. * config/sparc/sparc.h: Add #error.
  3017. 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
  3018. * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
  3019. [s390x-*-linux*]: Likewise.
  3020. * config/s390/t-linux: Remove.
  3021. * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
  3022. Tue Oct 22 19:07:03 CEST 2002 Jan Hubicka <jh@suse.cz>
  3023. * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
  3024. (ix86_expand_builtin): Fix MASKMOVDQU expasion.
  3025. * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
  3026. * i386.md (mmx_punpck?dq): Simplify.
  3027. (sse2_pubpcklqdq): Fix.
  3028. (sse2_pubpckhqdq): New.
  3029. * xmmintrin.h (_mm_unpackhi_epi32): New.
  3030. * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
  3031. (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
  3032. 2002-10-22 Nathan Sidwell <nathan@codesourcery.com>
  3033. PR c++/7209
  3034. * fold_const.c (fold_binary_op_with_conditional_arg): Always
  3035. build compound_expr if we used save_expr.
  3036. 2002-10-22 Alan Modra <amodra@bigpond.net.au>
  3037. * output.h (SECTION_NOTYPE): Define.
  3038. * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
  3039. init array sections.
  3040. (default_elf_asm_named_section): Mind SECTION_NOTYPE.
  3041. * config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also
  3042. merge TLS support.
  3043. 2002-10-21 Richard Henderson <rth@redhat.com>
  3044. * config/i386/i386.c (ix86_function_ok_for_sibcall): Look at
  3045. the function type, not the return type.
  3046. 2002-10-21 Richard Henderson <rth@redhat.com>
  3047. * real.c (sticky_rshift_significand): Return inexact, don't
  3048. or it in immediately.
  3049. (sub_significands): Accept incoming carry.
  3050. (div_significands, rtd_divmod): Update for sub_significands change.
  3051. (round_for_format): Update for sticky_rshift_significand change.
  3052. (do_add): Don't involve the inexact bit in addition, do give the
  3053. inexact bit as the subtraction carry-in.
  3054. (encode_internal, decode_internal, real_internal_format): New.
  3055. * real.h (real_internal_format): Declare.
  3056. 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
  3057. * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
  3058. don't define sdiv_qrnnd.
  3059. 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
  3060. * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
  3061. using IN_RANGE.
  3062. (TINY_CONSTANT_ADDRESS_P): Likewise.
  3063. Tue Oct 22 00:04:20 CEST 2002 Jan Hubicka <jh@suse.cz>
  3064. * i386.c (builtin_description): Add punpcklqdq and movdq2q
  3065. (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
  3066. v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
  3067. void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
  3068. __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
  3069. __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
  3070. __builtin_ia32_setzero128.
  3071. (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
  3072. IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
  3073. IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
  3074. * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
  3075. IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
  3076. IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
  3077. IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
  3078. * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
  3079. sse2_movq): New patterns.
  3080. (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
  3081. * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
  3082. _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
  3083. _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
  3084. _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
  3085. _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
  3086. _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
  3087. (_mm_insert_epi16): Fix.
  3088. 2002-10-21 Dale Johannesen <dalej@apple.com>
  3089. * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
  3090. unsafe math reversals correctly for RTL generation.
  3091. (output_cbranch): Replace rs6000_reverse_condition call
  3092. by its former definition.
  3093. 2002-10-21 Jakub Jelinek <jakub@redhat.com>
  3094. * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
  3095. argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
  3096. from constant pool or LABEL_REFs as sign extended if allow_rip.
  3097. Change all +-1GB limits to +-16MB.
  3098. (x86_64_general_operand, x86_64_szext_general_operand,
  3099. x86_64_nonmemory_operand, x86_64_movabs_operand,
  3100. x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
  3101. legitimate_address_p, ix86_expand_int_movcc): Update callers.
  3102. (local_symbolic_operand): Don't allow offsets bigger than +-16MB
  3103. in CM_SMALL_PIC model.
  3104. (legitimate_pic_address_disp_p): Don't check offsets before
  3105. calling local_symbolic_operand.
  3106. (legitimize_pic_address): Force offsets bigger than +-16MB into
  3107. register.
  3108. * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
  3109. * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
  3110. prototype.
  3111. * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
  3112. Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64.
  3113. * configure: Rebuilt.
  3114. * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
  3115. SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF,
  3116. UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
  3117. (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
  3118. -fpic.
  3119. (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
  3120. non-pic code if TARGET_64BIT.
  3121. (legitimize_address): Generate 64-bit TLS sequences.
  3122. (output_pic_addr_const): Support x86-64 TLS operators.
  3123. (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
  3124. (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
  3125. Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
  3126. (output_addr_const_extra): Support x86-64 TLS operators.
  3127. (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
  3128. (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
  3129. unconditionally.
  3130. * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
  3131. (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
  3132. (*tls_global_dynamic_sun): Renamed to...
  3133. (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
  3134. (tls_global_dynamic): Renamed to...
  3135. (tls_global_dynamic_32): ... this.
  3136. (tls_global_dynamic_64, *tls_global_dynamic_64): New.
  3137. (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
  3138. (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
  3139. (*tls_local_dynamic_base_dynamic_sun): Renamed to...
  3140. (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
  3141. (tls_local_dynamic_base_dynamic): Renamed to...
  3142. (tls_local_dynamic_base_dynamic_32): ... this.
  3143. (tls_local_dynamic_base_dynamic_64,
  3144. *tls_local_dynamic_base_dynamic_64): New.
  3145. (*tls_local_dynamic_once): Renamed to...
  3146. (*tls_local_dynamic_32_once): ... this.
  3147. 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
  3148. * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
  3149. __divdi3, __umoddi3, or __moddi3.
  3150. 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
  3151. * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
  3152. instead of just opt_index as switch expression.
  3153. * calls.c (store_one_arg): Change type of 'excess_align'
  3154. to unsigned int.
  3155. * profile.c (output_gcov_string): Change type of 'temp'
  3156. to size_t.
  3157. 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
  3158. * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
  3159. (__fixunssfdi, __fixsfdi): Likewise.
  3160. * config/s390/s390.c (s390_single_hi): Initialize 'value'.
  3161. (s390_single_qi): Likewise.
  3162. (s390_emit_epilogue): Initialize 'offset'. Remove signed vs.
  3163. unsigned comparison warning.
  3164. (s390_return_addr_rtx): New function.
  3165. * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
  3166. * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
  3167. (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
  3168. 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
  3169. * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
  3170. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
  3171. (s390_output_mi_thunk): Remove.
  3172. (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
  3173. 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
  3174. * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
  3175. 2002-10-20 Zack Weinberg <zack@codesourcery.com>
  3176. * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix an
  3177. inverted test in the conditional determining the possibility
  3178. of sibcalls in PIC mode.
  3179. 2002-10-20 Richard Henderson <rth@redhat.com>
  3180. * target.h (struct gcc_target): Line wrap.
  3181. * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
  3182. (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
  3183. * config/alpha/alpha.h: ... not here.
  3184. * config/alpha/alpha-protos.h: Update.
  3185. * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
  3186. config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
  3187. config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
  3188. config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
  3189. config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
  3190. config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
  3191. config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
  3192. config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
  3193. config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
  3194. config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
  3195. config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
  3196. config/sparc/openbsd.h, config/sparc/sparc-protos.h,
  3197. config/sparc/sparc.c, config/sparc/sparc.h,
  3198. config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
  3199. config/stormy16/stormy16.h: Similarly.
  3200. * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
  3201. selection logic from call patterns.
  3202. 2002-10-20 Mark Mitchell <mark@codesourcery.com>
  3203. * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
  3204. 2002-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  3205. PR other/8202
  3206. * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
  3207. expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
  3208. * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
  3209. * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
  3210. 2002-10-20 Roger Sayle <roger@eyesopen.com>
  3211. PR c/761
  3212. * toplev.c (flag_unsafe_profile_arcs): Remove.
  3213. (flag_bounded_pointers): Remove.
  3214. (flag_bounds_check): Correct comments.
  3215. (lang_independent_options): Remove -funsafe-profile-arcs and
  3216. -fbounded-pointers. Correct -fbounds-check comments.
  3217. * flags.h: Correct flag_schedule_interblock comments.
  3218. (flag_bounded_pointers): Remove prototype.
  3219. (flag_bounds_check): Correct comments.
  3220. * c-opts.c (c_common_init_options): No need to mark
  3221. flag_bounds_check as unspecified.
  3222. (c_common_post_options): And no need to set it from
  3223. flag_bounded_pointers if its still unspecified.
  3224. * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
  3225. Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
  3226. -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
  3227. -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
  3228. Sat Oct 19 22:02:28 2002 Alexandre Oliva <aoliva@redhat.com>
  3229. Angela Marie Thomas <angela@releasedominatrix.com>
  3230. Brendan Kehoe <brendan@zen.org>
  3231. Nick Clifton <nickc@redhat.com>
  3232. Andrew Haley <aph@redhat.com>
  3233. * configure.in (--with-sysroot): New. Don't inhibit libc if
  3234. given. AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
  3235. and CROSS_SYSTEM_HEADER_DIR.
  3236. * configure: Rebuilt.
  3237. * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
  3238. (TARGET_SYSTEM_ROOT): New.
  3239. (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
  3240. CROSS_SYSTEM_HEADER_DIR.
  3241. (install-gcc-tooldir): New target.
  3242. (stmp-fixinc): Do not create $(libsubdir), but rather bail out
  3243. if SYSTEM_HEADER_DIR does not exist and it's not the default
  3244. sys-include directory.
  3245. (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
  3246. (install-mkheaders): Likewise.
  3247. * gcc.c (target_system_root): New variable.
  3248. (add_sysrooted_prefix): New function.
  3249. (process_command): Recompute run-time target_system_root from
  3250. gcc_exec_prefix, keeping it unchanged if the relocated sysroot
  3251. does not exist.
  3252. (do_spec_1): Process 'R' spec.
  3253. (main): Add md_exec_prefix to exec_prefixes regardless of
  3254. startfile_prefix_spec. Use add_sysrooted_prefix for
  3255. startfile_prefixes, and don't skip the default ones when cross
  3256. compiling with sysroot enabled. Removed unused case of
  3257. non-absolute standard_startfile_prefix.
  3258. * config/interix.h: Remove the only potential, yet disabled,
  3259. occurrence of non-absolute (empty) standard_startfile_prefix.
  3260. * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
  3261. linking.
  3262. * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.
  3263. * doc/install.texi (--with-sysroot): Document.
  3264. (--with-headers, --with-libs): Deprecate.
  3265. 2002-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3266. Mark Mitchell <mark@codesourcery.com>
  3267. * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
  3268. match target.h.
  3269. * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
  3270. * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
  3271. * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
  3272. * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
  3273. x86_output_mi_thunk): Likewise.
  3274. * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
  3275. * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
  3276. * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
  3277. * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
  3278. * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
  3279. * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
  3280. * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
  3281. Likewise.
  3282. * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
  3283. * target.h (gcc_target): Update output_mi_thunk and
  3284. output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
  3285. vcall_index.
  3286. * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
  3287. TARGET_ASM_OUTPUT_MI_THUNK in comments.
  3288. * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
  3289. (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
  3290. * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
  3291. * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
  3292. signature.
  3293. * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
  3294. * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
  3295. TARGET_ASM_OUTPUT_MI_THUNK in comments.
  3296. * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
  3297. (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
  3298. * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
  3299. TARGET_ASM_OUTPUT_MI_THUNK in comments.
  3300. * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
  3301. ASM_OUTPUT_MI_THUNK and replace with check of targetm.
  3302. * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
  3303. (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
  3304. 2002-10-19 Brad Lucier <lucier@math.purdue.edu>
  3305. * real.c (do_add): Fix 0+0 sign corner case.
  3306. (do_divide): Fix Inf/0 corner case.
  3307. Sun Oct 20 00:31:31 CEST 2002 Jan Hubicka <jh@suse.cz>
  3308. * i386.c (classify_argument): Pass MMX arguments in memory
  3309. (ix86_expand_builtin): Expand proper address mode for cflush.
  3310. * i386.md (movdqa): Fix typo.
  3311. (sse2_cflush): Accept DImode addresses.
  3312. * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
  3313. (_mm_max_sd): Fix pasto.
  3314. (_mm_storeh_pd, _mm_storel_pd): Fix.
  3315. * i386.c (bdesc_comi): Fix to match specification.
  3316. (ix86_expand_sse_comi): Emit the comparison properly.
  3317. * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
  3318. Do not use comparison operator.
  3319. (vnmaskcmp): Fix template.
  3320. * xmmintrin.h (_mm_cvtps_pi16): Fix.
  3321. 2002-10-19 Sebastian Pop <s.pop@laposte.net>
  3322. * dependence.c : Removed.
  3323. * Makefile.in : Remove dependence.o.
  3324. Sat Oct 19 10:46:52 CEST 2002 Jan Hubicka <jh@suse.cz>
  3325. * mmintrin.h (__m64): typedef it to v2si.
  3326. (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
  3327. _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
  3328. _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
  3329. _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
  3330. _mm_or_si64, _mm_xor_si64): Add neccesary casts.
  3331. * xmmintrin.h (_mm_setzero_si64): Likewise.
  3332. * i386.h (ALIGN_MODE_128): Update comment; add missing modes
  3333. (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
  3334. PR target/7693
  3335. Patch by Shawn Wagner
  3336. * mmintrin.h: Replace pi64 by si64.
  3337. 2002-10-18 David Edelsohn <edelsohn@gnu.org>
  3338. * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
  3339. Use length of 4 not *.
  3340. (movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR.
  3341. (movdf_softfloat64): Likewise.
  3342. (movdi_internal32): Use length of 4 not *.
  3343. (movti_power): Same.
  3344. (ctrsi, ctrdi): Same.
  3345. 2002-10-18 Zack Weinberg <zack@codesourcery.com>
  3346. * c-decl.c (start_decl): Point users of the old initialized-
  3347. typedef extension at __typeof__.
  3348. 2002-10-18 Richard Henderson <rth@redhat.com>
  3349. * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
  3350. (real_to_decimal): Re-implement using the logic from the
  3351. gcc 3.2 etoasc. Comment heavily.
  3352. (div_significands): Simplify loop startup and comparison logic.
  3353. 2002-10-18 Mark Mitchell <mark@codesourcery.com>
  3354. * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
  3355. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
  3356. (TARGET_ASM_OUT): Add them.
  3357. * target.h (asm_out): Add output_mi_thunk and
  3358. output_mi_vcall_thunk.
  3359. * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3360. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3361. * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
  3362. * config/arm/arm.c (arm_output_mi_thunk): Define.
  3363. * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3364. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3365. * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3366. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3367. * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3368. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3369. * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
  3370. prototype.
  3371. (x86_output_mi_vcall_thunk): Declare.
  3372. * config/i386/i386.c (override_options): Clear
  3373. output_mi_vcall_thunk in 64-bit mode.
  3374. (ix86_fntype_regparm): New function.
  3375. (ix86_return_pops_args): Use it.
  3376. (ia32_this_parameter): New function.
  3377. (x86_output_mi_vcall_thunk): New function.
  3378. (x86_output_mi_thunk): Use it
  3379. * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
  3380. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
  3381. * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
  3382. * config/i960/i960.c (i960_output_mi_thunk): New function.
  3383. * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
  3384. * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
  3385. * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
  3386. * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3387. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3388. * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
  3389. * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3390. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3391. * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3392. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3393. * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3394. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3395. * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3396. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3397. * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3398. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3399. * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
  3400. * config/s390/s390.c (s390_output_mi_thunk): Define.
  3401. * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3402. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3403. * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3404. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3405. * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3406. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3407. * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
  3408. * config/vax/vax.c (vax_output_mi_thunk): Define.
  3409. * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
  3410. (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
  3411. * doc/tm.texi: Adjust documentation.
  3412. 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
  3413. * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
  3414. __enable_execute_stack function.
  3415. * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
  3416. as NETBSD_ENABLE_EXECUTE_STACK.
  3417. * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
  3418. * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
  3419. * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
  3420. * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
  3421. * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
  3422. 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
  3423. * config/i386/i386.c (x86_initialize_trampoline): Emit a call
  3424. to __enable_execute_stack with the address of the trampoline
  3425. if TRANSFER_FROM_TRAMPOLINE is defined.
  3426. * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
  3427. constant if building libgcc2.
  3428. Thu Oct 17 17:40:05 CEST 2002 Jan Hubicka <jh@suse.cz>
  3429. * i386.c (pentium4_cost): Fix according to Intel recommendations.
  3430. (ix86_memory_move_cost): Fix for 64bit compilation.
  3431. 2002-10-17 Roger Sayle <roger@eyesopen.com>
  3432. * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
  3433. 2002-10-17 Geoffrey Keating <geoffk@apple.com>
  3434. * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
  3435. in CTR/LR/MQ.
  3436. * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
  3437. to/from CTR/LR/MQ.
  3438. (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
  3439. (movsf_softfloat): Likewise.
  3440. 2002-10-17 Janis Johnson <janis187@us.ibm.com>
  3441. * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
  3442. 2002-10-17 Jason Thorpe <thorpej@wasabisystems.com>
  3443. * config/alpha/alpha.c (alpha_initialize_trampoline): Use
  3444. tramp, not addr, to pass the trampoline address to
  3445. __enable_execute_stack.
  3446. Thu Oct 17 18:40:47 CEST 2002 Jan Hubicka <jh@suse.cz>
  3447. * mmintrin.h: Guard by __MMX__
  3448. * xmmintrin.h: Guard by __SSE__
  3449. PR other/8062
  3450. * xmmintrin.h (_MM_SHUFFLE2): New macro.
  3451. (_mm_load*_?d): New functions.
  3452. (_mm_set*_?d): New functions.
  3453. (_mm_store*_?d): New functions.
  3454. Wed Oct 16 15:01:29 CEST 2002 Jan Hubicka <jh@suse.cz>
  3455. Really commit patch announced at Oct 14
  3456. PR c/7344
  3457. * predict.c (can_predict_insn_p): New function.
  3458. (estimate_probability): Avoid unnecesary work.
  3459. (process_note_prediction): Likewise.
  3460. * toplev.c (rest_of_compilation): Account early branch prediction pass
  3461. as TV_BRANCH_PROB.
  3462. PR other/8048
  3463. Found by Ian Ollmann
  3464. * xmmintrin.h (_mm_shuffle_pd): Fix typo.
  3465. (_mm_load?_pd): Likewise.
  3466. (_mm_store?_pd): Likewise.
  3467. PR target/7386
  3468. * i386.c (builtin_description):Drop cmpg[te]s[sd].
  3469. * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
  3470. swapped alternative.
  3471. PR opt/7630
  3472. * reload1.c (reload_inner_reg_of_subreg): New argument output;
  3473. (push_reload): Update call.
  3474. 2002-10-17 Richard Sandiford <rsandifo@redhat.com>
  3475. * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
  3476. if using mips/elf.h or mips/elf64.h.
  3477. * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
  3478. * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
  3479. 2002-10-16 Aldy Hernandez <aldyh@redhat.com>
  3480. * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
  3481. SI.
  3482. 2002-10-16 Ulrich Weigand <uweigand@de.ibm.com>
  3483. * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
  3484. (LPREFIX): Likewise.
  3485. (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
  3486. ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
  3487. ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
  3488. TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
  3489. GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
  3490. * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
  3491. ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
  3492. ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
  3493. BSS_SECTION_ASM_OP): Move from linux.h.
  3494. (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
  3495. Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
  3496. * config/s390/s390.c (s390_function_profiler): Use
  3497. ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
  3498. 2002-10-15 Eric Christopher <echristo@redhat.com>
  3499. * stor-layout.c (layout_type): Call GET_MODE_BITSIZE once.
  3500. * java/parse.y (obtain_incomplete_type): Make pointer
  3501. ptr_mode.
  3502. 2002-10-15 Richard Henderson <rth@redhat.com>
  3503. * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
  3504. as arguments. Bound DIGITS by the available buffer size.
  3505. (real_to_hexadecimal): Likewise.
  3506. * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
  3507. (REAL_VALUE_TO_DECIMAL): Remove.
  3508. * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
  3509. sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
  3510. config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
  3511. config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
  3512. config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
  3513. config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
  3514. config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
  3515. use real_to_decimal directly, and with the proper arguments.
  3516. * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
  3517. 2002-10-15 Jim Wilson <wilson@redhat.com>
  3518. * reload1.c (merge_assigned_reloads): After converting overlapping
  3519. reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
  3520. * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
  3521. Tue Oct 15 22:08:35 CEST 2002 Jan Hubicka <jh@suse.cz>
  3522. * expr.c (do_tablejump): Fix typo in my previous commit.
  3523. 2002-10-15 Richard Sandiford <rsandifo@redhat.com>
  3524. * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
  3525. 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
  3526. * config/s390/s390.c (s390_split_branches): Add return
  3527. value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104.
  3528. (find_base_register_in_addr): New function.
  3529. (find_base_register_ref): New function.
  3530. (replace_base_register_ref): New function.
  3531. (struct constant_pool): Add members pool_insn, insns, and anchor.
  3532. Remove member last_insn.
  3533. (s390_start_pool): Initialize them.
  3534. (s390_end_pool): Emit pool placeholder insn.
  3535. (s390_add_pool_insn): New function.
  3536. (s390_find_pool): Use insns bitmap instead of addresses.
  3537. (s390_dump_pool): Replace placeholder insn. Emit anchor.
  3538. Replace unspec 104 by local-pool-relative references.
  3539. (s390_output_constant_pool): Output anchor label if required.
  3540. (s390_output_symbolic_const): Handle unspec 104 and 105.
  3541. (s390_add_pool): Remove, replace by ...
  3542. (s390_add_constant, s390_find_constant): ... these new functions.
  3543. (s390_add_anchor): New function.
  3544. (s390_chunkify_pool): Delete, replace by ...
  3545. (s390_chunkify_start, s390_chunkify_finish,
  3546. s390_chunkify_cancel): ... these new functions.
  3547. (s390_optimize_prolog): Add parameter TEMP_REGNO.
  3548. Recompute register live data for special registers.
  3549. (s390_fixup_clobbered_return_reg): New function.
  3550. (s390_machine_dependent_reorg): Rewrite to use new
  3551. s390_chunkify_... routines.
  3552. config/s390/s390.md ("reload_base"): Rename to ...
  3553. ("reload_base_31"): ... this.
  3554. ("reload_base_64"): New insn.
  3555. ("reload_base2"): Remove.
  3556. ("reload_anchor"): New insn.
  3557. ("pool"): New insn.
  3558. s390.c (s390_pool_overflow): Remove.
  3559. s390.h (s390_pool_overflow): Likewise.
  3560. s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
  3561. Tue Oct 15 16:51:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
  3562. * sh.md (movv8qi_i+2): Don't split if source is -1.
  3563. 2002-10-15 Janis Johnson <janis187@us.ibm.com>
  3564. * doc/install.texi: Formatting changes for conformance to HTML 4.01.
  3565. 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
  3566. PR opt/7409
  3567. * loop.c (loop_regs_scan): Mark registers used for function
  3568. argument passing as MAY_NOT_OPTIMIZE.
  3569. Mon Oct 14 19:22:19 CEST 2002 Jan Hubicka <jh@suse.cz>
  3570. * gcov-io.h (gcov_info): Fix type.
  3571. * profile.c (create_profiler): Fix type mismatch.
  3572. Mon Oct 14 20:33:12 CEST 2002 Jan Hubicka <jh@suse.cz>
  3573. * i386.md (movv2di_internal): New pattern.
  3574. (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
  3575. (movv2di): New expander.
  3576. * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
  3577. * i386.c (ix86_expand_timode_binop_builtin): Delete.
  3578. (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
  3579. (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
  3580. (ix86_expand_builtin): Likewise.
  3581. * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
  3582. sse_andti3,
  3583. sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
  3584. sse_andnti3,
  3585. sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
  3586. sse_orti3,
  3587. sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
  3588. sse_xorti3): Kill.
  3589. (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
  3590. sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
  3591. (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
  3592. *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
  3593. (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
  3594. *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
  3595. * xmmintrin.h (__m128i): Define as __v2di.
  3596. PR c++/6419
  3597. (expand_expr): Use DECL_RTL_SET_P.
  3598. 2002-10-14 Roger Sayle <roger@eyesopen.com>
  3599. * combine.c (simplify_set): Treat MODE_CC registers like cc0.
  3600. 2002-10-14 Roger Sayle <roger@eyesopen.com>
  3601. Zack Weinberg <zack@codesourcery.com>
  3602. * config/i386/i386.c (k6_cost): Correct typo.
  3603. 2002-10-14 Mark Mitchell <mark@codesourcery.com>
  3604. PR optimization/6631
  3605. * alias.c (objects_must_conflict_p): Check honor_readonly when
  3606. examining TYPE_READONLY.
  3607. * function.c (assign_stack_temp_for_type): Likewise.
  3608. 2002-10-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  3609. * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
  3610. Swap zero extension arguments.
  3611. (umaxhi3): Fix instruction class.
  3612. PR target/7211
  3613. (prefetch): Fix prefetch instructions.
  3614. PR target/7238
  3615. (pkwb): Fix output constraint.
  3616. 2002-10-14 Alexandre Oliva <aoliva@redhat.com>
  3617. * config/mips/mips.c (print_operand): Increase buffer size for
  3618. real numbers.
  3619. 2002-10-14 Richard Henderson <rth@redhat.com>
  3620. PR opt/8165
  3621. * gcse.c (adjust_libcall_notes): Revert last change.
  3622. * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
  3623. 2002-10-14 Andrew Haley <aph@redhat.com>
  3624. * tree-inline.c (remap_block): All local class initialization
  3625. flags go in the outermost scope.
  3626. (expand_call_inline): Call java_inlining_map_static_initializers.
  3627. (expand_call_inline): Call java_inlining_merge_static_initializers.
  3628. * java/lang.c (merge_init_test_initialization): New.
  3629. (java_inlining_merge_static_initializers): New.
  3630. (inline_init_test_initialization): New.
  3631. (java_inlining_map_static_initializers): New.
  3632. * tree-inline.c (expand_call_inline): Convert retvar to expected
  3633. type.
  3634. 2002-10-14 Graham Stott <graham.stott@btinternet.com>
  3635. * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
  3636. 2002-10-14 Aldy Hernandez <aldyh@redhat.com>
  3637. * stmt.c: Fix typo in comment.
  3638. Mon Oct 14 11:35:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
  3639. * c-common.c (c_common_type_for_mode): Add V2HImode case.
  3640. * tree.c (build_common_tree_nodes_2): Initialize
  3641. unsigned_V2HI_type_node and V2HI_type_node.
  3642. * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
  3643. (unsigned_V2HI_type_node, V2HI_type_node): Define.
  3644. 2002-10-14 Jakub Jelinek <jakub@redhat.com>
  3645. * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
  3646. Handle TARGET_64BIT.
  3647. 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
  3648. * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
  3649. * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
  3650. (MULTILIB_DIRNAMES): Remove long32.
  3651. (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
  3652. (MULTILIB_REDUNDANT_DIRS): Remove.
  3653. 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
  3654. * doc/tm.texi (DRIVER_SELF_SPECS): Document.
  3655. * gcc.c (driver_self_specs): New variable.
  3656. (do_self_spec): New function.
  3657. (main): Use it to process driver_self_specs.
  3658. 2002-10-13 Richard Henderson <rth@redhat.com>
  3659. * config/i386/i386.c (ix86_function_ok_for_sibcall): Reject
  3660. indirect sibcalls when regparm >= 3.
  3661. * config/i386/i386.c (sibcall_insn_operand): New.
  3662. * config/i386/i386.h (PREDICATE_CODES): Update.
  3663. * config/i386/i386-protos.h: Update.
  3664. * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
  3665. * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
  3666. 2002-10-12 Roger Sayle <roger@eyesopen.com>
  3667. * simplify-rtx.c (simplify_binary_operation) [ASHIFTRT]: Optimize
  3668. arithmetic right shifts of ~0 during RTL simplifications.
  3669. 2002-10-12 Neil Booth <neil@daikokuya.co.uk>
  3670. PR preprocessor/7862
  3671. PR preprocessor/8190
  3672. * gcc.c (cpp_unique_options): Don't delete .d files.
  3673. Remove stray whitespace.
  3674. 2002-10-12 Naohiko Shimizu <pshimizu@fa2.so-net.ne.jp>
  3675. * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
  3676. (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
  3677. * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
  3678. (pdp11_output_function_epilogue, output_ascii): Likewise.
  3679. (output_addr_const_pdp11): Likewise.
  3680. * pdp11.md (movdi): Use offsetable memory for floating store.
  3681. (lshrsi3, negsi2): Delete irrelevant comment.
  3682. 2002-10-11 Andreas Bauer <baueran@in.tum.de>
  3683. * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow
  3684. indirect calls to be sibcall optimized.
  3685. * config/i386/i386.md (sibcall_1): New.
  3686. (call_1): Add no-sibcalls condition.
  3687. (sibcall_value_1): New.
  3688. (call_value_1): Add no-sibcalls condition.
  3689. 2002-10-11 Eric Christopher <echristo@redhat.com>
  3690. * output.h (default_valid_pointer_mode): Declare.
  3691. * varasm.c (default_valid_pointer_mode): Define.
  3692. * target-def.h (TARGET_VALID_POINTER_MODE): Use.
  3693. * target.h: Ditto.
  3694. * tree.c (build_pointer_type_for_mode): New function.
  3695. (build_pointer_type): Use.
  3696. (build_reference_type_for_mode): New function.
  3697. (build_reference_type): Use.
  3698. * tree.h: Declare new functions.
  3699. * c-common.c (handle_mode_attribute): Use new functions, check
  3700. for type.
  3701. * stor-layout.c (layout_type): Depend on machine mode for
  3702. REFERENCE_TYPE and POINTER_TYPE.
  3703. * dwarf2out.c (simple_type_size_in_bits): Move upward in file.
  3704. (modified_type_die): Use instead of PTR_SIZE for POINTER_TYPE
  3705. and REFERENCE_TYPE.
  3706. * config/mips/mips.c (mips_valid_pointer_mode): New function.
  3707. (TARGET_VALID_POINTER_MODE): Use and define.
  3708. * config/mips/mips-protos.h (mips_valid_pointer_mode): Declare.
  3709. 2002-10-11 Geoffrey Keating <geoffk@apple.com>
  3710. * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
  3711. not the address of the REG.
  3712. (struct cse_reg_info): Make subreg_ticked unsigned.
  3713. 2002-10-11 Janis Johnson <janis187@us.ibm.com>
  3714. * doc/compat.texi: Add info about C++ libraries.
  3715. 2002-10-11 Richard Henderson <rth@redhat.com>
  3716. PR opt/8165
  3717. * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
  3718. 2002-10-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  3719. * cfganal.c (dfs_enumerate_from): Use PARAMS.
  3720. * genautomata.c (output_insn_code_cases): Likewise.
  3721. * real.c (real_format): Likewise.
  3722. * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
  3723. ensure value is promoted before doing subtraction.
  3724. Fri Oct 11 22:22:38 CEST 2002 Jan Hubicka <jh@suse.cz>
  3725. * calls.c (expand_call): Simplify noreturn call.
  3726. PR c/7344
  3727. * cfgbuild.c (make_edges): Create edge cache when we do have
  3728. large jumptable.
  3729. * expr.c (do_tablejump): Note size of maximal jumptable.
  3730. * function.c (prepare_function_start): Zero out size.
  3731. * function.h (function): Add max_jumptable_ents.
  3732. * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
  3733. Fri Oct 11 12:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
  3734. * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
  3735. register for mperm_w operation.
  3736. Fri Oct 11 10:56:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
  3737. * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
  3738. an integer, use simplify_gen_subreg.
  3739. 2002-10-10 Diego Novillo <dnovillo@redhat.com>
  3740. * calls.c (flags_from_decl_or_type): Make extern.
  3741. (ECF_*): Move ...
  3742. * rtl.h (ECF_*): ... here.
  3743. (flags_from_decl_or_type): Declare.
  3744. 2002-10-10 Roger Sayle <roger@eyesopen.com>
  3745. Nathan Sidwell <nathan@codesourcery.com>
  3746. * fold-const.c (fold) [RSHIFT_EXPR]: Optimize arithmetic right
  3747. shifts of the form -1 >> x.
  3748. Thu Oct 10 16:52:55 CEST 2002 Jan Hubicka <jh@suse.cz>
  3749. * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
  3750. 2002-10-10 Aldy Hernandez <aldyh@redhat.com>
  3751. * extend.texi (Vector Extensions): Remove comment about single
  3752. element vectors.
  3753. 2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3754. * fold-const.c (size_htab_hash): Use htab_hash_pointer.
  3755. * function.c (insns_for_mem_hash): Likewise.
  3756. * varasm.c (STRHASH): Likewise.
  3757. 2002-10-10 Stuart Hastings <stuart@apple.com>
  3758. * cse.c (struct cse_reg_info): Add subreg_ticked.
  3759. (SUBREG_TICKED): New.
  3760. (get_cse_reg_info): Initialize SUBREG_TICKED.
  3761. (mention_regs): Use it.
  3762. (invalidate): Set SUBREG_TICKED.
  3763. (invalidate_for_call): Likewise.
  3764. (addr_affects_sp_p): Likewise.
  3765. 2002-10-10 Jakub Jelinek <jakub@redhat.com>
  3766. * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
  3767. into proper operand.
  3768. 2002-10-10 Denis Chertykov <denisc@overta.ru>
  3769. * config/ip2k/ip2k.c (function_epilogue): Optimize stack
  3770. deallocation.
  3771. * config/ip2k/libgcc.S: Combine routines used by function
  3772. epilogue.
  3773. 2002-10-10 Jim Wilson <wilson@redhat.com>
  3774. * cse.c (fold_rtx): Don't perform associative optimization for DIV and
  3775. UDIV.
  3776. 2002-10-10 David Edelsohn <edelsohn@gnu.org>
  3777. * config/rs6000/aix52.h: New file.
  3778. * config/rs6000/t-aix52: New File.
  3779. * config.gcc (rs6000-ibm-aix5.1.*): New entry.
  3780. (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
  3781. Thu Oct 10 19:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
  3782. PR target/5610
  3783. * invoke.texi (-msse-math): Kill
  3784. (-msse): Add note to mfpmath=sse.
  3785. Thu Oct 10 17:08:30 CEST 2002 Jan Hubicka <jh@suse.cz>
  3786. PR target/7723
  3787. * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
  3788. 2002-10-10 Neil Booth <neil@daikokuya.co.uk>
  3789. PR preprocessor/8179
  3790. * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
  3791. as cc1_options.
  3792. (default_compilers): Pass debug options when preprocessing
  3793. stdin.
  3794. 2002-10-06 Richard Henderson <rth@redhat.com>
  3795. * toplev.c (rest_of_compilation): Revert opt/2960 change.
  3796. Wed Oct 9 21:18:43 CEST 2002 Jan Hubicka <jh@suse.cz>
  3797. * i386.c (*_cost): Add branch costs.
  3798. (override_options): set ix86_branch_cost.
  3799. (ix86_expand_int_movcc): Use BRANCH_COST.
  3800. * i386.h (costs): Add branch_cost.
  3801. 2002-10-09 Zack Weinberg <zack@codesourcery.com>
  3802. PR c/7353
  3803. * c-decl.c (start_decl): Unconditionally issue error for
  3804. 'typedef foo = bar'.
  3805. (finish_decl): Remove special case for TYPE_DECL with initializer.
  3806. * doc/extend.texi: Delete "Naming Types" section. Change all
  3807. cross-references to that section to refer to "Typeof" instead.
  3808. Add the useful safe-max()-macro example from "Naming Types" to
  3809. "Typeof", rewritten using that extension. Add some compatibility
  3810. notes to "Typeof."
  3811. 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3812. * loop.c: Revert 2002-08-15 change.
  3813. (LOOP_REGNO_NREGS): Ensure type is int.
  3814. 2002-10-09 David Edelsohn <edelsohn@gnu.org>
  3815. * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
  3816. which copies first FPR and clears second.
  3817. (extendsftf2): Same.
  3818. (floatditf2): Fix typo.
  3819. (floatsitf2): Same.
  3820. (fix_trunctfdi2): Same.
  3821. (fix_trunctfsi2): Same.
  3822. 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3823. * conflict.c (arc_hash): Change return type to hashval_t.
  3824. * cselib.c (get_value_hash): Likewise.
  3825. * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
  3826. state_hash, automata_list_hash): Likewise.
  3827. * read-rtl.c (def_hash): Likewise.
  3828. * tree.c (type_hash_hash): Likewise.
  3829. 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
  3830. * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
  3831. prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
  3832. Wed Oct 9 15:54:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
  3833. * sh.md (ffssi2): Fix emitted code.
  3834. 2002-10-09 Ulrich Weigand <uweigand@de.ibm.com>
  3835. * cse.c (insn_live_p): Pass insn pattern, not full insn
  3836. to may_trap_p.
  3837. 2002-10-09 Neil Booth <neil@daikokuya.co.uk>
  3838. * cppmacro.c (paste_tokens): Only allow / to paste with =.
  3839. 2002-10-09 David Edelsohn <edelsohn@gnu.org>
  3840. * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
  3841. 64-bit hosts.
  3842. (movtf_internal): Reference correct displacement for second value
  3843. in memory.
  3844. (movtf splitter): Correct generation of constants in 64-bit mode.
  3845. 2002-10-09 Alan Modra <amodra@bigpond.net.au>
  3846. * libgcc2.c (__floatdisf): Properly cure double rounding.
  3847. 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  3848. * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
  3849. * doc/cpp.texi (Common Predefined Macros): Document.
  3850. 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  3851. PR doc/7484
  3852. * doc/invoke.texi (Option Summary): List
  3853. -Wmissing-declarations as a C only option.
  3854. 2002-10-08 Roger Sayle <roger@eyesopen.com>
  3855. * fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize
  3856. left and right rotates of ~0, i.e. integer_all_onesp (arg0).
  3857. [LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero.
  3858. Tue Oct 8 01:24:19 CEST 2002 Jan Hubicka <jh@suse.cz>
  3859. * i386.c (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
  3860. x86_sse_typeless_stores, x86_sse_load0_by_pxor): New global
  3861. variables.
  3862. (safe_vector_operand): Update sse_clrv4sf call.
  3863. (ix86_expand_buildin): Likewise
  3864. * i386.h (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
  3865. x86_sse_typeless_stores, x86_sse_load0_by_pxor): Declare.
  3866. (TARGET_SSE_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REGS,
  3867. TARGET_SSE_TYPELESS_STORES, TARGET_SSE_TYPELESS_LOAD0): New
  3868. macros.
  3869. * i386.md (movsf*, movdf*, movti, movv4sf, movv2df, movv16qi, movv8hi,
  3870. movv4si): Obey the new flags.
  3871. (floatsi2sf, floatdi2sf, truncatedf2sf): Emit extra load of 0 to avoid
  3872. reformating penalty.
  3873. (anddf, cmov patterns): Avoid reformating by first converting.
  3874. (sse_cvtsd2ss): Fix predicate.
  3875. (sse2_clrti): Fix mode,
  3876. (sse_clrv4sf): Avoid unspec.
  3877. 2002-10-08 Jakub Jelinek <jakub@redhat.com>
  3878. * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
  3879. mno-app-regs|mcmodel=medany.
  3880. (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
  3881. (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
  3882. (CRTSTUFF_T_CFLAGS): Define.
  3883. 2002-10-08 Roger Sayle <roger@eyesopen.com>
  3884. PR target/8087
  3885. * simplify-rtx.c (avoid_constant_pool_reference): Allow constant
  3886. pool references that are constructed using LO_SUM.
  3887. 2002-10-08 Nathan Sidwell <nathan@codesourcery.com>
  3888. * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
  3889. -Wall.
  3890. * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
  3891. message.
  3892. * flags.h (warn_strict_aliasing): Declare.
  3893. * toplev.c (warn_strict_aliasing): Define.
  3894. (lang_independent_options): Add it.
  3895. * doc/invoke.texi (-Wstrict-aliasing): Document it.
  3896. 2002-10-08 Zack Weinberg <zack@codesourcery.com>
  3897. * system.h (GCCBUGURL): Delete.
  3898. * version.c (bug_report_url): New. Add commentary about
  3899. modifying both these strings in modified distributions.
  3900. * version.h: Declare bug_report_url.
  3901. * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
  3902. bug_report_url.
  3903. 2002-10-08 Nick Clifton <nickc@redhat.com>
  3904. * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
  3905. convert uint64_t into __ev64_opaque__.
  3906. (__ev_set_acc_s64): Likewise, but using signed types.
  3907. 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
  3908. * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
  3909. ("*doloop_di_long"): Likewise.
  3910. Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
  3911. * print-rtl.c (print_rtx): Increase buffer size for real numbers.
  3912. 2002-10-08 Richard Sandiford <rsandifo@redhat.com>
  3913. * config/mips/mips.md (define_attr cpu): Add r4111.
  3914. 2002-10-08 Anthony Green <green@redhat.com>
  3915. * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
  3916. 2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  3917. * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
  3918. for REAL_VALUE_TO_DECIMAL output.
  3919. 2002-10-07 Richard Henderson <rth@redhat.com>
  3920. * cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a
  3921. function; cleanup PLUS case by using recursion. Update all users.
  3922. (NONZERO_BASE_PLUS_P): Remove.
  3923. (find_comparison_args): Use rtx_addr_can_trap_p instead.
  3924. (fold_rtx): Use nonzero_address_p.
  3925. * rtl.h (nonzero_address_p): Declare.
  3926. * rtlanal.c (rtx_varies_p): Handle ADDRESSOF.
  3927. (rtx_addr_can_trap_p): Likewise.
  3928. (nonzero_address_p): New.
  3929. * simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove.
  3930. (simplify_relational_operation): Use nonzero_address_p.
  3931. 2002-10-07 David Edelsohn <edelsohn@gnu.org>
  3932. * config/rs6000/rs6000.c (rs6000_override_options): Set
  3933. real_format_for_mode for IBM extended format, if enabled.
  3934. (easy_fp_constant): Add TFmode.
  3935. (rs6000_legitimize_address): Add TFmode.
  3936. (rs6000_legitimate_address): Same.
  3937. (function_arg_advance): TFmode uses two FPRs.
  3938. (rs6000_emit_prologue): Fix warning.
  3939. (rs6000_output_function_epilogue): Add TFmode.
  3940. (output_toc): Add TFmode.
  3941. * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
  3942. (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
  3943. * rs6000.md (movtf splitter): Load TFmode constant.
  3944. 2002-10-07 Dale Johannesen <dalej@apple.com>
  3945. * rtl.h: Add NOTE_PRECONDITIONED.
  3946. * unroll.c: Set it.
  3947. * loop.c: Set loop_info->preconditioned from it.
  3948. * doloop.c: Permit doloop treatment when loop_info->preconditoned.
  3949. 2002-10-07 Richard Henderson <rth@redhat.com>
  3950. * config/i960/i960.c (i960_setup_incoming_varargs): Create a
  3951. new rtx for comparing the argument pointer against zero.
  3952. (i960_va_start): Similarly.
  3953. 2002-10-07 Richard Henderson <rth@redhat.com>
  3954. * config/i960/i960.md (*): Use TFmode, not XFmode.
  3955. * config/i960/i960.c (*): Likewise.
  3956. (i960_arg_size_and_align): Remove XFmode alignment hack.
  3957. (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
  3958. * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
  3959. (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
  3960. (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
  3961. 2002-10-07 Richard Henderson <rth@redhat.com>
  3962. * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
  3963. entry points; use void return value and argument list.
  3964. 2002-10-06 Andreas Bauer <baueran@in.tum.de>
  3965. * calls.c (expand_call): Fix function-is-volatile check.
  3966. 2002-10-05 Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
  3967. * t-pdp11: Add MULTILIB support for msoft-float.
  3968. * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
  3969. * t-pdp11: Add LIB2FUNCS_EXTRA.
  3970. * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
  3971. add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
  3972. 'fldd' to 'ldd', rename 'fstd' to 'std'.
  3973. (pdp11_output_function_epilogue): Likewise.
  3974. (output_move_quad): Make the comment gas compatible.
  3975. (output_ascii): Add preceding 0 to the octal constant.
  3976. (print_operand_address): Add pre_modify, post_modify.
  3977. (output_addr_const_pdp11): Add preceding 0 to the octal constant.
  3978. * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
  3979. with the indication of Paul Koning.
  3980. (PRINT_OPERAND): Fix floating constant.
  3981. * pdp11.md (movdi): Restrict matching pattern.
  3982. (movqi): Generalize the matching pattern.
  3983. (movdf): Restrict matching pattern.
  3984. (zero_extendqihi2): Change constant representation.
  3985. (floatsidf2): Fix wrong operands.
  3986. (addqi3): Fix wrong instruction name.
  3987. (subqi3): Fix wrong instruction name.
  3988. (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
  3989. (xorsi3): Fix wrong insn.
  3990. (one_cmplqi2): Add two operand pattern.
  3991. (lsrsi3): New.
  3992. (negsi2): New.
  3993. (call): Add register indirect case.
  3994. (mod): Fix wrong subreg.
  3995. 2002-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
  3996. Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  3997. PR c/7411
  3998. * expr.c (expand_expr) [PLUS]: Simplify after the operands
  3999. have been expanded in EXPAND_NORMAL mode.
  4000. 2002-10-06 Richard Henderson <rth@redhat.com>
  4001. * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
  4002. 2002-10-06 Richard Henderson <rth@redhat.com>
  4003. PR optimization/2960
  4004. * toplev.c (rest_of_compilation): Don't copy_loop_headers if
  4005. optimize_size.
  4006. 2002-10-06 Alexandre Oliva <aoliva@redhat.com>
  4007. * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
  4008. previously definitions.
  4009. 2002-10-06 Frank Ch. Eigler <fche@redhat.com>
  4010. * cppinit.c (init_standard_includes, parse_option): Use strncmp.
  4011. * c-opts.c (find_opt): Similarly.
  4012. Sat Oct 5 22:48:06 CEST 2002 Jan Hubicka <jh@suse.cz>
  4013. * athlon.md: rewrite to DFA.
  4014. * i386 (ix86_adjust_cost): Drop memory latency code.
  4015. (ia32_use_dfa_pipeline_interface): Return true for Athlon.
  4016. 2002-10-05 Jakub Jelinek <jakub@redhat.com>
  4017. * gcc.c (set_multilib_dir): Don't access *end.
  4018. Use memcpy instead of strncpy. Don't write beyond malloced buffer.
  4019. (print_multilib_info): Don't show paths starting with ".:".
  4020. * genmultilib: Add new option, "yes" if multilibs are enabled.
  4021. Update comments. If multilibs not enabled, print .:${osdirout}
  4022. for each directory. If multilibs are enabled, always print
  4023. ${dirout}:${osdirout}, even if the two are the same.
  4024. * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
  4025. Pass all MULTILIB_* variables to genmultilib even if
  4026. --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
  4027. 2002-10-04 Zack Weinberg <zack@codesourcery.com>
  4028. * gcc.c (process_command): Set .validated for -pipe. Correct
  4029. grammar in comment.
  4030. 2002-10-04 Bruce Korb <bkorb@gnu.org>
  4031. * fixinc/inclhack.def(hpux11_abs): use format fix
  4032. * fixinc/fixincl.x: regenerate
  4033. * fixinc/tests/base/stdlib.h: accommodate new fix test
  4034. Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka <jh@suse.cz>
  4035. * c-common.c (cb_register_builtins): Use really_no_inline.
  4036. 2002-10-04 David Edelsohn <edelsohn@gnu.org>
  4037. * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
  4038. copied instruction if the note is not loop invariant.
  4039. 2002-10-04 Loren J. Rittle <ljrittle@acm.org>
  4040. * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
  4041. 2002-10-04 Steve Ellcey <sje@cup.hp.com>
  4042. * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld,
  4043. and -mhp-ld options to list of options. Add -mgnu-ld
  4044. and -mhp-ld option descriptions.
  4045. 2002-10-04 Steve Ellcey <sje@cup.hp.com>
  4046. * fixinc/inclhack.def (hpux11_abs): New.
  4047. (stdio_va_list): change __va_list__ to __gnuc_va_list.
  4048. * fixinc/fixincl.x: Rebuild.
  4049. 2002-10-04 Roger Sayle <roger@eyesopen.com>
  4050. * config/i386/i386.h (processor_costs): Add new fields fadd,
  4051. fmul, fdiv, fabs, fchs and fsqrt to costs structure.
  4052. (RTX_COSTS): Use these fields to determine the RTX costs
  4053. of floating point addition/subtraction, multiplication,
  4054. division, fabs, negation and square root respectively.
  4055. * config/i386/i386.c (size_cost): Provide instruction sizes
  4056. for these new fields.
  4057. (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
  4058. k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
  4059. counts for these new fields for all x86 processor variants.
  4060. 2002-10-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4061. * mips.c (mips_const_double_ok): Delete unused variable.
  4062. * gengtype.c (rtx_next): Change type to int.
  4063. 2002-10-04 Andreas Jaeger <aj@suse.de>
  4064. * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
  4065. 2002-10-04 Richard Henderson <rth@redhat.com>
  4066. * real.h (SIGNIFICAND_BITS): Add one more word.
  4067. (CONST_DOUBLE_FORMAT): Accomodate 6 words.
  4068. * real.c (times_pten): New.
  4069. (real_to_decimal, real_from_string): Use it.
  4070. (sticky_rshift_significand): Use & to find modulus.
  4071. (rshift_significand, lshift_significand): Likewise.
  4072. (do_divide): Apply sticky bit after normalization.
  4073. (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
  4074. 2002-10-03 Andreas Bauer <baueran@in.tum.de>
  4075. * doc/tm.texi (FUNCTION_OK_FOR_SIBCALL): Remove.
  4076. (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
  4077. 2002-10-03 Andreas Jaeger <aj@suse.de>
  4078. * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
  4079. to unsigned long, adjust printf format string.
  4080. (output_mangled_typename): Likewise.
  4081. 2002-10-03 Jason Thorpe <thorpej@wasabisystems.com>
  4082. * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
  4083. * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
  4084. (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
  4085. assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
  4086. (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
  4087. (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
  4088. * config/vax/elf.h (FUNCTION_PROFILER): Remove.
  4089. (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
  4090. 2002-10-03 Mark Mitchell <mark@codesourcery.com>
  4091. * doc/invoke.texi (-Wabi): Document mangling bug.
  4092. 2002-10-04 Alan Modra <amodra@bigpond.net.au>
  4093. * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
  4094. name for the tbtab label that depends on the function asm name.
  4095. Don't output tbtab label unless optional_tbtab.
  4096. (output_mi_thunk): Formatting.
  4097. 2002-10-03 Richard Henderson <rth@redhat.com>
  4098. * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
  4099. * config/m68k/m68k.c (override_options): ... here.
  4100. * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
  4101. * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
  4102. * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
  4103. * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
  4104. 2002-10-03 Richard Henderson <rth@redhat.com>
  4105. * real.h (struct real_value): Use ENUM_BITFIELD.
  4106. 2002-10-03 Richard Henderson <rth@redhat.com>
  4107. * config/i960/i960.md (call, call_value): Use emit_call_insn.
  4108. 2002-10-03 Steve Ellcey <sje@cup.hp.com>
  4109. * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
  4110. 2002-10-03 Steve Ellcey <sje@cup.hp.com>
  4111. * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
  4112. * config/pa/pa.h (MASK_GNU_LD): New.
  4113. (TARGET_GNU_LD): New.
  4114. * config/pa/pa64-hpux.h (LINK_SPEC): Set based
  4115. on gnu-ld and MASK_GNU_LD.
  4116. (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
  4117. Thu Oct 3 23:35:51 CEST 2002 Jan Hubicka <jh@suse.cz>
  4118. * i386.c (athlon_cost): Fix the move costs.
  4119. Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
  4120. * final.c (final): Use symbol name as function name for profiling.
  4121. * profile.c (get_exec_counts): Likewise.
  4122. (branch_prob): Likewise.
  4123. 2002-10-03 Jakub Jelinek <jakub@redhat.com>
  4124. * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
  4125. 2002-10-03 Jakub Jelinek <jakub@redhat.com>
  4126. * gcc.c (print_multi_os_directory): New variable.
  4127. (option_map): Support --print-multi-os-directory.
  4128. (struct prefix_list): Add os_multilib field.
  4129. (multilib_os_dir): New variable.
  4130. (static_specs): Add multilib_options.
  4131. (find_a_file): Add multilib argument. Search in GCC or OS multilib
  4132. subdirs if nonzero.
  4133. (read_specs, execute): Update callers.
  4134. (find_file): Likewise. Don't prefix name with multilib_dir, instead
  4135. pass 1 as multilib option.
  4136. (display_help): Include --print-multi-os-directory.
  4137. (add_prefix): Add os_multilib argument. Initialize pl->os_multilib.
  4138. (process_command): Update callers. Handle --print-multi-os-directory.
  4139. (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
  4140. set.
  4141. (main): Update find_a_file and add_prefix callers.
  4142. Handle print_multi_os_directory.
  4143. (struct mdswitchstr): New.
  4144. (mdswitches, n_mdswitches): New variables.
  4145. (used_arg): Add MULTILIB_DEFAULT switches too if they are not
  4146. present on the command line nor their mutually incompatible
  4147. switches.
  4148. (default_arg): Optimize.
  4149. (set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches
  4150. array.
  4151. (print_multilib_info): Only print GCC multilib dir name, not OS
  4152. multilib dirname.
  4153. * genmultilib: Add osdirnames parameter. Output multilib_options
  4154. variable. If osdirnames is specified, output dirnames as
  4155. dirname:osdirname.
  4156. * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
  4157. and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
  4158. to compute libgcc_s soname and install path.
  4159. * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
  4160. SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
  4161. (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
  4162. argument.
  4163. * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
  4164. (SHLIB_SLIBDIR_SUFFIXES): Remove.
  4165. * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
  4166. ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
  4167. (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
  4168. and -m64.
  4169. * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
  4170. (SHLIB_SLIBDIR_SUFFIXES): Remove.
  4171. * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
  4172. (STARTFILE_ARCH_SPEC): Remove.
  4173. * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
  4174. (SHLIB_SLIBDIR_SUFFIXES): Remove.
  4175. * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
  4176. * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
  4177. (SHLIB_SLIBDIR_SUFFIXES): Remove.
  4178. Thu Oct 3 21:42:20 CEST 2002 Jan Hubicka <jh@suse.cz>
  4179. * predict.c (choose_function_section): Avoid choice for linkonce functions.
  4180. Thu Oct 3 15:15:00 CEST 2002 Jan Hubicka <jh@suse.cz>
  4181. * i386.md (lea to mul peep2): Fix condition.
  4182. 2002-10-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4183. * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
  4184. * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
  4185. 2002-10-02 David Mosberger-Tang <David.Mosberger@acm.org>
  4186. * unwind.h (_Unwind_GetTextRelBase): Mark _C argument with
  4187. attribute "unused".
  4188. * config/t-libunwind: Mention unwind-sjlj.c.
  4189. * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__
  4190. to #ifndef __USING_SJLJ_EXCEPTIONS__.
  4191. * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
  4192. before inclusion of config.gcc, but after configuring the compiler etc.
  4193. Determine default value for --enable-libunwind-exceptions based on
  4194. whether the host has a libunwind library (not guaranteed to be correct,
  4195. but it's a reasonable first guess and can always be overridden with an
  4196. explicit --enable/disable-libunwind-exceptions.
  4197. * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a
  4198. tmake_file when $use_libunwind_exceptions is enabled.
  4199. * Makefile.in: Update comment: LIB2ADDEH is updated not just by
  4200. ia64 (e.g., config/t-linux also updates it).
  4201. * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind
  4202. along with the shared version of libgcc since the latter requires
  4203. the former.
  4204. * unwind-libunwind.c: New file.
  4205. * config/t-libunwind: Ditto.
  4206. 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
  4207. * config.gcc: Remove support for vax-*-vms*.
  4208. * config/vax/vms.h: Remove.
  4209. * config/vax/xm-vms.h: Remove.
  4210. * config/vax/vax-protos.h: Remove VMS-specific code.
  4211. * config/vax/vax.c: Remove VMS-specific code.
  4212. 2002-10-02 Richard Henderson <rth@redhat.com>
  4213. PR opt/7124
  4214. * config/i386/i386.c (ix86_register_move_cost): Increase cost
  4215. for secondary_memory_needed pairs.
  4216. 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
  4217. * doc/vms.texi: Blow away false include file section.
  4218. 2002-10-02 Roger Sayle <roger@eyesopen.com>
  4219. PR optimization/6627
  4220. * toplev.c (force_align_functions_log): New global variable.
  4221. * flags.h (force_align_functions_log): Add extern prototype.
  4222. * varasm.c (assemble_start_function): Use it to force minimum
  4223. function alignment.
  4224. * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
  4225. minimum function alignment to one byte.
  4226. (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
  4227. the least significant bit of vtable member function pointers.
  4228. * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
  4229. here from cp/cp-tree.h.
  4230. Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
  4231. * i386.c (print_operand_address): Use RIP addressing for offsetted
  4232. label refs too.
  4233. 2002-09-30 David S. Miller <davem@redhat.com>
  4234. PR middle-end/7151
  4235. * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
  4236. (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
  4237. 2002-10-01 Andreas Bauer <baueran@in.tum.de>
  4238. * calls.c (expand_call): Remove the `no indirect check'
  4239. for sibcall optimization; use function_ok_for_sibcall
  4240. target hook; refine check for `function is volatile'.
  4241. (FUNCTION_OK_FOR_SIBCALL): Remove the redefinition.
  4242. * hooks.c (hook_tree_tree_bool_false): New.
  4243. * hooks.h (hook_tree_tree_bool_false): Declare.
  4244. * target-def.h (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
  4245. (TARGET_INITIALIZER): Add it.
  4246. * target.h (struct gcc_target): Add function_ok_for_sibcall.
  4247. * config/alpha/alpha.c: (alpha_function_ok_for_sibcall): New.
  4248. (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
  4249. * config/alpha/alpha.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4250. * config/arm/arm-protos.h: (arm_function_ok_for_sibcall):
  4251. Remove function declaration.
  4252. * config/arm/arm.c: (arm_function_ok_for_sibcall): Make
  4253. function static and accept another argument of type `tree'.
  4254. (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
  4255. * config/arm/arm.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4256. * config/frv/frv.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4257. * config/i386/i386.c: (ix86_function_ok_for_sibcall): New.
  4258. (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
  4259. * config/i386/i386.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4260. * config/pa/pa-linux.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4261. (TARGET_HAS_STUBS_AND_ELF_SECTIONS): New definition.
  4262. * config/pa/pa.c: (pa_function_ok_for_sibcall): New.
  4263. (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
  4264. * config/pa/pa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4265. * config/rs6000/rs6000-protos.h: (function_ok_for_sibcall):
  4266. Remove function declaration.
  4267. * config/rs6000/rs6000.c: (rs6000_function_ok_for_sibcall):
  4268. Rename function_ok_for_sibcall to rs6000_function_ok_for_sibcall;
  4269. rename first argument to `decl'; accept another argument
  4270. of type `tree'; make static.
  4271. (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
  4272. * config/rs6000/rs6000.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4273. * config/sh/sh.c: (sh_function_ok_for_sibcall): New.
  4274. (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
  4275. * config/sh/sh.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4276. * config/sparc/sparc.c: (sparc_function_ok_for_sibcall): New.
  4277. (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
  4278. * config/sparc/sparc.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4279. * config/xtensa/xtensa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
  4280. 2002-10-01 Roger Sayle <roger@eyesopen.com>
  4281. * unroll.c (loop_iterations): Revert 2002-09-08 change.
  4282. 2002-10-01 Richard Henderson <rth@redhat.com>
  4283. * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
  4284. (real_to_hexadecimal): Likewise.
  4285. * print-rtl.c (print_rtx): If we are linked with real.c, don't
  4286. dump the XWINT fields of a floating point CONST_DOUBLE.
  4287. 2002-10-01 Jason Thorpe <thorpej@wasabisystems.com>
  4288. * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
  4289. 2002-10-01 Richard Henderson <rth@redhat.com>
  4290. * calls.c (precompute_register_parameters): Force non-legitimate
  4291. constants into pseudos.
  4292. 2002-10-01 Nick Clifton <nickc@redhat.com>
  4293. * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
  4294. to assembler template.
  4295. 2002-10-01 Richard Henderson <rth@redhat.com>
  4296. * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
  4297. for TLS debug info to !DECL_EXTERNAL.
  4298. 2002-10-01 Matt Thomas <matt@3am-software.com>
  4299. Jason Thorpe <thorpej@wasabisystems.com>
  4300. * config.gcc (vax-*-netbsdelf*): Enable configuration.
  4301. * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
  4302. if not already defined.
  4303. * config/vax/elf.h: New file.
  4304. * config/vax/netbsd-elf.h: New file.
  4305. * config/vax/vax.c: Include "debug.h".
  4306. (vax_output_function_prologue): Add dwarf2 support. Use
  4307. MAIN_NAME_P when checking for VMS_TARGET stack adjust.
  4308. * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
  4309. 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
  4310. 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
  4311. (VAX_ISTREAM_SYNC): Remove.
  4312. (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
  4313. (JUMP_TABLES_IN_TEXT_SECTION): Define.
  4314. (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
  4315. (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
  4316. and assemble_name.
  4317. (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
  4318. (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
  4319. (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
  4320. (INCOMING_RETURN_ADDR_RTX): Define.
  4321. * config/vax/vax.md (VUNSPEC_BLOCKAGE)
  4322. (VUNSPEC_SYNC_ISTREAM): Define.
  4323. (blockage): Use VUNSPEC_BLOCKAGE.
  4324. (sync_istream): New insn.
  4325. 2002-10-01 Richard Henderson <rth@redhat.com>
  4326. * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
  4327. (*call_value_pop, call, call_value): Add dwarf2 EH support.
  4328. (*call): New insn.
  4329. 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
  4330. PR c/8083
  4331. * c-typeck.c (build_c_cast): Warn about type punning which breaks
  4332. type based aliasing.
  4333. 2002-10-01 Mark Mitchell <mark@codesourcery.com>
  4334. * stor-layout.c (update_alignment_for_field): New function.
  4335. (place_union_field): Use it.
  4336. (place_field): Likewise.
  4337. 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
  4338. PR other/8077
  4339. * gcc.c (cc1_options): Add space on -auxbase-strip.
  4340. 2002-10-01 Jim Wilson <wilson@redhat.com>
  4341. * config/v850/v850.h (EPILOGUE_USES): Define.
  4342. 2002-09-30 Andrew Haley <aph@redhat.com>
  4343. * flow.c (insn_dead_p): When using non-call-exceptions, don't
  4344. eliminate insns that may trap.
  4345. * cse.c (insn_live_p): Likewise.
  4346. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  4347. * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
  4348. (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
  4349. * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
  4350. * config/mips/mips.md: Apply same renaming here.
  4351. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  4352. * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
  4353. (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
  4354. * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
  4355. * config/mips/mips.md (define_attr cpu): Remove r4320.
  4356. Remove vr4320 scheduler and uses of TARGET_MIPS4320.
  4357. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  4358. * config/mips/mips.c (mips16_strings): New variable.
  4359. (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
  4360. symbol in mips16_strings. Free the list.
  4361. (mips_encode_section_info): Keep track of local strings.
  4362. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  4363. * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
  4364. (sordered_df, sordered_sf): Remove.
  4365. * config/mips/mips.c (get_float_compare_codes): New fn.
  4366. (gen_int_relational, gen_conditional_move): Use it.
  4367. 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
  4368. * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
  4369. * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
  4370. * config/mips/mips.c (fcc_register_operand): New function.
  4371. (mips_emit_fcc_reload): New function, extracted from reload_incc.
  4372. (override_options): Allow TFmode values in float registers
  4373. if ISA_HAS_8CC.
  4374. * cnfig/mips/mips.md (reload_incc): Change destination prediate
  4375. to fcc_register_operand. Remove misleading source constraint.
  4376. Use mips_emit_fcc_reload.
  4377. (reload_outcc): Duplicate reload_incc.
  4378. 2002-09-30 Zack Weinberg <zack@codesourcery.com>
  4379. * gcc.c (validate_switches): Handle all new forms of spec
  4380. syntax introduced recently. Now returns a char *.
  4381. (validate_all_switches): Repetitive logic broken out to...
  4382. (validate_switches_from_spec): ...here.
  4383. * mklibgcc.in: Don't @-flag commands to generate .oS files.
  4384. 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
  4385. * longlong.h: Partially synchronize with GMP-4.1 version:
  4386. Use i370 definitions also for s390.
  4387. Add generic definition of umul_ppmm in terms of smul_ppmm.
  4388. [s390] (umul_ppmm): Remove.
  4389. [s390] (smul_ppmm): Fix incorrect assembler constraints.
  4390. [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
  4391. 2002-09-30 Bob Wilson <bob.wilson@acm.org>
  4392. * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
  4393. Add new RL_REGS register class.
  4394. (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
  4395. Call xtensa_preferred_reload_class for both input and output reloads.
  4396. * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
  4397. (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
  4398. instead of either AR_REGS or GR_REGS classes.
  4399. (xtensa_secondary_reload_class): Use new RL_REGS class.
  4400. * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
  4401. 2002-09-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4402. * pa.c (hppa_encode_label): Don't drop '*' from function labels.
  4403. (pa_strip_name_encoding): Strip '@' and '*', in that order.
  4404. * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
  4405. there is a '*' prefix in NAME.
  4406. Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka <jh@suse.cz>
  4407. * reload.c (push_reload): Handle subregs and secondary memory.
  4408. * reload1.c (gen_reload): Likewise.
  4409. * jump.c (reg_or_subregno): New function.
  4410. * rtl.h (reg_or_subregno): Declare
  4411. * unroll.c (find_splittable_givs): Handle subregs.
  4412. 2002-09-30 Mark Mitchell <mark@codesourcery.com>
  4413. * store-layout.c (finish_record_layout): Add free_p parameter.
  4414. (layout_type): Pass it.
  4415. * tree.h (finish_record_layout): Update prototype.
  4416. Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka <jh@suse.cz>
  4417. * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
  4418. * gcse.c (cprop_jump): Check that the register has not
  4419. been modified
  4420. (cprop_jump): Likewise.
  4421. 2002-09-30 Richard Earnshaw <rearnsha@arm.com>
  4422. * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
  4423. (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
  4424. that we have a SImode access, and only then if reload hasn't completed;
  4425. for all other cases, use LO_REGS.
  4426. 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4427. * openbsd.h: Fix typo in last change.
  4428. 2002-09-29 Richard Henderson <rth@redhat.com>
  4429. * real.c (real_from_string): Apply sign last. Tidy exponent handling.
  4430. 2002-09-29 Richard Henderson <rth@redhat.com>
  4431. PR c/8002
  4432. * combine.c (force_to_mode): Handle FLOAT_MODE destinations
  4433. for CONST_INT.
  4434. 2002-09-29 David Edelsohn <edelsohn@gnu.org>
  4435. * real.h (ibm_extended_format): Declare.
  4436. * real.c (encode_ibm_extended, decode_ibm_extended): New
  4437. functions.
  4438. 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4439. * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
  4440. * ia64.c (ia64_hpux_asm_file_end): Const-ify.
  4441. 2002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4442. * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
  4443. 2002-09-29 Kazu Hirata <kazu@cs.umass.edu>
  4444. * builtins.def: Fix comment formatting.
  4445. * c-common.def: Likewise.
  4446. * cfgcleanup.c: Likewise.
  4447. * combine.c: Likewise.
  4448. * gengtype.c: Likewise.
  4449. * params.def: Likewise.
  4450. * predict.def: Likewise.
  4451. * rtl.def: Likewise.
  4452. * stab.def: Likewise.
  4453. * stor-layout.c: Likewise.
  4454. * tree.def: Likewise.
  4455. * config/darwin.c: Likewise.
  4456. * config/darwin.h: Likewise.
  4457. * config/dbxcoff.h: Likewise.
  4458. * config/elfos.h: Likewise.
  4459. * config/fp-bit.c: Likewise.
  4460. * config/freebsd-spec.h: Likewise.
  4461. * config/interix.h: Likewise.
  4462. * config/libgloss.h: Likewise.
  4463. * config/linux-aout.h: Likewise.
  4464. * config/linux.h: Likewise.
  4465. * config/lynx-ng.h: Likewise.
  4466. * config/lynx.h: Likewise.
  4467. * config/netbsd-aout.h: Likewise.
  4468. * config/netbsd.h: Likewise.
  4469. * config/netware.h: Likewise.
  4470. * config/psos.h: Likewise.
  4471. * config/ptx4.h: Likewise.
  4472. 2002-09-28 Kazu Hirata <kazu@cs.umass.edu>
  4473. * ChangeLog.4: Fix typos.
  4474. * ChangeLog.6: Likewise.
  4475. * FSFChangeLog.10: Likewise.
  4476. * genattrtab.c: Fix comment typos.
  4477. * haifa-sched.c: Likewise.
  4478. * real.c: Likewise.
  4479. * tree.h: Likewise.
  4480. * config/arm/arm.c: Likewise.
  4481. * config/arm/crti.asm: Likewise.
  4482. * config/arm/crtn.asm: Likewise.
  4483. * config/frv/frv.c: Likewise.
  4484. * config/frv/frv.md: Likewise.
  4485. * config/h8300/h8300.md: Likewise.
  4486. * config/i386/rtemself.h: Likewise.
  4487. * config/ia64/unwind-ia64.c: Likewise.
  4488. * config/ip2k/ip2k.h: Likewise.
  4489. * config/m88k/m88k.c: Likewise.
  4490. * config/m88k/m88k.md: Likewise.
  4491. * config/mips/sr71k.md: Likewise.
  4492. * config/mmix/mmix.c: Likewise.
  4493. * config/rs6000/rs6000.c: Likewise.
  4494. * config/sh/sh.md: Likewise.
  4495. 2002-09-26 Theodore A. Roth <troth@verinet.com>
  4496. * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
  4497. * config/avr/avr.md: Ditto.
  4498. 2002-09-27 Alexander N. Kabaev <ak03@gte.com>
  4499. PR preprocessor/8055
  4500. * cppmacro.c (stringify_arg): Do not overflow the buffer
  4501. with the terminating NUL when the argument to be stringified
  4502. has no tokens.
  4503. 2002-09-27 Richard Henderson <rth@redhat.com>
  4504. * unroll.c (simplify_cmp_and_jump_insns): New.
  4505. (unroll_loop): Use it. Use simplify_gen_foo+force_operand
  4506. instead of expand_simple_foo.
  4507. 2002-09-27 Richard Henderson <rth@redhat.com>
  4508. PR optimization/7520
  4509. * cfganal.c (flow_active_insn_p): New.
  4510. (forwarder_block_p): Use it.
  4511. 2002-09-27 Richard Henderson <rth@redhat.com>
  4512. * emit-rtl.c (active_insn_p): Revert last change.
  4513. 2002-09-27 Jakub Jelinek <jakub@redhat.com>
  4514. * doc/extend.texi (tls_model): Document.
  4515. * varasm.c (decl_tls_model): New.
  4516. * c-common.c (handle_tls_model_attribute): New.
  4517. (c_common_attribute_table): Add tls_model.
  4518. * config/alpha/alpha.c (alpha_encode_section_info): Use
  4519. decl_tls_model.
  4520. * flags.h (enum tls_model, flag_tls_default): Move...
  4521. * tree.h (enum tls_model, flag_tls_default): ...here.
  4522. (decl_tls_model): New prototype.
  4523. * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
  4524. * config/i386/i386.c (ix86_encode_section_info): Likewise.
  4525. * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
  4526. Allow !flag_pic.
  4527. 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
  4528. * LANGUAGES: Follow spelling conventions.
  4529. * rtl.def: Likewise.
  4530. * sbitmap.c: Likewise.
  4531. * sched-int.h: Likewise.
  4532. * sched-rgn.c: Likewise.
  4533. * sibcall.c: Likewise.
  4534. * simplify-rtx.c: Likewise.
  4535. * ssa.c: Likewise.
  4536. * stab.def: Likewise.
  4537. * stmt.c: Likewise.
  4538. * stor-layout.c: Likewise.
  4539. * target.h: Likewise.
  4540. * timevar.c: Likewise.
  4541. * toplev.c: Likewise.
  4542. * tree-dump.c: Likewise.
  4543. * tree-inline.c: Likewise.
  4544. * tree.c: Likewise.
  4545. * tree.def: Likewise.
  4546. * tree.h: Likewise.
  4547. * unroll.c: Likewise.
  4548. * varasm.c: Likewise.
  4549. * vmsdbgout.c: Likewise.
  4550. * treelang/treelang.texi: Likewise.
  4551. * treelang/treetree.c: Likewise.
  4552. 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
  4553. * config/h8300/h8300.c (compute_saved_regs): Use a macro
  4554. instead of a hard register number.
  4555. (get_shift_alg): Use an enumerated type instead of numbers.
  4556. (h8300_shift_needs_scratch_p): Likewise.
  4557. 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
  4558. * varasm.c (force_data_section): Remove.
  4559. (assemble_constant_align): Likewise.
  4560. * output.h: Remove corresponding prototypes.
  4561. 2002-09-26 Roger Sayle <roger@eyesopen.com>
  4562. * stmt.c (expand_exit_loop_if_false): Expand a simple conditional
  4563. jump, if the loop to exit is the top of the current nesting stack.
  4564. 2002-09-26 Torbjorn Granlund <tege@swox.com>
  4565. * libgcc2.c (fixunsdfdi, fixunssfdi): Rewrite, avoiding `long long'
  4566. arithmetic.
  4567. 2002-09-26 David S. Miller <davem@redhat.com>
  4568. PR optimization/7335
  4569. * calls.c (emit_library_call_value_1): Passing args by reference
  4570. converts a CONST function into a PURE one.
  4571. 2002-09-26 David Edelsohn <edelsohn@gnu.org>
  4572. * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
  4573. text_section.
  4574. * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
  4575. text section.
  4576. * config/rs6000/rs6000.c (rs6000_override_options): Allow
  4577. function-sections and data-sections functionality on AIX.
  4578. 2002-09-26 David Edelsohn <edelsohn@gnu.org>
  4579. Dale Johannesen <dalej@apple.com>
  4580. * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
  4581. in RTL for sub-word loads from memory.
  4582. 2002-09-26 Richard Henderson <rth@redhat.com>
  4583. PR c/7160
  4584. * sched-deps.c (sched_analyze_insn): Make clobber insns depend
  4585. on call insns.
  4586. 2002-09-26 Richard Henderson <rth@redhat.com>
  4587. * emit-rtl.c (const_double_htab_eq): Remove unused variable.
  4588. 2002-09-26 Chris Lattner <sabre@nondot.org>
  4589. * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
  4590. handling undefined values.
  4591. 2002-09-26 Richard Henderson <rth@redhat.com>
  4592. PR opt/7520
  4593. * emit-rtl.c (active_insn_p): Consider a clobber of the
  4594. function return value to be active even after reload.
  4595. 2002-09-27 Alan Modra <amodra@bigpond.net.au>
  4596. * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
  4597. by absolute loop increment, not loop increment.
  4598. 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
  4599. * c-common.h: Follow spelling conventions.
  4600. * cpplex.c: Likewise.
  4601. * cpplib.h: Likewise.
  4602. * gthr-dce.h: Likewise.
  4603. * gthr-posix.h: Likewise.
  4604. * optabs.c: Likewise.
  4605. * output.h: Likewise.
  4606. * profile.c: Likewise.
  4607. * protoize.c: Likewise.
  4608. * ra-rewrite.c: Likewise.
  4609. * real.c: Likewise.
  4610. * recog.c: Likewise.
  4611. * reg-stack.c: Likewise.
  4612. * regclass.c: Likewise.
  4613. * regmove.c: Likewise.
  4614. * reload.c: Likewise.
  4615. * reload.h: Likewise.
  4616. * reload1.c: Likewise.
  4617. * reorg.c: Likewise.
  4618. * resource.c: Likewise.
  4619. * rtl.h: Likewise.
  4620. * rtlanal.c: Likewise.
  4621. 2002-09-26 Steve Ellcey <sje@cup.hp.com>
  4622. * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
  4623. for symbol address.
  4624. 2002-09-24 Eric Christopher <echristo@redhat.com>
  4625. * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
  4626. * config/mips/elf64.h: Ditto.
  4627. 2002-09-24 Eric Christopher <echristo@redhat.com>
  4628. * except.c (expand_builtin_extract_return_address): Handle case
  4629. where Pmode != ptr_mode.
  4630. 2002-09-26 Steve Ellcey <sje@cup.hp.com>
  4631. * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
  4632. 2002-09-26 Steve Ellcey <sje@cup.hp.com>
  4633. * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
  4634. 2002-09-26 Igor Shevlyakov <igor@microunity.com>
  4635. * combine.c (simplify_set): Don't call to force_to_mode if size
  4636. of integer type is larger than HOST_BITS_PER_WIDE_INT.
  4637. 2002-09-26 Janis Johnson <janis187@us.ibm.com>
  4638. * Makefile.in (qmtest-g++): Fix file path.
  4639. 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
  4640. * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
  4641. A + (-const) on RTX level, even for unsigned types.
  4642. 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
  4643. * reload.c (dup_replacements): New function.
  4644. (find_reloads): Use it to duplicate replacements at the top level
  4645. of match_dup operands.
  4646. 2002-09-26 Miles Bader <miles@gnu.org>
  4647. * v850.md ("length"): Change default value to 4.
  4648. 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
  4649. * ChangeLog.1: Follow spelling conventions.
  4650. * ChangeLog.4: Likewise.
  4651. * ChangeLog.6: Likewise.
  4652. * FSFChangeLog.11: Likewise.
  4653. * doc/cpp.texi: Likewise.
  4654. * doc/invoke.texi: Likewise.
  4655. * doc/tm.texi: Likewise.
  4656. 2002-09-26 Nick Clifton <nickc@redhat.com>
  4657. * config.gcc: Add x prefix to v850e case for handling
  4658. --with-cpu=v850e.
  4659. 2002-09-25 Zack Weinberg <zack@codesourcery.com>
  4660. * gcc.c (input_suffix_matches, switch_matches,
  4661. mark_matching_switches, process_marked_switches,
  4662. process_brace_body): New functions - split from handle_braces.
  4663. (handle_braces): Rewrite; handle %{S:X;T:Y;:D} syntax; accept
  4664. and ignore whitespace in more places.
  4665. (specs documentation comment): Document %{S:X;T:Y;:D}.
  4666. Clarify other %{...} docs.
  4667. * doc/invoke.texi: Document %{S:X;T:Y;:D}. Clarify other
  4668. %{...} docs.
  4669. * config/arm/aof.h (LINK_SPEC): Change %{ov*,*} to %{ov*}.
  4670. * config/rs6000/sysv4.h: Use N-way choice spec syntax.
  4671. 2002-09-25 David S. Miller <davem@redhat.com>
  4672. PR target/7842
  4673. * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
  4674. extend.
  4675. 2002-09-25 Richard Henderson <rth@redhat.com>
  4676. * emit-rtl.c (const_double_htab_eq): Distinguish integer and
  4677. fp CONST_DOUBLE; use real_identical.
  4678. 2002-09-25 Mark Mitchell <mark@codesourcery.com>
  4679. * doc/invoke.texi: Add more -Wabi examples.
  4680. 2002-09-25 Richard Sandiford <rsandifo@redhat.com>
  4681. * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
  4682. 2002-09-24 Nathan Sidwell <nathan@codesourcery.com>
  4683. * profile.c (end_branch_prob): Only look for __gcov_init on
  4684. weak-enabled native compilers.
  4685. 2002-09-24 Denis Chertykov <denisc@overta.ru>
  4686. * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
  4687. cases of optimizing "add sp,w" to "inc sp".
  4688. 2002-09-24 Adam Nemet <anemet@lnxw.com>
  4689. * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
  4690. epilogue for naked functions.
  4691. 2002-09-24 Adam Nemet <anemet@lnxw.com>
  4692. Nick Clifton <nickc@redhat.com>
  4693. * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
  4694. (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
  4695. is defined.
  4696. 2002-09-24 Ulrich Weigand <uweigand@de.ibm.com>
  4697. * config/s390/s390.c (preferred_la_operand_p): New function.
  4698. * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
  4699. * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
  4700. ("*la_64_cc", "*la_31_cc", splitters): ... these.
  4701. ("*la_31"): Deactivate for TARGET_64BIT.
  4702. ("*la_31_and", "*la_31_and_cc"): New.
  4703. 2002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4704. * real.h (real_value): Make `exp' explicitly signed.
  4705. 2002-09-24 Kazu Hirata <kazu@cs.umass.edu>
  4706. * config/elfos.h: Follow spelling conventions.
  4707. * config/alpha/alpha.h: Likewise.
  4708. * config/arc/arc.h: Likewise.
  4709. * config/arm/arm.md: Likewise.
  4710. * config/avr/avr.h: Likewise.
  4711. * config/cris/cris.md: Likewise.
  4712. * config/d30v/d30v.h: Likewise.
  4713. * config/frv/frv.c: Likewise.
  4714. * config/frv/frv.h: Likewise.
  4715. * config/h8300/h8300.c: Likewise.
  4716. * config/h8300/h8300.h: Likewise.
  4717. * config/h8300/h8300.md: Likewise.
  4718. * config/i386/cygwin.h: Likewise.
  4719. * config/i386/i386.h: Likewise.
  4720. * config/i386/sysv3.h: Likewise.
  4721. * config/i960/i960.h: Likewise.
  4722. * config/ia64/ia64.h: Likewise.
  4723. * config/ia64/ia64.md: Likewise.
  4724. * config/ip2k/ip2k.h: Likewise.
  4725. * config/m32r/m32r.h: Likewise.
  4726. * config/m68k/m68k.h: Likewise.
  4727. * config/m88k/m88k.h: Likewise.
  4728. * config/mcore/mcore.c: Likewise.
  4729. * config/mcore/mcore.h: Likewise.
  4730. * config/mcore/mcore.md: Likewise.
  4731. * config/mips/mips.h: Likewise.
  4732. * config/mmix/mmix.h: Likewise.
  4733. * config/mmix/mmix.md: Likewise.
  4734. * config/ns32k/netbsd.h: Likewise.
  4735. * config/ns32k/ns32k.h: Likewise.
  4736. * config/ns32k/ns32k.md: Likewise.
  4737. * config/pa/pa.h: Likewise.
  4738. * config/romp/romp.h: Likewise.
  4739. * config/rs6000/rs6000.h: Likewise.
  4740. * config/rs6000/rs6000.md: Likewise.
  4741. * config/sparc/sparc.h: Likewise.
  4742. * config/stormy16/stormy-abi: Likewise.
  4743. * config/stormy16/stormy16.h: Likewise.
  4744. * config/vax/vax.h: Likewise.
  4745. 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
  4746. * config/alpha/alpha.h: Remove commented-out macro
  4747. definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT.
  4748. * config/avr/avr.h: Likewise.
  4749. * config/d30v/d30v.h: Likewise.
  4750. * config/dsp16xx/dsp16xx.h: Likewise.
  4751. * config/i370/i370.h: Likewise.
  4752. * config/i386/i386.h: Likewise.
  4753. * config/i960/i960.h: Likewise.
  4754. * config/m68k/m68k.h: Likewise.
  4755. * config/m88k/m88k.h: Likewise.
  4756. * config/mips/mips.h: Likewise.
  4757. * config/ns32k/ns32k.h: Likewise.
  4758. * config/pdp11/pdp11.h: Likewise.
  4759. * config/romp/romp.h: Likewise.
  4760. * config/rs6000/rs6000.h: Likewise.
  4761. * config/s390/s390.h: Likewise.
  4762. * config/sh/sh.h: Likewise.
  4763. * config/sparc/sparc.h: Likewise.
  4764. * config/stormy16/stormy16.h: Likewise.
  4765. * config/vax/vax.h: Likewise.
  4766. 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
  4767. * function.c (push_temp_slots_for_block): Remove.
  4768. (push_temp_slots_for_target): Likewise.
  4769. (get_target_temp_slot_level): Likewise.
  4770. (set_target_temp_slot_level): Likewise.
  4771. (get_first_block_beg): Likewise.
  4772. * function.h: Remove corresponding prototypes.
  4773. 2002-09-23 Zack Weinberg <zack@codesourcery.com>
  4774. * version.c (version_string): Now const char[].
  4775. * version.h: Update to match.
  4776. 2002-09-23 Richard Henderson <rth@redhat.com>
  4777. * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
  4778. MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
  4779. (TARGET_SWITCHES): Don't reference them.
  4780. * config/i386/i386.c (override_options): Use target_flags_explicit
  4781. to examine bits set by the user.
  4782. 2002-09-23 Dale Johannesen <dalej@apple.com>
  4783. * dbxout.c (dbxout_parms): Set current_sym_code for params
  4784. passed on stack by invisible reference.
  4785. 2002-09-23 Richard Earnshaw <rearnsha@arm.com>
  4786. * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
  4787. at least one byte of space.
  4788. 2002-09-23 Mark Mitchell <mark@codesourcery.com>
  4789. * c-common.h (flag_abi_version): Fix typo in comment.
  4790. * doc/invoke.texi (flag_abi_version): Document default value.
  4791. 2002-09-23 Hans-Peter Nilsson <hp@axis.com>
  4792. * doc/extend.texi (Extended Asm): Clarify that overlap between
  4793. asm-declared register variables used in an asm and the asm clobber
  4794. list is not allowed.
  4795. * stmt.c (decl_conflicts_with_clobbers_p): New function.
  4796. (expand_asm_operands): Keep track of clobbered registers. Call
  4797. decl_conflicts_with_clobbers_p for each input and output operand.
  4798. If no conflicts found before, also do conflict sanity check when
  4799. emitting clobbers.
  4800. 2002-09-23 Richard Henderson <rth@redhat.com>
  4801. * c-common.c (cpp_define_data_format): Remove.
  4802. (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
  4803. __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
  4804. __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
  4805. * doc/cpp.texi: Don't document them either.
  4806. (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
  4807. __LONG_LONG_MAX__): Document.
  4808. (__TARGET_FLOAT_FORMAT__): Remove.
  4809. 2002-09-23 Richard Henderson <rth@redhat.com>
  4810. * real.c (do_multiply): Normalize U before addition.
  4811. 2002-09-23 Mark Mitchell <mark@codesourcery.com>
  4812. * c-common.c (flag_abi_version): New variable.
  4813. * c-common.h (flag_abi_version): Declare it.
  4814. * c-opts.c (missing_arg): Add -fabi-version.
  4815. (c_common_decode_option): Process -fabi-version.
  4816. * doc/invoke.texi (-fabi-version): Document it.
  4817. (-Wabi): Add information about bit-fields in unions.
  4818. 2002-09-22 Roger Sayle <roger@eyesopen.com>
  4819. * expr.c (STORE_BY_PIECES_P): New target macro.
  4820. (can_store_by_pieces, store_by_pieces): Use STORE_BY_PIECES_P
  4821. instead of MOVE_BY_PIECES_P.
  4822. * doc/tm.texi: Document this new macro.
  4823. 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
  4824. * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
  4825. unless -fno-pic or -fno-PIC is specified.
  4826. 2002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4827. * c-common.c (preprocessing_trad_p): Define.
  4828. * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
  4829. (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
  4830. * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
  4831. * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
  4832. * pa-linux.h (CPP_PREDEFINES): Delete.
  4833. (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
  4834. * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
  4835. * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
  4836. (TARGET_OS_CPP_BUILTINS): Define.
  4837. * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
  4838. (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
  4839. (SUBTARGET_SWITCHES): Provide default definition.
  4840. (TARGET_OPTIONS): Reformat. Use N_() macro.
  4841. (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
  4842. CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
  4843. EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
  4844. (TARGET_CPU_CPP_BUILTINS): Define.
  4845. (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
  4846. * doc/invoke.texi (msio, mwsio): Document new hppa options.
  4847. * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
  4848. preprocessing_trad_p().
  4849. 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
  4850. * doc/install.texi: Document behavior of --with-headers and
  4851. --with-libs when arguments are omitted.
  4852. 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>
  4853. * dbxout.c: Follow spelling conventions.
  4854. * defaults.h: Likewise.
  4855. * df.c: Likewise.
  4856. * diagnostic.h: Likewise.
  4857. * doloop.c: Likewise.
  4858. * dwarf2out.c: Likewise.
  4859. * dwarfout.c: Likewise.
  4860. * emit-rtl.c: Likewise.
  4861. * except.c: Likewise.
  4862. * explow.c: Likewise.
  4863. * expmed.c: Likewise.
  4864. * expr.c: Likewise.
  4865. * expr.h: Likewise.
  4866. * flags.h: Likewise.
  4867. * flow.c: Likewise.
  4868. * fold-const.c: Likewise.
  4869. * function.c: Likewise.
  4870. * function.h: Likewise.
  4871. * gcc.c: Likewise.
  4872. * gcov-io.h: Likewise.
  4873. * gcov.c: Likewise.
  4874. * gcse.c: Likewise.
  4875. * genattrtab.c: Likewise.
  4876. * genconfig.c: Likewise.
  4877. * genrecog.c: Likewise.
  4878. * ggc-page.c: Likewise.
  4879. * ggc.h: Likewise.
  4880. * global.c: Likewise.
  4881. * gthr-win32.h: Likewise.
  4882. * integrate.c: Likewise.
  4883. * jump.c: Likewise.
  4884. * langhooks.c: Likewise.
  4885. * langhooks.h: Likewise.
  4886. * line-map.h: Likewise.
  4887. * local-alloc.c: Likewise.
  4888. * longlong.h: Likewise.
  4889. * loop.c: Likewise.
  4890. * loop.h: Likewise.
  4891. Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka <jh@suse.cz>
  4892. * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
  4893. Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka <jh@suse.cz>
  4894. * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
  4895. for -Os/TARGET_64BIT too.
  4896. 2002-09-21 Kazu Hirata <kazu@cs.umass.edu>
  4897. * ChangeLog: Follow spelling conventions.
  4898. * ChangeLog.0: Likewise.
  4899. * ChangeLog.1: Likewise.
  4900. * ChangeLog.2: Likewise.
  4901. * ChangeLog.3: Likewise.
  4902. * ChangeLog.4: Likewise.
  4903. * ChangeLog.5: Likewise.
  4904. * ChangeLog.6: Likewise.
  4905. * FSFChangeLog.10: Likewise.
  4906. * FSFChangeLog.11: Likewise.
  4907. * alias.c: Likewise.
  4908. * basic-block.h: Likewise.
  4909. * c-aux-info.c: Likewise.
  4910. * c-common.c: Likewise.
  4911. * c-common.h: Likewise.
  4912. * c-decl.c: Likewise.
  4913. * c-format.c: Likewise.
  4914. * c-semantics.c: Likewise.
  4915. * c-typeck.c: Likewise.
  4916. * calls.c: Likewise.
  4917. * cfganal.c: Likewise.
  4918. * cfgloop.c: Likewise.
  4919. * collect2.c: Likewise.
  4920. * combine.c: Likewise.
  4921. * conflict.c: Likewise.
  4922. * cppexp.c: Likewise.
  4923. * cppfiles.c: Likewise.
  4924. * cpphash.h: Likewise.
  4925. * cppinit.c: Likewise.
  4926. * cpplex.c: Likewise.
  4927. * cpplib.c: Likewise.
  4928. * cpplib.h: Likewise.
  4929. * cppmacro.c: Likewise.
  4930. * cse.c: Likewise.
  4931. 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
  4932. * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
  4933. LINK_SPEC.
  4934. (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
  4935. * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
  4936. (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
  4937. 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
  4938. PR opt/7930
  4939. * cse.c (fold_rtx): Calculate old_cost before we fold each
  4940. operand.
  4941. 2002-09-21 Richard Henderson <rth@redhat.com>
  4942. * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
  4943. __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
  4944. __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
  4945. __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
  4946. __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
  4947. * doc/cpp.texi: Don't document them.
  4948. 2002-09-21 Richard Henderson <rth@redhat.com>
  4949. * c-common.c (builtin_define_float_constants): Use real_format
  4950. to get the floating-point parameters.
  4951. 2002-09-21 Richard Henderson <rth@redhat.com>
  4952. * real.c (struct real_format): Move to real.h.
  4953. (real_format_for_mode): Rename from fmt_for_mode; update all users;
  4954. initialize with ieee defaults.
  4955. (real_to_target_fmt, real_from_target_fmt): New.
  4956. (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
  4957. ieee_extended_intel_96_format, ieee_extended_intel_128_format,
  4958. ieee_quad_format, i370_single_format, i370_double_format,
  4959. c4x_single_format, c4x_extended_format): Rename from s/_format//.
  4960. (ieee_quad_format): Fix emin.
  4961. (format_for_size, init_real_once): Remove.
  4962. * real.h (struct real_format): Move from real.c.
  4963. (real_format_for_mode): Declare.
  4964. (real_to_target_fmt, real_from_target_fmt): Declare.
  4965. (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
  4966. ieee_extended_intel_96_format, ieee_extended_intel_128_format,
  4967. ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
  4968. i370_single_format, i370_double_format, c4x_single_format,
  4969. c4x_extended_format): Declare.
  4970. * toplev.c (do_compile): Don't call init_real_once.
  4971. * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
  4972. * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
  4973. * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
  4974. * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
  4975. * config/alpha/alpha.c (override_options): Set real_format_for_mode
  4976. for VAX, if enabled.
  4977. * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
  4978. for C4X.
  4979. * config/i370/i370.h (OVERRIDE_OPTIONS): New.
  4980. * config/i370/i370.c (override_options): New.
  4981. * config/i370/i370-protos.h: Update.
  4982. * config/i386/i386.c (override_options): Set real_format_for_mode
  4983. for Intel 80-bit extended.
  4984. * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
  4985. * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
  4986. (OVERRIDE_OPTIONS): Move code...
  4987. * config/i960/i960.c (i960_initialize): ... here. Set
  4988. real_format_for_mode for Intel 80-bit extended.
  4989. * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
  4990. for Intel 80-bit extended, if enabled.
  4991. * config/m68k/m68k.c (override_options): Set real_format_for_mode
  4992. for Motorola 96-bit extended.
  4993. * config/vax/vax.h (OVERRIDE_OPTIONS): New.
  4994. * config/vax/vax.c (override_options): New.
  4995. * config/vax/vax-protos.h: Update.
  4996. 2002-09-21 Alan Modra <amodra@bigpond.net.au>
  4997. * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
  4998. #if TARGET_MACHO.
  4999. * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
  5000. insns. Supply missing clobber of scratch reg.
  5001. 2002-09-20 Kazu Hirata <kazu@cs.umass.edu>
  5002. * config/m32r/m32r.c: Follow spelling conventions.
  5003. * config/m32r/m32r.h: Likewise.
  5004. * config/m32r/m32r.md: Likewise.
  5005. * config/m68k/m68k.c: Likewise.
  5006. * config/m88k/m88k.c: Likewise.
  5007. * config/mcore/mcore.c: Likewise.
  5008. * config/mips/mips.c: Likewise.
  5009. * config/mips/mips.h: Likewise.
  5010. * config/mmix/mmix.c: Likewise.
  5011. * config/mn10200/mn10200.c: Likewise.
  5012. * config/ns32k/ns32k.h: Likewise.
  5013. * config/pa/pa.c: Likewise.
  5014. * config/pa/pa64-linux.h: Likewise.
  5015. * config/pdp11/pdp11.h: Likewise.
  5016. * config/romp/romp.c: Likewise.
  5017. * config/romp/romp.h: Likewise.
  5018. * config/rs6000/eabi.asm: Likewise.
  5019. * config/rs6000/linux64.h: Likewise.
  5020. * config/rs6000/rs6000.c: Likewise.
  5021. * config/rs6000/rs6000.h: Likewise.
  5022. * config/rs6000/rs6000.md: Likewise.
  5023. * config/rs6000/sysv4.h: Likewise.
  5024. * config/rs6000/xcoff.h: Likewise.
  5025. 2002-09-20 Jim Wilson <wilson@redhat.com>
  5026. * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
  5027. 2002-09-20 Jakub Jelinek <jakub@redhat.com>
  5028. * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
  5029. * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
  5030. UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
  5031. (legitimate_address_p): Likewise.
  5032. (legitimize_address): Use @gotntpoff and @indntpoff.
  5033. (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
  5034. (output_addr_const_extra): Likewise.
  5035. 2002-09-20 Jim Wilson <wilson@redhat.com>
  5036. * combine.c (try_combine): When split an instruction pair, where the
  5037. first has a sign_extend src, verify that the src and dest modes match.
  5038. 2002-09-20 Richard Henderson <rth@redhat.com>
  5039. * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
  5040. (override_options): Do not initialize them.
  5041. (mips_const_double_ok): Allow no fp constants except zero,
  5042. and not even that for mips16.
  5043. (const_float_1_operand): Use dconst1.
  5044. * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
  5045. movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
  5046. Don't allow arbitrary constants; fix predicates and C constraint.
  5047. 2002-09-20 Neil Booth <neil@daikokuya.co.uk>
  5048. * cppmacro.c: Don't warn about function-like macros without
  5049. '(' during pre-expansion.
  5050. 2002-09-20 Jim Wilson <wilson@redhat.com>
  5051. * config/v850/v850.c (current_function_anonymous_args): Delete.
  5052. (expand_prologue): Use current_function_args_info.anonymous_args.
  5053. (expand_epilogue): Delete use of current_function_anonymous_args.
  5054. * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
  5055. (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
  5056. (current_function_anonymous_args): Delete extern declaration.
  5057. (SETUP_INCOMING_VARARGS): Set anonymous_args field.
  5058. 2002-09-20 Geoffrey Keating <geoffk@apple.com>
  5059. * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
  5060. to load_macho_picbase.
  5061. * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
  5062. (load_macho_picbase): Take the symbol to use as a parameter.
  5063. (macho_correct_pic): New insn.
  5064. (builtin_setjmp_reciever): On Darwin, restore the PIC register.
  5065. * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
  5066. RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
  5067. (CAN_ELIMINATE): Likewise.
  5068. (INITIAL_ELIMINATION_OFFSET): Likewise.
  5069. (TOC_REGISTER): Likewise.
  5070. 2002-09-20 Richard Henderson <rth@redhat.com>
  5071. * real.c (real_hash): New.
  5072. * real.h: Declare it.
  5073. * cse.c (canon_hash): Use it.
  5074. * cselib.c (hash_rtx): Likewise.
  5075. * emit-rtl.c (const_double_htab_hash): Likewise.
  5076. * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
  5077. * varasm.c (struct rtx_const): Reduce vector size; separate
  5078. integer and fp vectors.
  5079. (HASHBITS): Remove.
  5080. (const_hash_1): Rename from const_hash. Use real_hash. Do not
  5081. take modulus MAX_HASH_TABLE.
  5082. (const_hash): New. Do take modulus MAX_HASH_TABLE.
  5083. (output_constant_def): Do not take modulus MAX_HASH_TABLE.
  5084. (SYMHASH): Don't use HASHBITS.
  5085. (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
  5086. Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
  5087. (simplify_subtraction): Fix kind comparison.
  5088. (const_hash_rtx): Return unsigned int. Don't use HASHBITS.
  5089. Use a union to pun integer array.
  5090. * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
  5091. only hash two words of integral CONST_DOUBLE.
  5092. 2002-09-20 Steve Ellcey <sje@cup.hp.com>
  5093. * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
  5094. (STARTFILE_PREFIX_SPEC): New.
  5095. (LINK_SPEC): Modify.
  5096. (LIB_SPEC): Modify.
  5097. (LIBGCC_SPEC): New.
  5098. 2002-09-20 Jakub Jelinek <jakub@redhat.com>
  5099. * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
  5100. UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
  5101. 2002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  5102. * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
  5103. Add clobber of the condition code register.
  5104. 2002-09-20 Richard Henderson <rth@redhat.com>
  5105. * real.c (do_fix_trunc): Static.
  5106. (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
  5107. encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
  5108. encode_i370_single, encode_i370_double, encode_c4x_single,
  5109. encode_c4x_extended): Add default abort case.
  5110. 2002-09-20 Richard Henderson <rth@redhat.com>
  5111. * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
  5112. MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
  5113. (struct realvaluetype): Remove.
  5114. (REAL_VALUE_TYPE): Use struct real_value.
  5115. (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
  5116. (test_real_width): New.
  5117. * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
  5118. (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
  5119. (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
  5120. real_isneg, real_isnegzero, real_identical, exact_real_inverse,
  5121. real_to_integer, real_to_integer2, real_to_decimal,
  5122. real_to_hexadecimal, real_from_string, real_from_integer,
  5123. real_inf, real_nan, real_2expN, real_convert, real_to_target,
  5124. real_from_target): Likewise.
  5125. * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
  5126. * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
  5127. 2002-09-20 Richard Henderson <rth@redhat.com>
  5128. * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
  5129. IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
  5130. * defaults.h: ... here.
  5131. * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
  5132. config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
  5133. config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
  5134. config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
  5135. 2002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
  5136. * config/mmix/mmix.md ("negdf2"): Rewrite.
  5137. ("*expanded_negdf2"): New.
  5138. 2002-09-19 Jim Wilson <wilson@redhat.com>
  5139. * combine.c (simplify_set): When optimizing a subreg src with a
  5140. cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
  5141. 2002-09-19 Dale Johannesen <dalej@apple.com>
  5142. * combine.c (make_extraction): Don't create
  5143. invalid subreg.
  5144. 2002-09-19 Roger Sayle <roger@eyesopen.com>
  5145. * tree.c (integer_nonzerop): New predicate for nonzero integers.
  5146. * tree.h (integer_nonzerop): Add function prototype.
  5147. * stmt.c (expand_end_loop): Don't rotate the loop when there
  5148. are no instructions in the test, i.e. the loop is unconditional.
  5149. (expand_exit_loop_if_false): Optimize RTL generation of loop
  5150. tests when the condition is always true or always false.
  5151. * c-semantics.c (genrtl_do_stmt): Optimize RTL generation of
  5152. do-loops when the condition is always true.
  5153. (genrtl_for_stmt): Optimize RTL generation of for-loops when
  5154. the for-expression is empty.
  5155. 2002-09-19 Zack Weinberg <zack@codesourcery.com>
  5156. * gcc.c (use_pipes): New flag.
  5157. (process_command): Set it. Adjust check for -pipe conflicting
  5158. with -time or -save-temps.
  5159. (do_spec_1): Use it. Handle %|SUFFIX, %mSUFFIX, and
  5160. %<SWITCH. Drop %| (without a SUFFIX).
  5161. (handle_braces): Drop %{<SWITCH}, %{^SWITCH}, %{|...}.
  5162. (give_switch): Third argument eliminated.
  5163. (invoke_as, @assembler_with_cpp spec): Use %|.s or %m.s
  5164. depending on AS_NEEDS_DASH_FOR_PIPED_INPUT.
  5165. (specs documentation comment): Update.
  5166. * config/netbsd-aout.h, config/openbsd.h, config/ptx4.h,
  5167. config/svr4.h, config/i386/freebsd-aout.h,
  5168. config/m68k/netbsd-elf.h, config/m68k/netbsd.h,
  5169. config/m68k/openbsd.h, config/mips/openbsd.h,
  5170. config/sparc/sparc.h: Define AS_NEEDS_DASH_FOR_PIPED_INPUT
  5171. instead of putting %| into ASM_SPEC and/or ASM_FINAL_SPEC.
  5172. * config/avr/avr.h: Delete do-nothing ASM_FINAL_SPEC.
  5173. * config/cris/cris.h: Update comment.
  5174. * ada/lang-specs.h: Use %(invoke_as). Straighten out
  5175. error messages. Don't use %{^SWITCH}.
  5176. * ada/misc.c (gnat_decode_option): Handle -I with a
  5177. separate argument.
  5178. * f/lang-specs.h: Use %| and %m.
  5179. * java/jvspec.c: Use %m and %(invoke_as). Change all
  5180. uses of %{<SWITCH} to %<SWITCH.
  5181. * doc/invoke.texi: Update documentation of specs.
  5182. * doc/tm.texi: Document AS_NEEDS_DASH_FOR_PIPED_INPUT.
  5183. 2002-09-19 Ulrich Weigand <uweigand@de.ibm.com>
  5184. * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
  5185. and STRICT_LOW_PART within SET_DEST.
  5186. * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
  5187. splitters, replacing pre-reload splitters.
  5188. ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
  5189. "*zero_extendqihi2_31"): New insns.
  5190. ("*zero_extendqihi2_64"): Do not clobber CC.
  5191. 2002-09-18 Devang Patel <dpatel@apple.com>
  5192. * cp/cp-tree.h: New prototype for walk_vtables().
  5193. * cp/decl.c (walk_vtables_r): New function.
  5194. (struct cp_binding_level): Add new members, namespaces,
  5195. names_size and vtables.
  5196. (add_decl_to_level): Add decl in namespaces or vtables
  5197. chain, if conditions match.
  5198. (walk_vtables): New function.
  5199. (walk_namespaces_r): Travers separate namespace chain
  5200. for namespace decls.
  5201. (wrapup_globals_for_namespace): Use names_size instead
  5202. of list_length().
  5203. * cp/decl2.c (finish_file): Use walk_vtables() instead of
  5204. walk_globals() to walk vtable decls.
  5205. 2002-09-19 Steve Ellcey <sje@cup.hp.com>
  5206. * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
  5207. (DTORS_SECTION_ASM_OP): Ditto.
  5208. (READONLY_DATA_SECTION_ASM_OP): Moved.
  5209. (DATA_SECTION_ASM_OP): New.
  5210. (SDATA_SECTION_ASM_OP): New.
  5211. (BSS_SECTION_ASM_OP): New.
  5212. (SBSS_SECTION_ASM_OP): New.
  5213. (TEXT_SECTION_ASM_OP): New.
  5214. 2002-09-19 Kazu Hirata <kazu@cs.umass.edu>
  5215. * config/fp-bit.c: Follow spelling conventions.
  5216. * config/d30v/d30v.c: Likewise.
  5217. * config/d30v/d30v.h: Likewise.
  5218. * config/fr30/fr30.c: Likewise.
  5219. * config/fr30/fr30.h: Likewise.
  5220. * config/fr30/fr30.md: Likewise.
  5221. * config/frv/frv.c: Likewise.
  5222. * config/frv/frv.h: Likewise.
  5223. * config/h8300/h8300.c: Likewise.
  5224. * config/h8300/lib1funcs.asm: Likewise.
  5225. * config/i370/i370.c: Likewise.
  5226. * config/i386/i386.h: Likewise.
  5227. * config/i386/i386.md: Likewise.
  5228. * config/i386/pentium.md: Likewise.
  5229. * config/i386/winnt.c: Likewise.
  5230. * config/i960/i960.c: Likewise.
  5231. * config/ia64/ia64.h: Likewise.
  5232. * config/ip2k/ip2k.c: Likewise.
  5233. * config/ip2k/ip2k.h: Likewise.
  5234. * config/ip2k/ip2k.md: Likewise.
  5235. * config/ip2k/libgcc.S: Likewise.
  5236. 2002-09-19 Stephen Clarke <stephen.clarke@superh.com>
  5237. * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
  5238. (GOTOFF_P): Extend to allow gotoff plus constant.
  5239. 2002-09-18 Richard Henderson <rth@redhat.com>
  5240. * ifcvt.c (noce_process_if_block): Correctly detect X modified
  5241. with INSN_B before COND_EARLIEST. Don't check A and B for
  5242. modification in condition range. Reorder INSN_B for A==B properly.
  5243. (if_convert): Iterate until no matches for a block.
  5244. 2002-09-18 Richard Henderson <rth@redhat.com>
  5245. * calls.c (store_one_arg): Rename default_align to parm_align;
  5246. always adjust parm_align for downward padding.
  5247. 2002-09-18 Richard Henderson <rth@redhat.com>
  5248. * toplev.c (backend_init): Move init_real_once invocation ...
  5249. (do_compile): ... here.
  5250. 2002-09-18 Richard Henderson <rth@redhat.com>
  5251. * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
  5252. RTX_UNCHANGING_P markers for successful tail-recursive replacement.
  5253. 2002-09-18 Richard Henderson <rth@redhat.com>
  5254. * real.c (round_for_format): Collect sticky as unsigned long, not bool.
  5255. 2002-09-19 Alan Modra <amodra@bigpond.net.au>
  5256. * config/rs6000/rs6000.md: (floatdisf2): Rename to
  5257. floatdisf2_internal1.
  5258. (floatdisf2): New define_expand.
  5259. (floatdisf2_internal2): Likewise.
  5260. 2002-09-18 Richard Henderson <rth@redhat.com>
  5261. * real.c (sticky_rshift_significand): Collect sticky as
  5262. unsigned long, not bool.
  5263. 2002-09-18 Ulrich Weigand <uweigand@de.ibm.com>
  5264. * config/s390/s390.c (s390_address_cost): New function.
  5265. config/s390/s390-protos.h (s390_address_cost): Add prototype.
  5266. config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
  5267. (RTX_COST): Use COSTS_N_INSNS.
  5268. 2002-09-18 Douglas Rupp <rupp@gnat.com>
  5269. Donn Terry <donnte@microsoft.com>
  5270. * stor-layout.c (place_field): Handle alignment of whole
  5271. structures when MSVC compatible bitfields are involved.
  5272. Change method of computing location of MS bitfields to
  5273. be compatible with #pragma pack(n).
  5274. * tree.h (record_layout_info): Add new field
  5275. remaining_in_alignment.
  5276. * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
  5277. (pragma pack): Add paragraph on MSVC bitfield packing.
  5278. 2002-09-18 Richard Earnshaw (reanrsha@arm.com)
  5279. PR optimization/7967
  5280. * arm.md (ne_zeroextractsi): Add clobber of the condition code
  5281. register.
  5282. 2002-09-18 Kazu Hirata <kazu@cs.umass.edu>
  5283. * config/s390/s390.c: Follow spelling conventions.
  5284. * config/sh/lib1funcs.asm: Likewise.
  5285. * config/sh/sh.c: Likewise.
  5286. * config/sh/sh.h: Likewise.
  5287. * config/sparc/sparc.c: Likewise.
  5288. * config/sparc/sparc.h: Likewise.
  5289. * config/sparc/sparc.md: Likewise.
  5290. * config/stormy16/stormy16.c: Likewise.
  5291. * config/stormy16/stormy16.h: Likewise.
  5292. * config/v850/v850.c: Likewise.
  5293. * config/v850/v850.h: Likewise.
  5294. * config/vax/vax.c: Likewise.
  5295. * config/vax/vax.h: Likewise.
  5296. 2002-09-18 Nick Clifton <nickc@redhat.com>
  5297. * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
  5298. * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
  5299. * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
  5300. 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
  5301. * function.c (max_parm_reg_num): Remove.
  5302. * stmt.c (in_control_zone_p, stmt_loop_nest_empty,
  5303. drop_through_at_end_p, move_cleanups_up,
  5304. expand_end_case_dummy, case_index_expr_type): Likewise.
  5305. * stor-layout.c (pos_from_byte): Likewise.
  5306. * tree.c (chain_member_value, chain_member_purpose, listify,
  5307. tree_int_cst_msb, index_type_equal): Likewise.
  5308. * tree.h: Remove prototypes for unused functions.
  5309. 2002-09-17 Zack Weinberg <zack@codesourcery.com>
  5310. * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
  5311. statement that the only translation is to en_UK.
  5312. 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
  5313. * config/alpha/alpha.c: Follow spelling conventions.
  5314. * config/alpha/alpha.h: Likewise.
  5315. * config/alpha/alpha.md: Likewise.
  5316. * config/arc/arc.h: Likewise.
  5317. * config/arm/arm.c: Likewise.
  5318. * config/arm/arm.h: Likewise.
  5319. * config/arm/arm.md: Likewise.
  5320. * config/arm/pe.c: Likewise.
  5321. * config/arm/unknown-elf.h: Likewise.
  5322. * config/avr/avr.c: Likewise.
  5323. * config/avr/avr.h: Likewise.
  5324. * config/c4x/c4x.c: Likewise.
  5325. * config/cris/cris.c: Likewise.
  5326. * config/cris/cris.h: Likewise.
  5327. 2002-09-17 Samuel Figueroa <figueroa@apple.com>
  5328. * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
  5329. * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
  5330. * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
  5331. 2002-09-17 Dale Johannesen <dalej@apple.com>
  5332. * cfgcleanup.c (try_forward_edges): Do not forward a
  5333. branch to just after a loop exit before loop optimization;
  5334. this interfered with doloop detection.
  5335. 2002-09-17 Nick Clifton <nickc@redhat.com>
  5336. * config/arm/arm.c (output_return_instruction): Do not
  5337. writeback the stack pointer when it is being loaded.
  5338. (arm_output_epilogue): Likewise.
  5339. 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
  5340. * optabs.c (prepare_cmp_insn): Let emit_library_call_value
  5341. generate a pseudo reg that receives the result of a libcall.
  5342. (prepare_float_lib_cmp): Likewise.
  5343. 2002-09-17 Steve Ellcey <sje@cup.hp.com>
  5344. * config/ia64/elf.h: Remove CPP_PREDEFINES.
  5345. Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
  5346. Fix PR/7014 and related objc bugs:
  5347. * c-typeck.c (comp_target_types): Added a reflexive argument.
  5348. Pass it to ObjC when/if calling objc_comptypes(). Updated all
  5349. callers to provide the appropriate reflexive argument.
  5350. * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
  5351. typechecking for all cases of comparisons and assignments,
  5352. particularly the obscure and less common ones involving protocols.
  5353. 2002-09-17 Nick Clifton <nickc@redhat.com>
  5354. * machmode.def (V1DImode): New mode. A single element vector.
  5355. * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
  5356. (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
  5357. * tree.c (build_common_tree_nodes_2): Build
  5358. unsigned_V1DI_type_node and V1D1_type_node.
  5359. * c-common.c (c_common_type_for_mode): Return
  5360. unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
  5361. * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
  5362. Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
  5363. * doc/objc.texi (Constant string objects): Extended documentation
  5364. to make clear that the constant string class ivar layout is
  5365. completely fixed.
  5366. 2002-09-17 Roger Sayle <roger@eyesopen.com>
  5367. * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
  5368. NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
  5369. 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  5370. * config/mips/mips.c (save_restore_insns): Remove unused variable.
  5371. * gcc.c (make_relative_prefix): Likewise.
  5372. * loop.c (check_final_value): Likewise.
  5373. * jump.c (init_label_info): Remove return value.
  5374. * cse.c (prev_insn): Move variable between #ifdef HAVE_cc0 ... #endif.
  5375. 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5376. * dsp16xx.h (ASM_FORMAT_PRIVATE_NAME): Delete.
  5377. (ASM_PN_FORMAT): Define.
  5378. 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5379. * alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h,
  5380. c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h,
  5381. i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h,
  5382. m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h,
  5383. m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
  5384. pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h,
  5385. stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME):
  5386. Delete.
  5387. * alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h,
  5388. m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h,
  5389. mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define.
  5390. * defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define.
  5391. * doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation.
  5392. 2002-09-16 Richard Henderson <rth@redhat.com>
  5393. * expr.c (emit_block_move): Set memory block size as appropriate
  5394. for the copy.
  5395. 2002-09-16 Richard Henderson <rth@redhat.com>
  5396. PR fortran/3924
  5397. * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
  5398. 2002-09-16 Richard Henderson <rth@redhat.com>
  5399. * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
  5400. as well as OFFSET for BITPOS.
  5401. 2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com>
  5402. * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
  5403. * config/i386/i386.c (processor_alias_table): Add winchip-c6,
  5404. winchip2 and c3.
  5405. * doc/invoke.texi: Mention new aliases.
  5406. 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
  5407. * calls.c (store_one_arg): Set default alignment for BLKmode arguments
  5408. to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
  5409. downward.
  5410. * function.c (pad_below): Always compile.
  5411. (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
  5412. alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
  5413. Pad below when the argument is not in a register and the padding
  5414. direction is downward.
  5415. * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
  5416. (PAD_VARARGS_DOWN): Define.
  5417. * pa.c (function_arg_padding): Revise padding directions to make them
  5418. compatible with the 32 and 64-bit runtime architecture documentation.
  5419. (hppa_va_arg): Add code to handle variable and size zero arguments
  5420. passed by reference on TARGET_64BIT. Reformat.
  5421. (function_arg): Use a PARALLEL for BLKmode and aggregates args on
  5422. TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
  5423. wide when !TARGET_64BIT. Move forward check for mode==VOIDmode.
  5424. Add comments.
  5425. * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
  5426. (RETURN_IN_MEMORY): Return size zero types in memory.
  5427. (FUNCTION_VALUE): Return TFmode in general registers.
  5428. (MUST_PASS_IN_STACK): Define.
  5429. (FUNCTION_ARG_BOUNDARY): Simplify.
  5430. (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
  5431. by reference.
  5432. (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
  5433. 2002-09-16 Richard Henderson <rth@redhat.com>
  5434. * real.c (do_fix_trunc): New.
  5435. (real_arithmetic): Call it.
  5436. * simplify-rtx.c (simplify_unary_operation): Handle FIX
  5437. with a floating-point result mode.
  5438. 2002-09-16 Richard Henderson <rth@redhat.com>
  5439. * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
  5440. (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
  5441. * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
  5442. (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
  5443. * builtins.c (fold_builtin_nan): New.
  5444. (fold_builtin): Call it.
  5445. * real.c (real_nan): Parse a non-empty string.
  5446. (round_for_format): Fix NaN significand truncation.
  5447. * real.h (real_nan): Return bool.
  5448. * doc/extend.texi: Document new builtins.
  5449. 2002-09-16 Jason Merrill <jason@redhat.com>
  5450. Danny Smith <dannysmith@users.sourceforge.net>
  5451. * config/i386/winnt.c (ix86_handle_dll_attribute): Set
  5452. DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
  5453. (i386_pe_mark_dllimport): Not here.
  5454. 2002-09-16 Nathan Sidwell <nathan@codesourcery.com>
  5455. * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
  5456. 2002-09-16 Geoffrey Keating <geoffk@redhat.com>
  5457. * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
  5458. warnings about unused operands when HOST_BITS_PER_WIDE_INT is
  5459. < 64.
  5460. (rs6000_emit_cmove): Use real_isinf not target_isinf.
  5461. 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
  5462. * calls.c (emit_library_call_value_1): Don't refer to
  5463. hard_libcall_value.
  5464. * optabs.c (prepare_float_lib_cmp): Likewise.
  5465. 2002-09-16 Geoffrey Keating <geoffk@apple.com>
  5466. * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
  5467. mangling.
  5468. The following changes are merged from pch-branch:
  5469. * doc/gty.texi (GTY Options): Document %a.
  5470. * gengtype.c (do_scalar_typedef): New function.
  5471. (process_gc_options): Handle `length' option.
  5472. (set_gc_used_type): A pointer to an array of structures doesn't
  5473. qualify as a pointer to a structure.
  5474. (output_escaped_param): Add `%a' escape.
  5475. (write_gc_structure_fields): Allow 'desc' on array of unions.
  5476. (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
  5477. do_scalar_typedef.
  5478. * gengtype.c (enum rtx_code): Make global.
  5479. (rtx_format): Make global.
  5480. (rtx_next): New.
  5481. (gen_rtx_next): New.
  5482. (write_rtx_next): New.
  5483. (adjust_field_rtx_def): Skip fields marked by chain_next.
  5484. (open_base_files): Delete redundant prototype.
  5485. (write_enum_defn): New.
  5486. (output_mangled_typename): Correct abort call.
  5487. (write_gc_marker_routine_for_structure): Handle chain_next and
  5488. chain_prev options.
  5489. (finish_root_table): Don't output redundant \n.
  5490. (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
  5491. * c-tree.h (union lang_tree_node): Add chain_next option.
  5492. * gengtype.h (NUM_PARAM): New definition.
  5493. (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
  5494. * gengtype.c (find_param_structure): New.
  5495. (adjust_field_type): Handle param<n>_is option.
  5496. (process_gc_options): Detect use_params option. Update callers.
  5497. (set_gc_used_type): Add 'param' parameter, update callers. Handle
  5498. 'use_params' option.
  5499. (open_base_files): Add splay-tree.h to list of files included.
  5500. (output_mangled_typename): New.
  5501. (write_gc_structure_fields): Update 'param' parameter to support
  5502. multiple parameters. Change name mangling. Allow parameterized
  5503. fields to have an apparent scalar type. Handle param<n>_is options,
  5504. use_param option.
  5505. (write_gc_marker_routine_for_structure): Update for change to name
  5506. mangling. Better guess the output file for parameterized types.
  5507. (write_gc_types): Update for change to name mangling.
  5508. (write_gc_root): Update for change to name mangling. Handle (ignore)
  5509. param<n>_is options.
  5510. * doc/gty.texi (GTY Options): Add description of param<n>_is
  5511. options, use_params option.
  5512. * ggc.h (ggc_mark_rtx): Update for changed name mangling.
  5513. * gengtype-lex.l: Produce token for param<n>_is.
  5514. * gengtype-yacc.y: Parse param<n>_is.
  5515. * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
  5516. * rtl.c: Update comment describing rtx_format.
  5517. * rtl.h (union rtunion): Separate definition and typedef.
  5518. (struct rtx_def): Use gengtype to mark.
  5519. * Makefile.in (gengtype.o): Also depend on rtl.def.
  5520. * ggc.h (ggc_mark_rtx_children): Delete prototype.
  5521. (ggc_mark_rtx): Change to alias of gengtype-generated routine.
  5522. * ggc-common.c (ggc_mark_rtx_children): Delete.
  5523. (ggc_mark_rtx_children_1): Delete.
  5524. (gt_ggc_m_rtx_def): Delete.
  5525. * gengtype.c (adjust_field_rtx_def): New.
  5526. (adjust_field_type): Call adjust_field_rtx_def.
  5527. (write_gc_structure_fields): Add 'default' case to switch if none
  5528. is specified; remove unused code.
  5529. * tree.h (struct tree_exp): Update for change to meaning
  5530. of special.
  5531. * gengtype.c (adjust_field_tree_exp): New function.
  5532. (adjust_field_type): Handle `tree_exp' special here.
  5533. (write_gc_structure_fields): Don't handle `tree_exp' special here.
  5534. Handle new `dot' option.
  5535. * gengtype.h: Make `info' a pointer-to-const.
  5536. * gengtype-yacc.y (yacc_ids): Use xasprintf.
  5537. * gengtype.c (write_gc_structure_fields): Remove implementation
  5538. of `always' option, add `default' option.
  5539. * doc/gty.texi (GTY Options): Remove documentation of `always',
  5540. add `default'.
  5541. 2002-09-16 Hans-Peter Nilsson <hp@bitrange.com>
  5542. * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
  5543. 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5544. * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
  5545. * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
  5546. instead of the *-protos.h file directly.
  5547. * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
  5548. * darwin.c (machopic_output_stub): Move prototype ...
  5549. * darwin-protos.h (machopic_output_stub): ... here.
  5550. * rs6000-protos.h (machopic_output_stub): Don't declare.
  5551. 2002-09-16 Richard Henderson <rth@redhat.com>
  5552. * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
  5553. 2002-09-16 Richard Henderson <rth@redhat.com>
  5554. * real.c, real.h: Rewrite from scratch.
  5555. * Makefile.in (simplify-rtx.o): Depend on TREE_H.
  5556. (paranoia): New target.
  5557. * builtins.c (fold_builtin_inf): Use new real.h interface.
  5558. * c-common.c (builtin_define_with_hex_fp_value): Likewise.
  5559. * c-lex.c (interpret_float): Likewise.
  5560. * emit-rtl.c (gen_lowpart_common): Likewise.
  5561. * optabs.c (expand_float): Use real_2expN.
  5562. * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
  5563. * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
  5564. (FLOAT_WORDS_BIG_ENDIAN): New.
  5565. * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
  5566. directly to REAL_VALUE_NEGATIVE.
  5567. * loop.c (canonicalize_condition): Likewise.
  5568. * simplify-rtx.c: Include tree.h.
  5569. (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
  5570. with floating-point result modes.
  5571. * toplev.c (backend_init): Call init_real_once.
  5572. * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
  5573. * tree.c (build_real): Likewise.
  5574. * config/alpha/alpha.c, config/vax/vax.c (float_strings,
  5575. float_values, inited_float_values, check_float_value): Remove.
  5576. * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
  5577. config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
  5578. * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
  5579. (VAX_HALFWORD_ORDER): Remove.
  5580. 2002-09-16 Ulrich Weigand <uweigand@de.ibm.com>
  5581. * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
  5582. (s390_load_address): ... this new function.
  5583. (s390_decompose_address): Allow the argument pointer and all
  5584. virtual registers as 'pointer' registers.
  5585. (s390_expand_plus_operand): Use s390_load_address.
  5586. config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
  5587. ("force_la_31"): New insn pattern.
  5588. config/s390/s390-protos.h (legitimize_la_operand): Remove.
  5589. (s390_load_address): Add prototype.
  5590. * config/s390/s390.c: Include "optabs.h".
  5591. (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
  5592. config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
  5593. s390_expand_cmpstr): Add prototypes.
  5594. config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
  5595. ("movstrdi_short"): Rename to "movstr_short_64". Change predicates
  5596. for operands 0 and 1 to "memory_operand". Add type attribute.
  5597. ("movstrsi_short"): Rename to "movstr_short_31". Change predicates
  5598. for operands 0 and 1 to "memory_operand". Add type attribute.
  5599. ("movstrdi_long", "movstrsi_long"): Remove.
  5600. ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
  5601. ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
  5602. ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
  5603. ("clrstrsico"): Remove, replace by ...
  5604. ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
  5605. ("clrstrsi_64"): Rename to "clrstr_long_64".
  5606. ("clrstrsi_31"): Rename to "clrstr_long_31".
  5607. ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
  5608. ("cmpstr_const"): Remove, replace by ...
  5609. ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
  5610. ("cmpstr_64"): Rename to "cmpstr_long_64".
  5611. ("cmpstr_31"): Rename to "cmpstr_long_31".
  5612. 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
  5613. * ABOUT-NLS: Follow spelling conventions.
  5614. * ChangeLog: Likewise.
  5615. * ChangeLog.1: Likewise.
  5616. * ChangeLog.2: Likewise.
  5617. * ChangeLog.3: Likewise.
  5618. * ChangeLog.4: Likewise.
  5619. * ChangeLog.5: Likewise.
  5620. * ChangeLog.6: Likewise.
  5621. * FSFChangeLog.10: Likewise.
  5622. * FSFChangeLog.11: Likewise.
  5623. * c-common.c: Likewise.
  5624. * c-lex.c: Likewise.
  5625. * c-objc-common.c: Likewise.
  5626. * cppexp.c: Likewise.
  5627. * cppinit.c: Likewise.
  5628. * cpplex.c: Likewise.
  5629. * doloop.c: Likewise.
  5630. * flow.c: Likewise.
  5631. * function.c: Likewise.
  5632. * integrate.c: Likewise.
  5633. * loop.c: Likewise.
  5634. * reg-stack.c: Likewise.
  5635. * reload.h: Likewise.
  5636. * ssa.c: Likewise.
  5637. 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5638. * Makefile.in (vmsdbgout.o): Depend on $(TARGET_H)
  5639. * vmsdbgout.c: Include "target.h".
  5640. 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
  5641. * ChangeLog: Follow spelling conventions.
  5642. * ChangeLog.0: Likewise.
  5643. * ChangeLog.1: Likewise.
  5644. * ChangeLog.2: Likewise.
  5645. * ChangeLog.4: Likewise.
  5646. * ChangeLog.6: Likewise.
  5647. * config.gcc: Likewise.
  5648. * dwarfout.c: Likewise.
  5649. * reload1.c: Likewise.
  5650. * simplify-rtx.c: Likewise.
  5651. * unwind-sjlj.c: Likewise.
  5652. * config/avr/avr.h: Likewise.
  5653. * config/d30v/d30v.h: Likewise.
  5654. * config/frv/frv.c: Likewise.
  5655. * config/frv/frv.h: Likewise.
  5656. * config/ip2k/ip2k.h: Likewise.
  5657. * config/m88k/m88k-move.sh: Likewise.
  5658. * config/stormy16/stormy16.c: Likewise.
  5659. * config/stormy16/stormy16.h: Likewise.
  5660. * doc/extend.texi: Likewise.
  5661. * doc/interface.texi: Likewise.
  5662. * doc/invoke.texi: Likewise.
  5663. * doc/md.texi: Likewise.
  5664. * doc/rtl.texi: Likewise.
  5665. * doc/tm.texi: Likewise.
  5666. * doc/trouble.texi: Likewise.
  5667. * ginclude/float.h: Likewise.
  5668. * treelang/treelang.texi: Likewise.
  5669. 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5670. * i386-protos.h (i386_pe_dllexport_name_p,
  5671. i386_pe_dllimport_name_p, i386_pe_unique_section,
  5672. i386_pe_declare_function_type, i386_pe_record_external_function,
  5673. i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
  5674. prototype.
  5675. * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
  5676. * i386/t-interix (winnt.o): Likewise.
  5677. * v850-protos.h (v850_output_addr_const_extra): Prototype.
  5678. 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
  5679. * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
  5680. MIPS ABI CPP macros.
  5681. (TARGET_CPU_CPP_BUILTINS): Redefine.
  5682. (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
  5683. (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
  5684. 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5685. * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
  5686. 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
  5687. * ChangeLog: Follow spelling conventions.
  5688. * ChangeLog.0: Likewise.
  5689. * ChangeLog.1: Likewise.
  5690. * ChangeLog.2: Likewise.
  5691. * ChangeLog.3: Likewise.
  5692. * ChangeLog.4: Likewise.
  5693. * ChangeLog.5: Likewise.
  5694. * ChangeLog.6: Likewise.
  5695. * FSFChangeLog.10: Likewise.
  5696. * FSFChangeLog.11: Likewise.
  5697. * c-common.c: Likewise.
  5698. * c-common.h: Likewise.
  5699. * c-format.c: Likewise.
  5700. * c-opts.c: Likewise.
  5701. * cpplib.c: Likewise.
  5702. * langhooks.h: Likewise.
  5703. * real.c: Likewise.
  5704. * reg-stack.c: Likewise.
  5705. * toplev.c: Likewise.
  5706. * config/arm/arm.c: Likewise.
  5707. * config/arm/arm.md: Likewise.
  5708. * config/arm/linux-gas.h: Likewise.
  5709. * config/arm/netbsd.h: Likewise.
  5710. * config/c4x/c4x.c: Likewise.
  5711. * config/c4x/c4x.h: Likewise.
  5712. * config/c4x/c4x.md: Likewise.
  5713. * config/c4x/libgcc.S: Likewise.
  5714. * config/fr30/fr30.md: Likewise.
  5715. * config/frv/frv.md: Likewise.
  5716. * config/ia64/ia64.md: Likewise.
  5717. * config/mips/mips.h: Likewise.
  5718. * config/mn10300/mn10300.c: Likewise.
  5719. * config/stormy16/stormy16.c: Likewise.
  5720. * config/v850/v850.md: Likewise.
  5721. * doc/extend.texi: Likewise.
  5722. * doc/invoke.texi: Likewise.
  5723. * doc/md.texi: Likewise.
  5724. 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
  5725. * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
  5726. library if -pthread is specified.
  5727. 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
  5728. * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
  5729. for --enable-threads=yes and --enable-threads=posix.
  5730. 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
  5731. * config/sparc/cypress.md: Replace Sparc with SPARC.
  5732. * config/sparc/freebsd.h: Likewise.
  5733. * config/sparc/gmon-sol2.c: Likewise.
  5734. * config/sparc/hypersparc.md: Likewise.
  5735. * config/sparc/lb1spc.asm: Likewise.
  5736. * config/sparc/lb1spl.asm: Likewise.
  5737. * config/sparc/linux.h: Likewise.
  5738. * config/sparc/linux64.h: Likewise.
  5739. * config/sparc/lynx.h: Likewise.
  5740. * config/sparc/sol2.h: Likewise.
  5741. * config/sparc/sparc-modes.def: Likewise.
  5742. * config/sparc/sparc.c: Likewise.
  5743. * config/sparc/sparc.h: Likewise.
  5744. * config/sparc/sparc.md: Likewise.
  5745. * config/sparc/sparclet.md: Likewise.
  5746. * config/sparc/supersparc.md: Likewise.
  5747. * config/sparc/sysv4.h: Likewise.
  5748. * config/sparc/vxsim.h: Likewise.
  5749. * config/sparc/vxsparc64.h: Likewise.
  5750. 2002-09-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  5751. * c-lex.c (cb_ident): Mark variable with ATTRIBUTE_UNUSED.
  5752. * collect2.c (ignore_library, aix_std_libs): Move into the context
  5753. where it is used.
  5754. * m68hc11.c (m68hc11_autoinc_compatible_p): Delete prototype.
  5755. (autoinc_mode, m68hc11_make_autoinc_notes): Add prototypes.
  5756. * m88k.c (output_call): Wrap variables with macro controlling use.
  5757. * rs6000.md: Likewise. Const-ify variable.
  5758. * sh.h (ASM_OUTPUT_LABELREF): Likewise.
  5759. * final.c (only_leaf_regs_used): Likewise.
  5760. * regrename.c (maybe_mode_change): Mark parameter with
  5761. ATTRIBUTE_UNUSED.
  5762. * reload.c (find_valid_class): Likewise. Likewise for variable.
  5763. (find_reloads_address_1): Likewise.
  5764. * varasm.c (weak_finish): Wrap variable with macro controlling use.
  5765. 2002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl>
  5766. * config/avr/avr.c (output.h): Move after inclusion of tree.h.
  5767. 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
  5768. * ChangeLog: Follow spelling conventions.
  5769. * ChangeLog.0: Likewise.
  5770. * ChangeLog.2: Likewise.
  5771. * ChangeLog.3: Likewise.
  5772. * ChangeLog.4: Likewise.
  5773. * ChangeLog.5: Likewise.
  5774. * ChangeLog.6: Likewise.
  5775. * cppfiles.c: Likewise.
  5776. * cppinit.c: Likewise.
  5777. * cpplib.h: Likewise.
  5778. * cse.c: Likewise.
  5779. * debug.h: Likewise.
  5780. * df.c: Likewise.
  5781. * dominance.c: Likewise.
  5782. * hashtable.c: Likewise.
  5783. * hashtable.h: Likewise.
  5784. * loop.c: Likewise.
  5785. * config/arm/README-interworking: Likewise.
  5786. * config/arm/arm.c: Likewise.
  5787. * config/arm/arm.h: Likewise.
  5788. * config/arm/arm.md: Likewise.
  5789. * config/dsp16xx/dsp16xx.h: Likewise.
  5790. * config/frv/frv.c: Likewise.
  5791. * config/frv/frv.h: Likewise.
  5792. * config/ip2k/ip2k.h: Likewise.
  5793. * config/rs6000/rs6000.c: Likewise.
  5794. * config/stormy16/stormy-abi: Likewise.
  5795. * config/stormy16/stormy16.h: Likewise.
  5796. * config/v850/v850.c: Likewise.
  5797. 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
  5798. * loop.c: Fix a comment typo.
  5799. 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
  5800. * config/fr30/fr30.h: Fix comment typos.
  5801. * config/frv/frv.c: Likewise.
  5802. * config/i386/xmmintrin.h: Likewise.
  5803. * config/mips/mips.c: Likewise.
  5804. * config/sh/sh.c: Likewise.
  5805. 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
  5806. * haifa-sched.c: Follow spelling conventions.
  5807. * regclass.c: Likewise.
  5808. * regrename.c: Likewise.
  5809. * config/fp-bit.c: Likewise.
  5810. * config/frv/frv.h: Likewise.
  5811. * config/m88k/m88k.c: Likewise.
  5812. * config/mcore/mcore.c: Likewise.
  5813. * config/rs6000/darwin.h: Likewise.
  5814. * config/rs6000/gnu.h: Likewise.
  5815. * config/rs6000/linux.h: Likewise.
  5816. * config/rs6000/linux64.h: Likewise.
  5817. * config/rs6000/rs6000.c: Likewise.
  5818. * config/rs6000/rs6000.h: Likewise.
  5819. * config/sh/sh.c: Likewise.
  5820. * config/sparc/sparc.c: Likewise.
  5821. * config/sparc/ultra1_2.md: Likewise.
  5822. 2002-09-14 Stephane Carrez <stcarrez@nerim.fr>
  5823. * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
  5824. memory operand when source is 0 (K constraint).
  5825. ("movsi_internal"): Likewise.
  5826. ("movdf_internal"): Likewise.
  5827. ("movsf_internal"): Likewise.
  5828. 2002-09-14 Alan Modra <amodra@bigpond.net.au>
  5829. * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
  5830. targetm.binds_local_p to set SYMBOL_REF_FLAG.
  5831. (rs6000_xcoff_encode_section_info): Likewise.
  5832. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
  5833. 2002-09-10 Theodore A. Roth <troth@verinet.com>
  5834. * gcc/config/avr/avr.h: Set default options for C++ for avr.
  5835. 2002-09-13 Roger Sayle <roger@eyesopen.com>
  5836. * stmt.c (struct nexting): Remove unused alt_end_label field.
  5837. (expand_start_loop): Delete initialization of alt_end_label.
  5838. (expand_start_null_loop): Likewise.
  5839. (expand_exit_loop_if_false): Delete updating of alt_end_label.
  5840. 2002-09-13 Richard Henderson <rth@redhat.com>
  5841. * Makefile.in (toplev.o): Depend on real.h.
  5842. (print-rtl.o, varasm.o, ifcvt.o): Likewise.
  5843. 2002-09-14 Alan Modra <amodra@bigpond.net.au>
  5844. * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
  5845. * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
  5846. * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
  5847. 2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
  5848. * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
  5849. 2002-09-13 Steve Ellcey <sje@cup.hp.com>
  5850. * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
  5851. ia64*-*-linux*): Set extra_parts.
  5852. * config/ia64/t-aix (EXTRA_PARTS): Remove.
  5853. * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
  5854. 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
  5855. * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
  5856. * config/h8300/h8300.c: Likewise.
  5857. * config/h8300/h8300.h: Likewise.
  5858. * config/h8300/h8300.md: Likewise.
  5859. * doc/invoke.texi: Likewise.
  5860. 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
  5861. * config/h8300/h8300.c (h8300_init_once): Fix formatting.
  5862. 2002-09-13 Richard Henderson <rth@redhat.com>
  5863. * config/alpha/alpha.md (attr type): Add callpal.
  5864. (imb, trap, load_tp, set_tp): Use it.
  5865. * config/alpha/ev4.md (ev4_callpal): New.
  5866. * config/alpha/ev5.md (ev5_callpal): New.
  5867. * config/alpha/ev6.md (ev6_ibr): Handle callpal.
  5868. * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
  5869. (alphaev5_insn_pipe): Likewise.
  5870. 2002-09-13 Andreas Jaeger <aj@suse.de>
  5871. * Makefile.in (print-rtl.o): Depend on CONFIG_H.
  5872. 2002-09-13 Steve Ellcey <sje@cup.hp.com>
  5873. * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
  5874. LIB2ADDEH): New, set to NULL.
  5875. (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
  5876. 2002-09-13 Steve Ellcey <sje@cup.hp.com>
  5877. * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
  5878. (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
  5879. (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
  5880. Add declarations.
  5881. (_U_Qfneg): Remove.
  5882. 2002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com>
  5883. * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
  5884. for H8/300, H8S aa:8 mode.
  5885. (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
  5886. * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
  5887. for H8/300 aa:8 mode.
  5888. 2002-09-13 Hartmut Penner <hpenner@de.ibm.com>
  5889. * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
  5890. insns.
  5891. 2002-09-12 Richard Henderson <rth@redhat.com>
  5892. * Makefile.in (HOST_PRINT): Use print-rtl1.o
  5893. (print-rtl.o): Don't define GENERATOR_FILE.
  5894. (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
  5895. * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
  5896. unless GENERATOR_FILE.
  5897. 2002-09-12 Stan Shebs <shebs@apple.com>
  5898. * config/darwin.h (USER_LABEL_PREFIX): Define here...
  5899. * config/i386/darwin.h: ... instead of here.
  5900. * target.h (struct gcc_target): New field
  5901. terminate_dw2_eh_frame_info.
  5902. * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
  5903. (TARGET_INITIALIZER): Add it.
  5904. * dwarf2out.c (output_call_frame_info): Use target hook.
  5905. * dwarf2asm.c (dw2_asm_output_delta): Use macro
  5906. ASM_OUTPUT_DWARF_DELTA if defined.
  5907. * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
  5908. (ASM_OUTPUT_DWARF_DELTA): Ditto.
  5909. (ASM_OUTPUT_DWARF_OFFSET): Ditto.
  5910. (ASM_OUTPUT_DWARF_PCREL): Ditto.
  5911. * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
  5912. (powerpc-*-darwin*): Ditto.
  5913. * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
  5914. to work correctly for Darwin.
  5915. * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
  5916. (STARTFILE_SPEC): Add crtbegin.o.
  5917. (ENDFILE_SPEC): Define.
  5918. (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
  5919. (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
  5920. (ASM_OUTPUT_DWARF_DELTA): Define.
  5921. (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
  5922. * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
  5923. 2002-09-13 Alan Modra <amodra@bigpond.net.au>
  5924. * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
  5925. nesting. Correct test for non-PowerPC64 ELF ABI_AIX.
  5926. * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
  5927. 2002-09-12 Zack Weinberg <zack@codesourcery.com>
  5928. * toplev.c: Move default definition of USER_LABEL_PREFIX...
  5929. * defaults.h: ... here.
  5930. 2002-09-12 Richard Henderson <rth@redhat.com>
  5931. * vax.c: Include tree.h earlier.
  5932. 2002-09-12 Stan Shebs <shebs@apple.com>
  5933. * config/darwin.c (machopic_finish): Remove #if 0 chunks.
  5934. (machopic_operand_p): Ditto.
  5935. 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
  5936. * config/arm/arm.c (arm_compute_initial_elimination_offset):
  5937. Fix a comment typo.
  5938. 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
  5939. * toplev.c (do_abort): Fix a comment typo.
  5940. 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
  5941. * cselib.c: Fix comment formatting.
  5942. * gengtype.c: Likewise.
  5943. 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
  5944. * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
  5945. (udivmodhi4): Likewise.
  5946. 2002-09-12 Graham Stott <graham.stott@btinternet.com>
  5947. Roger Sayle <roger@eyesopen.com>
  5948. * i386.c (any_fp_register_operand, fp_register_operand,
  5949. register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
  5950. New predicate functions.
  5951. * i386-protos.h: Add their prototypes.
  5952. * i386.h: Add them to PREDICATE_CODES.
  5953. * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
  5954. "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
  5955. "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
  5956. "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
  5957. "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
  5958. "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
  5959. "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
  5960. "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
  5961. "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
  5962. "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
  5963. "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
  5964. Use these new predicates to simplify and correct the use of
  5965. FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
  5966. 2002-09-12 Jason Merrill <jason@redhat.com>
  5967. * diagnostic.c (output_add_identifier): New fn.
  5968. * diagnostic.h: Declare it.
  5969. * calls.c (store_one_arg): Use size_in_bytes to determine the
  5970. amount of space to push.
  5971. 2002-09-12 Jakub Jelinek <jakub@redhat.com>
  5972. * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
  5973. 2002-09-12 Ulrich Weigand <uweigand@de.ibm.com>
  5974. * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
  5975. * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
  5976. (s390_select_ccmode): Likewise.
  5977. (s390_branch_condition_mask): Likewise.
  5978. (optimization_options): Do not set flag_branch_on_count.
  5979. (s390_split_branches): Handle doloop branches.
  5980. (s390_chunkify_pool): Likewise.
  5981. * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
  5982. ("doloop_end"): New expander.
  5983. ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
  5984. associated splitters): New.
  5985. 2002-09-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  5986. * genattrtab.c (simplify_cond): Remove unused variable(s).
  5987. * global.c (record_conflicts): Likewise.
  5988. * jump.c (rebuild_jump_labels): Likewise.
  5989. * loop.c (scan_loop, check_final_value): Likewise.
  5990. * ra-colorize.c (colorize_one_web, assign_colors): Likewise.
  5991. * reload1.c (eliminate_regs_in_insn, do_input_reload): Likewise.
  5992. * rtlanal.c (reg_set_p): Likewise.
  5993. * stmt.c (expand_asm_operands, expand_decl): Likewise.
  5994. * genautomata.c (empty_reserv): Remove.
  5995. * loop.c (max_luid): Likewise.
  5996. * sched-rgn.c (bitlst_table_size): Likewise.
  5997. 2002-09-11 Nathan Sidwell <nathan@codesourcery.com>
  5998. Reimplement gcov format.
  5999. * gcov-io.h: Replace.
  6000. * gcov.c: Reimplement.
  6001. * gcov-iov.c: New file.
  6002. * gcov-dump.c: New file.
  6003. * libgcc2.c (L_bb): Replace with ...
  6004. (L_gcov): ... this.
  6005. (struct bb_function_info, struct bb): Remove.
  6006. (inhibit_libc): Never inhibit.
  6007. (gcov_list, gcov_crc): New static variables.
  6008. (gcov_version_mismatch): New static function.
  6009. (__bb_exit_func): Renamed to ...
  6010. (__gcov_exit): ... here. Made static. Reimplement.
  6011. (__gcov_init_func): Rename to ...
  6012. (__gcov_init): ... here. Check version, update crc.
  6013. (__bb_fork_func): Rename to ...
  6014. (__gcov_flush): ... here.
  6015. * libgcc2.h (struct bb, __bb_exit_func, __bb_init_func,
  6016. __bb_fork_func, gcov_type, __bb_find_arc_counters): Remove.
  6017. * calls.c (expand_call): Call __gcov_flush.
  6018. * profile.c (bb_file, last_bb_file_name): Remove.
  6019. (bbg_file_name): New global variable.
  6020. (output_gcov_string): Remove.
  6021. (get_exec_counts): Reimplement.
  6022. (branch_prob): Reimplement gcov file writing.
  6023. (init_branch_prob): Create bbg_file_name, don't create
  6024. bb_file_name.
  6025. (end_branch_prob): Adjust. Don't remove counter file when
  6026. instrumenting ourselves.
  6027. (create_profiler): Adjust.
  6028. * doc/gcov.texi (Gcov Data Files): Remove detailed specification,
  6029. point to gcov-io.h.
  6030. * Makefile.in (LANGUAGES): Add gcov-dump.
  6031. (coverageexts): Remove .bb.
  6032. (STAGESTUFF): Add gcov-dump.
  6033. (LIB2FUNCS_ST): Replace _bb with _gcov.
  6034. (profile.o): Depend on gcov-iov.h.
  6035. (final.o): Don't depend on profile.h, gcov.h.
  6036. (gcov.o): Depend on gcov-iov.h.
  6037. (gcov-iov.o): New target.
  6038. (gcov-iov): New target.
  6039. (gcov-iov.h): New target.
  6040. (gcov-dump.o): New target.
  6041. (GCOV_DUMP_OBJS): New variable.
  6042. (gcov-dump): New target.
  6043. (distclean): Remove coverageexts.
  6044. (stage1): Remove coverageexts.
  6045. 2002-09-11 Hartmut Penner <hpenner@de.ibm.com>
  6046. * fold-const.c (make_range): Only narrow to signed range if
  6047. the signed range is smaller than the unsigned range.
  6048. 2002-09-12 Alan Modra <amodra@bigpond.net.au>
  6049. * emit-rtl.c (set_mem_size): New function.
  6050. * expr.h (set_mem_size): Declare.
  6051. * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
  6052. (expand_block_move): Instead, use adjust_address and
  6053. replace_equiv_address to generate proper aliasing info.
  6054. Move common code out of conditionals. Localize vars.
  6055. 2002-09-11 Eric Botcazou <ebotcazou@libertysurf.fr>
  6056. * optabs.c (expand_binop): Minor cleanup.
  6057. (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
  6058. 2002-09-11 Dan Nicolaescu <dann@ics.uci.edu>
  6059. * print-tree.c (print_node): Print the restrict qualifier.
  6060. 2002-09-11 Janis Johnson <janis187@us.ibm.com>
  6061. * doc/install.texi: Fix typos.
  6062. 2002-09-11 Zack Weinberg <zack@codesourcery.com>
  6063. * Makefile.in: Remove all references to s-under and underscore.c.
  6064. * collect2.c, tlink.c: Change all uses of prepends_underscore
  6065. to look directly at USER_LABEL_PREFIX.
  6066. 2002-09-11 David Edelsohn <edelsohn@gnu.org>
  6067. * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
  6068. alignment to csect.
  6069. (rs6000_xcoff_unique_section): Only set section name for public
  6070. data.
  6071. (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
  6072. * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
  6073. duplicate definition.
  6074. 2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6075. * pa.md (extzv): Check predicates before emitting extzv_32.
  6076. (insv): Likewise.
  6077. 2002-09-10 Ulrich Weigand <uweigand@de.ibm.com>
  6078. * config/s390/s390.h (MOVE_MAX): Define to correct value.
  6079. (MAX_MOVE_MAX): Define.
  6080. (MOVE_BY_PIECES_P): Define.
  6081. (CLEAR_BY_PIECES_P): Define.
  6082. 2002-09-10 Denis Chertykov <denisc@overta.ru>
  6083. * config/avr/avr.md (movstrhi): Use right operands for conversion.
  6084. 2002-09-10 Richard Earnshaw <rearnsha@arm.com>
  6085. PR c/7873
  6086. * arm.md (insv): Use reg_or_int_operand for operand[3].
  6087. 2002-09-10 David Edelsohn <edelsohn@gnu.org>
  6088. * rs6000.c (rs6000_assemble_visibility): Protect declaration
  6089. inside macro. Correct function definition typo.
  6090. (rs6000_xcoff_section_type_flags): New function.
  6091. (TARGET_SECTION_TYPE_FLAGS): Remove definition.
  6092. (rs6000_elf_section_type_flags): Call default_section_type_flags_1
  6093. with appropriate PIC test.
  6094. (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
  6095. determine readonly.
  6096. (rs6000_binds_local_p): Combine PIC flags.
  6097. * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
  6098. * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
  6099. 2002-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6100. * h8300.md: Fix signed/unsigned warnings.
  6101. * mcore.md: Likewise.
  6102. * mn10300.c (mask_ok_for_mem_btst): Likewise.
  6103. 2002-09-09 Per Bothner <per@bothner.com>
  6104. * print-tree.c (print_node): In a STRING_CST, escape non-ascii
  6105. characters, and only print TREE_STRING_LENGTH chars.
  6106. 2002-09-09 Steve Ellcey <sje@cup.hp.com>
  6107. * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
  6108. (ASM_FILE_END) New.
  6109. * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
  6110. * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
  6111. * config/ia64/ia64.c (ia64_asm_output_external): Create list
  6112. of external functions if TARGET_HPUX_LD is true.
  6113. (ia64_hpux_add_extern_decl): New, routine to put names on
  6114. list of external functions.
  6115. (ia64_hpux_asm_file_end): Put out declarations for external
  6116. functions if and only if they are used.
  6117. 2002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6118. * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
  6119. on TARGET_64BIT before pic register restore.
  6120. 2002-09-09 David Edelsohn <edelsohn@gnu.org>
  6121. * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
  6122. (TARGET_HAVE_TLS): New description.
  6123. 2002-09-09 Janis Johnson <janis187@us.ibm.com>
  6124. * doc/extend.texi (Statement Exprs): Fix broken link.
  6125. 2002-09-09 Denis Chertykov <denisc@overta.ru>
  6126. * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
  6127. right conversion of operands[1].
  6128. 2002-09-09 Ulrich Weigand <uweigand@de.ibm.com>
  6129. * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
  6130. commutative. Use "nonimmediate_operand" instead of "register_operand"
  6131. as predicate for operand 0. Move to after the "*tmXX_mem" insns.
  6132. ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
  6133. as commutative.
  6134. ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
  6135. mark as commutative. Use "nonimmediate_operand" instead of
  6136. "register_operand" as predicate for operand 1.
  6137. ("movstrictsi"): Fix typo in insn name.
  6138. 2002-09-09 Jan Hubicka <jh@suse.cz>
  6139. * i386.c (index_register_operand): New.
  6140. * i386.h (predicate_codes): Add new predicate.
  6141. * i386.md (lea_general_*): Use index_register_operand
  6142. (ashift to lea splitter): Do not produce invalid leas
  6143. (ashift to mov+ashift split): New.
  6144. 2002-09-09 Nick Clifton <nickc@redhat.com>
  6145. * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
  6146. Fix folding marks.
  6147. 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
  6148. J"orn Rennecke <joern.rennecke@superh.com>
  6149. * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
  6150. 2002-09-09 Alan Modra <amodra@bigpond.net.au>
  6151. * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
  6152. (function_ok_for_sibcall): Use binds_local_p. Respect longcall
  6153. attributes.
  6154. 2002-09-08 Nathan Sidwell <nathan@codesourcery.com>
  6155. * basic_block.h (gcov_type): Explain why it is signed.
  6156. * final.c: Don't include profile.h.
  6157. (struct function_list, functions_head, functions_tail,
  6158. end_final): Moved to profile.c
  6159. (final): Move arc chaining code to profile.c.
  6160. * function.c (prepare_function_start): Remove duplicate line.
  6161. * output.h (end_final): Remove prototype.
  6162. * predict.c (estimate_loops_at_level): Use gcov_type.
  6163. * profile.c (struct function_list, functions_head,
  6164. functions_tail): Moved from final.c
  6165. (need_func_profiler): Remove.
  6166. (instrument_edges): Don't set need_func_profiler.
  6167. (get_exec_counts): Avoid signed/unsigned warning.
  6168. (compute_checksum): Use crc32.
  6169. (branch_prob): Adjust. Chain onto functions_head.
  6170. (init_branch_prob): Absorb init_edge_profiler.
  6171. (init_edge_profiler): Remove.
  6172. (create_profiler): Moved and renamed from final.c:end_final.
  6173. Emit data and constructor.
  6174. (output_func_start_profiler): Remove.
  6175. * profile.h (struct profile_info): checksum is unsigned.
  6176. * rtl.h (output_func_start_profiler): Remove prototype.
  6177. (create_profiler): Declare.
  6178. * toplev.c (compile_file): Call create_profiler, if instrumenting
  6179. arcs. Don't call end_final.
  6180. 2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6181. * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
  6182. 2002-09-08 Richard Henderson <rth@redhat.com>
  6183. * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
  6184. (DW_OP_GNU_push_tls_address): New.
  6185. (DW_OP_lo_user): Fix.
  6186. * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
  6187. (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
  6188. (size_of_loc_descr): Likewise.
  6189. (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
  6190. (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
  6191. (loc_descriptor_from_tree): Handle TLS variables.
  6192. (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
  6193. (add_location_or_const_value_attribute): ... not here. Defer
  6194. to loc_descriptor_from_tree for TLS variables.
  6195. * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
  6196. * config/i386/i386.c (i386_output_dwarf_dtprel): New.
  6197. * config/i386/i386-protos.h: Update.
  6198. 2002-09-08 Roger Sayle <roger@eyesopen.com>
  6199. PR optimization/6405
  6200. * unroll.c (loop_iterations): last_loop_insn should be the previous
  6201. non-note instruction before loop->end.
  6202. * loop.c (strength_reduce): The conditional jump is the last
  6203. non-note instruction before loop->end (as above).
  6204. 2002-09-08 Roger Sayle <roger@eyesopen.com>
  6205. * combine.c (try_combine): Handle the case that undobuf.other_insn
  6206. has been turned into a return or unconditional jump, by inserting
  6207. a BARRIER if necessary.
  6208. (simplify_set): Test if a condition code setter has a constant
  6209. comparison at compile time, if so convert this insn to a no-op move
  6210. and update/simplify the condition code user (undobuf.other_insn).
  6211. 2002-09-08 Krister Walfridsson <cato@df.lth.se>
  6212. * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
  6213. (CLEAR_INSN_CACHE): Define.
  6214. 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
  6215. * basic-block.h: Fix comment formatting.
  6216. * c-common.c: Likewise.
  6217. * c-common.h: Likewise.
  6218. * c-lex.c: Likewise.
  6219. * c-pretty-print.c: Likewise.
  6220. * cfglayout.c: Likewise.
  6221. * cfgloop.c: Likewise.
  6222. * defaults.h: Likewise.
  6223. * et-forest.c: Likewise.
  6224. * explow.c: Likewise.
  6225. * function.h: Likewise.
  6226. * gcov.c: Likewise.
  6227. * genattrtab.c: Likewise.
  6228. * gengtype.c: Likewise.
  6229. * ifcvt.c: Likewise.
  6230. * libgcc2.c: Likewise.
  6231. * loop.c: Likewise.
  6232. * profile.c: Likewise.
  6233. * ra-build.c: Likewise.
  6234. * real.c: Likewise.
  6235. * rtl.h: Likewise.
  6236. * tracer.c: Likewise.
  6237. * tree-inline.c: Likewise.
  6238. * varasm.c: Likewise.
  6239. 2002-09-08 Jan Hubicka <jh@suse.cz>
  6240. * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
  6241. handling.
  6242. * loop.c (loop_givs_reduce): Emit addition after.
  6243. 2002-09-08 Alan Modra <amodra@bigpond.net.au>
  6244. * varasm.c (default_assemble_visibility): Rename from
  6245. assemble_visibility.
  6246. * output.h: Here too.
  6247. * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
  6248. * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
  6249. 2002-09-08 Alan Modra <amodra@bigpond.net.au>
  6250. * reload.c (find_reloads <p constraint>): Pass operand_mode to
  6251. find_reloads_address.
  6252. 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
  6253. * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
  6254. (anonymous pattern): Likewise.
  6255. 2002-09-07 Igor Shevlyakov <igor@microunity.com>
  6256. * machmode.def: Add modes for half-float vectors.
  6257. 2002-09-07 Scott Snyder <snyder@fnal.gov>
  6258. PR target/7374
  6259. * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
  6260. 2002-09-07 Roger Sayle <roger@eyesopen.com>
  6261. * basic-block.h (struct loop): Remove unused cont_dominator field.
  6262. 2002-09-07 Igor Shevlyakov <igor@microunity.com>
  6263. * varasm.c (decode_rtx_const): Don't check undefined field for
  6264. CONST_VECTOR.
  6265. 2002-09-07 Glen Nakamura <glen@imodulo.com>
  6266. PR opt/7814
  6267. * sched-deps.c (sched_analyze_insn): Make sure to add insn
  6268. to reg_last->sets after flushing the dependency lists to guarantee
  6269. that subsequent clobbers will be dependent on it.
  6270. 2002-09-07 Igor Shevlyakov <igor@microunity.com>
  6271. * combine.c (simplify_shift_const): Calculate rotate count
  6272. correctly for vector operands.
  6273. 2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
  6274. * c-typeck.c (c_tree_expr_nonnegative_p): New function.
  6275. (build_binary_op): Call c_tree_expr_nonnegative_p rather than
  6276. tree_expr_nonnegative_p.
  6277. (build_conditional_expr): Likewise.
  6278. * c-tree.h (c_tree_expr_nonnegative_p): Declare.
  6279. 2002-09-07 Richard Henderson <rth@redhat.com>
  6280. * builtins.def (inf, inff, infl): Mark const.
  6281. (huge_val, huge_valf, huge_vall): Likewise.
  6282. (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
  6283. * real.c (ereal_inf): Clear E before use.
  6284. 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
  6285. * config/h8300/h8300.md (udivmodqi4): Split the pattern into
  6286. an expander and an anonymous pattern. Zero out the upper half
  6287. of the dividend in the expander.
  6288. (udivmodqi4): Likewise.
  6289. 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
  6290. * config/h8300/h8300.c: Fix formatting.
  6291. * config/h8300/h8300.h: Likewise.
  6292. * config/h8300/h8300.md: Likewise.
  6293. 2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  6294. * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
  6295. information.
  6296. 2002-09-07 Graham Stott <graham.stott@btinternet.com>
  6297. * rtlanal.c (dead_or_set_regno_p): Fix typo.
  6298. 2002-09-07 Alan Modra <amodra@bigpond.net.au>
  6299. * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
  6300. * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
  6301. * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
  6302. (TARGET_ASM_OUT): Add the above here.
  6303. * target.h (struct gcc_target): Add "visibility" field.
  6304. * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
  6305. * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
  6306. (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
  6307. (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
  6308. 2002-09-06 Ziemowit Laski <zlaski@apple.com>
  6309. * c-lang.c (objc_is_id): New stub.
  6310. * c-tree.h (objc_is_id): New forward declaration.
  6311. * c-typeck.c (build_c_cast): Do not strip protocol
  6312. qualifiers from 'id' type.
  6313. * objc/objc-act.c (objc_comptypes): Correct handling
  6314. of protocol qualifiers.
  6315. (objc_is_id): New.
  6316. Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com)
  6317. * pentium.md (pentium-firstvboth): Fix typo.
  6318. 2002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com>
  6319. * h8300.c (enum shift_alg): Move to earlier in h8300.c.
  6320. (enum shift_type, enum h8_cpu): Likewise.
  6321. (INL, ROT, LOP, SPC macros): Likewise.
  6322. (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose
  6323. const designator.
  6324. (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
  6325. space efficient algorithms when optimize for codesize.
  6326. Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
  6327. Fix PR/1727 and long-standing failing testcase
  6328. objc/formal-protocol-6.m.
  6329. * objc-act.c (build_protocol_expr): If compiling for the GNU
  6330. runtime, create a list of Protocol statically allocated instances
  6331. if it doesn't exist, then add the Protocol object to this same
  6332. list.
  6333. (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
  6334. instead of TREE_CHAIN.
  6335. Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
  6336. * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
  6337. 10k. Fixed category dumping - print out category names with the
  6338. proper syntax. Print '@end\n' and not '\n@end' at the end of the
  6339. interface.
  6340. (finish_objc): Fixed the -gen-decls option. It was printing out
  6341. only the last class. Dump an interface declaration of all classes
  6342. being compiled instead.
  6343. 2002-09-06 Jason Thorpe <thorpej@wasabisystems.com>
  6344. * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
  6345. prototype.
  6346. * config/arm/arm.c (arm_gen_return_addr_mask): New function.
  6347. * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
  6348. if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode
  6349. rather than GEN_INT.
  6350. * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
  6351. (return_addr_mask, *check_arch2): New.
  6352. 2002-09-06 Ulrich Weigand <uweigand@de.ibm.com>
  6353. * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
  6354. "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
  6355. "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
  6356. "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
  6357. "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
  6358. "adddf3", "*adddf3", "*adddf3_ibm",
  6359. "addsf3", "*addsf3", "*addsf3_ibm",
  6360. "muldi3", "mulsi3", "mulsidi3",
  6361. "muldf3", "*muldf3", "*muldf3_ibm",
  6362. "mulsf3", "*mulsf3", "*mulsf3_ibm",
  6363. "*anddi3_cc", "*anddi3_cconly", "anddi3",
  6364. "*andsi3_cc", "*andsi3_cconly", "andsi3",
  6365. "*iordi3_cc", "*iordi3_cconly", "iordi3",
  6366. "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
  6367. "*xordi3_cc", "*xordi3_cconly", "xordi3",
  6368. "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
  6369. instead of "register_operand" as predicate for "%0" operand.
  6370. 2002-09-06 Jakub Jelinek <jakub@redhat.com>
  6371. * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
  6372. unconditionally when gcc_cv_as_flags64 checks are gone.
  6373. * configure: Rebuilt.
  6374. 2002-09-06 Alan Modra <amodra@bigpond.net.au>
  6375. * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
  6376. 2002-07-26 change. Comment.
  6377. 2002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6378. * frv.c (frv_unique_section, frv_select_section,
  6379. frv_select_rtx_section): Delete.
  6380. (frv_in_small_data_p): New.
  6381. (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
  6382. TARGET_ASM_SELECT_RTX_SECTION): Delete.
  6383. (TARGET_IN_SMALL_DATA_P): Define.
  6384. 2002-09-05 Dale Johannesen <dalej@apple.com>
  6385. * reload1.c (reload): Retain only those memory clobbers
  6386. added for variable-array handling.
  6387. 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
  6388. * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
  6389. return-in-memory rules.
  6390. * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
  6391. 2002-09-05 David Edelsohn <edelsohn@gnu.org>
  6392. * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
  6393. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
  6394. 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
  6395. * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
  6396. not a compile-time constant for the non-IBM case.
  6397. * config/arm/arm-protos.h (arm_float_words_big_endian): New
  6398. prototype.
  6399. * config/arm/arm.c (arm_float_words_big_endian): New function.
  6400. * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
  6401. if TARGET_VFP and not TARGET_HARD_FLOAT.
  6402. (ARM_FLAG_VFP, TARGET_VFP): Define.
  6403. (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
  6404. 2002-09-05 David Edelsohn <edelsohn@gnu.org>
  6405. * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
  6406. URLs. Fix AIX wording.
  6407. 2002-09-05 Stan Shebs <shebs@apple.com>
  6408. * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
  6409. -fPIC equivalent on Darwin.
  6410. Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
  6411. * sh.c (sh_expand_builtin): Return early if encountering an
  6412. error_mark for a type.
  6413. 2002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
  6414. * config/s390/s390.c (s390_expand_plus_operand): Do not require
  6415. double-word scratch register.
  6416. config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
  6417. ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
  6418. "*cli"): Replace s_operand by memory_operand.
  6419. ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
  6420. 2002-09-05 Kazu Hirata <kazu@cs.umass.edu>
  6421. * config/h8300/h8300.c (asm_file_start): Add a missing
  6422. semicolon.
  6423. 2002-09-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  6424. * c-typeck.c (build_function_call): Remove unused variable(s).
  6425. (build_c_cast): Likewise.
  6426. * calls.c (rtx_for_function_call): Likewise.
  6427. * cfglayout.c (duplicate_insn_chain): Likewise.
  6428. * cfgloop.c (flow_loop_nodes_find): Likewise.
  6429. * cfgrtl.c (split_edge): Likewise.
  6430. * df.c (df_ref_create): Likewise.
  6431. * except.c (expand_end_catch): Likewise.
  6432. * expr.c (emit_push_insn, store_constructor, expand_expr): Likewise.
  6433. * function.c (emit_return_into_block): Likewise.
  6434. (reposition_prologue_and_epilogue_notes): Likewise.
  6435. * gengtype.c (get_file_basename, write_gc_structure_fields): Likewise.
  6436. * combine.c (subst_prev_insn, need_refresh): Remove.
  6437. * dwarf2out.c (primary_filename): Remove.
  6438. * final.c (new_block): Remove.
  6439. * gcse.c (orig_bb_count): Remove.
  6440. 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6441. * dsp16xx-protos.h (dsp16xx_compare_gen): Change to bool.
  6442. * dsp16xx.c (dsp16xx_compare_gen): Likewise.
  6443. * dsp16xx.md: Treat dsp16xx_compare_gen as a bool. Call functions
  6444. directly instead of using a function pointer.
  6445. 2002-09-04 Krister Walfridsson <cato@df.lth.se>
  6446. * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
  6447. * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
  6448. (ix86_output_addr_diff_elt) Likewise.
  6449. (x86_output_mi_thunk) Likewise.
  6450. * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
  6451. 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6452. * frv.c (frv_encode_section_info): Fix error in last change.
  6453. 2002-09-04 David Edelsohn <edelsohn@gnu.org>
  6454. * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
  6455. (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
  6456. (TARGET_BINDS_LOCAL_P): Define.
  6457. (rs6000_override_options): Save original flag_pic value.
  6458. (rs6000_elf_select_section): Call default_elf_select_section_1.
  6459. (rs6000_elf_unique_section): Call default_unique_section_1.
  6460. (rs6000_elf_in_small_data_p): New function.
  6461. (rs6000_xcoff_asm_named_section): Determine storage mapping class.
  6462. (rs6000_xcoff_select_section): Update based on defaults.
  6463. (rs6000_xcoff_unique_section): Set to basic name if not common.
  6464. (rs6000_binds_local_p): New function.
  6465. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
  6466. targetm.have_srodata_section if SDATA_EABI.
  6467. (TARGET_IN_SMALL_DATA_P): Define.
  6468. 2002-09-04 Dale Johannesen <dalej@apple.com>
  6469. * varasm.c (struct rtx_const, decode_rtx_const):
  6470. Make veclo and vechi fields not share storage.
  6471. Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
  6472. * loop.c (scan_loop): Don't mark separate insns out of a libcall
  6473. for moving.
  6474. (move_movables): Abort if we see the first insn of a libcall.
  6475. 2002-09-04 Richard Henderson <rth@redhat.com>
  6476. * builtin-types.def (BT_FN_FLOAT): New.
  6477. (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
  6478. * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
  6479. BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
  6480. * builtins.c (fold_builtin_inf): New.
  6481. (fold_builtin): Call it.
  6482. * real.c (ereal_inf): New.
  6483. * real.h: Declare it.
  6484. * doc/extend.texi: Document new builtins.
  6485. 2002-09-04 Richard Henderson <rth@redhat.com>
  6486. * cse.c (cse_insn): Avoid subreg games if the equivalence
  6487. is already in the proper mode.
  6488. 2002-09-04 Eric Botcazou <ebotcazou@multimania.com>
  6489. PR c/7102
  6490. * optabs.c (expand_binop): Convert CONST_INTs in all cases.
  6491. 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6492. * pa.md (setccfp0, setccfp1): New patterns.
  6493. 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6494. * frv-protos.h (frv_init_builtins, frv_expand_builtin,
  6495. frv_select_section, frv_select_rtx_section,
  6496. frv_encode_section_info, frv_unique_section): Delete.
  6497. * frv.c: Update for target hooks.
  6498. * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
  6499. SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
  6500. EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
  6501. 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6502. * ip2k-protos.h (function_prologue, function_epilogue,
  6503. encode_section_info): Update to match target hook specification.
  6504. * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
  6505. (function_prologue, function_epilogue, encode_section_info):
  6506. Update to match target hook specification.
  6507. * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
  6508. ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
  6509. (NOTICE_UPDATE_CC): Cast to void.
  6510. * ip2k.md: Add defaults in switch statements.
  6511. 2002-09-04 Janis Johnson <janis187@us.ibm.com>
  6512. * doc/trouble.texi (Interoperation): Update information about C++ ABI
  6513. issues.
  6514. 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
  6515. * config/sparc/t-netbsd64: Disable multilib for now.
  6516. 2002-09-04 David Edelsohn <edelsohn@gnu.org>
  6517. * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
  6518. * target.h (gcc_target): Add have_srodata_section member.
  6519. * varasm.c (section_category): Add SECCAT_SRODATA.
  6520. (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
  6521. READONLY_SDATA_SECTION defined.
  6522. (decl_readonly_section_1): True for SECCAT_SRODATA also.
  6523. (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
  6524. (default_unique_section_1): Likewise.
  6525. 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6526. * expr.c (emit_group_load): Revise to allow splitting TCmode source
  6527. into DImode pieces.
  6528. * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
  6529. * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
  6530. for floating-point register class.
  6531. * pa.c (function_arg): Fix handling of modes wider than one word for
  6532. TARGET_64BIT.
  6533. Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
  6534. * combine.c (make_compound_operation): Don't generate zero / sign
  6535. extensions in floating point modes.
  6536. 2002-09-04 Janis Johnson <janis187@us.ibm.com>
  6537. * doc/c-tree.texi: Fix overfull hboxes.
  6538. * doc/cppopts.texi: Ditto.
  6539. * doc/extend.texi: Ditto.
  6540. * doc/gty.texi: Ditto.
  6541. * doc/invoke.texi: Ditto.
  6542. * doc/makefile.texi: Ditto.
  6543. * doc/rtl.texi: Ditto.
  6544. * doc/standards.texi: Ditto.
  6545. * doc/tm.texi: Ditto.
  6546. 2002-09-04 Richard Henderson <rth@redhat.com>
  6547. * c-common.c (builtin_define_with_hex_fp_value): New.
  6548. (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig.
  6549. 2002-09-04 Janis Johnson <janis187@us.ibm.com>
  6550. * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
  6551. (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
  6552. -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
  6553. Warn that these options can break ABI compatibility.
  6554. 2002-09-04 Richard Henderson <rth@redhat.com>
  6555. * real.c (ereal_to_decimal): Add digits parameter.
  6556. * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
  6557. * c-pretty-print.c (pp_c_real_literal): Update call.
  6558. * print-rtl.c (print_rtx): Likewise.
  6559. * print-tree.c (print_node_brief, print_node): Likewise.
  6560. * sched-vis.c (print_value): Likewise.
  6561. * config/arc/arc.c (arc_print_operand): Likewise.
  6562. * config/c4x/c4x.c (c4x_print_operand): Likewise.
  6563. * config/i370/i370.h (PRINT_OPERAND): Likewise.
  6564. * config/i386/i386.c (print_operand): Likewise.
  6565. * config/i960/i960.c (i960_print_operand): Likewise.
  6566. * config/ip2k/ip2k.c (asm_output_float): Likewise.
  6567. * config/m32r/m32r.c (m32r_print_operand): Likewise.
  6568. * config/m68hc11/m68hc11.c (print_operand): Likewise.
  6569. * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
  6570. ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
  6571. * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
  6572. ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
  6573. * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
  6574. ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
  6575. * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
  6576. ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
  6577. * config/mips/mips.c (print_operand): Likewise.
  6578. * config/ns32k/ns32k.c (print_operand): Likewise.
  6579. * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
  6580. * config/vax/vax.h (PRINT_OPERAND): Likewise.
  6581. * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
  6582. 2002-09-04 Bob Wilson <bob.wilson@acm.org>
  6583. * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
  6584. xtensa_multibss_section_type_flags.
  6585. * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
  6586. 2002-09-04 Richard Henderson <rth@redhat.com>
  6587. * doc/install-old.texi: Don't mention enquire.
  6588. * doc/sourcebuild.texi: Update float.h description.
  6589. Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
  6590. * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
  6591. 2002-09-03 Roger Sayle <roger@eyesopen.com>
  6592. * builtins.c (build_function_call_expr): Remove prototype, export
  6593. as non-static and add a comment above function definition.
  6594. (builtin_mathfn_code): New function to check for math builtins.
  6595. (fold_builtin): Optimize sqrt(0.0) as 0.0, sqrt(1.0) as 1.0,
  6596. exp(0.0) as 1.0, and log(1.0) as 0.0. Optimize exp(log(x)) and
  6597. log(exp(x)) as x. Optimize sqrt(exp(x)) as exp(x/2.0) and
  6598. log(sqrt(x)) as log(x)/2.0.
  6599. * tree.h: Prototype build_function_call_expr and builtin_mathfn_code
  6600. in new "builtins.c" section. Place the build_range_type prototype
  6601. with the other prototypes from "tree.c".
  6602. * fold-const.c (fold) [ABS_EXPR]: Fold fabs(sqrt(x)) as sqrt(x)
  6603. and fabs(exp(x)) as exp(x). [MULT_EXPR]: Fold sqrt(x)*sqrt(y)
  6604. as sqrt(x*y) and exp(x)*exp(y) as exp(x+y). [RDIV_EXPR]: Fold
  6605. x/exp(y) as x*exp(-y).
  6606. 2002-09-03 David Edelsohn <edelsohn@gnu.org>
  6607. * varasm.c (default_section_type_flags): Append _1 to name with
  6608. shlib parameter. Use original name to call new function with
  6609. implicit flag_pic.
  6610. (decl_readonly_section): Likewise.
  6611. (default_elf_select_section): Likewise.
  6612. (default_unique_section): Likewise.
  6613. (default_bind_local_p): Likewise.
  6614. (categorize_decl_for_section): Add shlib parameter to use in place
  6615. of implicit flag_pic.
  6616. * output.h: Declare new functions with _1 and shlib argument.
  6617. 2002-09-03 Janis Johnson <janis187@us.ibm.com>
  6618. * doc/install.texi: Fix typos, formatting problems, and obvious
  6619. overfull/underfull boxes.
  6620. * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
  6621. * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
  6622. include its file, compat.texi.
  6623. * doc/compat.texi: New file with new chapter, Binary Compatibility.
  6624. 2002-09-03 Neil Booth <neil@daikokuya.co.uk>
  6625. Debian BTS Bug #157416
  6626. * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
  6627. * cpplib.c (destringize_and_run): Kludge around getting
  6628. tokens from in-progress macros.
  6629. (_cpp_do__Pragma): Simplify.
  6630. 2002-09-03 Steve Ellcey <sje@cup.hp.com>
  6631. * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
  6632. (CPP_CPU_SPEC): Remove.
  6633. (TARGET_CPU_CPP_BUILTINS): New.
  6634. * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
  6635. (CPP_SPEC): Remove.
  6636. (TARGET_OS_CPP_BUILTINS): New.
  6637. * config/ia64/linux.h (CPP_PREDEFINES): Remove.
  6638. (TARGET_OS_CPP_BUILTINS): New.
  6639. * config/ia64/aix.h (CPP_SPEC): Move some stuff to
  6640. TARGET_OS_CPP_BUILTINS.
  6641. (CPP_PREDEFINES): Remove.
  6642. (CPLUSPLUS_CPP_SPEC): Remove.
  6643. (TARGET_OS_CPP_BUILTINS): New.
  6644. 2002-09-03 Richard Henderson <rth@redhat.com>
  6645. * Makefile.in (USER_H): Add ginclude/float.h.
  6646. (FLOAT_H): Remove.
  6647. (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
  6648. (mostlyclean): Don't remove float.h intermediate files.
  6649. (distclean): Don't remove float.h.
  6650. * config.gcc: Remove all float_format references.
  6651. * configure.in (float_format, float_h_file): Remove.
  6652. * c-common.c: Include tree-inline.h.
  6653. (builtin_define_with_int_value): New.
  6654. (builtin_define_type_precision): Use it.
  6655. (builtin_define_float_constants): New.
  6656. (cb_register_builtins): Use it. Define __FLT_RADIX__ and
  6657. __FLT_EVAL_METHOD__.
  6658. * defaults.h (TARGET_FLT_EVAL_METHOD): New.
  6659. * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
  6660. * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
  6661. * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
  6662. (TARGET_FLT_EVAL_METHOD): New.
  6663. * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
  6664. config/float-i386.h, config/float-i64.h, config/float-m68k.h,
  6665. config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
  6666. * ginclude/float.h: New.
  6667. 2002-09-03 Stan Shebs <shebs@apple.com>
  6668. * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
  6669. (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
  6670. (PREFERRED_DEBUGGING_TYPE): Ditto.
  6671. (ASM_OUTPUT_IDENT): Remove empty definition.
  6672. 2002-09-03 Steve Ellcey <sje@cup.hp.com>
  6673. * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
  6674. cxx_target.
  6675. * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
  6676. handling routine for builtin pragma.
  6677. * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
  6678. Registered pragma handling routine.
  6679. * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
  6680. (ia64_hpux_add_pragma_builtin) New subroutine used by above.
  6681. If builtin pragma seen for math routine and C89 conformance is
  6682. requested use different math function in order to set errno.
  6683. * t-ia64 (ia64-c.o): Add new rule for new file.
  6684. 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
  6685. * config/s390/s390.md ("movti"): Add Q->Q alternative.
  6686. ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
  6687. "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
  6688. ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
  6689. "*movsf_ss"): Remove.
  6690. 2002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6691. * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
  6692. Delete macros.
  6693. 2002-09-03 Arati Dikey <aratid@kpit.com>
  6694. * h8300.c (asm_file_start): Corrected optimization comment.
  6695. 2002-09-03 Stan Shebs <shebs@apple.com>
  6696. * c-lang.c (recognize_objc_keyword): Remove, no longer used.
  6697. * c-tree.h (recognize_objc_keyword): Remove decl.
  6698. * c-typeck.c (comp_target_types): Update a comment.
  6699. 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
  6700. * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
  6701. and register validity checks.
  6702. (general_s_operand): Adapt to s390_decompose_address interface change.
  6703. (q_constraint): Likewise.
  6704. (s390_expand_plus_operand): Likewise.
  6705. (legitimiate_address_p): Likewise.
  6706. (legitimate_la_operand_p): Likewise.
  6707. (legitimize_la_operand): Likewise.
  6708. (print_operand_address): Likewise.
  6709. (print_operand): Likewise.
  6710. Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it>
  6711. PR objc/5956:
  6712. * objc/objc-act.c (build_typed_selector_reference): Fix typo which
  6713. was causing the new selector never to match the existing ones
  6714. (Patch by Alexander Malmberg <alexander@malmberg.org>).
  6715. 2002-09-03 Graham Stott <graham.stott@btinternet.com>
  6716. * config/i386/i386.md ("femms"): Add "memory" attr "none".
  6717. 2002-09-03 Graham Stott <graham.stott@btinternet.com>
  6718. * expr.c (expand_expr): Remove extraneous comment and code.
  6719. 2002-09-02 Nathan Sidwell <nathan@codesourcery.com>
  6720. * stor-layout (finish_builtin_struct): Renamed and moved from c++
  6721. frontend. Take chain of fields. Allow NULL alignment type.
  6722. * tree.h (finish_builtin_struct): Declare.
  6723. 2002-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6724. * config/alpha/alpha.c config/alpha/alpha.h config/alpha/alpha.md
  6725. config/alpha/elf.h config/alpha/unicosmk.h config/alpha/vms.h
  6726. config/arc/arc.c config/arc/arc.h config/arm/aout.h
  6727. config/arm/arm.c config/arm/arm.h config/arm/arm.md
  6728. config/avr/avr.h config/d30v/d30v.h config/dbxcoff.h
  6729. config/dbxelf.h config/elfos.h config/fr30/fr30.h config/frv/frv.h
  6730. config/i386/i386.c config/i386/i386.md config/i386/sco5.h
  6731. config/ia64/ia64.h config/ip2k/ip2k.h config/m68hc11/m68hc11.md
  6732. config/m68k/hp320.h config/m68k/m68k.c config/m68k/m68k.md
  6733. config/m68k/mot3300.h config/m68k/sgs.h config/m68k/tower-as.h
  6734. config/m88k/m88k.c config/m88k/m88k.h config/mcore/mcore-pe.h
  6735. config/mcore/mcore.c config/mips/mips.c config/mips/mips.h
  6736. config/ns32k/ns32k.md config/pa/pa-linux.h config/pa/pa.c
  6737. config/pa/pa.h config/pa/pa.md config/romp/romp.h
  6738. config/rs6000/linux64.h config/rs6000/lynx.h
  6739. config/rs6000/rs6000.c config/rs6000/sysv4.h config/rs6000/xcoff.h
  6740. config/s390/s390.c config/s390/s390.md config/sh/sh.c
  6741. config/sparc/sparc.c config/sparc/sysv4.h
  6742. config/stormy16/stormy16.h dbxout.c defaults.h dwarf2out.c
  6743. dwarfout.c except.c final.c varasm.c vmsdbgout.c: Replace
  6744. ASM_OUTPUT_INTERNAL_LABEL macro with a call to the target hook.
  6745. * doc/tm.texi: Update docs.
  6746. * default.h (ASM_OUTPUT_INTERNAL_LABEL): Don't define.
  6747. * system.h (ASM_OUTPUT_INTERNAL_LABEL): Poison.
  6748. 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6749. * Makefile.in (sdbout.o, insn-output.o): Depend on $(TARGET_H).
  6750. * arc.c (arc_internal_label): New function.
  6751. (TARGET_ASM_INTERNAL_LABEL): Set.
  6752. * arc.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
  6753. * arm.c (arm_internal_label): New function.
  6754. (TARGET_ASM_INTERNAL_LABEL): Set.
  6755. * arm.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
  6756. * arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
  6757. * i370.c (i370_internal_label): New function.
  6758. (TARGET_ASM_INTERNAL_LABEL): Set.
  6759. * i370.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
  6760. * m68k/hp320.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
  6761. * m68k.c (m68k_hp320_internal_label): New function.
  6762. (TARGET_ASM_INTERNAL_LABEL): Set.
  6763. * m88k.c (m88k_internal_label): New function.
  6764. (TARGET_ASM_INTERNAL_LABEL): Set.
  6765. * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
  6766. * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Set to target hook.
  6767. * genoutput.c (output_prologue): Include target.h in output file.
  6768. * output.h (default_internal_label): Declare.
  6769. * sdbout.c: Include target.h.
  6770. * target-def.h (TARGET_ASM_INTERNAL_LABEL): Set and add to
  6771. TARGET_ASM_OUT.
  6772. * target.h (internal_label): Add to struct gcc_target.
  6773. * varasm.c (default_internal_label): New function.
  6774. 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6775. * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
  6776. * avr.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6777. * c4x.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6778. * cris.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6779. * d30v.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6780. * darwin.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6781. * dsp16xx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6782. * elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6783. * h8300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6784. * i386/att.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6785. * i386/bsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6786. * i386/i386-coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6787. * i386/lynx-ng.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6788. * i386/lynx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6789. * i386/sco5.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6790. * i960/i960.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6791. * m68k/3b1.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6792. * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6793. * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6794. * m68k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6795. * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6796. * m68k/tower-as.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6797. * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6798. * mcore.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6799. * mips.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6800. * mmix-protos.h (mmix_asm_output_internal_label): Likewise.
  6801. * mmix.c (mmix_asm_output_internal_label): Likewise.
  6802. * mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6803. * ns32k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6804. * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6805. * pdp11.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6806. * romp.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6807. * rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6808. * sh/coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6809. * sh/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6810. * sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6811. * sparc/linux.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6812. * sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6813. * sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6814. * sparc/pbd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6815. * sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6816. * sparc.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6817. * sparc/vxsim.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6818. * stormy16.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6819. * svr3.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6820. * vax.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  6821. * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
  6822. 2002-08-31 Richard Henderson <rth@redhat.com>
  6823. * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
  6824. 2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6825. * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
  6826. 2002-08-30 Richard Henderson <rth@redhat.com>
  6827. PR opt/7515
  6828. * c-objc-common.c: Include target.h.
  6829. (c_cannot_inline_tree_fn): Don't auto-inline functions that
  6830. don't bind locally. Factor setting DECL_UNINLINABLE.
  6831. * Makefile.in (c-objc-common.o): Update.
  6832. 2002-08-30 Janis Johnson <janis187@us.ibm.com>
  6833. * doc/install.texi (Configuration, Building): Fix a typo and
  6834. some formatting directives.
  6835. 2002-08-30 Paul Koning <pkoning@equallogic.com>
  6836. * doc/c-tree.texi (RDIV_EXPR): Fix typo.
  6837. * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
  6838. implemented" note.
  6839. * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
  6840. for alphabetic order.
  6841. * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
  6842. VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT.
  6843. (VAX_HALFWORD_ORDER): Document.
  6844. (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
  6845. IEEE float format.
  6846. (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
  6847. (ASM_OUTPUT_LABEL_REF): Fix font.
  6848. (CASE_VECTOR_SHORTEN_MODE): Ditto.
  6849. 2002-08-30 Denis Chertykov <denisc@overta.ru>
  6850. * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
  6851. stuff.
  6852. (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
  6853. CONST_DOUBLE constants.
  6854. 2002-08-30 Jason Thorpe <thorpej@wasabisystems.com>
  6855. * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
  6856. related defines to...
  6857. (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
  6858. * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
  6859. as a no-op.
  6860. 2002-08-30 Krister Walfridsson <cato@df.lth.se>
  6861. * config/arm/arm.c (arm_asm_output_labelref): New function.
  6862. * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
  6863. * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
  6864. 2002-08-29 Rodney Brown <rbrown64@csc.com.au>
  6865. * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
  6866. memory exhausted" workarounds.
  6867. 2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
  6868. * diagnostic.c (fancy_abort): Don't repeat "internal error".
  6869. * toplev.c (crash_signal): Likewise.
  6870. Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
  6871. * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
  6872. * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
  6873. Extended, updated documentation.
  6874. (-Wundeclared-selector): Documented.
  6875. 2002-08-29 Jason Thorpe <thorpej@wasabisystems.com>
  6876. * config/chorus.h: Consistently define *_DEBUGGING_INFO with
  6877. the value 1. Do not undef before defining.
  6878. * config/darwin.h: Likewise.
  6879. * config/dbx.h: Likewise.
  6880. * config/dbxcoff.h: Likewise.
  6881. * config/dbxelf.h: Likewise.
  6882. * config/elfos.h: Likewise.
  6883. * config/interix.h: Likewise.
  6884. * config/lynx-ng.h: Likewise.
  6885. * config/lynx.h: Likewise.
  6886. * config/netware.h: Likewise.
  6887. * config/psos.h: Likewise.
  6888. * config/svr3.h: Likewise.
  6889. * config/alpha/alpha.h: Likewise.
  6890. * config/alpha/elf.h: Likewise.
  6891. * config/alpha/vms.h: Likewise.
  6892. * config/arc/arc.h: Likewise.
  6893. * config/arm/aout.h: Likewise.
  6894. * config/arm/coff.h: Likewise.
  6895. * config/c4x/c4x.h: Likewise.
  6896. * config/h8300/h8300.h: Likewise.
  6897. * config/i386/cygwin.h: Likewise.
  6898. * config/i386/djgpp.h: Likewise.
  6899. * config/i386/gas.h: Likewise.
  6900. * config/i386/gstabs.h: Likewise.
  6901. * config/i386/i386-coff.h: Likewise.
  6902. * config/i386/i386-interix.h: Likewise.
  6903. * config/i386/sco5.h: Likewise.
  6904. * config/i386/svr3dbx.h: Likewise.
  6905. * config/i386/sysv3.h: Likewise.
  6906. * config/i386/win32.h: Likewise.
  6907. * config/i386/x86-64.h: Likewise.
  6908. * config/i960/i960.h: Likewise.
  6909. * config/ia64/ia64.h: Likewise.
  6910. * config/ip2k/ip2k.h: Likewise.
  6911. * config/m32r/m32r.h: Likewise.
  6912. * config/m68k/3b1.h: Likewise.
  6913. * config/m68k/3b1g.h: Likewise.
  6914. * config/m68k/ccur-GAS.h: Likewise.
  6915. * config/m68k/coff.h: Likewise.
  6916. * config/m68k/hp2bsd.h: Likewise.
  6917. * config/m68k/hp310g.h: Likewise.
  6918. * config/m68k/hp320g.h: Likewise.
  6919. * config/m68k/hp3bsd.h: Likewise.
  6920. * config/m68k/hp3bsd44.h: Likewise.
  6921. * config/m68k/linux-aout.h: Likewise.
  6922. * config/m68k/m68k-aout.h: Likewise.
  6923. * config/m68k/mot3300.h: Likewise.
  6924. * config/m68k/netbsd.h: Likewise.
  6925. * config/m68k/openbsd.h: Likewise.
  6926. * config/m68k/pbb.h: Likewise.
  6927. * config/m68k/plexus.h: Likewise.
  6928. * config/m68k/sun2.h: Likewise.
  6929. * config/m68k/sun3.h: Likewise.
  6930. * config/m68k/tower-as.h: Likewise.
  6931. * config/m68k/vxm68k.h: Likewise.
  6932. * config/m88k/aout-dbx.h: Likewise.
  6933. * config/m88k/m88k-aout.h: Likewise.
  6934. * config/mcore/mcore-elf.h: Likewise.
  6935. * config/mcore/mcore-pe.h: Likewise.
  6936. * config/mips/elf.h: Likewise.
  6937. * config/mips/elf64.h: Likewise.
  6938. * config/mips/iris5gas.h: Likewise.
  6939. * config/mips/iris6.h: Likewise.
  6940. * config/mips/mips.h: Likewise.
  6941. * config/mips/sni-gas.h: Likewise.
  6942. * config/mmix/mmix.h: Likewise.
  6943. * config/ns32k/netbsd.h: Likewise.
  6944. * config/pa/pa64-hpux.h: Likewise.
  6945. * config/romp/romp.h: Likewise.
  6946. * config/rs6000/sysv4.h: Likewise.
  6947. * config/rs6000/xcoff.h: Likewise.
  6948. * config/sh/coff.h: Likewise.
  6949. * config/sh/elf.h: Likewise.
  6950. * config/sparc/linux64.h: Likewise.
  6951. * config/sparc/liteelf.h: Likewise.
  6952. * config/sparc/netbsd.h: Likewise.
  6953. * config/sparc/openbsd.h: Likewise.
  6954. * config/sparc/pbd.h: Likewise.
  6955. * config/sparc/sp64-elf.h: Likewise.
  6956. * config/sparc/sp86x-elf.h: Likewise.
  6957. * config/sparc/sparc.h: Likewise.
  6958. * config/vax/vax.h: Likewise.
  6959. * config/vax/vaxv.h: Likewise.
  6960. 2002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
  6961. * h8300.c (shift_alg_hi): Various tweaks to improve performance
  6962. of HImode shifts.
  6963. (get_shift_alg): Corresponding changes.
  6964. 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6965. * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
  6966. 2002-08-29 Richard Henderson <rth@redhat.com>
  6967. * expr.h (enum block_op_methods): New.
  6968. (emit_block_move): Update prototype.
  6969. * expr.c (block_move_libcall_safe_for_call_parm): New.
  6970. (emit_block_move_via_loop): New.
  6971. (emit_block_move): Use them. New argument METHOD.
  6972. (emit_push_insn): Always respect the given alignment.
  6973. (expand_assignment): Update call to emit_block_move.
  6974. (store_expr, store_field, expand_expr): Likewise.
  6975. * builtins.c (expand_builtin_apply): Likewise.
  6976. (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
  6977. * function.c (expand_function_end): Likewise.
  6978. * config/sh/sh.c (sh_initialize_trampoline): Likewise.
  6979. * config/sparc/sparc.c (sparc_va_arg): Likewise.
  6980. * calls.c (expand_call, emit_library_call_value_1): Likewise.
  6981. (save_fixed_argument_area): Use emit_block_move with
  6982. BLOCK_OP_CALL_PARM instead of move_by_pieces.
  6983. (restore_fixed_argument_area): Likewise.
  6984. (store_one_arg): Fix alignment parameter to emit_push_insn.
  6985. 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6986. * install.texi (hppa64-hp-hpux11*): Document installation procedure.
  6987. 2002-08-29 Catherine Moore <clm@redhat.com>
  6988. * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
  6989. NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
  6990. (PREDICATE_CODES): Include new predicates.
  6991. (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e.
  6992. (TARGET_SWITCHES): Add strict-align.
  6993. (TARGET_STRICT_ALIGN): New.
  6994. (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine.
  6995. * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
  6996. Define.
  6997. (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
  6998. v850_muldi3.
  6999. * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
  7000. L_callt_save_r2_r31, L_return_r2_r31,
  7001. L_save_all_interrupt): Change addi to add.
  7002. (L_save_interrupt, L_return_interrupt): Rework.
  7003. (__return_r31): Correct .size directive.
  7004. (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
  7005. (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
  7006. New routines.
  7007. * config/v850/v850.c (expand_prologue): Call
  7008. gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
  7009. gen_callt_return_interrupt and gen_callt_save_all_interrupt.
  7010. (reg_or_int9_operand): New predicate.
  7011. (reg_or_const_operand): New routine.
  7012. * config/v850/v850.md (return_interrupt): Changed from
  7013. restore_interrupt.
  7014. (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
  7015. (callt_save_interrupt): Change save sequence.
  7016. (callt_return_interrupt): New.
  7017. (save_interrupt): Don't use runtime function for LONG_CALLS
  7018. and TARGET_PROLOG_FUNCTION.
  7019. (save_all_interrupt): Likewise.
  7020. (mulsi3): Use new predicate.
  7021. (moviscc): Disallow some combination of constants.
  7022. Fix define_split for sasf insns, so that it will not generate bad
  7023. code if operand0 and operand5 are the same.
  7024. * config/v850/v850-protos.h: Prototype new predicates.
  7025. 2002-08-29 Zack Weinberg <zack@codesourcery.com>
  7026. * config/rs6000/rs6000.c (processor_target_table): Add 405f.
  7027. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Likewise.
  7028. 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
  7029. * c-common.c (builtin_define_type_precision): New function.
  7030. (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
  7031. wchar_t is unsigned in C++.
  7032. * doc/cpp.texi (Common Predefined Macros): Document
  7033. __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
  7034. __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
  7035. __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
  7036. 2002-08-28 Sylvain Pion <pion@cs.nyu.edu>
  7037. * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
  7038. section. Mention that it is enabled by -Wall.
  7039. (-Wall): Mention that there can be language-specific warnings as well.
  7040. (-Wctor-dtor-privacy): Mention that it is enabled by default.
  7041. (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
  7042. Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
  7043. * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
  7044. if it is ever live.
  7045. * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
  7046. attribute for SHCOMPACT.
  7047. * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
  7048. appropriately.
  7049. (FUNCTION_BOUNDARY): Specify only the minimum alignment required
  7050. by the ABI.
  7051. * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
  7052. 2002-08-28 Jason Thorpe <thorpej@wasabisystems.com>
  7053. * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
  7054. "MASK_GAS|MASK_ABICALLS".
  7055. * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
  7056. (TARGET_DEFAULT): Remove.
  7057. (MACHINE_TYPE): Undefine before defining.
  7058. (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
  7059. 2002-08-27 Mark Mitchell <mark@codesourcery.com>
  7060. * c-common.c (warn_abi): New variable.
  7061. * c-common.h (warn_abi): Likewise.
  7062. * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
  7063. (c_common_decode_option): Handle it.
  7064. * doc/invoke.texi: Document -Wabi.
  7065. Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
  7066. * c-common.c (warn_undeclared_selector): New variable.
  7067. * c-common.h (warn_undeclared_selector): Idem.
  7068. * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
  7069. to on when -Wundeclared-selector is found.
  7070. (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
  7071. * objc/objc-act.c (build_selector_expr): If
  7072. warn_undeclared_selector is set, check that the selector has
  7073. already been defined, and emit a warning if not.
  7074. 2002-08-27 Nick Clifton <nickc@redhat.com>
  7075. Catherine Moore <clm@redhat.com>
  7076. Jim Wilson <wilson@cygnus.com>
  7077. * config.gcc: Add v850e-*-* target.
  7078. Add --with-cpu= support for v850.
  7079. * config/v850/lib1funcs.asm: Add v850e callt functions.
  7080. * config/v850/v850.h: Add support for v850e target.
  7081. * config/v850/v850.c: Add functions to support v850e target.
  7082. * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
  7083. * config/v850/v850.md: Add patterns for v850e instructions.
  7084. * doc/invoke.texi: Document new v850e command line switches.
  7085. Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
  7086. Aldy Hernandez <aldyh at redhat dot com>
  7087. * doc/tm.texi: Applied numerous fixes to the automaton based
  7088. scheduler descrition.
  7089. Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
  7090. * i386.c (classify_argument): Handle variable sized objects.
  7091. Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
  7092. * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
  7093. Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
  7094. * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
  7095. Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
  7096. * i386.c (classify_argument): Properly compute word size of the analyzed object.
  7097. Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
  7098. * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
  7099. mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
  7100. accordingly.
  7101. (attribute insn_class): Provide default definitions based on type.
  7102. Remove all insn-specific settings.
  7103. (various function units): Remove old SH4 scheduling.
  7104. (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
  7105. New attributes. Set them where appropriate.
  7106. (cpu unit FS): Don't define / use.
  7107. (F3, load_store): New cpu units.
  7108. (F01): New reservation.
  7109. (all insn_reservations): Make dependent on sh4 pipeline model.
  7110. Fix latencies.
  7111. (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
  7112. (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
  7113. (mt insn_reservation): Use type mt_group.
  7114. (insn_reservation load_store): Split into sh4_load, sh4_load_si,
  7115. sh4_fload and sh4_store.
  7116. (insn_reservation branch_zero and branch): Replace with sh4_branch.
  7117. (insn_reservation branch_far): Replace with sh4_return.
  7118. (insn_reservation return_from_exp): Rename to:
  7119. (sh4_return_from_exp). Change to be just d_lock*5.
  7120. (insn_reservation lds_to_pr): Rename to:
  7121. (sh4_lds_to_pr). Change to be just d_lock*2.
  7122. (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
  7123. d_lock*2.
  7124. (insn_reservation prload_mem): Rename to:
  7125. (sh4_prstore_mem). Change to d_lock*2,nothing,memory.
  7126. (insn_reservation fpscr_store): Rename to:
  7127. (fpscr_load). Change to d_lock,nothing,F1*3.
  7128. (insn_reservation fpscr_store_mem): Rename to:
  7129. (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
  7130. (insn_reservation multi): Change to
  7131. d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
  7132. (insn_reservation fp_arith): Change to issue,F01,F2.
  7133. (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
  7134. (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
  7135. (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
  7136. (insn_reservation fp_double_cmp): Change to
  7137. d_lock,(d_lock+F01),F1+F2,F2.
  7138. (insn_reservation dp_div): Change to
  7139. issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
  7140. * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
  7141. (sh_adjust_cost, SHcompact): Differentiate between different
  7142. kinds of dependencies. Drop factor of ten for superscalar.
  7143. Use new instruction types. Add new exception rules.
  7144. * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
  7145. * sh.md (mperm_w): Add DONE.
  7146. 2002-08-27 David Edelsohn <edelsohn@gnu.org>
  7147. * longlong.h: Import current PowerPC defintion from GMP-4.1.
  7148. * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
  7149. * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
  7150. Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
  7151. * sh.h (MAX_FIXED_MODE_SIZE): Define.
  7152. 2002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
  7153. * doc/cpp.texi (Common Predefined Macros): Don't mess with table
  7154. delimiter.
  7155. 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  7156. * c-common.c (cpp_define_data_format): New function.
  7157. (cb_register_builtins): Call it.
  7158. * doc/cpp.texi (Common Predefined Macros): Document
  7159. __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
  7160. __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
  7161. __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
  7162. __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
  7163. __TARGET_USES_VAX_H_FLOAT__.
  7164. 2002-08-26 Ziemowit Laski <zlaski@apple.com>
  7165. * objc/objc-act.c (get_super_receiver): If inside a class method
  7166. of a category, cast the receiver to 'id' before accessing the 'isa'
  7167. field so that <objc/objc-class.h> is not needed. For NeXT runtime.
  7168. 2002-08-26 Ulrich Weigand <uweigand@de.ibm.com>
  7169. * config/s390/s390-protos.h (s390_function_prologue,
  7170. s390_function_epilogue): Remove.
  7171. config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
  7172. TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
  7173. config/s390/s390.c (s390_machine_dependent_recorg): New function.
  7174. config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
  7175. config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
  7176. config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
  7177. to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
  7178. config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
  7179. assume BASE_REGISTER and RETURN_REGNUM need to be saved.
  7180. (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
  7181. function is not a leaf function. Use save_gprs and restore_gprs.
  7182. (s390_emit_epilogue): Likewise.
  7183. (save_gprs, restore_gprs): New functions.
  7184. (struct s390_frame): Remove return_reg_saved_p member.
  7185. (save_fprs_p): Remove.
  7186. (s390_optimize_prolog): New function.
  7187. (s390_legitimate_reload_constant): Remove now unnecessary check.
  7188. (s390_function_count): Remove.
  7189. (s390_output_symbolic_const): Replace s390_function_count by
  7190. current_function_funcdef_no.
  7191. (s390_output_constant_pool): Likewise.
  7192. (legitimize_pic_address): Use regs_ever_live to track PIC register
  7193. instead of current_function_uses_pic_offset_table.
  7194. (s390_emit_prologue): Likewise.
  7195. config/s390/s390.md ("call", "call_value"): Likewise.
  7196. 2002-08-26 Neil Booth <neil@daikokuya.co.uk>
  7197. * c-opts.c (find_opt): Don't complain about wrong languages
  7198. here. Return exact matches even for wrong language.
  7199. (c_common_decode_option): Complain about wrong languages
  7200. here.
  7201. 2002-08-24 Stuart Hastings <stuart@apple.com>
  7202. * function.h (struct function): Add flag
  7203. all_throwers_are_sibcalls.
  7204. * except.c (set_nothrow_function_flags): Replaces
  7205. nothrow_function_p. Set new flag.
  7206. * except.h (set_nothrow_function_flags): Replaces
  7207. nothrow_function_p.
  7208. * dwarf2out.c (struct dw_fde_struct): Add flag
  7209. all_throwers_are_sibcalls.
  7210. (output_call_frame_info): Test it.
  7211. (dwarf2out_begin_prologue) Propagate it from cfun to
  7212. dw_fde_struct.
  7213. * toplev.c (rest_of_compilation): Update calls to
  7214. nothrow_function_p.
  7215. 2002-08-23 Zack Weinberg <zack@codesourcery.com>
  7216. * ggc-page.c (compute_inverse): Short circuit calculation for
  7217. object sizes larger than half a page.
  7218. 2002-08-23 David Edelsohn <edelsohn@gnu.org>
  7219. * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
  7220. DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
  7221. default.
  7222. (rs6000_elf_unique_section): Likewise.
  7223. 2002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7224. * ns32k.c (ns32k_globalize_label): Delete.
  7225. * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
  7226. 2002-08-23 Alan Modra <amodra@bigpond.net.au>
  7227. * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
  7228. for loading delta with num_insns_constant_wide. Calculate
  7229. delta_low, delta_high without using a conditional.
  7230. 2002-08-22 Jason Merrill <jason@redhat.com>
  7231. * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
  7232. * c-common.def: Adjust.
  7233. * c-dump.c (c_dump_tree): Adjust.
  7234. * c-semantics.c (genrtl_return_stmt): Adjust.
  7235. * c-pretty-print.c (pp_c_statement): Adjust.
  7236. * tree-inline.c (copy_body_r): Adjust.
  7237. 2002-08-22 Zack Weinberg <zack@codesourcery.com>
  7238. * ggc-page.c: Avoid division in ggc_set_mark.
  7239. (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
  7240. compute_inverse): New.
  7241. (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
  7242. (init_ggc): Initialize inverse_table.
  7243. 2002-08-22 Tom Tromey <tromey@redhat.com>
  7244. * doc/install.texi (Configuration): Document --datadir.
  7245. 2002-08-22 Alexandre Oliva <aoliva@redhat.com>
  7246. * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
  7247. 2002-08-22 Hans-Peter Nilsson <hp@bitrange.com>
  7248. * gengtype-lex.l (ID): Allow underscore as first character.
  7249. 2002-08-21 David Edelsohn <edelsohn@gnu.org>
  7250. * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
  7251. function.
  7252. (rs6000_xcoff_asm_named_section): Rename.
  7253. * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
  7254. 2002-08-21 Tom Tromey <tromey@redhat.com>
  7255. For PR java/6005 and PR java/7611:
  7256. * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
  7257. (fold): Likewise.
  7258. * langhooks.c (lhd_can_use_bit_fields_p): New function.
  7259. * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
  7260. (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
  7261. (LANG_HOOKS_INITIALIZER): Use it.
  7262. * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
  7263. field.
  7264. 2002-08-21 Stan Shebs <shebs@apple.com>
  7265. * tree.c (finish_vector_type): Fix a typo in a comment.
  7266. * Makefile.in: Fix "the the" stutters in comments.
  7267. * genautomata.c: Ditto.
  7268. * ifcvt.c: Ditto.
  7269. * regrename.c: Ditto.
  7270. * config/alpha/alpha.c: Ditto.
  7271. * config/alpha/vms-crt0-64.c: Ditto.
  7272. * config/alpha/vms-crt0.c: Ditto.
  7273. * config/alpha/vms-psxcrt0-64.c: Ditto.
  7274. * config/alpha/vms-psxcrt0.c: Ditto.
  7275. * config/d30v/d30v.h: Ditto.
  7276. * config/fr30/fr30.h: Ditto.
  7277. * config/rs6000/rs6000.c: Ditto.
  7278. * config/stormy16/stormy16.h: Ditto.
  7279. * doc/md.texi: Ditto.
  7280. 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
  7281. * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
  7282. 2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
  7283. * c-decl.c (grokdeclarator): Make invalid combinations with long,
  7284. short, signed or unsigned into hard errors. Fixes PR c/4319.
  7285. Also make duplicate modifiers such as "short short" into hard
  7286. errors.
  7287. 2002-08-21 Andrew Pinski <pinskia@physics.uc.edu>
  7288. Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7289. * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
  7290. to the actual end. Add '@end table' and '@table @code'.
  7291. 2002-08-20 Geoffrey Keating <geoffk@redhat.com>
  7292. * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
  7293. * unroll.c (biv_total_increment): Don't try to compute the total
  7294. increment for FP BIVs.
  7295. 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7296. * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
  7297. * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
  7298. ASM_OUTPUT_ALIGNED_BSS): Use target hook.
  7299. * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
  7300. * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
  7301. * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
  7302. (GLOBAL_ASM_OP): Define.
  7303. * arm.c (aof_globalize_label): New function.
  7304. (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
  7305. * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
  7306. * c4x.c (c4x_globalize_label): New function.
  7307. (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
  7308. * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
  7309. (GLOBAL_ASM_OP): Define.
  7310. * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
  7311. * darwin-protos.h (darwin_globalize_label): Declare.
  7312. * darwin.c (darwin_globalize_label): New function.
  7313. * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
  7314. (ASM_GLOBALIZE_LABEL): Delete.
  7315. (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
  7316. * dsp16xx.c (asm_output_common): Use target hook.
  7317. * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
  7318. * frv.h (ASM_GLOBALIZE_LABEL): Delete.
  7319. (GLOBAL_ASM_OP): Define.
  7320. * i370.c (i370_globalize_label): New function.
  7321. (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
  7322. * i370.h (ASM_GLOBALIZE_LABEL): Delete.
  7323. * i386.c (ix86_asm_file_end): Use target hook.
  7324. * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
  7325. (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
  7326. * ia64.c (ia64_asm_output_external): Likewise.
  7327. * ia64/sysv4.h: Update comment.
  7328. * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
  7329. * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  7330. * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
  7331. * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
  7332. * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
  7333. * mmix-protos.h (mmix_asm_globalize_label): Delete.
  7334. * mmix.c (mmix_asm_globalize_label): Likewise.
  7335. * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
  7336. (GLOBAL_ASM_OP): Define.
  7337. * ns32k.c (ns32k_globalize_label): New function.
  7338. * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
  7339. (ASM_GLOBALIZE_LABEL): Delete.
  7340. * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
  7341. (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
  7342. * pa.c (pa_globalize_label): New function.
  7343. * pa.h (ASM_GLOBALIZE_LABEL): Delete.
  7344. (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
  7345. * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
  7346. (GLOBAL_ASM_OP): Define.
  7347. (TARGET_ASM_GLOBALIZE_LABEL): Undef.
  7348. * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
  7349. * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
  7350. (GLOBAL_ASM_OP): Define.
  7351. * v850.c (v850_output_aligned_bss): Use target hook.
  7352. * vax.c (vms_globalize_label): New function.
  7353. (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
  7354. * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
  7355. (GLOBAL_ASM_OP): Define.
  7356. * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
  7357. * doc/tm.texi: Update docs.
  7358. * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
  7359. target hook.
  7360. * final.c (output_alternate_entry_point): Likewise.
  7361. * hooks.c (hook_FILEptr_constcharptr_void): New function.
  7362. * hooks.h (hook_FILEptr_constcharptr_void): Declare.
  7363. * output.h (assemble_global): Delete.
  7364. (default_globalize_label): Declare.
  7365. * system.h (ASM_GLOBALIZE_LABEL): Poison.
  7366. * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
  7367. (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
  7368. * target.h (gcc_target): Add globalize_label member.
  7369. * varasm.c (asm_output_bss, asm_output_aligned_bss,
  7370. globalize_decl): Use target hook.
  7371. (assemble_global): Delete.
  7372. (default_globalize_label): New function.
  7373. 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7374. * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
  7375. 2002-08-20 Devang Patel <dpatel@apple.com>
  7376. * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
  7377. 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7378. * arc.c (output_shift): Use stdio instead of asm_fprintf.
  7379. * arm.c (thumb_output_function_prologue): Likewise.
  7380. * avr.c (print_operand): Likewise.
  7381. * c4x.c (c4x_print_operand): Likewise.
  7382. * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
  7383. ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
  7384. * cris.c (cris_target_asm_function_prologue,
  7385. cris_asm_output_mi_thunk): Likewise.
  7386. * h8300.c (print_operand): Likewise.
  7387. * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
  7388. * ip2k.c (print_operand): Likewise. Fix format specifier.
  7389. * m68hc11.c (asm_print_register, print_operand,
  7390. print_operand_address): Use stdio instead of asm_fprintf.
  7391. (print_operand_address): Fix format specifier.
  7392. * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
  7393. ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
  7394. asm_fprintf.
  7395. * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  7396. * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  7397. * m68k.c (m68k_output_function_prologue,
  7398. m68k_output_function_epilogue, print_operand): Likewise.
  7399. * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
  7400. Likewise. Fix format specifier.
  7401. * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
  7402. * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
  7403. * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
  7404. 2002-08-15 Eric Christopher <echristo@redhat.com>
  7405. Jeff Knaggs <jknaggs@redhat.com>
  7406. * config.gcc (mipsisa64sr71k-elf): New target.
  7407. * config/mips/sr71k.md: New file.
  7408. * config/mips/mips.md: Use it.
  7409. (rot*): Add sr71k specifics.
  7410. * config/mips/t-sr71k: New file.
  7411. * config/mips/mips.h (sr71k): New cpu.
  7412. (TARGET_SR71K): Use it.
  7413. (TUNE_SR71K): Ditto.
  7414. (GENERATE_BRANCHLIKELY): Ditto.
  7415. (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
  7416. ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
  7417. * config/mips/mips.c (sr71k): New cpu.
  7418. (mips_use_dfa_pipeline_interface): Use.
  7419. 2002-08-15 Eric Christopher <echristo@redhat.com>
  7420. Richard Sandiford <rsandifo@redhat.com>
  7421. Aldy Hernandez <aldyh@redhat.com>
  7422. Graham Stott <grahams@redhat.com>
  7423. Michael Meissner <meissner@redhat.com>
  7424. Gavin Romig-Koch <gavin@redhat.com>
  7425. Ken Raeburn <raeburn@cygnus.com>
  7426. Alexandre Oliva <aoliva@redhat.com>
  7427. * config.gcc (mips64vr-elf): New target.
  7428. * config/mips/5400.md: New file.
  7429. * config/mips/5500.md: Ditto.
  7430. * config/mips/mips.md: Use them.
  7431. (frsqrt): New.
  7432. * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
  7433. cpus.
  7434. (mips_issue_rate): Use them.
  7435. (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
  7436. (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
  7437. * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
  7438. cpus.
  7439. (TARGET_MIPSx): Use them.
  7440. (TUNE_MIPSx): Ditto.
  7441. (GETNATE_MULT3_SI): Ditto.
  7442. (ISA_HAS_BRANCHLIKELY): Ditto.
  7443. (ISA_HAS_CONDMOVE): Ditto.
  7444. (ISA_HAS_NMADD_NMSUB): Ditto.
  7445. (ISA_HAS_MULHI): New. Ditto.
  7446. (ISA_HAS_MULS): Ditto.
  7447. (ISA_HAS_MSAC): Ditto.
  7448. (ISA_HAS_MACC): Ditto.
  7449. (ISA_HAS_ROTR_SI): Ditto.
  7450. (ISA_HAS_ROTR_DI): Ditto.
  7451. (RTX_COSTS): Use.
  7452. 2002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
  7453. * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
  7454. at head.
  7455. (remove_dup_nonsys_dirs): New function.
  7456. (remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
  7457. (merge_include_chains): Remove non-system include directories from
  7458. quote and bracket include chains when they duplicate equivalent system
  7459. directories.
  7460. * doc/cpp.texi (-I): Update.
  7461. * doc/cppopts.texi (-I): Update.
  7462. * doc/install.texi (--with-local-prefix): Further document usage of
  7463. this option.
  7464. * doc/invoke.texi (-I): Update.
  7465. 2002-08-20 Richard Henderson <rth@redhat.com>
  7466. * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
  7467. (emit_block_move): Split out subroutines.
  7468. (emit_block_move_via_movstr): New.
  7469. (emit_block_move_via_libcall): New. Emit bcopy via normal call also.
  7470. (emit_block_move_libcall_fn): New. Construct function prototype for
  7471. bcopy as well.
  7472. (clear_storage): Split out subroutines.
  7473. (clear_storage_via_clrstr): New.
  7474. (clear_storage_via_libcall): New. Emit bzero as a normal call also.
  7475. (clear_storage_libcall_fn): New. Construct function prototype for
  7476. bzero as well.
  7477. (emit_push_insn): Use emit_block_move.
  7478. (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
  7479. (store_constructor): Likewise.
  7480. 2002-08-19 Ziemowit Laski <zlaski@apple.com>
  7481. * objc/objc-act.c (building_objc_message_expr): Rename to
  7482. current_objc_message_selector.
  7483. 2002-08-19 Ziemowit Laski <zlaski@apple.com>
  7484. * objc/objc-act.c (build_ivar_chain): Remove.
  7485. (objc_copy_list): Likewise.
  7486. (get_class_ivars): Inline call to removed build_ivar_chain
  7487. function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
  7488. slot; use that slot (rather than CLASS_IVARS) when accessing
  7489. ivars for base classes. Call copy_list and chainon instead of
  7490. objc_copy_list.
  7491. (build_private_template): Call get_class_ivars instead of
  7492. build_ivar_chain.
  7493. (start_class): Allocate room for the CLASS_OWN_IVARS slot.
  7494. (continue_class): Call get_class_ivars instead of
  7495. build_ivar_chain.
  7496. (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
  7497. of DECL_BIT_FIELD (which may have been cleared).
  7498. * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
  7499. 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7500. * genautomata.c (output_translate_vect, output_state_ainsn_table,
  7501. output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
  7502. in output file.
  7503. (output_internal_min_issue_delay_func): Initialize variable in
  7504. output file.
  7505. 2002-08-19 Alexandre Oliva <aoliva@redhat.com>
  7506. * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
  7507. (stage2_build, stage3_build, stage4_build): Likewise, to CC.
  7508. 2002-08-19 Geoffrey Keating <geoffk@redhat.com>
  7509. Steve Ellcey <sje@cup.hp.com>
  7510. * machmode.h (SCALAR_INT_MODE_P): New macro to test for
  7511. scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
  7512. * explow.c (trunc_int_for_mode): Abort when the mode is not
  7513. a scaler integer mode.
  7514. * combine.c (expand_compound_operation): Don't expand Vector
  7515. or Complex modes into shifts.
  7516. (expand_field_assignment): Don't do bitwise arithmatic and
  7517. shifts on Vector or Complex modes.
  7518. (simplify_comparison): Don't call trunc_int_for_mode
  7519. for VOIDmode.
  7520. * recog.c (general_operand): Likewise.
  7521. (immediate_operand): Likewise.
  7522. (nonmemory_operand): Likewise.
  7523. 2002-08-19 David Edelsohn <edelsohn@gnu.org>
  7524. * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
  7525. multi-instruction SImode constant. Add REG_EQUAL note.
  7526. * config/rs6000/rs6000.md (movsi splitter): Use
  7527. rs6000_emit_set_const.
  7528. 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7529. * tree-inline.c (initialize_inlined_parameters): Wrap variable in
  7530. the macro test controlling its use.
  7531. 2002-08-18 H.J. Lu (hjl@gnu.org)
  7532. * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
  7533. crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
  7534. gnu_ld=yes.
  7535. (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
  7536. i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
  7537. s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
  7538. xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
  7539. here.
  7540. (cris-*-linux*): Remove setting thread_file here.
  7541. 2002-08-18 Neil Booth <neil@daikokuya.co.uk>
  7542. PR preprocessor/7602
  7543. * cppinit.c (path_include): Treat the system environment
  7544. variables as being cxx_aware.
  7545. 2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
  7546. * c-decl.c (flexible_array_type_p): New function.
  7547. (grokdeclarator, finish_struct): Use it.
  7548. * doc/extend.texi: Document constraints on use of structures with
  7549. flexible array members.
  7550. 2002-08-17 Richard Sandiford <rsandifo@redhat.com>
  7551. * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
  7552. config/mips/t-r3900 (MULTILIB_MATCHES): Define.
  7553. * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
  7554. 2002-08-16 Stan Shebs <shebs@apple.com>
  7555. * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
  7556. for ObjC with -fnext-runtime.
  7557. * doc/cpp.texi: Document it.
  7558. 2002-08-16 Janis Johnson <janis187@us.ibm.com>
  7559. * doc/install.texi (Final installation): Replace links to individual
  7560. build status pages with a link to a common page that lists them all.
  7561. 2002-08-16 Sylvain Pion <pion@cs.nyu.edu>
  7562. * doc/invoke.texi: Fix typo.
  7563. 2002-08-16 David Edelsohn <edelsohn@gnu.org>
  7564. * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
  7565. 2002-08-16 Andrew Haley <aph@redhat.com>
  7566. * tree-inline.c: Add includes for Java inliner.
  7567. (remap_decl): Don't handle anonymous types for Java.
  7568. (remap_block): Add handling for Java trees.
  7569. (copy_scope_stmt): Conditionalize for non-Java use only.
  7570. (copy_body_r): Handle Java trees. Add handling for
  7571. LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
  7572. (initialize_inlined_parameters): Handle Java trees.
  7573. (declare_return_variable): Likewise.
  7574. (expand_call_inline): Handle Java trees.
  7575. (walk_tree): Likewise.
  7576. (copy_tree_r): Don't handle SCOPE_STMTs for Java.
  7577. (add_stmt_to_compound): New function.
  7578. 2002-08-15 Richard Henderson <rth@redhat.com>
  7579. * Makefile.in (LOOSE_WARN): Remove -fno-common.
  7580. (NOCOMMON_FLAG): New substitution point.
  7581. (GCC_WARN_CFLAGS): Include it.
  7582. * configure.in (ac_checking): Set nocommon_flag.
  7583. (nocommon_flag): New substitution point.
  7584. 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
  7585. * c-tree.h (skip_evaluation): Move declaration...
  7586. * c-common.h: ... here.
  7587. * c-typeck.c (build_external_ref): Don't assemble_external nor
  7588. mark a tree as used if skip_evaluation is set.
  7589. * c-parse.in (typeof): New non-terminal to set skip_evaluation
  7590. around TYPEOF.
  7591. (typespec_nonreserved_nonattr): Use it.
  7592. 2002-08-15 Douglas B Rupp <rupp@gnat.com>
  7593. * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
  7594. (xcoff_debug_hooks): Update end_prologue.
  7595. * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
  7596. * debug.h (end_prologue): Add file arg.
  7597. (end_epilogue): Add line and file args.
  7598. (dwarf2out_end_epilogue): Add line and file args.
  7599. (vmsdbgout_after_prologue): Remove.
  7600. * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
  7601. (dwarf2_debug_hooks): Update end_prologue.
  7602. * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
  7603. (dwarfout_end_prologue): Add file arg.
  7604. * final.c (vmsdbgout_after_prologue): Remove
  7605. (final_end_function): Update end_epilogue call.
  7606. (final_scan_insn): Update end_prologue call.
  7607. * sdbout.c (sdbout_end_epilogue): Add line and file args.
  7608. (sdbout_end_prologue): Add file arg.
  7609. (sdb_debug_hooks): Update end_prologue.
  7610. (sdb_begin_prologue): Update sdbout_end_prologue call.
  7611. * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
  7612. vmsdbgout_end_function.
  7613. (vmsdbgout_end_prologue): New function renamed from
  7614. vmsdbgout_after_prologue. Call vmsdbgout_source_line.
  7615. (vmsdbgout_end_function): New function.
  7616. (vmsdbgout_end_epilogue): Add line and file args. Call
  7617. vmsdbgout_source_line.
  7618. (write_pclines): Write only valid line numbers.
  7619. (write_srccorr): Don't write source correlation records if 0 lines.
  7620. * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
  7621. 2002-08-15 Steve Ellcey <sje@cup.hp.com>
  7622. * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
  7623. (_Unwind_Internal_Ptr): 32 bit version for use in
  7624. read_encoded_value_with_base.
  7625. * gcc/unwind-pe.h (read_encoded_value_with_base): Use
  7626. _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
  7627. right size.
  7628. 2002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7629. * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
  7630. signed/unsigned warnings.
  7631. * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
  7632. record_reg_classes): Likewise.
  7633. * reload.c (reload_inner_reg_of_subreg, push_reload,
  7634. find_reloads_address_1): Likewise.
  7635. 2002-08-15 David Edelsohn <edelsohn@gnu.org>
  7636. * rs6000.c (output_mi_thunk): Return to function section on
  7637. TARGET_ELF.
  7638. * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
  7639. 2002-08-15 Ulrich Weigand <uweigand@de.ibm.com>
  7640. * config/s390/s390.c (legitimize_address): Optimize loading
  7641. of large displacements.
  7642. 2002-08-14 Douglas B Rupp <rupp@gnat.com>
  7643. * config/alpha/alpha-protos.h: Update.
  7644. * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
  7645. (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
  7646. (alpha_linkage_symbol_p): New static function.
  7647. (print_operand_address): Print linkage operand.
  7648. (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
  7649. variables.
  7650. (reloc_kind): New enum.
  7651. (struct alpha_funcs): New struct.
  7652. (struct alpha_links): Add reloc_kind field. Rename links_kind field.
  7653. (alpha_need_linkage): Rewrite.
  7654. (alpha_use_linkage): New global function.
  7655. (alpha_write_linkage): Rewrite and make static.
  7656. (alpha_write_one_linkage): Rewrite
  7657. (alpha_start_function): Remove procedure descriptor output.
  7658. (alpha_end_function): Write linkages at end of each function.
  7659. * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
  7660. (call_vms_1, call_value_vms_1): Rewrite.
  7661. * config/alpha/vms.h (ASM_FILE_END): Remove.
  7662. 2002-08-14 Richard Henderson <rth@redhat.com>
  7663. * ggc-page.c (RTL_SIZE): New.
  7664. (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
  7665. * rtl.def (BARRIER, NOTE): Pad to 9 slots.
  7666. 2002-08-14 Richard Henderson <rth@redhat.com>
  7667. * calls.c: Include target.h.
  7668. * Makefile.in (calls.o): Update.
  7669. * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
  7670. * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
  7671. 2002-08-14 Richard Henderson <rth@redhat.com>
  7672. * Makefile.in (LOOSE_WARN): Add -fno-common.
  7673. * c-common.h (constant_string_class_name): Add missing extern.
  7674. 2002-08-15 Neil Booth <neil@daikokuya.co.uk>
  7675. PR preprocessor/7358
  7676. * c-opts.c (check_deps_environment_vars): Ignore main file
  7677. for SUNPRO_DEPENDENCIES.
  7678. * cppfiles.c (stack_include_file): Ignore main file if
  7679. appropriate.
  7680. * cpplib.h (struct cpp_options): New member in deps.
  7681. * doc/cppenv.texi: Update.
  7682. 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
  7683. PR preprocessor/7526
  7684. * cpplib.c (run_directive): Kludge so _Pragma dependency works.
  7685. 2002-08-14 Nathan Sidwell <nathan@codesourcery.com>
  7686. * doc/invoke.texi (-a): Remove documentation.
  7687. (-fprofile-arcs): Remove reference to -a, -ax options.
  7688. * doc/gcov.texi (Gcov Data Files): Data might be merged.
  7689. 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
  7690. Fix PR/7566
  7691. * c-semantics.c (genrtl_case_label): Don't (mis)use
  7692. warning_with_decl.
  7693. 2002-08-14 Dale Johannesen <dalej@apple.com>
  7694. * explow.c (emit_stack_restore): Emit memory clobbers
  7695. preceding the stack pop, to prevent the scheduler from
  7696. moving refs to variable arrays below this pop.
  7697. * reload1.c (reload): Preserve these clobbers for sched2.
  7698. * doc/rtl.texi: Document clobber (mem:BLK (scratch)).
  7699. 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
  7700. * c-opts.c (c_common_post_options): Correct test.
  7701. 2002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7702. * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
  7703. order in call to fprintf.
  7704. 2002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  7705. * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
  7706. 2002-08-14 Ulrich Weigand <uweigand@de.ibm.com>
  7707. * reload.c (find_reloads): Handle constraint letters marked by
  7708. EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
  7709. (alternative_allows_memconst): Likewise.
  7710. * reload1.c (maybe_fix_stack_asms): Likewise.
  7711. * recog.c (asm_operand_ok, preprocess_constraints,
  7712. constrain_operands): Likewise.
  7713. * regclass.c (record_operand_costs, record_reg_classes): Likewise.
  7714. * local-alloc.c (block_alloc, requires_inout): Likewise.
  7715. * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
  7716. * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
  7717. (EXTRA_ADDRESS_CONSTRAINT): Likewise.
  7718. * doc/tm.texi: Document these two new target macros.
  7719. * config/s390/s390.c (s390_expand_plus_operand): Accept already
  7720. valid operands.
  7721. (q_constraint): New function.
  7722. config/s390/s390-protos.h (q_constraint): Declare it.
  7723. config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
  7724. (EXTRA_MEMORY_CONSTRAINT): New macro.
  7725. * config/s390/s390.md: Throughout the machine description,
  7726. replace all instances of the constraint combinations 'Qo'
  7727. or 'oQ' with simply 'Q'.
  7728. 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
  7729. * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
  7730. * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
  7731. (LIBGCC2_CFLAGS): Compile with -mrelax.
  7732. 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
  7733. * doc/invoke.texi: Document -minmax for 68HC12.
  7734. * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
  7735. ("uminqi3"): Likewise.
  7736. ("uminhi3", "umaxhi3"): Likewise.
  7737. * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
  7738. (TARGET_MIN_MAX): Define.
  7739. (TARGET_SWITCHES): New option -minmax/-mnominmax.
  7740. 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
  7741. * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
  7742. (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
  7743. * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
  7744. (ret, declare, farsym): New gas macros.
  7745. (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
  7746. ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
  7747. and declare the symbol far when compiled with -mlong-calls.
  7748. (__far_trampoline): New for 68HC12 trampoline code to invoke a
  7749. far handler using jsr/bsr.
  7750. * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
  7751. (jsr): New macro to transform a 'jsr' into a 'call'.
  7752. 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
  7753. * doc/invoke.texi: Document -mlong-calls for 68HC12.
  7754. * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
  7755. -mlong-calls is specified.
  7756. (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
  7757. assembler directives.
  7758. (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
  7759. (TARGET_SWITCHES): Add -mlong-calls options.
  7760. (current_function_far): Declare.
  7761. * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
  7762. into account the page register saved on the stack.
  7763. (m68hc11_override_options): Take into account -mlong-calls option.
  7764. (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
  7765. * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
  7766. if the function is going to be in 68HC12 banked memory (-mlong-calls).
  7767. ("*return_16bit"): Likewise.
  7768. ("*return_void"): Likewise.
  7769. ("call", "call_value"): Use call for a far function call.
  7770. 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
  7771. * toplev.c (parse_options_and_default_flags): Don't call
  7772. post_options here.
  7773. (general_init): Initialize GC, pools and tree hash here,
  7774. instead of lang_independent_init.
  7775. (lang_independent_init): Rename backend_init.
  7776. (do_compile): Call post_options hook; exit early if there
  7777. have been errors after switch processing.
  7778. (toplev_main): Update.
  7779. 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
  7780. * c-pretty-print.h: Guard against multiple inclusion.
  7781. Robustify macros.
  7782. (pp_c_attributes): Declare.
  7783. * c-pretty-print.c (pp_c_attributes): New function.
  7784. 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7785. * m68k.c (m68k_output_function_prologue,
  7786. m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
  7787. and NEWS/MOTOROLA.
  7788. * genattrtab.c: Remove dpx2 comment.
  7789. * libgcc2.c (__enable_execute_stack): Delete versions for
  7790. NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
  7791. sony_news/SYSTYPE_BSD.
  7792. * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
  7793. __gmicro__, __i860__, __NeXT__ and __pyr__.
  7794. * rtl.h: Remove convex comment.
  7795. * varasm.c: Likewise.
  7796. 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7797. * c-opts.c (lang_flags): Const-ify.
  7798. * ra-build.c (undef_table): Likewise.
  7799. * ra.c (eliminables): Likewise.
  7800. 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
  7801. * tree.h: Guard against multiple inclusion.
  7802. 2002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
  7803. * reload1.c (reload_cse_simplify): Before checking
  7804. REG_FUNCTION_VALUE_P, check REG_P.
  7805. 2002-08-13 Geoffrey Keating <geoffk@redhat.com>
  7806. * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
  7807. 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
  7808. * c-opts.c (c_common_init_options): Extra braces needed.
  7809. Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
  7810. * sh.c (sh_init_builtins): Add PARAMS to declaration.
  7811. (sh_media_init_builtins, sh_expand_builtin): Likewise.
  7812. (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
  7813. (sh_expand_binop_v2sf): Likewise.
  7814. * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
  7815. (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
  7816. (sh_initialize_trampoline): Likewise.
  7817. 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com>
  7818. * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
  7819. new condition code modes.
  7820. s390.c (s390_match_ccmode_set): Handle those new CC modes.
  7821. (s390_select_ccmode): Likewise.
  7822. (s390_branch_condition_mask): Likewise.
  7823. * s390-protos.h (s390_tm_ccmode): Declare.
  7824. s390.c (s390_tm_ccmode): New function.
  7825. (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
  7826. * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
  7827. ("*cmpsi_tm2"): Rename to "*tmsi_ext".
  7828. ("*cmpqi_tm2"): Rename to "*tmqi_ext".
  7829. ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
  7830. "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
  7831. "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
  7832. ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
  7833. "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
  7834. ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
  7835. "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
  7836. "*cmpqi_ccs_0"): Remove, replace by ...
  7837. ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
  7838. "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
  7839. "*tstqi", "*tstqi_cconly"): ... these new patterns.
  7840. ("*cmpsidi_ccs"): Remove, replace by ...
  7841. ("*cmpsi_ccs_sign"): ... this new pattern.
  7842. ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
  7843. ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
  7844. ("*cli"): ... this new pattern.
  7845. ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
  7846. "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
  7847. New patterns.
  7848. ("adddi3_64"): Rename to "*adddi3_64".
  7849. ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
  7850. ("adddi3"): Adapt expander.
  7851. ("*addsi3_cc"): Allow "general_operand" for operand 2.
  7852. ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
  7853. "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
  7854. ("addhi3", "addqi3"): Remove, replace by ...
  7855. ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
  7856. ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
  7857. "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
  7858. ("subdi3"): Replace by insn and splitter "*subdi3_31".
  7859. ("subdi3"): New expander.
  7860. ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
  7861. ("subhi3", "subqi3"): Remove, replace by ...
  7862. ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
  7863. ("*muldi3_sign"): New pattern.
  7864. ("muldi3"): Do not clobber CC.
  7865. ("mulsi3"): Likewise.
  7866. ("mulsi_6432"): Likewise.
  7867. 2002-08-13 Denis Chertykov <denisc@overta.ru>
  7868. * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
  7869. which can change CC0.
  7870. Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com>
  7871. * gcse.c (adjust_libcall_notes): New function.
  7872. (do_local_cprop): Use it. Add fourth parameter. Changed caller.
  7873. 2002-08-13 Nathan Sidwell <nathan@codesourcery.com>
  7874. * libgcc2.c (L_bb): Remove unneeded #includes.
  7875. (__global_counters, __gthreads_active): Remove unused globals.
  7876. (__bb_exit_func): Merge counts into files rather than appending.
  7877. * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
  7878. (ALL_CFLAGS): ... to here.
  7879. 2002-08-13 Denis Chertykov <denisc@overta.ru>
  7880. * config/ip2k/ip2k.c (commands_in_file): Variable removed.
  7881. (function_epilogue): Don't calculate function size.
  7882. (ip2k_set_compare): Don't use lookup_const_double.
  7883. (asm_file_start): Initialization of commands_in_file removed.
  7884. (asm_file_end): Output of commands_in_file removed.
  7885. * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
  7886. __INT_MAX__.
  7887. 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
  7888. * c-opts.c (c_common_init_options): Check option array is
  7889. sorted if checking enabled.
  7890. 2002-08-13 Gabriel Dos Reis <gdr@nerim.net>
  7891. * c-pretty-print.c: #include "c-tree.h".
  7892. (pp_c_simple_type_specifier): Tweak.
  7893. (pp_c_storage_class_specifier): New.
  7894. (pp_c_function_specifier): Likewise.
  7895. (pp_c_declaration_specifiers): Likewise.
  7896. (pp_c_init_declarator): Likewise.
  7897. (pp_c_declaration): Likewise.
  7898. (pp_c_direct_declarator): Stub.
  7899. (pp_c_declarator): Likewise.
  7900. (pp_c_parameter_declaration): Likewise.
  7901. 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
  7902. * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
  7903. handle_deferred_opts, sanitize_cpp_opts, defer_opt,
  7904. struct deferred_opt): New.
  7905. (COMMAND_LINE_OPTIONS): Add -M*.
  7906. (missing_arg): Update.
  7907. (c_common_decode_option): Handle -M*.
  7908. (c_common_post_options): Handle -M*. Use sanitize_cpp_opts;
  7909. don't call cpp_post_options.
  7910. (c_common_finish, check_deps_environment_vars): Update.
  7911. * cppfiles.c (stack_include_file, handle_missing_header): Update.
  7912. * cpphash.h (CPP_PRINT_DEPS): Remove.
  7913. * cppinit.c: Don't include version.h.
  7914. (cpp_create_reader): Don't call deps_init. Initialize
  7915. warn_long_long.
  7916. (cpp_read_main_file): Init deps if necessary.
  7917. (cpp_destroy): Conditionally free deps.
  7918. (cpp_finish): Update.
  7919. (no_tgt): Remove.
  7920. (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
  7921. (cpp_post_options): Rename post_options.
  7922. * cpplib.h (struct cpp_options): Remove some dependency options;
  7923. move others to a new structure.
  7924. (cpp_post_options): Remove.
  7925. (cpp_finish): Comment.
  7926. * fix-header.c (read_scan_file): Don't call cpp_post_options.
  7927. 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
  7928. * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
  7929. ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
  7930. MMIX_rR_REGNUM as clobbered.
  7931. * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
  7932. 2002-08-12 Gabriel Dos Reis <gdr@nerim.net>
  7933. * diagnostic.h (output_formatted_scalar): Rename from
  7934. output_formatted_integer.
  7935. * diagnostic.def: Add DK_DEBUG.
  7936. * diagnostic.c (output_decimal): Adjust.
  7937. (output_long_decimal): Likewise.
  7938. (output_unsigned_decimal): Likewise.
  7939. (output_octal): Likewise.
  7940. (output_long_octal): Likewise.
  7941. (output_hexadecimal): Likewise.
  7942. (output_long_hexadecimal): Likewise.
  7943. * c-pretty-print.c (pp_c_type_specifier): New function.
  7944. (pp_c_specifier_qualifier_list): Likewise.
  7945. (pp_c_abstract_declarator): Likewise.
  7946. (pp_c_char): Replace pp_format_integer with pp_format_scalar.
  7947. 2002-08-12 David Edelsohn <edelsohn@gnu.org>
  7948. * doc/trouble.texi (Disappointments): Add static constructor and
  7949. destructor dependency information for AIX.
  7950. 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
  7951. * cpphash.h (struct printer): New from cppmain.c.
  7952. (cpp_reader): New member.
  7953. * cppmain.c (struct printer): Move to cpphash.h.
  7954. (options, print): Remove.
  7955. (account_for_newlines, print_line, maybe_print_line,
  7956. cpp_preprocess_file, setup_callbacks, scan_translation_unit,
  7957. scan_translation_unit_trad, cb_line_change, cb_ident,
  7958. cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
  7959. cb_def_pragma): Make reentrant.
  7960. 2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7961. * real.c (ieee_64): Always define.
  7962. (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
  7963. (dec_h): Not used yet, hide it.
  7964. (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
  7965. macro controlling use.
  7966. (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
  7967. Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
  7968. * i386.md (tablejump): Sign extend the operand.
  7969. * i386.c (classify_argument): Fix missed case from previous patch.
  7970. 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
  7971. * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
  7972. to c-copts.c.
  7973. (warn_multichar): Die.
  7974. (cb_register_builtins): Export.
  7975. * c-common.h (warn_multichar, preprocess_file): Remove.
  7976. (cb_register_builtins): New.
  7977. * c-lang.c (c_init): Remove.
  7978. (LANG_HOOKS_INIT): Use c_objc_common_init.
  7979. * c-lex.c (init_c_lex): Don't canonicalize filename.
  7980. * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
  7981. (preprocess_file): Make static. Update for cpplib.
  7982. (c_common_decode_option): Remove warn_multichar. Use in_fname.
  7983. (c_common_post_options): Set some cpp options here.
  7984. (c_common_init): Move from c-common.c.
  7985. * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
  7986. * cpplib.h (struct cpp_options): Remove in_fname.
  7987. (cpp_preprocess_file): Update.
  7988. * cppmain.c (cpp_preprocess_file): Update for new prototypes.
  7989. 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7990. * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
  7991. 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  7992. * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
  7993. backslash in comment preceeding macro definition.
  7994. * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
  7995. * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
  7996. * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
  7997. 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
  7998. * expr.c (store_expr): In condition for checking if value is
  7999. generated in TARGET, move call to expr_size last.
  8000. 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
  8001. * c-common.c (c_common_init): Call preprocess_file instead.
  8002. (c_common_finish): Move to c-opts.c.
  8003. * c-common.h (preprocess_file): new.
  8004. * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
  8005. check_deps_environment_vars, c_common_finish): New.
  8006. (c_common_decode_option): Update for out_fname and dependencies.
  8007. * cppinit.c (init_dependency_output, output_deps): Remove.
  8008. (cpp_destroy): Update prototype.
  8009. (cpp_add_dependency_target): New.
  8010. (cpp_read_main_file): Don't overlay a buffer.
  8011. (cpp_finish): Take a deps output stream and write deps to it.
  8012. Return the error count.
  8013. (cpp_post_options): Don't canonicalize out_fname, or do anything
  8014. with dependencies.
  8015. * cpplib.h (struct cpp_options): Remove out_fname and
  8016. preprocess_only.
  8017. (cpp_add_dependency_target): New.
  8018. (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
  8019. * cppmain.c (cpp_preprocess_file): Update prototype. Don't
  8020. set preprocess_only. Don't handle the output stream directly.
  8021. 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8022. * dsp16xx.c (print_operand): Fix format specifier.
  8023. * dsp16xx.md: Avoid automatic aggregate initialization.
  8024. * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
  8025. * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
  8026. integer constant modifier.
  8027. * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
  8028. * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
  8029. guards.
  8030. * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
  8031. * v850.c (v850_select_section): Mark parameter with
  8032. ATTRIBUTE_UNUSED.
  8033. * global.c (global_alloc): Const-ify.
  8034. * ra-colorize.c (hardregset_to_string): Fix format specifier.
  8035. 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8036. * darwin-c.c (darwin_pragma_options): Const-ify.
  8037. * darwin.c (machopic_non_lazy_ptr_name,
  8038. machopic_validate_stub_or_non_lazy_ptr): Likewise.
  8039. (machopic_indirect_data_reference): Wrap variables in macros
  8040. controlling their use.
  8041. (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
  8042. (machopic_select_section): Use parentheses around && within ||.
  8043. * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
  8044. 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8045. * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
  8046. mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
  8047. ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
  8048. ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
  8049. mdr_try_remove_redundant_insns, track_w_reload,
  8050. mdr_try_wreg_elim): Make function static to match prototype.
  8051. * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
  8052. parameter with ATTRIBUTE_UNUSED.
  8053. 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8054. * arc.c (arc_init): Don't use ISO C style function definitions.
  8055. * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
  8056. arm_get_strip_length, arm_strip_name_encoding): Likewise.
  8057. * avr.h (progmem_section): Likewise.
  8058. * h8300.c h8300_asm_insn_count): Likewise.
  8059. * m32r.c (init_idents): Likewise.
  8060. * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
  8061. * sh.c (sh_cfun_interrupt_handler_p): Likewise.
  8062. * xtensa.c (xtensa_build_va_list): Likewise.
  8063. 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
  8064. * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
  8065. * c-opts.c (parse_option): Rename find_opt.
  8066. (set_std_c99): New function.
  8067. (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
  8068. (missing_arg): Remove OPT_std_bad. Handle -o.
  8069. (c_common_decode_option): Handle input and output file names,
  8070. -o and -remap. Clean up -std= handling.
  8071. * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
  8072. (cpp_handle_option): Similarly. Don't handle filenames.
  8073. Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz>
  8074. * i386.c (classify_argument): Fix computing of field's offsets.
  8075. 2002-08-11 Andreas Jaeger <aj@suse.de>
  8076. PR target/7531:
  8077. * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
  8078. 2002-08-10 Ziemowit Laski <zlaski@apple.com>
  8079. * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
  8080. reference to clk_objective_c with flag_objc.
  8081. * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
  8082. Likewise.
  8083. * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
  8084. 2002-08-10 Neil Booth <neil@daikokuya.co.uk>
  8085. * c-opts.c (set_std_cxx98, set_std_c89): New.
  8086. (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
  8087. (c_common_decode_option): Handle new switches from cppinit.c.
  8088. Add -std=gnu++98.
  8089. * cppinit.c (set_lang): Rename cpp_set_lang. Export.
  8090. (no_arg, no_num): Remove.
  8091. (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
  8092. switches apart from -lang-objc and lang-asm.
  8093. (cpp_handle_option): Similarly.
  8094. * cpplib.h (cpp_set_lang): New.
  8095. * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
  8096. -std=gnu++98.
  8097. * objc/lang-specs.h: Remove -ansi.
  8098. Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
  8099. Graham Stott
  8100. * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
  8101. errors.
  8102. 2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8103. * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
  8104. emit_jump_insn): Fix uninitialized variable.
  8105. * gcov.c (init_line_info): Likewise.
  8106. * genautomata.c (transform_3): Add braces around ambiguous
  8107. else.
  8108. * ifcvt.c (cond_exec_process_insns): Mark parameter with
  8109. ATTRIBUTE_UNUSED.
  8110. * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
  8111. * regrename.c (copyprop_hardreg_forward): Fix uninitialized
  8112. variable.
  8113. * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
  8114. warnings in output files.
  8115. 2002-08-09 Ziemowit Laski <zlaski@apple.com>
  8116. * c-common.c (flag_objc): New.
  8117. * c-common.h (c_language_kind): Get rid of clk_objective_c
  8118. enum value.
  8119. (flag_objc): New extern declaration.
  8120. * c-decl.c (implicitly_declare): Call objc_check_decl
  8121. instead of maybe_objc_check_decl.
  8122. (finish_decl): Likewise.
  8123. (grokfield): Likewise.
  8124. (finish_struct): Likewise.
  8125. * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
  8126. (maybe_objc_comptypes): Rename to objc_comptypes.
  8127. (maybe_building_objc_message_expr): Rename to
  8128. objc_message_selector.
  8129. * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
  8130. replace with flag_objc as needed.
  8131. * c-opts.c (c_common_init_options): Likewise.
  8132. (c_common_decode_option): Likewise.
  8133. * c-parse.in (init_reswords): Likewise.
  8134. * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
  8135. (maybe_objc_comptypes): Rename to objc_comptypes.
  8136. (maybe_building_objc_message_expr): Rename to
  8137. objc_message_selector.
  8138. * c-typeck.c (comptypes): Call objc_comptypes instead of
  8139. maybe_objc_comptypes, and/or objc_message_selector instead of
  8140. maybe_building_objc_message_expr.
  8141. (comp_target_types): Likewise.
  8142. (convert_for_assignment): Likewise.
  8143. (warn_for_assignment): Likewise.
  8144. * cppinit.c (init_builtins): Set __OBJC__ manifest constant
  8145. independently of those for other languages.
  8146. * objc/objc-act.c (maybe_objc_comptypes): Delete.
  8147. (maybe_objc_check_decl): Delete.
  8148. (maybe_building_objc_message_expr): Rename to
  8149. objc_message_selector.
  8150. * objc/objc-lang.c (objc_init_options): Use clk_c instead of
  8151. clk_objective_c; set flag_objc flag.
  8152. 2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
  8153. * ifcvt.c (find_if_case_2): Test correct basic block for size.
  8154. 2002-08-09 Dale Johannesen <dalej@apple.com>
  8155. * config/rs6000/rs6000.md: Add sibcall patterns.
  8156. * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
  8157. * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
  8158. Rewritten to handle sibcalls.
  8159. * config/rs6000/rs6000.c (function_ok_for_sibcall): New.
  8160. * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New.
  8161. 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
  8162. * profile.c (da_file_name): New static var.
  8163. (init_branch_prob): Initialize it.
  8164. (end_branch_prob): Remove da file.
  8165. * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
  8166. * configure.in (coverage_flags): Default to nothing.
  8167. * configure: Rebuilt.
  8168. 2002-08-09 Neil Booth <neil@daikokuya.co.uk>
  8169. * Makefile.in (c-opts.o): Update
  8170. * c-opts.c: Include intl.h.
  8171. (print_help): Move from cppinit.c. Remove unused options.
  8172. (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
  8173. (missing_arg): Complain for switches without an argument.
  8174. (c_common_decode_option): Reject missing joined arguments.
  8175. Handle new switches from cppinit.c.
  8176. * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
  8177. (cpp_handle_option): Similarly.
  8178. (print_help): Moved to c-opts.c.
  8179. * cpplib.h (struct cpp_options): Remove help_only.
  8180. * gcc.c (cpp_unique_options): Remove -$.
  8181. * doc/cppopts.texi: Undocument -h.
  8182. 2002-08-08 Jakub Jelinek <jakub@redhat.com>
  8183. * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
  8184. legitimate constant.
  8185. (legitimate_pic_operand_p): Neither pic operand.
  8186. (legitimate_address_p): But legitimate address.
  8187. (get_thread_pointer): Generate MEM/u instead of CONST around
  8188. UNSPEC_TP.
  8189. (print_operand): Remove printing of UNSPEC_TP.
  8190. (print_operand_address): And print it here.
  8191. 2002-08-08 Devang Patel <dpatel@apple.com>
  8192. * objc/objc-act.c (build_selector_translation_table): Issue warning,
  8193. when -Wselector is used,if method for which selector is being
  8194. created does not exist.
  8195. 2002-08-08 Stephen Clarke <stephen.clarke@superh.com>
  8196. * config/sh/sh.c (prepare_move_operands): Only call
  8197. target_reg_operand if TARGET_SHMEDIA.
  8198. 2002-08-08 Jakub Jelinek <jakub@redhat.com>
  8199. * config/rs6000/rs6000.h, config/rs6000/aix.h,
  8200. config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
  8201. two patches.
  8202. * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
  8203. 2002-08-08 Lars Brinkhoff <lars@nocrew.org>
  8204. Richard Henderson <rth@redhat.com>
  8205. * emit-rtl.c (gen_rtx_REG): After reload, only return
  8206. frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
  8207. 2002-08-08 Jakub Jelinek <jakub@redhat.com>
  8208. * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
  8209. * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
  8210. * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
  8211. macro.
  8212. 2002-08-08 Adam Nemet <anemet@lnxw.com>
  8213. * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
  8214. register.
  8215. (thumb_expand_prologue): Likewise.
  8216. (thumb_output_function_prologue): Likewise.
  8217. * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
  8218. the additional push of the PIC register.
  8219. 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
  8220. * configure.in (enable_coverage): New enable switch.
  8221. * configure: Rebuilt.
  8222. * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
  8223. (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
  8224. (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
  8225. (mostlyclean): Remove coverage files.
  8226. * doc/install.texi: Document enable_coverage.
  8227. * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
  8228. * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
  8229. * f/Make-lang.in (f.mostlyclean): Remove coverage files.
  8230. * java/Make-lang.in (java.mostlyclean): Remove coverage files.
  8231. * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
  8232. * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
  8233. files.
  8234. 2002-08-08 Neil Booth <neil@daikokuya.co.uk>
  8235. * c-opts.c (cpp_opts): New.
  8236. (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
  8237. (c_common_decode_options): Handle cpplib switches.
  8238. (c_common_init_options): Set cpp_opts.
  8239. * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
  8240. (cpp_handle_option): Similarly.
  8241. 2002-08-08 David Edelsohn <edelsohn@gnu.org>
  8242. * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
  8243. (TARGET_ALTIVEC_ABI): Same.
  8244. (TARGET_ALTIVEC_VRSAVE): Same.
  8245. * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
  8246. icode not CODE_FOR_nothing. Change switch to if.
  8247. 2002-08-08 Alan Modra <amodra@bigpond.net.au>
  8248. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
  8249. 2002-08-08 Jakub Jelinek <jakub@redhat.com>
  8250. * stor-layout.c (place_union_field): For bitfields if
  8251. PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
  8252. TYPE_USER_ALIGN.
  8253. 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
  8254. * pa.c (struct deferred_plabel): Constify name field.
  8255. 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
  8256. * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
  8257. 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
  8258. * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
  8259. local_prefix are the same.
  8260. * configure: Rebuilt.
  8261. 2002-08-07 Jakub Jelinek <jakub@redhat.com>
  8262. Richard Henderson <rth@redhat.com>
  8263. * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
  8264. to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
  8265. ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
  8266. (place_field): Likewise.
  8267. * config/i386/i386.c (x86_field_alignment): Don't check
  8268. DECL_USER_ALIGN here.
  8269. * config/rs6000/rs6000.c (rs6000_field_alignment): New.
  8270. * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
  8271. prototype.
  8272. * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
  8273. * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
  8274. * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
  8275. * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
  8276. * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
  8277. * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
  8278. 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
  8279. * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
  8280. * c-common.c: Don't include tree-inline.h.
  8281. (c_common_init_options, c_common_post_options): Move to c-opts.c.
  8282. * c-common.h (c_common_decode_option): New.
  8283. * c-decl.c (c_decode_option): Remove.
  8284. * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
  8285. * c-opts.c: New file.
  8286. * c-tree.h (c_decode_option): Remove.
  8287. * doc/passes.texi: Update.
  8288. * objc/objc-act.c (objc_decode_option): Remove.
  8289. * objc/objc-act.h (objc_decode_option): Remove.
  8290. * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
  8291. c_common_decode_option.
  8292. 2002-08-07 Chris Demetriou <cgd@broadcom.com>
  8293. * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
  8294. dependency on TARGET_DOUBLE_FLOAT.
  8295. 2002-08-07 Stephen Clarke <stephen.clarke@superh.com>
  8296. * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
  8297. overwrite callee-save registers. Fix comment.
  8298. 2002-08-06 Chris Demetriou <cgd@broadcom.com>
  8299. * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
  8300. in target_flags based on ISA, if it was not set on the command
  8301. line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not
  8302. support Branch Likely instructions.
  8303. * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
  8304. (TARGET_BRANCHLIKELY): Likewise.
  8305. (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
  8306. (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
  8307. ISA_HAS_BRANCHLIKELY.
  8308. (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
  8309. * doc/invoke.texi: Document new MIPS -mbranch-likely and
  8310. -mno-branch-likely options.
  8311. 2002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8312. * ip2k.c (ip2k_set_compare): Add missing iteration variable.
  8313. * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
  8314. $(GCONFIG_H).
  8315. 2002-08-06 Aldy Hernandez <aldyh@redhat.com>
  8316. * c-decl.c (duplicate_decls): Error out for incompatible TLS
  8317. declarations.
  8318. * testsuite/gcc.dg/tls/diag-3.c: New.
  8319. 2002-08-06 Dale Johannesen <dalej@apple.com>
  8320. * c-common.c (fname_decl): Use line number 0 for
  8321. __func__, to avoid confusing debuggers.
  8322. 2002-08-06 Nathan Sidwell <nathan@codesourcery.com>
  8323. * gcov.c: Tidy.
  8324. (struct line_info, struct coverage): New structures.
  8325. (gcov_file_name, gcov_file): Remove globals.
  8326. (output_data): Take source file parameter. Fix memory leak. Break
  8327. up into ...
  8328. (init_line_info, output_line_info, make_gcov_file_name,
  8329. accumulate_branch_counts): ... here.
  8330. (calculate_branch_probs, function_summary): Adjust.
  8331. (main): Adjust.
  8332. (function_*): Remove global variables.
  8333. 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
  8334. * dwarf2out.c: Remove unused macros.
  8335. 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
  8336. * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
  8337. 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
  8338. * cppinit.c (struct lang_flags): Rename trigraphs std.
  8339. (set_lang): Update.
  8340. * cpplib.h (struct cpp_options): New member std.
  8341. * cppmacro.c (_cpp_builtin_macro_text): Use std.
  8342. (collect_args): Flag whether to swallow a possible future
  8343. comma pasted with varargs.
  8344. (replace_args): Use this flag.
  8345. * doc/cpp.texi: Update varargs extension documentation.
  8346. 2002-08-06 Jakub Jelinek <jakub@redhat.com>
  8347. * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
  8348. 2002-08-06 Jakub Jelinek <jakub@redhat.com>
  8349. * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
  8350. and MODE_CLASS_INT modes.
  8351. 2002-08-06 Jakub Jelinek <jakub@redhat.com>
  8352. * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
  8353. --{enable,disable}-threads is given to configure.
  8354. (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
  8355. x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
  8356. powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
  8357. s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
  8358. Remove thread_file setting here.
  8359. 2002-08-06 David Edelsohn <edelsohn@gnu.org>
  8360. * doc/install.texi (Binaries): Update Bull Freeware URL.
  8361. 2002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  8362. * doc/gcc.texi (Top): Rename Index to Keyword Index.
  8363. 2002-08-05 Nathan Sidwell <nathan@codesourcery.com>
  8364. * gcov.c (output_data): Round to % to nearest, tweak formatting.
  8365. 2002-08-05 Jakub Jelinek <jakub@redhat.com>
  8366. * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
  8367. of the operands into MINUS_EXPR if code is PLUS_EXPR.
  8368. 2002-08-05 Douglas B Rupp <rupp@gnat.com>
  8369. * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
  8370. * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
  8371. drectve_section): Define.
  8372. * config/i386/t-interix: Replace interix.o rule with winnt.o.
  8373. * config/i386/interix.c: Remove.
  8374. 2002-08-05 Geoffrey Keating <geoffk@redhat.com>
  8375. * attribs.c: Don't include obstack.h.
  8376. * builtins.c: Likewise.
  8377. * cfganal.c: Likewise.
  8378. * cfgbuild.c: Likewise.
  8379. * cfgcleanup.c: Likewise.
  8380. * emit-rtl.c: Likewise.
  8381. * loop.c: Likewise.
  8382. * stmt.c: Likewise.
  8383. * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
  8384. 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
  8385. * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
  8386. 2002-08-04 Chris Demetriou <cgd@broadcom.com>
  8387. * doc/invoke.texi: Remove duplicated paragraph describing
  8388. TARGET_SWITCHES.
  8389. 2002-08-04 Geoffrey Keating <geoffk@redhat.com>
  8390. * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
  8391. * collect2.h (permanent_obstack): Delete declaration.
  8392. * collect2.c (permanent_obstack): Delete definition.
  8393. (main): Don't initialize permanent_obstack. Use xstrdup instead.
  8394. * expr.c: Don't include obstack.h.
  8395. (permanent_obstack): Delete declaration.
  8396. * function.c: Don't include obstack.h.
  8397. (permanent_obstack): Delete declaration.
  8398. * integrate.c: Don't include obstack.h.
  8399. (function_maybepermanent_obstack): Delete declaration.
  8400. * print-tree.c (debug_tree): Use x*alloc not permalloc.
  8401. * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
  8402. * tlink.c (pfgets): Use xstrdup not permanent_obstack.
  8403. * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
  8404. * tree.h: Rename init_obstacks to init_ttree. Remove declarations
  8405. of permalloc, expralloc, perm_calloc.
  8406. * tree.c (permanent_obstack): Delete definition.
  8407. (init_ttree): Rename from init_obstacks.
  8408. (permalloc): Delete.
  8409. (perm_calloc): Delete.
  8410. (dump_tree_statistics): Don't print information about
  8411. permanent_obstack.
  8412. * varasm.c (assemble_start_function): Use xstrdup instead of
  8413. permalloc/strcpy.
  8414. (assemble_variable): Likewise.
  8415. * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
  8416. permalloc.
  8417. (unicosmk_add_extern): Likewise.
  8418. * config/c4x/c4x.c (c4x_external_ref): Likewise.
  8419. (c4x_global_label): Likewise.
  8420. * config/frv/frv.c (frv_encode_section_info): Likewise.
  8421. * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
  8422. (i386_pe_record_exported_symbol): Likewise.
  8423. * config/mips/mips.c (mips_output_external): Likewise.
  8424. (mips_output_external_libcall): Likewise.
  8425. * config/pa/pa.c: (permanent_obstack): Delete declaration.
  8426. (output_call): Use ggc_strdup instead of allocating on
  8427. permanent_obstack.
  8428. * config/romp/romp.c: Include ggc.h.
  8429. (get_symref): Don't declare permanent_obstack, use ggc_strdup
  8430. intead of permanent_obstack.
  8431. * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
  8432. instead of permalloc.
  8433. * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
  8434. instead of permalloc
  8435. * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
  8436. instead of permalloc.
  8437. * config/vax/vax.c (vms_check_external): Use xmalloc instead of
  8438. permalloc.
  8439. 2002-08-04 Bernd Schmidt <bernds@redhat.com>
  8440. Contribute a port developed primarily by Michael Meissner,
  8441. Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
  8442. * config.gcc: Add frv-elf target.
  8443. * config/frv/cmovd.c: New file.
  8444. * config/frv/cmovh.c: New file.
  8445. * config/frv/cmovw.c: New file.
  8446. * config/frv/frv-abi.h: New file.
  8447. * config/frv/frv-asm.h: New file.
  8448. * config/frv/frv-modes.def: New file.
  8449. * config/frv/frv-protos.h: New file.
  8450. * config/frv/frv.c: New file.
  8451. * config/frv/frv.h: New file.
  8452. * config/frv/frv.md: New file.
  8453. * config/frv/frvbegin.c: New file.
  8454. * config/frv/frvend.c: New file.
  8455. * config/frv/lib1funcs.asm: New file.
  8456. * config/frv/media.h: New file.
  8457. * config/frv/modi.c: New file.
  8458. * config/frv/t-frv: New file.
  8459. * config/frv/uitod.c: New file.
  8460. * config/frv/uitof.c: New file.
  8461. * config/frv/ulltod.c: New file.
  8462. * config/frv/ulltof.c: New file.
  8463. * config/frv/umodi.c: New file.
  8464. * config/frv/xm-frv.h: New file.
  8465. * config/frv/media.h: Removed again.
  8466. 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
  8467. * gcov.c (bb_file_time): New static variable.
  8468. (object_directory): May also be object file.
  8469. (preserve_paths): New static variable.
  8470. (print_usage): Adjust.
  8471. (options): Adjust.
  8472. (process_args): Adjust.
  8473. (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
  8474. file. Find modification date on bb file.
  8475. (read_profile): Don't rewind a NULL file.
  8476. (format_hwint): New static function.
  8477. (function_summary): Use format_hwint.
  8478. (output_data): SOURCE_FILE_NAME is never relative to
  8479. OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
  8480. mangling. Adjust output format to make it more machine readable.
  8481. * doc/gcov.texi: Document & clarify semantics.
  8482. 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
  8483. * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
  8484. 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
  8485. * gcc.c (cc1_options): Pass output file as auxbase when
  8486. appropriate.
  8487. * profile.c (init_branch_prob): FILENAME has already had ending
  8488. stripped.
  8489. * final.c (end_final): Likewise.
  8490. * toplev.c (aux_base_name): New global.
  8491. (compile_file): Pass aux_base_name to init init_branch_prob and
  8492. end_final.
  8493. (independent_decode_option, case 'a'): New auxinfo options.
  8494. (case 'd'): Protect against mising basename.
  8495. (do_compile): Initialize aux_base_name.
  8496. * toplev.h (aux_base_name): New global.
  8497. * doc/invoke.texi: Adjust documentation.
  8498. 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
  8499. * config/i386/i386.c (x86_field_alignment): Remove duplicate test
  8500. of TARGET_ALIGN_DOUBLE.
  8501. 2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
  8502. * diagnostic.c (inform): New function.
  8503. * diagnostic.h (inform): Declare.
  8504. 2002-08-03 David Edelsohn <edelsohn@gnu.org>
  8505. * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
  8506. (movhi_internal): Same.
  8507. (movqi_internal): Same.
  8508. (movdi_internal64): Same.
  8509. * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
  8510. * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
  8511. (ASM_OUTPUT_SKIP): Use it. SIZE unsigned.
  8512. (COMMON_ASM_OP): Define.
  8513. (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned.
  8514. Use ALIGN parameter.
  8515. (LOCAL_COMMON_ASM_OP): Define.
  8516. (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned.
  8517. 2002-08-03 Roger Sayle <roger@eyesopen.com>
  8518. * builtins.def: Define new builtin functions exp, expf, expl,
  8519. log, logf and logl (and their __builtin_* variants).
  8520. * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
  8521. Define exp_optab and log_optab.
  8522. * optabs.c (init_optans): Initialize exp_optab and log_optab.
  8523. * genopinit.c (optabs): Implement exp_optab and log_optab
  8524. using exp?f2 and log?f2 patterns.
  8525. * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
  8526. and BUILT_IN_LOG* using exp_optab and log_optab respectively.
  8527. (expand_builtin): Ignore the new builtins (and all cos and
  8528. sin variants) when not optimizing. Expand new builtins via
  8529. expand_builtin_mathfn when flag_unsafe_math_optimizations.
  8530. * doc/extend.texi: Document new exp and log builtins.
  8531. * doc/md.texi: Document new exp?f2 and log?f2 patterns
  8532. (and previously undocumented cos?f2 and sin?f2 patterns).
  8533. 2002-08-03 Jason Merrill <jason@redhat.com>
  8534. * explow.c (int_expr_size): New fn.
  8535. * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
  8536. * expr.h: Declare it.
  8537. 2002-08-02 Krister Walfridsson <cato@df.lth.se>
  8538. * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
  8539. gengtype-* dependencies.
  8540. 2002-08-02 Eric Christopher <echristo@redhat.com>
  8541. * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
  8542. * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
  8543. #ifndef to #undef.
  8544. (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
  8545. 2002-08-02 David Edelsohn <edelsohn@gnu.org>
  8546. PR optimize/7067
  8547. * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
  8548. small if optimizing for size.
  8549. 2002-08-02 Daniel Jacobowitz <drow@mvista.com>
  8550. * configure.in (FORBUILD): Use $build_alias.
  8551. * configure: Regenerated.
  8552. 2002-08-02 Richard Sandiford <rsandifo@redhat.com>
  8553. * config.gcc: Don't include mips/abi64.h in $tm_file.
  8554. * hard-reg-set.h (call_really_used_regs): Declare.
  8555. * config/mips/abi64.h: Remove file.
  8556. * config/mips/linux.h,
  8557. * config/mips/iris6.h: Don't include it.
  8558. * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
  8559. * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
  8560. (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
  8561. FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
  8562. FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
  8563. Bring across definitions from abi64.h.
  8564. (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
  8565. (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
  8566. (struct mips_args): Use it.
  8567. * config/mips/mips.c (mips_conditional_register_usage): Define.
  8568. 2002-08-02 Jason Merrill <jason@redhat.com>
  8569. * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
  8570. * langhooks.c (lhd_expr_size): Define default.
  8571. * langhooks.h (struct lang_hooks): Add expr_size.
  8572. * explow.c (expr_size): Call it.
  8573. * expr.c (store_expr): Don't copy an expression of size zero.
  8574. (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
  8575. to store.
  8576. * Makefile.in (builtins.o): Depend on langhooks.h.
  8577. 2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8578. * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
  8579. * ra-debug.c: Include "tm_p.h".
  8580. * ra-rewrite.c (is_partly_live_1): Change return type to bool.
  8581. 2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
  8582. * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
  8583. when not honoring signalling NaNs.
  8584. (simplify_ternary_operation): a == b has a definite value
  8585. when not honoring NaNs.
  8586. 2002-08-02 Jason Merrill <jason@redhat.com>
  8587. * gdbinit.in (pct): New macro.
  8588. 2002-08-01 Stan Shebs <shebs@apple.com>
  8589. Andreas Tobler <toa@pop.agri.ch>
  8590. * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
  8591. plays nice with Darwin headers.
  8592. (_BSD_RUNE_T_DEFINED_): Likewise.
  8593. 2002-08-01 Zack Weinberg <zack@codesourcery.com>
  8594. * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
  8595. * cppinit.c (cpp_post_options): Likewise.
  8596. * cppexp.c (cpp_classify_number): Suppress -Wtraditional
  8597. warning about 'LL' suffix (but not 'ULL' etc) when
  8598. -Wno-long-long is in effect.
  8599. * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
  8600. Check for failing time()/localtime(), issue a warning, and
  8601. make __TIME__ and __DATE__ expand to fallback strings.
  8602. * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
  8603. and __TIME__ when the date and time cannot be determined.
  8604. 2002-08-02 Alan Modra <amodra@bigpond.net.au>
  8605. * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
  8606. 2002-08-01 Daniel Jacobowitz <drow@mvista.com>
  8607. * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
  8608. 2002-08-01 Chris Demetriou <cgd@broadcom.com>
  8609. * config.gcc (mipsisa64sb1-*-elf*): New configuration.
  8610. (mipsisa64sb1el-*-elf*): Likewise.
  8611. * config/mips/mips.c (mips_cpu_info_table): Add sb1.
  8612. * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
  8613. (TARGET_SB1, TUNE_SB1): New macros.
  8614. * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
  8615. -mtune flags.
  8616. 2002-08-01 David Edelsohn <edelsohn@gnu.org>
  8617. * varasm.c (asm_emit_uninitialized): Return false if global BSS
  8618. and ASM_EMIT_BSS not supported by target.
  8619. (assemble_variable): Do not duplicate uninitialized logic.
  8620. Fall through if asm_emit_uninitialized failed.
  8621. 2002-08-01 Chris Demetriou <cgd@broadcom.com>
  8622. * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
  8623. 2002-08-02 Alan Modra <amodra@bigpond.net.au>
  8624. * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
  8625. (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
  8626. * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
  8627. HOST_BITS_PER_WIDE_INT == 64.
  8628. 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8629. * df.c (df_insn_table_realloc): Change parameter to unsigned.
  8630. * optabs.c (expand_binop): Make variable unsigned.
  8631. * simplify-rtx.c (simplify_subreg): Likewise.
  8632. * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
  8633. 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  8634. * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
  8635. 2002-08-01 Richard Henderson <rth@redhat.com>
  8636. * toplev.c (parse_options_and_default_flags): Don't set
  8637. flag_reorder_blocks for -Os.
  8638. * config/avr/avr.c (avr_optimization_options): Remove.
  8639. * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
  8640. * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
  8641. * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
  8642. 2002-08-01 H.J. Lu <hjl@gnu.org>
  8643. Richard Henderson <rth@redhat.com>
  8644. * output.h (DECL_READONLY_SECTION): Remove.
  8645. (decl_readonly_section): Declare.
  8646. * varasm.c (decl_readonly_section): New.
  8647. (default_section_type_flags, default_select_section): Use it.
  8648. * config/arm/pe.c (arm_pe_unique_section): Likewise.
  8649. * config/i386/interix.c (i386_pe_unique_section): Likewise.
  8650. * config/i386/winnt.c (i386_pe_unique_section): Likewise.
  8651. * config/mcore/mcore.c (mcore_unique_section): Likewise.
  8652. * config/mips/mips.c (mips_unique_section): Likewise.
  8653. 2002-08-01 Richard Henderson <rth@redhat.com>
  8654. * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
  8655. refers to a subroutine parameter.
  8656. 2002-08-01 Jakub Jelinek <jakub@redhat.com>
  8657. * varasm.c (assemble_visibility): Strip name encoding.
  8658. 2002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au>
  8659. * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
  8660. (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
  8661. when there is no frame pointer.
  8662. (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
  8663. registers properly.
  8664. * config/ns32k/__unorddf2.c: New file.
  8665. * config/ns32k/__unordsf2.c: New file.
  8666. * config/ns32k/t-ns32k: New file.
  8667. * config.gcc (ns32k-*-netbsd*): Use it.
  8668. 2002-08-01 Aldy Hernandez <aldyh@redhat.com>
  8669. * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
  8670. 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
  8671. * c-common.c (__GXX_ABI_VERSION): Correct spelling.
  8672. 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
  8673. * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
  8674. 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
  8675. * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
  8676. 2002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  8677. * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
  8678. n_sets): Removed.
  8679. (expr_hash_table, set_hash_table): Type changed to ...
  8680. (struct hash_table): New type.
  8681. (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
  8682. insert_expr_in_table, insert_set_in_table, compute_hash_table,
  8683. dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
  8684. compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
  8685. (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
  8686. (alloc_hash_table): New.
  8687. (free_set_hash_table, free_expr_hash_table): Merged to ...
  8688. (free_hash_table): New.
  8689. (compute_set_hash_table, compute_expr_hash_table): Merged to ...
  8690. (compute_hash_table_work): New.
  8691. (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
  8692. find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
  8693. pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
  8694. one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
  8695. hoist_code, one_code_hoisting_pass,
  8696. trim_ld_motion_mems): Altered due to changed type of hash tables.
  8697. 2002-08-01 Zack Weinberg <zack@codesourcery.com>
  8698. * final.c (output_alternate_entry_point):
  8699. If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
  8700. 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8701. * objc/objc-act.c (encode_complete_bitfield): Add prototype and
  8702. avoid ISO C style function definition.
  8703. * expr.c (expand_assignment): Delete unused variable.
  8704. 2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
  8705. * c-common.c (cb_register_builtins): Set
  8706. __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
  8707. is given, and to 0 otherwise.
  8708. * combine.c (simplify_if_then_else): HONOR_NANS
  8709. implies FLOAT_MODE_P.
  8710. 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
  8711. * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
  8712. (cpp_handle_option): Don't handle it.
  8713. (print_help): Update.
  8714. * doc/cppopts.texi: Update.
  8715. 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
  8716. * c-common.c (cb_register_builtins): If C++, define
  8717. __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
  8718. * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
  8719. cp:
  8720. * lang-specs.h: Simplify in accordance with new code in
  8721. c-common.c.
  8722. 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
  8723. * c-common.c: Define all C/ObjC/C++ warning and flag variables.
  8724. * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
  8725. * c-decl.c: Move all warning and flag variables to c-common.c.
  8726. * c-format.c: Move all warning variables to c-common.c.
  8727. * c-tree.h: Move all warning and flag declarations to c-common.h.
  8728. * objc/objc-act.c: Move all warning variables to c-common.c.
  8729. (flag_warn_protocol): Rename warn_protocol.
  8730. 2002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
  8731. * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
  8732. 2002-07-31 Graham Stott <graham.stott@btinternet.com>
  8733. * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
  8734. .section prefix.
  8735. 2002-07-31 Stan Shebs <shebs@apple.com>
  8736. * config.gcc (i[34567]86-*-darwin*): New configuration.
  8737. * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
  8738. defining.
  8739. (TARGET_ENCODE_SECTION_INFO): Ditto.
  8740. (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
  8741. * config/darwin.c (machopic_indirect_data_reference): Remove
  8742. setting of RTX_UNCHANGING_P.
  8743. (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
  8744. not to be applied to sums.
  8745. * config/i386/t-darwin: New file.
  8746. * config/i386/darwin.h: New file.
  8747. * config/i386/i386.h (TARGET_MACHO): Add default definition.
  8748. * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
  8749. * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
  8750. label and not the GOT add.
  8751. (constant_address_p): For Mach-O, seeing a CONST is enough.
  8752. (legitimate_pic_address_disp_p): Add a Mach-O case.
  8753. (legitimate_address_p): Also test machopic_operand_p if Mach-O.
  8754. (legitimize_pic_address): Use generic Mach-O code to legitimize.
  8755. (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
  8756. if outputting a difference.
  8757. (ix86_output_addr_diff_elt): Add Mach-O case.
  8758. (ix86_expand_move): Similarly.
  8759. (ix86_expand_call): Similarly.
  8760. (current_machopic_label_num): New global.
  8761. (machopic_output_stub): New function.
  8762. (ix86_value_regno): New function.
  8763. (ix86_function_value): Use it instead of VALUE_REGNO.
  8764. (ix86_libcall_value): Ditto.
  8765. * config/i386/unix.h (VALUE_REGNO): Remove.
  8766. 2002-07-31 Graham Stott <grahas@btinternet.com>
  8767. * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
  8768. hash for LABEL_REF's.
  8769. 2002-07-31 Graham Stott <grahams@btinternet.com>
  8770. * config/rs6000/rs6000.c (spe_init_builtins,
  8771. altivec_init_builtins, rs6000_common_init_builtins):
  8772. Replace ANSI with K&R function def.
  8773. 2002-07-31 David Edelsohn <edelsohn@gnu.org>
  8774. * rs6000.c (validate_condition_mode): Test flag_finite_math_only
  8775. for CCFPmode.
  8776. 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
  8777. * config/mips/crtn.asm: Don't use __mips16 to determine the
  8778. return-address offset. Define RA to a suitable temporary
  8779. register for the return address.
  8780. 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
  8781. * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
  8782. constraints to 'd'.
  8783. 2002-07-30 Chris Demetriou <cgd@broadcom.com>
  8784. * config/mips/elf.h (STARTFILE_SPEC): Define differently if
  8785. default ABI is MEABI. (Undoes incorrect change in Eric Christopher's
  8786. patch on 2002-07-29.)
  8787. * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
  8788. 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8789. * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
  8790. fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
  8791. ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
  8792. openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
  8793. s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
  8794. (ASM_GLOBALIZE_LABEL): Delete.
  8795. (GLOBAL_ASM_OP): Define.
  8796. * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
  8797. * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
  8798. * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
  8799. 2002-07-30 Geoffrey Keating <geoffk@redhat.com>
  8800. * doc/extend.texi (Hints implementation): Document that GCC
  8801. mostly ignores `register'.
  8802. 2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
  8803. * flags.h: Declare flag_finite_math_only.
  8804. Use it in definition of HONOR_NANS and
  8805. HONOR_INFINITIES.
  8806. * c-common.c (cb_register_builtins): Emit
  8807. __FINITE_MATH_ONLY__ when flag_finite_math_only
  8808. is set.
  8809. * combine.c (simplify_if_then_else): If
  8810. flag_finite_math_only is set, a == b has a
  8811. definite value.
  8812. * toplev.c: Initialize flag_finite_math_only.
  8813. (set_flags_fast_math): Set it on -ffast-math.
  8814. (flag_fast_math_set_p): Test it.
  8815. * doc/invoke.texi: Document -ffinite-math-only.
  8816. 2002-07-30 Richard Henderson <rth@redhat.com>
  8817. * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
  8818. (noce_process_if_block): Likewise.
  8819. 2002-07-30 Bernd Schmidt <bernds@redhat.com>
  8820. * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
  8821. Bail out early if false_expr is NULL and we'd crash due to this.
  8822. * genemit.c (gen_expand): Recognize return insns even if the return
  8823. appears in a parallel.
  8824. * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
  8825. * config/fp-bit.c: Likewise.
  8826. * doc/tm.texi: Document it.
  8827. 2002-07-30 David Edelsohn <edelsohn@gnu.org>
  8828. Zack Weinberg <zack@codesourcery.com>
  8829. * rs6000.c (rs6000_expand_unop_builtin): Check icode not
  8830. CODE_FOR_nothing. Change switch to if.
  8831. (rs6000_expand_binop_builtin): Same.
  8832. (rs6000_expand_builtin): Expand builtin if target support enabled.
  8833. (rs6000_init_builtins): Init builtin if target support enabled.
  8834. (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
  8835. 2002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  8836. * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
  8837. 2002-07-30 Richard Sandiford <rsandifo@redhat.com>
  8838. * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
  8839. Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
  8840. * sh.md (cond_delay_slot): New attribute.
  8841. (cbranch delay): Use it for anulled-true case.
  8842. (stuff_delay_slot): New pattern.
  8843. * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
  8844. delay slot insn.
  8845. (gen_far_branch): Emit stuff_delay_slot pattern.
  8846. Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
  8847. * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
  8848. 2002-07-30 Kazu Hirata <kazu@cs.umass.edu>
  8849. * fold-const.c: Fix comment typos.
  8850. * gcse.c: Likewise.
  8851. * reload1.c: Likewise.
  8852. 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
  8853. * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
  8854. for TARGET_SPE.
  8855. 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
  8856. * c-pretty-print.h (pp_c_statement): Declare.
  8857. * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
  8858. (pp_c_statement): Define.
  8859. 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8860. * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
  8861. darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
  8862. ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
  8863. mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
  8864. rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
  8865. v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
  8866. * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
  8867. * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
  8868. 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
  8869. * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
  8870. (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
  8871. COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
  8872. (pp_c_expression): Update.
  8873. 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  8874. * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
  8875. concat in lieu of xmalloc/strcpy/memcpy/sprintf.
  8876. * alpha/vms-ld.c (main): Likewise.
  8877. * dsp16xx.c (double_reg_to_memory): Likewise.
  8878. * mcore.c (mcore_expand_prolog): Likewise.
  8879. * cppfiles.c (read_name_map): Likewise.
  8880. * gensupport.c (process_rtx, identify_predicable_attribute,
  8881. alter_test_for_insn): Likewise.
  8882. * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
  8883. 2002-07-29 Roger Sayle <roger@eyesopen.com>
  8884. * builtins.c (expand_builtin): Change the default behavior to
  8885. only issue an error if the builtin function doesn't have a
  8886. fallback library call. Remove several cases handled by the
  8887. new default.
  8888. 2002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
  8889. * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
  8890. floating point format of the target is IEEE.
  8891. * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
  8892. format of the target is DEC.
  8893. 2002-07-29 Richard Henderson <rth@redhat.com>
  8894. * unroll.c (verify_addresses): Remove.
  8895. (find_splittable_givs): Never split DEST_ADDR givs.
  8896. 2002-07-29 Geoffrey Keating <geoffk@redhat.com>
  8897. * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
  8898. is exhaustive.
  8899. (Files): Improve documentation on generated source files.
  8900. * doc/extend.texi (Translation implementation): Document what
  8901. diagnostics look like.
  8902. (Identifiers implementation): Document that there's normally no
  8903. limit on identifier names.
  8904. (Integers implementation): Document two's complement.
  8905. (Hints implementation): Document that GCC honors 'inline', mostly.
  8906. (Preprocessing directives implementation): Document that GCC
  8907. requires the current time.
  8908. 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
  8909. * c-pretty-print.h (struct c_pretty_print_info): Add new member.
  8910. (pp_initializer): New macro.
  8911. (pp_c_initializer): Declare.
  8912. * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
  8913. (pp_c_initializer): Define.
  8914. (pp_c_initializer_list): New function.
  8915. (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
  8916. VECTOR_CST, CONSTRUCTOR.
  8917. (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
  8918. IMAGPART_EXPR.
  8919. (pp_c_cast_expression): Handle FLOAT_EXPR.
  8920. (pp_c_assignment_expression): Handle INIT_EXPR.
  8921. (pp_c_expression): Update.
  8922. 2002-07-30 Neil Booth <neil@daikokuya.co.uk>
  8923. * objc/objc-act.c (objc_init): Return immediately if filename
  8924. is NULL.
  8925. 2002-07-29 Eric Christopher <echristo@redhat.com>
  8926. * config/mips/elf.h: Remove ecoff.h and gofast includes.
  8927. (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
  8928. (SDB_DEBUGGING_INFO): Undefine.
  8929. (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
  8930. (PUT_SDB_SIZE): Remove.
  8931. (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
  8932. (STARTFILE_SPEC): Add isa3264 define.
  8933. * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
  8934. * config/mips/ecoff.h: Remove. and here...
  8935. * config/mips/iris3.h: and here...
  8936. * config/mips/sni-svr4.h: and here...
  8937. * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
  8938. Add assembler -mmdebug options for non-dwarf debugging.
  8939. * config/mips/r3900.h: Remove debug info defines.
  8940. * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
  8941. * config/mips/isa3264.h: Ditto.
  8942. * config/mips/t-isa3264: Fix up for file removal and gofast configure
  8943. change.
  8944. * config/mips/t-elf: Ditto.
  8945. * config/mips/t-ecoff: Ditto.
  8946. * config/mips/t-r3900: Ditto.
  8947. * config/mips/t-iris5-6: Ditto.
  8948. * config/mips/t-isa3264: Ditto.
  8949. * config/mips/t-linux: Remove.
  8950. * config/mips/t-netbsd: Remove.
  8951. * config/mips/t-mips: New file.
  8952. * config/mips/t-gofast: Ditto.
  8953. * config/mips/netbsd.h: Remove unnecessary undefines.
  8954. * config/mips/linux.h: Remove #include of mips.h.
  8955. * config.gcc: Add mips.h include for elf targets. Remove tm_file
  8956. for ecoff. Add gofast configure option for mips.
  8957. 2002-07-29 Chris Demetriou <cgd@broadcom.com>
  8958. * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
  8959. linker scripts use STARTUP directives consistently.
  8960. * configure: Regenerate.
  8961. * config.in: Regenerate.
  8962. * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
  8963. on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
  8964. * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
  8965. * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
  8966. HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
  8967. will be the same.
  8968. 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
  8969. * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
  8970. 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
  8971. * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
  8972. 2002-07-29 Aldy Hernandez <aldy@quesejoda.com>
  8973. * config/rs6000/rs6000.md: Move altivec patterns from here...
  8974. * config/rs6000/altivec.md: ...to here.
  8975. 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
  8976. * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
  8977. 2002-07-29 Richard Henderson <rth@redhat.com>
  8978. * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
  8979. set_mem_attributes and add BITPOS argument. Subtract it from
  8980. OFFSET when same is adjusted.
  8981. (set_mem_attributes): New wrapper function.
  8982. * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
  8983. remove offset adjustment hack.
  8984. * expr.h (set_mem_attributes_minus_bitpos): Declare.
  8985. 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
  8986. * Makefile.in (C_OBJS): Include c-pretty-print.o
  8987. (c-pretty-print.o): Add depency rule.
  8988. * pretty-print.h: Add more macros.
  8989. * c-pretty-print.c: New file.
  8990. * c-pretty-print.h: Likewise.
  8991. 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
  8992. * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
  8993. constants to __ev64_s32__.
  8994. (__internal_ev_mwhgsmian): Same.
  8995. (__internal_ev_mwhgsmfan): Same.
  8996. (__internal_ev_mwhgssfan): Same.
  8997. (__internal_ev_mwhgumiaa): Same.
  8998. (__internal_ev_mwhgsmiaa): Same.
  8999. (__internal_ev_mwhgsmfaa): Same.
  9000. (__internal_ev_mwhgssfaa): Same.
  9001. 2002-07-29 David Edelsohn <edelsohn@gnu.org>
  9002. * varasm.c (assemble_variable): Narrow test for uninitialized
  9003. without BSS target support.
  9004. 2002-07-29 Nathan Sidwell <nathan@codesourcery.com>
  9005. * profile.c: Add file comment describing the overall algorithm and
  9006. structures.
  9007. (struct edge_info): Add comments.
  9008. (struct bb_info): Add comments.
  9009. * basic-block.h (EDGE_*): Add comments.
  9010. * doc/gcov.texi (Gcov Data Files): Document bit flags.
  9011. 2002-07-29 Bob Wilson <bob.wilson@acm.org>
  9012. * config/xtensa/elf.h, config/xtensa/linux.h
  9013. (TARGET_OS_CPP_BUILTINS): Define.
  9014. (CPP_PREDEFINES): Remove.
  9015. * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
  9016. (CPP_SPEC): Remove.
  9017. 2002-07-29 Zack Weinberg <zack@codesourcery.com>
  9018. * gensupport.c: Include hashtab.h.
  9019. (insn_elision, condition_table, hash_c_test, cmp_c_test,
  9020. maybe_eval_c_test): New routines and data structures to
  9021. support insn elision.
  9022. (init_md_reader): Read and initialize the condition_table.
  9023. (read_md_rtx): Discard insn patterns whose C test is provably
  9024. always false.
  9025. * gensupport.h: Declare new functions and data structures.
  9026. * genconditions.c, dummy-conditions.c: New files.
  9027. * Makefile.in: Build genconditions; run it to construct
  9028. insn-conditions.c; build that and link it into most gen*
  9029. programs.
  9030. (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
  9031. (GEN): Delete, unused.
  9032. (STAGESTUFF): Update.
  9033. * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
  9034. CODE_FOR_nothing for all elided patterns.
  9035. (main): Tweaked to support this.
  9036. * genflags.c (gen_proto): Emit a static inline generator
  9037. function here for all elided patterns, which simply returns
  9038. NULL_RTX.
  9039. (gen_insn): Do not define HAVE_xxx for elided patterns.
  9040. (main): Tweaked to support this. No need to forward-declare
  9041. struct rtx_def.
  9042. * genrecog.c: Do not bother emitting the C test if it's known
  9043. to be true at compile time.
  9044. 2002-07-29 Mike Stump <mrs@apple.com>
  9045. * config.gcc (target_gtfiles): Initialize, as otherwise cross
  9046. compilers hosted on powerpc-apple-darwin6.0 won't even build.
  9047. 2002-07-29 Richard Earnshaw <rearnsha@arm.com>
  9048. * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
  9049. remove clobber of LR.
  9050. (sibcall_insn, sibcall_value_insn): Update accordingly.
  9051. (sibcall_epilogue): Remove debugging comment from assembler stream.
  9052. 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
  9053. * pretty-print.h: Define more macros.
  9054. * diagnostic.h (output_formatted_integer): Moved from...
  9055. * diagnostic.c: ... here.
  9056. 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9057. * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
  9058. 2002-07-28 Zack Weinberg <zack@codesourcery.com>
  9059. * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
  9060. arguments. Always use ".-symbol" as expression argument.
  9061. * doc/tm.texi: Update to match. Document requirement for
  9062. ".size symbol, .-symbol" to be acceptable to assembler.
  9063. * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
  9064. config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
  9065. config/i386/freebsd-aout.h, config/i386/sco5.h,
  9066. config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
  9067. config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE.
  9068. 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9069. * Makefile.in (gengtype-lex.c): Fix error in last change.
  9070. * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
  9071. backslash.
  9072. * Makefile.in (vmsdbgout.o): Depend on function.h.
  9073. * vmsdbgout.c: Include function.h.
  9074. 2002-07-28 Alan Modra <amodra@bigpond.net.au>
  9075. * prefix.c (update_path): Don't strip single `.' path components
  9076. unless stripping a later `..' component. Exit loop as soon as
  9077. a valid path is found.
  9078. 2002-07-27 Roger Sayle <roger@eyesopen.com>
  9079. * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
  9080. argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
  9081. BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
  9082. floating point unordered comparisons (e.g. __builtin_isgreater)
  9083. as const, and leave the remaining GCC_BUILTINs unchanged.
  9084. * c-decl.c (builtin_function): No need to explicitly mark
  9085. BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
  9086. 2002-07-27 Roger Sayle <roger@eyesopen.com>
  9087. * Makefile.in: rtlanal.o now depends upon real.h.
  9088. * flags.h [flag_signaling_nans]: New flag.
  9089. [HONOR_SNANS]: New macro.
  9090. * toplev.c [flag_signaling_nans]: Initialize to false.
  9091. (f_options): Add processing for "-fsignaling-nans".
  9092. (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
  9093. (process_options): flag_signaling_nans implies flag_trapping_math.
  9094. * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
  9095. when -fsignaling-nans. First step to implementing WG14's N965.
  9096. * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
  9097. 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
  9098. [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
  9099. * simplify-rtx.c (simplify_relational_operation): Conditionalize
  9100. transforming abs(x) < 0.0 into false on !HONOR_SNANS.
  9101. * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
  9102. required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD,
  9103. UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
  9104. -fsignaling_nans. EQ and NE only trap for flag_signaling_nans
  9105. not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
  9106. * doc/invoke.texi: Document new -fsignaling-nans compiler option.
  9107. 2002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9108. * Makefile.in (gengtype-lex.c): Work around a bug in flex.
  9109. * gengtype-lex.l (YY_USE_PROTOS): Undef.
  9110. (YY_DECL): Define.
  9111. 2002-07-27 Roger Sayle <roger@eyesopen.com>
  9112. * doc/invoke.texi: Document that both -fno-builtin-foo and
  9113. -fno-builtin are supported by the g++ front-end.
  9114. 2002-07-27 Stan Shebs <shebs@apple.com>
  9115. * configure.in: Rename config_gtfiles to target_gtfiles.
  9116. * configure: Regenerate.
  9117. * doc/gty.texi: Update reference.
  9118. * config.gcc (powerpc-*-darwin*): Set target_gtfiles
  9119. instead of appending to it.
  9120. 2002-07-25 Aldy Hernandez <aldyh@redhat.com>
  9121. * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
  9122. vectors are split into two registers.
  9123. (function_arg): Same.
  9124. Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9125. * pa.md (extv): Check predicates before emitting extv_32.
  9126. 2002-07-27 Alan Modra <amodra@bigpond.net.au>
  9127. * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
  9128. (rs6000_traceback): New var.
  9129. (rs6000_override_options): Set rs6000_traceback.
  9130. (rs6000_output_function_epilogue): Implement traceback options.
  9131. * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
  9132. (rs6000_traceback_name): Declare.
  9133. * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
  9134. label reference when NO_PROFILE_COUNTERS.
  9135. 2002-07-26 Jason Merrill <jason@redhat.com>
  9136. * function.c (assign_parms): Handle frontend-directed pass by
  9137. invisible reference.
  9138. 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
  9139. * doc/cppopts.texi: Update.
  9140. 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
  9141. * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
  9142. warnings on assertions.
  9143. 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
  9144. * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
  9145. RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
  9146. RID_COMPL): Remove.
  9147. * c-parse.in (rid_to_yy): Similarly.
  9148. 2002-07-26 Jason Merrill <jason@redhat.com>
  9149. * c-dump.c: Resurrect.
  9150. * tree-dump.c: Move C-specific stuff to c-dump.c.
  9151. * c-common.h: Declare c_dump_tree.
  9152. * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
  9153. * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
  9154. (c-dump.o): New rule.
  9155. 2002-07-26 Alan Modra <amodra@bigpond.net.au>
  9156. * config/rs6000/rs6000.md: Enable patterns using rlwinm for
  9157. PowerPC64. Replace "T" and "S" constraints with "n" when the
  9158. predicate will do. Formatting fixes.
  9159. (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
  9160. as for extzvsi_internal1.
  9161. 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
  9162. * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
  9163. DERIV_END_LABEL_FMT): Remove.
  9164. (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
  9165. 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
  9166. * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
  9167. Remove.
  9168. 2002-07-25 Stan Shebs <shebs@apple.com>
  9169. * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
  9170. local var dwarfp.
  9171. (output_compiler_stub): Remove unused locals.
  9172. (output_call): Always initialize line number.
  9173. Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9174. * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
  9175. * sh.md (truncdiqi2, movqi_media): Likewise.
  9176. 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
  9177. * gcse.c (obstack_chunk_alloc): Remove.
  9178. (gcse_alloc): Fix to count allocated bytes.
  9179. * collect2.c (SYMBOL__MAIN): Remove.
  9180. 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
  9181. * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
  9182. HAVE_TARGET_EXECUTABLE_SUFFIX.
  9183. Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9184. * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
  9185. SIZE, EXPR and OFFSET.
  9186. 2002-07-25 Richard Henderson <rth@redhat.com>
  9187. * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
  9188. in ARRAY_REF of DECL_P case.
  9189. 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
  9190. * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
  9191. description. Document -mips32, -mips64, and the associated -march
  9192. values. Describe the "mipsN" arguments to -march. Say that the
  9193. -mipsN options are equivalent to -march. Reword the description
  9194. of default type sizes.
  9195. * toplev.h (target_flags_explicit): Declare.
  9196. * toplev.c (target_flags_explicit): New var.
  9197. (set_target_switch): Update target_flags_explicit.
  9198. * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
  9199. * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
  9200. * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
  9201. * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
  9202. * config/mips/mips.h (mips_cpu_info): New struct.
  9203. (mips_cpu_string, mips_explicit_type_size_string): Remove.
  9204. (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
  9205. (MIPS_CPP_SET_PROCESSOR): New macro.
  9206. (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
  9207. Define _MIPS_ARCH and _MIPS_TUNE.
  9208. (MIPS_ISA_DEFAULT): Don't provide a default value. Instead...
  9209. (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
  9210. MIPS_ISA_DEFAULT were already defined.
  9211. (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
  9212. (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
  9213. (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
  9214. (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
  9215. (ABI_GAS_ASM_SPEC): Remove.
  9216. (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
  9217. (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
  9218. Invoke %(asm_abi_default_spec) if no ABI was specified.
  9219. (CC1_SPEC): Remove ISA -> register-size rules.
  9220. (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec.
  9221. * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
  9222. (mips_cpu_string, mips_explicit_type_size_string): Remove.
  9223. (mips_cpu_info_table): New array.
  9224. (mips_set_architecture, mips_set_tune): New fns.
  9225. (override_options): Rework to make -mipsN equivalent to -march.
  9226. Detect more erroneous cases, including those removed from CC1_SPEC.
  9227. Don't change the ABI based on architecture, or vice versa.
  9228. Unify logic with GAS.
  9229. (mips_asm_file_start): Get architecture name from mips_arch_info.
  9230. (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
  9231. (mips_parse_cpu): Take the name of the option as argument. Handle
  9232. 'from-abi'. Raise an error if the option is wrong.
  9233. (mips_cpu_info_from_isa): New fn.
  9234. 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
  9235. * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
  9236. (tablejump_mips162): Likewise.
  9237. Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9238. * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
  9239. int_mode_for_mode.
  9240. 2002-07-25 Gabriel Dos Reis <gdr@nerim.net>
  9241. * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
  9242. complaining.
  9243. * c-common.h (c_sizeof): Adjust definition.
  9244. (c_alignof): Likewise.
  9245. * c-tree.h (c_sizeof_nowarn): Now macro.
  9246. * c-typeck.c (c_sizeof_nowarn): Remove definition.
  9247. 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
  9248. * c-decl.c (c_decode_option): No need to handle switches
  9249. cpplib handles.
  9250. 2002-07-24 Zack Weinberg <zack@codesourcery.com>
  9251. * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
  9252. ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
  9253. * doc/tm.texi: Document them. Also document SIZE_ASM_OP,
  9254. TYPE_ASM_OP, and TYPE_OPERAND_FMT.
  9255. * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
  9256. config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
  9257. config/cris/aout.h, config/i386/freebsd-aout.h,
  9258. config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
  9259. config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
  9260. config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
  9261. config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
  9262. config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
  9263. config/xtensa/elf.h, config/xtensa/linux.h:
  9264. Use the new macros.
  9265. Where possible, remove redundant definitions of SIZE_ASM_OP,
  9266. TYPE_ASM_OP, and TYPE_OPERAND_FMT.
  9267. 2002-07-24 Aldy Hernandez <aldyh@redhat.com>
  9268. * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
  9269. TARGET_ISEL, and TARGET_FPRS.
  9270. * doc/invoke.texi (RS/6000 and PowerPC Options): Document
  9271. -mabi=spe, -mabi=no-spe, and -misel=.
  9272. * config/rs6000/rs6000-protos.h: Add output_isel.
  9273. Move vrsave_operation prototype here.
  9274. * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
  9275. (smaxsi3): Same.
  9276. (uminsi3): Same.
  9277. (umaxsi3): Same.
  9278. (abssi2_nopower): Disallow when TARGET_ISEL.
  9279. (*ne0): Same.
  9280. (negsf2): Change to expand and rename old pattern to *negsf2.
  9281. (abssf2): Change to expand and rename old pattern to *abssf2.
  9282. New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
  9283. fixunssfsi2.
  9284. Change patterns that check for TARGET_HARD_FLOAT or
  9285. TARGET_SOFT_FLOAT to also check TARGET_FPRS.
  9286. * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
  9287. rs6000_isel, rs6000_fprs, rs6000_isel_string.
  9288. (rs6000_override_options): Add 8540 case to
  9289. processor_target_table.
  9290. Set rs6000_isel for the 8540.
  9291. Call rs6000_parse_isel_option.
  9292. (enable_mask_for_builtins): New.
  9293. (rs6000_parse_isel_option): New.
  9294. (rs6000_parse_abi_options): Add spe and no-spe.
  9295. (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
  9296. (rs6000_legitimize_address): Check for TARGET_FPRS when checking
  9297. for TARGET_HARD_FLOAT.
  9298. Add case for SPE_VECTOR_MODE.
  9299. (rs6000_legitimize_reload_address): Handle SPE vector modes.
  9300. (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
  9301. vector modes.
  9302. Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
  9303. (rs6000_emit_move): Check for TARGET_FPRS.
  9304. Add cases for SPE vector modes.
  9305. (function_arg_boundary): Return 64 for SPE vector modes.
  9306. (function_arg_advance): Check for TARGET_FPRS and
  9307. Handle SPE vectors.
  9308. (function_arg): Same.
  9309. (setup_incoming_varargs): Check for TARGET_FPRS.
  9310. (rs6000_va_arg): Same.
  9311. (struct builtin_description): Un-constify mask field. Move up in
  9312. file.
  9313. (bdesc_2arg): Un-constify and add SPE builtins.
  9314. (bdesc_1arg): Same.
  9315. (bdesc_spe_predicates): New.
  9316. (bdesc_spe_evsel): New.
  9317. (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
  9318. (rs6000_expand_binop_builtin): Same.
  9319. (bdesc_2arg_spe): New.
  9320. (spe_expand_builtin): New.
  9321. (spe_expand_predicate_builtin): New.
  9322. (spe_expand_evsel_builtin): New.
  9323. (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
  9324. (rs6000_init_builtins): Initialize SPE builtins. Call
  9325. rs6000_common_init_builtins.
  9326. (altivec_init_builtins): Move all non-altivec builtin code to...
  9327. (rs6000_common_init_builtins): ...here. New function.
  9328. (branch_positive_comparison_operator): Allow NE code for SPE.
  9329. (ccr_bit): Return correct ccr bit for SPE fp.
  9330. (print_operand): Emit crnor in 'D' case for SPE.
  9331. New case 't'.
  9332. Add SPE code for 'y' case.
  9333. (rs6000_generate_compare): Generate rtl for SPE fp.
  9334. (output_cbranch): Handle SPE hard floats.
  9335. (rs6000_emit_cmove): Handle isel.
  9336. (rs6000_emit_int_cmove): New.
  9337. (output_isel): New.
  9338. (rs6000_stack_info): Adjust stack frame so GPRs are saved in
  9339. 64-bits for SPE.
  9340. (debug_stack_info): Add SPE info.
  9341. (gen_frame_mem_offset): New.
  9342. (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
  9343. Change mode of frame pointer, when saving it, to Pmode.
  9344. (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
  9345. Misc cleanups and use gen_frame_mem_offset when appropriate.
  9346. * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
  9347. (TARGET_SPE_ABI): New.
  9348. (TARGET_SPE): New.
  9349. (TARGET_ISEL): New.
  9350. (TARGET_FPRS): New.
  9351. (FIXED_SCRATCH): New.
  9352. (RTX_COSTS): Add PROCESSOR_PPC8540.
  9353. (ASM_CPU_SPEC): Add case for 8540.
  9354. (TARGET_OPTIONS): Add isel= case.
  9355. (rs6000_spe_abi): New.
  9356. (rs6000_isel): New.
  9357. (rs6000_fprs): New.
  9358. (rs6000_isel_string): New.
  9359. (UNITS_PER_SPE_WORD): New.
  9360. (LOCAL_ALIGNMENT): Adjust for SPE.
  9361. (HARD_REGNO_MODE_OK): Same.
  9362. (DATA_ALIGNMENT): Same.
  9363. (MEMBER_TYPE_FORCES_BLK): New.
  9364. (FIRST_PSEUDO_REGISTER): Set to 113.
  9365. (FIXED_REGISTERS): Add SPE registers.
  9366. (reg_class): Same.
  9367. (REG_CLASS_NAMES): Same.
  9368. (REG_CLASS_CONTENTS): Same.
  9369. (REGNO_REG_CLASS): Same.
  9370. (REGISTER_NAMES): Same.
  9371. (DEBUG_REGISTER_NAMES): Same.
  9372. (ADDITIONAL_REGISTER_NAMES): Same.
  9373. (CALL_USED_REGISTERS): Same.
  9374. (CALL_REALLY_USED_REGISTERS): Same.
  9375. (SPE_ACC_REGNO): New.
  9376. (SPEFSCR_REGNO): New.
  9377. (SPE_SIMD_REGNO_P): New.
  9378. (HARD_REGNO_NREGS): Adjust for SPE.
  9379. (VECTOR_MODE_SUPPORTED_P): Same.
  9380. (REGNO_REG_CLASS): Same.
  9381. (FUNCTION_VALUE): Same.
  9382. (LIBCALL_VALUE): Same.
  9383. (LEGITIMATE_OFFSET_ADDRESS_P): Same.
  9384. (SPE_VECTOR_MODE): New.
  9385. (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
  9386. the GPRs. Set FIXED_SCRATCH fixed in SPE case.
  9387. (rs6000_stack): Add spe_gp_size, spe_padding_size,
  9388. spe_gp_save_offset.
  9389. (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
  9390. (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
  9391. (SPE_CONST_OFFSET_OK): New.
  9392. (rs6000_builtins): Add SPE builtins.
  9393. * testsuite/gcc.dg/ppc-spe.c: New.
  9394. * config/rs6000/eabispe.h: New.
  9395. * config/rs6000/spe.h: New.
  9396. * config/rs600/spe.md: New.
  9397. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
  9398. __SIMD__ for TARGET_SPE.
  9399. * config.gcc: Add powerpc-*-eabispe* case.
  9400. Add spe.h to user headers for powerpc.
  9401. 2002-07-24 Chris Demetriou <cgd@broadcom.com>
  9402. * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
  9403. * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
  9404. * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
  9405. 2002-07-24 Richard Henderson <rth@redhat.com>
  9406. * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
  9407. form when not optimizing.
  9408. 2002-07-24 David Mosberger <davidm@hpl.hp.com>
  9409. * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
  9410. thread_pointer_rtx as unchanging.
  9411. 2002-07-24 Michael Matz <matz@suse.de>
  9412. * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
  9413. (free_reg): Use it.
  9414. 2002-07-24 Richard Earnshaw <rearnsha@arm.com>
  9415. * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
  9416. pattern.
  9417. (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
  9418. (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
  9419. 2002-07-24 Chris Demetriou <cgd@broadcom.com>
  9420. * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
  9421. * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
  9422. * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
  9423. Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
  9424. * toplev.c (rest_of_compilation): Dump loops before clobbering
  9425. the structure.
  9426. Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
  9427. * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
  9428. 2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
  9429. PR optimization/7291
  9430. * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
  9431. problem on x86_64.
  9432. 2002-07-24 Gabriel Dos Reis <gdr@nerim.net>
  9433. * pretty-print.h: Add macros from cp/error.c
  9434. 2002-07-24 Alan Modra <amodra@bigpond.net.au>
  9435. * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
  9436. (mask64_2_operand): Declare.
  9437. (build_mask64_2_operands): Declare.
  9438. (and64_2_operand): Declare.
  9439. (extract_MB): Declare.
  9440. (extract_ME): Declare.
  9441. * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove
  9442. CONST_DOUBLE code.
  9443. (mask_operand_wrap): New insn predicate.
  9444. (mask64_2_operand): Likewise.
  9445. (and64_2_operand): Likewise.
  9446. (build_mask64_2_operands): New function.
  9447. (extract_MB): New function.
  9448. (extract_ME): New function.
  9449. (print_operand <case m,M>): Use extract_MB and extract_ME.
  9450. (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support.
  9451. * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
  9452. (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
  9453. mask64_2_operand. Remove CONST_DOUBLE from mask64_operand.
  9454. * config/rs6000/rs6000.md (andsi3_internal3): New
  9455. (andsi3_internal3+1): Enable split for powerpc64.
  9456. (andsi3_internal3+2): New split.
  9457. (andsi3_internal4): Renamed old andsi3_internal3.
  9458. (andsi3_internal5): New.
  9459. (andsi3_internal5+1): Enable split for powerpc64.
  9460. (andsi3_internal5+2): New split.
  9461. (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
  9462. (anddi3): Handle 't' constraint.
  9463. (anddi3+1): New split.
  9464. (anddi3_internal2): Handle 't' constraint.
  9465. (anddi3_internal2+1): New split.
  9466. (anddi3_internal3): Handle 't' constraint.
  9467. (anddi3_internal3+1): New split.
  9468. 2002-07-24 Alan Modra <amodra@bigpond.net.au>
  9469. * config/rs6000/rs6000.md: Remove scratch reg on insns using
  9470. addze and similar (plus (comparison r1 r2) r3) insns. Add
  9471. missing scratch reg in one case. Formatting fixes.
  9472. 2002-07-24 Neil Booth <neil@daikokuya.co.uk>
  9473. * cppexp.c (parse_defined): Mark macro used.
  9474. * cpphash.h (struct cpp_macro): New member "used".
  9475. (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
  9476. (struct cpp_reader): New member.
  9477. * cppinit.c (cpp_finish_options): Set first_unused_line.
  9478. (cpp_finish): Warn of unused macros if requested.
  9479. (OPT_TABLE): New switches.
  9480. (cpp_handle_option): Handle them.
  9481. * cpplib.c (do_undef): Warn if macro unused.
  9482. (do_ifdef, do_ifndef): Mark macro used.
  9483. * cpplib.h (struct cpp_options): New member.
  9484. * cppmacro.c (_cpp_warn_if_unused_macro): New.
  9485. (enter_macro_context): Mark macro used.
  9486. (_cpp_create_definition): Mark macro unused; warn if unused
  9487. when redefined.
  9488. * cpptrad.c (scan_out_logcial_line, push_replacement_text):
  9489. Mark macros used.
  9490. * doc/cppopts.texi: Update.
  9491. 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
  9492. * dwarf2out.c (SECTION_ASM_OP,
  9493. ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
  9494. * system.h (SECTION_ASM_OP): Poison.
  9495. * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
  9496. * config/alpha/alpha-interix.h, config/mips/linux.h
  9497. (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
  9498. * config/mmix/mmix-protos.h, config/mmix/mmix.c
  9499. (mmix_asm_output_define_label_difference_symbol): Remove.
  9500. * config/mmix/mmix.h
  9501. (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
  9502. * doc/tm.texi: Remove documentation.
  9503. Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9504. * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
  9505. (constrain_operands): Likewise.
  9506. * regclass.c (record_reg_classes): Likewise.
  9507. * reload.c (find_reloads): Likewise.
  9508. * doc/md.texi: Likewise.
  9509. * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
  9510. * simplify-rtx.c (simplify_subreg): When converting to a non-int
  9511. mode, try to convert to an integer mode of matching size first.
  9512. * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
  9513. from individual subregs, check that each subreg has been generated
  9514. sucessfully.
  9515. 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
  9516. * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
  9517. * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
  9518. FOR_EACH_BB_IN_SBITMAP): Remove.
  9519. * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
  9520. * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
  9521. LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
  9522. * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
  9523. PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
  9524. * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
  9525. 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
  9526. * pretty-print.h: New file.
  9527. 2002-07-23 Paul Koning <pkoning@equallogic.com>
  9528. * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
  9529. (LARGEST_EXPONENT_IS_NORMAL): Ditto.
  9530. (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
  9531. (TARGET_G_FLOAT): Default to 0 if not defined.
  9532. (ieeetoe): New, common routine to convert target format floats
  9533. to internal form.
  9534. (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
  9535. vs. others.
  9536. (e113toe): Change to use ieeetoe.
  9537. 2002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de>
  9538. * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
  9539. IBM.
  9540. (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
  9541. (e64toe): Remove special cases for DEC and IBM. Remove support for
  9542. ARM_EXTENDED_IEEE_FORMAT.
  9543. (e24toe): Remove special cases for DEC.
  9544. (significand_size): Simplify. Indent.
  9545. (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
  9546. (etoieee, toieee): New.
  9547. (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
  9548. etoieee and toieee for IEEE arithmetic.
  9549. 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
  9550. * doc/extend.texi: Say ISO C90, not ISO C89.
  9551. * doc/invoke.texi: Likewise.
  9552. * doc/standards.texi: Likewise.
  9553. 2002-07-23 Steve Ellcey <sje@cup.hp.com>
  9554. * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
  9555. Fix permutation of conversion and plus/mult.
  9556. * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
  9557. ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
  9558. (expand_builtin_strncpy) Ditto.
  9559. (expand_builtin_memset) Ditto.
  9560. 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
  9561. Fix PR/7363:
  9562. * c-common.c (c_sizeof_or_alignof_type): New function.
  9563. (c_alignof): Remove definition.
  9564. * c-common.h (c_sizeof, c_alignof): Define as macros.
  9565. (c_sizeof_or_alignof_type): Declare.
  9566. (my_friendly_assert): Moved from cp/cp-tree.h
  9567. * c-typeck.c (c_sizeof): Remove definition.
  9568. 2002-07-23 Jan Hubicka <jh@suse.cz>
  9569. * gcse.c (try_replace_reg): Use num_changes_pending.
  9570. * recog.c (num_changes_pending): New function.
  9571. (validate_replace_src): Use validate_repalce_src_group.
  9572. (validate_replace_src_group): New.
  9573. * recog.h (validate_repalce_src_group): New.
  9574. (num_changes_pending): Likewise.
  9575. Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9576. * calls.c (emit_library_call_value_1): If
  9577. FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
  9578. libcall, const call nor pure call.
  9579. 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
  9580. * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
  9581. 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
  9582. * vmsdbgout.c (SECTION_ASM_OP): Remove.
  9583. 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
  9584. * config/i386/i386.c (AT_BP): Remove.
  9585. 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
  9586. * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
  9587. Default definition.
  9588. * gcse.c: Don't define obstack_chunk_free.
  9589. * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
  9590. flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
  9591. integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
  9592. reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
  9593. Don't define obstack macros.
  9594. 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
  9595. PR target/6744
  9596. * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
  9597. ASM_OPERANDS instructions.
  9598. 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
  9599. PR target/7361
  9600. * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
  9601. constant addresses only on 68HC12.
  9602. 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
  9603. * cppfiles.c (stack_include_file): Correct test of whether
  9604. a dependency should be output.
  9605. 2002-07-22 David Edelsohn <edelsohn@gnu.org>
  9606. * collect2.c (is_ctor_dtor): Add other possible JOINER values.
  9607. 2002-07-22 Richard Earnshaw <rearnsha@arm.com>
  9608. * arm.md (movqi): If optimizing and we can create pseudos, use
  9609. a ZERO_EXTEND to load from memory, then copy the result into the
  9610. target.
  9611. (movhi): Likewise, but only for ARMv4.
  9612. 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
  9613. * ssa-ccp.c (PHI_PARMS): Remove.
  9614. 2002-07-22 Richard Sandiford <rsandifo@redhat.com>
  9615. * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
  9616. on big-endian targets.
  9617. 2002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9618. * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
  9619. HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
  9620. HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
  9621. New formatting macros.
  9622. * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
  9623. Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9624. * rtlanal.c (subreg_regno_offset): Return correct offset for
  9625. big endian paradoxical subregs.
  9626. * optabs.c (expand_vector_unop): Don't expand using sub_optab
  9627. if we got the wrong mode.
  9628. * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
  9629. * genrecog.c (write_switch, write_cond): Use it.
  9630. * genemit.c (gen_exp): Likewise.
  9631. 2002-07-22 Jakub Jelinek <jakub@redhat.com>
  9632. * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
  9633. 2002-07-22 Jakub Jelinek <jakub@redhat.com>
  9634. * c-decl.c (build_compound_literal): Defer compound literal decls
  9635. until until file end to emit them only if they are actually used.
  9636. 2002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  9637. * ra-build.c (check_conflict_numbers): Hide unused function.
  9638. (livethrough_conflicts_bb): Avoid automatic aggregate
  9639. initialization.
  9640. (parts_to_webs_1): Avoid `U' integer constant modifier.
  9641. (conflicts_between_webs): Wrap a variable in the macro controlling
  9642. its usage.
  9643. * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
  9644. (dump_igraph, dump_graph_cost): Avoid string concatenation
  9645. (dump_static_insn_cost): Avoid automatic aggregate
  9646. initialization.
  9647. * ra-rewrite.c (insert_stores): Avoid automatic aggregate
  9648. initialization.
  9649. (dump_cost): Avoid string concatenation
  9650. 2002-07-21 Richard Henderson <rth@redhat.com>
  9651. * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
  9652. GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
  9653. 2002-07-21 Richard Henderson <rth@redhat.com>
  9654. * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
  9655. that are not unrolled completely.
  9656. 2002-07-21 Richard Henderson <rth@redhat.com>
  9657. * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
  9658. * loop.c (strength_reduce): Update.
  9659. * toplev.c (rest_of_compilation): Do unrolling in the first
  9660. loop pass, not the second.
  9661. 2002-07-21 Richard Henderson <rth@redhat.com>
  9662. * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
  9663. when flag_argument_noalias == 2.
  9664. * alias.c (nonoverlapping_memrefs_p): Handle that.
  9665. * print-rtl.c (print_mem_expr): Likewise.
  9666. 2002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de>
  9667. * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
  9668. instead of __negdi2 directly.
  9669. 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
  9670. * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
  9671. * function.c (SYMBOL__MAIN): Remove definition.
  9672. * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
  9673. * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
  9674. * profile.c (GCOV_INDEX_TO_BB): Remove.
  9675. * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
  9676. * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
  9677. 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
  9678. * c-lex.c (GET_ENVIRONMENT): Remove.
  9679. * collect2.c (GET_ENV_PATH_LIST): Remove.
  9680. (prefix_from_env): Use GET_ENVIRONMENT.
  9681. * cppinit.c (GET_ENV_PATH_LIST): Remove.
  9682. (init_standard_includes): Use GET_ENVIRONMENT.
  9683. * defaults.h (GET_ENVIRONMENT): Define here if not already.
  9684. * gcc.c (GET_ENV_PATH_LIST): Remove.
  9685. (make_relative_prefix, process_command): Update.
  9686. * protoize.c (GET_ENV_PATH_LIST): Remove.
  9687. (do_processing): Update.
  9688. 2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
  9689. * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
  9690. (grokdeclarator): Likewise.
  9691. * c-format.c (C_STD_NAME): Likewise.
  9692. * c-lex.c (interpret_integer): Likewise.
  9693. * c-typeck.c (build_array_ref): Likewise.
  9694. * cpplex.c (_cpp_lex_direct): Likewise.
  9695. * toplev.c (documented_lang_options): Likewise.
  9696. 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
  9697. * c-format.c (T99_I, T99_UI): Remove.
  9698. 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
  9699. * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
  9700. Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
  9701. * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
  9702. do_local_cprop.
  9703. 2002-07-21 Andreas Jaeger <aj@suse.de>
  9704. * reload1.c (fixup_abnormal_edges): Remove unused variable.
  9705. 2002-07-21 Bernd Schmidt <bernds@redhat.com>
  9706. Improvements for the ifcvt pass from Michael Meissner, with patches
  9707. by Richard Sandiford <rsandifo@redhat.com>
  9708. * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
  9709. * ifcvt.c (cond_exec_changed_p): New static variable.
  9710. (last_active_insn): New function, renamed from last_active_insn_p
  9711. and changed to return the last active insn in a basic block. All
  9712. callers updated.
  9713. (block_fallthru): New function.
  9714. (cond_exec_process_insns): New argument CE_INFO. Pass it to
  9715. IFCVT_MODIFY_INSN. All callers updated.
  9716. Return false if START or END are NULL.
  9717. Handle case where we're processing an insn that is already
  9718. conditional.
  9719. (noce_process_if_block): CE_INFO argument rather than
  9720. multiple args containing the involved basic blocks. All callers
  9721. changed.
  9722. (process_if_block, merge_if_block, find_if_block,
  9723. cond_exec_process_if_block): Likewise.
  9724. (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers
  9725. changed.
  9726. Use new function last_active_insn to simplify some code.
  9727. New code to handle multiple tests.
  9728. Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
  9729. cond_exec_changed_p to TRUE.
  9730. (process_if_block): New code to handle multiple tests.
  9731. (merge_if_block): Likewise.
  9732. (find_if_header): New arg PASS. Changed to return the currently
  9733. processed basic block or NULL instead of true/false. All callers
  9734. changed.
  9735. Call IFCVT_INIT_EXTRA_FIELDS.
  9736. (block_jumps_and_fallthru_p): New function.
  9737. (find_if_block): Discover opportunities to convert multiple tests.
  9738. Add additional debugging output.
  9739. Update the ce_info structure before returning.
  9740. (if_convert): Run multiple passes of if-conversion.
  9741. * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
  9742. IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
  9743. IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
  9744. these macros.
  9745. Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz>
  9746. * gcse.c: Include cselib.h
  9747. (constptop_register): Break out from ...
  9748. (cprop_insn): ... here; kill basic_block argument.
  9749. (do_local_cprop, local_cprop_pass): New functions.
  9750. (one_cprop_pass): Call local_cprop_pass.
  9751. 2002-07-20 Roger Sayle <roger@eyesopen.com>
  9752. * simplify-rtx.c (simplify_relational_operation): Optimize
  9753. abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
  9754. 2002-07-20 Michae Matz <matz@suse.de>
  9755. * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
  9756. 2002-07-20 Neil Booth <neil@daikokuya.co.uk>
  9757. * cppexp.c (struct op): Add token pointer.
  9758. (check_promotion, CHECK_PROMOTION): New.
  9759. (optab): Update.
  9760. (_cpp_parse_expr): Update, use token pointer of struct op.
  9761. (reduce): Warn about change of sign owing to promotion.
  9762. * cppinit.c (cpp_handle_option): New warning if -Wall.
  9763. * cpplib.h (struct cpp_options): New member.
  9764. 2002-07-19 David Edelsohn <edelsohn@gnu.org>
  9765. * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
  9766. fpu list. Separate Power4 compare and delayed_compare. Correct
  9767. Power4 fpcompare.
  9768. (fix_truncdfsi2_internal): Restore FPR preference.
  9769. * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
  9770. mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc.
  9771. 2002-07-19 Momchil Velikov <velco@fadata.bg>
  9772. * reload1.c (reload_as_needed): Duplicate oldpat.
  9773. 2002-07-20 Alan Modra <amodra@bigpond.net.au>
  9774. PR optimization/7130
  9775. * loop.h (struct loop_info): Add "preconditioned".
  9776. * unroll.c (unroll_loop): Set it.
  9777. * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
  9778. 2002-07-19 Zack Weinberg <zack@codesourcery.com>
  9779. * rtl.def (CODE_LABEL): Remove slot 8.
  9780. * rtl.h (struct rtx_def): Document new uses of jump and call fields.
  9781. (LABEL_ALTERNATE_NAME): Delete.
  9782. (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
  9783. * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
  9784. * final.c (output_alternate_entry_point): New.
  9785. (final_scan_insn): Use it instead of
  9786. ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility
  9787. of a case label being an alternate entry point.
  9788. * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
  9789. * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
  9790. Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
  9791. (field deleted).
  9792. * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
  9793. * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
  9794. LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
  9795. * doc/tm.texi: Delete documentation of
  9796. ASM_OUTPUT_ALTERNATE_LABEL_NAME.
  9797. 2002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  9798. * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
  9799. (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
  9800. (LINK_SPEC): Define.
  9801. (STARTFILE_SPEC): Define.
  9802. (ENDFILE_SPEC): Define.
  9803. * config/mips/iris6-o32.h (LINK_SPEC): Move ...
  9804. * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
  9805. * config/mips/iris6-o32-gas.h: New file.
  9806. * config.gcc (mips-sgi-irix6*o32): Use it.
  9807. * config/mips/t-iris5-gas: New file.
  9808. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
  9809. 2002-07-19 Neil Booth <neil@daikokuya.co.uk>
  9810. * cppexp.c (ALWAYS_EVAL): Remove.
  9811. (optab, reduce): Always evaluate.
  9812. (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
  9813. only if not skipping evaluation.
  9814. 2002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
  9815. * config/avr/avr.c (debug_hard_reg_set): Remove.
  9816. 2002-07-19 Chris Demetriou <cgd@broadcom.com>
  9817. * gcc.c (cpp_options): Include "%1" (cc1_spec).
  9818. 2002-07-19 Richard Henderson <rth@redhat.com>
  9819. * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
  9820. 2002-07-19 Alan Modra <amodra@bigpond.net.au>
  9821. * prefix.c (update_path): Don't zap single `.' path components
  9822. unless followed by another `.' and fix typo last patch.
  9823. 2002-07-18 Neil Booth <neil@daikokuya.co.uk>
  9824. * cppexp.c (cpp_num_mul): Remove unused parameter.
  9825. (UNARY, BINARY, OTHER, binary_handler): Remove.
  9826. (ALWAYS_EVAL): New.
  9827. (optab): Update.
  9828. (reduce): Refactor to a large switch, don't use a function
  9829. pointer.
  9830. 2002-07-18 Bo Thorsen <bo@berlioz.suse.de>
  9831. * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
  9832. Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9833. * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
  9834. (sh_expand_binop_v2sf): Likewise.
  9835. * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
  9836. (int_gpr_dest, trunc_hi_operand): New functions.
  9837. * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
  9838. trunc_hi_operand.
  9839. (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
  9840. * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
  9841. (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
  9842. (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
  9843. (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
  9844. (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
  9845. (extendhisi2_media+1, extendqisi2_media+1): Likewise.
  9846. (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
  9847. (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
  9848. (movsf_ie+1): Likewise.
  9849. (loaddi_trunc): Use int_gpr_dest predicate.
  9850. (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
  9851. (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
  9852. (casesi_worker_0+[12], casesi_worker): Likewise.
  9853. (shcompact_preserve_incoming_args): Likewise.
  9854. (mov_nop): Use any_register_operand predicate.
  9855. (mperm_w0): Use trunc_hi_operand predicate.
  9856. 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
  9857. * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
  9858. * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
  9859. numbering.
  9860. 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
  9861. * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
  9862. 2002-07-18 Richard Henderson <rth@redhat.com>
  9863. PR optimization/7147
  9864. * ifcvt.c (noce_get_condition): Make certain that the condition
  9865. is valid at JUMP.
  9866. Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9867. * sh.c (barrier_align, push): Shut up compiler warnings.
  9868. (initial_elimination_offset,sh_media_init_builtins): Likewise.
  9869. (reg_no_subreg_operand): Delete.
  9870. 2002-07-17 Bo Thorsen <bo@suse.de>
  9871. * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
  9872. (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
  9873. (STARTFILE_SPEC): Remove hardcoded library paths.
  9874. (ENDFILE_SPEC): Likewise.
  9875. Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
  9876. * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
  9877. * gcse.c (try_replace_reg): Do not return false positives.
  9878. 2002-07-18 Alan Modra <amodra@bigpond.net.au>
  9879. * prefix.c: (update_path): Strip ".." components when prior dir
  9880. doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
  9881. * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
  9882. (ASM_OUTPUT_REG_POP): Likewise.
  9883. 2002-07-18 Alan Modra <amodra@bigpond.net.au>
  9884. * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
  9885. adjustments to first_reg for profiling case.
  9886. (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
  9887. Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
  9888. Save static chain reg to sp + 12 on ABI_AIX_NODESC.
  9889. * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
  9890. (ASM_OUTPUT_REG_POP): Define.
  9891. * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
  9892. (ASM_OUTPUT_REG_POP): Undef.
  9893. 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
  9894. * cpplib.c (do_sccs): Handle #sccs on all systems.
  9895. * system.h (SCCS_DIRECTIVE): Poison.
  9896. * config/darwin.h, config/freebsd.h, config/netbsd.h,
  9897. config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
  9898. config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
  9899. config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
  9900. config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
  9901. config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
  9902. config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
  9903. config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
  9904. Remove all references to SCCS_DIRECTIVE.
  9905. * doc/cpp.texi, doc/tm.texi: Update.
  9906. Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9907. * regrename.c (maybe_mode_change): New function.
  9908. (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
  9909. 2002-07-17 Rodney Brown <rbrown64@csc.com.au>
  9910. * config/i386/i386.c (ix86_expand_int_movcc): In the general case
  9911. suppress addition when either ct or cf are zero.
  9912. 2002-07-17 Eric Botcazou <ebotcazou@multimania.com>
  9913. Glen Nakamura <glen@imodulo.com>
  9914. PR optimization/6713
  9915. * loop.c (loop_givs_rescan): Explicitly delete the insn that
  9916. sets a non-replaceable giv after issuing the new one.
  9917. 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
  9918. * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
  9919. eval_token): Clarify and correct use of "bool" variables.
  9920. * cpplib.h (struct cpp_options): Similarly.
  9921. * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
  9922. * cpptrad.c (recursive_macro): Similarly.
  9923. Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
  9924. * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
  9925. SHmedia code.
  9926. * sh.md (cmpgtudi_media): Remove spurious @.
  9927. * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
  9928. * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
  9929. * config/sh/lib1funcs.asm (init_trampoline): New entry point.
  9930. * sh-protos.h (sh_initialize_trampoline): Declare.
  9931. * sh.c (sh_initialize_trampoline): New function.
  9932. * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
  9933. (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
  9934. (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
  9935. (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
  9936. * sh.md (initialize_trampoline, double_shori): New patterns.
  9937. (initialize_trampoline_compact): Likewise.
  9938. (shmedia32_initialize_trampoline_big): Remove.
  9939. (shmedia32_initialize_trampoline_little): Likewise.
  9940. * sh-protos.h (binary_float_operator): Remove declaration.
  9941. (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
  9942. * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
  9943. (unary_float_operator, sh_expand_unop_v2sf): New functions.
  9944. (sh_expand_binop_v2sf): Likewise.
  9945. (zero_vec_operand): Delete.
  9946. (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
  9947. all non-shared ones.
  9948. (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
  9949. Enable nsb and byterev.
  9950. * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
  9951. (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
  9952. in general regs.
  9953. (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
  9954. (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
  9955. immediate operands.
  9956. (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
  9957. Add DF_HI_REGS.
  9958. (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
  9959. lowpart fp regs - only for big endian for now.
  9960. (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
  9961. when FPU is in use.
  9962. (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
  9963. (LOAD_EXTEND_OP): NIL for SImode.
  9964. (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
  9965. general and fp registers is 4.
  9966. PREDICATE_CODES: Amend binary_float_operator entry.
  9967. Remove zero_vec_operand. Add unary_float_operator.
  9968. * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
  9969. subreg SET_DEST.
  9970. (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
  9971. (truncdiqi2): Do sign extension.
  9972. (movsi_media, movdi_media): Allow to use r63 to an fp register.
  9973. (movdf_media, movsf_media): Likewise.
  9974. (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
  9975. Collapse to one define_insn_and_split. Allow immediate sources.
  9976. (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
  9977. (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
  9978. (movv4sf): Allow immediate sources.
  9979. (movsf_media_nofpu+1): Don't split moves to FP registers.
  9980. (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
  9981. (movv8qi_i+3): Check against CONST0_RTX.
  9982. (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
  9983. for input and output operands. Fix argument 3 to gen_mextr_rl.
  9984. (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
  9985. (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
  9986. (mshf0_w, fipr, ftrv): Likewise.
  9987. (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
  9988. 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  9989. * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
  9990. NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
  9991. * arm.c: Similarly.
  9992. 2002-07-17 Richard Sandiford <rsandifo@redhat.com>
  9993. * config/mips/mips-protos.h (mips_sign_extend): Declare.
  9994. * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
  9995. (TARGET_SWITCHES): Remove debugh.
  9996. (ISA_HAS_TRUNC_W): New macro.
  9997. (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
  9998. (PREDICATE_CODES): Remove se_nonimmediate_operand.
  9999. * config/mips/mips.c (movdi_operand): Allow sign-extensions of
  10000. any SImode move_operand.
  10001. (se_nonimmediate_operand): Remove.
  10002. (mips_sign_extend): New.
  10003. (mips_move_2words): Use it for sign-extended source operands.
  10004. (override_options): Allow integers to be put into single FPRs.
  10005. (mips_secondary_reload_class): Handle integers in float registers.
  10006. * config/mips/mips.md (extendsidi2): Turn into a define_expand.
  10007. (fix_truncsfsi2, fix_truncdfsi2): Likewise.
  10008. (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
  10009. (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
  10010. (fix_truncdfdi2): Provide only a single alternative, in which the
  10011. integer is in a float register. Depend on TARGET_FLOAT64 rather
  10012. than TARGET_64BIT.
  10013. (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
  10014. (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
  10015. (movdi_internal2): Don't allow the source operand to be sign-extended.
  10016. Add alternatives for float registers.
  10017. (*movdi_internal2_extend): New. Version of movdi_internal2 that
  10018. allows sign-extension.
  10019. (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
  10020. (movsi_internal2): Rename to movsi_internal. Add alternatives for
  10021. float registers. Remove TARGET_DEBUG_H_MODE test.
  10022. (movhi_internal1): Rename to movhi_internal. Don't check
  10023. TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
  10024. (movqi_internal1): Rename to movqi_internal and remove
  10025. TARGET_DEBUG_H_MODE dependency.
  10026. (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
  10027. 2002-07-16 Jim Wilson <wilson@redhat.com>
  10028. * toplev.c (lang_dependent_init): Create function context for
  10029. init_expr_once.
  10030. 2002-07-16 Hans-Peter Nilsson <hp@axis.com>
  10031. * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
  10032. --gc-sections if -r.
  10033. * config/cris/cris.h: Ditto.
  10034. 2002-07-16 Rodney Brown <rbrown64@csc.com.au>
  10035. * config/i386/i386.c (ix86_expand_int_movcc): In the case where
  10036. the comparison directly gives a mask suppress addition when cf is
  10037. zero by complementing the mask.
  10038. 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
  10039. * Makefile.in: Delete references to enquire.
  10040. * enquire.c: Move to contrib.
  10041. 2002-07-16 Stan Shebs <shebs@apple.com>
  10042. * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
  10043. config/rs6000/darwin.h.
  10044. (ASM_OUTPUT_SKIP): Ditto.
  10045. (TEXT_SECTION_ASM_OP): Ditto.
  10046. (DATA_SECTION_ASM_OP): Ditto.
  10047. (ASM_APP_ON): Define.
  10048. (ASM_APP_OFF): Define.
  10049. * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
  10050. TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
  10051. * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
  10052. (machopic_function_base_name): Declare result to be const.
  10053. (machopic_non_lazy_ptr_name): Ditto.
  10054. (machopic_stub_name): Ditto.
  10055. * config/darwin-protos.h: Ditto for the prototypes.
  10056. Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
  10057. * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
  10058. Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
  10059. * i386.md (prefetch): Fix for 64bit mode.
  10060. (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
  10061. Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
  10062. * i386.h (MACHINE_DEPENDENT_REORG): New macro.
  10063. * i386.c (x86_machine_dependent_reorg): New function.
  10064. * i386-protos.h (x86_machine_dependent_reorg): Declare.
  10065. 2002-07-16 Zack Weinberg <zack@codesourcery.com>
  10066. * builtins.c (std_expand_builtin_va_start): Remove unused
  10067. first argument.
  10068. (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
  10069. std_expand_builtin_va_start with just two arguments.
  10070. * expr.h: Update prototypes.
  10071. * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
  10072. arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
  10073. i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
  10074. m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
  10075. mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
  10076. rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
  10077. s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
  10078. sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
  10079. xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
  10080. argument from all implementations of EXPAND_BUILTIN_VA_START
  10081. and all uses of std_expand_builtin_va_start.
  10082. Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10083. * regrename.c (copy_value): Don't record high part copies.
  10084. 2002-07-16 Steve Ellcey <sje@cup.hp.com>
  10085. * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
  10086. (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
  10087. * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
  10088. 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
  10089. * doc/invoke.texi (NS32K Options): Document -mieee-compare option
  10090. * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
  10091. into addsi3 using register class "x" and "y".
  10092. * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
  10093. "earlyclobber" constraint modifier for some alternative.
  10094. * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
  10095. (*ble, *blt): Flag to indicate bCOND and sCOND should check for
  10096. unordered.
  10097. config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
  10098. * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
  10099. (TARGET_SWITCHES): Add -mieee-compare option.
  10100. (OVERRIDE_OPTIONS): 32332 is a subset of
  10101. 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
  10102. (TARGET_SWITCHES): Fix description of bitfield option.
  10103. * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
  10104. -mieee-compare option. Remove 32332 flag.
  10105. 2002-07-16 Steve Ellcey <sje@cup.hp.com>
  10106. * explow.c (convert_memory_address): Remove special handling
  10107. when POINTERS_EXTEND_UNSIGNED < 0.
  10108. * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
  10109. (movedi_symbolic): Fix typo.
  10110. (load_fptr): Remove mode restriction so it works for SI and DI.
  10111. (load_fptr_internal1): Ditto.
  10112. (load_gprel): Ditto.
  10113. (load_symptr_internal1): Ditto.
  10114. (call_pic): Ditto.
  10115. * config/ia64.c (call_operand): Modify mode check.
  10116. (ia64_expand_load_address): Handle DI and SI addresses and symbols.
  10117. (ia64_expand_move): Ditto.
  10118. (ia64_assemble_integer): Handle SImode function pointers.
  10119. (ia64_expand_fetch_and_op): Handle SImode mem addresses.
  10120. (ia64_expand_op_and_fetch): Ditto.
  10121. (ia64_expand_compare_and_swap): Ditto.
  10122. (ia64_expand_lock_test_and_set): Ditto.
  10123. (ia64_expand_lock_release): Ditto.
  10124. 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  10125. * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
  10126. 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  10127. Richard Earnshaw <rearnsha@arm.com>
  10128. * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
  10129. CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
  10130. 2002-07-16 Richard Earnshaw <rearnsha@arm.com>
  10131. * arm.md (stack_tie): New insn. Use an idiom that the alias code
  10132. understands to be a memory clobber.
  10133. * arm.c (arm_expand_prologue): Use it.
  10134. 2002-07-16 Daniel Berlin <dberlin@dberlin.org>
  10135. * ra-rewrite.c: #include reload.h, insn-config.h
  10136. * ra-build.c: #include reload.h
  10137. * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
  10138. depend on reload.h, insn-config.h.
  10139. Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10140. * expr.c (emit_move_insn_1): Handle arbitrary moves that are
  10141. the same size as a word.
  10142. * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
  10143. BYTES_BIG_ENDIAN into account.
  10144. Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
  10145. * i386.md (prefetch): Fix for 64bit mode.
  10146. (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
  10147. * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
  10148. 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
  10149. * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
  10150. 2002-07-15 Zack Weinberg <zack@codesourcery.com>
  10151. * ginclude/varargs.h: Replace with stub which issues #error.
  10152. * ginclude/stdarg.h: __builtin_stdarg_start is renamed
  10153. __builtin_va_start.
  10154. * builtins.def (BUILT_IN_VARARGS_START): Delete.
  10155. (BUILT_IN_VA_START): New.
  10156. * builtins.c (expand_builtin_va_start): Eliminate first
  10157. argument and code to implement pre-ISO varargs.
  10158. (std_expand_builtin_va_start): Ignore first argument; it is
  10159. always 1.
  10160. (expand_builtin): Handle BUILT_IN_VA_START and
  10161. BUILT_IN_STDARG_START identically. Delete
  10162. BUILT_IN_VARARGS_START case.
  10163. * function.c (assign_parms): Delete hide_last_arg and all
  10164. its uses.
  10165. (mark_varargs): Delete function.
  10166. * function.h (struct function): Delete 'varargs' bit.
  10167. (current_function_varargs): Delete macro.
  10168. * tree.h: Don't declare mark_varargs.
  10169. * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
  10170. (c_expand_body): Don't call mark_varargs.
  10171. * c-objc-common.c: Handle BUILT_IN_VA_START and
  10172. BUILT_IN_STDARG_START identically. Delete
  10173. BUILT_IN_VARARGS_START case.
  10174. * c-tree.h: Don't declare c_mark_varargs.
  10175. * c-parse.in: Remove grammar rules for '&...' (which has been
  10176. commented out since before 2.7.2) and for '...' in K+R
  10177. argument declarations.
  10178. * builtins.c, function.c, integrate.c, sibcall.c,
  10179. config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
  10180. config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
  10181. config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
  10182. config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
  10183. config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
  10184. config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
  10185. config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
  10186. config/stormy16/stormy16.c: Delete all references to
  10187. current_function_varargs, and code predicated on that flag.
  10188. * config/alpha/alpha.c (alpha_va_start),
  10189. config/arc/arc.c (arc_va_start),
  10190. config/i386/i386.c (ix86_va_start),
  10191. config/mips/mips.c (mips_va_start),
  10192. config/mn10300/mn10300.c (mn10300_va_start),
  10193. config/rs6000/rs6000.c (rs6000_va_start),
  10194. config/s390/s390.c (s390_va_start),
  10195. config/sh/sh.c (sh_va_start),
  10196. Ignore first argument; it is always 1.
  10197. * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
  10198. * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
  10199. * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
  10200. Delete m68hc11_va_start.
  10201. * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
  10202. No need to define EXPAND_BUILTIN_VA_START.
  10203. * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
  10204. doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
  10205. 2002-07-15 Eric Botcazou <ebotcazou@multimania.com>
  10206. PR optimization/7153
  10207. * regmove.c (optimize_reg_copy_3): Don't optimize if the register
  10208. dies in more than one insn.
  10209. 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
  10210. * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
  10211. 2002-07-15 Michael Matz <matz@suse.de>,
  10212. Daniel Berlin <dberlin@dberlin.org>,
  10213. Denis Chertykov <denisc@overta.ru>
  10214. Add a new register allocator.
  10215. * ra.c: New file.
  10216. * ra.h: New file.
  10217. * ra-build.c: New file.
  10218. * ra-colorize.c: New file.
  10219. * ra-debug.c: New file.
  10220. * ra-rewrite.c: New file.
  10221. * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
  10222. (ra-rewrite.o): New .o files for libbackend.a.
  10223. (GTFILES): Add basic-block.h.
  10224. * toplev.c (flag_new_regalloc): New.
  10225. (f_options): New option "new-ra".
  10226. (rest_of_compilation): Call initialize_uninitialized_subregs()
  10227. only for the old allocator. If flag_new_regalloc is set, call
  10228. new allocator, instead of local_alloc(), global_alloc() and
  10229. friends.
  10230. * doc/invoke.texi: Document -fnew-ra.
  10231. * basic-block.h (FOR_ALL_BB): New.
  10232. * config/rs6000/rs6000.c (print_operand): Write small constants
  10233. as @l+80.
  10234. * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
  10235. (df_reg_table_realloc): Make size at least as large as max_reg_num().
  10236. (df_insn_table_realloc): Size argument now is absolute, not relative.
  10237. Changed all callers.
  10238. * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
  10239. * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
  10240. 2002-06-20 Michael Matz <matz@suse.de>
  10241. * df.h (struct ref.id): Make unsigned.
  10242. * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
  10243. 2002-06-13 Michael Matz <matz@suse.de>
  10244. * df.h (DF_REF_MODE_CHANGE): New flag.
  10245. * df.c (df_def_record_1, df_uses_record): Set this flag for refs
  10246. involving subregs with invalid mode changes, when
  10247. CLASS_CANNOT_CHANGE_MODE is defined.
  10248. 2002-05-07 Michael Matz <matz@suse.de>
  10249. * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
  10250. 2002-05-03 Michael Matz <matz@suse.de>
  10251. * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
  10252. Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
  10253. * regclass.c (regclass): Work with all regs which have sets or
  10254. refs.
  10255. (reg_scan_mark_refs): Count regs inside (clobber ...).
  10256. 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
  10257. * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
  10258. (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
  10259. add new refs.
  10260. (df_bb_refs_update): Don't clear insns_modified here, ...
  10261. (df_analyse): ... but here.
  10262. * sbitmap.c (dump_sbitmap_file): New.
  10263. (debug_sbitmap): Use it.
  10264. * sbitmap.h (dump_sbitmap_file): Add prototype.
  10265. 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
  10266. * df.c (df_insn_modify): Grow the UID table if necessary, rather
  10267. than assume all emits go through df_insns_modify.
  10268. 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
  10269. * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
  10270. increase REG_N_REFS (like flow does), so that regclass doesn't
  10271. think a reg is useless, and thus, not calculate a class, when it
  10272. really should have.
  10273. 2001-01-28 Daniel Berlin <dberlin@redhat.com>
  10274. * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
  10275. dataflow analysis.
  10276. 2002-07-15 Jakub Jelinek <jakub@redhat.com>
  10277. PR middle-end/7245
  10278. * config/i386/i386.c (const_int_1_31_operand): New.
  10279. * config/i386/i386.h (PREDICATE_CODES): Add it.
  10280. * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
  10281. ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
  10282. lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
  10283. 2002-07-14 Alan Modra <amodra@bigpond.net.au>
  10284. PR target/7282
  10285. * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
  10286. (floatunssidf2): Likewise.
  10287. (floatsidf_ppc64): New insn_and_split.
  10288. (floatunssidf_ppc64): Likewise.
  10289. 2002-07-14 Andreas Jaeger <aj@suse.de>
  10290. * config.gcc (sh64): Remove unused
  10291. target_requires_64bit_host_wide_int.
  10292. 2002-07-12 Roger Sayle <roger@eyesopen.com>
  10293. * expr.c [CLEAR_RATIO]: New macro defining the maximum number
  10294. of move instructions to use when clearing memory, c.f. MOVE_RATIO.
  10295. [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
  10296. whether clear_by_pieces should be used to clear storage.
  10297. (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
  10298. * doc/tm.texi: Document these two new target macros.
  10299. 2002-07-12 Stephane Carrez <stcarrez@nerim.fr>
  10300. * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
  10301. the scratch register.
  10302. ("*movhi2_push"): Accept Z_REG because a split pattern can make use
  10303. of it, forbid reload to use it.
  10304. 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
  10305. * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
  10306. usage on 64-bit hosts, return value was truncated to 32 bits.
  10307. Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10308. * simplify-rtx.c (simplify_subreg): Handle floating point
  10309. CONST_DOUBLEs. When an integer subreg of a smaller mode than
  10310. the element mode is requested, compute a subreg with an
  10311. integer mode of the same size as the element mode first.
  10312. Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10313. * combine.c (try_combine): When converting a paradoxical subreg
  10314. to an extension, take LOAD_EXTEND_OP into account.
  10315. 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  10316. * config.gcc (mips-sgi-irix6*o32): New configuration.
  10317. * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
  10318. configurations.
  10319. * configure: Regenerate.
  10320. * config/mips/iris6-o32-as.h: New file.
  10321. * config/mips/iris6-o32.h: New file.
  10322. * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
  10323. (NM_FLAGS): Define.
  10324. (HAVE_AS_SHF_MERGE): Undefine.
  10325. * config/mips/t-iris5-as: New file.
  10326. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
  10327. * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
  10328. SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
  10329. SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
  10330. dp-bit.c, fp-bit.c): Move ...
  10331. * config/mips/t-iris5-6: ... here.
  10332. New file, shared by IRIX 5 and IRIX 6.
  10333. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
  10334. mips-sgi-irix5*): Use it.
  10335. * config/mips/iris6.h: Remove duplicate comment.
  10336. * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
  10337. !TARGET_IRIX6]: Define.
  10338. (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
  10339. * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
  10340. 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  10341. * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
  10342. and delete code to force constant to register.
  10343. * pa-protos.h (adddi3_operand): Add prototype.
  10344. * pa.c (adddi3_operand): New function.
  10345. 2002-07-11 Roger Sayle <roger@eyesopen.com>
  10346. * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
  10347. non-ANSI builtin functions.
  10348. Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10349. * rtl.h (gen_rtx_CONST_VECTOR): Declare.
  10350. * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
  10351. * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
  10352. (gen_const_vector_0): Use it.
  10353. 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  10354. * pa.md (adddi3): For 32-bit targets, force constants to a register
  10355. if they don't fit in an 11-bit immediate. Change insn predicate to
  10356. arith11_operand. Remove comment.
  10357. * pa.c (cint_ok_for_move): Fix comment.
  10358. (emit_move_sequence): Don't directly split DImode constants on 32-bit
  10359. targets.
  10360. 2002-07-11 Tim Josling <tej@melbpc.org.au>
  10361. Remove front end hard coding from gengtype.c.
  10362. * Makefile.in
  10363. (STAGESTUFF): add gtyp-gen.h
  10364. (GTFILES): Remove front end specific files.
  10365. (GTFILES_FILES_LANGS): New, from configure..
  10366. (GTFILES_FILES_FILES): Likewise.
  10367. (GTFILES_LANG_DIR_NAMES): Likewise.
  10368. (GTFILES_SRCDIR): Likewise.
  10369. (gtyp-gen.h): Build from configure information.
  10370. (s-gtype): Remove command line parameters from gengtype.
  10371. (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
  10372. (mostlyclean): Delete files generated by and for gengtype.
  10373. * c-config-lang.in: New file.
  10374. * configure.in (all_gtfiles_files_langs): New. Accumulate files
  10375. for each language.
  10376. (all_gtfiles_files_files): New. Accumulate language for each file
  10377. accumulated.
  10378. (gtfiles): Pick up value for C.
  10379. (srcdir): AC-SUBST this variable.
  10380. (all_gtfiles_files_langs): AC-SUBST this variable.
  10381. (all_gtfiles_files_files): AC-SUBST this variable.
  10382. * configure: Regenerate.
  10383. * gengtype-lex.l (parse_file): Make parameter const.
  10384. * gengtype.c (toplevel): include gtyp-gen.h.
  10385. (BASE_FILE_<language> unnamed enum): Delete.
  10386. (lang_names): Delete (replaced by gtyp-gen.h)
  10387. (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
  10388. all references.
  10389. (NUM_GT_FILES): New.
  10390. (NUM_LANG_FILES): New.
  10391. (srcdir_len): New.
  10392. (NUM_BASE_FILES): Change calculation.
  10393. (open_base_files): Change prototype to avoid warning.
  10394. (startswith): Delete.
  10395. (get_file_basename): Iterate through generated language list not
  10396. hard coded list.
  10397. (get_base_file_bitmap): Use generated list of files and languages.
  10398. (close_output_files): Add prototype to rmove warning.
  10399. (main): Iterate through list of generated files from gtyp-gen.h
  10400. rather than command line paramaters. Ignore duplicated file
  10401. names.
  10402. * gengtype.h (parse_file): Amend prototype for const parameter.
  10403. * doc/sourcebuild.texi: Document gtfiles variable.
  10404. * doc/gty.texi: Document changes to gtfiles variable for front
  10405. ends.
  10406. * objc/config-lang.in (gtfiles): Add files needed for objc front
  10407. end.
  10408. 2002-07-10 Roger Sayle <roger@eyesopen.com>
  10409. PR c/2454
  10410. * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
  10411. to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
  10412. 2002-07-10 Roger Sayle <roger@eyesopen.com>
  10413. Zack Weinberg <zack@codesourcery.com>
  10414. * builtins.def: Make the argument types of abort and exit
  10415. independent of the front-end.
  10416. 2002-07-11 Alan Modra <amodra@bigpond.net.au>
  10417. * config/rs6000/linux64.h (ASM_SPEC): Define.
  10418. 2002-07-10 Aldy Hernandez <aldyh@redhat.com>
  10419. * config/rs6000/rs6000.c (emit_frame_save): New.
  10420. (rs6000_frame_related): Replace reg2 before reg.
  10421. (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
  10422. and eh_return registers.
  10423. 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
  10424. Revert all patches for optimization of Complex .op. Real.
  10425. * complex_part_zero_p: Remove
  10426. * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
  10427. with x.
  10428. * expand_cmplxdiv_wide: Ditto.
  10429. * expand_binop: Ditto.
  10430. 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
  10431. * config/avr/avr.md: Fix two 0x80000000 constants to make them
  10432. negative also on 64-bit hosts.
  10433. Default to -fno-reorder-blocks when optimizing for size.
  10434. * config/avr/avr-protos.h (avr_optimization_options): Declare.
  10435. * config/avr/avr.c (avr_optimization_options): New function.
  10436. * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
  10437. Optimize returning from simple functions.
  10438. * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
  10439. * config/avr/avr.c (avr_simple_epilogue): New function.
  10440. * config/avr/avr.md (return): New insn.
  10441. 2002-07-10 Douglas B Rupp <rupp@gnat.com>
  10442. * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
  10443. HAS_INIT_SECTION to protection.
  10444. 2002-07-10 Mark Mitchell <mark@codesourcery.com>
  10445. * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
  10446. deprecated.
  10447. Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10448. * combine.c (gen_lowpart_for_combine): Handle vector modes.
  10449. Supply non-VOID mode to simplify_gen_subreg.
  10450. Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
  10451. * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
  10452. 2002-07-10 Jeffrey A Law <law@redhat.com>
  10453. * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
  10454. as appropriate.
  10455. * mn10200.c (expand_epilogue): Fix test to determine which scratch
  10456. register to use.
  10457. Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10458. * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
  10459. Get mode from dest.
  10460. If simplify_gen_subreg fails, try next equivalent.
  10461. 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
  10462. * diagnostic.h: #include location.h
  10463. (location_t): Move definition to..
  10464. * location.h: ... here. New file.
  10465. * tree.h: #include location.h
  10466. (DECL_SOURCE_LOCATION): New macro.
  10467. (DECL_SOURCE_FILE): Use.
  10468. (DECL_SOURCE_LINE): Likewise.
  10469. (struct tree_decl): REplace filename and linenum with locus.
  10470. * Makefile.in (TREE_H): add location.h
  10471. (diagnostic.o): Depends on gt-location.h
  10472. (gt-location.h): Depends on s-gtype
  10473. 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
  10474. * config/rs6000/aix.h: Convert CPP_PREDEFINES to
  10475. TARGET_OS_CPP_BUILTINS.
  10476. * config/rs6000/aix31.h: Likewise.
  10477. * config/rs6000/aix41.h: Likewise.
  10478. * config/rs6000/aix43.h: Likewise.
  10479. * config/rs6000/aix51.h: Likewise.
  10480. * config/rs6000/beos.h: Likewise.
  10481. * config/rs6000/darwin.h: Likewise.
  10482. * config/rs6000/eabi.h: Likewise.
  10483. * config/rs6000/eabisim.h: Likewise.
  10484. * config/rs6000/linux.h: Likewise.
  10485. * config/rs6000/linux64.h: Likewise.
  10486. * config/rs6000/lynx.h: Likewise.
  10487. * config/rs6000/mach.h: Likewise.
  10488. * config/rs6000/rtems.h: Likewise.
  10489. * config/rs6000/sysv4.h: Likewise.
  10490. * config/rs6000/vxppc.h: Likewise.
  10491. 2002-07-09 Devang Patel <dpatel@apple.com>
  10492. * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
  10493. Do not allow ObjC objects as a parameter type for Objective-C methods.
  10494. My previous patch restricted 'struct' also.
  10495. 2002-07-09 Neil Booth <neil@daikokuya.co.uk>
  10496. * cpperror.c (cpp_error): Default to directive_line within
  10497. directives here.
  10498. * cppexp.c (cpp_interpret_integer): Only use traditional
  10499. number semantics in directives.
  10500. * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
  10501. (do_include_common): Similarly.
  10502. * cpptrad.c (scan_out_logical_line): Implement accurate
  10503. quoting of <> in #include.
  10504. * doc/cpp.texi: Update.
  10505. Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
  10506. J"orn Rennecke <joern.rennecke@superh.com>
  10507. * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
  10508. * sh.md (attribute issues): Replace with:
  10509. (attribute pipe_model). All users changed.
  10510. (attribute type): Change pt / ptabs to pt_media / ptabs_media.
  10511. All users changed.
  10512. (function units sh5issue, sh5fds): New.
  10513. (attribute is_mac_media): New.
  10514. (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
  10515. (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
  10516. (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
  10517. (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
  10518. (call_media, call_value_media, sibcall_media): Likewise.
  10519. (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
  10520. (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
  10521. (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
  10522. (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
  10523. (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
  10524. (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
  10525. (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
  10526. (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
  10527. (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
  10528. (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
  10529. (truncdfsf2_media): Likewise.
  10530. (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
  10531. (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
  10532. Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10533. * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
  10534. * sh.c (general_extend_operand, inqhi_operand): New functions.
  10535. * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
  10536. alternatives using 'N' modifier. Add type.
  10537. (adddi3z_media): Likewise. Enable generator function generation.
  10538. (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
  10539. exact predicates / constraints. Add type.
  10540. (subsi3): Allow 0 for SHMEDIA.
  10541. (udivsi3_i4_media): Use match_operand for input values
  10542. rather than hard registers.
  10543. (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
  10544. unnecessarily through hard registers. Keep copies of pseudo
  10545. registers outside of the libcall sequence.
  10546. (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
  10547. (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
  10548. (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
  10549. (extendhidi2, extendqidi2): Likewise.
  10550. (andsi3_compact): Name.
  10551. (andcdi3): Enable generator function generation.
  10552. (zero_extendhisi2, zero_extendqisi2): Rename to
  10553. (zero_extendhisi2_compact, zero_extendqisi2_compact).
  10554. (extendhisi2, extendqisi2): Rename to
  10555. (extendhisi2_compact, extendqisi2_compact).
  10556. (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
  10557. (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
  10558. (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
  10559. (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
  10560. (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
  10561. (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
  10562. (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
  10563. (shmedia32_initialize_trampoline_big): Likewise.
  10564. (shmedia32_initialize_trampoline_little): Likewise.
  10565. (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
  10566. (negdi2): Remove spurious T clobber.
  10567. (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
  10568. (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
  10569. (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
  10570. (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
  10571. (ic_invalidate_line_media): Write back data cache before invalidating
  10572. instruction cache. Add type.
  10573. (movsf_media): Sign-extend when the destination is a general
  10574. purpose register. Add type.
  10575. (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
  10576. (casesi_worker_0+1): Only increment ref count for proper label.
  10577. (casesi_worker_0+2): Likewise.
  10578. 2002-07-09 Mark Mitchell <mark@codesourcery.com>
  10579. * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
  10580. 2002-07-09 Steve Ellcey <sje@cup.hp.com>
  10581. * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
  10582. from Pmode to ptr_mode.
  10583. (get_exception_pointer): Ditto.
  10584. (connect_post_landing_pads): Ditto.
  10585. (dw2_build_landing_pads): Ditto.
  10586. 2002-07-08 Steve Ellcey <sje@cup.hp.com>
  10587. * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
  10588. * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
  10589. (handle_pragma_redefine_extname): Change to use new function.
  10590. 2002-07-08 Roger Sayle <roger@eyesopen.com>
  10591. * combine.c (combine_simplify_rtx): Add an explicit cast
  10592. to avoid signed/unsigned comparison warning.
  10593. (simplify_if_then_else): Likewise.
  10594. (extended_count): Likewise.
  10595. (simplify_shift_const): Likewise.
  10596. (simplify_comparison): Likewise.
  10597. 2002-07-08 Richard Sandiford <rsandifo@redhat.com>
  10598. * config/mips/mips.md: Add imadd type. Update scheduler description
  10599. to use imadd as well as imul.
  10600. (*mul_acc_si, *madsi): Change imul alternatives to imadd.
  10601. (*mul_acc_di, *mul_acc_64bit_di): Likewise.
  10602. (*mul_sub_si): Likewise for first alternative. Change second
  10603. alternative from imul to multi.
  10604. 2002-07-07 Neil Booth <neil@daikokuya.co.uk>
  10605. * c-common.c (c_common_post_options): Update prototype;
  10606. don't init backends if preprocessing only.
  10607. * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
  10608. * langhooks.h (struct lang_hooks): Update post_options to
  10609. return a boolean.
  10610. * toplev.c (parse_options_and_default_flags, do_compile,
  10611. lang_independent_init): Update prototypes. Allow the
  10612. front end to specify that there is no need to initialize
  10613. the back end.
  10614. (general_init): Move call to hex_init here...
  10615. (toplev_main): ...from here. Pass flag for back end init
  10616. suppression.
  10617. Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10618. * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
  10619. (PREDICATE_CODES): Add entries for equality_comparison_operator,
  10620. greater_comparison_operator and less_comparison_operator.
  10621. * sh.c (print_operand): Add '\'' code. Make 'o' handle
  10622. more operators.
  10623. (equality_comparison_operator): New function.
  10624. (greater_comparison_operator, less_comparison_operator): Likewise.
  10625. * sh.md (beq_media_i): Disable generator function generation.
  10626. Use match_operator to handle a whole class of comparisons. Add
  10627. modifier in output template to provide branch prediction. Add type.
  10628. (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
  10629. (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
  10630. (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
  10631. (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
  10632. 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
  10633. Emit MMIX function prologue and epilogue as rtl.
  10634. * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
  10635. not unprototyped get_hard_reg_initial_val.
  10636. ("call_value", "nonlocal_goto_receiver"): Ditto.
  10637. ("return"): Make define_expand. Move real insn to...
  10638. ("*expanded_return"): New pattern.
  10639. ("prologue", "epilogue"): New define_expands.
  10640. * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
  10641. (struct machine_function): New member in_prologue.
  10642. (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
  10643. (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
  10644. (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
  10645. (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
  10646. (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
  10647. (LOCAL_REGNO): Define. Adjust comment.
  10648. * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
  10649. Consider regs_ever_live[MMIX_rJ_REGNUM], not just
  10650. leaf_function_p.
  10651. (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
  10652. the prologue.
  10653. (mmix_target_asm_function_prologue): Make static. Just mark that
  10654. the prologue is being emitted. Move guts to...
  10655. (mmix_expand_prologue): New function. Adjust for emitting
  10656. prologue as rtl. For sizes, use HOST_WIDE_INT only.
  10657. (mmix_target_asm_function_epilogue): Make static. Simply emit a
  10658. \n. Move guts to...
  10659. (mmix_expand_epilogue): New function. Adjust for emitting
  10660. epilogue as rtl. For sizes, use HOST_WIDE_INT only.
  10661. (mmix_target_asm_function_end_prologue): Mark that the prologue
  10662. has ended.
  10663. (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
  10664. (mmix_conditional_register_usage): Improve comments.
  10665. (mmix_local_regno): New function.
  10666. (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
  10667. * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
  10668. (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
  10669. (mmix_get_hard_reg_initial_val): Ditto.
  10670. 2002-07-06 Andreas Jaeger <aj@suse.de>
  10671. * toplev.c (set_fast_math_flags): Don't use ISO C style function
  10672. definitions.
  10673. * gengtype.c (open_base_files): Likewise.
  10674. (close_output_files): Likewise.
  10675. * tracer.c (find_best_predecessor): Likewise.
  10676. (find_best_successor): Likewise.
  10677. (ignore_bb_p): Likewise.
  10678. 2002-07-05 Roger Sayle <roger@eyesopen.com>
  10679. PR c++/7099
  10680. * builtin-attrs.def: Define new attribute lists for use in
  10681. builtins.def.
  10682. * builtins.def [DEF_BUILTIN]: Modify to take an additional
  10683. ATTRS argument, an enumerated value defined in builtin-attrs.def
  10684. that represents the attribute list for the builtins. Modify
  10685. all builtin functions to pass an appropriate attribute list.
  10686. Specify "abort", "exit", "_exit" and "_Exit" builtins here with
  10687. their required noreturn attributes.
  10688. * tree.h (enum_builtin_function): Ignore the additional parameter
  10689. to DEF_BUILTIN.
  10690. * builtins.c (built_in_names): Likewise.
  10691. * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
  10692. argument with a tree representing the functions attribute list.
  10693. Pass this "attrs" argument to builtin_function. No longer handle
  10694. the noreturn_p processing manually.
  10695. (built_in_attributes): Move the definitions from builtin-attrs.def
  10696. before c_common_nodes_and_builtins.
  10697. (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
  10698. DEF_BUILTIN, passing it to both builtin_function and the changed
  10699. builtin_function_2.
  10700. * doc/extend.texi: Document __builtin_abort, __builtin_exit,
  10701. __builtin__exit and __builtin__Exit.
  10702. 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
  10703. * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
  10704. QI mode registers in soft registers.
  10705. ("zero_extendqihi2"): Do not take into account soft registers
  10706. for register allocation (use '*' constraint).
  10707. 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
  10708. * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
  10709. it is dead.
  10710. ("*ashrsi3"): Likewise.
  10711. ("*lshrsi3"): Likewise.
  10712. 2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
  10713. * genautomata.c (output_max_insn_queue_index_def): Take latencies
  10714. into account.
  10715. 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
  10716. * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
  10717. address computation and memory moves.
  10718. 2002-07-03 Mark Mitchell <mark@codesourcery.com>
  10719. PR c++/6706
  10720. * dwarfout.c (output_reg_number): Fix warning message.
  10721. (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
  10722. before using it.
  10723. 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  10724. * gcc/gcc.c (asm_debug): Move initialization ...
  10725. (init_spec): ... here.
  10726. 2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
  10727. * c-parse.in (extdef): Append ';'.
  10728. (old_style_parm_decls): Append ';'.
  10729. 2002-07-04 Daniel Jacobowitz <drow@mvista.com>
  10730. * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
  10731. gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
  10732. to gcc_cv_as_gstabs_flag.
  10733. * configure: Rebuilt.
  10734. 2002-07-04 Geoffrey Keating <geoffk@redhat.com>
  10735. * ggc.h (ggc_add_root): Document as obsolete.
  10736. Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10737. * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
  10738. (mshflo_w): Likewise.
  10739. Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10740. * simplify-rtx.c (simplify_subreg): Reduce problem of finding
  10741. vector mode subregs of constants to finding integer mode
  10742. subregs of constants.
  10743. * cse.c (cse_insn): Use simplify_gen_subreg.
  10744. * convert.c (convert_to_integer): Don't strip a NOP_EXPR
  10745. From a vector mode expression of different size than the
  10746. target mode.
  10747. 2002-07-03 Eric Christopher <echristo@redhat.com>
  10748. * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
  10749. * config/mips/mips.h: Remove deprecated -m<processor> options
  10750. and cc1_cpu_spec associated.
  10751. (CONSTANT_ADDRESS_P): Fix last patch.
  10752. (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
  10753. * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
  10754. sunge_sf): Remove.
  10755. 2002-07-03 Stan Shebs <shebs@apple.com>
  10756. * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
  10757. (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
  10758. (CPP_SPEC): Remove insertion of APPLE_CC definition.
  10759. 2002-07-03 Roger Sayle <roger@eyesopen.com>
  10760. * combine.c (struct_undo): Change types of recorded substitutions
  10761. to be either "int" or "rtx", instead of "unsigned int" and "rtx".
  10762. (do_SUBST_INT): Change types of the substitution from unsigned int
  10763. to int, to avoid compilation warning from SUBST_INT's only caller.
  10764. (make_extraction): Add cast to avoid compilation warning.
  10765. (force_to_mode): Remove cast to avoid compilation warning.
  10766. 2002-07-03 Eric Botcazou <ebotcazou@multimania.com>
  10767. Jeff Law <law@redhat.com>
  10768. * i386.md (length_immediate attribute): Fix typo.
  10769. (length_address attribute): Likewise.
  10770. (modrm attribute): Set it to 0 for immediate call instructions.
  10771. (jcc_1 pattern): Set modrm attribute to 0.
  10772. (jcc_2 pattern ): Likewise.
  10773. (jump pattern): Likewise.
  10774. (doloop_end_internal pattern): Explicitly set length.
  10775. (leave pattern): Fix typo.
  10776. (leave_rex64 pattern): Likewise.
  10777. 2002-07-03 David Edelsohn <edelsohn@gnu.org>
  10778. * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
  10779. in FPR as preference.
  10780. (fctiwz): Same.
  10781. (floatdidf2, fix_truncdfdi2): Same.
  10782. (floatdisf2, floatditf2, fix_trunctfdi2): Same.
  10783. (floatditf2): Same.
  10784. (floatsitf2, fix_trunctfsi2): SImode in GPR.
  10785. (ctrdi): Remove FPR alternative and splitter.
  10786. 2002-07-03 Will Cohen <wcohen@redhat.com>
  10787. * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
  10788. Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10789. * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
  10790. than UNITS_PER_WORD, unless this is little endian and the first unit
  10791. in this word. Let extract_bit_field decide how to load an element.
  10792. Force arguments to matching mode.
  10793. (expand_vector_unop): Likewise.
  10794. * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
  10795. consist of word_mode elements.
  10796. * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
  10797. BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
  10798. (build_unary_op): Allow vector types for BIT_NOT_EPR.
  10799. * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
  10800. CONST_VECTOR.
  10801. * optabs.c (expand_vector_binop): Try to perform operation in
  10802. smaller vector modes with same inner size. Add handling of AND, IOR
  10803. and XOR. Reject expansion to inner-mode sized scalars when using
  10804. OPTAB_DIRECT. Use simplify_gen_subreg on constants.
  10805. (expand_vector_unop): Try to perform operation in smaller vector
  10806. modes with same inner size. Add handling of one's complement.
  10807. When there is no vector negate operation, try a vector subtract
  10808. operation. Use simplify_gen_subreg on constants.
  10809. * simplify-rtx.c (simplify_subreg): Add capability to convert vector
  10810. constants into smaller vectors with same inner mode, and to
  10811. integer CONST_DOUBLEs.
  10812. 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  10813. * c-parse.in (parsing_iso_function_signature): New variable.
  10814. (extdef_1): New, copied from...
  10815. (extdef): ... here. Reset parsing_iso_function_signature.
  10816. (old_style_parm_decls): Reset parsing_iso_function_signature.
  10817. (old_style_parm_decls_1): New, copied from old_style_parm_decls.
  10818. Warn about ISO C style function definitions.
  10819. (nested_function, notype_nested_function): Reset
  10820. parsing_iso_function_signature.
  10821. (parmlist_2): Set parsing_iso_function_signature.
  10822. * doc/invoke.texi (-Wtraditional): Document new behavior.
  10823. 2002-07-02 Chris Demetriou <cgd@broadcom.com>
  10824. * config.gcc (mips*el-*-*): Use tm_defines to set
  10825. TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
  10826. * config/mips/little.h: Remove.
  10827. 2002-07-02 Devang Patel <dpatel@apple.com>
  10828. * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
  10829. object as parameter. Prevent something like 'NSObject' to be
  10830. used as the type for a method argument.
  10831. 2002-07-03 Neil Booth <neil@daikokuya.co.uk>
  10832. * cpptrad.c: Update comment.
  10833. 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
  10834. * doc/cpp.texi: Update for traditional preprocessing changes.
  10835. * goc/cppopts.texi: Similarly.
  10836. 2002-07-02 Ziemowit Laski <zlaski@apple.com>
  10837. * c-parse.in (designator): Enable designated initializers if ObjC.
  10838. (objcmessageexpr): Remove references to objc_receiver_context.
  10839. * objc/objc-act.h (objc_receiver_context): Remove decl.
  10840. * objc/objc-act.c (objc_receiver_context): Remove.
  10841. (lookup_objc_ivar): Test objc_method_context instead of
  10842. objc_receiver_context.
  10843. Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10844. * sh.c (print_operand, case 'N'): Allow zero vector.
  10845. (arith_reg_or_0_operand): Likewise.
  10846. (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
  10847. * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
  10848. IOR, XOR, PLUS and SET and take their respective constant
  10849. ranges into account.
  10850. (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
  10851. * sh.md (subdi3, subdi3_media): Allow zero operand.
  10852. (movv8qi_i+3): Only vector that is not split is the zero vector.
  10853. Fix operand 3 to simplify_subreg.
  10854. (movv2si_i): Split alternative 1.
  10855. (mshfhi_l_di_rev+1): New splitter.
  10856. 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
  10857. PR preprocessor/7029
  10858. * cppinit.c (cpp_handle_option): Suppress warnings with an
  10859. implicit "-w" for "-M" and "-MM".
  10860. * doc/cppopts.texi: Update.
  10861. 2002-07-01 Roger Sayle <roger@eyesopen.com>
  10862. * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
  10863. identifier "bzero" to "memset". Pass extra NULL_TREE argument to
  10864. builtin_function.
  10865. 2002-07-02 Alan Modra <amodra@bigpond.net.au>
  10866. * README.Portability: Fix typos.
  10867. 2002-07-01 Hans-Peter Nilsson <hp@axis.com>
  10868. PR target/7177
  10869. * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
  10870. of indirections for register inside sign-extended mem part.
  10871. 2002-07-01 Roger Sayle <roger@eyesopen.com>
  10872. * tree.h: Modify builtin_function interface to take an extra
  10873. argument ATTRS, which is a tree representing an attribute list.
  10874. * c-decl.c (builtin_function): Accept additional parameter.
  10875. * objc/objc-act.c (builtin_function): Likewise.
  10876. * f/com.c (builtin_function): Likewise.
  10877. * java/decl.c (builtin_function): Likewise.
  10878. * ada/utils.c (builtin_function): Likewise.
  10879. * cp/decl.c (builtin_function): Likewise.
  10880. (builtin_function_1): Likewise.
  10881. * c-common.c (c_common_nodes_and_builtins): Pass an additional
  10882. NULL_TREE argument to builtin_function. (builtin_function_2):
  10883. Likewise.
  10884. * cp/call.c (build_java_interface_fn_ref): Likewise.
  10885. * objc/objc-act.c (synth_module_prologue): Likewise.
  10886. * java/decl.c (java_init_decl_processing): Likewise.
  10887. * f/com.c (ffe_com_init_0): Likewise.
  10888. * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
  10889. NULL_TREE argument to builtin_function.
  10890. * config/arm/arm.c (def_builtin): Likewise.
  10891. * config/c4x/c4x.c (c4x_init_builtins): Likewise.
  10892. * config/i386/i386.c (def_builtin): Likewise.
  10893. * config/ia64/ia64.c (def_builtin): Likewise.
  10894. * config/rs6000/rs6000.c (def_builtin): Likewise.
  10895. 2002-07-01 Zack Weinberg <zack@codesourcery.com>
  10896. * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
  10897. * config/mips/t-isa3264: Likewise.
  10898. * config/mmix/t-mmix: Likewise.
  10899. 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
  10900. * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
  10901. 2002-07-01 Roger Sayle <roger@eyesopen.com>
  10902. PR opt/4046
  10903. * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
  10904. A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
  10905. B are truth values.
  10906. 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
  10907. * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
  10908. 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
  10909. * README.Portability (Function prototypes): Give an example of
  10910. declaring and defining a function with no arguments.
  10911. * README.Portability (Function prototypes): Document new
  10912. variable-argument function macros.
  10913. Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
  10914. * sh.c (langhooks.h): Include.
  10915. (sh_init_builtins, sh_media_init_builtins): New functions.
  10916. (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
  10917. (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
  10918. (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
  10919. (builtin_description): New struct tag.
  10920. (signature_args, bdesc): New arrays.
  10921. (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
  10922. (print_operand): Add 'N' modifier.
  10923. * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
  10924. (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
  10925. (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
  10926. (CONST_COSTS): Add special case for SHmedia AND.
  10927. (PREDICATE_CODES): Add and_operand, arith_reg_dest,
  10928. extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
  10929. sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
  10930. target_operand can also be const or unspec.
  10931. * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
  10932. (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
  10933. (attribute type): Add new types.
  10934. (anddi3): Add splitter.
  10935. (movdi_const_16bit+1): Add code to handle vector constants and
  10936. bitmasks efficiently.
  10937. (shori_media): Have generator function made.
  10938. (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
  10939. (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
  10940. (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
  10941. (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
  10942. (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
  10943. (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
  10944. (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
  10945. (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
  10946. (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
  10947. (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
  10948. (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
  10949. (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
  10950. (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
  10951. (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
  10952. (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
  10953. (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
  10954. (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
  10955. (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
  10956. (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
  10957. (ftrv): Likewise.
  10958. (fpu_switch+1, fpu_switch+2): Remove constraint.
  10959. 2002-07-01 Aldy Hernandez <aldyh@redhat.com>
  10960. * tree.c (build_function_type_list): Update function comment.
  10961. Rename first argument to return_type.
  10962. 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
  10963. * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
  10964. tradcif.y and related files.
  10965. 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
  10966. * cpptrad.c (skip_whitespace): Pass pointer to prior char.
  10967. 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  10968. * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
  10969. 2002-06-30 Devang Patel <dpatel@apple.com>
  10970. * objc/objc-act.c (finish_file): Avoid finish_objc() if
  10971. -fsyntax-only.
  10972. Fri Jun 28 17:22:37 2002 Denis Chertykov <denisc@overta.ru>
  10973. Frank Ch. Eigler <fche@redhat.com>
  10974. Matthew Green <mrg@redhat.com>
  10975. Richard Henderson <rtl@redhat.com>
  10976. Dave Hudson <dave.hudson@ubicom.com>
  10977. Jeff Johnston <jjohnstn@redhat.com>
  10978. Alan Lehotsky <apl@alum.mit.edu>
  10979. Bernd Schmidt <bernds@redhat.com>
  10980. Graham Stott <grahams@redhat.com>
  10981. * doc/extend.texi: Add ip2k port to description of attribute
  10982. naked.
  10983. * doc/install.texi (Specific): Add ip2k description.
  10984. * doc/install-old.texi (Configurations): Add ip2k to possible
  10985. cpu types.
  10986. * doc/md.texi: Document ip2k constraints.
  10987. * config/ip2k/crt0.S: New file.
  10988. * config/ip2k/ip2k-protos.h: New file.
  10989. * config/ip2k/ip2k.c: New file.
  10990. * config/ip2k/ip2k.h: New file.
  10991. * config/ip2k/ip2k.md: New file.
  10992. * config/ip2k/libgcc.S: New file.
  10993. * config/ip2k/t-ip2k: New file.
  10994. 2002-06-30 Hans-Peter Nilsson <hp@bitrange.com>
  10995. * config/mmix/mmix.md ("return"): New pattern.
  10996. * config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN)
  10997. (TARGET_USE_RETURN_INSN): New macros.
  10998. (TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN.
  10999. (TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit.
  11000. * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing.
  11001. (MMIX_POP_ARGUMENT): New macro.
  11002. (mmix_target_asm_function_prologue): When no epilogue is executed,
  11003. just emit a blank line. Use MMIX_POP_ARGUMENT with final POP insn.
  11004. (mmix_print_operand) <case '.'>: New case.
  11005. (mmix_print_operand_punct_valid_p): Match '.'.
  11006. (mmix_use_simple_return): New function.
  11007. * config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype.
  11008. * doc/invoke.texi (Option Summary) <MMIX Summary>: Add
  11009. -msingle-exit, -mno-single-exit.
  11010. (MMIX Options): Ditto.
  11011. 2002-06-30 Aldy Hernandez <aldyh@redhat.com>
  11012. * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos.
  11013. 2002-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11014. * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
  11015. 2002-06-30 Alan Modra <amodra@bigpond.net.au>
  11016. * unroll.c (loop_iterations): Handle EQ loops.
  11017. 2002-06-29 David Edelsohn <edelsohn@gnu.org>
  11018. * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
  11019. constraint in define_expand, not splitter.
  11020. Formatting.
  11021. 2002-06-29 Aldy Hernandez <aldyh@redhat.com>
  11022. * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
  11023. build_function_type_list instead of build_function_type.
  11024. * config/ia64/ia64.c (ia64_init_builtins): Same.
  11025. * config/alpha/alpha.c (alpha_init_builtins): Same.
  11026. * config/rs6000/rs6000.c (altivec_init_builtins): Same.
  11027. * config/arm/arm.c (arm_init_builtins): Same.
  11028. * tree.h: Add build_function_type_list prototype.
  11029. * tree.c (build_function_type_list): New.
  11030. 2002-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11031. * collect2.c (scan_prog_file): Fix typo in message.
  11032. 2002-06-28 Aaron Lehmann <aaronl@vitelus.com>
  11033. * fold-cont.c: Remove unused CHARMASK.
  11034. 2002-06-29 Neil Booth <neil@daikokuya.co.uk>
  11035. PR preprocessor/7150
  11036. * cppmain.c (scan_translation_unit_trad): Simplify.
  11037. * cppmacro.c (cpp_scan_nooutput): Handle traditional case.
  11038. 2002-06-29 Neil Booth <neil@daikokuya.demon.co.uk>
  11039. * config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
  11040. Don't use CPP_PREDEFINES.
  11041. * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New.
  11042. Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES.
  11043. * config/i386/djgpp.h, config/i386/i386-coff.h,
  11044. config/i386/i386-interix.h, config/i386/i386-interix3.h,
  11045. config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
  11046. config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h,
  11047. config/i386/uwin.h: Similarly.
  11048. 2002-06-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
  11049. * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and
  11050. flag_inline_trees to enable inlining.
  11051. 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
  11052. * configure.in (gcc_gxx_include_dir): Change to match versioned
  11053. C++ headers if --enable-version-specific-runtime-libs is used.
  11054. * configure: Regenerate.
  11055. 2002-06-28 Jan Hubicka <jh@suse.cz>
  11056. * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
  11057. 2002-06-28 Stephen Clarke <stephen.clarke@superh.com>
  11058. * combine.c (combine_simplify_rtx): Pass the mode of the
  11059. shift count, not the shift operation when trying to simplify
  11060. a shift on a SHIFT_COUNT_TRUNCATED target.
  11061. 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
  11062. * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
  11063. avoid the auto increment addressing modes.
  11064. ("*subsi3"): Likewise.
  11065. (split for add/sub on address): For 68HC12 push the value on
  11066. the stack and do the operation with a pop.
  11067. 2002-06-28 Neil Booth <neil@daikokuya.co.uk>
  11068. * cpplib.c (_cpp_handle_directive): Move #define-specific
  11069. code to the #define handler...
  11070. (do_define): ...here.
  11071. (lex_macro_node): No longer a need to check for comments here.
  11072. 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
  11073. * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
  11074. * config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
  11075. Declare.
  11076. * config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
  11077. do not reorder basic blocks at the end when optimizing for size.
  11078. 2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
  11079. * config/m68hc11/m68hc11.c (autoinc_mode): New function.
  11080. (m68hc11_make_autoinc_notes): New function.
  11081. (m68hc11_split_move): Be very cautious when spliting a move with
  11082. auto increment/decrement modes because this may result in incompatible
  11083. directions; add REG_INC notes to the resulting insn for CSE reg.
  11084. 2002-06-28 Stephane Carrez <Stephane.Carrez@nerim.fr>
  11085. * config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
  11086. can be a valid address.
  11087. 2002-06-28 Aldy Hernandez <aldyh@redhat.com>
  11088. * config/rs6000/rs6000.c: Remove unusued variables from last
  11089. patch.
  11090. 2002-06-27 Aldy Hernandez <aldyh@redhat.com>
  11091. Revert:
  11092. * config/rs6000/rs6000.c (rs6000_override_options): Move
  11093. *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
  11094. 2002-06-27 Aldy Hernandez <aldyh@redhat.com>
  11095. * config/rs6000/rs6000.c (altivec_expand_builtin): Move
  11096. lvx/stv/dst builtins...
  11097. (altivec_expand_ld_builtin): ...to here.
  11098. (altivec_expand_st_builtin): ...here.
  11099. (altivec_expand_dst_builtin): ...and here (respectively).
  11100. 2002-06-28 Bob Wilson <bob.wilson@acm.org>
  11101. * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
  11102. 2002-06-08 Bernd Schmidt <bernds@redhat.com>
  11103. * emit-rtl.c (gen_lowpart_common): Don't create paradoxical FLOAT_MODE
  11104. subregs.
  11105. * recog.c (general_operand, register_operand): Disallow them.
  11106. 2002-06-28 Neil Booth <neil@daikokuya.co.uk>
  11107. PR preprocessor/7138
  11108. * cpplib.c (_cpp_handle_directive): Do traditional
  11109. preparation after setting state.angled_headers.
  11110. * cpptrad.c (scan_out_logical_line): Fix potential
  11111. quote bug.
  11112. 2002-06-27 Aldy Hernandez <aldyh@redhat.com>
  11113. * config/rs6000/rs6000.c (rs6000_override_options): Move
  11114. *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
  11115. 2002-06-27 Bob Wilson <bob.wilson@acm.org>
  11116. * config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
  11117. (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start,
  11118. zero_cost_loop_end): Remove unnecessary "parallel" from insns.
  11119. 2002-06-27 Roger Sayle <roger@eyesopen.com>
  11120. * config/d30v/d30v.h: Remove commented out STACK_REGS #defines.
  11121. * config/stormy16/stormy16.h: Likewise.
  11122. * config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef
  11123. with #define.
  11124. 2002-06-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  11125. * doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move
  11126. Hitachi entry. Make punctuation more consistent.
  11127. 2002-06-27 Matt Kraai <kraai@alumni.cmu.edu>
  11128. * doc/install.texi: Change ` bit' to `-bit'.
  11129. * doc/md.texi: Change `-bits' to `-bit'.
  11130. * doc/tm.texi: Change `-bits' to ` bits'.
  11131. 2002-06-27 Daniel Berlin <dberlin@dberlin.org>
  11132. * gcse.c (hoist_code): Rewrite to only get list of dominated
  11133. blocks once per BB. Also fix reversed test (by removing need for
  11134. the test at all).
  11135. 2002-06-27 Neil Booth <neil@daikokuya.co.uk>
  11136. * cpphash.h (_cpp_set_trad_context): Remove.
  11137. * cpplib.c (prepare_directive_trad): Do nothing for #define.
  11138. (cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context.
  11139. * cpptrad.c: Update comments.
  11140. (_cpp_read_logical_line_trad): Let scan_logical_line handle
  11141. updating the current context.
  11142. (scan_logical_line): Update the current context.
  11143. (_cpp_create_trad_definition): Similarly.
  11144. (_cpp_set_trad_context): Remove.
  11145. 2002-06-27 Neil Booth <neil@daikokuya.co.uk>
  11146. PR preprocessor/7070
  11147. * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
  11148. 2002-06-26 Bob Wilson <bob.wilson@acm.org>
  11149. * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
  11150. config/xtensa/xtensa.c (xtensa_return_addr): New function.
  11151. config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
  11152. config/xtensa/xtensa.md (fix_return_addr): New pattern.
  11153. 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11154. * mips.c (coprocessor_operand, coprocessor2_operand,
  11155. symbolic_operand): Move prototypes from here...
  11156. * mips-protos.h (coprocessor_operand, coprocessor2_operand,
  11157. symbolic_operand): ...to here.
  11158. Wed Jun 26 16:32:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11159. * config/sh/crt1.asm: remove _stack label definition
  11160. and sentinel value.
  11161. 2002-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11162. * varasm.c: Include real.h before output.h.
  11163. 2002-06-26 Aldy Hernandez <aldyh@redhat.com>
  11164. * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to
  11165. check for TARGET_ALTIVEC.
  11166. 2002-06-26 Nathanael Nerode <neroden@gcc.gnu.org>
  11167. * config.gcc (vax-*-vms*): Make obselete.
  11168. 2002-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11169. * gcc.c (warn_std): Delete.
  11170. 2002-06-25 Loren J. Rittle <ljrittle@acm.org>
  11171. * doc/extend.texi: Fix formatting of last checkin.
  11172. 2002-06-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  11173. * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading
  11174. underscore from __IEEE_FP and __IEEE_FP_INEXACT.
  11175. 2002-06-25 Aldy Hernandez <aldyh@redhat.com>
  11176. * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document
  11177. discrepancies from motorola's documentation.
  11178. Tue Jun 25 21:51:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11179. * optabs.c (expand_vector_binop, expand_vector_unop): Don't assume
  11180. GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD.
  11181. * config/sh/lib1funcs.asm (udivdi3): Make first divide step
  11182. produce a 32 bit result before normalization, then normalize with a
  11183. left shift. Compute approximative error of 2nd reciprocal
  11184. approximation in 2's complement. Fix mask generation from upper
  11185. longword of second divide stage result.
  11186. For large divisor, fix shift count used to truncate first stage
  11187. divide result; make decision if to adjust upwards based on comparison
  11188. of higher parts of normalized values.
  11189. (udivdi): Likewise. Undo normalization of result for large divisor
  11190. case.
  11191. 2002-06-25 David S. Miller <davem@redhat.com>
  11192. * config/sparc/sparc.md: Change \\{t,n} to \{t,n}.
  11193. 2002-06-25 Neil Booth <neil@daikokuya.co.uk>
  11194. * cpplib.c (do_include_common): Revert to correct line number
  11195. if -traditional.
  11196. * cpptrad.c (scan_out_logical_line): Treat null directive as
  11197. white space. Invlidate MI optimization for non-whitespace
  11198. text outside a directive.
  11199. 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11200. * Makefile.in (SHELL): Set to @SHELL@.
  11201. * fixinc/Makefile.in (SHELL): Likewise.
  11202. * mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2,
  11203. fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate
  11204. initialization.
  11205. 2002-06-24 Jeff Law <law@redhat.com>
  11206. * flow.c (propagate_one_insn): When removing an insn
  11207. with a REG_LIBCALL note but not the entire libcall sequence,
  11208. delete the associated REG_RETVAL note.
  11209. Mon Jun 24 21:05:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11210. * lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.
  11211. (udivsi3): Likewise. Rewrite SH1 implementation.
  11212. (udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions.
  11213. * sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants.
  11214. (udivsi3_i1_media, divsi3_i1_media): Fix clobber list.
  11215. * config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add.
  11216. (_moddi3): Likewise.
  11217. * lib1funcs.asm (ic_invalidate): Add data cache line writeback.
  11218. * sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
  11219. arguments into account for stack_regs.
  11220. 2002-06-24 Matt Kraai <kraai@alumni.cmu.edu>
  11221. * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'
  11222. in examples.
  11223. 2002-06-24 Art Haas <ahaas@neosoft.com>
  11224. * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'.
  11225. * doc/tm.texi (Frame Layout): Likewise.
  11226. 2002-06-20 Steve Ellcey <sje@cup.hp.com>
  11227. * gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
  11228. Set float_format to i128.
  11229. 2002-06-24 David S. Miller <davem@redhat.com>
  11230. * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the
  11231. 32-bit ABI libfuncs to NULL.
  11232. * config/sparc/sparc.md: Use define_insn_and_split. Use braced
  11233. strings instead of quoted strings for code blocks.
  11234. * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
  11235. optabs if op1 is const0_rtx.
  11236. * Makefile.in (GTFILES): Add basic-block.h
  11237. * basic-block.h (label_value_list, tail_recursion_label_list):
  11238. Mark with GTY.
  11239. 2002-06-24 Neil Booth <neil@daikokuya.co.uk>
  11240. * cpptrad.c (scan_out_logical_line): Check recursing only when
  11241. we know we have a macro invocation in the function-like case.
  11242. Only call _cpp_handle_directive if we know we have a good
  11243. directive, or we want to reject a bad directive.
  11244. 2002-06-24 Alan Modra <amodra@bigpond.net.au>
  11245. * doloop.c (doloop_valid_p): Correct comment.
  11246. (doloop_modify_runtime <abs_inc != 1>): Simplify.
  11247. (doloop_modify_runtime <do-while>): Don't emit code when NE.
  11248. Thu Jun 20 00:26:53 2002 Denis Chertykov <denisc@overta.ru>
  11249. * config.gcc: Add support for ip2k.
  11250. 2002-06-23 Jan Hubicka <jh@suse.cz>
  11251. Jeff Law <law@redhat.com>
  11252. * function.h (struct emit_status): Clarify potential contents
  11253. of regno_reg_rtx array.
  11254. * integrate.c (copy_rtx_and_substitute): Update comments. Make
  11255. sure entry in regno_reg_rtx is a REG before checking REG_POINTER.
  11256. * reg-stack.c (convert_regs_exit): Push the registers to stack in
  11257. proper order.
  11258. 2002-06-22 Ulrich Weigand <uweigand@de.ibm.com>
  11259. PR middle-end/6963
  11260. * function.c (assign_stack_temp_for_type): Do not return
  11261. the same MEM rtx for multiple uses of a stack slot.
  11262. 2002-06-22 David S. Miller <davem@redhat.com>
  11263. PR target/6841 target/6770 target/6719
  11264. * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
  11265. NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
  11266. GENERAL_OR_EXTRA_FP_REGS.
  11267. 2002-06-22 Neil Booth <neil@daikokuya.co.uk>
  11268. * cpptrad.c (struct fun_macro): Add line number.
  11269. (scan_out_logical_line): Set it, and use it to report unterminated
  11270. macro invocations.
  11271. 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11272. * genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND,
  11273. VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD,
  11274. DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE,
  11275. DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT,
  11276. REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF,
  11277. REGEXP_ONEOF, check_name): Const-ify.
  11278. 2002-06-21 Matt Thomas <matt@3am-software.com>
  11279. * config/vax/vax.c (vax_output_function_prologue): Use
  11280. REGISTER_PREFIX. Fix some indentation.
  11281. * config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[].
  11282. (VAX_ISTREAM_SYNC): Define.
  11283. (INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC. Move the
  11284. i-stream sync to the end.
  11285. (REGISTER_PREFIX): Define as "".
  11286. (ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX.
  11287. 2002-06-21 Jason Thorpe <thorpej@wasabisystems.com>
  11288. * config.gcc (ns32k-*-netbsd*): Remove from list of obsolete
  11289. configurations.
  11290. 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11291. * tree.c (tree_node_kind, tree_node_counts, tree_node_sizes,
  11292. tree_node_kind_names): Wrap in GATHER_STATISTICS macro.
  11293. 2002-06-21 Matt Thomas <matt@3am-software.com>
  11294. * config/vax/netbsd.h: Adjust a comment.
  11295. (TARGET_DEFAULT): Redefine as 0.
  11296. 2002-06-21 Richard Henderson <rth@redhat.com>
  11297. * bb-reorder.c (make_reorder_chain_1): Search harder for the
  11298. vax casesi fallthru edge.
  11299. * cfglayout.c (cleanup_unconditional_jumps): Use
  11300. redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead.
  11301. * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
  11302. block after ADDR_VEC.
  11303. 2002-06-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  11304. * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
  11305. 2002-06-21 Neil Booth <neil@daikokuya.co.uk>
  11306. * cpperror.c (cpp_error): For traditional CPP, default to
  11307. diagnostics on pfile->line.
  11308. * cpplib.c (prepare_directive_trad): Set line number for
  11309. diagnostics for #define too.
  11310. * cpptrad.c (skip_whitespace): Skip comments properly.
  11311. (_cpp_expansions_different_trad): Initialize quote2.
  11312. 2002-06-21 Hans-Peter Nilsson <hp@bitrange.com>
  11313. * config/mmix/mmix.md: Change GNU CC to GCC in file header comment.
  11314. * config/mmix/mmix.h: Ditto.
  11315. * config/mmix/mmix-protos.h: Ditto.
  11316. * config/mmix/mmix.c: Ditto. Fix typo in comment.
  11317. * config/mmix/mmix-modes.def: Change GNU CC to GCC in file header
  11318. comment. Comment extra CC modes.
  11319. 2002-06-20 Jan Hubicka <jh@suse.cz>
  11320. * cfglayout.c (scope_to_insns_initialize): Call set_block_levels.
  11321. (scope_to_insns_finalize): Do not call set_block_levels; handle
  11322. sequences.
  11323. (choose_inner_scope): New.
  11324. * rtl.h (choose_inner_scope): Declare.
  11325. 2002-06-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
  11326. * pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
  11327. HOST_WIDE_INT.
  11328. * pa.c (pa_asm_output_mi_thunk): Likewise.
  11329. (n_deferred_plabels): Change type to size_t.
  11330. (output_deferred_plabels, output_call): Use size_t instead of int.
  11331. 2002-06-20 Richard Henderson <rth@redhat.com>
  11332. PR target/4041
  11333. * config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate
  11334. pattern and adjust constraints for coldfire.
  11335. 2002-06-20 Richard Henderson <rth@redhat.com>
  11336. * explow.c (probe_stack_range): Use gen_rtx_fmt_ee.
  11337. 2002-06-20 Chris Demetriou <cgd@broadcom.com>
  11338. * config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets.
  11339. 2002-06-20 Chris Demetriou <cgd@broadcom.com>
  11340. * config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use.
  11341. 2002-06-20 Stan Shebs <shebs@apple.com>
  11342. * dominance.c: Include errors.h instead of error.h.
  11343. 2002-06-20 Neil Booth <neil@daikokuya.co.uk>
  11344. * cppexp.c (cpp_interpret_integer): Don't force traditional
  11345. numbers to be unsigned.
  11346. * cpplib.c (prepare_directive_trad): Set line number for
  11347. diagnostics.
  11348. * cpptrad.c (scan_out_logical_line): Continue scanning out
  11349. at start of buffer.
  11350. * gcc.c (trad_capable_cpp): Use cc1 always.
  11351. 2002-06-20 Jeffrey Law <law@redhat.com>
  11352. * i386.h (TARGET_DEFAULT): Do not turn on frame pointer
  11353. elimination in leaf functions by default yet.
  11354. 2002-06-20 Richard Sandiford <rsandifo@redhat.com>
  11355. * combine.c (make_extraction): Reapply to the argument of an ASHIFT.
  11356. 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  11357. * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
  11358. multilibs.
  11359. * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
  11360. Fixes PR other/6836.
  11361. Thu Jun 20 19:42:21 CEST 2002 Jan Hubicka <jh@suse.cz>
  11362. Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
  11363. Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz>
  11364. * basic-block.h: Do not include et-forest.h
  11365. (dominance_info): Declare as struct dominance-info.
  11366. * cfglayout.c (cleanup_unconditional_jumps): Remove the edge before
  11367. deleting block.
  11368. * dominance.c (struct dominance_info): Define.
  11369. (BB_NODE, SET_BB_NODE): New macros.
  11370. (bb_hash_func, bb_eq_func): Kill.
  11371. (calculate_dominace_info, free_dominacne_info, set_immediate_dominator,
  11372. nearest_common_dominator, dominated_by_p, recount_dominator,
  11373. add_to_dominance_info, delete_from_dominance_info): update for new
  11374. representation.
  11375. (get_dominated_by, redirect_immediate_dominators): Rewrite using
  11376. enumerate_sons.
  11377. * ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap,
  11378. find_if_case_1, find_if_case_2): Remove killed blocks from dominance
  11379. structure.
  11380. * et-forest.h: Update copyright; revamp all function to operate on
  11381. nodes
  11382. (et_forest_value): Kill.
  11383. (et_forest_enumerate_sons, et_forest_node_value): New.
  11384. * et-forest.c: Update copyright.
  11385. * et-forest.h: Update copyright; revamp all function to operate on
  11386. nodes
  11387. (et_forest_value): Kill.
  11388. (et_forest_enumerate_sons, et_forest_node_value): New.
  11389. Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz>
  11390. * basic-block.h: Inlude et-forest.h
  11391. (basic_block_def): Kill dominator.
  11392. (dominance_info): New type.
  11393. (loops): Use dominace_info.
  11394. (dominace handling functions): Take dominace_info as argument
  11395. instead of bitmaps.
  11396. (create_preheader): Likewise.
  11397. * cfg.c (entry_exit_blocks): Kill dominator.
  11398. (dump_flow_info): Do not dump dominators.
  11399. * cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from
  11400. dominators.
  11401. * cfgloop.c (flow_pre_header_find): Use dominacne_info.
  11402. (flow_loops_pre_header_scan, make_forwarder_block,
  11403. canonicale_loop_headers, flow_loops_find): Likewise.
  11404. * dominance.c: Include error.h
  11405. (idoms_to_doms): Kill.
  11406. (bb_hash_func, bb_eq_func): New static functions.
  11407. (debug_dominace_info): New global function.
  11408. (calculate_dominance_info): Use new et forest structure.
  11409. (free_dominace_info, get_immediate_dominator, set_immediate_dominator,
  11410. get_dominated_by, redirect_immediate_dominators,
  11411. nearest_common_dominator, dominated_by_p, verify_dominators,
  11412. recount_dominator, iterate_fix_dominators, add_to_dominace_info,
  11413. delete_from_dominance_info): New global functions.
  11414. * gcse.c (domnators): CHange to dominance_info.
  11415. (alloc_hoist_mem): Do not alloc dominators
  11416. (free_code_hoist_mem): Use free_dominance_info.
  11417. (compute_code_hoist_data): Use dominance_info.
  11418. (hoist_code): Likewise.
  11419. * ifcvt.c (post_dominators): Likewise.
  11420. (find_if_case_2, if_convert): Likewise.
  11421. * predict.c (process_note_predictions, process_note_prediction,
  11422. estimate-probability): Likewise.
  11423. * sched-rgn.c (find_rgns, init_regions): Likewise.
  11424. * ssa-dce.c (find_all_control_dependences, fint_control_depemndence,
  11425. find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise.
  11426. * ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers,
  11427. find_evaluations, convert_to_ssa): Likewise.
  11428. * ssa.h (compute_dominance_frontiers): Likewise.
  11429. Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
  11430. * Makefile.in (et-forest.c): Add.
  11431. * et-forest.c: New file.
  11432. * at-forest.h: New file.
  11433. 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11434. * c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit
  11435. array size calculation.
  11436. * gengtype.c (NUM_BASE_FILES, create_file, write_gc_root):
  11437. Likewise.
  11438. * diagnostic.c (diagnostic_kind_text): Const-ify.
  11439. * gengtype.c (lang_names): Likewise.
  11440. Thu Jun 20 17:25:29 CEST 2002 JAn HUbicka <jh@suse.cz>
  11441. * combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
  11442. 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  11443. * config/sol2.h: New file.
  11444. * config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h.
  11445. (sparc64-wrs-vxworks*): Include it before sparc/sol2.h.
  11446. (sparc-*-chorusos*): Likewise.
  11447. (sparc-*-elf*): Likewise.
  11448. (sparc-*-rtems*, sparc-*-rtemself*): Likewise.
  11449. (sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise.
  11450. (sparc-hal-solaris2*): Likewise.
  11451. (sparc-*-solaris2*): Likewise.
  11452. (sparclite-*-elf*): Likewise.
  11453. (sparc86x-*-elf*): Likewise.
  11454. (sparc64-*-elf*): Likewise.
  11455. * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to
  11456. config/sol2.h.
  11457. (ASM_SPEC): Override config/sol2.h version for now.
  11458. Removed obsolete GAS_REJECTS_MINUS_S variant.
  11459. (WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h.
  11460. (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
  11461. (TARGET_OS_CPP_BUILTINS): Likewise.
  11462. Assert system=unix.
  11463. (CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC.
  11464. (LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to
  11465. config/sol2.h.
  11466. (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
  11467. (ASM_CPU_SPEC): Define.
  11468. (SUBTARGET_EXTRA_SPECS): Define.
  11469. * config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already
  11470. in config/sparc/sol2.h.
  11471. (ASM_SPEC): Moved to config/sol2.h.
  11472. (CPP_CPU_SPEC): Simplified.
  11473. (STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for
  11474. consistency.
  11475. (STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC.
  11476. (STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC,
  11477. STARTFILE_ARCH64_SPEC.
  11478. (STARTFILE_SPEC): Moved to config/sol2.h
  11479. (SUBTARGET_EXTRA_SPECS): Add startfile_arch.
  11480. (LINK_ARCH32_SPEC): Moved to config/sol2.h.
  11481. (LINK_ARCH64_SPEC): Simplified.
  11482. (LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support.
  11483. (LINK_SPEC): Moved to config/sol2.h
  11484. * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to
  11485. config/sol2.h.
  11486. Use BITS_PER_WORD for size.
  11487. (WINT_TYPE, WINT_TYPE_SIZE): Likewise.
  11488. (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
  11489. (CPP_PREDEFINES): Removed OS-specific part handled by
  11490. TARGET_OS_CPP_BUILTINS.
  11491. (CPP_SUBTARGET_SPEC): Moved to config/sol2.h.
  11492. (CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS.
  11493. (ASM_SPEC): Moved to config/sol2.h.
  11494. (PREFERRED_DEBUGGING_TYPE): Likewise.
  11495. (STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise.
  11496. (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
  11497. (TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version.
  11498. (TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h
  11499. * config.gcc (i?86-*-solaris2*): Removed obsolete gas support.
  11500. * config/i386/sol2gas.h: Removed.
  11501. Thu Jun 20 12:14:01 CEST 2002 Jan Hubicka <jh@suse.cz>
  11502. * i386.md (xorqi_1_slp, xorqi_2_slp): New patterns.
  11503. 2002-06-16 Aldy Hernandez <aldyh@redhat.com>
  11504. * gcc.c-torture/execute/simd-1.c: New.
  11505. * gcc.dg/simd-1.c: New.
  11506. * doc/extend.texi (Vector Extensions): Document that we can
  11507. specify simd types not specifically supported by the hardware.
  11508. Document that simd types can be used as function arguments.
  11509. Document that signness does make a difference in SIMD types.
  11510. Misc cleanups and revisions to the vector extensions section.
  11511. * simplify-rtx.c (simplify_subreg): Simplify subregs of vector
  11512. constants.
  11513. * expr.c (vector_mode_valid_p): New.
  11514. * expr.h: Add vector_mode_valid_p.
  11515. * defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.
  11516. * c-common.c (type_for_mode): Always build vector nodes regardless
  11517. of VECTOR_MODE_SUPPORTED_P.
  11518. (handle_mode_attribute): Error if we can't emulate a nonexisting
  11519. vector mode.
  11520. (handle_vector_size_attribute): Same.
  11521. * optabs.c (expand_binop): Open-code vector operations.
  11522. (expand_unop): Open-code vector unops.
  11523. (expand_vector_binop): New.
  11524. (expand_vector_unop): New.
  11525. * c-typeck.c (build_binary_op): Allow vectors in binops.
  11526. Allow vectors in conditional operatiors.
  11527. (build_unary_op): Allow vectors in unary minus.
  11528. * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
  11529. TARGET_ALTIVEC.
  11530. 2002-05-20 Richard Henderson <rth@redhat.com>
  11531. * c-common.c (c_common_get_alias_set): Correctly handle characters.
  11532. Rearrange order of expressions; don't handle vectors here.
  11533. * alias.c (get_alias_set): Let vectors match their components.
  11534. 2002-06-19 Chris Demetriou <cgd@broadcom.com>
  11535. * config/mips/mips.c (mips_emit_prefetch): Use hints which
  11536. match desired locality.
  11537. 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
  11538. * config/h8300/h8300.c (TARGET_INSERT_ATTRIBUTES): Define.
  11539. (h8300_insert_attributes): New.
  11540. 2002-06-19 Akim Demaille <akim@epita.fr>
  11541. * c-parse.in (initelt: identifier ':' initval): Add an empty
  11542. action to fix a type clash.
  11543. (aliasdecl, classdef): Add the missing closing `;'.
  11544. Whitespace changes.
  11545. * gengtype-yacc.y (typedef_struct): Add an empty action to preevnt
  11546. $$ = $1 type clashes.
  11547. 2002-06-19 Eric Christopher <echristo@redhat.com>
  11548. * config/mips/mips.c (symbol_operand): New function.
  11549. (mips_emit_prefetch): Ditto.
  11550. * config/mips/mips-protos.h: Define.
  11551. * config/mips/mips.h (ISA_HAS_PREFETCH): Define.
  11552. (CONSTANT_ADDRESS_P): Adjust, use TARGET_GAS.
  11553. (LEGITIMIZE_ADDRESS): Ditto.
  11554. * config/mips/mips.md (prefetch, prefetch_si_address,
  11555. prefetch_si, prefetch_di_address, prefetch_di): New patterns.
  11556. 2002-06-19 Eric Christopher <echristo@redhat.com>
  11557. * config/fp-bit.h: Add unordered defines for gofast.
  11558. 2002-06-19 Vladimir Makarov <vmakarov@redhat.com>
  11559. * genautomata.c (DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON,
  11560. DECL_EXCL, DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV,
  11561. DECL_INSN_RESERV, REGEXP_UNIT, REGEXP_RESERV, REGEXP_SEQUENCE,
  11562. REGEXP_REPEAT, REGEXP_ALLOF, REGEXP_ONEOF): New macros with
  11563. checking and without it.
  11564. (decl_name, decl_mode_check_failed, regexp_name,
  11565. regexp_mode_check_failed): New functions.
  11566. (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
  11567. gen_presence_set, gen_absence_set, gen_automaton,
  11568. gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof,
  11569. gen_regexp_sequence, gen_reserv, gen_insn_reserv,
  11570. automaton_decl_hash, automaton_decl_eq_p): Use the macros.
  11571. (find_automaton_decl): Ditto. Set up mode of work_automaton_decl.
  11572. (insn_decl_hash, insn_decl_hash, insn_decl_eq_p): Use the macros.
  11573. (find_insn_decl): Ditto. Set up mode of work_insn_decl.
  11574. (decl_hash, decl_eq_p): Use the macros.
  11575. (find_decl): Ditto. Set up mode of work_decl.
  11576. (process_excls, process_presence_absence, process_decls,
  11577. check_automaton_usage, process_regexp, process_regexp_decls,
  11578. check_usage, loop_in_regexp, check_loops_in_regexps,
  11579. process_regexp_cycles, add_advance_cycle_insn_decl,
  11580. initiate_states, initiate_excl_sets,
  11581. initiate_presence_absence_sets, copy_insn_regexp, transform_1,
  11582. transform_2): Use the macros.
  11583. (transform_3): Ditto. Check mode before making transformations of
  11584. ALLOF.
  11585. (regexp_transform_func, transform_insn_regexps,
  11586. process_unit_to_form_the_same_automaton_unit_lists,
  11587. form_the_same_automaton_unit_lists_from_regexp,
  11588. form_the_same_automaton_unit_lists,
  11589. process_seq_for_forming_states, process_alts_for_forming_states,
  11590. create_alt_states, form_ainsn_with_same_reservs, make_automaton,
  11591. form_arcs_marked_by_insn, NDFA_to_DFA, set_new_cycle_flags,
  11592. estimate_one_automaton_bound, compare_max_occ_cycle_nums,
  11593. units_to_automata_heuristic_distr, create_ainsns,
  11594. units_to_automata_distr, create_automata): Use the macros.
  11595. (form_regexp): Ditto. Fix typo in access to fields of ALLOF.
  11596. (longest_path_length, min_issue_delay_pass_states,
  11597. output_dead_lock_vect, output_tables, output_insn_code_cases,
  11598. output_internal_insn_latency_func, output_print_reservation_func,
  11599. output_description, output_automaton_units, generate): Use the
  11600. macros.
  11601. (make_insn_alts_attr): Ditto. Check case when there are not
  11602. alternatives in the reservation.
  11603. (make_internal_dfa_insn_code_attr, make_default_insn_latency_attr,
  11604. make_bypass_attr, form_important_insn_automata_lists,
  11605. expand_automata): Use the macros.
  11606. 2002-06-20 Tim Josling <tej@melbpc.org.au>
  11607. * Makefile.in: Clean up code to check for misspecified languages
  11608. in enable-languages.
  11609. 2002-06-19 Andrew Pinski <pinskia@physics.uc.edu>
  11610. * cpptrad.c (_cpp_replacement_text_len): initialize len.
  11611. 2002-06-19 Jason Merrill <jason@redhat.com>
  11612. * Makefile.in (unstrap, restrap): New targets.
  11613. (bootstrap): Mention restrap.
  11614. 2002-06-19 Matt Kraai <kraai@alumni.cmu.edu>
  11615. * except.c (ehl_free): Remove.
  11616. * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Correct misnamings of
  11617. builtin_define and builtin_define_std.
  11618. 2002-06-19 Ian Dall <ian@sibyl.beware.dropbear.id.au>
  11619. * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's.
  11620. (sCOND): Restrict operand class so that gcc knows how to reload them.
  11621. (bitfield_set): Merge two unnamed insn's using alternatives.
  11622. (call_value): Remove constraint on unused uperand.
  11623. (udivmodhi4, udivmodsi4, udivmoddihi4_internal): Remove.
  11624. (udivmoddiqi4_internal, udivmoddihi4, udivmoddiqi4): Remove.
  11625. * longlong.h (count_trailing_zeros): Escape newline and beautify.
  11626. 2002-06-19 Mark Mitchell <mark@codesourcery.com>
  11627. * Makefile.in (QMTEST_DIR): Simplify definition.
  11628. 2002-06-19 Nick Clifton <nickc@cambridge.redhat.com>
  11629. * config/d30v/d30v.h (CUMULATIVE_ARGS): Replace typedef with
  11630. #define.
  11631. 2002-06-19 Neil Booth <neil@daikokuya.co.uk>
  11632. * cpphash.h (struct cpp_reader): Make date and time strings.
  11633. (_cpp_builtin_macro_text, _cpp_copy_replacement_text,
  11634. _cpp_replacement_text_len): New.
  11635. * cppinit.c (cpp_create_reader): Update.
  11636. (init_builtins): Register appropriate builtins for -traditional-cpp.
  11637. * cppmacro.c (new_number_token): Remove.
  11638. (_cpp_builtin_macro_text): New.
  11639. (builtin_macro): Use it.
  11640. (cpp_macro_definition): Update to handle traditional macros.
  11641. * cppmain.c (cb_line_change): Don't do column positioning for
  11642. traditional output.
  11643. * cpptrad.c (enum ls): Rename ls_fun_macro to ls_fun_open. New
  11644. state ls_fun_close.
  11645. (skip_whitespace): Fix.
  11646. (maybe_start_funlike): Don't set state.parsing_args.
  11647. (scan_out_logical_line): Remove duplicate error. Use lex_state
  11648. rather than state.parsing_args.
  11649. (push_replacement_text): Handle builtins.
  11650. (_cpp_replacement_text_len, _cpp_copy_replacement_text): New.
  11651. 2002-06-18 Hans-Peter Nilsson <hp@axis.com>
  11652. Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  11653. * config/fp-bit.c (_fpmul_parts, _fpdiv_parts): Mark with
  11654. attribute __always_inline__.
  11655. 2002-06-18 Bob Wilson <bob.wilson@acm.org>
  11656. * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
  11657. when generating the call to _mcount.
  11658. (NO_PROFILE_COUNTERS): Define.
  11659. 2002-06-18 Richard Henderson <rth@redhat.com>
  11660. * print-rtl.c (print_rtx): Adjust NOTE argument numbers for
  11661. 2002-06-02 change.
  11662. Tue Jun 18 20:53:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11663. * t-sh (MULTILIB_EXCEPTIONS): Set to ml.
  11664. config/sh/t-linux (MULTILIB_EXCEPTIONS): Clear.
  11665. * config/sh/t-netbsd (MULTILIB_EXCEPTIONS): Likewise.
  11666. * config/sh/t-sh64 (MULTILIB_EXCEPTIONS): Likewise.
  11667. * sh-protos.h (sh_pr_interrupt): Declare.
  11668. * sh.c (sh_pr_interrupt): New function.
  11669. (print_operand, calc_live_regs, sh_expand_prologue): Use it.
  11670. (sh_hard_regno_rename_ok): Likewise.
  11671. * sh.h (NORMAL_MODE): FP_MODE_NONE for interupt handlers.
  11672. 2002-06-18 Vladimir Makarov <vmakarov@redhat.com>
  11673. * rtl.def (DEFINE_AUTOMATON): Add description of new options
  11674. `time' and `v'. Fix incorrect description of option `w'.
  11675. * doc/md.texi: Ditto.
  11676. * genautomata.c (TIME_OPTION, V_OPTION): New macros.
  11677. (gen_automata_option): Process the new options.
  11678. (transform_2, transform_3): Initialize some variables.
  11679. (initiate_automaton_gen): Use the new macros.
  11680. 2002-06-18 Richard Sandiford <rsandifo@redhat.com>
  11681. * config/mips/mips-protos.h (mips_initial_elimination_offset): Declare.
  11682. (mips_set_return_address, mips_restore_gp): Declare.
  11683. * config/mips/mips.h (struct mips_frame_info): Move to mips.c
  11684. (current_frame_info): Remove.
  11685. (INITIAL_ELIMINATION_OFFSET): Use mips_initial_elimination_offset.
  11686. * config/mips/mips.c: Remove uses of current_frame_info.
  11687. (struct mips_frame_info): Moved from mips.h. Remove 'insns_len'.
  11688. (struct machine_function): Add 'frame' and 'insns_len'.
  11689. (current_frame_info, zero_frame_info): Remove.
  11690. (mips_restore_gp, mips_set_return_address): New.
  11691. (mips_initial_elimination_offset): New.
  11692. * config/mips/mips.md (exception_receiver): Use mips_restore_gp.
  11693. (eh_return define_split): Use mips_set_return_address.
  11694. 2002-06-18 Neil Booth <neil@daikokuya.demon.co.uk>
  11695. * cpplib.c (dtable): Update.
  11696. (end_directive): Decrement expansion prevention count.
  11697. Clear state.in_expression.
  11698. (prepare_directive_trad): Set state.in_expression.
  11699. Increment expansion prevention count.
  11700. * cpptrad.c (enum ls): New.
  11701. (_cpp_overlay_buffer): Set overlaid_buffer.
  11702. (_cpp_remove_overlay): Use overlaid_buffer.
  11703. (_cpp_read_logcial_line_trad): Update buffer when it might
  11704. have changed.
  11705. (scan_out_logical_line): Handle state transitions for assertions
  11706. and defined() in #if, and for funlike invocations including the
  11707. directive case. Handle '<' and '>' as a quote mechanism in
  11708. #include. Warn about unterminated macro invocations.
  11709. * cpphash.h (struct lexer_state): New member in_expression.
  11710. (struct cpp_reader): New member overlaid buffer.
  11711. 2002-06-18 Hans-Peter Nilsson <hp@axis.com>
  11712. * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype
  11713. __always_inline__.
  11714. 2002-06-18 Alan Modra <amodra@bigpond.net.au>
  11715. * config/ia64/ia64.md (doloop_end_internal): Correct rtl.
  11716. * doloop.c (doloop_optimize): Extract pattern from insn.
  11717. 2002-06-17 Matt Kraai <kraai@alumni.cmu.edu>
  11718. * doc/extend.texi (Function Attributes): Remove `,...' from @var.
  11719. 2002-06-17 Jeff Law <law@redhat.com>
  11720. * libgcc2.c: Do not include symcat.h or machmode.h.
  11721. 2002-06-17 Richard Henderson <rth@redhat.com>
  11722. PR target/6922
  11723. * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
  11724. 2002-06-17 Tom Tromey <tromey@redhat.com>
  11725. * dwarfout.c: Include function.h.
  11726. 2002-06-17 Andreas Schwab <schwab@suse.de>
  11727. * print-rtl.c (print_rtx): Print space before vector, not after.
  11728. (debug_rtx): Clear sawclose before printing.
  11729. (debug_rtx_list): Print newline after each list element.
  11730. (debug_rtx_range): Likewise.
  11731. 2002-06-17 Richard Henderson <rth@redhat.com>
  11732. * function.h (struct function) [funcdef_no]: Rename profile_label_no.
  11733. (current_function_funcdef_no): Similarly.
  11734. * function.c (funcdef_no): Similarly.
  11735. (prepare_function_start): Set current_function_funcdef_no.
  11736. (expand_function_start): Don't set current_function_profile_label_no.
  11737. * dwarf2out.h (current_funcdef_number): Remove.
  11738. * dwarf2out.c (current_funcdef_number): Remove. Replace with
  11739. current_function_funcdef_no throughout.
  11740. * dwarfout.c, vmsdbgout.c: Similarly.
  11741. * except.c (sjlj_funcdef_number): Remove.
  11742. (sjlj_emit_function_enter): Use current_function_funcdef_no instead.
  11743. (output_function_exception_table): Likewise.
  11744. * final.c (profile_function): Use current_function_funcdef_no
  11745. instead of current_function_profile_label_no.
  11746. 2002-06-17 Vladimir Makarov <vmakarov@redhat.com>
  11747. * sched-ebb.c (init_ready_list): Check INSN_P first.
  11748. Mon Jun 17 17:26:15 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11749. * sh.md (divsi3): Update way how to find insns in a sequence.
  11750. * reload1.c (merge_assigned_reloads): Don't change reloads
  11751. other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
  11752. to RELOAD_OTHER when there are conflicting input reloads.
  11753. 2002-06-17 Richard Earnshaw (rearnsha@arm.com)
  11754. * function.c (epilogue_done): Correctly build a sequence of insns for
  11755. a sibcall epilogue.
  11756. 2002-06-17 Nick Clifton <nickc@cambridge.redhat.com>
  11757. * config/fr30/fr30.h (CUMULATIVE_ARGS): Replace typedef with
  11758. #define.
  11759. * config/m32r/m32r.md: Replace gen_sequence with get_insns.
  11760. 2002-06-16 Richard Henderson <rth@redhat.com>
  11761. * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
  11762. of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
  11763. 2002-06-16 Richard Henderson <rth@redhat.com>
  11764. PR opt/6722
  11765. * regclass.c (globalize_reg): Update regs_invalidated_by_call.
  11766. 2002-06-16 Neil Booth <neil@daikokuya.demon.co.uk>
  11767. * config.gcc: Add i386/sysv4-cpp.h; remove i386-aout.h from vxworks.
  11768. * config/i386/i386-aout.h, config/i386/i386elf.h,
  11769. config/i386/sysv4.h: Remove CPP_PREDEFINES.
  11770. * config/i386/linux64.h, config/i386/i386elf.h, config/i386/mach.h,
  11771. config/i386/netware.h, config/i386/rtemself.h, config/i386/sco5.h,
  11772. config/i386/sol2.h, config/i386/vsta.h, config/i386/vxi386.h,
  11773. config/i386/win32.h: Use TARGET_OS_CPP_BUILTINS rather than
  11774. CPP_PREDEFINES and part of CPP_SPEC.
  11775. * config/i386/sysv4-cpp.h: New.
  11776. 2002-06-16 Richard Henderson <rth@redhat.com>
  11777. PR c/7030
  11778. * dwarf2out.c (modified_type_die): Don't assign the qualified die
  11779. to the unqualified type.
  11780. Sun Jun 16 22:16:10 CEST 2002 Jan Hubicka <jh@suse.cz>
  11781. * i386-protos.h (x86_field_alignment): Declare.
  11782. * i386.c (x86_field_alignment): Define.
  11783. * i386.h (ADJUST_FIELD_ALIGNMENT): New.
  11784. (BIGGEST_FIELD_ALIGNMENT): Kill.
  11785. 2002-06-16 Richard Henderson <rth@redhat.com>
  11786. * vax.md (casesi): Use emit_jump_insn. Tidy expander pattern.
  11787. 2002-06-16 Richard Henderson <rth@redhat.com>
  11788. * c-common.c (flag_ms_extensions): Move from c++ front end.
  11789. * c-common.h (flag_ms_extensions): Declare.
  11790. * c-decl.c (c_decode_option): Add -fms-extensions.
  11791. (grokfield): Don't accept anonymous structures in ISO C mode;
  11792. accept only unnamed anonymous structures in GNU C mode; accept
  11793. Plan 9 extensions in MS mode.
  11794. * c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from
  11795. SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all callers.
  11796. (extension): Clear flag_iso.
  11797. * doc/invoke.texi (C Dialect Options): Add -fms-extensions.
  11798. 2002-06-16 Hans-Peter Nilsson <hp@axis.com>
  11799. PR target/7042
  11800. * reorg.c (make_return_insns) [DELAY_SLOTS_FOR_EPILOGUE]: Exit
  11801. early if current_function_epilogue_delay_list is non-empty.
  11802. * config/cris/cris.md ("return"): Add sanity check asserting that
  11803. current_function_epilogue_delay_list is empty.
  11804. 2002-06-16 Jeff Law <law@redhat.com>
  11805. * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic
  11806. sharing of hard registers.
  11807. * toplev.c (rest_of_compilation): Remove redundant conditional.
  11808. * toplev.c (rest_of_compilation): Perform a simpler, less costly
  11809. cleanup of the CFG when not optimizing.
  11810. 2002-06-16 Alan Modra <amodra@bigpond.net.au>
  11811. * gcc.c (main): Correct startfile_prefix_spec check.
  11812. 2002-06-12 Geoffrey Keating <geoffk@redhat.com>
  11813. * config.gcc: Revert rth's patch of 2002-05-18. Instead,
  11814. include both darwin.o and rs6000-c.o.
  11815. 2002-06-15 Roger Sayle <roger@eyesopen.com>
  11816. * expr.c (compare_from_rtx): Call simplify_relational_operation
  11817. on all comparisons, not just those between integer constants,
  11818. with the correct (possibly unsigned) comparison code.
  11819. (do_compare_rtx_and_jump): Likewise.
  11820. 2002-06-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
  11821. * Makefile.in (tm_defines): New configuration variable.
  11822. (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES.
  11823. Pass tm_defines in TM_DEFINES.
  11824. (cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES.
  11825. * config.gcc (tm_defines): New configuration variable.
  11826. (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and
  11827. pa-7100.h headers. Change hppa1* scheduling default to 7100LC.
  11828. * configure.in: Substitute tm_defines.
  11829. * configure: Rebuilt.
  11830. * mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES.
  11831. * doc/install.texi: Update.
  11832. * pa/pa-700.h: Delete file.
  11833. * pa/pa-7100.h: Delete file.
  11834. 2002-06-15 Roger Sayle <roger@eyesopen.com>
  11835. * fold-const.c (comparison_to_compcode): New function to convert
  11836. an comparison TREE CODE into a bit-based representation.
  11837. (compcode_to_comparison): New function to convert from this bit
  11838. based representation back to a comparison TREE CODE.
  11839. (fold_truthop): Simplify (x<y) && (x==y) and related composite
  11840. comparisons.
  11841. 2002-06-15 Aldy Hernandez <aldyh@redhat.com>
  11842. * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.
  11843. * stor-layout.c (compute_record_mode): Remove check for
  11844. FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for
  11845. MEMBER_TYPE_FORCES_BLK. Pass new mode field to
  11846. MEMBER_TYPE_FORCES_BLK.
  11847. * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same.
  11848. * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same.
  11849. 2002-06-14 Jeff Sturm <jsturm@one-point.com>
  11850. * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
  11851. 2002-06-14 Steve Ellcey <sje@cup.hp.com>
  11852. * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set
  11853. USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.
  11854. * configure, config.in: Regenerate.
  11855. 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
  11856. * loop.c (check_final_value): Use v->always_executed
  11857. instead of v->always_computable.
  11858. * unroll.c (final_giv_value): Don't calculate the final
  11859. value as a function of the biv if the giv is not computed
  11860. for every loop iteration.
  11861. 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
  11862. * loop.c (for_each_insn_in_loop): Fix formatting and comments.
  11863. 2002-06-14 Eric Botcazou <ebotcazou@multimania.com>
  11864. PR c/6677
  11865. * convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
  11866. the truncation down when the target type is signed.
  11867. [trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
  11868. * fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
  11869. the conversion if the target type is a smaller type.
  11870. 2002-06-14 Richard Henderson <rth@redhat.com>
  11871. * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation
  11872. earlier. Re-factor comparisons vs extrema.
  11873. 2002-06-14 Richard Henderson <rth@redhat.com>
  11874. * config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.
  11875. 2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  11876. * rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
  11877. * sched-deps.c (add_dependence): Likewise.
  11878. (group_leader): Likewise.
  11879. * sched-rgn.c (init_ready_list): Likewise.
  11880. * doc/rtl.texi: Adjust accordingly.
  11881. 2002-06-13 Jeffrey Law <law@redhat.com>
  11882. * gcse.c (delete_null_pointer_checks_1): Inform caller if any
  11883. null pointer checks were eliminated. Update prototype.
  11884. (delete_null_pointer_checks): Similarly.
  11885. * rtl.h (delete_null_pointer_checks): Update prototype.
  11886. * toplev.c (rest_of_compilation): Only run cleanup_cfg if
  11887. delete_null_pointer_checks deletes one or more null
  11888. pointer checks. Do not run cleanup_cfg before gcse, the
  11889. CFG is accurate and optimized at that point..
  11890. * rs6000.c (rs6000_frame_related): Avoid unwanted sharing
  11891. of hard registers.
  11892. 2002-06-14 Ulrich Weigand <uweigand@de.ibm.com>
  11893. * Makefile.in (libgcc.mk): Depend on specs.
  11894. Fri Jun 14 12:15:11 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11895. * sh.md (mulsi3): Update way how to find insns in a sequence.
  11896. Fri Jun 14 12:04:02 2002 Dhananjay R. Deshpande <dhananjayd@kpit.com>
  11897. * sh.h: Define HARD_REGNO_RENAME_OK
  11898. * sh.c: sh_hard_regno_rename_ok: New. If current function has
  11899. interrupt_handler attribute, only registers saved on stack are OK.
  11900. * sh-protos.h: Declare sh_hard_regno_rename_ok.
  11901. 2002-06-14 Kaz Kojima <kkojima@gcc.gnu.org>
  11902. * config/sh/sh.md (jump): Emit jump insn.
  11903. (call_pcrel): Get pattern of the result of gen_call_site.
  11904. (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise.
  11905. 2002-06-14 Neil Booth <neil@daikokuya.demon.co.uk>
  11906. * cpphash.h (struct cpp_buffer): Remove saved_line_base.
  11907. * cpptrad.c: Update comments.
  11908. (skip_whitespace, copy_comment): Take a new parameter.
  11909. (skip_escaped_newlines): Don't duplicate escaped newline test.
  11910. (copy_comment): Different location for CUR, decide here how
  11911. to copy / replace the comment.
  11912. (skip_whitespace): Copy whitespace.
  11913. (_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
  11914. (scan_out_logical_line): Let copy comment handle keeping or
  11915. replacing comments.
  11916. (scan_parameters, _cpp_create_trad_definition): Update.
  11917. 2002-06-13 Alan Lehotsky <apl@alum.mit.edu>
  11918. * reload.c (get_secondary_mem,find_reloads_address,
  11919. find_reloads_address_1): Pass reference to MEM to find_reloads_address
  11920. so that LEGITIMIZE_RELOAD_ADDRESS will be called.
  11921. 2002-06-13 Jessica Han <jessica@cup.hp.com>
  11922. * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
  11923. (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
  11924. * doc/tm.texi: Document them.
  11925. * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New.
  11926. (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
  11927. (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode.
  11928. (ASM_OUTPUT_FDESC): Likewise.
  11929. 2002-06-13 Eric Christopher <echristo@redhat.com>
  11930. * diagnostic.c (output_format): Fix thinko.
  11931. Thu Jun 13 22:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11932. * config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define.
  11933. (DWARF2_UNWIND_INFO): Define to 0.
  11934. * config/sh/sh.c (calc_live_regs): Don't use initial_value
  11935. optimization for PR_MEDIA_REG.
  11936. 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk>
  11937. * cpphash.h (_cpp_lex_identifier_trad): Remove.
  11938. * cpplib.c (end_directive): Don't skip, always remove overlay
  11939. apart from #define.
  11940. (prepare_directive_trad): Handle NULL pfile->directive.
  11941. (_cpp_handle_directive): Always call prepare_directive_trad
  11942. if traditional.
  11943. * cppmain.c (check_multiline_token): Rename account_for_newlines,
  11944. generalize inputs.
  11945. (scan_translation_unit_trad): Use it.
  11946. * cpptrad.c (skip_comment): Rename copy_comment, copy comment to
  11947. output, get escaped newline in comment close correct.
  11948. (check_output_buffer, skip_whitespace): Update.
  11949. (_cpp_lex_identifier_trad): Remove.
  11950. (scan_out_logical_line): Handle -C and comments in directives
  11951. properly.
  11952. Thu Jun 13 20:18:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
  11953. * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
  11954. * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
  11955. * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
  11956. (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
  11957. (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
  11958. (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
  11959. (SELECT_SH5_COMPACT_NOFPU): Likewise.
  11960. (TARGET_SWITCHES): Use them.
  11961. (TARGET_CPU_DEFAULT): Define if not already defined.
  11962. (TARGET_DEFAULT): Use it.
  11963. (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
  11964. * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
  11965. * config/sh/t-monolib: New file.
  11966. 2002-06-13 Roger Sayle <roger@eyesopen.com>
  11967. * toplev.c (rest_of_compilation): Simplify (and correct) the
  11968. logic of the first delete-null-pointer-checks pass.
  11969. Thu Jun 13 18:24:17 CEST 2002 Jan Hubicka <jh@suse.cz>
  11970. * i386.c (ix86_expand_movstr): Fix pasto.
  11971. Thu Jun 13 18:18:17 CEST 2002 Jan Hubicka <jh@suse.cz>
  11972. * reload.c (find_valid_class): Fix thinko in my previous patch.
  11973. 2002-06-13 Ulrich Weigand <uweigand@de.ibm.com>
  11974. * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
  11975. * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro.
  11976. (CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove.
  11977. (EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64.
  11978. 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com>
  11979. * tree-inline.c (expand_call_inline): Don' mess with _DECL
  11980. fields.
  11981. 2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com>
  11982. * diagnostic.c (output_format): Recognize "%H" as a format
  11983. specifier for a location_t.
  11984. (text_specifies_location): New function.
  11985. (diagnostic_set_info): Use it.
  11986. 2002-06-13 Jeffrey Law <law@redhat.com>
  11987. * emit-rtl.c (static_regno_reg_rtx): Define.
  11988. (init_emit_once): Initialize static_regno_reg_rtx.
  11989. (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead
  11990. of building new hard reg objects once per function.
  11991. (gen_rtx_REG): Try to share hard regs.
  11992. * regclass.c (init_fake_stack_mems): New function broken out from
  11993. init_regs.
  11994. * rtl.h (init_fake_stack_mems): Declare.
  11995. * toplev.c (lang_independent_init): Call init_regs before
  11996. init_emit_once. Call init_fake_stack_mems after init_emit_once.
  11997. * i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.
  11998. * alias.c (argument_registers): Remove.
  11999. (init_alias_once): Initialize static_reg_base_value here. Remove
  12000. initialization of argument_registers.
  12001. (init_alias_once_per_function): Remove.
  12002. (init_alias_analysis): Copy all the entries from static_reg_base_value
  12003. into new_reg_base_value all at once.
  12004. * rtl.h (init_alias_once_per_function): Remove declaration.
  12005. * function.c (prepare_function_start): Do not call
  12006. init_alias_once_per_function.
  12007. * caller-save.c (init_caller_save): Use gen_rtx_INSN instead of
  12008. starting a sequence and emitting an INSN.
  12009. 2002-06-13 Richard Sandiford <rsandifo@redhat.com>
  12010. * config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case.
  12011. 2002-06-13 David S. Miller <davem@redhat.com>
  12012. * expmed.c (init_expmed): Remove duplicate init of 'reg'.
  12013. 2002-06-13 Neil Booth <neil@daikokuya.demon.co.uk>
  12014. * cpplib.c (end_directive): Handle line skipping. Only remove
  12015. the rest of the line if the directive was valid.
  12016. * cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when
  12017. expanding a traditional macro.
  12018. * cpptrad.c (recursive_macro): New.
  12019. (read_logical_line_trad): Handle skipping.
  12020. (scan_out_logical_line): Continue after a successful directive.
  12021. Don't expand macros whilst skipping, or if recursing.
  12022. (_cpp_create_trad_definition): scan_out_logical_line now sets
  12023. the output current position.
  12024. 2002-06-12 Eric Christopher <echristo@redhat.com>
  12025. From Chris Demetriou <cgd@broadcom.com>
  12026. * config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
  12027. comment.
  12028. (ISA_HAS_MADD_MSUB): Ditto.
  12029. (ISA_HAS_NMADD_NMSUB): Ditto.
  12030. 2002-06-12 Eric Christopher <echristo@redhat.com>
  12031. * config.gcc: Consolidate little endian handling and
  12032. little/big endian targets.
  12033. * config/mips/elfl.h: Remove file.
  12034. * config/mips/elfl64.h: Ditto.
  12035. * config/mips/ecoffl.h: Ditto.
  12036. * config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.
  12037. 2002-06-12 Geoffrey Keating <geoffk@redhat.com>
  12038. * gengtype.h (xvasprintf): New prototype.
  12039. (xasprintf): New prototype.
  12040. (struct outf): New.
  12041. (get_output_file): Return an outf_p.
  12042. (header_file): Is now an outf_p.
  12043. (base_files): Now are outf_p.
  12044. (oprintf): New.
  12045. * gengtype.c: Replace all output FILE * with outf_p; use oprintf
  12046. rather than stdio operations. Use xasprintf in a few places,
  12047. when appropriate.
  12048. (xvasprintf): New.
  12049. (xasprintf): New.
  12050. (struct filemap): Delete.
  12051. (files): Delete.
  12052. (output_files): New.
  12053. (oprintf): New.
  12054. (create_file): Create an outf_p. Add parameter to indicate output
  12055. file name, change all callers.
  12056. (open_base_files): Create gtype-desc.c here.
  12057. (get_output_file_with_visibility): Rewrite.
  12058. (get_output_file_name): Just look at 'name' field in struct outf.
  12059. (close_output_files): Rewrite.
  12060. 2002-06-12 Jason Thorpe <thorpej@wasabisystems.com>
  12061. * config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
  12062. (MASK_G_FLOAT): Define.
  12063. (TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them.
  12064. (TARGET_SWITCHES): Likewise.
  12065. (TARGET_DEFAULT): Likewise.
  12066. 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
  12067. * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
  12068. * config/mips/mips.c (mips_output_filename): Don't print a
  12069. ".file" directive if we are using DWARF-2.
  12070. (mips_output_function_prologue): Do not emit source file
  12071. name for TARGET_GAS.
  12072. Wed Jun 12 16:45:13 CEST 2002 Jan Hubicka <jh@suse.cz>
  12073. * i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
  12074. decide whether emit the short opcode.
  12075. * i386.h (x86_shift1): Declare.
  12076. (TARGET_SHIFT1): New macro.
  12077. * i386.c (x86_shift1): New global variable.
  12078. * toplev.c (rest_of_compilation): Call find_basic_block pre-loop
  12079. unconditionally; make loop to rebuild CFG; kill unnecesary
  12080. find_basic_block calls; kill compute_bb_for_insn call.
  12081. * cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call.
  12082. * haifa-sched.c (sched_init): Likewise.
  12083. * ssa-ccp.c (ssa_const_prop): Likewise.
  12084. * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
  12085. 2002-06-11 David S. Miller <davem@redhat.com>
  12086. * emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
  12087. active_insn_p.
  12088. 2002-06-11 Richard Henderson <rth@redhat.com>
  12089. * c-common.c (builtin_define_type_max): New.
  12090. (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__,
  12091. __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__.
  12092. From Joseph S. Myers:
  12093. * glimits.h: Rewrite to expect the double underscore definitions
  12094. from the compiler.
  12095. * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h,
  12096. config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h,
  12097. config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h,
  12098. config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
  12099. config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h,
  12100. config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h,
  12101. config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__,
  12102. __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__.
  12103. 2002-06-11 Richard Henderson <rth@redhat.com>
  12104. * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
  12105. (ALPHA_BUILTIN_SET_THREAD_POINTER): New.
  12106. (code_for_builtns): Update.
  12107. (alpha_init_builtins): Add __builtin_thread_pointer and
  12108. __builtin_set_thread_pointer.
  12109. (alpha_expand_builtin): Handle void builtins.
  12110. * doc/extend.texi (Alpha Built-in Functions): Update.
  12111. 2002-06-11 Hans-Peter Nilsson <hp@axis.com>
  12112. PR target/6997
  12113. * config/cris/cris.md ("sleu"): Set attribute "cc" to "none".
  12114. 2002-06-11 Zack Weinberg <zack@codesourcery.com>
  12115. * config.gcc: Make the name of the extra-modes file adjustable
  12116. by target stanzas.
  12117. (s390x, strongarm, xscale stanzas): Use this facility.
  12118. * configure.in: Update to match.
  12119. * configure: Regenerate.
  12120. 2002-06-11 Aldy Hernandez <aldyh@redhat.com>
  12121. * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned
  12122. max/mins as unsigned GE compares.
  12123. 2002-06-11 Jason Thorpe <thorpej@wasabisystems.com>
  12124. * config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
  12125. * config/vax/bsd.h: New file.
  12126. * config/vax/netbsd.h: Add missing notice.
  12127. (CPP_PREDEFINES): Remove.
  12128. (TARGET_OS_CPP_BUILTINS): Define.
  12129. (CPP_SPEC): Use NETBSD_CPP_SPEC.
  12130. * config/vax/openbsd.h: Update copyright years.
  12131. (CPP_PREDEFINES): Remove.
  12132. (TARGET_OS_CPP_BUILTINS): Define.
  12133. * config/vax/ultrix.h: Likewise.
  12134. * config/vax/vaxv.h: Likewise.
  12135. * config/vax/vms.h: Likewise.
  12136. * config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define.
  12137. (CPP_PREDEFINES, CPP_SPEC): Remove.
  12138. Wed Jun 12 01:50:28 CEST 2002 Jan Hubicka <jh@suse.cz>
  12139. * i386.md (addqi_1_slp, subqi_1_slp
  12140. (andqi_ext0, testqi_ext0): Remove unnecesary check.
  12141. (addhi*, addqi*): Simplify "dec" condition.
  12142. (testsi to testqi splitters): Remove TARGET_PROMOTE_QImode check.
  12143. (and, or, xor to QImode splitters): New.
  12144. (iorqi_ext*): New.
  12145. (xorqi_ext_0): New.
  12146. (xorqi_ext_1): Rename to xorqi_ext_2; bring to sync with and versions.
  12147. (andqi_ext_1_rex64): New.
  12148. (ashrqi*_slp): New.
  12149. (ashlqi*_slp): New.
  12150. (lshlqi*_slp): New.
  12151. (rotrqi3*_slp): New.
  12152. (rotlqi3*_slp): New.
  12153. 2002-06-11 Geoffrey Keating <geoffk@redhat.com>
  12154. * config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including
  12155. softfloat.h.
  12156. * config/rs6000/vxppc.h (CPP_ENDIAN_BIG_SPEC): Delete.
  12157. (CPP_ENDIAN_LITTLE_SPEC): Delete.
  12158. * config/rs6000/sysv4le.h (CPP_ENDIAN_DEFAULT_SPEC): Delete.
  12159. * config/rs6000/sysv4.h (CPP_SYSV_SPEC): Delete _SOFT_FLOAT setting,
  12160. __LONG_DOUBLE_128__ setting, _CALL_* setting.
  12161. (CPP_DEFAULT_SPEC): Delete.
  12162. (CPP_FLOAT_DEFAULT_SPEC): Delete.
  12163. (CPP_LONGDOUBLE_DEFAULT_SPEC): Delete.
  12164. (CPP_SYSV_DEFAULT_SPEC): Delete.
  12165. (CPP_ENDIAN_BIG_SPEC): Delete.
  12166. (CPP_ENDIAN_LITTLE_SPEC): Delete.
  12167. (CPP_ENDIAN_SPEC): Delete.
  12168. (CPP_SPEC): Don't include cpp_endian, cpp_cpu.
  12169. (SUBTARGET_EXTRA_SPECS): Delete cpp_sysv_default, cpp_endian_default,
  12170. cpp_endian, cpp_endian_big, cpp_endian_little, cpp_float_default,
  12171. cpp_longdouble_default.
  12172. * config/rs6000/softfloat.h: Delete.
  12173. * config/rs6000/rs6000.h (CPP_CPU_SPEC): Delete.
  12174. (EXTRA_SPECS): Delete cpp_cpu.
  12175. (TARGET_CPU_CPP_BUILTINS): New.
  12176. * config/rs6000/rs6000-protos.h (rs6000_cpu_cpp_builtins): New
  12177. prototype.
  12178. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): New.
  12179. * config/rs6000/linux64.h (CPP_PREDEFINES): Remove endianness defines.
  12180. (CPP_DEFAULT_SPEC): Delete.
  12181. * config/rs6000/eabiaix.h (CPP_SYSV_DEFAULT_SPEC): Delete.
  12182. * config/rs6000/darwin.h (CPP_PREDEFINES): Don't define __BIG_ENDIAN__.
  12183. * config/rs6000/beos.h (CPP_SPEC): Remove cpp_cpu.
  12184. (CPP_DEFAULT_SPEC): Delete.
  12185. * config/rs6000/aix51.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
  12186. (CPLUSPLUS_CPP_SPEC): Likewise.
  12187. (CPP_CPU_SPEC): Delete.
  12188. (CPP_DEFAULT_SPEC): Delete.
  12189. * config/rs6000/aix43.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
  12190. (CPLUSPLUS_CPP_SPEC): Likewise.
  12191. (CPP_CPU_SPEC): Delete.
  12192. (CPP_DEFAULT_SPEC): Delete.
  12193. * config/rs6000/aix41.h (CPP_SPEC): Remove cpp_cpu.
  12194. (CPP_DEFAULT_SPEC): Delete.
  12195. * config/rs6000/aix.h (CPP_SPEC): Remove cpp_cpu.
  12196. (CPP_DEFAULT_SPEC): Delete.
  12197. * doc/gty.texi: Small updates.
  12198. 2002-06-12 Gabriel Dos Reis <gdr@codesourcery.com>
  12199. * objc/objc-act.c (warn_with_ivar): Adjust calls to
  12200. diagnostic_count_error.
  12201. (warn_with_method): Likewise.
  12202. * diagnostic.h (warnings_are_errors_message): New field of
  12203. diagnostic_context.
  12204. (diagnostic_count_error): Rename to diagnostic_count_diagnostic to
  12205. match semantics.
  12206. * diagnostic.c: Adjust calls to diagnostic_count_error through out.
  12207. (diagnostic_count_diagnostic): Make aware of other kinds of
  12208. diagnostics.
  12209. (diagnostic_initialize): Initialize warnings_are_errors_message field.
  12210. 2002-06-11 Tom Tromey <tromey@redhat.com>
  12211. For PR java/6520:
  12212. * fold-const.c (fold_convert): Don't modify existing tree's type.
  12213. 2002-06-11 Geoffrey Keating <geoffk@redhat.com>
  12214. * config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.
  12215. 2002-06-11 Richard Henderson <rth@redhat.com>
  12216. * caller-save.c (init_caller_save): Clear INSN_CODE each iteration.
  12217. 2002-06-11 Richard Henderson <rth@redhat.com>
  12218. * defaults.h (EH_FRAME_SECTION_NAME): Don't define if
  12219. DWARF2_UNWIND_INFO is false.
  12220. 2002-06-11 Bob Wilson <bob.wilson@acm.org>
  12221. * config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete.
  12222. * config/s390/s390.c (emit_prologue): gen_store_multiple
  12223. returns an insn now, not a pattern.
  12224. 2002-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  12225. * Makefile.in (gccinstall.dvi): Pass absolute pathnames to
  12226. $(TEXI2DVI) -o.
  12227. Tue Jun 11 21:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
  12228. * i386.c (x86_promote_QImode): Set for Athlon
  12229. (x86_fast_prefix): New global variable.
  12230. (x86_arch_always_fancy_math_387): Fix formating.
  12231. * i386.h (x86_fast_prefix): Declare
  12232. (TARGET_FAST_PREFIX): define.
  12233. * i386.md (and to strict_low_part, HI to SI
  12234. promoting splitter): Use new macro.
  12235. * i386.h (RTX_COSTS): float_extend is not for free for SSE.
  12236. 2002-06-11 Zack Weinberg <zack@codesourcery.com>
  12237. * Makefile.in (distclean): Delete junk left in testsuite
  12238. directory, too.
  12239. 2002-06-11 Jeffrey Law <law@redhat.com>
  12240. * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
  12241. last insn created by the splitter.
  12242. * caller-save.c (init_caller_save): Move creation of SAVEINSN
  12243. and RESTINSN into the scope of the sequence.
  12244. * mips.c (mips_expand_prologue): Use emit_jump_insn for trivial
  12245. RETURN insns.
  12246. * loop.c (loop_regs_scan): Avoid useless generation of REG objects.
  12247. * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
  12248. not the pattern. So extract the pattern from the insn.
  12249. * mips.c (embedded_pic_fnaddr_reg): Fix typo.
  12250. 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
  12251. * config/s390/s390.md (movsi): Only use floating point
  12252. register alternatives when operands are already fprs.
  12253. (movdi_31, movdi_64): Likewise.
  12254. 2002-06-11 David S. Miller <davem@redhat.com>
  12255. * emit-rtl.c (try_split): Do not abort on non-INSN_P.
  12256. Only run RTX equality checks on INSN_P rtl.
  12257. 2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
  12258. * config/s390/s390.md (reload_base, ltorg): Remove.
  12259. * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
  12260. s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
  12261. * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
  12262. s390_asm_output_pool_prologue): Likewise.
  12263. * s390.h (s390_pool_start_insn): Likewise.
  12264. * s390.c (s390_output_symbolic_const): Remove support for
  12265. old-style pool chunks.
  12266. (s390_function_epilogue): Likewise.
  12267. (s390_output_constant_pool): Likewise. Also, fix incorrect
  12268. alignment for 64-bit literal pools.
  12269. (print_operand_address): Remove 'y' and 'Y' format flags.
  12270. * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
  12271. old-style pool chunks.
  12272. (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
  12273. (ASM_OUTPUT_POOL_EPILOGUE): Remove.
  12274. (S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove.
  12275. * s390.c (consttable_operand): New function.
  12276. * s390-protos.h (consttable_operand): Declare it.
  12277. * s390.h (PREDICATE_CODES): Add consttable_operand.
  12278. * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
  12279. consttable_sf, consttable_df, pool_start_31, pool_end_31,
  12280. pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
  12281. * s390.c (struct constant, struct constant_pool): New data types.
  12282. (constant_modes, gen_consttable): New variables.
  12283. (s390_start_pool, s390_end_pool, s390_add_pool,
  12284. s390_dump_pool, s390_free_pool): New functions.
  12285. (s390_chunkify_pool): Completely reimplement literal pool
  12286. overflow handling.
  12287. * s390.c (s390_pool_overflow): New variable.
  12288. * s390.h (s390_pool_overflow): Declare it.
  12289. * s390.md (cjump, icjump): Use it to adapt length for out-of-range
  12290. jumps in literal pool overflow situations.
  12291. * s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
  12292. (s390_frame_info): Account for possible use of RETURN_REGNUM
  12293. by new literal pool overflow code.
  12294. (s390_emit_prologue): Likewise.
  12295. 2002-06-05 David S. Miller <davem@redhat.com>
  12296. Delete SEQUENCE rtl usage outside of reorg and ssa passes.
  12297. * rtl.h (gen_sequence, emit_insns, emit_insns_before,
  12298. emit_insns_before_scope, emit_insns_after,
  12299. emit_insns_after_scope): Delete declaration.
  12300. * ada/misc.c (insert_code_for): Use emit_insn* instead of
  12301. emit_insns_foo.
  12302. * config/alpha/alpha.c (alpha_set_memflags_1): Abort on SEQUENCE.
  12303. (alpha_set_memflags): Fix comment.
  12304. (set_frame_related_p): Use get_insns instead of gen_sequence.
  12305. * config/alpha/alpha.md (setjmp receiver splitter): Avoid
  12306. emitting no insns.
  12307. * config/arm/arm.c (arm_finalize_pic): Use get_insns instead of
  12308. gen_sequence.
  12309. (arm_gen_load_multiple, arm_gen_store_multiple): Likewise.
  12310. * config/fr30/fr30.c (fr30_move_double): Likewise.
  12311. * config/i386/i386.c (ix86_expand_int_movcc, ix86_expand_movstr):
  12312. Likewise.
  12313. * config/ia64/ia64.c (spill_restore_mem): Likewise.
  12314. * config/ia64/ia64.md (conditional move spliiter): Avoid emitting
  12315. no insns.
  12316. * config/m32r/m32r.c (gen_split_move_double): Use get_insns
  12317. instead of gen_sequence.
  12318. * config/mips/mips.c (embedded_pic_fnaddr_reg): Likewise.
  12319. (mips_expand_prologue, mips16_gp_pseudo_reg): Likewise.
  12320. * config/sh/sh.c (sh_need_epilogue): Likewise.
  12321. * config/sparc/sparc.md (current_function_calls_alloca, flat): New
  12322. attributes.
  12323. (setjmp pattern and split): Use them to avoid splitter which emits
  12324. no RTL.
  12325. * genattrtab.c (main): Emit include of function.h
  12326. * config/stormy16/stormy16.c (xstormy16_split_cbranch): Use
  12327. get_insns instead of gen_sequence.
  12328. * config/cris/cris.c (cris_split_movdx): Likewise.
  12329. * emit-rtl.c (emit_insns*): Kill.
  12330. (try_split): Expect insn list instead of SEQUENCE.
  12331. (make_jump_insn_raw, make_call_insn_raw): Fix comments.
  12332. (emit_*insn*): Reimplement to work with INSN lists and PATTERNs.
  12333. Make them abort if a SEQUENCE is given and RTL checking is
  12334. enabled.
  12335. (emit_*_scope): Don't forget to set scope on final insn.
  12336. (gen_sequence): Move from here...
  12337. * ssa.c (gen_sequence): To here as private function.
  12338. * builtins.c (expand_builtin_apply_args): Use emit_insn_foo, fix
  12339. comments.
  12340. (expand_builtin_return, expand_builtin_mathfn): Likewise.
  12341. (expand_builtin_strlen): Use get_insns instead of gen_sequence.
  12342. (expand_builtin_saveregs): Use emit_insn_foo, fix comments.
  12343. (expand_builtin_expect_jump): Use get_insns and fix comments.
  12344. * calls.c (try_to_integrate): Use emit_insn_foo.
  12345. (expand_call, emit_library_call_value_1): Likewise.
  12346. * expr.c (emit_queue): Handle insn lists instead of SEQUENCE.
  12347. (emit_move_insn_1): Use get_insns instead of gen_sequence.
  12348. (expand_expr): Use emit_insn_foo.
  12349. * cfgrtl.c (commit_one_edge_insertion): Use emit_insn_foo.
  12350. * except.c (build_post_landing_pads): Likewise.
  12351. * flow.c (attempt_auto_inc): Likewise.
  12352. * stmt.c (expand_fixup, fixup_gotos, expand_nl_handler_label,
  12353. expand_nl_goto_receivers, expand_decl_cleanup): Likewise.
  12354. * function.c (fixup_var_refs_insn): Use get_insns instead of
  12355. gen_sequence.
  12356. (fixup_var_refs_1): Likewise and expect insn list from gen_foo.
  12357. (fixup_memory_subreg): Use get_insns instead of gen_sequence.
  12358. (fixup_stack_1, purge_addressof_1, expand_main_function,
  12359. get_arg_pointer_save_area): Likewise.
  12360. (optimize_bit_field, instantiate_virtual_regs_1, assign_parms,
  12361. expand_function_end): Use emit_insn_foo.
  12362. (record_insns, keep_stack_depressed): Work with insn list instead
  12363. of SEQUENCE, fix comments.
  12364. * ifcvt.c (noce_emit_store_flag, noce_try_store_flag,
  12365. noce_try_store_flag_constants, noce_try_store_flag_inc,
  12366. noce_try_store_flag_mask, noce_emit_cmove, noce_try_cmove_arith,
  12367. noce_try_minmax, noce_try_abs): Use emit_insn_foo.
  12368. (noce_process_if_block): Use get_insns instead of gen_sequence.
  12369. * optabs.c (add_equal_note): Work with insn list, fix comments.
  12370. (expand_binop): Expect insn list from GEN_FCN(), use emit_insn_foo.
  12371. (expand_unop, expand_complex_abs, expand_unop_insn,
  12372. expand_no_conflict_block): Likewise.
  12373. (gen_move_insn): Use get_insns instead of gen_sequence.
  12374. (gen_cond_trap): Likewise.
  12375. * integrate.c (copy_rtx_and_substitute): Likewise.
  12376. (emit_initial_value_sets): Use emit_insn_foo.
  12377. * reload1.c (emit_output_reload_insns, emit_reload_insns): Likewise.
  12378. (fixup_abnormal_edges): Avoid losing REG_NOTES more intelligently
  12379. now that RTL generators give insn lists.
  12380. * sibcall.c (replace_call_placeholder): Use emit_insn_foo.
  12381. * doloop.c (doloop_modify, doloop_modify_runtime): Use get_insns
  12382. instead of gen_sequence.
  12383. (doloop_optimize): Work with insn lists instead of SEQUENCE rtl.
  12384. * explow.c (emit_stack_save, emit_stack_restore): Use get_insns
  12385. instead of gen_sequence.
  12386. * loop.c (move_movables, emit_prefetch_instructions,
  12387. gen_add_mult, check_dbra_loop, gen_load_of_final_value):
  12388. Likewise.
  12389. (loop_regs_update): Work with insn list instead of SEQUENCE rtl.
  12390. (product_cheap_p): Likewise, and add commentary about RTL wastage
  12391. here.
  12392. * lcm.c (optimize_mode_switching): Use get_insns instead of
  12393. gen_sequence.
  12394. * profile.c (gen_edge_profiler): Likewise.
  12395. * regmove.c (copy_src_to_dest): Likewise.
  12396. * reg-stack.c (compensate_edge): Likewise and fix comment.
  12397. * gcse.c (process_insert_insn): Likewise.
  12398. (insert_insn_end_bb): Work with insn list instead of SEQUENCE rtl.
  12399. * jump.c (delete_prior_computation): Update comment.
  12400. * genemit.c (gen_expand, gen_split, main): Use get_insns instead
  12401. of gen_sequence, update comments to match.
  12402. * recog.c (peephole2_optimize): Work with insn lists instead of
  12403. SEQUENCE rtl.
  12404. * sched-vis.c (print_pattern): Abort on SEQUENCE.
  12405. * unroll.c (unroll_loop, find_splittable_givs, final_giv_value):
  12406. Use get_insns instead of gen_sequence.
  12407. (copy_loop_body): Likewise and don't emit dummy NOTE.
  12408. * genrecog.c: Don't mention SEQUENCE rtl in comments.
  12409. * combine.c (try_combine): Expect insn lists from split generator.
  12410. * reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by
  12411. hand.
  12412. 2002-06-11 Roger Sayle <roger@eyesopen.com>
  12413. Andreas Jaeger <aj@suse.de>
  12414. * cfgbuild.c: Update copyright years.
  12415. 2002-06-11 Andreas Schwab <schwab@suse.de>
  12416. * config/m68k/m68k.h (PREDICATE_CODES): Define.
  12417. 2002-06-11 Eric Christopher <echristo@redhat.com>
  12418. * doc/tm.texi (Run-time Target): Add comment about flag_iso
  12419. and strict ANSI.
  12420. * config/mips/ecoff.h (CPP_PREDEFINES): Remove.
  12421. * config/mips/ecoffl.h: Ditto.
  12422. * config/mips/elf64.h (SUBTARGET_CPP_SPEC): Remove.
  12423. (CPP_PREDEFINES): Ditto.
  12424. * config/mips/elfl64.h: Ditto.
  12425. * config/mips/elfl.h: Ditto.
  12426. * config/mips/iris3.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): #if 0
  12427. out until irix header consolidation.
  12428. * config/mips/iris5.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): Replace
  12429. with SUBTARGET_OS_CPP_BUILTINS.
  12430. * config/mips/iris6.h: Ditto.
  12431. (CPLUSPLUS_CPP_SPEC): Remove.
  12432. * config/mips/linux.h: Ditto.
  12433. * config/mips/netbsd.h: Ditto.
  12434. * config/mips/openbsd.h: Ditto.
  12435. * config/mips/rtems.h: Ditto.
  12436. * config/mips/rtems64.h: Ditto.
  12437. * config/mips/sni-svr4.h: Ditto.
  12438. * config/mips/mips.h (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4,
  12439. ISA_MIPS32, ISA_MIPS64): New defines.
  12440. (GENERATE_MULT3_SI, HAVE_SQRT_P, ISA_HAS_64BIT_REGS,
  12441. ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4,
  12442. ISA_HAS_COND_TRAP, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
  12443. ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Use.
  12444. (TARGET_CPU_CPP_BUILTINS): Define.
  12445. (CPP_PREDEFINES, LONG_MAX_SPEC, CPP_FPR_SPEC, CPP_SPEC): Remove.
  12446. * config/mips/mips.md (mulsi3_mult3): Use ISA_MIPS32/64.
  12447. (movdicc): Remove check for ISA_MIPS32.
  12448. (bunordered, bordered, bungt, bunlt, buneq, bunge, bunle,
  12449. sunordered_df, sunordered_sf, sordered_df, sordered_sf,
  12450. sunlt_df, sunlt_sf, sungt_df, sungt_sf, suneq_df, suneq_sf, sunge_df,
  12451. sunge_sf, sunle_df, sunle_sf): New patterns.
  12452. 2002-06-11 Neil Booth <neil@daikokuya.demon.co.uk>
  12453. * Makefile.in: Update cppmain.o.
  12454. * cpphash.h (struct cpp_reader): Move some members to a
  12455. nested structure.
  12456. (trad_line): Rename saved_line.
  12457. (_cpp_read_logical_line_trad): Update.
  12458. (_cpp_remove_overlay): New.
  12459. * cppinit.c (cpp_create_reader): No need to set saved_line.
  12460. (cpp_destroy): Update.
  12461. (cpp_read_main_file): Only overlay if compiling.
  12462. * cpplex.c (continue_after_nul): Return false if in directive.
  12463. * cpplib.c (EXPAND): New.
  12464. (directive_table, SEEN_EOL): Update.
  12465. (end_directive): Remove overlay if traditional; don't skip
  12466. line in traditional #define.
  12467. (prepare_directive_trad): New.
  12468. (_cpp_handle_directive, run_directive): Update for traditional
  12469. directives.
  12470. (lex_macro_node): Simplify, don't use lex_identifier_trad.
  12471. * cpplib.h (struct options): Add preprocess_only.
  12472. * cppmain.c: Don't include intl.h.
  12473. (cpp_preprocess_file): Set options->preprocess_only.
  12474. (scan_translation_unit_trad): Fix, and print line numbers.
  12475. * cpptrad.c (check_output_buffer, lex_identifier, scan_parameters,
  12476. maybe_start_funlike, scan_out_logical_line, replace_args_and_push,
  12477. save_replacement_text, _cpp_create_trad_definition): Update for
  12478. variable renaming.
  12479. (_cpp_overlay_buffer): Save line number.
  12480. (_cpp_remove_overlay): Rename from restore_buff, restore line.
  12481. (_cpp_read_logical_line_trad): Don't handle overlays here.
  12482. (scan_out_logical_line): Process directives.
  12483. 2002-06-11 Danny Smith <dannysmith@users.sourforge.net>
  12484. * gthr-win32.h: Wrap functions in extern "C".
  12485. (__gthread_key_t): Typedef as unsigned long,
  12486. not win32 DWORD.
  12487. (__GTHREAD_ONCE_INIT): Use 0, not win32 FALSE.
  12488. (__gthread_mutex_t): Typedef as void*, not win32 HANDLE.
  12489. (__gthr_win32_once, __gthr_win32_key_create,
  12490. __gthr_win32_key_delete, __gthr_win32_getspecific,
  12491. __gthr_win32_setspecific, __gthr_win32_mutex_init_function,
  12492. __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
  12493. __gthr_win32_mutex_unlock): Declare.
  12494. (__gthread_once,__gthread_key_create,
  12495. __gthread_key_delete, __gthread_getspecific,
  12496. __gthread_setspecific, __gthread_mutex_init_function,
  12497. __gthread_mutex_lock,__gthread_mutex_trylock,
  12498. __gthread_mutex_unlock): Call corresponding
  12499. __gthr_win32_* extern implementations if #defined
  12500. __GTHREAD_HIDE_WIN32API.
  12501. * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Set to
  12502. $(srcdir)/config/i386/gthr-win32.c
  12503. * config/i386/gthr-win32.c: New implementation file.
  12504. (__gthr_win32_once, __gthr_win32_key_create,
  12505. __gthr_win32_key_delete, __gthr_win32_getspecific,
  12506. __gthr_win32_setspecific, __gthr_win32_mutex_init_function,
  12507. __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
  12508. __gthr_win32_mutex_unlock): New functions, based on
  12509. static inlines in gthr-win32.h.
  12510. 2002-06-10 Bob Wilson <bob.wilson@acm.org>
  12511. * config/xtensa/xtensa.c (override_options): Don't warn about
  12512. using -fpic or -fPIC when PIC is enabled by default.
  12513. 2002-06-10 Roger Sayle <roger@eyesopen.com>
  12514. * toplev.c (rest_of_compilation): Revert flag_if_conversion change.
  12515. 2002-06-10 Zack Weinberg <zack@codesourcery.com>
  12516. * Makefile.in (MACHMODE_H): Add @extra_modes_file@.
  12517. * configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def
  12518. exists, substitute its pathname as @extra_modes_file@, define
  12519. EXTRA_MODES_FILE to be an appropriate string to #include it
  12520. with, and define EXTRA_CC_MODES to 1.
  12521. * machmode.def: Update comments. Include EXTRA_MODES_FILE if
  12522. it's defined. Get rid of redundancy in calling sequence for
  12523. CC; don't use it to define CCmode, to avoid a warning.
  12524. * libgcc2.c: Include symcat.h for the sake of machmode.def.
  12525. * arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def,
  12526. i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def,
  12527. pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def:
  12528. New files.
  12529. * arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h,
  12530. pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES.
  12531. * doc/sourcebuild.texi, doc/tm.texi: Document new scheme for
  12532. defining extra CC modes.
  12533. 2002-06-10 Roger Sayle <roger@eyesopen.com>
  12534. Andreas Jaeger <aj@suse.de>
  12535. * cfgrtl.c (create_basic_block_structure): Remove index argument
  12536. and use last_basic_block++ instead. (create_basic_block): Update.
  12537. * cfgbuild.c (find_basic_blocks_1): Likewise.
  12538. * cfgrtl.c (compute_bb_for_insn): Remove unused "max" argument.
  12539. * haifa-sched.c (sched_init): Update compute_bb_for_insn caller.
  12540. * sched-ebb.c (schedule_ebbs): Likewise.
  12541. * sched-rgn.c (schedule_insns): Likewise.
  12542. * ssa-ccp.c (ssa_const_prop): Likewise.
  12543. * ssa-dcs.c (ssa_eliminate_dead_code): Likewise.
  12544. * toplev.c (rest_of_compilation): Likewise.
  12545. * config/ia64/ia64.c (ia64_reorg): Likewise.
  12546. 2002-06-10 Roger Sayle <roger@eyesopen.com>
  12547. * simplify-rtx.c (simplify_replace_rtx): Allow replacement
  12548. of matching registers.
  12549. 2002-06-10 Roger Sayle <roger@eyesopen.com>
  12550. * toplev.c (rest_of_compilation): Disable early if-conversion pass.
  12551. * gcse.c (bypass_conditional_jumps): Fix typo in setcc test.
  12552. 2002-06-10 Hans-Peter Nilsson <hp@bitrange.com>
  12553. * config/mmix/mmix.h: Improve comments.
  12554. (CPP_SPEC, CPP_PREDEFINES): Don't define.
  12555. (TARGET_CPU_CPP_BUILTINS): Define.
  12556. (CANONICALIZE_COMPARISON): Don't define, replace with comment.
  12557. (PREDICATE_CODES) <"mmix_reg_or_8bit_or_256_operand">: Remove
  12558. unused predicate.
  12559. * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Add cast to avoid
  12560. compiler warning.
  12561. (mmix_constant_address_p): Remove another
  12562. redundant test before case.
  12563. (mmix_canonicalize_comparison): Remove unused function.
  12564. (mmix_print_operand_address): Don't test and adjust for operand in
  12565. non-canonical format.
  12566. (mmix_reg_or_8bit_or_256_operand): Remove unused predicate.
  12567. (mmix_gen_compare_reg): Don't use CANONICALIZE_COMPARISON.
  12568. 2002-06-10 Zack Weinberg <zack@codesourcery.com>
  12569. * config/m32r/m32r.h: Don't define SELECT_CC_MODE.
  12570. * config/m32r/m32r-protos.h: Don't prototype m32r_select_cc_mode.
  12571. * config/m32r/m32r.c: Don't define m32r_select_cc_mode.
  12572. (gen_compare): Use CCmode unconditionally.
  12573. 2002-06-10 Jakub Jelinek <jakub@redhat.com>
  12574. PR optimization/6759
  12575. * cse.c (cse_insn): Fold src_eqv just once, store it folded back into
  12576. the REQ_EQUAL note.
  12577. 2002-06-10 Jakub Jelinek <jakub@redhat.com>
  12578. PR c/6660
  12579. * c-decl.c (grokfield): Allow user defined types if they declare
  12580. structs or unions for unnamed fields.
  12581. 2002-06-10 Jakub Jelinek <jakub@redhat.com>
  12582. PR c/6809
  12583. * print-rtl.c (print_mem_expr): Don't crash on unnamed fields.
  12584. 2002-06-10 Jakub Jelinek <jakub@redhat.com>
  12585. PR optimization/6842
  12586. * combine.c (combine_simplify_rtx) [SUBREG]: Don't ICE if VOIDmode
  12587. operand subreg cannot be simplified.
  12588. 2002-06-10 Jakub Jelinek <jakub@redhat.com>
  12589. * varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
  12590. (compare_constant): Likewise.
  12591. (output_addressed_constants): Likewise.
  12592. 2002-06-10 Jakub Jelinek <jakub@redhat.com>
  12593. * cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't
  12594. merge bb with itself.
  12595. 2002-06-10 Richard Henderson <rth@redhat.com>
  12596. * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask.
  12597. (builtin_zapnot): Likewise.
  12598. * config/alpha/ev5.md: Don't combine shift and mvi insns in one
  12599. reservation.
  12600. 2002-06-10 Eric Christopher <echristo@redhat.com>
  12601. * config/i386/i386.c (ix86_osf_output_function_prologue): Remove
  12602. prototype and function.
  12603. (TARGET_ASM_FUNCTION_PROLOGUE): Remove OSF version.
  12604. (call_insn_operand): Remove half pic references.
  12605. (legitimate_address_p): Ditto.
  12606. * config/i386/i386.h: Remove half pic defines.
  12607. 2002-06-10 Eric Christopher <echristo@redhat.com>
  12608. * doc/extend.texi (Return Address): Add note explaining the side-
  12609. effects of inlining on __builtin_return_address.
  12610. 2002-06-10 Tom Tromey <tromey@redhat.com>
  12611. * Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h.
  12612. (c-common.o): Depend on langhooks.h.
  12613. 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk>
  12614. * cpphash.h (_cpp_read_logical_line_trad,
  12615. _cpp_expansions_different_trad): Update prototypes.
  12616. * cpplex.c (continue_after_nul): New.
  12617. * cppmain.c: Include cpphash.h.
  12618. (scan_translation_unit_trad): New.
  12619. (cpp_preprocess_file): Call it.
  12620. * cpptrad.c (_cpp_read_logical_line_trad): Take new parameter
  12621. overlay.
  12622. (_cpp_expansions_different_trad): Update prototype.
  12623. Mon Jun 10 18:02:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
  12624. Fix cfi generation for SH[1-4]:
  12625. * sh.c (frame_insn): New function.
  12626. (output_stack_adjust): Add parameter emit_fn. All callers changed.
  12627. (push): Now returns rtx. Use frame_insn.
  12628. (sh_expand_prologue): Clear RTX_FRAME_RELATED_P for second push
  12629. of a DF register.
  12630. * sh.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN): Define.
  12631. 2002-06-10 Zack Weinberg <zack@codesourcery.com>
  12632. * Makefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h,
  12633. and gtype-desc.c.
  12634. (mostlyclean): Delete specs.h, options.h, gencheck.h here...
  12635. (distclean): ... not here. But do delete all testsuite/*.log,
  12636. testsuite/*.sum files here. Delete mkheaders. Delete
  12637. po/*.gmo and the testsuite directory in a split tree build.
  12638. 2002-06-10 Jeffrey Law <law@redhat.com>
  12639. * alias.c (static_reg_base_value): New to hold RTL for
  12640. items allocated once per function for the aliasing code.
  12641. (init_alias_once_per_function): Initialize static_reg_base_value.
  12642. (init_alias_analysis): Avoid throw-away allocations of RTL by
  12643. using pre-computed values in static_reg_base_value.
  12644. * function.c (prepare_function_start): Call
  12645. init_alias_once_per_function appropriately.
  12646. * rtl.h (init_alias_once_per_function): Declare.
  12647. * caller-save (init_caller_save): Restructure slightly to
  12648. avoid lots of silly RTL generation.
  12649. * expr.c (init_expr_once): Likewise.
  12650. * reload1.c (reload_cse_regs_1): Allocate throw-away register
  12651. RTL object here. Pass it into children.
  12652. (reload_cse_simplify_operands): Use passed-in register RTL
  12653. object.
  12654. (reload_cse_simplify): Pass through throw-away register
  12655. RTL object.
  12656. 2002-06-10 Daniel Berlin <dberlin@dberlin.org>
  12657. * Makefile.in (ssa.o): Add dependency on $(RTL_H), which was missing.
  12658. 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
  12659. * gcc.c (process_command): Avoid assignment to read-only location.
  12660. Fix sizeof calculation.
  12661. 2002-06-10 Neil Booth <neil@daikokuya.demon.co.uk>
  12662. * cpphash.h (struct cpp_macro): Put comments on their own lines.
  12663. (_cpp_expansions_different_trad): New.
  12664. * cppmacro.c (warn_of_redefinition): Fix for traditional case.
  12665. * cpptrad.c (canonicalize_text): New.
  12666. (scan_out_logical_line): Handle no arguments correctly.
  12667. (save_replacement_text): Commit memory when finished.
  12668. (_cpp_expansions_different_trad): New.
  12669. 2002-06-10 Tim Josling <tej@melbpc.org.au>
  12670. * gengtype.c (unnamed enum containing BASE_FILE_*): Add languages
  12671. TREELANG and COBOL.
  12672. (lang_names): Add treelang and cobol.
  12673. (get_file_basename): Add code to support treelang and cobol as
  12674. 4th and 5th users of c-common.c.
  12675. 2002-06-09 Geoffrey Keating <geoffk@redhat.com>
  12676. * Makefile.in (install-driver): Install driver as
  12677. $(target_alias)-gcc-$(version).
  12678. * gcc.c (spec_version): Make const.
  12679. (process_command): Handle -V and -b by using exec.
  12680. * doc/invoke.texi (Target Options): Restore -V option,
  12681. update docs for -b option.
  12682. 2002-06-10 Tim Josling <tej@melbpc.org.au>
  12683. * configure.in (remaining_languages_check):
  12684. Added check that all languages specified were found.
  12685. Exit if not found. Previous behavior was silent failure.
  12686. * configure: Regenerated.
  12687. 2002-06-10 Tim Josling <tej@melbpc.org.au>
  12688. First steps to making treelang documentation compliant, based on
  12689. instructions in sourcebuild.texi. Also add to gcc.c list of
  12690. default languages.
  12691. * doc/contrib.texi: Add self as contributor of treelang.
  12692. * doc/frontends.texi: Add mention of treelang.
  12693. * doc/invoke.texi (Overall Options): Add mention of treelang.
  12694. * doc/standards.texi: Add mention of treelang.
  12695. 2002-06-09 Hans-Peter Nilsson <hp@axis.com>
  12696. * config/cris/cris.c: Include ggc.h
  12697. 2002-06-09 Neil Booth <neil@daikokuya.demon.co.uk>
  12698. * cpphash.h (_cpp_push_text_context): Update.
  12699. (_cpp_arguments_ok): New.
  12700. * cppmacro.c (_cpp_arguments_ok): New, split out from...
  12701. (collect_args): ...here.
  12702. (_cpp_push_text_context): Change inputs.
  12703. * cpptrad.c (struct fun_macro, maybe_start_funlike, save_argument,
  12704. replace_args_and_push): New.
  12705. (lex_identifier, _cpp_lex_identifier_trad, scan_parameters):
  12706. Don't use IS macros directly.
  12707. (scan_out_logical_line): Handle function-like macro argument
  12708. collection.
  12709. (push_replacement_text): Update.
  12710. (replacement_length): Remove.
  12711. (_cpp_create_trad_definition): Don't skip whitespace before
  12712. checking for '('.
  12713. 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
  12714. * config/avr/avr.c (avr_mcu_types): Update for new devices.
  12715. * config/avr/avr.h (TARGET_SWITCHES, AVR_MEGA): Add -mshort-calls.
  12716. (LINK_SPEC, CRT_BINUTILS_SPECS): Update for new devices.
  12717. * config/avr/avr.md ("type" and "length" attributes): New type
  12718. "xcall", length 1 or 2 if AVR_MEGA. Use in all patterns that
  12719. output a single "call" or "rcall" insn depending on device size.
  12720. * config/avr/t-avr (MULTILIB_MATCHES): Update for new devices.
  12721. 2002-06-09 David Edelsohn <edelsohn@gnu.org>
  12722. * config/rs6000/{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3
  12723. synonym for 630. Add power4. Remove embedded processors. Use -m604
  12724. assembler option.
  12725. (CPP_CPU_SPEC): Add power3 and power4.
  12726. (PROCESSOR_DEFAULT): Change to 604e.
  12727. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Similar additions.
  12728. (CPP_CPU_SPEC): Similar additions.
  12729. (enum process_type): Add POWER4.
  12730. (RTX_COSTS): Add POWER4.
  12731. (CPP_CPU_SPEC): Similar additions.
  12732. * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define.
  12733. (PROCESSOR_DEFAULT64): Define.
  12734. * config/rs6000/rs6000.c (rs6000_override_options): Add power4.
  12735. (rs6000_adjust_cost): Add 603, 604, 604e, 620, 630, Power4 to
  12736. branch adjustment.
  12737. (rs6000_issue_rate): Add Power4.
  12738. * config/rs6000/rs6000.md (cpu attr): Add power4.
  12739. (iu compare): Remove 604, 604e, 620, 630.
  12740. Add basic Power4 scheduling information.
  12741. (mfcr/mtcrf): Change type attribute to cr_logical.
  12742. 2002-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  12743. * gengtype.h (error_at_line): Use PARAMS, not VPARAMS. Add
  12744. ATTRIBUTE_PRINTF_2.
  12745. * gengtype-lex.l: Fix format specifier warning.
  12746. * genautomata.c: Don't include ctype.h or limits.h. Use ISSPACE,
  12747. not isspace.
  12748. * gengtype-lex.l: Don't include ctype.h and use ISSPACE/ISIDNUM in
  12749. lieu of isspace/IDchar.
  12750. * gengtype.c: Likewise for ctype.h and ISALNUM vs isalnum.
  12751. * read-rtl.c: Likewise for ctype.h. Don't define ISDIGIT or
  12752. ISSPACE.
  12753. 2002-06-08 Zack Weinberg <zack@codesourcery.com>
  12754. * Makefile.in (LIBCPP_OBJS): Take out version.o.
  12755. * cpphash.h (cpp_reader): Take out print_version member.
  12756. * cppinit.c: (cpp_handle_option): Don't do anything with
  12757. -version. Just set help_only for --version, --target-help.
  12758. Just set verbose option for -v.
  12759. (cpp_post_options): Don't print a version string.
  12760. 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
  12761. * config/avr/avr.c (TARGET_SECTION_TYPE_FLAGS): New.
  12762. (avr_section_type_flags): New, handle .noinit* sections.
  12763. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12764. * config/sh/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define
  12765. and include netbsd_entry_point.
  12766. (SUBTARGET_LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
  12767. (NETBSD_ENTRY_POINT): Define.
  12768. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12769. * config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty
  12770. if not already defined.
  12771. (EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS.
  12772. 2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
  12773. * config/avr/avr.c (avr_regs_to_save): No need to save any registers
  12774. in a noreturn function.
  12775. (avr_output_function_prologue, avr_output_function_epilogue):
  12776. Correct function size calculation. Do not crash on empty function.
  12777. (avr_output_function_epilogue): No need for epilogue after a BARRIER.
  12778. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12779. * config/mips/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
  12780. netbsd_link_spec and netbsd_entry_point.
  12781. (LINK_SPEC): Use %(netbsd_link_spec).
  12782. (NETBSD_ENTRY_POINT): Define.
  12783. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12784. * config/sparc/netbsd-elf.h (LINK_ARCH32_SPEC): Only specify
  12785. linker emulation.
  12786. (LINK_ARCH64_SPEC): Likewise.
  12787. (LINK_SPEC, NETBSD_ENTRY_POINT): Define.
  12788. (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.
  12789. 2002-06-08 Marc Espie <espie@openbsd.org>
  12790. * lists.c (free_list): Fix typo in comment.
  12791. 2002-06-08 Andreas Jaeger <aj@suse.de>
  12792. * lcm.c (optimize_mode_switching): Add unused attribute for
  12793. variable.
  12794. * sched-deps.c (sched_analyze): Remove unused variable.
  12795. 2002-06-08 Gabriel Dos Reis <gdr@codesourcery.com>
  12796. * diagnostic.def: Don't capitalize diagnostict descriptors.
  12797. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12798. * config/m68k/netbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point.
  12799. (LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
  12800. (NETBSD_ENTRY_POINT): Define.
  12801. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12802. * config/i386/netbsd-elf.h (LINK_SPEC): Define as
  12803. NETBSD_LINK_SPEC_ELF.
  12804. (SUBTARGET_EXTRA_SPECS): Add netbsd_entry_point.
  12805. (NETBSD_ENTRY_POINT): Define.
  12806. * config/i386/netbsd64.h (LINK_SPEC): Use %(netbsd_link_spec).
  12807. (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and
  12808. netbsd_entry_point.
  12809. (NETBSD_ENTRY_POINT): Define.
  12810. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12811. * config/alpha/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
  12812. netbsd_link_spec and netbsd_entry_point.
  12813. (LINK_SPEC): Use %(netbsd_link_spec).
  12814. (NETBSD_ENTRY_POINT): Define.
  12815. 2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
  12816. * config/netbsd-elf.h (LINK_SPEC): Rename to...
  12817. (NETBSD_LINK_SPEC_ELF): ...this. Use %(netbsd_entry_point)
  12818. to specify program entry point.
  12819. 2002-06-07 Jeff Law <law@redhat.com
  12820. * emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
  12821. * combine.c (move_deaths): Use regno_reg_rtx for hard regs rather
  12822. than creating a new register.
  12823. (distribute_notes): Likewise.
  12824. * df.c (df_reg_use_gen): Likewise.
  12825. (df_reg_clobber_gen): Likewise.
  12826. (df_ref_record): Likewise.
  12827. * expr.c (use_regs): Likewise.
  12828. * flow.c (propagate_one_insn): Likewise.
  12829. (mark_set_1): Likewise.
  12830. (mark_used_reg): Likewise.
  12831. * reload.c (emit_reload_insns): Likewise.
  12832. 2002-06-07 Roger Sayle <roger@eyesopen.com>
  12833. * simplify-rtx.c (simplify_gen_relational): Simplify RTL of the form
  12834. (ne (comp x y) 0) into (comp x y) where comp is a comparison code.
  12835. Simplify (eq (comp x y) 0) into (revcomp x y) if the sense of the
  12836. comparison code comp can be reversed.
  12837. 2002-06-07 Roger Sayle <roger@eyesopen.com>
  12838. * fold-const.c (fold) [EQ_EXPR]: Place both integer and real
  12839. constants last in comparisons. Optimize (x+1.0)>0.0 into the
  12840. equivalent x > -1.0 when -ffast-math.
  12841. 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
  12842. * config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
  12843. * config/mips/t-netbsd: New file.
  12844. 2002-06-07 Zack Weinberg <zack@codesourcery.com>
  12845. * cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W
  12846. options their own entries.
  12847. (parse_option): Clarify comment.
  12848. (cpp_handle_option): Remove 'ignore' parameter and OPT_W
  12849. special case. Replace if/strcmp chain for -W options with
  12850. use of new OPT_* entries for them.
  12851. (cpp_handle_options): Update to match.
  12852. * cpplib.h: Remove last parameter to cpp_handle_option from prototype.
  12853. * c-decl.c: Update call to cpp_handle_option.
  12854. 2002-06-07 Akim Demaille <akim@epita.fr>
  12855. * gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
  12856. Whitespace changes.
  12857. 2002-06-07 Jeffrey Law <law@redhat.com>
  12858. * sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list
  12859. on empty lists.
  12860. 2002-06-07 H.J. Lu (hjl@gnu.org)
  12861. * configure.in: Add --enable-__cxa_atexit.
  12862. * configure: Regenerated.
  12863. * config.in: Likewise.
  12864. * defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if
  12865. not defined.
  12866. 2002-06-07 Gabriel Dos Reis <gdr@merlin.nerim.net>
  12867. * diagnostic.c (diagnostic_build_prefix): Fix initialization.
  12868. 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
  12869. * config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
  12870. 2002-06-07 Jason Merrill <jason@redhat.com>
  12871. * cppexp.c (num_equality_op): Use a temporary variable to work
  12872. around gcc 3.0.4 bug.
  12873. 2002-06-07 Gabriel Dos Reis <gdr@codesourcery.com>
  12874. * diagnostic.c (diagnostic_build_prefix): Tidy.
  12875. 2002-06-07 Neil Booth <neil@daikokuya.demon.co.uk>
  12876. * cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN,
  12877. scan_parameters, save_replacement_text, replacement_length): New.
  12878. (scan_out_logical_line): Take a macro and save parameters if
  12879. non-NULL.
  12880. (_cpp_logical_line_trad): Update.
  12881. (_cpp_create_trad_definition): Update to handle function-like
  12882. macros.
  12883. * cpplex.c (new_buff): Update.
  12884. (struct dummy, DEFAULT_ALIGNMENT, CPP_ALIGN): Move...
  12885. * cpphash.h: ...here.
  12886. (CPP_ALIGN2, _cpp_save_parameter): New.
  12887. * cppmacro.c (save_parameter): Rename, export.
  12888. (parse_params): Update.
  12889. 2002-06-07 Andreas Jaeger <aj@suse.de>
  12890. * config/mmix/mmix.c: Remove extra broken prototype for
  12891. mmix_init_machine_status.
  12892. 2002-06-06 Geoffrey Keating <geoffk@redhat.com>
  12893. * gengtype.c: Add comments before all the routines.
  12894. 2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
  12895. * config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32
  12896. from and add t-sh64 to ${tmake_file}.
  12897. (sh64*-*-netbsd*): Add t-sh64 to ${tmake_file}.
  12898. * config/sh/t-netbsd-sh5 (LIB1ASMFUNCS): Remove.
  12899. * config/sh/t-netbsd-sh5-32: Remove.
  12900. * config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Use
  12901. MULTILIB_ENDIAN.
  12902. (MULTILIB_DIRNAMES): Define.
  12903. Thu Jun 6 23:14:46 CEST 2002 Jan Hubicka <jh@suse.cz>
  12904. * i386.md (and promoting splitters): Disable QI to SImode promoting
  12905. when doing so changes immediate to be 32bit.
  12906. * rtl.h (emit_*_scope): Declare.
  12907. * emit-rtl.c (emit_*_scope): New global functions.
  12908. (try_split): Copy scope.
  12909. * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
  12910. noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
  12911. noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
  12912. noce_process_if_block, find_cond_trap): Copy scopes.
  12913. * recog.c (peephole2_optimize): likewise.
  12914. 2002-06-06 Jeffrey Law <law@redhat.com>
  12915. * h8300.h (OK_FOR_U): Fix thinko exposed by flag checking.
  12916. Thu Jun 6 21:06:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
  12917. * gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'".
  12918. 2002-06-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  12919. * Makefile.in (TEXI_GCCINSTALL_FILES): Define.
  12920. ($(docdir)/gccinstall.info): New target.
  12921. (info): Depend on it.
  12922. (gccinstall.dvi): New target.
  12923. (dvi): Depend on it.
  12924. * doc/.cvsignore: Ignore new info files.
  12925. * doc/install.texi (@setfilename): Reflect new info filename.
  12926. Thu Jun 6 15:57:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
  12927. * sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P
  12928. on an UNSPEC.
  12929. Thu Jun 6 07:17:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
  12930. PR objc/6834
  12931. * objc/objc-lang.c (LANG_HOOKS_GET_ALIAS_SET): Define to be
  12932. c_common_get_alias_set.
  12933. (LANG_HOOKS_SAFE_FROM_P): Define to be c_safe_from_p.
  12934. 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
  12935. * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): New
  12936. functions.
  12937. * rtl.h (get_first_nonnote_insn, get_last_nonnote_insn): Declare.
  12938. * avr/avr.c (avr_output_function_epilogue): Use above to determine
  12939. function size.
  12940. * pa/pa.c (pa_output_function_prologue): Likewise.
  12941. 2002-06-05 David S. Miller <davem@redhat.com>
  12942. * integrate.c (subst_constants): Handle 'B' RTL format.
  12943. 2002-06-05 Eric Christopher <echristo@redhat.com>
  12944. * varasm.c (make_decl_rtl): Fix comment for removed
  12945. halfpic.c.
  12946. 2002-06-05 Eric Christopher <echristo@redhat.com>
  12947. * Makefile.in: Remove missed halfpic bits.
  12948. 2002-06-05 Eric Christopher <echristo@redhat.com>
  12949. * toplev.c: Remove half-pic.
  12950. * config/mips/mips.c: Ditto.
  12951. * config/mips/mips.h: Ditto. Remove unused defines.
  12952. * config/mips/openbsd.h: Update comment to reflect above.
  12953. * config/mips/mips.md: Remove half-pic constraints.
  12954. * halfpic.h: Delete.
  12955. * halfpic.c: Ditto.
  12956. 2002-06-05 Jeffrey Law <law@redhat.com>
  12957. * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
  12958. rejects (mem (lo_sum (reg) (unspec))), but will allow
  12959. (mem (lo_sum (reg) (symbol_ref)) for PA2.0.
  12960. 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk>
  12961. * cpphash.h (_cpp_create_definition): Update prototype.
  12962. (_cpp_push_text_context, _cpp_create_trad_definition): New.
  12963. ( cpp_lex_identifier_trad): New.
  12964. (_cpp_set_trad_context): New.
  12965. * cppinit.c (cpp_finish_options): Don't conditionalize builtins.
  12966. * cpplib.c (SEEN_EOL): Update.
  12967. (lex_macro_node): Update for -traditional.
  12968. (cpp_push_buffer, _cpp_pop_buffer): Similarly.
  12969. * cppmacro.c (_cpp_create_definition): Split into
  12970. create_iso_definition() and _cpp_create_trad_definition().
  12971. (warn_of_redefinition): Update prototype; handle traditional
  12972. macros.
  12973. (_cpp_push_text_context): New.
  12974. * cpptrad.c (skip_whitespace, push_replacement_text): New.
  12975. (lex_identifier): Call ht_lookup with correct start.
  12976. (_cpp_lex_identifier_tradm _cpp_create_trad_definition,
  12977. _cpp_set_trad_context): New.
  12978. (scan_out_logical_line): Update to handle changing contexts.
  12979. Wed Jun 5 20:42:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
  12980. * config.gcc (sh-*-elf*, sh64*-*-elf*): Unify.
  12981. (shl*-*-elf*): Add.
  12982. * config/sh/t-be (MULTILIB_ENDIAN): Set.
  12983. * config/sh/t-le (MULTILIB_ENDIAN): Likewise.
  12984. * t-sh (MULTILIB_ENDIAN): Set.
  12985. (MULTILIB_OPTIONS): Use it.
  12986. * t-sh64 (MULTILIB_OPTIONS): Likewise.
  12987. (MULTILIB_DIRNAMES): Likewise.
  12988. 2002-06-05 Gabriel Dos Reis <gdr@codesourcery.com>
  12989. * toplev.h (report_error_function): Remove.
  12990. * diagnostic.h (location_t): New datatype.
  12991. (text_info): Likewise.
  12992. (diagnostic_info): Likewise.
  12993. (output_prefix): New macro.
  12994. (diagnostic_last_function_changed): Likewise.
  12995. (diagnostic_set_last_function): Likewise.
  12996. (diagnostic_last_module_changed): Likewise.
  12997. (diagnostic_set_last_module): Likewise.
  12998. (report_diagnostic): Now macro.
  12999. (diagnostic_set_info): Declare.
  13000. * diagnostic.c (report_problematic_module): Rename to
  13001. diagnostic_repor_current_module.
  13002. (set_diagnostic_context): Remove.
  13003. (count_error): Rename to diagnostic_error_count.
  13004. (error_function_changed): Remove.
  13005. (record_last_error_function): Likewise.
  13006. (error_module_changed): Likewise.
  13007. (record_last_error_module): Likewise.
  13008. (context_as_prefix): Rename to diagnostic_build_prefix.
  13009. (flush_diagnostic_buffer): Rename to diagnostic_flush_buffer.
  13010. (diagnostic_set_info): New function.
  13011. * objc/objc-act.c: #include diagnostic.h
  13012. (error_with_ivar): Adjust call to count_error.
  13013. (warn_with_method): Likewise.
  13014. * objc/Make-lang.in (objc-act.o): Depend on diagnostic.h
  13015. 2002-06-05 Bob Wilson <bob.wilson@acm.org>
  13016. * config/xtensa/xtensa.c (xtensa_build_va_list): Use
  13017. lang_hooks.types.make_type instead of make_node; set up
  13018. __va_list_tag type decl.
  13019. (xtensa_builtin_saveregs): Remove broken use of
  13020. RTX_UNCHANGING_P and unnecessary use of MEM_IN_STRUCT_P
  13021. for saved registers; add varargs alias set.
  13022. 2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk>
  13023. config:
  13024. * alpha/gnu.h: Undef TARGET_OS_CPP_BUILTINS.
  13025. * i386/beos-elf.h: Use TARGET_OS_CPP_BUILTINS rather than
  13026. CPP_PREDEFINES and part of CPP_SPEC.
  13027. i386/freebsd-aout.h, i386/gas.h, i386/gnu.h, i386/linux-aout.h,
  13028. i386/linux.h, i386/moss.h, i386/xm-vsta.h: Similarly.
  13029. Wed Jun 5 15:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
  13030. * reg-stack.c (reg_to_stack): Do not call find_basic_blocks.
  13031. 2002-06-05 Alan Modra <amodra@bigpond.net.au>
  13032. * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
  13033. 2002-06-04 Zack Weinberg <zack@codesourcery.com>
  13034. * gengtype-yacc.y: Make sure all rules end with a semicolon.
  13035. 2002-06-04 Bob Wilson <bob.wilson@acm.org>
  13036. * config/xtensa/xtensa.c (xtensa_init_machine_status): Fix
  13037. typo in function prototype and include "ggc.h" header.
  13038. 2002-06-04 Richard Henderson <rth@redhat.com>
  13039. * config/alpha/alpha.c (mode_mask_operand): Simplify without ifdefs.
  13040. (print_operand) ['U']: Likewise.
  13041. (alpha_expand_unaligned_store): Correct constants for 32-bit cross.
  13042. (alpha_expand_unaligned_store_words): Likewise.
  13043. (alpha_expand_builtin_vector_binop): Fix typo.
  13044. (enum alpha_builtin, code_for_builtin): Add remaining ext, ins, msk,
  13045. umulh, and cix insns.
  13046. (one_arg_builtins): Add cix builtins.
  13047. (two_arg_builtins): Add ext, ins, msk, umulh builtins.
  13048. (alpha_expand_builtin): Fix typo in arity.
  13049. * config/alpha/alpha.md (UNSPEC_CTLZ, UNSPEC_CTPOP): New.
  13050. (builtin_extbl, builtin_extwl, builtin_extll, builtin_extwh,
  13051. builtin_extlh, builtin_insbl, builtin_inswl, builtin_insll,
  13052. builtin_insql, builtin_inswh, builtin_inslh, builtin_insqh,
  13053. builtin_mskbl, builtin_mskwl, builtin_mskll, builtin_mskql,
  13054. builtin_mskwh, builtin_msklh, builtin_mskqh, builtin_cttz,
  13055. builtin_ctlz, builtin_ctpop): New.
  13056. * doc/extend.texi (Alpha Built-in Functions): Update.
  13057. 2002-06-04 Geoffrey Keating <geoffk@redhat.com>
  13058. * gengtype.c (write_gc_root): Don't unnecessarily prevent
  13059. global variable-length arrays being roots.
  13060. * config.gcc (powerpc-*-darwin*): Set config_gtfiles.
  13061. * configure.in (config_gtfiles): New variable.
  13062. (all_gtfiles): Initialize from config_gtfiles.
  13063. * configure: Regenerate.
  13064. 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk>
  13065. config/i386:
  13066. * beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h,
  13067. i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h,
  13068. mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h,
  13069. sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h,
  13070. win32.h (CPP_SPEC): Remove cpp_cpu.
  13071. * i386.h (TARGET_CPU_CPP_BUILTINS): Use.
  13072. (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die!
  13073. 2002-06-04 Janis Johnson <janis187@us.ibm.com>
  13074. * config/ia64/ia64.c (gen_thread_pointer): Fix variable name.
  13075. 2002-06-04 Jeff Law <law@redhat.com.
  13076. David Edelsohn <edelsohn@gnu.org>
  13077. Michael Matz <matz@kde.org>
  13078. * sched-int.h (struct deps): New field libcall_block_tail_insn.
  13079. * sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
  13080. * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
  13081. is set, then mark the current insn as being part of a libcall
  13082. scheduling group.
  13083. (sched_analyze): Set and clear libcall_block_tail_insn appropriately.
  13084. * haifa-sched.c (schedule_block): Do not count USE or CLOBBER
  13085. insns against the issue rate.
  13086. Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>
  13087. * cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes.
  13088. * final.c (final_scan_insn): Likewise.
  13089. * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use
  13090. NOTE_EXPECTED_VALUE instead of NOTE_RANGE.
  13091. * haifa-sched.c (unlink_other_notes): Likeewise.
  13092. (reemit_notes): Likewise.
  13093. * print-rtl.c (print_rtx): Likewise.
  13094. * sched-deps (sched-analyze): Likewise.
  13095. * rtl.c (note_insn_name): Likewise.
  13096. * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill.
  13097. (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE.
  13098. (RANGE_*): Kill.
  13099. 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
  13100. * varasm.c (mark_constants): Handle RTX format 'B'.
  13101. 2002-06-04 Neil Booth <neil@daikokuya.demon.co.uk>
  13102. * cpphash.h (FIRST, LAST, CUR, RLIMIT): New.
  13103. (struct cpp_context): Add traditional fields.
  13104. * cppmacro.c (paste_all_tokens, push_ptoken_context,
  13105. push_token_context, cpp_get_token, _cpp_backup_tokens): Update.
  13106. * cpptrad.c (skip_comment, lex_identifier,
  13107. _cpp_read_logical_line_trad, scan_out_logical_line): Update.
  13108. 2002-06-04 Kazu Hirata <kazu@cs.umass.edu>
  13109. * gbl-ctors.h: Fix formatting.
  13110. * gcc.c: Likewise.
  13111. * gccspec.c: Likewise.
  13112. * gcov.c: Likewise.
  13113. * gcov-io.h: Likewise.
  13114. * gcse.c: Likewise.
  13115. * ggc-common.c: Likewise.
  13116. * ggc.h: Likewise.
  13117. * ggc-page.c: Likewise.
  13118. * ggc-simple.c: Likewise.
  13119. * global.c: Likewise.
  13120. * graph.h: Likewise.
  13121. * gthr-dce.h: Likewise.
  13122. * gthr.h: Likewise.
  13123. * gthr-posix.h: Likewise.
  13124. * gthr-rtems.h: Likewise.
  13125. * gthr-solaris.h: Likewise.
  13126. * gthr-win32.h: Likewise.
  13127. 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
  13128. Merge from pch-branch:
  13129. * gengtype.h (UNION_OR_STRUCT_P): New macro.
  13130. * gengtype.c (write_gc_structure_fields): Use it.
  13131. (write_gc_root): Use it here too.
  13132. * gengtype.c (write_gc_structure_fields): Assume that lengths
  13133. of typenames fit into an 'int'; don't pass a size_t to "%d" in
  13134. printf.
  13135. (write_gc_marker_routine_for_structure): Likewise.
  13136. (write_gc_types): Likewise.
  13137. (write_gc_root): Likewise.
  13138. * varray.h (VARRAY_CLEAR): New.
  13139. (varray_clear): Prototype.
  13140. * varray.c (varray_clear): New.
  13141. * cselib.c (reg_values_old): New.
  13142. (used_regs_old): New.
  13143. (cselib_init): Use cached varrays if available to avoid
  13144. generating large amounts of garbage.
  13145. (cselib_finish): Don't throw away old varrays.
  13146. * final.c (insn_addresses_): Move out of ifdef.
  13147. * varray.c (uses_ggc): Make more varray kinds GCable.
  13148. * varray.h (union varray_data_tag): Let gengtype see
  13149. fields 'generic' and 'te'.
  13150. * reg-stack.c: Include gt-reg-stack.h, ggc.h.
  13151. (stack_regs_mentioned_data): Move out of ifdef; mark with gengtype.
  13152. (reg_to_stack): Don't call VARRAY_FREE.
  13153. * insn-addr.h (INSN_ADDRESSES_FREE): Don't use VARRAY_FREE.
  13154. (insn_addresses_): Use gengtype to mark.
  13155. * gengtype.c (write_gc_structure_fields): Handle arrays of generic
  13156. pointers; handle generic pointers in unused union fields.
  13157. (get_output_file_with_visibility): Include cselib.h,
  13158. insn-addr.h in gtype-desc.c.
  13159. * function.c (prologue): Use gengtype to mark.
  13160. (epilogue): Likewise.
  13161. (sibcall_epilogue): Likewise.
  13162. * dependence.c: Include gt-dependence.h, ggc.h.
  13163. (struct def_use): Use gengtype to mark.
  13164. (struct loop): Likewise.
  13165. (struct induction): Likewise.
  13166. (struct dependence): Likewise.
  13167. (def_use_chain): Likewise.
  13168. (dep_chain): Likewise.
  13169. (loop_chain): Likewise.
  13170. (induction_chain): Likewise.
  13171. (init_dependence_analysis): Don't free anything, just clear pointers.
  13172. (build_def_use): Use GGC to allocate def_use.
  13173. (add_loop): Use GGC to allocate loop.
  13174. (find_induction_variable): Use GGC to allocate induction.
  13175. (check_node_dependence): Use GGC to allocate induction, dependence.
  13176. (dump_node_dependence): Don't free varrays.
  13177. (end_dependence_analysis): Likewise.
  13178. * cselib.h (struct cselib_val_struct): Use gengtype to mark.
  13179. (struct elt_loc_list): Likewise.
  13180. (struct elt_list): Likewise.
  13181. * cselib.c: Don't include obstack.h.
  13182. (hash_table): Use gengtype to mark.
  13183. (reg_values): Use gengtype to mark.
  13184. (used_regs): Use gengtype to mark.
  13185. (cselib_obstack): Delete.
  13186. (cselib_startobj): Delete.
  13187. (empty_vals): Mark as deletable.
  13188. (empty_elt_lists): Mark as deletable.
  13189. (empty_elt_loc_lists): Mark as deletable.
  13190. (new_elt_list): Use GGC to allocate struct elt_list.
  13191. (new_elt_loc_list): Use GGC to allocate struct elt_loc_list.
  13192. (clear_table): Don't delete obstack; don't unnecessarily clear
  13193. deletable variables.
  13194. (new_cselib_val): Use GGC to allocate struct cselib_val.
  13195. (cselib_init): Don't set up obstacks. Use GGC to allocate
  13196. hash table.
  13197. (cselib_finish): Just clear variables, don't free anything.
  13198. * Makefile.in (cselib.o): Remove dependency on $(OBSTACK_H).
  13199. (reg-stack.o): Add dependency on gt-reg-stack.h, $(GGC_H).
  13200. (dependence.o): Add dependency on gt-dependence.h, $(GGC_H).
  13201. (GTFILES): Add insn-addr.h, cselib.h, dependence.c, reg-stack.c.
  13202. (gt-reg-stack.h): New rule.
  13203. (gt-dependence.h): New rule.
  13204. (gtype-desc.o): Add cselib.h, insn-addr.h.
  13205. * varray.c: Use only necessary headers.
  13206. (element_size): New.
  13207. (uses_ggc): New.
  13208. (varray_init): Take type, not size. Use GGC if appropriate.
  13209. (varray_grow): Update for change to struct varray_head_tag.
  13210. Use GGC if appropriate.
  13211. * varray.h (struct const_equiv_data): Use gengtype.
  13212. (enum varray_data_enum): New.
  13213. (union varray_data_tag): Use gengtype.
  13214. (struct varray_head_tag): Use gengtype. Replace size field with
  13215. enum varray_data_enum.
  13216. (varray_init): Update prototype.
  13217. (VARRAY_SCHED_INIT): Delete.
  13218. (VARRAY_*_INIT): Update for change to varray_init.
  13219. (VARRAY_SCHED): Delete.
  13220. (VARRAY_PUSH_SCHED): Delete.
  13221. (VARRAY_TOP_SCHED): Delete.
  13222. * tree.h: Update for change to length specifier.
  13223. * tree-inline.c (optimize_inline_calls): Don't use VARRAY_FREE.
  13224. (clone_body): Likewise.
  13225. * ssa.h (ssa_definition): Use gengtype to mark.
  13226. * ssa.c (convert_from_ssa): Don't use VARRAY_FREE.
  13227. * ssa-dce.c (ssa_eliminate_dead_code): Don't use VARRAY_FREE.
  13228. * rtl.h (struct rtvec_def): Update for change to length specifier.
  13229. * integrate.c (expand_inline_function): Don't use VARRAY_FREE.
  13230. (struct initial_value_struct): Update for change to length specifier.
  13231. * ggc.h (ggc_add_rtx_varray_root): Delete prototype.
  13232. (ggc_add_tree_varray_root): Delete prototype.
  13233. (ggc_mark_rtx_varray): Delete prototype.
  13234. (ggc_mark_tree_varray): Delete prototype.
  13235. * ggc-common.c (ggc_add_rtx_varray_root): Delete.
  13236. (ggc_add_tree_varray_root): Delete.
  13237. (ggc_mark_rtx_varray): Delete.
  13238. (ggc_mark_tree_varray): Delete.
  13239. (ggc_mark_rtx_varray_ptr): Delete.
  13240. (ggc_mark_tree_varray_ptr): Delete.
  13241. * gengtype.h (enum typekind): Remove TYPE_VARRAY.
  13242. (create_varray): Delete prototype.
  13243. * gengtype.c (varrays): Delete.
  13244. (create_varray): Delete.
  13245. (adjust_field_type): Detect array of string pointers.
  13246. (process_gc_options): Remove code to handle varray_type option.
  13247. (set_gc_used_type): Remove TYPE_VARRAY case.
  13248. (output_escaped_param): New.
  13249. (write_gc_structure_fields): Use output_escaped_param on all
  13250. parameters. Handle 'skip' with 'use_param' option. Handle
  13251. arrays of strings. Remove TYPE_VARRAY handling.
  13252. (write_gc_roots): Use boolean to detect 'length' option.
  13253. * gengtype-yacc.y (VARRAY_TYPE): Delete token.
  13254. (struct_fields): Call adjust_field_type on array fields.
  13255. (type): Remove VARRAY_TYPE case.
  13256. (type_option): Likewise.
  13257. * gengtype-lex.l: Don't consider varray_type a keyword.
  13258. * function.h: Update for change to length specifier.
  13259. (free_eh_status): Delete prototype.
  13260. * function.c (free_after_compilation): Don't call free_eh_status.
  13261. (reorder_blocks): Don't use VARRAY_FREE.
  13262. * except.c (struct eh_status): Update for change to length specifier.
  13263. remove varray_type specifier.
  13264. (free_eh_status): Delete.
  13265. * dwarf2out.c: Include gt-dwarf2out.h.
  13266. (used_rtx_varray): Use gengtype to mark, move
  13267. outside ifdefs.
  13268. (incomplete_types): Likewise.
  13269. (decl_scope_table): Likewise.
  13270. (dwarf2out_init): Don't call ggc_add_tree_varray_root.
  13271. * cfglayout.c (scope_to_insns_finalize): Don't use VARRAY_FREE.
  13272. * c-tree.h (struct lang_type): Update for change to length specifier.
  13273. * c-parse.in (yylexstring): Don't use VARRAY_FREE.
  13274. * c-objc-common.c: Include gt-c-objc-common.h.
  13275. (deferred_fns): Mark for gengtype.
  13276. (c_objc_common_init): Don't call ggc_add_tree_varray_root.
  13277. (expand_deferred_fns): Just set deferred_fns to 0 to free it.
  13278. * Makefile.in (c-objc-common.o): Add gt-c-objc-common.h.
  13279. (gtype-desc.o): Update dependencies.
  13280. (dwarf2out.o): Add gt-dwarf2out.h.
  13281. (varray.o): Update dependencies.
  13282. (GTFILES): Add varray.h, ssa.h, dwarf2out.c, c-objc-common.c.
  13283. (gt-c-objc-common.h): New rule.
  13284. (gt-dwarf2out.h): New rule.
  13285. * objc/objc-act.c (build_objc_string_object): Don't use VARRAY_FREE.
  13286. * doc/gty.texi (GTY Options): Correct spelling.
  13287. (GGC Roots): Likewise.
  13288. * Makefile.in (TEXI_CPP_FILES): New.
  13289. (TEXI_GCC_FILES): New.
  13290. (TEXI_GCCINT_FILES): New.
  13291. (TEXI_CPPINT_FILES): New.
  13292. ($(docdir)/cpp.info): Use new macros.
  13293. ($(docdir)/gcc.info): Likewise.
  13294. ($(docdir)/gccint.info): Likewise.
  13295. ($(docdir)/cppinternals.info): Likewise.
  13296. (cpp.dvi): Likewise.
  13297. (gcc.dvi): Likewise.
  13298. (gccint.dvi): Likewise.
  13299. (cppinternals.dvi): Likewise.
  13300. * Makefile.in ($(docdir)/gccint.info): Depend on gty.texi.
  13301. * doc/gccint.texi (Top): Include gty.texi.
  13302. * doc/gty.texi: New file.
  13303. * bitmap.c: Include ggc.h, gt-bitmap.h.
  13304. (bitmap_ggc_free): New.
  13305. (bitmap_elem_to_freelist): New.
  13306. (bitmap_element_free): Use bitmap_elem_to_freelist.
  13307. (bitmap_element_allocate): Allow use of GGC.
  13308. (bitmap_clear): Use bitmap_elem_to_freelist.
  13309. (bitmap_copy): Update for change to bitmap_element_allocate.
  13310. (bitmap_set_bit): Likewise.
  13311. (bitmap_operation): Update for changes elsewhere.
  13312. (bitmap_initialize): Allow to create bitmaps that will use GGC.
  13313. * bitmap.h (struct bitmap_element_def): Use gengtype.
  13314. (struct bitmap_head_def): Likewise. Also add 'using_obstack' field.
  13315. (bitmap_initialize): Add extra parameter.
  13316. (BITMAP_OBSTACK_ALLOC): Update for change to bitmap_initialize.
  13317. (BITMAP_ALLOCA): Delete.
  13318. (BITMAP_XMALLOC): Update for change to bitmap_initialize.
  13319. (BITMAP_GGC_ALLOC): New.
  13320. * Makefile.in (gtype-desc.o): Add bitmap.h.
  13321. (bitmap.o): Add gt-bitmap.h, $(GGC_H).
  13322. (GTFILES): Add bitmap.c.
  13323. (gt-bitmap.h): New rule.
  13324. ($(HOST_PREFIX_1)bitmap.o): Add gt-bitmap.h.
  13325. * basic-block.h: Update for changes to bitmap_initialize.
  13326. * except.c (exception_handler_label_map): Move into...
  13327. (struct eh_status): Here.
  13328. (struct eh_region): Make 'aka' GCable.
  13329. (free_eh_status): Don't need to specially handle
  13330. exception_handler_label_map.
  13331. (add_ehl_entry): Update for changes to exception_handler_label_map.
  13332. (find_exception_handler_labels): Likewise.
  13333. (remove_exception_handler_label): Likewise.
  13334. (maybe_remove_eh_handler): Likewise.
  13335. (for_each_eh_label): Likewise.
  13336. (remove_eh_handler): Allocate 'aka' using GGC.
  13337. * gengtype.c (get_output_file_with_visibility): Add bitmap.h
  13338. to list of includes.
  13339. * gengtype.c (write_gc_marker_routine_for_structure): Name
  13340. the routines 'gt_ggc_mx_*' instead of 'gt_ggc_m_*'.
  13341. (write_gc_types): Arrange for the tests with NULL to be inlined.
  13342. (write_gc_roots): Update uses of procedure pointers.
  13343. * ggc-common.c (gt_ggc_mx_rtx_def): Rename from gt_ggc_m_rtx_def.
  13344. * Makefile.in (explow.o): Add dependency on gt-explow.h.
  13345. (sdbout.o): Add dependency on gt-sdbout.h.
  13346. * emit-rtl.c (const_int_htab): Use gengtype to clear unused entries.
  13347. (mem_attrs_htab): Likewise.
  13348. (init_emit_once): Don't call ggc_add_deletable_htab.
  13349. * fold-const.c (size_htab): Use gengtype to clear unused entries.
  13350. (size_int_type_wide): Don't call ggc_add_deletable_htab.
  13351. * gengtype.c (finish_root_table): Add LASTNAME and TNAME
  13352. parameters, use them, change callers.
  13353. (write_gc_root): Add IF_MARKED parameter, use it, change callers.
  13354. (write_gc_roots): Handle 'if_marked' option.
  13355. (main): Don't need to call set_gc_used_type any more.
  13356. * ggc.h (ggc_htab_marked_p): Delete.
  13357. (ggc_htab_mark): Delete.
  13358. (struct ggc_cache_tab): New.
  13359. (gt_ggc_cache_rtab): New declaration.
  13360. * ggc-common.c (struct d_htab_root): Delete.
  13361. (d_htab_roots): Delete.
  13362. (ggc_add_deletable_htab): Delete.
  13363. (ggc_htab_delete): Handle new htab-deleting mechanism.
  13364. (ggc_mark_roots): Use new htab-deleting mechanism.
  13365. * tree.c (type_hash_table): Use gengtype to clear unused entries.
  13366. Make static.
  13367. (init_obstacks): Don't call ggc_add_deletable_htab.
  13368. * objc/objc-act.h (struct hashed_attribute): Use gengtype.
  13369. (struct hashed_entry): Likewise.
  13370. (nst_method_hash_list): Likewise.
  13371. (cls_method_hash_list): Likewise.
  13372. (HASH_ALLOC_LIST_SIZE): Delete.
  13373. (ATTR_ALLOC_LIST_SIZE): Delete.
  13374. * objc/objc-act.c (hash_init): Use ggc to allocate
  13375. nst_method_hash_list, cls_method_hash_list.
  13376. (hash_enter): Use ggc to allocate; allocate one entry at a time.
  13377. (hash_add_attr): Likewise.
  13378. (ggc_mark_hash_table): Delete.
  13379. (objc_act_parse_init): Delete.
  13380. (objc_init): Delete reference to objc_act_parse_init.
  13381. * tlink.c: Replace hash.h with hashtab.h. Explicitly include
  13382. obstack.h. Replace references to 'struct hash_table' with htab_t.
  13383. (struct symbol_hash_entry): Replace hash header with key field.
  13384. (struct file_hash_entry): Replace hash header with key field.
  13385. (struct demangled_hash_entry): Replace hash header with key field.
  13386. (hash_string_eq): New.
  13387. (hash_string_hash): New.
  13388. (symbol_hash_newfunc): Delete.
  13389. (symbol_hash_lookup): Modify to use htab_t.
  13390. (file_hash_newfunc): Delete.
  13391. (file_hash_lookup): Modify to use htab_t.
  13392. (demangled_hash_newfunc): Delete.
  13393. (demangled_hash_lookup): Modify to use htab_t.
  13394. (tlink_init): Modify to use htab_t.
  13395. * hash.h: Delete.
  13396. * hash.c: Delete.
  13397. * ggc.h: Delete forward structure declarations.
  13398. Delete prototypes for deleted functions.
  13399. * ggc-common.c: Don't include hash.h.
  13400. (ggc_add_tree_hash_table_root): Delete.
  13401. (ggc_mark_tree_hash_table_entry): Delete.
  13402. (ggc_mark_tree_hash_table): Delete.
  13403. (ggc_mark_tree_hash_table_ptr): Delete.
  13404. * gengtype.c (write_gc_structure_fields): Allow param_is option.
  13405. (write_gc_marker_routine_for_structure): Use visibility of
  13406. the parameter if there is one.
  13407. * function.c: Replace hash.h with hashtab.h. Replace references
  13408. to 'struct hash_table *' with htab_t.
  13409. (struct insns_for_mem_entry): Include a plain key.
  13410. (fixup_var_refs_insns_with_hash): Update to use htab_t.
  13411. (insns_for_mem_newfunc): Delete.
  13412. (insns_for_mem_hash): Update to use htab_t.
  13413. (insns_for_mem_comp): Likewise.
  13414. (insns_for_mem_walk): Likewise.
  13415. * c-lang.c: Include ggc.h.
  13416. * Makefile.in (OBJS): Remove hash.o.
  13417. (c-lang.o): Add GGC_H.
  13418. (COLLECT2_OBJS): Remove hash.o.
  13419. (tlink.o): Remove hash.h, add HASHTAB_H and OBSTACK_H.
  13420. (ggc-common.o): Remove hash.h.
  13421. (function.o): Remove hash.h, add HASHTAB_H.
  13422. (genautomata.o): Remove hash.h, add HASHTAB_H.
  13423. * varasm.c (mark_const_str_htab_1): Delete.
  13424. (mark_const_str_htab): Delete.
  13425. (const_str_htab_del): Delete.
  13426. (const_str_htab): Use gengtype to mark.
  13427. (init_varasm_once): Use gengtype to mark hashtables. Use GC to
  13428. allocate them.
  13429. * tree.c (mark_tree_hashtable_entry): Delete.
  13430. (mark_tree_hashtable): Delete.
  13431. * tree.h (mark_tree_hashtable): Delete prototype.
  13432. * ggc.h (ggc_test_and_set_mark): Treat (void *)1 like NULL.
  13433. (ggc_mark): Likewise.
  13434. (ggc_calloc): New.
  13435. (htab_create_ggc): New.
  13436. * ggc-common.c (ggc_calloc): New.
  13437. * gengtype.h (enum typekind): Add TYPE_PARAM_STRUCT.
  13438. (struct type): Add param_struct structure.
  13439. * gengtype.c (param_structs): New.
  13440. (adjust_field_type): Handle param_is option.
  13441. (set_gc_used_type): Handle TYPE_PARAM_STRUCT.
  13442. (get_output_file_with_visibility): Include hashtab.h in gtype-desc.c.
  13443. (write_gc_structure_fields): Add new PARAM parameter. Update
  13444. callers. Handle use_param option. Handle TYPE_PARAM_STRUCT.
  13445. (write_gc_marker_routine_for_structure): Add new PARAM parameter.
  13446. Use it to generate function name. Update callers.
  13447. (write_gc_types): Add new PARAM_STRUCTS parameter. Update callers.
  13448. Process them.
  13449. (write_gc_roots): Handle TYPE_PARAM_STRUCT. Allow param_is
  13450. option.
  13451. (main): Define PTR as pointer-to-scalar. Don't specially
  13452. mark deferred_string or ehl_map_entry.
  13453. * gengtype-yacc.y (PARAM_IS): Add new token.
  13454. (externstatic): Use adjust_field_type.
  13455. (type_option): Add PARAM_IS.
  13456. * gengtype-lex.l: Add rule for typedef of function pointers.
  13457. Add rule for PARAM_IS.
  13458. (IWORD): Add size_t.
  13459. * except.c (exception_handler_label_map): Use gengtype to mark.
  13460. (type_to_runtime_map): Likewise.
  13461. (mark_ehl_map_entry): Delete.
  13462. (mark_ehl_map): Delete.
  13463. (init_eh): Use gengtype for roots; use GC to allocate hash tables.
  13464. (t2r_mark_1): Delete.
  13465. (t2r_mark): Delete.
  13466. * Makefile.in (gtype-desc.o): Correct dependencies.
  13467. (GTFILES): Add hashtab.h.
  13468. (genautomata.o): Actually uses hashtab.h.
  13469. * Makefile.in (stringpool.o): Add $(GGC_H).
  13470. (dwarf2asm.o): Likewise.
  13471. (GTFILES): Add hashtable.h.
  13472. * c-common.h (struct c_common_identifier): Use gengtype.
  13473. * c-decl.h (c_mark_tree): Delete.
  13474. * c-lang.c (LANG_HOOKS_MARK_TREE): Delete.
  13475. * c-tree.h (struct lang_identifier): Use gengtype.
  13476. (union lang_tree_node): New.
  13477. (c_mark_tree): Delete prototype.
  13478. * dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy
  13479. dwarf2_debug_hooks.
  13480. * gengtype-lex.l (IWORD): Allow 'bool'.
  13481. (ptr_alias): Match.
  13482. * gengtype-yacc.y (ALIAS): New token.
  13483. (type_option): New rule.
  13484. (option): Use type_option.
  13485. * gengtype.c (process_gc_options): New.
  13486. (set_gc_used_type): Use it.
  13487. (write_gc_structure_fields): Add 'bitmap' parameter, change callers.
  13488. Add new variable 't' to hold the type of the field being processed.
  13489. Add more error checking. Use UNION_P when looking at 'desc' option.
  13490. Handle language-specific structures containing other
  13491. language-specific structures.
  13492. (write_gc_types): Handle 'ptr_alias' option.
  13493. (main): Don't need to specially output lang_type, lang_decl, lang_id2.
  13494. * ggc-common.c (ggc_pending_trees): Delete.
  13495. (ggc_mark_roots): Don't manipulate ggc_pending_trees.
  13496. (ggc_mark_trees): Delete.
  13497. (gt_ggc_m_tree_node): Delete.
  13498. * ggc.h (ggc_pending_trees): Delete.
  13499. (ggc_mark_tree): Make alias of gt_ggc_m_tree_node.
  13500. * hashtable.h (ht_identifier): Use gengtype.
  13501. * langhooks-def.h (LANG_HOOKS_MARK_TREE): Delete.
  13502. * langhooks.h (struct lang_hooks): Delete mark_tree.
  13503. * sdbout.c [! SDB_DEBUGGING_INFO]: Define dummy sdb_debug_hooks
  13504. anyway.
  13505. * system.h: Poison LANG_HOOKS_MARK_TREE.
  13506. * tree.c (tree_node_structure): New.
  13507. * tree.h (struct tree_common): Use gengtype.
  13508. (struct tree_int_cst): Likewise.
  13509. (struct tree_real_cst): Likewise.
  13510. (struct tree_string): Likewise.
  13511. (struct tree_complex): Likewise.
  13512. (struct tree_vector): Likewise.
  13513. (struct tree_identifier): Likewise.
  13514. (struct tree_list): Likewise.
  13515. (struct tree_vec): Likewise.
  13516. (struct tree_exp): Likewise.
  13517. (struct tree_block): Likewise.
  13518. (struct tree_type): Likewise.
  13519. (struct tree_decl): Likewise.
  13520. (enum tree_structure_enum): New.
  13521. (union tree_node): Use gengtype, with an alias.
  13522. (tree_node_structure): Prototype.
  13523. * objc/objc-lang.c (LANG_HOOKS_MARK_TREE): Delete.
  13524. Merge to tag pch-merge-20020430. The LANG_HOOKS_FUNCTION_MARK
  13525. macro was deleted. The LANG_HOOKS_FUNCTION_FREE macro was renamed
  13526. to LANG_HOOKS_FUNCTION_FINAL.
  13527. * Makefile.in (GTFILES): Add bitmap.h.
  13528. * except.c (struct eh_region): Mark field 'aka' to be skipped.
  13529. * config/alpha/alpha.c [TARGET_ABI_UNICOSMK]
  13530. (alpha_init_machine_status): Give proper type.
  13531. * Makefile.in (c-lang.o): Depend on gtype-c.h.
  13532. (optabs.o): Depend on gt-optabs.h.
  13533. (GTFILES): Add optabs.o.
  13534. (gt-optabs.h): Add rule.
  13535. * optabs.c: Include gt-optabs.h.
  13536. * gengtype.c (set_gc_used_type): Correct some errors in last change.
  13537. (write_gc_structure_fields): If a field which should be NULL is
  13538. not, abort.
  13539. * c-pragma.c: Move struct align_stack and variable alignment_stack
  13540. out from the ifdef.
  13541. * config/xtensa/t-xtensa: Add dependencies for gt-xtensa.h.
  13542. * config/xtensa/xtensa.c: Include gt-cris.h.
  13543. (struct machine_function): Use gengtype to mark.
  13544. * config/mmix/mmix.h (struct machine_function): Use gengtype
  13545. to mark.
  13546. * config/cris/t-cris: Add dependencies for gt-cris.h.
  13547. * config/cris/cris.c: Include gt-cris.h.
  13548. (struct machine_function): Use gengtype to mark.
  13549. * config/rs6000/rs6000.h (struct machine_function): Use gengtype
  13550. to mark.
  13551. * doc/tm.texi (Per-Function Data): Delete references to
  13552. mark_machine_status.
  13553. * config/ia64/ia64.c (ia64_override_options): Don't set
  13554. mark_machine_status.
  13555. * config/i386/i386.c (override_options): Likewise.
  13556. * config/d30v/d30v.c (d30v_init_expanders): Likewise.
  13557. * config/arm/arm.c (arm_init_expanders): Likewise.
  13558. * config/alpha/alpha.c (override_options): Likewise.
  13559. * gengtype.h (enum gc_used_enum): Add GC_MAYBE_POINTED_TO.
  13560. * gengtype.c (set_gc_used_type): Handle 'maybe_null' option.
  13561. (write_gc_structure_fields): Don't handle 'really' option.
  13562. Handle 'maybe_null' option.
  13563. (write_gc_types): Handle 'maybe_null' option.
  13564. * function.h (struct function): Don't use "really".
  13565. (mark_machine_status): Delete declaration.
  13566. (mark_lang_status): Delete declaration.
  13567. (gt_ggc_mr_machine_function): Delete prototype.
  13568. (gt_ggc_mr_language_function): Delete prototype.
  13569. * function.c (mark_machine_status): Delete.
  13570. (mark_lang_status): Delete.
  13571. (gt_ggc_mr_machine_function): Delete.
  13572. (gt_ggc_mr_language_function): Delete.
  13573. * c-tree.h (mark_c_function_context): Delete prototype.
  13574. * c-objc-common.c (c_objc_common_init): Don't set mark_lang_status.
  13575. * c-decl.c (struct language_function): Rename from struct
  13576. c_language_function. Update uses. Use gengtype to mark.
  13577. (mark_c_function_context): Delete.
  13578. * c-common.h (struct c_language_function): Rename from struct
  13579. language_function.
  13580. (mark_stmt_tree): Delete prototype.
  13581. (c_mark_lang_decl): Delete prototype.
  13582. (mark_c_language_function): Delete prototype.
  13583. * c-common.c (mark_stmt_tree): Delete.
  13584. (c_mark_lang_decl): Delete.
  13585. (mark_c_language_function): Delete.
  13586. * gengtype.h (enum typekind): Add TYPE_LANG_STRUCT.
  13587. (lang_bitmap): New typedef. Use where appropriate.
  13588. (struct type): Add gc_used field, lang_struct field.
  13589. (UNION_P): New macro.
  13590. (new_structure): New prototype.
  13591. (find_structure): Remove 'pos' parameter. Change all callers.
  13592. * gengtype-lex.l: Update for changes to find_structure.
  13593. * gengtype-yacc.y (typedef_struct): Use new_structure.
  13594. (yacc_ids): Suppress warning.
  13595. (type): Use new_structure.
  13596. * gengtype.c (string_type): Update for changes to struct type.
  13597. (find_structure): Just find a structure, don't worry about
  13598. creating one.
  13599. (new_structure): New.
  13600. (note_yacc_type): Use new_structure.
  13601. (set_gc_used_type): New.
  13602. (set_gc_used): New.
  13603. (write_gc_structure_fields): Allow for pointers to TYPE_LANG_STRUCT.
  13604. (write_gc_types): Handle TYPE_LANG_STRUCT.
  13605. (write_gc_marker_routine_for_structure): New.
  13606. (main): Call set_gc_used. Add some calls to set_gc_used_type
  13607. for places where GCC doesn't use gengtype properly yet.
  13608. * ggc.h (gt_ggc_m_rtx_def): Don't prototype.
  13609. (gt_ggc_m_tree_node): Likewise.
  13610. * varasm.c (copy_constant): Call expand_constant if we hit
  13611. something we can't recognize.
  13612. * ggc-common.c (ggc_mark_rtvec_children): Delete.
  13613. (ggc_mark_rtx_children): Use generic name for ggc_mark_rtvec.
  13614. (lang_mark_false_label_stack): Delete.
  13615. * rtl.h (struct rtvec_def): Use gengtype to mark.
  13616. * ggc.h (ggc_mark_rtvec): Delete.
  13617. (gt_ggc_m_rtvec_def): Delete.
  13618. (ggc_mark_nonnull_tree): Delete.
  13619. (ggc_mark_rtvec_children): Delete prototype.
  13620. (lang_mark_false_label_stack): Delete declaration.
  13621. * gengtype.h (note_yacc_type): Add prototype.
  13622. * gengtype.c (note_yacc_type): New function.
  13623. * gengtype-lex.l: Add lexer support for yacc files.
  13624. * gengtype-yacc.y (start): Extract union from yacc files.
  13625. (yacc_union): New rule.
  13626. (yacc_typematch): New rule.
  13627. (yacc_ids): New rule.
  13628. (enum_items): Tweak for efficiency.
  13629. (optionseq): Likewise.
  13630. * c-common.h (struct language_function): Use gengtype.
  13631. (struct c_lang_decl): Likewise.
  13632. * c-tree.h (struct lang_decl): Likewise.
  13633. (struct lang_type): Likewise.
  13634. * c-decl.c (lang_mark_tree): Use generated marker routines to mark
  13635. tree language substructures.
  13636. * stringpool.c (mark_ident): Replace ggc_mark_nonnull_tree with
  13637. ggc_mark_tree.
  13638. * dwarf2asm.c (mark_indirect_pool_entry): Likewise.
  13639. * varasm.c (struct rtx_const): Remove 'skip' tags for scalar arrays.
  13640. * stmt.c (struct nesting): Add discriminator. Use gengtype to
  13641. mark. Remove 'data.block.cleanup_ptr' field.
  13642. (struct stmt_status): Use usual technique to mark struct nesting.
  13643. (gt_ggc_mr_nesting_cond): Delete.
  13644. (gt_ggc_mr_nesting_loop): Delete.
  13645. (gt_ggc_mr_nesting_block): Delete.
  13646. (gt_ggc_mr_nesting_case_stmt): Delete.
  13647. (expand_start_cond): Set discriminator.
  13648. (expand_start_loop): Likewise.
  13649. (expand_start_null_loop): Likewise.
  13650. (expand_start_bindings_and_block): Set discriminator. Don't set
  13651. deleted fields.
  13652. (expand_decl_cleanup): Replace 'cleanup_ptr' with
  13653. &thisblock->data.block.cleanups.
  13654. (expand_start_case): Set discriminator.
  13655. (expand_start_case_dummy): Set discriminator.
  13656. * ggc-callbacks.c: Remove.
  13657. * gengtype.h (struct type): Add 'u.s.bitmap' field.
  13658. (find_structure): Add 'pos' parameter.
  13659. * gengtype-lex.l: Update callers to find_structure.
  13660. * gengtype-yacc.y: Likewise.
  13661. * gengtype.c (find_structure): Allow for structures to be defined
  13662. in multiple language backends.
  13663. (get_output_file_with_visibility): Include debug.h in gtype-desc.c.
  13664. (counter): Rename to gc_counter.
  13665. (write_gc_structure_fields): Fail when writing out fields for
  13666. an incomplete structure. Ignore arrays of scalars. Handle
  13667. 'tree_vec' special.
  13668. (write_gc_types): Reset counter for each procedure written.
  13669. * stmt.c (add_case_node): Use GGC to allocate struct case_node.
  13670. (free_case_nodes): Delete.
  13671. (expand_end_case_type): Delete call to free_case_nodes.
  13672. * Makefile.in (cselib.o): Include gt-<filename>.h.
  13673. (gcse.o): Likewise.
  13674. (profile.o): Likewise.
  13675. (alias.o): Likewise.
  13676. (GTFILES): Add alias.c, cselib.c, gcse.c, profile.c, and
  13677. alphabetize backend files.
  13678. (gt-alias.h, gt-cselib.h, gt-gcse.h, gt-profile.h): New rules.
  13679. * alias.c: Use gengtype for roots.
  13680. * c-common.h (struct stmt_tree_s): Use gengtype.
  13681. * c-decl.c: Use gengtype for roots.
  13682. * cselib.c: Use gengtype for roots.
  13683. * expr.c: Use gengtype for roots.
  13684. * fold-const.c: Use gengtype for roots.
  13685. * gcse.c: Use gengtype for roots.
  13686. * gengtype-lex.l: Handle typedefs of function types.
  13687. Allow for empty array bounds.
  13688. Allow processing to stop on initializers.
  13689. * gengtype-yacc.y (externstatic): Stop processing on initializers.
  13690. (semiequal): New rule.
  13691. * gengtype.c (create_file): Tidy output files.
  13692. (get_output_file_with_visibility): Fix paren warning. Fix bug
  13693. involving multiple input files mapping to one output file.
  13694. (write_gc_structure_fields): Skip arrays of scalars.
  13695. (write_gc_types): Tidy output files.
  13696. (write_gc_root): New function.
  13697. (write_gc_roots): Fix bugs, add support for roots that are
  13698. structures.
  13699. * ggc-common.c (ggc_mark_rtx_ptr): Delete.
  13700. (ggc_mark_tree_ptr): Delete.
  13701. (ggc_add_rtx_root): Delete.
  13702. (ggc_add_tree_root): Delete.
  13703. (ggc_del_root): Delete.
  13704. * integrate.c (get_func_hard_reg_initial_val): Use ggc_alloc to
  13705. allocate struct initial_value_struct.
  13706. * profile.c: Use gengtype for roots.
  13707. * sdbout.c: Use gengtype for roots.
  13708. * varasm.c (mark_weak_decls): Delete unused prototype.
  13709. (mark_const_hash_entry): Delete unused function.
  13710. * config/darwin-protos.h: Use gengtype for roots.
  13711. (machopic_add_gc_roots): Delete.
  13712. * config/arm/arm.c: Use gengtype for roots.
  13713. * config/arm/arm.h: Use gengtype for roots.
  13714. * config/c4x/c4x-protos.h: Use gengtype for roots.
  13715. * config/c4x/c4x.c (c4x_add_gc_roots): Delete.
  13716. * config/d30v/d30v-protos.h: Use gengtype for roots.
  13717. * config/d30v/d30v.c (d30v_add_gc_roots): Delete.
  13718. * config/dsp16xx/dsp16xx.c (override_options): Use gengtype for roots.
  13719. * config/dsp16xx/dsp16xx.h: Use gengtype for roots.
  13720. * config/ia64/ia64-protos.h: Use gengtype for roots.
  13721. * config/ia64/ia64.c (ia64_add_gc_roots): Delete.
  13722. * config/m68hc11/m68hc11-protos.h: Use gengtype for roots.
  13723. * config/m68hc11/m68hc11.c (z_reg): Make global.
  13724. (z_reg_qi): Make global.
  13725. (m68hc11_add_gc_roots): Delete.
  13726. * config/mcore/mcore-protos.h: Use gengtype for roots.
  13727. * config/mcore/mcore.c (mcore_add_gc_roots): Delete.
  13728. * config/mips/mips.c (mips_add_gc_roots): Delete.
  13729. * config/mips/mips.h: Use gengtype for roots.
  13730. * config/mmix/mmix.c (override_options): Use gengtype for roots.
  13731. * config/mmix/mmix.h: Use gengtype for roots.
  13732. * config/mn10200/mn10200.c (asm_file_start): Use gengtype for roots.
  13733. * config/mn10200/mn10200.h: Use gengtype for roots.
  13734. * config/pa/pa.c: Use gengtype for roots, marking.
  13735. (struct deferred_plabel): Use GGC, gengtype.
  13736. (pa_add_gc_roots): Delete.
  13737. (mark_deferred_plabels): Delete.
  13738. * config/pj/pj-protos.h: Use gengtype for roots.
  13739. * config/pj/pj.h (OVERRIDE_OPTIONS): Don't define.
  13740. * config/rs6000/rs6000.c: Use gengtype for roots. Don't call
  13741. machopic_add_gc_roots.
  13742. * config/rs6000/rs6000.h: Use gengtype for roots.
  13743. * config/rs6000/t-darwin (darwin.o): Add dependency on gt-darwin.h.
  13744. (gt-darwin.h): Add rule.
  13745. * config/sh/sh.c: Use gengtype for roots.
  13746. * config/sh/t-sh ($(out_object_file)): Add dependency on gt-sh.h.
  13747. (gt-sh.h): Add rule.
  13748. * config/sparc/sparc.c: Use gengtype for roots.
  13749. (sparc_add_gc_roots): Delete.
  13750. (struct ultrasparc_pipeline_state): Use GGC, gengtype.
  13751. (mark_ultrasparc_pipeline_state): Delete.
  13752. * config/sparc/sparc.h: Use gengtype for roots.
  13753. * Makefile.in (c-parse.o): Update dependencies.
  13754. (c-common.o): Likewise.
  13755. (GTFILES): Add c-common.h, c-tree.h, c-common.c, c-parse.in.
  13756. Add dependencies for the files they generate.
  13757. * c-common.c: Replace ggc_add_* uses with GTY annotations.
  13758. * c-common.h: Likewise.
  13759. * c-decl.c: Likewise.
  13760. (gt_ggc_mp_binding_level): Delete.
  13761. * c-lang.c: Include gtype-c.h.
  13762. * c-parse.in: Replace ggc_add_* uses with GTY annotations. Include
  13763. gt-c-parse.h.
  13764. * c-pragma.h: Replace ggc_add_* uses with GTY annotations.
  13765. (gt_ggc_mp_align_stack): Delete.
  13766. * c-tree.h: Replace ggc_add_* uses with GTY annotations.
  13767. * function.c: Replace ggc_add_* uses with GTY annotations.
  13768. (gt_ggc_mp_function): Delete.
  13769. * function.h: Replace ggc_add_* uses with GTY annotations.
  13770. * gengtype.c (lang_names): New.
  13771. (NUM_BASE_FILES): New.
  13772. (open_base_files): Create language base files.
  13773. (startswith): New.
  13774. (get_file_basename): New.
  13775. (get_base_file_bitmap): New.
  13776. (get_output_file_with_visibility): Rename from get_output_file.
  13777. Add more mappings for various C/Objc filenames.
  13778. (finish_root_table): New.
  13779. (write_gc_roots): Handle dependencies and scoping properly.
  13780. * gengtype.h: Add prototypes for new functions.
  13781. * ggc-common.c (struct deletable_root): Delete.
  13782. (deletables): Delete.
  13783. (ggc_add_deletable_root): Delete.
  13784. (ggc_mark_roots): No need to deal with deleted functionality.
  13785. * ggc.h (ggc_add_deletable_root): Delete prototype.
  13786. * objc/Make-lang.in (objc-act.o): Add gtype-objc.h dependency.
  13787. (gtype-objc.h): Add rule to create.
  13788. * objc/config-lang.in (gtfiles): New.
  13789. * objc/objc-act.c: Allocate imp_list using GGC. Replace uses of
  13790. ggc_add_* with GTY markers. Include gtype-objc.h.
  13791. (ggc_mark_imp_list): Delete.
  13792. * objc/objc-act.h: Replace uses of ggc_add_* with GTY markers.
  13793. * objc/objc-lang.c: Random Whitespace Change.
  13794. * except.h (exception_handler_labels): Delete.
  13795. (get_exception_handler_labels): New.
  13796. * except.c (exception_handler_labels): Delete.
  13797. (struct eh_status): Add exception_handler_labels field.
  13798. (doing_eh): Don't add exception_handler_labels as root.
  13799. (free_eh_status): Don't need to free exception_handler_labels.
  13800. (get_exception_handler_labels): New.
  13801. (find_exception_handler_labels): Update for move of
  13802. exception_handler_labels.
  13803. (remove_exception_handler_label): Likewise.
  13804. * cfgrtl.c (can_delete_label_p): Use get_exception_handler_labels.
  13805. * jump.c (rebuild_jump_labels): Likewise.
  13806. * loop.c (find_and_verify_loops): Likewise.
  13807. * sched-rgn.c (is_cfg_nonregular): Likewise.
  13808. * gengtype.c (write_gc_structure_fields): Handle variable-length
  13809. TYPE_ARRAYs.
  13810. * varasm.c (struct weak_syms): Use GGC, gengtype.
  13811. (mark_weak_decls): Delete.
  13812. (weak_decls): Likewise.
  13813. (add_weak): Likewise.
  13814. (remove_from_pending_weak_list): Likewise.
  13815. (init_varasm_once): Likewise.
  13816. * Makefile.in (gtype-desc.o): Add libfuncs.h dependency.
  13817. (GTFILES): Add tree.h, libfuncs.h, emit-rtl.c, explow.c,
  13818. stor-layout.c, regclass.c, and lists.c.
  13819. Add dependencies of gt-emit-rtl.h gt-explow.h gt-stor-layout.h
  13820. gt-regclass.h and gt-lists.h on s-gtype.
  13821. * emit-rtl.c: Use gengtype for roots. Include gt-emit-rtl.h.
  13822. * except.c: Use gengtype for roots.
  13823. * explow.c: Use gengtype for roots. Include gt-explow.h.
  13824. * expr.h (init_stor_layout_once): Delete prototype.
  13825. * function.c: Use gengtype for roots.
  13826. * gengtype-lex.l: Add ENT_EXTERNSTATIC lexing.
  13827. * gengtype-yacc.y (start): Can also be an externstatic.
  13828. (externstatic): New production.
  13829. (struct_fields): Correct array bounds inversion for 2-d arrays.
  13830. * gengtype.c (variables): New variable.
  13831. (note_variable): New function.
  13832. (get_output_file): Include libfuncs.h into gtype-desc.c.
  13833. (get_output_file_name): New function.
  13834. (write_gc_structure_fields): Suppress warnings.
  13835. (write_gc_types): Make static.
  13836. (put_mangled_filename): New function.
  13837. (write_gc_roots): New function.
  13838. (main): Call write_gc_roots.
  13839. * gengtype.h (note_variable): Prototype.
  13840. (get_output_file_name): Prototype.
  13841. (write_gc_types): Delete prototype.
  13842. * ggc.h: Clean up unnecessary structure predefinitions.
  13843. (struct ggc_root_tab): Define.
  13844. (gt_ggc_m_rtx_def): Make function, not macro.
  13845. (gt_ggc_m_tree_node): Likewise.
  13846. * libfuncs.h: Use gengtype for roots.
  13847. * lists.c: Use gengtype for roots. Include gt-lists.h.
  13848. (init_EXPR_INSN_LIST_cache): Delete.
  13849. * optabs.c: Use gengtype for roots.
  13850. (gt_ggc_mp_optab): Delete.
  13851. * optabs.h: Use gengtype for roots.
  13852. * regclass.c: Use gengtype for roots. Include gt-regclass.h.
  13853. * rtl.h: Use gengtype for roots.
  13854. (init_EXPR_INSN_LIST_cache): Delete prototype.
  13855. * stor-layout.c: Use gengtype for roots.
  13856. Include gt-stor-layout.h.
  13857. (init_stor_layout_once): Delete.
  13858. * toplev.c: Use gengtype for roots. Delete calls to deleted
  13859. routines.
  13860. * tree.c: Use gengtype for roots.
  13861. * tree.h: Use gengtype for roots.
  13862. * varasm.c: Use gengtype for roots.
  13863. * Makefile.in (GTFILES): Add @all_gtfiles@.
  13864. * configure: Regenerate.
  13865. * configure.in: Construct all_gtfiles from the gtfiles definitions
  13866. in config-lang.in.
  13867. * gengtype-yacc.y (type): Warn about duplicate structure names.
  13868. * gengtype.c (get_output_file): Handle .c files in language
  13869. subdirectories.
  13870. * Makefile.in (GTFILES): Run gengtype on all the config files
  13871. and on the target .c file.
  13872. * except.c (mark_eh_region): Delete.
  13873. (init_eh_for_function): Use GGC on struct eh_status.
  13874. (mark_eh_status): Delete.
  13875. (free_eh_status): Use GGC.
  13876. (expand_eh_region_start): Use GGC to
  13877. (collect_eh_region_array): Allocate last_region_number using GGC.
  13878. (duplicate_eh_region_1): Use GGC to allocate struct eh_region.
  13879. (remove_eh_handler): Let GGC free struct eh_region.
  13880. (add_call_site): Use GGC to reallocate call_site_record array.
  13881. * function.c (init_machine_status): Update calling sequence.
  13882. (mark_machine_status): Likewise.
  13883. (mark_lang_status): Likewise.
  13884. (prepare_function_start): Update init_machine_status call.
  13885. (mark_function_status): Delete.
  13886. (maybe_mark_struct_function): Delete.
  13887. (ggc_mark_struct_function): Delete.
  13888. (gt_ggc_mp_function): New.
  13889. (gt_ggc_mr_machine_function): New.
  13890. (gt_ggc_mr_language_function): New.
  13891. (init_function_once): Use canonical names.
  13892. * function.h (struct function): Use gengtype.
  13893. (init_machine_status): Return the structure.
  13894. (mark_machine_status): Take a 'void *'.
  13895. (mark_lang_status): Likewise.
  13896. * ggc-common.c (ggc_mark_trees): Use canonical name for
  13897. ggc_mark_struct_function.
  13898. * tree.h (ggc_mark_struct_function): Delete prototype.
  13899. * config/alpha/alpha.c (alpha_mark_machine_status): Delete.
  13900. (alpha_init_machine_status): Likewise.
  13901. (override_options): Use canonical name for alpha_mark_machine_status.
  13902. * config/alpha/unicosmk.h (struct machine_function): Use gengtype.
  13903. * config/arm/arm.h (struct machine_function): Use gengtype.
  13904. * config/arm/arm.c (arm_mark_machine_status): Delete.
  13905. (arm_init_machine_status): Update calling sequence.
  13906. (arm_init_expanders): Use canonical name for arm_mark_machine_status.
  13907. * config/cris/cris.c (cris_init_machine_status): Update
  13908. calling sequence.
  13909. * config/d30v/d30v.h (struct machine_function): Use gengtype.
  13910. * config/d30v/d30v.c (d30v_init_machine_status): Update
  13911. calling sequence.
  13912. (d30v_mark_machine_status): Delete.
  13913. * config/i386/i386.c: Include gt-i386.h.
  13914. (struct machine_function): Use gengtype.
  13915. (ix86_init_machine_status): Update calling sequence.
  13916. (ix86_mark_machine_status): Delete.
  13917. (override_options): Use canonical namke for ix86_mark_machine_status.
  13918. * config/ia64/ia64.h (struct machine_function): Use gengtype.
  13919. * config/ia64/ia64.c (ia64_init_machine_status): Update calling
  13920. sequence.
  13921. (ia64_mark_machine_status): Delete.
  13922. (ia64_override_options): Use canonical name for
  13923. ia64_mark_machine_status.
  13924. * config/mmix/mmix.c (mmix_init_machine_status): Update calling
  13925. sequence.
  13926. * config/rs6000/rs6000.c (rs6000_init_machine_status): Likewise.
  13927. * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
  13928. * gengtype.c (get_output_file): Fix warning.
  13929. (main): Add prototype to suppress warning.
  13930. * tree.c: Remove tree_hash_mark prototype.
  13931. * tree.h (init_stmt): Delete prototype.
  13932. * toplev.c (lang_independent_init): Don't call init_stmt.
  13933. * stmt.c (ALLOC_NESTING): Use GGC for 'struct nesting'.
  13934. (stmt_obstack): Delete.
  13935. (POPSTACK): No need to free 'struct nesting'.
  13936. (gt_ggc_mr_nesting_cond): Use canonical names.
  13937. (gt_ggc_mr_nesting_loop): Use canonical names.
  13938. (gt_ggc_mr_nesting_block): Use canonical names.
  13939. (gt_ggc_mr_nesting_case_stmt): Use canonical names.
  13940. (mark_stmt_status): Delete.
  13941. (init_stmt): Delete.
  13942. (clear_last_expr): Clear both last_expr_type and last_expr_value.
  13943. Use it everywhere that last_expr_type was cleared.
  13944. * lists.c (init_EXPR_INSN_LIST_cache): Use ggc_add_deletable_root.
  13945. (zap_lists): Delete.
  13946. * ggc.h (ggc_add_deletable_root): Prototype.
  13947. (mark_stmt_status): Remove prototype.
  13948. * ggc-common.c (ggc_add_deletable_root): New.
  13949. (ggc_mark_roots): Handle deletable roots.
  13950. * function.c (ggc_mark_struct_function): Use canonical name
  13951. for mark_stmt_status.
  13952. * emit-rtl.c (free_sequence_stack): New.
  13953. (start_sequence): Use a freelist for sequences.
  13954. (end_sequence): Likewise.
  13955. (init_emit_once): Add free_sequence_stack as a deleteable root.
  13956. * c-pragma.c Include gt-c-pragma.h.
  13957. (struct align_stack): Use gengtype.
  13958. (push_alignment): Use GGC for struct align_stack.
  13959. (mark_align_stack): Delete.
  13960. (gt_ggc_mp_align_stack): New.
  13961. (init_pragma): Use canonical name for mark_align_stack.
  13962. * c-decl.c: Include gt-c-decl.h.
  13963. (struct binding_level): Use gengtype.
  13964. (make_binding_level): Use GGC; handle the freelist here.
  13965. (pop_binding_level): New.
  13966. (pushlevel): Move code into make_binding_level.
  13967. (push_label_level): Likewise.
  13968. (poplevel): Move code into pop_binding_level.
  13969. (pop_label_level): Likewise.
  13970. (mark_binding_level): Delete.
  13971. (gt_ggc_mp_binding_level): New.
  13972. (c_init_decl_processing): Use canonical name for mark_binding_level.
  13973. Add free_binding_level as deletable root.
  13974. (mark_c_function_context): Use canonical name for mark_binding_level.
  13975. * Makefile.in (c-decl.o): Add gt-c-decl.h.
  13976. (c-pragma.o): Add gt-c-pragma.h.
  13977. (GTFILES): Add c-decl.c and c-pragma.c.
  13978. (gt-c-decl.h, gt-c-pragma.h): Create using gengtype.
  13979. * tree.c (struct type_hash): Use gengtype.
  13980. (init_obstacks): Use canonical name for type_hash_mark.
  13981. (type_hash_mark): Delete.
  13982. Include gt-tree.h.
  13983. * rtl.h (struct mem_attrs): Use gengtype.
  13984. * optabs.h (struct optab): Use gengtype.
  13985. * optabs.c (expand_binop): Squish signed/unsigned warning.
  13986. (mark_optab): Make local, use canonical name, use autogenerated
  13987. marker procedure.
  13988. (init_optabs): Use canonical name for mark_optab.
  13989. (new_optab): Use GGC to allocate optabs.
  13990. * ggc.h: Delete mark_optab prototype.
  13991. * ggc-common.c (ggc_mark_rtx_children): Use canonical name for
  13992. mem_attrs marker procedure.
  13993. * gengtype.c (get_output_file): Include headers in gtype-desc.c
  13994. explicitly rather than deducing them from file names.
  13995. (write_gc_structure_fields): Handle arrays of structures.
  13996. (main): Return nonzero exit code if errors occur during output.
  13997. * emit-rtl.c (mem_attrs_mark): Delete.
  13998. (init_emit_once): Use canonical name for mem_attrs marker procedure.
  13999. * Makefile.in (gtype-desc.o): Explicitly name dependencies.
  14000. (tree.o): Depend on gt-tree.h.
  14001. (GTFILES): Add rtl.h, optabs.h, tree.c.
  14002. (gt-tree.h): Add it to s-gtype rule.
  14003. * .cvsignore: Ignore gengtype flex/bison generated files.
  14004. * Makefile.in (GGC_H): Add gtype-desc.h.
  14005. (OBJS): Add gtype-desc.o.
  14006. (GEN): Add gengtype.
  14007. (STAGESTUFF): Add gengtype.
  14008. (varasm.o): Add gt-varasm.h.
  14009. (stmt.o): Add gt-stmt.h.
  14010. (except.o): Add gt-except.h.
  14011. (integrate.o): Add gt-integrate.h.
  14012. (GTFILES): New.
  14013. Add new rules for new files.
  14014. * configure: Regenerate.
  14015. * configure.in: Correct defaults.h paths.
  14016. * emit-rtl.c (mark_sequence_stack): Delete.
  14017. (mark_emit_status): Delete.
  14018. (start_sequence): Allocate sequence structures using GGC.
  14019. (end_sequence): Allocate sequence structures using GGC.
  14020. * except.c: Use gengtype for various structures. Include
  14021. gt-except.h.
  14022. * expr.c (mark_expr_status): Delete.
  14023. * function.c: Use gengtype for various structures. Include
  14024. gt-function.h.
  14025. (mark_function_status): Use standard gt_ggc names for marker functions.
  14026. (ggc_mark_struct_function): Likewise.
  14027. * function.h: Use gengtype for various structures.
  14028. * gengtype-lex.l: New file.
  14029. * gengtype-yacc.y: New file.
  14030. * gengtype.c: New file.
  14031. * gengtype.h: New file.
  14032. * ggc.h: Include gtype-desc.h. Alias some marker procedures to
  14033. the standard names. Remove some now-unnecessary prototypes.
  14034. * integrate.c: Use gengtype for various structures. Include
  14035. gt-integrate.h.
  14036. (mark_hard_reg_initial_vals): Delete.
  14037. * integrate.h (mark_hard_reg_initial_vals): Delete.
  14038. * stmt.c: Use gengtype for various structures. Include
  14039. gt-stmt.h.
  14040. (mark_case_node): Delete.
  14041. (mark_goto_fixup): Delete.
  14042. (mark_stmt_status): Use standard gt_ggc names for marker functions.
  14043. * system.h: Define GTY to empty. In flex/bison files,
  14044. don't poison malloc or realloc, instead just define them to
  14045. xmalloc and xrealloc.
  14046. * varasm.c: Use gengtype for various structures. Include
  14047. gt-varasm.h. Use standard gt_ggc names for marker functions.
  14048. (mark_pool_constant): Delete.
  14049. (mark_varasm_status): Delete.
  14050. (decode_rtx_const): #if 0 out non-typesafe hack.
  14051. * function.h (free_lang_status): Mark as obsolete.
  14052. * function.c (free_lang_status): Mark as obsolete.
  14053. * c-decl.c (push_c_function_context): Use GC to allocate and free
  14054. struct language_function.
  14055. (pop_c_function_context): Likewise.
  14056. * c-common.c (mark_c_language_function): Mark struct
  14057. language_function.
  14058. * doc/tm.texi (Per-Function Data): Don't document free_machine_status.
  14059. Document that the machine_function structures must be allocated
  14060. using GC. Update mark_machine_status documentation.
  14061. * function.h: Don't declare free_machine_status.
  14062. * function.c (free_machine_status): Don't define.
  14063. (free_after_compilation): Don't call free_machine_status.
  14064. (ggc_mark_struct_function): Mark f->machine. Call
  14065. mark_machine_status only on non-NULL pointers.
  14066. * system.h: Poison free_machine_status.
  14067. * config/xtensa/xtensa.c (xtensa_init_machine_status): Use GC on
  14068. struct machine_function.
  14069. (xtensa_free_machine_status): Delete.
  14070. (override_options): Don't set free_machine_status.
  14071. * config/rs6000/rs6000.c (rs6000_override_options): Don't set
  14072. free_machine_status.
  14073. (rs6000_init_machine_status): Use GC on struct machine_function.
  14074. (rs6000_free_machine_status): Delete.
  14075. * config/ia64/ia64.c (ia64_init_machine_status): Use GC on struct
  14076. machine_function.
  14077. (ia64_mark_machine_status): Likewise.
  14078. (ia64_free_machine_status): Delete.
  14079. (ia64_override_options): Don't set free_machine_status.
  14080. * config/i386/i386.c (override_options): Don't set
  14081. free_machine_status.
  14082. (ix86_init_machine_status): Use GC on struct machine_function.
  14083. (ix86_mark_machine_status): Likewise.
  14084. (ix86_free_machine_status): Delete.
  14085. * config/d30v/d30v.c: (d30v_init_machine_status): Use GC on struct
  14086. machine_function.
  14087. (d30v_mark_machine_status): Likewise.
  14088. (d30v_free_machine_status): Delete.
  14089. (d30v_init_expanders): Don't set free_machine_status.
  14090. * config/arm/arm.c (arm_mark_machine_status): Use GC on struct
  14091. machine_function.
  14092. (arm_init_machine_status): Likewise.
  14093. (arm_free_machine_status): Delete.
  14094. (arm_init_expanders): Don't set free_machine_status.
  14095. * config/alpha/alpha.c (override_options): Don't set
  14096. free_machine_status.
  14097. (alpha_init_machine_status): Use GC on struct machine_function.
  14098. (alpha_mark_machine_status): Likewise.
  14099. (alpha_free_machine_status): Delete.
  14100. * varasm.c (compare_constant): Fix typo.
  14101. * varasm.c: Don't include obstack.h.
  14102. (struct varasm_status): x_const_rtx_hash_table is a hash of rtxes.
  14103. (struct rtx_const): Give substructures names, improve formatting.
  14104. (struct constant_descriptor): Delete.
  14105. (struct constant_descriptor_tree): New, based on constant_descriptor.
  14106. (const_hash_table): Is a hash table of trees.
  14107. (mark_const_hash_entry): Is used for hashes of trees. Mark
  14108. constant_descriptor_tree structure.
  14109. (mark_const_str_htab_1): Mark deferred_string structure.
  14110. (compare_constant): Rewrite to compare trees.
  14111. (compare_constant_1): Delete.
  14112. (record_constant): Delete.
  14113. (record_constant_1): Delete.
  14114. (output_constant_def): Use struct constant_descriptor_tree.
  14115. Don't duplicate trees twice.
  14116. (struct constant_descriptor_rtx): New.
  14117. (struct pool_constant): Used for rtx constants.
  14118. (init_varasm_status): Update for change to struct varasm_status.
  14119. (mark_varasm_status): Likewise.
  14120. (free_varasm_status): Delete.
  14121. (compare_constant_rtx): Rewrite to handle constant_descriptor_rtx.
  14122. (record_constant_rtx): Likewise.
  14123. (mem_for_const_double): Update to use struct constant_descriptor_rtx.
  14124. (force_const_mem): Likewise.
  14125. * Makefile.in (varasm.o): Doesn't depend on obstack.h.
  14126. * function.c (free_after_compilation): Don't use free_varasm_status.
  14127. * function.h: Don't prototype free_varasm_status.
  14128. * ggc-common.c (ggc_realloc): Handle X being NULL.
  14129. * ggc-common.c (ggc_realloc): New function.
  14130. * ggc.h: Prototype it.
  14131. * emit-rtl.c (free_emit_status): Delete.
  14132. (init_emit): Allocate emit subarrays using GC.
  14133. (gen_reg_rtx): Reallocate subarrays using GC.
  14134. (init_emit): Use GC to allocate 'struct emit_status' and its
  14135. subarrays.
  14136. (mark_emit_status): Mark structure and its subarrays.
  14137. * stmt.c (free_stmt_status): Delete.
  14138. * expr.c (free_expr_status): Delete.
  14139. * function.h: Remove prototypes for deleted functions.
  14140. * function.c (free_after_compilation): Don't use deleted functions.
  14141. Don't call free() on x_parm_reg_stack_loc.
  14142. (free_after_parsing): Don't use free_stmt_status.
  14143. (assign_parms): Use GC to allocate and resize x_parm_reg_stack_loc.
  14144. (mark_function_status): Mark x_parm_reg_stack_loc.
  14145. * varasm.c (init_varasm_status): Use GC to allocate
  14146. 'struct varasm_status' and its fields x_const_rtx_hash_table
  14147. and x_const_rtx_sym_hash_table.
  14148. (mark_varasm_status): Mark them.
  14149. (free_varasm_status): Use GC to free them.
  14150. * expr.c (init_expr): Use GC to allocate 'struct expr_status'.
  14151. (mark_expr_status): Mark the structure itself.
  14152. (free_expr_status): Use GC to free the structure.
  14153. * stmt.c (free_stmt_status): Use GC to free 'struct stmt_status'.
  14154. (mark_stmt_status): Mark the 'struct stmt_status' itself.
  14155. (init_stmt_for_function): Allocate the structure for GC.
  14156. * dwarf2out.c (lookup_type_die): Use TYPE_SYMTAB_DIE.
  14157. (equate_type_number_to_die): Likewise.
  14158. * tree.h (TYPE_SYMTAB_DIE): New macro.
  14159. (struct die_struct): Predeclare.
  14160. (struct tree_type): Add field symtab.die. Add a tag
  14161. to the union type of field symtab.
  14162. * varray.h (VARRAY_RTVEC_INIT): A varray of rtvec contains
  14163. 'struct rtvec_def *', not 'struct rtvec_def'.
  14164. * function.h (original_arg_vector): Make a real rtvec.
  14165. * function.c (ggc_mark_struct_function): Adjust.
  14166. * integrate.c (expand_inline_function): Adjust.
  14167. 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
  14168. * config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
  14169. (sh64-*-netbsd*, sh64l*-*-netbsd*): New targets.
  14170. * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN)
  14171. (TARGET_VERSION_CPU): Define according to the
  14172. default target.
  14173. (TARGET_VERSION): Use TARGET_VERSION_ENDIAN and
  14174. TARGET_VERSION_CPU.
  14175. (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64
  14176. if TARGET_SHMEDIA64.
  14177. (LINK_DEFAULT_CPU_EMUL): Define according to the
  14178. default target.
  14179. (SUBTARGET_LINK_EMUL_SUFFIX): Define.
  14180. (SUBTARGET_LINK_SPEC): Define.
  14181. (LINK_SPEC): Use SH_LINK_SPEC.
  14182. (ASM_SPEC): Remove.
  14183. (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
  14184. (FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32
  14185. and TARGET_SHMEDIA64 which abort, for now.
  14186. * config/sh/t-netbsd-sh5: New file.
  14187. * config/sh/t-netbsd-sh5-32: New file.
  14188. * config/sh/t-netbsd-sh5-64: New file.
  14189. 2002-06-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  14190. Richard Henderson <rth@redhat.com>
  14191. * config/alpha/alpha.c (reg_or_const_int_operand): New.
  14192. (some_operand, input_operand): Accept CONST_VECTOR.
  14193. (alpha_extra_constraint): Add 'W'.
  14194. (alpha_expand_zap_mask): New.
  14195. (alpha_expand_builtin_vector_binop): New.
  14196. (enum alpha_builtin): New.
  14197. (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New.
  14198. (alpha_init_builtins, alpha_expand_builtin): New.
  14199. (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New.
  14200. * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New.
  14201. (PREDICATE_CODES): Update.
  14202. * config/alpha/alpha-protos.h: Update.
  14203. * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP,
  14204. UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New.
  14205. (movv8qi, movv8qi_fix, movv8qi_nofix): New.
  14206. (movv4hi, movv4hi_fix, movv4hi_nofix): New.
  14207. (movv2si, movv2si_fix, movv2si_nofix): New.
  14208. (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New.
  14209. (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New.
  14210. (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap,
  14211. builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask,
  14212. builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8,
  14213. builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8,
  14214. builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb,
  14215. pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl,
  14216. builtin_unpkbw, unpkbw): New.
  14217. * doc/extend.texi (Alpha Built-in Functions): New.
  14218. 2002-06-03 Richard Henderson <rth@redhat.com>
  14219. * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
  14220. USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.
  14221. 2002-06-03 Richard Henderson <rth@redhat.com>
  14222. * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.
  14223. * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
  14224. (const0_operand): New.
  14225. (reg_or_fp0_operand, fp0_operand): Remove.
  14226. * config/alpha/alpha.h (PREDICATE_CODES): Update.
  14227. * config/alpha/alpha-protos.h: Update.
  14228. * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand
  14229. and fp0_operand with reg_or_0_operand and const0_operand.
  14230. 2002-06-03 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
  14231. * alias.c (nonoverlapping_memrefs_p): Fix off by one error.
  14232. 2002-06-03 Roger Sayle <roger@eyesopen.com>
  14233. * gcse.c (cprop_jump): Use single_set to get the pattern
  14234. from the setcc argument.
  14235. 2002-06-03 Gabriel Dos Reis <gdr@codesourcery.com>
  14236. * diagnostic.h (diagnostic_count): Move from output_buffer to
  14237. diagnostic_context.
  14238. (diagnostic_kind_count): Adjust definition.
  14239. Mon Jun 3 19:11:53 CEST 2002 Jan Hubicka <jh@suse.cz>
  14240. * except.c (except.c): Do not rebuild CFG.
  14241. * toplev.c (rest_of_compilation): Recompute CFG after sibcall
  14242. optimization.
  14243. Mon Jun 3 11:53:01 CEST 2002 Jan Hubicka <jh@suse.cz>
  14244. * integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
  14245. * toplev.c: Include cfglahout.h
  14246. * Makefile.in (toplev.c): Add dependnecy.
  14247. 2002-06-03 Neil Booth <neil@daikokuya.demon.co.uk>
  14248. * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
  14249. (CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill.
  14250. (CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC.
  14251. 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com>
  14252. * config/ns32k/netbsd.h: Update copyright years.
  14253. (TARGET_OS_CPP_BUILTINS): Define.
  14254. (CPP_PREDEFINES): Remove.
  14255. * config/ns32k/ns32k.h (CPP_PREDEFINES): Remove.
  14256. (TARGET_CPU_CPP_BUILTINS): Define.
  14257. 2002-06-02 Kazu Hirata <kazu@cs.umass.edu>
  14258. * emit-rtl.c: Fix formatting.
  14259. * errors.h: Likewise.
  14260. * except.c: Likewise.
  14261. * explow.c: Likewise.
  14262. * expmed.c: Likewise.
  14263. * expr.c: Likewise.
  14264. * expr.h: Likewise.
  14265. 2002-06-02 Kazu Hirata <kazu@cs.umass.edu>
  14266. * config/h8300/elf.h: Fix formatting.
  14267. * config/h8300/rtems.h: Likewise.
  14268. 2002-06-03 Jason Thorpe <thorpej@wasabisystems.com>
  14269. * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
  14270. 2002-06-02 Tom Tromey <tromey@redhat.com>
  14271. * fixinc/fixincl.x: Rebuilt.
  14272. * fixinc/inclhack.def (thread_keyword): Match `*__thread'.
  14273. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14274. config/i370:
  14275. * i370.h (TARGET_CPU_CPP_BUILTINS): Use.
  14276. * linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
  14277. * mvs.h: Similarly.
  14278. * oe.h: Similarly.
  14279. Mon Jun 3 00:18:20 CEST 2002 Jan Hubicka <jh@suse.cz>
  14280. * final.c (final): Allow notes to not have computed addresses;
  14281. kill no longer needed STACK_REGS ifdef.
  14282. 2002-06-02 Richard Henderson <rth@redhat.com>
  14283. * gcse.c (bypass_conditional_jumps): Fix typo last change.
  14284. Sun Jun 2 23:02:11 CEST 2002 Jan Hubicka <jh@suse.cz>
  14285. * loop.c (emit_prefetch_instructions): Properly place the address
  14286. computation.
  14287. Sun Jun 2 22:56:48 CEST 2002 Jan Hubicka <jh@suse.cz>
  14288. * basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill.
  14289. (set_block_for_insn): Turn into macro.
  14290. * cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn.
  14291. * cfglayout.c (insn_scopes): Kill.
  14292. (scope_to_insns_initialize): Do not use insn_scopes.
  14293. (scope_to_insns_finalize): Likewise.
  14294. (duplicate_insn_chain): Likewise.
  14295. (cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes.
  14296. * cfgrtl.c (basic_block_for_insn): Kill.
  14297. (delete_insn_and_edges, delete_insn_chain_and_edges): Simplify.
  14298. (create_basic_block_structure): Use reorder_insns.
  14299. (compute_bb_for_insn): Do not use basic_block_for_insn.
  14300. (merge_blocks_nomove): Likewise.
  14301. (update_bb_for_insn): Likewise.
  14302. (verify_flow_info): Likewise.
  14303. (set_block_for_insn): Kill.
  14304. * combine.c (try_combine): Update gen_rtx_INSN call.
  14305. * emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call.
  14306. (mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear
  14307. scopes and BBs.
  14308. (add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify.
  14309. (emit_note_before, emit_note_after, emit_line_note_after, emit_note):
  14310. Clear BB.
  14311. (emit_insns_after): Simplify.
  14312. (emit_copy_of_insn_after): Copy scope.
  14313. * final.c (final_start_function): Lower scopes.
  14314. * flow.c (check_function_return_warnings): Do not rely on deleted insn.
  14315. * integrate.c (copy_insn_list): Cope scopes.
  14316. * jump.c (duplicate_loop_exit_test): LIkewise; simplify.
  14317. * loop.c (loop_optimize): Do not care block notes.
  14318. * print-rtl.c (print_rtx): Print BB.
  14319. * recog.c (apply_change_group): Simplify.
  14320. * rtl.c (copy_rtx): Handle 'B'.
  14321. * rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields.
  14322. * rtl.h (Field accessors): Update indexes.
  14323. * sched-ebb.c (schedule_ebbs): Do not lower notes.
  14324. * sched-rgn.c (schedule_insns): Likewise.
  14325. * toplev.c (rest_of_compilation): Lower notes.
  14326. * unroll.c (unroll_loop): Do not care scoping notes.
  14327. (copy_loop_body): Copy scopes.
  14328. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14329. config/h8300:
  14330. * elf.h: Use TARGET_OS_CPP_BUILTINS rather than
  14331. SUBTARGET_SPEC.
  14332. * rtems.h: Similarly.
  14333. * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
  14334. EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
  14335. (TARGET_CPU_CPP_BUILTINS): Use.
  14336. 2002-06-02 Richard Henderson <rth@redhat.com>
  14337. * alias.c: Include target.h.
  14338. (mark_constant_function): Use targetm.binds_local_p instead
  14339. of checking TREE_PUBLIC ourselves.
  14340. * Makefile.in (alias.o): Add TARGET_H.
  14341. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14342. * c-lex.c: Update copyright and file description.
  14343. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14344. * config/fr30/fr30.h: Update to new CPP macros.
  14345. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14346. * config/dsp16xx/dsp16xx.h: Update to new CPP macros.
  14347. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14348. Zack Weinberg <zack@codesourcery.com>
  14349. * c-common.c (c_common_init): Override cpplib's default
  14350. warn_long_long setting.
  14351. * c-lex.c (lex_number): Replace with interpret_integer,
  14352. interpret_float, narrowest_unsigned_type and
  14353. narrowest_signed_type, taking advantage of the new
  14354. cpplib functionality.
  14355. * cpperror.c (_cpp_begin_message): If a warning is turned
  14356. into an error, avoid printing "warning:".
  14357. * cppexp.c (cpp_num_sign_extend): New.
  14358. * cppinit.c: Update comment.
  14359. * cpplib.h (cpp_num_sign_extend): New.
  14360. * tree.h: Update comment.
  14361. 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
  14362. * diagnostic.h (struct diagnostic_context): Add new member
  14363. internal_error.
  14364. (internal_error_function): Remove declaration.
  14365. * diagnostic.c (internal_error_function): Remove definition..
  14366. (internal_error): Adjust use.
  14367. 2002-06-02 Richard Henderson <rth@redhat.com>
  14368. * rtl.h (CC0_P): New.
  14369. * gcse.c (cprop_jump): Use it with single_set. Tweak dump text.
  14370. (cprop_insn): Allow any mode register; use CC0_P. CSE out single_set.
  14371. (bypass_block): Save old dest block for dump text.
  14372. (bypass_conditional_jumps): Allow any mode register; use CC0_P.
  14373. Allow only true SET insns, not single_set.
  14374. 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
  14375. * diagnostic.c (diagnostic_finish): Rename to output_flush.
  14376. (clear_disgnostic_info): Rename to output_clear_data. Use false
  14377. instead of 0 for boolean value.
  14378. Adjust function call throughout.
  14379. Sun Jun 2 19:15:27 CEST 2002 Jan Hubicka <jh@suse.cz>
  14380. * cfgrtl.c (commit_one_edge_insertion): Fix warning.
  14381. * gcse.c (bypass_conditional_jumps): CSE out single_set call.
  14382. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14383. * d30v.h (CPP_PREDEFINES): Replace with
  14384. (TARGET_CPU_CPP_BUILTINS): New.
  14385. 2002-06-02 Roger Sayle <roger@eyesopen.com>
  14386. * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
  14387. Sun Jun 2 12:11:52 CEST 2002 Jan Hubicka <jh@suse.cz>
  14388. * gcse.c (bypass_conditional_jumps): Use single set to obtain set.
  14389. 2002-06-02 Richard Henderson <rth@redhat.com>
  14390. * rtlanal.c (volatile_refs_p): Not automatically true for CALL.
  14391. 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
  14392. Support for C++ constructors/destructors.
  14393. * config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
  14394. instead of looping if main() returns.
  14395. (asm_file_start): Output global symbols that cause .data and .bss
  14396. initialization code to be linked in, unconditionally for now.
  14397. (avr_asm_out_ctor, avr_asm_out_dtor): New functions.
  14398. * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
  14399. (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
  14400. (LIBSTDCXX): New.
  14401. * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
  14402. (__tablejump__): New.
  14403. (__do_copy_data, __do_clear_bss): New.
  14404. (__do_global_ctors, __do_global_dtors): New.
  14405. * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
  14406. _ctors, _dtors.
  14407. 2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
  14408. * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
  14409. (CPP_SPEC, CPP_PREDEFINES): Kill.
  14410. * c4x/rtems.h (CPP_PREDEFINES): Kill.
  14411. (TARGET_OS_CPP_BUILTINS): New.
  14412. Sat Jun 1 23:29:51 CEST 2002 Jan Hubicka <jh@suse.cz>
  14413. * Makefile.in (tracer.o): New.
  14414. * params.def (TRACER_*): New options.
  14415. * rtl.h (tracer): Declare.
  14416. * timevar.def (TV_TRACER): New.
  14417. * toplev.c (dump_file_index): Add DFI_tracer.
  14418. (dump_file_info): Add tracer.
  14419. (flag_tracer): New.
  14420. (lang_indepdenent_options): Add tracer.
  14421. (rest_of_compilation): Call tracer.
  14422. * tracer.c: New file.
  14423. * invoke.texi (-ftracer): Document.
  14424. (--param tracer-*): Document.
  14425. 2002-06-01 Daniel Berlin <dberlin@dberlin.org>
  14426. * tree-inline.c (expand_call_inline): Make the statement
  14427. expression we generate have a COMPOUND_STMT.
  14428. 2002-06-01 Roger Sayle <roger@eyesopen.com>
  14429. * gcse.c (cprop_cc0_jump): Function deleted.
  14430. (cprop_jump): Take an additional argument which is the possibly
  14431. NULL cc setting insn immediately before the conditional jump.
  14432. When a MODE_CC set is present, substitute it into the JUMP_INSN
  14433. before attempting the constant propagation.
  14434. (cprop_insn): Recognize cc setters followed by conditional jumps
  14435. as a special case. Use cprop_jump instead of cprop_cc0_jump.
  14436. (cprop_one_pass): Call bypass_conditional_jumps if altering jumps.
  14437. (find_bypass_set): New function based upon find_avail_set used by
  14438. cprop, but finds constant expressions available at the end of
  14439. basic blocks.
  14440. (bypass_block): New function. Given a basic block that begins
  14441. with a conditional jump and multiple incoming edges, perform
  14442. the jump bypass optimization.
  14443. (bypass_conditional_jumps): New function. Call bypass_block with
  14444. each suitable basic block in the CFG using a simple single pass.
  14445. 2002-06-01 Roger Sayle <roger@eyesopen.com>
  14446. * tree.c (real_minus_onep): New function to test for -1.0.
  14447. * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x.
  14448. 2002-06-01 Roger Sayle <roger@eyesopen.com>
  14449. * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
  14450. and "!p && !q" into "(p|q) == 0" under suitable conditions.
  14451. 2002-06-01 Andreas Jaeger <aj@suse.de>
  14452. * cppexp.c (cpp_classify_number): Cast precission to int for
  14453. correct printf format.
  14454. 2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl>
  14455. * config/avr/avr.c (avr_mcu_types): Remove devices that were once
  14456. expected, but don't really exist: atmega83, atmega85, attiny10.
  14457. * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
  14458. emulations for all devices.
  14459. (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
  14460. * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
  14461. 2002-06-01 Kazu Hirata <kazu@cs.umass.edu>
  14462. * config/h8300/h8300-protos.h: Add a prototype for
  14463. h8300_shift_needs_scratch_p.
  14464. * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
  14465. * config/h8300/h8300.h (OK_FOR_R): New.
  14466. (OK_FOR_S): Likewise.
  14467. (OK_FOR_T): Likewise.
  14468. (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
  14469. * config/h8300/h8300.md (anonymous shift patterns): Use
  14470. constraints R, S, and T.
  14471. Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  14472. * basic-block.h (struct basic_block_def): New field loop_father.
  14473. (BB_VISITED): New flag.
  14474. (struct loop): New field pred, removed field shared.
  14475. (struct loops): New field parray.
  14476. (LOOP_EXITS_DOMS): Removed.
  14477. (flow_loop_tree_node_add, flow_loop_tree_node_remove,
  14478. flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
  14479. dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
  14480. add_bb_to_loop, remove_bb_from_loops, find_common_loop,
  14481. verify_loop_structure): Declare.
  14482. * cfg.c (entry_exit_blocks): Initialize loop_father field.
  14483. * cfganal.c (dfs_enumerate_from): New function.
  14484. * cfgloop.c (HEAVY_EDGE_RATIO): New constant.
  14485. (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
  14486. flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
  14487. flow_loop_dump, flow_loops_dump, flow_loops_free,
  14488. flow_loop_tree_node_add, flow_loop_level_compute,
  14489. flow_loops_level_compute, flow_loop_scan, flow_loops_update,
  14490. flow_loop_outside_edge_p): Modified for new infrastructure.
  14491. (make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
  14492. redirect_edge_with_latch_update, flow_loop_free): New static functions.
  14493. (flow_loop_tree_node_remove, flow_bb_inside_loop_p,
  14494. get_loop_body, add_bb_to_loop, remove_bb_from_loops,
  14495. find_common_loop, verify_loop_structure, loop_latch_edge,
  14496. loop_preheader_edge): New functions.
  14497. (flow_loops_cfg_dump): Do not show dominators, as this information
  14498. does not remain up to date long.
  14499. (flow_loops_find): Store results in new format.
  14500. * predict.c (propagate_freq, estimate_probability,
  14501. estimate_loops_at_level, estimate_bb_frequencies): Use new loop
  14502. infrastructure.
  14503. 2002-06-01 Alan Lehotsky <apl@alum.mit.edu>
  14504. * except.c (nothrow_function_p): Walk epilogue delay list
  14505. checking the insn, not the chain for potential throws.
  14506. 2002-05-31 Zack Weinberg <zack@codesourcery.com>
  14507. * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
  14508. (install): Refer to install-cpp directly.
  14509. (uninstall-cpp): Folded into uninstall rule.
  14510. * configure.in: Delete all code relating to --disable-cpp.
  14511. * configure: Regenerate.
  14512. * config/t-install-cpp: Delete.
  14513. 2002-05-31 Richard Henderson <rth@redhat.com>
  14514. * configure.in (HAVE_AS_TLS): Add alpha tests.
  14515. * configure: Rebuild.
  14516. * config/alpha/alpha.c (TARGET_AS_TLS): New.
  14517. (alpha_tls_size, alpha_tls_size_string): New.
  14518. (overide_options): Set it. Always install machine_status hooks.
  14519. (input_operand): Accept got tls predicates.
  14520. (local_symbol_p): Merge into ...
  14521. (local_symbolic_operand): ... here. Reject tls symbols.
  14522. (global_symbolic_operand): Likewise.
  14523. (tls_symbolic_operand_1, dtp16_symbolic_operand): New.
  14524. (dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
  14525. (tp16_symbolic_operand, tp32_symbolic_operand): New.
  14526. (gottp_symbolic_operand, tls_symbolic_operand_type): New.
  14527. (alpha_encode_section_info): Handle TLS symbols.
  14528. (alpha_strip_name_encoding): Likewise.
  14529. (alpha_legitimate_address_p): Likewise.
  14530. (alpha_legitimize_address): Likewise.
  14531. (alpha_expand_mov): Early exit to avoid nop moves.
  14532. (struct machine_function): Move from unicosmk.h. Add some_ld_name.
  14533. (alpha_init_machine_status, alpha_mark_machine_status,
  14534. alpha_free_machine_status): Always define.
  14535. (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
  14536. (print_operand, print_operand_address): Add TLS relocs.
  14537. * config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
  14538. (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
  14539. (TARGET_SWITCHES): Add -mtls-kernel.
  14540. (alpha_tls_size, alpha_tls_size_string): New.
  14541. (TARGET_OPTIONS): Add -mtls-size=.
  14542. (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
  14543. REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
  14544. (ASM_OUTPUT_LABELREF): Skip %.
  14545. (PRINT_OPERAND_PUNCT_VALID_P): Add &.
  14546. (PREDICATE_CODES): Update.
  14547. * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
  14548. UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
  14549. UNSPEC_TP, UNSPECV_SET_TP): New.
  14550. (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
  14551. adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
  14552. set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
  14553. movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
  14554. (call_value_osf_2_er): Accept anything as op4.
  14555. * config/alpha/alpha-protos.h: Update.
  14556. * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
  14557. 2002-05-31 Zack Weinberg <zack@codesourcery.com>
  14558. * cppinit.c (append_include_chain): Always pay attention to
  14559. cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED
  14560. marker on argument.
  14561. 2002-05-31 Kazu Hirata <kazu@cs.umass.edu>
  14562. * target.h: Fix formatting.
  14563. * timevar.h: Likewise.
  14564. * tlink.c: Likewise.
  14565. * toplev.c: Likewise.
  14566. * toplev.h: Likewise.
  14567. * tree.c: Likewise.
  14568. * tree-dump.h: Likewise.
  14569. * tree.h: Likewise.
  14570. * tree-inline.h: Likewise.
  14571. * unroll.c: Likewise.
  14572. * unwind-dw2.c: Likewise.
  14573. * unwind-dw2-fde.c: Likewise.
  14574. * unwind-dw2-fde-glibc.c: Likewise.
  14575. * unwind-dw2-fde.h: Likewise.
  14576. * unwind.h: Likewise.
  14577. * unwind-sjlj.c: Likewise.
  14578. * varasm.c: Likewise.
  14579. * varray.h: Likewise.
  14580. * vmsdbg.h: Likewise.
  14581. * vmsdbgout.c: Likewise.
  14582. * xcoffout.h: Likewise.
  14583. 2002-05-31 Igor Shevlyakov <igor@microunity.com>
  14584. * expr.c (compare_from_rtx): Generate comparison between op0 and op1
  14585. rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
  14586. 2002-05-31 Matthew Woodcraft <mattheww@chiark.greenend.org.uk>
  14587. * gcc.c (cpp_unique_options): Remove "-d" options.
  14588. (cpp_debug_options): New spec string.
  14589. (default_compilers): Use it.
  14590. * objc/lang-specs.h: Likewise.
  14591. 2002-05-31 Nathanael Nerode <neroden@twcny.rr.com>
  14592. * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
  14593. BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
  14594. * gcc/mklibgcc.in: Likewise.
  14595. * gcc/config/arc/t-arc: Likewise.
  14596. * gcc/configure.in: Likewise.
  14597. * gcc/configure: Regenerate.
  14598. 2002-05-31 Stan Shebs <shebs@apple.com>
  14599. Turly O'Connor <turly@apple.com>
  14600. * c-decl.c (struct binding_level): Change int field n_incomplete
  14601. to tree list incomplete_list.
  14602. (clear_binding_level): Init field with NULL.
  14603. (pushdecl): Add incomplete type to list.
  14604. (mark_binding_level): Mark the incomplete list.
  14605. (finish_struct): Scan the incomplete list for types instead
  14606. of all decls in the current binding level.
  14607. 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
  14608. * pa.c (output_millicode_call): Add missing '%' characters.
  14609. (output_call): Likewise.
  14610. 2002-05-31 David Edelsohn <edelsohn@gnu.org>
  14611. * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
  14612. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
  14613. 2002-05-31 Alan Lehotsky <apl@alum.mit.edu>
  14614. * varasm.c (mark_constant_pool): Walk epilogue delay list
  14615. checking the insn, not the chain for potential constants.
  14616. Fri May 31 12:38:43 2002 J"orn Rennecke <joern.rennecke@superh.com>
  14617. * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
  14618. Fri May 31 13:50:19 CEST 2002 Jan Hubicka <jh@suse.cz>
  14619. * i386.c (classify_argument): Properly handle base types.
  14620. * dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
  14621. Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
  14622. registers.
  14623. Fri May 31 13:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
  14624. * gcse.c (gcse_emit_move_after): New.
  14625. (pre_delete, hoist_store): Use it.
  14626. * reload1.c (emit_input_reload_insns): Use constrain_operands
  14627. instead of constraint_accepts_reg_p to verify optimization.
  14628. (constraint_accepts_reg_p): Kill.
  14629. * reload1.c (reload_cse_delete_noop_set): Kill.
  14630. (reload_cse_simplify): Use delete_insn_and_edges.
  14631. 2002-05-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  14632. * cfgloop.c (flow_loops_find): Initialize first and last fields
  14633. correctly.
  14634. 2002-05-31 Neil Booth <neil@daikokuya.demon.co.uk>
  14635. * c-common.c (builtin_define_std): Correct logic.
  14636. 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
  14637. * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
  14638. (output_call): Likewise.
  14639. 2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
  14640. * pa.c: Move output.h include after tree.h include.
  14641. (pa_asm_output_mi_thunk): Constify identifier lab.
  14642. 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
  14643. * config/ns32k/ns32k.h: Define named constants for the
  14644. bits in target_flags and use them.
  14645. * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
  14646. 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
  14647. * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
  14648. architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
  14649. * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
  14650. default scheduling model.
  14651. * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
  14652. * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
  14653. * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
  14654. * doc/install.texi (hppa*-*-*): Document default scheduling.
  14655. 2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
  14656. * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
  14657. 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
  14658. * config.gcc (ns32k-*-netbsd*): Set tm_file to
  14659. "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
  14660. * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
  14661. netbsd.h, or netbsd-aout.h.
  14662. 2002-05-31 Jason Thorpe <thorpej@wasabisystems.com>
  14663. * longlong.h (count_trailing_zeros): Add missing \, and clean up
  14664. whitespace in __ns32000__ case.
  14665. 2002-05-31 Aldy Hernandez <aldyh@redhat.com>
  14666. * expr.c (expand_expr): Output partially zeroed out vectors with
  14667. output_constant_def.
  14668. 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
  14669. * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
  14670. (sh-*-netbsdelf*)
  14671. (shl*-*-netbsdelf*): New targets.
  14672. * config/sh/netbsd-elf.h: New file.
  14673. * config/sh/t-netbsd: New file.
  14674. 2002-05-30 Richard Henderson <rth@redhat.com>
  14675. Eric Botcazou <ebotcazou@multimania.com>
  14676. PR optimization/6822
  14677. * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
  14678. to unsigned int for op1 comparisons. Use gen_int_mode.
  14679. 2002-05-30 Eric Botcazou <ebotcazou@multimania.com>
  14680. * expmed.c (const_mult_add_overflow_p): New.
  14681. * expr.h: Declare it.
  14682. * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
  14683. Don't eliminate the biv if the giv has a constant multiplier and
  14684. the rhs argument of the comparison does satisfy the predicate.
  14685. Use expand_mult_add to compute the replacement constant.
  14686. 2002-05-30 Osku Salerma <osku@iki.fi>
  14687. * c-common.c (c_common_attribute_table): Add "may_alias" entry.
  14688. (c_common_get_alias_set): Handle it.
  14689. * doc/extend.texi: Document it.
  14690. 2002-05-30 Richard Henderson <rth@redhat.com>
  14691. * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
  14692. * toplev.c (process_options): Don't check it.
  14693. * doc/tm.texi: Don't document it.
  14694. * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
  14695. (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
  14696. * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
  14697. frame pointer optimization if current_function_profile.
  14698. 2002-05-30 Kazu Hirata <kazu@cs.umass.edu>
  14699. * langhooks.c: Fix formatting.
  14700. * langhooks.h: Likewise.
  14701. * lcm.c: Likewise.
  14702. * libgcc2.c: Likewise.
  14703. * lists.c: Likewise.
  14704. * local-alloc.c: Likewise.
  14705. * loop.c: Likewise.
  14706. * loop.h: Likewise.
  14707. 2002-05-30 Marc Espie <espie@openbsd.org>
  14708. * config.gcc (sparc64-*-openbsd*): New.
  14709. * config/sparc/openbsd1-64.h: New.
  14710. * config/sparc/openbsd64.h: New.
  14711. 2002-05-30 Jeff Law <law@redhat.com>
  14712. * flow.c (propagate_one_insn): Revise yesterday's patch. Delete
  14713. a dead insn with a REG_RETVAL note when the entire libcall is not
  14714. dead and remove the associated REG_LIBCALL note at the same time.
  14715. Thu May 30 19:54:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
  14716. * lcm.c (output.h): #include.
  14717. (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
  14718. as an ordinary block.
  14719. (optimize_mode_switching): Don't pretend that the exit block is
  14720. an ordinary block, or handle sucessors of entry block specially.
  14721. Instead, split edges from entry block and to exit block, and
  14722. put a computing definition on the thus gained post-entry-block,
  14723. and a need on the pre-exit-block.
  14724. Thu May 30 20:28:01 CEST 2002 Jan Hubicka <jh@suse.cz>
  14725. * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
  14726. * rtl.texi: Document 'B'
  14727. 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
  14728. * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
  14729. at run-time.
  14730. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
  14731. 2002-05-30 Aldy Hernandez <aldyh@redhat.com>
  14732. * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
  14733. const0_rtx instead of NULL_RTX when in error.
  14734. (altivec_expand_abs_builtin): Same.
  14735. (rs6000_expand_binop_builtin): Same.
  14736. (altivec_expand_predicate_builtin): Same.
  14737. (altivec_expand_stv_builtin): Same.
  14738. (rs6000_expand_ternop_builtin): Same.
  14739. (altivec_expand_builtin): Same.
  14740. 2002-05-29 David S. Miller <davem@redhat.com>
  14741. * rtl.h (clear_emit_caches): Delete.
  14742. * integrate.c (output_inline_function): Don't call it.
  14743. * emit-rtl.c (restore_emit_status, init_emit): Likewise.
  14744. (clear_emit_caches): Delete definition.
  14745. (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.
  14746. 2002-05-30 Hans-Peter Nilsson <hp@bitrange.com>
  14747. * config/mmix/mmix.c: Include real.h.
  14748. (mmix_constant_address_p): Remove redundant test before switch.
  14749. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  14750. * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
  14751. only if not already defined.
  14752. 2002-05-29 Kazu Hirata <kazu@cs.umass.edu>
  14753. * config/h8300/h8300-protos.h: Remove prototypes for
  14754. ok_for_bclr and small_power_of_two.
  14755. * config/h8300/h8300.c (small_power_of_two): Remove.
  14756. (ok_for_blcr): Likewise.
  14757. (fix_bit_operand): Make WHAT deal with an integer instead of a
  14758. constraint character.
  14759. * config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
  14760. (CONST_OK_FOR_P): Likewise.
  14761. (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
  14762. CONST_OK_FOR_P any more.
  14763. * config/h8300/h8300.md (andqi3): Adjust to the new prototype
  14764. of fix_bit_operand.
  14765. (iorqi3): Likewise.
  14766. (xorqi3): Likewise.
  14767. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  14768. * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
  14769. (CPP_PREDEFINES): Make sure this is undefined.
  14770. (CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
  14771. since it is no longer in CPP_PREDEFINES. Don't -U__MIPSEL__
  14772. or -U__MIPSEB__ before defining one or the other. Instead,
  14773. use %(subtarget_endian_default) if neither -EB nor -EL are
  14774. specified.
  14775. (SUBTARGET_EXTRA_SPECS): Define.
  14776. (SUBTARGET_CPP_SPEC): Remove __LONG64 handling. Use
  14777. %(netbsd_cpp_spec).
  14778. 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
  14779. * doc/md.texi (Patterns): Note pattern condition pitfall
  14780. for unnamed insn.
  14781. 2002-05-29 Aldy Hernandez <aldyh@redhat.com>
  14782. * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
  14783. when TARGET_ALTIVEC. Move handling of generic unary, binary, and
  14784. ternary operations from here...
  14785. (rs6000_expand_builtin): ...to here.
  14786. New argument expandedp.
  14787. Change all instances of altivec_expand_binop_builtin to
  14788. rs6000_expand_binop_builtin.
  14789. (altivec_expand_unop_builtin): Rename to
  14790. rs6000_expand_unop_builtin.
  14791. (altivec_expand_binop_builtin): Rename to
  14792. rs6000_expand_binop_builtin.
  14793. (altivec_expand_ternop_builtin): Rename to
  14794. rs6000_expand_ternop_builtin.
  14795. 2002-05-29 Richard Henderson <rth@redhat.com>
  14796. * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
  14797. (TARGET_BI_ARCH): Likewise.
  14798. * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
  14799. (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
  14800. (TARGET_64BIT_DEFAULT): Default to 0.
  14801. (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
  14802. 2002-05-29 Richard Henderson <rth@redhat.com>
  14803. * config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
  14804. (get_pc_thunk_name): New.
  14805. (output_set_got): Use it.
  14806. (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
  14807. into linkonce sections.
  14808. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  14809. * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
  14810. (CPP_PREDEFINES): Make sure this is undefined.
  14811. (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
  14812. (CPP_SUBTARGET_SPEC): Don't provide different versions for
  14813. default-32 and default-64. Just always use %(netbsd_cpp_spec).
  14814. (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
  14815. cpp_subtarget_spec64. Add netbsd_cpp_spec.
  14816. * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
  14817. (CPP_PREDEFINES): Make sure this is undefined.
  14818. (SUBTARGET_EXTRA_SPECS): Define.
  14819. (CPP_SPEC): Use %(netbsd_cpp_spec).
  14820. 2002-05-29 Jeff Law <law@redhat.com>
  14821. * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
  14822. * flow.c (propagate_one_insn): Do not remove a dead insn if it
  14823. contains a REG_RETVAL note.
  14824. * haifa-sched (sched_analyze): Remove another useless clearing
  14825. of SCHED_GROUP_P I missed yesterday.
  14826. * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
  14827. * pa.c (pa_asm_output_mi_thunk): New function.
  14828. * pa-protos.h (pa_asm_output_mi_thunk): Declare.
  14829. 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
  14830. Marek Michalkiewicz <marekm@amelek.gda.pl>
  14831. * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
  14832. (avr_asm_only_p): Make non-static.
  14833. (enum avr_arch): Remove.
  14834. (avr_arch_types): New.
  14835. (avr_mcu_types): Update.
  14836. (avr_override_options): Use avr_arch_types table instead of switch.
  14837. * avr.h (CPP_PREDEFINES): Die.
  14838. (avr_base_arch_macro, avr_extra_arch_macro): New.
  14839. (TARGET_CPU_CPP_BUILTINS): New.
  14840. (CPP_SPEC, EXTRA_SPECS): Simplify.
  14841. (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
  14842. CPP_AVR5_SPEC): Die.
  14843. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  14844. * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
  14845. NETBSD_OS_CPP_BUILTINS_AOUT.
  14846. (SUBTARGET_EXTRA_SPECS): Define.
  14847. (CPP_SPEC): Use %(netbsd_cpp_spec).
  14848. 2002-05-29 Richard Henderson <rth@redhat.com>
  14849. * config/i386/i386.c (ix86_output_function_epilogue): New.
  14850. (TARGET_ASM_FUNCTION_EPILOGUE): New.
  14851. (pic_label_name): Remove.
  14852. (pic_labels_used): New.
  14853. (ix86_asm_file_end): Emit one pc load stub for each register used.
  14854. (output_set_got): Generate deep pc load to any register.
  14855. (ix86_select_alt_pic_regnum): New.
  14856. (ix86_save_reg): Don't save pic register if we can find a valid
  14857. call-clobbered replacement.
  14858. (ix86_expand_prologue): If we found a valid replacement, renumber
  14859. pic_offset_table_rtx.
  14860. * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
  14861. pic_offset_table_rtx after reload.
  14862. (REAL_PIC_OFFSET_TABLE_REGNUM): New.
  14863. * config/i386/i386.md (set_got): Make insn, not expander.
  14864. (set_got_nopic, set_got_deep, set_got_nodeep): Remove.
  14865. 2002-05-29 Richard Henderson <rth@redhat.com>
  14866. * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
  14867. alignment for alloca.
  14868. 2002-05-29 Richard Henderson <rth@redhat.com>
  14869. * config/i386/i386.c (output_pic_addr_const): Lowercase rip.
  14870. (print_operand_address): Only add rip for symbolic addresses
  14871. for which we do not have another relocation type.
  14872. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  14873. * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
  14874. (EXTRA_SPECS): Add netbsd_cpp_spec.
  14875. (CPP_SPEC): Use %(netbsd_cpp_spec).
  14876. (CPP_PREDEFINES): Remove.
  14877. * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
  14878. (EXTRA_SPECS): Define.
  14879. (CPP_SPEC): Use %(netbsd_cpp_spec).
  14880. (CPP_PREDEFINES): Remove.
  14881. 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
  14882. PR preprocessor/6844
  14883. * cppmacro.c (cpp_macro_definition): Reserve space for terminating
  14884. NUL.
  14885. 2002-05-29 Eric Christopher <echristo@redhat.com>
  14886. * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
  14887. mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
  14888. 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
  14889. * config/fr30/fr30.md: Remove previous restriction on splits.
  14890. Enforce conformance through gen_lowpart and cont_int_operand.
  14891. * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
  14892. as the assembler does not support ".bss".
  14893. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  14894. * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
  14895. (CPP_PREDEFINES): Remove.
  14896. (SUBTARGET_EXTRA_SPECS): Define.
  14897. (CPP_SPEC): Use %(netbsd_cpp_spec).
  14898. * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
  14899. (CPP_PREDEFINES): Remove.
  14900. (SUBTARGET_EXTRA_SPECS): Define.
  14901. (CPP_SPEC): Use %(netbsd_cpp_spec).
  14902. * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
  14903. (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
  14904. (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
  14905. Add netbsd_cpp_spec.
  14906. (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
  14907. 2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
  14908. Zack Weinberg <zack@codesourcery.com>
  14909. * cppexp.c (cpp_num): Move to cpplib.h.
  14910. (CPP_ERROR): Remove.
  14911. (interpret_float_suffix, interpret_int_suffix): New.
  14912. (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
  14913. (cpp_classify_number, cpp_interpret_integer): New.
  14914. (interpret_number): Remove.
  14915. (eval_token): Update to use new routines.
  14916. * cpphash.h (cpp_num_part): Move to cpplib.h.
  14917. * cppinit.c (cpp_post_options): Set warn_long_long.
  14918. * cpplib.h (struct cpp_options): Add warn_long_long.
  14919. (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
  14920. CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
  14921. CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
  14922. CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
  14923. cpp_interpret_integer): New.
  14924. 2002-05-29 Joel Sherrill <joel@OARcorp.com>
  14925. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
  14926. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  14927. * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
  14928. NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
  14929. (CPP_SUBTARGET_SPEC): Define.
  14930. (SUBTARGET_EXTRA_SPECS): Define.
  14931. (CPP_SPEC): Remove.
  14932. 2002-05-29 Chris Lattner <sabre@nondot.org>
  14933. * ssa.c (rename_insn_1): Rename uses of undefined registers to
  14934. prevent confusion if/when the register is defined.
  14935. 2002-05-29 Hans-Peter Nilsson <hp@axis.com>
  14936. PR target/6838
  14937. * config/cris/cris.md: Fix typos and thinkos in comments.
  14938. ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
  14939. second alternative.
  14940. ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
  14941. ("*mov_sideqi_mem"): Similar, but for operand 3.
  14942. ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
  14943. (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
  14944. Remove spurious mode specifier on operand 2.
  14945. 2002-05-29 Kazu Hirata <kazu@cs.umass.edu>
  14946. * config/h8300/h8300-protos.h: Remove the prototype for
  14947. o_operand.
  14948. Add prototypes for single_one_operand and single_zero_operand.
  14949. * config/h8300/h8300.c (o_operand): Remove.
  14950. (single_one_operand): New.
  14951. (single_zero_operand): Likewise.
  14952. (print_operand): For 'V' operand, and the operand with 0xff.
  14953. For 'V' and 'W' operands, do not and the bit position with 7.
  14954. * config/h8300/h8300.md (various anonymous patterns): Replace
  14955. use of exact_log2 with single_one_operand/single_zero_operand.
  14956. 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
  14957. * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
  14958. 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
  14959. * config/s390/s390.c (legitimate_pic_operand_p): Do not
  14960. accept symbolic LARL operands.
  14961. (s390_emit_epilogue): Do not set FRAME_RELATED_P on
  14962. epilogue insns.
  14963. 2002-05-29 Hartmut Penner <hpenner@de.ibm.com>
  14964. * config/s390/s390.md (cmpstr_64/31): Mark whole
  14965. input registers as used.
  14966. 2002-05-28 Richard Henderson <rth@redhat.com>
  14967. * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
  14968. not current_function_uses_pic_offset_table and
  14969. current_function_uses_const_pool; examine current_function_profile.
  14970. (ix86_expand_prologue): Likewise. Add pic_offset_table_rtx as
  14971. input to blockage if needed.
  14972. (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
  14973. (legitimize_pic_address): Likewise. Set regs_ever_live for
  14974. pic_offset_table_rtx when invoked during reload.
  14975. * config/i386/i386.h (FINALIZE_PIC): Remove.
  14976. * config/i386/i386.md (tablejump): Reformat. Do not set
  14977. current_function_uses_pic_offset_table.
  14978. (tls_global_dynamic, tls_local_dynamic_base): Likewise.
  14979. (blockage): Accept anything as operand 0.
  14980. 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com>
  14981. * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
  14982. common CPP built-ins for all NetBSD a.out targets.
  14983. * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
  14984. common CPP built-ins for all NetBSD ELF targets.
  14985. * config/netbsd.h: Add missing notice.
  14986. (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
  14987. for all NetBSD targets.
  14988. (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
  14989. for all NetBSD targets using an LP64 code model.
  14990. (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
  14991. NetBSD targets.
  14992. 2002-05-28 Richard Henderson <rth@redhat.com>
  14993. * flow.c (update_life_info_in_dirty_blocks): Only do a partial
  14994. update if UPDATE_LIFE_LOCAL.
  14995. 2002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
  14996. * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
  14997. Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
  14998. Jason R. Thorpe <thorpej@wasabisystems.com>
  14999. config/sh reorganization to factor out endianness and coff:
  15000. * config/sh/little.h: New file.
  15001. * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
  15002. defined, define to 0 to select big-endian.
  15003. (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
  15004. (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
  15005. * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
  15006. * config/sh/t-be: New file.
  15007. * config/sh/t-le: New file.
  15008. * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
  15009. (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
  15010. (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
  15011. (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
  15012. (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
  15013. (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
  15014. (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
  15015. (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
  15016. (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
  15017. (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
  15018. CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
  15019. SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
  15020. (LINK_SPEC): Define to SH_LINK_SPEC.
  15021. (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
  15022. (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
  15023. (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
  15024. (CPP_SPEC): Reduce to %(subtarget_cpp_spec).
  15025. (TARGET_ENDIAN_DEFAULT): Define if not already defined.
  15026. * config/sh/coff.h: New file.
  15027. (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
  15028. (TARGET_OBJFMT_CPP_BUILTINS): Define.
  15029. * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
  15030. (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
  15031. (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
  15032. (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
  15033. (PTRDIFF_TYPE): Likewise.
  15034. ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
  15035. (CPP_PREDEFINES): Don't define.
  15036. (TARGET_OBJFMT_CPP_BUILTINS): Define.
  15037. (LINK_SPEC): Define to SH_LINK_SPEC.
  15038. (LINK_EMUL_PREFIX): Redefine.
  15039. * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
  15040. (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
  15041. (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
  15042. (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
  15043. (TARGET_OS_CPP_BUILTINS): Define.
  15044. (TARGET_DEFAULT): Redefine.
  15045. (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
  15046. * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
  15047. (LINK_SPEC): Don't redefine.
  15048. (LINK_DEFAULT_CPU_EMUL): Redefine.
  15049. (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
  15050. * sh.c (sh_asm_named_section): Don't declare / define.
  15051. * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
  15052. * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
  15053. (sh64-*-elf* tm_file): Likewise.
  15054. (sh-*-rtemself* tm_file): Likewise.
  15055. (sh-*-linux* tm_file): Likewise. Add sh/little.h.
  15056. (sh-*-linux* tmake_file): Add sh/t-le.
  15057. (sh-*-rtems* tm_file): Add sh/coff.h
  15058. (sh-*-* tm_file): Likewise.
  15059. Tue May 28 21:16:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
  15060. * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
  15061. CONSTANT_POOL_ADDRESS_P.
  15062. * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.
  15063. 2002-05-28 David Edelsohn <edelsohn@gnu.org>
  15064. Jeff Law <law@redhat.com>
  15065. * optabs.c (expand_binop): Fix nwords sign warnings.
  15066. generate pseudo for add_optab.
  15067. * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
  15068. * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
  15069. 2002-05-28 Marc Espie <espie@openbsd.org>
  15070. * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove,
  15071. inherited from gas.h.
  15072. (ASM_QUAD): Undef. OpenBSD does not support it.
  15073. 2002-05-28 Danny Smith <dannysmith@users.sourceforge.net>
  15074. * doc/install.texi (binaries): Change mingw binaries
  15075. link to www.mingw.org.
  15076. 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  15077. * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
  15078. 2002-05-28 Richard Henderson <rth@redhat.com>
  15079. * config/i386/i386.c (ix86_compute_frame_layout): Do not add
  15080. bottom alignment for leaf functions.
  15081. 2002-05-28 Zack Weinberg <zack@codesourcery.com>
  15082. * config/pa/milli32.S, config/pa/lib1funcs.asm,
  15083. config/sparc/sol2-g1.asm: Delete unused files.
  15084. 2002-05-28 Richard Henderson <rth@redhat.com>
  15085. * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
  15086. * flow.c (calculate_global_regs_live): Rename call_used to
  15087. invalidated_by_call. Initialize from regs_invalidated_by_call
  15088. instead of call_used_regs.
  15089. * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
  15090. DECL_EXTERNAL.
  15091. 2002-05-28 Zack Weinberg <zack@codesourcery.com>
  15092. * tree.h: Don't include real.h.
  15093. Forward-declare struct realvaluetype.
  15094. (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
  15095. contain it.
  15096. (TREE_REAL_CST_PTR): New accessor.
  15097. (TREE_REAL_CST): Update.
  15098. * real.h: Include machmode.h.
  15099. (realvaluetype): Make it struct realvaluetype, not a typedef.
  15100. (build_real): Prototype here.
  15101. * tree.c: Include real.h.
  15102. (build_real): Allocate the REAL_VALUE_TYPE as a separate
  15103. object in GC memory, set TREE_REAL_CST_PTR to point to it.
  15104. (build_real_from_int_cst): Use build_real.
  15105. * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
  15106. REAL_CST.
  15107. * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
  15108. fold-const.c, print-tree.c, real.c: Include real.h.
  15109. * Makefile.in: Update dependency lists.
  15110. 2002-05-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  15111. * basic-block.h (last_basic_block): Declare.
  15112. (expunge_block_nocompact): Declaration removed.
  15113. (compact_blocks): Declare.
  15114. * cfg.c (last_basic_block): New variable.
  15115. (expunge_block_nocompact): Removed.
  15116. (expunge_block): Do not compact basic blocks.
  15117. (compact_blocks): New.
  15118. * cfganal.c (flow_call_edges_add): Use the fact that bb indices no
  15119. longer change.
  15120. * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
  15121. last_basic_block.
  15122. * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
  15123. real positions of blocks.
  15124. (delete_unreachable_blocks): Simplified -- quadratic behavior now
  15125. cannot occur.
  15126. (cleanup_cfg): Compact blocks.
  15127. * cfgrtl.c (create_basic_block): Insert basic blocks to the end of
  15128. basic_block_info varray.
  15129. (flow_delete_block): Comment update.
  15130. (back_edge_of_syntactic_loop_p): Modify position check code.
  15131. (verify_flow_info): Update checking.
  15132. * flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
  15133. * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
  15134. (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
  15135. indices no longer change.
  15136. * lcm.c (optimize_mode_switching): Replace n_basic_blocks with
  15137. last_basic_block.
  15138. * predict.c (estimate_bb_frequencies): Remove unneccessary code.
  15139. * profile.c (branch_prob): Compact blocks.
  15140. * sched-rgn.c (find_rgns): Replace n_basic_blocks with
  15141. last_basic_block.
  15142. 2002-05-28 Kazu Hirata <kazu@cs.umass.edu>
  15143. * config/h8300/h8300.md (two anonymous patterns): New.
  15144. 2002-05-28 David S. Miller <davem@redhat.com>
  15145. * config/sparc/sparc.md (cpu): Tidy.
  15146. (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
  15147. 'trap'.
  15148. (in_call_delay): Delete reference to 'return' type.
  15149. (eligible_for_return_delay, in_return_delay, define_delay
  15150. referencing those): Delete.
  15151. (rest of file): Use new type attributes as appropriate.
  15152. * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
  15153. * config/sparc/sparc.c (eligible_for_return_delay): Likewise.
  15154. * config/sparc/ultra1_2.md (us1_single): New reservation.
  15155. (us1_ialuX): Likewise.
  15156. * config/sparc/ultra3.md (us3_single): Likewise.
  15157. (us3_ialuX): Likewise.
  15158. (us3_imul, us3_idiv): Tweak.
  15159. 2002-05-28 Richard Henderson <rth@redhat.com>
  15160. * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
  15161. STRING_CST.
  15162. 2002-05-28 Richard Henderson <rth@redhat.com>
  15163. * config.gcc: Obsolete mn10200.
  15164. 2002-05-28 Neil Booth <neil@daikokuya.demon.co.uk>
  15165. * cppexp.c (interpret_number): Optimize for single-digit
  15166. and less-than-half-precision cases.
  15167. (num_trim, num_positive, num_div_op): Cast constants.
  15168. 2002-05-27 Bo Thorsen <bo@suse.de>
  15169. * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the
  15170. 3.1 branch. The file was made by Jakub Jelinek.
  15171. * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
  15172. support so multilib doesn't break. And don't define this at all
  15173. when -Dinhibit_libc is used.
  15174. (MULTILIB_DEFAULTS): Always set default to 64 bit compilation.
  15175. * config/i386/t-linux64: Implement full multilib support. Patch
  15176. originally done by Andreas Jaeger and Jakub Jelinek.
  15177. 2002-05-27 Roger Sayle <roger@eyesopen.com>
  15178. * c-common.c: Add support for __attribute__((nothrow)) to specify
  15179. that a function cannot throw an exception (using TREE_NOTHROW).
  15180. (handle_nothrow_attribute): New function to process this attribute.
  15181. * doc/extend.texi: Document the new nothrow function attribute.
  15182. 2002-05-27 H.J. Lu (hjl@gnu.org)
  15183. * cppexp.c (num_trim): Use 1UL instead of 1 for long int.
  15184. (num_positive): Likewise.
  15185. (num_div_op): Likewise.
  15186. 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
  15187. * c-common.c (c_common_init): Always use intmax_t.
  15188. 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
  15189. * c-common.c (c_common_init): Use intmax_t for now.
  15190. 2002-05-24 Andrew Haley <aph@redhat.com>
  15191. * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
  15192. if T is a boolean type.
  15193. 2002-05-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  15194. * basic-block.h (last_basic_block): Defined as synonym for
  15195. n_basic_blocks.
  15196. * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
  15197. flow_depth_first_order_compute, flow_preorder_transversal_compute,
  15198. flow_dfs_compute_reverse_init): Replaced relevant occurences of
  15199. n_basic_blocks with last_basic_block.
  15200. * cfgbuild.c (make_edges): Likewise.
  15201. * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
  15202. * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
  15203. * combine.c (combine_instructions): Likewise.
  15204. * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
  15205. iterative_dataflow_bitmap): Likewise.
  15206. * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
  15207. calc_idoms, idoms_to_doms): Likewise.
  15208. * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
  15209. Likewise.
  15210. * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
  15211. compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
  15212. one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
  15213. one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
  15214. delete_null_pointer_checks, compute_code_hoist_vbeinout,
  15215. hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
  15216. compute_store_table, build_store_vectors): Likewise.
  15217. * haifa-sched.c (sched_init): Likewise.
  15218. * ifcvt.c (if_convert): Likewise.
  15219. * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
  15220. pre_edge_lcm, compute_available, compute_nearerout,
  15221. compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
  15222. Likewise.
  15223. * predict.c (estimate_probability, process_note_prediction,
  15224. note_prediction_to_br_prob): Likewise.
  15225. * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
  15226. * recog.c (split_all_insns, peephole2_optimize): Likewise.
  15227. * regrename.c (copyprop_hardreg_forward): Likewise.
  15228. * resource.c (init_resource_info): Likewise.
  15229. * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
  15230. init_regions, schedule_insns): Likewise.
  15231. * ssa-ccp.c (ssa_const_prop): Likewise.
  15232. * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
  15233. * ssa.c (compute_dominance_frontiers,
  15234. compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.
  15235. * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
  15236. * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
  15237. sizes consistently.
  15238. Mon May 27 14:28:12 CEST 2002 Jan Hubicka <jh@suse.cz>
  15239. * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
  15240. new.
  15241. * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store,
  15242. hoist_insn_after, hoist_insn_to_edge): New.
  15243. Mon May 27 12:14:02 CEST 2002 Jan Hubicka <jh@suse.cz>
  15244. * basic-block.h (PEOP_SCAN_DEAD_STORES): New.
  15245. (PROP_FINAL): Include.
  15246. * flow.c (life_analysis, update_life_info,
  15247. init_propagate_block_info, mark_set_1, mark_used_rgs):
  15248. Support SCAN_DEAD_STORE.
  15249. 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
  15250. * c-common.c (c_common_init): Set CPP arithmetic precision.
  15251. * cppexp.c (cpp_num_part): Move typedef ...
  15252. * cpphash.h: ...here; make unsigned HOST_WIDE_INT.
  15253. * cppinit.c (cpp_create_reader): Default to host long arithmetic.
  15254. (sanity_checks): Update.
  15255. 2002-05-26 Geoffrey Keating <geoffk@redhat.com>
  15256. * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
  15257. (mkheaders): New rule.
  15258. (install-mkheaders): New rule.
  15259. * configure.in (all_outputs): Add mkheaders.
  15260. * configure: Regenerate.
  15261. * mkheaders.in: New file.
  15262. 2002-05-26 Jakub Jelinek <jakub@redhat.com>
  15263. * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
  15264. 2002-05-26 Andreas Jaeger <aj@suse.de>
  15265. * cfg.c (dump_flow_info): Remove extra argument to fprintf.
  15266. 2002-05-26 Neil Booth <neil@daikokuya.demon.co.uk>
  15267. * cppexp.c (possible_sum_sign, integer_overflow, left_shift,
  15268. right_shift): Remove.
  15269. (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART,
  15270. HIGH_PART): New.
  15271. (struct op): Use cpp_num.
  15272. (num_zerop, num_eq, num_positive, num_greater_freq, num_trim,
  15273. num_part_mul, num_unary_op, num_binary_op, num_negate,
  15274. num_bitwise_op, num_inequality_op, num_equality_op, num_mul,
  15275. num_div_op, num_lshift, num_rshift, append_digit): New.
  15276. (interpret_number, parse_defined, eval_token, reduce): Update
  15277. for two-integer arithmetic.
  15278. (binary_handler): New typedef.
  15279. (optab): Update.
  15280. (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete.
  15281. (_cpp_parse_expr, reduce): Update to handle two-integers.
  15282. * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF.
  15283. 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl>
  15284. * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
  15285. * config/avr/avr.c (jump_over_one_insn_p): Take length of the
  15286. branch insn into account, do not assume 1.
  15287. (avr_out_sbxx_branch): New function. Optimize cases of skipping
  15288. over single word insn. Handle upper half of I/O space too.
  15289. * config/avr/avr.md (*sbrx_branch): Use it.
  15290. (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise.
  15291. (*sbix_branch, *sbix_branch_bit7): Likewise.
  15292. (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New.
  15293. Use RTL peepholes to optimize register operand sign tests.
  15294. 2002-05-26 Marek Michalkiewicz <marekm@amelek.gda.pl>
  15295. * config/avr/avr.c (avr_asm_only_p): New variable.
  15296. (avr_override_options): Set it here if AVR1.
  15297. (asm_file_start): Test it here, report an error if set.
  15298. 2002-05-26 Kazu Hirata <kazu@cs.umass.edu>
  15299. * alias.c: Fix formatting.
  15300. * attribs.c: Likewise.
  15301. * bb-reorder.c: Likewise.
  15302. * bitmap.c: Likewise.
  15303. * bitmap.h: Likewise.
  15304. * builtins.c: Likewise.
  15305. Sun May 26 14:00:44 CEST 2002 Jan Hubicka <jh@suse.cz>
  15306. * reload.c (find_valid_class): Accept new argument DEST,
  15307. choose class accordingly.
  15308. (push_reload): Update callers.
  15309. 2002-05-26 Andreas Jaeger <aj@suse.de>
  15310. * combine.c (combine_instructions): Do not indent #if for
  15311. traditional C.
  15312. 2002-05-25 Richard Henderson <rth@redhat.com>
  15313. * c-pragma.c (apply_pragma_weak): Convert value identifier to
  15314. string for decl_attributes.
  15315. (handle_pragma_weak): Call assemble_alias if we're modifying
  15316. an existing decl.
  15317. 2002-05-25 Richard Henderson <rth@redhat.com>
  15318. PR target/6788
  15319. * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
  15320. using rtl instead of fprintf.
  15321. * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
  15322. * config/sparc/sparc-protos.h: Update.
  15323. 2002-05-25 Neil Booth <neil@daikokuya.demon.co.uk>
  15324. * Makefile.in (C_COMMON_H): Fix.
  15325. Update other targets.
  15326. * c-common.c: Don't include c-lex.h.
  15327. (builtin_define_with_value): Make static and prototype.
  15328. (builtin_define_std): Move from c-lex.h.
  15329. * c-common.h (init_c_lex): Move from c-lex.h.
  15330. * c-decl.c: Don't include c-lex.h.
  15331. (make_pointer_declarator): Move from c-parse.in.
  15332. * c-lex.c: Don't include c-lex.h.
  15333. * c-lex.h: Remove.
  15334. * c-parse.in: Don't include c-lex.h; include c-pragma.h.
  15335. (make_pointer_declarator): Move to c-decl.c.
  15336. * c-pragma.c: Don't include c-lex.h.
  15337. * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
  15338. * c-tree.h (make_pointer_declarator): New.
  15339. doc:
  15340. * passes.texi, tm.texi: Update.
  15341. objc:
  15342. * Make-lang.in: Update and correct.
  15343. * objc-act.c: Don't include c-lex.h or cpplib.h.
  15344. treelang:
  15345. * treetree.c: Don't include c-lex.h.
  15346. config:
  15347. * darwin-c.c: Don't include c-lex.h.
  15348. * c4x/c4x-c.c: Don't include c-lex.h.
  15349. * c4x/t-c4x: Update.
  15350. * i370/i370-c.c: Don't include c-lex.h.
  15351. * i370/t-i370: Update.
  15352. * i960/i960-c.c: Don't include c-lex.h.
  15353. * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
  15354. * i960/t-960bare: Update.
  15355. * i960/t-vxworks: Update.
  15356. * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
  15357. * rs6000/t-darwin: Update.
  15358. * rs6000/t-rs6000-c-rule: Update.
  15359. * v850/v850-c.c: Don't include c-lex.h.
  15360. * v850/v850.c: Don't include c-lex.h or cpplib.h.
  15361. 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
  15362. * tree.def: Fix typos.
  15363. * doc/install.texi: Likewise.
  15364. 2002-05-25 Richard Henderson <rth@redhat.com>
  15365. * configure.in (HAVE_AS_TLS): Add ia64 test.
  15366. * configure: Rebuild.
  15367. * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
  15368. (override_options): Set it.
  15369. (TARGET_HAVE_TLS): New.
  15370. (sdata_symbolic_operand): Look for 's'.
  15371. (tls_symbolic_operand): New.
  15372. (ia64_expand_load_address): Abort for tls symbols.
  15373. (gen_tls_get_addr): New.
  15374. (gen_thread_pointer): New.
  15375. (ia64_expand_move): Split out from movdi. Handle tls symbols.
  15376. (rtx_needs_barrier): Add new unspecs.
  15377. (ia64_encode_section_info): Handle tls symbols.
  15378. (ia64_strip_name_encoding): Strip two encoding chars.
  15379. * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
  15380. (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
  15381. (TARGET_OPTIONS): Add tls-size.
  15382. (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
  15383. * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
  15384. UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
  15385. (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
  15386. (movsf, movdf): Likewise.
  15387. (movdi_symbolic): Use match_scratch. Don't split if we won't
  15388. have a scratch availiable.
  15389. (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
  15390. add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
  15391. load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
  15392. * config/ia64/ia64-protos.h: Update.
  15393. * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
  15394. sdata_symbolic_operand.
  15395. (ASM_OUTPUT_LABELREF): Strip two characters.
  15396. 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
  15397. * combine.c (simplify_set): Remove an unnecessary subreg.
  15398. 2002-05-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
  15399. * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
  15400. * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.
  15401. 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
  15402. * toplev.c (output_clean_symbol_name): Fix another thinko. Gosh.
  15403. 2002-05-25 Roger Sayle <roger@eyesopen.com>
  15404. * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
  15405. (cond (compare x y) 0) into the equivalent (cond x y).
  15406. 2002-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
  15407. * toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko.
  15408. 2002-05-24 Zack Weinberg <zack@codesourcery.com>
  15409. * config.gcc: Remove all stanzas for previously obsoleted
  15410. systems. Where necessary, add explicit error stanzas to
  15411. prevent removed systems from being misidentified as something
  15412. else. Begin a fresh obsoletions list, with the systems that
  15413. were reprieved last round.
  15414. * doc/install.texi: Remove all mention of dead targets.
  15415. * fixinc/mkfixinc.sh: Likewise.
  15416. * config/arm/arm.h: Bit 31 of target_flags is no longer
  15417. reserved.
  15418. * config/1750a/1750a-protos.h, config/1750a/1750a.c,
  15419. config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
  15420. config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
  15421. config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
  15422. config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
  15423. config/alpha/osf12.h, config/alpha/osf2or3.h,
  15424. config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
  15425. config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
  15426. config/clipper/clipper-protos.h, config/clipper/clipper.c,
  15427. config/clipper/clipper.h, config/clipper/clipper.md,
  15428. config/clipper/clix.h, config/convex/convex-protos.h,
  15429. config/convex/convex.c, config/convex/convex.h,
  15430. config/convex/convex.md, config/convex/fixinc.convex,
  15431. config/convex/proto.h, config/elxsi/elxsi-protos.h,
  15432. config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
  15433. config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
  15434. config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
  15435. config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
  15436. config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
  15437. config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
  15438. config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
  15439. config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
  15440. config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
  15441. config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
  15442. config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
  15443. config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
  15444. config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
  15445. config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
  15446. config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
  15447. config/m68k/altos3068.h, config/m68k/apollo68.h,
  15448. config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
  15449. config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
  15450. config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
  15451. config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
  15452. config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
  15453. config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
  15454. config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
  15455. config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
  15456. config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
  15457. config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
  15458. config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
  15459. config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
  15460. config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
  15461. config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
  15462. config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
  15463. config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
  15464. config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
  15465. config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
  15466. config/mips/dec-osf1.h, config/mips/elflorion.h,
  15467. config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
  15468. config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
  15469. config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
  15470. config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
  15471. config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
  15472. config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
  15473. config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
  15474. config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
  15475. config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
  15476. config/ns32k/pc532-min.h, config/ns32k/pc532.h,
  15477. config/ns32k/sequent.h, config/ns32k/tek6000.h,
  15478. config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
  15479. config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
  15480. config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
  15481. config/sparc/rtems.h, config/we32k/we32k-protos.h,
  15482. config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
  15483. Delete file.
  15484. 2002-05-24 Richard Henderson <rth@redhat.com>
  15485. * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
  15486. * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
  15487. * config/i386/i386.c (tls_model_chars): Add leading space.
  15488. (tls_symbolic_operand): Don't bias by 1.
  15489. (legitimize_address): Don't unbias by 1.
  15490. 2002-05-24 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
  15491. * lcm.c (optimize_mode_switching): Change bb used as indices
  15492. to bb->index.
  15493. 2002-05-24 Richard Henderson <rth@redhat.com>
  15494. * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
  15495. of update_life_info_in_dirty_blocks.
  15496. 2002-05-24 Jakub Jelinek <jakub@redhat.com>
  15497. PR other/6782
  15498. * final.c (get_mem_expr_from_op): Return 0 if op is NULL.
  15499. 2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk>
  15500. PR preprocessor/6780
  15501. * cppmacro.c (enter_macro_context): Clear state.angled_headers.
  15502. 2002-05-24 Jim Blandy <jimb@redhat.com>
  15503. * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
  15504. entry with a type code of zero, marking the end of the compilation
  15505. unit's macro info.
  15506. 2002-05-24 Richard Henderson <rth@redhat.com>
  15507. * varasm.c (asm_output_bss): Always output one byte.
  15508. * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
  15509. 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
  15510. * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
  15511. namespace.
  15512. 2002-05-24 Andreas Jaeger <aj@suse.de>
  15513. * ggc-page.c (alloc_page): Cast variables of type size_t to
  15514. unsigned long, adjust printf format string.
  15515. (ggc_alloc): Likewise.
  15516. (ggc_print_statistics): Likewise.
  15517. (ggc_print_statistics): Correct printf format string for SCALE to
  15518. use unsigned long.
  15519. 2002-05-24 Danny Smith <dannysmith@users.sourceforge.net>
  15520. * config/i386/mingw32.h (CPP_SPEC): Remove -remap.
  15521. 2002-05-23 Gabriel Dos Reis <gdr@codesourcery.com>
  15522. Zack Weinberg <zack@codesourcery.com>
  15523. * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
  15524. quoted strings.
  15525. * dwarf2out.c (lookup_filename): Properly quote filename in .file
  15526. directive in assembly file.
  15527. * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
  15528. * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
  15529. * config/pj/pj.h (ASM_FILE_START): Likewise.
  15530. * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
  15531. * config/avr/avr.c (asm_file_end): Likewise.
  15532. * toplev.c (output_quoted_string): Handle possibly signed plain
  15533. char.
  15534. * toplev.h (output_clean_symbol_name): Declare
  15535. * toplev.c (output_clean_symbol_name): Define.
  15536. * config/alpha/alpha.c (unicosmk_output_module_name): Use it.
  15537. * config/1750a/1750a.h (ASM_FILE_START): Likewise.
  15538. 2002-05-24 Alan Modra <amodra@bigpond.net.au>
  15539. * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
  15540. 2002-05-23 Vladimir Makarov <vmakarov@redhat.com>
  15541. * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
  15542. of size of unsigned.
  15543. 2002-05-23 Richard Henderson <rth@redhat.com>
  15544. * configure.in (HAVE_AS_TLS): New test.
  15545. * config.in, configure: Rebuild.
  15546. * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
  15547. (ix86_tls_dialect_string, ix86_tls_dialect): New.
  15548. (override_options): Set it.
  15549. (tls_model_chars, tls_symbolic_operand): New.
  15550. (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
  15551. (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
  15552. (local_exec_symbolic_operand): New.
  15553. (get_pic_label_name): Merge into output_set_got.
  15554. (ix86_asm_file_end): Emit pic_label_name if defined.
  15555. (legitimate_constant_p, constant_address_p): New.
  15556. (legitimate_pic_operand_p): New.
  15557. (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
  15558. (legitimate_address_p): Likewise.
  15559. (ix86_encode_section_info): Rename from i386_; handle tls decls.
  15560. (ix86_strip_name_encoding): New.
  15561. (get_thread_pointer): New.
  15562. (legitimize_address): Handle tls symbols.
  15563. (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
  15564. Remove UNSPEC_PLT.
  15565. (struct machine_function): Add some_ld_name.
  15566. (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
  15567. (print_operand) [&]: Use it. Handle UNSPEC_TP.
  15568. (output_addr_const_extra): New.
  15569. (maybe_get_pool_constant): New.
  15570. (ix86_split_to_parts): Use it.
  15571. (ix86_expand_move): Handle tls symbols.
  15572. (ix86_tls_get_addr): New.
  15573. * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
  15574. (TARGET_OPTIONS): Add tls-dialect.
  15575. (CONSTANT_ADDRESS_P): Use new out-of-line function.
  15576. (LEGITIMATE_CONSTANT_P): Likewise.
  15577. (LEGITIMATE_PIC_OPERAND_P): Likewise.
  15578. (TARGET_STRIP_NAME_ENCODING): New.
  15579. (ASM_OUTPUT_LABELREF): New.
  15580. (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
  15581. (OUTPUT_ADDR_CONST_EXTRA): New.
  15582. (PREDICATE_CODES): Update.
  15583. (ix86_tls_dialect, ix86_tls_dialect_string): New.
  15584. * config/i386/i386.md: Regroup and renumber unspec constants.
  15585. (tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
  15586. (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
  15587. (tls_global_dynamic, tls_local_dynamic_base): New.
  15588. (tls_local_dynamic_once): New.
  15589. * config/i386/i386-protos.h: Update.
  15590. 2002-05-23 Richard Henderson <rth@redhat.com>
  15591. * genemit.c (gen_insn): Print file:lineno comment before function.
  15592. (main): likewise.
  15593. * gensupport.c (struct queue_elem): Add filename member.
  15594. (queue_pattern): Initialize it; update all callers.
  15595. (process_include): Don't free filename.
  15596. (read_md_rtx): Set read_rtx_filename.
  15597. 2002-05-23 Hans Boehm <Hans_Boehm@hp.com>
  15598. * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
  15599. 2002-05-23 Richard Henderson <rth@redhat.com>
  15600. * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
  15601. 2002-05-23 Richard Henderson <rth@redhat.com>
  15602. * doc/extend.texi (C++98 Thread-Local Edits): Update with
  15603. commentary from Mark.
  15604. 2002-05-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  15605. * bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
  15606. Use FOR_EACH_BB macros to iterate over basic block chain.
  15607. * cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
  15608. alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
  15609. Likewise.
  15610. * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
  15611. find_unreachable_blocks, create_edge_list, verify_edge_list,
  15612. remove_fake_edges, add_noreturn_fake_exit_edges,
  15613. flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
  15614. Likewise.
  15615. * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
  15616. find_sub_basic_blocks): Likewise.
  15617. * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
  15618. Likewise.
  15619. * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
  15620. Likewise.
  15621. * cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
  15622. Likewise.
  15623. * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
  15624. commit_edge_insertions, commit_edge_insertions_watch_calls,
  15625. print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
  15626. * combine.c (combine_instructions, reg_dead_at_p): Likewise.
  15627. * conflict.c (conflict_graph_compute): Likewise.
  15628. * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
  15629. df_modified_p, df_refs_unlink, df_dump): Likewise.
  15630. * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
  15631. * final.c (compute_alignments): Likewise.
  15632. * flow.c (update_life_info, update_life_info_in_dirty_blocks,
  15633. delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
  15634. count_or_remove_death_notes): Likewise.
  15635. * gcse.c (oprs_unchanged_p, record_last_reg_set_info,
  15636. compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
  15637. classic_gcse, compute_transp, cprop, compute_pre_data,
  15638. compute_transpout, invalidate_nonnull_info,
  15639. delete_null_pointer_checks_1, delete_null_pointer_checks,
  15640. compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
  15641. compute_store_table, build_store_vectors, store_motion): Likewise.
  15642. * global.c (global_conflicts, mark_elimination): Likewise.
  15643. * graph.c (print_rtl_graph_with_bb): Likewise.
  15644. * haifa-sched.c (sched_init): Likewise.
  15645. * ifcvt.c (if_convert): Likewise.
  15646. * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
  15647. compute_available, compute_nearerout, compute_rev_insert_delete,
  15648. optimize_mode_switching): Likewise.
  15649. * local-alloc.c (local_alloc, update_equiv_regs): Likewise.
  15650. * predict.c (estimate_probability, note_prediction_to_br_prob,
  15651. propagate_freq, counts_to_freqs, expensive_function_p,
  15652. estimate_bb_frequencies): Likewise.
  15653. * profile.c (instrument_edges, get_exec_counts,
  15654. compute_branch_probabilities, compute_checksum, branch_prob,
  15655. find_spanning_tree): Likewise.
  15656. * recog.c (split_all_insns, peephole2_optimize): Likewise.
  15657. * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
  15658. Likewise.
  15659. * regclass.c (scan_one_insn, regclass): Likewise.
  15660. * regmove.c (mark_flags_life_zones, regmove_optimize,
  15661. record_stack_memrefs): Likewise.
  15662. * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
  15663. * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
  15664. * resource.c (find_basic_block): Likewise.
  15665. * sched-ebb.c (schedule_ebbs): Likewise.
  15666. * sched-rgn.c (is_cfg_nonregular, build_control_flow,
  15667. find_single_block_region, find_rgns, schedule_insns)
  15668. * sibcall.c (optimize_sibling_and_tail_recursive_call)
  15669. * ssa-ccp.c (optimize_unexecutable_edges,
  15670. ssa_ccp_df_delete_unreachable_insns): Likewise.
  15671. * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
  15672. * ssa.c (find_evaluations, compute_dominance_frontiers_1,
  15673. rename_block, convert_to_ssa, compute_conservative_reg_partition,
  15674. compute_coalesced_reg_partition, rename_equivalent_regs,
  15675. convert_from_ssa): Likewise.
  15676. * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
  15677. process_for_unwind_directive): Likewise.
  15678. * df.c (FOR_ALL_BBS): Removed.
  15679. * gcse.c (struct null_pointer_info): Type of current_block field
  15680. changed.
  15681. (struct reg_avail_info): Type of last_bb field changed.
  15682. * config/ia64/ia64.c (block_num): Removed.
  15683. (need_copy_state): Type changed.
  15684. (last_block): New.
  15685. 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
  15686. * cppinit.c (mark_named_operators): Split out from init_builtins.
  15687. (cpp_finish_options): Call it from here instead.
  15688. 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com>
  15689. * builtin-attrs.def: Update copyright years.
  15690. (ATTR_NONNULL): New attribute identifier.
  15691. (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
  15692. attribute tree lists.
  15693. (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
  15694. format operand.
  15695. (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
  15696. (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
  15697. attribute lists. Chain the appropriate nonnull attribute.
  15698. * c-format.c (check_format_arg): Remove null format string
  15699. warning.
  15700. * testsuite/gcc.dg/format/null-1.c: New test.
  15701. 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  15702. * Makefile.in (ADAC): Define.
  15703. (SYSLIBS): Define.
  15704. (.SUFFIXES): Move before language makefile fragments.
  15705. (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.
  15706. 2002-05-23 Mark Mitchell <mark@codesourcery.com>
  15707. * varasm.c (make_decl_rtl): Don't allow weak variables to be
  15708. placed in common.
  15709. Thu May 23 19:43:41 CEST 2002 Jan Hubicka <jh@suse.cz>
  15710. * cfg.c (dump_flow_info): Print results of
  15711. maybe_hot/probably_never_executed predicates.
  15712. * toplev.c (open_dump_file): Print function frequency.
  15713. 2002-05-23 David S. Miller <davem@redhat.com>
  15714. * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
  15715. regsets.
  15716. 2002-05-23 Jason Thorpe <thorpej@wasabisystems.com>
  15717. * c-common.c (warn_nonnull): Declare.
  15718. (c_common_attribute_table): Add "nonnull" attribute.
  15719. (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
  15720. check_nonnull_arg, get_nonnull_operand, check_function_arguments,
  15721. check_function_arguments_recurse): New functions.
  15722. * c-common.h (warn_nonnull): Declare extern.
  15723. (check_function_arguments, check_function_arguments_recurse): New
  15724. prototypes.
  15725. * c-decl.c (c_decode_option): Add -Wnonnull option.
  15726. * c-format.c (set_Wformat): Set warn_nonnull if enabling
  15727. format checking.
  15728. (format_check_context): New structure.
  15729. (check_format_info_recurse): Remove recursion and rename to...
  15730. (check_format_arg): ...this. Update comment.
  15731. (check_format_info): Use check_function_arguments_recurse.
  15732. * c-typeck.c (build_function_call): Call check_function_arguments
  15733. instead of check_function_format.
  15734. * doc/extend.texi: Document "nonnull" attribute.
  15735. * doc/invoke.texi: Docuemnt -Wnonnull option.
  15736. * testsuite/gcc.dg/nonnull-1.c: New test.
  15737. * testsuite/gcc.dg/nonnull-2.c: New test.
  15738. 2002-05-23 David S. Miller <davem@redhat.com>
  15739. * basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
  15740. * cfgcleanup.c (cleanup_cfg): If it is set do not
  15741. attempt to delete trivially dead insns.
  15742. * except.c (finish_eh_generation): Pass it to cleanup_cfg.
  15743. * toplev.c (rest_of_compilation): Document non-trivial aspect
  15744. the RTL before optimize_save_area_alloca is run.
  15745. 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
  15746. * c-lex.c (indent_level): Remove.
  15747. (cb_file_change, c_lex): Remove indent level handling.
  15748. * c-lex.h (indent_level): Remove.
  15749. * input.h (struct file_stack): Remove indent_level.
  15750. * toplev.c (push_srcloc): Remove indent_level handling.
  15751. 2002-05-23 Jakub Jelinek <jakub@redhat.com>
  15752. PR target/6753
  15753. * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
  15754. of x in constraints for clarity.
  15755. (sse_mov?fcc split): abort if op2 == op3.
  15756. (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
  15757. sse_movsfcc_const0_4): Add earlyclobber.
  15758. (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
  15759. sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode.
  15760. Use Y instead of x in constraints.
  15761. 2002-05-23 Richard Henderson <rth@redhat.com>
  15762. * doc/extend.texi (C99 Thread-Local Edits): New subsection.
  15763. (C++98 Thread-Local Edits): New subsection.
  15764. * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
  15765. (ix86_arch): Set type to enum processor_type.
  15766. * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
  15767. LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
  15768. 2002-05-23 Jakub Jelinek <jakub@redhat.com>
  15769. * configure.in: Fix as version test for binutils 2.12.1 releases
  15770. (without dates).
  15771. * configure: Rebuilt.
  15772. 2002-05-23 Richard Henderson <rth@redhat.com>
  15773. * config/i386/i386.c (get_pic_label_name): New.
  15774. (load_pic_register): Remove.
  15775. (output_set_got): New.
  15776. (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
  15777. * config/i386/i386.md (UNSPEC_SET_GOT): New.
  15778. (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
  15779. (prologue_set_got, prologue_get_pc): Remove.
  15780. (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
  15781. (builtin_setjmp_receiver): Use gen_set_got.
  15782. * config/i386/i386-protos.h: Update.
  15783. Thu May 23 09:22:23 CEST 2002 Jan Hubicka <jh@suse.cz>
  15784. * gcse.c (hash_expr): Do not use alias set for hashing.
  15785. 2002-05-22 Kevin Buettner <kevinb@redhat.com>
  15786. * dbxout.c (dbxout_class_name_qualifiers): New function.
  15787. (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.
  15788. 2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
  15789. * cpperror.c (_cpp_begin_message): No special casing
  15790. of CPP_FATAL_LIMIT.
  15791. * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
  15792. (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
  15793. * cpplib.c (do_include_common): Use DL_ERROR.
  15794. * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
  15795. (DL_ICE): Renumber.
  15796. * fix-header.c (read_scan_file): Update.
  15797. 2002-05-22 Richard Henderson <rth@redhat.com>
  15798. * config/i386/i386.c (ix86_expand_call): New function, extracted
  15799. from md call patterns. Add pic_offset_table_rtx to
  15800. CALL_INSN_FUNCTION_USAGE when needed.
  15801. * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
  15802. (call_value_pop, call_value, untyped_call): Likewise.
  15803. (call_exp, call_value_exp): Remove.
  15804. * config/i386/i386-protos.h: Update.
  15805. 2002-05-22 Richard Henderson <rth@redhat.com>
  15806. * varasm.c (default_section_type_flags): Check for VAR_DECL
  15807. before using DECL_THREAD_LOCAL.
  15808. 2002-05-22 David Edelsohn <edelsohn@gnu.org>
  15809. * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
  15810. (STARTFILE_SPEC): Delete PE crt0.o.
  15811. * config/rs6000/aix51.h: Same.
  15812. * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
  15813. * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
  15814. function descriptor symbol. Use RS6000_OUTPUT_BASENAME.
  15815. (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
  15816. * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
  15817. 2002-05-22 Richard Henderson <rth@redhat.com>
  15818. * varasm.c (default_section_type_flags): Handle tls data and
  15819. default sections.
  15820. (default_unique_section): Handle tls sections.
  15821. 2002-05-23 Alan Modra <amodra@bigpond.net.au>
  15822. * configure.in (CROSS): Define NATIVE_CROSS.
  15823. * configure: Regenerate.
  15824. * gcc.c (STARTFILE_PREFIX_SPEC): Define.
  15825. (startfile_prefix_spec): New var.
  15826. (static_specs): Add startfile_prefix_spec.
  15827. (do_spec_2): Split out from..
  15828. (do_spec): ..here.
  15829. (main): Process startfile_prefix_spec.
  15830. * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
  15831. dynamic linker.
  15832. (STARTFILE_PREFIX_SPEC): Define.
  15833. (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
  15834. absolute paths.
  15835. 2002-05-22 Kazu Hirata <kazu@cs.umass.edu>
  15836. * cpperror.c: Fix formatting.
  15837. * cppexp.c: Likewise.
  15838. * cppfiles.c: Likewise.
  15839. * cpphash.c: Likewise.
  15840. * cpphash.h: Likewise.
  15841. * cppinit.c: Likewise.
  15842. * cpplex.c: Likewise.
  15843. * cpplib.c: Likewise.
  15844. * cppmacro.c: Likewise.
  15845. * cppmain.c: Likewise.
  15846. * cppspec.c: Likewise.
  15847. 2002-05-22 Jakub Jelinek <jakub@redhat.com>
  15848. * combine.c (force_to_mode): Use gen_int_mode.
  15849. Don't clear CONST_INT bits outside of mode.
  15850. 2002-05-22 Richard Henderson <rth@redhat.com>
  15851. * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
  15852. * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
  15853. 2002-05-22 Jakub Jelinek <jakub@redhat.com>
  15854. PR c/6643
  15855. * emit-rtl.c (widen_memory_access): Only call compare_tree_int
  15856. if DECL_SIZE_UNIT is INTEGER_CST.
  15857. 2002-05-22 Richard Henderson <rth@redhat.com>
  15858. * flow.c (life_analysis): Delete broken reg_label check.
  15859. 2002-05-22 Richard Henderson <rth@redhat.com>
  15860. * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
  15861. * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
  15862. Wed May 22 18:39:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
  15863. * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
  15864. (embed-bb.c): New rule.
  15865. * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
  15866. * config/sh/embed_bb.c: Delete.
  15867. Wed May 22 18:25:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
  15868. * c-common.c (cb_register_builtins): Don't indent '#' of #define.
  15869. 2002-05-22 Kazu Hirata <kazu@cs.umass.edu>
  15870. * config/h8300/h8300.md (*andorqi3): New.
  15871. 2002-05-22 Neil Booth <neil@daikokuya.demon.co.uk>
  15872. PR preprocessor/6517
  15873. * Makefile.in: Update.
  15874. * c-common.c (c_common_post_options): Add preprocessor
  15875. errors to the error count.
  15876. * c-lang.c (c_post_options): Kill.
  15877. (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
  15878. * hooks.h: Add header guards.
  15879. * langhooks-def.h: Include hooks.h.
  15880. (LANG_HOOKS_POST_OPTIONS): Update.
  15881. * langhooks.h (struct lang_hooks): Update post_options.
  15882. * toplev.c (parse_options_and_default_flags): Update.
  15883. objc:
  15884. * objc-lang.c (objc_post_options): Kill.
  15885. (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
  15886. 2002-05-21 Bruce Korb <bkorb@gnu.org>
  15887. * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
  15888. * fixinc/inclhack.def(thread_keyword): use c_fix = format.
  15889. * fixinc/fixincl.x: regen.
  15890. 2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
  15891. * cfgbuild.c: Fix formatting.
  15892. * cfg.c: Likewise.
  15893. * cfgcleanup.c: Likewise.
  15894. * cfglayout.c: Likewise.
  15895. * cfgloop.c: Likewise.
  15896. * cfgrtl.c: Likewise.
  15897. 2002-05-21 Richard Henderson <rth@redhat.com>
  15898. * c-common.h (enum rid): Add RID_THREAD.
  15899. * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
  15900. (grokdeclarator): Grok __thread.
  15901. * c-parse.in (reswords): Add __thread.
  15902. (rid_to_yy): Add RID_THREAD.
  15903. * tree.h (DECL_THREAD_LOCAL): New.
  15904. (struct tree_decl): Add thread_local_flag.
  15905. * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
  15906. * tree.c (staticp): TLS variables are not static.
  15907. * target-def.h (TARGET_HAVE_TLS): New.
  15908. * target.h (have_tls): New.
  15909. * output.h (SECTION_TLS): New.
  15910. * varasm.c (assemble_variable): TLS variables can't be common for now.
  15911. (default_section_type_flags): Handle .tdata and .tbss.
  15912. (default_elf_asm_named_section): Handle SECTION_TLS.
  15913. (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
  15914. * flags.h (flag_tls_default): Declare.
  15915. * toplev.c (flag_tls_default): Define.
  15916. (display_help): Display help for it.
  15917. (decode_f_option): Set it.
  15918. * doc/extend.texi (Thread-Local): New node describing language-level
  15919. thread-local storage.
  15920. * doc/invoke.texi (-ftls-model): Document.
  15921. * fixinc/inclhack.def (thread_keyword): New.
  15922. * fixinc/fixincl.x: Rebuild.
  15923. 2002-05-21 Jeffrey A Law <law@redhat.com>
  15924. * optabs.c (expand_binop): For double-word integer multiplies,
  15925. do not compute intermediate results into something that is
  15926. not a register (such as a SUBREG or MEM).
  15927. * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
  15928. (ix86_sched_reorder): Make sure to initialize scheduling
  15929. data even when there's only one insn in the ready queue.
  15930. 2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
  15931. * genautomata.c (reserv_sets_hash_value): Fix a typo.
  15932. 2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
  15933. * genautomata.c (reserv_sets_hash_value): Define hash_value as
  15934. set_el_t. Transform the hash value into unsigned.
  15935. (output_cycle_reservs): Fix bug with output of repeated `nothing'.
  15936. (transform_3): Add code to process `(A,B)+(D,E)'.
  15937. 2002-05-21 NIIBE Yutaka <gniibe@m17n.org>
  15938. * reload1.c (do_output_reload): Run delete_output_reload
  15939. only if optimizing.
  15940. 2002-05-21 Roger Sayle <roger@eyesopen.com>
  15941. PR middle-end/6600
  15942. * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
  15943. larger than INTEGER_CST. (store_by_pieces_1): Use it here...
  15944. (can_store_by_pieces): ... and here to limit the largest mode used.
  15945. Add a comment to document this function.
  15946. 2002-05-21 Richard Henderson <rth@redhat.com>
  15947. * flow.c (life_analysis): Fix test for deleted label.
  15948. 2002-05-21 Neil Booth <neil@daikokuya.demon.co.uk>
  15949. * doc/tm.texi: Fix typo.
  15950. 2002-05-21 Zack Weinberg <zack@codesourcery.com>
  15951. * c-common.c (c_common_init): Set options->unsigned_char from
  15952. flag_signed_char.
  15953. (cb_register_builtins): Define __STRICT_ANSI__ and
  15954. __CHAR_UNSIGNED__ here...
  15955. * cppinit.c (init_builtins): Not here.
  15956. (cpp_create_reader): unsigned_char option defaults to 0, not
  15957. !DEFAULT_SIGNED_CHAR.
  15958. (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
  15959. and -funsigned-char.
  15960. * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
  15961. * cpphash.c (_cpp_init_hashtable): Don't set it.
  15962. * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
  15963. directly. Clarify comment.
  15964. 2002-05-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  15965. * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
  15966. neighboring basic blocks. Use ENTRY_BLOCK_PTR->next_bb instead of
  15967. BASIC_BLOCK (0). Use EXIT_BLOCK_PTR->prev_bb instead of
  15968. BASIC_BLOCK (n_basic_blocks - 1).
  15969. * cfganal.c (can_fallthru, flow_call_edges_add,
  15970. flow_preorder_transversal_compute): Too.
  15971. * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
  15972. find_sub_basic_blocks): Too.
  15973. * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
  15974. * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
  15975. fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
  15976. * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
  15977. * combine.c (this_basic_block): Type changed to basic_block.
  15978. (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
  15979. nonzero_bits, num_sign_bit_copies, get_last_value_validate,
  15980. get_last_value, distribute_notes, distribute_links): Too.
  15981. * final.c (compute_alignments): Too.
  15982. * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
  15983. * function.c (thread_prologue_and_epilogue_insns): Too.
  15984. * gcse.c (compute_code_hoist_vbeinout): Too.
  15985. * global.c (build_insn_chain): Too.
  15986. * ifcvt.c (find_if_block, find_cond_trap): Too.
  15987. * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
  15988. * regmove.c (regmove_optimize): Too.
  15989. * resource.c (find_basic_block): Too.
  15990. * sched-ebb.c (schedule_ebbs): Too.
  15991. * ssa-dce.c (find_control_dependence, find_pdom): Too.
  15992. 2002-05-21 Andreas Jaeger <aj@suse.de>
  15993. * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
  15994. 2002-05-21 Richard Henderson <rth@redhat.com>
  15995. * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
  15996. unspec names, not numbers.
  15997. 2002-05-21 Joseph S. Myers <jsm28@cam.ac.uk>
  15998. * doc/sourcebuild.texi: Mention snapshot-README and
  15999. snapshot-index.html as needing updating for new front ends.
  16000. 2002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  16001. * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
  16002. disabling checking, and avoid multiple evaluation of RTX.
  16003. 2002-05-21 Richard Earnshaw <rearnsha@arm.com>
  16004. * bitmap.c (bitmap_find_bit): Return early if we have the correct
  16005. element cached.
  16006. Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz>
  16007. * profile.c (gen_edge_profiler): Set alias set before the memory is
  16008. used.
  16009. 2002-05-20 David S. Miller <davem@redhat.com>
  16010. * cselib.c (max_value_regs): New.
  16011. (cselib_lookup, cselib_invalidate_regno): Initialize it when
  16012. adding new entries to the REG_VALUES table and we are dealing with
  16013. a hard register.
  16014. (clear_table): Initialize it.
  16015. (cselib_invalidate_regno): Use it to determine which hard
  16016. registers to scan when mode is not VOIDmode.
  16017. 2002-05-20 Duraid Madina <duraid@fl.net.au>
  16018. * tradcpp.c (fixup_newlines): Use old-style function header.
  16019. 2002-05-20 Krister Walfridsson <cato@df.lth.se>
  16020. * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
  16021. 2002-05-20 H.J. Lu (hjl@gnu.org)
  16022. Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
  16023. * config/mips/mips.h (DFMODE_NAN): Defined.
  16024. (SFMODE_NAN): Likewise.
  16025. 2002-05-20 Dale Johannesen <dalej@apple.com>
  16026. * combine.c (cant_combine_insn_p): Back out my
  16027. previous patch.
  16028. 2002-05-20 Kazu Hirata <kazu@cs.umass.edu>
  16029. * params.c: Fix formatting.
  16030. * params.h: Likewise.
  16031. * predict.c: Likewise.
  16032. * prefix.c: Likewise.
  16033. * print-rtl.c: Likewise.
  16034. * print-tree.c: Likewise.
  16035. * profile.c: Likewise.
  16036. 2002-05-20 H.J. Lu (hjl@gnu.org)
  16037. * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
  16038. 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com>
  16039. * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
  16040. switches straight on to the assembler, do not abbreviate them.
  16041. * config/arm/elf.h (ASM_SPEC): As above.
  16042. * config/arm/semi.h (ASM_SPEC): As above.
  16043. * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
  16044. * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
  16045. -mcpu=xscale on to the assembler by default.
  16046. * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
  16047. 2002-05-20 Richard Henderson <rth@redhat.com>
  16048. * cse.c (canon_hash): Reorder do_not_record test. Always
  16049. allow pic_offset_table_rtx.
  16050. 2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
  16051. * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
  16052. (expand_binop): Ditto (3 times).
  16053. 2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
  16054. * Makefile.in (distclean): Remove QMTest stuff.
  16055. (QMTEST_PATH): New variable.
  16056. (QMTESTFLAGS): Likewise.
  16057. (QMTESTRUNFLAGS): Likewise.
  16058. (QMTEST): Likewise.
  16059. (QMTEST_GPP_TESTS): Likewise.
  16060. (QMTEST_DIR): Likewise.
  16061. (QMTEST_DIR/context): New target.
  16062. (qmtest-g++): Likeise.
  16063. (qmtest-gui): Likewise.
  16064. (QMTEST_DIR/gpp-expected.qmr): Likewise.
  16065. 2002-05-19 Aldy Hernandez <aldyh@redhat.com>
  16066. * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
  16067. an altivec register if TARGET_ALTIVEC.
  16068. * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
  16069. to ALTIVEC_VECTOR_MODE.
  16070. (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
  16071. (rs6000_va_arg): Vectors may go in registers if they are not
  16072. altivec vectors.
  16073. 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
  16074. * protoize.c: Fix formatting.
  16075. 2002-05-19 Richard Henderson <rth@redhat.com>
  16076. * gensupport.c (init_include_reader): Merge into ...
  16077. (process_include): ... here. Simplify composite path creation.
  16078. Plug memory leaks. Fix file/line number tracking. Do not
  16079. process_define_cond_exec. Return void.
  16080. (process_rtx): Don't check process_include return value.
  16081. 2002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  16082. * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
  16083. fields.
  16084. (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
  16085. traversing basic block chain.
  16086. (create_basic_block_structure, create_basic_block): Declaration changed.
  16087. (link_block, unlink_block): Declare.
  16088. * cfg.c (entry_exit_blocks): Initialize new fields.
  16089. (link_block, unlink_block): New.
  16090. (expunge_block_nocompact): Unlink basic block.
  16091. (dump_flow_info): Print prev_bb/next_bb fields.
  16092. * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
  16093. * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
  16094. * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
  16095. * cfgrtl.c (create_basic_block_structure, create_basic_block,
  16096. split_block, force_nonfallthru_and_redirect, split_edge): Modified.
  16097. (verify_flow_info): Check that list agrees with numbering.
  16098. 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk>
  16099. * c-common.c (preprocessing_asm): New macro.
  16100. * c-lex.h (builtin_define, builtin_assert): Use pfile.
  16101. doc:
  16102. * tm.texi: Update.
  16103. config/alpha:
  16104. * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
  16105. (CPP_SPEC): Simplify.
  16106. (TARGET_CPU_CPP_BUILTINS): Update.
  16107. * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
  16108. (CPP_SPEC): Simplify.
  16109. * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
  16110. (TARGET_OS_CPP_BUILTINS): Update.
  16111. * osf.h (CPP_XFLOAT_SPEC): Kill.
  16112. (TARGET_OS_CPP_BUILTINS): Update.
  16113. (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
  16114. * osf5.h (CPP_XFLOAT_SPEC): Kill.
  16115. * vms.h (CPP_SUBTARGET_SPEC): Kill.
  16116. (TARGET_OS_CPP_BUILTINS): Update.
  16117. 2002-05-19 Richard Henderson <rth@redhat.com>
  16118. * varasm.c (default_binds_local_p): Fix typo.
  16119. 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
  16120. * config/avr/avr.c (machine_dependent_reorg): Sign extend the
  16121. CONST_INT operand to the correct mode after adding 1 to it.
  16122. 2002-05-19 Mark Mitchell <mark@codesourcery.com>
  16123. * config.gcc (powerpc-wrs-windiss*): New target.
  16124. 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  16125. * config/rs6000/rs6000.md (ashrdi3_no_power): New.
  16126. (ashrdi3): Use it.
  16127. 2002-05-18 Mark Mitchell <mark@codesourcery.com>
  16128. * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
  16129. alphasort.
  16130. * config.in: Regenerated.
  16131. * configure: Regenerated.
  16132. 2002-05-19 Richard Henderson <rth@redhat.com>
  16133. * target-def.h (TARGET_BINDS_LOCAL_P): New.
  16134. * target.h (struct gcc_target): Move boolean fields to the end.
  16135. Add binds_local_p.
  16136. * varasm.c (default_binds_local_p): New.
  16137. * output.h: Declare it.
  16138. * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
  16139. * config/cris/cris.c (cris_encode_section_info): Likewise.
  16140. * config/i386/i386.c (i386_encode_section_info): Likewise.
  16141. * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
  16142. * config/sh/sh.c (sh_encode_section_info): Likewise.
  16143. * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
  16144. (TARGET_BINDS_LOCAL_P): New.
  16145. 2002-05-19 Richard Henderson <rth@redhat.com>
  16146. * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
  16147. FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
  16148. MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
  16149. * toplev.c (display_help): Kill -a -ax help.
  16150. * config/1750a/1750a.h, config/alpha/alpha.h,
  16151. config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
  16152. config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
  16153. config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
  16154. (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
  16155. * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
  16156. * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
  16157. * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
  16158. (ix86_output_function_block_profiler): Kill.
  16159. * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
  16160. (m68hc11_function_block_profiler): Kill.
  16161. * config/m68hc11/m68hc11-protos.h: Update.
  16162. * config/m88k/m88k.c (output_block_profiler): Kill.
  16163. (output_function_block_profiler): Kill.
  16164. * config/m88k/m88k-protos.h: Update.
  16165. 2002-05-19 Richard Henderson <rth@redhat.com>
  16166. * system.h (STRIP_NAME_ENCODING): Poison it.
  16167. * output.h (STRIP_NAME_ENCODING): Remove.
  16168. (default_strip_name_encoding): Declare.
  16169. * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
  16170. * target.h (strip_name_encoding): New.
  16171. * varasm.c (default_strip_name_encoding): New.
  16172. * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
  16173. config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
  16174. config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
  16175. config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
  16176. config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
  16177. config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
  16178. config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
  16179. config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
  16180. config/v850/v850.h: Use the hook, not the macro.
  16181. * config/darwin-protos.h, config/darwin.c, config/darwin.h,
  16182. config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
  16183. config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
  16184. config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
  16185. config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
  16186. config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
  16187. config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
  16188. config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
  16189. config/v850/v850.c, config/v850/v850.h:
  16190. Move STRIP_NAME_ENCODING to out-of-line function and add
  16191. TARGET_STRIP_NAME_ENCODING.
  16192. * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
  16193. config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
  16194. with TARGET_STRIP_NAME_ENCODING referencing existing function;
  16195. make function static.
  16196. * xcoffout.c: Include target.h
  16197. * Makefile.in (xcoffout.o): Update.
  16198. * config/avr/avr.c (avr_encode_section_info): Correct prototype.
  16199. * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
  16200. * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
  16201. reloc argument unused.
  16202. * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
  16203. * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
  16204. STRIP_NAME_ENCODING docs.
  16205. 2002-05-19 Andreas Jaeger <aj@suse.de>
  16206. * gengenrtl.c: Add prototype for excluded_rtx.
  16207. * real.h: Add prototype for exact_real_truncate.
  16208. 2002-05-18 Richard Henderson <rth@redhat.com>
  16209. * system.h (ENCODE_SECTION_INFO): Poison it.
  16210. * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
  16211. * target.h (encode_section_info): New.
  16212. * varasm.c (make_decl_rtl, output_constant_def): Use it.
  16213. * hooks.c (hook_tree_int_void): New.
  16214. * hooks.h: Declare it.
  16215. * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
  16216. config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
  16217. config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
  16218. config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
  16219. config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
  16220. config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
  16221. config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
  16222. config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
  16223. config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
  16224. config/mcore/mcore-protos.h, config/mcore/mcore.c,
  16225. config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
  16226. config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
  16227. config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
  16228. config/stormy16/stormy16.c, config/stormy16/stormy16.h:
  16229. Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
  16230. referencing existing function. Make function static.
  16231. * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
  16232. config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
  16233. config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
  16234. config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
  16235. config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
  16236. config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
  16237. config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
  16238. config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
  16239. config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
  16240. config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
  16241. config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
  16242. config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
  16243. config/xtensa/xtensa.c, config/xtensa/xtensa.h:
  16244. Move ENCODE_SECTION_INFO to out-of-line function and add
  16245. TARGET_ENCODE_SECTION_INFO.
  16246. * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
  16247. (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
  16248. * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
  16249. from SUBTARGET_*
  16250. (switch_to_section): Replace in_rdata case with in_readonly_data.
  16251. * config/h8300/h8300.c (h8300_encode_label): Make static.
  16252. * config/h8300/h8300-protos.h: Update.
  16253. * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
  16254. from rs6000_encode_section_info; make static.
  16255. (rs6000_xcoff_encode_section_info): New.
  16256. * config/v850/v850.c (v850_encode_data_area): Make static.
  16257. * config/v850/v850-protos.h: Update.
  16258. * config/vax/vax.c: Include flags.h.
  16259. (vms_select_section): Fix typo.
  16260. * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
  16261. ENCODE_SECTION_INFO docs.
  16262. 2002-05-18 Richard Henderson <rth@redhat.com>
  16263. * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
  16264. REGISTER_TARGET_PRAGMAS.
  16265. * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
  16266. * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
  16267. 2002-05-18 Richard Henderson <rth@redhat.com>
  16268. * system.h (SELECT_RTX_SECTION): Poison.
  16269. * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
  16270. * target.h (select_rtx_section): New.
  16271. * varasm.c (output_constant_pool): Use it.
  16272. (default_select_rtx_section, default_elf_select_rtx_section): New.
  16273. * output.h: Declare them.
  16274. * config/darwin.h (SELECT_RTX_SECTION): Move ...
  16275. * config/darwin.c (machopic_select_rtx_section): ... here.
  16276. * config/darwin-protos.h: Update.
  16277. * config/nextstep.h (SELECT_RTX_SECTION): Move ...
  16278. * config/nextstep.c (machopic_select_rtx_section): ... here.
  16279. (nextstep_select_section): Rename variable to avoid macro clash.
  16280. * config/nextstep-protos.h: Update.
  16281. * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
  16282. config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
  16283. config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
  16284. config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
  16285. config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
  16286. config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
  16287. config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
  16288. config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
  16289. config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
  16290. (SELECT_RTX_SECTION): Remove.
  16291. * config/darwin.h, config/elfos.h, config/nextstep.h,
  16292. config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
  16293. config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
  16294. config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
  16295. config/sparc/lynx.h, config/xtensa/xtensa.c
  16296. (TARGET_ASM_SELECT_RTX_SECTION): New.
  16297. * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
  16298. * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
  16299. * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
  16300. * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
  16301. (ia64_aix_select_rtx_section): New.
  16302. * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
  16303. redefining.
  16304. * config/mips/mips.c (mips_select_rtx_section): Make static.
  16305. Support ELF SHF_MERGE features.
  16306. * config/mips/mips-protos.h: Update.
  16307. * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
  16308. * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
  16309. (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
  16310. make static, fall back to default_elf_select_rtx_section.
  16311. * config/rs6000/rs6000-protos.h: Update.
  16312. * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
  16313. * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
  16314. * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
  16315. * config/romp/romp.c (romp_select_rtx_section): New.
  16316. * config/s390/s390.c (s390_select_rtx_section): New.
  16317. * config/xtensa/xtensa.c: Include output.h. Shuffle local function
  16318. declarations before target macro definition.
  16319. (xtensa_emit_call): Use static buffer.
  16320. (xtensa_select_rtx_section): New.
  16321. * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
  16322. (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
  16323. (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
  16324. * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
  16325. SELECT_RTX_SECTION docs.
  16326. Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz>
  16327. * i386.md (movsi/movdi): Fix template.
  16328. (sse2 patterns): Set attributes consistently.
  16329. * i386.md (pushqi2, ashrqi_*): Fix constraint.
  16330. 2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
  16331. * optabs.c (complex_part_zero_p): New.
  16332. * (expand_cmplxdiv_straight): Use it.
  16333. * (expand_cmplxdiv_wide): Ditto.
  16334. * (expand_binop): Ditto.
  16335. 2002-05-18 Richard Henderson <rth@redhat.com>
  16336. * final.c (HAVE_READONLY_DATA_SECTION): New.
  16337. (shorten_branches): Use it instead of ifdefs.
  16338. * varasm.c (enum in_section): Add in_readonly_data.
  16339. (text_section, data_section): Tidy.
  16340. (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
  16341. * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
  16342. config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
  16343. (READONLY_DATA_SECTION): Don't undef.
  16344. * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
  16345. config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
  16346. config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
  16347. * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
  16348. config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
  16349. config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
  16350. config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
  16351. * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
  16352. config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
  16353. config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
  16354. config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
  16355. config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
  16356. config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
  16357. config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
  16358. config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
  16359. CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
  16360. * config/elfos.h, config/netware.h, config/1750a/1750a.h,
  16361. config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
  16362. config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
  16363. config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
  16364. config/pa/pa64-hpux.h, config/sparc/litecoff.h
  16365. (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
  16366. * config/elfos.h, config/netware.h, config/svr3.h,
  16367. config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
  16368. config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
  16369. config/h8300/h8300.h, config/i386/i386-interix.h,
  16370. config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
  16371. config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
  16372. * config/elfos.h, config/netware.h, config/svr3.h,
  16373. config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
  16374. config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
  16375. config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
  16376. config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
  16377. * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
  16378. config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
  16379. config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
  16380. config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
  16381. config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
  16382. config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
  16383. config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
  16384. config/rs6000/sysv4.h, config/v850/v850.h
  16385. (EXTRA_SECTIONS): Remove in_const/in_rdata.
  16386. (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
  16387. * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
  16388. config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
  16389. config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
  16390. config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
  16391. * config/alpha/alpha.c (alpha_start_function): Likewise.
  16392. (alpha_write_linkage): Likewise.
  16393. * config/m32r/m32r.c (m32r_select_section): Likewise.
  16394. * config/m88k/m88k.c (m88k_select_section): Likewise.
  16395. * config/mips/mips.c (mips_select_rtx_section): Likewise.
  16396. * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
  16397. (rs6000_elf_select_section): Likewise.
  16398. * config/v850/v850.c (v850_select_section): Likewise.
  16399. * config/1750a/1750a.h, config/i860/sysv3.h
  16400. (READONLY_DATA_SECTION_ASM_OP): New.
  16401. READONLY_DATA_SECTION_ASM_OP.
  16402. * config/i386/interix.c, config/i386/winnt.c
  16403. (i386_pe_unique_section): Always use .rdata prefix.
  16404. * config/pa/som.h (readonly_data): Always switch to read-only section.
  16405. (READONLY_DATA_SECTION): Predicate on flag_pic.
  16406. * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
  16407. * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
  16408. (READONLY_DATA_SECTION): Update.
  16409. 2002-05-18 Jason Thorpe <thorpej@wasabisystems.com>
  16410. * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
  16411. is used without -Wformat.
  16412. * c-common.h (warn_format_zero_length): Declare extern.
  16413. * c-decl.c (warn_options): Add "format-zero-length".
  16414. * c-format.c (warn_format_zero_length): Declare.
  16415. (set_Wformat): Set warn_format_zero_length for -Wformat.
  16416. (check_format_info): Only warn about zero-length formats if
  16417. warn_format_zero_length is true. Include the format type
  16418. name in the warning message.
  16419. * doc/invoke.texi: Document -Wformat-zero-length.
  16420. * testsuite/gcc.dg/format/zero-length-1.c: New test.
  16421. 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
  16422. * timevar.c: Fix formatting.
  16423. * tlink.c: Likewise.
  16424. * toplev.c: Likewise.
  16425. * tree-dump.c: Likewise.
  16426. * tree-inline.c: Likewise.
  16427. 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
  16428. * cppinit.c (cpp_post_options): If preprocessed, turn off
  16429. traditional. If traditional, turn off column numbers.
  16430. * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
  16431. * cpptrad.c (handle_newline): Update line_base.
  16432. (skip_comment): Handle -Wcomment.
  16433. 2002-05-17 Zack Weinberg <zack@codesourcery.com>
  16434. * cppinit.c (struct builtin): Remove unused fields.
  16435. (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
  16436. (operator_array): New - was second half of builtin_array.
  16437. (init_builtins): Simplify loop over builtin_array/operator_array.
  16438. 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
  16439. * defaults.h (UNIQUE_SECTION): Remove.
  16440. * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
  16441. 2002-05-17 Richard Henderson <rth@redhat.com>
  16442. * expr.c (init_expr_once): Don't use start/end_sequence.
  16443. Use rtx_alloc instead of emit_insn.
  16444. * toplev.c (lang_dependent_init): Run init_expr_once here ...
  16445. (lang_independent_init): ... not here.
  16446. 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
  16447. * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
  16448. 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
  16449. * config/avr/avr.c (avr_regs_to_save): New function. Also check
  16450. for fixed registers, possibly used for global register variables.
  16451. (initial_elimination_offset, avr_output_function_prologue,
  16452. avr_output_function_epilogue): Move common code to avr_regs_to_save.
  16453. 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
  16454. * Makefile.in: Update for cpptrad.c.
  16455. * cpphash.h (struct cpp_buffer): New members for buffer
  16456. overlays.
  16457. (struct cpp_reader): New members for traditional output.
  16458. (_cpp_read_logical_line, _cpp_overlay_buffer): New.
  16459. * cppinit.c (cpp_create_reader): Set trad_line.
  16460. (cpp_destroy): Free trad_out_base if used.
  16461. (cpp_read_main_file): Overlay an empty buffer if traditional.
  16462. (cpp_finish_options): Don't do builtins.
  16463. (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
  16464. (cpp_handle_option): Handle it.
  16465. * cpplex.c (continue_after_nul): New.
  16466. (_cpp_lex_direct): Use handle_nul.
  16467. * cpplib.h (struct cpp_options): New traditional option.
  16468. * cpptrad.c: New file.
  16469. 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
  16470. * c-common.c (c_common_init_options): Use C89 for Objective-C,
  16471. and set the options flag.
  16472. * cppinit.c (lang_flags): Remove objc.
  16473. (lang_defaults): Remove OBJC and OBJCXX.
  16474. (set_lang): Update.
  16475. (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
  16476. (cpp_handle_option): Remove -+ and -lang-objc++.
  16477. For ObjC, just set a flag.
  16478. (print_help): Update.
  16479. * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
  16480. 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  16481. * doc/install.texi (Specific, mips-sgi-irix6): Document need to
  16482. bootstrap with -mips3.
  16483. 2002-05-17 Kazu Hirata <kazu@cs.umass.edu>
  16484. * final.c: Fix formatting.
  16485. * fix-header.c: Likewise.
  16486. * flow.c: Likewise.
  16487. * fold-const.c: Likewise.
  16488. * function.c: Likewise.
  16489. 2002-05-17 David S. Miller <davem@redhat.com>
  16490. PR c/6689, PR optimization/6615
  16491. * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
  16492. and make it a pointer to rtx. Update comments.
  16493. (update_equiv_regs): When scanning for equivalences, record
  16494. address of SET_SRC (set) in reg_equiv[].src_p. Dereference
  16495. it while making the equiv replacements.
  16496. 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  16497. * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
  16498. 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp>
  16499. * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
  16500. when encoding visibility into SYMBOL_REF_FLAG.
  16501. 2002-05-17 Richard Sandiford <rsandifo@redhat.com>
  16502. * expr.c (force_operand): Fix reversed move.
  16503. 2002-05-17 Kurt Wall <kwall@kurtwerks.com>
  16504. * doc/install.texi (Testing): Mention two common DejaGnu warnings
  16505. that can be ignored.
  16506. 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  16507. * doc/install.texi (Final install): Recommend to install into a
  16508. "clean" target directory.
  16509. 2002-05-17 Richard Henderson <rth@redhat.com>
  16510. * config/ia64/ia64.md: Use braced strings instead of quoted strings
  16511. for code blocks. Tidy whitespace.
  16512. 2002-05-17 Richard Henderson <rth@redhat.com>
  16513. * hooks.c (hook_tree_bool_false): New.
  16514. * hooks.h: Declare it.
  16515. * target-def.h (TARGET_ASM_SELECT_SECTION): New.
  16516. (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
  16517. * target.h (select_section, unique_section): New.
  16518. (in_small_data_p): New.
  16519. * varasm.c (resolve_unique_section): Use hooks instead of macros.
  16520. (variable_section, output_constant_def_contents): Likewise.
  16521. (default_select_section, default_unique_section): New.
  16522. (categorize_decl_for_section, default_elf_select_section): New.
  16523. * output.h: Declare them.
  16524. * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
  16525. (TARGET_ASM_SELECT_SECTION): New.
  16526. (SELECT_SECTION): Move ...
  16527. * config/darwin.c (machopic_select_section): ... here.
  16528. * config/darwin-protos.h: Update.
  16529. * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
  16530. (SELECT_SECTION): Move ...
  16531. * config/nextstep.c (nextstep_select_section): ... here.
  16532. * config/nextstep-protos.h: Update.
  16533. * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
  16534. (TARGET_ASM_SELECT_SECTION): New.
  16535. * config/svr3.h (SELECT_SECTION): Remove.
  16536. * config/alpha/alpha.c (unicosmk_unique_section): Make static.
  16537. (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
  16538. (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
  16539. (alpha_encode_section_info): Use it.
  16540. * config/alpha/alpha-protos.h: Update.
  16541. * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
  16542. (SELECT_SECTION, UNIQUE_SECTION): Remove.
  16543. (TARGET_ASM_SELECT_SECTION): New.
  16544. * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
  16545. * config/arm/pe.h (UNIQUE_SECTION): Remove.
  16546. (TARGET_ASM_UNIQUE_SECTION): New.
  16547. * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
  16548. (avr_unique_section): Rename from unique_section; make static.
  16549. * config/avr/avr-protos.h: Update.
  16550. * config/avr/avr.h (UNIQUE_SECTION): Remove.
  16551. * config/c4x/c4x.h (SELECT_SECTION): Remove.
  16552. * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
  16553. (TARGET_ASM_UNIQUE_SECTION): New.
  16554. * config/i386/i386-interix.h: Likewise.
  16555. * config/i386/win32.h: Likewise.
  16556. * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
  16557. * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
  16558. * config/i386/sco5.h (SELECT_SECTION): Remove.
  16559. (TARGET_ASM_SELECT_SECTION): New.
  16560. * config/i386/svr3gas.h (SELECT_SECTION): Remove.
  16561. * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
  16562. instead of SELECT_SECTION.
  16563. * config/m68k/dpx2.h: Likewise.
  16564. * config/rs6000/lynx.h: Likewise.
  16565. * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
  16566. (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
  16567. * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
  16568. (ia64_in_small_data_p): New.
  16569. (ia64_encode_section_info): Use it. Reorganize overlarge conditional.
  16570. (ia64_aix_select_section, ia64_aix_unique_section): New.
  16571. * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
  16572. (SELECT_SECTION, UNIQUE_SECTION): Remove.
  16573. * config/m32r/m32r.h (SELECT_SECTION): Remove.
  16574. (TARGET_ASM_SELECT_SECTION): New.
  16575. * config/m32r/m32r.c (m32r_select_section): Take align argument.
  16576. * config/m32r/m32r-protos.h: Update.
  16577. * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
  16578. (SELECT_SECTION): Move ...
  16579. * config/m88k/m88k.c (m88k_select_section): ... here.
  16580. * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
  16581. * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
  16582. * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
  16583. (mcore_unique_section): Make static.
  16584. * config/mcore/mcore-protos.h: Update.
  16585. * config/mips/elf.h (UNIQUE_SECTION): Remove.
  16586. (TARGET_ASM_UNIQUE_SECTION): New.
  16587. * config/mips/elf64.h: Likewise.
  16588. * config/mips/iris6gld.h: Likewise.
  16589. * config/mips/linux.h: Likewise.
  16590. * config/mips/mips-protos.h: Update.
  16591. * config/mips/mips.c (mips_select_section): Add align argument.
  16592. * config/mips/mips.h (SELECT_SECTION): Remove.
  16593. (TARGET_ASM_SELECT_SECTION): New.
  16594. * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
  16595. * config/mmix/mmix.c (mmix_select_section): Remove.
  16596. (mmix_unique_section): Remove.
  16597. * config/mmix/mmix-protos.h: Update.
  16598. * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
  16599. (SELECT_SECTION): Move ...
  16600. * config/pa/pa.c (pa_select_section): ... here.
  16601. * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
  16602. * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
  16603. from rs6000_select_section and make static.
  16604. (rs6000_elf_unique_section): Similarly.
  16605. (rs6000_xcoff_select_section): From xcoff.h.
  16606. (rs6000_xcoff_unique_section): Likewise.
  16607. * config/rs6000/rs6000-protos.h: Update.
  16608. * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
  16609. (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
  16610. * config/rs6000/xcoff.h: Likewise.
  16611. * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
  16612. (SELECT_SECTION): Move ...
  16613. * config/sparc/sparc.c (sparc_aout_select_section): ... here.
  16614. * config/v850/v850.h (SELECT_SECTION): Move ...
  16615. * config/v850/v850.c (v850_select_section): ... here.
  16616. (TARGET_ASM_SELECT_SECTION): New.
  16617. * config/vax/vms.h (SELECT_SECTION): Move ...
  16618. * config/vax/vax.c (vms_select_section): ... here.
  16619. (TARGET_ASM_SELECT_SECTION): New.
  16620. * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
  16621. for the target hooks.
  16622. 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
  16623. * config/arm/arm.c (emit_multi_reg_push): Do not set
  16624. RTX_FRAME_RELATED_P on the SEQUENCE.
  16625. 2002-05-16 Richard Henderson <rth@redhat.com>
  16626. * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
  16627. splitting. Use split_all_insns; update_life_info_in_dirty_blocks.
  16628. 2002-05-16 Richard Henderson <rth@redhat.com>
  16629. * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
  16630. * config/ia64/ia64.c (saveable_obstack): Do not declare.
  16631. 2002-05-16 Richard Henderson <rth@redhat.com>
  16632. * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
  16633. cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
  16634. conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
  16635. gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
  16636. local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
  16637. recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
  16638. reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
  16639. sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
  16640. Revert "Basic block renumbering removal", and two followup patches.
  16641. 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
  16642. * lcm.c (optimize_mode_switching): Revert previous change.
  16643. 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  16644. * sched-rgn.c (schedule_insns): Initialize large_region_blocks
  16645. with only extant block numbers.
  16646. 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
  16647. * lcm.c (optimize_mode_switching): Fix typo.
  16648. 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  16649. * flow.c (calculate_global_regs_live): Queue blocks in program order.
  16650. 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  16651. * doc/install.texi (Configuration): Document PWDCMD.
  16652. 2002-05-16 Dale Johannesen <dalej@apple.com>
  16653. * combine.c (cant_combine_insn_p): Reenable combinations
  16654. involving hard regs unless CLASS_LIKELY_SPILLED_P.
  16655. 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
  16656. * c-common.c (cb_register_builtins): Handle more built-ins
  16657. here rather than in gcc.c specs.
  16658. * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
  16659. (cpp_options): Pass -O flags even when only preprocessing.
  16660. * toplev.c (set_fast_math_flags): New prototype.
  16661. (fast_math_flags_set_p): New.
  16662. (set_no_fast_math_flags): Remove.
  16663. (decode_f_option): Update.
  16664. * toplev.h (set_fast_math_flags): Update.
  16665. (fast_math_flags_set_p): New.
  16666. (set_no_fast_math_flags): Remove.
  16667. config:
  16668. * c4x/c4x.c (c4x_override_options): Update.
  16669. 2002-05-16 Zack Weinberg <zack@codesourcery.com>
  16670. * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
  16671. Default-define here.
  16672. (builtin_define_with_value): Can now wrap the expansion in
  16673. quotation marks if such is wanted.
  16674. (cb_register_builtins): Update calls to builtin_define_with_value.
  16675. Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
  16676. here.
  16677. (c_common_init): Set options->stdc_0_in_system_headers.
  16678. * c-lex.h: Update prototype of builtin_define_with_value.
  16679. * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
  16680. and REGISTER_PREFIX.
  16681. * cppinit.c (VERS, ULP, C, X): Kill.
  16682. (builtin_array): Remove entries for __VERSION__,
  16683. __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
  16684. __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not
  16685. a constant.
  16686. (init_builtins): Kill off a bunch of now-dead code.
  16687. (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
  16688. -fno-leading-underscore.
  16689. (cpp_handle_option): Remove code to set user_label_prefix.
  16690. (cpp_post_options): Likewise.
  16691. * cpplib.h (struct cpp_options): Remove user_label_prefix.
  16692. (stdc_0_in_system_headers): New.
  16693. * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
  16694. stdc_0_in_system_headers) too to decide the value of __STDC__.
  16695. * tradcpp.c (user_label_prefix): Kill.
  16696. (main): Remove code handling -f(no-)leading-underscore.
  16697. (initialize_builtins): Don't define __REGISTER_PREFIX__
  16698. or __USER_LABEL_PREFIX__.
  16699. (install_value): Wrap compound statement in dummy loop so the
  16700. macro works properly in an if statement.
  16701. 2002-05-16 Janis Johnson <janis187@us.ibm.com>
  16702. * loop.h (struct loop_info): Add member has_prefetch.
  16703. * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
  16704. (prescan_loop): Initialize has_prefetch.
  16705. (struct prefetch_info): Change prefetch_in_loop and
  16706. prefetch_before_loop from bit fields to ints.
  16707. (emit_prefetch_instructions): Several small fixes.
  16708. (check_dbra_loop): Don't reverse loop that uses prefetch.
  16709. 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  16710. * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
  16711. * configure.in: Likewise.
  16712. * fixinc/check.tpl: Likewise.
  16713. * fixinc/fixinc.dgux: Likewise.
  16714. * fixinc/fixinc.svr4: Likewise.
  16715. * fixinc/fixinc.winnt: Likewise.
  16716. * fixinc/fixincl.sh: Likewise.
  16717. * fixproto: Likewise.
  16718. * configure: Regenerate.
  16719. 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  16720. Basic block renumbering removal:
  16721. * basic_block.h (struct basic_block_def): Renamed index to sindex,
  16722. added prev_bb and next_bb fields.
  16723. (n_basic_blocks): Renamed to num_basic_blocks.
  16724. (last_basic_block): New, index of last basic block.
  16725. (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
  16726. traversing basic block chain.
  16727. (BLOCK_NUM): index -> sindex.
  16728. (create_basic_block_structure, create_basic_block): Declaration changed.
  16729. (debug_num2bb): Declare.
  16730. (expunge_block_nocompact): Declaration removed.
  16731. (link_block, unlink_block, compact_blocks): Declare.
  16732. * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
  16733. * cfg.c (entry_exit_blocks): Initialize new fields.
  16734. (clear_edges, alloc_block, expunge_block, cached_make_edge,
  16735. redirect_edge_pred, dump_flow_info, dump_edge_info,
  16736. alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
  16737. free_aux_for_edges): Modified.
  16738. (link_block, unlink_block, compact_blocks, debug_num2bb): New.
  16739. (expunge_block_nocompact): Removed.
  16740. * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
  16741. find_unreachable_blocks, create_edge_list, print_edge_list,
  16742. verify_edge_list, flow_edge_list_print, remove_fake_successors,
  16743. remove_fake_edges, flow_reverse_top_sort_order_compute,
  16744. flow_depth_first_order_compute, flow_preorder_transversal_compute,
  16745. flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
  16746. flow_dfs_compute_reverse_execute): Modified.
  16747. * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
  16748. find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
  16749. Modified.
  16750. * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
  16751. merge_blocks_move_predecessor_nojumps,
  16752. merge_blocks_move_successor_nojumps, merge_blocks,
  16753. outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
  16754. try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
  16755. * cfglayout.c (skip_insns_after_block, label_for_bb,
  16756. record_effective_endpoints, scope_to_insns_finalize,
  16757. fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
  16758. fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
  16759. cfg_layout_duplicate_bb): Modified.
  16760. * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
  16761. flow_loop_entry_edges_find, flow_loop_exit_edges_find,
  16762. flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
  16763. flow_loops_find, flow_loop_outside_edge_p): Modified.
  16764. * cfgrtl.c (create_basic_block_structure, create_basic_block,
  16765. flow_delete_block, compute_bb_for_insn, split_block,
  16766. try_redirect_by_replacing_jump, redirect_edge_and_branch,
  16767. force_nonfallthru_and_redirect, tidy_fallthru_edge,
  16768. back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
  16769. commit_edge_insertions, commit_edge_insertions_watch_calls,
  16770. dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
  16771. purge_all_dead_edges): Modified.
  16772. * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
  16773. try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
  16774. get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
  16775. Modified.
  16776. * conflict.c (conflict_graph_compute): Modified.
  16777. * df.c (FOR_ALL_BBS): Removed.
  16778. (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
  16779. df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
  16780. df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
  16781. * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
  16782. * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
  16783. calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
  16784. * final.c (compute_alignments, final_scan_insn): Modified.
  16785. * flow.c (verify_local_live_at_start, update_life_info,
  16786. update_life_info_in_dirty_blocks, free_basic_block_vars,
  16787. delete_noop_moves, calculate_global_regs_live,
  16788. initialize_uninitialized_subregs, allocate_bb_life_data,
  16789. regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
  16790. mark_used_reg, count_or_remove_death_notes): Modified.
  16791. * function.c (thread_prologue_and_epilogue_insns): Modified.
  16792. * gcse.c (struct null_pointer_info): Change typo of current_block
  16793. to basic_block.
  16794. (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
  16795. oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
  16796. compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
  16797. alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
  16798. expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
  16799. classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
  16800. one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
  16801. pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
  16802. pre_delete, one_pre_gcse_pass, compute_transpout,
  16803. invalidate_nonnull_info, delete_null_pointer_checks_1,
  16804. free_code_hoist_mem, compute_code_hoist_vbeinout,
  16805. hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
  16806. compute_ld_motion_mems, store_ops_ok, find_moveable_store,
  16807. compute_store_table, build_store_vectors, insert_insn_start_bb,
  16808. insert_store, replace_store_insn, free_store_memory, store_motion):
  16809. Modified.
  16810. * global.c (global_alloc, global_conflicts, mark_elimination,
  16811. build_insn_chain): Modified.
  16812. * graph.c (print_rtl_graph_with_bb): Modified.
  16813. * haifa-sched.c (sched_init): Modified.
  16814. * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
  16815. (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
  16816. if_convert): Modified.
  16817. * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
  16818. compute_insert_delete, pre_edge_lcm, compute_available,
  16819. compute_farthest, compute_nearerout, compute_rev_insert_delete,
  16820. pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
  16821. Modified.
  16822. * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
  16823. * loop.c (loop_dump_aux): Modified.
  16824. * predict.c (combine_predictions_for_insn, estimate_probability,
  16825. last_basic_block_p, process_note_prediction, process_note_predictions,
  16826. note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
  16827. expensive_function_p, estimate_bb_frequencies,
  16828. compute_function_frequency): Modified.
  16829. * print-rtl.c (print_rtx): Modified.
  16830. * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
  16831. get_exec_counts, compute_branch_probabilities, compute_checksum,
  16832. branch_prob, find_spanning_tree): Modified.
  16833. * recog.c (split_all_insns, peephole2_optimize): Modified.
  16834. * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
  16835. convert_regs_1, convert_regs_2, convert_regs): Modified.
  16836. * regclass.c (scan_one_insn, regclass): Modified.
  16837. * regmove.c (mark_flags_life_zones, regmove_optimize,
  16838. combine_stack_adjustments): Modified.
  16839. * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
  16840. * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
  16841. * reorg.c (dbr_schedule): Modified.
  16842. * resource.c (find_basic_block, init_resource_info): Modified.
  16843. * sbitmap.c (sbitmap_intersection_of_succs,
  16844. sbitmap_intersection_of_preds, sbitmap_union_of_succs,
  16845. sbitmap_union_of_preds): Modified.
  16846. * sched-deps.c (init_dependency_caches): Modified.
  16847. * sched-ebb.c (schedule_ebbs): Modified.
  16848. * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
  16849. find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
  16850. * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
  16851. * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
  16852. ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
  16853. ssa_const_prop): Modified.
  16854. * ssa-dce.c (set_control_dependent_block_to_edge_map_,
  16855. find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
  16856. * ssa.c (remove_phi_alternative, find_evaluations,
  16857. compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
  16858. insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
  16859. make_regs_equivalent_over_bad_edges,
  16860. make_equivalent_phi_alternatives_equival,
  16861. compute_conservative_reg_partition,
  16862. coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
  16863. rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
  16864. Modified.
  16865. 2002-05-16 Mark Mitchell <mark@codesourcery.com>
  16866. * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
  16867. 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com>
  16868. * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
  16869. SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
  16870. (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
  16871. calling CONSTANT_POOL_ADDRESS_P.
  16872. * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
  16873. to decide whether to define __arm__ or __thumb.
  16874. (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
  16875. SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
  16876. 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
  16877. * config/arc/arc.h (CPP_PREDEFINES): Remove.
  16878. (CPP_SPEC): Update.
  16879. (TARGET_CPU_CPP_BUILTINS): New.
  16880. 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
  16881. * cpphash.h (cpp_macro): Move here, and make expansion a union.
  16882. * cppmacro.c (cpp_macro): Remove.
  16883. (enter_macro_context, replace_args, warn_of_redefinition,
  16884. _cpp_create_definition, cpp_macro_definition): Update.
  16885. 2002-05-16 Jason Merrill <jason@redhat.com>
  16886. * config/mips/mips.c (mips_output_external): Don't do sdata
  16887. optimization for a variable with DECL_COMDAT set.
  16888. 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
  16889. * config/rs6000/altivec.h: Cleanups for tighter typechecking.
  16890. Cleanups for accepting modifiers on pointers.
  16891. Fix predicate typos.
  16892. Allow long pointers as well as int pointers.
  16893. 2002-05-15 Richard Henderson <rth@redhat.com>
  16894. * varasm.c (merge_weak): Remove special case for extern and common.
  16895. 2002-05-15 Matt Hiller <hiller@redhat.com>
  16896. * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
  16897. XFAILing.
  16898. * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
  16899. * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
  16900. * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
  16901. * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
  16902. * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
  16903. * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
  16904. 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
  16905. * reload1.c (forget_old_reloads_1): Do not use subreg offset.
  16906. 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
  16907. * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
  16908. ("altivec_mfvscr"): Read from VSCR.
  16909. Add vscr sets for the following insns: altivec_vctuxs,
  16910. altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
  16911. altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
  16912. altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
  16913. altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
  16914. altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
  16915. altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
  16916. altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
  16917. altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
  16918. altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
  16919. altivec_vsum2sws, altivec_vsumsws.
  16920. * config/rs6000/rs6000.h: Add VSCR fixed register.
  16921. (CALL_REALLY_USED_REGISTERS): Add vscr.
  16922. (CALL_USED_REGISTERS): Same.
  16923. (FIXED_REGISTERS): Same.
  16924. (REG_ALLOC_ORDER): Same.
  16925. (reg_class): Add VSCR_REGS.
  16926. (REG_CLASS_NAMES): Same.
  16927. (REG_CLASS_CONTENTS): Same.
  16928. (VSCR_REGNO): New.
  16929. (REGISTER_NAMES): Add vscr.
  16930. (DEBUG_REGISTER_NAMES): Same.
  16931. (ADDITIONAL_REGISTER_NAMES): Same.
  16932. (FIRST_PSEUDO_REGISTER): Increment.
  16933. (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
  16934. 2002-05-15 Jakub Jelinek <jakub@redhat.com>
  16935. * fold-const.c (fold): Fix a typo.
  16936. 2002-05-15 Eric Botcazou <ebotcazou@multimania.com>
  16937. * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
  16938. comparison against the highest or lowest integer value before
  16939. the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
  16940. transformation and that of an unsigned comparison against 0
  16941. right after.
  16942. 2002-05-15 Richard Henderson <rth@redhat.com>
  16943. * varasm.c (merge_weak): Error for any weakening after definition.
  16944. Adjust weakening after use warning to catch more cases.
  16945. (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
  16946. * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
  16947. Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
  16948. * invoke.texi (-malign-double): Re-add lost warning.
  16949. * i386-protos.h (x86_output_mi_thunk): Declare.
  16950. * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
  16951. * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
  16952. * dwarf2out.c (output_call_frame_info): Do not skip unwind info
  16953. when flag_asynchronous_unwind_tables is set.
  16954. * flags.h (flag_reorder_functions): Declare.
  16955. * function.c (prepare_function_start): Initialize frequnecy.
  16956. * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
  16957. * Makefile.in (predict.o): Add dependency on target.h and params.h
  16958. * defaults.h (HOT_TEXT_SECTION_NAME,
  16959. UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
  16960. * predict.c (choose_function_section): New function.
  16961. (estimate_bb_frequencies): Use it.
  16962. * toplev.c (flag_reorder_functions): New global variable.
  16963. (lang_independent_options): New.
  16964. (parse_options_and_default_flags): Set.
  16965. * varasm.c (assemble_start_function): Bypass functdion alignment
  16966. for never executed functions.
  16967. * invoke.texi (-freorder-blocks, -freorder-functions): Document.
  16968. (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
  16969. * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
  16970. Document.
  16971. Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz>
  16972. * predict.c: Inlude profile.h
  16973. (MIN_COUNT): Rename to MIN_COUNT_FRACTION
  16974. (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
  16975. Use the information about maximal counter in the program.
  16976. Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz>
  16977. * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
  16978. probably_never_executed_bb_p): New functions.
  16979. * cfgcleanup.c (outgoing_edges_match): Use them.
  16980. * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
  16981. (maybe_hot_bb_p, probably_cold_bb_p,
  16982. probably_never_executed_bb_p): New functions.
  16983. * function.h (function): Add new field function_frequency.
  16984. * predict.c (compute_function_frequency): New function.
  16985. (estimate_probability): Call it.
  16986. 2002-03-09 Jakub Jelinek <jakub@redhat.com>
  16987. PR optimization/5172, optimization/5200
  16988. * gcse.c (gcse_main): Disable store_motion.
  16989. 2002-05-14 Zack Weinberg <zack@codesourcery.com>
  16990. * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
  16991. (c_common_nodes_and_builtins): Use it.
  16992. (builtin_define_with_value): New function.
  16993. (cb_register_builtins): Define __SIZE_TYPE__,
  16994. __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
  16995. using builtin_define_with_value. Use consistent notation when
  16996. defining __GXX_WEAK__.
  16997. (WCHAR_TYPE_SIZE): Don't redefine.
  16998. (combine_strings): Don't use WCHAR_TYPE_SIZE.
  16999. * cppdefault.h: Don't provide defaults for SIZE_TYPE,
  17000. PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
  17001. * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
  17002. * tradcpp.c (initialize_builtins): Likewise.
  17003. * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
  17004. * c-lex.h (builtin_define_with_value): Prototype.
  17005. * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
  17006. NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
  17007. * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
  17008. * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
  17009. config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
  17010. config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
  17011. config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
  17012. config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
  17013. config/sparc/linux64.h, config/sparc/netbsd-elf.h,
  17014. config/sparc/sol2-bi.h, config/sparc/sparc.h:
  17015. Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references
  17016. to __SIZE_TYPE__ etc from all spec strings. When this makes
  17017. extra specs empty, delete them.
  17018. 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
  17019. * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
  17020. for PA8000 or generating dwarf2 call frame information.
  17021. (output_call): Remove DO_FRAME_NOTES check from return pointer
  17022. optimization.
  17023. (following_call): Return 0 when scheduling for PA8000 or generating
  17024. dwarf2 call frame information. Revise comment.
  17025. 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
  17026. config/alpha:
  17027. * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
  17028. and __IEEE_FP_INEXACT as appropriate.
  17029. (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
  17030. (CPP_SPEC): Remove ieee defines.
  17031. * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
  17032. 2002-05-14 Richard Henderson <rth@redhat.com>
  17033. * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
  17034. (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
  17035. 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
  17036. * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
  17037. (CPP_SPEC): Update.
  17038. (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
  17039. CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
  17040. CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
  17041. CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
  17042. (EXTRA_SPECS): Update.
  17043. * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
  17044. arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
  17045. arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
  17046. define TARGET_OS_CPP_BUILTINS if necessary.
  17047. 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
  17048. * gcc.c (cpp_options): Must pass -m* and -f* options
  17049. to the front end even when only preprocessing.
  17050. (cc1_options): Remove redundant -lang-c.
  17051. * tradcpp.c (main): Ignore -m options.
  17052. objc:
  17053. * lang-specs.h: Similarly.
  17054. 2002-05-14 Vladimir Makarov <vmakarov@redhat.com>
  17055. * genautomata.c (transform_3): Add code for transformation
  17056. `(A,B,...)+C -> A+C,B,...'.
  17057. Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
  17058. * final.c (end_final): Do not output profile_arcs constructor, when
  17059. no functions are instrumented.
  17060. Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
  17061. * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
  17062. 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  17063. * doc/install.texi: Remove special markup originally required for
  17064. HTML generation with texi2html.
  17065. 2002-05-14 Andreas Schwab <schwab@suse.de>
  17066. * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
  17067. SELECT_SECTION.
  17068. (UNIQUE_SECTION): Define to get small data correctly.
  17069. * varasm.c (resolve_unique_section): Add third parameter
  17070. flag_function_or_data_sections and use it instead of
  17071. flag_function_sections.
  17072. (assemble_start_function): Pass flag_function_sections.
  17073. (asm_emit_uninitialised): Pass flag_data_sections.
  17074. (assemble_variable): Likewise.
  17075. 2002-05-14 Richard Henderson <rth@redhat.com>
  17076. * config/i386/i386.md: Use define_constants for unspec numbers.
  17077. * config/i386/i386.c: Likewise.
  17078. 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
  17079. * doc/contrib.texi: Update my entry.
  17080. 2002-05-13 Mark Mitchell <mark@codesourcery.com>
  17081. * fixinc/inclhack.def (winidss_valist): Limit applicability.
  17082. * fixinc/fixincl.x: Regenerated.
  17083. * fixinc/tests/base/math.h: Update.
  17084. * fixinc/tests/base/testing.h: Likewise.
  17085. 2002-05-13 Zack Weinberg <zack@codesourcery.com>
  17086. * genattr.c (gen_attr): Don't emit a comma after the last
  17087. enumerator.
  17088. 2002-05-13 Richard Henderson <rth@redhat.com>
  17089. * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
  17090. by non-local gotos.
  17091. * recog.c (peephole2_optimize): Likewise.
  17092. 2002-05-13 Andris Pavenis <pavenis@lanet.lv>
  17093. * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
  17094. input to O_BINARY.
  17095. 2002-05-13 Jeffrey A Law (law@redhat.com)
  17096. * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
  17097. Update prototype and callers.
  17098. (propagate_one_insn): Stack pointer adjustments kill MEMs on
  17099. the mem_set_list which reference the stack pointer, as do
  17100. calls to constant functions as they may clobber outgoing
  17101. argument space.
  17102. * i386.c (ia32_multipass_dfa_lookahead): Prototype.
  17103. * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
  17104. (ia32_multipass_dfa_lookahead): New function.
  17105. 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
  17106. * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
  17107. (translate_options): Remove 'V'.
  17108. (process_command): Similarly.
  17109. doc:
  17110. * invoke.texi: Remove documentation of 'V'.
  17111. 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
  17112. * config/s390/linux.h: Revert 2002-04-22 changes.
  17113. 2002-05-13 Scott Marks <SMarks@mobile-mind.com>
  17114. * config/fr30/fr30.md: Only allow splits of immediate loads
  17115. if the destination is a register.
  17116. 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
  17117. * Makefile.in (c-common.o, cppinit.o): Update.
  17118. * c-common.c: Include except.h.
  17119. (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
  17120. Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
  17121. * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
  17122. * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
  17123. CPP_PREDEFINES): Handle here.
  17124. config:
  17125. * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
  17126. alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
  17127. alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
  17128. TARGET_OS_CPP_BUILTINS.
  17129. * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
  17130. (CPP_SPEC, EXTRA_SPECS): Update.
  17131. (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
  17132. CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
  17133. CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
  17134. CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
  17135. CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
  17136. doc:
  17137. * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
  17138. (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
  17139. 2002-05-12 Zack Weinberg <zack@codesourcery.com>
  17140. * emit-rtl.c (global_rtl): Update comment.
  17141. (const_double_htab, const_double_htab_hash,
  17142. const_double_htab_hash, lookup_const_double): New.
  17143. (const_int_htab_hash, const_int_htab_eq): Remove const
  17144. qualifiers, which cause tons of warnings with RTL checking on.
  17145. (gen_rtx_CONST_DOUBLE): Deleted.
  17146. (const_double_from_real_value): New function - bears some
  17147. resemblance to the former immed_real_const_1.
  17148. (immed_double_const): Moved here from varasm.c and
  17149. simplified.
  17150. (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
  17151. (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
  17152. (gen_rtx): Use immed_double_const.
  17153. (init_emit_once): Initialize the const_double_htab. Use
  17154. REAL_VALUE_FROM_INT where possible. Can now use
  17155. CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
  17156. * varasm.c (struct varasm_status): Remove x_const_double_chain.
  17157. (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
  17158. (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
  17159. (init_varasm_status, mark_varasm_status): Don't touch
  17160. x_const_double_chain.
  17161. * output.h: Delete prototype for clear_const_double_mem.
  17162. * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
  17163. '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
  17164. const_double_from_real_value, not immed_real_const_1, and use
  17165. it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
  17166. CONST_DOUBLE_ATOF.
  17167. * rtl.h (CONST_DOUBLE_CHAIN): Kill.
  17168. (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
  17169. (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
  17170. (gen_rtx_REG): Second arg is unsigned.
  17171. * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
  17172. (excluded_rtx): New, return true for CONST_DOUBLE.
  17173. (genmacro): Write nothing for excluded codes.
  17174. * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
  17175. * expr.c (expand_expr): Likewise.
  17176. * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
  17177. CONST_DOUBLE_CHAIN.
  17178. * toplev.c (rest_of_compilation): Don't call
  17179. clear_const_double_mem.
  17180. * config/rs6000/rs6000.c (rs6000_float_const): Delete.
  17181. (rs6000_hash_constant): Remove CONST_DOUBLE special case.
  17182. (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
  17183. * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
  17184. * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
  17185. * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
  17186. config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
  17187. * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
  17188. 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  17189. * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
  17190. 2002-05-12 Tom Tromey <tromey@redhat.com>
  17191. * tree.h (copy_node): Don't mention TREE_PERMANENT.
  17192. 2002-05-12 Zack Weinberg <zack@codesourcery.com>
  17193. * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
  17194. (scan_comma_elt): New function. Accepts whitespace in comma lists.
  17195. * gensupport.h: Prototype new routines.
  17196. * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
  17197. use of printf.
  17198. * genattrtab.c (n_comma_elts): Moved to gensupport.c.
  17199. (next_comma_elt): Use scan_comma_elt.
  17200. * config/i386/i386.md: Use new attribute notation to break up
  17201. long lines in define_attr forms.
  17202. 2002-05-12 Richard Henderson <rth@redhat.com>
  17203. * expr.c (compress_float_constant): New.
  17204. (emit_move_insn): Use it.
  17205. (float_extend_from_mem): New.
  17206. (init_expr_once): Initialize it.
  17207. * real.c (exact_real_truncate): New.
  17208. * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
  17209. dropped into memory; penalize for size.
  17210. (RTX_COSTS): FLOAT_EXTEND is free.
  17211. * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
  17212. extenddfxf2, extenddftf2): Accept constants and drop them to memory.
  17213. 2002-05-12 Richard Henderson <rth@redhat.com>
  17214. * profile.h (profile_info): Add missing extern to declaration.
  17215. * profile.c (profile_info): Define it.
  17216. 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  17217. * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
  17218. used for DImode and TImode.
  17219. 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
  17220. * cpplex.c (_cpp_lex_direct): When in a directive at EOF
  17221. fake a newline.
  17222. 2002-05-11 Zack Weinberg <zack@codesourcery.com>
  17223. * config/rs6000/rs6000.c (rs6000_default_long_calls,
  17224. rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
  17225. (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
  17226. (rs6000_override_options): Handle -m(no-)longcall.
  17227. (init_cumulative_args, output_mi_thunk): Check for both
  17228. longcall and shortcall attributes on the function.
  17229. (rs6000_attribute_table): Add "shortcall".
  17230. (rs6000_handle_longcall_attribute): Update comment.
  17231. (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
  17232. altivec_expand_ternop_builtin): Add default clauses to switches
  17233. to silence warnings.
  17234. * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
  17235. rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
  17236. (TARGET_OPTIONS): Add longcall and no-longcall.
  17237. * config/rs6000/rs6000.md (call_nonlocal_sysv,
  17238. call_value_nonlocal_sysv): Split by alternatives. One pair
  17239. accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
  17240. the call cookie. The other pair accepts only LR/CTR and has
  17241. no restriction.
  17242. * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
  17243. Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
  17244. tmake_file.
  17245. * config/rs6000/rs6000-c.c: New file.
  17246. * config/rs6000/t-rs6000-c-rule: New file.
  17247. * config/rs6000/rs6000-protos.c: Add multiple-include guard.
  17248. Prototype rs6000_pragma_longcall.
  17249. * doc/extend.texi: Document shortcall attribute.
  17250. * doc/invoke.texi: Document -mlongcall, -mno-longcall.
  17251. 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  17252. * reorg.c (dbr_schedule): Remove unnecessary test.
  17253. Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
  17254. * i386.md (testsi to testqi spliters): New.
  17255. 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
  17256. cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
  17257. Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
  17258. * basic-block.h: New flag EDGE_CAN_FALLTHRU
  17259. * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
  17260. that can be made fallthru.
  17261. Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
  17262. * cfglayout.c (cleanup_unconditional_jumps): New static function.
  17263. (cfg_layout_initialize): Use it.
  17264. 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
  17265. * config/avr/avr.c (avr_mcu_types): Update supported devices.
  17266. * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
  17267. * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
  17268. 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
  17269. * dbxout.c: Fix formatting.
  17270. * dependence.c: Likewise.
  17271. * df.c: Likewise.
  17272. * diagnostic.c: Likewise.
  17273. * doloop.c: Likewise.
  17274. * dominance.c: Likewise.
  17275. * doschk.c: Likewise.
  17276. * dwarf2asm.c: Likewise.
  17277. * dwarf2out.c: Likewise.
  17278. * dwarfout.c: Likewise.
  17279. 2002-05-10 Richard Henderson <rth@redhat.com>
  17280. * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
  17281. Convert integers constants as needed. Replace "nwords" field with
  17282. "sizeof_bb".
  17283. (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
  17284. * function.h: Fix typo in comment.
  17285. * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
  17286. 2002-05-10 Roger Sayle <roger@eyesopen.com>
  17287. * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
  17288. into the equivalent (signed char)c > 0.
  17289. 2002-05-10 Janis Johnson <janis187@us.ibm.com>
  17290. * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
  17291. (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
  17292. (struct prefetch_info): Fix spelling of member bytes_accessed.
  17293. (emit_prefetch_instructions): Make dump messages more regular;
  17294. restructure code to add more dump messages; use new macros for
  17295. heuristics. (There are no code generation changes in any of this).
  17296. 2002-05-10 David S. Miller <davem@redhat.com>
  17297. * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
  17298. (struct rtx_def): Update unchanging flag comment.
  17299. * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
  17300. * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
  17301. to be handled to INSN too.
  17302. (dbr_schedule): Likewise.
  17303. * resource.c (next_insn_no_annul): Likewise.
  17304. * cse.c (rtx_cost): Remove multiplication by power of 2 special
  17305. casing.
  17306. 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  17307. * doc/install.texi (Specific, *-*-solaris2*): Update passus on
  17308. setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
  17309. (possibly) work around broken /bin/sh.
  17310. 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  17311. * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
  17312. . as N64/N32 libgcc_s.so subdirs.
  17313. 2002-05-10 David S. Miller <davem@redhat.com>
  17314. * config/sparc/sparc.md: Use define_constants for unspec numbers.
  17315. * rtl.h (struct rtx_def): Document unchanging and in_struct flags
  17316. more accurately.
  17317. (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
  17318. comment.
  17319. (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
  17320. * doc/rtl.texi: Document these macros more accurately.
  17321. * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
  17322. JUMP_INSNs and CALL_INSNs.
  17323. * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
  17324. or INSN_FROM_TARGET_P if the code is appropriate.
  17325. 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
  17326. * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
  17327. before using SYMBOL_REF_FLAG (addr).
  17328. * config/avr/avr-protos.h (avr_io_address_p): Declare.
  17329. * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
  17330. Make non-static. Update all callers.
  17331. * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
  17332. New insns to clear/set/test a single bit in I/O address space.
  17333. 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  17334. * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
  17335. 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
  17336. * Makefile.in: Update.
  17337. * c-common.c (flag_iso, flag_undef, cb_register_builtins,
  17338. builtin_define_std): New.
  17339. (c_common_init): Register CPP builtins callback.
  17340. * c-common.h (flag_iso, flag_undef): New.
  17341. * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
  17342. * c-lex.c: Don't include target.h.
  17343. (cb_register_builtins): Move to c-common.c.
  17344. (init_c_lex): Don't register hook here.
  17345. * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
  17346. (cpp_define, cpp_assert): Remove.
  17347. * gcc.c (cc1_options): Pass -undef to front end.
  17348. * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
  17349. (TARGET_INITIALIZER): Update.
  17350. * target.h (struct cpp_reader): Don't predeclare.
  17351. (struct gcc_target): Remove cpp builtin hook.
  17352. * tree.c (default_register_cpp_builtins): Remove.
  17353. doc:
  17354. * tm.texi: Update.
  17355. 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
  17356. * cppexp.c (_cpp_expand_op_stack): Set op_limit.
  17357. 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  17358. * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
  17359. (SHLIB_LINK, SHLIB_INSTALL): Adjust.
  17360. 2002-05-09 Jakub Jelinek <jakub@redhat.com>
  17361. * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
  17362. * config/sparc/libgcc-sparc-glibc.ver: New file.
  17363. * config/cris/t-linux (SHLIB_MAPFILES): Remove.
  17364. * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
  17365. 2002-05-09 Jakub Jelinek <jakub@redhat.com>
  17366. PR target/6429
  17367. * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
  17368. * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
  17369. shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
  17370. base multilibs.
  17371. * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
  17372. * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
  17373. * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
  17374. * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
  17375. 2002-05-09 Richard Henderson <rth@redhat.com>
  17376. * config/ia64/ia64.md: Use define_constants for unspec numbers.
  17377. * config/ia64/ia64.c: Likewise.
  17378. 2002-05-09 Richard Sandiford <rsandifo@redhat.com>
  17379. * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
  17380. (save_restore_insns): Likewise.
  17381. (mips_expand_prologue, mips_expand_epilogue): Update callers.
  17382. (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
  17383. Thu May 9 11:50:09 2002 Jeffrey A Law (law@redhat.com)
  17384. * athlon.md, k6.md, pentium.md, ppro.md): New files.
  17385. * i386.md: Move scheduling information into new files.
  17386. * i386.md (type attribute): Add "rotate" for rotate insns.
  17387. (rotate insns): Set type to "rotate".
  17388. (various attributes and function units): Treat rotate like shift.
  17389. (pent_pair attribute): Only rotates by one bit position are
  17390. pairable.
  17391. (sbb insns): Explicitly set pent_pair attribute on a couple
  17392. that were missing it.
  17393. Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
  17394. * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
  17395. make sure that buffer starts on odd word address.
  17396. (sh_va_arg): Skip odd fp registers when reading a double precision
  17397. value.
  17398. 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
  17399. * tree.h (preserve_data, object_permanent_p, type_precision):
  17400. Remove.
  17401. 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
  17402. * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
  17403. * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
  17404. doc:
  17405. * cpp.texi: Update for removal of obsolete features.
  17406. Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
  17407. Jeffrey A Law (law@redhat.com)
  17408. * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
  17409. the DFA interface for Pentium processors.
  17410. (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
  17411. (attr_pent_pair, ix86_pent_find_pair): Remove.
  17412. (ix86_sched_reorder_pentium): Remove.
  17413. (ix86_sched_reorder): Remove reordering for Pentium.
  17414. * i386.md (Pentium scheduling): Rewrite using DFA description.
  17415. Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
  17416. * cfganal.c (can_fallthru): Fix fast path.
  17417. * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
  17418. with edges to the next block.
  17419. Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
  17420. Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
  17421. * final.c (end_final): Use C trees to output data structures for profiling.
  17422. * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
  17423. (profile.o): New dependency profile.h
  17424. (final.o): New dependency profile.h
  17425. * profile.h: New file. New global structure profile_info.
  17426. * final.h (count_edges_instrumented_now): Declare.
  17427. (current_function_cfg_checksum): Declare.
  17428. (function_list): New structure.
  17429. (functions_head, functions_tail): New static variables.
  17430. (end_final): Emits more data, removed some -ax stuff.
  17431. (final): Stores function names and chcksums.
  17432. * gcov-io.h (__write_gcov_string): New function.
  17433. (__read_gcov_string): New function.
  17434. * gcov.c (read_profile): New function.
  17435. (create_program_flow_graph): Uses read_profile instead of reading
  17436. da_file.
  17437. (read_files): Removed da_file checking, it's done by read_profile now.
  17438. * libgcc2.c (bb_function_info): New structure.
  17439. (bb): New field in structure, removed some -ax stuff.
  17440. (__bb_exit_func): Changed structure of da_file.
  17441. * profile.c (count_edges_instrumented_now): New global variable.
  17442. (current_function_cfg_checksum): New global variable.
  17443. (max_counter_in_program): New global variable.
  17444. (get_exec_counts): New function.
  17445. (compute_checksum): New function.
  17446. (instrument_edges): Sets count_edges_instrumented_now.
  17447. (compute_branch_probabilities): Uses get_exec_counts instead of
  17448. reading da_file.
  17449. (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
  17450. (init_branch_prob): Removed da_file checking, done in get_exec_counts
  17451. now.
  17452. (end_branch_prob): Removed da_file checking, done in get_exec_counts
  17453. now.
  17454. * gcov.texi: Updated information about gcov file format.
  17455. 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
  17456. * sbitmap.c: Fix formatting.
  17457. * scan.c: Likewise.
  17458. * scan-decls.c: Likewise.
  17459. * sched-deps.c: Likewise.
  17460. * sched-ebb.c: Likewise.
  17461. * sched-rgn.c: Likewise.
  17462. * sched-vis.c: Likewise.
  17463. * sdbout.c: Likewise.
  17464. * sibcall.c: Likewise.
  17465. * simplify-rtx.c: Likewise.
  17466. * ssa.c: Likewise.
  17467. * ssa-ccp.c: Likewise.
  17468. * ssa-dce.c: Likewise.
  17469. * stmt.c: Likewise.
  17470. * stor-layout.c: Likewise.
  17471. * stringpool.c: Likewise.
  17472. 2002-05-09 David S. Miller <davem@redhat.com>
  17473. * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
  17474. 2002-05-07 David S. Miller <davem@redhat.com>
  17475. * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
  17476. * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
  17477. * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
  17478. library implementation clobbers the output before the inputs
  17479. are fully consumed, use stack temporary for the output.
  17480. 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
  17481. * config/netbsd.h (CPP_SPEC): Remove.
  17482. * config/i386/netbsd-elf.h (CPP_SPEC): Define.
  17483. * config/i386/netbsd.h (CPP_SPEC): Define.
  17484. * config/ns32k/netbsd.h (CPP_SPEC): Define.
  17485. * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
  17486. * config/sparc/netbsd.h (CPP_SPEC): Define.
  17487. * config/vax/netbsd.h (CPP_SPEC): Define.
  17488. 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
  17489. * read-rtl.c: Fix formatting.
  17490. * real.c: Likewise.
  17491. * recog.c: Likewise.
  17492. * regclass.c: Likewise.
  17493. * regmove.c: Likewise.
  17494. * reg-stack.c: Likewise.
  17495. * reload1.c: Likewise.
  17496. * reload.c: Likewise.
  17497. * resource.c: Likewise.
  17498. * rtlanal.c: Likewise.
  17499. * rtl.c: Likewise.
  17500. * rtl-error.c: Likewise.
  17501. 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
  17502. * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
  17503. * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
  17504. 2002-05-08 Bernd Schmidt <bernds@redhat.com>
  17505. * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
  17506. use __SSE2__ macro instead.
  17507. * config/i386/xmmintrin.h: Likewise.
  17508. 2002-05-08 Janis Johnson <janis187@us.ibm.com>
  17509. * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
  17510. and use it in all invocations of these macros. Clean up comments.
  17511. * rtl.c (rtl_check_failed_flag): Add an argument for the name
  17512. of the flag access macro whose check failed.
  17513. * doc/rtl.texi (Flags): Document additional flag uses.
  17514. 2002-05-08 Robert Spier <rspier@pobox.com>
  17515. Neil Booth <neil@daikokuya.demon.co.uk>
  17516. PR preprocessor/6521
  17517. * cppfiles.c (handle_missing_header): Don't do anything
  17518. different for <> includes.
  17519. doc:
  17520. * cppopts.texi: Update documentation for -MG.
  17521. 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
  17522. * cpplex.c (cpp_interpret_charconst): Truncate as well as
  17523. sign-extend.
  17524. doc:
  17525. * cpp.texi: Clarify multichar charconst valuation.
  17526. 2002-05-08 Mark Mitchell <mark@codesourcery.com>
  17527. * doc/invoke.texi: Document -mwindiss option.
  17528. 2002-05-08 Jason Merrill <jason@redhat.com>
  17529. * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
  17530. * dwarf2out.c (gen_type_die): Abort on broken recursion.
  17531. PR c++/6381
  17532. * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
  17533. REAL_CST.
  17534. 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
  17535. * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
  17536. little-endian multilibs to override arm/thumb multilibs.
  17537. Do not build hardware floating point multilibs, nor apcs-26
  17538. multilibs for the Thumb.
  17539. 2002-05-08 Mark Mitchell <mark@codesourcery.com>
  17540. PR c/6569.
  17541. * varasm.c (mark_weak): New function.
  17542. (merge_weak): Use it. Do not call declare_weak.
  17543. (declare_weak): Use merge_weak.
  17544. Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
  17545. * cse.c (dead_libcall_p): Update counts.
  17546. (delete_trivially_dead_insns): Update call of dead_libcall_p.
  17547. Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
  17548. * cfglayout.c (function_tail_eff_head): Rename to ...
  17549. (function_footer): ... this one.
  17550. (unlink_insn_chain): New functions.
  17551. (label_for_bb): Only call block_label and emit debug message.
  17552. (record_effective_endpoints): Actually unlink the headers and footers.
  17553. (fixup_reorder_cahin): Re-insert the unlinked sequences.
  17554. (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
  17555. * cfglayout.h (struct reorder_block_def): New fields footer/header;
  17556. remove eff_head/eff_end.
  17557. * rtl.h (set_first_insn): Declare.
  17558. * emit-rtl.c (set_first_insn): New function.
  17559. * cfglayout.c (fixup_reorder_chain): Dump duplicated
  17560. (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
  17561. cfg_layout_duplicate_bb): New global function.
  17562. (duplicate_insn_chain): New static function.
  17563. * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
  17564. cfg_layout_duplicate_bb): Declare.
  17565. (struct reorder_block_def): Add "original" field.
  17566. * emit-rtl.c (emit_copy_of_insn_after): New function.
  17567. * rtl.h (emit_copy_of_insn_after): Declare.
  17568. * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
  17569. (fixup_reorder_chain): properly handle edges to exit block.
  17570. Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  17571. Jan Hubicka <jh@suse.cz>
  17572. * basic-block.h (note_prediction_to_br_prob): declare.
  17573. * c-semantics.c: Include predit.h
  17574. (expand_stmt): predict GOTO_STMT as not taken.
  17575. * cfgcleanup.c: (delete_unreachable_blocks): Make global.
  17576. (cleanup_cfg): Do not free tail_recursion_list.
  17577. * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
  17578. (flow_delete_block): Kill predictions past end of basic block.
  17579. * output.h (delete_unreachable_blocks): Declare.
  17580. * predict.c (predicted_by_p, process_note_predictions,
  17581. process_note_prediction, last_block_p): New function.
  17582. (estimate_probability): Bypass loop on PRED_CONTINUE;
  17583. do not handle noreturn heuristics; kill PRED_RETURN; add
  17584. PRED_EARLY_RETURN.
  17585. * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
  17586. PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
  17587. * predict.h (IS_TAKEN): New constant.
  17588. * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
  17589. * rtl.c (NOTE_INSN_PREDICTION): New.
  17590. * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
  17591. New macro.
  17592. (insn_note): add NOTE_INSN_PREDICTION.
  17593. * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
  17594. CFG; free tail_recursion_label_list.
  17595. * stmt.c: Include predict.h;
  17596. (return_prediction): New.
  17597. (expand_value_return): Use it.
  17598. * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
  17599. 2002-05-08 Richard Sandiford <rsandifo@redhat.com>
  17600. * config/mips/mips.md: Name the unspecs with define_constant.
  17601. (*HILO_delay): Rename to 'hilo_delay' (no star).
  17602. (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
  17603. (reload_outdi, reload_outsi): Likewise.
  17604. 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
  17605. * toplev.c: Fix formatting.
  17606. 2002-05-07 Janis Johnson <janis187@us.ibm.com>
  17607. * config.in (ENABLE_RTL_FLAG_CHECKING): New.
  17608. * configure.in (ac_rtlflag_checking): New.
  17609. * doc/install.texi (--enable-checking): Document RTL flag checking.
  17610. 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
  17611. * c-common.c (c_common_init): Set options->unsigned_wchar.
  17612. * cppinit.c (cpp_create_reader): Default unsigned_wchar,
  17613. group target dependencies.
  17614. (init_builtins, cpp_handle_option): Update.
  17615. * cpplex.c (cpp_interpret_charconst): Update.
  17616. * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
  17617. signed_char to unsigned_char, group target dependencies.
  17618. * defaults.h (WCHAR_UNSIGNED): Remove.
  17619. * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
  17620. config:
  17621. * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
  17622. i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
  17623. i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
  17624. i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
  17625. sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
  17626. doc:
  17627. * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
  17628. 2002-05-07 Mark Mitchell <mark@codesourcery.com>
  17629. * fixinc/inclhack.def (windiss_math1): New fix.
  17630. (windiss_math2): Likewise.
  17631. (windiss_valist): Likewise.
  17632. * fixinc/fixincl.x: Regenerated.
  17633. 2002-05-07 Andreas Jaeger <aj@suse.de>
  17634. * genautomata.c (output_internal_min_issue_delay_func): Add
  17635. ATTRIBUTE_UNUSED to avoid warning with empty dfa.
  17636. (output_internal_trans_func): Likewise.
  17637. Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
  17638. * pa.c (hppa_profile_hook): Use force_reg to get the address
  17639. of the profile hook into an appropriate pseudo register.
  17640. 2002-05-07 Mark Mitchell <mark@codesourcery.com>
  17641. * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
  17642. (LINK_START_SPEC): Handle it.
  17643. (LINK_OS_SPEC): Likewise.
  17644. (CPP_SPEC): Likewise.
  17645. (STARTFILE_SPEC): Likewise.
  17646. (LIB_SPEC): Likewise.
  17647. (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
  17648. all platforms.
  17649. (CRTSAVRES_DEFAULT_SPEC): New macro.
  17650. (LIB_WINDISS_SPEC): New macro.
  17651. (CPP_OS_WINDISS_SPEC): Likewise.
  17652. (STARTFILE_WINDISS_SPEC): Likewise.
  17653. (ENDFILE_WINDISS_SPEC): Likewise.
  17654. (LINK_START_WINDISS_SPEC): Likewise.
  17655. (LINK_OS_WINDISS_SPEC): Likewise.
  17656. * config/rs6000/windiss.h: New file.
  17657. 2002-05-07 Aldy Hernandez <aldyh@redhat.com>
  17658. * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
  17659. 2002-05-06 David S. Miller <davem@redhat.com>
  17660. * config/sparc/sparc.md (shift insns): Do not mask off
  17661. second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
  17662. take care of it.
  17663. 2002-05-06 Richard Henderson <rth@redhat.com>
  17664. PR c++/6212
  17665. * expr.c (highest_pow2_factor_for_type): New.
  17666. (expand_assignment): Use it.
  17667. 2002-05-06 Aldy Hernandez <aldyh@redhat.com>
  17668. * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
  17669. unspec_volatile.
  17670. ("altivec_mfvscr"): Same.
  17671. 2002-05-06 Janis Johnson <janis187@us.ibm.com>
  17672. * rtl.h (struct rtx_def): Update comments.
  17673. (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
  17674. (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
  17675. RTL_FLAG_CHECK macros with list of expected RTL codes.
  17676. * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
  17677. (rtl_check_failed_flag): New.
  17678. * reload1.c (reload): Use REG macro before changing rtx to MEM.
  17679. (reload_cse_noop_set_p): Check rtx code before using access macro.
  17680. * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
  17681. before using access macro.
  17682. 2002-05-06 Janis Johnson <janis187@us.ibm.com>
  17683. * doc/rtl.texi (Flags): Update to reflect current usage.
  17684. 2002-05-06 Roger Sayle <roger@eyesopen.com>
  17685. PR opt/3995
  17686. * fold-const.c (sign_bit_p): New function.
  17687. (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
  17688. (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
  17689. Reapply fold when converting (A & C) == C into (A & C) != 0.
  17690. (fold_binary_op_with_conditional_arg): Fix typo in comment.
  17691. 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
  17692. * c-common.c (warn_multichar): New.
  17693. (c_common_init): Set CPP's warn_multichar.
  17694. * c-common.h (warn_multichar): New.
  17695. * c-decl.c (warn_multichar): Remove.
  17696. * c-lex.c (lex_charconst): Update.
  17697. * c-tree.h (warn_multichar): Remove.
  17698. * cppexp.c (eval_token): Sign-extend charconst value.
  17699. * cppinit.c (cpp_create_reader): Set warn_multichar.
  17700. * cpplex.c (cpp_interpret_charconst): Don't sign-extend
  17701. each character. Update prototype. Sign-extend the result.
  17702. * cpplib.h: Fix conditions.
  17703. (struct cpp_options): Add new warning flag.
  17704. (cpp_interpret_charconst): Update prototype.
  17705. doc:
  17706. * cpp.texi: Update documentation.
  17707. 2002-05-06 Vladimir Makarov <vmakarov@redhat.com>
  17708. * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
  17709. Fix typo in usage of allof instead of unit.
  17710. 2002-05-06 Richard Henderson <rth@redhat.com>
  17711. * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
  17712. and any jump or call for IN.
  17713. 2002-05-06 Bernd Schmidt <bernds@redhat.com>
  17714. * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
  17715. -msse2.
  17716. * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
  17717. 2002-05-06 Roger Sayle <roger@eyesopen.com>
  17718. * fold-const.c (lshift-double): Cast the high word to an unsigned
  17719. HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
  17720. (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
  17721. avoid compiler warning. (fold): Remove redundant code from
  17722. BIT_AND_EXPR as integer operands are canonicalized to be arg1.
  17723. 2002-05-06 Jeff Law <law@redhat.com>
  17724. * pa-protos.h (hppa_fpstore_bypass_p): Declare.
  17725. * pa.c (pa_adjust_cost): Remove all true dependency cost
  17726. adjustments. Also remove support for non-DFA scheduling.
  17727. * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
  17728. to adjust true dependency costs. Update various comments.
  17729. (7100lc, 7200, 7300 scheduling): Simplify by combining the
  17730. FP ALU & MPY units into a single unit.
  17731. 2002-05-06 Catherine Moore <clm@redhat.com>
  17732. * config/v850/v850.c (compute_register_save_size): Make sure
  17733. to count all of the registers that will be saved.
  17734. Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
  17735. * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
  17736. 2002-05-06 David S. Miller <davem@redhat.com>
  17737. * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
  17738. allow result to overlap input operands in memory.
  17739. 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
  17740. doc:
  17741. * cpp.texi: Update multichar charconst docs.
  17742. 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
  17743. * cpplex.c (cpp_interpret_charconst): Sign-extend each
  17744. character. Don't ignore excess characters. Treat
  17745. multicharacter character constants as signed.
  17746. (cpp_parse_escape): Clarify diagnostic.
  17747. 2002-05-05 Jakub Jelinek <jakub@redhat.com>
  17748. * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
  17749. use add instead of shift.
  17750. (ashldi3_sp64): Likewise.
  17751. (ashlsi3_const1, ashldi3_const1): Remove.
  17752. * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
  17753. * config/sparc/sparc.c (const1_operand): New.
  17754. 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
  17755. * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
  17756. 2002-05-05 Jakub Jelinek <jakub@redhat.com>
  17757. PR target/6561
  17758. * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
  17759. 2002-05-05 Richard Henderson <rth@redhat.com>
  17760. * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
  17761. memory latency adjustments.
  17762. (alpha_variable_issue): Remove.
  17763. (alpha_use_dfa_pipeline_interface): New.
  17764. (alpha_multipass_dfa_lookahead): New.
  17765. * config/alpha/alpha.md: Remove define_function_unit scheduling;
  17766. include new dfa scheduling.
  17767. (attr type): Add none.
  17768. (blockage): Use it.
  17769. * config/alpha/ev4.md: New.
  17770. * config/alpha/ev5.md: New.
  17771. * config/alpha/ev6.md: New.
  17772. 2002-05-05 David S. Miller <davem@redhat.com>
  17773. * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
  17774. 2002-05-05 Kazu Hirata <kazu@cs.umass.edu>
  17775. * cse.c: Fix formatting.
  17776. * emit-rtl.c: Likewise.
  17777. 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
  17778. * genautomata.c (initiate_states): Add additional guard to
  17779. initialize `units_array'.
  17780. 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
  17781. * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
  17782. process_unit_to_form_the_same_automaton_unit_lists,
  17783. form_the_same_automaton_unit_lists
  17784. check_unit_distributions_to_automata): New prototypes and
  17785. functions.
  17786. (check_automata): Rename it into `check_automata_insn_issues'.
  17787. (unit_decl): New fields `the_same_automaton_unit' and
  17788. `the_same_automaton_message_reported_p'.
  17789. (unit_decl_t): New typedef.
  17790. (the_same_automaton_lists): New gloval variable.
  17791. (unit_regexp, unit_set_el, units_array, units_cmp,
  17792. output_get_cpu_unit_code_func): Use the typedef.
  17793. (evaluate_max_reserv_cycles): Increment
  17794. `description->max_insn_reserv_cycles'.
  17795. (initiate_states): Don't increment `max_cycles_num'.
  17796. (transform_insn_regexps): Move code around transformation of
  17797. regexps from `generate'.
  17798. (generate): Remove call of `transform_insn_regexps'.
  17799. (expand_automata): Call `transform_insn_regexps' and
  17800. `check_unit_distributions_to_automata'. Check errors before
  17801. `generate'.
  17802. * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
  17803. automaton `ultrasparc3_1'.
  17804. 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
  17805. * c-common.c (c_common_init): Set up CPP arithmetic.
  17806. * cppinit.c (cpp_create_reader): Default CPP arithmetic to
  17807. something reasonable for the host.
  17808. (sanity_checks): Add checks.
  17809. (cpp_read_main_file): Call sanity_checks() from here...
  17810. (cpp_post_options): ... not here.
  17811. * cpplex.c (cpp_interpret_charconst): Get max_chars right.
  17812. * cpplib.h (struct cpp_options): New member int_precision.
  17813. 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  17814. * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
  17815. 2002-05-04 David S. Miller <davem@redhat.com>
  17816. * config/sparc/linux.h, config/sparc/linux64.h
  17817. (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
  17818. * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
  17819. more RTX codes.
  17820. * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
  17821. * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
  17822. of SETs.
  17823. 2002-05-05 Tim Josling <tej@melbpc.org.au>
  17824. * treelang; New directory for new sample language treelang.
  17825. 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
  17826. * Makefile.in (c-lex.o): Update.
  17827. * c-lex.c: Include target.h.
  17828. (cb_register_builtins): New.
  17829. (init_c_lex): Set builtins callback.
  17830. * c-lex.h (cpp_define, cpp_assert): New prototypes.
  17831. * cppinit.c (init_builtins): Use callback, including for
  17832. GXX_WEAK.
  17833. * cpplib.h (struct cpp_callbacks): New member.
  17834. * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
  17835. (TARGET_INITIALIZER): Update.
  17836. * target.h (struct gcc_target): New hook.
  17837. * tree.c (default_register_cpp_builtins): New.
  17838. * tree.h (default_register_cpp_builtins): New.
  17839. doc:
  17840. * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
  17841. 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
  17842. * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
  17843. (cpp_post_options): Move sanity checks to...
  17844. (sanity_checks): New.
  17845. * cpplex.c (maybe_read_ucs): Fix prototype.
  17846. (parse_string, cpp_parse_escape): Cast for %c format specifier.
  17847. * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
  17848. if necessary.
  17849. 2002-05-04 Bernd Schmidt <bernds@redhat.com>
  17850. * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
  17851. builtins. Use V2DI patterns instead of TI for logical operations.
  17852. (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
  17853. Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
  17854. (ix86_expand_builtins): Change the pattern used for movntdq.
  17855. * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
  17856. sse2_nandv2di3): New patterns.
  17857. (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
  17858. on operands.
  17859. (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
  17860. (cvtdq2pd): Correct mode on operand 1.
  17861. (sse2_umulsidi3): Describe without unspec.
  17862. (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
  17863. machine modes.
  17864. (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
  17865. (ashlv2di3): Likewise, from sse2_ashlv2di3.
  17866. (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
  17867. ashlv4si3, ashlv2di3): Use SImode for shift count.
  17868. (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
  17869. lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
  17870. New patterns.
  17871. * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
  17872. New typedefs.
  17873. (__m128i, __m128d): New macros.
  17874. (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
  17875. _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
  17876. _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
  17877. _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
  17878. _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
  17879. _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
  17880. _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
  17881. _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
  17882. _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
  17883. _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
  17884. _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
  17885. _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
  17886. _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
  17887. _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
  17888. _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
  17889. _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
  17890. _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
  17891. _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
  17892. _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
  17893. _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
  17894. _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
  17895. _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
  17896. _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
  17897. _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
  17898. _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
  17899. _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
  17900. _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
  17901. _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
  17902. _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
  17903. _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
  17904. _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
  17905. _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
  17906. _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
  17907. _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
  17908. _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
  17909. _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
  17910. _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
  17911. functions.
  17912. (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
  17913. _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
  17914. 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
  17915. * dwarf2out.c: Fix formatting.
  17916. * varasm.c: Likewise.
  17917. 2002-05-04 David Edelsohn <edelsohn@gnu.org>
  17918. PR c/6543
  17919. * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
  17920. clobber and use result as temporary value.
  17921. Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
  17922. * expr.c (force_operand): Use expand_simple_* to handle more
  17923. cases.
  17924. 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
  17925. * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
  17926. and sign-extension.
  17927. (lex_charconst): Update for change in prototype of
  17928. cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
  17929. appropriately.
  17930. * cpphash.h (BITS_PER_CPPCHAR_T): New.
  17931. * cppinit.c (cpp_create_reader): Initialize them for no
  17932. change in semantics.
  17933. (cpp_post_options): Add sanity checks.
  17934. * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
  17935. and truncation issues. Calculate in type cppchar_t.
  17936. (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
  17937. (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
  17938. run-time dependent precision correctly. Return whether the
  17939. result is signed or not.
  17940. * cpplib.c (dequote_string): Use cppchar_t; update.
  17941. * cpplib.h (cppchar_signed_t): New.
  17942. struct cpp_options): New precision members.
  17943. (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
  17944. * cppexp.c (eval_token): Update.
  17945. 2002-05-03 David S. Miller <davem@redhat.com>
  17946. * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
  17947. * config/sparc/sparc.c (sparc_rtx_costs): New function
  17948. implementing RTX_COSTS and CONST_COSTS.
  17949. * config/sparc/sparc.h (CONST_COSTS): Delete.
  17950. (RTX_COSTS_CASES): Define.
  17951. (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
  17952. the work.
  17953. * config/sparc/sparc.md (DFA schedulers): Split out...
  17954. * config/sparc/cypress.md, config/sparc/hypersparc.md,
  17955. config/sparc/sparclet.md, config/sparc/supersparc.md,
  17956. config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
  17957. * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
  17958. checks on it, always defined for SPARC.
  17959. * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
  17960. Tweak, and add more detailed comments.
  17961. 2002-05-03 Zack Weinberg <zack@codesourcery.com>
  17962. * Re-apply patch accidentally reverted with
  17963. DFA scheduler merge: remove all rules and variables to slurp
  17964. source files out of libiberty and rebuild them with HOST_CC.
  17965. ($(HOST_PREFIX_1)varray.o): New rule.
  17966. (genattrtab rule): Word wrap.
  17967. 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
  17968. * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
  17969. (CPP_SUBTARGET_SPEC): Define.
  17970. (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
  17971. cpp_subtarget specs.
  17972. (CPP_SPEC): Redefine to include %(cpp_subtarget).
  17973. 2002-05-03 David S. Miller <davem@redhat.com>
  17974. * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
  17975. * target.h (struct gcc_target): Delete cycle_display member.
  17976. * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
  17977. (rtx_needs_barrier): Delete reference to cycle_display unspec.
  17978. (ia64_sched_reorder2): Mention need for cycle display handling
  17979. once such notes exist.
  17980. 2002-05-03 Richard Henderson <rth@redhat.com>
  17981. * real.c (etoasc): Strip most trailing zeros for clarity.
  17982. * sched-vis.c: Include real.h.
  17983. (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
  17984. * Makefile.in (sched-vis.o): Add real.h.
  17985. 2002-05-03 David S. Miller <davem@redhat.com>
  17986. * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
  17987. no longer needed.
  17988. 2002-05-03 Aldy Hernandez <aldyh@redhat.com>
  17989. * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
  17990. when we get an out of range literal.
  17991. (altivec_expand_ternop_builtin): Same.
  17992. (altivec_expand_unop_builtin): Same.
  17993. (altivec_expand_builtin): Same, for dss.
  17994. (altivec_expand_builtin): Use trees instead of rtl when
  17995. determining literal argument validity.
  17996. 2002-05-03 David S. Miller <davem@redhat.com>
  17997. Delete cycle display scheduling hook.
  17998. * config/ia64/ia64.c (ia64_cycle_display,
  17999. TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
  18000. (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
  18001. and use emit_insn_before instead of ia64_emit_insn_before.
  18002. * config/ia64/ia64.md (unspec usage): Delete cycle display.
  18003. (cycle_display): Delete insn pattern.
  18004. * config/sparc/sparc.md (unspec usage): Delete cycle display.
  18005. (cycle_display): Delete insn pattern.
  18006. * config/sparc/sparc.c (sparc_cycle_display,
  18007. TARGET_SCHED_CYCLE_DISPLAY): Delete.
  18008. * doc/md.texi (cycle_display): Don't mention.
  18009. * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
  18010. 2002-05-03 Richard Henderson <rth@redhat.com>
  18011. * recog.c (store_data_bypass_p, if_test_bypass_p): New.
  18012. * recog.h: Declare them.
  18013. * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
  18014. * config/sparc/sparc.md: Use store_data_bypass_p instead.
  18015. * config/sparc/sparc-protos.h: Update.
  18016. 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
  18017. * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
  18018. -D__arch64__. Add -D_LP64.
  18019. (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
  18020. from sparc.h.
  18021. (CPP_ARCH64_SPEC): Likewise.
  18022. (NO_BUILTIN_PTRDIFF_TYPE): Undef.
  18023. (NO_BUILTIN_SIZE_TYPE): Undef.
  18024. 2002-05-03 Vladimir Makarov <vmakarov@redhat.com>
  18025. * genautomata.c (min_issue_delay_pass_states): Change return type
  18026. in the prototype.
  18027. (min_issue_delay_pass_states): Change the algorithm.
  18028. (min_issue_delay): Set up min_insn_issue_delay for the state.
  18029. (output_min_issue_delay_table): Interchange the nested loops and
  18030. and initiate min_insn_issue_delay for states.
  18031. Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
  18032. * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
  18033. jump is simplejump.
  18034. Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
  18035. * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
  18036. sequence.
  18037. 2002-05-03 Richard Henderson <rth@redhat.com>
  18038. PR opt/6534
  18039. * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
  18040. noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
  18041. noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
  18042. code before JUMP, not EARLIEST.
  18043. 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
  18044. * c-format.c (check_format_info_main): Don't check for presence of
  18045. parameter for * width until after operand number has been read,
  18046. and only check for it if format parameters are available.
  18047. Fixes PR c/6547.
  18048. 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
  18049. * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
  18050. (LINK_SPEC): Undef before defining.
  18051. 2002-05-03 Jakub Jelinek <jakub@redhat.com>
  18052. PR preprocessor/6489
  18053. * tradcpp.c (fixup_newlines): New.
  18054. (main, finclude): Use it.
  18055. 2002-05-03 Richard Sandiford <rsandifo@redhat.com>
  18056. * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
  18057. * config/mips/mips.c (mips_unique_section): Strip encoding from
  18058. decl name.
  18059. 2002-05-03 Jakub Jelinek <jakub@redhat.com>
  18060. * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
  18061. mode.
  18062. 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  18063. * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
  18064. (Specific): Removed buildstats references.
  18065. (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
  18066. (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
  18067. Accomodate Solaris versions beyond 8.
  18068. (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
  18069. (Specific, *-*-solaris2.8): Removed, obsolete.
  18070. 2002-05-03 Jakub Jelinek <jakub@redhat.com>
  18071. PR target/6542
  18072. * config/sparc/sparc.h (leaf_reg_remap): Remove const.
  18073. (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
  18074. fill leaf_reg_remap with identity.
  18075. * config/sparc/sparc.c (leaf_reg_remap): Remove const.
  18076. 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
  18077. * config/h8300/crti.asm: Remove trailing spaces.
  18078. * config/h8300/h8300.c: Likewise.
  18079. * config/h8300/lib1funcs.asm: Likewise.
  18080. 2002-05-02 Jason Merrill <jason@redhat.com>
  18081. * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
  18082. * c-decl.c (c_init_decl_processing): Use it.
  18083. * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
  18084. * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
  18085. * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
  18086. 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
  18087. * regrename.c: Fix formatting.
  18088. * tree.c: Likewise.
  18089. Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
  18090. * i386.md (attribute memory): Handle compares properly.
  18091. Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
  18092. * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
  18093. to none.
  18094. 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
  18095. * function.c: Fix formatting.
  18096. 2002-05-02 Jan Hubicka <jh@suse.cz>
  18097. * haifa-sched.c (schedule_insn): Print table of instructions and
  18098. reservations.
  18099. (sched_block): Do not print ready list at verbosity level 1.
  18100. * sched-vis.c (print_insn): Make global.
  18101. * sched-ebb.c (ebb_print_insn): Rename from...
  18102. (print_insn): ... this one.
  18103. * sched-int.h (print_insn): Declare
  18104. 2002-05-02 Richard Henderson <rth@redhat.com>
  18105. * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
  18106. emitted by cycle_display.
  18107. 2002-05-02 Loren J. Rittle <ljrittle@acm.org>
  18108. * doc/install.texi (*-*-freebsd*): Update to latest status.
  18109. 2002-05-02 Jakub Jelinek <jakub@redhat.com>
  18110. PR target/6540
  18111. * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
  18112. * config/float-sparc.h: Assume 128-bit long double if
  18113. __LONG_DOUBLE_128__ is defined.
  18114. 2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
  18115. * genattrtab.c (write_function_unit_info): Add a dummy element
  18116. when num_units == 0.
  18117. 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
  18118. * predict.c: (propagate_freq, estimate_bb_frequencies): Use
  18119. TYPE_MODE (double_type_node) instead of DFmode.
  18120. Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
  18121. * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
  18122. jumps post reload.
  18123. * toplev.c (rest_of_compilation): Revert Richard's patch.
  18124. 2002-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
  18125. * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
  18126. 2002-05-02 Catherine Moore <clm@redhat.com>
  18127. * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
  18128. 2002-05-02 Kazu Hirata <kazu@hxi.com>
  18129. * combine.c: Fix comment typos.
  18130. * expr.c: Likewise.
  18131. * genautomata.c: Likewise.
  18132. * stmt.c: Likewise.
  18133. * tree.h: Likewise.
  18134. 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
  18135. * doc/install.texi: State GNAT version requirements.
  18136. 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
  18137. * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
  18138. of the frame pointer or arg pointer register which strict register
  18139. checking is not enabled.
  18140. 2002-05-02 Aldy Hernandez <aldyh@redhat.com>
  18141. * gcc.dg/altivec-8.c: New.
  18142. * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
  18143. PRE_INC and PRE_DEC for altivec modes.
  18144. 2002-05-01 Bruce Korb <bkorb@gnu.org>
  18145. * fixinc/check.tpl(set-writable): make sure the function exists first
  18146. * fixinc/inclhack.def(alpha_assert): fix test_text
  18147. * fixinc/tests/base/assert.h: add in missing result
  18148. 2002-05-01 Jeff Law <law@redhat.com>
  18149. * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
  18150. 'T' constraint.
  18151. 2002-05-01 Joel Brobecker <brobecker@gnat.com>
  18152. * dbxout.c (dbxout_type): Emit size information for range types,
  18153. as well, but only when using GDB extensions.
  18154. 2002-05-01 Richard Henderson <rth@redhat.com>
  18155. * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
  18156. target-independent gnu binutils date test.
  18157. 2002-05-01 Richard Henderson <rth@redhat.com>
  18158. * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
  18159. info before expunging the block.
  18160. 2002-05-01 Jakub Jelinek <jakub@redhat.com>
  18161. * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
  18162. (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
  18163. -M -or -MM is in effect.
  18164. 2002-05-01 Zack Weinberg <zack@codesourcery.com>
  18165. * config.gcc: Correct test of --enable-obsolete. Obsolete all
  18166. A29k configurations.
  18167. * doc/install.texi: Update to match.
  18168. 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  18169. PR bootstrap/6514
  18170. * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
  18171. for duplicates. Always loop over whole list.
  18172. Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  18173. * reload.c (find_reloads, case 'p'): Set BADOP to 0.
  18174. 2002-05-01 Joel Sherrill <joel@OARcorp.com>
  18175. * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
  18176. support routines.
  18177. 2002-05-01 Joel Sherrill <joel@OARcorp.com>
  18178. * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
  18179. 2002-05-01 David Edelsohn <edelsohn@gnu.org>
  18180. * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
  18181. (nabs_nopower): Same.
  18182. (floatdisf2): New pattern.
  18183. (absdi2): Convert to define_insn_and_split.
  18184. (nabsdi2): Same.
  18185. (trunctfsf2): Same.
  18186. (floatditf2): Same.
  18187. (floatsitf2): Same.
  18188. (fix_trunctfdi2): Same.
  18189. (fix_trunctfsi2): Same.
  18190. 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
  18191. * doc/install.texi: Update Texinfo version requirement
  18192. documentation.
  18193. 2002-05-01 Jakub Jelinek <jakub@redhat.com>
  18194. PR target/6512, PR target/5628
  18195. * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
  18196. when memory is not aligned.
  18197. (movdf_insn_v9only_vis): Likewise.
  18198. * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
  18199. temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
  18200. (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
  18201. 2002-05-01 Aldy Hernandez <aldyh@redhat.com>
  18202. * gcc.dg/altivec-7.c: New.
  18203. * config/rs6000/altivec.h: Cleanup.
  18204. 2002-04-30 Aldy Hernandez <aldyh@redhat.com>
  18205. * doc/invoke.texi (Option Summary): Add -mvrsave=.
  18206. (RS/6000 and PowerPC Options): Document -mvrsave=.
  18207. * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
  18208. (rs6000_altivec_vrsave_string): Same.
  18209. (rs6000_override_options): Call rs6000_parse_vrsave_option.
  18210. (rs6000_parse_vrsave_option): New.
  18211. (rs6000_stack_info): Only generate vrsave instructions when
  18212. TARGET_ALTIVEC_VRSAVE.
  18213. * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
  18214. (rs6000_altivec_vrsave_string): Define extern.
  18215. (rs6000_altivec_vrsave): Same.
  18216. (TARGET_ALTIVEC_VRSAVE): New.
  18217. 2002-04-30 Richard Henderson <rth@redhat.com>
  18218. PR opt/6516
  18219. * toplev.c (rest_of_compilation): Don't run cross-jump before
  18220. bb-reorder.
  18221. 2002-04-30 Tom Rix <trix@redhat.com>
  18222. * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
  18223. check which_alternative.
  18224. 2002-04-30 Kazu Hirata <kazu@hxi.com>
  18225. * cpplex.c: Fix comment formatting.
  18226. * function.c: Likewise.
  18227. * integrate.c: Likewise.
  18228. * regrename.c: Likewise.
  18229. * sibcall.c: Likewise.
  18230. * simplify-rtx.c: Likewise.
  18231. * tree-inline.c: Likewise.
  18232. 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
  18233. * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
  18234. hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
  18235. hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
  18236. hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
  18237. * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
  18238. * pa/x-ada: New file. Define ADA_CFLAGS.
  18239. 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
  18240. * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
  18241. from MMIX_LAST_REGISTER_FILE_REGNUM.
  18242. (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
  18243. (struct machine_function): New member highest_saved_stack_register
  18244. previously static variable in mmix.c.
  18245. (MACHINE_DEPENDENT_REORG): Define.
  18246. * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
  18247. (MMIX_OUTPUT_REGNO): New.
  18248. (mmix_target_asm_function_prologue): Move calculation of last used
  18249. saved-stack-register into...
  18250. (mmix_machine_dependent_reorg): New function. Update to also handle
  18251. !TARGET_ABI_GNU.
  18252. (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
  18253. register names, simplify somewhat by new variable regno.
  18254. <case 'p'>: Remove fixed FIXME. Always emit highest used saved
  18255. register.
  18256. (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
  18257. emitting register names.
  18258. (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
  18259. (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
  18260. Remove fixed FIXME.
  18261. * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
  18262. Declare.
  18263. * config/mmix/mmix.md ("divmoddi4"): Update head comment.
  18264. 2002-04-30 Richard Henderson <rth@redhat.com>
  18265. * config/sparc/sparc.c (emit_soft_tfmode_libcall,
  18266. emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
  18267. emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
  18268. emit_tfmode_cvt): New.
  18269. * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
  18270. trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
  18271. fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
  18272. addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
  18273. * config/sparc/sparc-protos.h: Update.
  18274. 2002-04-30 Janis Johnson <janis187@us.ibm.com>
  18275. * install.texi (Final install): Add to the list of info to include
  18276. in a report of a successful bootstrap, and add link to 3.1 list.
  18277. Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
  18278. * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
  18279. (mode): Add vector modes
  18280. (i387): Kill attribute.
  18281. (unit): New attribute.
  18282. (length_immediate): Grok new types.
  18283. (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
  18284. (modrm): Use "unit".
  18285. (memory): Handle MMX/SSE properly.
  18286. (scheduling descriptions): Kill uses of fop1.
  18287. (sse, mmx, fp patterns): Set type and mode properly.
  18288. Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@redhat.com)
  18289. * pa.c (override_options): Default to PA8000 scheduling.
  18290. * doc/invoke.texi (HP-PA options): Mention newly added 7300
  18291. scheduling parameter.
  18292. * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
  18293. handling of double precision multiplies.
  18294. * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
  18295. fpdiv and fpsqrt instructions.
  18296. (7200 & 7300 scheduling): Fix typo in handling of
  18297. store-load and store-store penalties.
  18298. 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  18299. * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
  18300. mips. Add two missing commas.
  18301. 2002-04-30 Paolo Carlini <pcarlini@unitus.it>
  18302. * doc/contrib.texi (Contributors): Update Paolo Carlini's
  18303. and Benjamin Kosnik's entries.
  18304. 2002-04-29 David S. Miller <davem@redhat.com>
  18305. * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
  18306. SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
  18307. * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
  18308. * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
  18309. 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  18310. * combine.c (find_split_point): Use gen_int_mode.
  18311. 2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
  18312. Merging code from dfa-branch:
  18313. 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
  18314. * genautomata.c (output_reserv_sets): Fix typo.
  18315. 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
  18316. * genautomata.c (output_reserv_sets): Remove
  18317. next_cycle_output_flag.
  18318. Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
  18319. * sched-rgn.c (init_ready_list): Make the DFA code handle
  18320. USE/CLOBBER insns in the same way as the traditional
  18321. scheduler.
  18322. (new_ready): Similarly..
  18323. 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
  18324. * haifa-sched.c (schedule_block): Change the DFA state only after
  18325. issuing insn.
  18326. Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
  18327. * pa.c (hppa_use_dfa_pipeline_interface): New function.
  18328. (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
  18329. (override_options): Add PA7300 scheduling support.
  18330. (pa_adjust_cost): Update various comments. Properly
  18331. handle anti and output dependencies when using the
  18332. DFA scheduler.
  18333. (pa_issue_rate): Add PA7300 scheduling support.
  18334. (pa_can_combine_p): Call extract_insn before calling
  18335. constrain_operands (taken from mainline tree).
  18336. * pa.h (enum processor_type): Add PROCESSOR_PA7300.
  18337. * pa.md (cpu attr): Add 7300. Rewrite pipeline
  18338. descriptions using DFA descriptions. Add PA7300
  18339. scheduling support.
  18340. 2002-03-30 David S. Miller <davem@redhat.com>
  18341. Add UltraSPARC-III DFA scheduling support.
  18342. * config/sparc/sparc.md (define_attr type): Add fpcrmove.
  18343. Update FP conditional move on register insn patterns to use it, as
  18344. appropriate.
  18345. (define_attr cpu): Add ultrasparc3.
  18346. (define_attr us3load_type): New, update integer load patterns to
  18347. set it, as appropriate.
  18348. (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
  18349. (rest): Add UltraSPARC3 scheduling description.
  18350. * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
  18351. (PROCESSOR_ULTRASPARC3): New.
  18352. ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
  18353. ({ASM,CPP}_CPU_SPEC): Likewise.
  18354. (REGISTER_MOVE_COST): Likewise.
  18355. (RTX_COSTS): Likewise.
  18356. * config/sparc/sparc.c (sparc_override_options,
  18357. sparc_initialize_trampoline, sparc64_initialize_trampoline,
  18358. sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
  18359. sparc_issue_rate): Likewise.
  18360. * config/sparc/sol2.h: Likewise.
  18361. * config/sparc/sol2-sld-64.h: Likewise.
  18362. * config/sparc/linux64.h: Likewise.
  18363. 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
  18364. * doc/md.texi: Add comments about usage the latency time for the
  18365. different dependencies and about case when two or more conditions
  18366. in different define_insn_reservations returns TRUE for an insn.
  18367. * doc/md.texi: Add reference for automaton based pipeline
  18368. description.
  18369. 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
  18370. * doc/passes.texi: Add missed information about genattrtab.
  18371. 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
  18372. * genautomata.c (output_automata_list_transition_code): Check
  18373. automata_list on NULL.
  18374. 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
  18375. * genautomata.c (output_insn_code_cases,
  18376. output_automata_list_min_issue_delay_code,
  18377. output_automata_list_transition_code,
  18378. output_automata_list_state_alts_code): Comment the functions.
  18379. 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
  18380. * genautomata.c (automata_list_el_t): New typedef.
  18381. (get_free_automata_list_el,free_automata_list_el,
  18382. free_automata_list, automata_list_hash, automata_list_eq_p,
  18383. initiate_automata_lists, automata_list_start, automata_list_add,
  18384. automata_list_finish, finish_automata_lists,
  18385. output_insn_code_cases, output_automata_list_min_issue_delay_code,
  18386. output_automata_list_transition_code,
  18387. output_automata_list_state_alts_code, add_automaton_state,
  18388. form_important_insn_automata_lists): New functions and prototypes.
  18389. (insn_reserv_decl): Add members important_automata_list and
  18390. processed_p.
  18391. (ainsn): Add members important_p.
  18392. (automata_list_el): New structure.
  18393. (first_free_automata_list_el, current_automata_list,
  18394. automata_list_table): New global variables.
  18395. (create_ainsns): Initiate member important_p.
  18396. (output_internal_min_issue_delay_func): Generate the switch and
  18397. call output_insn_code_cases.
  18398. (output_internal_trans_func, output_internal_state_alts_func):
  18399. Ditto.
  18400. (generate): Call initiate_automata_lists.
  18401. (automaton_states): New global variable.
  18402. (expand_automata): Call form_important_insn_automata_lists.
  18403. (write_automata): Call finish_automata_lists.
  18404. 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
  18405. * genautomata.c (add_excls, add_presence_absence): Check that
  18406. cpu units in the sets belong the same automaton.
  18407. * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
  18408. about that cpu units in the sets belong the same automaton.
  18409. * doc/md.texi: Ditto.
  18410. 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
  18411. Nitin Gupta <niting@noida.hcltech.com>
  18412. * config/sh/sh.c (sh_use_dfa_interface): New function.
  18413. (sh_issue_rate): New Function.
  18414. TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
  18415. TARGET_SCHED_ISSUE_RATE: define.
  18416. * config/sh/sh.md: Add DFA based pipeline description for SH4.
  18417. (define_attr insn_class): New attribute used for DFA
  18418. scheduling.
  18419. (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
  18420. (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
  18421. cmpeqdi_t): Likewise.
  18422. (add,addc1,addsi3,subc,subc1,*subsi3_internal,
  18423. negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
  18424. ex_group.
  18425. (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
  18426. 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
  18427. * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
  18428. break.
  18429. 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
  18430. * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
  18431. (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
  18432. necessary.
  18433. (output_dfa_start_func): Initiate new variable insn_codes_length,
  18434. (write_automata): Output definition of the new variable.
  18435. 2001-10-02 David S. Miller <davem@redhat.com>
  18436. * haifa-sched.c (advance_one_cycle): New function.
  18437. (schedule_block): Use it.
  18438. (queue_to_ready): Use it, and also make sure to advance the DFA
  18439. state on all stall cycles, not just those where insn_queue links
  18440. are found.
  18441. 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
  18442. * haifa-sched.c (max_issue): Remove last_p argument. Only return
  18443. nonzero if the highest-priority instruction could be scheduled.
  18444. (choose_ready): Remove last argument from max_issue call.
  18445. 2001-09-28 David S. Miller <davem@redhat.com>
  18446. * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
  18447. ultrasparc and 3 for other multi-issue sparcs.
  18448. 2001-09-27 David S. Miller <davem@redhat.com>
  18449. * config/sparc/sparc.md (cycle_display): New pattern.
  18450. * config/sparc/sparc.c (sparc_cycle_display): New.
  18451. (TARGET_SCHED_CYCLE_DISPLAY): Set it.
  18452. 2001-09-25 David S. Miller <davem@redhat.com>
  18453. Convert all of SPARC scheduling to DFA
  18454. * config/sparc/sparc.md: Kill all define_function_unit
  18455. directives and replace with DFA equivalent.
  18456. * config/sparc/sparc.c (ultrasparc_adjust_cost,
  18457. mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
  18458. ultra_fpmode_conflict_exists, ultra_find_type,
  18459. ultra_build_types_avail, ultra_flush_pipeline,
  18460. ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
  18461. ultrasparc_variable_issue, ultrasparc_sched_init,
  18462. sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
  18463. ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
  18464. ultra_cur_hist, ultra_cycles_elapsed): Kill.
  18465. (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
  18466. ultrasparc_store_bypass_p): New.
  18467. * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
  18468. Declare.
  18469. 2001-09-24 David S. Miller <davem@redhat.com>
  18470. * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
  18471. ready->vec[foo] not ready[foo].
  18472. 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
  18473. * doc/md.texi: Correct examples for define_insn_reservations
  18474. `mult' and `div'.
  18475. 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
  18476. * genautomata.c (create_automata): Print message about creation of
  18477. each automaton.
  18478. (generate): Remove printing meease about creation of
  18479. automata.
  18480. 2001-09-05 David S. Miller <davem@redhat.com>
  18481. * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
  18482. * config/sparc/linux64.h: Likewise.
  18483. 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
  18484. * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
  18485. schedule_block, sched_init, sched_finish): Add missed calls of
  18486. use_dfa_pipeline_interface.
  18487. * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
  18488. Ditto.
  18489. * sched-vis.c (get_visual_tbl_length): Ditto.
  18490. 2001-08-27 Richard Henderson <rth@redhat.com>
  18491. * genattr.c (main): Emit state_t even when not doing scheduling.
  18492. 2001-08-27 Richard Henderson <rth@redhat.com>
  18493. * genautomata.c (expand_automata): Always create a description.
  18494. 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
  18495. * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
  18496. PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
  18497. AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
  18498. RTL constructions.
  18499. * genattr.c (main): New variable num_insn_reservations. Increase
  18500. it if there is DEFINE_INSN_RESERVATION. Output automaton based
  18501. pipeline hazard recognizer interface.
  18502. * genattrtab.h: New file.
  18503. * genattrtab.c: Include genattrtab.h.
  18504. (attr_printf, check_attr_test, make_internal_attr,
  18505. make_numeric_value): Move protypes into genattrtab.h. Define them
  18506. as external.
  18507. (num_dfa_decls): New global variable.
  18508. (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
  18509. DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
  18510. DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
  18511. DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
  18512. * genautomata.c: New file.
  18513. * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
  18514. * sched-int.h: (curr_state): Add the external definition for
  18515. automaton pipeline interface.
  18516. (haifa_insn_data): Add comments for members blockage and units.
  18517. * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
  18518. TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
  18519. TARGET_SCHED_DFA_PRE_CYCLE_INSN,
  18520. TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
  18521. TARGET_SCHED_DFA_POST_CYCLE_INSN,
  18522. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
  18523. TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
  18524. macros.
  18525. (TARGET_SCHED): Use the new macros.
  18526. * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
  18527. dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
  18528. first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
  18529. dfa_bubble): New members in gcc_target.sched.
  18530. * haifa-sched.c (insert_schedule_bubbles_p): New variable.
  18531. (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
  18532. (insn_queue): Redefine it as pointer to array.
  18533. (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
  18534. INSN_QUEUE_SIZE.
  18535. (max_insn_queue_index_macro_value): New variable.
  18536. (curr_state, dfa_state_size, ready_try): New varaibles for
  18537. automaton interface.
  18538. (ready_element, ready_remove, max_issue): New function prototypes
  18539. for automaton interface.
  18540. (choose_ready): New function prototype.
  18541. (insn_unit, blockage_range): Add comments.
  18542. (unit_last_insn, unit_tick, unit_n_insns): Define them for case
  18543. FUNCTION_UNITS_SIZE == 0.
  18544. (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
  18545. actual_hazard, potential_hazard): Add comments.
  18546. (insn_cost): Use cost -1 as undefined value. Remove
  18547. LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
  18548. pipeline interface.
  18549. (ready_element, ready_remove): New functions for automaton
  18550. interface.
  18551. (schedule_insn): Add new code for automaton pipeline interface.
  18552. (queue_to_ready): Add new code for automaton pipeline interface.
  18553. Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
  18554. (debug_ready_list): Print newline when the queue is empty.
  18555. (max_issue): New function for automaton pipeline interface.
  18556. (choose_ready): New function.
  18557. (schedule_block): Add new code for automaton pipeline interface.
  18558. Print ready list before scheduling each insn.
  18559. (sched_init): Add new code for automaton pipeline interface.
  18560. Initiate insn cost by -1.
  18561. (sched_finish): Free the current automaton state and finalize
  18562. automaton pipeline interface.
  18563. * sched-rgn.c: Include target.h.
  18564. (init_ready_list, new_ready, debug_dependencies): Add new code for
  18565. automaton pipeline interface.
  18566. * sched-vis.c: Include target.h.
  18567. (get_visual_tbl_length): Add code for automaton interface.
  18568. (target_units, print_block_visualization): Add comments.
  18569. * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
  18570. USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
  18571. (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
  18572. (getruntime.o, genautomata.o): New entries.
  18573. (genattrtab.o): Add new dependency file genattrtab.h.
  18574. (genattrtab): Add new dependencies. Link it with `libm.a'.
  18575. (getruntime.o, hashtab.o): New entries for canadian cross.
  18576. * doc/md.texi: Description of automaton based model.
  18577. * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
  18578. Add comments.
  18579. (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
  18580. TARGET_SCHED_DFA_PRE_CYCLE_INSN,
  18581. TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
  18582. TARGET_SCHED_DFA_POST_CYCLE_INSN,
  18583. TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
  18584. TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
  18585. TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
  18586. hook descriptions.
  18587. (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
  18588. MAX_DFA_ISSUE_RATE): New macro descriptions.
  18589. * doc/contrib.texi: Add dfa based scheduler contribution.
  18590. * doc/gcc.texi: Add more information about genattrtab.
  18591. Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  18592. * reload1.c (eliminate_regs, case SUBREG): Fix typo in
  18593. adjust_address_nv call.
  18594. 2002-04-29 Janis Johnson <janis187@us.ibm.com>
  18595. * doc/install.texi (Testing): Provide additional information, and
  18596. a stronger encouragement, for running the testsuites.
  18597. 2002-04-29 DJ Delorie <dj@redhat.com>
  18598. * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
  18599. given in upper case.
  18600. 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  18601. * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
  18602. Solaris 2 <widec.h> if missing.
  18603. * fixinc/fixincl.x: Regenerate.
  18604. * fixinc/tests/base/widec.h: New file.
  18605. 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
  18606. * toplev.c (f_options): Add "profile" switch so that
  18607. -fno-profile can be used to disable -p.
  18608. 2002-04-29 Bernd Schmidt <bernds@redhat.com>
  18609. * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
  18610. UV2DImode.
  18611. * tree.c (build_common_tree_nodes_2): Likewise.
  18612. * tree.h (enum tree_index): Likewise.
  18613. (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
  18614. * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
  18615. entries.
  18616. (init_mmx_sse_builtins): Initialize SSE2 builtins.
  18617. (ix86_expand_builtin): Add support for SSE2 builtins.
  18618. * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
  18619. (VALID_SSE_REG_MODE): Use it.
  18620. (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
  18621. (enum ix86_builtins): Add SSE2 builtins.
  18622. * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
  18623. movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
  18624. addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
  18625. divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
  18626. sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
  18627. vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
  18628. vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
  18629. sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
  18630. cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
  18631. cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
  18632. cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
  18633. ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
  18634. subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
  18635. mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
  18636. sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
  18637. sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
  18638. sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
  18639. gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
  18640. ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
  18641. ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
  18642. sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
  18643. sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
  18644. sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
  18645. sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
  18646. sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
  18647. sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
  18648. lfence_insn): New patterns.
  18649. (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
  18650. sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
  18651. Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
  18652. * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
  18653. 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  18654. * doc/contrib.texi (Contributors): Add Paolo Carlini and
  18655. Janis Johnson.
  18656. Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
  18657. Refer to Objective-C instead of ObjC, SPARC instead of sparc,
  18658. and CPU instead of cpu.
  18659. Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
  18660. * toplev.c (flag_if_conversion, flag_if_conversion2): New static
  18661. variables.
  18662. (lang_independent_options): Add -fif-conversion, -fif-conversion2
  18663. (rest_of_compilation): Do if conversion only when asked for.
  18664. (parse_options_and_default_flags): Set new variables to 1 for -O1
  18665. * invoke.texi (-fif-conversion, -fif-conversion2): Document.
  18666. Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
  18667. * i386.c (dbx64_register_map): Fix typo.
  18668. Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
  18669. * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
  18670. real_one_half, real_bb_freq_max): New static variables.
  18671. (debug_profile_bbauxs): Kill.
  18672. (process_note_predictions): Kill unused variable.
  18673. (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
  18674. volatile double.
  18675. (propagate_freq): Use REAL_ARITHMETICS.
  18676. (estimate_bb_frequencies): Likevise; init new static variables.
  18677. * Makefile.in (predict.o): Add dependency on real.h
  18678. 2002-04-28 David S. Miller <davem@redhat.com>
  18679. PR target/6500
  18680. * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
  18681. 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
  18682. several {reads,writes} instead.
  18683. * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
  18684. Define.
  18685. 2002-04-27 David S. Miller <davem@redhat.com>
  18686. PR target/6494
  18687. * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
  18688. of the stack bias.
  18689. * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
  18690. including signal.h and sys/ucontext.h, not needed.
  18691. 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
  18692. * varasm.c (output_constant_def): Correct test for not calling
  18693. ENCODE_SECTION_INFO for INTEGER_CST.
  18694. 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
  18695. * cppexp.c (lex): Move some code to _cpp_parse_expr, but
  18696. keep most cases as function eval_token.
  18697. (eval_token): New function.
  18698. (_cpp_parse_expr): Read token here for improved diagnostics.
  18699. Don't use op_as_text. Detect bad ':' here.
  18700. (reduce): Don't detect bad ':' here.
  18701. (op_as_text): Remove.
  18702. * cpphash.h (_cpp_test_assertion): Change prototype.
  18703. * cpplib.c (_cpp_test_assertion): Change prototype.
  18704. 2002-04-28 Richard Henderson <rth@redhat.com>
  18705. PR c/5154
  18706. * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
  18707. (ggc_mark_rtx_children): New.
  18708. 2002-04-28 Jakub Jelinek <jakub@redhat.com>
  18709. PR target/6496
  18710. * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
  18711. after call peepholes for UltraSPARC.
  18712. (call + jump 64-bit peepholes): Remove.
  18713. 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  18714. PR c/6497
  18715. * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
  18716. result as temporary value.
  18717. 2002-04-28 Jakub Jelinek <jakub@redhat.com>
  18718. PR c++/6396
  18719. * toplev.c (rest_of_compilation): Only run regrename and copy
  18720. propagation if optimizing.
  18721. 2002-04-28 Jakub Jelinek <jakub@redhat.com>
  18722. PR optimization/6475
  18723. * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
  18724. register of REGNO_DECL (i).
  18725. * Makefile.in (reload1.o): Add $(TREE_H).
  18726. 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
  18727. * cppexp.c (lex): Update to use state.skip_eval.
  18728. (struct op): Remove prio and flags members.
  18729. (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
  18730. SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
  18731. (LEFT_ASSOC): New macro.
  18732. (optab): New table of operator priorities and flags.
  18733. (SHIFT): Update.
  18734. (_cpp_parse_expr): Clean up logic. Return bool. Use a
  18735. malloc-ed parser stack.
  18736. (reduce): New; reduce the operator stack.
  18737. (_cpp_expand_op_stack): Expand the operator stack as necessary.
  18738. * cpphash.h (struct op): Predeclare.
  18739. (struct cpp_reader): New members op_stack, op_limit.
  18740. (struct lexer_state): New member skip_eval.
  18741. (_cpp_parse_expr): Update.
  18742. (_cpp_expand_op_stack): New.
  18743. * cpplib.c (do_if): Update.
  18744. * cppinit.c (cpp_create_reader): Create op stack.
  18745. (cpp_destroy): And destroy it.
  18746. * cpplib.h (CPP_LAST_CPP_OP): Correct.
  18747. (TTYPE_TABLE): Correct.
  18748. 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  18749. PR c/6343
  18750. * c-decl.c (duplicate_decls): Call merge_weak.
  18751. * c-pragma.c (apply_pragma_weak): Warn about misuse.
  18752. * output.h (merge_weak): Prototype merge_weak.
  18753. * varasm.c (merge_weak): New function.
  18754. (declare_weak): Make sure we don't give an error on VAR_DECLs.
  18755. Mark RTL with SYMBOL_REF_WEAK.
  18756. 2002-04-27 Kurt Garloff <garloff@suse.de>
  18757. * tree-inline.c (inlinable_function_p): Improve heuristics
  18758. by using a smoother function to cut down allowable inlinable size.
  18759. * param.def: Add parameters max-inline-insns-single,
  18760. max-inline-slope, min-inline-insns that determine the exact
  18761. shape of the above function.
  18762. * param.h: Likewise.
  18763. 2002-04-26 Richard Henderson <rth@redhat.com>
  18764. * c-parse.in (malloced_yyss, malloced_yyvs): New.
  18765. (yyoverflow): Re-add. Set them.
  18766. (free_parser_stacks): New.
  18767. * c-common.h: Declare it.
  18768. * c-lex.c (c_common_parse_file): Call it.
  18769. 2002-04-26 Richard Henderson <rth@redhat.com>
  18770. * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
  18771. for fallthru search.
  18772. 2002-04-26 Eric Christopher <echristo@redhat.com>
  18773. PR optimization/3700
  18774. * config/mips/mips.c (mips_issue_rate): Define. New function.
  18775. (TARGET_SCHED_ISSUE_RATE): Use.
  18776. 2002-04-25 David S. Miller <davem@redhat.com>
  18777. PR target/6422
  18778. * reorg.c (optimize_skip): Do not allow exception causing
  18779. instructions to be considered for delay slots.
  18780. (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
  18781. (relax_delay_slots): Do not try to consider exception causing
  18782. instructions as redundant.
  18783. 2002-04-26 Richard Henderson <rth@redhat.com>
  18784. PR c/5225
  18785. * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
  18786. 2002-04-26 Mark Mitchell <mark@codesourcery.com>
  18787. PR bootstrap/6445
  18788. * config/i386/i386.md (untyped_call): Return the value in a float
  18789. register if TARGET_FLOAT_RETURNS_IN_80387, not just if
  18790. TARGET_80387.
  18791. 2002-04-26 Alexandre Oliva <aoliva@redhat.com>
  18792. * tree.c (tree_int_cst_lt): Compare constants whose types differ
  18793. in unsigned-ness correctly.
  18794. 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
  18795. * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
  18796. portable runtime model.
  18797. 2002-04-26 Richard Henderson <rth@redhat.com>
  18798. * c-parse.in (yyoverflow): Revert.
  18799. 2002-04-26 David Edelsohn <edelsohn@gnu.org>
  18800. Richard Henderson <rth@redhat.com>
  18801. * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
  18802. result as temporary value.
  18803. 2002-04-26 Richard Henderson <rth@redhat.com>
  18804. PR c/3581
  18805. * c-common.c (fix_string_type): Split out of ...
  18806. (combine_strings): ... here. Take a varray, not a tree list.
  18807. (c_expand_builtin_printf): Use fix_string_type.
  18808. * c-common.h: Update decls.
  18809. * c-parse.in (string): Remove. Update all uses to use STRING
  18810. instead, and not call combine_strings.
  18811. (yylexstring): New.
  18812. (_yylex): Use it.
  18813. * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
  18814. (build_asm_stmt): Likewise.
  18815. * objc/objc-act.c (my_build_string): Use fix_string_type.
  18816. (build_objc_string_object): Build varray for combine_strings.
  18817. 2002-04-26 Bo Thorsen <bo@suse.co.uk>
  18818. * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
  18819. x86-64.
  18820. 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
  18821. * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
  18822. (HAVE_NO_R_OPERAND): Remove.
  18823. (HAVE_VALUE): Remove.
  18824. (op_to_prio): Update.
  18825. (UNARY): Don't alter flags.
  18826. (_cpp_parse_expr): want_value used to indicate whether
  18827. a number or unary operator is expected next. Distinguish
  18828. unary and binary +/-.
  18829. (op_as_text): Update for unary operators.
  18830. 2002-04-25 Richard Henderson <rth@redhat.com>
  18831. PR c/2161
  18832. * c-parse.in (yyoverflow): New.
  18833. 2002-04-25 Richard Henderson <rth@redhat.com>
  18834. PR c/2098
  18835. * c-common.c (shorten_compare): Simplfy conditions leading to
  18836. the generation of a warning.
  18837. 2002-04-25 Richard Henderson <rth@redhat.com>
  18838. PR c/2035
  18839. * expmed.c (extract_bit_field): Fall through to generic code rather
  18840. than aborting on subreg special case.
  18841. 2002-04-25 David S. Miller <davem@redhat.com>
  18842. * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
  18843. for DECL being NULL.
  18844. 2002-04-25 Steve Christiansen <smc@us.ibm.com>
  18845. * doc/md.texi (Machine Constraints): Add IA-64 constraints.
  18846. 2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
  18847. * c-decl.c (grokdeclarator): Remove outdated ??? note
  18848. on invalid declaration of flexible array members.
  18849. 2002-04-25 Richard Henderson <rth@redhat.com>
  18850. * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
  18851. 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
  18852. * config/s390/s390.c (s390_emit_epilogue): Always restore registers
  18853. needed by the compiler, even if they are used as global regs.
  18854. 2002-04-25 Matt Hiller <hiller@redhat.com>
  18855. * mips.c (mips_class_max_nregs, mips_register_move_cost): New
  18856. functions.
  18857. * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
  18858. of the corresponding functions.
  18859. * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
  18860. New prototypes.
  18861. 2002-04-25 Matt Hiller <hiller@redhat.com>
  18862. * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
  18863. (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
  18864. (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
  18865. registers, adjust comment accordingly.
  18866. (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
  18867. reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
  18868. DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
  18869. for coprocessor registers.
  18870. (ADDITIONAL_REGISTER_NAMES): Include
  18871. ALL_COP_ADDITIONAL_REGISTER_NAMES.
  18872. (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
  18873. COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
  18874. COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
  18875. COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
  18876. COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
  18877. (mips_char_to_class): Adjust comment to include coprocessor
  18878. constraint letters.
  18879. * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
  18880. New functions.
  18881. (mips_reg_names, mips_regno_to_class): Include coprocessor
  18882. information.
  18883. (mips_sw_reg_names): Ditto, make non-static.
  18884. (mips_move_1word): Handle moves to and from coprocessor registers.
  18885. (mips_move_2words): Handle moves to and from coprocessor
  18886. registers.
  18887. (mips_class_max_nregs, mips_register_move_cost): Handle
  18888. coprocessor register classes.
  18889. (override_options): Initialize mips_char_to_class and
  18890. mips_hard_regno_mode_ok properly for coprocessor registers.
  18891. * config/mips/mips.md (movdi_internal, movdi_internal2,
  18892. movsi_internal1, movsi_internal2): Add constraint-sets for
  18893. coprocessor registers.
  18894. * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
  18895. * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
  18896. isn't mips.
  18897. * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
  18898. * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
  18899. isn't mips.
  18900. * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
  18901. * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
  18902. isn't mips.
  18903. * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
  18904. * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
  18905. isn't mips.
  18906. * doc/tm.texi: Document feature.
  18907. 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
  18908. * integrate.c (function_attribute_inlinable_p): Simplify.
  18909. Check the table pointer is not NULL.
  18910. 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
  18911. * doc/c-tree.texi: Fix typo in introduction.
  18912. 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
  18913. * c-common.h (c_common_parse_file): Update.
  18914. * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
  18915. * c-lex.c (YYDEBUG): Get from c-lex.h.
  18916. (c_common_parse_file): Update.
  18917. * c-lex.h (YYDEBUG, yydebug): New.
  18918. * c-parse.in (YYDEBUG): Get from c-lex.h.
  18919. (c_set_yydebug): Remove.
  18920. * c-tree.h (c_set_yydebug): Remove.
  18921. * langhooks-def.h (lhd_do_nothing_i): New.
  18922. (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
  18923. (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
  18924. * langhooks.c (lhd_do_nothing_i): New.
  18925. (lhd_set_yydebug): Remove.
  18926. * langhooks.h (struct lang_hooks): Update.
  18927. * toplev.c (set_yydebug): New.
  18928. (compile_file): Update call to parse_file hook.
  18929. (decode_d_option): Update.
  18930. objc:
  18931. * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
  18932. Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
  18933. * loop.c (load_mems): Don't change the interface of called functions.
  18934. * calls.c (expand_call): Take current_function_pretend_args_size
  18935. into account when setting argblock for sibcalls.
  18936. 2002-04-24 Matt Hiller <hiller@redhat.com>
  18937. * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
  18938. * c-lex.c: Ditto.
  18939. * cpplex.c (skip_line_comment): Process comment one multibyte
  18940. character at a time rather than one char at a time, if
  18941. appropriate.
  18942. (parse_string): Process string one multibyte character at a time
  18943. rather than one char at a time, if appropriate.
  18944. * c-lex.c (lex_string): Lex and copy multibyte strings
  18945. appropriately.
  18946. * cpplib.h (cppchar_t): Change to unsigned.
  18947. 2002-04-24 Richard Henderson <rth@redhat.com>
  18948. PR c/3467
  18949. * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
  18950. for c99.
  18951. Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
  18952. * sh.c (sh_va_arg): If argument was passed by reference,
  18953. dereference the pointer.
  18954. * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
  18955. * sh.md (divsi3_i4_media): Use match_operand for input values
  18956. rather than hard registers.
  18957. (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
  18958. unnecessarily through hard registers. Keep copies of pseudo
  18959. registers outside of the libcall sequence.
  18960. * sh.md (casesi_shift_media): Add modes.
  18961. * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
  18962. values in memory.
  18963. 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
  18964. * attribs.c (c_common_attribute_table): Move table and handlers
  18965. to c-common.c.
  18966. (format_attribute_table, lang_attribute_table,
  18967. lang_attribute_common): Remove.
  18968. (init_attributes): Replace NULL pointers with pointers to the
  18969. empty table.
  18970. (handle_packed_attribute, handle_nocommon_attribute,
  18971. handle_common_attribute, handle_noreturn_attribute,
  18972. handle_noinline_attribute, handle_always_inline_attribute,
  18973. handle_used_attribute, handle_unused_attribute,
  18974. handle_const_attribute, handle_transparent_union_attribute,
  18975. handle_constructor_attribute, handle_destructor_attribute,
  18976. handle_mode_attribute, handle_section_attribute,
  18977. handle_aligned_attribute, handle_weak_attribute,
  18978. handle_alias_attribute, handle_visibility_attribute,
  18979. handle_no_instrument_function_attribute, handle_malloc_attribute,
  18980. handle_no_limit_stack_attribute, handle_pure_attribute,
  18981. handle_deprecated_attribute, handle_vector_size_attribute,
  18982. vector_size_helper): Move to c-common.c.
  18983. * c-common.c (c_common_attribute_table,
  18984. handle_packed_attribute, handle_nocommon_attribute,
  18985. handle_common_attribute, handle_noreturn_attribute,
  18986. handle_noinline_attribute, handle_always_inline_attribute,
  18987. handle_used_attribute, handle_unused_attribute,
  18988. handle_const_attribute, handle_transparent_union_attribute,
  18989. handle_constructor_attribute, handle_destructor_attribute,
  18990. handle_mode_attribute, handle_section_attribute,
  18991. handle_aligned_attribute, handle_weak_attribute,
  18992. handle_alias_attribute, handle_visibility_attribute,
  18993. handle_no_instrument_function_attribute, handle_malloc_attribute,
  18994. handle_no_limit_stack_attribute, handle_pure_attribute,
  18995. handle_deprecated_attribute, handle_vector_size_attribute,
  18996. vector_size_helper): Move from attribs.c.
  18997. * c-common.h (c_common_attribute_table,
  18998. c_common_format_attribute_table): New.
  18999. * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
  19000. LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
  19001. * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
  19002. LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
  19003. (LANG_HOOKS_INITIALIZER): Update.
  19004. * langhooks.h (struct lang_hooks): 3 new attribute hooks.
  19005. * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
  19006. * target.h: Update comment.
  19007. * tree.c (default_target_attribute_table): Remove.
  19008. * tree.h (default_target_attribute_table, format_attribute_table,
  19009. lang_attribute_table, lang_attribute_common): Remove.
  19010. objc:
  19011. * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
  19012. LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
  19013. 2002-04-24 Jason Merrill <jason@redhat.com>
  19014. * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
  19015. * dwarf2out.c (dwarf_attr_name): Support it.
  19016. (gen_array_type_die): Emit it.
  19017. (lookup_type_die): No special handling for VECTOR_TYPE.
  19018. (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
  19019. 2002-04-24 Richard Henderson <rth@redhat.com>
  19020. * config/mips/mips.md (movdi_usd): Renumber.
  19021. 2002-04-24 David S. Miller <davem@redhat.com>
  19022. PR target/6420
  19023. * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
  19024. 32-bit SPARC and current_function_returns_struct is true.
  19025. Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
  19026. * loop.c (canonicalize_condition): Use gen_int_mode.
  19027. 2002-04-24 Aldy Hernandez <aldyh@redhat.com>
  19028. * config/rs6000/altivec.h: Cleanup file. Add non individual
  19029. variants.
  19030. (vec_vaddubm): New.
  19031. (vec_vadduhm): New.
  19032. (vec_vadduwm): New.
  19033. (vec_vaddfp): New.
  19034. (vec_vaddcuw): New.
  19035. (vec_vaddubs): New.
  19036. (vec_vaddsbs): New.
  19037. (vec_vadduhs): New.
  19038. (vec_vadduws): New.
  19039. (vec_vaddsws): New.
  19040. (vec_vand): New.
  19041. (vec_vandc): New.
  19042. (vec_vavgub): New.
  19043. (vec_vavgsb): New.
  19044. (vec_vavguh): New.
  19045. (vec_vavgsh): New.
  19046. (vec_vavguw): New.
  19047. (vec_vavgsw): New.
  19048. (vec_vrfip): New.
  19049. (vec_vcmpbfp): New.
  19050. (vec_vcmpequb): New.
  19051. (vec_vcmpequh): New.
  19052. (vec_vcmpequw): New.
  19053. (vec_vcmpeqfp): New.
  19054. (vec_vcmpgefp): New.
  19055. (vec_vcmpgtub): New.
  19056. (vec_vcmpgtsb): New.
  19057. (vec_vcmpgtuh): New.
  19058. (vec_vcmpgtsh): New.
  19059. (vec_vcmpgtuw): New.
  19060. (vec_vcmpgtsw): New.
  19061. (vec_vcmpgtfp): New.
  19062. (vec_vcmpgefp): New.
  19063. (vec_vcfux): New.
  19064. (vec_vcfsx): New.
  19065. (vec_vctsxs): New.
  19066. (vec_vctuxs): New.
  19067. (vec_vexptefp): New.
  19068. (vec_vrfim): New.
  19069. (vec_lvx): New.
  19070. (vec_lvebx): New.
  19071. (vec_lvehx): New.
  19072. (vec_lde): Add vector float variant.
  19073. (vec_lvewx): New.
  19074. (vec_lvxl): New.
  19075. (vec_vlogefp): New.
  19076. (vec_vmaddfp): New.
  19077. (vec_vmhaddshs): New.
  19078. (vec_vmaxub): New.
  19079. (vec_vmaxsb): New.
  19080. (vec_vmaxuh): New.
  19081. (vec_vmaxsh): New.
  19082. (vec_vmaxuw): New.
  19083. (vec_vmaxsw): New.
  19084. (vec_vmaxsw): New.
  19085. (vec_vmaxfp): New.
  19086. (vec_vmrghb): New.
  19087. (vec_vmrghh): New.
  19088. (vec_vmrghw): New.
  19089. (vec_vmrglb): New.
  19090. (vec_vmrglh): New.
  19091. (vec_vmrglw): New.
  19092. (vec_vminub): New.
  19093. (vec_vminsb): New.
  19094. (vec_vminuh): New.
  19095. (vec_vminsh): New.
  19096. (vec_vminuw): New.
  19097. (vec_vminsw): New.
  19098. (vec_vminfp): New.
  19099. (vec_vmladduhm): New.
  19100. (vec_vmhraddshs): New.
  19101. (vec_msumubm): New.
  19102. (vec_vmsummbm): New.
  19103. (vec_vmsumuhm): New.
  19104. (vec_vmsumshm): New.
  19105. (vec_vmsumuhs): New.
  19106. (vec_vmsumshs): New.
  19107. (vec_vmuleub): New.
  19108. (vec_vmulesb): New.
  19109. (vec_vmuleuh): New.
  19110. (vec_vmulesh): New.
  19111. (vec_vmuloub): New.
  19112. (vec_mulosb): New.
  19113. (vec_vmulouh): New.
  19114. (vec_vmulosh): New.
  19115. (vec_vnmsubfp): New.
  19116. (vec_vnor): New.
  19117. (vec_vor): New.
  19118. (vec_vpkuhum): New.
  19119. (vec_vpkuwum): New.
  19120. (vec_vpkpx): New.
  19121. (vec_vpkuhus): New.
  19122. (vec_vpkshss): New.
  19123. (vec_vpkuwus): New.
  19124. (vec_vpkswss): New.
  19125. (vec_vpkshus): New.
  19126. (vec_vpkswus): New.
  19127. (vec_vperm): New.
  19128. (vec_vrefp): New.
  19129. (vec_vrlb): New.
  19130. (vec_vrlh): New.
  19131. (vec_vrlw): New.
  19132. (vec_vrfin): New.
  19133. (vec_vrsqrtefp): New.
  19134. (vec_vsel): New.
  19135. (vec_vslb): New.
  19136. (vec_vslh): New.
  19137. (vec_vslw): New.
  19138. (vec_vsldoi): New.
  19139. (vec_vsl): New.
  19140. (vec_vslo): New.
  19141. (vec_vspltb): New.
  19142. (vec_vsplth): New.
  19143. (vec_vspltw): New.
  19144. (vec_vspltisb): New.
  19145. (vec_vspltish): New.
  19146. (vec_vspltisw): New.
  19147. (vec_vsrb): New.
  19148. (vec_vsrh): New.
  19149. (vec_vsrw): New.
  19150. (vec_vsrab): New.
  19151. (vec_vsrah): New.
  19152. (vec_vsraw): New.
  19153. (vec_vsr): New.
  19154. (vec_vsro): New.
  19155. (vec_stvx): New.
  19156. (vec_stvebx): New.
  19157. (vec_stvehx): New.
  19158. (vec_stvewx): New.
  19159. (vec_stvxl): New.
  19160. (vec_vsububm): New.
  19161. (vec_vsubuhm): New.
  19162. (vec_vsubuwm): New.
  19163. (vec_vsubfp): New.
  19164. (vec_vsubcuw): New.
  19165. (vec_vsububs): New.
  19166. (vec_vsubsbs): New.
  19167. (vec_vsubuhs): New.
  19168. (vec_vsubshs): New.
  19169. (vec_vsubuws): New.
  19170. (vec_vsubsws): New.
  19171. (vec_vsum4ubs): New.
  19172. (vec_vsum4sbs): New.
  19173. (vec_vsum4shs): New.
  19174. (vec_vsum2sws): New.
  19175. (vec_vsumsws): New.
  19176. (vec_vrfiz): New.
  19177. (vec_vupkhsb): New.
  19178. (vec_vupkhpx): New.
  19179. (vec_vupkhsh): New.
  19180. (vec_vupklsb): New.
  19181. (vec_vupklpx): New.
  19182. (vec_vupklsh): New.
  19183. (vec_vxor): New.
  19184. 2002-04-23 Eric Botcazou <ebotcazou@multimania.com>
  19185. PR c/5430
  19186. * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
  19187. added literals from substracted literals.
  19188. (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
  19189. (fold) [associate]: Preserve MINUS_EXPR if needed.
  19190. 2002-04-23 Zack Weinberg <zack@codesourcery.com>
  19191. * doc/install.texi: Clarify which versions of alpha*-dec-osf*
  19192. are obsoleted.
  19193. 2002-04-23 Tom Tromey <tromey@redhat.com>
  19194. * gcc.c: Added --resource. For PR java/6314.
  19195. 2002-04-23 David O'Brien <obrien@FreeBSD.org>
  19196. * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
  19197. * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
  19198. these libraries.
  19199. 2002-04-23 David O'Brien <obrien@FreeBSD.org>
  19200. * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
  19201. Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
  19202. * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
  19203. workaround.
  19204. (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
  19205. (ix86_expand_clrstr): Fix typo.
  19206. * loop.c (gen_load_of_final_value): New.
  19207. (loop_givs_rescan, strength_reduce, check_dbra_loop):
  19208. Use it.
  19209. 2002-04-23 Roger Sayle <roger@eyesopen.com>
  19210. * builtins.c (builtin_memset_gen_str): New function.
  19211. (expand_builtin_memset): Optimize the case of constant length, but
  19212. unknown value.
  19213. 2002-04-23 Aldy Hernandez <aldyh@redhat.com>
  19214. * config/rs6000/altivec.h (vec_step): Remove extraneous
  19215. parentheses.
  19216. (vec_ctu): Cast return.
  19217. 2002-04-23 Alan Modra <amodra@bigpond.net.au>
  19218. PR target/6413
  19219. * function.h: (struct function): Add profile_label_no field.
  19220. (current_function_profile_label_no): Define.
  19221. * function.c: (profile_label_no): New static var.
  19222. (expand_function_start): Increment it, and copy to
  19223. current_function_profile_label_no.
  19224. * output.h (profile_label_no): Delete.
  19225. * final.c (profile_label_no): Delete.
  19226. (profile_function): Use current_function_profile_label_no.
  19227. (final_end_function): Don't increment profile_label_no here.
  19228. * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
  19229. profile_label_no with current_function_profile_label_no.
  19230. * config/pa/pa.c (current_function_number): Delete.
  19231. (pa_output_function_prologue): Don't output profile label here.
  19232. (hppa_profile_hook): Use label_no param rather than
  19233. current_function_number.
  19234. (FUNC_BEGIN_PROLOG_LABEL): Move to ..
  19235. * config/pa/pa.h: .. here.
  19236. (FUNCTION_PROFILER): Output profile label here.
  19237. 2002-04-22 Eric Christopher <echristo@redhat.com>
  19238. * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
  19239. patch of 2002-04-09 due to binutils issues.
  19240. (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
  19241. 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
  19242. * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
  19243. constraint to 'o' for m=r and r=m alternatives.
  19244. ("*movv8hi_internal1"): Same.
  19245. ("*movv16qi_internal1"): Same.
  19246. ("*movv4sf_internal1"): Same.
  19247. 2002-04-22 Janis Johnson <janis187@us.ibm.com>
  19248. * rtl.h (RTX_FLAG): New macro.
  19249. * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
  19250. * final.c (alter_subreg): Use macro to access rtx flag.
  19251. * integrate.c (copy_rtx_and_substitute): Use new access macro.
  19252. * print-rtl.c (print_rtx): Use new access macro.
  19253. * cse.c (insert): Check rtx code before accessing flag.
  19254. * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
  19255. ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
  19256. (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
  19257. convert_const_symbol_ref, make_canonical, make_alternative_compare,
  19258. evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
  19259. simplify_test_exp, optimize_attrs, simplify_by_exploding,
  19260. find_and_mark_used_attributes, unmark_used_attributes,
  19261. add_values_to_cover, simplify_with_current_value,
  19262. simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
  19263. copy_rtx_unchanging, main): Use new access macros.
  19264. 2002-04-22 Tom Rix <trix@redhat.com>
  19265. * expmed.c (init_expmed): Generate shifted constant once.
  19266. 2002-04-22 Zack Weinberg <zack@codesourcery.com>
  19267. * c-lex.c (lex_charconst): Call convert to get constant in
  19268. proper type; don't just smash the type field.
  19269. Fixes PR c/6300.
  19270. * config.gcc: Add list of obsolete configurations. Disallow
  19271. building these without --enable-obsolete.
  19272. * doc/install.texi: Document --enable-obsolete and obsoletion
  19273. policy. Mention obsoletion of individual targets in
  19274. appropriate places.
  19275. 2002-04-22 Richard Henderson <rth@redhat.com>
  19276. * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
  19277. 2002-04-22 Mark Mitchell <mark@codesourcery.com>
  19278. PR f/6138.
  19279. * function.c (fixup_memory_subreg): Add promoted_mode parameter.
  19280. (walk_fixup_memory_subreg): Likewise.
  19281. (fixup_var_refs_insn): Adjust accordingly.
  19282. (fixup_var_refs_1): Likewise.
  19283. 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
  19284. * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
  19285. LIBPATH_ARCH64_SPEC): Define.
  19286. (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
  19287. (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
  19288. (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
  19289. (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
  19290. 2002-04-22 Joel Sherrill <joel@OARcorp.com>
  19291. * gthr-rtems.h: Correct prototypes to remove warnings.
  19292. 2002-04-22 Richard Henderson <rth@redhat.com>
  19293. PR c/6344
  19294. * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
  19295. * gcse.c (free_insn_expr_list_list): New.
  19296. (clear_modify_mem_tables): Use it. Fix bit set usage.
  19297. (canon_list_insert): Use EXPR_LISTs for expressions.
  19298. (record_last_mem_set_info): Factor BLOCK_NUM (insn).
  19299. 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
  19300. * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
  19301. file change and include code to _cpp_pop_buffer.
  19302. * cpphash.h (struct pending_option): Predeclare.
  19303. (struct cpp_reader): New member next_include_file.
  19304. (_cpp_pop_file_buffer): Update.
  19305. (_cpp_push_next_buffer): Update, rename.
  19306. * cppinit.c (cpp_destroy): Free include chain and pending here.
  19307. (cpp_finish_options): Simplify.
  19308. (_cpp_push_next_buffer): Rename and clean up.
  19309. * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
  19310. Clarify.
  19311. * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
  19312. 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
  19313. * config/rs6000/altivec.h (vec_xor): Add variant for both args
  19314. being vector signed int.
  19315. (vec_andc): Same.
  19316. (vec_xor): Add variant for both args being vector signed char.
  19317. Remove redundant variant.
  19318. (vec_andc): Same.
  19319. 2002-04-21 David S. Miller <davem@redhat.com>
  19320. * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
  19321. compare mode in output RTL.
  19322. 2002-04-22 David Edelsohn <edelsohn@gnu.org>
  19323. * config/rs6000/rs6000.c (rs6000_override_options): Correct
  19324. style and formatting of previous patch.
  19325. 2002-04-22 Alan Modra <amodra@bigpond.net.au>
  19326. * config/rs6000/rs6000.c (rs6000_override_options): Always clear
  19327. flag_pic for ABI_AIX.
  19328. 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
  19329. * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
  19330. * cppfiles.c (read_include_file): Similarly.
  19331. * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
  19332. uxstrdup ustrchr, ufputs): Similarly.
  19333. * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
  19334. * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
  19335. cpp_ideq, parse_identifier, parse_number): Similarly.
  19336. * cpplib.c (struct directive, dequote_string, D, run_directive,
  19337. cpp_push_buffer): Similarly.
  19338. * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
  19339. _cpp_create_definition, check_trad_stringification,
  19340. cpp_macro_definition): Similarly.
  19341. 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
  19342. * cppmacro.c (funlike_invocation_p): Don't step back
  19343. over CPP_EOF.
  19344. 2002-04-21 David Edelsohn <edelsohn@gnu.org>
  19345. * config/rs6000/rs6000.c (output_profile_hook): Do not increment
  19346. labelno.
  19347. 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
  19348. * doc/invoke.texi: Remove Chill references.
  19349. * doc/gcc.texi: Update last modified date.
  19350. 2002-04-20 Kazu Hirata <kazu@hxi.com>
  19351. * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
  19352. push and pop. Replace add.l with add.w.
  19353. 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
  19354. * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
  19355. multiply instructions for H8/300H case.
  19356. 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
  19357. * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
  19358. Bum three instructions from each routine.
  19359. 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
  19360. * Makefile.in: Update.
  19361. * decl.c (push_c_function_context, pop_c_function_context,
  19362. mark_c_function_context): Rename for consistency.
  19363. * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
  19364. * c-tree.h (push_c_function_context, pop_c_function_context,
  19365. mark_c_function_context): Rename for consistency.
  19366. * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
  19367. LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
  19368. * function.c (init_lang_status, save_lang_status,
  19369. restore_lang_status, mark_lang_status, free_lang_status):
  19370. Move to langhooks.h.
  19371. (push_function_context_to, pop_function_context_from,
  19372. free_after_parsing, prepare_function_start, ggc_mark_struct_function):
  19373. Update.
  19374. * function.h (init_lang_status, save_lang_status,
  19375. restore_lang_status, mark_lang_status, free_lang_status):
  19376. Move to langhooks.h.
  19377. * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
  19378. LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
  19379. LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
  19380. LANG_HOOKS_FUNCTION_INITIALIZER): New.
  19381. (LANG_HOOKS_INITIALIZER): Update.
  19382. (lhd_do_nothing_f): New.
  19383. * langhooks.h (struct lang_hooks_for_functions): New.
  19384. (struct lang_hooks): New hooks.
  19385. * langhooks.c (lhd_do_nothing_f): New.
  19386. objc:
  19387. * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
  19388. LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
  19389. 2002-04-19 David S. Miller <davem@redhat.com>
  19390. * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
  19391. * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
  19392. 2002-04-19 Jakub Jelinek <jakub@redhat.com>
  19393. PR optimization/3756
  19394. * config/i386/i386.c (ix86_expand_int_movcc): Optimize
  19395. x = ((int) y < 0) ? cst1 : cst2.
  19396. 2002-04-19 Jakub Jelinek <jakub@redhat.com>
  19397. PR c/6358
  19398. * function.c: Reapply patch for c/6358.
  19399. (expand_function_end): Copy decl_rtl's mode, not
  19400. current_function_return_rtx mode.
  19401. 2002-04-19 Joel Sherrill <joel@OARcorp.com>
  19402. * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
  19403. targets.
  19404. 2002-04-19 Tom Tromey <tromey@redhat.com>
  19405. * doc/install.texi (Specific): Update status of Solaris 2.8.
  19406. For PR libgcj/6158.
  19407. 2002-04-19 Andreas Schwab <schwab@suse.de>
  19408. * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
  19409. (PUT_REAL): Restore old definition.
  19410. 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
  19411. Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  19412. * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
  19413. binutils 2.11.2 and higher generate smaller binaries than Sun's
  19414. native tools.
  19415. 2002-04-19 Mark Mitchell <mark@codesourcery.com>
  19416. PR c++/6352
  19417. * toplev.c (rest_of_compilation): Do not defer functions for which
  19418. TREE_SYMBOL_REFERENCED has already been set.
  19419. Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
  19420. * i386.md (movsi_1, movhi_1): Force reload to use more flexible
  19421. alternative.
  19422. 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
  19423. * builtins.c: Include langhooks.h.
  19424. (lang_type_promotes_to): Remove.
  19425. (expand_builtin_va_arg): Use new hook.
  19426. * c-common.c (c_common_nodes_and_builtins): Don't set hook.
  19427. (simple_type_promotes_to): Move to c-typeck.c.
  19428. * c-common.h (simple_type_promotes_to): Remove.
  19429. * c-decl.c (duplicate_decls, grokdeclarator): Update.
  19430. * c-format.c: Include langhooks.h.
  19431. (check_format_types): Update.
  19432. * c-tree.h (c_type_promotes_to): New.
  19433. * c-typeck.c (c_type_promotes_to): Move from c-common.c.
  19434. (type_lists_compatible_p): Update.
  19435. * langhooks-def.h (lhd_type_promotes_to): New.
  19436. (LANG_HOOKS_TYPE_PROMOTES_TO): New.
  19437. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
  19438. * langhooks.c (lhd_type_promotes_to): New.
  19439. * langhooks.h (struct lang_hooks_for_types): New hook.
  19440. * tree.h (lang_type_promotes_to): Remove.
  19441. objc:
  19442. * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
  19443. 2002-04-18 Richard Henderson <rth@redhat.com>
  19444. * function.c: Revert patch for c/6358.
  19445. 2002-04-18 Richard Henderson <rth@redhat.com>
  19446. * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
  19447. blocks. Handle multiple references to the TRAP block. Handle
  19448. non-adjacent THEN and OTHER blocks.
  19449. 2002-04-18 Richard Henderson <rth@redhat.com>
  19450. * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
  19451. crash with no type for by-mode libcalls.
  19452. * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
  19453. 2002-04-18 Bob Wilson <bob.wilson@acm.org>
  19454. * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
  19455. __xtensa_nonlocal_goto): Use a syscall instructions to flush
  19456. the register windows.
  19457. 2002-04-18 Zack Weinberg <zack@codesourcery.com>
  19458. * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
  19459. appropriate. Document need for extended precision even when
  19460. MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
  19461. based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
  19462. REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
  19463. instead of relying on later syntax error when REAL_WIDTH > 5.
  19464. * real.c: Define NE based only on whether or not we have a
  19465. full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
  19466. Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
  19467. define GET_REAL and PUT_REAL as simple memcpy operations; no
  19468. need to byteswap or round.
  19469. Use #error instead of #ifdef-ing out the entire file, for
  19470. prompt error detection.
  19471. * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
  19472. 2002-04-18 David S. Miller <davem@redhat.com>
  19473. * config/sparc/sparc.h (BRANCH_COST): Define.
  19474. * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
  19475. does it.
  19476. 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
  19477. * flow.c (update_life_info): Ignore return value of cleanup_cfg.
  19478. Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
  19479. propagate_block calls after relaxation loop using new variable
  19480. stabilized_prop_flags.
  19481. 2002-04-18 Richard Henderson <rth@redhat.com>
  19482. * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
  19483. (ia64_va_arg): Expect variable sized types by reference.
  19484. * config/ia64/ia64-protos.h: Update.
  19485. * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
  19486. ia64_function_arg_pass_by_reference.
  19487. 2002-04-18 Richard Henderson <rth@redhat.com>
  19488. * ifcvt.c: Include except.h.
  19489. (block_has_only_trap): Break out from find_cond_trap.
  19490. (find_cond_trap): Use it. Always delete the trap block.
  19491. (merge_if_block): Allow then block null. Be less simplistic about
  19492. what insns can end a block.
  19493. * Makefile.in (ifcvt.o): Depend on except.h.
  19494. * config/ia64/ia64.md (trap, conditional_trap): New.
  19495. 2002-04-18 Jakub Jelinek <jakub@redhat.com>
  19496. PR c/6358
  19497. * function.c (assign_parms): Assign hard current_function_return_rtx
  19498. register here...
  19499. (expand_function_end): ...not here.
  19500. 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
  19501. * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
  19502. * c-tree.h (c_incomplete_type_error): New.
  19503. * c-typeck.c (require_complete_type, build_component_ref): Update.
  19504. (incomplete_type_error): Rename.
  19505. * langhooks-def.h (lhd_incomplete_type_error): New.
  19506. (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
  19507. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
  19508. * langhooks.c (lhd_incomplete_type_error): New.
  19509. * langhooks.h (struct lang_hooks_for_types): New hook.
  19510. * tree.c (size_in_bytes): Use new hook.
  19511. * tree.h (incomplete_type_error): Remove.
  19512. objc:
  19513. * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
  19514. 2002-04-18 Zack Weinberg <zack@codesourcery.com>
  19515. * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
  19516. TARGET_FLOAT_FORMAT blocks.
  19517. 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  19518. * doc/install.texi (Downloading the source): Do not mention Chill
  19519. any longer, but mention Ada.
  19520. (Configuration): Do not mention Chill any longer.
  19521. 2002-04-18 Hans-Peter Nilsson <hp@axis.com>
  19522. * config/cris/cris.h (TARGET_VERSION): Remove local version number.
  19523. Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
  19524. * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
  19525. in last patch.
  19526. 2002-04-18 Jakub Jelinek <jakub@redhat.com>
  19527. * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
  19528. instead of unsigned_type.
  19529. Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
  19530. * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
  19531. * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
  19532. later.
  19533. 2002-04-18 Bernd Schmidt <bernds@redhat.com>
  19534. * attribs.c (vector_type_node_list): New static variable.
  19535. (handle_vector_size_attribute): Use it to avoid generating a
  19536. new type node each time we are called.
  19537. * combine.c (subst): Avoid trying to make a vector mode subreg of
  19538. an integer constant.
  19539. (gen_lowpart_for_combine): Likewise.
  19540. 2002-04-18 Roger Sayle <roger@eyesopen.com>
  19541. Jakub Jelinek <jakub@redhat.com>
  19542. * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
  19543. for integer constant c (if x has unsigned type or sign bit is not
  19544. set in c). This folds the zero/sign extension into the bit-wise and
  19545. operation.
  19546. 2002-04-18 Jakub Jelinek <jakub@redhat.com>
  19547. PR middle-end/6205
  19548. * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
  19549. otherwise xorps.
  19550. 2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
  19551. * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
  19552. 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
  19553. * gcc.c (read_specs): Detect and fail if an attempt is made to
  19554. rename a spec string to an already existing string.
  19555. 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
  19556. * config/s390/s390.c (legitimize_pic_address): Do not generate
  19557. illegal address constant without CONST.
  19558. 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  19559. * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
  19560. * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
  19561. 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
  19562. PR optimization/6305
  19563. * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
  19564. to make sure previous reloads are taken into account. Generate
  19565. better code if one operand is an in-range immediate constant.
  19566. 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
  19567. * doc/install.texi (Building): libgcj requires GNU make.
  19568. 2002-04-17 Jakub Jelinek <jakub@redhat.com>
  19569. PR bootstrap/6315
  19570. * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
  19571. even if hard quad and register is not floating.
  19572. (movtf reg<-mem split): Disallow splitting if hard quad and
  19573. register is floating.
  19574. (movtf mem<-reg split): Likewise.
  19575. * config/sparc/sparc.c (fp_register_operand): New predicate.
  19576. * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
  19577. 2002-04-17 Zack Weinberg <zack@codesourcery.com>
  19578. * Makefile.in (PROTO_OBJS): Add cppdefault.o.
  19579. (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
  19580. (unprotoize.o): Ditto. Build from protoize.c. Define
  19581. UNPROTOIZE on command line.
  19582. * protoize.c: Include cppdefault.h. Delete include_defaults.
  19583. (in_system_include_dir): Use cpp_include_defaults (defined in
  19584. cppdefault.o).
  19585. * unprotoize.c: Delete file.
  19586. 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
  19587. * config/rs6000/altivec.h (vec_ld): Add array variants.
  19588. (vec_lde): Same.
  19589. (vec_ldl): Same.
  19590. 2002-04-17 Alan Matsuoka <alanm@redhat.com>
  19591. Aldy Hernandez <aldyh@redhat.com>
  19592. * config/rs6000/altivec.h: Define __ALTIVEC__.
  19593. (bool): New.
  19594. (__pixel): New.
  19595. (pixel): New.
  19596. (vec_cfux): New.
  19597. (vec_vmaddfp): New.
  19598. (vec_vsldoi): New.
  19599. Add parentheses to all macro arguments.
  19600. 2002-04-16 Richard Henderson <rth@redhat.com>
  19601. PR c++/6320
  19602. * except.c (remove_eh_handler): Insert inner regions at beginning
  19603. of sibling chain. Refactor expressions.
  19604. 2002-04-16 Richard Henderson <rth@redhat.com>
  19605. * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
  19606. * config/sparc/sol2-gas-bi.h: New file.
  19607. * config.gcc (sparc*-solaris): Add it as needed.
  19608. * configure.in (AS_SPARC64_FLAG): Remove check.
  19609. * config.in, configure: Regenerate.
  19610. * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
  19611. 2002-04-16 Richard Henderson <rth@redhat.com>
  19612. * config/mips/mips.c (override_options): Don't override N32 for
  19613. a 64-bit ISA.
  19614. PR 6202
  19615. * config/mips/mips.md (can_delay): Split out of existing define_delays.
  19616. (HILO_delay): Set can_delay false.
  19617. 2002-04-16 Dale Johannesen <dalej@apple.com>
  19618. * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
  19619. instruction addresses.
  19620. (rs6000_output_function_epilogue): Likewise.
  19621. 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
  19622. * c-parse.in (poplevel, compstmt_start,
  19623. compstmt_primary_start): Add ending ';', in accordance
  19624. with POSIX.
  19625. 2002-04-16 Richard Henderson <rth@redhat.com>
  19626. * config.gcc (sparcv9-solaris): Configure for 64-bit default.
  19627. Adjust tm_file order to get TARGET_DEFAULT set properly.
  19628. (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
  19629. * doc/install.texi (sparc-solaris): Update.
  19630. 2002-04-16 Dale Johannesen <dalej@apple.com>
  19631. * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
  19632. comparison operands do not match each other or if modes of
  19633. conditions do not match result.
  19634. 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
  19635. PR target/6305
  19636. * config/s390/s390.md (mulsidi3): Set both subregs of the
  19637. multiword register.
  19638. 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
  19639. * config/rs6000/altivec.h (vec_addc): Type check.
  19640. 2002-04-16 Jakub Jelinek <jakub@redhat.com>
  19641. PR middle-end/6279
  19642. * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
  19643. * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
  19644. 2002-04-15 Richard Henderson <rth@redhat.com>
  19645. * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
  19646. call_really_used_regs too.
  19647. 2002-04-15 Richard Henderson <rth@redhat.com>
  19648. * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
  19649. 2002-04-15 David S. Miller <davem@redhat.com>
  19650. * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
  19651. as being CLOBBERed.
  19652. 2002-04-16 Jakub Jelinek <jakub@redhat.com>
  19653. PR c/6290
  19654. * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
  19655. CONST_VECTOR is { 0, ... 0 }.
  19656. 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
  19657. * doc/install.texi (Installing GCC: Configuration): Clarify
  19658. the only supported ways to configure gcc.
  19659. 2002-04-15 Roland McGrath <roland@frob.com>
  19660. * config.gcc (alpha*-*-gnu*): New target configuration.
  19661. * config/alpha/gnu.h: New file for it.
  19662. * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
  19663. 2002-04-16 Mark Mitchell <mark@codesourcery.com>
  19664. * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
  19665. * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
  19666. * tree.h (expand_start_stmt_expr): Update prototype.
  19667. * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
  19668. * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
  19669. on the STMT_EXPR created for the inline function.
  19670. 2002-04-15 Richard Henderson <rth@redhat.com>
  19671. * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
  19672. config/i386/linux-aout.h, config/i386/linux-oldld.h,
  19673. config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
  19674. config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
  19675. config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
  19676. config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
  19677. config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
  19678. Define __gnu_linux__, not gnu_linux.
  19679. * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
  19680. 2002-04-15 Mark Mitchell <mark@codesourcery.com>
  19681. Remove Chill front end.
  19682. * gcc.c (default_compilers): Remove Chill entries.
  19683. * ch: Remove directory.
  19684. * doc/frontends.texi: Remove information about Chill.
  19685. * doc/sourcebuild.texi: Likewise.
  19686. * doc/standards.texi: Likewise.
  19687. 2002-04-15 Douglas B Rupp <rupp@gnat.com>
  19688. * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
  19689. (LONGLONG_STANDALONE): Define.
  19690. 2002-04-15 David S. Miller <davem@redhat.com>
  19691. * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
  19692. Call emit_library_call with LCT_NORMAL.
  19693. (sparc_initialize_trampoline): Use LCT_foo instead of
  19694. magic constant in emit_library_call invocations.
  19695. (sparc64_initialize_trampoline): Likewise.
  19696. (sparc_profile_hook): Likewise.
  19697. * config/sparc/sparc.md: Likewise.
  19698. * config/sparc/sparc.c (sparc_extra_constraint_check):
  19699. Fix type of argument 'c'.
  19700. * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
  19701. Likewise.
  19702. 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
  19703. * diagnostic.h (output_buffer_state): Redefine.
  19704. (output_format_decoder): New macro.
  19705. (output_prefixing_rule): Likewise.
  19706. (output_line_cutoff): Likewise.
  19707. (diagnostic_format_decoder): Adjust.
  19708. (diagnostic_prefixing_rule): Likewise.
  19709. (diagnostic_line_cutoff): Likewise.
  19710. (diagnostic_state): Likewise.
  19711. (diagnostic_kind_count): Likewise.
  19712. (diagnostic_buffer): Now a macro.
  19713. * diagnostic.c (diagnostic_buffer): Remove definition.
  19714. (output_is_line_wrapping): Adjust.
  19715. (set_real_maximum_length): Likewise.
  19716. (output_set_maximum_length): Likewise.
  19717. (init_output_buffer): Likewise.
  19718. (lhd_print_error_function): Likewise.
  19719. (output_do_verbatim): Likewise.
  19720. 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
  19721. * cpperror.c (print_location): Don't print include chain
  19722. if line == 0.
  19723. (cpp_begin_message): Update to use DL_ macros.
  19724. (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
  19725. cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
  19726. cpp_notice, cpp_notice_from_errno): Remove.
  19727. (cpp_error, cpp_error_with_line): Update to take a diagnostic
  19728. level.
  19729. (cpp_errno): New.
  19730. * cppexp.c (CPP_ICE): Remove.
  19731. (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
  19732. lex, integer_overflow, _cpp_parse_expr): Update.
  19733. * cppfiles.c (read_include_file, find_include_file,
  19734. handle_missing_header, _cpp_read_file, remap_filename): Update.
  19735. * cpphash.h (enum error_type): Remove.
  19736. (_cpp_begin_message): Update.
  19737. * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
  19738. cpp_handle_option, cpp_post_options): Update.
  19739. * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
  19740. skip_whitespace, parse_identifier, parse_slow, parse_string,
  19741. _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
  19742. cpp_interpret_charconst): Update.
  19743. * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
  19744. lex_macro_node, do_undef, glue_header_name, parse_include,
  19745. do_include_common, read_flag, do_line, do_linemarker, do_ident,
  19746. cpp_register_pragma, do_pragma_once, do_pragma_system_header,
  19747. do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
  19748. do_elif, do_endif, parse_answer, parse_assertion, do_assert,
  19749. _cpp_pop_buffer, do_diagnostic): Update.
  19750. * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
  19751. DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
  19752. (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
  19753. cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
  19754. cpp_notice, cpp_notice_from_errno): Remove.
  19755. (cpp_error, cpp_error_with_line): Update to take a diagnostic
  19756. level.
  19757. (cpp_errno): New.
  19758. * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
  19759. collect_args, enter_macro_context, save_parameter, parse_params,
  19760. _cpp_create_definition, check_trad_stringification,
  19761. cpp_macro_definition): Update.
  19762. * cppmain.c (cpp_preprocess_file): Update.
  19763. * fix-header.c (read_scan_file): Update.
  19764. 2002-04-14 Andreas Schwab <schwab@suse.de>
  19765. * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
  19766. 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  19767. * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
  19768. 2002-04-13 Mark Mitchell <mark@codesourcery.com>
  19769. * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
  19770. not gnu_hurd.
  19771. 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
  19772. * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
  19773. 2002-04-13 Joel Sherrill <joel@OARcorp.com>
  19774. * config/sparc/t-elf: Enable v8 multilibs. Impacts
  19775. sparc-elf and sparc-rtems targets.
  19776. 2002-04-13 Mark Mitchell <mark@codesourcery.com>
  19777. * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
  19778. defined, and __gnu_hurd__ wherever __GNU__ is defined.
  19779. * arm/linux-elf.h: Likewise.
  19780. * cris/aout.h: Likewise.
  19781. * cris/linux.h: Likewise.
  19782. * i370/linux.h: Likewise.
  19783. * i386/gnu.h: Likewise.
  19784. * i386/linux-aout.h: Likewise.
  19785. * i386/linux-oldld.h: Likewise.
  19786. * i386/linux.h: Likewise.
  19787. * i386/linux64.h: Likewise.
  19788. * ia64/linux.h: Likewise.
  19789. * m68k/linux-aout.h: Likewise.
  19790. * m68k/linux.h: Likewise.
  19791. * mips/linux.h: Likewise.
  19792. * pa/pa-linux.h: Likewise.
  19793. * pj/linux.h: Likewise.
  19794. * rs6000/sysv4.h: Likewise.
  19795. * s390/linux.h: Likewise.
  19796. * sh/linux.h: Likewise.
  19797. * sparc/linux-aout.h: Likewise.
  19798. * sparc/linux.h: Likewise.
  19799. * sparc/linux64.h: Likewise.
  19800. * xtensa/linux.h: Likewise.
  19801. 2002-04-13 Richard Sandiford <rsandifo@redhat.com>
  19802. * stmt.c (check_unique_operand_names): Expect operand names to
  19803. be strings rather than identifiers. Use simple_cst_equal to
  19804. compare them.
  19805. (resolve_operand_name_1): Make same identifier to string change here.
  19806. * c-parse.in (asm_operand): Convert a named operand into a string.
  19807. * cp/parse.y (asm_operand): Likewise.
  19808. 2002-04-13 Andreas Schwab <schwab@suse.de>
  19809. * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
  19810. 2002-04-12 Mark Mitchell <mark@codesourcery.com>
  19811. Revert these changes:
  19812. 2002-04-06 Mark Mitchell <mark@codesourcery.com>
  19813. PR c++/5571
  19814. * stor-layout.c (layout_decl): Reset the RTL for the decl.
  19815. 2002-04-12 Richard Henderson <rth@redhat.com>
  19816. * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
  19817. (sparc*-*-solaris): Clean up header files.
  19818. * configure.in (AS_SPARC64_FLAG): Error out if can't find it
  19819. and plan on generating 64-bit code.
  19820. * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
  19821. * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
  19822. * config/sparc/sol2-sld-64.h: Rename ...
  19823. * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
  19824. for AS_SPARC64_FLAG not defined.
  19825. * config/sparc/sol2-gld-bi.h: New.
  19826. * config/sparc/sol2-sld.h: Remove.
  19827. * config/sparc/sol26-sld.h: New.
  19828. * config/sparc/sol2.h: Tidy comments.
  19829. * doc/install.texi: Document sparc-solaris configury changes.
  19830. 2002-04-12 Richard Henderson <rth@redhat.com>
  19831. * recog.c (offsettable_address_p): Match the logic in adjust_address.
  19832. * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
  19833. in 64-bit mode only. Use only for 32-bit or MEDLOW.
  19834. 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  19835. * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
  19836. Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
  19837. * pa.c (pa_can_combine_p): Call extract_insn before calling
  19838. constrain_operands.
  19839. 2002-04-12 Douglas B Rupp <rupp@gnat.com>
  19840. * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
  19841. (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
  19842. (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
  19843. (CPP_PREDEFINES): Handle __declspec.
  19844. * config/i386/t-interix (USER_H): Remove.
  19845. 2002-04-12 DJ Delorie <dj@redhat.com>
  19846. * integrate.c (compare_blocks): Make comparisons safe for when
  19847. sizeof(int) < sizeof(char *).
  19848. (find_block): Likewise.
  19849. 2002-04-12 Jan Hubicka <jh@suse.cz>
  19850. David Edelsohn <edelsohn@gnu.org>
  19851. * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
  19852. registers.
  19853. (symbol_ref_operand): New.
  19854. * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
  19855. * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
  19856. 2002-04-12 Andreas Schwab <schwab@suse.de>
  19857. * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
  19858. * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
  19859. overrides the definition in config/svr4.h.
  19860. 2002-04-12 Eric Norum <eric.norum@usask.ca>
  19861. * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
  19862. config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
  19863. config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
  19864. config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
  19865. config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
  19866. config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
  19867. config/v850/rtems.h (*-rtems*): Cleanup pass to move common
  19868. definitions to config/rtems.h and make the targets more similar.
  19869. Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  19870. * expr.c (expand_assigment): Remove duplicate conversions #ifdef
  19871. POINTERS_EXTEND_UNSIGNED.
  19872. (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
  19873. (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
  19874. * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
  19875. not specified.
  19876. Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
  19877. * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
  19878. depends on TARGET_SHMEDIA, not TARGET_SH5.
  19879. 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
  19880. * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
  19881. For paradoxical (subreg VAR), replace VAR, don't try the subreg.
  19882. Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
  19883. * sh.c (broken_move): Constant 0. / 1. load is OK if there is
  19884. no r0 clobber.
  19885. 2002-04-12 Andreas Schwab <schwab@suse.de>
  19886. * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
  19887. 2002-04-12 Richard Henderson <rth@redhat.com>
  19888. PR bootstrap/4191
  19889. * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
  19890. * flow.c (mark_used_reg): Manage reg_cond_dead properly for
  19891. modes spanning multiple hard regs.
  19892. * recog.c (peephole2_optimize): Rebuild jump labels as needed.
  19893. 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  19894. * pa.c (pa_output_function_prologue): Don't accumulate the total
  19895. number of code bytes when using TARGET_64BIT, or gas, SOM and not
  19896. the portable runtime.
  19897. (output_deferred_plabels): Handle 64bit plabels.
  19898. (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
  19899. generating pic code using the GAS assembler for object formats that
  19900. are not SOM (ie., ELF32 and ELF64).
  19901. (output_millicode_call): Check attribute type if attribute length is 28.
  19902. Likewise use $PIC_pcrel$0. Only call get_attr_length and
  19903. dbr_sequence_length once.
  19904. (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
  19905. dbr_sequence_length once.
  19906. * pa.h (TARGET_SOM): Define if not defined.
  19907. * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
  19908. with GAS and not SOM.
  19909. (jump, call_internal_reg, call_value_internal_reg): Likewise.
  19910. * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
  19911. 2002-04-11 David O'Brien <obrien@FreeBSD.org>
  19912. * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
  19913. (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
  19914. (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
  19915. DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
  19916. elfos.h and dbxelf.h values are fine now.
  19917. * config/i386/freebsd.h, config/alpha/freebsd.h
  19918. (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
  19919. 2002-04-11 David O'Brien <obrien@FreeBSD.org>
  19920. * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
  19921. or set Acpu or Amachine. Reformat.
  19922. (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
  19923. define.
  19924. (LINK_SPEC): Do not need to undef.
  19925. * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
  19926. * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
  19927. (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
  19928. define.
  19929. * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
  19930. (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
  19931. (LINK_SPEC): Do not need to undef.
  19932. (DONT_USE_BUILTIN_SETJMP): Do not define.
  19933. * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
  19934. (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
  19935. (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
  19936. Remove trailing spaces.
  19937. * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
  19938. __ELF__, or set Acpu or Amachine. Reformat.
  19939. (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
  19940. define.
  19941. 2002-04-11 David O'Brien <obrien@FreeBSD.org>
  19942. * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
  19943. all other *-*-freebsd* targets.
  19944. 2002-04-11 Richard Henderson <rth@redhat.com>
  19945. * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
  19946. 2002-04-11 David O'Brien <obrien@FreeBSD.org>
  19947. * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
  19948. Include {cpu}/{cpu}.h thru tm_file.
  19949. (alpha*-*-linux*ecoff): Remove target.
  19950. * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
  19951. (LINK_SPEC): Remove, is not OS independent.
  19952. * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
  19953. (LINK_SPEC): Do not need to #undef any longer.
  19954. * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
  19955. any longer.
  19956. * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
  19957. __ELF__.
  19958. (LINK_SPEC): Moved here from alpha/elf.h.
  19959. * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
  19960. SUB_CPP_PREDEFINES.
  19961. * config/alpha/linux-ecoff.h: Remove.
  19962. * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
  19963. (CPP_SPEC): Define _POSIX_SOURCE as needed.
  19964. (CPP_SUBTARGET_SPEC): Do not define.
  19965. (LINK_SPEC): Do not need to #undef any longer.
  19966. * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
  19967. * config/alpha/vms.h: Likewise.
  19968. 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
  19969. * doc/extend.texi: Remove old claim that typedefs cannot have
  19970. an alignment attribute.
  19971. 2002-04-11 Jakub Jelinek <jakub@redhat.com>
  19972. PR optimization/6177
  19973. * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
  19974. bitpos is 0 and bitsize CONCAT size.
  19975. 2002-04-11 Jakub Jelinek <jakub@redhat.com>
  19976. PR c/6223
  19977. * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
  19978. 2002-04-10 David O'Brien <obrien@FreeBSD.org>
  19979. * config/alpha/freebsd.h: Minor reformatting.
  19980. (CPP_SPEC): Define ELF and add cpp_subtarget.
  19981. (ASM_SPEC): No longer needed.
  19982. 2002-04-11 Richard Henderson <rth@redhat.com>
  19983. * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
  19984. (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
  19985. (dimode mem/zero splitter): New.
  19986. 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
  19987. * config/cris/cris.c (cris_override_options): Tweak error message
  19988. for PIC not implemented.
  19989. * config/cris/cris.h: Tweak comments related to parameter-passing.
  19990. * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
  19991. 2002-04-10 Richard Henderson <rth@redhat.com>
  19992. * except.c (add_ehl_entry): Allow duplicates after landing pad
  19993. creation.
  19994. 2002-04-10 David Edelsohn <edelsohn@gnu.org>
  19995. * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
  19996. 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
  19997. * c-decl.c (c_init_decl_processing): Move generation of
  19998. decls for g77_integer_type_node and friends from here ...
  19999. * c-common.c (c_common_nodes_and_builtins): ... to here.
  20000. 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
  20001. * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
  20002. is only used as frame pointer when frame_pointer_needed is true.
  20003. 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
  20004. PR target/817
  20005. * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
  20006. for the fact that the pool entry uses two words.
  20007. (movdf_hard_insn): Similarly. Also, ADR instruction can span
  20008. 1k bytes.
  20009. (movdf_soft_insn): Similarly.
  20010. (movxf_hard_insn): Adjust neg_pool_range attribute to allow
  20011. for the fact that the pool entry uses three words.
  20012. 2002-04-10 Richard Sandiford <rsandifo@redhat.com>
  20013. * config/mips/mips.c (mips_va_arg): When using the struct version
  20014. of the EABI va_list, allow arguments in the register save area to
  20015. take up less room than a stack argument.
  20016. 2002-04-10 Richard Henderson <rth@redhat.com>
  20017. * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
  20018. if EXPAND_INITIALIZER.
  20019. 2002-04-09 Richard Henderson <rth@redhat.com>
  20020. * config/alpha/alpha.md (movdi_er_maybe_g): New.
  20021. * config/alpha/alpha.c (alpha_expand_mov): Use it.
  20022. 2002-04-10 Alan Modra <amodra@bigpond.net.au>
  20023. PR optimization/6233
  20024. * rtlanal.c (pure_call_p): New function.
  20025. * rtl.h (pure_call_p): Declare.
  20026. * loop.c (prescan_loop): Use it to set has_nonconst_call.
  20027. * gcse.c (store_killed_in_insn): Use pure_call_p here too.
  20028. 2002-04-09 Eric Christopher <echristo@redhat.com>
  20029. * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
  20030. information to .comm directive.
  20031. 2002-04-09 Richard Henderson <rth@redhat.com>
  20032. PR c/5078
  20033. * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
  20034. 2002-04-09 Richard Henderson <rth@redhat.com>
  20035. * basic-block.h (flow_delete_block_noexpunge): Declare.
  20036. (expunge_block_nocompact): Declare.
  20037. * cfg.c (expunge_block_nocompact): Split out from ...
  20038. (expunge_block): ... here.
  20039. * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
  20040. (flow_delete_block_noexpunge): Split out from ...
  20041. (flow_delete_block): ... here.
  20042. * cfgcleanup.c (delete_unreachable_blocks): Compact while
  20043. removing dead blocks.
  20044. * except.c (exception_handler_labels): Remove.
  20045. (exception_handler_label_map): New.
  20046. (struct eh_region): Add aka member.
  20047. (mark_ehl_map_entry, mark_ehl_map, free_region): New.
  20048. (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
  20049. (for_each_eh_label, for_each_eh_label_1): New.
  20050. (init_eh): Register exception_handler_label_map.
  20051. (free_eh_status): Use free_region.
  20052. (find_exception_handler_labels): Use the map, not the list.
  20053. (remove_exception_handler_label): Likewise.
  20054. (maybe_remove_eh_handler): Likewise.
  20055. (remove_eh_handler): Use the region aka bitmap.
  20056. * except.h (exception_handler_labels): Remove.
  20057. (for_each_eh_label): Declare.
  20058. * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
  20059. * loop.c (invalidate_loops_containing_label): New.
  20060. (find_and_verify_loops): Use it. Use for_each_eh_label.
  20061. * sched-rgn.c (is_cfg_nonregular): Use
  20062. current_function_has_exception_handlers.
  20063. 2002-04-09 Richard Henderson <rth@redhat.com>
  20064. * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
  20065. sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
  20066. Do not return changed status.
  20067. (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
  20068. sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
  20069. New functions that do return changed status.
  20070. * sbitmap.h: Update decls.
  20071. * gcse.c, lcm.c: Use _cg functions as needed.
  20072. Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
  20073. * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
  20074. (sh64-*-elf*, sh-*-rtemself*): Likewise.
  20075. * config/sh/embed_bb.c: New file.
  20076. * config/sh/embed-elf.h: New file.
  20077. * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
  20078. if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
  20079. (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
  20080. __PTRDIFF_TYPE__ .
  20081. (SUBTARGET_CPP_PTR_SPEC): Don't define.
  20082. (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
  20083. Add subtarget_asm_endian_spec.
  20084. (ASM_SPEC): Use subtarget_asm_endian_spec.
  20085. (SUBTARGET_ASM_ENDIAN_SPEC): Define.
  20086. (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
  20087. (WCHAR_UNSIGNED): Define.
  20088. (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
  20089. (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
  20090. (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
  20091. Fix value.
  20092. * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
  20093. (sh_adjust_cost): Likewise.
  20094. sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
  20095. __PTRDIFF_TYPE__ .
  20096. (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
  20097. (WCHAR_TYPE_SIZE): Likewise.
  20098. (ASM_SPEC): Use subtarget_asm_endian_spec.
  20099. (SH_ELF_WCHAR_TYPE): #undef/ #define.
  20100. (MAX_WCHAR_TYPE_SIZE): Don't #undef.
  20101. * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
  20102. (MAX_WCHAR_TYPE_SIZE): Don't #define .
  20103. (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
  20104. (USER_LABEL_PREFIX): Don't #undef /#define .
  20105. (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
  20106. * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
  20107. (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
  20108. (ASM_SPEC): Likewise.
  20109. (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
  20110. (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
  20111. * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
  20112. (LIB2FUNCS_EXTRA): Define.
  20113. * t-sh64 (LIB2FUNCS_EXTRA): Define.
  20114. * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
  20115. (LIB1ASMFUNCS_CACHE): Define.
  20116. (LIB2FUNCS_EXTRA): Redefine empty.
  20117. 2002-04-08 Richard Henderson <rth@redhat.com>
  20118. * reorg.c (get_branch_condition): Use reversed_comparison_code.
  20119. 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  20120. * config/m68hc11/larith.asm (__map_data_section): Fix condition
  20121. and optimize for size.
  20122. (__do_global_ctors): Fix pointer comparison.
  20123. (__do_global_dtors): Likewise.
  20124. 2002-04-09 David S. Miller <davem@redhat.com>
  20125. * config/sparc/sparc.c (sparc_extra_constraint_check): New
  20126. function, implementing EXTRA_CONSTRAINTS. For memory constraints,
  20127. allow reloading pseudos.
  20128. * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
  20129. * config/sparc/sparc-protos.h: Declare it.
  20130. * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
  20131. unsigned comparison warning.
  20132. (output_restore_regs): Mark leaf_function as unused.
  20133. Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20134. * expr.c (is_aligning_offset): New function.
  20135. (expand_expr, case COMPONENT_EXPR): Call it.
  20136. 2002-04-08 David S. Miller <davem@redhat.com>
  20137. PR target/6082
  20138. * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
  20139. Make init_priority work on SPARC when using GNU ld.
  20140. * config/sparc/linux.h, config/sparc/linux64.h,
  20141. config/sparc/netbsd-elf.h, config/sparc/freebsd.h
  20142. (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
  20143. * config/sparc/sol2-gld.h: New file to do the same.
  20144. * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
  20145. sparc/sol2-gld.h to tm_file.
  20146. PR optimization/4328
  20147. * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
  20148. * doc/md.texi: Document it.
  20149. * config/sparc/sparc.md (movdi_insn_sp64_novis,
  20150. movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
  20151. movdf_insn_v9only_vis, movdf_insn_sp64_novis,
  20152. movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
  20153. * config/sparc/sparc.c (mem_min_alignment): Fix comment.
  20154. 2002-04-08 Andreas Jaeger <aj@suse.de>
  20155. * stmt.c (expand_asm_operands): Revert last patch from Richard
  20156. Henderson.
  20157. 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  20158. * doc/contrib.texi (Contributors): Add John David Anglin and Loren
  20159. J. Rittle (the latter also to Testers). Update David O'Brien's entry.
  20160. 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  20161. * doc/contrib.texi (Contributors): Add David O'Brien.
  20162. 2002-04-08 Alan Modra <amodra@bigpond.net.au>
  20163. * configure.in (auto-build.h): Use target_alias and build_alias
  20164. when running configure.
  20165. (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
  20166. (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
  20167. * configure: Regenerate.
  20168. 2002-04-07 David S. Miller <davem@redhat.com>
  20169. * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
  20170. 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
  20171. PR 5933
  20172. * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
  20173. generating 32-bit pic code.
  20174. 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
  20175. * cppinit.c (cpp_create_reader): Initialize
  20176. discard_comments_in_macro_exp.
  20177. (COMMAND_LINE_OPTIONS): Add "-CC" option.
  20178. (cpp_handle_option): Handle "-CC" option.
  20179. * cpplex.c (save_comment): If saving a C++ comment in
  20180. a directive, convert it to a C comment.
  20181. (_cpp_lex_direct): Pass second comment start character to
  20182. save_comment to indicate comment type.
  20183. * cpplib.c (_cpp_handle_directive): If processing
  20184. a "#define" directive and discard_comments_in_macro_exp
  20185. is false, re-enable saving of comments.
  20186. (lex_macro_node): If discard_comments_in_macro_exp is false,
  20187. discard any comments before the macro identifier.
  20188. * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
  20189. member.
  20190. * cppmacro.c (cpp_get_token): If expanding a macro while
  20191. processing a directive, discard any comments we might encounter.
  20192. (parse_params): If discard_comments_in_macro_exp is false,
  20193. ignore comments in the macro parameter list.
  20194. * gcc.c (cpp_unique_options): Add "-CC" option.
  20195. (option_map): Map "--comments-in-macros" to "-CC".
  20196. * doc/cppopts.texi: Document "-CC" option.
  20197. * f/lang-specs.h: Add "-CC" option.
  20198. * testsuite/gcc.dg/cpp/maccom1.c: New test.
  20199. * testsuite/gcc.dg/cpp/maccom2.c: New test.
  20200. * testsuite/gcc.dg/cpp/maccom3.c: New test.
  20201. * testsuite/gcc.dg/cpp/maccom4.c: New test.
  20202. * testsuite/gcc.dg/cpp/maccom5.c: New test.
  20203. * testsuite/gcc.dg/cpp/maccom6.c: New test.
  20204. 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
  20205. PR middle-end/6180
  20206. * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
  20207. 2002-04-06 Mark Mitchell <mark@codesourcery.com>
  20208. PR c++/5571
  20209. * stor-layout.c (layout_decl): Reset the RTL for the decl.
  20210. PR opt/5120
  20211. * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
  20212. RTX_UNCHANGING_P for the functions arguments when a tail call
  20213. is made.
  20214. 2002-04-06 Jason Merrill <jason@redhat.com>
  20215. * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
  20216. (parse_options_and_default_flags): Set them appropriately.
  20217. * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
  20218. 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
  20219. * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
  20220. here.
  20221. * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
  20222. semicolon.
  20223. * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
  20224. types come in by-reference. Fix typo in comment.
  20225. 2002-04-05 David S. Miller <davem@redhat.com>
  20226. * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
  20227. * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
  20228. sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
  20229. {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
  20230. 2002-04-05 David S. Miller <davem@redhat.com>
  20231. * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
  20232. are not going to emit return instructions, emit at least a nop
  20233. for the sake of sane backtraces.
  20234. 2002-04-05 Richard Henderson <rth@redhat.com>
  20235. * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
  20236. 2002-04-05 Jakub Jeilnek <jakub@redhat.com>
  20237. * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
  20238. 2002-04-05 Alexandre Oliva <aoliva@redhat.com>
  20239. * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
  20240. ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
  20241. ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
  20242. 2002-04-05 Andreas Schwab <schwab@suse.de>
  20243. * c-convert.c: Include c-common.h.
  20244. * Makefile.in (c-convert.o): Updated.
  20245. 2002-04-05 Jakub Jelinek <jakub@redhat.com>
  20246. * mklibgcc.in: Use separate libgcc.map for each multilib.
  20247. * Makefile.in (distclean): Don't remove libgcc.map here.
  20248. 2002-04-05 Jakub Jelinek <jakub@redhat.com>
  20249. * Makefile.in (s-mlib): Handle --disable-multilib by separate
  20250. genmultilib invocation.
  20251. 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
  20252. * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
  20253. to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
  20254. to num_gprs for symmetry.
  20255. * config/mips/mips.c: Adjust accordingly.
  20256. 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
  20257. * c-common.c (truthvalue_conversion): Rename, update.
  20258. * c-common.h (c_common_truthvalue_conversion): New.
  20259. * c-convert.c (convert): Update.
  20260. * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
  20261. * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
  20262. * c-typeck.c (build_binary_op, build_unary_op,
  20263. build_conditional_expr): Update.
  20264. * fold-const.c (constant_boolean_node, fold): Use langhook.
  20265. * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
  20266. * langhooks.h (struct lang_hooks): New hook.
  20267. * stmt.c (expand_decl_cleanup): Use langhook.
  20268. * tree.h (truthvalue_conversion): Remove.
  20269. objc:
  20270. * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
  20271. 2002-04-05 Alan Modra <amodra@bigpond.net.au>
  20272. * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
  20273. Add rules to make null object file.
  20274. 2002-04-04 Jim Blandy <jimb@redhat.com>
  20275. * cppmacro.c (cpp_macro_definition): Do not emit spaces after
  20276. macro formal parameter names.
  20277. 2002-04-04 David S. Miller <davem@redhat.com>
  20278. * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
  20279. 2002-04-04 Richard Henderson <rth@redhat.com>
  20280. PR middle-end/5099
  20281. * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
  20282. Support copies into and out of memory. Don't accept allows_reg
  20283. and allows_mem as gospel.
  20284. 2002-04-04 Richard Henderson <rth@redhat.com>
  20285. PR opt/6165
  20286. * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
  20287. (write_dependence_p): Likewise.
  20288. 2002-04-04 Richard Henderson <rth@redhat.com>
  20289. * predict.c (estimate_bb_frequencies): Do frequency calculation
  20290. with a volatile temporary.
  20291. 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
  20292. * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
  20293. 2002-04-04 Jakub Jelinek <jakub@redhat.com>
  20294. PR c++/6119
  20295. * final.c (final_start_function): Don't bump profile_label_no here...
  20296. (final_end_function): ...but here.
  20297. 2002-04-04 Jakub Jelinek <jakub@redhat.com>
  20298. * config/sparc/sparc.md (pic): New attribute.
  20299. (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
  20300. into stack slots.
  20301. (split after do_builtin_setjmp_setup): New.
  20302. 2002-04-04 Jakub Jelinek <jakub@redhat.com>
  20303. PR fortran/6106
  20304. * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
  20305. change.
  20306. 2002-04-04 Jakub Jelinek <jakub@redhat.com>
  20307. * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
  20308. UNITS_PER_WORD for zero sized aggregates.
  20309. 2002-04-03 David S. Miller <davem@redhat.com>
  20310. * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
  20311. one-character spec for this, just use %(link_gcc_c_sequence).
  20312. 2002-04-03 David S. Miller <davem@redhat.com>
  20313. * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
  20314. handling.
  20315. 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
  20316. * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
  20317. (DWARF_FRAME_RETURN_COLUMN): Move.
  20318. (ASM_PREFERRED_EH_DATA_FORMAT): Define.
  20319. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
  20320. * pa.c (except.h, predict.h): Include.
  20321. (FRP): Delete.
  20322. (store_reg_modify, set_reg_plus_d): Revise prototypes.
  20323. (output_ascii): Add cast.
  20324. (store_reg_modify): Revise to add frame notes.
  20325. (set_reg_plus_d): Likewise.
  20326. (compute_frame_size): Include space for eh data registers in frame if
  20327. the current function calls eh_return.
  20328. (hppa_expand_prologue): Ensure register %r2 is saved if the current
  20329. function calls eh_return. Save eh data registers if the current
  20330. function calls eh_return. Fix code to add frame notes. Emit
  20331. blockage to prevent insns with frame notes being scheduled in the
  20332. delay slot of calls.
  20333. (hppa_expand_epilogue): Restore eh data registers and do final stack
  20334. adjustment if the current function calls eh_return. Don't add frame
  20335. notes.
  20336. (output_call): Revise for change in length of call insn. Don't do
  20337. return pointer adjustment for an unconditional jump in the delay slot
  20338. of a call when using frame notes.
  20339. * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
  20340. (EH_RETURN_HANDLER_RTX): Use saved value on stack.
  20341. (ARG_POINTER_CFA_OFFSET): Define.
  20342. * pa.md (return_external_pic): New pattern.
  20343. (prologue): Correct formatting. Use return_external_pic if current
  20344. function calls eh_return.
  20345. (call_internal_symref, call_value_internal_symref,
  20346. sibcall_internal_symref, sibcall_value_internal_symref): Change default
  20347. lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
  20348. respectively.
  20349. (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
  20350. * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
  20351. list of targets to check using "nop" insn.
  20352. * configure: Rebuilt.
  20353. 2002-04-04 Alan Modra <amodra@bigpond.net.au>
  20354. * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
  20355. 2002-04-03 David S. Miller <davem@redhat.com>
  20356. * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
  20357. library sequence passed to the linker.
  20358. (LINK_COMMAND_SPEC): Use it.
  20359. * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
  20360. a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
  20361. * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
  20362. 2002-04-03 Jason Merrill <jason@redhat.com>
  20363. * except.c (struct eh_status): Remove protect_list.
  20364. (begin_protect_partials, end_protect_partials): Remove.
  20365. (add_partial_entry): Remove.
  20366. * except.h: Remove prototypes.
  20367. * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
  20368. expand_decl_cleanup_eh.
  20369. PR c++/5636
  20370. * tree.h (CLEANUP_EH_ONLY): New macro.
  20371. * stmt.c (expand_decl_cleanup_eh): New fn.
  20372. (expand_cleanups): Check CLEANUP_EH_ONLY.
  20373. * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
  20374. Use expand_decl_cleanup_eh.
  20375. (expand_stmt): Adjust.
  20376. * c-common.h: Adjust prototype.
  20377. 2002-04-04 Hans-Peter Nilsson <hp@axis.com>
  20378. * config/cris/cris.c (cris_target_asm_function_prologue): Cast
  20379. uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
  20380. (cris_target_asm_function_epilogue): Ditto.
  20381. (cris_initial_frame_pointer_offset): Ditto.
  20382. (cris_simple_epilogue): Ditto.
  20383. (cris_expand_builtin_va_arg): Variable-size types come in
  20384. by-reference.
  20385. 2002-04-03 David S. Miller <davem@redhat.com>
  20386. * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
  20387. little-endian.
  20388. (set_fast_math): Correct 'fsr' type.
  20389. 2002-04-03 Richard Henderson <rth@redhat.com>
  20390. PR opt/3569
  20391. * langhooks.h (lang_hooks.decls.warn_unused_global): New.
  20392. * toplev.c (check_global_declarations): Use it.
  20393. * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
  20394. (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
  20395. (LANG_HOOKS_DECLS): Add it.
  20396. * langhooks.c (lhd_warn_unused_global_decl): New.
  20397. * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
  20398. * c-objc-common.c (c_warn_unused_global_decl): New.
  20399. * c-tree.h (c_warn_unused_global_decl): Declare.
  20400. * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
  20401. 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
  20402. * langhooks-def.h (lhd_set_decl_assembler_name,
  20403. LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
  20404. (LANG_HOOKS_INITIALIZER): Update.
  20405. * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
  20406. * langhooks.h (struct lang_hooks): New hook.
  20407. * tree.c (set_decl_assembler_name): Move to langhooks.c.
  20408. (lang_set_decl_assembler_name): Remove.
  20409. (init_obstacks): Don't set hook.
  20410. (decl_assembler_name): New function.
  20411. * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
  20412. (decl_assembler_name): New.
  20413. (lang_set_decl_assembler_name): Remove.
  20414. 2002-04-03 Jakub Jelinek <jakub@redhat.com>
  20415. * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
  20416. works properly with .hidden symbols.
  20417. * configure: Rebuilt.
  20418. * config.in: Rebuilt.
  20419. * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
  20420. DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
  20421. properly with .hidden symbols.
  20422. 2002-04-03 Jakub Jelinek <jakub@redhat.com>
  20423. PR middle-end/6102
  20424. * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
  20425. USE argument.
  20426. 2002-04-03 Richard Henderson <rth@redhat.com>
  20427. PR opt/4120
  20428. * sched-rgn.c (sets_likely_spilled): New.
  20429. (sets_likely_spilled_1): New.
  20430. (add_branch_dependences): Use it.
  20431. 2002-04-02 Richard Henderson <rth@redhat.com>
  20432. PR opt/4311
  20433. * loop.h (LOOP_FIRST_PASS): New.
  20434. * loop.c (strength_reduce): Mind it when deciding to unroll.
  20435. * toplev.c (rest_of_compilation): Set it.
  20436. 2002-04-02 David S. Miller <davem@redhat.com>
  20437. * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
  20438. mems_ok_for_ldd_peep when the order of the loads being examined
  20439. is reversed.
  20440. * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
  20441. existing comment to increase comprehension of this situation.
  20442. 2002-04-02 Zack Weinberg <zack@codesourcery.com>
  20443. * config/sh/sh.md: Don't use union real_extract.
  20444. 2002-04-02 Richard Henderson <rth@redhat.com>
  20445. * libgcc2.c (__bb_exit_func): Revert 03-31 change.
  20446. 2002-04-02 David O'Brien <obrien@FreeBSD.org>
  20447. * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
  20448. i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
  20449. i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
  20450. i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
  20451. i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
  20452. i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
  20453. i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
  20454. i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
  20455. i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
  20456. i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
  20457. i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
  20458. i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
  20459. i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
  20460. i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
  20461. Include as many configury headers via tm_file as possible. This
  20462. includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
  20463. * config/openbsd-oldgas.h: New file.
  20464. * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
  20465. config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
  20466. config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
  20467. config/i386/i386-coff.h, config/i386/i386-interix.h,
  20468. config/i386/iscdbx.h, config/i386/linux-aout.h,
  20469. config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
  20470. config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
  20471. config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
  20472. config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
  20473. config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
  20474. config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
  20475. config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
  20476. config/i386/vxi386.h: Do not directly include configury headers.
  20477. * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
  20478. Directly include configury headers that are no longer automatically
  20479. included by the above headers.
  20480. * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
  20481. * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
  20482. config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
  20483. config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
  20484. config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
  20485. config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
  20486. config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
  20487. (TARGET_VERSION): Define.
  20488. * config/i386/beos-elf.h, config/i386/freebsd.h,
  20489. config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
  20490. config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
  20491. config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
  20492. config/i386/sco5.h, config/i386/sysv4.h
  20493. (TARGET_VERSION): Do not need to protect.
  20494. * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
  20495. * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
  20496. config/i386/freebsd-aout.h, config/i386/i386-aout.h,
  20497. config/i386/i386-interix.h, config/i386/linux-aout.h,
  20498. config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
  20499. config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
  20500. (YES_UNDERSCORES): Do not define - not needed.
  20501. * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
  20502. ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
  20503. USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
  20504. * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
  20505. (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
  20506. USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
  20507. * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
  20508. * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
  20509. 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
  20510. Richard Henderson <rth@redhat.com>
  20511. PR c/5484
  20512. * function.c (assign_temp): Accept either type or decl argument.
  20513. Detect variables whose size is too large to fit into an integer.
  20514. * stmt.c (expand_decl): Pass the decl, not the type.
  20515. 2002-04-02 David O'Brien <obrien@FreeBSD.org>
  20516. * protoize.c: Match include directory usage with cppdefault.c.
  20517. 2002-04-03 Jeffrey A Law (law@redhat.com)
  20518. Hans-Peter Nilsson <hp@bitrange.com>
  20519. * combine.c (simplify_comparison): Avoid narrowing a comparison
  20520. with a paradoxical subreg when doing so would drop signficant bits.
  20521. 2002-04-02 Steve Ellcey <sje@cup.hp.com>
  20522. * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
  20523. if POINTERS_EXTEND_UNSIGNED is defined.
  20524. 2002-04-02 Richard Henderson <rth@redhat.com>
  20525. PR opt/3967
  20526. * local-alloc.c (contains_replace_regs): LO_SUM may contain
  20527. replace regs.
  20528. 2002-04-02 Richard Henderson <rth@redhat.com>
  20529. * doc/standards.texi: Document required freestanding libc entry points.
  20530. 2002-04-02 Alan Modra <amodra@bigpond.net.au>
  20531. * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
  20532. associated splitter. Remove MQ constraint.
  20533. (ctrdi_internal4): Correct CCmode clobber.
  20534. 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
  20535. * milli64.S ($$dyncall): New function.
  20536. * t-linux (LIB1ASMFUNCS): Revise module list.
  20537. (LIB1ASMSRC): Use pa/milli64.S.
  20538. 2002-04-02 Richard Henderson <rth@redhat.com>
  20539. * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
  20540. rename solaris_sys_varargs_h.
  20541. Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20542. * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
  20543. the same mode as its component.
  20544. 2002-04-02 Richard Henderson <rth@redhat.com>
  20545. PR opt/190
  20546. * final.c (this_is_asm_operands): Export.
  20547. * output.h (this_is_asm_operands): Declare.
  20548. * config/i386/i386.c (print_operand): Error odd asm operands.
  20549. 2002-04-02 Richard Henderson <rth@redhat.com>
  20550. PR opt/420
  20551. * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
  20552. 2002-04-01 Richard Henderson <rth@redhat.com>
  20553. PR target/1538
  20554. * fixinc/inclhack.def (solaris_sys_varargs_h): New.
  20555. * fixinc/fixincl.x: Rebuild.
  20556. 2002-04-01 Richard Henderson <rth@redhat.com>
  20557. * config/ia64/unwind-ia64.c: Include ia64intrin.h.
  20558. (atomic_alloc, atomic_free): New.
  20559. (SIZE, MASK_FOR, PTR_IN): New.
  20560. (emergency_reg_state, emergency_reg_state_free): New.
  20561. (emergency_labeled_state, emergency_labeled_state_free): New.
  20562. (reg_state_alloced, labeled_state_alloced): New.
  20563. (alloc_reg_state, free_reg_state): New.
  20564. (alloc_label_state, free_label_state, free_label_states): New.
  20565. (push, pop, dup_state_stack, free_state_stack): Use them.
  20566. (desc_label_state): Likewise.
  20567. (uw_frame_state_for): Free label states and state stack.
  20568. (uw_update_reg_address): Eliminate warnings.
  20569. 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
  20570. * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
  20571. ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
  20572. 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
  20573. * c-decl.c (grokdeclarator): Update.
  20574. * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
  20575. * c-tree.h (c_mark_addressable): New.
  20576. * c-typeck.c (default_function_array_conversion, build_unary_op,
  20577. build_array_ref, convert_for_assignment): Update.
  20578. (mark_addressable): Rename.
  20579. * calls.c (try_to_integrate, expand_call): Use langhook.
  20580. * expr.c (expand_expr): Use langhook.
  20581. * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
  20582. * langhooks.h (struct lang_hooks): New hook.
  20583. * stmt.c (expand_asm_operands): Use langhook.
  20584. * tree.h (mark_addressable): Remove.
  20585. objc:
  20586. * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
  20587. 2002-04-01 Bob Wilson <bob.wilson@acm.org>
  20588. * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
  20589. in previous change.
  20590. 2002-04-01 Bob Wilson <bob.wilson@acm.org>
  20591. * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
  20592. for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
  20593. 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
  20594. * c-common.c (unsigned_conversion_warning, convert_and_check,
  20595. unsigned_type, signed_type, shorten_compare,
  20596. c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
  20597. (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
  20598. * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
  20599. New.
  20600. * c-decl.c (grokdeclarator): Update.
  20601. * c-format.c (check_format_types): Update.
  20602. * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
  20603. LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
  20604. * c-typeck.c (build_binary_op, convert_for_assignment): Update.
  20605. * convert.c (convert_to_integer): Use new hooks.
  20606. * expmed.c (make_tree): Use new hooks.
  20607. * expr.c (store_expr): Use new hooks.
  20608. * fold-const.c (operand_equal_for_comparison_p, build_range_check,
  20609. all_ones_mask_p, unextend, fold): Use new hooks.
  20610. * langhooks.h (struct lang_hooks_for_types): New hooks.
  20611. * tree.h (signed_or_unsigned_type, signed_type,
  20612. unsigned_type): Remove.
  20613. objc:
  20614. * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
  20615. LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
  20616. 2002-03-31 Richard Henderson <rth@redhat.com>
  20617. * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
  20618. (desc_frgr_mem): Fix reference to f16-f31.
  20619. 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  20620. * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
  20621. RTVEC_ELT): Const-ify.
  20622. * varray.h (VARRAY_CHECK): Const-ify.
  20623. * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
  20624. ggc_mark_rtvec, ggc_mark): Const-ify.
  20625. 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
  20626. * diagnostic.c: Include langhooks-def.h.
  20627. * Makefile.in (diagnostic.o): Update.
  20628. 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
  20629. * c-common.c (c_unsafe_for_reeval): Rename.
  20630. * c-common.h (c_unsafe_for_reeval): Rename.
  20631. * c-decl.c (finish_incomplete_decl): Rename.
  20632. (c_init_decl_processing): Don't set langhook.
  20633. * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
  20634. LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
  20635. * c-objc-common.c (c_objc_common_init): Don't set langhook.
  20636. * c-tree.h (finish_incomplete_decl): Rename.
  20637. * langhooks-def.h (lhd_unsafe_for_reeval): New.
  20638. (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
  20639. (LANG_HOOKS_INITIALIZER): Update.
  20640. * langhooks.c (lhd_unsafe_For_reeval): New.
  20641. * langhooks.h (struct langhooks): New hooks.
  20642. * toplev.c (incomplete_decl_finalize_hook): Remove.
  20643. (wrapup_global_declarations): Update.
  20644. * tree.c (lang_unsafe_for_reeval): Remove.
  20645. (unsafe_for_reeval): Update.
  20646. * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
  20647. Remove.
  20648. objc:
  20649. * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
  20650. LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
  20651. 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
  20652. * diagnostic.c (print_error_function): Remove.
  20653. (default_print_error_function): Rename.
  20654. (report_error_function): Update.
  20655. * diagnostic.h (print_error_function): Remove.
  20656. (default_print_error_function): Remove.
  20657. * langhooks-def.h (struct diagnostic_context): Predeclare.
  20658. (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
  20659. (LANG_HOOKS_INITIALIZER): Update.
  20660. * langhooks.h (struct diagnostic context): Predeclare.
  20661. (struct lang_hooks): New hook.
  20662. 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  20663. * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
  20664. (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
  20665. !flag_pic.
  20666. (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
  20667. * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
  20668. of PIC_OFFSET_TABLE_REGNUM thruout.
  20669. * config/rs6000/rs6000.md: Likewise.
  20670. * config/rs6000/darwin.h: Likewise.
  20671. Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  20672. * emit-rtl.c (adjust_address_1, offset_address): Cast value to
  20673. unsigned HOST_WIDE_INT, not unsigned int.
  20674. 2002-03-31 Jakub Jelinek <jakub@redhat.com>
  20675. PR middle-end/6096, middle-end/6098, middle-end/6099
  20676. * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
  20677. CODE_LABELs.
  20678. (fill_slots_from_thread): Likewise.
  20679. 2002-03-31 Jakub Jelinek <jakub@redhat.com>
  20680. * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
  20681. floating fields in float regs.
  20682. (function_arg_record_value_2): Likewise.
  20683. 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
  20684. * config/mmix/mmix.md (define_constants): Remove misleading
  20685. FIXME. Add MMIX_fp_rO_OFFSET.
  20686. ("nonlocal_goto_receiver"): Don't have stack-frame address of
  20687. saved rO as part of the pattern. Remove FIXME.
  20688. ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
  20689. here, at output-time.
  20690. 2002-03-31 Jakub Jelinek <jakub@redhat.com>
  20691. PR middle-end/6100
  20692. * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
  20693. REG_BR_PRED.
  20694. (output_v9branch): Likewise.
  20695. 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
  20696. * gcc.c: Revert previous patch for now.
  20697. * config/i386/djgpp.h: Likewise.
  20698. 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
  20699. * config/mmix/crti.asm (_init): Register _fini with atexit.
  20700. * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
  20701. 2002-03-31 Richard Henderson <rth@redhat.com>
  20702. PR target/3997
  20703. * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
  20704. (ASM_OUTPUT_DEF_FROM_DECLS): New.
  20705. 2002-03-31 Richard Henderson <rth@redhat.com>
  20706. * libgcc2.c (__bb_exit_func): Make static.
  20707. * config/alpha/alpha.md (trap): New.
  20708. 2002-03-31 Richard Henderson <rth@redhat.com>
  20709. * builtins.c (expand_builtin_va_arg): Give warnings not errors for
  20710. promoted argument types; build trap.
  20711. (expand_builtin_trap): New.
  20712. (expand_builtin): Use it.
  20713. * stmt.c (expand_nl_goto_receivers): Likewise.
  20714. * expr.h (expand_builtin_trap): Declare.
  20715. * libfuncs.h (LTI_abort, abort_libfunc): New.
  20716. * optabs.c (init_optabs): Init abort_libfunc.
  20717. 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
  20718. * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
  20719. (LINK_COMMAND_SPEC): ... from here.
  20720. (init_gcc_specs): Duplicate it here too, omitting
  20721. shared_name in the second copy.
  20722. (init_spec): Test for duplicate
  20723. * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
  20724. 2002-03-30 David S. Miller <davem@redhat.com>
  20725. * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
  20726. * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
  20727. 2002-03-30 Roger Sayle <roger@eyesopen.com>
  20728. Richard Henderson <rth@redhat.com>
  20729. * regmove.c (combine_stack_adjustments_for_block): Avoid
  20730. emitting a stack adjustment of zero bytes. Let delete_insn
  20731. update bb->head.
  20732. 2002-03-30 Richard Henderson <rth@redhat.com>
  20733. * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
  20734. (sparc_emitting_epilogue): New.
  20735. (leaf_label, output_return, sparc_return_peephole_ok): Remove.
  20736. * config/sparc/sparc-protos.h: Update.
  20737. * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
  20738. (TARGET_SWITCHES): Update.
  20739. * config/sparc/sparc.md (return): Remove.
  20740. (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
  20741. * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
  20742. config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
  20743. config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
  20744. config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
  20745. config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
  20746. config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
  20747. Remove MASK_EPILOGUE.
  20748. * doc/invoke.texi: Update.
  20749. 2002-03-30 Daniel Berlin <dan@dberlin.org>
  20750. * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
  20751. CPP will start the file for us.
  20752. 2002-03-30 Richard Henderson <rth@redhat.com>
  20753. PR target/5446
  20754. * config/ia64/ia64.c (group_barrier_needed_p): Special case
  20755. prologue_allocate_stack.
  20756. (ia64_single_set): Use insn codes for recognition of special
  20757. cases, not rtl matching.
  20758. * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
  20759. Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
  20760. * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
  20761. 2002-03-30 Richard Henderson <rth@redhat.com>
  20762. PR target/6032
  20763. * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
  20764. or -fomit-frame-pointer with profiling.
  20765. (SUBTARGET_OVERRIDE_OPTIONS): Remove.
  20766. (FUNCTION_PROFILER): Do nothing.
  20767. (PROFILE_HOOK): New.
  20768. * config/sparc/sparc.c (sparc_override_options): Don't check
  20769. code models for profiling.
  20770. (sparc_function_profiler): Remove.
  20771. (sparc_profile_hook): New.
  20772. * config/sparc/sparc-protos.h: Update.
  20773. 2002-03-30 Jakub Jelinek <jakub@redhat.com>
  20774. PR optimization/6086
  20775. * combine.c (combine_simplify_rtx): If simplify_rtx failed because
  20776. of SUBREG of volatile MEM or because the MEM was mode dependent,
  20777. return CLOBBER instead of unmodified SUBREG.
  20778. Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
  20779. * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
  20780. when not optimizing.
  20781. * toplev.c (rest_of_compilation): Cann mark_constant_function
  20782. only when optimizing.
  20783. * flow.c (calculate_global_regs_live): Ensure that all AUX fields
  20784. are NULL.
  20785. * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
  20786. (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
  20787. (try_optimize_cfg): clear all AUX fields.
  20788. * i386.c (aligned_operand): Be prepared for SUBREGed registers.
  20789. (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
  20790. (ix86_address_cost): Be prepared for SUBREGed registers.
  20791. (legitimate_address_p): Accept SUBREGed registers.
  20792. 2002-03-29 Richard Henderson <rth@redhat.com>
  20793. PR target/5672
  20794. * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
  20795. 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  20796. * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
  20797. for aggregate and TFmode types.
  20798. 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
  20799. * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
  20800. 2002-03-29 Richard Henderson <rth@redhat.com>
  20801. PR target/5886
  20802. * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
  20803. * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
  20804. 2002-03-29 Richard Henderson <rth@redhat.com>
  20805. PR target/6041
  20806. * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
  20807. (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
  20808. * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
  20809. * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
  20810. conditional.
  20811. * docs/invoke.texi: Update -mno-fancy-math-387 docs.
  20812. 2002-03-29 Dale Johannesen <dalej@apple.com>
  20813. * loop.c (combine_movables): Do allow combination of pseudos.
  20814. 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
  20815. * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
  20816. * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
  20817. No functional change except ...
  20818. * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
  20819. * doc/install.texi (*-*-freebsd*): Document port configuration.
  20820. 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
  20821. * Makefile.in (convert.o, calls.o, expmed.o): Update.
  20822. * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
  20823. Use new hooks.
  20824. * builtin-types.def (BT_PTRMODE): Update.
  20825. * c-common.c (type_for_size): Rename c_common_type_for_size.
  20826. (type_for_mode): Similarly.
  20827. (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
  20828. Use new hook.
  20829. * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
  20830. * c-decl.c (finish_enum, build_enumerator): Use new hooks.
  20831. * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
  20832. Redefine.
  20833. * c-typeck.c (common_type, comptypes, default_conversion):
  20834. Use new hooks.
  20835. * calls.c: Include langhooks.h.
  20836. (emit_library_call_value_1): Use new hooks. Avoid redundant
  20837. calls.
  20838. * convert.c: Include langhooks.h
  20839. (convert_to_pointer, convert_to_integer): Use new hooks.
  20840. * except.c (init_eh): Similarly.
  20841. * expmed.c: Include langhooks.h.
  20842. (expand_mult_add): Use new hooks.
  20843. * expr.c (store_expr, store_constructor, expand_expr, do_jump,
  20844. try_casesi): Similarly.
  20845. * fold-const.c (optimize_bit_field_compare, make_range,
  20846. decode_field_reference, fold_truthop, fold): Similarly.
  20847. * function.c (assign_stack_local_1, assign_stack_temp_for_type,
  20848. put_var_into_stack): Similarly.
  20849. * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
  20850. LANG_HOOKS_TYPE_FOR_SIZE): New.
  20851. (LANG_HOOKS_TYPES_INITIALIZER): Update.
  20852. * langhooks.h (lang_hooks_for_types): New hooks.
  20853. * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
  20854. * tree.c (get_unwidened, get_narrower): Similarly.
  20855. * tree.h (type_for_mode, type_for_size): Remove.
  20856. * varasm.c (force_const_mem): Use new hooks.
  20857. * utils2.c (nonbinary_modular_operation): Update.
  20858. objc:
  20859. * objc-act.c (handle_impent): Update.
  20860. * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
  20861. Redefine.
  20862. 2002-03-29 Steve Ellcey <sje@cup.hp.com>
  20863. * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
  20864. * config/ia64/ia64.c (basereg_operand): New.
  20865. * config/ia64/ia64-protos.h (basereg_operand): Declare.
  20866. * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
  20867. 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
  20868. * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
  20869. unwind information when frame_pointer_needed.
  20870. (mmix_assemble_integer): Tweak wording in comment.
  20871. 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
  20872. * Makefile.in (except.o): Update.
  20873. * except.c: Include langhooks.h.
  20874. (init_eh): Use langhook.
  20875. * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
  20876. LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
  20877. (LANG_HOOKS_INITIALIZER): Update.
  20878. * langhooks.h (lang_hooks_for_types): New.
  20879. (struct lang_hooks): Add it.
  20880. * tree.c (make_lang_type_fn, make_lang_type): Remove.
  20881. * tree.h (make_lang_type_fn, make_lang_type): Remove.
  20882. config:
  20883. * alpha/alpha.c: Include langhooks.h.
  20884. (alpha_build_va_list): Use langhook.
  20885. * d30v/d30v.c: Include langhooks.h.
  20886. (d30v_build_va_list): Use langhook.
  20887. * i386/i386.c: Include langhooks.h.
  20888. (ix86_build_va_list): Use langhook.
  20889. * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
  20890. * s390/s390.c: Include langhooks.h.
  20891. (s390_build_va_list): Use langhook.
  20892. * stormy16/stormy16.c: Include langhooks.h.
  20893. (stormy16_build_va_list): Use langhook.
  20894. 2002-03-29 Jakub Jelinek <jakub@redhat.com>
  20895. PR c++/5964
  20896. * config/sparc/sparc.md (empty_delay_slot, branch_type): New
  20897. attributes.
  20898. (length): Compute variable length for branches/calls/jumps here.
  20899. (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
  20900. normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
  20901. define branch_type attribute.
  20902. (divsi3_sp32): Maximum length is 6 not 7.
  20903. (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
  20904. call_address_untyped_struct_value_sp32,
  20905. call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
  20906. * config/sparc/sparc.c (empty_delay_slot): New function.
  20907. * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
  20908. * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
  20909. 2002-03-29 Jakub Jelinek <jakub@redhat.com>
  20910. * combine.c (set_nonzero_bits_and_sign_copies): Don't call
  20911. nonzero_bits if not needed.
  20912. (nonzero_bits) [XOR]: Likewise.
  20913. (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
  20914. reg_last_set_mode and mode are both MODE_INT, but not equal.
  20915. (record_value_for_reg): Compute reg_last_set_nonzero_bits
  20916. in nonzero_bits_mode for MODE_INT modes.
  20917. 2002-03-28 Richard Henderson <rth@redhat.com>
  20918. PR target/5715
  20919. * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
  20920. to GAS. Correct drift between alternatives.
  20921. 2002-03-28 Richard Henderson <rth@redhat.com>
  20922. PR target/6087
  20923. * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
  20924. 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
  20925. * config/i386/freebsd.h (LINK_SPEC): Don't pass default
  20926. emulation to the linker.
  20927. 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
  20928. * config/alpha/freebsd.h (LINK_SPEC): Likewise.
  20929. * config/sparc/freebsd.h (LINK_SPEC): Likewise.
  20930. Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
  20931. * combine.c (simplify_and_const_int): Make sure to apply mask
  20932. when force_to_mode returns a constant integer. PR3311.
  20933. 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
  20934. * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
  20935. 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  20936. * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
  20937. and Objective-C Dialect Options.
  20938. 2002-03-28 Richard Henderson <rth@redhat.com>
  20939. * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
  20940. comparison should be done vs !=0 not >0 return code. Tidy cases.
  20941. 2002-03-28 Richard Henderson <rth@redhat.com>
  20942. * c-decl.c (finish_function): New arg can_defer_p. Pass it
  20943. on to c_expand_body.
  20944. * c-tree.h (finish_function): Update decl.
  20945. * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
  20946. Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
  20947. * ifcvt.c (if_convert): Clear aux_for_blocks early enough.
  20948. Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
  20949. * rtlanal.c: Include flags.h
  20950. (may_trap_p): Do not mark FP operations if trapping
  20951. if !flag_trapping_math
  20952. * Makefile.in (rtlanal.o): Add dependency on flag.h
  20953. * ifcvt.c (noce_operand_ok): Avoid the lameness.
  20954. 2002-03-27 Zack Weinberg <zack@codesourcery.com>
  20955. * mips.md: Use dconst1, not 1.0, as first argument of
  20956. REAL_VALUE_LDEXP. Don't use union real_extract.
  20957. 2002-03-28 Alan Modra <amodra@bigpond.net.au>
  20958. * configure.in (gcc_cv_as): Use $target_alias in directory searchs
  20959. rather than $target. Heed program_prefix and
  20960. program_transform_name. Search for gas in cross-compiler case too.
  20961. "test -x" rather than "test -f".
  20962. (gcc_cv_ld): Likewise.
  20963. (gcc_cv_nm): Heed program_prefix and program_transform_name.
  20964. (gcc_cv_objdump): Likewise.
  20965. * configure: Regenerate.
  20966. 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
  20967. * Makefile.in (attribs.o): Update.
  20968. * attribs.c: Include langhooks.h.
  20969. (decl_attributes): Use langhook.
  20970. * c-decl.c (insert_default_attributes): Rename.
  20971. * c-tree.h (c_insert_default_attributes): New.
  20972. * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
  20973. (LANG_HOOKS_INITIALIZER): Update.
  20974. * langhooks.h (struct lang_hooks): New hook.
  20975. * tree.h (insert_default_attributes): Remove.
  20976. objc:
  20977. * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
  20978. 2002-03-27 Andreas Schwab <schwab@suse.de>
  20979. * config/i386/i386.c (classify_argument): Also check for
  20980. QUAL_UNION_TYPE.
  20981. 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  20982. * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
  20983. any more.
  20984. Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
  20985. * i960.md (ret): Set PC.
  20986. (nonlocal_goto): Fix expander.
  20987. * builtins.c (epxand_builin_longjmp): Check that we've emitted
  20988. some jump or call.
  20989. Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
  20990. * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
  20991. of libcall regions.
  20992. Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
  20993. * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
  20994. assigning to BLOCK_FOR_INSN directly.
  20995. Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
  20996. * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
  20997. 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
  20998. * c-common.c (c_expand_expr): Fix prototype.
  20999. * c-common.h (c_expand_expr): Always declare, update.
  21000. * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
  21001. * c-objc-common.c (c_objc_common_init): No global hook.
  21002. * expr.c (expand_expr): Use langhook.
  21003. * expr.h (enum expand_modifier): Conditionally declare.
  21004. * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
  21005. (LANG_HOOKS_INITIALIZER): Update.
  21006. * langhooks.c (lhd_expand_expr): New.
  21007. * langhooks.h (struct lang_hooks): New hook.
  21008. * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
  21009. (lang_independent_init): Don't default hook.
  21010. objc:
  21011. * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
  21012. 2002-03-27 Richard Henderson <rth@redhat.com>
  21013. PR target/6054
  21014. * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
  21015. TARGET_CONST_GP. Simplify conditions.
  21016. 2002-03-27 Richard Henderson <rth@redhat.com>
  21017. * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
  21018. config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
  21019. config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
  21020. 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
  21021. * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
  21022. TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
  21023. (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
  21024. Remove unnecessary masks.
  21025. (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
  21026. (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
  21027. -mwindows, -mdll switches and their negations.
  21028. 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
  21029. * gcc-common.c (lang_mark_false_label_stack): Remove.
  21030. * ggc.h (lang_mark_false_label_stack): Similarly.
  21031. 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
  21032. * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
  21033. * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
  21034. or __rtems_ is defined.
  21035. 2002-03-26 Richard Henderson <rth@redhat.com>
  21036. * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
  21037. if a non-trivial load was emitted.
  21038. (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
  21039. in high+extra+low case.
  21040. 2002-03-26 Richard Henderson <rth@redhat.com>
  21041. * config.gcc (sparc*-solaris): Use float_format=sparc.
  21042. 2002-03-26 Richard Henderson <rth@redhat.com>
  21043. * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
  21044. * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
  21045. * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
  21046. * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
  21047. (WINT_TYPE_SIZE): Fix at 32.
  21048. 2002-03-26 Richard Henderson <rth@redhat.com>
  21049. * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
  21050. until after eh landing pad generation.
  21051. * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
  21052. * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
  21053. 2002-03-26 Richard Henderson <rth@redhat.com>
  21054. * expr.h (ADD_PARM_SIZE): One more convert for INC.
  21055. 2002-03-26 Phil Edwards <pme@gcc.gnu.org>
  21056. * gcc.c (cpp_options): Preserve relative ordering of -pedantic
  21057. and warning switches.
  21058. (cc1_options): Likewise.
  21059. 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
  21060. * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
  21061. Restore more of the signal context. Set no_reg_stack_frame.
  21062. * config/ia64/unwind-ia64.c (unw_state_record):
  21063. Add no_reg_stack_frame, comments.
  21064. (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
  21065. (uw_update_context): Adjust bsp when unwinding from leaf,
  21066. but not signal frame.
  21067. 2002-03-26 David Edelsohn <edelsohn@gnu.org>
  21068. * config/rs6000/aix51.h (WCHAR_TYPE): Define.
  21069. 2002-03-26 Bob Wilson <bob.wilson@acm.org>
  21070. * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
  21071. 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
  21072. PR target/5621
  21073. * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
  21074. "Add a pool_range attribute", which was lost during the ARM/Thumb
  21075. merge.
  21076. 2002-03-26 Bob Wilson <bob.wilson@acm.org>
  21077. * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
  21078. a register into the MAC16 accumulator.
  21079. 2002-03-26 Andrew Cagney <ac131313@redhat.com>
  21080. * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
  21081. (Warning Options): Document -Wswitch-enum.
  21082. * toplev.c (W_options): Add -Wswitch-enum. Update comment on
  21083. -Wswitch.
  21084. (warn_switch_enum): Define variables.
  21085. * flags.h (warn_switch_enum): Declare variables.
  21086. * stmt.c (expand_end_case_type): When warn_switch_enum /
  21087. -Wswitch-enum, perform switch checks.
  21088. Fix PR c/5044.
  21089. 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
  21090. * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
  21091. (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
  21092. (reload_muladdsi_compare0_scratch): Delete.
  21093. 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
  21094. * doc/install.texi (*-*-freebsd*): Update.
  21095. 2002-03-26 Richard Henderson <rth@redhat.com>
  21096. * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
  21097. (SUB_PARM_SIZE): Cast DEC to ssizetype.
  21098. * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
  21099. types from the normal argument frame.
  21100. * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
  21101. variable sized objects by reference.
  21102. (sparc_va_arg): Receive them by reference too.
  21103. 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
  21104. * config/s390/s390.c (s390_emit_epilogue): Change epilogue
  21105. code to not restoring global registers.
  21106. 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
  21107. * Makefile.in (ggc-common.o): Update.
  21108. * c-decl.c (lang_mark_tree): Rename c_mark_tree.
  21109. * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
  21110. * c-tree.h (c_mark_tree): New.
  21111. * ggc-common.c: Include langhooks.h.
  21112. (gcc_mark_trees): Use new langhook.
  21113. * ggc-callbacks.c: Delete file.
  21114. * ggc.h (lang_mark_tree): Remove.
  21115. * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
  21116. (LANG_HOOKS_INITIALIZER): Update.
  21117. * langhooks.h (struct lang_hooks): New hook.
  21118. objc:
  21119. * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
  21120. 2002-03-25 Zack Weinberg <zack@codesourcery.com>
  21121. * doc/cpp.texi: Exclude entire Top node from printed manual.
  21122. Move option index after directive index. Insert page breaks
  21123. before GFDL and concept index. Index environment variables
  21124. with command line options.
  21125. * doc/cppenv.texi: Use @vtable for environment variable list.
  21126. Add paragraph explaining semantics of empty elements in path
  21127. variables. Exclude a cross-reference to Fishkill from the
  21128. manpage. Remove an unnecessary cross-reference of the entry
  21129. right above the referer. Don't use @anchor in text that goes
  21130. into manpage.
  21131. * doc/cppopts.texi: Cross-reference the environment variables
  21132. section, not the specific environment variable, for consistency.
  21133. 2002-03-25 Richard Henderson <rth@redhat.com>
  21134. * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
  21135. anywhere in the block. Don't refer to insns that have been
  21136. removed from the chain. Iterate backward through the new insns.
  21137. Don't refer to edges that have been removed.
  21138. 2002-03-26 Alan Modra <amodra@bigpond.net.au>
  21139. * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
  21140. test for overflow of constant.
  21141. 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
  21142. PR target/2623
  21143. * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
  21144. (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
  21145. these patterns on arm_archv4.
  21146. 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
  21147. * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
  21148. int".
  21149. 2002-03-25 Zack Weinberg <zack@codesourcery.com>
  21150. * toplev.c: Don't include setjmp.h. Kill float_handler_set,
  21151. float_handled, float_handler, float_signal, set_float_handler,
  21152. and do_float_handler. Set handler for SIGFPE to crash_signal.
  21153. * toplev.h: Don't prototype do_float_handler.
  21154. * c-lex.c: Fold parse_float into lex_number. Make warning
  21155. about portability of hex float constants more informative, and
  21156. don't issue it on top of a syntax error.
  21157. * fold-const.c: Fold const_binop_1 and fold_convert_1 into
  21158. their callers.
  21159. * real.h: Define REAL_VALUE_ABS here...
  21160. * simplify-rtx.c: ... not here. Fold check_fold_consts,
  21161. simplify_unary_real, simplify_binary_real, and
  21162. simplify_binary_is2orm1 into their callers.
  21163. * tree.c: Fold build_real_from_int_cst_1 into caller.
  21164. * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
  21165. * tsystem.h: Include float.h here...
  21166. * libgcc2.c: ... not here.
  21167. 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
  21168. Fixes for: PR bootstrap/3591, target/5676
  21169. * config/mcore/mcore.h (CC1_SPEC): Define only if not already
  21170. defined. Do not disable exceptions or rtti.
  21171. * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
  21172. mcore.h. Disable exceptions and rtti, since they are not
  21173. supported by EPOC.
  21174. 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
  21175. * c-decl.c (maybe_build_cleanup): Remove.
  21176. * expr.c (expand_expr): Use langhook.
  21177. * langhooks-def.h (lhd_return_null_tree,
  21178. LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
  21179. (LANGHOOKS_INITIALIZER): Update.
  21180. * langhooks.c (lhd_return_null_tree): New.
  21181. * langhooks.h (struct lang_hooks): New hook.
  21182. * tree-inline.c (initialize_inlined_parameters): Use langhook.
  21183. * tree.h (maybe_build_cleanup): Remove.
  21184. 2002-03-25 Jakub Jelinek <jakub@redhat.com>
  21185. * regrename.c (build_def_use): Move recog_memoized
  21186. before extract_insn.
  21187. 2002-03-25 Jakub Jelinek <jakub@redhat.com>
  21188. PR target/6043
  21189. * expr.c (emit_group_store): Handle storing into CONCAT.
  21190. 2002-03-25 Jakub Jelinek <jakub@redhat.com>
  21191. * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
  21192. corresponding MATCH_DUP.
  21193. 2002-03-24 Richard Henderson <rth@redhat.com>
  21194. * unroll.c (unroll_loop): Zero label_map.
  21195. * gcse.c: Include except.h.
  21196. * Makefile.in (gcse.o): Update.
  21197. 2002-03-24 Richard Henderson <rth@redhat.com>
  21198. * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
  21199. Do resolve_unique_section before shared data clause.
  21200. 2002-03-24 Richard Henderson <rth@redhat.com>
  21201. * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
  21202. 2002-03-24 Richard Henderson <rth@redhat.com>
  21203. * recog.c (peephole2_optimize): Split blocks when EH insns are
  21204. generated in the middle of a block. Do global life update if
  21205. zapped EH edges.
  21206. 2002-03-24 Richard Henderson <rth@redhat.com>
  21207. * mips.c (mips_function_value): Only promote_mode for non-libcalls.
  21208. 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
  21209. preprocessor/3951
  21210. * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
  21211. * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
  21212. (init_dependency_output): Don't make no_output decision here.
  21213. 2002-03-24 Andrew Cagney <ac131313@redhat.com>
  21214. * stmt.c (check_for_full_enumeration_handling): Remove tests of
  21215. warn_switch. Update description.
  21216. (expand_end_case_type): Call check_for_full_enumeration_handling
  21217. when warn_switch.
  21218. 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21219. * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
  21220. (m68hc11_split_move): Call it to see if the source and destination
  21221. operands use the same direction auto inc/dec mode, otherwise make the
  21222. source an offsetable memory operand and generate an add.
  21223. 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21224. * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
  21225. register for operand 2.
  21226. ("*subsi3_zero_extendqi"): Likewise.
  21227. ("*iorhi3_gen"): Do the operation on the upper bits and then lower
  21228. bits so that it is compatible with a pop.
  21229. ("*andhi3_gen"): Likewise.
  21230. ("xorhi3"): Likewise.
  21231. 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
  21232. * cppinit.c (cpp_handle_option): Set warn_endif_labels if
  21233. -pedantic here...
  21234. (cpp_post_options): ... not here.
  21235. 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
  21236. Aldy Hernandez <aldyh@redhat.com>
  21237. Removal of separate preprocessor cpp0.
  21238. * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
  21239. cpp0, install-common): Update.
  21240. * c-common.c (flag_preprocess_only): New.
  21241. (c_common_init): Preprocess for -E.
  21242. * c-common.h (flag_preprocess_only): New.
  21243. * c-decl.c (c_decode_option): Handle -E and -std=c++98.
  21244. * c-objc-common.c (c_init_decl_processing): Exit quickly
  21245. for NULL return from c_common_init.
  21246. * cpplib.h (cpp_preprocess_file): New.
  21247. * cppmain.c (main, general_init, pfile, progname): Remove.
  21248. (do_preprocessing): Rename cpp_preprocess_file, don't call
  21249. cpp_finish. Don't close stdout here.
  21250. (setup_callbacks): Update prototype.
  21251. * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
  21252. Update.
  21253. * tradcpp.c (main): Ignore -quiet.
  21254. objc:
  21255. * lang-specs.h (default_compilers): Preprocess with cc1obj.
  21256. 2002-03-24 Richard Henderson <rth@redhat.com>
  21257. PR optimization/5742
  21258. * machmode.def: Add inner mode field to complex modes.
  21259. * config/mips/mips.c (mips_function_value): Always define. Add
  21260. new argument to handle libcalls.
  21261. * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
  21262. (FUNCTION_VALUE): Likewise.
  21263. * config/mips/abi64.h (FUNCTION_VALUE): Remove.
  21264. * config/mips/mips-protos.h: Update.
  21265. 2002-03-23 Richard Henderson <rth@redhat.com>
  21266. * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
  21267. * config/sparc/sparc-protos.h: Update.
  21268. * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
  21269. 2002-03-23 Richard Henderson <rth@redhat.com>
  21270. * config/sparc/gmon-sol2.c (internal_mcount): Assume either
  21271. _start or _init begins the text segment.
  21272. 2002-03-23 David Edelsohn <edelsohn@gnu.org>
  21273. * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
  21274. not HOST_WIDEST_INT.
  21275. (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
  21276. 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
  21277. PR java/5489
  21278. * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
  21279. operand argument to output_return_instruction.
  21280. * arm.c (arm_print_operand, case 'd'): If the operand is
  21281. const_true_rtx then just return.
  21282. (arm_print_operand, case 'D'): If the operand is const_true_rtx
  21283. then abort.
  21284. 2002-03-23 Andrew Cagney <ac131313@redhat.com>
  21285. * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
  21286. (Warning Options): Document -Wswitch-default.
  21287. * toplev.c (W_options): Add -Wswitch-default. Update comment on
  21288. -Wswitch.
  21289. (warn_switch_default): Define variable.
  21290. (warn_switch): Update comment.
  21291. * flags.h (warn_switch_default): Declare variable.
  21292. (warn_switch): Update comment.
  21293. * stmt.c (expand_end_case): Check for and, when
  21294. warn_switch_no_default, warn of a missing default case.
  21295. 2002-03-23 Alan Modra <amodra@bigpond.net.au>
  21296. * real.h (N): Special case 128 bit doubles.
  21297. * combine.c (simplify_comparison): When widening modes, ignore
  21298. sign extension on CONST_INTs.
  21299. 2002-03-22 Bob Wilson <bob.wilson@acm.org>
  21300. * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
  21301. passed to adjust_address. Fix comment formatting.
  21302. 2002-03-22 Zack Weinberg <zack@codesourcery.com>
  21303. * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
  21304. Always make REAL_VALUE_TYPE a struct containing an array of
  21305. HOST_WIDE_INT, not a double. Tidy up the code deciding how
  21306. big it is. Don't declare or use union real_extract.
  21307. * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
  21308. decode_rtx_const, output_constant_pool), config/a29k/a29k.c
  21309. (print_operand), config/arm/arm.c (output_move_double),
  21310. config/arm/arm.md (consttable_4, consttable_8),
  21311. config/romp/romp.c (output_fpops), config/s390/s390.h
  21312. (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
  21313. (xtensa_output_literal): Don't use union real_extract.
  21314. * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
  21315. (sfmode_constant_to_ulong), config/ns32k/merlin.h
  21316. (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
  21317. config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
  21318. (PRINT_OPERAND): Don't use local version of union
  21319. real_extract.
  21320. * config/convex/convex.c (check_float_value), config/vax/vax.c
  21321. (vax_float_literal), config/m88k/m88k.md (divdf3),
  21322. config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
  21323. config/pdp11/pdp11.c (output_move_quad): Don't do host
  21324. arithmetic on target floating point quantities.
  21325. * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
  21326. (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
  21327. * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
  21328. Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
  21329. * real.c (earith): Test INFINITY rather than REAL_INFINITY;
  21330. NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
  21331. INFINITY.
  21332. * print-rtl.c (print_rtx): Disable code which needs
  21333. floating-point emulator.
  21334. * libgcc2.c: Include float.h and use DBL_MANT_DIG,
  21335. FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
  21336. depending on HOST_FLOAT_FORMAT to be defined properly.
  21337. * config/1750a/1750a.c (get_double, float_label): Delete.
  21338. (print_operand): Delete huge commented-out chunk. Use
  21339. REAL_VALUE_TO_DECIMAL.
  21340. * config/1750a/1750a-protos.h: Delete prototypes of deleted
  21341. functions.
  21342. * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
  21343. IEEE_FLOAT_FORMAT.
  21344. * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
  21345. Use REAL_VALUE_TO_DECIMAL as ELF version does.
  21346. * config/m88k/m88k.c (real_power_of_2_operand,
  21347. legitimize_operand): Take the REAL_VALUE_TYPE and/or union
  21348. real_extract out of the union; run the input through
  21349. REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
  21350. from that into the union.
  21351. * config/pdp11/pdp11.c (output_move_double): Rearrange
  21352. parentheses to make automatic indenter happy.
  21353. * doc/tm.texi (Cross-compilation): Rename node to "Floating
  21354. Point" and rewrite to describe current situation. Also adjust
  21355. documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
  21356. match code.
  21357. * doc/rtl.texi: Adjust cross reference.
  21358. 2002-03-22 Bob Wilson <bob.wilson@acm.org>
  21359. * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
  21360. (xtensa_valid_move, xtensa_preferred_reload_class): Define.
  21361. * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
  21362. (xtensa_valid_move, xtensa_preferred_reload_class): Define to
  21363. prevent use of sp as a reload register.
  21364. (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
  21365. non_acc_reg_operand.
  21366. * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
  21367. (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
  21368. * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
  21369. movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
  21370. 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
  21371. * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
  21372. * cpplex.c (unterminated): Delete.
  21373. (parse_string): No string literal may extend over multiple
  21374. lines. Suppress the error when preprocessing assembly.
  21375. * cppmain.c (scan_translation_unit): Strings are single-line.
  21376. * doc/cpp.texi: Update to match.
  21377. 2002-03-22 Jakub Jelinek <jakub@redhat.com>
  21378. PR optimization/5854
  21379. * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
  21380. Shut up warnings.
  21381. (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
  21382. (EXTRA_CONSTRAINT): Use S for non-push memory operand.
  21383. * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
  21384. const0 if scratch register was not allocated.
  21385. (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
  21386. m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
  21387. with GEN_INT (...).
  21388. (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
  21389. * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
  21390. with GEN_INT (...) everywhere. Remove constraints in define_split
  21391. patterns.
  21392. (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
  21393. require scratch register for setting 0 into regs/non-pushable memory.
  21394. 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
  21395. * config/mips/mips.h (MASK_RETURN_ADDR): Define.
  21396. (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
  21397. 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
  21398. * cpplib.h (struct cpp_options): New member, warn_endif_labels.
  21399. * cppinit.c (cpp_create_reader): On by default.
  21400. (cpp_handle_option): Handle -W[no-]endif-labels.
  21401. (cpp_post_options): Also enable if -pedantic.
  21402. * cpplib.c (do_else): Use it.
  21403. (do_endif): Likewise.
  21404. * doc/cppopts.texi: Document new option.
  21405. * doc/invoke.texi: Document new option.
  21406. 2002-03-22 Lars Brinkhoff <lars@nocrew.org>
  21407. * config/i386/i386.c, config/i386/i386.md: Change all occurences
  21408. of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
  21409. 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
  21410. * flow.c (calculate_global_regs_live): Clear aux fields of
  21411. ENTRY and EXIT.
  21412. 2002-03-22 Jakub Jelinek <jakub@redhat.com>
  21413. * config/v850/v850.c (v850_reorg): Only call alter_subreg on
  21414. REG or MEM subregs, pass rtx * instead of rtx to it.
  21415. * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
  21416. rtx * instead of rtx to alter_subreg.
  21417. * config/m32r/m32r.c (gen_split_move_double): Likewise.
  21418. * config/pj/pj.c (pj_output_rval): Likewise.
  21419. 2002-03-22 Richard Henderson <rth@redhat.com>
  21420. PR target/3177
  21421. * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
  21422. (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
  21423. * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
  21424. (ia64_expand_prologue): Look at int_regs, not words, for number
  21425. of incoming int regs.
  21426. 2002-03-22 Andrew MacLeod <amacleod@redhat.com>
  21427. * expr.c (expand_expr): A RESULT_DECL is part of a call.
  21428. Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
  21429. * toplev.c (flag_loop_optimize, flag_crossjumping):
  21430. New static variables.
  21431. (rest_of_compilation): Conditionalize crossjumping and
  21432. loop optimizer.
  21433. (parse_options_and_default_flags): Default loop_optimize and
  21434. crossjumping.
  21435. (lang_independent_options): Add -fcrossjumping and -floop-optimize
  21436. * invoke.texi (crossjumping, loop-optimize): Document.
  21437. 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
  21438. * real.c (eiisneg): Move outside #ifdef NANS.
  21439. Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
  21440. * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
  21441. frequencies match; avoid match on different loop depths.
  21442. (try_crossjump_to_bb): Kill tests that no longer brings time
  21443. savings.
  21444. * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
  21445. updating code.
  21446. (split_edge): Likewise.
  21447. * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
  21448. variable.
  21449. * Makefile.in (cfgrtl): Add insn-config.h depenendency.
  21450. * cfgrtl.c: Include insn-config.h
  21451. (split_block) Dirtify block in presence of conditional execution
  21452. 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
  21453. * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
  21454. * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
  21455. (function_arg): Constify CUMULATIVE_ARGS.
  21456. (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
  21457. * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
  21458. (UNITS_PER_DOUBLE): New macro.
  21459. (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
  21460. (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
  21461. last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
  21462. fp_regs and stack_words.
  21463. (EABI_FLOAT_VARARGS_P): New macro.
  21464. * config/mips/mips.c (struct mips_arg_info): New.
  21465. (mips_arg_info): New function.
  21466. (function_arg_advance): Use it. Add adjustment instructions here
  21467. rather than in function_arg.
  21468. (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
  21469. for VOIDmode at the beginning of the function.
  21470. (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
  21471. (function_arg_pass_by_reference): Likewise.
  21472. (mips_setup_incoming_varags): New, largely based on old abi64.h code.
  21473. (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
  21474. (mips_va_start): Likewise. Use the new stack_words field of
  21475. CUMULATIVE_ARGS to set up overflow area. Reformat.
  21476. (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
  21477. doubles and other types, aligning the overflow pointer for non-doubles
  21478. too. Remove some code duplication. Replace hard-coded constants.
  21479. 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
  21480. * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
  21481. (CLASS_UNITS): Undefine.
  21482. (CLASS_MAX_NREGS): Use FP_INC.
  21483. * config/mips/mips.c (compute_frame_size): Likewise.
  21484. (override_options): Use FP_INC and UNITS_PER_FPVALUE.
  21485. 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
  21486. * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
  21487. prototype, and handle lexing numbers and identifiers.
  21488. (parse_identifier): Update to new form of parse_slow.
  21489. (parse_number): Fast path only, use parse_slow otherwise.
  21490. (_cpp_lex_direct): Update calls to parse_number.
  21491. 2002-03-21 DJ Delorie <dj@redhat.com>
  21492. * bb-reorder.c (make_reorder_chain_1): Protect against
  21493. when redundant edges are omitted.
  21494. * predict.c (dump_prediction): Likewise.
  21495. 2002-03-21 Richard Henderson <rth@redhat.com>
  21496. PR target/5996
  21497. * fixinc/inclhack.def (solaris_stdio_tag): New.
  21498. * fixinc/fixincl.x: Regenerate.
  21499. 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
  21500. PR c/5597
  21501. * c-typeck.c (process_init_element): Flag non-static
  21502. initialization of a flexible array member as illegal.
  21503. 2002-03-22 Alan Modra <amodra@bigpond.net.au>
  21504. * config/rs6000/t-linux64: New.
  21505. * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
  21506. t-ppccomm. Use t-rs6000 and t-linux64.
  21507. (powerpc64-*-gnu* <tmake_file>): Likewise.
  21508. * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
  21509. * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
  21510. * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
  21511. 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
  21512. * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
  21513. flag_really_no_inline instead of optimize == 0.
  21514. * c-objc-common.c (c_cannot_inline_tree_fn): Same.
  21515. * cp/tree.c (cp_cannot_inline_tree_fn): Same.
  21516. * flags.h (flag_really_no_inline): New.
  21517. * c-common.c (c_common_post_options): Initialize
  21518. flag_really_no_inline.
  21519. * toplev.c (flag_really_no_inline): New.
  21520. 2002-03-21 Jakub Jelinek <jakub@redhat.com>
  21521. * config/avr/avr.md (length): Fix length computation for
  21522. conditional branches.
  21523. 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
  21524. * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
  21525. sdbout.o, profile.o): Update.
  21526. * c-common.c (c_common_nodes_and_builtins): Use pushdecl
  21527. langhook.
  21528. * c-common.h (gettags): Move here from tree.h.
  21529. * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
  21530. insert_block, getdecls, kept_level_p, global_bindings_p): New.
  21531. * dbxout.c (dbxout_init): Use getdecls langhook.
  21532. * expr.c (expand_expr): Use insert_block langhook.
  21533. * fold-const.c: Include langhooks.h.
  21534. (fold_range_test, fold_binary_op_with_conditional_arg,
  21535. fold): Use global_bindings_p langhook.
  21536. * integrate.c (expand_inline_function): Use insert_block langhook.
  21537. * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
  21538. LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
  21539. LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
  21540. LANG_HOOKS_GETDECLS): New.
  21541. (LANG_HOOKS_INITIALIZER): Update.
  21542. * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
  21543. langhook.
  21544. * langhooks.h (struct lang_hooks_for_decls): New.
  21545. (struct lang_hooks): Update.
  21546. * profile.c: Include langhooks.h.
  21547. (output_func_start_profiler): Use new langhooks.
  21548. * sdbout.c: Include langhooks.h.
  21549. (sdbout_init, sdbout_finish): Use getdecls langhook.
  21550. * stmt.c: Include langhooks.h.
  21551. (expand_fixup, fixup_gotos): Use new langhooks.
  21552. * stor-layout.c: Include langhooks.h.
  21553. (variable_size): Use global_bindings_p langhook.
  21554. * toplev.c (compile_file): Use getdecls langhook.
  21555. * tree-inline.c (remap_block): Use insert_block langhook.
  21556. * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
  21557. insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
  21558. 2002-03-21 Richard Henderson <rth@redhat.com>
  21559. * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
  21560. constants in .data when -fpic.
  21561. 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  21562. * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
  21563. where appropriate.
  21564. 2002-03-21 Tom Tromey <tromey@redhat.com>
  21565. * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
  21566. Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  21567. * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
  21568. * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
  21569. 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
  21570. Richard Henderson <rth@redhat.com>
  21571. PR c/5354
  21572. * c-common.c (c_expand_expr): Preserve result of a statement
  21573. expression if needed.
  21574. 2002-03-21 Jakub Jelinek <jakub@redhat.com>
  21575. PR bootstrap/4195
  21576. * genrecog.c (maybe_both_true_mode): Remove.
  21577. (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
  21578. * machmode.def (Pmode): Likewise.
  21579. Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
  21580. * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
  21581. (nonlocal_mentioned_p_1): New function.
  21582. (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
  21583. (nonlocal_set_p, nonlocal_set_p_1): Likewise.
  21584. (mark_constant_function): Recognize pure functions.
  21585. * rtl.h (global_reg_mentioned_p): New prototype.
  21586. * rtlanal.c (global_reg_mentioned_p,
  21587. global_reg_mentioned_p_1): New function.
  21588. 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  21589. * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
  21590. UNIX assert.h.
  21591. * fixinc/fixincl.x: Regenerate.
  21592. 2002-03-20 Jason Merrill <jason@redhat.com>
  21593. * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
  21594. 2002-03-20 Michael Meissner <meissner@redhat.com>
  21595. * doc/invoke.texi (Optimize Options): Document that -O2 sets
  21596. -fstrict-aliasing.
  21597. 2002-03-20 Bob Wilson <bob.wilson@acm.org>
  21598. * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
  21599. ".literal_position" directive before the constant pool.
  21600. 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  21601. * doc/contrib.texi (Contributors): Update Geoffrey Keating.
  21602. Add Craig Rodrigues.
  21603. Add Brad Lucier to testers.
  21604. 2002-03-20 Jakub Jelinek <jakub@redhat.com>
  21605. PR target/4792
  21606. * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
  21607. to if_then_else.
  21608. (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
  21609. * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
  21610. instead of insn_extract.
  21611. 2002-03-20 Jakub Jelinek <jakub@redhat.com>
  21612. PR bootstrap/4192
  21613. * config/fr30/fr30.md (jump): Remove clobber of fixed register.
  21614. * genemit.c (output_added_clobbers_hard_reg_p): Only output return
  21615. stmt if some case has been output.
  21616. 2002-03-20 Jakub Jelinek <jakub@redhat.com>
  21617. PR c/5972
  21618. * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
  21619. movsfcc_1, movdfcc_1): Add %O2.
  21620. * config/i386/i386.c (print_operand): Handle %ON.
  21621. Print . before float condition codes in Sun as cmov syntax.
  21622. * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
  21623. * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
  21624. no longer true.
  21625. 2002-03-20 Philip Blundell <pb@nexus.co.uk>
  21626. * config/arm/arm.c (arm_output_epilogue): Don't generate separate
  21627. return instruction if PC was popped.
  21628. 2002-03-20 Bob Wilson <bob.wilson@acm.org>
  21629. * config/xtensa/xtensa.md: Remove unused type attributes.
  21630. (adddi_carry, subddi_carry): Change type attribute to "multi".
  21631. 2002-03-19 Dale Johannesen <dalej@apple.com>
  21632. PR optimization/5999, middle-end/5731
  21633. * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
  21634. multiplications by reciprocals.
  21635. 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
  21636. * Makefile.in: Update.
  21637. * c-common.c: Include langhooks.h.
  21638. (inline_forbidden_p): Use new hook.
  21639. * diagnostic.c: Include langhooks.h.
  21640. (format_with_decl, announce_function,
  21641. default_print_error_function): Use new hook.
  21642. * dwarf2out.c (dwarf2_name): Use new hook.
  21643. * function.c: Include langhooks.h.
  21644. (init_function_start): Use new hook.
  21645. * langhooks-def.h (lhd_decl_printable_name): New.
  21646. (LANGHOOKS_DECL_PRINTABLE_NAME): New.
  21647. (LANGHOOKS_INITIALIZER): Update.
  21648. * langhooks.c (lhd_decl_printable_name): New.
  21649. * langhooks.h (struct lang_hooks): New hook.
  21650. * toplev.c (decl_name, decl_printable_name): Remove.
  21651. (open_dump_file): Use new hook.
  21652. (process_options): Remove old hook.
  21653. * tree.h (decl_printable_name): Remove.
  21654. objc:
  21655. * objc-act.c (objc_init): Remove old hook.
  21656. (objc_printable_name): Export.
  21657. * objc-act.h (objc_printable_name): New.
  21658. * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
  21659. 2002-03-19 Jim Blandy <jimb@redhat.com>
  21660. * c-lex.c (cb_file_change): Pass the #inclusion's line number to
  21661. the start_source_file debug hook, not the current line number.
  21662. 2002-03-19 Richard Henderson <rth@redhat.com>
  21663. * flow.c (EH_USES): Provide default.
  21664. (calculate_global_regs_live): Use it for EH edges and noreturn calls.
  21665. * doc/tm.texi (EH_USES): New.
  21666. * config/ia64/ia64.c (ia64_eh_uses): New.
  21667. * config/ia64/ia64-protos.h: Update.
  21668. * config/ia64/ia64.h (EH_USES): New.
  21669. 2002-03-19 Richard Henderson <rth@redhat.com>
  21670. * varasm.c (output_constant_def): Fix stupid typo.
  21671. 2002-03-19 Richard Henderson <rth@redhat.com>
  21672. PR 5879
  21673. * except.c (current_function_has_exception_handlers): New.
  21674. * except.h: Declare it.
  21675. * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
  21676. Combine tests that disable all sibcalls for the function.
  21677. 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
  21678. * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
  21679. for INTEGER_CST.
  21680. 2002-03-19 Richard Henderson <rth@redhat.com>
  21681. PR 5977, 5991
  21682. * config/ia64/ia64.c: Revert 2002-03-01 patch.
  21683. * config/ia64/ia64.h (INIT_EXPANDERS): New.
  21684. 2002-03-19 Jim Blandy <jimb@redhat.com>
  21685. * cppmacro.c (cpp_macro_definition): Emit a space after the macro
  21686. name, even if the replacement list contains no tokens, as required
  21687. by Dwarf.
  21688. 2002-03-19 Jason Merrill <jason@redhat.com>
  21689. * varasm.c (globalize_decl): Get the name from the RTL, not
  21690. DECL_ASSEMBLER_NAME.
  21691. * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
  21692. 2002-03-19 Bob Wilson <bob.wilson@acm.org>
  21693. * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
  21694. subdi_carry): Define.
  21695. 2002-03-19 David Edelsohn <edelsohn@gnu.org>
  21696. * config/rs6000/rs6000.c (rs6000_override_options): Only warn
  21697. about -fpic/-fPIC if extra_warnings set.
  21698. 2002-03-19 David Edelsohn <edelsohn@gnu.org>
  21699. * expr.c (expand_expr): Sign-extend CONST_INT generated from
  21700. TREE_STRING_POINTER.
  21701. * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
  21702. Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  21703. * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
  21704. in favor of SP if FRAME_POINTER_REQUIRED is false.
  21705. 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
  21706. * emit-rtl.c (gen_int_mode): New function.
  21707. * rtl.h: Prototype for it.
  21708. * combine.c (make_extraction, simplify_comparison), expmed.c
  21709. (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
  21710. (convert_modes, store_field), optabs.c (expand_fix),
  21711. simplify-rtx.c (neg_const_int, simplify_unary_real),
  21712. * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
  21713. Use it instead of GEN_INT (trunc_int_for_mode (...)).
  21714. 2002-03-19 Jakub Jelinek <jakub@redhat.com>
  21715. PR c/5656
  21716. * langhooks.h (struct lang_hooks_for_tree_inlining): Add
  21717. convert_parm_for_inlining.
  21718. * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
  21719. Define.
  21720. * langhooks-def.h: Likewise.
  21721. * objc/objc-lang.c: Likewise.
  21722. * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
  21723. function.
  21724. * tree-inline.c (initialize_inlined_parameters):
  21725. Call convert_parm_for_inlining lang hook if needed.
  21726. * c-typeck.c (c_convert_parm_for_inlining): New function.
  21727. * c-tree.h (c_convert_parm_for_inlining): Add prototype.
  21728. 2002-03-18 Mark Mitchell <mark@codesourcery.com>
  21729. * calls.c (precompute_arguments): Do not assume that temporaries
  21730. can be destroyed after expanding the argument.
  21731. (expand_call): Likewise.
  21732. 2002-03-15 Eric Christopher <echristo@redhat.com>
  21733. * config/mips/mips.md (movdf_internal2): Add two new move constraints.
  21734. Fix register preference on last change.
  21735. * config/mips/mips.c (mips_return_in_memory): New function.
  21736. * config/mips/mips.h (RETURN_IN_MEMORY): Use.
  21737. * config/mips/mips-protos.h: Declare.
  21738. * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
  21739. * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
  21740. 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
  21741. * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
  21742. a register too.
  21743. (anddi3, iorsi3): Likewise.
  21744. * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
  21745. use %gprel for symbols that are going to be placed in linkonce
  21746. sections.
  21747. * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
  21748. RETURN_ADDRESS_POINTER_REGNUM to $ra.
  21749. (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
  21750. not needed. Disregard leaf_function_p().
  21751. (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
  21752. mips16 frame pointer.
  21753. * config/mips/mips.md (store ra): Only to small SP offsets.
  21754. 2001-08-22 Graham Stott <grahams@redhat.com>
  21755. * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
  21756. return a REG rtx for the return address register.
  21757. 2002-03-18 Bob Wilson <bob.wilson@acm.org>
  21758. * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
  21759. constant-pool addresses as "mode-dependent".
  21760. (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
  21761. 2002-03-18 Jakub Jelinek <jakub@redhat.com>
  21762. PR target/5740
  21763. * expr.c (emit_group_load): Use extract_bit_field if
  21764. needed for CONCAT arguments.
  21765. 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
  21766. PR target/4863
  21767. * arm.md (tablejump): Make this a define_expand. For PIC add the
  21768. offset to the base of the table.
  21769. (thumb_tablejump): Matcher for Thumb tablejump insn.
  21770. * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
  21771. as the difference of two labels.
  21772. * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
  21773. * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
  21774. tables in the code.
  21775. * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
  21776. * arm.c (get_jump_table_size): If the table is not in the text
  21777. section, return zero.
  21778. 2002-03-18 Bernd Schmidt <bernds@redhat.com>
  21779. * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
  21780. of gen_rtx_SUBREG.
  21781. (arm_reload_out_hi): Use gen_lowpart instead of
  21782. gen_rtx_SUBREG to access QImode components.
  21783. * config/arm/arm.md: Disable zero_extend split for QImode
  21784. subregs in BIG_ENDIAN mode.
  21785. (storehi_bigend): Match use of least significant byte.
  21786. (storeinthi): Remove extraneous SUBREG.
  21787. Add missing construction of operands[2].
  21788. (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
  21789. (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
  21790. Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
  21791. 2002-03-18 Aldy Hernandez <aldyh@redhat.com>
  21792. * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
  21793. any_operand.
  21794. 2002-03-17 Richard Henderson <rth@redhat.com>
  21795. * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
  21796. explicitly.
  21797. 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
  21798. * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
  21799. (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
  21800. 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  21801. * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
  21802. * predict.c (estimate_bb_frequencies): Delete unused variables.
  21803. 2002-03-17 Richard Henderson <rth@redhat.com>
  21804. * config/ia64/ia64.c (ia64_attribute_table): Move before
  21805. targetm definition. Make static.
  21806. 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
  21807. * c-common.h (yyparse, c_common_parse_file): New.
  21808. * c-lang.c: Include c-common.h.
  21809. (LANG_HOOKS_PARSE_FILE): Redefine.
  21810. * c-lex.c: Include c-common.h.
  21811. (yyparse): Rename c_common_parse_file. Call yyparse.
  21812. * c-parse.in (yyparse): Remove macro.
  21813. * c-tree.h (yyparse_1): Remove.
  21814. * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
  21815. (LANG_HOOKS_INITIALIZER): Update.
  21816. * langhooks.h (struct lang_hoooks): New hook parse_file.
  21817. * toplev.c (compile_file): Use parse_file hook.
  21818. * tree.h (yyparse): Remove.
  21819. * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
  21820. 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
  21821. * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
  21822. float_truncate, not fix.
  21823. ("*truncdfsf2_real"): Ditto.
  21824. ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
  21825. * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
  21826. 2002-03-16 Alexandre Oliva <aoliva@redhat.com>
  21827. * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
  21828. (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
  21829. where appropriate. Make the second reference to
  21830. leaf_function_p a function call, as intended. Reindented.
  21831. * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
  21832. * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
  21833. * config/mips/mips.md (addsi3, adddi3): Use scratch register to
  21834. add register to non-constant into sp.
  21835. * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
  21836. * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
  21837. (mips16_gp_pseudo_rtx): Lose.
  21838. (INIT_EXPANDERS): Deleted.
  21839. * config/mips/mips.c (mips_init_machine_status): New.
  21840. (mips_free_machine_status): New.
  21841. (mips_mark_machine_status): New.
  21842. (override_options): Set them.
  21843. (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
  21844. (struct machine_function): ... new. Replaced all references.
  21845. (mips_add_gc_roots): Don't mark them.
  21846. (embedded_pic_fnaddr_reg): New, extracted from...
  21847. (embedded_pic_offset): ... here.
  21848. * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
  21849. (movsi): Likewise.
  21850. 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
  21851. * cppinit.c: Revert -MD removal.
  21852. 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21853. * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
  21854. soft registers by default for 68HC12.
  21855. (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
  21856. when compiling with -fomit-frame-pointer.
  21857. (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
  21858. (expand_epilogue): Likewise.
  21859. (m68hc11_gen_rotate): Use exg when rotating by 8.
  21860. 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21861. * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
  21862. * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
  21863. (splits): Remove unused add splits.
  21864. ("*addhi3_68hc12"): Tune constraints.
  21865. ("addhi_sp"): Try to use X instead of Y in all cases and if the
  21866. constant fits in 8-bits and D is dead use abx/aby instructions.
  21867. ("*addhi3"): Remove extern declaration of ix_reg.
  21868. ("*subsi3"): Optimize and provide new split.
  21869. ("subhi3"): Cleanup.
  21870. ("*subhi3_sp"): Avoid saving X if we know it is dead.
  21871. (arith splits): For 68hc12 save the address register on the stack
  21872. and do the arithmetic operation with a pop.
  21873. 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21874. * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
  21875. allocating QImode in address registers.
  21876. ("*movqi_m68hc11"): Likewise.
  21877. Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
  21878. * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
  21879. 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
  21880. * cppinit.c (print_help): Display -MD and -MMD.
  21881. Don't display usage string. Update assertion syntax and
  21882. typo.
  21883. (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
  21884. (cpp_handle_option): Update.
  21885. 2002-03-15 Chris Demetriou <cgd@broadcom.com>
  21886. * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
  21887. MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
  21888. and define it so that regardless of target CPU size,
  21889. __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
  21890. of "int" rather than "long."
  21891. 2002-03-15 Richard Henderson <rth@redhat.com>
  21892. * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
  21893. size as a tree.
  21894. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21895. * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
  21896. ("tstqi" split): Avoid using memory for tstqi on address register.
  21897. (splits): Remove constraints.
  21898. ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
  21899. ("cmpdf", "cmpsf"): Remove since not used.
  21900. ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
  21901. (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
  21902. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21903. * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
  21904. ("neghi2"): Tighten constraints.
  21905. ("one_cmplsi2"): Optimize and simplify split.
  21906. * config/m68hc11/larith.asm (__negsi2): Likewise for library.
  21907. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21908. * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
  21909. and split of AND operation to clear the upper bits.
  21910. ("*logicalsi3_zextqi"): Likewise.
  21911. ("*logicallhi3_zexthi_ashift8"): Likewise.
  21912. ("*logicalsi3_silshr16"): Likewise.
  21913. ("logicalsi3_silshl16"): Likewise.
  21914. ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
  21915. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21916. * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
  21917. (m68hc11_indirect_p): New function.
  21918. (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
  21919. (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
  21920. TARGET_M6812.
  21921. (asm_print_register): Likewise.
  21922. * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
  21923. (m68hc11_indirect_p): Declare.
  21924. * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
  21925. (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
  21926. (TARGET_SWITCHES): New option -mrelax.
  21927. * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
  21928. destination.
  21929. ("iorsi3", "xorsi3"): Likewise.
  21930. ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
  21931. ("*andhi3_mem"): New to handle destination in memory with bclr
  21932. and a scratch register.
  21933. ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
  21934. ("*andhi3_const"): New when operand2 is constant.
  21935. ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
  21936. ("*andhi3_gen"): Cleanup of the old "andhi3".
  21937. ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
  21938. ("xorqi3"): Update constraints.
  21939. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21940. * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
  21941. for reg_equiv_memory_loc when the operand is a register that does
  21942. not get a hard register (stack location).
  21943. (tst_operand): After reload, accept all memory operand.
  21944. (symbolic_memory_operand): Fix detection of symbolic references.
  21945. * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
  21946. accept symbols and any constant.
  21947. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21948. * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
  21949. note on the insn that sets the soft frame register.
  21950. (must_parenthesize): ix and iy are also reserved names.
  21951. (print_operand_address): One more place where parenthesis are required
  21952. to avoid confusion with register names.
  21953. (m68hc11_gen_movhi): Allow push of stack pointer.
  21954. (m68hc11_check_z_replacement): Fix handling of parallel with a
  21955. clobber.
  21956. (m68hc11_z_replacement): Must update the REG_INC notes to tell what
  21957. the replacement register is.
  21958. * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
  21959. and D8_REGS classes.
  21960. (MODES_TIEABLE_P): All modes are tieable except QImode.
  21961. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21962. * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
  21963. (___subdi3): Likewise.
  21964. (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
  21965. (__map_data_section): Optimize 68hc11 case.
  21966. 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  21967. * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
  21968. than a shift to avoid adding a register with itself.
  21969. (m68hc11_memory_move_cost): Take into account NO_REGS.
  21970. (m68hc11_register_move_cost): Update and use memory move cost
  21971. for soft registers.
  21972. (m68hc11_address_cost): Make cost of valid offset not 0 so that
  21973. it gives more opportunities to cse to optimize.
  21974. * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
  21975. * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
  21976. 2002-03-15 Mark Mitchell <mark@codesourcery.com>
  21977. * c-common.c (statement_code_p): Handle CLEANUP_STMT.
  21978. * c-common.def (CLEANUP_STMT): New tree node.
  21979. * c-common.h (CLEANUP_DECL): New macro.
  21980. (CLEANUP_EXPR): Likewise.
  21981. * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
  21982. * expr.c (expand_expr): Tidy.
  21983. * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
  21984. * tree-inline.c (initialize_inlined_parameters): Clean up
  21985. new local variables.
  21986. 2002-03-15 Jakub Jelinek <jakub@redhat.com>
  21987. PR bootstrap/4128
  21988. * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
  21989. before movrXX only, use reg_overlap_mentioned_p.
  21990. Only special case NE if just one insn can be generated.
  21991. 2002-03-15 Jason Merrill <jason@redhat.com>
  21992. * varasm.c (assemble_variable): Call resolve_unique_section before
  21993. checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
  21994. of error_mark_node.
  21995. 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
  21996. PR target/5170
  21997. * arm.md (split pattern for thumb shiftable immediates): Add comment
  21998. explaining non-obvious test.
  21999. 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
  22000. PR target/5712
  22001. * arm.md (movaddr, movaddr_insn): Delete.
  22002. 2002-03-15 Jason Merrill <jason@redhat.com>
  22003. * toplev.c (wrapup_global_declarations): Clarify variable handling.
  22004. -fkeep-static-consts doesn't apply to comdats.
  22005. 2002-03-14 Richard Henderson <rth@redhat.com>
  22006. * c-decl.c: Include c-pragma.h.
  22007. (start_decl, start_function): Invoke maybe_apply_pragma_weak.
  22008. (finish_function): Tidy.
  22009. * c-pragma.c: Include c-common.h.
  22010. (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
  22011. (handle_pragma_weak): Use them.
  22012. (init_pragma): Register pending_weaks.
  22013. * c-pragma.h (maybe_apply_pragma_weak): Declare.
  22014. * print-tree.c (print_node): Print DECL_WEAK.
  22015. * varasm.c (mark_weak_decls): Remove.
  22016. (remove_from_pending_weak_list): Remove.
  22017. (add_weak): Remove.
  22018. (asm_emit_uninitialised): Call globalize_decl for weak commons.
  22019. (weak_decls): Make a tree_list.
  22020. (declare_weak): Cons weak_decls directly.
  22021. (globalize_decl): Remove weak_decls elements directly.
  22022. (weak_finish): Simplify weak_decls walk. Don't weaken unused
  22023. symbols. Don't pretend to handle aliases.
  22024. (init_varasm_once): Update weak_decls registry.
  22025. * Makefile.in: Update dependencies.
  22026. 2002-03-14 Richard Henderson <rth@redhat.com>
  22027. PR target/5312
  22028. * config/ia64/ia64.c: Include tm_p.h last.
  22029. (gen_nop_type): Remove duplicate definition.
  22030. (cycle_end_fill_slots): Set sched_data for second L slot.
  22031. (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
  22032. (nop_cycles_until): Fix typos.
  22033. 2002-03-15 Jakub Jelinek <jakub@redhat.com>
  22034. PR optimization/5891
  22035. * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
  22036. 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
  22037. * config/ia64/unwind-ia64.c: Handle copy_state and label_state
  22038. descriptors correctly.
  22039. 2002-03-14 Michael Meissner <meissner@redhat.com>
  22040. * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
  22041. 100, allowing MAX_UNROLLED_INSNS to be overridden.
  22042. * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
  22043. --param.
  22044. * unroll.c (params.h): Include.
  22045. (MAX_UNROLLED_INSNS): Delete, now in params.h.
  22046. * doc/invoke.texi (--param max-unroll-insns): Document.
  22047. * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
  22048. 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
  22049. * arm.md: Fix warnings about constraints in peepholes and splits.
  22050. 2002-03-14 Zack Weinberg <zack@codesourcery.com>
  22051. * cpphash.h (struct lexer_state): Remove line_extension member.
  22052. * cpplib.c (dequote_string, do_linemarker): New functions.
  22053. (linemarker_dir): New data object.
  22054. (DIRECTIVE_TABLE): No longer need to interpret #line in
  22055. preprocessed source. Delete obsolete comment about return
  22056. values of handlers.
  22057. (end_directive, directive_diagnostics, _cpp_handle_directive):
  22058. Don't muck with line_extension.
  22059. (directive_diagnostics): No need to issue warnings for
  22060. linemarkers here.
  22061. (_cpp_handle_directive): Issue warnings for linemarkers here,
  22062. when appropriate. Dispatch linemarkers to do_linemarker, not
  22063. do_line.
  22064. (do_line): Code to handle linemarkers split out to do_linemarker.
  22065. Convert escape sequences in filename argument, both places.
  22066. * cppmacro.c (quote_string): Rename cpp_quote_string and
  22067. export. All callers changed.
  22068. * cpplib.h (cpp_quote_string): Prototype.
  22069. * cppmain.c (print_line): Call cpp_quote_string on to_file
  22070. before printing it.
  22071. * doc/cpp.texi: Document that escapes are now interpreted in
  22072. #line and in linemarkers, and that non-printing characters are
  22073. converted to octal escapes when linemarkers are generated.
  22074. Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
  22075. * emit-rtl.c (try_split): Use delete_insns.
  22076. * recog.c (split_all_insns): Fix terminating condition.
  22077. 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
  22078. Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  22079. PR target/5828
  22080. * arm.c (arm_output_epilogue): Fix floating-point register save
  22081. adjustment when using a frame pointer.
  22082. 2002-03-14 Richard Sandiford <rsandifo@redhat.com>
  22083. * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
  22084. * config/mips/mips.c (compute_frame_size): Retrofit them here.
  22085. (save_restore_insns, mips_expand_epilogue): And here.
  22086. (build_mips16_call_stub): And here.
  22087. (mips_function_value): Use the new macros to decide whether a single
  22088. or complex float can be returned in floating-point registers. Return
  22089. a parallel rtx in the complex case.
  22090. Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
  22091. * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
  22092. call after liveness analysis.
  22093. * recog.c (split_insn): Use delete_insn_and_edges.
  22094. * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
  22095. instructions to have branch prediction notes.
  22096. * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
  22097. 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
  22098. * configure.in: Don't pass -Wno-long-long to a ADA compiler
  22099. that doesn't support it.
  22100. * configure: Regenerate.
  22101. 2002-03-13 Jakub Jelinek <jakub@redhat.com>
  22102. PR target/5626
  22103. * config/sparc/sparc.md (normal_branch, inverted_branch,
  22104. normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
  22105. inverted_fp_branch): Adjust calls to output_cbranch.
  22106. Set length attribute.
  22107. (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
  22108. output_v9branch. Set length attribute.
  22109. * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
  22110. predicates.
  22111. (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
  22112. (output_cbranch): Likewise. Handle far branches.
  22113. (output_v9branch): Handle far branches.
  22114. * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
  22115. Adjust prototypes.
  22116. * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
  22117. noov_compare64_op predicates.
  22118. 2002-03-13 Jason Merrill <jason@redhat.com>
  22119. * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
  22120. into the function and constify it.
  22121. * gthr-dce.h, gthr-solaris.h: Likewise.
  22122. 2002-03-13 David Edelsohn <edelsohn@gnu.org>
  22123. * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
  22124. * config/rs6000/rs6000.c (rs6000_va_arg): Use
  22125. std_expand_builtin_va_arg if not ABI_V4.
  22126. 2002-03-13 Jason Merrill <jason@redhat.com>
  22127. * varasm.c (globalize_decl): New fn.
  22128. (assemble_start_function): Use it.
  22129. (asm_emit_uninitialized): Use it.
  22130. (assemble_alias): Use it.
  22131. (assemble_variable): Use it.
  22132. 2002-03-13 Hans-Peter Nilsson <hp@axis.com>
  22133. * config/cris/cris.c (cris_target_asm_function_prologue): Revert
  22134. 2002-03-12 internal visibility change.
  22135. (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
  22136. visibility into SYMBOL_REF_FLAG.
  22137. 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
  22138. * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
  22139. VOIDmode operand. Add compile-time optimization for constant results.
  22140. 2002-03-12 Jason Merrill <jason@redhat.com>
  22141. * c-typeck.c (convert_for_assignment): Don't allow conversions
  22142. between pointers and references. Only allow lvalues to convert to
  22143. reference.
  22144. 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
  22145. * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
  22146. before prologue, to avoid scheduling problems.
  22147. 2002-03-13 Jakub Jelinek <jakub@redhat.com>
  22148. * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
  22149. (ELIMINABLE_REGS): Add sfp->sp.
  22150. (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
  22151. 2002-03-13 Jakub Jelinek <jakub@redhat.com>
  22152. PR optimization/5892
  22153. * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
  22154. 2002-03-13 Jakub Jelinek <jakub@redhat.com>
  22155. * loop.c (basic_induction_var): Don't call convert_modes if mode
  22156. classes are different.
  22157. 2002-03-12 Richard Henderson <rth@redhat.com>
  22158. PR optimization/5901
  22159. * function.c (reposition_prologue_and_epilogue_notes): Position
  22160. the markers after/before the last/first insn not deleted.
  22161. 2002-03-12 Richard Henderson <rth@redhat.com>
  22162. PR optimization/5878
  22163. * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
  22164. config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
  22165. (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
  22166. * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
  22167. config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
  22168. PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
  22169. * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
  22170. * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
  22171. (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
  22172. also. Don't set it if not flag_pic.
  22173. * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
  22174. to be INVALID_REGNUM when not used.
  22175. 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
  22176. * expmed.c (store_bit_field): Reset alias set for memory.
  22177. (extract_bit_field): Same.
  22178. 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22179. * c-common.c (c_tree_code_type, c_tree_code_length,
  22180. c_tree_code_name, add_c_tree_codes): Delete.
  22181. * c-common.h (add_c_tree_codes): Delete.
  22182. * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
  22183. Define.
  22184. * c-objc-common.c (c_objc_common_init): Don't call
  22185. add_c_tree_codes, instead set lang_unsafe_for_reeval.
  22186. * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
  22187. objc_tree_code_name, add_objc_tree_codes): Delete.
  22188. (objc_init): Don't call add_objc_tree_codes.
  22189. * objc/objc-lang.c (tree_code_type, tree_code_length,
  22190. tree_code_name): Define.
  22191. * toplev.c (lang_independent_init): Don't set
  22192. tree_code_length[IDENTIFIER_NODE].
  22193. * tree.c (tree_code_type, tree_code_length, tree_code_name):
  22194. Delete definitions, moved to language front-ends.
  22195. * tree.def (IDENTIFIER_NODE): Hardwire the length.
  22196. * tree.h (tree_code_type, tree_code_length, tree_code_name):
  22197. Const-ify.
  22198. (tree_code_length): Change type to unsigned char.
  22199. 2002-03-12 Richard Henderson <rth@redhat.com>
  22200. * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
  22201. internal visibility change.
  22202. 2002-03-12 Bob Wilson <bob.wilson@acm.org>
  22203. * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
  22204. validize_mem() instead of change_address to avoid clobbering
  22205. memory attributes.
  22206. 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
  22207. * c-lex.h (position_after_whitespace): Remove.
  22208. 2002-03-12 Jakub Jelinek <jakub@redhat.com>
  22209. * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
  22210. (lex_string): Use unsigned char pointers.
  22211. 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
  22212. * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
  22213. is not a valid memory_operand.
  22214. 2002-03-12 Bob Wilson <bob.wilson@acm.org>
  22215. * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
  22216. * config/xtensa/lib1funcs.asm: Fix copyright to include
  22217. special case for libgcc files.
  22218. (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
  22219. (__divsi3): Likewise.
  22220. (__umodsi3): Likewise.
  22221. (__modsi3): Likewise.
  22222. * config/xtensa/lib2funcs.S: Fix copyright to include
  22223. special case for libgcc files.
  22224. 2002-03-12 Tom Rix <trix@redhat.com>
  22225. * collect2.c (resolve_lib_name): Move outside of
  22226. OBJECT_FORMAT_COFF ifdef.
  22227. (ignore_library): Same.
  22228. 2002-03-12 Bob Wilson <bob.wilson@acm.org>
  22229. * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
  22230. 2002-03-12 Bob Wilson <bob.wilson@acm.org>
  22231. * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
  22232. to function_section before writing out the constant pool.
  22233. 2002-03-12 David Edelsohn <edelsohn@gnu.org>
  22234. * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
  22235. zero_constant.
  22236. * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
  22237. 2002-03-12 Alan Modra <amodra@bigpond.net.au>
  22238. * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
  22239. (adddi3): Likewise.
  22240. (movdf): Likewise.
  22241. (movdi): Likewise.
  22242. (cmpsi splitter): Likewise.
  22243. (modsi3): Fail if <= 0.
  22244. * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
  22245. redundant test when HOST_BITS_PER_WIDE_INT != 32.
  22246. (reg_or_sub_cint64_operand): Likewise.
  22247. (num_insns_constant_wide): Optimize sign extension.
  22248. (rs6000_legitimize_address): Likewise.
  22249. 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
  22250. * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
  22251. * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
  22252. 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
  22253. * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
  22254. address calculation.
  22255. 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
  22256. * config/s390/s390.md (reload_insi, reload_indi): Change mode of
  22257. scratch register to DImode / TImode.
  22258. config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
  22259. register used does not overlap the target.
  22260. 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22261. * Makefile.in (debug.o): Depend on debug.h.
  22262. * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
  22263. * debug.c (do_nothing_debug_hooks): Likewise.
  22264. * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
  22265. sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
  22266. dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
  22267. * dwarf2out.c (dwarf2_debug_hooks): Likewise.
  22268. * dwarfout.c (dwarf_debug_hooks): Likewise.
  22269. * integrate.c (output_inline_function): Likewise.
  22270. * objc/objc-act.c (synth_module_prologue): Likewise.
  22271. * sdbout.c (sdb_debug_hooks): Likewise.
  22272. * toplev.c (debug_hooks): Likewise.
  22273. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
  22274. 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22275. * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
  22276. dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
  22277. m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
  22278. ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
  22279. v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
  22280. * defaults.h (POINTER_SIZE): Define.
  22281. * doc/tm.texi (POINTER_SIZE): Document default.
  22282. 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22283. * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
  22284. 2002-03-11 Richard Henderson <rth@redhat.com>
  22285. * toplev.c (rest_of_compilation): Call purge_all_dead_edges
  22286. if rebuild_label_notes_after_reload.
  22287. 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
  22288. * config/cris/cris.c (cris_target_asm_function_prologue): Do not
  22289. emit pic register load if "internal" visibility.
  22290. (cris_print_operand): Avoid traditional-warning for 0xffffffff.
  22291. (cris_expand_builtin_va_arg): Do all computations on trees.
  22292. 2002-03-11 Richard Henderson <rth@redhat.com>
  22293. * rtlanal.c: Include recog.h.
  22294. (keep_with_call_p): Fix thinko.
  22295. * Makefile.in (rtlanal.o): Update dependencies.
  22296. 2002-03-11 Chris Meyer <cmeyer@gatan.com>
  22297. * genflags.c (gen_insn): Use IS_VSPACE.
  22298. * genoutput.c (output_insn_data): Likewise.
  22299. (process_template): Likewise.
  22300. 2002-03-11 Richard Henderson <rth@redhat.com>
  22301. * toplev.c (rest_of_compilation): Don't compile if we've had errors.
  22302. 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
  22303. * Makefile.in: Update.
  22304. * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
  22305. Update documentation.
  22306. * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
  22307. * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
  22308. 2002-03-11 Zack Weinberg <zack@codesourcery.com>
  22309. * Makefile.in: Give texi2pod its input file as a command line
  22310. argument, not on stdin.
  22311. 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
  22312. Daniel Berlin <dan@dberlin.org>
  22313. C++ alias analysis improvement.
  22314. * alias.c (record_component_aliases): Record aliases for base
  22315. classes too.
  22316. 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
  22317. * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
  22318. 2002-03-11 Douglas B Rupp <rupp@gnat.com>
  22319. * toplev.c (vms_fopen): Remove, not needed.
  22320. * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
  22321. * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
  22322. * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
  22323. for FP, already done later.
  22324. * toplev.c (debug_args): Add entry for VMS_DEBUG.
  22325. * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
  22326. 2002-03-11 Richard Sandiford <rsandifo@redhat.com>
  22327. * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
  22328. (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
  22329. LARGEST_EXPONENT_IS_NORMAL for the given mode.
  22330. (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
  22331. * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
  22332. (ediv, emul, eldexp, esqrt): Likewise.
  22333. (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
  22334. (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
  22335. (saturate): New function.
  22336. (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
  22337. (make_nan): Use a saturation value instead of a NaN if
  22338. LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
  22339. * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
  22340. inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
  22341. zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
  22342. (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
  22343. (_fpmul_parts, _fpdiv_parts): Only round to nearest if
  22344. !ROUND_TOWARDS_ZERO.
  22345. * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
  22346. (ROUND_TOWARDS_ZERO): Document.
  22347. 2002-03-11 Andreas Jaeger <aj@suse.de>
  22348. * cfg.c (dump_flow_info): Remove unused variable.
  22349. 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
  22350. * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
  22351. computations on trees.
  22352. 2002-03-10 Richard Henderson <rth@redhat.com>
  22353. PR 5693:
  22354. * reload.c (copy_replacements_1): New.
  22355. (copy_replacements): Use it to recurse through the rtx.
  22356. 2002-03-10 Richard Henderson <rth@redhat.com>
  22357. * loop.c (strength_reduce): Compute number of iterations as
  22358. unsigned HOST_WIDE_INT.
  22359. 2002-03-10 Richard Henderson <rth@redhat.com>
  22360. * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
  22361. to move away from the end of the block.
  22362. 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
  22363. PR preprocessor/5899
  22364. * cppinit.c (init_dependency_output): Don't ignore -dM etc.
  22365. 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22366. * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
  22367. * attribs.c (decl_attributes): Fix signed/unsigned warning.
  22368. 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
  22369. * config/mmix/mmix.c: Improve comments.
  22370. (mmix_target_asm_function_prologue): Drop variable
  22371. empty_stack_frame. Don't allocate unused slot above fp.
  22372. (mmix_target_asm_function_epilogue): Mirror prologue changes.
  22373. * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
  22374. brace in first column.
  22375. (enum reg_class): Ditto.
  22376. (FIRST_PARM_OFFSET): Now 0.
  22377. (USER_LABEL_PREFIX): Remove #if 0:d definition.
  22378. 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22379. * combine.c (make_extraction): Fix error in last change.
  22380. 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22381. * c4x.c (c4x_fp_reglist): Const-ify.
  22382. * cris.c (cris_print_operand): Likewise.
  22383. * i386.c (ix86_va_arg): Likewise.
  22384. * ia64/unwind-ia64.c (unw_decode_table): Likewise.
  22385. * m32r.c (m32r_hard_regno_mode_ok): Likewise.
  22386. * m32r.h (m32r_hard_regno_mode_ok): Likewise.
  22387. * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
  22388. * mcore.h (regno_reg_class): Likewise.
  22389. * mips.c (gen_int_relational): Likewise.
  22390. * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
  22391. * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
  22392. * pdp11.c (move_costs): Likewise.
  22393. * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
  22394. * s390.c (s390_branch_condition_mnemonic, regclass_map):
  22395. Likewise.
  22396. * s390.h (regclass_map): Likewise.
  22397. * sh.c (shift_amounts): Likewise.
  22398. * sh.md (rotlsi3): Likewise.
  22399. 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
  22400. * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
  22401. (ne0+5): Use new clobber to generate proper shift pattern.
  22402. Patch by Michael Matz <matz@kde.org>.
  22403. 2002-03-09 Andreas Schwab <schwab@suse.de>
  22404. * gcc.c (validate_all_switches): Also handle `%W{...}'.
  22405. 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
  22406. * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
  22407. 2002-03-09 Jakub Jelinek <jakub@redhat.com>
  22408. PR middle-end/5877
  22409. * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
  22410. even for non-representable constants.
  22411. Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  22412. * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
  22413. * function.c (fixup_var_refs): Add MAY_SHARE parameter.
  22414. (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
  22415. (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
  22416. (pop_function_context): Compute MAY_SHARE parameter for
  22417. fixup_var_refs.
  22418. (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
  22419. (gen_mem_addressof): Call fixup_var_refs with new parm.
  22420. * combine.c (make_extraction): Don't make extension of CONST_INT.
  22421. 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
  22422. * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
  22423. in o32 and o64 ABIs.
  22424. * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
  22425. but getting fixed-size structs passed in registers regardless of
  22426. padding in o32 and o64 ABIs.
  22427. * config/mips/mips.c (mips_va_arg): Apply big-endianness address
  22428. offset before loading address of argument passed by transparent
  22429. reference.
  22430. 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
  22431. * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
  22432. 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
  22433. * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
  22434. marker such that registers after it are saved.
  22435. 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22436. * sparc.c (arith_4096_operand): Fix error in last change.
  22437. 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
  22438. * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
  22439. defaults for MEABI.
  22440. 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
  22441. * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
  22442. vectors.
  22443. 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
  22444. * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
  22445. Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
  22446. * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
  22447. removed; fix return value.
  22448. * combine.c (combine_instructions): Dirtify blocks where we failed to
  22449. update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
  22450. * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
  22451. 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22452. * gcse.c (insert_insn_end_bb): Fix typo in last change.
  22453. Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
  22454. * recog.c (peephole2_optimize): Re-distribute EH edges.
  22455. 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
  22456. * expr.c (expand_expr): Use unsave lang hook.
  22457. * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
  22458. (LANG_HOOKS_INITIALIZER): Update.
  22459. * langhooks.h (struct lang_hooks): New hook unsave.
  22460. * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
  22461. (unsave_expr_1): Remove unused lang_unsave_expr_now.
  22462. (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
  22463. (unsave_expr_now): Remove.
  22464. * tree.h (unsave_expr_now, lang_unsave,
  22465. lang_unsave_expr_now): Remove.
  22466. (lhd_unsave): New.
  22467. 2002-03-08 Andreas Jaeger <aj@suse.de>
  22468. * flow.c (propagate_block_delete_insn): Remove unused variable.
  22469. 2002-03-08 Kazu Hirata <kazu@hxi.com>
  22470. * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
  22471. insn length for memory load/store.
  22472. 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
  22473. * doc/install.texi (--with-libiconv-prefix): Document.
  22474. 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
  22475. * doc/sourcebuild.texi: Fix typo.
  22476. 2002-03-08 Jakub Jelinek <jakub@redhat.com>
  22477. PR c/3711
  22478. * builtins.c (std_expand_builtin_va_arg): Do all computations on
  22479. trees.
  22480. Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  22481. * rtl.c (copy_most_rtx): Move from here ...
  22482. * emit-rtl.c (copy_most_rtx): ... to here.
  22483. 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
  22484. * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
  22485. SUBTARGET_CPP_SIZE_SPEC.
  22486. * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
  22487. * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
  22488. 2002-03-07 Matt Hiller <hiller@redhat.com>
  22489. * gensupport.c (first_dir_md_include): Renamed from include;
  22490. change all references.
  22491. (last_dir_md_include): Renamed from last_include; change all
  22492. references.
  22493. (init_md_reader): Unconditionally initialize base_dir whether or
  22494. not filename is a relative path.
  22495. 2002-03-07 Alexandre Oliva <aoliva@redhat.com>
  22496. * config/fp-bit.c (_unord_f2): Compile it in even if
  22497. US_SOFTWARE_GOFAST is enabled.
  22498. * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
  22499. NULL_RTX. Set all HFmode operations as NULL_RTX.
  22500. * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
  22501. NULL_RTX, try reversing the comparison and the operands.
  22502. 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
  22503. * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
  22504. genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
  22505. and MATCH_OP_DUP.
  22506. Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
  22507. * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
  22508. Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
  22509. * basic-block.h (fixup_abnormal_edges): Declare.
  22510. * reload1.c (fixup_abnormal_edges): New function.
  22511. * reg-stack.c (convert_regs): Use it.
  22512. * gcse.c (insert_insn_end_bb): Handle trapping insns.
  22513. * gcse.c (hash_scan_set): Refuse instructions with EH edges.
  22514. 2002-03-07 Richard Sandiford <rsandifo@redhat.com>
  22515. * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
  22516. (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
  22517. * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
  22518. (HONOR_SIGN_DEPENDENT_ROUNDING): New.
  22519. * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
  22520. * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
  22521. unless x and y could be infinite.
  22522. (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
  22523. Check that the common type of both arguments is a real, even for
  22524. targets without unordered comparisons. Allow an integer argument
  22525. to be compared against a real.
  22526. (expand_tree_builtin): Use expand_unordered_cmp.
  22527. * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
  22528. * cse.c (fold_rtx): Likewise. Fix indentation.
  22529. * fold-const.c (fold_real_zero_addition_p): New.
  22530. (fold): Use it, and the new HONOR_... macros.
  22531. * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
  22532. * jump.c (reversed_comparison_code_parts): After searching for
  22533. the true comparison mode, use HONOR_NANS to decide whether it
  22534. can be safely reversed.
  22535. (reverse_condition_maybe_unordered): Remove IEEE check.
  22536. * simplify-rtx.c (simplify_binary_operation): Use the new macros
  22537. to decide which simplifications are valid. Allow the following
  22538. simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
  22539. and (a - -b) to (a + b).
  22540. (simplify_relational_operation): Use HONOR_NANS.
  22541. * doc/tm.texi: Document the MODE_HAS_... macros.
  22542. 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
  22543. * combine.c (simplify_comparison): If simplifying a logical shift
  22544. right and compare with constant, force the comparison to unsigned.
  22545. 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
  22546. * doc/invoke.texi: Add documentation for -mabi=no-altivec.
  22547. * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
  22548. -mabi=no-altivec
  22549. (alt_reg_names): Remove % for vrsave.
  22550. 2002-03-06 Richard Henderson <rth@redhat.com>
  22551. PR optimization/5844
  22552. * genemit.c (gen_exp): New argument used. Invoke copy_rtx
  22553. if used indicates we've already emitted one copy of an operand.
  22554. (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
  22555. (gen_split): Supply a non-null used.
  22556. 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
  22557. * reload1.c (reload): Unshare all rtl after reload is done.
  22558. * simplify-rtx.c (simplify_plus_minus): Do not abort,
  22559. but simply fail if the expression is too complex to simplify.
  22560. (simplify_gen_binary): Handle simplify_plus_minus failures.
  22561. Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
  22562. * toplev.c (rest_of_compilation): Do jump threading before SSA path;
  22563. consistently call delete_trivially_dead_insns after CSE and GCSE;
  22564. fix DFI_life dumping; do jump threading after liveness; do crossjumping
  22565. after liveness2; update comment in last crossjumping.
  22566. * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
  22567. Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
  22568. * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
  22569. after completing fast dead code elimination.
  22570. * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
  22571. COMPARE operator.
  22572. 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
  22573. * version.c: Fix misplaced leading blanks on first line.
  22574. Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
  22575. * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
  22576. Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
  22577. * cfgcleanup.c (mentions_nonequal_regs): New function.
  22578. (thread_jump): Use it.
  22579. * toplev.c (rest_of_compilation): Run jump threading after
  22580. liveness.
  22581. 2002-03-06 Jakub Jelinek <jakub@redhat.com>
  22582. * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
  22583. patch.
  22584. Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
  22585. * predict.c (estimate_bb_frequencies): Do not reload the
  22586. frequencies from notes.
  22587. Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
  22588. * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
  22589. * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
  22590. * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
  22591. delete_noop_moves): Return indeger.
  22592. * flow.c (ndead): New variable.
  22593. (propagate_block_delete_insn): Use delete_insn_and_edges; remove
  22594. BB argument; update callers.
  22595. (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
  22596. (life_analysis): Do not call purge_all_dead_edges.
  22597. (update_life_info): Return number of deleted insns; print statistics.
  22598. (update_life_info_in_dirty_blocks): likewise.
  22599. (delete_noop_moves): Use delete_insn_and_edges; print statistics;
  22600. return number of insns deleted.
  22601. * cse.c: Include timevar.h
  22602. (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
  22603. iterate until stabilizes; print statistics; return number of killed
  22604. insns.
  22605. * Makefile.in: (cse.o): Add timevar.h dependency
  22606. * rtl.h (delete_trivially_dead_insns): New.
  22607. * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
  22608. * toplev.c (rest_of_compilation): Update callers.
  22609. * cfgcleanup.c (try_optimize_cfg): Kill blocks.
  22610. (try_optimize_cfg): Do not update liveness.
  22611. (cleanup-cfg): Loop until try_optimize_cfg and dead code
  22612. removal stabilizes; use delete_trivially_dead_insns.
  22613. * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
  22614. 2002-03-05 Zack Weinberg <zack@codesourcery.com>
  22615. * cppmain.c (setup_callbacks): Disable #pragma and #ident
  22616. callbacks when processing assembly language.
  22617. 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
  22618. * pa.h (ASM_FILE_END): Define.
  22619. * som.h (ASM_FILE_END): Delete.
  22620. * pa.c (function_arg): Don't pass floats in general registers in
  22621. indirect calls if TARGET_ELF32.
  22622. 2002-03-05 Richard Henderson <rth@redhat.com>
  22623. * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
  22624. 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
  22625. * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
  22626. 2002-03-05 Jakub Jelinek <jakub@redhat.com>
  22627. * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
  22628. -r command line. Don't hide any symbols if not building
  22629. shared libgcc.
  22630. Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
  22631. * cfg.c (dump_flow_info): Warn about profile mismatches.
  22632. * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
  22633. (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
  22634. 2002-03-05 Jakub Jelinek <jakub@redhat.com>
  22635. * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
  22636. wide volatile memory by parts.
  22637. 2002-03-05 Jakub Jelinek <jakub@redhat.com>
  22638. * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
  22639. is NULL.
  22640. 2002-03-05 Richard Henderson <rth@redhat.com>
  22641. * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
  22642. 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
  22643. * toplev.c (documented_lang_options): Document more
  22644. language-specific options.
  22645. * doc/invoke.texi (Warning Options): Correct documentation for
  22646. -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
  22647. * c-decl.c (c_decode_option): Use a table to handle warning options.
  22648. 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
  22649. * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
  22650. parameter to mmix_encode_section_info.
  22651. (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
  22652. relocatably. Always produce ELF, not mmo if linking relocatably.
  22653. * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
  22654. first is nonzero, don't add symbol prefix.
  22655. * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
  22656. prototype accordingly.
  22657. 2002-03-04 Krister Walfridsson <cato@df.lth.se>
  22658. * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
  22659. 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
  22660. * configure.in: Increase required makeinfo version to 4.1.
  22661. * configure: Regenerate.
  22662. 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
  22663. * .cvsignore: Remove *.info* and genrtl*; these files are generated
  22664. elsewhere now.
  22665. 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
  22666. * doc/include/texinfo.tex: Update to version 2002-03-01.06.
  22667. * doc/invoke.texi: Fix @math uses.
  22668. Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
  22669. * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
  22670. removal
  22671. 2002-03-03 Aldy Hernandez <aldyh@redhat.com>
  22672. * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
  22673. (powerpc-*-eabisimaltivec*): Same.
  22674. * config/rs6000/t-ppcendian: New.
  22675. 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
  22676. * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
  22677. nonimmediate_src_operand and nonimmediate_lsrc_operand to
  22678. disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
  22679. 2002-03-03 Richard Henderson <rth@redhat.com>
  22680. * toplev.c (rest_of_decl_compilation): Revert last two changes.
  22681. 2002-03-03 Zack Weinberg <zack@codesourcery.com>
  22682. * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
  22683. print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
  22684. tree.c, config/m68k/m68k.c:
  22685. Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
  22686. REAL_ARITHMETIC blocks unconditional. Delete some further
  22687. #ifdef blocks predicated on REAL_ARITHMETIC.
  22688. * flags.h, toplev.c: Delete remaining references to
  22689. flag_pretend_float.
  22690. * doc/invoke.texi: Remove documentation of -fpretend-float.
  22691. * doc/tm.texi: Describe the various REAL_* macros as provided by
  22692. real.h, not by the target configuration files.
  22693. * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
  22694. config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
  22695. config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
  22696. config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
  22697. config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
  22698. config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
  22699. config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
  22700. config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
  22701. config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
  22702. config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
  22703. config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
  22704. config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
  22705. config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
  22706. config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
  22707. config/xtensa/xtensa.h:
  22708. Do not define, undefine, or mention in comments any of
  22709. REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
  22710. REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
  22711. REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
  22712. REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
  22713. REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
  22714. REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
  22715. REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
  22716. REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
  22717. REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
  22718. 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22719. * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
  22720. convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
  22721. i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
  22722. m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
  22723. pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
  22724. stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
  22725. Delete.
  22726. * defaults.h (BITS_PER_WORD): Define.
  22727. * doc/tm.texi (BITS_PER_WORD): Document default value.
  22728. * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
  22729. m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
  22730. stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
  22731. 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22732. * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
  22733. lieu of explicit sizeof/sizeof.
  22734. * i386.c (override_options, ix86_init_mmx_sse_builtins,
  22735. ix86_expand_builtin): Likewise.
  22736. * mips.c (mips_add_gc_roots): Likewise.
  22737. * mmix.c (mmix_output_condition): Likewise.
  22738. * rs6000.c (rs6000_override_options, altivec_expand_builtin,
  22739. altivec_init_builtins): Likewise.
  22740. * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
  22741. * cppexp.c (Nsuff, parse_number): Likewise.
  22742. * cppinit.c (builtin_array_end): Likewise.
  22743. * gcc.c (n_default_compilers, process_command): Likewise.
  22744. * genpreds.c (output_predicate_decls): Likewise.
  22745. * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
  22746. * lcm.c (N_ENTITIES): Likewise.
  22747. * stor-layout.c (set_sizetype): Likewise.
  22748. 2002-03-03 Richard Henderson <rth@redhat.com>
  22749. * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
  22750. for types or labels.
  22751. 2002-03-03 Richard Henderson <rth@redhat.com>
  22752. * c-decl.c (start_decl): Initialized variables are not common.
  22753. 2002-03-02 Per Bothner <per@bothner.com>
  22754. * gcc.c (option_map): Suport new --bootclasspath option.
  22755. --CLASSPATH is now just an alias for --classpath.
  22756. 2002-03-02 Richard Henderson <rth@redhat.com>
  22757. * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
  22758. load if "internal" visibility.
  22759. * doc/extend.texi: Document visibility meanings.
  22760. 2002-03-02 Richard Henderson <rth@redhat.com>
  22761. * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
  22762. to functions as well.
  22763. 2002-03-02 Richard Henderson <rth@redhat.com>
  22764. * attribs.c (handle_alias_attribute): Don't call assemble_alias.
  22765. (handle_visibility_attribute): Don't call assemble_visibility.
  22766. * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
  22767. without asmspec. Invoke assemble_alias when needed.
  22768. * varasm.c (maybe_assemble_visibility): New.
  22769. (assemble_start_function, assemble_variable, assemble_alias): Use it.
  22770. 2002-03-02 Richard Henderson <rth@redhat.com>
  22771. * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
  22772. invoke ENCODE_SECTION_INFO with first call flag.
  22773. * config/darwin-protos.h, config/darwin.c, config/darwin.h,
  22774. config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
  22775. config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
  22776. config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
  22777. config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
  22778. config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
  22779. config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
  22780. config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
  22781. config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
  22782. config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
  22783. config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
  22784. config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
  22785. config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
  22786. config/m68hc11/m68hc11.h, config/m88k/m88k.h,
  22787. config/mcore/mcore-protos.h, config/mcore/mcore.c,
  22788. config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
  22789. config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
  22790. config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
  22791. config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
  22792. config/sh/sh.h, config/sparc/sparc.h,
  22793. config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
  22794. config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
  22795. config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
  22796. FIRST argument. As needed, examine it and do nothing.
  22797. * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
  22798. config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
  22799. config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
  22800. * config/arm/t-pe (pe.o): Add dependencies.
  22801. 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22802. * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
  22803. cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
  22804. i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
  22805. mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
  22806. pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
  22807. vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
  22808. * defaults.h (BITS_PER_UNIT): Define.
  22809. * doc/tm.texi (BITS_PER_UNIT): Document default value.
  22810. 2002-03-02 Kazu Hirata <kazu@hxi.com>
  22811. * config/h8300/h8300-protos.h: Add a prototype for
  22812. compute_a_shift_length.
  22813. * config/h8300/h8300.c (h8300_asm_insn_count): New.
  22814. (compute_a_shift_length): Likewise.
  22815. (h8300_adjust_insn_length): Do not adjust insn length of shift
  22816. insns.
  22817. * config/h8300/h8300.md (anonymous shift patterns): Use
  22818. compute_a_shift_length.
  22819. Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  22820. * config/sparc/sparc.c (sparc_initialize_trampoline): Use
  22821. trunc_int_for_mode.
  22822. * emit-rtl.c (offset_address): Call update_temp_slot_address.
  22823. 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  22824. * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
  22825. * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
  22826. * flags.h (flag_zero_initialized_in_bss): Declare.
  22827. * toplev.c (flag_zero_initialized_in_bss): New flag.
  22828. (lang_independent_options): Add flag_zero_initialized_in_bss.
  22829. * tree.c (initializer_zerop): New function.
  22830. * tree.h (initializer_zerop): Declare.
  22831. * varasm.c (assemble_variable): If we can emit bss, put zero
  22832. initializers in the bss section.
  22833. 2002-03-02 Alan Modra <amodra@bigpond.net.au>
  22834. * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
  22835. like more than one symbol per .weak directive.
  22836. 2002-03-01 Richard Henderson <rth@redhat.com>
  22837. * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
  22838. adjust argument_pointer by pretend_args_size.
  22839. (ia64_va_start): Adjust va_start address by -pretend_args_size.
  22840. 2002-03-01 Kazu Hirata <kazu@hxi.com>
  22841. * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
  22842. Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
  22843. * toplev.c (rest_of_compilation): Delete dead jumptables before
  22844. loop.
  22845. * flow.c (delete_dead_jumptables): Make global.
  22846. * rtl.h (delete_dead_jumptables): Declare.
  22847. 2002-03-01 David Edelsohn <edelsohn@gnu.org>
  22848. * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
  22849. * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
  22850. * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
  22851. 2002-03-01 Kazu Hirata <kazu@hxi.com>
  22852. * config/h8300/h8300-protos.h: Fix formatting.
  22853. * config/h8300/h8300.c: Likewise.
  22854. * config/h8300/h8300.h: Likewise.
  22855. 2002-03-01 Kazu Hirata <kazu@hxi.com>
  22856. * config/h8300/h8300.c (print_operand): Support 16-bit
  22857. constant addresses.
  22858. * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
  22859. 2002-02-28 Richard Henderson <rth@redhat.com>
  22860. * expmed.c (store_bit_field): Prevent generation of CONCATs;
  22861. pun complex values as integers; use gen_lowpart instead of
  22862. gen_rtx_SUBREG.
  22863. (extract_bit_field): Likewise.
  22864. 2002-03-01 Alan Modra <amodra@bigpond.net.au>
  22865. David Edelsohn <edelsohn@gnu.org>
  22866. * doc/tm.texi (ASM_WEAKEN_DECL): Document.
  22867. (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
  22868. (SUPPORTS_WEAK): Likewise.
  22869. * output.h (add_weak): Add tree param.
  22870. * varasm.c (add_weak): Likewise. Save decl.
  22871. (struct weak_syms): Add decl field.
  22872. (mark_weak_decls): New function.
  22873. (init_varasm_once): ggc_add_root mark_weak_decls.
  22874. (assemble_start_function): Use ASM_WEAKEN_DECL.
  22875. (assemble_variable): Likewise.
  22876. (assemble_alias): Likewise.
  22877. (declare_weak): Pass decl to add_weak.
  22878. (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
  22879. (remove_from_pending_weak_list): Declare and define for
  22880. ASM_WEAKEN_DECL.
  22881. * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
  22882. * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
  22883. * defaults.h (SUPPORTS_WEAK): Likewise.
  22884. * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
  22885. .weak for code sym. Do emit .size for descriptor sym.
  22886. (ASM_DECLARE_FUNCTION_SIZE): Define.
  22887. * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
  22888. (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
  22889. .lglobl unless TARGET_XCOFF. Formatting fixes.
  22890. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
  22891. .weak for code sym.
  22892. (HANDLE_PRAGMA_WEAK): Remove.
  22893. (ASM_WEAKEN_LABEL): Remove.
  22894. * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
  22895. 2002-03-01 Jason Merrill <jason@redhat.com>
  22896. * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
  22897. (TARGET_EXPR_CLEANUP): New macro.
  22898. 2002-02-28 Steve Ellcey <sje@cup.hp.com>
  22899. * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
  22900. to take ptr_extend into account as third type of extension.
  22901. (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
  22902. fields used by SUBREG_PROMOTED_UNSIGNED_P.
  22903. * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
  22904. (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
  22905. * calls.c (precompute_arguments): Use new macro.
  22906. (expand_call): Ditto.
  22907. * combine.c (nonzero_bits): Ditto.
  22908. (record_promoted_value): Ditto.
  22909. * expr.c (store_expr): Ditto.
  22910. (expand_expr): Ditto.
  22911. * function.c (assign_parms): Ditto.
  22912. 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
  22913. * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
  22914. override -shared and -shared-libgcc.
  22915. 2002-02-28 David O'Brien <obrien@FreeBSD.org>
  22916. * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
  22917. of "ultrasparc".
  22918. * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
  22919. to be broken.
  22920. 2002-02-28 Richard Henderson <rth@redhat.com>
  22921. * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
  22922. 4 cycle latency from MM producers.
  22923. (ia64_internal_sched_reorder): Likewise with pipeline flush.
  22924. 2002-02-28 Jakub Jelinek <jakub@redhat.com>
  22925. * mklibgcc.in: Don't use GNU make extension.
  22926. 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
  22927. * c-parse.in (STATIC): New terminal.
  22928. (scspec): New non-terminal. Update productions accordingly.
  22929. (program): Remove bogus ifc / end ifc.
  22930. (array_declarator): Simplify production using STATIC.
  22931. 2002-02-28 Jim Meyering <meyering@lucent.com>
  22932. * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
  22933. \a still means TARGET_BELL.
  22934. 2002-02-28 Richard Henderson <rth@redhat.com>
  22935. * haifa-sched.c (sched_emit_insn): New.
  22936. (schedule_block): Use last_scheduled_insn to track last insn.
  22937. * sched-int.h (sched_emit_insn): Prototype.
  22938. * config/ia64/ia64.c (last_issued): Remove.
  22939. (ia64_variable_issue): Don't set it.
  22940. (nop_cycles_until): Use sched_emit_insn.
  22941. 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
  22942. * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
  22943. extended constants.
  22944. 2002-02-28 Kazu Hirata <kazu@hxi.com>
  22945. * config/h8300/h8300.c: Fix formatting.
  22946. * config/h8300/h8300.h: Likewise.
  22947. 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
  22948. * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
  22949. which may overwrite the high byte of the frame pointer.
  22950. 2002-02-28 Bo Thorsen <bo@suse.de>
  22951. * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
  22952. (STARTFILE_SPEC): Add 64 bit files.
  22953. (ENDFILE_SPEC): Likewise.
  22954. 2002-02-28 Jason Merrill <jason@redhat.com>
  22955. * c-decl.c (finish_function): Only warn about missing return
  22956. statement with -Wreturn-type.
  22957. Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
  22958. * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
  22959. * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
  22960. PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
  22961. Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
  22962. * basic-block.h (BB_REACHABLE): Renumber.
  22963. (BB_DIRTY, BB_NEW): New flags.
  22964. (clear_bb_flags): Declare.
  22965. (update_life_info_in_dirty_blocks): Declare.
  22966. * cfg.c (clear_bb_flags): New function.
  22967. * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
  22968. * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
  22969. reorder_insns, emit_insn_after): Mark block as dirty.
  22970. * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
  22971. (update_life_info_in_dirty_blocks): New function.
  22972. * recog.c (apply_change_group): Dirtify block.
  22973. * cse.c (cse_insn): Reorder emitting of jump insn to keep
  22974. cfg consistent.
  22975. * gcse.c (delete_null_pointer_checks): Likewise.
  22976. * toplev.c (dump_file_index): Move cse2 after bp,
  22977. add DFI_null
  22978. (dump_file_info): Similary.
  22979. (rest_of_compilation): Avoid most of CFG rebuilds;
  22980. do first if converision after null pointer checks, do cse2
  22981. after branch prediction; avoid full liveness rebuild after
  22982. initializing subregs.
  22983. * invoke.texi (-d options): Document -du, renumber.
  22984. * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
  22985. (notice_new_block): Do not set BB_UPDATE_LIFE.
  22986. (try_forward_edges, merge_blocks_move_predecessor_nojumps,
  22987. merge_blocks_move_successor_nojumps, merge_blocks,
  22988. try_crossjump_to_edge): Likewise.
  22989. (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
  22990. * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
  22991. * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
  22992. (merge_of_block): Do not use life_data_ok.
  22993. (find_if_case_1): Do not use SET_UPDATE_LIFE.
  22994. (if_convert): Use BB_DIRTY mechanizm to update life.
  22995. * lcm.c (optimize_mode_switching): Update
  22996. update_life_info_in_dirty_blocks
  22997. 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
  22998. * Makefile.in (integrate.o): Update.
  22999. * c-decl.c (copy_lang_decl): Rename.
  23000. * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
  23001. * integrate.c: Include langhooks.h.
  23002. (copy_decl_for_inlining): Update to use langhook.
  23003. * langhooks-def.h (lhd_do_nothing_t,
  23004. LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
  23005. (LANG_HOOKS_INITIALIZER): Update.
  23006. * langhooks.c (lhd_do_nothing_t): New.
  23007. * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
  23008. * tree.h (copy_lang_decl): Remove.
  23009. objc:
  23010. * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
  23011. 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
  23012. * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
  23013. POST_DEC, and POST_MODIFY.
  23014. 2002-02-27 Zack Weinberg <zack@codesourcery.com>
  23015. * c-typeck.c (digest_init): Remove unused parameter; all
  23016. callers changed.
  23017. 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
  23018. * expmed.c (expand_shift): Correctly test for low part of a
  23019. subreg.
  23020. 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
  23021. * config/s390/s390.c (s390_chunkify_pool): Do not confuse
  23022. insn UIDs with insn addresses.
  23023. 2002-02-27 Zack Weinberg <zack@codesourcery.com>
  23024. * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
  23025. c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
  23026. cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
  23027. builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
  23028. gcc.c, toplev.c: Delete code implementing -traditional mode.
  23029. * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
  23030. doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
  23031. Document removal of -traditional mode for compilation, and
  23032. remove documentation only relevant to that mode.
  23033. * config/nextstep.h, config/ptx4.h, config/svr4.h,
  23034. config/convex/convex.h, config/d30v/d30v.h,
  23035. config/i386/dgux.h, config/i386/osf1elf.h,
  23036. config/i386/osfelf.h, config/i386/osfrose.h,
  23037. config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
  23038. config/m68k/hp310.h, config/m88k/dgux.h,
  23039. config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
  23040. config/m88k/m88k.h, config/m88k/openbsd.h,
  23041. config/mips/abi64.h, config/mips/osfrose.h,
  23042. config/mips/svr4-5.h, config/mips/svr4-t.h,
  23043. config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
  23044. config/stormy16/stormy16.h: Remove all references to
  23045. -traditional from target specs. Delete all mention of the
  23046. no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
  23047. delete a couple of commented-out definitions of
  23048. DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
  23049. to -traditional.
  23050. * system.h: Poison TRADITIONAL_RETURN_FLOAT.
  23051. * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
  23052. 2002-02-27 Zack Weinberg <zack@codesourcery.com>
  23053. * mklibgcc.in: Don't use \n in a line subject to
  23054. interpretation by echo.
  23055. 2002-02-27 Graham Stott <grahams@redhat.com>
  23056. * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
  23057. Constify NAME.
  23058. * loop.c (prescan_loop): Handle PARALLEL.
  23059. * unroll.c (loop_iterations): Return 0 if the add_val for
  23060. a BIV is REG.
  23061. * final.c (output_operand_lossage): Constify PFX_STR.
  23062. * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
  23063. Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
  23064. * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
  23065. * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
  23066. Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
  23067. * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
  23068. 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
  23069. * cpplex.c (_cpp_lex_token): Handle directives in macro
  23070. arguments.
  23071. * cpplib.c (_cpp_handle_directive): Save and restore state
  23072. if parsing macro args when entering a directive.
  23073. * cppmacro.c (collect_args): No need to handle directives
  23074. in macro arguments.
  23075. (enter_macro_context, replace_args): Use the original macro
  23076. definition in case it was redefined whilst collecting arguments.
  23077. doc:
  23078. * cpp.texi: Update.
  23079. 2002-02-26 David Edelsohn <edelsohn@gnu.org>
  23080. * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
  23081. * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
  23082. * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
  23083. method on AIX.
  23084. * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
  23085. (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
  23086. (load_toc_v4_PIC_2): Same.
  23087. 2002-02-26 Alan Modra <amodra@bigpond.net.au>
  23088. * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
  23089. 2002-02-26 Richard Henderson <rth@redhat.com>
  23090. * config/alpha/alpha.md (ashldi_se): Re-enable.
  23091. 2002-02-26 Richard Henderson <rth@redhat.com>
  23092. * config/alpha/alpha.c (alpha_encode_section_info): Examine
  23093. MODULE_LOCAL_P; improve commentary.
  23094. 2002-02-26 Zack Weinberg <zack@codesourcery.com>
  23095. * doc/cpp.texi: Clarify documentation of relationship between
  23096. #line and #include.
  23097. 2002-02-26 Kazu Hirata <kazu@hxi.com>
  23098. * config/h8300/h8300-protos.h: Update the prototype for
  23099. compute_logical_op_length. Add the prototype for
  23100. compute_logical_op_cc.
  23101. * config/h8300/h8300.c (compute_logical_op_length): Figure out
  23102. code from operands.
  23103. (compute_logical_op_cc): New.
  23104. * config/h8300/h8300.md: Combine all the logical op patterns
  23105. in HImode and SImode. Use compute_logical_op_cc.
  23106. 2002-02-26 Kelley Cook <kelleycook@comcast.net>
  23107. * config/i386/i386.c (print_operand): Don't append ATT-style
  23108. length suffixs to x87 opcodes when in Intel mode.
  23109. 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
  23110. * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
  23111. (init_emit_once): Update calls.
  23112. * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
  23113. (init_syntax_once): Prototype.
  23114. 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
  23115. * pa-linux.h (LIB_SPEC): Update definition.
  23116. * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
  23117. 2002-02-26 Richard Henderson <rth@redhat.com>
  23118. * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
  23119. if we emitted a stop bit.
  23120. 2002-02-26 Jakub Jelinek <jakub@redhat.com>
  23121. * configure.in (libgcc_visibility): Substitute.
  23122. * configure: Rebuilt.
  23123. * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
  23124. defined symbols .hidden.
  23125. 2002-02-26 Jakub Jelinek <jakub@redhat.com>
  23126. * attribs.c (c_common_attribute_table): Add visibility.
  23127. (handle_visibility_attribute): New function.
  23128. * varasm.c (assemble_visibility): New function.
  23129. * output.h (assemble_visibility): Add prototype.
  23130. * tree.h (MODULE_LOCAL_P): Define.
  23131. * crtstuff.c (__dso_handle): Use visibility attribute.
  23132. * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
  23133. for MODULE_LOCAL_P symbols too.
  23134. * config/ia64/ia64.c (ia64_encode_section_info): Handle
  23135. MODULE_LOCAL_P symbols the same way as local symbols.
  23136. Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
  23137. into .sdata/.sbss by the user.
  23138. * doc/extend.texi (Function Attributes): Document visibility
  23139. attribute.
  23140. 2002-02-26 Jakub Jelinek <jakub@redhat.com>
  23141. PR debug/5770
  23142. * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
  23143. STRING_CST initializer spanning the whole variable without
  23144. embedded zeros.
  23145. If expand_expr returned MEM, don't use it.
  23146. 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
  23147. * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
  23148. generate a die for the lexical block.
  23149. 2002-02-26 Kazu Hirata <kazu@hxi.com>
  23150. * config/h8300/h8300-protos.h: Add a prototype for
  23151. compute_logical_op_length.
  23152. * config/h8300/h8300.c (compute_logical_op_length): New.
  23153. * config/h8300/h8300.md (anonymous logical patterns): Use
  23154. compute_logical_op_length for length.
  23155. 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
  23156. * dwarf2out.c (modified_type_die): Do not call type_main_variant
  23157. for vectors.
  23158. (gen_type_die): Same.
  23159. * attribs.c (handle_vector_size_attribute): Set debug information.
  23160. 2002-02-26 Daniel Egger <degger@fhm.edu>
  23161. * config/rs6000/rs6000.md: Swap define_insn attributes to
  23162. fix incorrect generation of merge high instructions instead
  23163. of merge low.
  23164. 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
  23165. * c-typeck.c (really_start_incremental_init): Use
  23166. bitsize_zero_node for vectors.
  23167. 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
  23168. * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
  23169. ("*set_vrsave_internal"): Same.
  23170. 2002-02-25 Richard Henderson <rth@redhat.com>
  23171. * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
  23172. in EXPAND_SUM case. Use host_integerp/tree_low_cst.
  23173. 2002-02-25 Jakub Jelinek <jakub@redhat.com>
  23174. PR target/5755
  23175. * config/i386/i386.c (ix86_return_pops_args): Only pop
  23176. fake structure return argument if it was passed on the stack.
  23177. 2002-02-25 Jason Merrill <jason@redhat.com>
  23178. * attribs.c (decl_attributes): Also re-layout PARM_DECL and
  23179. RESULT_DECL.
  23180. 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
  23181. * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
  23182. link with shared_name only.
  23183. * doc/invoke.texi (Link Options): Document new behavior.
  23184. 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
  23185. * c-typeck.c (push_init_level): Handle vectors.
  23186. 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
  23187. * config/sparc/sparc.c (const64_high_operand): Zero-extend
  23188. operands of SPARC_SETHI_P.
  23189. (input_operand): Likewise.
  23190. (sparc_emit_set_const32): Likewise.
  23191. * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
  23192. (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
  23193. (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
  23194. * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
  23195. (movdi_insn_sp64_vis): Likewise.
  23196. (movdi split, movdf split): Use SETHI32.
  23197. * doc/md.texi: Document SPARC constraints L, M and N.
  23198. 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
  23199. * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
  23200. ("*set_vrsave_internal"): use mfspr for Darwin.
  23201. * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
  23202. gen_get_vrsave_internal.
  23203. Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23204. * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
  23205. 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
  23206. * cpplex.c (cpp_interpret_charconst): Get signedness or
  23207. otherwise of wide character constants correct.
  23208. * cppexp.c (lex): Get signedness of wide charconsts correct.
  23209. Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23210. * optabs.c (widen_operand): Only call convert_modes for
  23211. promoted SUBREG if signedness matches.
  23212. * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
  23213. 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
  23214. * cpplib.c (glue_header_name): Use local buffer to build up
  23215. header name.
  23216. 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
  23217. * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
  23218. 2002-02-23 Kazu Hirata <kazu@hxi.com>
  23219. * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
  23220. H8/300[HS] separately.
  23221. * config/h8300/h8300.md: Remove the early clobber constraint
  23222. from bit field patterns.
  23223. 2002-02-23 Kazu Hirata <kazu@hxi.com>
  23224. * config/h8300/h8300.md (mulqihi3): Tighten predicates to
  23225. register_operand.
  23226. (mulhisi3): Likewise.
  23227. (umulqisi3): Likewise.
  23228. (umulhisi3): Likewise.
  23229. 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
  23230. * cppinit.c (output_deps): Correct test for stdout output.
  23231. (init_dependency_output): Cure warning.
  23232. Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23233. * expr.c (store_expr): When converting expression to promoted
  23234. equivalent type, allow using SUBREG_REG of TARGET as the target
  23235. of the expansion of EXP.
  23236. * loop.c (basic_induction_var, case SUBREG): Always look inside.
  23237. * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
  23238. (alpha_emit_set_const): Handle SImode when can't make new pseudos.
  23239. (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
  23240. * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
  23241. 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
  23242. * doc/contribute.texi, doc/extend.texi, doc/install.texi,
  23243. doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
  23244. doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
  23245. 2002-02-23 Jakub Jelinek <jakub@redhat.com>
  23246. PR optimization/5747
  23247. * loop.c (scan_loop): Update reg info if move_movables created new
  23248. pseudos.
  23249. 2002-02-23 David Edelsohn <edelsohn@gnu.org>
  23250. * gcc.c (init_gcc_spec): Revert last change.
  23251. 2002-02-23 David Edelsohn <edelsohn@gnu.org>
  23252. * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
  23253. gpc_reg_operand constraint.
  23254. 2002-02-23 Alan Modra <amodra@bigpond.net.au>
  23255. * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
  23256. Simplify comparison of `low'.
  23257. (add_operand): Fix formatting.
  23258. (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
  23259. (mask_operand): Disallow mask to wrap in 64-bit mode.
  23260. (rs6000_stack_info): Remove redundant test setting push_p.
  23261. (output_toc): Fix formatting.
  23262. * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
  23263. cc_reg_not_cr0_operand constraint.
  23264. (booldi3, boolcdi3 splitters): Same.
  23265. 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
  23266. * config/rs6000/altivec.h: Add extra level of parentheses on casts.
  23267. 2002-02-22 David Edelsohn <edelsohn@gnu.org>
  23268. * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
  23269. gcc invoked with -shared-libgcc.
  23270. 2002-02-22 Jakub Jelinek <jakub@redhat.com>
  23271. PR c++/5748
  23272. * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
  23273. decl if any of elements was TREE_USED.
  23274. 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
  23275. * config/sparc/sol2.h: Don't include sys/mman.h.
  23276. * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
  23277. (arith_4096_operand): Don't throw high bits away.
  23278. (const64_operand): Take sign extension of CONST_INTs into account.
  23279. (const64_high_operand, sparc_emit_set_const32): Likewise.
  23280. (GEN_HIGHINT64): Likewise.
  23281. (sparc_emit_set_const64_quick1): Likewise.
  23282. (const64_is_2insns): Likewise.
  23283. (print_operand): Use trunc_int_for_mode for sign extension.
  23284. * config/sparc/sparc.h (SMALL_INT32): Likewise.
  23285. * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
  23286. chars. Assume CONST_INT is already properly sign-extended.
  23287. (movdi split): Sign-extend each SImode part.
  23288. (andsi3 split): Don't mask high bits off, so that result
  23289. remains properly sign-extend.
  23290. (iorsi3 split): Likewise.
  23291. (xorsi3 split): Likewise.
  23292. 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
  23293. * fold-const.c (fold): Fix typo in comments.
  23294. 2002-02-21 Diego Novillo <dnovillo@redhat.com>
  23295. * Makefile.in (langhooks.o): Update dependencies.
  23296. 2002-02-21 Diego Novillo <dnovillo@redhat.com>
  23297. * langhooks.c: Include flags.h.
  23298. 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
  23299. * testsuite/gcc.dg/attr-alwaysinline.c: New.
  23300. * c-common.c (c_common_post_options): Set inline trees by
  23301. default.
  23302. * doc/extend.texi (Function Attributes): Document always_inline
  23303. attribute.
  23304. Update documentation about inlining when not optimizing.
  23305. * cp/decl.c (duplicate_decls): Merge always_inline attribute.
  23306. * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
  23307. unless DECL_ALWAYS_INLINE.
  23308. * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
  23309. unless DECL_ALWAYS_INLINE.
  23310. (c_disregard_inline_limits): Disregard if always_inline set.
  23311. * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
  23312. Disregard if always_inline set.
  23313. (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
  23314. unless DECL_ALWAYS_INLINE.
  23315. * attribs.c (handle_always_inline_attribute): New.
  23316. (c_common_attribute_table): Add always_inline.
  23317. * config/rs6000/altivec.h: Add prototypes for builtins
  23318. requiring the always_inline attribute.
  23319. 2002-02-21 Eric Christopher <echristo@redhat.com>
  23320. * expmed.c (store_bit_field): Try to simplify the subreg
  23321. before generating a new one when when the mode size of
  23322. value is less than maxmode.
  23323. 2002-02-21 Richard Henderson <rth@redhat.com>
  23324. * emit-rtl.c (offset_address): Use simplify_gen_binary rather
  23325. than gen_rtx_PLUS to form the sum.
  23326. * explow.c (force_reg): Rearrange to not allocate new pseudo
  23327. when force_operand returns a register.
  23328. * expr.c (expand_assignment): Allow offset_rtx expansion to
  23329. return a sum. Do not force addresses into registers.
  23330. (expand_expr): Likewise.
  23331. * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
  23332. to canonicalize arithmetic that didn't simpify.
  23333. (simplify_plus_minus): New argument force; update
  23334. all callers. Don't split CONST unless we can do something with it,
  23335. and wouldn't lose the constness of the operands.
  23336. * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
  23337. that we generated earlier.
  23338. 2002-02-21 Tom Tromey <tromey@redhat.com>
  23339. * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
  23340. (output_line_info): Use constant `1', with a long explanatory
  23341. comment.
  23342. * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
  23343. Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
  23344. * jump.c (redirect_jump): If old label has no UID, don't try to
  23345. delete it.
  23346. Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
  23347. * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
  23348. If input is constant, do shifts at compile time.
  23349. 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
  23350. * doc/extend.texi: Fix some more overfull hboxes.
  23351. 2002-02-21 Jakub Jelinek <jakub@redhat.com>
  23352. PR optimization/4994
  23353. * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
  23354. register moves.
  23355. 2002-02-21 Jakub Jelinek <jakub@redhat.com>
  23356. PR c++/4574
  23357. * expr.h (expand_and): Add mode argument.
  23358. * expmed.c (expand_and): Add mode argument.
  23359. (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
  23360. * expr.c (store_field, expand_expr, do_store_flag): Likewise.
  23361. * except.c (expand_builtin_extract_return_addr): Likewise.
  23362. * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
  23363. * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
  23364. * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
  23365. Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
  23366. * config/c4x/c4x.md: Use GEN_INT (x) instead of
  23367. gen_rtx (CONST_INT, VOIDmode, x).
  23368. 2002-02-21 Jakub Jelinek <jakub@redhat.com>
  23369. PR c/4697:
  23370. * stmt.c (warn_if_unused_value): Move side effects test once more.
  23371. 2002-02-20 Torbjorn Granlund <tege@swox.com>
  23372. * config/avr/avr.md: Add more patterns for mized-mode add and subtract
  23373. (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
  23374. Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
  23375. * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
  23376. SUBREG or ZERO_EXTEND.
  23377. Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
  23378. * sh.h (current_function_anonymous_args): Remove.
  23379. (SETUP_INCOMING_VARARGS): Don't set it - just check that one
  23380. of current_function_varargs and current_function_stdarg is set.
  23381. * sh.c (sh_expand_prologue): Check current_function_varargs /
  23382. current_function_stdarg / TARGET_SH5 instead of
  23383. current_function_anonymous_args.
  23384. * sh64.h (TARGET_VERSION): Define.
  23385. 2002-02-20 David Edelsohn <edelsohn@gnu.org>
  23386. * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
  23387. VRSAVE_REGNO on TARGET_ALTIVEC.
  23388. 2002-02-20 Alan Modra <amodra@bigpond.net.au>
  23389. * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
  23390. bits of SImode const_int.
  23391. (includes_rshift_p): Likewise.
  23392. (print_operand): Call mask_operand and mask64_operand with correct
  23393. mode.
  23394. (rs6000_output_function_epilogue): Pad traceback table to word.
  23395. * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
  23396. (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
  23397. mask64_operand with correct mode.
  23398. (FUNCTION_ARG_REGNO_P): Correct parentheses.
  23399. 2002-02-20 Jakub Jelinek <jakub@redhat.com>
  23400. PR debug/4461
  23401. * varasm.c (get_pool_constant_mark): New.
  23402. * rtl.h (get_pool_constant_mark): Add prototype.
  23403. * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
  23404. be represented if it has not been output.
  23405. 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
  23406. * combine.c (do_SUBST): Sanity check substitutions of
  23407. CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
  23408. (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
  23409. CONST_INT into its operand.
  23410. (known_cond): Likewise, for ZERO_EXTEND.
  23411. * simplify-rtx.c (simplify_unary_operation): Fix condition to
  23412. allow for simplification of wide modes. Reject CONST_INTs in
  23413. ZERO_EXTEND when their actual mode is not given.
  23414. 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
  23415. * c-decl.c (pushdecl): If no global declaration is found for an
  23416. extern declaration in block scope, try a limbo one.
  23417. 2002-02-20 Jakub Jelinek <jakub@redhat.com>
  23418. PR c++/4401
  23419. * c-common.c (pointer_int_sum): Moved from...
  23420. * c-typeck.c (pointer_int_sum): ...here.
  23421. * c-common.h (pointer_int_sum): Add prototype.
  23422. 2002-02-20 Jakub Jelinek <jakub@redhat.com>
  23423. PR c++/5713
  23424. * c-decl.c (duplicate_decls): Return 0 if issued error about
  23425. redeclaration.
  23426. 2002-02-20 Roger Sayle <roger@eyesopen.com>
  23427. Jakub Jelinek <jakub@redhat.com>
  23428. PR c/4389
  23429. * tree.c (host_integerp): Ensure that the constant integer is
  23430. representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
  23431. when pos is zero or nonzero respectively. Clarify comment.
  23432. * c-format.c (check_format_info_recurse): Fix host_integerp
  23433. usage; the pos argument should be zero when assigning to a
  23434. signed HOST_WIDE_INT.
  23435. 2002-02-20 Richard Henderson <rth@redhat.com>
  23436. * config/i386/i386.c (ix86_expand_vector_move): Use the mode
  23437. of the operand, rather than assuming TImode.
  23438. (ix86_expand_binop_builtin): Cope with commutative patterns
  23439. using nonimmediate_operand for both operands.
  23440. (ix86_expand_timode_binop_builtin): Likewise.
  23441. (ix86_expand_store_builtin): Validate operand 1.
  23442. (ix86_expand_unop1_builtin): Likewise.
  23443. 2002-02-20 Philip Blundell <philb@gnu.org>
  23444. PR 5705
  23445. * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
  23446. 2002-02-20 Richard Henderson <rth@redhat.com>
  23447. PR c/5615
  23448. * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
  23449. 2002-02-20 Tom Tromey <tromey@redhat.com>
  23450. * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
  23451. * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
  23452. * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
  23453. * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
  23454. * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
  23455. unconditionally.
  23456. Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
  23457. * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
  23458. for (const_int 0) in X not just INTVAL.
  23459. 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
  23460. * doc/extend.texi: Avoid or reduce overfull hboxes.
  23461. 2002-02-20 Diego Novillo <dnovillo@redhat.com>
  23462. * expmed.c (store_bit_field): Do not store bit fields using SUBREG
  23463. operations if the field does not start at a mode boundary.
  23464. 2002-02-20 Joel Sherrill <joel@OARcorp.com>
  23465. * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
  23466. config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
  23467. Also done for -Acpu and -Amachine.
  23468. 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
  23469. * cppinit.c (init_dependency_output): Take deps output file
  23470. from -o if none given with -MF. Suppress normal output.
  23471. * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
  23472. * doc/cpp.texi, doc/invoke.texi: Update.
  23473. 2002-02-19 Zack Weinberg <zack@codesourcery.com>
  23474. * toplev.c (output_quoted_string): Write unprintable
  23475. characters with octal escapes.
  23476. 2002-02-19 David Edelsohn <edelsohn@gnu.org>
  23477. * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
  23478. really_call_used[VRSAVE_REGNO] if not Altivec.
  23479. 2002-02-19 Alan Modra <amodra@bigpond.net.au>
  23480. * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
  23481. MODE_MASK.
  23482. (constant_pool_expr_1): Fix formatting.
  23483. (rs6000_legitimize_reload_address): Likewise.
  23484. Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23485. * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
  23486. now that we have one.
  23487. 2002-02-19 Zack Weinberg <zack@codesourcery.com>
  23488. * tree.h (struct tree_common): Remove aux. Add unused_0 at
  23489. end of first block of bitfields (which was only seven bits);
  23490. rename dummy to unused_1; remove comment which is no longer true.
  23491. 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
  23492. * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
  23493. 2002-02-19 Philip Blundell <pb@nexus.co.uk>
  23494. PR 5399
  23495. * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
  23496. if generating PIC.
  23497. PR 5054
  23498. * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
  23499. arm_is_longcall_p rather than inspecting call-type cookie
  23500. directly.
  23501. (call_value_insn) [TARGET_THUMB]: Likewise.
  23502. 2002-02-19 Graham Stott <grahams@redhat.com>
  23503. * config/i386/i386.c (ix86_expand_builtin): Fix typo.
  23504. 2002-02-19 David Edelsohn <edelsohn@gnu.org>
  23505. * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
  23506. ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
  23507. (FP_SAVE_INLINE): Delete.
  23508. * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
  23509. * config/rs6000/eabi.asm: Remove ABI save restore routines.
  23510. * config/rs6000/t-ppccomm: Build crtsavres.o.
  23511. * config/rs6000/crtsavres.asm: New file.
  23512. 2002-02-19 Philip Blundell <philb@gnu.org>
  23513. * config/arm/arm.c (use_return_insn): Don't reject interrupt
  23514. functions.
  23515. (arm_compute_save_reg_mask): Save LR for interrupt functions too.
  23516. (output_return_instruction): Allow interrupt functions to return with
  23517. ldmfd sp!, {... pc}^. Use LDR to restore any single register.
  23518. (arm_expand_prologue): Subtract 4 before stacking LR in an
  23519. interrupt function.
  23520. 2002-02-19 Philip Blundell <pb@nexus.co.uk>
  23521. * config/arm/arm.c (arm_encode_call_attribute): Operate on any
  23522. decl, not just FUNCTION_DECL.
  23523. (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
  23524. (arm_assemble_integer): Likewise.
  23525. * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
  23526. marked local.
  23527. 2002-02-19 matthew green <mrg@eterna.com.au>
  23528. * config.gcc (sparc-*-netbsdelf*): Enable target.
  23529. (sparc64-*-netbsd*): New target.
  23530. * config/sparc/netbsd-elf.h: New file.
  23531. * config/sparc/t-netbsd64: New file.
  23532. 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
  23533. * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
  23534. 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
  23535. * doc/invoke.texi: explicitly list the style guidelines that
  23536. -Weffc++ checks for.
  23537. Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
  23538. * regmove.c (regmove_optimize): Avoid increasing of register pressure.
  23539. 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
  23540. PR other/5718
  23541. * gcc.c (cpp_unique_options): Treat -o as indicating object file
  23542. only if not -E. If -E, pass -o through to the preprocessor.
  23543. 2002-02-19 Kazu Hirata <kazu@hxi.com>
  23544. * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
  23545. register number with an appropriate macro.
  23546. 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
  23547. * doc/rtl.texi (Constants): Close @code tag.
  23548. 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
  23549. * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
  23550. ("mmx_uavgv4hi3"): Same.
  23551. ("pmulhrwv4hi3"): Same.
  23552. * tree-inline.c (walk_tree): Handle vectors.
  23553. * c-common.c (constant_expression_warning): Handle vectors.
  23554. (overflow_warning): Same.
  23555. * sched-deps.c (sched_analyze_2): Handle vectors.
  23556. * rtlanal.c (rtx_unstable_p): Handle vectors.
  23557. (rtx_varies_p): Same.
  23558. (count_occurrences): Same.
  23559. (regs_set_between_p): Same.
  23560. (modified_between_p): Same.
  23561. (modified_in_p): Same.
  23562. (volatile_insn_p): Same.
  23563. (volatile_refs_p): Same.
  23564. (side_effects_p): Same.
  23565. (may_trap_p): Same.
  23566. (inequality_comparisons_p): Same.
  23567. (replace_regs): Same.
  23568. (computed_jump_p_1): Same.
  23569. * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
  23570. argument.
  23571. (inner_mode_array): New.
  23572. (copy_rtx): Handle vectors.
  23573. (copy_most_rtx): Same.
  23574. (rtx_equal_p): Same.
  23575. (get_mode_alignment): Adjust for vectors.
  23576. * resource.c (mark_referenced_resources): Handle vectors.
  23577. (mark_set_resources): Same.
  23578. * reload1.c (eliminate_regs): Handle vectors.
  23579. (elimination_effects): Same.
  23580. (scan_paradoxical_subregs): Same.
  23581. * reload.c (subst_reg_equivs): Handle vectors.
  23582. * regrename.c (scan_rtx): Handle vectors.
  23583. * regclass.c (reg_scan_mark_refs): Handle vectors.
  23584. * recog.c (find_single_use_1): Handle vectors.
  23585. * local-alloc.c (equiv_init_varies_p): Handle vectors.
  23586. (contains_replace_regs): Same.
  23587. (memref_referenced_p): Same.
  23588. * integrate.c (copy_rtx_and_substitute): Handle vectors.
  23589. (subst_constants): Same.
  23590. * genattrtab.c (attr_copy_rtx): Handle vectors.
  23591. (encode_units_mask): Same.
  23592. (clear_struct_flag): Same.
  23593. (count_sub_rtxs): Same.
  23594. * gcse.c (want_to_gcse_p): Handle vectors.
  23595. (oprs_unchanged_p): Same.
  23596. (hash_expr_1): Same.
  23597. (oprs_not_set_p): Same.
  23598. (expr_killed_p): Same.
  23599. (compute_transp): Same.
  23600. (store_ops_ok): Same.
  23601. * function.c (purge_addressof_1): Do not allow paradoxical subregs
  23602. of vectors.
  23603. (fixup_var_refs_1): Same.
  23604. (instantiate_virtual_regs_1): Same.
  23605. * fold-const.c (operand_equal_p): Handle vectors.
  23606. (fold): Same.
  23607. (rtl_expr_nonnegative_p): Same.
  23608. * flow.c (mark_used_regs): Handle vectors.
  23609. * df.c (df_uses_record): Handle vectors.
  23610. * cselib.c (cselib_subst_to_values): Handle vectors.
  23611. (cselib_mem_conflict_p): Same.
  23612. (hash_rtx): Same.
  23613. * cse.c (canon_reg): Handle vectors.
  23614. (fold_rt): Same.
  23615. (cse_process_notes): Same.
  23616. (count_reg_usage): Same.
  23617. (canon_hash): Same.
  23618. * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
  23619. * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
  23620. * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
  23621. (gen_rtx): Handle CONST_VECTOR.
  23622. (gen_const_vector_0): New.
  23623. (copy_rtx_if_shared): CONST_VECTORs can be shared.
  23624. (reset_used_flags): Same.
  23625. (copy_insn_1): Same.
  23626. (initializer_constant_valid_p): Handle VECTOR_CST.
  23627. * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
  23628. * doc/rtl.texi (Constants): Document const_vector.
  23629. (CONST0_RTX): Update for vectors.
  23630. (RTL sharing): Same.
  23631. * print-tree.c (print_node): Add case for VECTOR_CST.
  23632. * tree.h (TREE_VECTOR_CST_ELTS): New.
  23633. (struct tree_vector): New.
  23634. (union tree_node): Add vector node.
  23635. (build_vector): Add prototype.
  23636. * tree.def (VECTOR_CST): New.
  23637. * tree.c (build_vector): New.
  23638. * expmed.c (make_tree): Handle CONST_VECTOR.
  23639. * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
  23640. (CONST_VECTOR_ELT): New.
  23641. (CONST_VECTOR_NUNITS): New.
  23642. * machmode.h (GET_MODE_INNER): New.
  23643. (DEF_MACHMODE): Accept 8th arg.
  23644. * machmode.def: Add 8th argument for vector inner mode.
  23645. Add inner vector modes for vectors.
  23646. * rtl.def (VEC_CONST): Remove.
  23647. (CONST_VECTOR): New.
  23648. * expr.c (clear_storage): Allow vectors.
  23649. (is_zeros_p): Handle VECTOR_CST.
  23650. * varasm.c (output_constant_pool): Handle vectors.
  23651. (rtx_const): Add veclo and vechi fields.
  23652. (kind): Add RTX_VECTOR.
  23653. (decode_rtx_const): Add case for vector.
  23654. * config/rs6000/rs6000-protos.h: Add zero_constant.
  23655. * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
  23656. constants. Force easy vector constants into memory.
  23657. (easy_vector_constant): New.
  23658. (emit_easy_vector_constant): New.
  23659. (rs6000_legitimize_reload_address): Do not generate bad reloads on
  23660. darwin.
  23661. * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
  23662. instruction does.
  23663. ("altivec_lvxl"): Same.
  23664. (altivec_lvebx): Same.
  23665. (altivec_lvehx): Same.
  23666. (altivec_lvewx): Same.
  23667. ("*movv4si_const0"): New.
  23668. ("*movv4sf_const0"): New.
  23669. ("*movv8hi_const0"): New.
  23670. ("*movv16qi_const0"): New.
  23671. 2002-02-18 Kazu Hirata <kazu@hxi.com>
  23672. * config/h8300/h8300.c (notice_update_cc): Use
  23673. cc_status.value2.
  23674. 2002-02-18 Kazu Hirata <kazu@hxi.com>
  23675. * config/h8300/h8300.md (divmod patterns): Change the
  23676. constraints for operands[1] to register_operand.
  23677. 2002-02-18 Kazu Hirata <kazu@hxi.com>
  23678. * config/h8300/h8300-protos.h: Remove the prototype for
  23679. p_operand.
  23680. * config/h8300/h8300.c (p_operand): Remove.
  23681. * config/h8300/h8300.md: Replace p_operand with
  23682. const_int_operand.
  23683. 2002-02-18 Philip Blundell <pb@nexus.co.uk>
  23684. * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
  23685. comment.
  23686. (output_return_instruction): Allow use of LDR to unstack
  23687. return addresss even for interrupt handlers or when
  23688. interworking. If compiling for ARMv5, use interworking-safe
  23689. return instructions by default. Remove duplicated code and
  23690. lengthy "strcat" sequences.
  23691. 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  23692. * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
  23693. (LINK_EH_SPEC): Define.
  23694. * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
  23695. 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
  23696. * config/s390/s390.c (s390_emit_prologue): Do not set the
  23697. frame_related flag for call-clobbered registers.
  23698. Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
  23699. * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
  23700. (construct_container): Fix handling of SSE operands.
  23701. (ix86_expand_builtin): Fix handling of 64bit pointers.
  23702. (mmx_maskmovq_rex): New pattern.
  23703. Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
  23704. * regrename.c (kill_set_value): Handle subregs properly.
  23705. 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
  23706. * objc/objc-act.c (handle_impent): Remove leading '*'
  23707. from objc_class_name.
  23708. 2002-02-17 Richard Henderson <rth@redhat.com>
  23709. * config/alpha/alpha.c (some_small_symbolic_operand,
  23710. some_small_symbolic_operand_1, split_small_symbolic_operand,
  23711. split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
  23712. Handle small SYMBOL_REFs anywhere, not just inside memories.
  23713. * config/alpha/alpha-protos.h: Update.
  23714. * config/alpha/alpha.h (PREDICATE_CODES): Update.
  23715. * config/alpha/alpha.md (small symbolic operand splitter): Update.
  23716. 2002-02-17 Roland McGrath <roland@frob.com>
  23717. * config.gcc (powerpc-*-gnu-gnualtivec*,
  23718. powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
  23719. * config/rs6000/gnu.h: New file.
  23720. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
  23721. Grok "gnu" in rs6000_abi_name.
  23722. (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
  23723. CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
  23724. Grok -mcall-gnu analogous to -mcall-linux et al.
  23725. (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
  23726. LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
  23727. (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
  23728. 2002-02-17 Jakub Jelinek <jakub@redhat.com>
  23729. PR c/3444:
  23730. * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
  23731. shortening.
  23732. 2002-02-17 Philipp Thomas <pthomas@suse.de>
  23733. * config/cris/cris.h: Undefine STARTFILE_SPEC and
  23734. ENDFILE_SPEC before (re)defining them.
  23735. 2002-02-17 Kazu Hirata <kazu@hxi.com>
  23736. * config/h8300/h8300.c: Fix formatting.
  23737. * config/h8300/h8300.h: Likewise.
  23738. 2002-02-17 Philipp Thomas <pthomas@suse.de>
  23739. * doc/tm.texi: Explain why empty strings should not be
  23740. marked for translation.
  23741. 2002-02-17 Philipp Thomas <pthomas@suse.de>
  23742. * final.c (output_operand_lossage): Changed to accept
  23743. printf style arguments. Change calls where necessary.
  23744. * output.h (output_operand_lossage): Change declaration
  23745. accordingly. Update copyright.
  23746. * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
  23747. config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
  23748. Update copyright date where necessary.
  23749. * config/i386/i386.c (print_operand): Likewise. Remove use of
  23750. sprintf.
  23751. * config/cris/cris.c (cris_operand_lossage): Likewise.
  23752. Rename parameter so that exgettext recognizes it as
  23753. translatable message.
  23754. (LOSE_AND_RETURN): Rename parameter to msgid.
  23755. 2002-02-17 Kazu Hirata <kazu@hxi.com>
  23756. * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
  23757. hard coded register number with an appropriate macro.
  23758. (HARD_REGNO_MODE_OK): Likewise.
  23759. (ARG_POINTER_REGNUM): Likewise.
  23760. (STATIC_CHAIN_REGNUM): Likewise.
  23761. (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
  23762. * config/h8300/h8300.md (define_constants): Define more
  23763. register numbers.
  23764. 2002-02-17 Philipp Thomas <pthomas@suse.de>
  23765. * config/i386/i386.h: Don't mark empty strings for translation.
  23766. 2002-02-16 H.J. Lu <hjl@gnu.org>
  23767. * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
  23768. 2002-02-16 Zack Weinberg <zack@codesourcery.com>
  23769. * cppinit.c (merge_include_chains): Check for brack being
  23770. NULL before attempting to merge it with qtail.
  23771. 2002-02-16 Andrew Cagney <ac131313@redhat.com>
  23772. * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
  23773. DBX_DEBUG.
  23774. 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
  23775. * pa/t-pa, pa/t-pro, som.h: Revert last patch.
  23776. 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
  23777. * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
  23778. * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
  23779. * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
  23780. Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23781. * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
  23782. now only if !TARGET_FIX.
  23783. (*movsi_nt_vms_fix): New pattern.
  23784. 2002-02-16 Douglas B Rupp <rupp@gnat.com>
  23785. * config/alpha/alpha.c: Implement null frame procedure types on VMS.
  23786. (alpha_procedure_type): Replaces alpha_is_stack_procedure.
  23787. (alpha_sa_mask, alpha_sa_size): Reflect above change.
  23788. (alpha_pv_save_size, alpha_expand_prologue): Likewise.
  23789. (alpha_start_function, alpha_expand_epilogue): Likewise.
  23790. (unicosmk_gen_dsib): Likewise.
  23791. Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23792. * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
  23793. 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
  23794. * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
  23795. check_and_change_labels, s390_final_chunkify): Delete.
  23796. (s390_split_branches, s390_chunkify_pool): New functions.
  23797. (s390_function_prologue): Call them.
  23798. * config/s390/s390.h (S390_REL_MAX): Delete.
  23799. (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
  23800. * config/s390/s390.md (cjump, icjump, jump): Fix length
  23801. attribute calculation.
  23802. 2002-02-15 David Edelsohn <edelsohn@gnu.org>
  23803. * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
  23804. * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
  23805. 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
  23806. * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
  23807. * config/pa/pa-linux.h (LIB_SPEC): Likewise.
  23808. * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
  23809. 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
  23810. * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
  23811. 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
  23812. * reload.c (find_dummy_reload): Check that an output register
  23813. is valid for its mode.
  23814. 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
  23815. * combine.c (known_cond): After replacing the REG of a SUBREG, try
  23816. to simplify it.
  23817. * function.c (assign_parms): Demote promoted argument passed by
  23818. transparent reference.
  23819. 2002-02-14 Joel Sherrill <joel@OARcorp.com>
  23820. * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
  23821. -Acpu() and -Amachine() to eliminate warnings.
  23822. 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
  23823. * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
  23824. 2002-02-14 Kazu Hirata <kazu@hxi.com>
  23825. * config/h8300/h8300-protos.h: Update the prototype for
  23826. const_costs.
  23827. * config/h8300/h8300.c (const_costs): Treat SET as a little
  23828. more expensive operation.
  23829. * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
  23830. reference to const_costs.
  23831. 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
  23832. * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
  23833. 2002-02-14 Jakub Jelinek <jakub@redhat.com>
  23834. PR c/5503:
  23835. * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
  23836. use arguments from newtype.
  23837. 2002-02-13 Eric Christopher <echristo@redhat.com>
  23838. * config/mips/mips.c (override_options): Add check for march/mipsX
  23839. on the same command line. Fix error message in cpu processing.
  23840. Remove architecture and ISA checks.
  23841. 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
  23842. * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
  23843. * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
  23844. 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
  23845. * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
  23846. alternatives.
  23847. ("*movv8hi_internal1"): Same.
  23848. ("*movv16qi_internal1"): Same.
  23849. ("*movv4sf_internal1"): Same.
  23850. * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
  23851. not push_reload for altivec modes.
  23852. 2002-02-13 Joel Sherrill <joel@OARcorp.com>
  23853. * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
  23854. all RTEMS targets including removal of #includes from config/*/rtems*.h
  23855. file and adding them to tm_file setting. Added xm_defines=POSIX to
  23856. many targets.
  23857. * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
  23858. * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
  23859. * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
  23860. * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
  23861. * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
  23862. config/m68k/rtemself.h: Ditto.
  23863. * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
  23864. config/mips/rtems64.h: Ditto.
  23865. * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
  23866. * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
  23867. Ditto.
  23868. * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
  23869. config/sparc/rtemself.h: Ditto.
  23870. * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
  23871. * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
  23872. arm-rtems stanza closer to other arm-elf targets and made arm-rtems
  23873. more like arm-elf.
  23874. * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
  23875. config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
  23876. target made more similar to i386-elf.
  23877. * config/i386/t-rtems-i386: Added soft float support and multilibs.
  23878. * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
  23879. be similar to config/m68k/t-m68kelf.
  23880. * gthr-rtems.h: Encapsulate with extern "C" for C++.
  23881. Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
  23882. * regmove.c (kill_value): Handle subregs.
  23883. Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
  23884. * i386.md (mul patterns): Allow memory operand to be first;
  23885. add expanders where needed; fix constraints.
  23886. (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
  23887. Allow memory operand to be the first.
  23888. * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
  23889. operands.
  23890. 2002-02-13 Jakub Jelinek <jakub@redhat.com>
  23891. PR c/5681:
  23892. * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
  23893. GET_MODE (x).
  23894. 2002-02-13 Jakub Jelinek <jakub@redhat.com>
  23895. PR optimization/5547:
  23896. * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
  23897. all valid IA-32 address modes involving non-scaled %ebx and
  23898. GOT/GOTOFF as displacement.
  23899. 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
  23900. * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
  23901. after emitting ltorg insns.
  23902. * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
  23903. *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
  23904. *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
  23905. *abssf2): Fix "op_type" attribute.
  23906. 2002-02-13 Douglas B Rupp <rupp@gnat.com>
  23907. * mkconfig.sh: Avoid using a subshell redirect.
  23908. ($output.T): Change to $(output)T.
  23909. (ENABLE_NLS): Remove unneeded undef.
  23910. * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
  23911. * config/alpha/x-vms (libsubdir): Define.
  23912. * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
  23913. register frame procedures. Optimize retrieving context.
  23914. * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
  23915. (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
  23916. * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
  23917. Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23918. * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
  23919. Make same change as for find_base_value.
  23920. 2002-02-13 Kazu Hirata <kazu@hxi.com>
  23921. * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
  23922. of QImode and SImode.
  23923. 2002-02-13 Kazu Hirata <kazu@hxi.com>
  23924. * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
  23925. length computation of movsi.
  23926. * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
  23927. 2002-02-13 Kazu Hirata <kazu@hxi.com>
  23928. * config/h8300/h8300.md (subqi3): Tighten the predicate for
  23929. operands[2] to register_operand.
  23930. Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
  23931. * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
  23932. 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
  23933. * config/rs6000/rs6000.md: Use predicate altivec_register_operand
  23934. for altivec_lvx* and altivec_stvx*.
  23935. ("*movv4si_internal"): Add constraint for loading from GPRs.
  23936. ("*movv8hi_internal1"): Same.
  23937. ("*movv16qi_internal1"): Same.
  23938. ("*movv4sf_internal1"): Same.
  23939. * config/rs6000/rs6000.c (altivec_register_operand): New.
  23940. * config/rs6000/rs6000.h (PREDICATE_CODES): Add
  23941. altivec_register_operand.
  23942. 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
  23943. * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
  23944. handle SYMBOL_REF.
  23945. 2002-02-13 Stan Shebs <shebs@apple.com>
  23946. * c-typeck.c (digest_init): Handle vectors.
  23947. (really_start_incremental_init): Same.
  23948. (pop_init_level): Same.
  23949. (process_init_element): Same.
  23950. * varasm.c (output_constant): Same.
  23951. * expr.c (clear_storage): Same.
  23952. (store_constructor): Same.
  23953. 2002-02-12 Eric Christopher <echristo@redhat.com>
  23954. * explow.c (hard_function_value): Add comment explaining
  23955. signed/unsigned comparison.
  23956. 2002-02-12 Jakub Jelinek <jakub@redhat.com>
  23957. * jump.c (never_reached_warning): Add finish argument.
  23958. If finish is NULL, stop on CODE_LABEL, otherwise stop before first
  23959. real insn after end.
  23960. * rtl.h (never_reached_warning): Adjust prototype.
  23961. * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
  23962. * cfgrtl.c (flow_delete_block): Pass b->end as finish to
  23963. never_reached_warning.
  23964. 2002-02-12 Graham Stott <grahams@redhat.com>
  23965. * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
  23966. 2002-02-12 Kazu Hirata <kazu@hxi.com>
  23967. * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
  23968. logical shifts on H8/300.
  23969. (shift_alg_si): Improve several shifts on H8/300.
  23970. (get_shift_alg): Likewise.
  23971. 2002-02-12 Graham Stott <grahams@redhat.com>
  23972. * config/pa/pa.c (compute_movstrsi_length): Fix typos.
  23973. Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  23974. * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
  23975. Handle #ifdef POINTERS_EXTEND_UNSIGNED.
  23976. 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
  23977. * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
  23978. non-CONST_INT through default_assemble_integer.
  23979. <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
  23980. <case 8>: Abort for CONST_DOUBLE.
  23981. 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  23982. * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
  23983. is specified.
  23984. * config/pa/pa-linux.h (LIB_SPEC): Delete.
  23985. * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
  23986. 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
  23987. * config/stormy16/stormy16.md (zero_extendqihi2): New.
  23988. 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
  23989. * regrename.c (regrename_optimize): Don't accept a
  23990. part-clobbered register if the replaced register is not part
  23991. clobbered.
  23992. * calls.c (store_one_arg): In the non-BLKmode non-partial case,
  23993. take padding into account when computing the argument value.
  23994. * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
  23995. * combine.c (try_combine): Apply substitutions in
  23996. CALL_INSN_FUNCTION_USAGE too.
  23997. 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
  23998. * config/rs6000/rs6000.c (altivec_init_builtins): Handle
  23999. __builtin_altivec_abs*.
  24000. (bdesc_abs): New.
  24001. * config/rs6000/rs6000.h (rs6000_builtins): Add
  24002. ALTIVEC_BUILTIN_ABS*.
  24003. * config/rs6000/altivec.h: Use const char for builtins expecting
  24004. literals.
  24005. (vec_abs): New versions for C and C++.
  24006. (vec_abss): Same.
  24007. 2002-02-10 Kazu Hirata <kazu@hxi.com>
  24008. * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
  24009. using Pmode.
  24010. 2002-02-10 Kazu Hirata <kazu@hxi.com>
  24011. * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
  24012. constant definition from h8300.md.
  24013. (FRAME_POINTER_REGNUM): Likewise.
  24014. * config/h8300/h8300.md (define_constants): Add FP_REG.
  24015. 2002-02-10 Kazu Hirata <kazu@hxi.com>
  24016. * config/h8300/h8300.c (print_operand): Remove redundant code.
  24017. 2002-02-10 Kazu Hirata <kazu@hxi.com>
  24018. * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
  24019. * config/h8300/h8300.c (byte_reg): Make it static.
  24020. 2002-02-10 Richard Henderson <rth@redhat.com>
  24021. PR c/5623
  24022. * c-typeck.c (incomplete_type_error): Handle flexible array members.
  24023. 2002-02-10 Richard Henderson <rth@redhat.com>
  24024. PR c++/5624
  24025. * tree.c (append_random_chars): Don't abort if main_input_filename
  24026. does not exist.
  24027. 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
  24028. * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
  24029. 2002-02-10 Kazu Hirata <kazu@hxi.com>
  24030. * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
  24031. (pushhi1): Likewise.
  24032. 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
  24033. * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
  24034. * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
  24035. 2002-02-09 David O'Brien <obrien@FreeBSD.org>
  24036. * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
  24037. remove MASK_VIS.
  24038. (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
  24039. 2002-02-09 Kazu Hirata <kazu@hxi.com>
  24040. * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
  24041. a half of an SImode register on H8/300.
  24042. Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
  24043. * i386.md (movdi_2): Add missing '!'.
  24044. 2002-02-09 Kazu Hirata <kazu@hxi.com>
  24045. * config/h8300/h8300.h: Fix formatting. Remove commented-out
  24046. definitions.
  24047. 2002-02-09 Kazu Hirata <kazu@hxi.com>
  24048. * config/h8300/h8300.md (length): Correct the distance valid
  24049. for the short branch.
  24050. 2002-02-09 Kazu Hirata <kazu@hxi.com>
  24051. * config/h8300/h8300.md (iorhi3): Tighten the predicates.
  24052. 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
  24053. * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
  24054. registers in SImode.
  24055. (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
  24056. part-clobbered.
  24057. * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
  24058. patch.
  24059. Contribute sh64-elf.
  24060. 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
  24061. * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
  24062. (sh_cannot_modify_jumps_p): New function.
  24063. 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
  24064. * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
  24065. (sh_ms_bitfield_layout_p): New function.
  24066. 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
  24067. Zack Weinberg <zack@codesourcery.com>
  24068. * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
  24069. expand_simple_binop instead of expand_binop.
  24070. 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
  24071. * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
  24072. use of .quad and .uaquad.
  24073. * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
  24074. TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
  24075. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  24076. * config/sh/sh.md (movdi_const, movdi_const_32bit,
  24077. movdi_const_16bit): Make sure all CONSTs have modes.
  24078. (sym2PIC): Ditto, but by adjusting all callers.
  24079. * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
  24080. if the prologue calls the SHmedia argument decoder or register
  24081. saver.
  24082. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  24083. * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
  24084. (TARGET_ASM_ALIGNED_DI_OP): Likewise.
  24085. (sh_expand_epilogue): Don't emit USE of return target register.
  24086. (prepare_move_operands): Legitimize DImode PIC addresses.
  24087. (sh_media_register_for_return): Skip tr0, used to initialize the
  24088. PIC register.
  24089. (sh_expand_prologue): Remove explicit USE of return register.
  24090. (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
  24091. CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
  24092. * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
  24093. (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
  24094. (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
  24095. EXTRA_CONSTRAINT_T.
  24096. (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
  24097. (MOVI_SHORI_BASE_OPERAND_P): New.
  24098. (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
  24099. (EXTRA_CONSTRAINT_T): Define in terms of them.
  24100. (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
  24101. * config/sh/sh.md (movsi_media, movsi_media_nofpu,
  24102. movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
  24103. alternatives supporting TARGET_REGS.
  24104. (UNSPEC_GOTPLT): New constant.
  24105. (movdi split): Move incrementing of LABEL_NUSES...
  24106. (movdi_const, movdi_const_32bit): Here. Use
  24107. MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
  24108. (movdi_const_16bit): New.
  24109. (call, call_value) [flag_pic]: Use GOTPLT.
  24110. (call_pop, call_value_pop): New expands.
  24111. (call_pop_compact, call_pop_rettramp): New insns.
  24112. (call_value_pop_compact, call_value_pop_rettramp): New insns.
  24113. (sibcall) [flag_pic]: Use GOT.
  24114. (builtint_setjmp_receiver): Remove bogus, unused expand.
  24115. (GOTaddr2picreg): Implement for SHcompact and SHmedia.
  24116. (*pt, *ptb, ptrel): New insns.
  24117. (sym2GOT): Handle DImode GOT.
  24118. (sym2GOTPLT, symGOTPLT2reg): New expands.
  24119. (sym2PIC): New expand.
  24120. (shcompact_return_tramp): Use GOTPLT to return trampoline.
  24121. (shcompact_return_tramp_i): Use return register explicitly.
  24122. * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
  24123. disable flag_reorder_blocks.
  24124. 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
  24125. * config/sh/sh.md (sibcall_compact): Reorder return, uses and
  24126. clobbers, for clarity.
  24127. (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
  24128. restoring of r0 in macl as MAYBE_DEAD.
  24129. 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
  24130. * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
  24131. * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
  24132. alter_subreg all over.
  24133. (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
  24134. reload, instead of emitting instructions that would require
  24135. reloading.
  24136. (casesi_load_media): Add missing modes.
  24137. 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
  24138. * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
  24139. as used if the argument decoder is called.
  24140. 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
  24141. * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
  24142. Pmode, then extend it to DImode if necessary.
  24143. 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
  24144. * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
  24145. constants in FPU-enabled SHmedia, let them be loaded from memory.
  24146. 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
  24147. * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
  24148. Adjust whitespace in assembly output templates.
  24149. 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
  24150. * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
  24151. mode of if_then_else.
  24152. 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
  24153. * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
  24154. sh.h.
  24155. 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
  24156. Joern Rennecke <amylaar@redhat.com>
  24157. * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
  24158. (SUBTARGET_CPP_PTR_SPEC): New.
  24159. (SUBTARGET_CPP_SPEC): Remove.
  24160. 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
  24161. * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
  24162. Fix typo in previous checkin.
  24163. 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
  24164. * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
  24165. 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
  24166. Alexandre Oliva <aoliva@redhat.com>
  24167. * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
  24168. what single FP register can hold for SHmedia target.
  24169. 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
  24170. Alexandre Oliva <aoliva@redhat.com>
  24171. * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
  24172. Do not split into SUBREG.
  24173. 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
  24174. * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
  24175. and added new functions as specified in SH5 ABI r9.
  24176. 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
  24177. * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
  24178. 8-byte boundary.
  24179. 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
  24180. * config/sh/sh.c (dump_table): Add const0_rtx in calls of
  24181. gen_consttable_4 and gen_consttable_8. Emit multiple labels
  24182. and consttable_window_ends.
  24183. 2001-06-03 Graham Stott <grahams@redhat,com>
  24184. * config/sh/sh.md (movdi split): Remove unused variable last_insn.
  24185. 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
  24186. * config/sh/sh.c (print_operand): Handle floating-point pair,
  24187. vector and matrix registers.
  24188. * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
  24189. vector modes into account.
  24190. * config/sh/sh.md (movv2sf): Split move between registers into
  24191. movdf.
  24192. (movv4sf, movv16sf): Introduce insns that get split only after
  24193. reload.
  24194. * config/sh/shmedia.h: Fix Copyright dates.
  24195. * config/sh/ushmedia.h: Likewise. Move loop counter
  24196. declarations into conditionals that uses them.
  24197. (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
  24198. loop boundary.
  24199. * config/sh/sshmedia.h: Fix Copyright dates.
  24200. (sh_media_PUTCFG): Fix constraints.
  24201. 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
  24202. * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
  24203. ptrmemfunc_vbit_in_delta for SH5.
  24204. 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
  24205. * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
  24206. * invoke.texi: Likewise.
  24207. 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
  24208. * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
  24209. GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
  24210. GCC_pop_shmedia_regs_nofpu): New global symbols.
  24211. * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
  24212. * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
  24213. * config/sh/sh.c (calc_live_regs): Account for PR's saving in
  24214. compact function with nonlocal labels.
  24215. (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
  24216. (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
  24217. (initial_elimination_offset): Account for their stack space.
  24218. * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
  24219. * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
  24220. movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
  24221. movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
  24222. least one of the operands to be a register.
  24223. (movv2sf): Likewise. Renamed to movv2sf_i.
  24224. (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
  24225. prepare_move_operands() before emitting SHmedia insns.
  24226. 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
  24227. * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
  24228. Don't save nor initialize r12. Don't mis-align the stack.
  24229. Pad the code with a nop.
  24230. * config/sh/crti.asm: Don't restore r12. Don't mis-align the
  24231. stack.
  24232. 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
  24233. * gcc/longlong.h (__umulsidi3, count_leading_zeros)
  24234. [__SHMEDIA__]: Implement.
  24235. 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
  24236. * config/sh/sh.md: Set latency of `pt' closer to reality.
  24237. (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
  24238. movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
  24239. Set move, load and store type attributes.
  24240. * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
  24241. * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
  24242. profiling.
  24243. * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
  24244. * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
  24245. * config/sh/sh.c (sh_media_register_for_return): New function.
  24246. (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
  24247. branch-target register.
  24248. (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
  24249. * config/sh/sh.md (return_media_i): Use any call-clobbered
  24250. branch-target register.
  24251. (return_media): If r18 wasn't copied in the prologue, copy it
  24252. here.
  24253. * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
  24254. Clear class FP0_REGS.
  24255. * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
  24256. from elf.h.
  24257. 2001-03-08 DJ Delorie <dj@redhat.com>
  24258. * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
  24259. 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
  24260. * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
  24261. 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
  24262. * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
  24263. 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
  24264. * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
  24265. return value correctly for call_cookie.
  24266. 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
  24267. * config/sh/crt1.asm (start): Modified so as to call
  24268. ___setup_argv_and_call_main.
  24269. 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
  24270. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
  24271. SHmedia mode.
  24272. 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
  24273. * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
  24274. (STRIP_NAME_ENCODING): Use it.
  24275. (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
  24276. 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
  24277. * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
  24278. prepare_scc_operands().
  24279. * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
  24280. (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
  24281. 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
  24282. * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
  24283. 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
  24284. * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
  24285. * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
  24286. used in shcompact_incoming_args.
  24287. * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
  24288. change.
  24289. * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
  24290. mode.
  24291. * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
  24292. Adjust accordingly.
  24293. * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
  24294. Simplify. Adjust. Add sanity check.
  24295. * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
  24296. FPU_SINGLE_BIT.
  24297. * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
  24298. TARGET_SHCOMPACT.
  24299. (udivsi3, divsi3): Use them.
  24300. (force_mode_for_call): New insn.
  24301. (call, call_value, sibcall_value): Emit it before SHcompact
  24302. calls.
  24303. 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
  24304. * config/sh/sh.md (call, call_value, sibcall): Make sure the
  24305. call cookie is non-NULL before taking its value.
  24306. 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
  24307. * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
  24308. 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
  24309. * config/sh/sh.md (shcompact_incoming_args): Set argument memory
  24310. block.
  24311. * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
  24312. * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
  24313. temporary for stack adjusts. Use MACL and MACH to pass
  24314. arguments to shcompact_incoming_args.
  24315. * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
  24316. clobber r1.
  24317. * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
  24318. (nested_trampoline): Load static chain address into r1.
  24319. * config/sh/sh.md (movdi_media splits): Fix sign-extension.
  24320. 2001-01-07 Alexandre Oliva <aoliva@redhat.com
  24321. * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
  24322. fp_arith_reg_operand().
  24323. 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
  24324. * config/sh/sh.md (casesi): Sign-extend the first two operands,
  24325. and use signed compares for them.
  24326. * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
  24327. 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
  24328. ones properly aligned.
  24329. (find_barrier): Account for extra alignment needed for 8-byte wide
  24330. constants.
  24331. (machine_dependent_reorg): Require a label for the second 4-byte
  24332. constant after an 8-byte one.
  24333. * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
  24334. change.
  24335. 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
  24336. * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
  24337. last_float when switching float modes.
  24338. * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
  24339. auto-increment for general-purpose registers.
  24340. * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
  24341. result.
  24342. * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
  24343. for stack adjust.
  24344. * config/sh/sh.c (sh_builtin_saveregs): Support using all
  24345. registers for varargs.
  24346. 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
  24347. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
  24348. * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
  24349. CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
  24350. (CALL_COOKIE_INT_REG_SHIFT): Adjust.
  24351. (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
  24352. call_cookie accordingly.
  24353. (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
  24354. (SHCOMPACT_BYREF): Likewise.
  24355. (SHCOMPACT_FORCE_ON_STACK): New macro.
  24356. * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
  24357. (sh_builtin_saveregs): Likewise.
  24358. * config/sh/lib1funcs.asm (shcompact_call_trampoline,
  24359. shcompact_incoming_args): Use new shift values. Support
  24360. sequences of consecutive and non-consecutive pushes/pops.
  24361. * config/sh/sh.md (return): Don't explicitly use PR_REG.
  24362. 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
  24363. * config/sh/sh.h (TEXT_SECTION): Define.
  24364. * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
  24365. 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
  24366. * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
  24367. * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
  24368. return values on FPU-enabled SHmedia.
  24369. (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
  24370. FPU-enabled SHmedia.
  24371. (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
  24372. value is returned in a non-FP reg and is not returned by
  24373. reference.
  24374. * config/sh/sh.md (shcompact_return_tramp_i): Change type to
  24375. jump_ind.
  24376. 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
  24377. * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
  24378. (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
  24379. quad-aligned to be passed by callee-copy reference.
  24380. 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
  24381. * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
  24382. * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
  24383. 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
  24384. * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
  24385. copying low-numbered FP regs to r7 and r8.
  24386. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
  24387. FP regs to general-purpose regs only if the copy was passed on the
  24388. stack.
  24389. * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
  24390. copying FP reg to r9.
  24391. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
  24392. copy FP regs to general-purpose regs only in outgoing calls.
  24393. * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
  24394. change from 2000-10-30. Adjust for 64-bit (or 32-bit)
  24395. HOST_WIDE_INT.
  24396. * config/sh/sh.h (struct sh_args): Document all fields.
  24397. (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
  24398. passed partially on the stack should not consider making
  24399. sibcalls.
  24400. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
  24401. stack_regs only for incoming calls. When passing FP args,
  24402. make sure there are FP regs available before modifying
  24403. call_cookie.
  24404. (SHCOMPACT_BYREF): Pass double args in general-purpose
  24405. registers by reference.
  24406. 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
  24407. * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
  24408. attempt to generate sibcalls if the caller got any arguments
  24409. by reference.
  24410. * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
  24411. * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
  24412. to 8-byte boundaries.
  24413. * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
  24414. * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
  24415. * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
  24416. stored in the stack.
  24417. * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
  24418. for the offsets to have the ISA bit set.
  24419. (shcompact_call_trampoline): Document. Swap r0 and r1, to match
  24420. invocation. Use beq instead of bgt to mark end of sequence of
  24421. loads.
  24422. (shcompact_incoming_args): Fix store of r2. Use beq instead of
  24423. bgt to mark end of sequence of stores.
  24424. * config/sh/sh.c (arith_operand): Don't check whether
  24425. CONST_OK_FOR_J for now.
  24426. * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
  24427. instead of long for conversion.
  24428. 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
  24429. * config/sh/sh.c (print_operand_address): Convert INTVAL to int
  24430. before passing it to fprintf.
  24431. 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
  24432. * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
  24433. Call set_fpscr before reading/writing SR.
  24434. * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
  24435. Call set_fpscr.
  24436. * config/sh/lib1funcs.asm: Add `.align 2' directives before
  24437. SHmedia code.
  24438. (FMOVD_WORKS): Define on SH5 with FPU.
  24439. (set_fpscr): Define on SH5. Remove separate _fpscr_values
  24440. setting.
  24441. * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
  24442. _fpscr_values.
  24443. 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
  24444. * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
  24445. address.
  24446. (ia_main_table): Ditto.
  24447. 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
  24448. * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
  24449. * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
  24450. the definitions from sh.h.
  24451. * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
  24452. TARGET_SH5.
  24453. (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
  24454. * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
  24455. * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
  24456. 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
  24457. * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
  24458. Increment LABEL_NUSES.
  24459. * config/sh/sh.h (SIZE_TYPE): Define as conditional on
  24460. TARGET_SH5.
  24461. (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
  24462. defined.
  24463. * config/sh/elf.h (SIZE_TYPE): Likewise.
  24464. * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
  24465. * config/sh/lib1funcs.asm (shcompact_call_trampoline,
  24466. shcompact_incoming_args): Load switch table addresses using
  24467. datalabel.
  24468. * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
  24469. (NO_BUILTIN_SIZE_TYPE): Define.
  24470. (SIZE_TYPE): Don't define.
  24471. * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
  24472. * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
  24473. definition of __SH5__=32 for -m5-compact-nofpu.
  24474. * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
  24475. ADDR_DIFF_VEC.
  24476. 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
  24477. * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
  24478. 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
  24479. * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
  24480. (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
  24481. (INSN_LENGTH_ALIGNMENT): Likewise.
  24482. 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
  24483. * config/sh/sh.md (call, call_value, sibcall): Simplify
  24484. copying of non-branch-target register.
  24485. 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
  24486. * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
  24487. * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
  24488. 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
  24489. * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
  24490. floating-point values as structs.
  24491. (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
  24492. (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
  24493. general-purpose register.
  24494. (SH5_PROTOTYPED_FLOAT_ARG): New macro.
  24495. 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
  24496. * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
  24497. * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
  24498. * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
  24499. (ENCODE_SECTION_INFO): Enclose variables and constants in
  24500. DATALABEL unspecs.
  24501. (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
  24502. (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
  24503. (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
  24504. * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
  24505. only for LABEL_REFs. For SYMBOL_REFs, prepend
  24506. SH_DATALABEL_ENCODING to the symbol name.
  24507. * config/sh/sh.md (indirect_jump): Use SUBREG instead of
  24508. convert_mode().
  24509. 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
  24510. * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
  24511. UNSPEC_DATALABEL.
  24512. * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
  24513. * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
  24514. (DATALABEL_REF_P): Don't require CONST.
  24515. (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
  24516. REL label.
  24517. 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
  24518. * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
  24519. right.
  24520. 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
  24521. * config/sh/sh.md (movsi_media, call, call_value, sibcall):
  24522. Use shallow_copy_rtx and PUT_MODE to change the mode of
  24523. SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
  24524. * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
  24525. on SHmedia using GENERAL_REGs.
  24526. * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
  24527. bltu_media_i): Fix reversion of conditions.
  24528. 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
  24529. * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
  24530. * config/sh/sh.c (output_far_jump): Save r13 in macl.
  24531. 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
  24532. * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
  24533. 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
  24534. * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
  24535. (GCC_nested_trampoline): Likewise.
  24536. * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
  24537. * config/sh/sh.c (gen_datalabel_ref): Define.
  24538. * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
  24539. (INITIALIZE_TRAMPOLINE): Likewise.
  24540. (TRAMPOLINE_ADJUST_ADDRESS): Define.
  24541. (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
  24542. (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
  24543. (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
  24544. * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
  24545. (ic_invalidate): Adjust for SH5.
  24546. (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
  24547. * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
  24548. _nested_trampoline.
  24549. 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
  24550. * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
  24551. (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
  24552. 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
  24553. * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
  24554. * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
  24555. 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
  24556. * config/sh/sh.c (target_reg_operand): Match only target-branch
  24557. registers and pseudos that aren't virtual registers.
  24558. * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
  24559. Copy operands that don't match target_reg_operand to pseudos.
  24560. (call_media, call_value_media, sibcall_media): Use
  24561. target_reg_operand instead of target_operand.
  24562. 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
  24563. * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
  24564. * config/sh/sh.c (target_reg_operand): Match hardware registers
  24565. other than branch-target registers.
  24566. * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
  24567. * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
  24568. (fpscr_values) [SH5 == 32]: Define.
  24569. * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
  24570. * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
  24571. Handle function addresses coming in SUBREGs.
  24572. 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
  24573. * config/sh/lib1funcs.asm (shcompact_call_trampoline,
  24574. shcompact_return_trampoline): Use datalabel where appropriate.
  24575. 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
  24576. * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
  24577. general-purpose register to copy one branch-target register to
  24578. another.
  24579. 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
  24580. * config/sh/sh.c (target_operand): Accept LABEL_REFs and
  24581. SYMBOL_REFs with VOIDmode.
  24582. * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
  24583. bltu_media_i): New insns.
  24584. 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
  24585. * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
  24586. (INIT_CUMULATIVE_ARGS): Likewise.
  24587. 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
  24588. * machmode.def (V16SFmode): New mode.
  24589. * c-common.c (type_for_mode): Support V2SF and V16SF.
  24590. * tree.c (build_common_tree_nodes_2): Likewise.
  24591. * tree.h (tree_index): Likewise.
  24592. * calls.c (emit_call_1): Take args_so_far. Adjust all
  24593. callers. Introduce CALL_POPS_ARGS.
  24594. * tm.texi (CALL_POPS_ARGS): Document.
  24595. * config/sh/crt1.asm: Implement in SHmedia mode.
  24596. * config/sh/crti.asm, config/sh/crtn.asm: Likewise
  24597. * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
  24598. (DBX_REGISTER_NUMBER): Renumber registers for SH5.
  24599. * config/sh/lib1funcs.asm: Disable functions unused in SH5.
  24600. Implement divsi and udivsi in SHmedia mode. Introduce
  24601. SHcompact trampolines.
  24602. * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
  24603. only in SHmedia64.
  24604. (regno_reg_class): Rewrite.
  24605. (fp_reg_names): Remove.
  24606. (sh_register_names, sh_additional_register_names): New.
  24607. (print_operand): Added `u'. Support SUBREGs in addresses.
  24608. Add parentheses around shifted CONSTs.
  24609. (output_file_start): Output .mode and .abi directives.
  24610. (shiftcosts, addsubcosts, multcosts): Adjust.
  24611. (output_stack_adjust): Compute alignment. Sanity-check SIZE.
  24612. (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
  24613. (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
  24614. bytes, not registers. Take into account the need for the
  24615. SHcompact incoming args trampoline. Adjust all callers.
  24616. (sh_expand_prologue): Take stack_regs into account. Call
  24617. incoming args trampoline. Keep stack aligned as per SH5 ABI.
  24618. (sh_expand_epilogue): Take stack_regs into accoutn. Keep
  24619. stack aligned as per SH5 ABI.
  24620. (sh_builtin_saveregs): Support SH5 ABI.
  24621. (sh_build_va_list, sh_va_start): Likewise.
  24622. (initial_elimination_offset): Take alignment into account.
  24623. Compute location of PR according to the SH5 stack frame.
  24624. (arith_reg_operand): Reject branch-target registers.
  24625. (shmedia_6bit_operand): New.
  24626. (logical_operand): Use CONST_OK_FOR_P on SHmedia.
  24627. (target_reg_operand): Match DImode only. Accept SUBREGs.
  24628. (target_operand): New.
  24629. * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
  24630. (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
  24631. SIBCALL_REGS for SHmedia.
  24632. (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
  24633. (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
  24634. (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
  24635. (TARGET_SWITCHES): New SH5 flags.
  24636. (OVERRIDE_OPTIONS): Set SH5-specific options. Use
  24637. VALID_REGISTER_P to disable unsupported registers.
  24638. (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
  24639. (POINTER_SIZE, PARM_BOUNDARY): Adjust.
  24640. (FUNCTION_ARG_PADDING): Define.
  24641. (FASTEST_ALIGNMENT): Adjust.
  24642. (SH_REGISTER_NAMES_INITIALIZER): New.
  24643. (sh_register_names): Declare.
  24644. (DEBUG_REGISTER_NAMES): Define.
  24645. (REGISTER_NAMES): Define based on sh_register_names.
  24646. (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
  24647. (sh_additional_register_names): Declare.
  24648. (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
  24649. (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
  24650. (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
  24651. (REGISTER_NATURAL_MODE): Define.
  24652. (FIRST_PSEUDO_REGISTER): Adjust.
  24653. (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
  24654. (HARD_REGNO_CALL_PART_CLOBBERED): Define.
  24655. (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
  24656. (VECTOR_MODE_SUPPORTED_P): Define.
  24657. (REG_CLASS_CONTENTS): Adjust.
  24658. (SMALL_REGISTER_CLASSES): Adjust.
  24659. (REG_ALLOC_ORDER): Adjust.
  24660. (INDEX_REG_CLASS): Adjust.
  24661. (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
  24662. (CONST_OK_FOR_LETTER_P): Adjust.
  24663. (PREFERRED_RELOAD_CLASS): Adjust.
  24664. (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
  24665. (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
  24666. (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
  24667. (FIRST_FP_PARM_REG): Adjust.
  24668. (CALL_POPS_ARGS): Define.
  24669. (FUNCTION_ARG_REGNO_P): Adjust.
  24670. (struct sh_args): New fields.
  24671. (GET_SH_ARG_CLASS): Adjust.
  24672. (INIT_CUMULATIVE_ARGS): Adjust.
  24673. (INIT_CUMULATIVE_INCOMING_ARGS): Define.
  24674. (FUNCTION_ARG_ADVANCE): Adjust.
  24675. (FUNCTION_ARG): Adjust.
  24676. (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
  24677. (FUNCTION_ARG_CALLEE_COPIES): Define.
  24678. (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
  24679. (STRICT_ARGUMENT_NAMING): Define.
  24680. (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
  24681. (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
  24682. (SH5_WOULD_BE_PARTIAL_NREGS): Define.
  24683. (SETUP_INCOMING_VARARGS): Adjust.
  24684. (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
  24685. (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
  24686. (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
  24687. (SUBREG_OK_FOR_INDEX_P): Adjust.
  24688. (EXTRA_CONSTRAINT_S): Update.
  24689. (EXTRA_CONSTRAINT_T): New.
  24690. (EXTRA_CONSTRAINT): Adjust.
  24691. (GO_IF_LEGITIMATE_INDEX): Adjust.
  24692. (GO_IF_LEGITIMATE_ADDRESS): Adjust.
  24693. (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
  24694. (MOVE_MAX): Adjust.
  24695. (MAX_MOVE_MAX): Define.
  24696. (Pmode): Adjust.
  24697. (CONST_COSTS): Adjust.
  24698. (REGISTER_MOVE_COST): Adjust.
  24699. (BRANCH_COST): Adjust.
  24700. (TEXT_SECTION_ASM_OP): Adjust.
  24701. (DBX_REGISTER_NUMBER): Adjust.
  24702. (ASM_OUTPUT_DOUBLE_INT): New.
  24703. (UNALIGNED_DOUBLE_INT_ASM_OP): New.
  24704. (PREDICATE_CODES): Adjust.
  24705. (PROMOTE_MODE): Adjust.
  24706. (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
  24707. * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
  24708. (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
  24709. (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
  24710. (DR0_REG, DR2_REG, DR4_REG): Renumber.
  24711. (TR0_REG, TR1_REG, TR2_REG): New.
  24712. (XD0_REG): Renumber.
  24713. (UNSPEC_COMPACT_ARGS): New.
  24714. (type): Added pt and ptabs.
  24715. (length): Default to 4 on SHmedia. Default pt length to 12
  24716. and 20 on SHmedia32 and SHmedia64, respectively.
  24717. (pt): New function unit.
  24718. (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
  24719. Add whitespace between operands of SHmedia instructions.
  24720. (movdicc): Fix.
  24721. (adddi3_media, addsi3_media): Adjust constraints.
  24722. (subsi3) [SHmedia]: Force operand 1 into a register.
  24723. (udivsi3_i1_media, udivsi3_i4_media): New.
  24724. (udivsi3): Support SHmedia.
  24725. (divsi3_i1_media, divsi3_i4_media): New.
  24726. (divsi3): Support SHmedia.
  24727. (anddi3, iordi3, xordi3): Adjust constraints.
  24728. (zero_extendhidi2, zero_extendqidi2): New.
  24729. (extendsidi2, extendhidi2, extendqidi2): New.
  24730. (push, pop, push_e, push_fpul, push_4): Disable on SH5.
  24731. (pop_e, pop_fpul, pop_4): Likewise.
  24732. (movsi_media): Support FP and BT registers.
  24733. (movsi_media_nofpu): New. Adjust splits to DImode.
  24734. (lduw, ldub): Renamed to zero_extend* above.
  24735. (movqi_media): Fix typo.
  24736. (movdi_media): Support FP and BT registers.
  24737. (movdi_media_nofpu): New. Adjust splits for SHmedia32.
  24738. (movdi_const_32bit): New.
  24739. (shori_media): Require immediate operand. Use `u' for output.
  24740. (movdf_media, movsf_media): Simplified.
  24741. (movdf_media_nofpu, movsf_media_nofpu): New.
  24742. (movdf, movsf): Adjust
  24743. (movv2sf, movv2sf, movv16sf): New.
  24744. (beq_media, beq_media_i): Adjust constraints. Don't use
  24745. scratch BT register.
  24746. (bne_media, bne_media_i): Likewise.
  24747. (bgt_media, bgt_media_i): Likewise.
  24748. (bge_media, bge_media_i): Likewise.
  24749. (bgtu_media, bgtu_media_i): Likewise.
  24750. (bgeu_media, bgeu_media_i): Likewise.
  24751. (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
  24752. bunordered): Emit jump insn. Force operands to registers when
  24753. needed.
  24754. (jump_media, jump): Simplify.
  24755. (call_compact, call_compact_rettramp): New.
  24756. (call_value_compact, call_value_compact_rettramp): New.
  24757. (call_media, call_value_media): Simplify.
  24758. (sibcall_compact, sibcall_media): New.
  24759. (call, call_value): Adjust for SHmedia and SHcompact.
  24760. (sibcall, sibcall_value, untyped_call): Likewise.
  24761. (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
  24762. (indirect_jump): Adjust for SHmedia.
  24763. (casesi_jump_media): New.
  24764. (nop): Re-enable for SHmedia.
  24765. (call_site): Restrict to SH1.
  24766. (casesi): Adjust for SHmedia.
  24767. (casesi_shift_media, casesi_load_media): New.
  24768. (return): Explicitly use PR register. Call return trampoline
  24769. on SHcompact.
  24770. (return_i): Explicitly use PR register.
  24771. (shcompact_return_tramp, shcompact_return_tramp_i): New.
  24772. (return_media): Adjust.
  24773. (shcompact_incoming_args): New.
  24774. (epilogue): Adjust.
  24775. (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
  24776. (movstrsi): Disable on SH5.
  24777. (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
  24778. (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
  24779. (subsf3, subsf3_media): Likewise.
  24780. (mulsf3, mulsf3_media, mac_media): Likewise.
  24781. (divsf3, divsf3_media): Likewise.
  24782. (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
  24783. (floatsisf2, fux_truncsfsi2): Likewise.
  24784. (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
  24785. constraints.
  24786. (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
  24787. (cmpunsf_media, cmpsf): Likewise.
  24788. (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
  24789. (abssf2, abssf2_media): Likewise.
  24790. (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
  24791. (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
  24792. (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
  24793. (floatsidf2, fix_truncdfsi2): Likewise.
  24794. (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
  24795. constraints.
  24796. (cmpeqdf_media, cmpgtdf_media): Likewise.
  24797. (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
  24798. (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
  24799. (absdf2, absdf2_media): Likewise.
  24800. (extendsfdf2, extendsfdf2_media): Likewise.
  24801. (truncsfdf2, truncsfdf2_media): Likewise.
  24802. * config/sh/sh64.h: New file.
  24803. * config/sh/t-sh64: New file.
  24804. * config/sh/shmedia.h: New file.
  24805. * config/sh/ushmedia.h: New file.
  24806. * config/sh/sshmedia.h: New file.
  24807. * configure.in: Added sh64-*-elf.
  24808. * configure: Rebuilt.
  24809. 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
  24810. * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
  24811. (reg_class_from_letter): Use `b' for TARGET_REGS.
  24812. (print_operand): Support `%M', `%m', `AND' and
  24813. `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
  24814. (andcosts): Adjust for SHmedia.
  24815. (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
  24816. Likewise.
  24817. (target_reg_operand): New function.
  24818. * config/sh/sh-protos.h (target_reg_operand): Declare.
  24819. * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
  24820. FP registers on SH5.
  24821. (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
  24822. on SH4.
  24823. (TARGET_REGISTER_P): New macro.
  24824. (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
  24825. (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
  24826. (EXTRA_CONSTRAINT_S): New macro.
  24827. (EXTRA_CONSTRAINT): Adjust.
  24828. (FLOAT_TYPE_SIZE): Define to 32.
  24829. (Pmode): DImode on SHmedia.
  24830. (CONST_COSTS): Adjust for SHmedia literals.
  24831. (PREDICATE_CODES): Added target_reg_operand.
  24832. (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
  24833. * config/sh/sh.md: Remove all attrs from SHmedia insns.
  24834. (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
  24835. (cmpdi): Accept SHmedia.
  24836. (movdicc_false, movdicc_true): New insns.
  24837. (movdicc): New expand.
  24838. (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
  24839. no_new_pseudos.
  24840. (addsi3_media): Match `S' constraint.
  24841. (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
  24842. (negdi2): Expand for SHmedia.
  24843. (one_cmpldi2): New expand.
  24844. (zero_extendsidi2): Change from expand to insn.
  24845. (extendsidi2): Add constraints.
  24846. (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
  24847. LD/ST address. Fix SI immediate loading split.
  24848. (movhi_media, movqi_media, lduw, ldub): New insns.
  24849. (movhi, movqi): Accept SHmedia.
  24850. (shori_media, movdi_media): Relax input constraints. Split
  24851. symbolic constants.
  24852. (movdf_media, movsf_media): New insn. New split to movdi.
  24853. (movdf, movsf): Match on SHmedia.
  24854. (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
  24855. bgeu_media): New insns and splits. New insns with `_i' suffix.
  24856. (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
  24857. (bunordered): New expand.
  24858. (jump_compact): Renamed from `jump'.
  24859. (jump_media): New insn.
  24860. (jump): New expand.
  24861. (call_media, call_value_media): New insns.
  24862. (call, call_value): Adjust.
  24863. (indirect_jump_compact): Renamed from `indirect_jump'.
  24864. (indirect_jump_media): New insn.
  24865. (indirect_jump): New expand.
  24866. (untyped_call, return): Accept SHmedia.
  24867. (return_media): New insn.
  24868. (prologue, epilogue, blockage): Accept SHmedia.
  24869. (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
  24870. (sunordered): New expand.
  24871. (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
  24872. cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
  24873. (addsf3_media, subsf3_media, mulsf3_media, mac_media,
  24874. divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
  24875. fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
  24876. cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
  24877. abssf2_media): New insns.
  24878. (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
  24879. cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
  24880. (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
  24881. floatdidf2, floatsidf2_media, fix_truncdfdi2,
  24882. fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
  24883. cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
  24884. absdf2_media): New insns.
  24885. (extendsfdf2, truncdfsf2): Adjust for SHmedia.
  24886. (extendsfdf2_media, truncdfsf2_media): New insns.
  24887. 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
  24888. * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
  24889. * config/sh/sh.h (CONST_OK_FOR_J): Document.
  24890. (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
  24891. * config/sh/sh.md (adddi3): New expand.
  24892. (adddi3_media, adddi3z_media): New insns.
  24893. (adddi3_compact): Renamed from adddi3.
  24894. (addsi3_media): Use add.l r63 to add constant zero.
  24895. (subdi3): New expand.
  24896. (subdi3_media): New insn.
  24897. (subdi3_compact): Renamed from subdi3.
  24898. (mulsidi3): New expand.
  24899. (mulsidi3_media): New insn.
  24900. (mulsidi3_compact): Renamed from mulsidi3.
  24901. (umulsidi3): New expand.
  24902. (umulsidi3_media): New insn.
  24903. (umulsidi3_compact): Renamed from umulsidi3.
  24904. (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
  24905. (ashlsi3, ashrsi3, lshrsi3): Use them.
  24906. (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
  24907. (ashldi3, ashrdi3, lshrdi3): Use them.
  24908. (zero_extendsidi2): New expand.
  24909. (extendsidi2): New insn.
  24910. (movsi_media): New insn. Split to movdi to load constants.
  24911. (movsi): Enable for shmedia.
  24912. (movdi_media): New insn. Use shori_media to load wide constants.
  24913. (short_media): New insn.
  24914. (movdi): Enable for shmedia.
  24915. 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
  24916. * config/sh/sh.h (CPP_SPEC): Added `m5'.
  24917. (SUBTARGET_CPP_SPEC): Added `!m5'.
  24918. (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
  24919. (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
  24920. to all other SH variants.
  24921. (TARGET_DEFAULT): Set to SH1_BIT.
  24922. (OVERRIDE_OPTIONS): Recognize sh5 CPU.
  24923. (BITS_PER_WORD): Raise to 64 on shmedia.
  24924. (MAX_BITS_PER_WORD): Change to 64.
  24925. (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
  24926. (INT_TYPE_SIZE): Keep as 32.
  24927. (UNITS_PER_WORD): Raise to 8 on shmedia.
  24928. (MIN_UNITS_PER_WORD): Keep as 4.
  24929. (POINTER_SIZE): Raise to 64 on shmedia.
  24930. (CONST_OK_FOR_J): New macro.
  24931. (CONST_OK_FOR_LETTER_P): Use it.
  24932. (processor_type): Add PROCESSOR_SH5.
  24933. * config/sh/sh.md: Conditionalize all expands, insns and
  24934. splits to TARGET_SH1.
  24935. (cpu): Added sh5.
  24936. (addsi3_compact): Renamed from...
  24937. (addsi3): Now an expand.
  24938. (addsi3_media, subsi3_media): New insns.
  24939. (subsi3): Don't negate constants with SHmedia.
  24940. * hooks.c: New file.
  24941. * hooks.h: New file.
  24942. * Makefile.in (HOOKS_H): New.
  24943. (TARGET_DEF_H): Added $(HOOKS_H).
  24944. (OBJS): Added hooks.o.
  24945. (cfgcleanup.o, bb-reorder.o): Added target.h.
  24946. (hooks.o): Added dependencies.
  24947. * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
  24948. (TARGET_INITIALIZER): this.
  24949. * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
  24950. * target.h (struct gcc_target): Added cannot_modify_jumps_p.
  24951. * bb-reorder.c: Include target.h.
  24952. (reorder_basic_blocks): Skip if cannot modify jumps.
  24953. * cfgcleanup.c: Include target.h.
  24954. (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
  24955. 2002-02-08 Chris Demetriou <cgd@broadcom.com>
  24956. * config/mips/mips.md (casesi_internal, casesi_internal_di):
  24957. Protect jump delay slot instructions with .set noreorder and
  24958. .set nomacro.
  24959. 2002-02-08 Chris Demetriou <cgd@broadcom.com>
  24960. * config/mips/mips.md (casesi_internal_di): Calculate
  24961. the index into the target offset table correctly.
  24962. 2002-02-08 Richard Henderson <rth@redhat.com>
  24963. * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
  24964. * final.c (output_addr_const): Accept and discard SUBREG.
  24965. * varasm.c (decode_addr_const): Don't abort on unknown expressions --
  24966. mark them unknown instead.
  24967. (simplify_subtraction): Handle RTX_UNKNOWN.
  24968. (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
  24969. 2002-02-08 David Edelsohn <edelsohn@gnu.org>
  24970. * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
  24971. 2002-02-08 Richard Henderson <rth@redhat.com>
  24972. * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
  24973. 2002-02-08 Andreas Jaeger <aj@suse.de>
  24974. * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
  24975. * config/i386/t-linux64: New file.
  24976. 2002-02-08 Jakub Jelinek <jakub@redhat.com>
  24977. * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
  24978. * c-parse.in (compstmt): Clear last_expr_type.
  24979. 2002-02-07 Richard Henderson <rth@redhat.com>
  24980. * loop.c (strength_reduce): Sink final_value when not
  24981. eliminating a biv.
  24982. 2002-02-07 David O'Brien <obrien@FreeBSD.org>
  24983. * config/sparc/freebsd.h: Fix mismatched spec {.
  24984. 2002-02-07 Richard Henderson <rth@redhat.com>
  24985. * cfgrtl.c: Include recog.h and insn-config.h.
  24986. (keep_with_call_p): Fix general_operand invocation.
  24987. * Makefile.in (cfgrtl.o): Update dependencies.
  24988. 2002-02-07 Kazu Hirata <kazu@hxi.com>
  24989. * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
  24990. comment. Accept HImode only if TARGET_H8300.
  24991. 2002-02-07 Eric Christopher <echristo@redhat.com>
  24992. * config/mips/crtn.asm: Cleanup #ifdefs.
  24993. 2002-02-07 Eric Christopher <echristo@redhat.com>
  24994. * config/mips/crti.asm: Add changes for mips16. mips16 uses
  24995. register 7 as RA instead of $31.
  24996. * config/mips/crtn.asm: Ditto.
  24997. * config/mips/mips.c (mips_move_2words): Add case for
  24998. TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
  24999. (compute_frame_size): Fix typo.
  25000. (save_restore_insns): Ditto. Make documentation about using
  25001. register $7 as return register more precise.
  25002. (mips_expand_epilogue): Fix comment. Add code to work around not
  25003. being able to add to the stack pointer directly.
  25004. * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
  25005. to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
  25006. epilogue.
  25007. 2002-02-07 Tom Rix <trix@redhat.com>
  25008. * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
  25009. immediates in ldu and stdu DS opcode field.
  25010. * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
  25011. * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
  25012. * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
  25013. 2002-02-07 Jeff Sturm <jsturm@one-point.com>
  25014. * config/sparc/sparc.c (compute_frame_size): Don't correct frame
  25015. offset for stack bias.
  25016. 2002-02-07 H.J. Lu <hjl@gnu.org>
  25017. * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
  25018. 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
  25019. * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
  25020. Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
  25021. * i386-protos.h (x86_order_regs_for_local_alloc): Declare
  25022. * i386.c (x86_order_regs_for_local_alloc): New global function.
  25023. * i386.h (REG_ALLOC_ORDER): CLeanup.
  25024. (ORDER_REGS_FOR_LOCAL_ALLOC): New.
  25025. 2002-02-07 Richard Henderson <rth@redhat.com>
  25026. PR optimization/2463
  25027. * alias.c (find_base_value): Recall base values for fixed hard regs.
  25028. * loop.c (loop_regs_update): Don't use single_set on non-insns.
  25029. 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
  25030. * config/mips/mips.md (define_delay) [mips16]: Adjust required
  25031. length.
  25032. 2002-02-06 Richard Henderson <rth@redhat.com>
  25033. PR c/5609
  25034. * stmt.c (resolve_operand_name_1): Take more care with mixed
  25035. named and unnamed operands.
  25036. 2002-02-06 Janis Johnson <janis187@us.ibm.com>
  25037. Jan Hubicka <jh@suse.cz>
  25038. * loop.c (remove_constant_addition): Avoid clobbering a shared
  25039. CONST expression.
  25040. 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
  25041. * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
  25042. * config/s390/t-linux64: New file.
  25043. * config/s390/libgcc-glibc.ver: New file.
  25044. 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
  25045. * config/s390/linux64.h: Delete file.
  25046. * config/s390/s390x.h: New file.
  25047. * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
  25048. as target header file.
  25049. * config/s390/linux.h (TARGET_VERSION): Define depending on
  25050. DEFAULT_TARGET_64BIT.
  25051. (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
  25052. (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
  25053. (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
  25054. (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
  25055. (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
  25056. (EXTRA_SPEC): New define.
  25057. * config/s390/s390.h (TARGET_VERSION): Define depending on
  25058. DEFAULT_TARGET_64BIT.
  25059. (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
  25060. 2002-02-06 Jason Merrill <jason@redhat.com>
  25061. * c-decl.c (finish_function): Warn about a non-void function with
  25062. no return statement and no abnormal exit.
  25063. (current_function_returns_abnormally): New variable.
  25064. (start_function): Clear it.
  25065. (struct c_language_function): Add returns_abnormally.
  25066. (push_c_function_context): Save it.
  25067. (pop_c_function_context): Restore it.
  25068. (builtin_function): Set TREE_THIS_VOLATILE on return fns.
  25069. (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
  25070. an explicit return type.
  25071. * c-tree.h: Declare current_function_returns_abnormally.
  25072. (C_FUNCTION_IMPLICIT_INT): New macro.
  25073. * c-typeck.c (build_function_call): Set it.
  25074. (c_expand_return): Set current_function_returns_value even if the
  25075. value is erroneous.
  25076. 2002-02-06 Jakub Jelinek <jakub@redhat.com>
  25077. PR c/5420:
  25078. * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
  25079. unsafe for reevaluation.
  25080. 2002-02-06 Jakub Jelinek <jakub@redhat.com>
  25081. PR c/5482:
  25082. * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
  25083. EXPR_STMT, but COMPOUND_STMT, recurse into it.
  25084. 2002-02-06 Richard Henderson <rth@redhat.com>
  25085. * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
  25086. be a general_operand. Dest for function value must be a pseudo.
  25087. 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
  25088. * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
  25089. as SYMBOL_REFs from the constant pool.
  25090. 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
  25091. * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
  25092. passed by invisible reference.
  25093. 2002-02-05 Richard Henderson <rth@redhat.com>
  25094. * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
  25095. 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
  25096. Implement using "base addresses" in insn operands as default.
  25097. * config/mmix/mmix.c (mmix_conditional_register_usage): if
  25098. -mabi=gnu, modify fixed_regs to fit the GNU ABI.
  25099. (mmix_extra_constraint): Use 'R' to indicate that GETA should be
  25100. used to read the rtx value.
  25101. (mmix_target_asm_function_epilogue): Fix spacing.
  25102. (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
  25103. (mmix_legitimate_address): Ditto.
  25104. (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
  25105. should be loaded with a GETA insn. Don't allocate needless extra
  25106. char for nul termination and fix misleading comment.
  25107. (mmix_print_operand_address): Handle constants if
  25108. TARGET_BASE_ADDRESSES.
  25109. (mmix_output_register_setting): Use base addressing if
  25110. TARGET_BASE_ADDRESSES and the number of insns is 3.
  25111. * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
  25112. * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
  25113. to use R as constraint, add LDA to match s.
  25114. * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
  25115. (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
  25116. (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
  25117. (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
  25118. (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
  25119. order with other fixed registers.
  25120. (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
  25121. other parameter/call-clobbered registers.
  25122. * doc/invoke.texi (Option Summary) <MMIX Options>: Add
  25123. -mbase-addresses, -mno-base-addresses.
  25124. (MMIX Options): Ditto.
  25125. 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
  25126. * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
  25127. 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
  25128. * config/rs6000/altivec.h: Change elem to _S_elem.
  25129. 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
  25130. * config/netbsd.h (WCHAR_TYPE): Define.
  25131. (WCHAR_TYPE_SIZE): Ditto.
  25132. (WINT_TYPE): Ditto.
  25133. * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
  25134. (WCHAR_UNSIGNED): Ditto.
  25135. (WCHAR_TYPE_SIZE): Ditto.
  25136. (WINT_TYPE): Ditto.
  25137. * config/arm/netbsd.h: Likewise.
  25138. * config/i386/netbsd-elf.h: Likewise.
  25139. * config/i386/netbsd.h: Likewise.
  25140. * config/m68k/netbsd-elf.h: Likewise.
  25141. * config/m68k/netbsd.h: Likewise.
  25142. * config/ns32k/netbsd.h: Likewise.
  25143. * config/sparc/netbsd.h: Likewise.
  25144. * config/vax/netbsd.: Likewise.
  25145. 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
  25146. * target.h (struct gcc_target): Added ms_bitfield_layout_p.
  25147. * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
  25148. (TARGET_INITIALIZER): this.
  25149. * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
  25150. (BITFIELD_NBYTES_LIMITED): Markup fix.
  25151. * tree.h (default_ms_bitfield_layout_p): Declare.
  25152. (record_layout_info): Added prev_field.
  25153. * tree.c (default_ms_bitfield_layout_p): New fn.
  25154. * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
  25155. PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
  25156. * stor-layout.c: Include target.h.
  25157. (start_record_layout): Initialize prev_field.
  25158. (place_field): Handle MS bit-field layout, and disregard
  25159. EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
  25160. PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
  25161. * Makefile.in (stor-layout.o): Adjust dependencies.
  25162. 2002-02-05 Jason Merrill <jason@redhat.com>
  25163. * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
  25164. 2002-02-05 Andreas Jaeger <aj@suse.de>
  25165. * crtstuff.c: Fix comments.
  25166. 2002-02-05 Richard Henderson <rth@redhat.com>
  25167. PR fortran/3393
  25168. * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
  25169. (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
  25170. PR fortran/3392
  25171. * config/mips/mips.c (function_arg): Handle TImode.
  25172. (function_arg_advance): Likewise.
  25173. 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
  25174. * config/rs6000/altivec.h (vec_step_help): Rename to
  25175. __vec_step_help.
  25176. 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
  25177. * config/rs6000/altivec.h: Fix typos.
  25178. 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
  25179. * config/arm/netbsd.h: Correct a comment.
  25180. 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
  25181. * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
  25182. building void typed builtins.
  25183. * config/rs6000/altivec.h (vec_ld*): Fix typos.
  25184. (vec_step): Implement for C++.
  25185. Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  25186. * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
  25187. 2002-02-04 Richard Henderson <rth@redhat.com>
  25188. * combine.c (nonzero_bits): Re-introduce special case for
  25189. sp/fp/ap wrt REGNO_POINTER_ALIGN.
  25190. 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
  25191. * doc/extend.texi: Warn about unsupported usage of altivec
  25192. builtins.
  25193. * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
  25194. (altivec_predicate_*): New.
  25195. * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
  25196. Add C++ version of vec_*() functions.
  25197. * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
  25198. (bdesc_2arg): Remove altivec predicates.
  25199. (altivec_expand_builtin): Handle predicates.
  25200. (altivec_init_builtins): Handle predicates.
  25201. (altivec_expand_predicate_builtin): New.
  25202. 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  25203. * pa.c (DO_FRAME_NOTES): Move forward.
  25204. (store_reg): Revise handling of frame notes.
  25205. (load_reg): Likewise.
  25206. (set_reg_plus_d): Likewise.
  25207. (hppa_expand_prologue): Likewise.
  25208. (hppa_expand_epilogue): Likewise.
  25209. 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  25210. * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
  25211. 2002-02-04 Jakub Jelinek <jakub@redhat.com>
  25212. PR c/4475, c++/3780:
  25213. * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
  25214. * c-common.h (SWITCH_TYPE): Define.
  25215. * c-typeck.c (c_start_case): Set SWITCH_TYPE.
  25216. * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
  25217. Rename spareness variable to sparseness.
  25218. (expand_end_case_type): Renamed from expand_end_case, use orig_type
  25219. if non-NULL instead of TREE_TYPE (orig_index).
  25220. * tree.h (expand_end_case_type): Renamed from expand_end_case.
  25221. (expand_end_case): Define using expand_end_case_type.
  25222. * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
  25223. to expand_end_case_type.
  25224. * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
  25225. 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  25226. * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
  25227. (BIGGEST_ALIGNMENT): Change to 128.
  25228. 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  25229. * pa32-linux.h (LINK_COMMAND_SPEC): Define.
  25230. 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  25231. * pa.md (call_internal_reg_64bit): Remove unused variable.
  25232. 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
  25233. * config/arm/arm.h (machine_function): Add uses_anonymous_args
  25234. field.
  25235. (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
  25236. * config/arm/arm.c (current_function_anonymous_args): Delete,
  25237. replace uses with cfun->machine->uses_anonymous_args.
  25238. (arm_reorg): Do not reset uses_anonymous_args.
  25239. * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
  25240. any geenral register.
  25241. 2002-02-04 Bernd Schmidt <bernds@redhat.com>s
  25242. * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
  25243. the entry block.
  25244. 2002-02-04 Richard Henderson <rth@redhat.com>
  25245. * combine.c (force_to_mode): Remove STACK_BIAS code.
  25246. (nonzero_bits): Likewise. Replace sp/fp special case with
  25247. REGNO_POINTER_ALIGN.
  25248. * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
  25249. (HARD_FRAME_POINTER_REGNUM): New.
  25250. (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
  25251. (FIXED_REGS, CALL_USED_REGS): Update.
  25252. (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
  25253. (CONDITIONAL_REGISTER_USAGE): Update for HFP.
  25254. (HARD_REGNO_NREGS): Update for SFP.
  25255. (STACK_POINTER_OFFSET): Include bias here ...
  25256. (FIRST_PARM_OFFSET): ... not here.
  25257. (STACK_BIAS): Remove.
  25258. (INIT_EXPANDERS): New.
  25259. (STARTING_FRAME_OFFSET): Do not include bias.
  25260. (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
  25261. (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
  25262. (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
  25263. * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
  25264. * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
  25265. * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
  25266. (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
  25267. (MUST_SAVE_REGISTER): Likewise.
  25268. (sparc_flat_function_prologue): Likewise.
  25269. (sparc_flat_function_epilogue): Likewise.
  25270. (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
  25271. (sparc_init_modes): SFP is GENERAL_REGS.
  25272. (sparc_builtin_saveregs): SFP does not have bias applied.
  25273. 2002-02-04 Richard Henderson <rth@redhat.com>
  25274. * config/alpha/alpha.c (current_function_is_thunk): Don't check
  25275. current_function_is_thunk.
  25276. (alpha_sa_mask): Distinguish between current_function_is_thunk
  25277. called from ASM_OUTPUT_MI_THUNK and not.
  25278. (alpha_does_function_need_gp): Thunks always need gp.
  25279. (alpha_start_function, alpha_output_function_end_prologue): Likewise.
  25280. (alpha_output_mi_thunk_osf): New.
  25281. * config/alpha/alpha-protos.h: Update.
  25282. * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
  25283. 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
  25284. * c-typeck.c (build_c_cast): Warn when qualifiers are added to
  25285. function types, not when they're taken away.
  25286. Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
  25287. * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
  25288. CODE_LABEL and jump table when replacing a table jump with a
  25289. simple jump.
  25290. 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
  25291. * config/s390/s390-protos.h (legitimize_la_operand,
  25292. s390_secondary_input_reload_class, s390_plus_operand,
  25293. s390_expand_plus_operand): Add prototypes.
  25294. config/s390/s390.c (s390_secondary_input_reload_class,
  25295. s390_plus_operand, s390_expand_plus_operand): New functions.
  25296. (struct s390_address): New member 'pointer'.
  25297. (s390_decompose_address): Compute it.
  25298. (legitimate_la_operand_p): Use it.
  25299. (legitimize_la_operand): New function.
  25300. (movti, movdi, movdf splitters): Call it.
  25301. config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
  25302. (PREDICATE_CODES): Add s390_plus_operand.
  25303. config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
  25304. (la_ccclobber): Allow GENERAL_REGS as output operand.
  25305. (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
  25306. *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
  25307. (*la_64, *la_31, reload_indi, reload_insi): ... these.
  25308. 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
  25309. * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
  25310. register names for regular asm () construct.
  25311. 2002-02-04 Jakub Jelinek <jakub@redhat.com>
  25312. * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
  25313. registers.
  25314. 2002-02-04 Jakub Jelinek <jakub@redhat.com>
  25315. * combine.c (recog_for_combine): Create a dummy insn with PATTERN
  25316. pat for recog.
  25317. 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
  25318. * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
  25319. constant pool to be identical by string address and index.
  25320. 2002-02-04 Anthony Green <green@redhat.com>
  25321. * output.h (SECTION_OVERRIDE): Define.
  25322. * varasm.c (named_section): Obey SECTION_OVERRIDE.
  25323. 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
  25324. * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
  25325. by existing arm*-*-netbsd* (a.out) target.
  25326. (ns32k-*-netbsdelf*): Likewise.
  25327. (sparc-*-netbsdelf*): Likewise.
  25328. (vax-*-netbsdelf*): Likewise.
  25329. 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
  25330. * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
  25331. headers and libobjc headers.
  25332. 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
  25333. * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
  25334. (_mingw.h): Remove duplicate include.
  25335. 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
  25336. * config.gcc: Set cpu_type to m68k for 68010, as well.
  25337. (m68010-*-netbsdelf*): New...
  25338. (m68k*-*-netbsdelf*): ...targets.
  25339. * config/m68k/netbsd-elf.h: New file.
  25340. 2002-02-02 Kazu Hirata <kazu@hxi.com>
  25341. * config/h8300/h8300.c (hand_list): Move inside function_arg.
  25342. 2002-02-02 Kazu Hirata <kazu@hxi.com>
  25343. * config/h8300/h8300.c (h8_push_ops): Move inside
  25344. h8300_init_once.
  25345. (h8_pop_ops): Likewise.
  25346. (h8_move_ops): Likewise.
  25347. 2002-02-02 Kazu Hirata <kazu@hxi.com>
  25348. * config/h8300/h8300.c (os_task): Make it static.
  25349. (monitor): Likewise.
  25350. (pragma_saveall): Likewise.
  25351. 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
  25352. * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
  25353. constant is a valid sign-extension for Pmode.
  25354. 2002-02-02 Kazu Hirata <kazu@hxi.com>
  25355. * config/h8300/h8300.c: Fix formatting.
  25356. 2002-02-02 Kazu Hirata <kazu@hxi.com>
  25357. * config/h8300/h8300.md: Fix formatting.
  25358. 2002-02-02 Kazu Hirata <kazu@hxi.com>
  25359. * config/h8300/h8300.md (one_cmpl patterns): Tighten the
  25360. predicates of operands[1]. Split the patterns for each
  25361. processor variant.
  25362. 2002-02-02 Kazu Hirata <kazu@hxi.com>
  25363. * config/h8300/h8300.md (xor patterns): Tighten the predicates
  25364. of operands[1] to register_operand.
  25365. 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
  25366. * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
  25367. * cpphash.c (_cpp_init_hashtable): Similarly.
  25368. * cppinit.c (cpp_create_reader): Default the signed_char flag.
  25369. (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
  25370. (COMMAND_LINE_OPTIONS): Recognize -f{un,}signed-char.
  25371. (cpp_handle_option): Handle the new options.
  25372. * cpplex.c (cpp_interpret_charconst): Use new flag.
  25373. * cpplib.h (struct cpp_options): New member signed_char.
  25374. * gcc.c (cpp_unique_options): Remove %c spec and documentation.
  25375. (cpp_options): Handle -fsigned-char and -funsigned-char.
  25376. (static_specs): Remove signed_char_spec.
  25377. (do_spec1): Don't handle %c.
  25378. * system.h: Poison SIGNED_CHAR_SPEC.
  25379. * tradcif.y (yylex): Use flag_signed_char.
  25380. * tradcpp.h (flag_signed_char): New.
  25381. * tradcpp.c (flag_signed_char): New.
  25382. (main): Handle new command-line options.
  25383. (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
  25384. config:
  25385. * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
  25386. * avr/avr.h: Remove old comments.
  25387. * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
  25388. (CC1_SPEC): Pass -fsigned-char if -mic*.
  25389. (SIGNED_CHAR_SPEC): Remove.
  25390. doc:
  25391. * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
  25392. 2002-02-01 Eric Christopher <echristo@redhat.com>
  25393. From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
  25394. * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
  25395. * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
  25396. (ASM_OUTPUT_REG_POP): Ditto.
  25397. 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
  25398. * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
  25399. patch.
  25400. 2002-02-02 Jakub Jelinek <jakub@redhat.com>
  25401. * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
  25402. 2002-02-02 Jakub Jelinek <jakub@redhat.com>
  25403. PR c/5304:
  25404. * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
  25405. unconditionally.
  25406. 2002-02-01 Janis Johnson <janis187@us.ibm.com>
  25407. * cfganal.c: Include tm_p.h.
  25408. (keep_with_call_p): Fix the test that determines if a register holds
  25409. the return value of a call.
  25410. 2002-02-01 DJ Delorie <dj@redhat.com>
  25411. * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
  25412. we are given conflicting registers, switch to the other one we
  25413. had allocated for us.
  25414. * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
  25415. as TImode so we know when the "other" register is available.
  25416. 2002-02-01 David O'Brien <obrien@FreeBSD.org>
  25417. * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
  25418. sparc/sparc_bi.h.
  25419. 2002-02-01 Janis Johnson <janis187@us.ibm.com>
  25420. * cfganal.c (keep_with_call_p): New function.
  25421. (flow_call_edges_add): Prevent splitting a block between a call and
  25422. a single-set instruction that should be kept in the same block.
  25423. 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
  25424. * doc/install.texi (avr): Update outdated URL.
  25425. 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
  25426. * config/stormy16/stormy16.md (pushqi): New.
  25427. (popqi): New.
  25428. (pushhi): New.
  25429. (pophi): New.
  25430. (movhi): Remove stack operands.
  25431. (movqi): Likewise.
  25432. * config/stormy16/stormy16.h (PREDICATE_CODES): Add
  25433. nonimmediate_nonstack_operand.
  25434. * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
  25435. New.
  25436. * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
  25437. New.
  25438. 2002-01-31 Jason Merrill <jason@redhat.com>
  25439. * Makefile.in (c-parse.c): Handle .output file.
  25440. * objc/Make-lang.in (objc-parse.c): Likewise.
  25441. 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
  25442. * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
  25443. the -me[lb] option is given. Don't output the default flag
  25444. twice.
  25445. 2002-01-31 Zack Weinberg <zack@codesourcery.com>
  25446. * c-lex.c (yyparse): Call debug_hooks->start_source_file for
  25447. the primary source file; this has not been done yet.
  25448. * c-decl.c (c_expand_body): Reset input_filename from
  25449. DECL_SOURCE_FILE (fndecl) before calling init_function_start.
  25450. 2002-01-31 Kazu Hirata <kazu@hxi.com>
  25451. * rtlanal.c (subreg_regno_offset): Do not use
  25452. SUBREG_REGNO_OFFSET.
  25453. * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
  25454. * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
  25455. 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
  25456. * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
  25457. version rather than GNATS version in --version output.
  25458. 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
  25459. * ifcvt.c (noce_process_if_block): Make a copy of the destination
  25460. when copying back from a temporary.
  25461. 2002-01-30 Richard Henderson <rth@redhat.com>
  25462. * ifcvt.c (dead_or_predicable): Handling merging when other_bb
  25463. and new_dest are the same.
  25464. 2002-01-30 Richard Henderson <rth@redhat.com>
  25465. PR opt/5076
  25466. * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
  25467. * rtl.c (note_insn_name): Update.
  25468. * emit-rtl.c (remove_unnecessary_notes): Kill it.
  25469. * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
  25470. to perform loop rotation.
  25471. (expand_exit_loop_top_cond): New.
  25472. * tree.h (expand_exit_loop_top_cond): Declare it.
  25473. * c-semantics.c (genrtl_while_stmt): Use it.
  25474. (genrtl_for_stmt): Likewise.
  25475. 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
  25476. * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
  25477. arguments to 64-bit boundaries on 64-bit ABIs.
  25478. 2002-01-30 Steve Ellcey <sje@cup.hp.com>
  25479. * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
  25480. 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
  25481. * c-decl.c (grokdeclarator): Handle type being a typedef for an
  25482. invalid type.
  25483. 2002-01-30 David O'Brien <obrien@FreeBSD.org>
  25484. * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
  25485. * config/sparc/sparc_bi.h: Remove file.
  25486. * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
  25487. 2002-01-30 Richard Henderson <rth@redhat.com>
  25488. * sched-deps.c (sched_analyze): Make a call read the frame pointer.
  25489. 2002-01-30 Zack Weinberg <zack@codesourcery.com>
  25490. * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
  25491. 2002-01-30 Jason Merrill <jason@redhat.com>
  25492. * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
  25493. (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
  25494. (reg_save): Use DW_CFA_offset_extended_sf instead.
  25495. * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
  25496. 2002-01-29 Jakub Jelinek <jakub@redhat.com>
  25497. * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
  25498. in cselib_lookup.
  25499. 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
  25500. * rs6000.md ("*call_value_local32"): Remove constraints.
  25501. ("*call_value_local64"): Same.
  25502. ("*call_value_indirect_nonlocal_aix32"): Same.
  25503. ("*call_value_nonlocal_aix32"): Same.
  25504. ("*call_value_indirect_nonlocal_aix64"): Same.
  25505. ("*call_value_nonlocal_aix64"): Same.
  25506. ("*call_value_nonlocal_sysv"): Same.
  25507. 2002-01-29 Richard Henderson <rth@redhat.com>
  25508. * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
  25509. 2002-01-29 Richard Henderson <rth@redhat.com>
  25510. * expr.c (force_operand): Ignore flag_pic for detecting pic
  25511. address loads.
  25512. * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
  25513. for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
  25514. * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
  25515. instead of open-coded loop.
  25516. * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
  25517. be fixed when in use.
  25518. 2002-01-29 Richard Henderson <rth@redhat.com>
  25519. * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
  25520. * sched-rgn.c (propagate_deps): Update them.
  25521. * sched-deps.c (sched_analyze_insn): Update them. Flush the
  25522. clobbers list when either gets too long.
  25523. 2002-01-29 Jakub Jelinek <jakub@redhat.com>
  25524. * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
  25525. and INDEX_REGS the same as GENERAL_REGS.
  25526. (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
  25527. 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
  25528. * tree.c (build_nonstandard_integer_type): Correct prototype.
  25529. 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
  25530. * config/s390/s390.md (movstrsico, movstrdix_64,
  25531. movstrsix_31): Remove, replace by ...
  25532. (movstrdi_short, movstrsi_short, movstrdi_long,
  25533. movstrsi_long): ... these. New.
  25534. (movstrdi, movstrsi): Adapt.
  25535. (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
  25536. ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
  25537. Remove unnecessary CC clobber.
  25538. (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
  25539. *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
  25540. (divmoddi4): Don't partially initialize TImode register.
  25541. 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
  25542. * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
  25543. 2002-01-29 Richard Henderson <rth@redhat.com>
  25544. * flow.c (print_rtl_and_abort): Remove.
  25545. (print_rtl_and_abort_fcn): Remove.
  25546. (verify_local_live_at_start): Use dump_bb instead.
  25547. (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
  25548. (verify_wide_reg_1): Return 2 on mode test failure.
  25549. 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
  25550. PR c/3325, c/3326, c/2511, c/3347
  25551. * c-decl.c (enum_decl_context): Remove BITFIELD.
  25552. (grokdeclarator): Take bitfield width as an input.
  25553. Ensure bitfields are given the correct type. Perform
  25554. bitfield width validation with build_bitfield_integer_type
  25555. rather than waiting for finish_struct.
  25556. (grok_typename, grok_typename_in_parm_context, start_decl,
  25557. push_parmdecl, grokfield, start_function): Update calls to
  25558. grokdeclarator.
  25559. (build_bitfield_integer_type): New function.
  25560. (finish_struct): Move bitfield validation to grokdeclarator
  25561. and build_bitfield_integer_type.
  25562. * tree.c (build_nonstandard_integer_type): New function.
  25563. * tree.h (build_nonstandard_integer_type): New prototype.
  25564. objc:
  25565. * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
  25566. 2002-01-29 Jakub Jelinek <jakub@redhat.com>
  25567. PR other/1502:
  25568. * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
  25569. don't ignore unrecognized -W* options.
  25570. (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
  25571. * cpplib.h (cpp_handle_option): Adjust prototype.
  25572. * c-decl.c (c_decode_options): Pass 0 as last argument to
  25573. cpp_handle_option.
  25574. PR c/2896:
  25575. * gcc.c (cpp_unique_options): Split from cpp_options.
  25576. (cpp_options): Source cpp_unique_options.
  25577. (default_compilers): Use cpp_unique_options instead of cpp_options
  25578. when used together with cc1_options.
  25579. (static_specs): Add cpp_unique_options.
  25580. * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
  25581. when used together with cc1_options.
  25582. 2002-01-29 Kazu Hirata <kazu@hxi.com>
  25583. * config/h8300/h8300-protos.h: Update the prototype of
  25584. output_a_shift.
  25585. * config/h8300/h8300.c (output_a_shift): Remove an unused
  25586. argument 'insn'. Remove redundant code.
  25587. * config/h8300/h8300.md: Adust to the new prototype of
  25588. output_a_shift.
  25589. 2002-01-29 Kazu Hirata <kazu@hxi.com>
  25590. * config/h8300/h8300-protos.h: Update the prototypes of
  25591. emit_a_rotate and expand_a_rotate.
  25592. * config/h8300/h8300.c (emit_a_rotate): Change the type of the
  25593. first argument to 'enum rtx_code'.
  25594. (expand_a_rotate): Likewise.
  25595. 2002-01-28 Kazu Hirata <kazu@hxi.com>
  25596. * config/h8300/h8300-protos.h: Update the prototype of
  25597. output_simode_bld.
  25598. * config/h8300/h8300.c (output_simode_bld): Remove an argumen
  25599. 'log2'.
  25600. * config/h8300/h8300.md: Adjust to the new prototype.
  25601. 2002-01-28 Kazu Hirata <kazu@hxi.com>
  25602. * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
  25603. redundant code.
  25604. 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
  25605. * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
  25606. is a fixed register before returning pic_offset_table_rtx.
  25607. * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
  25608. when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
  25609. 2002-01-28 Jason Merrill <jason@redhat.com>
  25610. * dwarf2.h: Sync with src version.
  25611. 2002-01-28 Paul Koning <pkoning@equallogic.com>
  25612. * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
  25613. BT_FN_VOID_PTR_VAR.
  25614. * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
  25615. * doc/extend.texi (__builtin_prefetch): Update documentation:
  25616. first argument is now const void ptr.
  25617. 2002-01-28 Kazu Hirata <kazu@hxi.com>
  25618. * config/h8300/h8300-protos.h: Remove an unused prototype.
  25619. 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
  25620. * toplev.c (lang_independent_init): Round up identifier size.
  25621. 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
  25622. * config.gcc: Revert previous change.
  25623. 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
  25624. * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
  25625. 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
  25626. * config.gcc (*-*-netbsdelf*): Set up generic parameters.
  25627. (*-*-netbsd*): Always use collect2. Remove collect2 settings from
  25628. other non-elf netbsd config frags.
  25629. * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
  25630. collect2 will does that.
  25631. * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
  25632. shared-lib frobbing will work.
  25633. 2002-01-28 Kazu Hirata <kazu@hxi.com>
  25634. * config/h8300/h8300.h: Fix formatting.
  25635. * config/h8300/h8300.md: Likewise.
  25636. 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
  25637. * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
  25638. the old, removed AAA_standards fix.
  25639. * fixinc/fixincl.x: Rebuilt.
  25640. 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
  25641. * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
  25642. atexit call in crtbegin, hooked in after call to frame_dummy;
  25643. register EH before registering __fini__start.
  25644. 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
  25645. * config/rs6000/altivec.h: Remove spurious semicolons.
  25646. 2002-01-27 Kazu Hirata <kazu@hxi.com>
  25647. * config/h8300/h8300.md: Replace dead bit extraction patterns
  25648. with ones that work.
  25649. Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  25650. * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
  25651. if not STRICT_ALIGNMENT.
  25652. * rtl.h (MEM_ALIGN): Likewise.
  25653. 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
  25654. * doc/invoke.texi (-fdump-translation-unit): Revert this
  25655. patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
  25656. 2002-01-27 Kazu Hirata <kazu@hxi.com>
  25657. * config/h8300/h8300.md (define_constants): New.
  25658. (anonymous patterns) Use defined constants appropriately.
  25659. 2002-01-27 Kazu Hirata <kazu@hxi.com>
  25660. * config/h8300/h8300.c (function_arg): Remove redundant code.
  25661. 2002-01-26 Richard Henderson <rth@redhat.com>
  25662. * sched-deps.c (reg_pending_uses_head): New.
  25663. (reg_pending_barrier): Rename from reg_pending_sets_all.
  25664. (find_insn_list): Don't mark inline.
  25665. (find_insn_mem_list): Remove.
  25666. (add_dependence_list, add_dependence_list_and_free): New.
  25667. (flush_pending_lists): Replace only_write param with separate
  25668. for_read and for_write parameters. Update all callers. Use
  25669. add_dependence_list_and_free.
  25670. (sched_analyze_1): Do not add reg dependencies here; just set
  25671. the pending bits. Use add_dependence_list.
  25672. (sched_analyze_2): Likewise.
  25673. (sched_analyze_insn): Replace schedule_barrier_found with
  25674. reg_pending_barrier. Add all dependencies for pending reg
  25675. uses, sets, and clobbers.
  25676. (sched_analyze): Don't add reg dependencies for calls, just
  25677. set pending bits. Use regs_invalidated_by_call. Treat
  25678. sched_before_next_call as a normal list, not a fake insn.
  25679. (init_deps): No funny init for sched_before_next_call.
  25680. (free_deps): Free pending mems lists. Don't zero reg_last.
  25681. (init_deps_global): Init reg_pending_uses.
  25682. (finish_deps_global): Free it.
  25683. * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
  25684. (find_insn_mem_list): Remove.
  25685. * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
  25686. (propagate_deps): Use them. Zero temp mem lists.
  25687. 2002-01-26 Richard Henderson <rth@redhat.com>
  25688. * Makefile.in (CRTSTUFF_CFLAGS): New.
  25689. (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
  25690. * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
  25691. crtstuff.c instead of alpha assembly version.
  25692. * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
  25693. entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
  25694. not FORCE_{INIT,FINI}_SECTION_ALIGN.
  25695. (__do_global_dtors_aux): Mark used.
  25696. (frame_dummy, __do_global_ctors_aux): Mark used.
  25697. (fini_dummy, init_dummy): Remove.
  25698. * config/alpha/crtbegin.asm: Remove file.
  25699. * config/alpha/crtend.asm: Remove file.
  25700. * config/alpha/t-crtbe: Remove file.
  25701. * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
  25702. (LINK_EH_SPEC): New.
  25703. * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
  25704. FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
  25705. calling constructors.
  25706. * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
  25707. * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
  25708. * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
  25709. CRT_END_INIT_DUMMY hack.
  25710. * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
  25711. FORCE_{INIT,FINI}_SECTION_ALIGN.
  25712. * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
  25713. FORCE_{INIT,FINI}_SECTION_ALIGN.
  25714. * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
  25715. invocation sequence.
  25716. * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
  25717. * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
  25718. (FORCE_CODE_SECTION_ALIGN): New.
  25719. 2002-01-26 Richard Henderson <rth@redhat.com>
  25720. * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
  25721. 2002-01-26 Richard Henderson <rth@redhat.com>
  25722. * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
  25723. (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
  25724. 2002-01-26 Kazu Hirata <kazu@hxi.com>
  25725. * config/h8300/h8300.md: Remove bit extraction patterns that
  25726. cannot be triggered.
  25727. Restrict each bit extraction pattern to a variant on which the
  25728. pattern is tested.
  25729. 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
  25730. * doc/include/texinfo.tex: Update to version 2002-01-04.07.
  25731. 2002-01-26 Kazu Hirata <kazu@hxi.com>
  25732. * config/h8300/h8300.md: Remove bit test patterns that cannot
  25733. be triggered.
  25734. Restrict each bit test pattern to a variant on which the
  25735. pattern is tested.
  25736. 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  25737. * builtins.c (expand_builtin_strncat): Remove redundant check for
  25738. INTEGER_CST.
  25739. 2002-01-25 David O'Brien <obrien@FreeBSD.org>
  25740. * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
  25741. default setting.
  25742. * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
  25743. existing setting.
  25744. 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
  25745. * dbxout.c (dbxout_init): Use assemble_name rather than just
  25746. stripping off the first character.
  25747. (dbxout_source_file): Likewise.
  25748. 2002-01-25 DJ Delorie <dj@redhat.com>
  25749. * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
  25750. using rtx_equal_p, not by comparing pointers.
  25751. 2002-01-25 Steve Ellcey <sje@cup.hp.com>
  25752. * emit-rtl.c (gen_rtx_REG): Always return the same rtx
  25753. for PIC_OFFSET_TABLE_REGNUM.
  25754. (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
  25755. 2002-01-25 David O'Brien <obrien@FreeBSD.org>
  25756. * config.gcc (x86_64-*-freebsd*): New target.
  25757. (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
  25758. value.
  25759. (i[34567]86-*-freebsd*): Don't include svr4.h.
  25760. * config/i386/freebsd64.h: New file.
  25761. 2002-01-25 Douglas B Rupp <rupp@gnat.com>
  25762. * config/alpha/x-vms (version): Make static.
  25763. * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
  25764. in previous checkin.
  25765. * Makefile.in (install-headers-cp): New target.
  25766. * config.gcc (alpha-dec-*vms*): Install headers with
  25767. install-headers-cp
  25768. Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
  25769. * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
  25770. avoid it's copies.
  25771. Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  25772. * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
  25773. of compare_tree_int.
  25774. (expand_builtin_strncat): Likewise.
  25775. * c-decl.c (finish_struct): Use tree_low_cst.
  25776. * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
  25777. * tree.c (compare_tree_int): Likewise.
  25778. 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
  25779. * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
  25780. adjustments even if they are implemented by more than two insns.
  25781. Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
  25782. * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
  25783. * df.h (struct ref): Kill B.
  25784. (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
  25785. * basic-block.h (PROP_EQUAL_NOTES): New flag.
  25786. * flow.c (propagate_one_insn): Use it.
  25787. (mark_used_regs): Handle NIL.
  25788. 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
  25789. * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
  25790. to help folding.
  25791. 2002-01-25 David Edelsohn <edelsohn@gnu.org>
  25792. * rs6000.md (prefetch): Make address V4SI mode so that the address
  25793. is restricted to legitimate form for instruction.
  25794. 2002-01-25 Bob Wilson <bob.wilson@acm.org>
  25795. * doc/install.texi (xtensa-*-elf): New target.
  25796. (xtensa-*-linux*): New target.
  25797. * doc/contrib.texi: Add myself.
  25798. 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
  25799. * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
  25800. purpose register to hold an SImode (or smaller) value.
  25801. 2002-01-25 Jakub Jelinek <jakub@redhat.com>
  25802. * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
  25803. registry only.
  25804. * crtstuff.c: Likewise.
  25805. 2002-01-25 Kazu Hirata <kazu@hxi.com>
  25806. * config/h8300/h8300.md (negation patterns): Tighten
  25807. predicates to register_operand.
  25808. 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
  25809. * loop.c (emit_prefetch_instructions): Use the prefetch insn's
  25810. mode, not Pmode.
  25811. * builtins.c (expand_builtin_prefetch): Same.
  25812. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  25813. * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
  25814. modes.
  25815. 2002-01-24 Kazu Hirata <kazu@hxi.com>
  25816. * config/h8300/h8300.c (print_operand): Remove support for
  25817. operand character 'A'.
  25818. * config/h8300/h8300.md (three anonymous patterns): Replace
  25819. operand character 'A' with either 'T' or 'S'.
  25820. 2002-01-24 Kazu Hirata <kazu@hxi.com>
  25821. * config/h8300/h8300.c (print_operand): Remove support for
  25822. operand character 'U'.
  25823. 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
  25824. * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
  25825. 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
  25826. * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
  25827. values to be assigned to the stack pointer.
  25828. 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
  25829. * emit_rtl.c (gen_lowpart_common): Conversion from const_int
  25830. to const_double needs to be done right for big-endian systems.
  25831. 2002-01-24 Jason Merrill <jason@redhat.com>
  25832. PR c++/2432
  25833. * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
  25834. to can_throw_internal.
  25835. 2002-01-23 Richard Henderson <rth@redhat.com>
  25836. * fold-const.c (fold): Change UINT_MAX test to check vs precision
  25837. rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
  25838. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  25839. * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
  25840. (symGOT2reg): Use them, then set as GOT value as unchanging.
  25841. (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
  25842. as a temporary, if possible.
  25843. (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
  25844. sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
  25845. 2002-01-23 Kazu Hirata <kazu@hxi.com>
  25846. * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
  25847. accept to accept 0x80 as operands[2].
  25848. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  25849. * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
  25850. 2002-01-23 Richard Henderson <rth@redhat.com>
  25851. * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
  25852. 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
  25853. * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
  25854. (parmlist_or_identifiers_1): Verify that only a parmlist follows
  25855. an attribute.
  25856. 2002-01-23 Richard Henderson <rth@redhat.com>
  25857. * expr.c (move_by_pieces_1): Extend size before negation.
  25858. * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
  25859. (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
  25860. (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
  25861. * config/m68k/t-m68kelf: Likewise.
  25862. 2002-01-23 Bob Wilson <bob.wilson@acm.org>
  25863. * config/xtensa/elf.h: New file.
  25864. * config/xtensa/lib1funcs.asm: New file.
  25865. * config/xtensa/lib2funcs.S: New file.
  25866. * config/xtensa/linux.h: New file.
  25867. * config/xtensa/t-xtensa: New file.
  25868. * config/xtensa/xtensa-config.h: New file.
  25869. * config/xtensa/xtensa-protos.h: New file.
  25870. * config/xtensa/xtensa.c: New file.
  25871. * config/xtensa/xtensa.h: New file.
  25872. * config/xtensa/xtensa.md: New file.
  25873. * config.gcc (xtensa-*-elf*): New target.
  25874. (xtensa-*-linux*): New target.
  25875. * cse.c (canon_hash): Compare rtx pointers instead of register
  25876. numbers. This is required for the Xtensa port.
  25877. * integrate.c (copy_insn_list): Handle case where the static
  25878. chain is in memory and the memory address has to be copied to
  25879. a register.
  25880. * doc/invoke.texi (Option Summary): Add Xtensa options.
  25881. (Xtensa Options): New node.
  25882. * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
  25883. 2002-01-23 Zack Weinberg <zack@codesourcery.com>
  25884. * diagnostic.c (internal_error): Do ICE suppression only
  25885. when ENABLE_CHECKING is not defined.
  25886. * c-typeck.c (require_complete_type): Return error_mark_node
  25887. if type is error_mark_node.
  25888. 2002-01-23 Janis Johnson <janis187@us.ibm.com>
  25889. * toplev.c (process_options): Disable -fprefetch-loop-arrays with
  25890. -Os and issue a warning.
  25891. 2002-01-23 Zack Weinberg <zack@codesourcery.com>
  25892. * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
  25893. current (lack of) need for host configuration by hand.
  25894. * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
  25895. references. Documentation of some target macros moved from
  25896. hostconfig.texi to tm.texi.
  25897. 2002-01-23 Will Cohen <wcohen@redhat.com>
  25898. * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
  25899. defined.
  25900. 2002-01-23 Kazu Hirata <kazu@hxi.com>
  25901. * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
  25902. operand[3].
  25903. 2002-01-23 Jason Merrill <jason@redhat.com>
  25904. * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
  25905. * function.c (assign_parms): Don't put args of inline functions
  25906. into registers when not optimizing.
  25907. 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
  25908. * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
  25909. (prologue_use): New pattern.
  25910. * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
  25911. preference to gen_rtx_USE.
  25912. (thumb_expand_prologue): Use gen_prologue_use in preference to
  25913. gen_rtx_USE.
  25914. (thumb_expand_epilogue): Use gen_prologue_use in preference to
  25915. gen_rtx_USE.
  25916. 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
  25917. * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
  25918. 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
  25919. PR c/3504
  25920. * doc/extend.texi: Correct documentation of __alignof__.
  25921. 2002-01-22 Zack Weinberg <zack@codesourcery.com>
  25922. * params.h: Rename arguments of DEFPARAM so that it will be
  25923. recognized as a translation keyword.
  25924. 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
  25925. * extend.texi: Document altivec functions.
  25926. Fix N-bit adjectives in X86 builtin documentation.
  25927. 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
  25928. * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
  25929. auto_inc_dec values.
  25930. 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
  25931. * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
  25932. after backslash.
  25933. (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
  25934. 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
  25935. * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
  25936. 2002-01-22 Richard Henderson <rth@redhat.com>
  25937. * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
  25938. copy_insn not copy_rtx.
  25939. 2002-01-23 Alan Modra <amodra@bigpond.net.au>
  25940. * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
  25941. "nonzero" as that might add "1" bits. Ensure "constop" is
  25942. properly sign extened.
  25943. (force_to_mode): Tweak for sign extended constop.
  25944. 2002-01-22 Richard Henderson <rth@redhat.com>
  25945. * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
  25946. for_each_rtx instead of assuming we're already looking at the MEM.
  25947. (split_small_symbolic_mem_operand): Likewise.
  25948. * config/alpha/alpha.h (PREDICATE_CODES): Update.
  25949. * config/alpha/alpha.md (small symbolic memory splitters): Update.
  25950. 2002-01-22 Richard Henderson <rth@redhat.com>
  25951. * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
  25952. sequence number for the literal.
  25953. (divmoddi_internal_er): Likewise.
  25954. 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
  25955. PR java/4972
  25956. * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
  25957. in LIBICONV variable.
  25958. * configure: Regenerated.
  25959. 2002-01-22 Krister Walfridsson <cato@df.lth.se>
  25960. * dependence.c (build_def_use): Remove array_idx.
  25961. * dwarfout.c (last_filename): Remove.
  25962. (output_compile_unit_die): Remove last_filename.
  25963. 2002-01-22 Roger Sayle <roger@eyesopen.com>
  25964. Richard Henderson <rth@redhat.com>
  25965. PR opt/3640
  25966. * fold-const.c (fold): Optimize unsigned comparisons against
  25967. UINT_MAX (and similar unsigned constants).
  25968. 2002-01-22 Janis Johnson <janis187@us.ibm.com>
  25969. * Makefile.in (loop.o): Depend on OPTABS_H.
  25970. * loop.c (emit_prefetch_instructions): Check the prefetch operand
  25971. against the predicate.
  25972. PR target/5379
  25973. * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
  25974. for the address operand.
  25975. 2002-01-22 Richard Henderson <rth@redhat.com>
  25976. * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
  25977. 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
  25978. PR other/5450
  25979. * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
  25980. preprocessor flags.
  25981. 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
  25982. * config.gcc (x86_64-*-netbsd*): New target.
  25983. * config/i386/netbsd64.h: New file.
  25984. 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
  25985. * regrename.c (kill_value): Fix typo.
  25986. 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
  25987. * doc/tm.texi: Remove STARTING_FRAME_PHASE.
  25988. * config/rs6000/rs6000.h: Same.
  25989. * function.c (instantiate_virtual_regs): Remove
  25990. STARTING_FRAME_PHASE.
  25991. (assign_stack_local_1): Same.
  25992. Calculate frame phase.
  25993. 2002-01-22 Nick Clifton <nickc@redhat.com>
  25994. * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
  25995. variable declaration to outer scope in order to simplify
  25996. future extensions.
  25997. (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
  25998. arm_hard_regno_mode_ok.
  25999. * config/arm/arm-protos.h: Add a prototype for
  26000. arm_hard_regno_mode_ok.
  26001. * config/arm/arm.c (soft_df_operand): Remove now redundant
  26002. check for DImode values using IP_REGNUM.
  26003. (nonimmediate_soft_df_operand): Remove now redundant check for
  26004. DImode values using IP_REGNUM.
  26005. (arm_hard_regno_mode_ok): New function. New check: make sure
  26006. that DImode values are not stored in IP_REGNUM.
  26007. * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
  26008. note with a USE.
  26009. (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
  26010. 2002-01-22 Jason Merrill <jason@redhat.com>
  26011. * c-semantics.c (genrtl_compound_stmt): Only check nesting
  26012. consistency if this COMPOUND_STMT is scoped.
  26013. 2002-01-22 Kazu Hirata <kazu@hxi.com>
  26014. * predict.c: Fix formatting.
  26015. * print-tree.c: Likewise.
  26016. * protoize.c: Likewise.
  26017. * real.h: Likewise.
  26018. * rtl.h: Likewise.
  26019. * sbitmap.h: Likewise.
  26020. * scan.c: Likewise.
  26021. * sched-deps.c: Likewise.
  26022. * sched-vis.c: Likewise.
  26023. * sdbout.c: Likewise.
  26024. * sibcall.c: Likewise.
  26025. * ssa.c: Likewise.
  26026. * ssa-ccp.c: Likewise.
  26027. * ssa-dce.c: Likewise.
  26028. * stmt.c: Likewise.
  26029. * stor-layout.c: Likewise.
  26030. * system.h: Likewise.
  26031. Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  26032. * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
  26033. if fits in bounds of base type.
  26034. * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
  26035. (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
  26036. (add_bound_info, default): If can't find a context, make a
  26037. SAVE_EXPR.
  26038. (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
  26039. 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
  26040. * c-typeck.c (parser_build_binary_op): If result from
  26041. build_binary_op is ERROR_MARK just return error_mark_node without
  26042. further processing.
  26043. 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
  26044. * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
  26045. Split a.out-specific bits into...
  26046. * config/netbsd-aout.h: ...this.
  26047. * config/netbsd-elf.h: New file.
  26048. * config/alpha/netbsd-elf.h: Remove.
  26049. * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
  26050. * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
  26051. (STARTFILE_SPEC): Remove redundant definition.
  26052. (ENDFILE_SPEC): Likewise.
  26053. (LINK_SPEC): Likewise.
  26054. (CPP_SPEC): Likewise.
  26055. (ASM_SPEC): Likewise.
  26056. (LIB_SPEC): Likewise.
  26057. (SWITCH_TAKES_ARG): Likewise.
  26058. (TARGET_MEM_FUNCTIONS): Likewise.
  26059. (CPP_PREDEFINES): Redefine.
  26060. (ASM_FINAL_SPEC): Remove redefinition.
  26061. (ASM_COMMENT_START): Redefine.
  26062. (FUNCTION_PROFILER): Define.
  26063. (TARGET_VERSION): Redefine.
  26064. Comment and formatting cleanup.
  26065. * config/i386/netbsd.h: Include <netbsd-aout.h>.
  26066. * config/m68k/netbsd.h: Include <netbsd-aout.h>.
  26067. * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
  26068. big- or little-endian.
  26069. * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
  26070. * config.gcc (*-*-netbsd*): Add definitions common to all
  26071. NetBSD configs.
  26072. (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
  26073. gnu_ld definitions. Add netbsd-elf.h to and remove
  26074. alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
  26075. tmake_file, and don't lose previous tmake_file contents.
  26076. (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
  26077. (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
  26078. gnu_ld definitions. Add netbsd-elf.h to tm_file.
  26079. (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
  26080. (mipsel-*-netbsd*): Rename this to...
  26081. (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
  26082. mips/little.h to tm_file for mips*el-*.
  26083. (powerpc-*-netbsd*): Remove redundant xm_defines definition.
  26084. (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
  26085. (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
  26086. 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
  26087. * pa-protos.h (reg_before_reload_operand): New function prototype.
  26088. * pa.c (reg_before_reload_operand): New function implementation.
  26089. * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
  26090. contraints to "*m".
  26091. 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  26092. * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
  26093. 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
  26094. * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
  26095. (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
  26096. (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
  26097. (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
  26098. (ENDFILE_SPEC): Undefine.
  26099. (STARTFILE_SPEC): Redefine for PA.
  26100. 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  26101. * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
  26102. 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
  26103. * config.gcc: Add entries to supported PowerPC --with-cpu
  26104. types.
  26105. 2002-01-21 Jakub Jelinek <jakub@redhat.com>
  26106. * config/i386/i386.c (ix86_function_arg_regno_p): Never return
  26107. true for 64-bit mode only SSE registers in 32-bit mode.
  26108. 2002-01-21 Kazu Hirata <kazu@hxi.com>
  26109. * unwind-dw2.c: Fix formatting.
  26110. * unwind-dw2-fde.c: Likewise.
  26111. * unwind-dw2-fde.h: Likewise.
  26112. * unwind-pe.h: Likewise.
  26113. * varasm.c: Likewise.
  26114. * varray.h: Likewise.
  26115. 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
  26116. Remove workaround for register stack overwrite bug in mmix.
  26117. * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
  26118. support for TARGET_REG_STACK_FILL_BUG.
  26119. * config/mmix/mmix.h: Remove member has_call_without_parameters.
  26120. (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
  26121. Delete.
  26122. (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
  26123. (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
  26124. -mno-reg-stack-fill-bug-workaround.
  26125. * config/mmix/mmix.md ("call", "call_value"): Don't set struct
  26126. machine member has_call_without_parameters.
  26127. * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
  26128. -mreg-stack-fill-bug-workaround and
  26129. -mno-reg-stack-fill-bug-workaround.
  26130. (MMIX Options): Ditto.
  26131. 2002-01-21 Kazu Hirata <kazu@hxi.com>
  26132. * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
  26133. as appropriate.
  26134. Remove redundant code.
  26135. 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
  26136. * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
  26137. config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
  26138. config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
  26139. config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
  26140. config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
  26141. out target macro definitions and non-target-specific comments
  26142. mostly taken from old versions of the manual.
  26143. 2002-01-20 Kazu Hirata <kazu@hxi.com>
  26144. * config/h8300/h8300.h: Fix comment formatting.
  26145. * config/ia64/aix.h: Likewise.
  26146. * config/ia64/ia64-protos.h: Likewise.
  26147. * config/ia64/ia64.c: Likewise.
  26148. * config/ia64/ia64.h: Likewise.
  26149. * config/ia64/ia64intrin.h: Likewise.
  26150. * config/ia64/linux.h: Likewise.
  26151. * config/ia64/unwind-aix.c: Likewise.
  26152. * config/ia64/unwind-ia64.c: Likewise.
  26153. 2002-01-20 Kazu Hirata <kazu@hxi.com>
  26154. * config/h8300/h8300.c: Revise comments about shift code.
  26155. 2002-01-20 Kazu Hirata <kazu@hxi.com>
  26156. * config/h8300/h8300.c (function_arg): Update a comment.
  26157. 2002-01-20 Kazu Hirata <kazu@hxi.com>
  26158. * config/h8300/h8300.md: Update the comments at the beginning
  26159. of the file.
  26160. 2002-01-20 Kazu Hirata <kazu@hxi.com>
  26161. * config/i370/i370.c: Fix comment formatting.
  26162. * config/i370/i370.h: Likewise.
  26163. * config/i370/i370.md: Likewise.
  26164. * config/i370/linux.h: Likewise.
  26165. Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  26166. * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
  26167. * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
  26168. (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
  26169. in incomplete case.
  26170. 2002-01-20 Graham Stott <grahams@redhat.com>
  26171. * cfgloop.c (flow_loop_preheader_scan): Fix typo.
  26172. 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
  26173. * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
  26174. 2002-01-19 Tom Rix <trix@redhat.com>
  26175. * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
  26176. 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
  26177. * doc/tm.texi (STARTING_FRAME_PHASE): Document.
  26178. * function.c (assign_stack_local_1): Adjust x_frame_offset with
  26179. STARTING_FRAME_PHASE.
  26180. (STARTING_FRAME_PHASE): New.
  26181. (instantiate_virtual_regs): Check saneness of
  26182. STARTING_FRAME_PHASE.
  26183. * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
  26184. 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
  26185. * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
  26186. 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
  26187. * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
  26188. be used for bootstrapping GCC 3.0.
  26189. 2002-01-18 Kazu Hirata <kazu@hxi.com>
  26190. * config/h8300/h8300.md: Fix an insn length.
  26191. 2002-01-18 Kazu Hirata <kazu@hxi.com>
  26192. * bitmap.h: Fix comment formatting.
  26193. * combine.c: Likewise.
  26194. * cppfiles.c: Likewise.
  26195. * c-pragma.h: Likewise.
  26196. * c-typeck.c: Likewise.
  26197. * df.c: Likewise.
  26198. * dwarf2out.c: Likewise.
  26199. * function.c: Likewise.
  26200. * gcc.c: Likewise.
  26201. * genattrtab.c: Likewise.
  26202. * gthr-win32.h: Likewise.
  26203. * haifa-sched.c: Likewise.
  26204. * predict.c: Likewise.
  26205. * rtlanal.c: Likewise.
  26206. * rtl.h: Likewise.
  26207. * unwind-dw2-fde.h: Likewise.
  26208. * unwind-pe.h: Likewise.
  26209. * vmsdbgout.c: Likewise.
  26210. Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  26211. * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
  26212. if type_required and passed decl.
  26213. 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
  26214. * config.gcc (cpu_type): Include altivec.h in powerpc
  26215. extra_headers.
  26216. Same for darwin.
  26217. * config/rs6000/altivec.h: New.
  26218. 2002-01-17 David Edelsohn <edelsohn@gnu.org>
  26219. * doc/install.texi (*-ibm-aix*): Update assembler and exception
  26220. handling information.
  26221. * doc/trouble.texi (Interoperation): Add libstdc++ information
  26222. for AIX.
  26223. (Misunderstandings): Add template instantiation and static template
  26224. member information for AIX.
  26225. 2002-01-17 Jason Merrill <jason@redhat.com>
  26226. * dbxout.c (dbxout_type): Support const and volatile.
  26227. * except.c (add_partial_entry): Remove backwards compatibility code.
  26228. (end_protect_partials): Likewise.
  26229. 2002-01-17 Jakub Jelinek <jakub@redhat.com>
  26230. * config/ia64/ia64.md (prologue_use): New.
  26231. * config/ia64/ia64.c (ia64_expand_prologue): Use
  26232. gen_prologue_use instead of gen_rtx_USE.
  26233. (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
  26234. as CODE_FOR_pred_rel_mutex.
  26235. (ia64_sched_reorder2): Likewise.
  26236. 2002-01-16 Eric Christopher <echristo@redhat.com>
  26237. * config/mips/r3900.h: Reformat.
  26238. (SUBTARGET_CPP_SIZE_SPEC): Remove.
  26239. * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
  26240. * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
  26241. (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
  26242. * config/mips/t-elf: Remove mips3 multilib.
  26243. 2002-01-16 H.J. Lu <hjl@gnu.org>
  26244. * config/mips/linux.h: Include "mips/abi64.h".
  26245. 2002-01-16 H.J. Lu <hjl@gnu.org>
  26246. * config/mips/t-linux: New.
  26247. * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
  26248. * config/mips/linux.h: Don't include "gofast.h".
  26249. (INIT_SUBTARGET_OPTABS): Removed.
  26250. 2002-01-16 Kazu Hirata <kazu@hxi.com>
  26251. * config/h8300/h8300-protos.h: Replace emit_a_shift with
  26252. output_a_shift.
  26253. * config/h8300/h8300.c: Likewise.
  26254. * config/h8300/h8300.md: Likewise.
  26255. 2002-01-16 Kazu Hirata <kazu@hxi.com>
  26256. * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
  26257. spaces after an opcode name.
  26258. (pushqi1_h8300hs): Likewise.
  26259. (pushhi1_h8300hs): Likewise.
  26260. 2002-01-16 Kazu Hirata <kazu@hxi.com>
  26261. * doc/extend.texi: Replace "option" with "attribute"
  26262. appropriately.
  26263. 2002-01-16 Jakub Jelinek <jakub@redhat.com>
  26264. * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
  26265. (and:DI () (const_int -8)).
  26266. (split_small_symbolic_mem_operand): Split
  26267. (mem (and:DI () (const_int -8)).
  26268. 2002-01-16 Jakub Jelinek <jakub@redhat.com>
  26269. PR target/5309:
  26270. * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
  26271. same way as TYPE_IMUL.
  26272. (ultrasparc_sched_reorder): Likewise.
  26273. * config/sparc/sparc.md (type): Add comment to update
  26274. ultrasparc_sched_reorder when making changes.
  26275. 2002-01-16 Kazu Hirata <kazu@hxi.com>
  26276. * doc/invoke.texi: Change the dump file name of block
  26277. reordering pass from 28.bbro to 29.bbro.
  26278. Mention -dk option.
  26279. Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
  26280. * i386.md (minsf splitter): Fix pasto.
  26281. 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
  26282. * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
  26283. to frame pointer initialisation instruction.
  26284. (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
  26285. initialisation instruction.
  26286. (soft_df_operand): Do not accept the IP register.
  26287. (nonimmediate_soft_df_operand): Do not accept the IP register.
  26288. 2002-01-16 Jakub Jelinek <jakub@redhat.com>
  26289. PR target/5357:
  26290. * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
  26291. MASK_V8 being both set.
  26292. 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
  26293. * config/s390/s390.c (s390_emit_prologue): Do not emit USE
  26294. insn for GOT register; add REG_MAYBE_DEAD notes instead.
  26295. config/s390/s390.md (call, call_value): Add GOT register to
  26296. CALL_INSN_FUNCTION_USAGE where needed.
  26297. (call_exp, call_value_exp): New.
  26298. 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
  26299. * config/arm/arm.c: General formatting tidy up.
  26300. 2002-01-16 Graham Stott <grahams@redhat.com>
  26301. * calls.c (try_to_integrate): Use "(size_t)" intermediate
  26302. cast and when casting an integer literal to "rtx" pointer.
  26303. (expand_call): Likewise.
  26304. * flow.c (try_pre_increment): Likewise.
  26305. (find_use_as_address): Likewise.
  26306. * integrate.c (expand_iline_function): Likewise.
  26307. * regmove.c (try_auto_increment): Likewise.
  26308. 2002-01-16 Graham Stott <grahams@redhat.com>
  26309. * sched-rgn.c (passed): Use sbitmap_free.
  26310. (header): Likewise.
  26311. (inner): Likewise.
  26312. (in_queue): Likewise.
  26313. (in_stack): Likewise.
  26314. 2002-01-15 Eric Christopher <echristo@redhat.com>
  26315. * flow.c (propagate_one_insn): Change to use fatal_insn.
  26316. 2002-01-15 Kazu Hirata <kazu@hxi.com>
  26317. * expmed.c (extract_fixed_bit_field): Remove unused code.
  26318. * system.h: Poison SLOW_ZERO_EXTEND.
  26319. * doc/tm.texi: Remove.
  26320. * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
  26321. * config/arm/arm.h: Likewise.
  26322. * config/avr/avr.h: Likewise.
  26323. * config/clipper/clipper.h: Likewise.
  26324. * config/convex/convex.h: Likewise.
  26325. * config/d30v/d30v.h: Likewise.
  26326. * config/dsp16xx/dsp16xx.h: Likewise.
  26327. * config/elxsi/elxsi.h: Likewise.
  26328. * config/fr30/fr30.h: Likewise.
  26329. * config/h8300/h8300.h: Likewise.
  26330. * config/i370/i370.h: Likewise.
  26331. * config/i386/i386.h: Likewise.
  26332. * config/m68k/m68k.h: Likewise.
  26333. * config/mips/mips.h: Likewise.
  26334. * config/ns32k/ns32k.h: Likewise.
  26335. * config/pdp11/pdp11.h: Likewise.
  26336. * config/pj/pj.h: Likewise.
  26337. * config/s390/s390.h: Likewise.
  26338. * config/sh/sh.h: Likewise.
  26339. * config/stormy16/stormy16.h: Likewise.
  26340. * config/v850/v850.h: Likewise.
  26341. * config/vax/vax.h: Likewise.
  26342. * config/we32k/we32k.h: Likewise.
  26343. 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
  26344. * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
  26345. (altivec_lvsl): Change constraint to b.
  26346. (altivec_lvsr): Same.
  26347. (altivec_lvebx): Same.
  26348. (altivec_lvehx): Same.
  26349. (altivec_lvewx): Same.
  26350. (altivec_lvxl): Same.
  26351. (altivec_lvx): Same.
  26352. (altivec_stvx): Add parallel.
  26353. (altivec_stvxl): Same.
  26354. (altivec_stvehx): Same.
  26355. (altivec_stvebx): Same.
  26356. (altivec_stvebx): Same.
  26357. 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
  26358. * config.gcc: Change altivec.h to altivec-defs.h.
  26359. * config/rs6000/altivec.h: Delete.
  26360. * config/rs6000/altivec-defs.h: Add.
  26361. 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
  26362. * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
  26363. and UMOD modes.
  26364. * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
  26365. less than or equal to eight bytes.
  26366. * vax.md (andsi3): Remove constraints and change SET destination
  26367. operand type to nonimmediate_operand.
  26368. (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
  26369. when it is a CONST_INT.
  26370. 2002-01-15 Jason Merrill <jason@redhat.com>
  26371. * c-common.def (FILE_STMT): New code.
  26372. * c-common.c (statement_code_p): It's a statement.
  26373. * c-common.h (stmt_tree_s): Add x_last_filename.
  26374. (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
  26375. (last_expr_filename): New macro.
  26376. * c-semantics.c (begin_stmt_tree): Initialize it.
  26377. (add_stmt): If the filename changed, also insert a
  26378. FILE_STMT.
  26379. (expand_stmt): Handle seeing one.
  26380. 2002-01-15 Eric Christopher <echristo@redhat.com>
  26381. * flow.c (propagate_one_insn): Add error message and print out
  26382. insn for debugging.
  26383. 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
  26384. * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
  26385. ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
  26386. * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
  26387. TRAMPOLINE_ALIGNMENT.
  26388. * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
  26389. to be in bits.
  26390. * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
  26391. PCC_BITFIELD_TYPE_MATTERS.
  26392. * config/interix.h (STDC_VALUE): Remove. Use
  26393. STDC_0_IN_SYSTEM_HEADERS.
  26394. * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
  26395. (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
  26396. ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
  26397. 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
  26398. * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
  26399. not work on this platform currently.
  26400. 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
  26401. * c-typeck.c (build_unary_op): Don't wrap msgid argument of
  26402. readonly_warning in _().
  26403. 2002-01-15 Douglas B Rupp <rupp@gnat.com>
  26404. * gcc.c (delete_if_ordinary): Backout previous change.
  26405. 2002-01-15 Kazu Hirata <kazu@hxi.com>
  26406. * config/h8300/h8300.c (print_operand): Remove support for
  26407. unused operand characters.
  26408. * read-rtl.c: Fix formatting.
  26409. * real.c: Likewise.
  26410. * recog.c: Likewise.
  26411. * regclass.c: Likewise.
  26412. * regmove.c: Likewise.
  26413. * reg-stack.c: Likewise.
  26414. * reload1.c: Likewise.
  26415. * rtlanal.c: Likewise.
  26416. 2002-01-15 Kazu Hirata <kazu@hxi.com>
  26417. * config/i386/i386.c: Fix formatting.
  26418. 2002-01-15 Jakub Jelinek <jakub@redhat.com>
  26419. * c-typeck.c (process_init_element): Don't save_expr
  26420. COMPOUND_LITERAL_EXPR if just its initializer will be used.
  26421. 2002-01-15 David Edelsohn <edelsohn@gnu.org>
  26422. * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
  26423. emit optional traceback table if optimize_size or TARGET_ELF.
  26424. * config/rs6000/rs6000.md (prefetch): New.
  26425. 2002-01-15 Andreas Jaeger <aj@suse.de>
  26426. * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
  26427. 2002-01-15 Kazu Hirata <kazu@hxi.com>
  26428. * mips-tfile.c: Fix formatting.
  26429. Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
  26430. * unroll.c (final_reg_note_copy): Fix previous commit.
  26431. 2002-01-14 Kazu Hirata <kazu@hxi.com>
  26432. * config/h8300/h8300-protos.h: Remove the prototype for
  26433. eq_operator.
  26434. * config/h8300/h8300.c (eq_operator): Remove.
  26435. 2002-01-14 Richard Henderson <rth@redhat.com>
  26436. * config/i386/i386.md (prefetch): Tidy.
  26437. (prefetch_3dnow): Fix locality operand.
  26438. 2002-01-14 Richard Henderson <rth@redhat.com>
  26439. * config/mips/mips.h (HI_AND_FP_REGS): New register class.
  26440. (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
  26441. 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
  26442. * reload1.c (reload_combine): Pass reg_sum replacement through
  26443. copy_rtx in loop performing multiple changes.
  26444. 2002-01-14 Jakub Jelinek <jakub@redhat.com>
  26445. * except.c (remove_unreachable_regions): New.
  26446. (free_eh_status): Clear exception_handler_labels.
  26447. (convert_from_eh_region_ranges): Call remove_unreachable_regions.
  26448. (find_exception_handler_labels): Don't add the same label more than
  26449. once.
  26450. (remove_exception_handler_label): Don't die if
  26451. find_exception_handler_labels hasn't been called for the current
  26452. function yet.
  26453. Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
  26454. * toplev.c (rest_of_compilation): Rebuild jump labels after
  26455. gcse.
  26456. 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
  26457. * doc/extend.texi: Move documentation of X86 built-in functions
  26458. here.
  26459. * doc/invoke.texi: From here.
  26460. * doc/sourcebuild.texi: Document location of documentation for
  26461. machine built-in functions.
  26462. 2002-01-13 Christopher Faylor <cgf@redhat.com>
  26463. * cppfiles.c (TEST_THRESHOLD): New macro.
  26464. (SHOULD_MMAP): Ditto.
  26465. (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
  26466. be used.
  26467. Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
  26468. * unroll.c (final_reg_note_copy): Properly handle
  26469. REG_LABEL
  26470. (unroll_loops): Fix LOOP_CONDITION heuristics.
  26471. 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
  26472. * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
  26473. * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
  26474. Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
  26475. * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
  26476. threaded loop.
  26477. 2002-01-14 Tom Rix <trix@redhat.com>
  26478. * config/rs6000/rs6000.md: Fix typo with sradi.
  26479. 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
  26480. * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
  26481. movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
  26482. (clrstrdi, clrstrsi): Adapt callers.
  26483. (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
  26484. (movti splitter): Never use register 0 as base register.
  26485. 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
  26486. * combine.c (simplify_shift_const): Always generate new rtx
  26487. for shift expression instead of reusing given expression.
  26488. Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  26489. * config/alpha/alpha.c (alpha_expand_mov): Don't call
  26490. alpha_legitimize_address unless mode is Pmode.
  26491. 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
  26492. * doc/md.texi (Modifiers): Document the '*' constraint for the
  26493. user.
  26494. * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
  26495. * doc/extend.texi (Function Attributes): 'interrupt' is valid
  26496. for xstormy16 too.
  26497. 2002-01-13 Richard Henderson <rth@redhat.com>
  26498. * reload.c (find_reloads): Use a hard reg destination as reload reg
  26499. for an input reload of the source.
  26500. 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  26501. * doc/install.texi (Binaries): Make link to ftp.writtenword.com
  26502. more generic.
  26503. Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
  26504. * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
  26505. * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
  26506. * config/alpha/x-vms (USE_COLLECT2): Set to empty.
  26507. Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  26508. * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
  26509. 2002-01-12 Tom Rix <trix@redhat.com>
  26510. * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
  26511. TARGET_POWERPC64.
  26512. 2002-01-12 Richard Henderson <rth@redhat.com>
  26513. * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
  26514. * doc/invoke.texi: Update Alpha options.
  26515. * doc/invoke.texi: Update i386 built-in function lists.
  26516. Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
  26517. * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
  26518. referencing outside.
  26519. Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  26520. * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
  26521. * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
  26522. offsets, and change line folding.
  26523. * optabs.c (expand_binop): Remove warnings.
  26524. * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
  26525. 2002-01-12 Graham Stott <grahams@redhat.com>
  26526. * attribs.c (handle_deprecated_attribute): constify WHAT.
  26527. * diagnostic.c (warn_deprecated_use): Add braces, fixes
  26528. dangling else warning and constify WHAT.
  26529. * except.h (struct function, struct inline_remap): Move
  26530. struct tag forward defs before all prototypes.
  26531. (duplicate_eh_regions): Whitespace.
  26532. 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
  26533. * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
  26534. MODE_BASE_REG_CLASS.
  26535. (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
  26536. 2002-01-12 Richard Henderson <rth@redhat.com>
  26537. * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
  26538. (ix86_expand_vector_move): New.
  26539. (bdesc_2arg): Remove andps, andnps, orps, xorps.
  26540. (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
  26541. Remove old prefetch builtins. Special case the logicals removed above.
  26542. (ix86_expand_builtin): Likewise.
  26543. (safe_vector_operand): Use V4SFmode, not TImode.
  26544. (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
  26545. (ix86_expand_timode_binop_builtin): New.
  26546. * config/i386/i386-protos.h: Update.
  26547. * config/i386/i386.h (enum ix86_builtins): Update.
  26548. * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
  26549. Use ix86_expand_vector_move in vector move expanders.
  26550. (movti_internal, movti_rex64): Add xorps alternative.
  26551. (sse_clrv4sf): Rename and adjust from sse_clrti.
  26552. (prefetch): Don't work so hard.
  26553. (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
  26554. * config/i386/xmmintrin.h (__m128): Use V4SFmode.
  26555. (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
  26556. 2002-01-11 Richard Henderson <rth@redhat.com>
  26557. * config/i386/mmintrin.h: New file.
  26558. * config/i386/xmmintrin.h: New file.
  26559. * config.gcc (i?86-*-*): Add extra_headers.
  26560. * simplify-rtx.c (simplify_unary_operation): Handle saturating
  26561. truncation codes.
  26562. (simplify_binary_operation): Handle saturating arithmetic codes.
  26563. * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
  26564. not the lowpart subreg.
  26565. (ix86_expand_builtin): Return a TImode dummy register instead of 0
  26566. on error.
  26567. * config/i386/i386.md (mmx_clrdi): Override memory attribute.
  26568. 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  26569. * conflict.c (conflict_graph_compute): Free regsets when finished.
  26570. * ssa.c (compute_coalesced_reg_partition): Likewise.
  26571. 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
  26572. * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
  26573. every where we allocate a register.
  26574. 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  26575. * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
  26576. * lcm.c (compute_earliest, compute_farthest): Likewise.
  26577. 2002-01-11 Janis Johnson <janis187@us.ibm.com>
  26578. * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
  26579. 2002-01-11 Janis Johnson <janis187@us.ibm.com>
  26580. * doc/rtl.texi (Insns): Fix 2 typos.
  26581. 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
  26582. * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
  26583. options. Use @table @gcctabopt for MMIX options. Add index
  26584. entries for MMIX options. Start new paragraph with first
  26585. heading of the machine-dependent options.
  26586. 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
  26587. PR other/5299
  26588. * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
  26589. * combine.c (force_to_mode): Same.
  26590. * reload1.c (clear_reload_reg_in_use): Same.
  26591. 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
  26592. * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
  26593. and 'subtargets'.
  26594. 2002-01-11 Andreas Jaeger <aj@suse.de>,
  26595. Brad Lucier <lucier@math.purdue.edu>
  26596. * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
  26597. mcpu.
  26598. Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
  26599. * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
  26600. Protect with IN_LIBGCC.
  26601. (LINK_EH_SPEC): Add required trailing space.
  26602. Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
  26603. * c-tree.h: Move function declarations so that they are listed
  26604. under the filename which contains them.
  26605. (check_identifier, finish_decl_top_level,
  26606. lookup_name_current_level_global, shadow_record_fields): Remove.
  26607. 2002-01-11 Andreas Jaeger <aj@suse.de>
  26608. * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
  26609. march.
  26610. 2002-01-10 Richard Henderson <rth@redhat.com>
  26611. * config/alpha/alpha.c (print_operand): Add 'J'.
  26612. * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
  26613. new operand with the sequence number for the lituse. When splitting
  26614. the insns, use gen_movdi_er_high_g and generate a sequence number.
  26615. (gen_movdi_er_high_g): Print the sequence number if nonzero.
  26616. 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
  26617. * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
  26618. lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
  26619. stvxl.
  26620. (altivec_expand_builtin): Same.
  26621. (altivec_expand_stv_builtin): New.
  26622. * config/rs6000/rs6000.h (rs6000_builtins): Same.
  26623. * config/rs6000/rs6000.md ("altivec_lvebx"): New.
  26624. ("altivec_lvehx"): New.
  26625. ("altivec_lvewx"): New.
  26626. ("altivec_lvxl"): New.
  26627. ("altivec_lvx"): New.
  26628. ("altivec_stvx"): New.
  26629. ("altivec_stvebx"): New.
  26630. ("altivec_stvehx"): New.
  26631. ("altivec_stvewx"): New.
  26632. ("altivec_stvxl"): New.
  26633. 2002-01-10 Richard Henderson <rth@redhat.com>
  26634. * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
  26635. * reload1.c (delete_output_reload): Zap spill_reg_store. Take
  26636. care not to delete instructions twice.
  26637. 2002-01-10 Zack Weinberg <zack@codesourcery.com>
  26638. * toplev.c: Don't declare environ (it's not used anywhere).
  26639. * configure.in: Don't check for declaration of environ.
  26640. * config/i386/xm-mingw32.h: Don't #define environ.
  26641. * config.in, configure: Regenerate.
  26642. 2002-01-10 Zack Weinberg <zack@codesourcery.com>
  26643. * configure.in: Set stage1_cflags for powerpc-*-darwin*.
  26644. * configure: Regenerate.
  26645. * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
  26646. DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
  26647. * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
  26648. alpha/xm-vms.h.
  26649. * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
  26650. LIMITS_H_TEST here, not in m68k/x-next.
  26651. * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
  26652. SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
  26653. * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
  26654. LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
  26655. * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
  26656. * config/i386/x-djgpp: Renamed i386/t-djgpp.
  26657. * config/m88k/x-dolph: Renamed m88k/t-dolph.
  26658. * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
  26659. * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
  26660. replacement of quadlib.asm with quadlib.c.
  26661. * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
  26662. config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
  26663. config/rs6000/xm-beos.h: Delete file.
  26664. * config.gcc: Update to match above changes.
  26665. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26666. * config/h8300/h8300.h: Fix comment typos.
  26667. * config/h8300/h8300.md: Likewise.
  26668. * config/h8300/lib1funcs.asm: Likewise.
  26669. 2002-01-10 Dale Johannesen <dalej@apple.com>
  26670. PR optimization/5269
  26671. * unroll.c (precondition_loop_p): Make *increment be the correct
  26672. sign when n_iterations known, to avoid confusing caller.
  26673. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26674. * doc/extend.texi (deprecated): Fix a typo.
  26675. Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
  26676. * basic-block.h (update_br_prob_note): Declare.
  26677. * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
  26678. (try_forward_edges): Care negative frequencies and update note.
  26679. (outgoing_edges_match): Tweek conditional merging heuristics.
  26680. (try_crossjump_to_edge): use update_br_prob_note.
  26681. * cfglayout.c (fixup_reorder_chain): Likewise.
  26682. * cfrtl.c (update_br_prob_note): New.
  26683. * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
  26684. * i386.c (ix86_decompose_address): Return -1 if address contains
  26685. shift.
  26686. (legitimate_address_p): Require ix86_decompose_address to return 1.
  26687. * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
  26688. (cprop_insn): Likewise.
  26689. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26690. * toplev.c: Fix formatting.
  26691. * tree.c: Likewise.
  26692. * tree-dump.c: Likewise.
  26693. * unroll.c: Likewise.
  26694. * unwind-dw2.c: Likewise.
  26695. * unwind-dw2-fde.c: Likewise.
  26696. * unwind-dw2-fde-glibc.c: Likewise.
  26697. * unwind-sjlj.c: Likewise.
  26698. 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
  26699. * doc/invoke.texi: Document PDP-11 options.
  26700. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26701. * config/h8300/h8300.h: Fix formatting.
  26702. 2002-01-10 Ira Ruben <ira@apple.com>
  26703. Add __attribute__ ((deprecated)).
  26704. * extend.texi: Document __attribute__ ((deprecated)).
  26705. * invoke.texi: Document -Wno-deprecated-declarations.
  26706. * testsuite/g++.dg/other/deprecated.C: New C++ test.
  26707. * testsuite/gcc.dg/deprecated.c: New C test.
  26708. * attribs.c (enum attrs): Declare handle_deprecated_attribute().
  26709. (c_common_attribute_table): Add "deprecated" entry.
  26710. (handle_deprecated_attribute): New function.
  26711. * c-decl.c (deprecated_states): New enum.
  26712. deprecated_state: State of "deprecated" handling.
  26713. (start_decl): Set deprecated_state based on attributes.
  26714. (grokdeclarator): Test for deprecated uses, propagate attribute.
  26715. * c-typeck.c (build_component_ref): Test for deprecated fields.
  26716. (build_external_ref): Test for deprecated primaries.
  26717. * diagnostic.c (warn_deprecated_use) New function to issue
  26718. warnings about __attribute__ ((depricated)) references.
  26719. * flags.h (warn_deprecated_decl): Extern declared for
  26720. -W[no-]deprecated-declarations option.
  26721. * print-tree.c (print_node): Show deprecated flag status.
  26722. * toplev.c (warn_deprecated_decl): Defined.
  26723. (W_options): Added "deprecated-declaration".
  26724. * toplev.h (warn_deprecated_use): Extern declared.
  26725. * tree.h (struct tree_common): Define deprecated_flag.
  26726. (TREE_DEPRECATED): New macro to access flag.
  26727. * cp/call.c (build_call): Test for deprecated calls.
  26728. * cp/class.c (add_implicitly_declared_members): Set global
  26729. flag to tell grokdeclarator to not issue deprecated warnings.
  26730. * cp/cp-tree.h: Add extern for adding_implicit_members.
  26731. * cp/decl.c (deprecated_states): New enum.
  26732. (start_decl): Set deprecated_state based on attributes.
  26733. (grokdeclarator): Test for deprecated uses, propagate attribute.
  26734. * cp/lex.c (do_identifier): Test for deprecated primaries.
  26735. * cp/typeck.c (build_component_ref): Test for deprecated fields.
  26736. 2002-01-10 Ira Ruben <ira@apple.com>
  26737. Fix to assign attributes to inline member functions.
  26738. * cp/decl.c (start_method): Handle attrlist.
  26739. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26740. * combine.c (expand_field_assignment): Use subreg_lsb().
  26741. 2002-01-10 David Edelsohn <edelsohn@gnu.org>
  26742. * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
  26743. POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
  26744. (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
  26745. Recurse for any operand of AND as long as constant is nonzero.
  26746. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26747. * config/h8300/h8300.md: Remove constraints from expanders.
  26748. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26749. * varasm.c: Fix formatting.
  26750. * varray.c: Likewise.
  26751. * vmsdbgout.c: Likewise.
  26752. * xcoffout.c: Likewise.
  26753. Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
  26754. * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
  26755. update edge probabilities to match.
  26756. 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
  26757. * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
  26758. dependencies.
  26759. * doc/languages.texi, doc/sourcebuild.texi: New files.
  26760. * doc/configfiles.texi: Make a subsubsection. Update.
  26761. * doc/configterms.texi: Add @node. Remove warning that this isn't
  26762. instructions for building GCC.
  26763. * doc/makefile.texi: Make a subsection.
  26764. * doc/gccint.texi: Update.
  26765. Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
  26766. * i386.md (sse_mov?fcc_const0_?): Fix constraints.
  26767. Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
  26768. * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
  26769. Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
  26770. * optabs.c (expand_fix): Look for wider integer modes first.
  26771. * i386.md (mov?f): Avoid the fake const double trick for medium
  26772. memory model.
  26773. (min?f*/max?f*): Prohibit memory operands for i387 variant.
  26774. (fop_df_4): Disable for SSE compilation.
  26775. 2002-01-10 Graham Stott <grahams@redhat.com>
  26776. * dwarf2out.c (indirect_string_alloc, output_indirect_string):
  26777. Move prototype into DWARF2_DEBUGGING_INFO conditional block.
  26778. 2002-01-10 Richard Henderson <rth@redhat.com>
  26779. * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
  26780. 2002-01-10 Richard Henderson <rth@redhat.com>
  26781. * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
  26782. (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
  26783. 2002-01-10 Kazu Hirata <kazu@hxi.com>
  26784. * combine.c (can_combine_p): Fix a comment typo.
  26785. 2002-01-09 Zack Weinberg <zack@codesourcery.com>
  26786. * Makefile.in (s-gencheck, s-options, s-specs): Handle an
  26787. empty list correctly. Change loop index $t to $f for
  26788. consistency with rest of Makefile.
  26789. 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
  26790. * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
  26791. mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
  26792. * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
  26793. mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
  26794. (altivec_init_builtins): Same.
  26795. (altivec_expand_unop_builtin): Return NULL_RTX on error.
  26796. (altivec_expand_binop_builtin): Same.
  26797. (altivec_expand_ternop_builtin): Same.
  26798. (bdesc_dst): New.
  26799. * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
  26800. ("altivec_vctuxs"): Fix typo.
  26801. ("altivec_vnmsubfp"): Same.
  26802. ("altivec_dssall"): New.
  26803. ("altivec_mfvscr"): New.
  26804. ("altivec_dss"): New.
  26805. ("altivec_lvsl"): New.
  26806. ("altivec_lvsr"): New.
  26807. ("altivec_dstt"): New.
  26808. ("altivec_dstst"): New.
  26809. ("altivec_dststt"): New.
  26810. ("altivec_dst"): New.
  26811. * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
  26812. mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
  26813. 2002-01-09 Richard Henderson <rth@redhat.com>
  26814. * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
  26815. 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
  26816. * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
  26817. function.
  26818. * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
  26819. prototype.
  26820. * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
  26821. 2002-01-09 Kazu Hirata <kazu@hxi.com>
  26822. * read-rtl.c: Fix formatting.
  26823. * real.c: Likewise.
  26824. * regclass.c: Likewise.
  26825. * regrename.c: Likewise.
  26826. * reg-stack.c: Likewise.
  26827. * reload1.c: Likewise.
  26828. * reload.c: Likewise.
  26829. * rtl.c: Likewise.
  26830. 2002-01-09 Kazu Hirata <kazu@hxi.com>
  26831. * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
  26832. to extract items in the expr_list chain.
  26833. 2002-01-09 Richard Henderson <rth@redhat.com>
  26834. * config/vax/vax.c (vax_rtx_cost): Never abort.
  26835. * config/vax/vax.h (REAL_ARITHMETIC): Define.
  26836. 2002-01-09 Jan Hubicka <jh@suse.cz>
  26837. * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
  26838. 2002-01-09 Richard Henderson <rth@redhat.com>
  26839. * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
  26840. Unify code from various alternatives.
  26841. 2002-01-09 Richard Henderson <rth@redhat.com>
  26842. * regrename.c (copy_value): Ignore the copy if the source register
  26843. is present in the value chain with a narrower mode.
  26844. 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
  26845. * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
  26846. for the c4x target. Also improve layout.
  26847. 2002-01-09 Richard Henderson <rth@redhat.com>
  26848. * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
  26849. * config/m32r/m32r.md (and ior xor splitters): Swap operands
  26850. to match insn patterns.
  26851. 2002-01-09 Richard Henderson <rth@redhat.com>
  26852. * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
  26853. (copyprop_hardreg_forward_1): Likewise.
  26854. 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
  26855. * pa.md (decrement_and_branch_until_zero): Change predicate for
  26856. operand 0 from register_operand to reg_or_nonsymb_mem_operand.
  26857. 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
  26858. * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
  26859. gets undefined. For Darwin.
  26860. 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
  26861. * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
  26862. 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  26863. * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
  26864. 2002-01-08 Richard Henderson <rth@redhat.com>
  26865. * regrename.c (copy_value): Ignore overlapping copies.
  26866. 2002-01-08 Richard Henderson <rth@redhat.com>
  26867. * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
  26868. as needed to avoid shared structure.
  26869. 2002-01-08 Kazu Hirata <kazu@hxi.com>
  26870. * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
  26871. H8/300H and H8S.
  26872. 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
  26873. * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
  26874. LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
  26875. documentation of obsolete macros.
  26876. * system.h: Poison these macros.
  26877. * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
  26878. config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
  26879. config/c4x/c4x.h, config/clipper/clipper.h,
  26880. config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
  26881. config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
  26882. config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
  26883. config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
  26884. config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
  26885. config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
  26886. config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
  26887. config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
  26888. config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
  26889. config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
  26890. config/sparc/sparc.h, config/stormy16/stormy16.h,
  26891. config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
  26892. definitions and commented out definitions of obsolete macros.
  26893. * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
  26894. of MAX_INT_TYPE_SIZE.
  26895. 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
  26896. * config/s390/s390.c (s390_preferred_reload_class): Never
  26897. return ADDR_REGS if it isn't a subset of the given class.
  26898. * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
  26899. FP_REGS, but all superclasses as well.
  26900. * config/s390/s390.c (s390_function_profiler): Fix thinko.
  26901. * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
  26902. cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
  26903. must not be a const_int.
  26904. 2002-01-08 Richard Henderson <rth@redhat.com>
  26905. * Makefile.in (toplev.o): Depend on options.h.
  26906. (gcc.o): Depend on specs.h.
  26907. 2002-01-08 Jakub Jelinek <jakub@redhat.com>
  26908. * expr.c (store_expr): Convert VOIDmode constants back to target's
  26909. mode.
  26910. 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  26911. * doc/invoke.texi: Markup gcc as @command. Refer to
  26912. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
  26913. of http://gcc.gnu.org/thanks.html.
  26914. 2002-01-08 Dale Johannesen <dalej@apple.com>
  26915. * config/rs6000/rs6000.md: Add missing int register
  26916. target case to movdf_low.
  26917. 2002-01-08 Zack Weinberg <zack@codesourcery.com>
  26918. * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
  26919. except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
  26920. (cppinit.o): Depend on except.h.
  26921. (gencheck.h, options.h, specs.h, s-gencheck, s-options,
  26922. s-specs): New rules.
  26923. * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
  26924. Don't create specs.h/options.h/gencheck.h here. Remove
  26925. unnecessary variable settings from last argument of AC_OUTPUT.
  26926. * config.in, configure: Regenerate.
  26927. * intl.c: Hardcode package name as "gcc".
  26928. * cppinit.c: Include except.h.
  26929. (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
  26930. appropriate.
  26931. * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
  26932. Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
  26933. (!)USING_SJLJ_EXCEPTIONS.
  26934. * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
  26935. 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
  26936. * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
  26937. ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
  26938. OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
  26939. documentation of obsolete macros.
  26940. * system.h: Poison these macros.
  26941. * config/d30v/d30v.h, config/ns32k/encore.h,
  26942. config/stormy16/stormy16.h: Remove definitions and commented out
  26943. definitions of obsolete macros.
  26944. Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
  26945. * objc/objc-act.c (handle_class_ref): Mark the declaration of
  26946. %sobjc_class_ref_%s as used - to prevent unwanted compiler
  26947. warnings.
  26948. 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
  26949. * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
  26950. * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
  26951. to insn adjusting stack/frame pointer.
  26952. * config/s390/s390.md (reload_la_64, reload_la_31): Do not
  26953. accept operands that cause the insn to be non-splittable.
  26954. 2002-01-08 Graham Stott <grahams@redhat.com>
  26955. * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
  26956. (C_TYPE_FIELDS_VOLATILE): Likewise.
  26957. (C_TYPE_BEING_DEFINED): Likewise.
  26958. (C_IS_RESERVED_WORD): Likewise.
  26959. (C_TYPE_VARIABLE_SIZE): Likewise.
  26960. (C_DECL_VARIABLE_SIZE): Likewise.
  26961. (C_MISSING_PROTOTYPE_WARNED): Likewise.
  26962. (C_SET_EXP_ORIGINAL_CODE): Likewise.
  26963. (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
  26964. parenthesis.
  26965. (C_DECL_ANTICIPATED): Likewise.
  26966. (c_build_type_variant): Add parenthesis.
  26967. 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
  26968. * gcc.c (option_map): Remove --version.
  26969. (process_command): Handle -fversion following the GNU Coding
  26970. Standards. Partially addresses PR other/704.
  26971. 2002-01-08 Graham Stott <grahams@redhat.com>
  26972. * combine.c (combine_instructions): Fix typo.
  26973. 2002-01-08 Graham Stott <grahams@redhat.com>
  26974. * debug.h: Use "tree" and "rtx" throughout.
  26975. * debug.c: Likewise.
  26976. 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
  26977. * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
  26978. constant pool, use the pool's version of the symbol instead.
  26979. 2002-01-07 Richard Henderson <rth@redhat.com>
  26980. * regrename.c (find_oldest_value_reg): Ignore the value chain if
  26981. the original register was copied in a mode with a fewer number of
  26982. hard registers than the desired mode.
  26983. (copyprop_hardreg_forward_1): Likewise.
  26984. (debug_value_data): Fix loop test.
  26985. * toplev.c (parse_options_and_default_flags): Reenable
  26986. -fcprop-registers at -O1.
  26987. 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
  26988. * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
  26989. (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
  26990. * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
  26991. predicates.
  26992. * config/rs6000/rs6000.md: Add altivec predicate patterns.
  26993. 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
  26994. * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
  26995. (pa_output_function_prologue): Output local label at the beginning of
  26996. the prologue when profiling.
  26997. (hppa_profile_hook): Use the local label rather than the function label.
  26998. * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
  26999. 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
  27000. * config/rs6000/rs6000.c (print_operand): Remove extra space.
  27001. (altivec_expand_unop_builtin): Fix thinko.
  27002. (altivec_expand_binop_builtin): Same.
  27003. (altivec_expand_ternop_builtin): Same.
  27004. (altivec_expand_builtin): Same.
  27005. 2002-01-07 Richard Henderson <rth@redhat.com>
  27006. * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
  27007. 2002-01-07 Jason Merrill <jason@redhat.com>
  27008. * unwind-dw2.c (execute_cfa_program): Use < again.
  27009. 2002-01-07 Jakub Jelinek <jakub@redhat.com>
  27010. * predict.c (combine_predictions_for_insn): Avoid division by zero.
  27011. 2002-01-07 Jakub Jelinek <jakub@redhat.com>
  27012. * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
  27013. Don't allow -1 - x -> ~x simplifications in the first pass.
  27014. 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
  27015. * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
  27016. arguments.
  27017. (altivec_expand_binop_builtin): Same.
  27018. (altivec_expand_unop_builtin): Same.
  27019. (print_operand): Fix typo.
  27020. (bdesc_1arg): Add vupk* variants.
  27021. * rs6000.h (rs6000_builtins): Add vupk* enums.
  27022. * rs6000.md: Add altivec_vupk* variants.
  27023. 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
  27024. * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
  27025. doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
  27026. and last update dates.
  27027. 2002-01-07 Janis Johnson <janis187@us.ibm.com>
  27028. * doc/rtl.texi (Flags): Clean up documentation of RTL flags
  27029. 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
  27030. * config/avr/avr.c (avr_mcu_types): Add new MCU types.
  27031. * config/avr/avr.h (CPP_SPEC): Likewise.
  27032. (LINK_SPEC): Likewise.
  27033. (CRT_BINUTILS_SPECS): Likewise.
  27034. * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
  27035. * doc/invoke.texi (AVR Options): Document them.
  27036. Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
  27037. * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
  27038. LABEL_NUSES.
  27039. 2002-01-07 Graham Stott <grahams@redhat.com>
  27040. * config/i386/i386.h: Update copyright date.
  27041. (HALF_PIC_PTR): Add parenthesis.
  27042. (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
  27043. (CONSTANT_ALIGNMENT): Add parenthesis.
  27044. (DATA_ALIGNMENT): Likewise.
  27045. (LOCAL_ALIGNMENT): Likewise.
  27046. (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
  27047. (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
  27048. (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
  27049. (HARD_REGNO_NREGS): Add paranethesis.
  27050. (VALID_SSE_REG_MODE): Whitespace.
  27051. (VALID_MMX_REG_MODE): Whitespace.
  27052. (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
  27053. (ix86_hard_regno_mode_ok): Add parenthesis.
  27054. (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
  27055. (RETURN_IN_MEMORY): Whitespace.
  27056. (N_REG_CLASSES): Add parenthesis.
  27057. (INTEGER_CLASS_P): Add parenthesis and wrap.
  27058. (FLOAT_CLASS_P): Likewise.
  27059. (SSE_CLASS_P): Likewise.
  27060. (MMX_CLASS_P): Likewise.
  27061. (MAYBE_INTEGER_CLASS_P): Likewise.
  27062. (MAYBE_FLOAT_CLASS_P): Likewise.
  27063. (MAYBE_SSE_CLASS_P): Likewise.
  27064. (MAYBE_MMX_CLASS_P): Likewise.
  27065. (Q_CLASS_P): Likewise.
  27066. (GENERAL_REGNO_P): Uppercase macro parameter.
  27067. (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
  27068. (FP_REGNO_P): Likewise.
  27069. (ANY_FP_REGNO_P): Uppercase macro parameter.
  27070. (SSE_REGNO_P): Likewise.
  27071. (SSE_REGNO): Likewise.
  27072. (SSE_REG_P): Likewise.
  27073. (SSE_FLOAT_MODE_P): Likewise.
  27074. (MMX_REGNO_P): Likewise.
  27075. (MMX_REG_P):Likewise.
  27076. (STACK_REG_P): Likewise.
  27077. (NON_STACK_REG_P): Likewise.
  27078. (STACK_TOP_P): Likewise.
  27079. (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
  27080. (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
  27081. (SECONDARY_MEMORY_NEEDED): Likewise.
  27082. (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
  27083. (MD_ASM_CLOBBERS): Whitespace and wrap.
  27084. (MUST_PASS_IN_STACK): Whitespace and wrap.
  27085. (RETURN_POPS_ARGS): Add parenthesis.
  27086. (INIT_CUMULATIVE_ARGS): Likewise.
  27087. (FUNCTION_ARG): Likewise.
  27088. (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
  27089. (SETUP_INCOMING_VARARGS): Likewise.
  27090. (BUILD_VA_LIST_TYPE): Add parenthesis.
  27091. (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
  27092. parenthsis.
  27093. (EXPAND_BUILTIN_VA_ARG): Likewise.
  27094. (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
  27095. (INITIALIZE_TRAMPOLINE): Add parenthesis.
  27096. (INITIAL_ELIMINATION_OFFSET): Likewise.
  27097. (REGNO_OK_FOR_INDEX_P): Add parenthesis.
  27098. (REGNO_OK_FOR_BASE_P): Likewise.
  27099. (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
  27100. (REGNO_OK_FOR_DIREG_P): Likewise.
  27101. (REG_OK_FOR_INDEX_P): Whitespace.
  27102. (REG_OK_FOR_BASE_P): Whitespace.
  27103. (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
  27104. parenthesis.
  27105. (FIND_BASE_TERM): Fix typo.
  27106. (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
  27107. (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
  27108. (SYMBOLIC_CONST; Whitespace.
  27109. (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
  27110. (ENCODE_SECTION_INFO): Whitespace.
  27111. (FINALIZE_PIC): Remove do { ... } while (0).
  27112. (PROMOTE_MODE): Wrap in do { ... } while (0).
  27113. (CONST_COSTS): Whitespace.
  27114. (RTX_COSTS): Add paramethesis, whitespace and wrap.
  27115. (REGISTER_MOVE_COST): Add parenthesis.
  27116. (MEMORY_MOVE_COST): Likewise.
  27117. (EXTRA_CC_MODES): Whitespace.
  27118. (SELECT_CC_MODE): Add parenthesis and whitespace.
  27119. (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
  27120. (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
  27121. (ASM_OUTPUT_LABEL): Add paramethesis.
  27122. (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
  27123. (ASM_OUTPUT_REG_POP): Likewise.
  27124. (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
  27125. (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
  27126. * config/i386/i386.c: Update copyright.
  27127. (CHECK_STACK_LIMIT): Add parenthesis.
  27128. (AT_BP): Uppercase macro parameter.
  27129. (x86_64_int_parameter_registers): Constify.
  27130. (x86_64_int_return_registers): Likewise.
  27131. (ix86_compare_op0): Use rtx.
  27132. (construct_container): Constify INTREG parameter.
  27133. (function_arg): Use rtx.
  27134. * diagnostic.h: Update copyright date.
  27135. (output_buffer_state): Add parenthesis.
  27136. (output_buffer_format_args): Likewise.
  27137. * combine.c (combine_instructions): Replace XEXP (links, 0)
  27138. with link.
  27139. 2002-01-06 H.J. Lu <hjl@gnu.org>
  27140. * cfgcleanup.c (thread_jump): Fix 2 typos.
  27141. 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
  27142. * config.gcc: Add support for --enable-altivec.
  27143. 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
  27144. * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
  27145. 2002-01-06 Jakub Jelinek <jakub@redhat.com>
  27146. * objc/objc-act.c (handle_impent): Use assemble_variable to emit
  27147. __objc_class_name_*.
  27148. 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
  27149. * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
  27150. 2002-01-06 Richard Henderson <rth@redhat.com>
  27151. * reorg.c (emit_delay_sequence): Remove death notes, not merely
  27152. nop them out. Increment label reference count for REG_LABEL.
  27153. (fill_slots_from_thread): Frob label reference count around
  27154. delete_related_insns.
  27155. 2002-01-05 Richard Henderson <rth@redhat.com>
  27156. * cfgcleanup.c (try_forward_edges): Detect infinite loops while
  27157. jump threading.
  27158. 2002-01-05 Richard Henderson <rth@redhat.com>
  27159. * c-decl.c (c_expand_body): Don't call outlining_inline_function.
  27160. * integrate.c (output_inline_function): Likewise.
  27161. * toplev.c (rest_of_compilation): Do it here instead. Move call
  27162. to remove_unnecessary_notes after emitting abstract instance.
  27163. Force an emitted nested function to have its parent emited as well.
  27164. * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
  27165. for null.
  27166. (rtl_for_decl_location): Do not look at reload data structures
  27167. before reload has run.
  27168. 2002-01-05 Kazu Hirata <kazu@hxi.com>
  27169. * cse.c: Fix formatting.
  27170. * dwarf2asm.c: Likewise.
  27171. * dwarf2out.c: Likewise.
  27172. * explow.c: Likewise.
  27173. * expmed.c: Likewise.
  27174. * function.c: Likewise.
  27175. * gcov.c: Likewise.
  27176. * gencheck.c: Likewise.
  27177. * genrecog.c: Likewise.
  27178. * ggc-common.c: Likewise.
  27179. * ggc-page.c: Likewise.
  27180. * global.c: Likewise.
  27181. 2002-01-05 Kazu Hirata <kazu@hxi.com>
  27182. * combine.c: Fix formatting.
  27183. 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
  27184. PR middle-end/1557
  27185. * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
  27186. 2002-01-05 David Edelsohn <edelsohn@gnu.org>
  27187. * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
  27188. as 1 for __powerpc64__ as well.
  27189. * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
  27190. * alias.c (find_base_value, PLUS/MINUS): If we found a base,
  27191. return it.
  27192. 2002-01-05 Daniel Berlin <dan@dberlin.org>
  27193. * lcm.c: Revert change, due to performance regression it causes on
  27194. SPEC because it's slightly more conservative (sigh, I hate
  27195. edge-based LCM).
  27196. Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
  27197. * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
  27198. 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
  27199. * doc/cppinternals.texi: Update.
  27200. 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
  27201. * doc/invoke.texi (Option Summary) <MMIX Options>: Document
  27202. -mbranch-predict, -mreg-stack-fill-bug-workaround and their
  27203. negatives.
  27204. (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
  27205. * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
  27206. kludge for pre-october-14th mmix versions to handle new-found bug
  27207. with PUSHJ/PUSHGO and the register stack.
  27208. * config/mmix/mmix.h (struct machine_function): Rename member
  27209. has_call_value_without_parameters to has_call_without_parameters.
  27210. All referers changed.
  27211. (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
  27212. TARGET_MASK_BRANCH_PREDICT): New macros.
  27213. (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
  27214. -mno-reg-stack-fill-bug-workaround.
  27215. * config/mmix/mmix.md ("call"): Set struct machine member
  27216. has_call_without_parameters.
  27217. Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
  27218. * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
  27219. Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
  27220. * cfgcleanup.c: Include tm_p.h
  27221. (mark_effect): Fix handling of hard register; fix handling of SET
  27222. 2002-01-04 Kazu Hirata <kazu@hxi.com>
  27223. * config/h8300/h8300.md (anonymous patterns): Check that
  27224. operands are registers before using REGNO on them.
  27225. 2002-01-03 Roland McGrath <roland@frob.com>
  27226. * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
  27227. 2002-01-04 Jakub Jelinek <jakub@redhat.com>
  27228. * tree.h (expand_expr_stmt_value): Add maybe_last argument.
  27229. * c-common.h (genrtl_expr_stmt_value): Likewise.
  27230. * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
  27231. (expand_expr_stmt_value): Add maybe_last argument.
  27232. Don't warn about statement with no effect if it is the last statement
  27233. in expression statement.
  27234. * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
  27235. (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
  27236. expand_expr_stmt_value.
  27237. (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
  27238. genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
  27239. * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
  27240. as maybe_last to expand_expr_stmt_value.
  27241. Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
  27242. * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
  27243. be passed in, do not build it.
  27244. (c_begin_if_stmt): New function.
  27245. (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
  27246. * c-common.h (c_expand_start_cond): Update prototype.
  27247. (c_begin_if_stmt): Prototype new function.
  27248. (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
  27249. * c-parse.in (if_prefix): Use c_begin_if_stmt,
  27250. c_begin_while_stmt and c_finish_while_stmt_cond.
  27251. 2002-01-04 William Cohen <wcohen@redhat.com>
  27252. * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
  27253. * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
  27254. * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
  27255. * config/pa/som.h (ASM_FILE_START): Likewise.
  27256. 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
  27257. * lcm.c: Include df.h.
  27258. Add available_transfer_function prototype.
  27259. (compute_available): Rework to use iterative dataflow framework.
  27260. (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
  27261. with bb_info in df.h
  27262. (available_transfer_function): New function.
  27263. * Makefile.in (lcm.o): add df.h to dependencies.
  27264. 2002-01-04 Richard Henderson <rth@redhat.com>
  27265. * config/alpha/alpha.c (some_operand): Accept HIGH.
  27266. (input_operand): Likewise; accept simple references to globals.
  27267. (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
  27268. (alpha_const_double_ok_for_letter_p): Likewise.
  27269. (alpha_extra_constraint): Likewise.
  27270. (alpha_preferred_reload_class): Likewise. Do not force
  27271. symbolic constants to memory.
  27272. (alpha_legitimate_address_p): Accept simple references
  27273. to small_symbolic_operand.
  27274. (alpha_legitimize_address): New arg scratch. Be prepared to be
  27275. called when no_new_pseudos. Emit simple symbolic references.
  27276. Split integers into low, high, and rest.
  27277. (alpha_expand_mov): Use alpha_legitimize_address.
  27278. (some_small_symbolic_mem_operand): New.
  27279. (split_small_symbolic_mem_operand): New.
  27280. * config/alpha/alpha-protos.h: Update.
  27281. * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
  27282. (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
  27283. (EXTRA_CONSTRAINT): Likewise.
  27284. (PREFERRED_RELOAD_CLASS): Likewise.
  27285. (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
  27286. (PREDICATE_CODES): Update.
  27287. * config/alpha/alpha.md: New post-reload splitters to convert
  27288. simplfied symbolic operands to the form that references $29.
  27289. (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
  27290. (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
  27291. 2002-01-03 Richard Henderson <rth@redhat.com>
  27292. * local-alloc.c (function_invariant_p): Update commentary.
  27293. 2002-01-04 H.J. Lu <hjl@gnu.org>
  27294. * toplev.c (rest_of_compilation): Fix a typo when calling
  27295. cleanup_cfg.
  27296. 2002-01-03 Kazu Hirata <kazu@hxi.com>
  27297. * c-common.c: Fix formatting.
  27298. * diagnostic.c: Likewise.
  27299. * doloop.c: Likewise.
  27300. * dwarf2out.c: Likewise.
  27301. 2002-01-03 Kazu Hirata <kazu@hxi.com>
  27302. * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
  27303. of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
  27304. 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
  27305. * cpperror.c: Update comments and copyright.
  27306. * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
  27307. cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
  27308. 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
  27309. * collect2.c (main): Use strcmp when testing for "-shared".
  27310. 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
  27311. * cppmacro.c: Don't include intl.h. Update comments.
  27312. (new_number_token): Allocate enough buffer for 64-bit unsigned
  27313. integers; update prototype.
  27314. * cppmain.c: Update comments.
  27315. 2002-01-03 William Cohen <wcohen@redhat.com>
  27316. * function.h (struct function): Add profile.
  27317. (current_function_profile): New.
  27318. doc/extend.texi: Update documentation.
  27319. * final.c (final_start_function): Use current_function_profile
  27320. instead of profile_flag.
  27321. (profile_after_prologue): Likewise.
  27322. * function.c (expand_function_start): Likewise.
  27323. (expand_function_start): Likewise.
  27324. * config/alpha/alpha.c (direct_call_operand):
  27325. (alpha_does_function_need_gp): Likewise.
  27326. (alpha_expand_prologue): Likewise.
  27327. * config/arm/arm.c (arm_expand_prologue): Likewise.
  27328. thumb_expand_prologue: Likewise.
  27329. * config/d30v/d30v.c (d30v_stack_info): Likewise.
  27330. * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
  27331. (fr30_expand_prologue): Likewise.
  27332. * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
  27333. * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
  27334. * config/i386/i386.h (FINALIZE_PIC): Likewise.
  27335. * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
  27336. * config/i960/i960.c (i960_output_function_prologue): Likewise.
  27337. * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
  27338. * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
  27339. (m32r_expand_prologue): Likewise.
  27340. * config/m88k/m88k.c (m88k_layout_frame): Likewise.
  27341. (m88k_expand_prologue): Likewise.
  27342. * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
  27343. * config/mips/mips.c (compute_frame_size): Likewise.
  27344. (mips_expand_prologue): Likewise.
  27345. (mips_can_use_return_insn): Likewise.
  27346. * config/pa/elf.h (ASM_FILE_START): Likewise.
  27347. * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
  27348. * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
  27349. * config/pa/som.h (ASM_FILE_START): Likewise.
  27350. * config/romp/romp.c (romp_using_r14): Likewise.
  27351. * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
  27352. (rs6000_stack_info): Likewise.
  27353. * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
  27354. * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
  27355. * config/v850/v850.c (compute_register_save_size): Likewise.
  27356. 2002-01-03 Jakub Jelinek <jakub@redhat.com>
  27357. * simplify-rtx.c (simplify_binary_operation) [DIV]: If
  27358. gen_lowpart_common fails, use gen_lowpart_SUBREG.
  27359. 2002-01-03 Turly O'Connor <turly@apple.com>
  27360. * darwin.c (machopic_output_possible_stub_label): Don't generate
  27361. stub routines for pseudo-stubs which we've just defined.
  27362. 2002-01-03 Kazu Hirata <kazu@hxi.com>
  27363. * builtins.c: Fix formatting.
  27364. * c-typeck.c: Likewise.
  27365. * combine.c: Likewise.
  27366. * expr.c: Likewise.
  27367. * loop.c: Likewise.
  27368. 2002-01-03 Andreas Schwab <schwab@suse.de>
  27369. * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
  27370. and return true if _cpp_push_next_buffer pushed a new include
  27371. file.
  27372. * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
  27373. _cpp_pop_file_buffer did not push a new file.
  27374. * cpphash.h (_cpp_pop_file_buffer): Update declaration.
  27375. 2002-01-02 Eric Christopher <echristo@redhat.com>
  27376. * final.c (final_scan_insn): Change 0 -> NULL_RTX in
  27377. FIND_REG_INC_NOTE call. Update copyright.
  27378. * loop.c (canonicalize_condition): Ditto.
  27379. * reorg.c (delete_scheduled_jump): Ditto.
  27380. 2002-01-03 Kazu Hirata <kazu@hxi.com>
  27381. * gcse.c: Fix formatting.
  27382. 2002-01-03 Graham Stott <grahams@redhat.com>
  27383. * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
  27384. forward defs for struct tags rtx_def, union_tree, rtvec_def
  27385. also output corresponding typedefs for rtx, tree, and rtvec.
  27386. * system.h: Move forward defs for struct tags rtx_def, union_tree,
  27387. rtvec_def along with corresponding typedefs for rtx, tree, and
  27388. rtvec to config.h, hconfig.h, tconfig.h.
  27389. 2002-01-03 Graham Stott <grahams@redhat.com>
  27390. * tree.h: Update copyright date.
  27391. (IS_EXPR_CODE_CLASS): Add parenthesis.
  27392. (TREE_SET_CODE): Add whitespace.
  27393. (TREE_CHECK): Add parenthesis.
  27394. (TREE_CLASS_CODE): Add parenthesis and wrap long line.
  27395. (CST_OR_CONSTRUCTOR_CHECK):
  27396. (EXPR_CHECK): Add parenthis, whitespace and wrap line.
  27397. (TREE_SYMBOL_REFERENCED): Whitespace.
  27398. (INT_CST_LT): Likewise.
  27399. (INT_CST_LT_UNSIGNED): Likewise.
  27400. (tree_real_cst): Unwrap comment.
  27401. (tree_string): Likewise.
  27402. (tree_complex): Likewise.
  27403. (IDENTIFIER_POINTER): correct cast.
  27404. (SAVE_EXPR_CONTEXT): Whitespace.
  27405. (EXPR_WFL_FILENAME_NODE): Likewise.
  27406. (EXPR_WFL_FILENAME): Remove parenthesis.
  27407. (DECL_ORIGIN): Add parenthesis.
  27408. (DECL_FROM_INLINE): Use NULL_TREE.
  27409. (build_int_2): Whitespace.
  27410. (build_type_variant): Add parenthesis.
  27411. * gcc/jcf-parse.c: Update copyright date.
  27412. (yyparse): Constify resource_filename.
  27413. 2002-01-03 Graham Stott <grahams@redhat.com>
  27414. * rtl.h: Update copyright date.
  27415. (RTL_CHECK1): Wrap long line.
  27416. (RTL_CHECK2): Likewise.
  27417. (RTL_CHECKC1): Wrap long line and whitespace.
  27418. (RTL_CHECKC2): Likewise.
  27419. (XWINT): Whitespace.
  27420. (XINT): Likewise.
  27421. (XSTR): Likewise.
  27422. (XEXP): Likewise.
  27423. (XVEC): Likewise.
  27424. (XMODE): Likewise.
  27425. (XBITMAP): Likewise.
  27426. (XTREE): Likewise.
  27427. (XBBDEF): Likewise.
  27428. (XTMPL): Likewise.
  27429. (X0WINT): Likewise.
  27430. (X0INT):Likewise.
  27431. (X0UINT): Likewise.
  27432. (X0STR): Likewise.
  27433. (X0EXP): Likewise.
  27434. (X0VEC): Likewise.
  27435. (X0MODE): Likewise.
  27436. (X0BITMAP): Likewise.
  27437. (X0TREE): Likewise.
  27438. (X0BBDEF): Likewise.
  27439. (X0ADVFLAGS): Likewise.
  27440. (X0CSELIB): Likewise.
  27441. (X0MEMATTR): Likewise.
  27442. (XCWINT): Likewise.
  27443. (XCINT): Likewise.
  27444. (XCUINT): Likewise.
  27445. (XCSTR): Likewise.
  27446. (XCEXP): Likewise.
  27447. (XCVEC): Likewise.
  27448. (XCMODE): Likewise.
  27449. (XCBITMAP): Likewise.
  27450. (XCTREE): Likewise.
  27451. (XCBBDEF): Likewise.
  27452. (XCADVFLAGS): Likewise.
  27453. (XCCSELIB): Likewise.
  27454. (XC2EXP): Likewise.
  27455. (INSN_UID): Likewise.
  27456. (PREV_INSN): Likewise.
  27457. (PATTERN): Likewise.
  27458. (INSN_CODE): Likewise.
  27459. (PUT_REG_NOTE_KIND): Likewise.
  27460. (CODE_LABEL_NUMBER): Likewise.
  27461. (NOTE_SOURCE_FILE): Likewise.
  27462. (NOTE_BLOCK): Likewise.
  27463. (NOTE_EH_HANDLER): Likewise.
  27464. (NOTE_RANGE_INFO): Likewise.
  27465. (NOTE_LIVE_INFO): Likewise.
  27466. (NOTE_BASIC_BLOCK): Likewise.
  27467. (NOTE_EXPECTED_VALUE): Likewise.
  27468. (NOTE_LINE_NUMBER): Likewise.
  27469. (LABEL_NAME): Likewise.
  27470. (LABEL_NUSES): Likewise.
  27471. (LABEL_ALTERNATE_NAME): Likewise.
  27472. (ADDRESSOF_DECL): Likewise.
  27473. (JUMP_LABEL): Likewise.
  27474. (LABEL_NEXTREF): Likewise.
  27475. (REGNO): Likewise.
  27476. (ORIGINAL_REGNO: Likewise.
  27477. (HARD_REGISTER_NUM_P): Add parenthesis.
  27478. (SUBREG_REG): Whitespace.
  27479. (SUBREG_BYTE): Likewise.
  27480. (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
  27481. (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
  27482. (ASM_OPERANDS_OUTPUT_IDX): Likewise.
  27483. (ASM_OPERANDS_INPUT_VEC): Likewise.
  27484. (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
  27485. (ASM_OPERANDS_INPUT): Likewise.
  27486. (ASM_OPERANDS_INPUT_LENGTH): Likewise.
  27487. (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
  27488. (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
  27489. (ASM_OPERANDS_INPUT_MODE): Likewise.
  27490. (ASM_OPERANDS_SOURCE_FILE): Likewise.
  27491. (ASM_OPERANDS_SOURCE_LINE): Likewise.
  27492. (MEM_SET_IN_STRUCT_P): Minor reformat.
  27493. (TRAP_CONDITION): Whitespace.
  27494. (TRAP_CODE): Likewise.
  27495. (COND_EXEC_TEST): Likewise.
  27496. (COND_EXEC_CODE): Likewise.
  27497. (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
  27498. (PHI_NODE_P): Add parenthesis.
  27499. (plus_constant): Whitespace and add parenthesis.
  27500. 2002-01-03 Kazu Hirata <kazu@hxi.com>
  27501. * config/avr/avr.c: Fix comment typos.
  27502. * config/c4x/c4x.md: Likewise.
  27503. * config/dsp16xx/dsp16xx.h: Likewise.
  27504. * config/dsp16xx/dsp16xx.md: Likewise.
  27505. * config/i386/i386.md: Likewise.
  27506. * config/ia64/ia64.c: Likewise.
  27507. * config/m32r/m32r.h: Likewise.
  27508. * config/m68hc11/m68hc11.md: Likewise.
  27509. * config/mmix/mmix.c: Likewise.
  27510. * config/mn10200/mn10200.c: Likewise.
  27511. * config/romp/romp.c: Likewise.
  27512. * config/sh/sh.c: Likewise.
  27513. * config/stormy16/stormy16.c: Likewise.
  27514. * config/stormy16/stormy16.h: Likewise.
  27515. * config/stormy16/stormy16.md: Likewise.
  27516. 2002-01-03 Graham Stott <grahams@redhat.com>
  27517. * loop.h: Update copyright date.
  27518. (LOOP_MOVABLES): Fix typo.
  27519. (LOOP_REGS): Likewise.
  27520. (LOOP_IVS): Likewise.
  27521. 2002-01-03 Graham Stott <grahams@redhat.com>
  27522. * cppinit.c: Update copyright date.
  27523. Don't include output.h
  27524. * Makefile.in: Update copyright date.
  27525. Update dependency.
  27526. 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
  27527. PR c/5226
  27528. * invoke.texi (-mthreads): Remove from documented RS/6000 options.
  27529. (-pthread) Add to RS/6000 options.
  27530. 2002-01-02 Kazu Hirata <kazu@hxi.com>
  27531. * except.c: Fix comment typos.
  27532. * loop.c: Likewise.
  27533. * varasm.c: Likewise.
  27534. * doc/tm.texi: Fix a typo.
  27535. 2002-01-02 Jakub Jelinek <jakub@redhat.com>
  27536. * c-typeck.c (output_init_element): Allow initializing static storage
  27537. duration objects with compound literals.
  27538. 2002-01-02 Richard Henderson <rth@redhat.com>
  27539. * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
  27540. after abusing it.
  27541. 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  27542. * gcc.c (default_compilers): Const-ify.
  27543. * mips-tdump.c (stab_names): Likewise.
  27544. * mips-tfile.c (map_coff_types, map_coff_storage,
  27545. map_coff_sym_type, map_coff_derived_type, stabs_symbol,
  27546. pseudo_ops_t, pseudo_ops): Likewise.
  27547. * protoize.c (default_include): Likewise
  27548. * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
  27549. (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
  27550. Add array size in declaration.
  27551. (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
  27552. emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
  27553. esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
  27554. etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
  27555. eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
  27556. efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
  27557. c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
  27558. emtens, make_nan): Const-ify.
  27559. (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
  27560. DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
  27561. 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
  27562. * config.gcc (ia64-*-*): Set extra_headers.
  27563. (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
  27564. * config/alpha/t-osf: Remove.
  27565. * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
  27566. 2002-01-02 David Edelsohn <edelsohn@gnu.org>
  27567. * config/rs6000/t-aix43: Revert previous change.
  27568. 2002-01-02 Jason Merrill <jason@redhat.com>
  27569. * c-decl.c (c_expand_body): Call outlining_inline_function when
  27570. emitting an inline function out of line.
  27571. 2002-01-02 Richard Henderson <rth@redhat.com>
  27572. * dwarf2out.c (limbo_die_node): Add created_for member.
  27573. (new_die): New argument created_for. Update all callers.
  27574. (mark_limbo_die_list): New.
  27575. (dwarf2out_init): Register limbo_die_list as a root.
  27576. (dwarf2out_finish): Force insert limbo dies into their function
  27577. context.
  27578. 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
  27579. PR c++/5089
  27580. * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
  27581. 2002-01-02 Kazu Hirata <kazu@hxi.com>
  27582. * config/h8300/fixunssfsi.c: Update copyright.
  27583. Fix comment typos.
  27584. Fix formatting.
  27585. * config/h8300/h8300.c: Update copyright.
  27586. Eliminate warnings.
  27587. 2002-01-02 Kazu Hirata <kazu@hxi.com>
  27588. * config/romp/romp.c: Fix comment formatting.
  27589. * config/romp/romp.h: Likewise.
  27590. * config/romp/romp.md: Likewise.
  27591. * config/s390/s390.c: Likewise.
  27592. * config/stormy16/stormy16.c: Likewise.
  27593. * config/stormy16/stormy16.h: Likewise.
  27594. 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
  27595. * c-common.h (genrtl_expr_stmt_value): Declare.
  27596. * c-semantics.c (genrtl_goto_stmt): Redirect to...
  27597. (genrtl_goto_stmt_value): ... this new function. Pass new
  27598. argument down to expand_expr_stmt_value, taking
  27599. TREE_ADDRESSABLE into account.
  27600. * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
  27601. STMT_EXPR as addressable, i.e., one whose result we want.
  27602. * expr.c (expand_expr): Don't save expression statement value
  27603. of labeled_blocks or loop_exprs.
  27604. * stmt.c (expand_expr_stmt): Redirect to...
  27605. (expand_expr_stmt_value): ... this new function. Use new
  27606. argument to tell whether to save expression value.
  27607. (expand_end_stmt_expr): Reset last_expr_type and
  27608. last_expr_value if we don't have either.
  27609. * tree-inline.c (declare_return_variable): Mark its use
  27610. statement as addressable.
  27611. * tree.h: Document new use of TREE_ADDRESSABLE.
  27612. (expand_expr_stmt_value): Declare.
  27613. 2002-01-01 Tom Rix <trix@redhat.com>
  27614. * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
  27615. rs6000_emit_allocate_stack.
  27616. 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
  27617. * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
  27618. ${srcdir}/ginclude/ to every entry in extra_headers.
  27619. * configure: Regenerate.
  27620. * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
  27621. * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
  27622. * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
  27623. * ginclude/proto.h: Rename to config/convex/proto.h.
  27624. Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  27625. * attribs.c (handle_vector_size_attribute): Use host_integerp
  27626. and tree_int_cst; remove warnings.
  27627. * caller-save.c (insert_restore): Add cast to get rid of warning.
  27628. (insert_save): Likewise.
  27629. * emit-rtl.c (adjust_address_1, offset_address): Likewise.
  27630. * regmove.c (find_matches): Add temporary var to kill a warning.
  27631. 2002-01-01 Douglas B Rupp <rupp@gnat.com>
  27632. * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
  27633. LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
  27634. * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
  27635. (vms-dwarf2eh.o): Add Makefile rule.
  27636. * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
  27637. * config/alpha/vms-dwarf2eh.asm: New file.
  27638. * gcc.c (delete_if_ordinary): Delete all versions.
  27639. 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
  27640. * config/mmix/mmix.md: Update FIXME to not mention
  27641. define_constants.
  27642. (MMIX_rJ_REGNUM): New define_constants constant.
  27643. ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
  27644. "*movdicc_real"): Adjust contraints formatting.
  27645. ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
  27646. for branch prediction.
  27647. ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
  27648. output template.
  27649. ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
  27650. "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
  27651. number. Delete related FIXMEs.
  27652. * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
  27653. from number to MMIX_rJ_REGNUM.
  27654. (TARGET_MASK_BRANCH_PREDICT): New.
  27655. (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
  27656. (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
  27657. value. Add -mbranch-predict and -mno-branch-predict.
  27658. (TARGET_VERSION): Drop date.
  27659. (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
  27660. * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
  27661. for finding out global symbols.
  27662. (mmix_asm_output_labelref): Revert condition for global symbol.
  27663. (mmix_print_operand): <case '+'>: Emit P for a likely branch.
  27664. (mmix_print_operand_punct_valid_p): A '+' is valid.
  27665. Copyright (C) 2002 Free Software Foundation, Inc.
  27666. Copying and distribution of this file, with or without modification,
  27667. are permitted in any medium without royalty provided the copyright
  27668. notice and this notice are preserved.