public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/21963] New: ICE (Segmentation fault) with -m64
@ 2005-06-08 15:00 fischer at td dot mw dot tum dot de
2005-06-08 15:01 ` [Bug regression/21963] " fischer at td dot mw dot tum dot de
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: fischer at td dot mw dot tum dot de @ 2005-06-08 15:00 UTC (permalink / raw)
To: gcc-bugs
Compiling this code:
=========
# 1 "prob.F"
# 0 "<built-in>"
# 1 "<command line>"
# 1 "prob.F"
SUBROUTINE XSHIF2 (A,WORK)
COMMON /CNETIN/ IMA,JMA,KMA
1 ,IMAP2,JMAP2,KMAP2
2 ,IKBL0,IKBL2,JKBL2,IJKBL0,IJKBL2
3 ,JD2,JD2P1,IPOISS,ODJMA,ODIMA
COMMON /CRUNIN/ IUFI,IULA,IPFI,IPLA
1 ,JVFI,JVLA,JPFI,JPLA
2 ,KWFI,KWLA,KPFI,KPLA
3 ,IUFIM1,IULAP1,IPFIM1,IPLAP1
4 ,JVFIM1,JVLAP1,JPFIM1,JPLAP1
5 ,KWFIM1,KWLAP1,KPFIM1,KPLAP1
6 ,JKPFI,JKWFI
C
DIMENSION A(*),WORK(*)
C
N = IMA*JMAP2*KMA+1
DO 10 I=IPLA,IPFI,-1
LI = (I-1)*JKBL2
DO 20 K=KPLA,KPFI,-1
LK = (K-1)*JMAP2
LIK = LI + LK
N = N - 2
DO 30 J=JPLA,JPFI,-1
N = N - 1
WORK(J) = A(N)
30 CONTINUE
DO 31 J=JPLA,JPFI,-1
LIJK = LIK + J
A(LIJK) = WORK(J)
31 CONTINUE
20 CONTINUE
10 CONTINUE
C
C---- END OF SUBROUTINE X S H I F 2
C
RETURN
END
=========
with:
=========
gfortran -Wall -Wextra -ffixed-line-length-0 -O1 -m64 -pedantic -c prob.F
=========
results in:
=========
prob.F: In function ‘xshif2’:
prob.F:1: internal compiler error: Segmentation fault
=========
Output of gfortran -v:
=========
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/home/vici --enable-languages=f95 :
(reconfigured) ./configure --prefix=/home/vici --enable-languages=c,f95
--no-create --no-recursion : (reconfigured) ./configure --prefix=/home/vici
--enable-languages=c,f95 --enable-mapped-location : (reconfigured) ./configure
--prefix=/home/vici --enable-mapped-location --enable-languages=c,f95
--no-create --no-recursion : (reconfigured) ./configure --prefix=/home/vici
--enable-mapped-location --enable-languages=c,f95 --no-create --no-recursion :
(reconfigured) ./configure --prefix=/home/vici --enable-mapped-location
--enable-languages=c,f95 --no-create --no-recursion :
(reconfigured) ./configure --prefix=/home/vici --enable-mapped-location
--enable-languages=c,f95 --no-create --no-recursion
Thread model: posix
gcc version 4.1.0 20050608 (experimental)
=========
Using -m32 works.
The problem does not occur on 20050605.
Victor
--
Summary: ICE (Segmentation fault) with -m64
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: regression
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fischer at td dot mw dot tum dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug regression/21963] ICE (Segmentation fault) with -m64
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
@ 2005-06-08 15:01 ` fischer at td dot mw dot tum dot de
2005-06-08 15:27 ` [Bug tree-optimization/21963] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: fischer at td dot mw dot tum dot de @ 2005-06-08 15:01 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (Segmentation fault) with -m64
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
2005-06-08 15:01 ` [Bug regression/21963] " fischer at td dot mw dot tum dot de
@ 2005-06-08 15:27 ` pinskia at gcc dot gnu dot org
2005-06-08 18:36 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-08 15:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-08 15:27 -------
Confirmed, backtrace:
#0 0x000c5364 in is_gimple_variable (t=0x0) at ../../gcc/tree-gimple.c:239
#1 0x000c5908 in is_gimple_val (t=0x0) at ../../gcc/tree-gimple.c:353
#2 0x000e5334 in force_gimple_operand (expr=0x0, stmts=0xbffff2c8, simple=0 '\0',
var=0x1e7b4fc) at ../../gcc/gimplify.c:4727
#3 0x001f00fc in rewrite_use_nonlinear_expr (data=0xbffff490, use=0x1d0a350, cand=0x1d0a860)
at ../../gcc/tree-ssa-loop-ivopts.c:5359
#4 0x001f1c04 in rewrite_use (data=0xbffff490, use=0x1d0a350, cand=0x1d0a860) at ../../gcc/tree-
ssa-loop-ivopts.c:5723
#5 0x001f1d14 in rewrite_uses (data=0xbffff490) at ../../gcc/tree-ssa-loop-ivopts.c:5759
#6 0x001f258c in tree_ssa_iv_optimize_loop (data=0xbffff490, loop=0x1d09560) at ../../gcc/tree-
ssa-loop-ivopts.c:5935
#7 0x001f2694 in tree_ssa_iv_optimize (loops=0x1d014d0) at ../../gcc/tree-ssa-loop-ivopts.c:5972
#8 0x001a4aac in tree_ssa_loop_ivopts () at ../../gcc/tree-ssa-loop.c:388
#9 0x000c3750 in execute_one_pass (pass=0x96b61c) at ../../gcc/tree-optimize.c:627
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org, pinskia at gcc dot gnu
| |dot org
Status|UNCONFIRMED |NEW
Component|regression |tree-optimization
Ever Confirmed| |1
GCC build triplet|x86_64-linux-gnu |
GCC host triplet|x86_64-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2005-06-08 15:27:47
date| |
Summary|ICE (Segmentation fault) |[4.1 Regression] ICE
|with -m64 |(Segmentation fault) with -
| |m64
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (Segmentation fault) with -m64
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
2005-06-08 15:01 ` [Bug regression/21963] " fischer at td dot mw dot tum dot de
2005-06-08 15:27 ` [Bug tree-optimization/21963] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-08 18:36 ` pinskia at gcc dot gnu dot org
2005-06-11 15:19 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-08 18:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-08 18:36 -------
This ICE also shows up in SPEC on x86_64.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (Segmentation fault) with -m64
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (2 preceding siblings ...)
2005-06-08 18:36 ` pinskia at gcc dot gnu dot org
@ 2005-06-11 15:19 ` pinskia at gcc dot gnu dot org
2005-06-17 9:44 ` fischer at td dot mw dot tum dot de
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-11 15:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-11 15:19 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00856.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |06/msg00856.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (Segmentation fault) with -m64
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (3 preceding siblings ...)
2005-06-11 15:19 ` pinskia at gcc dot gnu dot org
@ 2005-06-17 9:44 ` fischer at td dot mw dot tum dot de
2005-07-05 20:26 ` [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS) steven at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: fischer at td dot mw dot tum dot de @ 2005-06-17 9:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fischer at td dot mw dot tum dot de 2005-06-17 09:44 -------
Applied above patch to my local checkout and tested. Works nicely :)
Victor
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (4 preceding siblings ...)
2005-06-17 9:44 ` fischer at td dot mw dot tum dot de
@ 2005-07-05 20:26 ` steven at gcc dot gnu dot org
2005-07-05 23:16 ` giovannibajo at libero dot it
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-07-05 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2005-07-05 20:25 -------
*** Bug 22315 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |steven at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (5 preceding siblings ...)
2005-07-05 20:26 ` [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS) steven at gcc dot gnu dot org
@ 2005-07-05 23:16 ` giovannibajo at libero dot it
2005-07-05 23:18 ` giovannibajo at libero dot it
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2005-07-05 23:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-07-05 23:16 -------
Zdenek, is the patch still valid? If so, maybe it's time to ping it?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (6 preceding siblings ...)
2005-07-05 23:16 ` giovannibajo at libero dot it
@ 2005-07-05 23:18 ` giovannibajo at libero dot it
2005-07-06 8:13 ` cvs-commit at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2005-07-05 23:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-07-05 23:17 -------
Approved here already:
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00293.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (7 preceding siblings ...)
2005-07-05 23:18 ` giovannibajo at libero dot it
@ 2005-07-06 8:13 ` cvs-commit at gcc dot gnu dot org
2005-07-06 8:16 ` rakdver at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-06 8:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-06 08:13 -------
Subject: Bug 21963
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rakdver@gcc.gnu.org 2005-07-06 08:13:17
Modified files:
gcc : ChangeLog tree-ssa-loop-ivopts.c
Log message:
PR tree-optimization/21963
* tree-ssa-loop-ivopts.c (get_computation_aff): Use
constant_multiple_of in the same way get_computation_cost_at does.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9354&r2=2.9355
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-ivopts.c.diff?cvsroot=gcc&r1=2.82&r2=2.83
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (8 preceding siblings ...)
2005-07-06 8:13 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-06 8:16 ` rakdver at gcc dot gnu dot org
2005-07-06 9:13 ` belyshev at depni dot sinp dot msu dot ru
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-07-06 8:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2005-07-06 08:16 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (9 preceding siblings ...)
2005-07-06 8:16 ` rakdver at gcc dot gnu dot org
@ 2005-07-06 9:13 ` belyshev at depni dot sinp dot msu dot ru
2005-07-08 14:22 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-07-06 9:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-06 09:13 -------
*** Bug 22212 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO|22212 |
nThis| |
CC| |laurent at guerby dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (10 preceding siblings ...)
2005-07-06 9:13 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-07-08 14:22 ` pinskia at gcc dot gnu dot org
2005-07-11 4:25 ` pinskia at gcc dot gnu dot org
2005-07-11 5:14 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-08 14:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-08 14:20 -------
*** Bug 22345 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mick at nag dot co dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (11 preceding siblings ...)
2005-07-08 14:22 ` pinskia at gcc dot gnu dot org
@ 2005-07-11 4:25 ` pinskia at gcc dot gnu dot org
2005-07-11 5:14 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-11 4:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 04:24 -------
*** Bug 22400 has been marked as a duplicate of this bug. ***
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 04:24 -------
*** Bug 22399 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ak at muc dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS)
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
` (12 preceding siblings ...)
2005-07-11 4:25 ` pinskia at gcc dot gnu dot org
@ 2005-07-11 5:14 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-11 5:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 04:24 -------
*** Bug 22400 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ak at muc dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21963
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-07-11 4:25 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-08 15:00 [Bug regression/21963] New: ICE (Segmentation fault) with -m64 fischer at td dot mw dot tum dot de
2005-06-08 15:01 ` [Bug regression/21963] " fischer at td dot mw dot tum dot de
2005-06-08 15:27 ` [Bug tree-optimization/21963] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-06-08 18:36 ` pinskia at gcc dot gnu dot org
2005-06-11 15:19 ` pinskia at gcc dot gnu dot org
2005-06-17 9:44 ` fischer at td dot mw dot tum dot de
2005-07-05 20:26 ` [Bug tree-optimization/21963] [4.1 Regression] ICE (seg fault) with -m64 (in IV-OPTS) steven at gcc dot gnu dot org
2005-07-05 23:16 ` giovannibajo at libero dot it
2005-07-05 23:18 ` giovannibajo at libero dot it
2005-07-06 8:13 ` cvs-commit at gcc dot gnu dot org
2005-07-06 8:16 ` rakdver at gcc dot gnu dot org
2005-07-06 9:13 ` belyshev at depni dot sinp dot msu dot ru
2005-07-08 14:22 ` pinskia at gcc dot gnu dot org
2005-07-11 4:25 ` pinskia at gcc dot gnu dot org
2005-07-11 5:14 ` 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).