This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36494] Char arrays gets corrupted in avr programs.
- From: "eric dot weddington at atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2008 05:50:38 -0000
- Subject: [Bug target/36494] Char arrays gets corrupted in avr programs.
- References: <bug-36494-16257@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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