https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
         Depends on|                            |81601

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Another reason why we badly need to finish PR81601.
The constexpr evaluator really can't cope well with these BIT_FIELD_REFs, they
read multiple fields at once, or could also read some uninitialized bits in
between and mask them off, etc.
So at minimum we'd need to disable these optimizations while folding constexpr
declared functions and if the fields don't have INTEGRAL_TYPE or the bit field
reference covers more than one field.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601
[Bug 81601] [7/8/9 Regression] incorrect Warray-bounds warning with -fsanitize

Reply via email to