public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/45314]  New: ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
@ 2010-08-17 22:24 bero at arklinux dot org
  2010-08-17 22:27 ` [Bug middle-end/45314] " bero at arklinux dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: bero at arklinux dot org @ 2010-08-17 22:24 UTC (permalink / raw)
  To: gcc-bugs

i586-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../librender
-I../../libcore -I../../libcore/asobj -I../../libcore/asobj/flash
-I../../libcore/swf -I../../libcore/abc -I../../libcore/parser -I../../libbase
-I../../libmedia -I../../libsound -I../../libltdl -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -pthread  -D__STDC_CONSTANT_MACROS
-I/usr/include -O2 -floop-interchange -c -o VM.lo VM.cpp
VM.cpp: In member function 'gnash::VM::RNG& gnash::VM::randomNumberGenerator()
const':
VM.cpp:126:1: internal compiler error: in remove_unreachable_handlers, at
tree-eh.c:3294
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE: error: in remove_unreachable_handlers, at tree-
                    sh.c:3294 with -O2 -floop-interchange
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu


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


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

* [Bug middle-end/45314] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
  2010-08-17 22:24 [Bug middle-end/45314] New: ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange bero at arklinux dot org
@ 2010-08-17 22:27 ` bero at arklinux dot org
  2010-08-18  9:16 ` [Bug tree-optimization/45314] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: bero at arklinux dot org @ 2010-08-17 22:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bero at arklinux dot org  2010-08-17 22:27 -------
Created an attachment (id=21508)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21508&action=view)
Preprocessed source


-- 


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


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

* [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
  2010-08-17 22:24 [Bug middle-end/45314] New: ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange bero at arklinux dot org
  2010-08-17 22:27 ` [Bug middle-end/45314] " bero at arklinux dot org
@ 2010-08-18  9:16 ` rguenth at gcc dot gnu dot org
  2010-08-30 15:58 ` rguenth at gcc dot gnu dot org
  2010-08-31 18:49 ` bero at arklinux dot org
  3 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-18  9:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-08-18 09:16 -------
With 4.5.1 I get (checking enabled)

VM.cpp: In member function 'gnash::VM::RNG& gnash::VM::randomNumberGenerator()
const':
VM.cpp:126:1: error: statement marked for throw in middle of block
# .MEM_19 = VDEF <.MEM_18>
D.294844_12 = OBJ_TYPE_REF(D.294843_10;D.294841_8->0) (D.294841_8);

VM.cpp:126:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

and with trunk I get

VM.cpp: In member function 'gnash::VM::RNG& gnash::VM::randomNumberGenerator()
const':
VM.cpp:126:1: internal compiler error: in create_linear_expr_from_tree, at
graphite-sese-to-poly.c:1207
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

4.4.4 works.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |tree-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.5.1 4.6.0
      Known to work|                            |4.4.4
   Last reconfirmed|0000-00-00 00:00:00         |2010-08-18 09:16:16
               date|                            |
            Summary|ICE: error: in              |[4.5/4.6 Regression] ICE:
                   |remove_unreachable_handlers,|error: in
                   |at tree-sh.c:3294 with -O2 -|remove_unreachable_handlers,
                   |floop-interchange           |at tree-sh.c:3294 with -O2 -
                   |                            |floop-interchange
   Target Milestone|---                         |4.5.2


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


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

* [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
  2010-08-17 22:24 [Bug middle-end/45314] New: ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange bero at arklinux dot org
  2010-08-17 22:27 ` [Bug middle-end/45314] " bero at arklinux dot org
  2010-08-18  9:16 ` [Bug tree-optimization/45314] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-08-30 15:58 ` rguenth at gcc dot gnu dot org
  2010-08-31 18:49 ` bero at arklinux dot org
  3 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-30 15:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
  2010-08-17 22:24 [Bug middle-end/45314] New: ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2010-08-30 15:58 ` rguenth at gcc dot gnu dot org
@ 2010-08-31 18:49 ` bero at arklinux dot org
  3 siblings, 0 replies; 10+ messages in thread
From: bero at arklinux dot org @ 2010-08-31 18:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bero at arklinux dot org  2010-08-31 18:48 -------
Created an attachment (id=21611)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21611&action=view)
(fairly stupid) Workaround

Attaching workaround for people coming across this bug report when googling the
error message.


-- 


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


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

* [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
       [not found] <bug-45314-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-11-05 16:26 ` hjl.tools at gmail dot com
@ 2010-11-05 16:51 ` sebpop at gmail dot com
  3 siblings, 0 replies; 10+ messages in thread
From: sebpop at gmail dot com @ 2010-11-05 16:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from sebpop at gmail dot com <sebpop at gmail dot com> 2010-11-05 16:51:22 UTC ---
On Fri, Nov 5, 2010 at 11:26, hjl.tools at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
> On trunk, it was fixed by revision 163123:
>
> http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00334.html
>

Thanks HJ for reducing this.
I looked at this change and it looks simple enough to backport it to 4.5.


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

* Re: [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
  2010-11-05 16:26 ` hjl.tools at gmail dot com
@ 2010-11-05 16:51   ` Sebastian Pop
  0 siblings, 0 replies; 10+ messages in thread
From: Sebastian Pop @ 2010-11-05 16:51 UTC (permalink / raw)
  To: hjl.tools at gmail dot com; +Cc: gcc-bugs

On Fri, Nov 5, 2010 at 11:26, hjl.tools at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
> On trunk, it was fixed by revision 163123:
>
> http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00334.html
>

Thanks HJ for reducing this.
I looked at this change and it looks simple enough to backport it to 4.5.


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

* [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
       [not found] <bug-45314-4@http.gcc.gnu.org/bugzilla/>
  2010-11-05 12:29 ` jakub at gcc dot gnu.org
  2010-11-05 15:30 ` bero at arklinux dot org
@ 2010-11-05 16:26 ` hjl.tools at gmail dot com
  2010-11-05 16:51   ` Sebastian Pop
  2010-11-05 16:51 ` sebpop at gmail dot com
  3 siblings, 1 reply; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-05 16:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-05 16:26:44 UTC ---
On trunk, it was fixed by revision 163123:

http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00334.html


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

* [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
       [not found] <bug-45314-4@http.gcc.gnu.org/bugzilla/>
  2010-11-05 12:29 ` jakub at gcc dot gnu.org
@ 2010-11-05 15:30 ` bero at arklinux dot org
  2010-11-05 16:26 ` hjl.tools at gmail dot com
  2010-11-05 16:51 ` sebpop at gmail dot com
  3 siblings, 0 replies; 10+ messages in thread
From: bero at arklinux dot org @ 2010-11-05 15:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from bero at arklinux dot org 2010-11-05 15:30:20 UTC ---
Still happens on current 4.5 branch


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

* [Bug tree-optimization/45314] [4.5/4.6 Regression] ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange
       [not found] <bug-45314-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-05 12:29 ` jakub at gcc dot gnu.org
  2010-11-05 15:30 ` bero at arklinux dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-05 12:29 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
      Known to fail|                            |

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-05 12:28:58 UTC ---
Can't reproduce with current trunk,
./cc1plus -m32 -O2 pr45314.ii -quiet -floop-interchange
is fine.


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

end of thread, other threads:[~2010-11-05 16:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 22:24 [Bug middle-end/45314] New: ICE: error: in remove_unreachable_handlers, at tree-sh.c:3294 with -O2 -floop-interchange bero at arklinux dot org
2010-08-17 22:27 ` [Bug middle-end/45314] " bero at arklinux dot org
2010-08-18  9:16 ` [Bug tree-optimization/45314] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-08-30 15:58 ` rguenth at gcc dot gnu dot org
2010-08-31 18:49 ` bero at arklinux dot org
     [not found] <bug-45314-4@http.gcc.gnu.org/bugzilla/>
2010-11-05 12:29 ` jakub at gcc dot gnu.org
2010-11-05 15:30 ` bero at arklinux dot org
2010-11-05 16:26 ` hjl.tools at gmail dot com
2010-11-05 16:51   ` Sebastian Pop
2010-11-05 16:51 ` sebpop at gmail dot com

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).