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

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to anlauf from comment #3)
> 16-trunk of today prints for me:
> 
> [[h(0) h(1)]]
> [[h(0) h(1)] [h(-1) h(0)]]
> 
> Can you please check?

I now get:

$ ./a.out 
[]

* Array of arrays

[[h(0) h(1)]]
[[h(0) h(1)] [h(-1) h(0)]]

No segfault now.

My latest gcc-15 gives:

$ gfc15 pr110691.f90 
$ ./a.out 
[]

* Array of arrays

[[]]
[[] [h(0) ]]

Apparently it is fixed now.

Reply via email to