
On Feb 14, 2013, at 8:16 AM, Marshall Clow <mclow.lists@gmail.com> wrote:
On Feb 14, 2013, at 7:41 AM, Tim Blechmann <tim@klingt.org> wrote:
the boost.heap testsuite exposes this failure: http://www.boost.org/development/tests/trunk/developer/output/Sandia-gcc-4-7... 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@gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki