[Bug c++/11578] New: cp/mangle.c doesn't handle __typeof__

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 18 14:59:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11578

           Summary: cp/mangle.c doesn't handle __typeof__
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org

template <typename T> struct S { T t; };

template <typename I, typename J> void f (S<__typeof__ (I() + J())>) {}
template void f<int, long>(S<__typeof__ (int() + long())>);

causes ICE in write_type.



More information about the Gcc-bugs mailing list