[Bug target/14202] [arm] Thumb __builtin_setjmp not interworking safe

drow at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 19 14:56:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list