linux-mips
[Top] [All Lists]

Grrr...

To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr
Subject: Grrr...
From: ralf@uni-koblenz.de
Date: Fri, 5 Dec 1997 22:14:43 +0100
Sender: owner-linux@cthulhu.engr.sgi.com
Ok, I isolated the GCC problem I reported earlier today.  The following
little program which I extracted from binutils-2.8.1-1 will crash cc1 on
some Linux/MIPS boxes with SIGSEGV when compiled with optimization enabled:

  bfd_link_section_stabs (void)
  {
          unsigned long long i, count;

          for (i = 0; i < count; i++);
  }

It seems to be important that

 - i is unsigned long long
 - count is uninitialized

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Grrr..., ralf <=