public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41469]  New: -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947
@ 2009-09-25 14:00 jan dot kratochvil at redhat dot com
  2009-09-25 15:03 ` [Bug middle-end/41469] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-09-25 14:00 UTC (permalink / raw)
  To: gcc-bugs

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

void
af (void *a)
{
}
void
bf (void)
{
  int i = 1;
  char v[i];
  af (v);
}

.../xgcc (-B...) -fexceptions -c -o 1.o 1.c 
1.c: In function ‘bf’:
1.c:6:1: internal compiler error: in expand_gimple_stmt_1, at cfgexpand.c:1947

xgcc (GCC) 4.5.0 20090925 (experimental)


-- 
           Summary: -fexceptions ICE in expand_gimple_stmt_1, at
                    cfgexpand.c:1947
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jan dot kratochvil at redhat dot com
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug middle-end/41469] [4.5 Regression] -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947
  2009-09-25 14:00 [Bug c/41469] New: -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947 jan dot kratochvil at redhat dot com
@ 2009-09-25 15:03 ` rguenth at gcc dot gnu dot org
  2009-09-25 15:14 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-25 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-09-25 15:03 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-25 15:03:13
               date|                            |
            Summary|-fexceptions ICE in         |[4.5 Regression] -
                   |expand_gimple_stmt_1, at    |fexceptions ICE in
                   |cfgexpand.c:1947            |expand_gimple_stmt_1, at
                   |                            |cfgexpand.c:1947
   Target Milestone|---                         |4.5.0


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


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

* [Bug middle-end/41469] [4.5 Regression] -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947
  2009-09-25 14:00 [Bug c/41469] New: -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947 jan dot kratochvil at redhat dot com
  2009-09-25 15:03 ` [Bug middle-end/41469] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-09-25 15:14 ` rguenth at gcc dot gnu dot org
  2009-09-25 17:48 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-25 15:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-09-25 15:14 -------
Because we have GIMPLE_RESX which we don't expect here.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


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


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

* [Bug middle-end/41469] [4.5 Regression] -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947
  2009-09-25 14:00 [Bug c/41469] New: -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947 jan dot kratochvil at redhat dot com
  2009-09-25 15:03 ` [Bug middle-end/41469] [4.5 Regression] " rguenth at gcc dot gnu dot org
  2009-09-25 15:14 ` rguenth at gcc dot gnu dot org
@ 2009-09-25 17:48 ` rth at gcc dot gnu dot org
  2009-09-25 20:49 ` rth at gcc dot gnu dot org
  2009-09-28 11:16 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-09-25 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rth at gcc dot gnu dot org  2009-09-25 17:47 -------
We're generating exception handling code when we previously didn't.
I suspect that the changes to the call location of using_eh_for_cleanups.


-- 

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|NEW                         |ASSIGNED
   Last reconfirmed|2009-09-25 15:03:13         |2009-09-25 17:47:41
               date|                            |


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


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

* [Bug middle-end/41469] [4.5 Regression] -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947
  2009-09-25 14:00 [Bug c/41469] New: -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947 jan dot kratochvil at redhat dot com
                   ` (2 preceding siblings ...)
  2009-09-25 17:48 ` rth at gcc dot gnu dot org
@ 2009-09-25 20:49 ` rth at gcc dot gnu dot org
  2009-09-28 11:16 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-09-25 20:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rth at gcc dot gnu dot org  2009-09-25 20:49 -------
Subject: Bug 41469

Author: rth
Date: Fri Sep 25 20:49:08 2009
New Revision: 152185

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152185
Log:
        PR middle-end/41469
        * tree-eh.c (lower_resx): Resolve RESX with no source region to
        __builtin_trap.
        (gate_lower_resx): New.
        (gate_lower_eh_dispatch): Rename from gate_lower_ehcontrol.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr41469.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-eh.c


-- 


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


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

* [Bug middle-end/41469] [4.5 Regression] -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947
  2009-09-25 14:00 [Bug c/41469] New: -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947 jan dot kratochvil at redhat dot com
                   ` (3 preceding siblings ...)
  2009-09-25 20:49 ` rth at gcc dot gnu dot org
@ 2009-09-28 11:16 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-28 11:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-09-28 11:16 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-25 14:00 [Bug c/41469] New: -fexceptions ICE in expand_gimple_stmt_1, at cfgexpand.c:1947 jan dot kratochvil at redhat dot com
2009-09-25 15:03 ` [Bug middle-end/41469] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-09-25 15:14 ` rguenth at gcc dot gnu dot org
2009-09-25 17:48 ` rth at gcc dot gnu dot org
2009-09-25 20:49 ` rth at gcc dot gnu dot org
2009-09-28 11:16 ` 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).