The gcc manual says
"
ftrapv
This option generates traps for signed overflow on addition, subtraction, multiplication operations.
and if arm-none-eabi-gcc support -ftrapv, how does it generate the trap? generates a hardware
fault?
my platform is cortex-m4 and cortex=m33.
Thanks a log
Br,
Yingchun