[Bug bootstrap/41904] New: graphite-clast-to-gimple.c will not build

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 2 10:19:00 GMT 2009


I just tried to boostrap 4.5 snapshot 20091029 and the build said

/home/dcb/gcc/20091029/working/./prev-gcc/xgcc
-B/home/dcb/gcc/20091029/working/./prev-gcc/
-B/home/dcb/gcc/20091029/results/x86_64-unknown-linux-gnu/bin/
-B/home/dcb/gcc/20091029/results/x86_64-unknown-linux-gnu/bin/
-B/home/dcb/gcc/20091029/results/x86_64-unknown-linux-gnu/lib/ -isystem
/home/dcb/gcc/20091029/results/x86_64-unknown-linux-gnu/include -isystem
/home/dcb/gcc/20091029/results/x86_64-unknown-linux-gnu/sys-include    -c-g -O2
-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../../src/gcc-4.5-20091029/gcc -I../../src/gcc-4.5-20091029/gcc/.
-I../../src/gcc-4.5-20091029/gcc/../include
-I../../src/gcc-4.5-20091029/gcc/../libcpp/include-I../../src/gcc-4.5-20091029/gcc/../libdecnumber
-I../../src/gcc-4.5-20091029/gcc/../libdecnumber/bid -I../libdecnumber 
-DCLOOG_PPL_BACKEND   
../../src/gcc-4.5-20091029/gcc/graphite-clast-to-gimple.c -o
graphite-clast-to-gimple.o
In file included from /usr/include/cloog/cloog.h:45:0,
                 from
../../src/gcc-4.5-20091029/gcc/graphite-clast-to-gimple.c:46:
/usr/include/cloog/ppl_backend.h:173:18: note: originally defined here
/usr/include/cloog/ppl_backend.h:190:18: note: originally defined here
cc1: warnings being treated as errors
../../src/gcc-4.5-20091029/gcc/graphite-clast-to-gimple.c: In function
'clast_to_gcc_expression':
../../src/gcc-4.5-20091029/gcc/graphite-clast-to-gimple.c:167:10: error: enum
constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:12: note: enum constant defined here
../../src/gcc-4.5-20091029/gcc/graphite-clast-to-gimple.c:200:10: error: enum
constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:33: note: enum constant defined here

The build fails because graphite-clast-to-gimple.c will not compile.

This same problem also appeared in the previous snapshot 20091022, but
the snapshot before that, 20091015, was fine.

I suspect some code change between 20091015 and 20091022.


-- 
           Summary: graphite-clast-to-gimple.c will not build
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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



More information about the Gcc-bugs mailing list