public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* A -funroll-loops bug
@ 1997-10-31 16:50 H.J. Lu
  1997-11-07 19:55 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 1997-10-31 16:50 UTC (permalink / raw)
  To: egcs

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;
  }
}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-11-07 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-31 16:50 A -funroll-loops bug H.J. Lu
1997-11-07 19:55 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).