Internal error: implicit copy within argument list

Vitaly Fedrushkov willy@snowyowl.csu.ac.ru
Wed Feb 3 07:24:00 GMT 1999


Good $daytime,

My compiler insists on reporting a bug here :)

1. Environment: Red Hat Linux (latest stable)

	$ uname -smr
	Linux 2.0.36 i586

	$ cat /etc/redhat-release
	Red Hat Linux release 5.2 (Apollo)

2. Compiler: stock egcs package:

	$ rpm -qi egcs-c++
	Name        : egcs-c++
	Distribution: Manhattan
	Version     : 1.0.3a
	Vendor      : Red Hat Software
	Release     : 14
	Build Date  : Wed Oct 14 17:24:14 1998
	Install date: Mon Dec 21 11:30:00 1998
	Build Host  : porky.redhat.com
	Group       : Development/Languages
	Source RPM  : egcs-1.0.3a-14.src.rpm
	Size        : 1823424
	License	    : GPL
	Packager    : Red Hat Software <bugs@redhat.com>
	URL         : http://egcs.cygnus.com/
	Summary     : C++ support for gcc
[Description omitted]

	$ g++ -v
	Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/specs
	gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

3. Symptom:

	$ g++ egcs-constructor-bug.cc -o egcs-constructor-bug
	egcs-constructor-bug.cc: In method `BazChild::BazChild(const class Foreign &)':
	egcs-constructor-bug.cc:29: Internal compiler error.
	egcs-constructor-bug.cc:29: Please submit a full bug report to `egcs-bugs@cygnus.com'.

Attached below is a dried sample.

Expected behavior is either: (a) copy constructor invocation, or (b)
complaint about why this can't be done.

Just my $0,02.

  Regards,
  Willy.

--
"No easy hope or lies        | Vitaly "Willy the Pooh" Fedrushkov
 Shall bring us to our goal, | Information Technology Division
 But iron sacrifice          | Chelyabinsk State University
 Of Body, Will and Soul."    | mailto:willy@csu.ac.ru  +7 3512 156770
                   R.Kipling | http://www.csu.ac.ru/~willy  VVF1-RIPE



More information about the Gcc-bugs mailing list