This is the mail archive of the gcc@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: -fno-tree-cselim not working?


Andi Kleen <andi@firstfloor.org> writes:

> Your patch would fix it too because it uses a function call, but
> it might not in the general case when the condition happens to be 
> not a function call.

My patch will disable the if-conversion optimization for your example,
because the variable is not unconditionally set later in the function.

Ian


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