This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]