1 msg[tuples] Merged with trunk @135126
4 msgIRA performance testing on Fortran
14 msgbit_size_type - a data type?
1 msgAbout symbol and label
2 msg[Windows] Fixing fprintf errors breaking bootst...
3 msginline assembly question (memory side-effects)
3 msgHow do I add target specific tests?
2 msgDeprecation?!
1 msggcc-4.4-20080509 is now available
1 msgRFC: Optimize caller-saved register
5 msgHow to handle loop iterator variable?
7 msgDivision using FMAC, reciprocal estimates and N...
1 msgQuestions about attributes
2 msgssa_name issues
6 msgRFH: Building and testing gimple-tuples-branch
1 msggcc-4.3-20080508 is now available
4 msgHow to implement the instruction in the back end
1 msggcc-4.2-20080507 is now available
5 msgall-target-libstdc++-v3 broken again

Bad code generation on HPPA platform
\ Steve Ellcey (6 May 2008)
. \ Jeff Law (7 May 2008)
. . \ Steve Ellcey (7 May 2008)
. . . \ Peter Bergner (7 May 2008)
. . . . \ Steve Ellcey (7 May 2008)
. . . . . \ H.J. Lu (7 May 2008)
. . . . . . \ Steve Ellcey (7 May 2008)
. . . . . . . \ Peter Bergner (7 May 2008)
. . . . . . . . \ Steve Ellcey (7 May 2008)
. . . . . . . . . \ Peter Bergner (7 May 2008)
. . . \ Jeff Law (8 May 2008)
. . . . \ Steve Ellcey (8 May 2008)
. . . . . \ Jeff Law (8 May 2008)
. . . . . . \ Steve Ellcey (8 May 2008)
. . . . . . . \ Jeff Law (8 May 2008)
. . . . . . . . \ Andrew Pinski (8 May 2008)
. . . . . . . \ Peter Bergner (8 May 2008)
. . . . . . . . \ Jeff Law (8 May 2008)
. . . . . \ John David Anglin (8 May 2008)

Subject:Bad code generation on HPPA platform
Group:Gcc
From:Steve Ellcey
Date:6 May 2008



I am investigating a bad code generation bug on the 64 bit HPPA platform
with GCC 4.3.0 and would like some help and/or ideas on how to analyze
and fix it. The failing test is the SPEC 2000 GCC benchmark (version
2.7.2.2) and I have been unable to create a smaller test case so far.

What I have found is that if I build GCC from version 127633 (after
applying the patch for PR middle-end/33029 so that the build will work)
I can build and run the SPEC GCC benchmark. If I update GCC to version
127634 then the benchmark will abort when it is run.

The difference between those versions is this patch:

2007-08-19 Andrew Pinski <andrew_pinski>
PR middle-end/32940
* cfgexpand.c (expand_one_register_var): Mark pointer
DECL_ARTIFICIAL as REG_POINTER also.
* stmt.c (expand_decl): Likewise.

In the PR report for 32940 there is a pointer to:

http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00020.html

That patch fixed a bootstrap problem on HPPA and reverting it (which is
what the patch for PR 32940 seems to do) seems to be reintroducing the
problem that the earlier patch was intended to fix. While reverting
that patch didn't seem to cause bootstrap problems it does seem to cause
problems when building the older GCC version that is in SPEC2000. Any
advise on how to proceed from here?

Steve Ellcey
sje


© 2004-2008 readlist.com