From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17068 invoked by alias); 6 Apr 2014 08:55:28 -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 16975 invoked by uid 48); 6 Apr 2014 08:55:23 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/60770] disappearing clobbers Date: Sun, 06 Apr 2014 08:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: cc 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: 2014-04/txt/msg00411.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60770 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #2 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Marc Glisse from comment #1) > I guess relying on clobbers in the middle-end for warnings is a bit > optimistic... If I interpret the dump correctly, this is a valid optimization because the original code is undefined, but it is hiding the fact that the original cod= e is buggy. CCP does this kind of thing for uninitialized warnings (PR18501), an= d it would be nice to find a way to warn for it. >>From gcc-bugs-return-448392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 06 09:00:34 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19480 invoked by alias); 6 Apr 2014 09:00:33 -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 19414 invoked by uid 48); 6 Apr 2014 09:00:25 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60517] warning/error for taking address of member of a temporary object Date: Sun, 06 Apr 2014 09:00: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: 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: 2014-04/txt/msg00412.txt.bz2 Content-length: 681 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60517 --- Comment #12 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Marc Glisse from comment #11) > Created attachment 32551 [details] > first try >=20 > With clobber removal now. Why do you want to remove the clobber?=20 I understood your idea to avoid duplicated warnings was to add __builtin_unreachable and replace the value. Could be possible to have a special var/value that is marked as artificial = such that the warning code never warns for statements containing this variable? = We already have DECL_ARTIFICIAL in the FE but I am not sure whether that survi= ves to the middle-end. >>From gcc-bugs-return-448394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 06 09:04:35 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21618 invoked by alias); 6 Apr 2014 09:04:35 -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 21197 invoked by uid 48); 6 Apr 2014 09:04:29 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56674] [4.7/4.8/4.9 Regression] ICE in check_sym_interfaces Date: Sun, 06 Apr 2014 09:04: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.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 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: 2014-04/txt/msg00414.txt.bz2 Content-length: 594 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56674 --- Comment #7 from Dominique d'Humieres --- Slightly reduced test MODULE realspace_grid_types PUBLIC :: realspace_grid_input_type CONTAINS SUBROUTINE rs_grid_create_descriptor ( ) TYPE(realspace_grid_input_type), END SUBROUTINE END MODULE realspace_grid_types pr56674_red.f90:5.35: TYPE(realspace_grid_input_type), 1 Error: Derived type 'realspace_grid_input_type' at (1) is being used before it is defined f951: internal compiler error: Segmentation fault: 11