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

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

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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
C++ FE's constexpr.c has bool lval argument to many recursive functions, so it
can differentiate between cases where you don't want to fold "str"[0] to 's'
and cases where you can do that.  It is among other cases set when processing
ADDR_EXPR's operand.  But c_fully_fold_internal doesn't have anything like
that, so that would need to be introduced there.

Reply via email to