[Bug c++/14639] [3.5 Regression] [unit-at-a-time] Incorrect emission of unused compiler-generated destructor at -O2

bowdidge at apple dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 4 00:37:00 GMT 2004


------- Additional Comments From bowdidge at apple dot com  2004-06-04 00:37 -------
After applying Andrew's fix, compiling Matt's fragments at the top of the radar with gcc -c  and 
checking symbols in the resulting .o file showed:

With -O2, has unnecessary symbols.
With -O0, the unnecessary symbols ARE generated.
With -O2 -fno-unit-at-a-time, the unnecessar

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14639



More information about the Gcc-bugs mailing list