Commit 959ded61 by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/71109 (gcc ICE at -O3 on valid code on x86_64-linux-gnu…

re PR tree-optimization/71109 (gcc ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start")

	PR tree-optimization/71109
	* gcc.c-torture/compile/pr71109.c: New test.

From-SVN: r266738
parent bcda485b
2018-12-03 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/71109
* gcc.c-torture/compile/pr71109.c: New test.
PR target/88287
* g++.target/aarch64/sve/vcond_1.C: Adjust for comparison
canonicalization.
......
/* PR tree-optimization/71109 */
struct S { int g, h; signed char i; int j; signed char k; int l[4]; } a, c;
struct T { signed char g; } e;
int *b, d;
static void foo ();
void
bar (void)
{
while (d)
{
int k;
struct T f[3];
foo (bar, a);
for (k = 0;; k++)
f[k] = e;
}
}
static inline void
foo (int x, struct S y, struct T z)
{
for (z.g = 2; z.g; z.g--)
{
c = a = y;
*b |= 6;
if (y.g)
break;
}
}
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