diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-10-20 09:35:48 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-10-20 09:35:48 +0200 |
commit | 356fcc67fba52b6d923ab72769247300b847478d (patch) | |
tree | 5acbfd4819b74914f7d5f76e0f31a2aed423642d /gcc/tree-if-conv.c | |
parent | 9a45ffbd122d77a87c49d05b936a9d162625c5d8 (diff) | |
download | gcc-356fcc67fba52b6d923ab72769247300b847478d.zip gcc-356fcc67fba52b6d923ab72769247300b847478d.tar.gz gcc-356fcc67fba52b6d923ab72769247300b847478d.tar.bz2 |
re PR target/82158 (_Noreturn functions that do return clobber caller's registers on ARM32 (but not other arches))
PR target/82158
* tree-cfg.c (pass_warn_function_return::execute): In noreturn
functions when optimizing replace GIMPLE_RETURN stmts with
calls to __builtin_unreachable ().
* gcc.dg/tree-ssa/noreturn-1.c: New test.
From-SVN: r253926
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions