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

            Bug ID: 96324
           Summary: two semantic errors in polymorphic allocator for
                    Ranges because it is attributed by constexpr.
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jesus at refusetoown dot com
  Target Milestone: ---

By my seeker test:
in libstdc++ version 12 two semantic errors are in polymorphic allocator for
Ranges because it is attributed by constexpr. is Consistent with 39 fidelities.

My explanation:
It is syntactically correct but semantically incorrect twice. I think error is
in the constexpr of polymorphic allocator. The symptom, for example is a vector
that fails to allocate any thing when you use push_back and it fails at runtime
with a crash of some type like segmentation faults because there is nothing
allocated when you try to use the vector after you push_back into it. You can
resize and such but it will still fail.

Reply via email to