Re: [ARM] Fix bogus -fstack-usage warning on naked functions

2016-05-20 Thread Kyrill Tkachov
Hi Eric, On 16/05/16 09:40, Eric Botcazou wrote: Hi, -fstack-usage issues the "not supported by this target" warning on naked functions because the prologue routines do an early return for them. Tested on arm-eabi, may I apply it on all active branches? 2016-05-16 Eric Botcazou *

[ARM] Fix bogus -fstack-usage warning on naked functions

2016-05-16 Thread Eric Botcazou
Hi, -fstack-usage issues the "not supported by this target" warning on naked functions because the prologue routines do an early return for them. Tested on arm-eabi, may I apply it on all active branches? 2016-05-16 Eric Botcazou * config/arm/arm.c (arm_expand_prologue): Set the st