[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-03 Thread reichelt at gcc dot gnu dot org
--- Comment #12 from reichelt at gcc dot gnu dot org 2005-10-03 14:43 --- Hi Mark, your patch for the 4.0 branch seems to be broken: The ChangeLog entries are missing and it seems responsible for heavy breakage in the testsuite, see

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-03 Thread mark at codesourcery dot com
--- Comment #13 from mark at codesourcery dot com 2005-10-03 14:57 --- Subject: Re: [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors reichelt at gcc dot gnu dot org wrote: --- Comment #12 from reichelt at gcc dot gnu dot org 2005-10-03 14:43

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-03 Thread cvs-commit at gcc dot gnu dot org
--- Comment #14 from cvs-commit at gcc dot gnu dot org 2005-10-03 15:05 --- Subject: Bug 22621 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED]2005-10-03 15:05:10 Modified files: gcc/cp : ChangeLog

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-03 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2005-10-03 16:37 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-02 Thread cvs-commit at gcc dot gnu dot org
--- Comment #9 from cvs-commit at gcc dot gnu dot org 2005-10-02 21:58 --- Subject: Bug 22621 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED]2005-10-02 21:58:08 Modified files: gcc/cp : parser.c pt.c ChangeLog gcc/testsuite

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-02 Thread cvs-commit at gcc dot gnu dot org
--- Comment #10 from cvs-commit at gcc dot gnu dot org 2005-10-02 21:58 --- Subject: Bug 22621 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED]2005-10-02 21:58:34 Modified files: gcc/cp : parser.c Added

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-02 Thread mmitchel at gcc dot gnu dot org
--- Comment #11 from mmitchel at gcc dot gnu dot org 2005-10-02 22:05 --- Fixed in 4.0.3. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-10-01 Thread mmitchel at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

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=22621

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-07-23 Thread squell at alumina dot nl
--- Additional Comments From squell at alumina dot nl 2005-07-23 16:26 --- (In reply to comment #6) In your example, ptr is a type not an object. operator- isn't applicable to types, only to objects. ptr _is_ an object. Please re-read the declaration carefully. All gcc versions

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-07-23 Thread squell at alumina dot nl
--- Additional Comments From squell at alumina dot nl 2005-07-24 00:56 --- (In reply to comment #4) bar ptr-f a; // ERROR: `-' cannot appear in constant expression bar ptr-f b; // ERROR: '' missing in template argument No, both of those are invalid as - cannot be in constant

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-07-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 20:42 --- Confirmed, a regression from 3.4.0 and 3.3.3. -- What|Removed |Added

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

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:13 --- Moving to 4.0.2 pre Mark. -- What|Removed |Added Target Milestone|3.4.5

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-07-22 Thread squell at alumina dot nl
--- Additional Comments From squell at alumina dot nl 2005-07-23 01:59 --- When I changed the function body by removing all foo:: qualifiers, I got the following; int foo::f() { f_objf a; // ERROR: missing '' in template argument list f_objf b; // ERROR: foo::f in constant

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-07-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-23 02:03 --- (In reply to comment #3) bar ptr-f a; // ERROR: `-' cannot appear in constant expression bar ptr-f b; // ERROR: '' missing in template argument No, both of those are invalid as - cannot be in constant

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-07-22 Thread squell at alumina dot nl
--- Additional Comments From squell at alumina dot nl 2005-07-23 03:22 --- ptr-f is a constant expression, I believe, since it doesn't access any object (see 5.19/4, C++ Std), because the expression will resolve to a static member. But whether I am right or not: I got to this testcase

[Bug c++/22621] [3.4/4.0/4.1 Regression] Member function overloading introduces syntax errors

2005-07-22 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-23 04:51 --- In your example, ptr is a type not an object. operator- isn't applicable to types, only to objects. W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22621