[Bug c++/111140] wrong error message; not able deduct initializer list type

2023-08-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40

--- Comment #3 from Jonathan Wakely  ---
But I don't know why -fno-deduce-init-list only affects the diagnostic for one
of the function templates.

[Bug c++/111140] wrong error message; not able deduct initializer list type

2023-08-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40

--- Comment #2 from Jonathan Wakely  ---
I think r0-112851-g15694fdd6d84db changed the diagnostic by making
-fno-deduce-init-list the default.