public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
@ 2012-10-09 9:39 ro at gcc dot gnu.org
2012-10-09 9:40 ` [Bug fortran/54871] " ro at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2012-10-09 9:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
Bug #: 54871
Summary: [4.8 regression] gfortran.dg/vector_subscript_1.f90
FAILs
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ro@gcc.gnu.org
CC: ebotcazou@gcc.gnu.org
Host: sparc*-*-solaris2*
Target: sparc*-*-solaris2*
Build: sparc*-*-solaris2*
Since about 20120803, the gfortran.dg/vector_subscript_1.f90 testcase FAILs on
Solaris/SPARC (32-bit only):
FAIL: gfortran.dg/vector_subscript_1.f90 -O3 -fomit-frame-pointer
-funroll-loops execution test
FAIL: gfortran.dg/vector_subscript_1.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions execution test
It aborts like this:
Backtrace for this error:
#0 ff219d6b
[New Thread 1 (LWP 1)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 1 (LWP 1)]
0xff0da400 in _lwp_kill () from /lib/libc.so.1
(gdb) where
#0 0xff0da400 in _lwp_kill () from /lib/libc.so.1
#1 0xff083d50 in raise () from /lib/libc.so.1
#2 0xff05b55c in abort () from /lib/libc.so.1
#3 0xff21bcd4 in _gfortrani_sys_abort ()
at /vol/gcc/src/hg/trunk/local/libgfortran/runtime/error.c:173
#4 0xff2b5d0c in _gfortran_abort ()
at /vol/gcc/src/hg/trunk/local/libgfortran/intrinsics/abort.c:33
#5 0x000141cc in test (rhs=..., lhs=...)
at
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/vector_subscript_1.f90:160
#6 MAIN__ ()
at
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/vector_subscript_1.f90:68
This is a regression from 4.7.
Rainer
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/54871] [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
@ 2012-10-09 9:40 ` ro at gcc dot gnu.org
2012-10-12 8:40 ` ro at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2012-10-09 9:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/54871] [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
2012-10-09 9:40 ` [Bug fortran/54871] " ro at gcc dot gnu.org
@ 2012-10-12 8:40 ` ro at gcc dot gnu.org
2012-10-12 8:41 ` ro at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2012-10-12 8:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2012-10-12 08:40:23 UTC ---
Created attachment 28429
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28429
good assembler output
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/54871] [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
2012-10-09 9:40 ` [Bug fortran/54871] " ro at gcc dot gnu.org
2012-10-12 8:40 ` ro at gcc dot gnu.org
@ 2012-10-12 8:41 ` ro at gcc dot gnu.org
2012-10-12 9:33 ` ebotcazou at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2012-10-12 8:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2012-10-12 08:41:06 UTC ---
Created attachment 28430
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28430
bad assembler output
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/54871] [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
` (2 preceding siblings ...)
2012-10-12 8:41 ` ro at gcc dot gnu.org
@ 2012-10-12 9:33 ` ebotcazou at gcc dot gnu.org
2012-10-12 21:37 ` ebotcazou at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-10-12 9:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-12
Ever Confirmed|0 |1
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-10-12 09:32:54 UTC ---
Confirmed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/54871] [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
` (3 preceding siblings ...)
2012-10-12 9:33 ` ebotcazou at gcc dot gnu.org
@ 2012-10-12 21:37 ` ebotcazou at gcc dot gnu.org
2012-10-13 20:22 ` [Bug rtl-optimization/54871] " ebotcazou at gcc dot gnu.org
2012-10-13 20:30 ` ebotcazou at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-10-12 21:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |ebotcazou at gcc dot
|gnu.org |gnu.org
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-10-12 21:37:35 UTC ---
Created attachment 28437
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28437
Reduced testcase
The loop2_unroll dump reads:
Loop 3 is simple:
simple exit 10 -> 12
number of iterations: (const_int -1 [0xffffffffffffffff])
upper bound: 1073741823
realistic bound: -1
The number of iterations is of course bogus.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/54871] [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
` (4 preceding siblings ...)
2012-10-12 21:37 ` ebotcazou at gcc dot gnu.org
@ 2012-10-13 20:22 ` ebotcazou at gcc dot gnu.org
2012-10-13 20:30 ` ebotcazou at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-10-13 20:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-10-13 20:22:18 UTC ---
Author: ebotcazou
Date: Sat Oct 13 20:22:07 2012
New Revision: 192426
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192426
Log:
PR rtl-optimization/54871
* loop-iv.c (simplify_using_initial_values): When scanning previous
basic blocks, prune the recorded conditions if the current insn was
not used to make a replacement.
* loop-unroll.c (decide_unroll_constant_iterations): Clean up message.
(unroll_loop_constant_iterations): Clarify head comment.
(decide_unroll_runtime_iterations): Clean up message.
(unroll_loop_runtime_iterations): Clarify head comment.
(decide_peel_simple): Clean up message.
(peel_loop_simple): Clarify head comment.
(decide_unroll_stupid): Clean up message.
(unroll_loop_stupid): Clarify head comment.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-iv.c
trunk/gcc/loop-unroll.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/54871] [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
` (5 preceding siblings ...)
2012-10-13 20:22 ` [Bug rtl-optimization/54871] " ebotcazou at gcc dot gnu.org
@ 2012-10-13 20:30 ` ebotcazou at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-10-13 20:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54871
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-10-13 20:30:40 UTC ---
This should work now.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-10-13 20:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09 9:39 [Bug fortran/54871] New: [4.8 regression] gfortran.dg/vector_subscript_1.f90 FAILs ro at gcc dot gnu.org
2012-10-09 9:40 ` [Bug fortran/54871] " ro at gcc dot gnu.org
2012-10-12 8:40 ` ro at gcc dot gnu.org
2012-10-12 8:41 ` ro at gcc dot gnu.org
2012-10-12 9:33 ` ebotcazou at gcc dot gnu.org
2012-10-12 21:37 ` ebotcazou at gcc dot gnu.org
2012-10-13 20:22 ` [Bug rtl-optimization/54871] " ebotcazou at gcc dot gnu.org
2012-10-13 20:30 ` ebotcazou 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).