This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53516] [4.6/4.7/4.8 Regression] Vectorization and memset recognition miscompile bitfield stores
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 May 2012 14:44:13 +0000
- Subject: [Bug tree-optimization/53516] [4.6/4.7/4.8 Regression] Vectorization and memset recognition miscompile bitfield stores
- Auto-submitted: auto-generated
- References: <bug-53516-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53516
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-29 14:44:13 UTC ---
Author: rguenth
Date: Tue May 29 14:44:08 2012
New Revision: 187964
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187964
Log:
2012-05-29 Richard Guenther <rguenther@suse.de>
PR tree-optimization/53516
* tree-data-ref.c (stmt_with_adjacent_zero_store_dr_p): Reject
bitfield accesses.
* tree-vect-data-refs.c (vect_analyze_data_refs): Likewise.
* gcc.dg/torture/pr53516.c: New testcase.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr53516.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-data-ref.c
branches/gcc-4_7-branch/gcc/tree-vect-data-refs.c