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
Showing
gcc/testsuite/gcc.dg/Wrestrict-15.c
0 → 100644
Please
register
or
sign in
to comment