FAIL: 24_iterators/container_access.cc (test for excess errors)

Kyrill Tkachov kyrylo.tkachov@arm.com
Fri Jul 31 14:20:00 GMT 2015


Hi guys,

I'm seeing this new test failing on aarch64-none-elf introduced with:
commit 0d252ab36fb1a85bcaf8e48a7a49a9727d6fa90d
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Jul 29 12:55:58 2015 +0000

         * testsuite/24_iterators/container_access.cc: New.

     git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226349 138bc75d-0d04-0410-961f-82ee72b054a4

commit b4ae6af33f660fb9b173035a024b7b4e0253eabf
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Jul 29 12:41:32 2015 +0000

     2015-07-29  Ville Voutilainen <ville.voutilainen@gmail.com>

         * include/bits/range_access.h: Change class to typename in every
         template.
         (size, empty, data): New functions from N4280.
         * testsuite/24_iterators/container_access.cc: New.

     git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226348 138bc75d-0d04-0410-961f-82ee72b054a4



The excess errors are:

$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:240:34: error: expected '>' before numeric constant
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:258:34: error: expected '>' before numeric constant
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:294:34: error: expected '>' before numeric constant
/work/kyrtka01/local-checkouts/gcc/libstdc++-v3/testsuite/24_iterators/container_access.cc:33:21: error: no matching function for call to 'data(int [42])'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:278:5: error: request for member 'data' in '__cont', which is of non-class type 'int [42]'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:287:5: error: request for member 'data' in '__cont', which is of non-class type 'const int [42]'
/work/kyrtka01/local-checkouts/gcc/libstdc++-v3/testsuite/24_iterators/container_access.cc:34:21: error: no matching function for call to 'size(int [42])'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:233:5: error: request for member 'size' in '__cont', which is of non-class type 'const int [42]'
/work/kyrtka01/local-checkouts/gcc/libstdc++-v3/testsuite/24_iterators/container_access.cc:35:23: error: no matching function for call to 'empty(int [42])'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:251:5: error: request for member 'empty' in '__cont', which is of non-class type 'const int [42]'
/work/kyrtka01/local-checkouts/gcc/libstdc++-v3/testsuite/24_iterators/container_access.cc:42:33: error: no matching function for call to 'data(const int [42])'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:278:5: error: request for member 'data' in '__cont', which is of non-class type 'const int [42]'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:287:5: error: request for member 'data' in '__cont', which is of non-class type 'const int [42]'
/work/kyrtka01/local-checkouts/gcc/libstdc++-v3/testsuite/24_iterators/container_access.cc:44:33: error: no matching function for call to 'size(const int [42])'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:233:5: error: request for member 'size' in '__cont', which is of non-class type 'const int [42]'
/work/kyrtka01/local-checkouts/gcc/libstdc++-v3/testsuite/24_iterators/container_access.cc:46:34: error: no matching function for call to 'empty(const int [42])'
$TOP/gcc2/aarch64-none-elf/libstdc++-v3/include/bits/range_access.h:251:5: error: request for member 'empty' in '__cont', which is of non-class type 'const int [42]'




More information about the Gcc-patches mailing list