Re: [PATCH, PR110086] avr: Fix ICE on optimize attribute

2023-06-04 Thread Richard Biener via Gcc-patches
On Fri, Jun 2, 2023 at 11:54 AM SenthilKumar.Selvaraj--- via Gcc-patches wrote: > > Hi, > > This patch fixes an ICE when an optimize attribute changes the prevailing > optimization level. > > I found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105069 describing the > same ICE for the sh target, w

[PATCH, PR110086] avr: Fix ICE on optimize attribute

2023-06-02 Thread SenthilKumar.Selvaraj--- via Gcc-patches
Hi, This patch fixes an ICE when an optimize attribute changes the prevailing optimization level. I found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105069 describing the same ICE for the sh target, where the fix was to enable save/restore of target specific options modified via TARGET_OPTIMIZA