This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14639] [3.5 Regression] [unit-at-a-time] Incorrect emission of unused compiler-generated destructor at -O2
- From: "bowdidge at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2004 23:27:45 -0000
- Subject: [Bug c++/14639] [3.5 Regression] [unit-at-a-time] Incorrect emission of unused compiler-generated destructor at -O2
- References: <20040318204634.14639.austern@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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