diff options
author | Jan Hubicka <jh@suse.cz> | 2020-10-01 15:43:56 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2020-10-01 15:43:56 +0200 |
commit | 73c977cb0a112ac58fae18af44576ade8ab3aa26 (patch) | |
tree | 9d8983e563b7c61465c699ed5a0a1025ed589c2e | |
parent | 899c10c9d6caba9ec372174527d5bf2866edd32c (diff) | |
download | gcc-73c977cb0a112ac58fae18af44576ade8ab3aa26.zip gcc-73c977cb0a112ac58fae18af44576ade8ab3aa26.tar.gz gcc-73c977cb0a112ac58fae18af44576ade8ab3aa26.tar.bz2 |
Add gcc.c-torture/compile/pr97243.c testcase.
PR ipa/97243
* gcc.c-torture/compile/pr97243.c: New test.
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr97243.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 0000000..4d10a22 --- /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; +} + |