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++/16929] [3.4/3.5? Regression] ICE on taking address of member in default parameter to member function


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-09 09:55 -------
Confirmed. I do not know if this is valid code or not but this is a regression never the less.

The mainline accepts the code.
The 3.4 branch ICEs on the code.
The 3.3 branch rejects the code.

When the ICE came about:
: Search converges between 2004-03-15-3.4 (#3) and 2004-04-01-3.4 (#4).
: Search converges between 2004-03-01-trunk (#446) and 2004-04-01-trunk (#447).

Accepting the code (most likely when the new parser came in):
: Search converges between 2002-12-14-trunk (#159) and 2002-12-29-trunk (#160).

Fixed on the mainline if this is valid code:
: Search converges between 2004-04-20-trunk (#449) and 2004-05-01-trunk (#450).


Just a note ICC 6.0 rejects the code so does Comeau C++ online test.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-09 09:55:58
               date|                            |
            Summary|ICE on taking address of    |[3.4/3.5? Regression] ICE on
                   |member in default parameter |taking address of member in
                   |to member function          |default parameter to member
                   |                            |function
   Target Milestone|---                         |3.4.2


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


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