This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: possible gcse failure: not able to eliminate redundant loads
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 19 Dec 02 06:45:34 EST
- Subject: 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.