public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42205]  New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
@ 2009-11-28  6:13 zsojka at seznam dot cz
  2009-11-28  6:14 ` [Bug tree-optimization/42205] " zsojka at seznam dot cz
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2009-11-28  6:13 UTC (permalink / raw)
  To: gcc-bugs

gcc trunk r154706
command flags: -O1 -ffast-math -floop-interchange

Running on testcase gives:
/mnt/svn/gcc-trunk/binary-154706-lto/bin/gcc -O1 -ffast-math -floop-interchange
-c testcaseN2-min.i -o tmp.o
testcaseN2-min.i: In function ‘adler32’:
testcaseN2-min.i:1:5: error: definition in block 8 does not dominate use in
block 3
for SSA_NAME: sum_3 in statement:
sum_11 = adler_10 + sum_3;
testcaseN2-min.i:1:5: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

r154520 seems to work without any problems

May be a dup of PR42186, PR42166, PR40767 or PR40711 (or some other PR).


-- 
           Summary: [4.5 Regression] internal compiler error: verify_ssa
                    failed with -ffast-math -floop-interchange
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu


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


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

* [Bug tree-optimization/42205] [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
@ 2009-11-28  6:14 ` zsojka at seznam dot cz
  2009-11-28  8:50 ` hjl dot tools at gmail dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2009-11-28  6:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2009-11-28 06:14 -------
Created an attachment (id=19169)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19169&action=view)
reduced testcase, comes from gcc sources


-- 


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


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

* [Bug tree-optimization/42205] [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
  2009-11-28  6:14 ` [Bug tree-optimization/42205] " zsojka at seznam dot cz
@ 2009-11-28  8:50 ` hjl dot tools at gmail dot com
  2009-11-28 15:51 ` rguenth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-11-28  8:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2009-11-28 08:50 -------
It is caused by revision 154561:

http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00784.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-28 08:50:43
               date|                            |


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


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

* [Bug tree-optimization/42205] [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
  2009-11-28  6:14 ` [Bug tree-optimization/42205] " zsojka at seznam dot cz
  2009-11-28  8:50 ` hjl dot tools at gmail dot com
@ 2009-11-28 15:51 ` rguenth at gcc dot gnu dot org
  2009-11-28 22:47 ` zsojka at seznam dot cz
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-28 15:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/42205] [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2009-11-28 15:51 ` rguenth at gcc dot gnu dot org
@ 2009-11-28 22:47 ` zsojka at seznam dot cz
  2009-12-02 12:14 ` [Bug tree-optimization/42205] [4.5 Regression] [graphite] " rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2009-11-28 22:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from zsojka at seznam dot cz  2009-11-28 22:46 -------
The problem appears with following flags as well:

-O1 -floop-strip-mine -ffast-math


-- 


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2009-11-28 22:47 ` zsojka at seznam dot cz
@ 2009-12-02 12:14 ` rguenth at gcc dot gnu dot org
  2009-12-07 18:02 ` zsojka at seznam dot cz
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-02 12:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2009-12-02 12:14 ` [Bug tree-optimization/42205] [4.5 Regression] [graphite] " rguenth at gcc dot gnu dot org
@ 2009-12-07 18:02 ` zsojka at seznam dot cz
  2009-12-15 18:41 ` zsojka at seznam dot cz
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2009-12-07 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from zsojka at seznam dot cz  2009-12-07 18:02 -------
Created an attachment (id=19250)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19250&action=view)
different testcase, this one is using doubles

tested r155020, crashes with:
-O1 -funsafe-math-optimizations -floop-interchange
-O1 -funsafe-math-optimizations -floop-strip-mine
-O1 -funsafe-math-optimizations -floop-block

pr42205-2.c:1:8: internal compiler error: gimple check: expected
gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs_code, at
gimple.h:1820


-- 


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2009-12-07 18:02 ` zsojka at seznam dot cz
@ 2009-12-15 18:41 ` zsojka at seznam dot cz
  2009-12-18  5:42 ` spop at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2009-12-15 18:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from zsojka at seznam dot cz  2009-12-15 18:41 -------
(In reply to comment #4)
> Created an attachment (id=19250)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19250&action=view) [edit]
> different testcase, this one is using doubles
> 
> tested r155020, crashes with:
> -O1 -funsafe-math-optimizations -floop-interchange
> -O1 -funsafe-math-optimizations -floop-strip-mine
> -O1 -funsafe-math-optimizations -floop-block
> 
> pr42205-2.c:1:8: internal compiler error: gimple check: expected
> gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs_code, at
> gimple.h:1820
> 

This testcase crashes in r155248, but doesn't crash anymore in r155256 (most
likely a dup of pr42185).

The original testcase (comment #1) still crashes with:
-O1 -funsafe-math-optimizations -fgraphite-identity


-- 


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2009-12-15 18:41 ` zsojka at seznam dot cz
@ 2009-12-18  5:42 ` spop at gcc dot gnu dot org
  2009-12-18  6:10 ` spop at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-18  5:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from spop at gcc dot gnu dot org  2009-12-18 05:42 -------
Mine.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |spop at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-11-28 08:50:43         |2009-12-18 05:42:25
               date|                            |


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (7 preceding siblings ...)
  2009-12-18  5:42 ` spop at gcc dot gnu dot org
@ 2009-12-18  6:10 ` spop at gcc dot gnu dot org
  2009-12-18  6:11 ` spop at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-18  6:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from spop at gcc dot gnu dot org  2009-12-18 06:10 -------
Subject: Bug 42205

Author: spop
Date: Fri Dec 18 06:10:06 2009
New Revision: 155334

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155334
Log:
Fix PR42205.

2009-12-17  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42205
        * graphite-sese-to-poly.c
(translate_scalar_reduction_to_array_for_stmt):
        Insert the reduction copy in the same block as the phi node.
        (follow_ssa_with_commutative_ops): Handle GIMPLE_NOPs.

        * testsuite/gcc.dg/graphite/pr42205-1.c: New.
        * testsuite/gcc.dg/graphite/pr42205-2.c: New.

Added:
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42205-1.c
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42205-2.c
Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/graphite-sese-to-poly.c


-- 


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (8 preceding siblings ...)
  2009-12-18  6:10 ` spop at gcc dot gnu dot org
@ 2009-12-18  6:11 ` spop at gcc dot gnu dot org
  2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-18  6:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from spop at gcc dot gnu dot org  2009-12-18 06:11 -------
Fixed in the Graphite branch.  Will be committed to trunk after test.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (9 preceding siblings ...)
  2009-12-18  6:11 ` spop at gcc dot gnu dot org
@ 2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
  2009-12-23  7:52 ` spop at gcc dot gnu dot org
  2009-12-23  7:53 ` spop at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-18 12:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2009-12-18 12:40 -------
Re-open.  Still a 4.5 regression.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (10 preceding siblings ...)
  2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
@ 2009-12-23  7:52 ` spop at gcc dot gnu dot org
  2009-12-23  7:53 ` spop at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-23  7:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from spop at gcc dot gnu dot org  2009-12-23 07:50 -------
Subject: Bug 42205

Author: spop
Date: Wed Dec 23 07:50:22 2009
New Revision: 155419

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155419
Log:
Fix PR42205.

2009-12-17  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42205
        * graphite-sese-to-poly.c
(translate_scalar_reduction_to_array_for_stmt):
        Insert the reduction copy in the same block as the phi node.
        (follow_ssa_with_commutative_ops): Handle GIMPLE_NOPs.

        * testsuite/gcc.dg/graphite/pr42205-1.c: New.
        * testsuite/gcc.dg/graphite/pr42205-2.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr42205-1.c
    trunk/gcc/testsuite/gcc.dg/graphite/pr42205-2.c
Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/graphite-sese-to-poly.c


-- 


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


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

* [Bug tree-optimization/42205] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange
  2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
                   ` (11 preceding siblings ...)
  2009-12-23  7:52 ` spop at gcc dot gnu dot org
@ 2009-12-23  7:53 ` spop at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-23  7:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from spop at gcc dot gnu dot org  2009-12-23 07:53 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-12-23  7:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-28  6:13 [Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange zsojka at seznam dot cz
2009-11-28  6:14 ` [Bug tree-optimization/42205] " zsojka at seznam dot cz
2009-11-28  8:50 ` hjl dot tools at gmail dot com
2009-11-28 15:51 ` rguenth at gcc dot gnu dot org
2009-11-28 22:47 ` zsojka at seznam dot cz
2009-12-02 12:14 ` [Bug tree-optimization/42205] [4.5 Regression] [graphite] " rguenth at gcc dot gnu dot org
2009-12-07 18:02 ` zsojka at seznam dot cz
2009-12-15 18:41 ` zsojka at seznam dot cz
2009-12-18  5:42 ` spop at gcc dot gnu dot org
2009-12-18  6:10 ` spop at gcc dot gnu dot org
2009-12-18  6:11 ` spop at gcc dot gnu dot org
2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
2009-12-23  7:52 ` spop at gcc dot gnu dot org
2009-12-23  7:53 ` spop 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).