re PR target/24284 (ICE (Segmentation fault))

PR target/24284
	* config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN.

From-SVN: r105195
This commit is contained in:
Eric Botcazou 2005-10-11 00:24:49 +02:00 committed by Eric Botcazou
parent ab711ed3c2
commit 542155d708
4 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-10 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/24284
* config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN.
2005-10-10 Maciej W. Rozycki <macro@linux-mips.org>
* gcc.c (do_spec_1): Accept numeric characters in file name

View File

@ -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));
}

View File

@ -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 <mark@codesourcery.com>

View File

@ -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;
}