[Bug c++/87120] gcc incorrectly accepts uniform-initializing bool values from double

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87120

--- Comment #3 from Jonathan Wakely  ---
The search defaults to open bugs. Bug 65043 is in RESOLVED state, so won't show
up unless you include closed bugs in the results.

[Bug c++/87120] gcc incorrectly accepts uniform-initializing bool values from double

2018-08-28 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87120

--- Comment #2 from Vadim Zeitlin  ---
Thanks and sorry for a duplicate!

In my defence -- and just in case there is some problem that could be fixed
here -- Bugzilla search seems to be broken: I had searched for "double narrow
bool" (without quotes) and even just "narrow bool" before opening the bug, but
it hadn't found anything and definitely not the bug 65043.

[Bug c++/87120] gcc incorrectly accepts uniform-initializing bool values from double

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87120

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Jonathan Wakely  ---
This was recently fixed on trunk.

*** This bug has been marked as a duplicate of bug 65043 ***