public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44508]  New: libgomp.fortran/vla1.f90 ICE on s390
@ 2010-06-12 10:40 jakub at gcc dot gnu dot org
  2010-06-12 12:12 ` [Bug tree-optimization/44508] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-12 10:40 UTC (permalink / raw)
  To: gcc-bugs

./f951 -m31 -O3 vla1.f90 -I ../s390*/libgomp/ -fopenmp -march=z9-109 -mtune=z10
ICEs on 4.4 branch, even in frozz-compiler.  The problem seems to be that
substitute_and_fold DCEs some trivially dead stmts and the removal release_defs
the LHS SSA_NAMEs, which are still referenced in various vrp structures.
Then identify_jump_threads is called and ICEs on those already freed ssa-names.


-- 
           Summary: libgomp.fortran/vla1.f90 ICE on s390
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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

* [Bug tree-optimization/44508] libgomp.fortran/vla1.f90 ICE on s390
  2010-06-12 10:40 [Bug tree-optimization/44508] New: libgomp.fortran/vla1.f90 ICE on s390 jakub at gcc dot gnu dot org
@ 2010-06-12 12:12 ` rguenth at gcc dot gnu dot org
  2010-06-14 15:19 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-12 12:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-06-12 12:11 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org 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-12 12:11:57
               date|                            |


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


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

* [Bug tree-optimization/44508] libgomp.fortran/vla1.f90 ICE on s390
  2010-06-12 10:40 [Bug tree-optimization/44508] New: libgomp.fortran/vla1.f90 ICE on s390 jakub at gcc dot gnu dot org
  2010-06-12 12:12 ` [Bug tree-optimization/44508] " rguenth at gcc dot gnu dot org
@ 2010-06-14 15:19 ` jakub at gcc dot gnu dot org
  2010-06-14 15:24 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-14 15:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2010-06-14 15:19 -------
Subject: Bug 44508

Author: jakub
Date: Mon Jun 14 15:19:04 2010
New Revision: 160749

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160749
Log:
        PR tree-optimization/44508
        * tree-ssa-propagate.h (substitute_and_fold): Add DO_DCE
        argument.
        * tree-ssa-propagate.c (substitute_and_fold): If !DO_DCE,
        don't eliminate trivially dead stmts.
        * tree-vrp.c (vrp_finalize): Pass false as last argument
        to substitute_and_fold.
        * tree-ssa-copy.c (fini_copy_prop): Pass true as last argument
        to substitute_and_fold.
        * tree-ssa-ccp.c (ccp_finalize): Likewise.

        * gcc.dg/tree-ssa/pr21086.c: Adjust.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr21086.c
    trunk/gcc/tree-ssa-ccp.c
    trunk/gcc/tree-ssa-copy.c
    trunk/gcc/tree-ssa-propagate.c
    trunk/gcc/tree-ssa-propagate.h
    trunk/gcc/tree-vrp.c


-- 


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


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

* [Bug tree-optimization/44508] libgomp.fortran/vla1.f90 ICE on s390
  2010-06-12 10:40 [Bug tree-optimization/44508] New: libgomp.fortran/vla1.f90 ICE on s390 jakub at gcc dot gnu dot org
  2010-06-12 12:12 ` [Bug tree-optimization/44508] " rguenth at gcc dot gnu dot org
  2010-06-14 15:19 ` jakub at gcc dot gnu dot org
@ 2010-06-14 15:24 ` jakub at gcc dot gnu dot org
  2010-06-14 15:29 ` jakub at gcc dot gnu dot org
  2010-06-14 15:54 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-14 15:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2010-06-14 15:24 -------
Subject: Bug 44508

Author: jakub
Date: Mon Jun 14 15:23:31 2010
New Revision: 160750

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160750
Log:
        PR tree-optimization/44508
        * tree-ssa-propagate.h (substitute_and_fold): Add DO_DCE
        argument.
        * tree-ssa-propagate.c (substitute_and_fold): If !DO_DCE,
        don't eliminate trivially dead stmts.
        * tree-vrp.c (vrp_finalize): Pass false as last argument
        to substitute_and_fold.
        * tree-ssa-copy.c (fini_copy_prop): Pass true as last argument
        to substitute_and_fold.
        * tree-ssa-ccp.c (ccp_finalize): Likewise.

        * gcc.dg/tree-ssa/pr21086.c: Adjust.

Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr21086.c
    branches/gcc-4_5-branch/gcc/tree-ssa-ccp.c
    branches/gcc-4_5-branch/gcc/tree-ssa-copy.c
    branches/gcc-4_5-branch/gcc/tree-ssa-propagate.c
    branches/gcc-4_5-branch/gcc/tree-ssa-propagate.h
    branches/gcc-4_5-branch/gcc/tree-vrp.c


-- 


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


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

* [Bug tree-optimization/44508] libgomp.fortran/vla1.f90 ICE on s390
  2010-06-12 10:40 [Bug tree-optimization/44508] New: libgomp.fortran/vla1.f90 ICE on s390 jakub at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-06-14 15:24 ` jakub at gcc dot gnu dot org
@ 2010-06-14 15:29 ` jakub at gcc dot gnu dot org
  2010-06-14 15:54 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-14 15:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2010-06-14 15:28 -------
Subject: Bug 44508

Author: jakub
Date: Mon Jun 14 15:28:00 2010
New Revision: 160752

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160752
Log:
        PR tree-optimization/44508
        * tree-ssa-propagate.c (substitute_and_fold): Don't do DCE
        when called from tree-vrp.c.

        * gcc.dg/tree-ssa/pr21086.c: Adjust.

Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/tree-ssa/pr21086.c
    branches/gcc-4_4-branch/gcc/tree-ssa-propagate.c


-- 


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


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

* [Bug tree-optimization/44508] libgomp.fortran/vla1.f90 ICE on s390
  2010-06-12 10:40 [Bug tree-optimization/44508] New: libgomp.fortran/vla1.f90 ICE on s390 jakub at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-06-14 15:29 ` jakub at gcc dot gnu dot org
@ 2010-06-14 15:54 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-14 15:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2010-06-14 15:53 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-12 10:40 [Bug tree-optimization/44508] New: libgomp.fortran/vla1.f90 ICE on s390 jakub at gcc dot gnu dot org
2010-06-12 12:12 ` [Bug tree-optimization/44508] " rguenth at gcc dot gnu dot org
2010-06-14 15:19 ` jakub at gcc dot gnu dot org
2010-06-14 15:24 ` jakub at gcc dot gnu dot org
2010-06-14 15:29 ` jakub at gcc dot gnu dot org
2010-06-14 15:54 ` jakub 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).