------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 
22:01 -------
Confirmed, a regression from 2.95.3:
earth:~>~/ia32_linux_gcc2_95//bin/gcc t.cc -W -Wall
t.cc: In function `void generate_warning<P<S> >()':
t.cc:19:   instantiated from here
t.cc:14: warning: unused variable `struct P<S> * u'

It was even worse in 3.0.4-3.3.3:
earth:~>~/ia32_linux_gcc3_0/bin/gcc t.cc -W -Wall
t.cc: In function `void generate_warning() [with U = P<void 
   unrelated_function()::K>]':
t.cc:19:   instantiated from here
t.cc:14: warning: unused variable `P<void unrelated_function()::K>*u'



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.0.4 3.1.2 3.2.3 3.3.5
                   |                            |3.4.2 4.0.0
      Known to work|                            |2.95
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-08 22:01:23
               date|                            |
            Summary|Misleading names in         |[3.4/4.0/4.1 Regression]
                   |diagnostics for typedefs in |Misleading names in
                   |functions                   |diagnostics for typedefs in
                   |                            |functions
   Target Milestone|---                         |4.0.2


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

Reply via email to