[Bug c++/90473] gcc does not call function in comma operator for default argument

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 8 22:11:00 GMT 2019


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think checking TREE_SIDE_EFFECTS there should be enough.


More information about the Gcc-bugs mailing list