[Bug target/90256] Optimizer with interrupt routines

2023-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256

--- Comment #4 from Andrew Pinski  ---
The reason why it is target specific is because the attribute interrupt is
target specific and ipa-icf code has no knowledge of it. Basically the x86_64
backend when it sees interrupt attribute it should also add no_icf attribute.

[Bug target/90256] Optimizer with interrupt routines

2023-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256

--- Comment #3 from Andrew Pinski  ---
Easy work around is add to the attribute, noipa.

[Bug target/90256] Optimizer with interrupt routines

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256

nightstrike  changed:

   What|Removed |Added

 CC||nightstrike at gmail dot com

--- Comment #2 from nightstrike  ---
This is not target specific (or at least it also happens on x86_64-pc-linux).

[Bug target/90256] Optimizer with interrupt routines

2019-04-25 Thread nulano at nulano dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256

--- Comment #1 from nulano at nulano dot eu ---
Created attachment 46249
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46249=edit
code to reproduce