On some targets at -O2, pr125453-1.c testcase produces
a -Wstringop-overflow warning. Since this testcase is not testing
the warnings but rather an ICE, we can just add -w to the additional
options.
Pushed as obvious after testing it on x86_64-linux-gnu.
gcc/testsuite/ChangeLog:
* gcc.dg/torture/pr125453-1.c: Add -w to the options.
Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
/* { dg-do compile } */
/* { dg-additional-options "-fgimple" } */
+/* Disable all warnings since the code in h is undefined and could
+ invoke -Wstringop-overflow warnigns and others. */
+/* { dg-additional-options "-w" } */
/* PR tree-optimization/125453 */
int b[10];