aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-06-18 12:00:36 -0600
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:14:02 -0300
commita0e06e32c1d8a34c484a13f854b485328eddbc6d (patch)
tree4d2c6a55b06b4b5ef46eef2793d120c930ab705f /gcc/fortran
parent2e323e17e4839b7ea7eee20db6e4206a8ac618e4 (diff)
downloadgcc-a0e06e32c1d8a34c484a13f854b485328eddbc6d.zip
gcc-a0e06e32c1d8a34c484a13f854b485328eddbc6d.tar.gz
gcc-a0e06e32c1d8a34c484a13f854b485328eddbc6d.tar.bz2
Avoid warning for memset writing over multiple members.
Resolves: PR middle-end/95667 - unintended warning for memset writing across multiple members PR middle-end/92814 - missing -Wstringop-overflow writing into a dynamically allocated flexible array member gcc/ChangeLog: PR middle-end/95667 PR middle-end/92814 * builtins.c (compute_objsize): Remove call to compute_builtin_object_size and instead compute conservative sizes directly here. gcc/testsuite/ChangeLog: PR middle-end/95667 PR middle-end/92814 * gcc.dg/Wstringop-overflow-25.c: Remove xfails. * gcc.dg/Wstringop-overflow-39.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions