[named-addr-spaces-branch][Patch,committed] Make __ea a C only keyword
Michael Meissner
meissner@linux.vnet.ibm.com
Fri Dec 5 23:09:00 GMT 2008
Because the named address support has not been added to C++ yet, and libstdc++
contains an include file with a __ea identifier, change named address space
keywords to C only for the time being.
2008-12-05 Michael Meissner <meissner@linux.vnet.ibm.com>
* c-common.h (ADDR_SPACE_KEYWORD): Set the disable flags to
D_CONLY|D_EXT so that the source ell_integral.tcc in libstdc++
which has a __ea identifier builds.
Index: gcc/c-common.h
===================================================================
--- gcc/c-common.h (revision 142497)
+++ gcc/c-common.h (working copy)
@@ -253,7 +253,7 @@ struct c_common_resword
/* Macro for backends to define named address keywords. */
#define ADDR_SPACE_KEYWORD(STRING, VALUE) \
- { STRING, RID_FIRST_ADDR_SPACE + (VALUE), D_EXT }
+ { STRING, RID_FIRST_ADDR_SPACE + (VALUE), D_CONLY | D_EXT }
/* The reserved keyword table. */
extern const struct c_common_resword c_common_reswords[];
--
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com
More information about the Gcc-patches
mailing list