aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index c94680c..8f8c96f 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4570,9 +4570,14 @@ stack_protect_prologue (void)
tree guard_decl = targetm.stack_protect_guard ();
rtx x, y;
+ printf ("TESTx\n");
+
x = expand_normal (crtl->stack_protect_guard);
y = expand_normal (guard_decl);
+ debug_rtx (x);
+ debug_rtx (y);
+
/* Allow the target to copy from Y to X without leaking Y into a
register. */
if (HAVE_stack_protect_set)
@@ -4604,9 +4609,14 @@ stack_protect_epilogue (void)
rtx label = gen_label_rtx ();
rtx x, y, tmp;
+ printf ("TESTz\n");
+
x = expand_normal (crtl->stack_protect_guard);
y = expand_normal (guard_decl);
+ debug_rtx (x);
+ debug_rtx (y);
+
/* Allow the target to compare Y with X without leaking either into
a register. */
switch (HAVE_stack_protect_test != 0)