[Bug target/70216] [SH] Implement __builtin_trap
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 13 13:11:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216
--- Comment #3 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Kazumoto Kojima from comment #2)
>
> I think that # less than 0x20 are reserved by kernel, gdb uses 0x20
> and 0xc3 and gcc uses 0x33 for profiling. Perhaps 0x54 (ascii 'T')
> or something?
If there are no other opinions, I guess I'll just do that. I don't have any
better idea.
Basically it's the same question as in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54272#c2
Emitting a function call into libgcc for __builtin_trap could also be an option
(-mbuiltin-trap=libcall)
More information about the Gcc-bugs
mailing list