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: 4 Jun 2004 00:37:03 -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-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