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: [PATCH, pretty-ipa merge 1/4] Function parameter manipulation infrastructer through param notes


On 06/26/2009 06:19 AM, Jan Hubicka wrote:
+  /* Carry all the flags to the new GIMPLE_CALL.  */
+  gimple_call_set_chain (new_stmt, gimple_call_chain (stmt));
+  gimple_call_set_tail (new_stmt, gimple_call_tail_p (stmt));
+  gimple_call_set_cannot_inline (new_stmt,
+				 gimple_call_cannot_inline_p (stmt));

Surely we can come up with something that simply copies all of the call flags intact as a bundle. Having to track down all the places in which flags need to be copied for a new statement would seem to be a maintenance problem when adding new call flags. (I have several new flags on the trans-mem branch, so here's me looking after myself. =)




r~


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