http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53146
Erik Thiele changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53146
--- Comment #3 from Erik Thiele 2012-04-27 20:01:04
UTC ---
Created attachment 27255
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27255
collection of output files created by shellscript to show invalid code.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53146
--- Comment #2 from Erik Thiele 2012-04-27 19:55:49
UTC ---
run the shell script to compile the source and transfer it to an atmega8
attached to a stk500 programmer.
if you read the sourcecode you see, it should end in an endless loop.
instead
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53146
--- Comment #1 from Erik Thiele 2012-04-27 19:54:00
UTC ---
Created attachment 27254
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27254
source code to demonstrate problem
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53146
Bug #: 53146
Summary: switch statement compiling wrong code
Classification: Unclassified
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: normal
Priority: P3