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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to n.deshm...@samsung.com from comment #7)
> 
> Is there a reason why the second error is not categorized under
> -Wfloat-conversion diagnostic?

Did you read what I linked?
I will link it again:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1467r4.html#implicit

It even mentions why things won't change.
Again the code:
```
float a;
_Float16 b = a;
```
is invalid C++ code as defined by that paper (which was addopted for C++23).
While:
```
double a;
float b = a;
```
is still valid even.

Reply via email to