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] |
| Other format: | [Raw text] | |
gcc: Internal compiler error: program cc1 got fatal signal 11
Crashes on
2.95.3
2.95.4
Doesn't crash on
egcs-2.91.66
2.96
You should spend less time on developping cutting-edge features and more time
on ensuring the compiler at least doesn't crash on simple correct input.
/* Run this command:
* gcc -O2 segfault.c
*/
unsigned char zero(unsigned char i)
{
return 0;
}
int main(int argc, char **argv)
{
unsigned char a;
a=zero(a);
a=zero(a);
return 0;
}
--
Karel 'Clock' Kulhavy
Attachment:
segfault.c
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |