This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Aug 2006 19:34:58 -0000
- Subject: [Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants
- References: <bug-14167-3264@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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