This is the mail archive of the
mailing list for the GCC project.
Re: [Patch, Fortran, OOP] PR 44912: Segmentation fault on TBP
> Guess that should be an 'xstrndup'
That was what I guessed too;-)
Your patch seems to fix also some of the tests in pr42051, pr43896, and pr44064.
It also causes some ICEs on invalid(?) codes such as
this_parent => this%parent ! <<<<<<<<<<<<
Error: Pointer assignment target is neither TARGET nor POINTER at (1)
pr43207.f90:13:0: internal compiler error: in next_statement, at fortran/parse.c:894
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Thanks for the patch,