This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/36494] Char arrays gets corrupted in avr programs.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]