aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>2011-03-29 23:35:40 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2011-03-29 23:35:40 +0000
commit34709a5a4e17b83127ae068d968222db02002db2 (patch)
treebaf81c8fa6ec3caa7c8a967effd5be32a41583ff /gcc/config
parent633c9126383d9d16bdc4962a15a2b13c83a3317b (diff)
downloadgcc-34709a5a4e17b83127ae068d968222db02002db2.zip
gcc-34709a5a4e17b83127ae068d968222db02002db2.tar.gz
gcc-34709a5a4e17b83127ae068d968222db02002db2.tar.bz2
Merge up to 171704
From-SVN: r171707
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/rs6000-c.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c
index 3f4f90b..c1683bc 100644
--- a/gcc/config/rs6000/rs6000-c.c
+++ b/gcc/config/rs6000/rs6000-c.c
@@ -182,7 +182,10 @@ rs6000_macro_to_expand (cpp_reader *pfile, const cpp_token *tok)
expand_this = C_CPP_HASHNODE (__vector_keyword);
expand_bool_pixel = __bool_keyword;
}
- else if (ident)
+ /* The boost libraries have code with Iterator::vector vector in it. If
+ we allow the normal handling, this module will be called recursively,
+ and the vector will be skipped.; */
+ else if (ident && (ident != C_CPP_HASHNODE (__vector_keyword)))
{
enum rid rid_code = (enum rid)(ident->rid_code);
if (ident->type == NT_MACRO)