Re: [PATCH] x86: Check interrupt instead of noreturn attribute

2024-02-25 Thread H.J. Lu
On Sun, Feb 25, 2024 at 8:54 AM Uros Bizjak wrote: > > On Sun, Feb 25, 2024 at 5:01 PM H.J. Lu wrote: > > > > ix86_set_func_type checks noreturn attribute to avoid incompatible > > attribute error in LTO1 on interrupt functions. Since TREE_THIS_VOLATILE > > is set also for _Noreturn without nore

Re: [PATCH] x86: Check interrupt instead of noreturn attribute

2024-02-25 Thread Uros Bizjak
On Sun, Feb 25, 2024 at 5:01 PM H.J. Lu wrote: > > ix86_set_func_type checks noreturn attribute to avoid incompatible > attribute error in LTO1 on interrupt functions. Since TREE_THIS_VOLATILE > is set also for _Noreturn without noreturn attribute, check interrupt > attribute for interrupt functi