public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
@ 2011-10-07  7:47 markus at trippelsdorf dot de
  2011-10-07  7:47 ` [Bug middle-end/50650] " markus at trippelsdorf dot de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: markus at trippelsdorf dot de @ 2011-10-07  7:47 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50650
           Summary: [4.7 Regression] ICE in vect_is_simple_use_1, at
                    tree-vect-stmts.c:5689
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


The following ICE happens when building the latest Mozilla JavaScript Engine:

c++ -o /dev/null -S -w -Wfatal-errors -fpermissive -fpreprocessed -O3
LoopState.ii
/var/tmp/mozilla-central/js/src/methodjit/LoopState.cpp: In member function
‘bool js::mjit::LoopState::init(jsbytecode*,
js::mjit::MacroAssemblerTypedefs::Jump, jsbytecode*)’:
/var/tmp/mozilla-central/js/src/methodjit/LoopState.cpp:106:1: internal
compiler error: in vect_is_simple_use_1, at tree-vect-stmts.c:5689

A reduced testcase is attached.

 % c++ -w -O3 moz_testcas.ii
moz_testcas.ii: In member function ‘bool js::mjit::LoopState::init(jsbytecode*,
js::mjit::MacroAssemblerTypedefs::Jump, jsbytecode*)’:
moz_testcas.ii:145:6: internal compiler error: in vect_is_simple_use_1, at
tree-vect-stmts.c:5689

This only happens with -O3.


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

* [Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
  2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
@ 2011-10-07  7:47 ` markus at trippelsdorf dot de
  2011-10-07  8:40 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: markus at trippelsdorf dot de @ 2011-10-07  7:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-07 07:47:35 UTC ---
Created attachment 25436
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25436
testcase


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

* [Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
  2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
  2011-10-07  7:47 ` [Bug middle-end/50650] " markus at trippelsdorf dot de
@ 2011-10-07  8:40 ` rguenth at gcc dot gnu.org
  2011-10-07  8:41 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-07  8:40 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
  2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
  2011-10-07  7:47 ` [Bug middle-end/50650] " markus at trippelsdorf dot de
  2011-10-07  8:40 ` rguenth at gcc dot gnu.org
@ 2011-10-07  8:41 ` rguenth at gcc dot gnu.org
  2011-10-07  9:19 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-07  8:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincenzo.innocente at cern
                   |                            |dot ch

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-07 08:40:39 UTC ---
*** Bug 50649 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
  2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
                   ` (2 preceding siblings ...)
  2011-10-07  8:41 ` rguenth at gcc dot gnu.org
@ 2011-10-07  9:19 ` jakub at gcc dot gnu.org
  2011-10-07  9:31 ` vincenzo.innocente at cern dot ch
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-07  9:19 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-10-07
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-07 09:18:36 UTC ---
Created attachment 25437
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25437
gcc47-pr50650.patch

Untested fix.


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

* [Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
  2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
                   ` (3 preceding siblings ...)
  2011-10-07  9:19 ` jakub at gcc dot gnu.org
@ 2011-10-07  9:31 ` vincenzo.innocente at cern dot ch
  2011-10-07 11:48 ` jakub at gcc dot gnu.org
  2011-10-07 12:27 ` markus at trippelsdorf dot de
  6 siblings, 0 replies; 8+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-10-07  9:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-10-07 09:30:46 UTC ---
ok in my tests


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

* [Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
  2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
                   ` (4 preceding siblings ...)
  2011-10-07  9:31 ` vincenzo.innocente at cern dot ch
@ 2011-10-07 11:48 ` jakub at gcc dot gnu.org
  2011-10-07 12:27 ` markus at trippelsdorf dot de
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-07 11:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-07 11:48:07 UTC ---
Author: jakub
Date: Fri Oct  7 11:48:03 2011
New Revision: 179653

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179653
Log:
    PR tree-optimization/50650
    * tree-vect-patterns.c (vect_recog_mixed_size_cond_pattern): Don't
    call vect_is_simple_cond here, instead fail if cond_expr isn't
    COMPARISON_CLASS_P or if get_vectype_for_scalar_type returns NULL
    for cond_expr's first operand.
    * tree-vect-stmts.c (vect_is_simple_cond): Static again.
    * tree-vectorizer.h (vect_is_simple_cond): Remove prototype.

    * gcc.c-torture/compile/pr50650.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr50650.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-patterns.c
    trunk/gcc/tree-vect-stmts.c
    trunk/gcc/tree-vectorizer.h


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

* [Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689
  2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
                   ` (5 preceding siblings ...)
  2011-10-07 11:48 ` jakub at gcc dot gnu.org
@ 2011-10-07 12:27 ` markus at trippelsdorf dot de
  6 siblings, 0 replies; 8+ messages in thread
From: markus at trippelsdorf dot de @ 2011-10-07 12:27 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

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

--- Comment #6 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-07 12:27:14 UTC ---
fixed. Thanks.


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

end of thread, other threads:[~2011-10-07 12:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-07  7:47 [Bug middle-end/50650] New: [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689 markus at trippelsdorf dot de
2011-10-07  7:47 ` [Bug middle-end/50650] " markus at trippelsdorf dot de
2011-10-07  8:40 ` rguenth at gcc dot gnu.org
2011-10-07  8:41 ` rguenth at gcc dot gnu.org
2011-10-07  9:19 ` jakub at gcc dot gnu.org
2011-10-07  9:31 ` vincenzo.innocente at cern dot ch
2011-10-07 11:48 ` jakub at gcc dot gnu.org
2011-10-07 12:27 ` markus at trippelsdorf dot de

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