c++/7546: g++: Internal compiler error in make_typename_type, at cp/decl.c:5715

Reichelt reichelt@igpm.rwth-aachen.de
Fri Aug 9 07:06:00 GMT 2002


The following reply was made to PR c++/7546; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, P.Buettgenbach@FH-Wolfenbuettel.DE,
        gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/7546: g++: Internal compiler error in make_typename_type, at cp/decl.c:5715
Date: Fri, 9 Aug 2002 15:36:55 +0200

 Hi,
 
 the lines where the error occurs read
 
   Binder2nd(const _Operation& __x,
             typename boost::type_traits<typename _Operation::second_argument_type>::param_type __y)
 
 however, "type_traits" is a namespace and not a template! Hence, the
 testcase is illegal code. In fact it's the same problem as in PR 7229
 (see audit trail). Therefore this PR can probably closed as a duplicate
 (although the testcases differ).
 
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7546
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7229
 
 



More information about the Gcc-prs mailing list