This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] testcases for -fstack-protector


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.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]