On 10/8/26 5:31 AM, Paul Richard Thomas wrote:
bug1-simplify-len-ice.f90 fails in compilation with:

f951: internal compiler error: Segmentation fault
0x276485f internal_error(char const*, ...)
../../gcc/gcc/diagnostic-global-context.cc:787
0xfa57cf crash_signal
../../gcc/gcc/toplev.cc:325
0x81decb gfc_simplify_len(gfc_expr*, gfc_expr*)
../../gcc/gcc/fortran/simplify.cc:5085
0x76a949 do_simplify
../../gcc/gcc/fortran/intrinsic.cc:5002

The attached tidies up the appearance of the code around the fix and
punts on null symtrees.

Passes regtesting on FC44/x86_64. OK for mainline.

Cheers

Paul

This one looks good to go.

Thanks,

Jerry

Reply via email to