aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2018-04-20 23:43:51 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2018-04-20 17:43:51 -0600
commit8cd95cec0f5bde4d78dd26778f6070b3bdda6672 (patch)
treee2c3ae88ecc8a5de23f062a8f185c0f70860ae17 /gcc/expr.c
parent661eb8f9e5270df79c21601273219e2a8e282204 (diff)
downloadgcc-8cd95cec0f5bde4d78dd26778f6070b3bdda6672.zip
gcc-8cd95cec0f5bde4d78dd26778f6070b3bdda6672.tar.gz
gcc-8cd95cec0f5bde4d78dd26778f6070b3bdda6672.tar.bz2
PR c/85365 - -Wrestrict false positives with -fsanitize=undefined
gcc/ChangeLog: PR c/85365 * gimple-fold.c (gimple_fold_builtin_strcpy): Suppress -Wrestrict for null pointers. (gimple_fold_builtin_stxcpy_chk): Same. * gimple-ssa-warn-restrict.c (check_bounds_or_overlap): Same. gcc/testsuite/ChangeLog: PR c/85365 * gcc.dg/Wrestrict-15.c: New test. From-SVN: r259535
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions