summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-11-10 11:23:54 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-11-10 11:23:54 +0000
commit949fa04c01b519c4924d7a71b28f40d467e390cd (patch)
tree65c38ff29e8986a8de3e0348ef60c96f216cb2b2 /gcc/config
parent96759a5b63db5bbdd09c53267445872e2d548ed9 (diff)
downloadgcc-949fa04c01b519c4924d7a71b28f40d467e390cd.tar.gz
re PR middle-end/20548 (ACATS c52103x c52104x c52104y segfault)
PR ada/20548 * explow.c (probe_stack_range): Fix typo. * config/sparc/sparc.md (probe_stack): New expander. From-SVN: r154061
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sparc/sparc.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index 516779200a9..caf84437ecf 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -6277,6 +6277,14 @@
""
[(set_attr "length" "0")])
+(define_expand "probe_stack"
+ [(set (match_operand 0 "memory_operand" "") (const_int 0))]
+ ""
+{
+ operands[0]
+ = adjust_address (operands[0], GET_MODE (operands[0]), SPARC_STACK_BIAS);
+})
+
;; Prepare to return any type including a structure value.
(define_expand "untyped_return"