http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61023

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppluzhnikov at google dot com

--- Comment #6 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Created attachment 32750
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32750&action=edit
test case for move assignment operator

Just discovered this in Google code as well. Ref b/14590795

Move assign operator is broken the same way:

  for no_rvalue in 1 0; do
    for test in TEST_{,MULTI}{SET,MAP}; do
      echo -e "$no_rvalue $test \c"; g++ -std=c++11 set.cc  -D$test -g
-DNO_RVALUE=$no_rvalue && ./a.out &> /dev/null &&
        echo OK
    done
  done

1 TEST_SET OK
1 TEST_MAP OK
1 TEST_MULTISET OK
1 TEST_MULTIMAP OK
0 TEST_SET Aborted (core dumped)
0 TEST_MAP Aborted (core dumped)
0 TEST_MULTISET Aborted (core dumped)
0 TEST_MULTIMAP Aborted (core dumped)


Note: this is a 4.9/4.10 regression -- 4.8.3 works correctly.

Reply via email to