public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24452]  New: [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153
@ 2005-10-20 11:46 reichelt at gcc dot gnu dot org
  2005-10-20 20:14 ` [Bug c++/24452] " rth at gcc dot gnu dot org
  2005-10-21 23:44 ` rth at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-10-20 11:46 UTC (permalink / raw)
  To: gcc-bugs

The following testcase causes an ICE in the C++ frontend when compiled
with -fopenmp:

===================
void foo()
{
    x;
    L: goto L;
}
===================

bug.cc: In function 'void foo()':
bug.cc:3: error: 'x' was not declared in this scope
bug.cc:4: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in decl_jump_unsafe, at cp/decl.c:2153
Please submit a full bug report, [etc.]


-- 
           Summary: [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, openmp
          Severity: normal
          Priority: P2
         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=24452


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

* [Bug c++/24452] [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153
  2005-10-20 11:46 [Bug c++/24452] New: [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153 reichelt at gcc dot gnu dot org
@ 2005-10-20 20:14 ` rth at gcc dot gnu dot org
  2005-10-21 23:44 ` rth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-10-20 20:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-20 20:14:17
               date|                            |


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


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

* [Bug c++/24452] [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153
  2005-10-20 11:46 [Bug c++/24452] New: [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153 reichelt at gcc dot gnu dot org
  2005-10-20 20:14 ` [Bug c++/24452] " rth at gcc dot gnu dot org
@ 2005-10-21 23:44 ` rth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-10-21 23:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rth at gcc dot gnu dot org  2005-10-21 23:44 -------
Fixed as part of other goto and label cleanups.


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-10-21 23:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-20 11:46 [Bug c++/24452] New: [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153 reichelt at gcc dot gnu dot org
2005-10-20 20:14 ` [Bug c++/24452] " rth at gcc dot gnu dot org
2005-10-21 23:44 ` rth 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).