public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34740] New: -fbounds-check with TRANSFER misses out of bounds in array assignment
@ 2008-01-11 14:11 burnus at gcc dot gnu dot org
2009-03-29 8:22 ` [Bug fortran/34740] " fxcoudert at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-01-11 14:11 UTC (permalink / raw)
To: gcc-bugs
For the following program, I expect an out-of-bounds error; NAG f95 shows at
run time:
Rank 1 of array operand has extent 7 instead of 8
character, pointer :: ptr(:)
allocate(ptr(8))
ptr = transfer('Sample'//achar(0),ptr)
end
--
Summary: -fbounds-check with TRANSFER misses out of bounds in
array assignment
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34740
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/34740] -fbounds-check with TRANSFER misses out of bounds in array assignment
2008-01-11 14:11 [Bug fortran/34740] New: -fbounds-check with TRANSFER misses out of bounds in array assignment burnus at gcc dot gnu dot org
@ 2009-03-29 8:22 ` fxcoudert at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-29 8:22 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-03-29 08:22:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34740
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-29 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-11 14:11 [Bug fortran/34740] New: -fbounds-check with TRANSFER misses out of bounds in array assignment burnus at gcc dot gnu dot org
2009-03-29 8:22 ` [Bug fortran/34740] " fxcoudert 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).