[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-Disclosure] gcc: Internal compiler error: program cc1 got fatal signal 11
- To: full-disclosure@lists.netsys.com
- Subject: Re: [Full-Disclosure] gcc: Internal compiler error: program cc1 got fatal signal 11
- From: Luke Norman <luke@normanonline.co.uk>
- Date: Thu, 08 Jan 2004 23:52:36 +0000
Dan Wilder wrote:
You don't need the printf.
$ gcc --version
2.95.4
$ cat gcc-crash.c
int main(void)
{
char a = "msux"[0xcafebabe];
}
$ gcc gcc-crash.c
gcc: Internal compiler error: program cc1 got fatal signal 11
$ gcc --version
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat gcc-crash.c
int main(void)
{
printf("%c","msux"[0xcafebabe]);
}
$ gcc gcc-crash.c
$ ./a.out
Segmentation fault
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html