------- Comment #26 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-16 17:20 ------- Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
> Since revision 144529: > > http://gcc.gnu.org/ml/gcc-patches/2009-03/msg00000.html > > is the cause and it is inline related, I suggest you use revision > 144529 as base and revert the tree-inline.c change to see if it fixes > libcpp/expr.c. The regressions don't occur with revision 144874 if I replace tree-inline.c with the version from revision 144528. http://gcc.gnu.org/ml/gcc-testresults/2009-03/msg01655.html 144529 significantly changed the amount of inlining. Thus, it's very difficult to determine the location of the miscompilation in expr.o by comparing the difference in code between 144528 and 144529. It's also my impression that the miscompilation has moved in subsequent revisions. The miscompilation is related to the generation of dwarf2 debug information as it doesn't appear with hpux. While it may be that the changes to tree-inline.c are not directly responsilble for the regressions, they are definitely a contributing factor. I note that Jan does have an account on a hppa linux machine, gsyprf11.external.hp.com. Probably, I should rebuild 144529 and try Jakub's suggestions. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355