[Bug preprocessor/27777] Bad diagnostic emission when #error contains a trigraph
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat May 27 17:38:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list