This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Empty loops removal (Was Re: Some extra decorations)
On Sun, May 3, 2009 at 4:17 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>
> Yes, the rule is new for C++0x, and it is in the context of for, while
> and do-while loops only, not recursive calls.
Does this include loops form from gotos also? Because this seems like
it is very limited and not useful for optimizations in general. GCC
loop optimizations are not based on the source level constructs but
instead of based on the CFG.
-- Pinski