piclist 2008\07\22\135114a >
Thread: What to do about compiler bug and source code?
face picon face BY : William Couture email (remove spam text)

OK, I've run into a situation at work, and would like some feedback from the

I've found a nasty bug in a C compiler (IAR for Atmel (ATMega),
version 4.21A and 5.11B)
(using the ATMega644 and cranking optimization up to max, 32-bit locals that are
put in registers are not properly handled (only sets lower 2 bytes out
of 4, or in one case
does not set registers at all!)).

I'm going to contact IAR shortly, but since I can't reproduce it in a
sample fragment, I'm
sure that IAR will want the entire source.  But, since it has our
propritary code, work
does not want the source to be sent out.

How would you handle this situation?


Psst... Hey, you... Buddy... Want a kitten? straycatblues.petfinder.org
<8ffe5b0c0807221045y2108b155r792421dd1261abe0@mail.gmail.com> 7bit

See also: www.piclist.com/techref/index.htm?key=what+about+compiler
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) What to do about compiler bug and source code?

month overview.

new search...