From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102928 invoked by alias); 12 Mar 2015 16:09:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 102795 invoked by uid 48); 12 Mar 2015 16:09:55 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65403] -Wno-error= is an error Date: Thu, 12 Mar 2015 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg01344.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65403 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-03-12 CC| |manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- For fixing the output, the following should be enough: Index: opts.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- opts.c (revision 221118) +++ opts.c (working copy) @@ -2341,11 +2341,12 @@ enable_warning_as_error (const char *arg new_option[0] =3D 'W'; strcpy (new_option + 1, arg); option_index =3D find_opt (new_option, lang_mask); if (option_index =3D=3D OPT_SPECIAL_unknown) { - error_at (loc, "-Werror=3D%s: no option -%s", arg, new_option); + error_at (loc, "-W%s=3D%s: no option -%s", + value ? "error" : "no-error", arg, new_option); } else { const diagnostic_t kind =3D value ? DK_ERROR : DK_WARNING; >>From gcc-bugs-return-480201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 12 16:11:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92270 invoked by alias); 12 Mar 2015 16:11:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80354 invoked by uid 55); 12 Mar 2015 16:10:59 -0000 From: "paul.richard.thomas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/65045] [4.8/4.9/5 Regression] ICE when using the same name for a block and a variable. Date: Thu, 12 Mar 2015 16:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: error-recovery X-Bugzilla-Severity: normal X-Bugzilla-Who: paul.richard.thomas at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg01345.txt.bz2 Content-length: 1106 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65045 --- Comment #4 from paul.richard.thomas at gmail dot com --- Hi Tobias, Thanks. I found one or two similar testcases that still fail. As soon as I find some time, I will submit a complete fix. How was the sailing in Scotland? Paul On 12 March 2015 at 16:59, burnus at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65045 > > Tobias Burnus changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |burnus at gcc dot gnu.org > > --- Comment #3 from Tobias Burnus --- > (In reply to Paul Thomas from comment #2) >> The attached patch bootstraps and regtests on trunk with FC21/x86_64. > > Looks good to me - okay with a test case and a ChangeLog. > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug.