http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48102
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P3
Status|NEW |UNCONFIRMED
Target Milestone|4.6.0 |---
Ever Confirmed|1 |0
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-03-13
17:56:41 UTC ---
With the patch in comment #1, I hit a second failure at stage 2:
/opt/gcc/darwin_buildw/./prev-gcc/xgcc -B/opt/gcc/darwin_buildw/./prev-gcc/
-B/opt/gcc/gcc4.6w/powerpc-apple-darwin9/bin/
-B/opt/gcc/gcc4.6w/powerpc-apple-darwin9/bin/
-B/opt/gcc/gcc4.6w/powerpc-apple-darwin9/lib/ -isystem
/opt/gcc/gcc4.6w/powerpc-apple-darwin9/include -isystem
/opt/gcc/gcc4.6w/powerpc-apple-darwin9/sys-include -c -g -O2
-mdynamic-no-pic -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.6-work/gcc -I../../gcc-4.6-work/gcc/.
-I../../gcc-4.6-work/gcc/../include -I../../gcc-4.6-work/gcc/../libcpp/include
-I/sw/include -I../../gcc-4.6-work/gcc/../libdecnumber
-I../../gcc-4.6-work/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c -o graphite-clast-to-gimple.o
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c: In function
'build_cloog_prog':
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c:1239:33: error: unused
parameter 'options' [-Werror=unused-parameter]
cc1: all warnings being treated as errors
make[3]: *** [graphite-clast-to-gimple.o] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
With the following additional patch
--- ../_gcc_clean/gcc/graphite-clast-to-gimple.c 2011-03-13
12:03:48.000000000 +0100
+++ ../gcc-4.6-work/gcc/graphite-clast-to-gimple.c 2011-03-13
14:43:34.000000000 +0100
@@ -1236,7 +1236,7 @@ init_cloog_input_file (int scop_number)
static void
build_cloog_prog (scop_p scop, CloogProgram *prog,
- CloogOptions *options)
+ CloogOptions *options __attribute__((unused)))
{
int i;
int max_nb_loops = scop_max_loop_depth (scop);
I am now at stage 3.