[Bug middle-end/27781] [4.1/4.2 Regression] weak-attribute over-optimisation
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 28 15:23:00 GMT 2006
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-28 15:23 -------
Actually no, you have to use -fPIC to get this not to be optimized, otherwise
func will be bound locally which is not what you want.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27781
More information about the Gcc-bugs
mailing list