tree-tailcall.c (find_tail_calls): Convert the operands to the type of the result...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 3 Nov 2010 17:33:31 +0000 (17:33 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 3 Nov 2010 17:33:31 +0000 (17:33 +0000)
commitfdb8b4c025aaec6ef208c0af698cc3faa87d15dd
treec41ccdf4f2a83d3a7481104e5f49d0bedf5f94fc
parent5554928d3d05201ad1b0c826c5221ead783f765f
tree-tailcall.c (find_tail_calls): Convert the operands to the type of the result before building binary expressions.

* tree-tailcall.c (find_tail_calls): Convert the operands to the type
of the result before building binary expressions.

From-SVN: r166260
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt8.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt8.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt8_pkg.ads [new file with mode: 0644]
gcc/tree-tailcall.c