diff options
author | Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> | 2023-02-18 13:54:10 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-02-20 17:32:31 -0800 |
commit | a804419c89db9e1c0b99e772dda6c95095bab0bf (patch) | |
tree | c0e46cf88e38167dcc9ab0611050e756a5c80b6d /gcc/gcc-ar.cc | |
parent | 65c64105a816a887092b954dee0340e45c9495b4 (diff) | |
download | gcc-a804419c89db9e1c0b99e772dda6c95095bab0bf.zip gcc-a804419c89db9e1c0b99e772dda6c95095bab0bf.tar.gz gcc-a804419c89db9e1c0b99e772dda6c95095bab0bf.tar.bz2 |
xtensa: Enforce return address saving when -Og is specified
Leaf function often omits saving its return address to the stack slot,
and this feature often makes debugging very confusing, especially for
stack dump analysis.
gcc/ChangeLog:
* config/xtensa/xtensa.cc (xtensa_call_save_reg): Change to return
true if register A0 (return address register) when -Og is specified.
Diffstat (limited to 'gcc/gcc-ar.cc')
0 files changed, 0 insertions, 0 deletions