diff mbox series

[committed] testsuite: Add testcase for no longer failing PR [PR102645]

Message ID 20220322074319.GB2664@tucnak
State New
Headers show
Series [committed] testsuite: Add testcase for no longer failing PR [PR102645] | expand

Commit Message

Jakub Jelinek March 22, 2022, 7:43 a.m. UTC
Hi!

This test started ICEing with r12-3876 but stopped with r12-5264.

Committed to trunk as obvious.

Can we close the PR (are the unroll-and-jam bugs if any are latent) tracked
elsewhere?

2022-03-22  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/102645
	* gcc.c-torture/compile/pr102645.c: New test.


	Jakub

Comments

Richard Biener March 22, 2022, 8:06 a.m. UTC | #1
On Tue, 22 Mar 2022, Jakub Jelinek wrote:

> Hi!
> 
> This test started ICEing with r12-3876 but stopped with r12-5264.
> 
> Committed to trunk as obvious.
> 
> Can we close the PR (are the unroll-and-jam bugs if any are latent) tracked
> elsewhere?

I think we can close the bug, I don't think there are any known
unroll-and-jam bugs left - I obviously missed this one ...

Richard.

> 2022-03-22  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR tree-optimization/102645
> 	* gcc.c-torture/compile/pr102645.c: New test.
> 
> --- gcc/testsuite/gcc.c-torture/compile/pr102645.c.jj	2022-03-21 19:24:05.926091267 +0100
> +++ gcc/testsuite/gcc.c-torture/compile/pr102645.c	2022-03-21 19:23:52.536275156 +0100
> @@ -0,0 +1,18 @@
> +/* PR tree-optimization/102645 */
> +
> +volatile int a[1], d;
> +int b, c;
> +
> +int
> +main ()
> +{
> +  if (b && c)
> +    for (c = 0; c < 3; c++)
> +      {
> +	for (int e = 0; e < 6; e++)
> +	  for (int f = 0; f < 12; f++)
> +	    d && a[0];
> +	continue;
> +      }
> +  return 0;
> +}
> 
> 	Jakub
> 
>
diff mbox series

Patch

--- gcc/testsuite/gcc.c-torture/compile/pr102645.c.jj	2022-03-21 19:24:05.926091267 +0100
+++ gcc/testsuite/gcc.c-torture/compile/pr102645.c	2022-03-21 19:23:52.536275156 +0100
@@ -0,0 +1,18 @@ 
+/* PR tree-optimization/102645 */
+
+volatile int a[1], d;
+int b, c;
+
+int
+main ()
+{
+  if (b && c)
+    for (c = 0; c < 3; c++)
+      {
+	for (int e = 0; e < 6; e++)
+	  for (int f = 0; f < 12; f++)
+	    d && a[0];
+	continue;
+      }
+  return 0;
+}