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
PR tree-optimization/67955
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr23046.C
blob
eb8f395580bb385bb28eccf14acfc9753221f469
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
enum eumtype { ENUM1, ENUM2 };
5
void g(const eumtype kind );
6
void f(long i);
7
void g(const eumtype kind)
8
{
9
if ((kind != ENUM1) && (kind != ENUM2))
10
f(kind);
11
}