[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



You must execute it:

glozano@Grissom:~$ more a.c
int main(void)
 {
 printf("%c","msux"[0xcafebabe]);
 }
glozano@Grissom:~$ make a
cc     a.c   -o a
glozano@Grissom:~$ ./a
Segmentation fault


On Thu, 2004-01-08 at 17:59, Dani Wuck wrote:
> user@host:~$ echo 'int main(void)
>  > {
>  > printf("%c","msux"[0xcafebabe]);
>  > }'> ./gcc-crash.c
> user@host:~$ gcc ./gcc-crash.c
> user@host:~$
> 
> Not confirmed on Slackware 9.1 (patched kernel 2.4.24)
> GCC 3.2.3
> 
> Georgi Guninski wrote:
> 
> > $ gcc --version
> > 2.95.3
> > $ cat gcc-crash.c
> > int main(void)
> > {
> > printf("%c","msux"[0xcafebabe]);
> > }
> > $ gcc gcc-crash.c
> > gcc: Internal compiler error: program cc1 got fatal signal 11
> > 
> > _______________________________________________
> > Full-Disclosure - We believe in it.
> > Charter: http://lists.netsys.com/full-disclosure-charter.html
> > 
> 
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.netsys.com/full-disclosure-charter.html
-- 
Noldata TAC <tac@noldata.com>
Noldata Ltd.

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html