aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop-manip.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-02-25 13:14:39 -0800
committerH.J. Lu <(no_default)>2024-02-26 02:31:06 -0800
commitbb98f71bac8aace4e685e648a81dfaf365123833 (patch)
tree41728126aebe1e8e46d5de5270fef2abef8d75fc /gcc/tree-vect-loop-manip.cc
parentf12697f3298566412386e5d70dc48a431e09b75f (diff)
downloadgcc-bb98f71bac8aace4e685e648a81dfaf365123833.zip
gcc-bb98f71bac8aace4e685e648a81dfaf365123833.tar.gz
gcc-bb98f71bac8aace4e685e648a81dfaf365123833.tar.bz2
x86: Check interrupt instead of noreturn attribute
ix86_set_func_type checks noreturn attribute to avoid incompatible attribute error in LTO1 on interrupt functions. Since TREE_THIS_VOLATILE is set also for _Noreturn without noreturn attribute, check interrupt attribute for interrupt functions instead. gcc/ PR target/114097 * config/i386/i386-options.cc (ix86_set_func_type): Check interrupt instead of noreturn attribute. gcc/testsuite/ PR target/114097 * gcc.target/i386/pr114097-1.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions