Hi,

On 04/30/2015 06:36 PM, Prathamesh Kulkarni wrote:
Hi,
The attached patch fixes ICE in PR65858.

For the test-case:
int x { 0.5 };
Eventually, we have to add to the testsuite the testcase too (the code is simpler but equivalent to what we added for 65801, -flto makes all the difference). And a fix goes in gcc-5-branch too.

Anyway, your proposal makes sense to me (this couple of issues is really weird, essentially we end up using a pedwarn instead of a plain error *only* to print [-Wnarrowing] and tell people that the diagnostic can be suppressed!?!) but we want to ear Jason.

Paolo.

Reply via email to