From: ebotcazou Date: Mon, 10 Oct 2005 22:24:49 +0000 (+0000) Subject: PR target/24284 X-Git-Tag: upstream/4.9.2~58257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=123ff16e6b42722b33a589c388d97f28e801e140;p=platform%2Fupstream%2Flinaro-gcc.git PR target/24284 * config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105195 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f75b7a3..1a7a24e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-10-10 Eric Botcazou + + PR target/24284 + * config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN. + 2005-10-10 Maciej W. Rozycki * gcc.c (do_spec_1): Accept numeric characters in file name diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index b0cde28..0113533 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -3918,7 +3918,7 @@ sparc_expand_prologue (void) insn = emit_insn (gen_stack_pointer_inc (reg)); REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_FRAME_RELATED_EXPR, - PATTERN (gen_stack_pointer_inc (GEN_INT (-actual_fsize))), + gen_stack_pointer_inc (GEN_INT (-actual_fsize)), REG_NOTES (insn)); } diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0413db8..c8514a8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -5,6 +5,7 @@ * gcc.dg/ucnid-4.c: Likewise. * gcc.dg/tree-ssa/gen-vect-25.c (main): Return a value. * g++.dg/other/ucnid-1.C: Likewise. + * gcc.dg/sparc-frame-1.c: New test. 2005-10-10 Mark Mitchell diff --git a/gcc/testsuite/gcc.dg/sparc-frame-1.c b/gcc/testsuite/gcc.dg/sparc-frame-1.c new file mode 100644 index 0000000..24fe390 --- /dev/null +++ b/gcc/testsuite/gcc.dg/sparc-frame-1.c @@ -0,0 +1,12 @@ +/* PR target/24284 */ +/* { dg-do compile { target sparc*-*-* } } */ +/* { dg-options "-O -g" } */ + +void do_run(void *ip) +{ + char dummy[8192]; + + __asm__("" : : "g"(dummy)); + + goto *ip; +}