comparison gcc/testsuite/g++.target/i386/pr95229.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/95229
2 // { dg-do compile }
3 // { dg-options "-O3 -march=znver1" }
4
5 struct a {
6 unsigned long long b;
7 unsigned long long c;
8 };
9
10 class my_class {
11 public:
12 a d;
13 } e;
14
15 struct f {
16 unsigned g;
17 unsigned h;
18 void i();
19 };
20
21 void f::i() {
22 e.d.b += g;
23 e.d.c += h;
24 }