diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-01-27 05:48:45 -0800 |
---|---|---|
committer | H.J. Lu <(no_default)> | 2024-01-29 05:29:01 -0800 |
commit | 291f75fa1bc6a23c6184bb99c726074b13f2f18e (patch) | |
tree | 6a62cb1461d07e76d1f60bca171c0d0807424619 /gcc/tree-vect-loop-manip.cc | |
parent | 8a48723daca911f8cb16a459933772989173aa73 (diff) | |
download | gcc-291f75fa1bc6a23c6184bb99c726074b13f2f18e.zip gcc-291f75fa1bc6a23c6184bb99c726074b13f2f18e.tar.gz gcc-291f75fa1bc6a23c6184bb99c726074b13f2f18e.tar.bz2 |
x86: Save callee-saved registers in noreturn functions for -O0/-Og
Save callee-saved registers in noreturn functions for -O0/-Og so that
debugger can restore callee-saved registers in caller's frame.
Also add the TREE_THIS_VOLATILE check to minimize noreturn attribute
lookup.
gcc/
PR target/38534
* config/i386/i386-options.cc (ix86_set_func_type): Save
callee-saved registers in noreturn functions for -O0/-Og.
gcc/testsuite/
PR target/38534
* gcc.target/i386/pr38534-5.c: New file.
* gcc.target/i386/pr38534-6.c: Likewise.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions