Landing: 45fdb9b21823

Project / Subsystem

gcc / gcc

Date

2026-05-24

Author

Martin Uecker

Commit

45fdb9b21823f2f4cb5dc82bb946874bb5de4302

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
45fdb9b21823f2f4cb5dc82bb946874bb5de4302
source_type
github
headline
C: Cleanups for function comptypes hierarchy
tldr
This commit refactors the comptypes function hierarchy in the C language frontend to improve code clarity and correctness.
author
Martin Uecker
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • c
  • refactor
  • type checking
discussion_id_link
bugzilla_pr
date
2026-05-24T00:00:00.000Z

This commit refactors the comptypes function hierarchy in the C language frontend of GCC. It changes functions to return a boolean value to indicate attribute mismatches, simplifying the code and removing the need for wrapper functions. Additionally, it corrects a faulty condition check, enhancing the reliability of type compatibility assessments.