diff options
author | Jan Hubicka <jh@suse.cz> | 2003-04-18 01:31:41 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-04-17 23:31:41 +0000 |
commit | 04c5580f371b08c0cccb05a520b69097512e3f62 (patch) | |
tree | 0bb84f63ed128b54b740a46b5532d57a1116b085 /gcc/rtl.h | |
parent | c409ea0d30ef28e68ff6b4fcb699ba013ee947f1 (diff) | |
download | gcc-04c5580f371b08c0cccb05a520b69097512e3f62.zip gcc-04c5580f371b08c0cccb05a520b69097512e3f62.tar.gz gcc-04c5580f371b08c0cccb05a520b69097512e3f62.tar.bz2 |
emit-rtl.c (subreg_hard_regno): Check that register is representable.
* emit-rtl.c (subreg_hard_regno): Check that register is representable.
* reload.c (reload_inner_reg_of_subreg): When register is not
representable, reload the whole thing.
(find_reloads): Likewsie.
* rtlanal.c (subreg_representable_p): New function.
* profile.c (compute_branch_probabilities): Cleanup sanity checking;
allow negative probabilities for edges from the call to exit.
(branch_prob): Do not add fake edges for functions that may return twice
From-SVN: r65757
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1038,6 +1038,10 @@ extern unsigned int subreg_regno_offset PARAMS ((unsigned int, enum machine_mode, unsigned int, enum machine_mode)); +extern bool subreg_offset_representable_p PARAMS ((unsigned int, + enum machine_mode, + unsigned int, + enum machine_mode)); extern unsigned int subreg_regno PARAMS ((rtx)); /* 1 if RTX is a subreg containing a reg that is already known to be |