This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, 2006-09-04 at 18:55 +0000, Joseph S. Myers wrote:You could add a bit on VAR_DECLs which says to apply -fmerge-all-constants semantics to that VAR_DECL. (And then -fmerge-all-constants might apply that bit to all constant variables.)
Then why have CONST_DECLs in the first place? I don't see why the front-ends would need a CONST_DECL either. Yes for enums you cannot take the address of their name, then why not make CONST_DECLs local to the C/C++ front-ends instead?
-- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |