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/35322] [4.2/4.3 regression] ICE with incomplete macro



------- Comment #5 from ubizjak at gmail dot com  2008-03-14 14:52 -------
(In reply to comment #4)
> Fixed on trunk.

This patch is also needed:

Index: pr35322.c
===================================================================
--- pr35322.c   (revision 133217)
+++ pr35322.c   (working copy)
@@ -1,4 +1,4 @@
 /* Test case for PR 35322 -- _Pragma ICE.  */

 /* { dg-do preprocess } */
-_Pragma("GCC dependency")
+_Pragma("GCC dependency") /* { dg-error "#pragma dependency expects" } */


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35322


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