public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/41003] New: Array constructor gives seg fault
@ 2009-08-07 18:11 t dot r dot hopkins at kent dot ac dot uk
2009-08-07 19:27 ` [Bug fortran/41003] " kargl at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: t dot r dot hopkins at kent dot ac dot uk @ 2009-08-07 18:11 UTC (permalink / raw)
To: gcc-bugs
program bug
integer :: a(5) = (/1,2,3,4,5/)
integer, allocatable:: b(:)
b = (/ a(1:5), a(1:5) /)
print *, b
endprogram bug
integer :: a(5) = (/1,2,3,4,5/)
integer, allocatable:: b(:)
b = (/ a(1:5), a(1:5) /)
print *, b
end
The assignment to b generates a seg fault. I believe this to be standard F2003
--
Summary: Array constructor gives seg fault
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: t dot r dot hopkins at kent dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41003
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/41003] Array constructor gives seg fault
2009-08-07 18:11 [Bug fortran/41003] New: Array constructor gives seg fault t dot r dot hopkins at kent dot ac dot uk
@ 2009-08-07 19:27 ` kargl at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-08-07 19:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from kargl at gcc dot gnu dot org 2009-08-07 19:27 -------
*** This bug has been marked as a duplicate of 35810 ***
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41003
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-07 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07 18:11 [Bug fortran/41003] New: Array constructor gives seg fault t dot r dot hopkins at kent dot ac dot uk
2009-08-07 19:27 ` [Bug fortran/41003] " kargl 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).