Boost logo

Boost :

Subject: Re: [boost] [array] failures in c++11 mode
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-02-14 17:11:48


On Feb 14, 2013, at 8:16 AM, Marshall Clow <mclow.lists_at_[hidden]> wrote:

> On Feb 14, 2013, at 7:41 AM, Tim Blechmann <tim_at_[hidden]> wrote:
>
>>>>> the boost.heap testsuite exposes this failure:
>>>>> http://www.boost.org/development/tests/trunk/developer/output/Sandia-gcc-4-7-1-c++11-boost-bin-v2-libs-heap-test-skew_heap_test-test-gcc-4-7-1_c++11-debug-threading-multi.html
>>> Interesting.
>>> Which compiler are you using?
>>
>> i'm on gcc-4.7. but the testfarm shows this issue on 4.6, too.
>
> Ok; downloading gcc 4.7 to build and try.
>
> The routine that gcc is complaining about "not having a return", btw is:
>
> BOOST_CONSTEXPR const_reference operator[](size_type i) const
> {
> return BOOST_ASSERT_MSG( i < N, "out of range" ), elems[i];
> }

Ok.
I have built gcc 4.7.2 and run the array tests.
I see the failure that you reported.
I also see a gcc crash in the test "array_constexpr":

        darwin.compile.c++ ../../../bin.v2/libs/array/test/array_constexpr.test/darwin-11/debug/array_constexpr.o
        array_constexpr.cpp: In member function 'void test_main::test_method()':
        array_constexpr.cpp:32:36: in constexpr expansion of 'arr.boost::array<T, N>::at<int, 10ul>(3ul)'
        array_constexpr.cpp:32:36: internal compiler error: in adjust_temp_type, at cp/semantics.c:6400
        Please submit a full bug report,
        with preprocessed source if appropriate.
        See <http://gcc.gnu.org/bugs.html> for instructions.

More as I find it out. ;-)

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk