This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does arm-none-eabi-gcc support integer overflow check -ftrapv?

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