Landing: 968c8e7dd702

Project / Subsystem

gcc / fortran

Date

2026-08-15

Author

Mikael Morin

Commit

968c8e7dd702cf0c4d1932393c79d58ea4b84492

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
968c8e7dd702cf0c4d1932393c79d58ea4b84492
source_type
github
headline
Fortran: Fix IS_CONTIGUOUS descriptor access for PR126892
tldr
Correctly dereferences descriptor pointer in Fortran IS_CONTIGUOUS to fix ICE.
author
Mikael Morin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • ice
  • • pr126892
  • • compiler bug
discussion_id_link
—
bugzilla_pr
—
date
2026-08-15T00:00:00.000Z

This commit fixes an internal compiler error (ICE) in the Fortran front-end related to the IS_CONTIGUOUS intrinsic function. Previously, the code incorrectly used a pointer to a descriptor directly, bypassing the necessary dereferencing. This led to the descriptor accessors receiving a pointer instead of a descriptor, causing the ICE. The fix dereferences the pointer to ensure the accessors receive the correct type, resolving the error and includes a new test case.