[Bug c++/63940] C++ constexpr errors on AIX

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Tue Nov 18 19:42:00 GMT 2014


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

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
This looks bogus (from cxx_eval_binary_expression):

  if (lhs == orig_lhs && rhs == orig_rhs)
    return t;

Just because both operands are self-evaluating doesn't mean we can return the
unfolded expression.



More information about the Gcc-bugs mailing list