This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/78098] error: interrupt service routine can't be called directly
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Oct 2016 16:21:29 +0000
- Subject: [Bug middle-end/78098] error: interrupt service routine can't be called directly
- Auto-submitted: auto-generated
- References: <bug-78098-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098
--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Liška from comment #15)
> >
> > Not with interrupt handler which needs different epilogue and prologue.
>
> I see, however I'm not sure it's known information when IPA ICF is running.
> Or am I wrong?
The information is available. But I don't know if ICF should be concerned.
We can disable ICF for interrupt handler or use it as a feature to detect
code duplication for interrupt handler, which I submitted a patch for:
https://gcc.gnu.org/ml/gcc-patches/2016-10/msg02177.html