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: possible gcse failure: not able to eliminate redundant loads


    So the pointer isn't null, it's uninitialized, and the conditional
    protecting its use is true iff it's initialized.  Same problem.

No, because of the common idiom (especially for lists) of testing a
pointer for being null and then dereferencing it if not.  You can do the
load unconditionally in that case.


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