diff options
author | Alexandre Oliva <oliva@adacore.com> | 2020-06-10 17:56:36 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:11:51 -0300 |
commit | 261a4d68c99c1f447223a063962531ec2f496c22 (patch) | |
tree | 329db8007330b844cb4d8935d3c62edde26a4244 /gcc/fortran/expr.c | |
parent | ce6914411cd7d4133f829aae6dcea01069c69fc5 (diff) | |
download | gcc-261a4d68c99c1f447223a063962531ec2f496c22.zip gcc-261a4d68c99c1f447223a063962531ec2f496c22.tar.gz gcc-261a4d68c99c1f447223a063962531ec2f496c22.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/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions