pr107557-[12].c invoke -flto option but do not check that the target
support LTO. This patch adds dg-require lto to the testcases.
* gcc.dg/pr107557-1.c: Require LTO support.
* gcc.dg/pr107557-2.c: Require LTO support.
Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
/* PR107557
* { dg-do compile }
+ * { dg-require-effective-target lto }
* { dg-options "-flto -fsanitize=undefined -fexceptions -Wno-incompatible-pointer-types" }
*/
/* PR107557
* { dg-do compile }
+ * { dg-require-effective-target lto }
* { dg-options "-flto -fsanitize=undefined -fexceptions -Wno-incompatible-pointer-types" }
*/