Article View: gnu.g++.bug
Article #1555GNU C++ 1.31.0 fails to compile test5a.cc
From: Clark Cooper
Date: Mon, 19 Dec 1988 19:16
Date: Mon, 19 Dec 1988 19:16
38 lines
1999 bytes
1999 bytes
System: GNU C++ 1.31.0
Hardware: Sun 3/280
OS: SunOS 3.4
Configuration: tm.h -> tm-sun3+.h
md -> m68k.md
Symptoms:
While compiling test5a.cc in the libg++-1.25.0 test suite, GNU C++
version 1.31.0 complains about a bad argument to a constructor and fails to
compile. This appears to be a correct program and compiled successfully
under GNU C++ 1.27.0.
Script:
================================================================
Script started on Mon Dec 19 13:50:26 1988
sculptorq% g++ -v -g -O -o test5a test5a.cc
g++ version 1.31.0
/usr/sculptorq/gnu/lib/gcc-cpp+ -v -undef -D__GNU__ -D__GNUG__ -Dmc68000 -Dsun -Dunix -D__OPTIMIZE__ test5a.cc /tmp/cca14399.cpp
GNU CPP version 1.31.0
/usr/sculptorq/gnu/lib/gcc-c++ /tmp/cca14399.cpp -quiet -dumpbase test5a.cc -opt -version -G -o /tmp/cca14399.s
GNU C++ version 1.31.0 (68k, MIT syntax) compiled by GNU C version 1.31.
test5a.cc:14: warning: lazy prototyping frowned upon
test5a.cc:42: warning: lazy prototyping frowned upon
test5a.cc:45: warning: lazy prototyping frowned upon
test5a.cc:76: warning: lazy prototyping frowned upon
test5a.cc:84: warning: lazy prototyping frowned upon
In function int main (int, char **):
test5a.cc:280: bad argument to constructor `MemoizedIntegerBase'
sculptorq% ^D
script done on Mon Dec 19 13:54:46 1988
---
Clark Cooper cooper@gecrux.steinmetz.ge.com, coopercc@crd.ge.com,
coopercc@ge-crd.arpa, ...!uunet!steinmetz!cooper
--
Clark Cooper cooper@gecrux.steinmetz.ge.com, coopercc@crd.ge.com,
coopercc@ge-crd.arpa, ...!uunet!steinmetz!cooper
Technical Details
Message-ID:
<COOPER.88Dec19141626@gecrux.steinmetz.ge.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!steinmetz!kbsvax!cooperShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!steinmetz!kbsvax!cooper From: cooper@gecrux.steinmetz.ge.com (Clark Cooper) Newsgroups: gnu.g++.bug Subject: GNU C++ 1.31.0 fails to compile test5a.cc Message-ID: <COOPER.88Dec19141626@gecrux.steinmetz.ge.com> Date: 19 Dec 88 19:16:26 GMT Sender: news@steinmetz.ge.com Organization: GE Corporate Research & Development Lines: 38