This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] tree-parloops.c (eliminate_local_variables): Add braces to suppress warnings
On Tue, Apr 10, 2012 at 10:38 AM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> On Tue, Apr 10, 2012 at 3:06 PM, JonY <jon_y@users.sourceforge.net> wrote:
>> On 4/10/2012 20:37, Richard Guenther wrote:
>>> On Tue, Apr 10, 2012 at 2:15 PM, JonY wrote:
>>>> Hi,
>>>>
>>>> Patch OK?
>>>
>>> What kind of warning?
>>>
>>
>> Oops, I forgot to mention gcc was complaining about missing braces.
>
> Not for me. ?And I fail to see why it should.
This is the warning:
../../../../build/gcc/src/gcc/tree-parloops.c:724: warning: suggest
explicit braces to avoid ambiguous `else'