https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118340
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Unlike the PR102780 ||/&& quadraticness fix, which was during
potential_constant_expression checking, the quadraticness in this case seems to
happen during building up the expression from cp_build_binary_op which near the
end calls cp_fully_fold on both operands (for sake of overflow checking?),
which is >=linear in the size of each operand, so >=quadratic overall. Not
sure how to fix this safely.