summaryrefslogtreecommitdiff
path: root/gcc/opts.h
diff options
context:
space:
mode:
authorKelvin Nilsen <kelvin@gcc.gnu.org>2016-02-16 23:12:19 +0000
committerKelvin Nilsen <kelvin@gcc.gnu.org>2016-02-16 23:12:19 +0000
commitecf835e9012955ba4a585b6084628dff9b259ee8 (patch)
treee34511db2ac74e790ae8e1c9ff5065727eae8674 /gcc/opts.h
parent49a1164ae39421767ad9c4e755509bc82f30be09 (diff)
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/opts.h b/gcc/opts.h
index fa479d83da5..1b5cf448a29 100644
--- a/gcc/opts.h
+++ b/gcc/opts.h
@@ -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;