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]

[Bug c++/11511] New: [3.4 Regression] ICE on typecast of template-argument-derived value as template argument


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

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

           Summary: [3.4 Regression] ICE on typecast of template-argument-
                    derived value as template argument
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org

PR 11489 has far too much crap in it. Here's the essentials:
--------------------------------
template< bool B > struct foo {};

template< typename C > struct bar
{
  typedef foo< bool(C::value) > baz ;
};
--------------------------------
It fails like so
tmp/gg> ../build-gcc/gcc-install/bin/c++ -c x.cc
x.cc:5: internal compiler error: in lookup_member, at cp/search.c:1230
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This has been broken in the last couple of days.

W.


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