[committed] testsuite: Fix up broken testcase [PR107127]

Message ID Y387Ra+X63ssy1UG@tucnak
State Unresolved
Headers
Series [committed] testsuite: Fix up broken testcase [PR107127] |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jakub Jelinek Nov. 24, 2022, 9:37 a.m. UTC
  Hi!

On Thu, Nov 24, 2022 at 09:37:54AM +0800, haochen.jiang wrote:
> 8a0fce6a51915c29584427fd376b40073c328090 is the first bad commit
> commit 8a0fce6a51915c29584427fd376b40073c328090
> Author: Jakub Jelinek <jakub@redhat.com>
> Date:   Wed Nov 23 19:09:31 2022 +0100
> 
>     c: Fix compile time hog in c_genericize [PR107127]
> 
> caused
> 
> FAIL: gcc.dg/pr107127.c (test for excess errors)

Oops, sorry.
I've added { dg-options "" } line manually in the patch but
forgot to adjust the number of added lines.

Tested on x86_64-linux, committed to trunk as obvious.

2022-11-24  Jakub Jelinek  <jakub@redhat.com>

	PR c/107127
	* gcc.dg/pr107127.c (foo): Add missing closing }.



	Jakub
  

Patch

--- gcc/testsuite/gcc.dg/pr107127.c.jj	2022-11-23 19:09:24.670333114 +0100
+++ gcc/testsuite/gcc.dg/pr107127.c	2022-11-24 10:31:48.208143681 +0100
@@ -10,3 +10,4 @@  foo (_Complex double a, double b, double
   return v[0] / ((((c * (0 - 0 / a + 699.0 + 7.05 - 286.0 - +-4.65 + 1.57 + 0) * 0.1 - 3.28 + 4.22 + 0.1)) * b + 5.06)
 		 * 1.23 * 8.0 * 12.0 * 16.0 * 2.0 * 2.0 * 0.25 * 0.125 * 18.2 * -15.25 * 0.0001
 		 * 42.0 * 0.012 - 8.45 + 0 + 88.0 + 6.96 + 867.0 + 9.10 - 7.04 * -1.0);
+}