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: [trans-mem] verify_ssa failed with noreturn attribute function


On 06/10/2010 04:12 AM, Aldy Hernandez wrote:
>> I don't understand why we only update the SSA on safe function calls in
>> ipa_tm_insert_gettmclone_call(), especially since
>> ipa_tm_insert_gettmclone_call() calls update_stmt() at the end, which
>> may possibly dirty the SSA web.  IMO, we should always return true,
>> which is the approach I take below.

I don't recall the logic behind only updating if safe.  It does 
look wrong now though.

>> Another option is returning need_ssa_update_p(), or better yet, just
>> call update_ssa() only if need_ssa_update_p() returns true and get rid
>> of keeping track of need_ssa_rename altogether.

Those do look like attractive options.

>> 	* trans-mem.c (ipa_tm_insert_gettmclone_call): Always return true.

Ok.


r~


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