This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]