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++/54930] Add warning switch for "returning reference to temporary" and similar


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-15 10:09:01 UTC ---
Created attachment 28448
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28448
add -Wreturn-local-addr switch

This bootstraps, I'll regtest it tonight


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