From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13763 invoked by alias); 4 Jun 2004 00:38:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13734 invoked by uid 48); 4 Jun 2004 00:38:51 -0000 Date: Fri, 04 Jun 2004 00:38:00 -0000 Message-ID: <20040604003851.13733.qmail@sourceware.org> From: "bowdidge at apple dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040318204634.14639.austern@apple.com> References: <20040318204634.14639.austern@apple.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14639] [3.5 Regression] [unit-at-a-time] Incorrect emission of unused compiler-generated destructor at -O2 X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg00415.txt.bz2 List-Id: ------- Additional Comments From bowdidge at apple dot com 2004-06-04 00:38 ------- 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: does not generate unnecessary symbols. With -O0, generates unnecessary symbols. With -O2, generates unnecessary symbols With -O0, generates unnecessary symbols In addition, Qt still fails to build. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14639