https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84784

--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #2)
> 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

Interestingly, this works for me with 11- and 10-branches, but fails with
12-mainline...

Reply via email to