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] | |
On 2/10/07, Jie Zhang <jzhang918@gmail.com> wrote: > 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.
Maybe you can use __builtin_trap() ?
The exception generated by __builtin_trap () might have been used by stack limit checking. Reusing it in _exit () might confuse the exception handler I think.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |