OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
constant1.C
1
// PR c++/49855
2
3
extern void foo(int);
4
5
template <class Key, class Value> void Basic() {
6
const int kT = 1.5e6; // <--- causes ICE
7
int size = kT*2/3;
8
do {
9
foo(size);
10
size = size * 0.5 - 1;
11
} while (size >= 0 );
12
13
}