https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113884

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Reduced to:
> ```
> struct B
> {
>   B(double);
> };
> 
> struct C
> {
>   C(int);
> };
> 
> 
> void func(B);
> void func(C);
> 
> int main() {
>     func({ 4.2 });
> }
> ```

Actually C constructor should be:
  explicit  C(int);

Reply via email to