[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
Thu Mar 13 20:42:00 GMT 2014


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

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
I see in the dump:

  # .MEM_4 = VDEF <.MEM_8>
  D.2272 ={v} {CLOBBER};
  # VUSE <.MEM_4>
  _5 = MEM[(doubleD.39 *)&D.2272];

which looks like something we could warn about in the middle-end.



More information about the Gcc-bugs mailing list