This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, microblaze]: Add -fstack-usage support


On 07/22/13 22:50, David Holsgrove wrote:
Hi Eric / Chung-Ju,

On 21 July 2013 01:33, Chung-Ju Wu <jasonwucj@gmail.com> wrote:
On 7/20/13 4:14 PM, Eric Botcazou wrote:

2013-03-18  David Holsgrove <david.holsgrove@xilinx.com>

   * gcc/config/microblaze/microblaze.c (microblaze_expand_prologue):
     Add check for flag_stack_usage to handle -fstack-usage support

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>


Patch remains the same, please apply when ready.


The patch is incorrect, please adjust it to match the other architectures.


Hi, David,

Specifically speaking, what Eric meant is to check
flag_stack_usage_info rather than flag_stack_usage
due to the changes after gcc-4.7.


Ah, thanks for the catch - patch had been sitting in my tree for quite a while,
hadn't realised the variable name had changed on trunk.

Patch attached which adjusts microblaze's usage to align with other archs.

Committed revision 201186.

Please send an updated ChangeLog when it is different from the
original.

ChangeLog:

2013-07-23  David Holsgrove <david.holsgrove@xilinx.com>

	* config/microblaze/microblaze.c (microblaze_expand_prologue):
	Rename flag_stack_usage to flag_stack_usage_info.



--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]