diff options
author | Richard Biener <rguenther@suse.de> | 2012-12-19 14:38:10 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-12-19 14:38:10 +0000 |
commit | f236ac951e1ca5188265fc72d78db8d3a97e2dd8 (patch) | |
tree | 2840eb1ad04973f93788fa92df8db0bee3f5a7f6 /gcc | |
parent | d1f985421fff69c6956206f9606c4a9e35b32a70 (diff) | |
download | gcc-f236ac951e1ca5188265fc72d78db8d3a97e2dd8.zip gcc-f236ac951e1ca5188265fc72d78db8d3a97e2dd8.tar.gz gcc-f236ac951e1ca5188265fc72d78db8d3a97e2dd8.tar.bz2 |
targhooks.h (default_canonicalize_comparison): Fix prototype.
2012-12-19 Richard Biener <rguenther@suse.de>
* targhooks.h (default_canonicalize_comparison): Fix prototype.
* targhooks.c (default_canonicalize_comparison): Define.
From-SVN: r194610
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/targhooks.c | 7 | ||||
-rw-r--r-- | gcc/targhooks.h | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c7f3643..59eb8bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2012-12-19 Richard Biener <rguenther@suse.de> + * targhooks.h (default_canonicalize_comparison): Fix prototype. + * targhooks.c (default_canonicalize_comparison): Define. + +2012-12-19 Richard Biener <rguenther@suse.de> + PR tree-optimization/55736 PR tree-optimization/55703 * gimplify.c (prune_expr_location): New function. diff --git a/gcc/targhooks.c b/gcc/targhooks.c index be008fd..241c1cc 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -1540,4 +1540,11 @@ default_member_type_forces_blk (const_tree, enum machine_mode) return false; } +/* Default version of canonicalize_comparison. */ + +void +default_canonicalize_comparison (int *, rtx *, rtx *, bool) +{ +} + #include "gt-targhooks.h" diff --git a/gcc/targhooks.h b/gcc/targhooks.h index fc13a26..bd7d4bc 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -179,7 +179,7 @@ extern unsigned char default_class_max_nregs (reg_class_t, enum machine_mode); extern enum unwind_info_type default_debug_unwind_info (void); -extern bool default_canonicalize_comparison (int *, rtx *, rtx *, bool); +extern void default_canonicalize_comparison (int *, rtx *, rtx *, bool); extern int default_label_align_after_barrier_max_skip (rtx); extern int default_loop_align_max_skip (rtx); |