This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26371] dead variable attributes
- From: "acahalan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2006 03:18:51 -0000
- Subject: [Bug c/26371] dead variable attributes
- References: <bug-26371-12219@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from acahalan at gmail dot com 2006-02-20 03:18 -------
For variables that are commonly used in a large project, you sure wouldn't want
to be putting conditional code all over the place if you could avoid it. The
choice could be something like:
a. put #if TARGET_WANTS_XXX in 12345 locations
b. put if(TARGET_WANTS_XXX) in 12345 locations
c. just live with lots of bloat
d. make use of this proposed feature in 1 location
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26371