This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001934] gcc 4.6.3-20120623 optimizes wrong
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: unassigned at bugs dot ecos dot sourceware dot org
- Date: Wed, 26 Feb 2014 13:58:42 +0000
- Subject: [Bug 1001934] gcc 4.6.3-20120623 optimizes wrong
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-1001934-777 at http dot bugs dot ecos dot sourceware dot org/>
Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001934
Juergen Lambrecht <J.Lambrecht@televic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|MODIFIED |RESOLVED
Resolution|--- |NOTABUG
--- Comment #3 from Juergen Lambrecht <J.Lambrecht@televic.com> ---
Sorry, this is our bug.
If you have an array, and want to access its sizeof'd byte, then you are 1 byte
too far:
szConfigVersion[sizeof(szConfigVersion)] = 0;
The code I am reviewing was written by a "quick-and-dirty" type collegue...
--
You are receiving this mail because:
You are the assignee for the bug.