avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Bug in WinAVR 20030424


From: Oliver Tscherwitschke
Subject: [avr-gcc-list] Bug in WinAVR 20030424
Date: Mon, 28 Apr 2003 00:57:46 +0200

Hello,

The following code produces an "internal compiler error: Segmentation
fault":

/* --- bug.c --- */
void foo(char a)
{
    while (1);
}
/* --- end of bug.c --- */

Compile with:
avr-gcc -c -g -Os -mmcu=atmega103 -save-temps -Wunreachable-code bug.c -o bug.o

It does compile without problems when using -O0 or without -Wunreachable-code.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]