[Bug fortran/42809] Too much noise with -Wconversion

2010-05-10 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2010-05-10 19:26 --- (In reply to comment #6) > The bad pointer position is another instance of the many PRs complaining about > this. I think this PR should be closed after a patch for -Wconversion was > applied and a new one for the er

[Bug fortran/42809] Too much noise with -Wconversion

2010-05-10 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2010-05-10 17:11 --- Subject: Bug 42809 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/42809] Too much noise with -Wconversion

2010-05-08 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-05-08 17:28 --- Patch for initial report: http://gcc.gnu.org/ml/fortran/2010-05/msg00067.html (In reply to comment #5) > There is also a lot of noise when a derived type with default > initialization is instantiated. Moreover

[Bug fortran/42809] Too much noise with -Wconversion

2010-01-22 Thread anlauf at gmx dot de
--- Comment #5 from anlauf at gmx dot de 2010-01-22 20:43 --- There is also a lot of noise when a derived type with default initialization is instantiated. Moreover, the warnings point to an unexpected locus. Consider: module bla implicit none integer, parameter :: i1 = 1, i2 = 2

[Bug fortran/42809] Too much noise with -Wconversion

2010-01-21 Thread anlauf at gmx dot de
--- Comment #4 from anlauf at gmx dot de 2010-01-21 21:11 --- Created an attachment (id=19684) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19684&action=view) Slightly improved version of the previous patch I have improved the patch so that now the following assignments do not th

[Bug fortran/42809] Too much noise with -Wconversion

2010-01-20 Thread anlauf at gmx dot de
--- Comment #3 from anlauf at gmx dot de 2010-01-20 23:02 --- Created an attachment (id=19669) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19669&action=view) Partial patch for conversion at assignment A patch that addresses the trivial part of the problem: the conversions from k

[Bug fortran/42809] Too much noise with -Wconversion

2010-01-19 Thread anlauf at gmx dot de
--- Comment #2 from anlauf at gmx dot de 2010-01-19 22:59 --- (In reply to comment #1) > Well constants don't really need to be warned about if it does fit. But > really > an generic integer(4) to real(4) should be warned about really as not all > integer(4) fit into real(4). > That'

[Bug fortran/42809] Too much noise with -Wconversion

2010-01-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-01-19 22:42 --- Well constants don't really need to be warned about if it does fit. But really an generic integer(4) to real(4) should be warned about really as not all integer(4) fit into real(4). -- http://gcc.gnu.org/bugzil