From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24907 invoked by alias); 12 Jul 2003 23:58:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24899 invoked by uid 48); 12 Jul 2003 23:58:36 -0000 Date: Sat, 12 Jul 2003 23:58:00 -0000 From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20030712235836.11511.bangerth@dealii.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11511] New: [3.4 Regression] ICE on typecast of template-argument-derived value as template argument X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg01466.txt.bz2 List-Id: 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 for instructions. This has been broken in the last couple of days. W.