[PATCH Ping] Extend -fstack-protector-strong to cover calls with return slot

Florian Weimer fweimer@redhat.com
Mon Feb 3 09:05:00 GMT 2014


On 01/17/2014 11:26 AM, Florian Weimer wrote:
> On 01/08/2014 03:57 PM, Florian Weimer wrote:
>
>> What about the attached version?  It still does not exactly match your
>> original suggestion because gimple_call_lhs (stmt) can be NULL_TREE if
>> the result is ignored and this case needs instrumentation, as you
>> explained, so I use the function return type in the aggregate_value_p
>> check.
>>
>> Testing is still under way, but looks good so far.  I'm bootstrapping
>> with BOOT_CFLAGS="-O2 -g -fstack-protector-strong" with Ada enabled, for
>> additional coverage.
>
> Testing passed without new regressions.  Is this okay for trunk?

Ping?  Thanks.

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Gcc-patches mailing list