This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result
- From: "matt at bitbashing dot io" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 24 Jun 2015 21:53:22 +0000
- Subject: [Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result
- Auto-submitted: auto-generated
- References: <bug-48956-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956
Matt Kline <matt at bitbashing dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matt at bitbashing dot io
--- Comment #15 from Matt Kline <matt at bitbashing dot io> ---
> Fixed for GCC 6.
May I ask why this is being deferred until GCC 6.x? I'll readily admit that I'm
not well-versed in the GCC release cycle, but this seems like a trivial
enhancement and would be useful immediately. My team has been bitten by these
silent conversions, and -Wconversion on Clang currently provides a similar
warning.