public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
@ 2010-10-11 13:05 dominiq at lps dot ens.fr
2010-10-11 15:55 ` [Bug tree-optimization/45965] " dominiq at lps dot ens.fr
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-10-11 13:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
Summary: [4.6 Regression] ICE on powerpc-apple-darwin9:
gfortran.dg/subref_array_pointer_4.f90
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: spop@gcc.gnu.org, irar@il.ibm.com
Host: powerpc-apple-darwin9
Target: powerpc-apple-darwin9
Build: powerpc-apple-darwin9
On powerpc-apple-darwin9, between revisions 164750 and 164814 the following
failures
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
(internal compiler error)
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer (test
for excess errors)
WARNING: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
-funroll-loops (internal compiler error)
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (internal compiler error)
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/subref_array_pointer_4.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce executable
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -g (internal compiler error)
FAIL: gfortran.dg/subref_array_pointer_4.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/subref_array_pointer_4.f90 -O3 -g compilation failed to
produce executable
appeared (see http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg02570.html and
http://gcc.gnu.org/ml/gcc-testresults/2010-10/msg00006.html ). These ICEs
disappear with -m64 and the minimal options are '-O1 -ftree-vectorize':
[karma] f90/bug% gfc -O1 -ftree-vectorize
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/subref_array_pointer_4.f90
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/subref_array_pointer_4.f90: In
function 'main':
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/subref_array_pointer_4.f90:21:0:
internal compiler error: Bus error
The ICE disappears when using gdb.
I have had a quick look to the commits in the range and most of the significant
ones are related to graphite (I am trying to reduce the range).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
@ 2010-10-11 15:55 ` dominiq at lps dot ens.fr
2010-10-11 16:40 ` dominiq at lps dot ens.fr
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-10-11 15:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-10-11 15:55:29 UTC ---
Reduced range: r164769 no ICE, r164800 ICE.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
2010-10-11 15:55 ` [Bug tree-optimization/45965] " dominiq at lps dot ens.fr
@ 2010-10-11 16:40 ` dominiq at lps dot ens.fr
2010-11-03 15:39 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-10-11 16:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-10-11 16:40:10 UTC ---
This pr is due to revision 164790
http://gcc.gnu.org/viewcvs?view=revision&sortby=date&revision=164790
Author: spop
Date: Thu Sep 30 21:18:48 2010 UTC (10 days, 19 hours ago)
Changed paths: 3
Log Message:
Also handle ARRAY_REFs in instantiate_scev_r.
2010-08-20 Sebastian Pop <sebastian.pop@amd.com>
* tree-scalar-evolution.c (instantiate_array_ref): New.
(instantiate_scev_r): Also handle ARRAY_REFs.
Changed paths:
Path Details
trunk/gcc/ChangeLog modified , text changed
trunk/gcc/ChangeLog.graphite modified , text changed
trunk/gcc/tree-scalar-evolution.c modified , text changed
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
2010-10-11 15:55 ` [Bug tree-optimization/45965] " dominiq at lps dot ens.fr
2010-10-11 16:40 ` dominiq at lps dot ens.fr
@ 2010-11-03 15:39 ` rguenth at gcc dot gnu.org
2010-11-03 19:22 ` spop at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 15:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2010-11-03 15:39 ` rguenth at gcc dot gnu.org
@ 2010-11-03 19:22 ` spop at gcc dot gnu.org
2010-11-03 19:49 ` dominiq at lps dot ens.fr
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: spop at gcc dot gnu.org @ 2010-11-03 19:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
Sebastian Pop <spop at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2010.11.03 19:22:39
AssignedTo|unassigned at gcc dot |spop at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> 2010-11-03 19:22:39 UTC ---
Created attachment 22265
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22265
first shot at fixing this
Hi Dominique,
I cannot reproduce this bug on amd64-linux.
Could you please apply the attached patch and see if it fixes the problem?
Otherwise, could you please run gdb on f951 and report a backtrace of where it
fails?
Thanks,
Sebastian
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2010-11-03 19:22 ` spop at gcc dot gnu.org
@ 2010-11-03 19:49 ` dominiq at lps dot ens.fr
2010-11-15 11:45 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-11-03 19:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-11-03 19:49:32 UTC ---
> Could you please apply the attached patch and see if it fixes the problem?
Unless I did something wrong (I just used 'make' after the patch), it does
not!-(
> Otherwise, could you please run gdb on f951 and report a backtrace of where it
> fails?
Unfortunately as said in comment #0 the ICE disappears when using gdb.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
` (4 preceding siblings ...)
2010-11-03 19:49 ` dominiq at lps dot ens.fr
@ 2010-11-15 11:45 ` rguenth at gcc dot gnu.org
2010-11-15 11:50 ` dominiq at lps dot ens.fr
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 11:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-15 11:33:42 UTC ---
Try valgrind then please.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
` (5 preceding siblings ...)
2010-11-15 11:45 ` rguenth at gcc dot gnu.org
@ 2010-11-15 11:50 ` dominiq at lps dot ens.fr
2010-12-20 10:26 ` dominiq at lps dot ens.fr
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-11-15 11:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-11-15 11:44:41 UTC ---
> Try valgrind then please.
AFAICT there is no valgrind on powerpc-apple-darwin* (if I am wrong, a pointer
is welcome).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
` (6 preceding siblings ...)
2010-11-15 11:50 ` dominiq at lps dot ens.fr
@ 2010-12-20 10:26 ` dominiq at lps dot ens.fr
2010-12-20 10:52 ` dominiq at lps dot ens.fr
2010-12-20 11:17 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-12-20 10:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-20 10:25:46 UTC ---
These failures have disappeared between revisions 168021 and 168044 (see
http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01606.html and
http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01678.html ).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
` (7 preceding siblings ...)
2010-12-20 10:26 ` dominiq at lps dot ens.fr
@ 2010-12-20 10:52 ` dominiq at lps dot ens.fr
2010-12-20 11:17 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-12-20 10:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-20 10:52:14 UTC ---
Since the patch in comment #3 is doing changes in gcc/tree-scalar-evolution.c,
revision 168027 seems to be the best candidate (although I don't know enough to
rule out r168034 or even r168031):
Revision 168027
Jump to revision:
Author: jakub
Date: Sat Dec 18 18:15:10 2010 UTC (40 hours, 30 minutes ago)
Changed paths: 4
Log Message:
PR tree-optimization/46985
* tree-scalar-evolution.c (instantiate_scev_r): If chrec is NULL,
return it immediately.
* gfortran.dg/pr46985.f90: New test.
Changed paths:
Path Details
trunk/gcc/ChangeLog modified , text changed
trunk/gcc/testsuite/ChangeLog modified , text changed
trunk/gcc/testsuite/gfortran.dg/pr46985.f90 added
trunk/gcc/tree-scalar-evolution.c modified , text changed
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
` (8 preceding siblings ...)
2010-12-20 10:52 ` dominiq at lps dot ens.fr
@ 2010-12-20 11:17 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-20 11:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |FIXED
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-20 11:17:00 UTC ---
My patch should make the #c3 patch unnecessary, and perhaps if the problem was
somewhere deeper in the ARRAY_REF argument instead the #c3 patch wouldn't fix
ICE while what has been committed did. Anyway, as it is fixed now, let's say
it is fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-12-20 11:17 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-11 13:05 [Bug tree-optimization/45965] New: [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90 dominiq at lps dot ens.fr
2010-10-11 15:55 ` [Bug tree-optimization/45965] " dominiq at lps dot ens.fr
2010-10-11 16:40 ` dominiq at lps dot ens.fr
2010-11-03 15:39 ` rguenth at gcc dot gnu.org
2010-11-03 19:22 ` spop at gcc dot gnu.org
2010-11-03 19:49 ` dominiq at lps dot ens.fr
2010-11-15 11:45 ` rguenth at gcc dot gnu.org
2010-11-15 11:50 ` dominiq at lps dot ens.fr
2010-12-20 10:26 ` dominiq at lps dot ens.fr
2010-12-20 10:52 ` dominiq at lps dot ens.fr
2010-12-20 11:17 ` jakub at gcc dot gnu.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).