[Bug libstdc++/114359] std::binomial_distribution hangs in infinite loop

2024-03-15 Thread angelo.landi at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114359 --- Comment #2 from Angelo Landi --- (In reply to Andrew Pinski from comment #1) > > Due to an integer overflow > > Hmm, I don't think this is an integer overflow but rather due to wrapping. > Yes there is a difference as overflow is undefined

[Bug libstdc++/114359] New: std::binomial_distribution hangs in infinite loop

2024-03-15 Thread angelo.landi at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114359 Bug ID: 114359 Summary: std::binomial_distribution hangs in infinite loop Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon