Landing: 058982859005

Project / Subsystem

gcc / ada

Date

2026-01-11

Author

Eric Botcazou

Commit

058982859005e5ea28d13a252b6510bdf80f15a6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
058982859005e5ea28d13a252b6510bdf80f15a6
source_type
github
headline
Ada: Refine semantic analysis of expression functions
tldr
This commit streamlines semantic analysis of expression functions in Ada, eliminating some redundant checks and messages.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • expression functions
  • semantic analysis
  • compiler optimization
discussion_id_link
bugzilla_pr
date
2026-01-11T00:00:00.000Z

This commit introduces small refinements to the semantic analysis of expression functions in Ada. The changes primarily focus on streamlining the implementation within Analyze_Subprogram_Body_Helper by introducing a local boolean constant From_Expression_Function and using it consistently. The update also eliminates redundant name conflict checks and consistency verifications for overriding indicators in specific cases, aiming to reduce noise and improve the efficiency of the compilation process.