[Bug fortran/97039] -fbounds-check misses violation with slice of array but not an element

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 13 16:35:41 GMT 2020


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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Anthony M de Beus from comment #0)
> 
> the correct result from the PGI/NVIDIA (v 20.7) compiler follows
> 

As the Fortran code is invalid, there are no correct results.


More information about the Gcc-bugs mailing list