This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs-970922/m68k-motorola-sysv bootstrap failure
- To: egcs at cygnus dot com (egcs mailing list)
- Subject: egcs-970922/m68k-motorola-sysv bootstrap failure
- From: "Philippe De Muyter" <phdm at mail dot macqel dot be>
- Date: Sun, 28 Sep 1997 00:40:44 +0200 (MET DST)
bootstrapping egcs-970922 fails on m68k-motorola-sysv because filebuf.cc
is miscompiled by cc1plus. Here is a scaled-down version of the problem.
$ cat xxx.ii
class filebuf {
public:
static const int openprot;
};
const int filebuf::openprot = 0644;
$ /usr/gnu/tmp/egcs/gcc/cc1plus -dp -O2 xxx.ii
$ cat xxx.s
file "xxx.ii"
gcc2_compiled%:
global __static_7filebuf openprot
^---------------- NOTE THE SPACE IN THE SYMBOL NAME
text
even
__static_7filebuf openprot:
^-------------------- LIKEWISE
long 420
comm __eh_pc,4
comm __eh_type,4
comm __eh_value,4
comm __eh_cleanup,4
comm __eh_in_catch,1
The resulting assembler file of course can't be assembled. Where should I
look at ?
Philippe De Muyter