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++/21672] Loses temporary in complex expression


------- Additional Comments From gdr at integrable-solutions dot net  2005-05-20 00:15 -------
Subject: Re:  Loses temporary in complex expression

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| (In reply to comment #9)
| > And we can construct more.  But it does not rule out the fact that we
| > should handle the simple cases.
| 
| What assuming |= returns *this, that is just wrong and you know it,

I can't parse that.

| if the compiler assumes that, then we will get false warnings for
| places which don't return a reference to a temporary variable. 

Since you're crediting me of knowing something (I don't know exactly
what :-)) you must also credit me of not wanting false warnings.

-- Gaby


-- 


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


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