public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27745] New: ICE in execute_todo with -O2 -ftree-loop-linear
@ 2006-05-24 0:26 janis at gcc dot gnu dot org
2006-05-24 5:49 ` [Bug tree-optimization/27745] " steven at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-05-24 0:26 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]
GNU Fortran fails on powerpc-linux with "-O2 -ftree-loop-linear" with an ICE
for this testcase, minimized from swim.f in SPEC CPU2000:
SUBROUTINE BUG
INTEGER I, J, M
REAL V
COMMON A(100,100), B(100,100), M, V
DO 200 I = 1, M
DO 100 J = 1, M
V = V + A(I,J)
100 CONTINUE
B(I,I) = B(I,I) * I
200 CONTINUE
STOP
END
The output is:
elm3b11% /opt/gcc-nightly/trunk/bin/gfortran -c -O2 -ftree-loop-linear bug.f
bug.f: In function bug:
bug.f:1: internal compiler error: in execute_todo, at passes.c:714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
A regression hunt identified this patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=113862
r113862 | spop | 2006-05-17 14:25:59 +0000 (Wed, 17 May 2006)
The same patch also introduces memory exhaustion failures when compiling equake
or ammp from SPEC CPU2000 on powerpc64-linux with "-O2 -ftree-loop-linear" and
either -m32 or -m64, and for applu with those options and -m64. I don't have a
minimized testcase for any of those.
--
Summary: ICE in execute_todo with -O2 -ftree-loop-linear
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27745
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/27745] ICE in execute_todo with -O2 -ftree-loop-linear
2006-05-24 0:26 [Bug tree-optimization/27745] New: ICE in execute_todo with -O2 -ftree-loop-linear janis at gcc dot gnu dot org
@ 2006-05-24 5:49 ` steven at gcc dot gnu dot org
2006-05-29 16:02 ` spop at gcc dot gnu dot org
2006-05-29 21:24 ` [Bug tree-optimization/27745] [4.2 Regression] " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-05-24 5:49 UTC (permalink / raw)
To: gcc-bugs
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-24 05:49:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27745
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/27745] ICE in execute_todo with -O2 -ftree-loop-linear
2006-05-24 0:26 [Bug tree-optimization/27745] New: ICE in execute_todo with -O2 -ftree-loop-linear janis at gcc dot gnu dot org
2006-05-24 5:49 ` [Bug tree-optimization/27745] " steven at gcc dot gnu dot org
@ 2006-05-29 16:02 ` spop at gcc dot gnu dot org
2006-05-29 21:24 ` [Bug tree-optimization/27745] [4.2 Regression] " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: spop at gcc dot gnu dot org @ 2006-05-29 16:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from spop at gcc dot gnu dot org 2006-05-29 16:01 -------
Subject: Bug 27745
Author: spop
Date: Mon May 29 16:01:16 2006
New Revision: 114205
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114205
Log:
PR middle-end/27745
* lambda-code.c (perfect_nestify): Don't copy statements
in the inner loop: move them to the inner loop header.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lambda-code.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27745
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/27745] [4.2 Regression] ICE in execute_todo with -O2 -ftree-loop-linear
2006-05-24 0:26 [Bug tree-optimization/27745] New: ICE in execute_todo with -O2 -ftree-loop-linear janis at gcc dot gnu dot org
2006-05-24 5:49 ` [Bug tree-optimization/27745] " steven at gcc dot gnu dot org
2006-05-29 16:02 ` spop at gcc dot gnu dot org
@ 2006-05-29 21:24 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-29 21:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-29 21:24 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|ICE in execute_todo with -O2|[4.2 Regression] ICE in
|-ftree-loop-linear |execute_todo with -O2 -
| |ftree-loop-linear
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27745
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-29 21:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24 0:26 [Bug tree-optimization/27745] New: ICE in execute_todo with -O2 -ftree-loop-linear janis at gcc dot gnu dot org
2006-05-24 5:49 ` [Bug tree-optimization/27745] " steven at gcc dot gnu dot org
2006-05-29 16:02 ` spop at gcc dot gnu dot org
2006-05-29 21:24 ` [Bug tree-optimization/27745] [4.2 Regression] " pinskia 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).