https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98973

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #6)
> Btw, -fgcse-sm is nowhere enabled by default (same applies to -fgcse-las),
> we should consider removing these optimizations (though -fgcse-las at least
> sounds
> useful and I wonder why it is not enabled).  GCSE store-motion should be
> re-implemented on GIMPLE, replacing the sink pass (there were previous
> attempts in implementing SSU-PRE).
> 
> A comment in store-motion.c claims
> 
> /* This pass implements downward store motion.
>    As of May 1, 2009, the pass is not enabled by default on any target,
>    but bootstrap completes on ia64 and x86_64 with the pass enabled.  */
> 
> I'm trying if enabling it by default still bootstraps & tests OK on x86-64
> (also enabling gcse-las at the same time..)

It does.  Extra FAILs are

FAIL: c-c++-common/guality/Og-dce-2.c  -Og  line 17 ptr->a == 1
FAIL: c-c++-common/guality/Og-dce-2.c  -Og -flto line 17 ptr->a == 1

Reply via email to