public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44623]  New: ICE on invalid code
@ 2010-06-22  6:46 chris at bubblescope dot net
  2010-06-22  6:47 ` [Bug c++/44623] " chris at bubblescope dot net
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: chris at bubblescope dot net @ 2010-06-22  6:46 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]

The attached invalid code causes an ICE on svn trunk. It passes on g++ 4.4.3

The error I get is:

caj@nyanko:/dev/shm/clang-fuzzer$ /gccsvn/bin/g++ t.cc
t.cc:3:137: warning: missing terminating " character [enabled by default]
t.cc:3:1: error: missing terminating " character
t.cc:3:20: error: two or more data types in declaration of
‘parameter’
t.cc:3:135: internal compiler error: in tsubst, at cp/pt.c:10121
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE on invalid code
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chris at bubblescope dot net


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


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

* [Bug c++/44623] ICE on invalid code
  2010-06-22  6:46 [Bug c++/44623] New: ICE on invalid code chris at bubblescope dot net
@ 2010-06-22  6:47 ` chris at bubblescope dot net
  2010-06-22  9:25 ` [Bug c++/44623] [4.6 Regression] " manu at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: chris at bubblescope dot net @ 2010-06-22  6:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from chris at bubblescope dot net  2010-06-22 06:46 -------
Created an attachment (id=20972)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20972&action=view)
ICEing invalid code


-- 


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


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

* [Bug c++/44623] [4.6 Regression] ICE on invalid code
  2010-06-22  6:46 [Bug c++/44623] New: ICE on invalid code chris at bubblescope dot net
  2010-06-22  6:47 ` [Bug c++/44623] " chris at bubblescope dot net
@ 2010-06-22  9:25 ` manu at gcc dot gnu dot org
  2010-06-22  9:27 ` manu at gcc dot gnu dot org
  2010-07-23 12:05 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-06-22  9:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from manu at gcc dot gnu dot org  2010-06-22 09:25 -------
Confirmed in trunk.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to work|                            |4.4.3
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-22 09:25:03
               date|                            |
            Summary|ICE on invalid code         |[4.6 Regression] ICE on
                   |                            |invalid code
   Target Milestone|---                         |4.6.0


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


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

* [Bug c++/44623] [4.6 Regression] ICE on invalid code
  2010-06-22  6:46 [Bug c++/44623] New: ICE on invalid code chris at bubblescope dot net
  2010-06-22  6:47 ` [Bug c++/44623] " chris at bubblescope dot net
  2010-06-22  9:25 ` [Bug c++/44623] [4.6 Regression] " manu at gcc dot gnu dot org
@ 2010-06-22  9:27 ` manu at gcc dot gnu dot org
  2010-07-23 12:05 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-06-22  9:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2010-06-22 09:27 -------
It would be more correct to say that it doesn't ICE on g++ 4.4.3, but still
error-recovery is awful:

pr44623.ii:3:137: warning: missing terminating " character
pr44623.ii:3: error: missing terminating " character
pr44623.ii:3: error: two or more data types in declaration of 'parameter'
pr44623.ii:3: error: expected primary-expression at end of input
pr44623.ii:3: error: type 'basic_stringbuf<int, int, _Alloc>' is not derived
from type 'basic_stringbuf< <template-parameter-1-1>, <template-parameter-1-2>,
<template-parameter-1-3> >'
pr44623.ii:3: error: expected '}' at end of input
pr44623.ii:3: error: expected unqualified-id at end of input


-- 


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


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

* [Bug c++/44623] [4.6 Regression] ICE on invalid code
  2010-06-22  6:46 [Bug c++/44623] New: ICE on invalid code chris at bubblescope dot net
                   ` (2 preceding siblings ...)
  2010-06-22  9:27 ` manu at gcc dot gnu dot org
@ 2010-07-23 12:05 ` rguenth at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-23 12:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery
           Priority|P3                          |P5


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


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

* [Bug c++/44623] [4.6 Regression] ICE on invalid code
       [not found] <bug-44623-4@http.gcc.gnu.org/bugzilla/>
@ 2011-03-11 19:52 ` jason at gcc dot gnu.org
  0 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2011-03-11 19:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|                            |WORKSFORME

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-11 19:51:41 UTC ---
This seems to have gotten fixed.


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

end of thread, other threads:[~2011-03-11 19:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-22  6:46 [Bug c++/44623] New: ICE on invalid code chris at bubblescope dot net
2010-06-22  6:47 ` [Bug c++/44623] " chris at bubblescope dot net
2010-06-22  9:25 ` [Bug c++/44623] [4.6 Regression] " manu at gcc dot gnu dot org
2010-06-22  9:27 ` manu at gcc dot gnu dot org
2010-07-23 12:05 ` rguenth at gcc dot gnu dot org
     [not found] <bug-44623-4@http.gcc.gnu.org/bugzilla/>
2011-03-11 19:52 ` jason at gcc dot gnu.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).