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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-10-17
             Status|UNCONFIRMED                 |WAITING

--- Comment #2 from anlauf at gcc dot gnu.org ---
No ICE here with all tested versions >= 7.5.0.
(Example 2 does crash ifx, however.)

The code is invalid as explained by Steve.
Compiling with -g -fsanitize=undefined,address, I get:

pr117188-z1.f90:13:23: runtime error: member access within null pointer of type
'struct base_type'

Reply via email to