Fix -Wstringop-overflow regression
we shouldn't claim string overflows for character arrays at end of structures; the code that tries to avoid these accidentally passed the address of the accessed member to array_at_struct_end_p(), but that one wants the component_ref or array_ref itself. Needs updating of one testcase that incorrectly expected warning to occur in this situation. From-SVN: r259083
Showing
gcc/testsuite/gcc.dg/Wstringop-overflow-4.c
0 → 100644
Please
register
or
sign in
to comment