http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49476
Summary: Complex functions returning references (not following
C++ standard)
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49476
--- Comment #1 from Basil 2011-06-20
17:22:12 UTC ---
Created attachment 24567
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24567
Reproducer program
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49476
--- Comment #2 from Basil 2011-06-20
17:22:36 UTC ---
Created attachment 24568
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24568
Patch to fix issue
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49476
--- Comment #4 from Basil 2011-06-20
18:10:39 UTC ---
The change doesn't fix the issue, as it is a solution for when -std=c++0x is
specified.
(In reply to comment #3)
> Changed by http://gcc.gnu.org/ml/libstdc++/2004-01/msg00091.html
> c.f.
> ht