aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-12-10 22:04:08 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-12-10 22:04:08 +0100
commit6b24e342cb30abb5c13e3092929837545a5bd49e (patch)
treeb77d3b21518543c4c938866fdd9afd705a527070 /gcc/builtins.c
parent6b6a80654c704ee4ec9bb3c951af12353397a1b8 (diff)
downloadgcc-6b24e342cb30abb5c13e3092929837545a5bd49e.zip
gcc-6b24e342cb30abb5c13e3092929837545a5bd49e.tar.gz
gcc-6b24e342cb30abb5c13e3092929837545a5bd49e.tar.bz2
re PR middle-end/92825 (Unnecesary stack protection in Firefox's LightPixel.)
PR middle-end/92825 * cfgexpand.c (add_stack_protection_conflicts): Change return type from void to bool, return true if at least one stack_vars[i].decl is addressable. (record_or_union_type_has_array_p, stack_protect_decl_p): Remove. (expand_used_vars): Don't call stack_protect_decl_p, instead for -fstack-protector-strong set gen_stack_protect_signal to true if add_stack_protection_conflicts returned true. Formatting fixes. * doc/invoke.texi (-fstack-protector-strong): Clarify that optimized out variables or variables not living on the stack don't count. (-fstack-protector): Likewise. Clarify it affects >= 8 byte arrays rather than > 8 byte. * gcc.target/i386/pr92825.c: New test. From-SVN: r279193
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions