https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113713
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Looks like this changed with r11-4230-g46fdced6a9f936
commit 46fdced6a9f936ae4d5b42347d7d87f69875683a
Author: Patrick Palka <[email protected]>
Date: Thu Oct 22 07:33:58 2020 -0400
c++: constexpr evaluation and bare EMPTY_CLASS_EXPR [PR96575]
but only when A is an empty class.
Using struct A { int i; };, the test has compiled with -O0 since
r7-4458-gf065303fcf9aa2.