Landing: 31c95bb248c9

Project / Subsystem

gcc / gcc/ada

Date

2026-09-22

Author

Eric Botcazou

Commit

31c95bb248c923e926102dd363cff0d9e1e5083d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/ada
patch_id
—
commit_hash
31c95bb248c923e926102dd363cff0d9e1e5083d
source_type
github
headline
Ada: Fix valid call to asymmetric "/=" rejected in prefix notation
tldr
Corrects an Ada compiler issue where valid asymmetric inequality operators were rejected in prefix notation for tagged types.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • ada
  • • compiler
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-09-22T00:00:00.000Z

This commit resolves an issue in GCC’s Ada front-end where valid calls to asymmetric inequality operators (’/=’) using prefix notation were incorrectly rejected when one operand was a tagged type. The fix redirects the handling of asymmetric inequality operators for tagged types to the common processing path, ensuring correctness and also addresses an inheritance glitch for derived types.