[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 9 18:40:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51759
--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-01-09 18:40:16 UTC ---
Author: jamborm
Date: Mon Jan 9 18:40:09 2012
New Revision: 183023
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183023
Log:
2012-01-09 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/51759
Backport from mainline
2010-09-15 Martin Jambor <mjambor@suse.cz>
PR middle-end/45644
* tree-sra.c (create_access): Check for bit-fields directly.
* testsuite/gcc.dg/ipa/pr45644.c: New test.
* testsuite/g++.dg/ipa/pr51759.C: Likewise.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/ipa/pr51759.C
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/ipa/pr45644.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/tree-sra.c
More information about the Gcc-bugs
mailing list