Many dg-do compile tests, added when libstdc++/2020 was fixed, are using the
class gnu_char_type as a character type. But this is buggy, because characters
are PODs and PODs cannot have user defined constructors because are aggregate
(8.5.1/1, 9/4). Maybe better removing completely the duplicated gnu_char_type
class from the testsuite and use instead one of the available POD chars, a
nice clean-up too.

(by the way, the presence of gnu_char_type misled me to believe that PODs can
have user defined constructors, thus complicating unnecessarily sso_string,
which actually can be simplified after this issue is fixed)


-- 
           Summary: Remove from the testsuite gnu_char_type (or fix it)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pcarlini at suse dot de


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

Reply via email to