diff options
author | Alexandre Oliva <oliva@adacore.com> | 2020-06-10 17:56:36 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2020-06-10 17:56:36 -0300 |
commit | 06ef9c119c56568e5f77a5189aa382cb97c95a9e (patch) | |
tree | 84ad8879bdf6ecf21a79e64f09569a2e6fc0a04f /gcc/print-rtl.c | |
parent | a9eec9625ea7165292958be04899b057804192fb (diff) | |
download | gcc-06ef9c119c56568e5f77a5189aa382cb97c95a9e.zip gcc-06ef9c119c56568e5f77a5189aa382cb97c95a9e.tar.gz gcc-06ef9c119c56568e5f77a5189aa382cb97c95a9e.tar.bz2 |
[PR51447] restore the global reg var before returning from main
A runtime system might legitimately hold in rbx a value expected to be
preserved across the call to main, but its use as a global register
variable stops main from preserving it.
for gcc/testsuite/ChangeLog
PR rtl-optimization/51447
* gcc.c-torture/execute/pr51447.c (main): Preserve call-saved
register.
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions