]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2014-06-23 Andrew Pinski <apinski@cavium.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jun 2014 21:12:56 +0000 (21:12 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jun 2014 21:12:56 +0000 (21:12 +0000)
* gcc.c-torture/compile/20140723-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211917 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20140723-1.c [new file with mode: 0644]

index 66db535d569c8685ee77ba8a5860ed3680859575..b0f902a3ce437288729d132ce7447ba9badb5bd9 100644 (file)
@@ -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 (file)
index 0000000..29b1a0b
--- /dev/null
@@ -0,0 +1,4 @@
+double f(double a, double b, int c, int d)
+{
+  return (c>10&&d>20)?a:b;
+}