Landing: 7e1a9a434c5b

Project / Subsystem

gcc / c++

Date

2026-07-13

Author

Vladislav Semykin

Commit

7e1a9a434c5b672a0b5efd20f2f0d10713940bd6

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
c++
patch_id
commit_hash
7e1a9a434c5b672a0b5efd20f2f0d10713940bd6
source_type
github
headline
C++: Avoid double resolves_to_fixed_type_p call
tldr
Optimizes type resolution by avoiding redundant function calls in C++ typeid handling.
author
Vladislav Semykin
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • c++
  • optimization
discussion_id_link
bugzilla_pr
date
2026-07-13T00:00:00.000Z

This change optimizes the C++ typeid handling by avoiding a redundant call to resolves_to_fixed_type_p. By ensuring the typeid_evaluated_p function only calls this check once, it improves efficiency and simplifies the code.