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
* config/sparc/driver-sparc.c (cpu_names): Add SPARC-T5 entry.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr78088.C
blob
1a5c0636aa37711e2d07c52594c2ff039749a122
1
// PR tree-optimization/78088
2
// { dg-do compile }
3
// { dg-options "-O3 -fsplit-loops" }
4
class A {
5
public:
6
int m_fn1();
7
};
8
struct B : A {
9
void m_fn2();
10
};
11
void B::m_fn2() {
12
long a;
13
int b, c;
14
for (;;) {
15
c = 0;
16
for (; c < a; ++c, ++b)
17
b > 0 ? m_fn1() : 0;
18
}
19
}