Skip to content
Snippets Groups Projects
Commit 638ed81f authored by jsm28's avatar jsm28
Browse files

PR c/456

	* cppexp.c (num_binary_op): Don't allow comma operators in #if
	constant expressions at all outside C99 mode if pedantic.

testsuite:
	* gcc.dg/cpp/c90-if-comma-1.c, gcc.dg/cpp/c99-if-comma-1.c:
	New tests.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77676 138bc75d-0d04-0410-961f-82ee72b054a4
parent d3cd9bde
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment