[Bug fortran/126816] [17 Regression] gfortran: ICE building pr46884.f between r17-3145 and r17-3194 on Darwin.

"anlauf at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126816

Harald Anlauf <anlauf at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2026-08-13

--- Comment #1 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
Confirmed also on x86_64-pc-linux-gnu under valgrind:

==484656== Invalid read of size 8
==484656==    at 0x10FD12D: gfc_resolve_substring(gfc_ref*, bool*)
(resolve.cc:5954)
[...]
==484656== 
==484656== Invalid read of size 4
==484656==    at 0x10FB2C9: compare_bound(gfc_expr*, gfc_expr*)
(resolve.cc:5209)
[...]
==484656== 
==484656== Invalid read of size 8
==484656==    at 0x10FD27D: gfc_resolve_substring(gfc_ref*, bool*)
(resolve.cc:5976)
[...]
==484656== 
==484656== Invalid read of size 8
==484656==    at 0x128AFEB: gfc_get_character_type(int, gfc_charlen*)
(trans-types.cc:1322)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.