projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899c10c
)
Add gcc.c-torture/compile/pr97243.c testcase.
author
Jan Hubicka
<jh@suse.cz>
Thu, 1 Oct 2020 13:43:56 +0000
(15:43 +0200)
committer
Jan Hubicka
<jh@suse.cz>
Thu, 1 Oct 2020 13:43:56 +0000
(15:43 +0200)
PR ipa/97243
* gcc.c-torture/compile/pr97243.c: New test.
gcc/testsuite/gcc.c-torture/compile/pr97243.c
[new file with mode: 0644]
patch
|
blob
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr97243.c
b/gcc/testsuite/gcc.c-torture/compile/pr97243.c
new file mode 100644
(file)
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;
+}
+