[Bug target/36494] Char arrays gets corrupted in avr programs.
eric dot weddington at atmel dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 11 05:51:00 GMT 2008
------- Comment #2 from eric dot weddington at atmel dot com 2008-06-11 05:50 -------
Compiling code with -O0 (so it doesn't optimize the program away) and running
it through the debugger in AVR Studio still shows that main returns a 3, which
indicates that both conditions (testing a[0] and b[0] for equality with 0x3a)
are true.
This is with WinAVR 20080610 (4.3.0 + patches).
Please give us more information to be able to reproduce the problem.
--
eric dot weddington at atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36494
More information about the Gcc-bugs
mailing list