testsuite: Add testcase for already fixed PR [PR94686]
This has been fixed by the PR71311 r7-1170-g4618c453205f18 change. 2020-04-21 Jakub Jelinek <jakub@redhat.com> PR c/94686 * gcc.c-torture/compile/pr94686.c: New test.
This commit is contained in:
parent
cd08718d57
commit
187bdbd564
@ -1,4 +1,9 @@
|
||||
2020-04-21 Iain Sandoe <iain@sandoe.co.uk>
|
||||
2020-04-21 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c/94686
|
||||
* gcc.c-torture/compile/pr94686.c: New test.
|
||||
|
||||
2020-04-21 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
PR c++/94661
|
||||
* g++.dg/coroutines/ramp-return-a.C: New test.
|
||||
@ -1277,7 +1282,7 @@
|
||||
PR c++/94336 - template keyword accepted before destructor names.
|
||||
* g++.dg/template/template-keyword2.C: New test.
|
||||
|
||||
2020-03-27 Iain Sandoe <iain@sandoe.co.uk>
|
||||
2020-03-27 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
* g++.dg/coroutines/torture/symmetric-transfer-00-basic.C:
|
||||
Add <cstdio>.
|
||||
|
9
gcc/testsuite/gcc.c-torture/compile/pr94686.c
Normal file
9
gcc/testsuite/gcc.c-torture/compile/pr94686.c
Normal file
@ -0,0 +1,9 @@
|
||||
/* PR c/94686 */
|
||||
|
||||
int a = 0, b = 0;
|
||||
|
||||
int
|
||||
foo (void)
|
||||
{
|
||||
return (int) (long) (b * 0 >= a & b * 0 >= a);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user