[Bug testsuite/37326] [4.4 Regression] gcc.dg/tree-ssa/ssa-store-ccp-3.c scan-tree-dump-times optimized "conststaticvariable" 1
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Tue Nov 18 00:56:00 GMT 2008
------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2008-11-18 00:55 -------
Subject: Re: [4.4 Regression] gcc.dg/tree-ssa/ssa-store-ccp-3.c
scan-tree-dump-times optimized "conststaticvariable" 1
> David, do you have a prefered fix?
For 4.4, I don't think we can not remove the code which sets flag_pic.
The code in config/pa would all have to be updated to add checks for
TARGET_64BIT where flag_pic is used. There might be other side effects.
I'm somewhat concerned about not setting flag_shlib in override options.
However, I think flag_shlib will get set if -fpic/-fPIC is specified
on the command line. Possibly a note should be added to the documentation.
Would adding a dg-options statement for hppa64-*-* fix the test?
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37326
More information about the Gcc-bugs
mailing list