This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
pruning unused debugging types (enums/PR23336)
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 17 Nov 2005 18:08:35 -0400
- Subject: pruning unused debugging types (enums/PR23336)
On a similar note than PR debug/21391...
In PR23336 we have the same thing happen with enums:
enum something { JTI_PROMOTED_BYTE_TYPE_NODE, etc };
use JTI_PROMOTED_BYTE_TYPE_NODE
JTI_PROMOTED_BYTE_TYPE_NODE and "something" get pruned even though we
use it. I see two alternatives:
1. Don't prune enumeration types.
2. Similar solution to PR21391: mark all enum types we use as
un-prunable in the front-end.
Thoughts?
Aldy
p.s. PING: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01227.html