This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21353] [3.4/4.0/4.1 Regression] rvalues should not be allowed to be default values for non const references in class functions.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2005 15:04:24 -0000
- Subject: [Bug c++/21353] [3.4/4.0/4.1 Regression] rvalues should not be allowed to be default values for non const references in class functions.
- References: <20050503085034.21353.s_siddharth_reddy@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-03 15:04 -------
The problem is that we are checking too late.
Confirmed, a regression from 3.3.3.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |accepts-invalid
Known to fail| |4.0.0 4.1.0 3.4.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-05-03 15:04:22
date| |
Summary|rvalues should not be |[3.4/4.0/4.1 Regression]
|allowed to be default values|rvalues should not be
|for non const references in |allowed to be default values
|class functions. |for non const references in
| |class functions.
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21353