From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17299 invoked by alias); 3 May 2006 16:57:26 -0000 Received: (qmail 17286 invoked by uid 48); 3 May 2006 16:57:21 -0000 Date: Wed, 03 May 2006 16:57:00 -0000 Subject: [Bug c++/27410] New: tree check fail for legal code X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dcb314 at hotmail dot com" 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 X-SW-Source: 2006-05/txt/msg00288.txt.bz2 List-Id: I just tried to compile Suse package kdbg-2.0.3-12 with a recent GNU C++ compiler version 4.2 snapshot 20060429. The compiler snapshot said if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT textvw.o -MD -MP -MF ".deps/textvw.Tpo" -c -o textvw.o textvw.cpp; \ then mv -f ".deps/textvw.Tpo" ".deps/textvw.Po"; else rm -f ".deps/textvw.Tpo"; exit 1; fi valarray.h: In member function 'void ValArray::expand(const T&, int)': valarray.h:81: internal compiler error: tree check: did not expect class 'type', have 'type' (template_type_parm) in contains_placeholder_p, at tree.c:2139 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source code attached. No special flags required. -- Summary: tree check fail for legal code Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27410