[Bug c++/60517] warning/error for taking address of member of a temporary object

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 6 08:23:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32549|0                           |1
        is obsolete|                            |

--- Comment #11 from Marc Glisse <glisse at gcc dot gnu.org> ---
Created attachment 32551
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32551&action=edit
first try

With clobber removal now.

It isn't so great, the statements before the clobber have already been removed
as dead code, so by removing the clobber we produce an uninitialized read for
which we get a warning later.



More information about the Gcc-bugs mailing list