3 /* { dg-options "-g" } */
7 struct S
{ float f
, g
; };
9 __attribute__((noinline
, noclone
)) void
12 struct S s1
, s2
; /* { dg-final { gdb-test pr59776.c:17 "s1.f" "5.0" } } */
13 s1
= *p
; /* { dg-final { gdb-test pr59776.c:17 "s1.g" "6.0" } } */
14 s2
= s1
; /* { dg-final { gdb-test pr59776.c:17 "s2.f" "0.0" } } */
15 *(int *) &s2
.f
= 0; /* { dg-final { gdb-test pr59776.c:17 "s2.g" "6.0" } } */
16 asm volatile (NOP
: : : "memory"); /* { dg-final { gdb-test pr59776.c:20 "s1.f" "5.0" } } */
17 asm volatile (NOP
: : : "memory"); /* { dg-final { gdb-test pr59776.c:20 "s1.g" "6.0" } } */
18 s2
= s1
; /* { dg-final { gdb-test pr59776.c:20 "s2.f" "5.0" } } */
19 asm volatile (NOP
: : : "memory"); /* { dg-final { gdb-test pr59776.c:20 "s2.g" "6.0" } } */
20 asm volatile (NOP
: : : "memory");
26 struct S x
= { 5.0f
, 6.0f
};