[Bug c++/118199] [15 regression] -fno-elide-constructors vs no_unique_address
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 25 20:32:10 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118199
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
Summary|[15 regression] ICE when |[15 regression]
|building widelands-1.2.1 |-fno-elide-constructors vs
|(with |no_unique_address
|-fno-elide-constructors) |
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
/* Likewise, but allow extra temps of trivial type so that
gimplify_init_ctor_preeval can materialize subobjects of a CONSTRUCTOR
on the rhs of an assignment, as in constexpr-aggr1.C. */
gcc_checking_assert (!TARGET_EXPR_ELIDING_P (*expr_p)
|| !TREE_ADDRESSABLE (TREE_TYPE (*expr_p)));
More information about the Gcc-bugs
mailing list