[23.10 FEAT] [GNU2219] GCC Preserve register arguments support
Bug #2025575 reported by
bugproxy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Skipper Bug Screeners | ||
gcc-13 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Feature Description:
Owing to performance concerns and in order to be able to access function arguments it is required:
1. to store the argument register content to the stack
2. generate proper CFI to allow the unwinder to locate it
tags: | added: architecture-s39064 bugnameltc-202893 severity-high targetmilestone-inin2310 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
affects: | linux (Ubuntu) → gcc-12 (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in gcc-12 (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → nobody |
Changed in ubuntu-z-systems: | |
importance: | Undecided → High |
Changed in gcc-12 (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: rls-mm-incoming |
information type: | Private → Public |
tags: |
added: foundations-todo removed: rls-mm-incoming |
Changed in gcc-13 (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntu-z-systems: | |
status: | New → Confirmed |
Changed in ubuntu-z-systems: | |
status: | Confirmed → Fix Released |
tags: | removed: foundations-todo |
To post a comment you must log in.
------- Comment From <email address hidden> 2023-07-02 18:29 EDT-------
The following 3 patches are required for this feature:
New reg note REG_CFA_NORESTORE 55595069eb870d6 f30f1f9134
ef5f7b89bbc3522
IBM zSystems: Make stack_tie to work with hard frame pointer ef30e3553a43167 9de00549b9
36ffb2e0293d1bb
IBM zSystems: Save argument registers to the stack -mpreserve-args 9c28e4526548ddc 25d02898ca
8091199cdf4d0aa
(FYI: The last patch contains two testcases for the GCC testsuite)