http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48548
Summary: recent svn version gcc (4.6? 4.7?) compile failed Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: kuh...@gmail.com i tried to compile recent svn version gcc with cloog(icl) or cloog(ppl-legacy). but failed . error message are same in two builds. ../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/media/sdc2/gcc-4.5.1/include -I/media/sdc2/gcc-4.5.1/include -I/media/sdc2/gcc-4.5.1/include -I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I/media/sdc2/gcc-4.5.1/include -I/media/sdc2/gcc-4.5.1/include -DCLOOG_INT_GMP -DCLOOG_ORG ../.././gcc/graphite.c -o graphite.o In file included from ../.././gcc/graphite-cloog-util.h:25:0, from ../.././gcc/graphite-clast-to-gimple.h:24, from ../.././gcc/graphite.c:54: ../.././gcc/graphite-cloog-compat.h:86:1: error: redefinition of ‘cloog_statement_usr’ /media/sdc2/gcc-4.5.1/include/cloog/statement.h:66:21: note: previous definition of ‘cloog_statement_usr’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_statement_usr’: ../.././gcc/graphite-cloog-compat.h:88:12: error: ‘CloogStatement’ has no member named ‘usr’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:91:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../.././gcc/graphite-cloog-compat.h:98:43: error: expected ‘)’ before ‘*’ token ../.././gcc/graphite-cloog-compat.h:103:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../.././gcc/graphite-cloog-compat.h:110:48: error: expected ‘)’ before ‘*’ token ../.././gcc/graphite-cloog-compat.h:116:1: error: redefinition of ‘cloog_program_nb_scattdims’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:86:19: note: previous definition of ‘cloog_program_nb_scattdims’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_nb_scattdims’: ../.././gcc/graphite-cloog-compat.h:118:14: error: ‘CloogProgram’ has no member named ‘nb_scattdims’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:122:1: error: redefinition of ‘cloog_program_set_nb_scattdims’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:91:20: note: previous definition of ‘cloog_program_set_nb_scattdims’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_set_nb_scattdims’: ../.././gcc/graphite-cloog-compat.h:124:7: error: ‘CloogProgram’ has no member named ‘nb_scattdims’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:128:1: error: redefinition of ‘cloog_program_names’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:116:27: note: previous definition of ‘cloog_program_names’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_names’: ../.././gcc/graphite-cloog-compat.h:130:14: error: ‘CloogProgram’ has no member named ‘names’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:134:1: error: redefinition of ‘cloog_program_set_names’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:121:20: note: previous definition of ‘cloog_program_set_names’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_set_names’: ../.././gcc/graphite-cloog-compat.h:136:7: error: ‘CloogProgram’ has no member named ‘names’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:140:1: error: redefinition of ‘cloog_program_set_context’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:101:20: note: previous definition of ‘cloog_program_set_context’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_set_context’: ../.././gcc/graphite-cloog-compat.h:142:7: error: ‘CloogProgram’ has no member named ‘context’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:146:1: error: redefinition of ‘cloog_program_set_loop’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:111:20: note: previous definition of ‘cloog_program_set_loop’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_set_loop’: ../.././gcc/graphite-cloog-compat.h:148:7: error: ‘CloogProgram’ has no member named ‘loop’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:152:1: error: redefinition of ‘cloog_program_blocklist’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:126:31: note: previous definition of ‘cloog_program_blocklist’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_blocklist’: ../.././gcc/graphite-cloog-compat.h:154:14: error: ‘CloogProgram’ has no member named ‘blocklist’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:158:1: error: redefinition of ‘cloog_program_set_blocklist’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:131:20: note: previous definition of ‘cloog_program_set_blocklist’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_set_blocklist’: ../.././gcc/graphite-cloog-compat.h:160:7: error: ‘CloogProgram’ has no member named ‘blocklist’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:164:1: error: redefinition of ‘cloog_program_scaldims’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:136:20: note: previous definition of ‘cloog_program_scaldims’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_scaldims’: ../.././gcc/graphite-cloog-compat.h:166:14: error: ‘CloogProgram’ has no member named ‘scaldims’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:170:1: error: redefinition of ‘cloog_program_set_scaldims’ /media/sdc2/gcc-4.5.1/include/cloog/program.h:141:20: note: previous definition of ‘cloog_program_set_scaldims’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_program_set_scaldims’: ../.././gcc/graphite-cloog-compat.h:172:7: error: ‘CloogProgram’ has no member named ‘scaldims’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:176:1: error: redefinition of ‘cloog_names_nb_parameters’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:99:19: note: previous definition of ‘cloog_names_nb_parameters’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_nb_parameters’: ../.././gcc/graphite-cloog-compat.h:178:15: error: ‘CloogNames’ has no member named ‘nb_parameters’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:182:1: error: redefinition of ‘cloog_names_set_nb_parameters’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:104:20: note: previous definition of ‘cloog_names_set_nb_parameters’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_set_nb_parameters’: ../.././gcc/graphite-cloog-compat.h:184:8: error: ‘CloogNames’ has no member named ‘nb_parameters’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:188:1: error: redefinition of ‘cloog_names_parameters’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:169:22: note: previous definition of ‘cloog_names_parameters’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_parameters’: ../.././gcc/graphite-cloog-compat.h:190:15: error: ‘CloogNames’ has no member named ‘parameters’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:194:1: error: redefinition of ‘cloog_names_set_parameters’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:174:20: note: previous definition of ‘cloog_names_set_parameters’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_set_parameters’: ../.././gcc/graphite-cloog-compat.h:196:8: error: ‘CloogNames’ has no member named ‘parameters’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:200:1: error: redefinition of ‘cloog_names_set_nb_iterators’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:94:20: note: previous definition of ‘cloog_names_set_nb_iterators’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_set_nb_iterators’: ../.././gcc/graphite-cloog-compat.h:202:8: error: ‘CloogNames’ has no member named ‘nb_iterators’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:206:1: error: redefinition of ‘cloog_names_set_iterators’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:154:20: note: previous definition of ‘cloog_names_set_iterators’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_set_iterators’: ../.././gcc/graphite-cloog-compat.h:208:8: error: ‘CloogNames’ has no member named ‘iterators’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:212:1: error: redefinition of ‘cloog_names_set_nb_scattering’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:84:20: note: previous definition of ‘cloog_names_set_nb_scattering’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_set_nb_scattering’: ../.././gcc/graphite-cloog-compat.h:214:8: error: ‘CloogNames’ has no member named ‘nb_scattering’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:218:1: error: redefinition of ‘cloog_names_set_scattering’ /media/sdc2/gcc-4.5.1/include/cloog/names.h:134:20: note: previous definition of ‘cloog_names_set_scattering’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_names_set_scattering’: ../.././gcc/graphite-cloog-compat.h:220:8: error: ‘CloogNames’ has no member named ‘scattering’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:224:1: error: redefinition of ‘cloog_statement_set_usr’ /media/sdc2/gcc-4.5.1/include/cloog/statement.h:71:20: note: previous definition of ‘cloog_statement_set_usr’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_statement_set_usr’: ../.././gcc/graphite-cloog-compat.h:226:5: error: ‘CloogStatement’ has no member named ‘usr’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:230:1: error: redefinition of ‘cloog_loop_set_next’ /media/sdc2/gcc-4.5.1/include/cloog/loop.h:154:20: note: previous definition of ‘cloog_loop_set_next’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_loop_set_next’: ../.././gcc/graphite-cloog-compat.h:232:7: error: ‘CloogLoop’ has no member named ‘next’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:236:1: error: redefinition of ‘cloog_loop_set_domain’ /media/sdc2/gcc-4.5.1/include/cloog/loop.h:82:20: note: previous definition of ‘cloog_loop_set_domain’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_loop_set_domain’: ../.././gcc/graphite-cloog-compat.h:238:7: error: ‘CloogLoop’ has no member named ‘domain’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:242:1: error: redefinition of ‘cloog_loop_set_block’ /media/sdc2/gcc-4.5.1/include/cloog/loop.h:119:20: note: previous definition of ‘cloog_loop_set_block’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_loop_set_block’: ../.././gcc/graphite-cloog-compat.h:244:7: error: ‘CloogLoop’ has no member named ‘block’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:248:1: error: redefinition of ‘cloog_block_list_next’ /media/sdc2/gcc-4.5.1/include/cloog/block.h:133:31: note: previous definition of ‘cloog_block_list_next’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_block_list_next’: ../.././gcc/graphite-cloog-compat.h:250:12: error: ‘CloogBlockList’ has no member named ‘next’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:254:1: error: redefinition of ‘cloog_block_list_set_next’ /media/sdc2/gcc-4.5.1/include/cloog/block.h:138:20: note: previous definition of ‘cloog_block_list_set_next’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_block_list_set_next’: ../.././gcc/graphite-cloog-compat.h:256:5: error: ‘CloogBlockList’ has no member named ‘next’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:260:1: error: redefinition of ‘cloog_block_list_set_block’ /media/sdc2/gcc-4.5.1/include/cloog/block.h:148:20: note: previous definition of ‘cloog_block_list_set_block’ was here ../.././gcc/graphite-cloog-compat.h: In function ‘cloog_block_list_set_block’: ../.././gcc/graphite-cloog-compat.h:262:5: error: ‘CloogBlockList’ has no member named ‘block’ ../.././gcc/graphite-cloog-compat.h: At top level: ../.././gcc/graphite-cloog-compat.h:265:19: error: redefinition of ‘cloog_matrix_ncolumns’ /media/sdc2/gcc-4.5.1/include/cloog/ppl_backend.h:312:21: note: previous definition of ‘cloog_matrix_ncolumns’ was here ../.././gcc/graphite-cloog-compat.h:270:19: error: redefinition of ‘cloog_matrix_nrows’ /media/sdc2/gcc-4.5.1/include/cloog/ppl_backend.h:317:21: note: previous definition of ‘cloog_matrix_nrows’ was here In file included from ../.././gcc/graphite-clast-to-gimple.h:24:0, from ../.././gcc/graphite.c:54: ../.././gcc/graphite-cloog-util.h:29:15: error: expected declaration specifiers or ‘...’ before ‘CloogState’ ../.././gcc/graphite-cloog-util.h:30:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../.././gcc/graphite-cloog-util.h:33:47: error: expected declaration specifiers or ‘...’ before ‘CloogState’ In file included from ../.././gcc/graphite.c:54:0: ../.././gcc/graphite-clast-to-gimple.h:26:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../.././gcc/graphite.c:57:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../.././gcc/graphite.c: In function ‘graphite_initialize’: ../.././gcc/graphite.c:211:3: error: ‘cloog_state’ undeclared (first use in this function) ../.././gcc/graphite.c:211:3: note: each undeclared identifier is reported only once for each function it appears in ../.././gcc/graphite.c:211:3: warning: implicit declaration of function ‘cloog_state_malloc’ ../.././gcc/graphite.c: In function ‘graphite_finalize’: ../.././gcc/graphite.c:235:3: warning: implicit declaration of function ‘cloog_state_free’ ../.././gcc/graphite.c:235:21: error: ‘cloog_state’ undeclared (first use in this function) ../.././gcc/graphite.c: In function ‘cloog_block_list_next’: ../.././gcc/graphite-cloog-compat.h:251:1: warning: control reaches end of non-void function ../.././gcc/graphite.c: In function ‘cloog_names_parameters’: ../.././gcc/graphite-cloog-compat.h:191:1: warning: control reaches end of non-void function ../.././gcc/graphite.c: In function ‘cloog_names_nb_parameters’: ../.././gcc/graphite-cloog-compat.h:179:1: warning: control reaches end of non-void function ../.././gcc/graphite.c: In function ‘cloog_program_scaldims’: ../.././gcc/graphite-cloog-compat.h:167:1: warning: control reaches end of non-void function ../.././gcc/graphite.c: In function ‘cloog_program_blocklist’: ../.././gcc/graphite-cloog-compat.h:155:1: warning: control reaches end of non-void function ../.././gcc/graphite.c: In function ‘cloog_program_names’: ../.././gcc/graphite-cloog-compat.h:131:1: warning: control reaches end of non-void function ../.././gcc/graphite.c: In function ‘cloog_program_nb_scattdims’: ../.././gcc/graphite-cloog-compat.h:119:1: warning: control reaches end of non-void function ../.././gcc/graphite.c: In function ‘cloog_statement_usr’: ../.././gcc/graphite-cloog-compat.h:89:1: warning: control reaches end of non-void function make[3]: *** [graphite.o] error 1 make[3]: Leaving directory `/media/sdc2/gcc-build/gcc-trunk/host-i686-pc-linux-gnu/gcc' make[2]: *** [all-stage1-gcc] error 2 make[2]: Leaving directory `/media/sdc2/gcc-build/gcc-trunk' make[1]: *** [stage1-bubble] error 2 make[1]: Leaving directory `/media/sdc2/gcc-build/gcc-trunk' make: *** [all] error 2