comparison gcc/testsuite/gcc.dg/pr94172-2.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 /* PR c/94172 */
2 /* { dg-do compile } */
3 /* { dg-options "-Os -g -fshort-enums" } */
4
5 extern enum E e;
6 extern void bar (int a);
7 enum E { F };
8
9 void
10 foo (int a)
11 {
12 int l = e;
13 if (a)
14 {
15 __asm volatile ("nop");
16 l = 0;
17 }
18 bar (l);
19 }