aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2014-06-23 21:12:56 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2014-06-23 14:12:56 -0700
commit76da3a15ab5b03fbf44098422fe40e9db5b22fc3 (patch)
treee43a98416205b52c73604d4cffdd977838834851
parent3c40bd655ec365cd3998a78ca19600b52ea9a44a (diff)
downloadgcc-76da3a15ab5b03fbf44098422fe40e9db5b22fc3.zip
gcc-76da3a15ab5b03fbf44098422fe40e9db5b22fc3.tar.gz
gcc-76da3a15ab5b03fbf44098422fe40e9db5b22fc3.tar.bz2
20140723-1.c: New testcase.
2014-06-23 Andrew Pinski <apinski@cavium.com> * gcc.c-torture/compile/20140723-1.c: New testcase. From-SVN: r211917
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20140723-1.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 66db535..b0f902a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-23 Andrew Pinski <apinski@cavium.com>
+
+ * gcc.c-torture/compile/20140723-1.c: New testcase.
+
2014-06-23 Marek Polacek <polacek@redhat.com>
PR c/61553
diff --git a/gcc/testsuite/gcc.c-torture/compile/20140723-1.c b/gcc/testsuite/gcc.c-torture/compile/20140723-1.c
new file mode 100644
index 0000000..29b1a0b
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20140723-1.c
@@ -0,0 +1,4 @@
+double f(double a, double b, int c, int d)
+{
+ return (c>10&&d>20)?a:b;
+}