Bug 27410 - tree check fail for legal code
Summary: tree check fail for legal code
Status: RESOLVED DUPLICATE of bug 27210
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-03 16:57 UTC by David Binderman
Modified: 2006-05-03 17:36 UTC (History)
5 users (show)

See Also:
Host: i686-pc-linux-gnu
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-05-03 16:57:20 UTC
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<T>::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 <URL:http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached.  No special flags required.
Comment 1 Andrew Pinski 2006-05-03 17:36:30 UTC

*** This bug has been marked as a duplicate of 27210 ***