Re: [PATCH] fixed testcase fail in pr102892-2.c fixed tesccase fail in gcc.dg/pr102892-1.c

2021-12-29 Thread Andrew Pinski via Gcc-patches
On Wed, Dec 29, 2021 at 9:39 PM wrote: > > From: LiaoShihua > > * gcc.dg/pr102892-2.c: Add definition of function foo() which > declared in pr102892-1.c This patch is wrong. The testcase is testing to make sure foo was optimized out. If it is failing for you can you file a bug with the

[PATCH] fixed testcase fail in pr102892-2.c fixed tesccase fail in gcc.dg/pr102892-1.c

2021-12-29 Thread shihua
From: LiaoShihua * gcc.dg/pr102892-2.c: Add definition of function foo() which declared in pr102892-1.c --- gcc/testsuite/gcc.dg/pr102892-2.c | 5 + 1 file changed, 5 insertions(+) diff --git a/gcc/testsuite/gcc.dg/pr102892-2.c b/gcc/testsuite/gcc.dg/pr102892-2.c index