Commit 83810fcb by Richard Sandiford Committed by Richard Sandiford

re PR target/7297 ([irix6 o32] sjlj exceptions fail)

	PR target/7297
	* except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().

From-SVN: r76754
parent 9a1564bb
2004-01-27 Richard Sandiford <rsandifo@redhat.com>
PR target/7297
* except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().
2004-01-27 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting
......
......@@ -412,10 +412,8 @@ init_eh (void)
tmp = build_int_2 (FIRST_PSEUDO_REGISTER + 2 - 1, 0);
#endif
#else
/* This is 2 for builtin_setjmp, plus whatever the target requires
via STACK_SAVEAREA_MODE (SAVE_NONLOCAL). */
tmp = build_int_2 ((GET_MODE_SIZE (STACK_SAVEAREA_MODE (SAVE_NONLOCAL))
/ GET_MODE_SIZE (Pmode)) + 2 - 1, 0);
/* builtin_setjmp takes a pointer to 5 words. */
tmp = build_int_2 (5 * BITS_PER_WORD / POINTER_SIZE - 1, 0);
#endif
tmp = build_index_type (tmp);
tmp = build_array_type (ptr_type_node, tmp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment