This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2008 23:44:59 -0000
- Subject: [Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it
- References: <bug-36881-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mmitchel at gcc dot gnu dot org 2008-08-08 23:44 -------
Andrew --
If indeed this is an optimization regression on other platforms, then I agree
that this should be a P2 defect. Is the optimization problem present on all
platforms with -fPIC? If not, what's a specific platform where the problem
occurs? Also, what values are being relocated at run time in the tests case?
Do you think the compiler should be generating PC-relative addresses for the
tables? Or that the inliner should be resolving "xxx(8)" to a constant?
Thanks,
-- Mark
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36881