------- Comment #3 from janus at gcc dot gnu dot org  2010-05-15 10:25 -------
(In reply to comment #1)
> Created an attachment (id=20542)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20542&action=view) [edit]

Looking at the dump of this code shows:

The $data component of int is being set to zero (correctly):

  try.int.$data = 0B;

However, the ALLOCATED statement is being evaluated to ".true":

      static logical(kind=4) C.1566 = 1;

      _gfortran_transfer_logical (&dt_parm.0, &C.1566, 4);


-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-15 10:25:15
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43969

Reply via email to