This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv
- From: "matt at use dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 20:30:13 -0000
- Subject: [Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv
- References: <bug-36043-5874@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from matt at use dot net 2010-01-03 20:30 -------
Still happening on 4.5.0 20091228 (and gcc 4.4.1) on Ubuntu 9.10/amd64). I
found that it goes away in 3 separate instances when turning on
-finline-functions. The last 2 instances of memory corruption I am running into
are functions in vtables, which can't be inlined (and therefore work around
this bug) until de-virtualization is eliminated.
This seems like a pretty serious and common problem; is there any chance it
will be fixed in 4.5?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36043