------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-12 19:08 -------
Even though we give a weird error message in 3.4.0 and before, we rejected the
code:
t.cc: In function `struct S f()':
t.cc:11: no matching function for call to `S::._0 ()'
t.cc:6: candidates are: S::._0(const S &)


Confirmed, a regression.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.0.0 4.1.0 4.2.0
      Known to work|                            |3.3.3 3.0.4 3.2.3 2.95.3
                   |                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-12 19:08:28
               date|                            |
            Summary|implicitly defined          |[4.0/4.1/4.2 Regression]
                   |constructor for class with  |implicitly defined
                   |reference member            |constructor for class with
                   |                            |reference member
   Target Milestone|---                         |4.0.4


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

Reply via email to