Hello,
This is a possible fix for Wnarrowing warning issues.
Bootstrapped on x86_64 Linux.
diff --git a/gcc/cp/typeck2.cc b/gcc/cp/typeck2.cc
2 │ index 45edd180173..535f1bdfa3e 100644
3 │ --- a/gcc/cp/typeck2.cc
4 │ +++ b/gcc/cp/typeck2.cc
5 │ @@ -1142,6 +1142,10 @@ check_narro
Hello,
The patch below proposes a possible improvement for the issue mentioned in
bug 65445. Although I'm not certain that it address all the concerns, it
does seem to make it better.
Bootstrapped on x86_64 Linux.
Thanks,
Vishnu
1 │ diff --git a/gcc/opt-functions.awk b/gcc/opt-functions.awk