[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
Thu Jun 3 23:27:00 GMT 2004


------- Additional Comments From bowdidge at apple dot com  2004-06-03 23:27 -------
This bug still keeps parts of Qt from building on Darwin.  

The problem got worse after the tree-ssa 
merge.  Before the merge, the unused symbols would get generated if the code fragment were 
compiled at -O2; the symbols wouldn't be generated if -fno-unit-at-a-time was added to the compile 
line.  With the current top-of-tree, the symbols are always produced -- -O0, -O2, and with or without 
-fno-unit-at-a-time.

-- 


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



More information about the Gcc-bugs mailing list