This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Funny bug



$ cat a.c
#include <stdio.h>

extern void malloc(size_t size); 

toto()
{
    malloc(100);
}

$ gcc -c a.c
gcc: Internal compiler error: program cc1 got fatal signal 11

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)

This bug has been first detected with egcs-1.1.2 on NT, and is still
present in gcc-2.95.2 on Linux. It looks quite generic.

  -- Benoit

PS: Just in case : Yes, I know that my program is stupid...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]