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: GCSE store motion



> In addition, never, in any RTL dumps of any code, ever, have I seen it
> remove a single store.

I'd suggest compiling the testcase in the patch below with -O3 on CVS
mainline (before store motion was disabled).  The test is ill-formed
and the duplicate store should be moved, the call to abort() reveals
that the optimizer did its job.  Feel free to step through with a
debuggger to convince yourself that it was GCSE's store motion at
work.  For example, it doesn't abort compiling with "-O3 -fno-gcse".

Seeing is believing.

Roger
--


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