This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/60570] expression in 'elif' directive mis-diagnosed as error when group will be skipped


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]