diff options
author | Ben Elliston <bje@au.ibm.com> | 2009-05-10 23:17:55 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2009-05-11 09:17:55 +1000 |
commit | 7a2738fadf455a18afc079d6f41b94d8ca553e94 (patch) | |
tree | 67dba42cafe9bcb7e2e13ea7d9b49e704894b1a7 /gcc | |
parent | af618949a430bf38b27a7e897dae4413a78ca8dc (diff) | |
download | gcc-7a2738fadf455a18afc079d6f41b94d8ca553e94.zip gcc-7a2738fadf455a18afc079d6f41b94d8ca553e94.tar.gz gcc-7a2738fadf455a18afc079d6f41b94d8ca553e94.tar.bz2 |
rs6000-c.c (altivec_categorize_keyword): Update for recent libcpp interface change.
* config/rs6000/rs6000-c.c (altivec_categorize_keyword): Update
for recent libcpp interface change.
(rs6000_macro_to_expand): Likewise.
From-SVN: r147352
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000-c.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c6540a..b9f4952 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-05-11 Ben Elliston <bje@au.ibm.com> + + * config/rs6000/rs6000-c.c (altivec_categorize_keyword): Update + for recent libcpp interface change. + (rs6000_macro_to_expand): Likewise. + 2009-05-10 Michael Matz <matz@suse.de> PR target/40031 diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c index 7ebc14c..c7adcdb 100644 --- a/gcc/config/rs6000/rs6000-c.c +++ b/gcc/config/rs6000/rs6000-c.c @@ -100,7 +100,7 @@ altivec_categorize_keyword (const cpp_token *tok) { if (tok->type == CPP_NAME) { - cpp_hashnode *ident = tok->val.node; + cpp_hashnode *ident = tok->val.node.node; if (ident == C_CPP_HASHNODE (vector_keyword)) return C_CPP_HASHNODE (__vector_keyword); @@ -150,7 +150,7 @@ init_vector_keywords (void) static cpp_hashnode * rs6000_macro_to_expand (cpp_reader *pfile, const cpp_token *tok) { - cpp_hashnode *expand_this = tok->val.node; + cpp_hashnode *expand_this = tok->val.node.node; cpp_hashnode *ident; ident = altivec_categorize_keyword (tok); |