linux3/gcc46: “-fnon-call-exceptions”, which signals are trapping instructions?

前端 未结 1 981
慢半拍i
慢半拍i 2020-12-19 16:36

(Environment: gcc/g++ 4.6.1 in -std=gnu++0x mode on Linux 3.0 / x86_64...)

#include 
#include 
#include 

usi         


        
相关标签:
1条回答
  • 2020-12-19 17:31

    SIGILL, SIGTRAP, SIGBUS, SIGFPE, SIGSEGV, SIGSTKFLT are the most probable synchronous signals (i.e., generated by hardware as consequence of an instruction trying to do something invalid).

    0 讨论(0)
提交回复
热议问题