[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread erenon2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 --- Comment #4 from Benedek Thaler --- FTR, Using (N != 0 && i < N) does not silence the warning. https://gcc.godbolt.org/z/WqaT3G

[Bug c++/97544] New: -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread erenon2 at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: erenon2 at gmail dot com Target Milestone: --- The following code triggers -Wtype-limits: template constexpr int f(unsigned i) { return (i < N) ? 0

[Bug libstdc++/93672] New: std::basic_istream::ignore hangs if delim MSB is set

2020-02-11 Thread erenon2 at gmail dot com
- istreamignore-hangs-if-delim-msb-is-set Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: erenon2 at gmail dot com Target Milestone: --- The following program hangs

[Bug c++/41091] Using section attribute in c and c++ function causes section type conflict

2017-10-24 Thread erenon2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41091 Benedek changed: What|Removed |Added CC||erenon2 at gmail dot com --- Comment #6 from