https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84699
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|discarded value expression |[DR1054] discarded value |of volatile class type |expression of volatile |shall materialize a |class type shall |temporary |materialize a temporary See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=59314 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1054