Internal compiler error in `change_address', at emit-rtl.c:1604

Ralph Loader suckfish@ihug.co.nz
Wed Oct 6 02:27:00 GMT 1999


Hi,

GCC version: 2.95.1
System: Linux i686
Command line: gcc -v -c test.cc

file test.cc:
--------------cut-here-------------
class complex {
public:
  __complex__ double V;

  complex (__complex__ double v) :
    V (v) { }

  operator __complex__ double() const { return V; }
};

inline complex operator+ (complex a, complex b)
{
  return a.V + b.V;
}
--------------cut-end--------------
output of gcc -v -c test.cc:

Reading specs from /opt/gcc-2.95.1/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)
 /opt/gcc-2.95.1/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ test.cc /tmp/cc8Z9Z0V.ii
GNU CPP version 2.95.1 19990816 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /opt/gcc-2.95.1/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/../../../../include/g++-3
 /opt/gcc-2.95.1/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/../../../../i686-pc-linux-gnu/include
 /opt/gcc-2.95.1/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/include
End of omitted list.
 /opt/gcc-2.95.1/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/cc1plus /tmp/cc8Z9Z0V.ii -quiet -dumpbase test.cc -version -o /tmp/ccsV0yWH.s
GNU C++ version 2.95.1 19990816 (release) (i686-pc-linux-gnu) compiled by GNU C version 2.95.1 19990816 (release).
test.cc: In function `class complex operator +(complex, complex)':
test.cc:13: Internal compiler error in `change_address', at emit-rtl.c:1604
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.





More information about the Gcc-bugs mailing list