public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
@ 2013-11-16 18:50 hjl.tools at gmail dot com
  2013-11-16 18:56 ` [Bug lto/59154] " hjl.tools at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2013-11-16 18:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59154
           Summary: [4.9 Regression] internal compiler error: tree check:
                    expected ssa_name, have integer_cst
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: areg.melikadamyan at gmail dot com

454.tonto in SPEC CPU 2006 failed to build with r204862

-O2 -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin   

spacegroup.fppized.f90: In function 'analyse':
spacegroup.fppized.f90:1623:0: internal compiler error: tree check: expected
ssa_name, have integer_cst in simplify_conversion_from_bitmask, at
tree-ssa-forwprop.c:1186
    subroutine analyse(self)
 ^
0xac44d4 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
    ../../src-trunk/gcc/tree.c:9168
0x9a510d tree_check
    ../../src-trunk/gcc/tree.h:2706
0x9a510d simplify_conversion_from_bitmask
    ../../src-trunk/gcc/tree-ssa-forwprop.c:1186
0x9ae126 ssa_forward_propagate_and_combine
    ../../src-trunk/gcc/tree-ssa-forwprop.c:3486
0x9ae126 execute
    ../../src-trunk/gcc/tree-ssa-forwprop.c:3593
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [/tmp/ccYNDvfq.ltrans22.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status
/usr/local/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
specmake[3]: *** [tonto] Error 1

spacegroup.fppized.f90: In function 'analyse':
spacegroup.fppized.f90:1623:0: internal compiler error: tree check: expected
ssa_name, have integer_cst in simplify_conversion_from_bitmask, at
tree-ssa-forwprop.c:1186
    subroutine analyse(self)
 ^
0xac44d4 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
    ../../src-trunk/gcc/tree.c:9168
0x9a510d tree_check
    ../../src-trunk/gcc/tree.h:2706
0x9a510d simplify_conversion_from_bitmask
    ../../src-trunk/gcc/tree-ssa-forwprop.c:1186
0x9ae126 ssa_forward_propagate_and_combine
    ../../src-trunk/gcc/tree-ssa-forwprop.c:3486
0x9ae126 execute
    ../../src-trunk/gcc/tree-ssa-forwprop.c:3593
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [/tmp/ccYNDvfq.ltrans22.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status
/usr/local/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
specmake[3]: *** [tonto] Error 1


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

* [Bug lto/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
@ 2013-11-16 18:56 ` hjl.tools at gmail dot com
  2013-11-16 21:46 ` hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2013-11-16 18:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is 465.tonto.


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

* [Bug lto/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
  2013-11-16 18:56 ` [Bug lto/59154] " hjl.tools at gmail dot com
@ 2013-11-16 21:46 ` hjl.tools at gmail dot com
  2013-11-18 12:42 ` [Bug tree-optimization/59154] " rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2013-11-16 21:46 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-11-16
                 CC|                            |jakub at redhat dot com
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r203979.


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

* [Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
  2013-11-16 18:56 ` [Bug lto/59154] " hjl.tools at gmail dot com
  2013-11-16 21:46 ` hjl.tools at gmail dot com
@ 2013-11-18 12:42 ` rguenth at gcc dot gnu.org
  2013-11-18 13:14 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-18 12:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |lto
          Component|lto                         |tree-optimization

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
forwprop seems to think that the argument of a conversion is always an
SSA name, but here we end up with an unfolded one (for some reason).


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

* [Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2013-11-18 12:42 ` [Bug tree-optimization/59154] " rguenth at gcc dot gnu.org
@ 2013-11-18 13:14 ` jakub at gcc dot gnu.org
  2013-11-21 14:49 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-18 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah.  I think all passes aren't required to fold everything they create, and
unlike RTL where say comparison of two CONST_INTs is invalid IL, having binary
operation with two constants is valid GIMPLE.

So I'd say simplify_conversion_from_bitmask should either not be called if the
argument isn't SSA_NAME, or check whether it is SSA_NAME and fail if it is not.
IMHO later passes should optimize it properly.


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

* [Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2013-11-18 13:14 ` jakub at gcc dot gnu.org
@ 2013-11-21 14:49 ` rguenth at gcc dot gnu.org
  2013-11-23 14:21 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-21 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2013-11-21 14:49 ` rguenth at gcc dot gnu.org
@ 2013-11-23 14:21 ` jakub at gcc dot gnu.org
  2013-11-26 10:49 ` jakub at gcc dot gnu.org
  2013-11-26 13:38 ` hjl.tools at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-23 14:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Nov 23 14:21:46 2013
New Revision: 205307

URL: http://gcc.gnu.org/viewcvs?rev=205307&root=gcc&view=rev
Log:
    PR tree-optimization/59154
    * tree-ssa-reassoc.c (maybe_optimize_range_tests): When changing
    rhs1 of a cast and new_op is invariant, fold_convert it.
    * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Only call
    simplify_conversion_from_bitmask if rhs1 is a SSA_NAME.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-forwprop.c
    trunk/gcc/tree-ssa-reassoc.c


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

* [Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2013-11-23 14:21 ` jakub at gcc dot gnu.org
@ 2013-11-26 10:49 ` jakub at gcc dot gnu.org
  2013-11-26 13:38 ` hjl.tools at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-26 10:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
H.J., can you please verify whether this is fixed now?  Thanks.


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

* [Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
  2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2013-11-26 10:49 ` jakub at gcc dot gnu.org
@ 2013-11-26 13:38 ` hjl.tools at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2013-11-26 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

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

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
It is fixed as of revision 205321:

http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01801.html


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

end of thread, other threads:[~2013-11-26 13:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-16 18:50 [Bug lto/59154] New: [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst hjl.tools at gmail dot com
2013-11-16 18:56 ` [Bug lto/59154] " hjl.tools at gmail dot com
2013-11-16 21:46 ` hjl.tools at gmail dot com
2013-11-18 12:42 ` [Bug tree-optimization/59154] " rguenth at gcc dot gnu.org
2013-11-18 13:14 ` jakub at gcc dot gnu.org
2013-11-21 14:49 ` rguenth at gcc dot gnu.org
2013-11-23 14:21 ` jakub at gcc dot gnu.org
2013-11-26 10:49 ` jakub at gcc dot gnu.org
2013-11-26 13:38 ` hjl.tools 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).