public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35326]  New: [4.2/4.3/4.4 regression] ICE with stray digraph token
@ 2008-02-23 19:07 reichelt at gcc dot gnu dot org
  2008-02-23 19:07 ` [Bug c++/35326] " reichelt at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 19:07 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 4.2.0:

====================================================
%:%:;
====================================================

bug.cc:1: error: stray '%:%:' in program
bug.cc:1: internal compiler error: vector VEC(fs_p,base) index domain error, in
restore_input_file_stack at toplev.c:1021
Please submit a full bug report, [etc.]

The C frontend doesn't have this problem. Also the version without digraphs
is rejected correctly:

====================================================
##;
====================================================

bug.cc:1: error: stray '##' in program


-- 
           Summary: [4.2/4.3/4.4 regression] ICE with stray digraph token
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-04-22 15:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 19:07 [Bug c++/35326] New: [4.2/4.3/4.4 regression] ICE with stray digraph token reichelt at gcc dot gnu dot org
2008-02-23 19:07 ` [Bug c++/35326] " reichelt at gcc dot gnu dot org
2008-02-24 22:07 ` rguenth at gcc dot gnu dot org
2008-03-02 21:24 ` [Bug preprocessor/35326] " reichelt at gcc dot gnu dot org
2008-03-13 15:54 ` tromey at gcc dot gnu dot org
2008-03-14  7:45 ` reichelt at gcc dot gnu dot org
2008-04-05 13:31 ` tromey at gcc dot gnu dot org
2008-04-10  6:17 ` reichelt at gcc dot gnu dot org
2008-05-19 20:47 ` jsm28 at gcc dot gnu dot org
2008-11-11 21:06 ` [Bug preprocessor/35326] [4.2/4.3 " reichelt at gcc dot gnu dot org
2009-03-31 20:22 ` [Bug preprocessor/35326] [4.3 " jsm28 at gcc dot gnu dot org
2009-04-22 15:25 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).