diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-01-31 17:08:47 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-01-31 17:08:47 +0100 |
commit | 8bb1a172e7c53c9bb42a4523dcfe19134bfb51b4 (patch) | |
tree | 827fb4edc77853392ce4bc16598e27c806817dfc /gcc/combine.c | |
parent | 01496eca3fede67bfd362d3bdbe20b55d7c54b28 (diff) | |
download | gcc-8bb1a172e7c53c9bb42a4523dcfe19134bfb51b4.zip gcc-8bb1a172e7c53c9bb42a4523dcfe19134bfb51b4.tar.gz gcc-8bb1a172e7c53c9bb42a4523dcfe19134bfb51b4.tar.bz2 |
re PR bootstrap/52058 (bootstrap fails on HAVE_cc0: combine.c: 'do_SUBST_LINK' defined but not used)
PR bootstrap/52058
* combine.c (do_SUBST_LINK, SUBST_LINK): Guard with #ifndef HAVE_cc0.
From-SVN: r183763
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 1e01c87..beb980b 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -790,6 +790,7 @@ do_SUBST_MODE (rtx *into, enum machine_mode newval) #define SUBST_MODE(INTO, NEWVAL) do_SUBST_MODE(&(INTO), (NEWVAL)) +#ifndef HAVE_cc0 /* Similar to SUBST, but NEWVAL is a LOG_LINKS expression. */ static void @@ -815,7 +816,7 @@ do_SUBST_LINK (struct insn_link **into, struct insn_link *newval) } #define SUBST_LINK(oldval, newval) do_SUBST_LINK (&oldval, newval) - +#endif /* Subroutine of try_combine. Determine whether the replacement patterns NEWPAT, NEWI2PAT and NEWOTHERPAT are cheaper according to insn_rtx_cost |