[Bug c++/15317] [3.4/3.5 Regression] __attribute__ unused in first parameter of constructor gives error

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 6 14:43:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-06 14:43 -------
Confirmed, reduced example:
struct A
{
  A(char);
};
A::A(__attribute__((unused)) char i2)
{}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-06 14:43:09
               date|                            |
            Summary|__attribute__ unused in     |[3.4/3.5 Regression]
                   |first parameter of          |__attribute__ unused in
                   |constructor gives error     |first parameter of
                   |                            |constructor gives error
   Target Milestone|---                         |3.4.1


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



More information about the Gcc-bugs mailing list