Landing: e873aac49eb2

Project / Subsystem

gcc / c++

Date

2026-07-31

Author

Patrick Palka

Commit

e873aac49eb2b58ae18e05f4150826278bdbb3cb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
c++
patch_id
—
commit_hash
e873aac49eb2b58ae18e05f4150826278bdbb3cb
source_type
github
headline
c++: Revert resolvedness change for nondeduced contexts
tldr
Reverts a change that caused some C++ constructs to have unresolved types, fixing bugs in standard conversions and conditional expressions.
author
Patrick Palka
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • c++
  • • templates
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-07-31T00:00:00.000Z

This commit reverts a previous change that removed calls to mark C++ nondeduced contexts as used. The removal led to callers incorrectly inspecting TREE_TYPE of unresolved specializations, causing issues with standard_conversion and build_conditional_expr. The fix ensures that nondeduced contexts are properly resolved, addressing bugs in C++ template instantiation and type deduction.