re PR target/48344 (powerpc ICE with -fstack-limit-register=r2)
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Tue, 16 Feb 2016 23:12:19 +0000 (23:12 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Tue, 16 Feb 2016 23:12:19 +0000 (23:12 +0000)
commitecf835e9012955ba4a585b6084628dff9b259ee8
treee34511db2ac74e790ae8e1c9ff5065727eae8674
parent49a1164ae39421767ad9c4e755509bc82f30be09
re PR target/48344 (powerpc ICE with -fstack-limit-register=r2)

[gcc]

2016-02-16  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR Target/48344
* opts-global.c (handle_common_deferred_options): Introduce and
initialize two global variables to remember command-line options
specifying a stack-limiting register.
* opts.h: Add extern declarations of the two new global variables.
* emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
variable based on the values of the two new global variables.

[gcc/testsuite]

2016-02-16  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR Target/48344
* gcc.target/powerpc/pr48344-1.c: New test.

From-SVN: r233477
gcc/ChangeLog
gcc/emit-rtl.c
gcc/opts-global.c
gcc/opts.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr48344-1.c [new file with mode: 0644]