While rebuilding gcc I got the following failure:
/opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-gcc/
-B/opt/gcc/gcc4.4w/i686-apple-darwin9/bin/ -c -g -O2 -fomit-frame-pointer
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.4-work/gcc -I../../gcc-4.4-work/gcc/.
-I../../gcc-4.4-work/gcc/../include -I./../intl
-I../../gcc-4.4-work/gcc/../libcpp/include -I/sw/include
-I../../gcc-4.4-work/gcc/../libdecnumber
-I../../gcc-4.4-work/gcc/../libdecnumber/dpd -I../libdecnumber
../../gcc-4.4-work/gcc/fwprop.c -o fwprop.o
cc1: warnings being treated as errors
../../gcc-4.4-work/gcc/fwprop.c:234: error: comma at end of enumerator list
make[3]: *** [fwprop.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
This is due to revision 133828 and fixed by the following patch:
--- ../_gcc_clean/gcc/fwprop.c 2008-04-02 12:12:57.000000000 +0200
+++ gcc/fwprop.c 2008-04-02 13:44:07.000000000 +0200
@@ -231,7 +231,7 @@
PR_HANDLE_MEM is set when the source of the propagation was not
another MEM. Then, it is safe not to treat non-read-only MEMs as
``opaque'' objects. */
- PR_HANDLE_MEM = 2,
+ PR_HANDLE_MEM = 2
};
Dominique