------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-10 
16:35 -------
Your first example is valid code.

And the second.
And the third.

But the fourth is invalid code and ICC in strict mode also rejects it.

Confirmed, based on the first example, this comes down to using semantics which 
G++ does not 
always get right, there might be already a bug about this somewhere.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
      Known to fail|                            |2.95.3 3.0.4 3.2.3 3.3.3
                   |                            |3.4.0 4.0.0 4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-10 16:35:14
               date|                            |


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

Reply via email to