This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[CVS g++] alpha-linux complex ICE



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]