Landing: 910901abe03a

Project / Subsystem

gcc / c++/reflection

Date

2026-05-26

Author

Marek Polacek

Commit

910901abe03a31c5f234852e224be4c37d08b5d9

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
c++/reflection
patch_id
commit_hash
910901abe03a31c5f234852e224be4c37d08b5d9
source_type
github
headline
C++ Reflection Avoids ICE When Substituting Base Class Information
tldr
The compiler now avoids internal compiler errors (ICE) when substituting base class information during C++ reflection.
author
Marek Polacek
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • c++
  • reflection
  • ice
discussion_id_link
bugzilla_pr
date
2026-05-26T00:00:00.000Z

The C++ reflection implementation previously triggered an internal compiler error when attempting to substitute base class information. This commit prevents the substitution of base class information, resolving the ICE. A new test case is added to verify the fix.