This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]