public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31280] New: segfault in remove_referenced_var
@ 2007-03-20 15:51 pthaugen at us dot ibm dot com
2007-03-20 15:53 ` [Bug tree-optimization/31280] " pthaugen at us dot ibm dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: pthaugen at us dot ibm dot com @ 2007-03-20 15:51 UTC (permalink / raw)
To: gcc-bugs
Seeing the following with mainline using -O2 -ftree-loop-linear when
building galgel benchmark from cpu2000.
I couldn't whittle down to a single testcase so will attatch both source files.
178.galgel/run> /home/pthaugen/install/gcc/trunk/bin/gfortran -c -m64
-ffixed-form -O2 -ftree-loop-linear modules.f90
178.galgel/run> /home/pthaugen/install/gcc/trunk/bin/gfortran -c -m64
-ffixed-form -O2 -ftree-loop-linear sysnsL.f90
sysnsL.f90: In function #sysnsl#:
sysnsL.f90:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
(gdb) run
Starting program:
/home/pthaugen/install/gcc/trunk/libexec/gcc/powerpc64-linux/4.3.0/f951
sysnsL.f90 -quiet -dumpbase sysnsL.f90 -m64 -auxbase sysnsL -O2 -version
-ffixed-form -ftree-loop-linear -fintrinsic-modules-path
/home/pthaugen/install/gcc/trunk/lib/gcc/powerpc64-linux/4.3.0/finclude -o
sysnsL.s
GNU F95 version 4.3.0 20070314 (experimental) (powerpc64-linux)
compiled by GNU C version 4.1.0 (SUSE Linux).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Program received signal SIGSEGV, Segmentation fault.
remove_referenced_var (var=<value optimized out>)
at /home/pthaugen/src/gcc/trunk/gcc/gcc/tree-dfa.c:771
771 ggc_free (*loc);
(gdb) bt 5
#0 remove_referenced_var (var=<value optimized out>)
at /home/pthaugen/src/gcc/trunk/gcc/gcc/tree-dfa.c:771
#1 0x103d1238 in remove_unused_locals ()
at /home/pthaugen/src/gcc/trunk/gcc/gcc/tree-ssa-live.c:518
#2 0x1026f204 in execute_function_todo (data=<value optimized out>)
at /home/pthaugen/src/gcc/trunk/gcc/gcc/passes.c:865
#3 0x1026ee44 in do_per_function (callback=0x1026efe0 <execute_function_todo>,
data=0x21)
at /home/pthaugen/src/gcc/trunk/gcc/gcc/passes.c:757
#4 0x1026ef4c in execute_todo (flags=33) at
/home/pthaugen/src/gcc/trunk/gcc/gcc/passes.c:935
(More stack frames follow...)
--
Summary: segfault in remove_referenced_var
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pthaugen at us dot ibm dot com
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/31280] segfault in remove_referenced_var
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
@ 2007-03-20 15:53 ` pthaugen at us dot ibm dot com
2007-03-20 17:34 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pthaugen at us dot ibm dot com @ 2007-03-20 15:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pthaugen at us dot ibm dot com 2007-03-20 15:53 -------
Having trouble attatching source files, will keep trying...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/31280] segfault in remove_referenced_var
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
2007-03-20 15:53 ` [Bug tree-optimization/31280] " pthaugen at us dot ibm dot com
@ 2007-03-20 17:34 ` pinskia at gcc dot gnu dot org
2007-03-20 18:09 ` pthaugen at us dot ibm dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-20 17:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-20 17:34 -------
You can just send them to me if you want.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/31280] segfault in remove_referenced_var
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
2007-03-20 15:53 ` [Bug tree-optimization/31280] " pthaugen at us dot ibm dot com
2007-03-20 17:34 ` pinskia at gcc dot gnu dot org
@ 2007-03-20 18:09 ` pthaugen at us dot ibm dot com
2007-03-20 18:10 ` pthaugen at us dot ibm dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pthaugen at us dot ibm dot com @ 2007-03-20 18:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pthaugen at us dot ibm dot com 2007-03-20 18:09 -------
Created an attachment (id=13238)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13238&action=view)
Fortran source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/31280] segfault in remove_referenced_var
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
` (2 preceding siblings ...)
2007-03-20 18:09 ` pthaugen at us dot ibm dot com
@ 2007-03-20 18:10 ` pthaugen at us dot ibm dot com
2007-03-29 0:41 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pthaugen at us dot ibm dot com @ 2007-03-20 18:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pthaugen at us dot ibm dot com 2007-03-20 18:10 -------
Created an attachment (id=13239)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13239&action=view)
Fortran source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/31280] segfault in remove_referenced_var
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
` (3 preceding siblings ...)
2007-03-20 18:10 ` pthaugen at us dot ibm dot com
@ 2007-03-29 0:41 ` pinskia at gcc dot gnu dot org
2007-06-22 8:40 ` spop at gcc dot gnu dot org
2009-01-02 5:56 ` [Bug tree-optimization/31280] [4.3 Regression] " pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-29 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-03-29 01:41 -------
Reduced self contained testcase:
Module NsLin
Real*8, Dimension(54,54) :: VXX, VXY,
& VYX, VYY, VXX2, VXY2, VYX2, VYY2
End Module NsLin
Subroutine SysNSL (N, NX, NY)
Use NsLin
Implicit Real*8 (A-H,O-Z)
Real*8, Dimension(1000,1000) :: EnsLap, EnsArh
Real*8, Dimension(1000,1000) :: EnsTim, HtTim
Integer, Allocatable, Dimension(:) :: IPIV
Allocate ( IPIV(N), stat=jerr )
Do L=1,NX
Do M=1,NY
Do i=1,NX
Do j=1,NY
EnsTim(NY+ M, NY+ j ) =
& ( VXX(i,L)* VXY(j,M) + VYX(i,L)* VYY(j,M) )
& * W
EnsLap(NY*(L-1) + M,NY*(i-1) + j ) =
& (VXX(i,L) * VXY2(j,M) + VYX(i,L) * VYY2(j,M) )
& * W
& + (VXX2(i,L) * VXY(j,M) + VYX2(i,L) * VYY(j,M) )
& / W
End Do
End Do
End Do
End Do
Call Dgetrf (EnsTim(1:N,1:N), info)
If (info .NE. 0) then
Write (*,*) 'sysnsL(Dgetrf): info=',info
Stop
End If
Call Dgetri ( EnsTim(1:N,1:N), IPIV, info)
If (info .NE. 0) then
Stop
End If
EnsLap(1:N,1:N) = MATMUL( EnsTim(1:N,1:N), EnsLap(1:N,1:N) )
Deallocate ( IPIV, stat=jerr)
Return
End
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/31280] segfault in remove_referenced_var
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
` (4 preceding siblings ...)
2007-03-29 0:41 ` pinskia at gcc dot gnu dot org
@ 2007-06-22 8:40 ` spop at gcc dot gnu dot org
2009-01-02 5:56 ` [Bug tree-optimization/31280] [4.3 Regression] " pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-06-22 8:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from spop at gcc dot gnu dot org 2007-06-22 08:40 -------
I cannot reproduce the ICE on trunk at 125915, on i686-linux
--
spop at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spop at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/31280] [4.3 Regression] segfault in remove_referenced_var
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
` (5 preceding siblings ...)
2007-06-22 8:40 ` spop at gcc dot gnu dot org
@ 2009-01-02 5:56 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-02 5:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2009-01-02 05:53 -------
Fixed a long time ago
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-valid-code
Resolution| |FIXED
Summary|segfault in |[4.3 Regression] segfault in
|remove_referenced_var |remove_referenced_var
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31280
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-01-02 5:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-20 15:51 [Bug tree-optimization/31280] New: segfault in remove_referenced_var pthaugen at us dot ibm dot com
2007-03-20 15:53 ` [Bug tree-optimization/31280] " pthaugen at us dot ibm dot com
2007-03-20 17:34 ` pinskia at gcc dot gnu dot org
2007-03-20 18:09 ` pthaugen at us dot ibm dot com
2007-03-20 18:10 ` pthaugen at us dot ibm dot com
2007-03-29 0:41 ` pinskia at gcc dot gnu dot org
2007-06-22 8:40 ` spop at gcc dot gnu dot org
2009-01-02 5:56 ` [Bug tree-optimization/31280] [4.3 Regression] " 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).