This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81654] Should interrupt attribute be allowed together with naked attribute?


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81654

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Short answer to the question in the summary: No.

You are out of luck with every function that touches the stack in any kind of
automatic way.

Patch that makes interrupt and naked attribute mutually exclusive is welcome,
even if the subject falls into "Doctor, it hurts when I do that..." category.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]