OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [constant1.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/49855
2
 
3
extern void foo(int);
4
 
5
template  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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.