This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14639] [3.5 Regression] [non-unit-at-a-time] Incorrect emission of unused compiler-generated destructor
- 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:58:59 -0000
- Subject: [Bug c++/14639] [3.5 Regression] [non-unit-at-a-time] Incorrect emission of unused compiler-generated destructor
- 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:58 -------
For completeness, my report should have said:
With -O2: does not generate unnecessary symbols.
With -O0, generates unnecessary symbols.
With -O2 -fno-unit-at-a-time, generates unnecessary symbols
With -O0 -fno-unit-at-a-time, generates unnecessary symbols
So with Andrew's first patch -O2 with unit-at-a-time worked, but all other conditions failed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14639