Landing: 4d9a71ceec40

Project / Subsystem

gcc / fortran

Date

2026-07-26

Author

Jerry DeLisle

Commit

4d9a71ceec40da31f781a495368250a1b92d5acb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
4d9a71ceec40da31f781a495368250a1b92d5acb
source_type
github
headline
fortran: Fix editorial error and new test case
tldr
Corrects a mask logic error in libgfortran's reduce intrinsic and adds a test case.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • libgfortran
  • intrinsic
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-07-26T00:00:00.000Z

This commit addresses a minor issue in the Fortran reduce intrinsic by fixing a logic error in mask_present within the intrinsics/reduce.c file. Additionally, a new test case has been added to the test suite to verify that a previously dead code path now correctly triggers an error message.