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/27777] Bad diagnostic emission when #error contains a trigraph



------- 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


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