cse.c compilation failed (EGCS-971225, target ARM)
Dave Gilbert
gilbertd@treblig.org
Sat Dec 27 11:56:00 GMT 1997
Hi,
Building cross from Alpha->ARM I get:
Alpha->ARM cross failed to build cse.c:
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -DHAIFA -I.
-I. -I./config cse.c
cse.c: In function `rtx_cost':
cse.c:755: multiple default labels in one switch
cse.c:751: this is the first default label
If we look at cse.c we see:
#ifdef RTX_COSTS
RTX_COSTS (x, code, outer_code); < 751
#endif
CONST_COSTS (x, code, outer_code);
default: < 755
break;
Its the addition of the default case which seems to be the problem;
RTX_COSTS has a default: on the arm. (Is it that which is broken?)
Dave
---------------------------------------------------- Man can not live -
Dr. David Alan Gilbert - gro.gilbert @ treblig.org by bread alone. He-
---------------------------------------------------- needs chocolate. -
More information about the Gcc-bugs
mailing list