This is the mail archive of the
mailing list for the GCC project.
Re: [tuples][patch] Removing gimplify_val
This patch removes gimplify_val and updates the callers, since it
basically duplicates what is done by force_gimple_operands_gsi, which
in turn is more general and used way more often.
Tested on i686-linux - no new failures, 1 testcase fixed.
Diego, OK to commit?
Can you do so on the trunk as well? The only difference I see with
the two functions is that gimplify_val sets location information on
the new stmt - you may want to do some digging in the archives
for what reason this went in and eventually update force_gimple_operand_bsi
to do so as well.
It was there since the beginning. Since gimplify_val is used in complex
lowering, and the original complex-type instructions are deleted,
locations were added to keep debuggability at -O0.