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]

c++/9328: ICE with templates and namespace std members


>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:


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