https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68441

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|NEW                         |ASSIGNED
                 CC|                            |kargl at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |kargl at gcc dot gnu.org

--- Comment #4 from kargl at gcc dot gnu.org ---
(In reply to Harald Anlauf from comment #3)
> (In reply to Harald Anlauf from comment #2)
> > There's a subtle wrong-code problem:
> 
> This wrong-code issue is discussed in pr70409.

I believe the patch I just committed actually 
fixes this issue.

% gfcx -o z a.f90 && ./z
           0
% gfcx -o z -Wall a.f90 && ./z
a.f90:3:30:

    print *, transfer(transfer(0, x), 0)
                              1
Warning: Intrinsic TRANSFER at (1) has partly undefined result: source size 4 <
result size 127 [-Wsurprising]
           0
t

Do others concur?

Reply via email to