gcc_assert() and inhibit_libc
Jakub Jelinek
jakub@redhat.com
Mon Aug 16 17:06:16 GMT 2021
On Mon, Aug 16, 2021 at 12:50:49PM -0400, Jason Merrill via Gcc wrote:
> > The trap builtin is target-specific. Making this system-specific (in
> > this case RTEMS) could be an issue.
>
> Is that necessary? Are there interesting targets that don't have a trap insn?
Depends on the definition of interesting.
I think avr, bpf, c6x, cr16, epiphany, fr30, frv, ft32, h8300, lm32, m32c, m32r, mcore,
mmix, mn10300, moxie, msp430, or1k, pdp11, pru, rl78, rx, sh, stormy16, v850 and vax
don't have trap insn, while
aarch64, alpha, arc, arm, bfin, cris, csky, gcn, i386, ia64, iq2000, m68k, microblaze,
mips, nds32, nios2, nvptx, pa, riscv, rs6000, s390, sparc, tilegx, tilepro, visium and xtensa
have them.
Jakub
More information about the Gcc
mailing list