Landing: 8360a0204300

Project / Subsystem

gcc / tree-eh

Date

2026-09-09

Author

Kyrylo Tkachov

Commit

8360a020430078ee3e2d05b9e4456223ceb029d2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-eh
patch_id
—
commit_hash
8360a020430078ee3e2d05b9e4456223ceb029d2
source_type
github
headline
Tree-eh corrects trap-query function comments.
tldr
Corrects comments for tree-eh functions that check if expressions could trap, clarifying their behavior.
author
Kyrylo Tkachov
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • documentation
  • • exception handling
discussion_id_link
—
bugzilla_pr
—
date
2026-09-09T00:00:00.000Z

This commit corrects the documentation comments for tree_could_trap_p and lhs_could_trap_p within the tree-eh subsystem. It clarifies that tree_could_trap_p checks an expression as an rvalue, while lhs_could_trap_p checks it as a store destination, and fixes an inaccuracy in the latter’s description.