[Bug libstdc++/47921] New: pbump will overflow when input n is larger than 2G-1

2011-02-28 Thread RobertPython at 163 dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47921 Summary: pbump will overflow when input n is larger than 2G-1 Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: critical Priority: P3 Component: libstdc++ Ass

[Bug libstdc++/47921] pbump will overflow when input n is larger than 2G-1

2011-02-28 Thread RobertPython at 163 dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47921 --- Comment #1 from Robert Python 2011-02-28 10:51:30 UTC --- try below program in a 64bit environment with about 8G memory: #include #include #include #define N 1 #define SIZE 40 using namespace std; int main() { const cha