diff options
author | Revital Eres <eres@il.ibm.com> | 2007-03-05 09:28:23 +0000 |
---|---|---|
committer | Victor Kaplansky <victork@gcc.gnu.org> | 2007-03-05 09:28:23 +0000 |
commit | c1c5a431b52c85d485b65756d3ecce60875bee1e (patch) | |
tree | 3d53c4d5a7981f6057785806b09346640723b223 /gcc/loop-unroll.c | |
parent | fabb00fcc59439d49025abb561b7411c53f34764 (diff) | |
download | gcc-c1c5a431b52c85d485b65756d3ecce60875bee1e.zip gcc-c1c5a431b52c85d485b65756d3ecce60875bee1e.tar.gz gcc-c1c5a431b52c85d485b65756d3ecce60875bee1e.tar.bz2 |
var-expand1.c: New test.
2007-03-05 Revital Eres <eres@il.ibm.com>
* gcc.dg/var-expand1.c: New test.
* loop-unroll.c (analyze_insn_to_expand_var): Add dump info
when an accumulator is expanded.
From-SVN: r122543
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 63eebed..8fb69b85 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -1588,7 +1588,15 @@ analyze_insn_to_expand_var (struct loop *loop, rtx insn) || FLOAT_MODE_P (mode2)) && !flag_unsafe_math_optimizations) return NULL; - + + if (dump_file) + { + fprintf (dump_file, + "\n;; Expanding Accumulator "); + print_rtl (dump_file, dest); + fprintf (dump_file, "\n"); + } + /* Record the accumulator to expand. */ ves = XNEW (struct var_to_expand); ves->insn = insn; |