From 6b36694859ea9f0951f329d55b60ecc70dba0c8b Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 21 Mar 2016 16:41:13 +0100 Subject: re PR target/70296 (Incorrect handling of vector X; if X is function-like macro) PR target/70296 * include/cpplib.h (cpp_fun_like_macro_p): New prototype. * macro.c (cpp_fun_like_macro_p): New function. * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If IDENT is function-like macro, peek following token(s) if it is followed by CPP_OPEN_PAREN token with optional padding in between, and if not, don't treat it like a macro. * gcc.target/powerpc/altivec-36.c: New test. From-SVN: r234371 --- libcpp/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libcpp/ChangeLog') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 89b582d7540..2352b7d640b 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2016-03-21 Jakub Jelinek + + PR target/70296 + * include/cpplib.h (cpp_fun_like_macro_p): New prototype. + * macro.c (cpp_fun_like_macro_p): New function. + 2016-03-15 Richard Henderson * line-map.c (new_linemap): Make alloc_size a size_t. -- cgit v1.2.3