diff options
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 8b56dad..fa73e55 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -4026,7 +4026,10 @@ rws_update (rws, regno, flags, pred) struct reg_flags flags; int pred; { - rws[regno].write_count += pred ? 1 : 2; + if (pred) + rws[regno].write_count++; + else + rws[regno].write_count = 2; rws[regno].written_by_fp |= flags.is_fp; /* ??? Not tracking and/or across differing predicates. */ rws[regno].written_by_and = flags.is_and; |