This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r205583 - in /branches/gcc-4_8-branch/gcc: Chan...
- From: vries at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 02 Dec 2013 08:37:10 -0000
- Subject: r205583 - in /branches/gcc-4_8-branch/gcc: Chan...
Author: vries
Date: Mon Dec 2 08:37:09 2013
New Revision: 205583
URL: http://gcc.gnu.org/viewcvs?rev=205583&root=gcc&view=rev
Log:
Don't create out-of-bounds BIT_FIELD_REF.
2013-11-27 Tom de Vries <tom@codesourcery.com>
Marc Glisse <marc.glisse@inria.fr>
PR middle-end/59037
* semantics.c (cxx_fold_indirect_ref): Don't create out-of-bounds
BIT_FIELD_REF.
* fold-const.c (fold_indirect_ref_1): Don't create out-of-bounds
BIT_FIELD_REF.
* gimplify.c (gimple_fold_indirect_ref): Same.
* c-c++-common/pr59037.c: New testcase.
Added:
branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/pr59037.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/semantics.c
branches/gcc-4_8-branch/gcc/fold-const.c
branches/gcc-4_8-branch/gcc/gimplify.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog