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

            Bug ID: 92629
           Summary: internal compiler error: in convert_mpz_to_unsigned,
                    at fortran/simplify.c:173
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gsocshubham at gmail dot com
  Target Milestone: ---

For below testcase, I ran on godbolt.org GFORTRAN trunk - 


--------------------------------TESTCASE-----------------------------------

subroutine print_pass_fail(expected, actual)
implicit none
  logical :: actual, expected
   if ( actual .eqv. expected )then
        print *, "PASS"
   else
        print *, "FAIL"
end if
end subroutine print_pass_fail
program bge_test_base
      implicit none
      logical :: index
      index = BGE(127, 2147483648);
      !print *, index
      call print_pass_fail (.true.,index)
end program

----------------------COMMAND LINE OPTIION USED----------------------------

-fno-range-check

----------------------TRIED ON---------------------------

X86-64 gfortran (trunk)

Reply via email to