[Bug c++/64110] ICE: Max. number of generated reload insns per insn is achieved (90)

thiago at kde dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 29 07:17:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64110

--- Comment #2 from Thiago Macieira <thiago at kde dot org> ---
creduce reduced to the following testcase:

====
class A {
public:
  short &m_fn1() { return ucs; }
  short ucs;
};

class C {
public:
  int m_fn2();
} a;
A *b;
C c;
void fn1(A p1) {
  while (&a) {
    int d = c.m_fn2();
    for (int i; i < d; ++i)
      b++->m_fn1() = p1.m_fn1();
  }
}
====



More information about the Gcc-bugs mailing list