https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116836
Bug ID: 116836 Summary: [SH] Unknown FPU mode switch state for inline-asm blocks Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target Milestone: --- Currently the FPU mode-switching does not take into account inline-asm blocks. As a result it's difficult to make sure that the FPU is in a known particular state when it his the inline-asm blocks. It makes inline-asm cumbersome to use, in particular with LTO, which can automatically inline functions and break the FPU mode assumptions at function entry. What people are currently doing is forcing those functions to be no-inline to avoid those issues. It would be better to have a way to control the FPU mode at inline-asm entry/exit somehow.