This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/35322] [4.2/4.3 regression] ICE with incomplete macro
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Mar 2008 14:52:14 -0000
- Subject: [Bug preprocessor/35322] [4.2/4.3 regression] ICE with incomplete macro
- References: <bug-35322-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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