[Bug fortran/63689] -fcheck=array-temps should warn for temporaries during intrinsic assignment

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sun Dec 7 14:34:00 GMT 2014


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-07
          Component|libfortran                  |fortran
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I am currently tracking temporaries, but I prefer runtime checks
> (temporaries *are* actually created) instead of compilation checks
> (temporaries *may* be created, too many false positives in my program).

See pr48655 for an instance of false positive.

> I was not sure which version (all opened?) and which component could be
> affected, I let you correct this.

Confirmed from 4.8 up to trunk (5.0). Since the checking code is emitted by the
front-end, I erasing the component to 'fortran'.



More information about the Gcc-bugs mailing list