[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2010-05-10 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2010-05-10 19:29 --- We should now have about the same behaviour as with C. The additional requests in comment #4 (integer division) are not handled by the patch in #9. These are special cases and not necessarily related to -Wconversi

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2010-05-10 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2010-05-10 17:11 --- Subject: Bug 27866 Author: dfranke Date: Mon May 10 17:10:53 2010 New Revision: 159238 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159238 Log: gcc/fortran/: 2010-05-10 Daniel Franke PR fortran

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2008-04-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2008-04-17 22:00 --- *** Bug 35962 has been marked as a duplicate of this bug. *** -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2007-04-19 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-04-19 21:45 --- *** Bug 31637 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2007-02-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-02-18 21:18 --- *** Bug 28399 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27866

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2007-02-16 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2007-02-16 21:08 --- (In reply to comment #4) > (In reply to comment #3) > > > There is a new -Wconversion implementation. Perhaps you could do the same > > for > > fortran as I did for C/C++. Take a look at c-common.c > > (conversion_wa

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2007-02-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2007-02-16 20:50 --- (In reply to comment #3) > There is a new -Wconversion implementation. Perhaps you could do the same for > fortran as I did for C/C++. Take a look at c-common.c (conversion_warnings). > It > would be great if -Wcon

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2007-02-14 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2007-02-14 15:47 --- (In reply to comment #1) > (In reply to comment #0) > > In the following program there is clearly a problem with the "r = d" > > assignment. In most real programs such drastic case does not happen. > > However, > > sim

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2006-06-07 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2006-06-07 19:32 --- Yes, this would be useful. Confirmed as an enhancement. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27866] Warn when casting, e.g. assigning a double precision to a real

2006-06-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2006-06-01 21:09 --- (In reply to comment #0) > In the following program there is clearly a problem with the "r = d" > assignment. In most real programs such drastic case does not happen. However, > simple precision loss or worse things