From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: egcs@cygnus.com Subject: A -funroll-loops bug Date: Fri, 31 Oct 1997 16:50:00 -0000 Message-id: X-SW-Source: 1997-10/msg01277.html On linux/x86, I got # gcc -S -g -O -funroll-loops foo.cc foo.cc: In function `void splittest()': foo.cc:16: Internal compiler error. foo.cc:16: Please submit a full bug report to `egcs-bugs@cygnus.com'. If I take out -g or -funroll-loops, it compiles ok. -- H.J. Lu (hjl@gnu.ai.mit.edu) ---foo.cc-- class String { public: String(); ~String(); int OK() const; }; void splittest() { String w[10]; for (int i = 0; i < 5; ++i) { if (!w[i].OK()) return; } }