From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3679 invoked by alias); 22 Aug 2006 19:35:07 -0000 Received: (qmail 3536 invoked by uid 48); 22 Aug 2006 19:34:58 -0000 Date: Tue, 22 Aug 2006 19:35:00 -0000 Message-ID: <20060822193458.3535.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" 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 X-SW-Source: 2006-08/txt/msg01865.txt.bz2 List-Id: ------- Comment #5 from jason at gcc dot gnu dot org 2006-08-22 19:34 ------- [basic.def.odr] says that an object that appears in an integral constant expression is not thereby "used", and it seems reasonable to extend that to not setting TREE_USED. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14167