[Bug c++/93164] New: variadic template function passed an initializer list fails with argument count mismatch error rather than expected "couldn't deduce template parameter" error

2020-01-05 Thread davidfink314 at gmail dot com
ter" error Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: davidfink314 at gmail dot com Target Milestone: --

[Bug c++/93164] variadic template function passed an initializer list fails with argument count mismatch error rather than expected "couldn't deduce template parameter" error

2020-01-05 Thread davidfink314 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93164 --- Comment #1 from David Fink --- Also reported to clang: https://bugs.llvm.org/show_bug.cgi?id=43944

[Bug c++/97197] New: With -O2, Incorrect -Werror=maybe-uninitialized thrown, leads to 'target_mem_ref' and 'dump_expr' in message

2020-09-24 Thread davidfink314 at gmail dot com via Gcc-bugs
Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: davidfink314 at gmail dot com Target Milestone: --- Bug looks like it was introduced in gcc 7 rep

[Bug c++/97197] With -O2, Incorrect -Werror=maybe-uninitialized thrown, leads to 'target_mem_ref' and 'dump_expr' in message

2020-09-25 Thread davidfink314 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97197 --- Comment #4 from David Fink --- Hi Jakub, I tried to reduce the code as much as possible before reporting, which is why the example has the "this != &o" check in the copy constructor. The original code where I saw this problem had the "this