Hi Thomas,

thanks for the ok. Unfortunately does the patch regress in gomp (test case gomp/pr104382 when I am not mistaken ; the one with the lone 'save' statement). This was reported by the regression testing host at first for arm, but also occurs on x86_64. Since when are proposed patches checked by a CI? That's fantastic!

I will continue to investigate how to fix that issue.

Regards,
Andre
Andre Vehreschild *  ve...@gmx.de
Am 2. Juni 2025 20:10:06 schrieb Thomas Koenig <tkoe...@netcologne.de>:

Hi Andre,


attached patch fixes a missing substring ref on a saved allocatable string.
The issue seems to be, that the variable is declared to be a character pointer
and not a character array. When using the latter (why not), it works as
expected and does not produce any regressions.

Regtests ok on x86_64-pc-linux-gnu / F41. Ok for mainlines?

OK for trunk and also for backporting to gcc 15 (it is a 15/16
regression).

Best regards

        Thomas

Reply via email to