[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.

2005-10-17 Thread cvs-commit at gcc dot gnu dot org
--- Comment #5 from cvs-commit at gcc dot gnu dot org 2005-10-17 11:19 --- Subject: Bug 21353 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-10-17 11:19:12 Modified files: gcc/cp : ChangeLog decl.c parser.c

[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.

2005-10-17 Thread nathan at gcc dot gnu dot org
--- Comment #6 from nathan at gcc dot gnu dot org 2005-10-17 11:26 --- fixed mainline and 4.0. 2005-10-17 Nathan Sidwell [EMAIL PROTECTED] PR c++/21353 * decl.c (check_default_argument): Don't check processing_template_decl or uses_template_parms here.

[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.

2005-10-17 Thread cvs-commit at gcc dot gnu dot org
--- Comment #7 from cvs-commit at gcc dot gnu dot org 2005-10-17 11:26 --- Subject: Bug 21353 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-10-17 11:26:51 Modified files: gcc/cp : ChangeLog

[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.

2005-10-14 Thread nathan at gcc dot gnu dot org
-- nathan at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org

[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.

2005-09-27 Thread mmitchel at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|4.0.2 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21353

[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.

2005-09-12 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-12 20:50 --- : Search converges between 2002-12-14-trunk (#159) and 2002-12-29-trunk (#160). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21353

[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.

2005-07-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 21:12 --- Moving to 4.0.2 pre Mark. -- What|Removed |Added Target Milestone|3.4.5

[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.

2005-07-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 05:51 --- Reduced testcase: enum X{ a, b, c }; class C { void func( X ref = a ); }; This has been failing since 3.4.0 20040116 (which is the branch date for 3.4.0). -- What|Removed

[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.

2005-05-19 Thread mmitchel at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|3.4.4 |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21353

[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.

2005-05-03 Thread pinskia 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