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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
constant1.C
blob
a2c5a08d366e55b7869bf298428b60ff4ad00cc8
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
}