This is the mail archive of the gcc-patches@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]

Re: SSA-based dead-code elimination


Mark Mitchell wrote [about empty loops removal]:
> So, I think we should reserve your patch for the day when we actually
> turn this stuff on by default.

Will there be a documented way to generate an empty loop that survives
optimization then? I can think of using a volatile variable, but this
generates unecessary memory accesses.

-- 
Laurent Guerby <guerby@acm.org>

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