https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105808

            Bug ID: 105808
           Summary: Internal unsafe integer narrowing conversion during
                    non-type template argument value deduction
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tomilovanatoliy at yandex dot ru
  Target Milestone: ---

Created attachment 53064
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53064&action=edit
test.cpp

GCC version: G++ 11.2.0
system type: Linux 5.10.105-1-MANJARO Mar 2022 x86_64 GNU/Linux

g++ -m64 -Wall -Wextra -c test.cpp -o /dev/null

No warning or errors reported (except static_assert violation).

Affected std::extent and std::extent_v for big arrays.
-mcmodel=medium has no effect.
  • [Bug c++/105808] New: Intern... tomilovanatoliy at yandex dot ru via Gcc-bugs

Reply via email to