[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 6 12:30:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78221
--- Comment #8 from janus at gcc dot gnu.org ---
(In reply to Thomas Koenig from comment #6)
> This looks promising:
Indeed! I can confirm that this fixes the bogus warning on comment 0 and 4 and
also in a larger code base, where I first observed it (four-fold).
Thanks for the quick fix! That patch is ok for trunk and gcc-6 from my side.
Could you explain how/why it fixes the problem? Or where the problem came from
in the first place?
More information about the Gcc-bugs
mailing list