public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher
@ 2005-06-01 10:11 fischer at td dot mw dot tum dot de
2005-06-01 10:22 ` [Bug fortran/21859] " fischer at td dot mw dot tum dot de
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: fischer at td dot mw dot tum dot de @ 2005-06-01 10:11 UTC (permalink / raw)
To: gcc-bugs
Compiling this piece of code:
c===================================================================
SUBROUTINE SETGRDREC (NMREC,ZREC,KK,Z,IREC)
DIMENSION Z(KK)
DIMENSION ZREC(NMREC,KK)
i = 0
DO K=1,KK
ZREC(IREC,I) = Z(I)
ENDDO
END
c===================================================================
with the following command:
gfortran -O2 -Wall -Wextra -ftree-vectorize -c bug.F -o bug.o
results in:
===================================================================
problem.F: In function 'setgrdrec':
problem.F:1: error: Definition in block 2 does not dominate use in block 5
for SSA_NAME: TMT.7_31 in statement:
# TMT.7_25 = V_MAY_DEF <TMT.7_31>;
(*zrec_28)[D.821_23] = lsm_tmp.9_15;
problem.F:1: internal compiler error: verify_ssa failed.
===================================================================
It compiles without problems without -ftree-vectorize or -O1 or lower.
output of gfortran -v:
===================================================================
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/home/vici --enable-languages=f95 :
(reconfigured) ./configure --prefix=/home/vici --enable-languages=f95
Thread model: posix
gcc version 4.1.0 20050601 (experimental)
===================================================================
Output of uname -a:
Linux galadriel 2.6.11.4-20a-default #1 Wed Mar 23 21:52:37 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux
--
Summary: ICE with -ftree-vectorize and -O2 or higher
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fischer at td dot mw dot tum dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
@ 2005-06-01 10:22 ` fischer at td dot mw dot tum dot de
2005-06-01 11:14 ` dorit at il dot ibm dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fischer at td dot mw dot tum dot de @ 2005-06-01 10:22 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet| |x86_64-linux-gnu
GCC host triplet| |x86_64-linux-gnu
GCC target triplet| |x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
2005-06-01 10:22 ` [Bug fortran/21859] " fischer at td dot mw dot tum dot de
@ 2005-06-01 11:14 ` dorit at il dot ibm dot com
2005-06-01 12:15 ` [Bug tree-optimization/21859] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dorit at il dot ibm dot com @ 2005-06-01 11:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dorit at il dot ibm dot com 2005-06-01 11:13 -------
I can reproduce this on powerpc-apple-darwin.
Maybe a duplicate of PR21831.
Hopefully will be resolved by Keith's work
(http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02478.html)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
2005-06-01 10:22 ` [Bug fortran/21859] " fischer at td dot mw dot tum dot de
2005-06-01 11:14 ` dorit at il dot ibm dot com
@ 2005-06-01 12:15 ` pinskia at gcc dot gnu dot org
2005-06-07 7:50 ` dorit at il dot ibm dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-01 12:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-01 12:15 -------
Confirmed based on Dorit's comment.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|fortran |tree-optimization
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-06-01 12:15:33
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
` (2 preceding siblings ...)
2005-06-01 12:15 ` [Bug tree-optimization/21859] " pinskia at gcc dot gnu dot org
@ 2005-06-07 7:50 ` dorit at il dot ibm dot com
2005-06-28 23:26 ` bangerth at dealii dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dorit at il dot ibm dot com @ 2005-06-07 7:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dorit at il dot ibm dot com 2005-06-07 07:50 -------
This testcase doesn't get vectorized anymore, after my patch from
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02817.html:
"pr21859.f90:6: note: not vectorized: redundant loop. no profit to vectorize.
pr21859.f90:1: note: vectorized 0 loops in function."
so it also doesn't ICE anymore. It might be that it's just avoiding the
problem, but I also can't reproduce PR21831, which is a duplicate of this one,
and which was not affected by my patch, so it might be that something else
fixed the problem (don't know what).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
` (3 preceding siblings ...)
2005-06-07 7:50 ` dorit at il dot ibm dot com
@ 2005-06-28 23:26 ` bangerth at dealii dot org
2005-06-28 23:30 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2005-06-28 23:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2005-06-28 23:25 -------
This may be the same as PR 22228, which still fails as of today...
W.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |22228
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
` (4 preceding siblings ...)
2005-06-28 23:26 ` bangerth at dealii dot org
@ 2005-06-28 23:30 ` pinskia at gcc dot gnu dot org
2005-08-19 14:49 ` reichelt at gcc dot gnu dot org
2005-09-25 23:37 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-28 23:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-28 23:29 -------
(In reply to comment #4)
> This may be the same as PR 22228, which still fails as of today...
I really doubt it because this only involves one loop and the other involves multiple loops.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
` (5 preceding siblings ...)
2005-06-28 23:30 ` pinskia at gcc dot gnu dot org
@ 2005-08-19 14:49 ` reichelt at gcc dot gnu dot org
2005-09-25 23:37 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-19 14:49 UTC (permalink / raw)
To: gcc-bugs
--
Bug 21859 depends on bug 22228, which changed state.
Bug 22228 Summary: [4.1 regression] ICE with -ftree-vectorize in verify_ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22228
What |Old Value |New Value
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
` (6 preceding siblings ...)
2005-08-19 14:49 ` reichelt at gcc dot gnu dot org
@ 2005-09-25 23:37 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-25 23:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-25 23:37 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21859
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-09-25 23:37 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-01 10:11 [Bug fortran/21859] New: ICE with -ftree-vectorize and -O2 or higher fischer at td dot mw dot tum dot de
2005-06-01 10:22 ` [Bug fortran/21859] " fischer at td dot mw dot tum dot de
2005-06-01 11:14 ` dorit at il dot ibm dot com
2005-06-01 12:15 ` [Bug tree-optimization/21859] " pinskia at gcc dot gnu dot org
2005-06-07 7:50 ` dorit at il dot ibm dot com
2005-06-28 23:26 ` bangerth at dealii dot org
2005-06-28 23:30 ` pinskia at gcc dot gnu dot org
2005-08-19 14:49 ` reichelt at gcc dot gnu dot org
2005-09-25 23:37 ` 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).