[Bug c++/105255] Narrowing conversion from enumerator to integer not detected

2022-04-13 Thread cerrigno at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105255 --- Comment #1 from Giovanni Cerretani --- I attach also a more comprehensive test that also checks conversions from integer to enumeration types (https://godbolt.org/z/jbe76E3c1). The behavior of direct-list-initialization has changed on C++17,

[Bug c++/105255] New: Narrowing conversion from enumerator to integer not detected

2022-04-13 Thread cerrigno at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105255 Bug ID: 105255 Summary: Narrowing conversion from enumerator to integer not detected Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102928] New: Template argument deduction when mixing variadic template with C-style variadic function

2021-10-25 Thread cerrigno at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102928 Bug ID: 102928 Summary: Template argument deduction when mixing variadic template with C-style variadic function Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug c/100842] New: Invalid -Wstringop-truncation with strncat and -O2

2021-05-31 Thread cerrigno at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100842 Bug ID: 100842 Summary: Invalid -Wstringop-truncation with strncat and -O2 Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon