diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c30ee95b812..a300ed4886a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-11-10 Kevin Buettner + + * config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2. + (prologue_enter_32): Set FB to SP - 4. + 2008-11-10 DJ Delorie * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add ImB diff --git a/gcc/config/m32c/prologue.md b/gcc/config/m32c/prologue.md index 25ac1c5b9a7..4784e71e131 100644 --- a/gcc/config/m32c/prologue.md +++ b/gcc/config/m32c/prologue.md @@ -35,7 +35,7 @@ [(set (mem:HI (plus:HI (reg:HI SP_REGNO) (const_int -2))) (reg:HI FB_REGNO)) (set (reg:HI FB_REGNO) - (reg:HI SP_REGNO)) + (plus:HI (reg:HI SP_REGNO) (const_int -2))) (set (reg:HI SP_REGNO) (minus:HI (reg:HI SP_REGNO) (match_operand 0 "const_int_operand" "i"))) @@ -54,7 +54,7 @@ [(set (mem:SI (plus:PSI (reg:PSI SP_REGNO) (const_int -4))) (reg:SI FB_REGNO)) (set (reg:PSI FB_REGNO) - (reg:PSI SP_REGNO)) + (plus:PSI (reg:PSI SP_REGNO) (const_int -4))) (set (reg:PSI SP_REGNO) (minus:PSI (reg:PSI SP_REGNO) (match_operand 0 "const_int_operand" "i")))