This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/67219] [6 Regression] Incorrect conversion warning
- From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Aug 2015 06:02:04 +0000
- Subject: [Bug fortran/67219] [6 Regression] Incorrect conversion warning
- Auto-submitted: auto-generated
- References: <bug-67219-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67219
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Joost.VandeVondele at mat dot ethz
| |.ch
--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
It also depends on which value is used for 'huge_4', for example no warning
like so:
function foo(bar)
integer(8) :: foo
integer(4), intent(in) :: bar
! integer(4), parameter :: huge_4 = huge(0_4)
integer(4), parameter :: huge_4 = 2**30
foo = (huge_4 - int(bar,kind=8))
end function
there is also no valgrind warning for f951 compiling the testcase.