From: Jan Hubicka Date: Thu, 1 Oct 2020 13:43:56 +0000 (+0200) Subject: Add gcc.c-torture/compile/pr97243.c testcase. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73c977cb0a112ac58fae18af44576ade8ab3aa26;p=gcc.git Add gcc.c-torture/compile/pr97243.c testcase. PR ipa/97243 * gcc.c-torture/compile/pr97243.c: New test. --- diff --git a/gcc/testsuite/gcc.c-torture/compile/pr97243.c b/gcc/testsuite/gcc.c-torture/compile/pr97243.c new file mode 100644 index 00000000000..4d10a22de77 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr97243.c @@ -0,0 +1,10 @@ +/* { dg-options "-fipa-modref -fipa-icf" } */ +float fma_test1(float a, float b, float c) { + float x = a * b + c; + return x; +} +float fma_test2(float a, float b, float c) { + float x = a * b + c; + return x; +} +