DR#412
commit6ca4fe4677980afdcd800f8406c80a080a4f7267
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jan 2015 11:57:43 +0000 (23 11:57 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jan 2015 11:57:43 +0000 (23 11:57 +0000)
treeb588bb547ecd04e5b2df8f148a1b0e9e0cdc32fc
parenta96683ba5f8953e220ce120abdd0077a05cb87be
DR#412
PR preprocessor/60570
* directives.c (do_elif): Don't evaluate #elif conditionals
when they don't need to be.

* gcc.dg/cpp/pr36320.c: Turn dg-error into dg-bogus.
* gcc.dg/cpp/pr60570.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220035 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr36320.c
gcc/testsuite/gcc.dg/cpp/pr60570.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c