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++/36744] function modifying argument received by-value affects caller's variable when passed as rvalue



------- Comment #1 from gcc-bugzilla at contacts dot eelis dot net  2008-07-06 14:48 -------
Forgot to mention: compile with -std=c++0x.


-- 


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


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