c++/9328: ICE with templates and namespace std members
helmut.zeisel@liwest.at
helmut.zeisel@liwest.at
Wed Jan 15 16:27:00 GMT 2003
>Number: 9328
>Category: c++
>Synopsis: ICE with templates and namespace std members
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Jan 15 08:06:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Helmut Zeisel
>Release: unknown-1.0
>Organization:
>Environment:
Cygwin, c++ (GCC) 3.2 20020927 (prerelease)
Linux, c++ (GCC) 3.2.1
>Description:
test4.cxx:
====================================================
#include <cmath>
template<typename Fct, Fct fct>struct tWrapper{};
tWrapper<typeof(&std::sin),&std::sin> w;
====================================================
$ c++ test4.cxx
test4.cxx:3: Internal compiler error in walk_tree, at tree-inline.c:1315
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
See above code
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list