This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

The new invalidation tests are failing... (Re: [v3] debug mode)


Benjamin Kosnik wrote:

This patch comes in two parts.

My best compliments!

One minor nit: for some reason, all the new invalidation tests are failing at compile time in a normal build/test:

/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:24: error: use of `bitset' is ambiguous
/home/paolo/Gcc/cvs-dirs/gcc-head-build/i686-pc-linux-gnu/libstdc++-v3/include/bitset:604: error: first declared as `template<unsigned int _Nb> class __gnu_norm::bitset' here
/home/paolo/Gcc/cvs-dirs/gcc-head-build/i686-pc-linux-gnu/libstdc++-v3/include/debug/bitset:42: error: also declared as `template<unsigned int _Nb> class __gnu_debug_def::bitset' here
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:24: error: `__gnu_debug::bitset' has not been declared
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc: In function `void test01()':
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `bitset' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `::reference' has not been declared
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `i' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:33: error: `bs' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: expected type-name
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: expected type-name
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: `::reference' has not been declared
compiler exited with status 1
output is:
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:24: error: use of `bitset' is ambiguous
/home/paolo/Gcc/cvs-dirs/gcc-head-build/i686-pc-linux-gnu/libstdc++-v3/include/bitset:604: error: first declared as `template<unsigned int _Nb> class __gnu_norm::bitset' here
/home/paolo/Gcc/cvs-dirs/gcc-head-build/i686-pc-linux-gnu/libstdc++-v3/include/debug/bitset:42: error: also declared as `template<unsigned int _Nb> class __gnu_debug_def::bitset' here
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:24: error: `__gnu_debug::bitset' has not been declared
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc: In function `void test01()':
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `bitset' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `::reference' has not been declared
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `i' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:33: error: `bs' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: expected type-name
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: expected type-name
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: `::reference' has not been declared


FAIL: 23_containers/bitset/invalidation/1.cc (test for excess errors)
Excess errors:
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:24: error: use of `bitset' is ambiguous
/home/paolo/Gcc/cvs-dirs/gcc-head-build/i686-pc-linux-gnu/libstdc++-v3/include/bitset:604: error: first declared as `template<unsigned int _Nb> class __gnu_norm::bitset' here
/home/paolo/Gcc/cvs-dirs/gcc-head-build/i686-pc-linux-gnu/libstdc++-v3/include/debug/bitset:42: error: also declared as `template<unsigned int _Nb> class __gnu_debug_def::bitset' here
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:24: error: `__gnu_debug::bitset' has not been declared
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `bitset' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `::reference' has not been declared
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:31: error: `i' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:33: error: `bs' undeclared (first use this function)
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: expected type-name
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: expected type-name
/home/paolo/Gcc/cvs-dirs/gcc-head/gcc/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc:35: error: `::reference' has not been declared


WARNING: 23_containers/bitset/invalidation/1.cc compilation failed to produce executable

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]