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

            Bug ID: 120743
           Summary: ice in verify_gimple_in_seq
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 61676
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61676&action=edit
Fortran 90 source code

For the attached Fortran 90 code and it's associated mod file,
does this with recent gfortran:

foundBugs $ /home/dcb42/gcc/results.20250603.asan.ubsan/bin/gfortran -c -w
bug1105.f90 
foundBugs $ /home/dcb42/gcc/results.20250605.asan.ubsan/bin/gfortran -c -w
bug1105.f90
bug1105.f90:177:3:

  177 |   SUBROUTINE get_c_attr ( attrname, attrval_c )
      |   ^~~~~~~~~~~~~~~~~~~~~
Error: type mismatch in binary expression
unsigned long

integer(kind=8)

unsigned long

_17 = D.6220 + 18446744073709551615;

foundBugs $ /home/dcb42/gcc/results.20250603.asan.ubsan/bin/gfortran -v 2>&1 |
grep exp
gcc version 16.0.0 20250603 (experimental) (b25ec038dcaf7e48) 
foundBugs $ /home/dcb42/gcc/results.20250605.asan.ubsan/bin/gfortran -v 2>&1 |
grep exp
gcc version 16.0.0 20250605 (experimental) (a31e76a264355370) 
foundBugs $

Reply via email to