This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/27777] Bad diagnostic emission when #error contains a trigraph
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2006 17:38:11 -0000
- Subject: [Bug preprocessor/27777] Bad diagnostic emission when #error contains a trigraph
- References: <bug-27777-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-27 17:38 -------
Compiling with -trigraphs, produces good results
[kudzu:trunk/objdir/gcc] pinskia% ./cc1 t.c -trigraphs -quiet
t.c:1:2: error: #error "BUG|"
Now without it does not:
[kudzu:trunk/objdir/gcc] pinskia% ./cc1 t.c -quiet
t.c:1:2: error: #error "BUG??!"t.c:1:12: warning: trigraph ??! ignored, use
-trigraphs to enable
This is a bug no matter which way it goes.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-27 17:38:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27777