This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34285] buffer overflow incorrectly detected
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2007 19:27:42 -0000
- Subject: [Bug middle-end/34285] buffer overflow incorrectly detected
- References: <bug-34285-3760@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from pinskia at gcc dot gnu dot org 2007-11-29 19:27 -------
I still say GCC is incorrect here, even if I was drinking last night. This
should work as the whole struct is touched and not even looked at the one
field.
Even if the documentation says that, it is still bad behavior.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
Summary|[4.3 Regression] buffer |buffer overflow incorrectly
|overflow incorrectly |detected
|detected |
Target Milestone|4.3.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34285