[Bug fortran/105954] ICE in gfc_element_size, at fortran/target-memory.cc:132

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Mon Jun 13 17:50:48 GMT 2022


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

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

For reference :

$ cat zz1.f90
program p
   real :: a(3,2:-1)
   real :: b(3,2:0)
   print *, size(a), sizeof(a)
   print *, size(b), sizeof(b)
end

$ gfortran-13-20220612 zz1.f90 ; a.out
           0                    0
           0                    0


More information about the Gcc-bugs mailing list