Add testcase for PR97596
Add testcase gcc/testsuite * gcc.dg/pr97596.c: New.
This commit is contained in:
parent
9703b8d98c
commit
a3ffa866e3
1 changed files with 12 additions and 0 deletions
12
gcc/testsuite/gcc.dg/pr97596.c
Normal file
12
gcc/testsuite/gcc.dg/pr97596.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
void
|
||||
q8 (__int128 *uv, unsigned short int nf)
|
||||
{
|
||||
__int128 i4;
|
||||
|
||||
i4 = -nf;
|
||||
if (i4 << 1 != 0)
|
||||
*uv += nf;
|
||||
}
|
Loading…
Add table
Reference in a new issue