[patch] testcases for -fstack-protector
Tue Mar 20 16:34:00 GMT 2007
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.
More information about the Gcc-patches