testsuite: Require LTO for pr107557-[12].c
commit23f352972faabe94606687558a66135f9a9e17fb
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 1 Jun 2023 19:16:27 +0000 (1 15:16 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 2 Jun 2023 13:30:48 +0000 (2 09:30 -0400)
tree3b847eea06be9c43c515366c2e3d5dd909432192
parent9f926f3a0c8dee7edb6807323a1fe2a92b33bfaa
testsuite: Require LTO for pr107557-[12].c

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>
gcc/testsuite/gcc.dg/pr107557-1.c
gcc/testsuite/gcc.dg/pr107557-2.c