This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]