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

Tomáš Trnka <trnka at scm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trnka at scm dot com

--- Comment #15 from Tomáš Trnka <trnka at scm dot com> ---
(In reply to Dominik Gronkiewicz from comment #14)
> Still affected by this bug in 10.2.1. ifort, in contrast, calls the defined
> assignment, which is consistent with the cited paragraph of the standard
> (point 13 in 10.2.1.3 of F2018 standard draft):
> 
> I wanted to file a new bug but found this one so just bumping. :)
> Dominik

Can you share a testcase that is failing for you? This issue seems to be fixed
for me on GCC 10, so you have probably hit a corner case of some sort.

Is there perhaps an "allocatable" component involved? If so, that's PR57696
which is still unfixed (so defined assignments don't work inside any
allocatable components with GCC but they do with recent enough IFort).

Reply via email to