[Bug rtl-optimization/25791] -O2 execution fails, -O and -g work
dick_guertin at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 19 08:26:00 GMT 2006
------- Comment #21 from dick_guertin at yahoo dot com 2006-01-19 08:26 -------
>From what I can tell with the testcase, any static data that is not
'referenced' is eliminated. This is terribly non-transparent in programs that
create tables by using static data to define table members. Only those members
specifically referenced are retained by -O2. That destroys the tables.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25791
More information about the Gcc-bugs
mailing list