Re: Question about Fortran bounds and -Wanalyzer-use-of-uninitialized-value

2022-10-12 Thread Harald Anlauf via Fortran
Hi Dave, Am 12.10.22 um 15:46 schrieb David Malcolm via Fortran: Sorry in advance if this is a silly question; my knowledge of Fortran is next to nothing, I'm afraid. PR analyzer/107210 reports an ICE in -fanalyzer on this reproducer: ! { dg-additional-options "-O1" } subroutine check_int (j

Question about Fortran bounds and -Wanalyzer-use-of-uninitialized-value

2022-10-12 Thread David Malcolm via Fortran
Sorry in advance if this is a silly question; my knowledge of Fortran is next to nothing, I'm afraid. PR analyzer/107210 reports an ICE in -fanalyzer on this reproducer: ! { dg-additional-options "-O1" } subroutine check_int (j) INTEGER(4) :: i, ia(5), ib(5,4), ip, ipa(:) target :: ib POI