https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84784
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #2 from anlauf at gcc dot gnu.org --- Another reduced testcase: ! { dg-do run } ! { dg-options "-fdefault-integer-8" } ! { dg-require-effective-target fortran_integer_16 } if (runtime_popcnt(0_16) /= 0) STOP 2 contains integer function runtime_popcnt (i) integer(kind=16), intent(in) :: i runtime_popcnt = popcnt(i) end function end