This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix num_imm_uses (PR tree-optimization/70405)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: Bernd Schmidt <bschmidt at redhat dot com>, Jeff Law <law at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Mar 2016 07:56:40 +0200
- Subject: Re: [PATCH] Fix num_imm_uses (PR tree-optimization/70405)
- Authentication-results: sourceware.org; auth=none
- References: <20160329172318 dot GP3017 at tucnak dot redhat dot com> <56FABB34 dot 20605 at redhat dot com> <56FABF78 dot 1090108 at redhat dot com> <20160329175416 dot GT3017 at tucnak dot redhat dot com> <AC87CAAF-90D6-40DF-8108-5EC843F342CA at suse dot de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Mar 30, 2016 at 07:45:23AM +0200, Richard Biener wrote:
> >Indeed, GCC 3.4 warns about this:
> >pr70405-3.c:7: warning: suggest explicit braces to avoid ambiguous
> >`else'
> >That warning is still in there under -Wparentheses, but doesn't trigger
> >anymore.
>
> Sounds like poor testsuite coverage then... Did both FEs warn?
Dunno, GCC 2.96-RH, 3.2, 3.4 certainly warned only in C, not C++, 4.0+ warns in
neither C nor C++, don't have anything older around.
Jakub