Landing: 56c9f39d2c70

Project / Subsystem

gcc / alloc-pool

Date

2026-05-07

Author

Richard Sandiford

Commit

56c9f39d2c703203014079b5a0a262ac22f8c3f2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
alloc-pool
patch_id
commit_hash
56c9f39d2c703203014079b5a0a262ac22f8c3f2
source_type
github
headline
alloc-pool: Allow non-default constructors.
tldr
The object_allocator now supports allocating objects using non-default constructors.
author
Richard Sandiford
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • memory allocation
  • constructor
  • alloc-pool
discussion_id_link
bugzilla_pr
date
2026-05-07T00:00:00.000Z

The object_allocator in alloc-pool has been generalized to support allocation using non-default constructors. This provides more flexibility when creating objects within the allocation pool allowing more complex object initialization. This enhancement mirrors functionality in rtl-ssa for obstack allocations and paves the way for upcoming backprop patches.