This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14202] [arm] Thumb __builtin_setjmp not interworking safe
- From: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2004 14:56:56 -0000
- Subject: [Bug target/14202] [arm] Thumb __builtin_setjmp not interworking safe
- References: <20040218230529.14202.drow@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From drow at gcc dot gnu dot org 2004-02-19 14:56 -------
Subject: Re: [arm] Thumb __builtin_setjmp not interworking safe
Won't that leave bits of GNAT broken? I think it uses __builtin_setjmp
explicitly.
Also, it has occured to me that my solution does not fix the whole
problem. Normally, emit_indirect_jump is used within a function (for
instance, TRY_FINALLY_EXPR, or computed goto). For those mov pc is
appropriate. But for __builtin_setjmp it isn't. keep_stack_depressed
even has the hideous:
jump_insn = emit_jump_insn (gen_indirect_jump (retaddr));
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14202