* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
@ 2015-07-22 11:42 ` redi at gcc dot gnu.org
2015-07-22 11:44 ` redi at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-22 11:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-22
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Both Clang and EDG accept this with "warning: declaration does not declare
anything"
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
2015-07-22 11:42 ` [Bug c++/66966] " redi at gcc dot gnu.org
@ 2015-07-22 11:44 ` redi at gcc dot gnu.org
2015-07-22 11:45 ` anders.granlund.0 at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-22 11:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oh wait ... if you use -w then you are suppressing diagnostics, so you can't
really complain that there are no diagnostics!
So this seems invalid to me.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
2015-07-22 11:42 ` [Bug c++/66966] " redi at gcc dot gnu.org
2015-07-22 11:44 ` redi at gcc dot gnu.org
@ 2015-07-22 11:45 ` anders.granlund.0 at gmail dot com
2015-07-22 11:49 ` anders.granlund.0 at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: anders.granlund.0 at gmail dot com @ 2015-07-22 11:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
--- Comment #3 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #2)
> Oh wait ... if you use -w then you are suppressing diagnostics, so you can't
> really complain that there are no diagnostics!
>
> So this seems invalid to me.
Note that I'm having -pedantic-errors also.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
` (2 preceding siblings ...)
2015-07-22 11:45 ` anders.granlund.0 at gmail dot com
@ 2015-07-22 11:49 ` anders.granlund.0 at gmail dot com
2015-07-22 12:25 ` anders.granlund.0 at gmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: anders.granlund.0 at gmail dot com @ 2015-07-22 11:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
--- Comment #4 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #2)
> Oh wait ... if you use -w then you are suppressing diagnostics, so you can't
> really complain that there are no diagnostics!
>
> So this seems invalid to me.
In this case -w suppressed an error when combined with -pedantic-errors.
Shouldn't -w only suppress warnings?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
` (3 preceding siblings ...)
2015-07-22 11:49 ` anders.granlund.0 at gmail dot com
@ 2015-07-22 12:25 ` anders.granlund.0 at gmail dot com
2015-07-22 14:16 ` manu at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: anders.granlund.0 at gmail dot com @ 2015-07-22 12:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
Anders Granlund <anders.granlund.0 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #5 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
I'm reopening this because of my latest comment.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
` (4 preceding siblings ...)
2015-07-22 12:25 ` anders.granlund.0 at gmail dot com
@ 2015-07-22 14:16 ` manu at gcc dot gnu.org
2015-07-22 14:43 ` anders.granlund.0 at gmail dot com
2015-07-22 15:07 ` manu at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: manu at gcc dot gnu.org @ 2015-07-22 14:16 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3707 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Anders Granlund from comment #4)
> In this case -w suppressed an error when combined with -pedantic-errors.
> Shouldn't -w only suppress warnings?
This is not how it works. -pedantic-errors (and -Werror) converts warnings into
errors, but -w suppresses all warnings, even before they are converted into
errors.
One could argue that conversion to error should happen before warnings are
suppressed (in order to make combinations such as -w -Werror=X do something
useful), but this has been the behavior since forever, I doubt it can be
changed now (unless you do an amazing job at proving that almost no one is
relying on the current behavior and you take care of implementing the change).
>From gcc-bugs-return-493024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 22 14:22:41 2015
Return-Path: <gcc-bugs-return-493024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81383 invoked by alias); 22 Jul 2015 14:22:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 81363 invoked by uid 48); 22 Jul 2015 14:22:37 -0000
From: "lgmsantos+gccbug at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66969] New: Internal compiler error, segmentation fault
Date: Wed, 22 Jul 2015 14:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lgmsantos+gccbug at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-66969-4@http.gcc.gnu.org/bugzilla/>
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-07/txt/msg01914.txt.bz2
Content-length: 754
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf969
Bug ID: 66969
Summary: Internal compiler error, segmentation fault
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: lgmsantos+gccbug at gmail dot com
Target Milestone: ---
Created attachment 36034
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id6034&actioníit
Source code and system info
The program itself has a bug, in function f the expression "size(A(1,:))" at x
variable definition, line 11, should to be "size(B(1,:))" instead. But that
causes a segmentation fault on compiling.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
` (5 preceding siblings ...)
2015-07-22 14:16 ` manu at gcc dot gnu.org
@ 2015-07-22 14:43 ` anders.granlund.0 at gmail dot com
2015-07-22 15:07 ` manu at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: anders.granlund.0 at gmail dot com @ 2015-07-22 14:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
Anders Granlund <anders.granlund.0 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #7 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
OK. Seems to work differently in Clang but I guess they don't have the same
problem with legacy.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66966] Missing diagnostic message for ill-formed program with anonymous enum
2015-07-22 11:32 [Bug c++/66966] New: Missing diagnostic message for ill-formed program with anonymous enum anders.granlund.0 at gmail dot com
` (6 preceding siblings ...)
2015-07-22 14:43 ` anders.granlund.0 at gmail dot com
@ 2015-07-22 15:07 ` manu at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: manu at gcc dot gnu.org @ 2015-07-22 15:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Anders Granlund from comment #7)
> OK. Seems to work differently in Clang but I guess they don't have the same
> problem with legacy.
Changing defaults in GCC to match Clang is possible (we added caret, colors,
changed the behavior of https://gcc.gnu.org/wiki/FAQ#wnowarning), but someone
who thinks this is important enough needs to make the effort of implementing
the change, arguing convincingly for it and handling any issues that may arise.
The change is likely to be just splitting diagnostic_report_warnings_p so that
the check for inhibit_warnings in diagnostic.c:diagnostic_report_diagnostic()
can be moved after diagnostic->kind is reclassified while keeping the check for
system-headers as early as possible, so that warnings from system-headers
converted into errors are still suppressed.
>From gcc-bugs-return-493031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 22 15:13:53 2015
Return-Path: <gcc-bugs-return-493031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6265 invoked by alias); 22 Jul 2015 15:13:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6218 invoked by uid 48); 22 Jul 2015 15:13:49 -0000
From: "ramana at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math
Date: Wed, 22 Jul 2015 15:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ramana at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nsz 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: <bug-66731-4-Uu0C43TUWm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66731-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66731-4@http.gcc.gnu.org/bugzilla/>
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-07/txt/msg01921.txt.bz2
Content-length: 568
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf731
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-22
CC| |ramana at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 9+ messages in thread