Skip to content

Vectorized bitset::to_string() remove _Load_constant() trick #6473

Open

Description

@AlexGuteniev

There's DevCom-11056873 workaround

STL/stl/src/vector_algorithms.cpp

Lines 12125 to 12126 in 94aef91

// TRANSITION: DevCom-11056873
const auto _Constant = _Traits::_Load_constant();

The compiler issue has been fixed.

The call to _Load_constant() and each its implementation can probably be safely replaced with vectors constructed from literals.

But need to inspect codegen and/or run the benchmark to see if it is really fixed.

Activity

  1. AlexGuteniev commented on Nov 13, 2026

    @AlexGuteniev
    ContributorAuthor

    Hari Limaye (@hazzlim) can you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions