repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
AVR: target/84211 - Add a post reload register optimization pass.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr77677-2.c
blob
4ba25f0c6fa5ea7dc887c1f24b8ea791fced553e
1
/* PR ipa/77677 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu17 -fpermissive -w" } */
4
5
enum
machine_mode
{
MAX_MACHINE_MODE
};
6
7
struct
{
8
int
mode
:
8
;
9
}
a
;
10
int
b
;
11
12
static int
fn1
();
13
14
void
fn2
() {
fn1
(
a
,
a
.
mode
); }
15
16
int
fn1
(
a
,
mode
)
enum
machine_mode mode
;
17
{
int
c
=
b
=
c
; }