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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aurelien at aurel32 dot net,
                   |                            |glaubitz at physik dot 
fu-berlin.d
                   |                            |e, kkojima at gcc dot gnu.org

--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> ---
I'm thinking to add a new -m option to enable the generation of the SH trap
insn for __builtin_trap.

For example: -mbuiltin_trap=123 would emit "trap #123".

For sh4-linux this option should be enabled by default with some useful trap
number value.  Which trap number should be used in this case?

Reply via email to