This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Empty loops removal (Was Re: Some extra decorations)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Peter Dimov <pdimov at mmltd dot net>, Paolo Carlini <paolo dot carlini at oracle dot com>, libstdc++ at gcc dot gnu dot org, rguenther at suse dot de, gcc at gcc dot gnu dot org
- Date: Sun, 3 May 2009 23:13:32 +0000 (UTC)
- Subject: Re: Empty loops removal (Was Re: Some extra decorations)
- References: <20090503162856.GA14670@kam.mff.cuni.cz> <49FDCA64.9010305@oracle.com> <20090503165810.GD8120@kam.mff.cuni.cz> <D9C8BA04062F4817BF148D6EC986D402@pdimov2> <20090503230618.GA15063@kam.mff.cuni.cz>
On Mon, 4 May 2009, Jan Hubicka wrote:
> On mainline I enabled infinite loop removal at
> -funsafe-loop-optimizations. I would suggest adding
> -fempty-loops-terminate and make it default for C++? It does not apply
> for C, right?
You mean for C++0x (I see no such rule in C++03), and there is no such
rule for C at present.
--
Joseph S. Myers
joseph@codesourcery.com