https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79736 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-02-28 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Please provide a testcase. Does it reproduce if you first preprocess hdr.h and then create the PCH? >From gcc-bugs-return-555745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:11:38 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119584 invoked by alias); 28 Feb 2017 09:11:37 -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 119504 invoked by uid 48); 28 Feb 2017 09:11:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/79737] [7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes) Date: Tue, 28 Feb 2017 09:11: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2017-02/txt/msg03277.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79737 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-555746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:12:51 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120748 invoked by alias); 28 Feb 2017 09:12:51 -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 120701 invoked by uid 48); 28 Feb 2017 09:12:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/79738] Documentation for __attribute__((const)) slightly misleading Date: Tue, 28 Feb 2017 09:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords bug_status cf_reconfirmed_on version 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: 2017-02/txt/msg03278.txt.bz2 Content-length: 600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79738 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation Status|UNCONFIRMED |NEW Last reconfirmed| |2017-02-28 Version|unknown |7.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >From gcc-bugs-return-555748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:13:26 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122307 invoked by alias); 28 Feb 2017 09:13:25 -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 122253 invoked by uid 48); 28 Feb 2017 09:13:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/79740] [7 Regression] ICE on -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in VN_INFO_GET, at tree-ssa-sccvn.c:407 }) Date: Tue, 28 Feb 2017 09:13: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: 7.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status assigned_to 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: 2017-02/txt/msg03280.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79740 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- Mine. >From gcc-bugs-return-555747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:13:02 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121474 invoked by alias); 28 Feb 2017 09:13:01 -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 121403 invoked by uid 48); 28 Feb 2017 09:12:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/79739] [7 Regression] ICE with some interesting code Date: Tue, 28 Feb 2017 09:13: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: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone 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: 2017-02/txt/msg03279.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79739 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >From gcc-bugs-return-555749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:14:25 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123455 invoked by alias); 28 Feb 2017 09:14:24 -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 123407 invoked by uid 48); 28 Feb 2017 09:14:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/79712] Clang smarter about unrolling in fhourstones benchmark Date: Tue, 28 Feb 2017 09:14: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: 7.0.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: 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: 2017-02/txt/msg03281.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79712 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at gcc dot gnu.org --- Comment #9 from Richard Biener --- Micha was looking at removing RTL unrolling and instead do sth on the GIMPLE level. >From gcc-bugs-return-555752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:17:58 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130360 invoked by alias); 28 Feb 2017 09:17:57 -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 130074 invoked by uid 55); 28 Feb 2017 09:17:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/79723] Another case of dropped gs: prefix Date: Tue, 28 Feb 2017 09:17: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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: 2017-02/txt/msg03283.txt.bz2 Content-length: 667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79723 --- Comment #3 from Richard Biener --- Author: rguenth Date: Tue Feb 28 09:17:20 2017 New Revision: 245772 URL: https://gcc.gnu.org/viewcvs?rev=245772&root=gcc&view=rev Log: 2017-02-28 Richard Biener PR tree-optimization/79723 * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Preserve address-space properly. * gcc.target/i386/pr79723.c: New testcase. Added: trunk/gcc/testsuite/gcc.target/i386/pr79723.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c >From gcc-bugs-return-555751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:17:42 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128722 invoked by alias); 28 Feb 2017 09:17:42 -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 128582 invoked by uid 48); 28 Feb 2017 09:17:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/79723] Another case of dropped gs: prefix Date: Tue, 28 Feb 2017 09:17: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution 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: 2017-02/txt/msg03284.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79723 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |7.0 Resolution|--- |FIXED --- Comment #2 from Richard Biener --- Fixed for GCC 7. >From gcc-bugs-return-555750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:17:42 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128647 invoked by alias); 28 Feb 2017 09:17:41 -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 128553 invoked by uid 48); 28 Feb 2017 09:17:36 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/79742] [7 Regression] ARM sched pipeline selection problems Date: Tue, 28 Feb 2017 09:17: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work target_milestone short_desc everconfirmed cf_known_to_fail 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: 2017-02/txt/msg03282.txt.bz2 Content-length: 921 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79742 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-02-28 CC| |ktkachov at gcc dot gnu.org, | |rearnsha at gcc dot gnu.org Known to work| |6.3.1 Target Milestone|--- |7.0 Summary|ARM sched pipeline |[7 Regression] ARM sched |selection problems |pipeline selection problems Ever confirmed|0 |1 Known to fail| |7.0 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. >From gcc-bugs-return-555753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 28 09:41:55 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98034 invoked by alias); 28 Feb 2017 09:41:55 -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 97958 invoked by uid 89); 28 Feb 2017 09:41:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.1 required=5.0 testsºYES_00,GIT_PATCH_2,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=emails, auto-generated X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Feb 2017 09:41:47 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 93F1328; Tue, 28 Feb 2017 01:41:46 -0800 (PST) Received: from [10.2.207.77] (e100706-lin.cambridge.arm.com [10.2.207.77]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 173BD3F220; Tue, 28 Feb 2017 01:41:45 -0800 (PST) Message-ID: <58B545D8.2060306@foss.arm.com> Date: Tue, 28 Feb 2017 09:41:00 -0000 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "Casper Ti. Vector" , gcc-bugs@gcc.gnu.org Subject: Re: Bogus `-Wmaybe-uninitialized' warning with optimisation and `-Wall' References: <20170228090956.GA6321@CasperVector> In-Reply-To: <20170228090956.GA6321@CasperVector> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-02/txt/msg03285.txt.bz2 Content-length: 1417 Hi, On 28/02/17 09:09, Casper Ti. Vector wrote: > Hello, the following source file (here called `gcc_bug.c') triggers > `-Wmaybe-uninitialized' when compiled with `-Os', `-O1' or stronger > optimisation, plus `-Wall': > > ------------------------------------------------------------------------ > #include > #include > > static int mk (int **a, int **b, int **c) { > if (!(*a = malloc (sizeof (int)))) goto a_err; > if (!(*b = malloc (sizeof (int)))) goto b_err; > if (!(*c = malloc (sizeof (int)))) goto c_err; > > return 1; c_err: > free (*b); b_err: > free (*a); a_err: > return 0; > } > > static void fin (int *a, int *b, int *c) { > free (c); > free (b); > free (a); > } > > int main (void) { > int *a, *b, *c, x, flag = mk (&a, &b, &c); > while ((x = getchar ()) != -1) { > if (flag) switch (x) { > case 0: > break; > default: > goto retn; > } else if (x) goto retn; > } > retn: > if (flag) fin (a, b, c); > return 0; > } This list is for the bug-tracker's auto-generated emails. To report the bug please use the bugzilla bug tracker following the instructions described at https://gcc.gnu.org/bugs/#where > ------------------------------------------------------------------------ > > Attached are required output files: > * gcc_bug.txt: `gcc -v -save-temps -Wall -O2 -c gcc_bug.c -o gcc_bug.o'. > * gcc_bug.ii: `sed '/^#/d; /^[ \t]*$/d' < gcc_bug.i'. >