public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) '
@ 2012-08-10 17:14 armiuswu at gmail dot com
2012-08-10 19:03 ` [Bug fortran/54225] " burnus at gcc dot gnu.org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: armiuswu at gmail dot com @ 2012-08-10 17:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
Bug #: 54225
Summary: fortran compiler segfault processing ' print *, A(1,*)
'
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: armiuswu@gmail.com
uname -a
Darwin wl-dhcp177-121.mines.edu 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24
23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
==========
gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin11.4.0/4.7.1/lto-wrapper
Target: x86_64-apple-darwin11.4.0
Configured with: ../gcc-4.7.1/configure --enable-languages=fortran
Thread model: posix
gcc version 4.7.1 (GCC)
===========
minimal test case:
cat test.f90
program test
implicit none
real :: A(2,3)
print *, A(1, *)
end program
=========
crash errors:
gfortran test.f90
f951: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
@ 2012-08-10 19:03 ` burnus at gcc dot gnu.org
2012-08-10 19:07 ` [Bug fortran/54225] [4.6/4.7/4.8 Regression] " burnus at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-10 19:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-08-10
CC| |burnus at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-10 19:02:35 UTC ---
Fails at resolve_array_ref (ar=0x161c918) at
/projects/tob/gcc-git/gcc/gcc/fortran/resolve.c:4709
4709 switch (e->rank)
as e == NULL.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
2012-08-10 19:03 ` [Bug fortran/54225] " burnus at gcc dot gnu.org
@ 2012-08-10 19:07 ` burnus at gcc dot gnu.org
2012-09-07 10:26 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-10 19:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.4
Summary|fortran compiler segfault |[4.6/4.7/4.8 Regression]
|processing ' print *, |fortran compiler segfault
|A(1,*) ' |processing ' print *,
| |A(1,*) '
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-10 19:07:00 UTC ---
GCC 4.5 has:
print *, A(1, *)
1
Error: Expected array subscript at (1)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
2012-08-10 19:03 ` [Bug fortran/54225] " burnus at gcc dot gnu.org
2012-08-10 19:07 ` [Bug fortran/54225] [4.6/4.7/4.8 Regression] " burnus at gcc dot gnu.org
@ 2012-09-07 10:26 ` rguenth at gcc dot gnu.org
2012-09-07 10:27 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-07 10:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
` (2 preceding siblings ...)
2012-09-07 10:26 ` rguenth at gcc dot gnu.org
@ 2012-09-07 10:27 ` rguenth at gcc dot gnu.org
2012-09-11 18:19 ` dominiq at lps dot ens.fr
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-07 10:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Priority|P2 |P4
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
` (3 preceding siblings ...)
2012-09-07 10:27 ` rguenth at gcc dot gnu.org
@ 2012-09-11 18:19 ` dominiq at lps dot ens.fr
2012-09-12 10:05 ` burnus at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-09-11 18:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-11 18:19:29 UTC ---
This PR seems to be a duplicate of pr53306.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
` (4 preceding siblings ...)
2012-09-11 18:19 ` dominiq at lps dot ens.fr
@ 2012-09-12 10:05 ` burnus at gcc dot gnu.org
2012-09-12 12:16 ` burnus at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-09-12 10:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-12 10:05:28 UTC ---
Author: burnus
Date: Wed Sep 12 10:05:19 2012
New Revision: 191213
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191213
Log:
2012-09-12 Tobias Burnus <burnus@net-b.de>
PR fortran/54225
PR fortran/53306
* array.c (match_subscript, gfc_match_array_ref): Fix
diagnostic of coarray's '*'.
2012-09-12 Tobias Burnus <burnus@net-b.de>
PR fortran/54225
PR fortran/53306
* gfortran.dg/coarray_10.f90: Update dg-error.
* gfortran.dg/coarray_28.f90: New.
* gfortran.dg/array_section_3.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/array_section_3.f90
trunk/gcc/testsuite/gfortran.dg/coarray_28.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/array.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/coarray_10.f90
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
` (5 preceding siblings ...)
2012-09-12 10:05 ` burnus at gcc dot gnu.org
@ 2012-09-12 12:16 ` burnus at gcc dot gnu.org
2012-09-13 18:20 ` burnus at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-09-12 12:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-12 12:15:52 UTC ---
Author: burnus
Date: Wed Sep 12 12:15:44 2012
New Revision: 191216
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191216
Log:
2012-09-12 Tobias Burnus <burnus@net-b.de>
PR fortran/54225
PR fortran/53306
* array.c (match_subscript, gfc_match_array_ref): Fix
diagnostic of coarray's '*'.
2012-09-12 Tobias Burnus <burnus@net-b.de>
PR fortran/54225
PR fortran/53306
* gfortran.dg/coarray_10.f90: Update dg-error.
* gfortran.dg/coarray_28.f90: New.
* gfortran.dg/array_section_3.f90: New.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/array_section_3.f90
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/coarray_28.f90
Modified:
branches/gcc-4_7-branch/gcc/fortran/ChangeLog
branches/gcc-4_7-branch/gcc/fortran/array.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/coarray_10.f90
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
` (6 preceding siblings ...)
2012-09-12 12:16 ` burnus at gcc dot gnu.org
@ 2012-09-13 18:20 ` burnus at gcc dot gnu.org
2012-09-13 19:47 ` burnus at gcc dot gnu.org
2012-11-04 22:24 ` janus at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-09-13 18:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-13 18:19:28 UTC ---
Author: burnus
Date: Thu Sep 13 18:19:22 2012
New Revision: 191277
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191277
Log:
2012-09-13 Tobias Burnus <burnus@net-b.de>
PR fortran/54225
PR fortran/53306
* array.c (match_subscript, gfc_match_array_ref): Fix
diagnostic of coarray's '*'.
2012-09-13 Tobias Burnus <burnus@net-b.de>
PR fortran/54225
PR fortran/53306
* gfortran.dg/coarray_10.f90: Update dg-error.
* gfortran.dg/coarray_28.f90: New.
* gfortran.dg/array_section_3.f90: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/array_section_3.f90
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/coarray_28.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/array.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/coarray_10.f90
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
` (7 preceding siblings ...)
2012-09-13 18:20 ` burnus at gcc dot gnu.org
@ 2012-09-13 19:47 ` burnus at gcc dot gnu.org
2012-11-04 22:24 ` janus at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-09-13 19:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-13 19:47:18 UTC ---
FIXED on the trunk (4.8) and the 4.6 and 4.7 branches; hence, the bug will be
fix in the upcoming 4.7.2 release.
Thanks for the report!
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
` (8 preceding siblings ...)
2012-09-13 19:47 ` burnus at gcc dot gnu.org
@ 2012-11-04 22:24 ` janus at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: janus at gcc dot gnu.org @ 2012-11-04 22:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john.harper at vuw dot
| |ac.nz
--- Comment #8 from janus at gcc dot gnu.org 2012-11-04 22:23:40 UTC ---
*** Bug 55174 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-11-04 22:24 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-10 17:14 [Bug fortran/54225] New: fortran compiler segfault processing ' print *, A(1,*) ' armiuswu at gmail dot com
2012-08-10 19:03 ` [Bug fortran/54225] " burnus at gcc dot gnu.org
2012-08-10 19:07 ` [Bug fortran/54225] [4.6/4.7/4.8 Regression] " burnus at gcc dot gnu.org
2012-09-07 10:26 ` rguenth at gcc dot gnu.org
2012-09-07 10:27 ` rguenth at gcc dot gnu.org
2012-09-11 18:19 ` dominiq at lps dot ens.fr
2012-09-12 10:05 ` burnus at gcc dot gnu.org
2012-09-12 12:16 ` burnus at gcc dot gnu.org
2012-09-13 18:20 ` burnus at gcc dot gnu.org
2012-09-13 19:47 ` burnus at gcc dot gnu.org
2012-11-04 22:24 ` janus 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).