Hi,
On Mon, Sep 12 2022, Richard Biener via Gcc wrote:
> On Mon, Sep 12, 2022 at 1:23 PM Fredrik Hederstierna via Gcc
> wrote:
>>
>> Hi,
>>
>> We have a function that does not used an in-parameter, simplified example:
>>
>> void test_unused_string_param_gc(const char* unused)
>> {
>>// empty
On Mon, Sep 12, 2022 at 1:23 PM Fredrik Hederstierna via Gcc
wrote:
>
> Hi,
>
> We have a function that does not used an in-parameter, simplified example:
>
> void test_unused_string_param_gc(const char* unused)
> {
>// empty
> }
>
> Though when we have calls to this function, the arguments ar
Hi,
We have a function that does not used an in-parameter, simplified example:
void test_unused_string_param_gc(const char* unused)
{
// empty
}
Though when we have calls to this function, the arguments are still put in the
memory, causing unnecessary flash memory usage for 'dead parameters'