Commit de2ad117 by Wilco Dijkstra Committed by Wilco Dijkstra

Add missing testcase for PR89190

    testsuite/
	PR target/89190
	* gcc.target/arm/pr89190.c: New test.

From-SVN: r273524
parent 7f5ddfcb
2019-07-16 Wilco Dijkstra <wdijkstr@arm.com>
PR target/89190
* gcc.target/arm/pr89190.c: New test.
2019-07-16 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/91164
......
/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v8m_base_ok } */
/* { dg-options "-O2" } */
/* { dg-add-options arm_arch_v8m_base } */
long long a;
int b, c;
int d(int e, int f) { return e << f; }
void g() {
long long h;
char i = d(b >= 7, 2);
c = i == 0 ?: 1 / i;
h = c && a ?: c + a;
b = h;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment