--- Comment #9 from burnus at gcc dot gnu dot org 2008-01-11 14:02 ---
For the following ill-defined program, also a warning should be printed. It
comes from PR 34537 and had before an ICE. NAG f95 prints "Intrinsic TRANSFER
has partly undefined result".
program main
implicit none
c
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Ke
--- Comment #4 from pault at gcc dot gnu dot org 2007-08-10 08:47 ---
Just for the record:
13.14.110 TRANSFER (SOURCE, MOLD [, SIZE])
...snip...
Result Value. If the physical representation of the result has the same length
as that of SOURCE, the physical representation of the result is
--- Comment #5 from burnus at gcc dot gnu dot org 2007-09-17 16:29 ---
Simple patch; catches if result size > source size (cf. example in bug 31610
comment 0). However, it does not catch if result size < LHS variable. (Example
in this PR.)
Index: simplify.c
=
--- Comment #6 from burnus at gcc dot gnu dot org 2007-09-21 10:21 ---
Subject: Bug 33037
Author: burnus
Date: Fri Sep 21 10:21:29 2007
New Revision: 128646
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128646
Log:
2007-09-21 Tobias Burnus <[EMAIL PROTECTED]>
PR fort
--- Comment #7 from burnus at gcc dot gnu dot org 2007-09-21 10:32 ---
Partially fixed.
Missing: Check whether the size of the LHS is bigger than the result of
TRANSFER (see example in this PR's comment 0).
The current fix gives the warning only if the specified (SIZE=...) result size
--- Comment #8 from patchapp at dberlin dot org 2007-09-22 01:36 ---
Subject: Bug number PR33037
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01664.html
--
http://gcc.gnu.org/bugzilla/sh
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33037
Thomas Koenig changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|