[Bug libstdc++/118665] New: std::uniform_int_distribution infinite loop with generator returning 0

2025-01-26 Thread cgnitash at gmail dot com via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: cgnitash at gmail dot com Target Milestone: --- Passing a custom generator that always returns 0 to std::uniform_int_distrubtion causes it to hang (presumably due to an

[Bug c++/97846] New: No diagnostic for identifier label in constexpr gunction

2020-11-15 Thread cgnitash at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cgnitash at gmail dot com Target Milestone: --- Reproduced from https://stackoverflow.com/questions/64852653 gcc fails to diagnose the use of an identifier label in a constexpr function

[Bug c++/96720] New: ICE with* after include

2020-08-19 Thread cgnitash at gmail dot com
: unassigned at gcc dot gnu.org Reporter: cgnitash at gmail dot com Target Milestone: --- The following code gives an ice on gcc trunk. https://godbolt.org/z/5EaEGP #include *