Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-617

[Intel C++ 10.0] error on implicit assignment in 26.valarray.transcend.stdcxx-315.cp

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Tests
    • Labels:
      None
    • Environment:

      Intel C++ 10.0/Linux

    • Patch Info:
      Patch Available
    • Severity:
      Compiler Error

      Description

      Copied from http://www.nabble.com/Re%3A--VOTE--release-stdcxx-4.2.0-%28candidate-7%29-p13372451.html:

      ...I tried Intel 10.0 and found another test that gave a compiler error. I didn't investigate it in great detail but it looks like a problem
      in the test rather than a compiler bug.

      /home/mbrown/stdcxx-4.2.0/tests/regress/26.valarray.transcend.stdcxx-315.cpp(43): error: implicitly generated assignment operator cannot copy:
      const member "S::self"
      struct S {
      ^
      detected during:
      implicit generation of "S &S::operator=(const S &)" at line 1033 of "/home/mbrown/stdcxx-4.2.0/include/valarray"
      instantiation of "std::valarray<_TypeT> std::abs(const std::valarray<_TypeT> &) [with _TypeT=S]" at line 78

        Attachments

          Activity

            People

            • Assignee:
              vitek Travis Vitek
              Reporter:
              sebor Martin Sebor

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment