[Bug c++/79681] [6/7 Regression] ICE with constexpr and bitfield
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 23 10:02:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79681
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think the problem is that BIT_FIELD_REF acts similarly to MEM_REF, it can
bypass several levels of nested handled components like ARRAY_REFs and
COMPONENT_REFs. So most likely the second part of cxx_eval_bit_field_ref needs
to be recursive and handle also array CONSTRUCTORs (update the start each time
we recurse into yet another CONSTRUCTOR).
More information about the Gcc-bugs
mailing list