Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.target/i386/pr94914.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 /* PR tree-optimization/94914 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2" } */ | |
4 /* { dg-final { scan-assembler "\tseto\t" } } */ | |
5 /* { dg-final { scan-assembler "\tsetno\t" } } */ | |
6 | |
7 int | |
8 foo (unsigned int x, unsigned int y) | |
9 { | |
10 return (((unsigned long long)x * y) >> 32) != 0; | |
11 } | |
12 | |
13 int | |
14 bar (unsigned int x, unsigned int y) | |
15 { | |
16 return (((unsigned long long)x * y) >> 32) == 0; | |
17 } |