From: Jakub Jelinek Date: Wed, 15 Jun 2016 17:10:44 +0000 (+0200) Subject: * gcc.c-torture/compile/20160615-1.c: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61daecc46bd5dd2c24041651803bee8eeedae68d;p=gcc.git * gcc.c-torture/compile/20160615-1.c: New test. From-SVN: r237489 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ad4d230f969..a10f14353f2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2016-06-15 Jakub Jelinek + * gcc.c-torture/compile/20160615-1.c: New test. + * g++.dg/cpp0x/ref-qual17.C: New test. 2016-06-15 Ilya Enkovich diff --git a/gcc/testsuite/gcc.c-torture/compile/20160615-1.c b/gcc/testsuite/gcc.c-torture/compile/20160615-1.c new file mode 100644 index 00000000000..1865a77ed38 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20160615-1.c @@ -0,0 +1,10 @@ +int a; +void bar (int, unsigned, unsigned); + +void +foo (unsigned x) +{ + unsigned b = a ? x : 0; + if (x || b) + bar (0, x, b); +}