https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735
Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |siddhesh at gcc dot gnu.org
--- Comment #13 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> ---
This looks like a good opportunity to provide canonical attributes for:
(1) signal handlers so __attribute__((signal)) which is currently an AVR-only
option and
(2) async signal unsafe functions, e.g. __attribute((async_signal_unsafe)) to
annotate functions that are not safe to be called from within a signal handler.
That way this diagnostic is not limited to functions in glibc and can work
across TUs with the correct annotations.