c++/9443: ICE in resolve_scoped_fn_name, at cp/call.c:2604

Giovanni Bajo giovannibajo@libero.it
Wed Jan 29 12:46:00 GMT 2003


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=9443

Isn't __attribute__((unused)) meant to be used for functions? The code looks
like:

  template<typename _CharT>
    __timepunct<_CharT>::__timepunct(__c_locale int __cloc,
                                 const char* __s __attribute__
((__unused__)),
                                     size_t __refs)

which confuses G++ 3.2, but at least reporting a correct error. So I don't
see any bug with 3.2.

Giovanni Bajo



More information about the Gcc-bugs mailing list