[Bug c++/60517] warning/error for taking address of member of a temporary object
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 13 23:44:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #1)
> 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.
Could you elaborate? My middle-end foo is not as good as it used to be.
More information about the Gcc-bugs
mailing list