diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-05-25 09:00:01 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-05-25 09:00:01 +0200 |
commit | 98933689804f4e8c36f5958a26b34ea7842b10a7 (patch) | |
tree | e983cd89f9335030a3aef83f37438b9d6cb1e8bc /gcc/function.c | |
parent | 349ea8e8550b73e69673f629df24d79902b4d371 (diff) | |
download | gcc-98933689804f4e8c36f5958a26b34ea7842b10a7.zip gcc-98933689804f4e8c36f5958a26b34ea7842b10a7.tar.gz gcc-98933689804f4e8c36f5958a26b34ea7842b10a7.tar.bz2 |
re PR c++/49136 ([C++0x][constexpr] Incorrect constexpr c'tor evaluation with bitfields)
PR c++/49136
* semantics.c (cxx_eval_bit_field_ref): Handle the
case when BIT_FIELD_REF doesn't cover only a single field.
* g++.dg/cpp0x/constexpr-bitfield2.C: New test.
* g++.dg/cpp0x/constexpr-bitfield3.C: New test.
From-SVN: r174168
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions