Re: [PATCH] ipa/106124 - ICE with -fkeep-inline-functions and OpenMP

2023-04-02 Thread Jeff Law via Gcc-patches
On 3/28/23 00:20, Richard Biener via Gcc-patches wrote: The testcases in this bug reveal cases where an early generated type is collected because it was unused but gets attempted to be recreated later when a late DIE for a function (an OpenMP reduction) is created. That's unexpected and possi

Re: [PATCH] ipa/106124 - ICE with -fkeep-inline-functions and OpenMP

2023-03-28 Thread Jakub Jelinek via Gcc-patches
On Tue, Mar 28, 2023 at 06:20:36AM +, Richard Biener via Gcc-patches wrote: > The testcases in this bug reveal cases where an early generated > type is collected because it was unused but gets attempted to > be recreated later when a late DIE for a function (an OpenMP > reduction) is created.

[PATCH] ipa/106124 - ICE with -fkeep-inline-functions and OpenMP

2023-03-27 Thread Richard Biener via Gcc-patches
The testcases in this bug reveal cases where an early generated type is collected because it was unused but gets attempted to be recreated later when a late DIE for a function (an OpenMP reduction) is created. That's unexpected and possibly the fault of OpenMP but the following allows the re-creat