Bug 26263 - defective locale named "fr_CA"
Summary: defective locale named "fr_CA"
Status: RESOLVED DUPLICATE of bug 23953
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 4.0.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 17:25 UTC by o.kullmann
Modified: 2006-02-13 17:27 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description o.kullmann 2006-02-13 17:25:20 UTC
The program

#include <iostream>
#include <locale>

int main() {
  std::cout.imbue(std::locale("fr_CA"));
  std::cout << 1;
}

crashes on a 32-bit laptop as well as on a 64-bit workstation,
for all compiler versions 3.4.3 - 4.0.2 (didn't check others)
with a segmentation fault.

And I believe it shouldn't crash (only perhaps throwing an
exception).
Comment 1 Andrew Pinski 2006-02-13 17:27:34 UTC
This is a dup of bug 23953 which was fixed in 4.0.3.

*** This bug has been marked as a duplicate of 23953 ***