mirror of git://gcc.gnu.org/git/gcc.git
stack-usage-1.c (SIZE): Define for the RL78.
* gcc.dg/stack-usage-1.c (SIZE): Define for the RL78. * config/rl78/rl78.c (rl78_expand_prologue): Set stack use information, if requested. From-SVN: r186313
This commit is contained in:
parent
7bc14a04f2
commit
cf5025b683
|
@ -1,3 +1,8 @@
|
|||
2012-04-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/rl78/rl78.c (rl78_expand_prologue): Set stack use
|
||||
information, if requested.
|
||||
|
||||
2012-04-11 Peter Bergner <bergner@vnet.ibm.com>
|
||||
Michael Matz <matz@suse.de>
|
||||
|
||||
|
@ -26,7 +31,7 @@
|
|||
(sh_secondary_reload): Add HImode case. Use satisfies_constraint_Sdd,
|
||||
disp_addr_displacement and max_mov_insn_displacement.
|
||||
(max_mov_insn_displacement): Remove HImode check.
|
||||
* config/sh/sh.h (CONST_OK_FOR_K04, CONST_OK_FOR_K12,
|
||||
* config/sh/sh.h (CONST_OK_FOR_K04, CONST_OK_FOR_K12,
|
||||
DISP_ADDR_P, DISP_ADDR_OFFSET): Remove.
|
||||
* config/sh/constraints.md (K05, K13): New constraints.
|
||||
(K12): Correct comment.
|
||||
|
|
|
@ -827,6 +827,9 @@ rl78_expand_prologue (void)
|
|||
if (!cfun->machine->computed)
|
||||
rl78_compute_frame_info ();
|
||||
|
||||
if (flag_stack_usage_info)
|
||||
current_function_static_stack_size = cfun->machine->framesize;
|
||||
|
||||
for (i = 0; i < 16; i++)
|
||||
if (cfun->machine->need_to_push [i])
|
||||
{
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2012-04-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* gcc.dg/stack-usage-1.c (SIZE): Define for the RL78.
|
||||
|
||||
2012-04-11 Peter Bergner <bergner@vnet.ibm.com>
|
||||
|
||||
PR target/16458
|
||||
|
|
|
@ -58,6 +58,8 @@
|
|||
# define SIZE 224
|
||||
#elif defined (__epiphany__)
|
||||
# define SIZE (256 - __EPIPHANY_STACK_OFFSET__)
|
||||
#elif defined (__RL78__)
|
||||
# define SIZE 254
|
||||
#else
|
||||
# define SIZE 256
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue