public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44393]  New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
@ 2010-06-02 19:14 zsojka at seznam dot cz
  2010-06-02 19:15 ` [Bug tree-optimization/44393] " rguenth at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-02 19:14 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc -ftree-loop-distribution -Os testcase.c

Compiler output:
$ /mnt/svn/gcc-trunk/binary-160165-lto-fortran/bin/gcc -ftree-loop-distribution
-Os testcase.c
testcase.c: In function 'foo':
testcase.c:2:6: error: no immediate_use list
for SSA_NAME: .MEM_11 in statement:
# .MEM_21 = VDEF <.MEM_11>
i = 0;
testcase.c:2:6: 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.

Tested revisions:
r160165 - crash
r159696 - crash
r158969 - crash
r158095 - crash
r153685 - crash
4.5 r158978 - crash
4.4 r158133 - OK


-- 
           Summary: [4.5/4.6 Regression] ICE: verify_ssa failed: no
                    immediate_use list with -Os -ftree-loop-distribution
           Product: gcc
           Version: 4.6.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
GCC target triplet: x86(_64)-pc-linux-gnu


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
@ 2010-06-02 19:15 ` rguenth at gcc dot gnu dot org
  2010-06-02 19:16 ` zsojka at seznam dot cz
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-02 19:15 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.1


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
  2010-06-02 19:15 ` [Bug tree-optimization/44393] " rguenth at gcc dot gnu dot org
@ 2010-06-02 19:16 ` zsojka at seznam dot cz
  2010-06-07 17:30 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-02 19:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-06-02 19:16 -------
Created an attachment (id=20813)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20813&action=view)
reduced testcase (from gcc.target/i386/pr37101.c)

Command line:
$ gcc -ftree-loop-distribution -Os pr44393.c
or
$ gcc -ftree-loop-distribution -Os pr44393.c -m32

Doesn't fail at -O[0123]


-- 


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
  2010-06-02 19:15 ` [Bug tree-optimization/44393] " rguenth at gcc dot gnu dot org
  2010-06-02 19:16 ` zsojka at seznam dot cz
@ 2010-06-07 17:30 ` pinskia at gcc dot gnu dot org
  2010-06-08 16:48 ` hjl dot tools at gmail dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-06-07 17:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2010-06-07 17:29 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-06-07 17:30 ` pinskia at gcc dot gnu dot org
@ 2010-06-08 16:48 ` hjl dot tools at gmail dot com
  2010-06-08 17:34 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-06-08 16:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2010-06-08 16:47 -------
It is caused by revision 145494:

http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg00115.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-08 16:47:23
               date|                            |


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-06-08 16:48 ` hjl dot tools at gmail dot com
@ 2010-06-08 17:34 ` rguenth at gcc dot gnu dot org
  2010-06-09 11:03 ` zsojka at seznam dot cz
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-08 17:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-06-08 17:33 -------
Whatever.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-06-08 16:47:23         |2010-06-08 17:33:49
               date|                            |


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-06-08 17:34 ` rguenth at gcc dot gnu dot org
@ 2010-06-09 11:03 ` zsojka at seznam dot cz
  2010-06-24 21:39 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-09 11:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from zsojka at seznam dot cz  2010-06-09 11:02 -------
The testcase also fails when it is changed to:

...
{
  extern void *bar(void) __attribute__((malloc));
  int **pp = bar(), *p = bar();
...

so there isn't any access through NULL pointer.


-- 


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-06-09 11:03 ` zsojka at seznam dot cz
@ 2010-06-24 21:39 ` rguenth at gcc dot gnu dot org
  2010-06-26 15:55 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 21:39 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=44393


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2010-06-24 21:39 ` rguenth at gcc dot gnu dot org
@ 2010-06-26 15:55 ` rguenth at gcc dot gnu dot org
  2010-06-26 15:57 ` rguenth at gcc dot gnu dot org
  2010-06-26 15:58 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-26 15:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-06-26 15:55 -------
Subject: Bug 44393

Author: rguenth
Date: Sat Jun 26 15:55:05 2010
New Revision: 161434

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161434
Log:
2010-06-26  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/44393
        * tree-loop-distribution.c (generate_loops_for_partition): Fix
        stmt removal and VOP renaming.
        (generate_memset_zero): Remove redundant stmt updating.
        * tree-flow.h (mark_virtual_ops_in_bb): Remove.
        * tree-cfg.c (mark_virtual_ops_in_bb): Likewise.

        * gcc.dg/pr44393.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr44393.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c
    trunk/gcc/tree-flow.h
    trunk/gcc/tree-loop-distribution.c


-- 


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
                   ` (7 preceding siblings ...)
  2010-06-26 15:55 ` rguenth at gcc dot gnu dot org
@ 2010-06-26 15:57 ` rguenth at gcc dot gnu dot org
  2010-06-26 15:58 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-26 15:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2010-06-26 15:57 -------
Subject: Bug 44393

Author: rguenth
Date: Sat Jun 26 15:57:17 2010
New Revision: 161435

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161435
Log:
2010-06-26  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/44393
        * tree-loop-distribution.c (generate_loops_for_partition): Fix
        stmt removal and VOP renaming.
        (generate_memset_zero): Remove redundant stmt updating.
        * tree-flow.h (mark_virtual_ops_in_bb): Remove.
        * tree-cfg.c (mark_virtual_ops_in_bb): Likewise.

        * gcc.dg/pr44393.c: New testcase.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr44393.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-cfg.c
    branches/gcc-4_5-branch/gcc/tree-flow.h
    branches/gcc-4_5-branch/gcc/tree-loop-distribution.c


-- 


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


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

* [Bug tree-optimization/44393] [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution
  2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
                   ` (8 preceding siblings ...)
  2010-06-26 15:57 ` rguenth at gcc dot gnu dot org
@ 2010-06-26 15:58 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-26 15:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2010-06-26 15:58 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|                            |4.5.0
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2010-06-26 15:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-02 19:14 [Bug tree-optimization/44393] New: [4.5/4.6 Regression] ICE: verify_ssa failed: no immediate_use list with -Os -ftree-loop-distribution zsojka at seznam dot cz
2010-06-02 19:15 ` [Bug tree-optimization/44393] " rguenth at gcc dot gnu dot org
2010-06-02 19:16 ` zsojka at seznam dot cz
2010-06-07 17:30 ` pinskia at gcc dot gnu dot org
2010-06-08 16:48 ` hjl dot tools at gmail dot com
2010-06-08 17:34 ` rguenth at gcc dot gnu dot org
2010-06-09 11:03 ` zsojka at seznam dot cz
2010-06-24 21:39 ` rguenth at gcc dot gnu dot org
2010-06-26 15:55 ` rguenth at gcc dot gnu dot org
2010-06-26 15:57 ` rguenth at gcc dot gnu dot org
2010-06-26 15:58 ` 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).