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.