This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/22131] std::num_get fails for input with invalid groups
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2005 12:18:13 -0000
- Subject: [Bug libstdc++/22131] std::num_get fails for input with invalid groups
- References: <20050620234814.22131.sebor@roguewave.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-06-24 12:18 -------
If I understand correctly Martin, the point is that, according to
22.2.2.1.2/11-12, even when the groups are invalid (indeed, he expects a fail
in the second assert) the value is stored in val anyway. If this is his point,
I believe he is right, we have a bug, certainly not terribly difficult to fix ;)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22131