[Bug target/28896] -fstack-limit-symbol and m68k and non 68020

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 31 03:06:00 GMT 2006



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-08-31 03:06 -------
Oh:
  if (current_function_limit_stack
      && GET_CODE (stack_limit_rtx) == SYMBOL_REF)
    asm_fprintf (stream, "\tcmp" ASM_DOT "l %I%s+%wd,%Rsp\n\ttrapcs\n",
                 XSTR (stack_limit_rtx, 0), current_frame.size + 4);

So this is a problem with more than coldfire then and also 68000 and 68010 code
gen.

Really m68k_output_function_prologue should be rewritten to use rtl patterns
instead of text.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-31 03:06:40
               date|                            |
            Summary|conditional trap goes messed|-fstack-limit-symbol and
                   |up                          |m68k and non 68020


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28896



More information about the Gcc-bugs mailing list