http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48102

           Summary: [4.6 Regression] Bootstrap failure for
                    powerpc-apple-darwin9: error: macro "build_cloog_prog"
                    requires 4 arguments, but only 3 given
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
                CC: s...@gcc.gnu.org
              Host: powerpc-apple-darwin9
            Target: powerpc-apple-darwin9
             Build: powerpc-apple-darwin9


At revision 170921, bootstrapping on powerpc-apple-darwin9 fails with:

...
gcc -c   -g -fkeep-inline-functions -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
-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:1239:40: error: macro
"build_cloog_prog" requires 4 arguments, but only 3 given
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c:1240: error: expected '=',
',', ';', 'asm' or '__attribute__' before '{' token
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c:1440:43: error: macro
"build_cloog_prog" requires 4 arguments, but only 3 given
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c: In function 'scop_to_clast':
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c:1440: error:
'build_cloog_prog' undeclared (first use in this function)
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c:1440: error: (Each undeclared
identifier is reported only once
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c:1440: error: for each
function it appears in.)
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c: At top level:
../../gcc-4.6-work/gcc/graphite-clast-to-gimple.c:1433: warning: unused
parameter 'scop'
make[3]: *** [graphite-clast-to-gimple.o] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

This is likely due to

--- trunk/gcc/graphite-clast-to-gimple.c    2011/03/12 16:58:33    170906
+++ trunk/gcc/graphite-clast-to-gimple.c    2011/03/12 22:05:38    170907
@@ -1236,7 +1236,7 @@

 static void
 build_cloog_prog (scop_p scop, CloogProgram *prog,
-                  CloogOptions *options, CloogState *state ATTRIBUTE_UNUSED)
+                  CloogOptions *options)
 {
   int i;
   int max_nb_loops = scop_max_loop_depth (scop);

of revision 170907.

Reply via email to