https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105168
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:e05d632f202c024cd8d98ad698a9713d49499b06 commit r15-11000-ge05d632f202c024cd8d98ad698a9713d49499b06 Author: Paul Thomas <[email protected]> Date: Mon Mar 16 07:23:49 2026 +0000 Fortran: Fix segfault due to class actual in parentheses [PR105168] 2026-03-16 Paul Thomas <[email protected]> gcc/fortran PR fortran/105168 * trans-expr.cc (gfc_conv_class_to_class): If the argument expr is not a class type use the parent tree if that is a class. (gfc_conv_procedure_call): If the argument expression is not a variable, shift the bounds to give unity lbounds. (gfc_trans_arrayfunc_assign): Return NULL_TREE instead of NULL. gcc/testsuite/ PR fortran/105168 * gfortran.dg/pr105168.f90: New test. (cherry picked from commit c523f2a33b92362af74a9ab91e4f9498c5988149)
