diff options
author | Marcos Diaz <marcos.diaz@tallertechnologies.com> | 2015-01-15 05:29:12 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-01-14 22:29:12 -0700 |
commit | 5434dc0730795cf6a2ef8a9fe20e4dcc9cd077be (patch) | |
tree | 491382b1163238c05c384ce06c8581bc06d76bfb /gcc/tree-data-ref.c | |
parent | 1a0c69834516bf7731d34aa47febea6850ed773f (diff) | |
download | gcc-5434dc0730795cf6a2ef8a9fe20e4dcc9cd077be.zip gcc-5434dc0730795cf6a2ef8a9fe20e4dcc9cd077be.tar.gz gcc-5434dc0730795cf6a2ef8a9fe20e4dcc9cd077be.tar.bz2 |
common.opt: New option -fstack-protector-explicit.
2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
* common.opt: New option -fstack-protector-explicit.
* cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
(stack_protect_decl_phase): Handle stack_protect attribute for
explicit stack protection requests.
(expand_used_vars): Similarly.
* doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
* doc/extend.texi: Add documentation for "stack_protect" attribute.
* doc/invoke.texi: Add documentation for -fstack-protector-explicit.
* c-cppbuiltin.c (c_cpp_builtins): New cpp define __SSP_EXPLICIT__
for the new option fstack-protector_explicit.
* c-common.c (c_common_attribute_table): Add stack_protect attribute.
(handle_stack_protect_attribute): New function.
* gcc.dg/stackprotectexplicit1.c: New test.
* g++.dg/stackprotectexplicit2.c: New test.
From-SVN: r219633
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions