public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/37529]  New: [4.4 regression] ICE with invalid goto
@ 2008-09-15 21:09 reichelt at gcc dot gnu dot org
  2008-09-15 21:09 ` [Bug c/37529] " reichelt at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-09-15 21:09 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline
(C and C++ frontend):

===================
void foo()
{
  goto *;
}
===================

bug0.c: In function 'foo':
bug0.c:3: error: expected expression before ';' token
bug0.c:3: internal compiler error: in gimple_goto_set_dest, at gimple.h:2509
Please submit a full bug report, [etc.]

The regression was introduced between 2008-07-26 and 2008-07-29
(probably with the tuples merge).


-- 
           Summary: [4.4 regression] ICE with invalid goto
           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=37529


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

* [Bug c/37529] [4.4 regression] ICE with invalid goto
  2008-09-15 21:09 [Bug c/37529] New: [4.4 regression] ICE with invalid goto reichelt at gcc dot gnu dot org
@ 2008-09-15 21:09 ` reichelt at gcc dot gnu dot org
  2008-09-15 21:12 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-09-15 21:09 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


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

* [Bug c/37529] [4.4 regression] ICE with invalid goto
  2008-09-15 21:09 [Bug c/37529] New: [4.4 regression] ICE with invalid goto reichelt at gcc dot gnu dot org
  2008-09-15 21:09 ` [Bug c/37529] " reichelt at gcc dot gnu dot org
@ 2008-09-15 21:12 ` pinskia at gcc dot gnu dot org
  2008-09-15 22:16 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-15 21:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-09-15 21:11 -------
>(probably with the tuples merge).

Yes most likely.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |minor


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


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

* [Bug c/37529] [4.4 regression] ICE with invalid goto
  2008-09-15 21:09 [Bug c/37529] New: [4.4 regression] ICE with invalid goto reichelt at gcc dot gnu dot org
  2008-09-15 21:09 ` [Bug c/37529] " reichelt at gcc dot gnu dot org
  2008-09-15 21:12 ` pinskia at gcc dot gnu dot org
@ 2008-09-15 22:16 ` jakub at gcc dot gnu dot org
  2008-09-16 22:10 ` jakub at gcc dot gnu dot org
  2008-09-16 22:11 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-15 22:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-15 22:15:16
               date|                            |


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


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

* [Bug c/37529] [4.4 regression] ICE with invalid goto
  2008-09-15 21:09 [Bug c/37529] New: [4.4 regression] ICE with invalid goto reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-09-15 22:16 ` jakub at gcc dot gnu dot org
@ 2008-09-16 22:10 ` jakub at gcc dot gnu dot org
  2008-09-16 22:11 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-16 22:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2008-09-16 22:09 -------
Subject: Bug 37529

Author: jakub
Date: Tue Sep 16 22:08:01 2008
New Revision: 140402

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140402
Log:
        PR c/37529
        * gimplify.c (gimplify_expr) <case GOTO_EXPR>: If gimplification of
        GOTO_DESTINATION failed, don't create GIMPLE_GOTO.

        * gcc.dg/pr37529.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr37529.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c/37529] [4.4 regression] ICE with invalid goto
  2008-09-15 21:09 [Bug c/37529] New: [4.4 regression] ICE with invalid goto reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-09-16 22:10 ` jakub at gcc dot gnu dot org
@ 2008-09-16 22:11 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-16 22:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2008-09-16 22:10 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-09-16 22:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-15 21:09 [Bug c/37529] New: [4.4 regression] ICE with invalid goto reichelt at gcc dot gnu dot org
2008-09-15 21:09 ` [Bug c/37529] " reichelt at gcc dot gnu dot org
2008-09-15 21:12 ` pinskia at gcc dot gnu dot org
2008-09-15 22:16 ` jakub at gcc dot gnu dot org
2008-09-16 22:10 ` jakub at gcc dot gnu dot org
2008-09-16 22:11 ` jakub 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).