always define HAVE_simple_return and HAVE_return
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Tue, 28 Apr 2015 04:44:09 +0000 (04:44 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Tue, 28 Apr 2015 04:44:09 +0000 (04:44 +0000)
commit08b7ff1e1dda0bb35741ad8156bf31ba5151ddea
tree996ea71baffdec033124a780519ec47ed3bb21cf
parenta3699d669abd4543fdc3c4607e2d0550e67e52ba
always define HAVE_simple_return and HAVE_return

gcc/ChangeLog:

2015-04-27  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* bb-reorder.c (HAVE_return): Don't check if its undefined.
* defaults.h (gen_simple_return): New function.
(gen_simple_return): Likewise.
(HAVE_return): Add default definition to false.
(HAVE_simple_return): Likewise.
* cfgrtl.c (force_nonfallthru_and_redirect): Remove checks if
HAVE_return and HAVE_simple_return are defined.
* function.c (gen_return_pattern): Likewise.
(convert_jumps_to_returns): Likewise.
(thread_prologue_and_epilogue_insns): Likewise.
* reorg.c (find_end_label): Likewise.
(dbr_schedule): Likewise.
* shrink-wrap.c: Likewise.
* shrink-wrap.h: Likewise.

From-SVN: r222505
gcc/ChangeLog
gcc/bb-reorder.c
gcc/cfgrtl.c
gcc/defaults.h
gcc/function.c
gcc/reorg.c
gcc/shrink-wrap.c
gcc/shrink-wrap.h