This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[CVS g++] alpha-linux complex ICE
- To: gcc-bugs at gcc dot gnu dot org, rth at cygnus dot com
- Subject: [CVS g++] alpha-linux complex ICE
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Wed, 29 Mar 2000 14:41:15 -0800
This file:
// start
#include <complex.h>
float
abs(const float& __x)
{ return cabs(__x); }
// end
Compiled with CVS g++ and no special options, gives:
% /horton/bkoz/bld-alpha-egcs/gcc/g++ -B/horton/bkoz/bld-alpha-egcs/gcc/ -B/horton/bkoz/H-alpha-egcs/alphaev6-unknown-linux-gnu/bin/ -DHAVE_CONFIG_H -I. -I../../../../src.egcs/libstdc++/src -I.. -nostdinc++ -I../../../../src.egcs/libstdc++ -I../../../../src.egcs/libstdc++/stl -I../../../../src.egcs/libstdc++/libio -I../../../../src.egcs/libstdc++/config/cpu/alpha -I../../../../src.egcs/libstdc++/config/gnu-linux -I/horton/bkoz/H-alpha-egcs/include complex_killa.cc -o complex_killa.o
In file included from /usr/include/complex.h:104,
from complex_killa.cc:2:
/usr/include/bits/cmathcalls.h:120: Internal compiler error.
/usr/include/bits/cmathcalls.h:120: Please submit a full bug report.
/usr/include/bits/cmathcalls.h:120: See
/usr/include/bits/cmathcalls.h:120: <URL:http://www.gnu.org/software/gcc/bugs.html>
/usr/include/bits/cmathcalls.h:120: for instructions.
This is not the case on x86-linux, this testcase will compile correctly.
-benjamin