public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32220] New: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937
@ 2007-06-05 14:43 dir at lanl dot gov
2007-06-05 14:46 ` [Bug tree-optimization/32220] [4.3 Regression] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dir at lanl dot gov @ 2007-06-05 14:43 UTC (permalink / raw)
To: gcc-bugs
While rebuilding one of my programs with the new version of gfortran, I hit
this error (This worked on an older version of gfortran)-
[dranta:~/tests] dir% gfortran -O3 -std=legacy -c ad78b.f
ad78b.f: In function 'derv':
ad78b.f:1: internal compiler error: in eliminate_temp_copies, at
tree-predcom.c:1937
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[dranta:~/tests] dir% cat ad78b.f
subroutine derv (b,cosxy,thick)
c
common /shell1/ ield
common /shell4/xji(3,3),p(3,32),h(32)
c
dimension cosxy(6,*),
1 thick(*),b(*)
c
do 130 k=1,ield
do 125 i=1,3
b(k2+i)=b(k2+i) + (xji(i,1)*p(1,k) + xji(i,2)*p(2,k))*t
1 + xji(i,3)*h(k)
th=0.5*thick(kk)
b(k2+i+3)=b(k2+i+3) - th*cosxy(i+3,kk)
125 b(k2+i+6)=b(k2+i+6) + th*cosxy(i,kk)
k2=k2 + 9
130 continue
c
c
return
end
[dranta:~/tests] dir% gfortran --v
Using built-in specs.
Target: powerpc-apple-darwin8.9.0
Configured with: ../gcc/configure --enable-checking --disable-multilib
--prefix=/usr/local/gfortran --enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070604 (experimental)
--
Summary: internal compiler error: in eliminate_temp_copies, at
tree-predcom.c:1937
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dir at lanl dot gov
GCC host triplet: powerpc-apple-darwin8.9.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32220
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32220] [4.3 Regression] internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937
2007-06-05 14:43 [Bug fortran/32220] New: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 dir at lanl dot gov
@ 2007-06-05 14:46 ` pinskia at gcc dot gnu dot org
2007-06-05 14:52 ` rakdver at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-05 14:46 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|fortran |tree-optimization
Summary|internal compiler error: in |[4.3 Regression] internal
|eliminate_temp_copies, at |compiler error: in
|tree-predcom.c:1937 |eliminate_temp_copies, at
| |tree-predcom.c:1937
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32220
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32220] [4.3 Regression] internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937
2007-06-05 14:43 [Bug fortran/32220] New: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 dir at lanl dot gov
2007-06-05 14:46 ` [Bug tree-optimization/32220] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-06-05 14:52 ` rakdver at gcc dot gnu dot org
2007-06-05 14:55 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-06-05 14:52 UTC (permalink / raw)
To: gcc-bugs
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-06-05 14:52:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32220
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32220] [4.3 Regression] internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937
2007-06-05 14:43 [Bug fortran/32220] New: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 dir at lanl dot gov
2007-06-05 14:46 ` [Bug tree-optimization/32220] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-06-05 14:52 ` rakdver at gcc dot gnu dot org
@ 2007-06-05 14:55 ` pinskia at gcc dot gnu dot org
2007-06-07 15:35 ` rakdver at gcc dot gnu dot org
2007-06-10 2:13 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-05 14:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-05 14:54 -------
*** Bug 32221 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32220
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32220] [4.3 Regression] internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937
2007-06-05 14:43 [Bug fortran/32220] New: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 dir at lanl dot gov
` (2 preceding siblings ...)
2007-06-05 14:55 ` pinskia at gcc dot gnu dot org
@ 2007-06-07 15:35 ` rakdver at gcc dot gnu dot org
2007-06-10 2:13 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-06-07 15:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rakdver at gcc dot gnu dot org 2007-06-07 15:34 -------
Subject: Bug 32220
Author: rakdver
Date: Thu Jun 7 15:34:40 2007
New Revision: 125531
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125531
Log:
PR tree-optimization/32220
* tree-predcom.c (eliminate_temp_copies): Handle the case that loop
phi node is reached before defining statement.
* gfortran.dg/predcom-2.f: New testcase.
Added:
trunk/gcc/testsuite/gfortran.dg/predcom-2.f
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-predcom.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32220
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32220] [4.3 Regression] internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937
2007-06-05 14:43 [Bug fortran/32220] New: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 dir at lanl dot gov
` (3 preceding siblings ...)
2007-06-07 15:35 ` rakdver at gcc dot gnu dot org
@ 2007-06-10 2:13 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-10 2:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-10 02:13 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32220
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-10 2:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 14:43 [Bug fortran/32220] New: internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937 dir at lanl dot gov
2007-06-05 14:46 ` [Bug tree-optimization/32220] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-06-05 14:52 ` rakdver at gcc dot gnu dot org
2007-06-05 14:55 ` pinskia at gcc dot gnu dot org
2007-06-07 15:35 ` rakdver at gcc dot gnu dot org
2007-06-10 2:13 ` 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).