This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/40103] New: [4.5 Regression] error: enum constant defined in struct or union is not visible in C++
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2009 17:09:41 -0000
- Subject: [Bug bootstrap/40103] New: [4.5 Regression] error: enum constant defined in struct or union is not visible in C++
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Bootstrap is broken again at revision 147380 (147349 worked):
...
/opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-gcc/
-B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -c -g -O2 -fomit-frame-pointer
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.5-work/gcc
-I../../gcc-4.5-work/gcc/. -I../../gcc-4.5-work/gcc/../include -I./../intl
-I../../gcc-4.5-work/gcc/../libcpp/include -I/sw/include
-I../../gcc-4.5-work/gcc/../libdecnumber
-I../../gcc-4.5-work/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include
-I/sw/include -DCLOOG_PPL_BACKEND ../../gcc-4.5-work/gcc/graphite.c -o
graphite.o
cc1: warnings being treated as errors
../../gcc-4.5-work/gcc/graphite.c: In function
'loop_iv_stack_patch_for_consts':
../../gcc-4.5-work/gcc/graphite.c:500: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c: In function 'clast_to_gcc_expression':
../../gcc-4.5-work/gcc/graphite.c:3844: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c:3874: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c:3895: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c: In function 'gcc_type_for_clast_expr':
../../gcc-4.5-work/gcc/graphite.c:3937: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c:3947: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c:3966: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c: In function 'find_cloog_iv_in_expr':
../../gcc-4.5-work/gcc/graphite.c:5327: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c:5331: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
../../gcc-4.5-work/gcc/graphite.c:5334: error: enum constant defined in struct
or union is not visible in C++
/sw/include/cloog/clast.h:9: note: enum constant defined here
--
Summary: [4.5 Regression] error: enum constant defined in struct
or union is not visible in C++
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40103