[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 Jonathan Wakely changed: What|Removed |Added CC||vz-gcc at zeitlins dot org ---

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Tue Aug 21 15:25:17 2018 New Revision: 263739 URL: https://gcc.gnu.org/viewcvs?rev=263739=gcc=rev Log: PR c++/65043 * call.c (standard_conversion): Set

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 --- Comment #3 from Marek Polacek --- Testing a patch now.

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 --- Comment #2 from Marek Polacek --- Simplified: struct X { X(bool) { } }; int main() { X x{1.2}; }

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2017-06-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid