[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <B40F987A-423D-11D8-9E0E-000A957CD19C@jtan.com>
From: zorton at jtan.com (Justin Burket)
Subject: gcc: Internal compiler error: program cc1 got fatal signal 11
[~/Sandbox/C]gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
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.
[~/Sandbox/C]cat gcccrash.c
int main(void)
{
char a ="msux"[0xcafebabe];
}
[~/Sandbox/C]gcc gcccrash.c
[~/Sandbox/C]./a.out
Segmentation fault
OSX 10.3
On Jan 8, 2004, at 2:31 PM, TroyC wrote:
> gcc (GCC) 3.3.1 (SuSE Linux)
> Copyright (C) 2003 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.
>
> troyc@qon:/tmp> gcc -o gcc-crash gcc-crash.c
> troyc@qon:/tmp> ./gcc-crash
> Segmentation fault
> troyc@qon:/tmp>
>
> On Thursday 08 January 2004 14:39, Stormwalker wrote:
>> $ gcc --version
>> gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
>> 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.
>> $ gcc gcc-crash.c
>> $ ./a.out
>> Segmentation fault
>> $
>> =====================================================
>>
>> On Thu, 8 Jan 2004, 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
>
Powered by blists - more mailing lists