This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jie Zhang wrote:I'm going to use an asm ().
> The code I posted in my first email is from libgloss/libnosys/_exit.c. > It's used to cause an exception deliberately. From your replies, it > seems it should find another way to do that.
Any code that tries to raise an exception deliberately is certainly depending on undefined behavior, so it has to be very careful about how it is written!
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |