comparison gcc/testsuite/gcc.target/i386/pr94795-2.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
1 /* PR target/94795 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4
5 char fooc (char x)
6 {
7 return -(x == 0);
8 }
9
10 short foos (short x)
11 {
12 return -(x == 0);
13 }
14
15 long fooi (long x)
16 {
17 return -(x == 0);
18 }
19
20 /* { dg-final { scan-assembler-times "sbb" 3 } } */