AVR: target/84211 - Add a post reload register optimization pass.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr77677-2.c
blob4ba25f0c6fa5ea7dc887c1f24b8ea791fced553e
1 /* PR ipa/77677 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu17 -fpermissive -w" } */
5 enum machine_mode { MAX_MACHINE_MODE };
7 struct {
8 int mode : 8;
9 } a;
10 int b;
12 static int fn1();
14 void fn2() { fn1(a, a.mode); }
16 int fn1(a, mode) enum machine_mode mode;
17 { int c = b = c; }