public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound
@ 2005-01-10 12:08 steven at gcc dot gnu dot org
2005-01-10 14:34 ` [Bug fortran/19358] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-10 12:08 UTC (permalink / raw)
To: gcc-bugs
This triggers an ICE in a SPEC candidate benchmark:
1 MODULE foo
2 CONTAINS
3 SUBROUTINE bar(d, i, j)
4 IMPLICIT NONE
5 INTEGER, INTENT(IN) :: i, j
6 REAL, DIMENSION(i:), INTENT(IN) :: d
7 REAL p
8 p = d(j)
9 END SUBROUTINE bar
10 END MODULE foo
t.f90:3: internal compiler error: Segmentation fault
--
Summary: [gfortran] Segfault with missing upper bound
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: aj at suse dot de,gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/19358] [gfortran] Segfault with missing upper bound
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
@ 2005-01-10 14:34 ` pinskia at gcc dot gnu dot org
2005-01-17 10:13 ` steven at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-10 14:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-10 14:33 -------
Confirmed, here is the backtrace:
#0 gfc_conv_expr_val (se=0xbffff8c0, expr=0x0) at /Users/pinskia/src/local/gcc/gcc/fortran/trans-
expr.c:1825
#1 0x00060c48 in gfc_conv_expr_type (se=0xbffff8c0, expr=0x0, type=0x416b8680) at /Users/
pinskia/src/local/gcc/gcc/fortran/trans-expr.c:1837
#2 0x00054a4c in gfc_trans_dummy_array_bias (sym=0x42303d00, tmpdesc=0x416f4280,
body=0x416f1980) at /Users/pinskia/src/local/gcc/gcc/fortran/trans-array.c:3319
#3 0x0005e08c in gfc_generate_function_code (ns=0xbffff998) at /Users/pinskia/src/local/gcc/gcc/
fortran/trans-decl.c:1957
#4 0x00050228 in gfc_generate_module_code (ns=0x42807800) at /Users/pinskia/src/local/gcc/gcc/
fortran/trans.c:706
#5 0x00036220 in gfc_parse_file () at /Users/pinskia/src/local/gcc/gcc/fortran/parse.c:2622
#6 0x0004cdd4 in gfc_be_parse_file (set_yydebug=-1073743680) at /Users/pinskia/src/local/gcc/
gcc/fortran/f95-lang.c:265
#7 0x0033afa8 in toplev_main (argc=5689568, argv=0x56d2d0) at /Users/pinskia/src/local/gcc/gcc/
toplev.c:996
#8 0x0000269c in _start (argc=0, argv=0x56d874, envp=0x56d0e0) at /SourceCache/Csu/Csu-47/
crt.c:267
#9 0x8fe1a558 in __dyld__dyld_start ()
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |15502
nThis| |
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-01-10 14:33:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/19358] [gfortran] Segfault with missing upper bound
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
2005-01-10 14:34 ` [Bug fortran/19358] " pinskia at gcc dot gnu dot org
@ 2005-01-17 10:13 ` steven at gcc dot gnu dot org
2005-04-25 13:20 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-17 10:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2005-01-17 10:13 -------
*** Bug 19477 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |lei at il dot ibm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/19358] [gfortran] Segfault with missing upper bound
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
2005-01-10 14:34 ` [Bug fortran/19358] " pinskia at gcc dot gnu dot org
2005-01-17 10:13 ` steven at gcc dot gnu dot org
@ 2005-04-25 13:20 ` pinskia at gcc dot gnu dot org
2005-05-17 17:31 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-25 13:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-25 13:19 -------
*** Bug 21211 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |aradi at phys dot upb dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/19358] [gfortran] Segfault with missing upper bound
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-04-25 13:20 ` pinskia at gcc dot gnu dot org
@ 2005-05-17 17:31 ` pinskia at gcc dot gnu dot org
2005-09-13 19:03 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-17 17:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-17 17:30 -------
*** Bug 21622 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dubos at lmd dot
| |polytechnique dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/19358] [gfortran] Segfault with missing upper bound
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-05-17 17:31 ` pinskia at gcc dot gnu dot org
@ 2005-09-13 19:03 ` cvs-commit at gcc dot gnu dot org
2005-09-14 5:12 ` cvs-commit at gcc dot gnu dot org
2005-09-14 15:42 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-13 19:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-13 19:03 -------
Subject: Bug 19358
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: pault@gcc.gnu.org 2005-09-13 19:02:57
Modified files:
gcc/fortran : trans-array.c ChangeLog
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gfortran.dg: assumed_dummy_1.f90
Log message:
2005-09-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/19358
* trans-array.c (gfc_trans_dummy_array_bias): correct the typo
which uses dim[i].upper for lbound, rather than dim[i].lower.
2005-09-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/19358
* gfortran.fortran-torture/assumed_dummy_1.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.39.2.7&r2=1.39.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.117&r2=1.335.2.118
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assumed_dummy_1.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.404&r2=1.5084.2.405
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/19358] [gfortran] Segfault with missing upper bound
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-09-13 19:03 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-14 5:12 ` cvs-commit at gcc dot gnu dot org
2005-09-14 15:42 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-14 5:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-14 05:12 -------
Subject: Bug 19358
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pault@gcc.gnu.org 2005-09-14 05:12:12
Modified files:
gcc/fortran : trans-array.c ChangeLog
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gfortran.dg: assumed_dummy_1.f90
Log message:
2005-09-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/19358
* trans-array.c (gfc_trans_dummy_array_bias): correct the typo
which uses dim[i].upper for lbound, rather than dim[i].lower.
2005-09-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/19358
* gfortran.fortran-torture/assumed_dummy_1.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&r1=1.62&r2=1.63
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.553&r2=1.554
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assumed_dummy_1.f90.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6062&r2=1.6063
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/19358] [gfortran] Segfault with missing upper bound
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-09-14 5:12 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-14 15:42 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-14 15:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-14 15:42 -------
Fixed in 4.0.2.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19358
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-14 15:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-10 12:08 [Bug fortran/19358] New: [gfortran] Segfault with missing upper bound steven at gcc dot gnu dot org
2005-01-10 14:34 ` [Bug fortran/19358] " pinskia at gcc dot gnu dot org
2005-01-17 10:13 ` steven at gcc dot gnu dot org
2005-04-25 13:20 ` pinskia at gcc dot gnu dot org
2005-05-17 17:31 ` pinskia at gcc dot gnu dot org
2005-09-13 19:03 ` cvs-commit at gcc dot gnu dot org
2005-09-14 5:12 ` cvs-commit at gcc dot gnu dot org
2005-09-14 15:42 ` 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).