This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24198] New: Remove from the testsuite gnu_char_type (or fix it)
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2005 20:09:07 -0000
- Subject: [Bug libstdc++/24198] New: Remove from the testsuite gnu_char_type (or fix it)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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