[patch] testcases for -fstack-protector

Eric Christopher echristo@apple.com
Tue Mar 20 21:52:00 GMT 2007


On Mar 20, 2007, at 9:30 AM, Richard Henderson wrote:

> On Tue, Mar 13, 2007 at 04:07:26PM -0700, Eric Christopher wrote:
>> Here's a couple of quick tests to ensure that -fstack-protector is
>> working. I've got them enabled for native only.
>
> Not all targets support -fstack-protector.  You'll want
> to have a target-supports test that looks for the warning
> "-fstack-protector not supported for this target" when
> compiling an empty file.

OK, I'll do that. Sorry.

-eric



More information about the Gcc-patches mailing list