gcc/libcpp
Jakub Jelinek 6b36694859 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
2016-03-21 16:41:13 +01:00
..
include re PR target/70296 (Incorrect handling of vector X; if X is function-like macro) 2016-03-21 16:41:13 +01:00
po * fr.po: Update. 2016-03-17 00:20:21 +00:00
ChangeLog re PR target/70296 (Incorrect handling of vector X; if X is function-like macro) 2016-03-21 16:41:13 +01:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
Makefile.in Update copyright years. 2016-01-04 15:30:50 +01:00
aclocal.m4 libcpp: Bump to automake 1.11.6 2015-05-13 11:02:17 +00:00
charset.c re PR c++/69628 (Conditional jump or move depends on uninitialised value(s) in lex_charconst(cpp_token const*) (c-lex.c:1252)) 2016-02-05 20:39:48 +01:00
config.in ENABLE_CHECKING refactoring: remove remaining occurrences 2015-11-04 15:01:46 +00:00
configure ENABLE_CHECKING refactoring: remove remaining occurrences 2015-11-04 15:01:46 +00:00
configure.ac ENABLE_CHECKING refactoring: remove remaining occurrences 2015-11-04 15:01:46 +00:00
directives-only.c Update copyright years. 2016-01-04 15:30:50 +01:00
directives.c * directives.c (destringize_and_run): Adjust prototype. 2016-01-28 15:33:55 +01:00
errors.c PR preprocessor/69664: fix rich_location::override_column 2016-02-08 17:33:45 +00:00
expr.c expr.c (cpp_classify_number): Hex floats are new in C++1z. 2016-03-15 08:08:31 -04:00
files.c re PR pch/68176 (all pch tests fail on eglibc systems (with bits/predefs.h)) 2016-01-28 23:35:20 +01:00
identifiers.c Update copyright years. 2016-01-04 15:30:50 +01:00
init.c expr.c (cpp_classify_number): Hex floats are new in C++1z. 2016-03-15 08:08:31 -04:00
internal.h libcpp: use better locations for _Pragma tokens (preprocessor/69126) 2016-01-27 18:57:51 +00:00
lex.c Update copyright years. 2016-01-04 15:30:50 +01:00
line-map.c Fix compiling large files 2016-03-15 16:08:45 -07:00
location-example.txt Source range tracking in libcpp and C FE, with bit-packing optimization 2015-11-13 16:29:59 +00:00
macro.c re PR target/70296 (Incorrect handling of vector X; if X is function-like macro) 2016-03-21 16:41:13 +01:00
makeucnid.c Update copyright years. 2016-01-04 15:30:50 +01:00
mkdeps.c Update copyright years. 2016-01-04 15:30:50 +01:00
pch.c Update copyright years. 2016-01-04 15:30:50 +01:00
symtab.c Update copyright years. 2016-01-04 15:30:50 +01:00
system.h Update copyright years. 2016-01-04 15:30:50 +01:00
traditional.c Update copyright years. 2016-01-04 15:30:50 +01:00
ucnid.h Update copyright years. 2016-01-04 15:30:50 +01:00
ucnid.tab Update copyright years. 2016-01-04 15:30:50 +01:00