diff options
author | Alexandre Oliva <oliva@adacore.com> | 2019-09-03 06:06:02 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2019-09-03 06:06:02 +0000 |
commit | e4a8d4a7ec496dbd6602e373dcfcb72c25c60f86 (patch) | |
tree | 1aaf91dc17af50f66d50dcf207aecf120365ef84 /gcc/tree-vrp.c | |
parent | 97d6a7c80e63563390bda35b1e7126b48e3a51f3 (diff) | |
download | gcc-e4a8d4a7ec496dbd6602e373dcfcb72c25c60f86.zip gcc-e4a8d4a7ec496dbd6602e373dcfcb72c25c60f86.tar.gz gcc-e4a8d4a7ec496dbd6602e373dcfcb72c25c60f86.tar.bz2 |
[x86 testsuite] preserve full register across main
This test uses a call-saved register as a global variable. It
attempts to preserve its value across main, but only the lower int
part is preserved, which is not good enough for x86_64, when the
runtime that calls main() happens to hold something in the chosen
register that is not a zero-extension from the 32-bit value, and
rightfully expects the full register to remain unchanged when main()
returns.
for gcc/testsuite/ChangeLog
* gcc.target/i386/20020616-1.c: Preserve full register across
main.
From-SVN: r275329
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions