Re: [PATCH] c++: Link extended FP conversion pedwarns to -Wnarrowing [PR111842]

2023-11-13 Thread Jason Merrill
On 11/13/23 14:01, Jonathan Wakely wrote: Tested x86_64-linux. Does this make sense for trunk? OK, thanks. These forbidden conversions are defined as narrowing conversions, and we already use -Wnarrowing to control other "ill-formed, but only warn by default" diagnostics required by the stand

[PATCH] c++: Link extended FP conversion pedwarns to -Wnarrowing [PR111842]

2023-11-13 Thread Jonathan Wakely
Tested x86_64-linux. Does this make sense for trunk? These forbidden conversions are defined as narrowing conversions, and we already use -Wnarrowing to control other "ill-formed, but only warn by default" diagnostics required by the standard. -- >8 -- Several users have been confused by the sta