public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
@ 2009-06-12 0:56 hjl dot tools at gmail dot com
2009-06-12 1:12 ` [Bug middle-end/40421] " hjl dot tools at gmail dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-06-12 0:56 UTC (permalink / raw)
To: gcc-bugs
On Linux/x86-64, revision 148352:
http://gcc.gnu.org/ml/gcc-cvs/2009-06/msg00332.html
failed 416.gamess in SPEC CPU 2006:
gfortran -c -o hess.fppized.o -O3 -ffast-math -funroll-loops
-DSPEC_CPU_LP64 -ffixed-form hess.fppized.f
hess.fppized.f: In function 'vrot2':
hess.fppized.f:3068:0: internal compiler error: tree check: expected class
'type', have 'exceptional' (block) in fold_convert, at fold-const.c:2545
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
specmake[1]: *** [hess.fppized.o] Error 1
--
Summary: [4.5 Regression] Revision 148352 failed 416.gamess in
SPEC CPU 2006
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
@ 2009-06-12 1:12 ` hjl dot tools at gmail dot com
2009-06-12 1:22 ` hjl dot tools at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-06-12 1:12 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]
------- Comment #1 from hjl dot tools at gmail dot com 2009-06-12 01:12 -------
[hjl@gnu-34 build_base_o3.0000]$ cat foo.f
SUBROUTINE VROT2(N,DIS)
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
PARAMETER(ZERO=0.0D+00)
COMMON /SYMSPD/ PTR(3,144)
DIMENSION DIS(3,2),TMP(3,2)
DO I = 1,3
TMP1 = ZERO
DO J = 1,3
TMP1 = TMP1 + PTR(I,N+J)
END DO
TMP(I,1) = TMP1
END DO
DO I = 1,3
DIS(I,1) = TMP(I,1)
END DO
RETURN
END
[hjl@gnu-34 build_base_o3.0000]$ /export/gnu/import/rrs/148352/usr/bin/gfortran
-c -o hess.fppized.o -O3 -ffast-math -funroll-loops -DSPEC_CPU_LP64
-ffixed-form foo.f
foo.f: In function vrot2:
foo.f:1:0: internal compiler error: tree check: expected class type, have
exceptional (block) in lower_bound_in_type, at tree.c:8588
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-34 build_base_o3.0000]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
2009-06-12 1:12 ` [Bug middle-end/40421] " hjl dot tools at gmail dot com
@ 2009-06-12 1:22 ` hjl dot tools at gmail dot com
2009-06-12 9:45 ` dominiq at lps dot ens dot fr
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-06-12 1:22 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]
------- Comment #2 from hjl dot tools at gmail dot com 2009-06-12 01:22 -------
Valgrind reports:
==8507== Use of uninitialised value of size 8
==8507== at 0xACFC32: determine_exit_conditions (tree-ssa-loop-manip.c:688)
==8507== by 0xAD0178: tree_transform_and_unroll_loop
(tree-ssa-loop-manip.c:891)
==8507== by 0xA3EB28: tree_predictive_commoning_loop (tree-predcom.c:2572)
==8507== by 0xA3EC55: tree_predictive_commoning (tree-predcom.c:2609)
==8507== by 0xADE60A: run_tree_predictive_commoning (tree-ssa-loop.c:184)
==8507== by 0x8B6E08: execute_one_pass (passes.c:1289)
==8507== by 0x8B704F: execute_pass_list (passes.c:1338)
==8507== by 0x8B706D: execute_pass_list (passes.c:1339)
==8507== by 0x8B706D: execute_pass_list (passes.c:1339)
==8507== by 0xA2C5D0: tree_rest_of_compilation (tree-optimize.c:394)
==8507== by 0xC4CC31: cgraph_expand_function (cgraphunit.c:1097)
==8507== by 0xC4CDE1: cgraph_expand_all_functions (cgraphunit.c:1156)
foo.f: In function vrot2:
foo.f:1:0: internal compiler error: tree check: expected class type, have
exceptional (block) in lower_bound_in_type, at tree.c:8588
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
2009-06-12 1:12 ` [Bug middle-end/40421] " hjl dot tools at gmail dot com
2009-06-12 1:22 ` hjl dot tools at gmail dot com
@ 2009-06-12 9:45 ` dominiq at lps dot ens dot fr
2009-06-13 14:38 ` [Bug tree-optimization/40421] " rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-06-12 9:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dominiq at lps dot ens dot fr 2009-06-12 09:45 -------
The code in comment #1 compiles on powerpc-apple-darwin9 at revision 148391
with '-O3 -ffast-math -funroll-loops'. On i686-apple-darwin9 at revision
148399, compilation fails at -O3 with:
[ibook-dhum] f90/bug% gfc -O3 pr40421.f90
pr40421.f90: In function 'vrot2':
pr40421.f90:1:0: internal compiler error: Segmentation fault
but it compiles with '-O2 -ftree-vectorize -ffast-math -funroll-loops'.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2009-06-12 9:45 ` dominiq at lps dot ens dot fr
@ 2009-06-13 14:38 ` rguenth at gcc dot gnu dot org
2009-06-13 17:08 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-13 14:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-06-13 14:38 -------
I have a fix.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Component|middle-end |tree-optimization
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-06-13 14:38:07
date| |
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
` (3 preceding siblings ...)
2009-06-13 14:38 ` [Bug tree-optimization/40421] " rguenth at gcc dot gnu dot org
@ 2009-06-13 17:08 ` rguenth at gcc dot gnu dot org
2010-07-01 12:47 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-13 17:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-06-13 17:08 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
` (4 preceding siblings ...)
2009-06-13 17:08 ` rguenth at gcc dot gnu dot org
@ 2010-07-01 12:47 ` jakub at gcc dot gnu dot org
2010-07-01 12:54 ` jakub at gcc dot gnu dot org
2010-07-01 12:55 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-01 12:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2010-07-01 12:47 -------
Subject: Bug 40421
Author: jakub
Date: Thu Jul 1 12:47:26 2010
New Revision: 161668
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161668
Log:
Backport from mainline
2009-06-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/40421
* tree-predcom.c (should_unroll_loop_p): Remove.
(tree_predictive_commoning_loop): Use can_unroll_loop_p.
* gfortran.fortran-torture/compile/pr40421.f: New testcase.
* gfortran.fortran-torture/compile/pr40421.f90: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr40421.f
branches/gcc-4_4-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr40421.f90
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/tree-predcom.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
` (5 preceding siblings ...)
2010-07-01 12:47 ` jakub at gcc dot gnu dot org
@ 2010-07-01 12:54 ` jakub at gcc dot gnu dot org
2010-07-01 12:55 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-01 12:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2010-07-01 12:54 -------
Subject: Bug 40421
Author: jakub
Date: Thu Jul 1 12:53:44 2010
New Revision: 161669
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161669
Log:
PR tree-optimization/40421
* gfortran.fortran-torture/compile/pr40421.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr40421.f90
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
` (6 preceding siblings ...)
2010-07-01 12:54 ` jakub at gcc dot gnu dot org
@ 2010-07-01 12:55 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-01 12:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2010-07-01 12:55 -------
Subject: Bug 40421
Author: jakub
Date: Thu Jul 1 12:55:28 2010
New Revision: 161670
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161670
Log:
PR tree-optimization/40421
* gfortran.fortran-torture/compile/pr40421.f90: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr40421.f90
Modified:
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40421
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-07-01 12:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-12 0:56 [Bug middle-end/40421] New: [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006 hjl dot tools at gmail dot com
2009-06-12 1:12 ` [Bug middle-end/40421] " hjl dot tools at gmail dot com
2009-06-12 1:22 ` hjl dot tools at gmail dot com
2009-06-12 9:45 ` dominiq at lps dot ens dot fr
2009-06-13 14:38 ` [Bug tree-optimization/40421] " rguenth at gcc dot gnu dot org
2009-06-13 17:08 ` rguenth at gcc dot gnu dot org
2010-07-01 12:47 ` jakub at gcc dot gnu dot org
2010-07-01 12:54 ` jakub at gcc dot gnu dot org
2010-07-01 12:55 ` 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).