diff options
author | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2016-02-16 23:12:19 +0000 |
---|---|---|
committer | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2016-02-16 23:12:19 +0000 |
commit | ecf835e9012955ba4a585b6084628dff9b259ee8 (patch) | |
tree | e34511db2ac74e790ae8e1c9ff5065727eae8674 /gcc/opts.h | |
parent | 49a1164ae39421767ad9c4e755509bc82f30be09 (diff) | |
download | gcc-ecf835e9012955ba4a585b6084628dff9b259ee8.zip gcc-ecf835e9012955ba4a585b6084628dff9b259ee8.tar.gz gcc-ecf835e9012955ba4a585b6084628dff9b259ee8.tar.bz2 |
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
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -296,6 +296,10 @@ struct cl_option_handlers struct cl_option_handler_func handlers[3]; }; +/* Hold command-line options associated with stack limitation. */ +extern const char *opt_fstack_limit_symbol_arg; +extern int opt_fstack_limit_register_no; + /* Input file names. */ extern const char **in_fnames; |