re PR c/67410 (c/c-typeck.c references out of bounds array)
PR c/67410 * c-typeck.c (set_nonincremental_init_from_string): Use / instead of % to determine val element to change. Assert that wchar_bytes * charwidth fits into val array. * gcc.dg/pr67410.c: New test. Co-Authored-By: Martin Liska <mliska@suse.cz> From-SVN: r239419
Showing
gcc/testsuite/gcc.dg/pr67410.c
0 → 100644
Please
register
or
sign in
to comment