This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/60570] expression in 'elif' directive mis-diagnosed as error when group will be skipped
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Jan 2015 09:53:26 +0000
- Subject: [Bug preprocessor/60570] expression in 'elif' directive mis-diagnosed as error when group will be skipped
- Auto-submitted: auto-generated
- References: <bug-60570-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60570
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
-#elif /* { dg-error "with no expression" } */
+#elif
Perhaps turn it into dg-bogus instead?