[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-06-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added CC||mpolacek at

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-06-24 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #16 from Manuel López-Ibáñez manu at gcc dot gnu.org --- (In reply to Matt Kline from comment #15) 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

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-06-24 Thread matt at bitbashing dot io
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

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-06-24 Thread matt at bitbashing dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #17 from Matt Kline matt at bitbashing dot io --- Thanks for the info and such a quick response! I'll see if I can do the required legwork.

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-05-15 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #12 from miyuki at gcc dot gnu.org --- Author: miyuki Date: Fri May 15 18:02:50 2015 New Revision: 223223 URL: https://gcc.gnu.org/viewcvs?rev=223223root=gccview=rev Log: PR c/48956 gcc/c-family/ * c-common.c

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-05-15 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Mikhail Maltsev miyuki at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-05-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #13 from Manuel López-Ibáñez manu at gcc dot gnu.org --- (In reply to Mikhail Maltsev from comment #12) Great! Please do not forget to close the bug (using your @gcc.gnu.org account). I leave the honor to you. Perhaps even worth it

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2015-01-01 Thread maltsevm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Mikhail Maltsev maltsevm at gmail dot com changed: What|Removed |Added CC||maltsevm at

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2014-11-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #9 from Paolo Carlini paolo.carlini at oracle dot com --- Out of curiosity, what happened to this issue? (is still assigned to Steven) Note that as far as I can see it's essentially a C issue, because the C++ front-end rejects this

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2014-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||bratsinot at

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-12 Thread stevenj at alum dot mit.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #6 from stevenj at alum dot mit.edu 2011-05-12 22:33:59 UTC --- Thanks, I was somewhat aware of the additional requirements for applying patches to the official tree (probably I should also file a copyright assignment), but I wanted to

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-12 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #7 from Manuel López-Ibáñez manu at gcc dot gnu.org 2011-05-12 23:06:14 UTC --- (In reply to comment #6) Thanks, I was somewhat aware of the additional requirements for applying patches to the official tree (probably I should also

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-11 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #3 from Manuel López-Ibáñez manu at gcc dot gnu.org 2011-05-11 08:16:18 UTC --- (In reply to comment #0) PS. Note -Wconversion already DOES emit a warning for conversion to complex to real in gfortran. e.g. Except for very few

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-11 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-11 Thread stevenj at alum dot mit.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #4 from stevenj at alum dot mit.edu 2011-05-11 20:16:57 UTC --- Created attachment 24230 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24230 patch to add a -Wconversion warning for complex - real conversions I believe the

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-11 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-11 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #5 from Manuel López-Ibáñez manu at gcc dot gnu.org 2011-05-11 21:57:54 UTC --- (In reply to comment #4) Created attachment 24230 [details] patch to add a -Wconversion warning for complex - real conversions I believe the attached

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2011-05-10 Thread stevenj at alum dot mit.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 --- Comment #1 from stevenj at alum dot mit.edu 2011-05-11 00:01:32 UTC --- PPS. I have reproduced this problem in gcc versions 3.3.6, 3.4.6, 4.1.3, 4.3.2, and 4.6.0 running on an x86_64 Debian GNU/Linux system.