Commit 96ce28a3 by John David Anglin

re PR middle-end/56791 (Segmentation fault in stage2 gengenrtl -- Incorrect…

re PR middle-end/56791 (Segmentation fault in stage2 gengenrtl -- Incorrect instruction sequence generated by reload)

	PR middle-end/56791
	* config/pa/pa.c (pa_option_override): Disable auto increment and
	decrement instructions until reload is completed.

From-SVN: r202807
parent 578e51e6
2013-09-20 John David Anglin <danglin@gcc.gnu.org>
PR middle-end/56791
* config/pa/pa.c (pa_option_override): Disable auto increment and
decrement instructions until reload is completed.
* config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Define
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2,
and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
......
......@@ -513,6 +513,12 @@ pa_option_override (void)
write_symbols = NO_DEBUG;
}
#ifdef AUTO_INC_DEC
/* FIXME: Disable auto increment and decrement processing until reload
is completed. See PR middle-end 56791. */
flag_auto_inc_dec = reload_completed;
#endif
/* We only support the "big PIC" model now. And we always generate PIC
code when in 64bit mode. */
if (flag_pic == 1 || TARGET_64BIT)
......
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