Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/20040217-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* This used to ICE on s390x due to a bug in simplify_if_then_else. */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2" } */ | |
4 | |
5 extern void use (int); | |
6 void test (void) | |
7 { | |
8 union | |
9 { | |
10 unsigned long ul; | |
11 signed char sc; | |
12 } u; | |
13 | |
14 u.sc = 8; | |
15 u.sc &= 25; | |
16 | |
17 use (u.sc); | |
18 } | |
19 |